]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Add vxsat as a register
authorPalmer Dabbelt <palmer@rivosinc.com>
Wed, 27 Mar 2024 19:54:04 +0000 (12:54 -0700)
committerKito Cheng <kito.cheng@sifive.com>
Thu, 28 Mar 2024 06:32:44 +0000 (14:32 +0800)
We aren't doing anything with vxsat right now, but I'd like to add it as
an accepted register to the clobber list.  If we get this into GCC-14
then we'll avoid some preprocessor-based twiddling if we ever start
using vxsat in the future.

gcc/ChangeLog:

* config/riscv/riscv.h (REGISTER_NAMES): Add vxsat.

gcc/config/riscv/riscv.h

index da089a03e9d1f49f2e6f2387ae6e655e34cca321..d5779512994df3e435869732e88ee12a3cd5ae63 100644 (file)
@@ -933,7 +933,7 @@ extern enum riscv_cc get_riscv_cc (const rtx use);
   "fs0", "fs1", "fa0", "fa1", "fa2", "fa3", "fa4", "fa5",      \
   "fa6", "fa7", "fs2", "fs3", "fs4", "fs5", "fs6", "fs7",      \
   "fs8", "fs9", "fs10","fs11","ft8", "ft9", "ft10","ft11",     \
-  "arg", "frame", "vl", "vtype", "vxrm", "frm", "N/A", "N/A",   \
+  "arg", "frame", "vl", "vtype", "vxrm", "frm", "vxsat", "N/A", \
   "N/A", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A",      \
   "N/A", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A",      \
   "N/A", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A",      \