This series contains some minor changes for big-endian RISC-V.
Best regards,
Aleksa Paunovic
Chao-ying Fu (3):
RISC-V: Fix riscv_subword_address for big-endian targets.
RISC-V: Use correct subreg in atomic_compare_and_swap
RISC-V: libatomic: Fix the calculation of shift for the big-endian
target.
gcc/config/riscv/riscv.cc | 6 ++++++
gcc/config/riscv/sync.md | 3 ++-
libatomic/cas_n.c | 6 +++++-
libatomic/exch_n.c | 6 +++++-
libatomic/fop_n.c | 12 ++++++++++--
libatomic/load_n.c | 6 +++++-
libatomic/store_n.c | 6 +++++-
libatomic/tas_n.c | 6 +++++-
8 files changed, 43 insertions(+), 8 deletions(-)
--
2.43.0