by prettyStandard · 4y ago · 0 comments
1. UEFI
2. Supervisor Binary Interface
3. Efficient Trace/Debug
4. Zmul only. This is the one that confused me.
> “For many microcontroller applications, division operations are too infrequent to justify the cost of divider hardware,” explained Himelstein. “The RISC-V Zmmul extension will benefit simple FPGA soft cores in particular.”
This doesn't look like bloat to me. But I have no experience in RISC V.
As a side note, I ran into this exact problem in a work project last year and needed to implement software division in an illegal instruction handler to get around it.
Brilliantly put.
There has long been a -mno-div flag for gcc and clang to tell them not to generate divide instructions (i.e. call a library divide function directly, to save trap overhead) even though the M extension is present. This just provides a way to express that commonly-used functionality via an ISA string instead.
> There is no instruction(s) for division as the architects considered the implementation of division in hardware to be adverse to simplicity.
Maybe you’d count SERV?