Hi! On Sat, Sep 16, 2017 at 08:47:03AM +1200, Michael Clark wrote: > RISC-V defines promote_mode on RV64 to promote SImode to signed DImode > subregisters. I did an experiment on RISC-V to not promote SImode to DImode > and it improved codegen for many of my regression test cases, but > unfortunately it breaks the RISC-V ABI.
It sounds like you should implement TARGET_PROMOTE_FUNCTION_MODE as well? Segher