Open cszhouY opened 1 year ago
Are you asking about not using compressed 16-bit instructions (C extension in RISC V)?
That is controlled by the flag --with-arch=rv64imafdc
- note the c
for compressed. Try --with-arch=rv64g
(g
means imafd
).
Although I found the option “-mno-relax” is added in Makefile,it doesn't seem to work when I use objdump to read the assembly code.
This is information about my gcc: