What are your thoughts on https://gist.github.com/erincandescent/8a10eeeea1918ee4f9d9982f7618ef68 … ?
-
-
Roughly half is moderately serious, half is pointless pedantry about things that don't matter or complaints about good choices.
1 reply 0 retweets 2 likes -
Atomics being optional is absolutely wrong. Non-SMP core can implement lr/sc trivially and should be required to. Likewise for mul but not quite as serious since it *can* be emulated in sw.
3 replies 0 retweets 1 like -
The MUL thing is silly because even if the HW ends up doing the same thing as SW in some cases, it’s always at least as efficient, and usually much more. And it’s such a common operation that not having it in base badly fractures binaries—you *have* to use it when available.
1 reply 0 retweets 3 likes -
Replying to @stephentyrone @RichFelker and
If you aren’t going to put MUL and barebones atomics in the base ISA, you barely have an ISA; you need to have at least two versions of everything anyway.
2 replies 0 retweets 2 likes -
No, you still have the ability for baseline ISA binaries for the weak implementations to run on a proper implementation with mul.
1 reply 0 retweets 0 likes -
Yeah, it's possible, but it's catastrophically bad for performance and a big waste of energy.
2 replies 0 retweets 1 like -
Not with shared libs where the mul func could just be mul insn on the more capable machine.
But yeah mul should just be in baseline ISA.2 replies 0 retweets 0 likes -
When you have a "shared lib" then the machines will also share a platform specs. You are effectively arguing that there should only exist one RISC-V platform spec, which you seem to equate with the base ISA spec. But those are different things.
1 reply 0 retweets 0 likes -
No, I'm not equating them. I'm saying the ISA spec should not interfere with ability to do good platform specs.
1 reply 0 retweets 0 likes
It doesn't. A platform spec may require M when it makes sense. There's no reason to require M via the base ISA spec for platforms where it doesn't make sense. To require M via the base ISA spec would interfere with the ability to create good platform specs.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.