diff options
author | Philipp Tomsich <philipp.tomsich@vrull.eu> | 2020-12-18 10:00:34 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@vrull.eu> | 2022-11-09 10:31:48 +0100 |
commit | e7c8f5005bf87e4bd95b25fb31430eef7e58097e (patch) | |
tree | ca69810256667d14f6c2ab2e55975667730a42b7 /gcc/fortran/trans-decl.cc | |
parent | d699d32f47833cfab959a810dad48774c021c677 (diff) | |
download | gcc-e7c8f5005bf87e4bd95b25fb31430eef7e58097e.zip gcc-e7c8f5005bf87e4bd95b25fb31430eef7e58097e.tar.gz gcc-e7c8f5005bf87e4bd95b25fb31430eef7e58097e.tar.bz2 |
RISC-V: costs: handle BSWAP
The BSWAP operation is not handled in rtx_costs. Add it.
With Zbb, BSWAP for XLEN is a single instruction; for smaller modes,
it will expand into two.
gcc/ChangeLog:
* config/riscv/riscv.cc (riscv_rtx_costs): Add BSWAP.
Diffstat (limited to 'gcc/fortran/trans-decl.cc')
0 files changed, 0 insertions, 0 deletions