Rewrite code sequences throughout the 64-bit RISC-V `__riscv_save_*'
routines replacing `li t1, -48', `li t1, -64', and `li t1, -80',
instructions, which do not have a compressed encoding, respectively with
`li t1, 3', `li t1, 4', and `li t1, 4', which do, and then adjusting the
remaining code
IIRC, I didn't use this approach originally because I wanted to avoid
the additional dynamic instruction. But I agree that code size is the
more important metric for users of this feature. LGTM.
On Thu, Jul 30, 2020 at 1:56 PM Maciej W. Rozycki via Gcc-patches
wrote:
>
> Rewrite code sequences
On Thu, 30 Jul 2020, Andrew Waterman wrote:
> IIRC, I didn't use this approach originally because I wanted to avoid
> the additional dynamic instruction. But I agree that code size is the
> more important metric for users of this feature. LGTM.
Applied now, thanks for your review.
Maciej