Author Topic: Linus Torvalds says RISC-V will make the same mistakes as Arm and x86  (Read 2372 times)

0 Members and 4 Guests are viewing this topic.

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4373
  • Country: nz
Re: Linus Torvalds says RISC-V will make the same mistakes as Arm and x86
« Reply #25 on: August 05, 2024, 02:55:55 am »
Memory ordering at this point is left to implementation, the ISA just providing fence instructions. Not unreasonable. Possibly a bit slippery, or unsufficiently fine-grained.
Not quite knowing all the details of memory ordering has caused huge issues with other instruction sets. That has been partly due to the ordering logic changing over time, and partly that corner cases have not always been thoroughly documented in clear unambiguous language.

That is indeed true.

And that is why FORMALLY defining memory ordering semantics was one of the FIRST things RISC-V did, seven years ago, before anyone even had any multi-core RISC-V processors.

See my previous message.
 
The following users thanked this post: Nominal Animal, DiTBho


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf