diff options
author | Marcus Comstedt <marcus@mc.pp.se> | 2021-03-19 20:49:06 +0100 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2021-03-23 17:31:13 +0800 |
commit | 28bddf0e322a5fdc33d3dcc3b9928d559ad7f124 (patch) | |
tree | e07d7eff08d2d0d50b0b636ddab6306fcfe34351 /gcc/analyzer | |
parent | f1af1326d269b1d8efb696a50c9e88d0ab6ec45e (diff) | |
download | gcc-28bddf0e322a5fdc33d3dcc3b9928d559ad7f124.zip gcc-28bddf0e322a5fdc33d3dcc3b9928d559ad7f124.tar.gz gcc-28bddf0e322a5fdc33d3dcc3b9928d559ad7f124.tar.bz2 |
RISC-V: Fix trampoline generation on big endian
gcc/
* config/riscv/riscv.c (riscv_swap_instruction): New function
to byteswap an SImode rtx containing an instruction.
(riscv_trampoline_init): Byteswap the generated instructions
when needed.
Diffstat (limited to 'gcc/analyzer')
0 files changed, 0 insertions, 0 deletions