]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Add Types to Un-Typed Risc-v Instructions
authorEdwin Lu <ewlu@rivosinc.com>
Tue, 5 Sep 2023 17:09:40 +0000 (10:09 -0700)
committerEdwin Lu <ewlu@rivosinc.com>
Tue, 5 Sep 2023 17:09:40 +0000 (10:09 -0700)
commitdecbf9ec81f33052be12296b89cd86ea65ae10da
tree63038135d4d144cffc65bae741ab8d647df16e64
parentc85db606d46774283ca4ec037dc3051719828f41
RISC-V: Add Types to Un-Typed Risc-v Instructions

Updates risc-v instructions to ensure that no instruction is left
without a type attribute. Added new types "trap" and "cbo" (for
cache related instructions)

Tested for regressions using rv32/64 multilib with newlib/linux and
rv32/64 gcv for linux.

gcc/Changelog:

* config/riscv/riscv.md: Update/Add types

Reviewed-by: Jeff Law <jlaw@ventanamicro.com>
Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
gcc/config/riscv/riscv.md