logoalt Hacker News

brucehoultyesterday at 2:43 AM2 repliesview on HN

The average bystander doesn't have to care, just buy a machine implementing the RVA23 profile (standard set of extensions) and be happy.

If you're building your own embedded hardware then you determine what your needs actually are e.g. do you need double precision? half precision? vector?. Then you choose a chip implementing that. Then you copy the ISA string from your chip's documentation to the `-march=` argument for GCC/Clang and be happy.

It's not hard and you don't have to think about it unless you very specifically want to.


Replies

fweimertoday at 10:01 AM

How does the average bystander buy an RVA23 machine today?

show 1 reply
bjournetoday at 8:53 AM

The average bystander might want to write high-performance code for their risc-v cpu. Then they must know precisely which instructions are available and what the performance implications of using them are. E.g., the difference between a shared and non-shared fp register file is huge.

show 2 replies