4 ms·
> My interpretation is that the compressed instructions extension is still work in progress, and is a moot point to discuss at this very moment. The compressed
by cesarb 4y ago
> My interpretation is that the compressed instructions extension is still work in progress, and is a moot point to discuss at this very moment.
The compressed instructions extension (the C extension) has been finished and standardized for a long time. In fact, all mainstream desktop Linux distributions which have ported to RISC-V have standardized on RV64GC (aka RV64IMAFDC, with the extensions I, M, A, F, D, C), that is, they require compressed instructions.
- inkyoto 4y agoSo what is the gcc (or gas via gcc) compiler switch to make the RISC-V compiler backend yiled compressed instructions? I have been unable to find a working one in the documentation, and the beehive mind has been of no help either.
- ansible 4y agoCompressed instructions are generated by default with recent versions of GCC for RV64GC and RV32GC.