]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Fix REG_CLASS_CONTENTS.
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>
Mon, 24 Oct 2022 01:39:16 +0000 (09:39 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Mon, 24 Oct 2022 02:19:29 +0000 (10:19 +0800)
Include V_REGS for ALL_REGS.

gcc/ChangeLog:

* config/riscv/riscv.h (REG_CLASS_CONTENTS): Fix ALL_REGS.

gcc/config/riscv/riscv.h

index acae68ebb2dba1af718d273c1a592efdf5487dc2..37363e975e11236e144cc4397e540688402e8239 100644 (file)
@@ -516,7 +516,7 @@ enum reg_class
   { 0x00000000, 0x00000000, 0x00000000, 0x00000001 },  /* V0_REGS */           \
   { 0x00000000, 0x00000000, 0x00000000, 0xfffffffe },  /* VNoV0_REGS */        \
   { 0x00000000, 0x00000000, 0x00000000, 0xffffffff },  /* V_REGS */            \
-  { 0xffffffff, 0xffffffff, 0x00000003, 0x00000000 }   /* ALL_REGS */          \
+  { 0xffffffff, 0xffffffff, 0x0000000f, 0xffffffff }   /* ALL_REGS */          \
 }
 
 /* A C expression whose value is a register class containing hard