diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2025-05-04 16:59:51 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2025-05-04 17:00:50 -0600 |
commit | 8094ab80e5623d240f48a4b932c06c08b9e124f2 (patch) | |
tree | 9b2ffa223437b66d008bf5d5b000fe63de6810ac /libstdc++-v3/include | |
parent | fceb6022798b587c9111d0241aaff72602dcd626 (diff) | |
download | gcc-8094ab80e5623d240f48a4b932c06c08b9e124f2.zip gcc-8094ab80e5623d240f48a4b932c06c08b9e124f2.tar.gz gcc-8094ab80e5623d240f48a4b932c06c08b9e124f2.tar.bz2 |
[V2][RISC-V] Trivial permutation constant derivation
This is a patch from late 2024 (just before stage1 freeze), but I never pushed
hard to the change, and thus never integrated it.
It's mostly unchanged except for updating insn in the hash table after finding
an optimizable case. We were holding the deleted insn in the hash table rather
than the new insn. Just something I noticed recently.
Bootstrapped and regression tested on my BPI and regression tested riscv32-elf
and riscv64-elf configurations. We've used this since November internally, so
it's well exercised on spec as well.
gcc/
* config.gcc (riscv): Add riscv-vect-permcost.o to extra_objs.
* config/riscv/riscv-passes.def (pass_vector_permcost): Add new pass.
* config/riscv/riscv-protos.h (make_pass_vector_permconst): Declare.
* config/riscv/riscv-vect-permconst.cc: New file.
* config/riscv/t-riscv: Add build rule for riscv-vect-permcost.o
Diffstat (limited to 'libstdc++-v3/include')
0 files changed, 0 insertions, 0 deletions