diff options
Diffstat (limited to 'gcc/config/riscv/riscv.h')
-rw-r--r-- | gcc/config/riscv/riscv.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/riscv/riscv.h b/gcc/config/riscv/riscv.h index f55bd6112a8..29f2c07ce5d 100644 --- a/gcc/config/riscv/riscv.h +++ b/gcc/config/riscv/riscv.h @@ -845,7 +845,7 @@ typedef struct { "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", "N/A", "N/A", "N/A", "N/A", \ + "arg", "frame", "vl", "vtype", "vxrm", "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", "N/A", "N/A", \ @@ -1107,4 +1107,8 @@ extern void riscv_remove_unneeded_save_restore_calls (void); CONST1_RTX for the simplification. */ #define VECTOR_STORE_FLAG_VALUE(MODE) CONSTM1_RTX (GET_MODE_INNER (MODE)) +/* Mode switching (Lazy code motion) for RVV rounding mode instructions. */ +#define OPTIMIZE_MODE_SWITCHING(ENTITY) (TARGET_VECTOR) +#define NUM_MODES_FOR_MODE_SWITCHING {VXRM_MODE_NONE} + #endif /* ! GCC_RISCV_H */ |