]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Enable TARGET_SUPPORTS_WIDE_INT
authorVineet Gupta <vineetg@rivosinc.com>
Mon, 23 May 2022 23:25:39 +0000 (16:25 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 23 May 2022 23:32:10 +0000 (16:32 -0700)
commitef85d150b59637b6eb116947c1d29e97d562e7db
tree0f16e0a3f4f7c3c02479339c650f842e4c5c3df5
parent8473ef7be60443c06c949571995f00e2793c2c5b
RISC-V: Enable TARGET_SUPPORTS_WIDE_INT

This is at par with other major arches such as aarch64, i386, s390 ...

gcc/ChangeLog

* config/riscv/predicates.md (const_0_operand): Remove
const_double.
* config/riscv/riscv.cc (riscv_rtx_costs): Add check for
CONST_DOUBLE.
* config/riscv/riscv.h (TARGET_SUPPORTS_WIDE_INT): New define.

Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
gcc/config/riscv/predicates.md
gcc/config/riscv/riscv.cc
gcc/config/riscv/riscv.h