5 ms·
How is this different from x86_64 and aarch64? Or even the various Alpha and Mips64 chips.
by ccgreg 18d ago
How is this different from x86_64 and aarch64? Or even the various Alpha and Mips64 chips.
- Marcuss2 17d agoFor example x86_64 has v1, v2, v3 and v4 baselines, this tells you which instructions they support (e.g. v4 has AVX-512, v3 has AVX2, etc.). RISC-V RVA22 and RVA23 aren't too different in this regard. Each one prescribes which extensions must be supported by the processor. I saw RV64GC mentioned, this is just a shortening of RV64IMAFDC, so I for baseline instructions, M for multiplication and division, A for atomic, F for floating point, D for double precision floating point and C for compressed instructions. You can have a baseline E profile instead of I (less registers, some other features stripped), but I don't think we will ever see manufactured RV64E core, trough RV32EC cores exist.
- cbm-vic-20 17d agoThe E extension will probably only ever appear in softcores (FPGA) to reduce gate count.
- Marcuss2 17d agoCH32V003 has RV32EC core, for RV64, yes, there is no point.
- ccgreg 17d agoAnother aspect of the x86_64 architectural swamp is that Intel deliberately makes their optimized math libraries fail if run on a chip that is not 'INTEL INSIDE'. That block totally ignores cpu feature bits. I've always wondered if virtualization software vendors made everything claim to be INTEL INSIDE, just to avoid this problem.
- bonzini 17d agoNope, there are subtle differences between Intel and AMD that make it a Bad Idea to fake the vendor.
- ccgreg 17d agoThere are? We aren't talking about feature bits, and the only known software that checks the vendor are Intel's math libraries.
- Marcuss2 16d agoI know the RPCS3 (PS3 emulator) encountered some differences in a floating point instruction where Intel and AMD had different precision, causing de-synchronizations in LittleBigPlanet multiplayer. Could be down to this.
- ccgreg 15d agoAre you talking about the 8087 transcendental instructions? Which are well known and well-written software doesn't have a problem with it.
- jdc-pub 17d agoHuh, where does the “G” come from in RV64GC?
- Marcuss2 15d agoIt is a shorthand for "IMAFD" for RV64.