aboutsummaryrefslogtreecommitdiff
path: root/gcc/data-streamer-in.cc
diff options
context:
space:
mode:
authorYuriy Kolerov <Yuriy.Kolerov@synopsys.com>2025-03-01 08:35:55 -0700
committerJeff Law <jlaw@ventanamicro.com>2025-03-01 08:36:30 -0700
commita0d29dd218e7d96f0715360a2ab6fdd8dc9b3446 (patch)
tree2fdf27fedc4de7b15e31a69000a5ea1cba9bd166 /gcc/data-streamer-in.cc
parent898f22d15805229a932fff7f22a0a8054e1b9b31 (diff)
downloadgcc-a0d29dd218e7d96f0715360a2ab6fdd8dc9b3446.zip
gcc-a0d29dd218e7d96f0715360a2ab6fdd8dc9b3446.tar.gz
gcc-a0d29dd218e7d96f0715360a2ab6fdd8dc9b3446.tar.bz2
[PR target/118906] [PATCH v2] RISC-V: Fix a typo in zce to zcf implication
zce must imply zcf but this rule was corrupted after refactoring in 9e12010b5e724277ea. This may be observed ater generating an .s file from any source code file with -mriscv-attribute -march=rv32if_zce -mabi=ilp32 -S options. A full march will be presented in arch attribute: rv32i2p1_f2p2_zicsr2p0_zca1p0_zcb1p0_zce1p0_zcmp1p0_zcmt1p0 As you see, zcf is not presented here though f_zce pair is passed in -march. According to The RISC-V Instruction Set Manual: Specifying Zce on RV32 with F includes Zca, Zcb, Zcmp, Zcmt and Zcf. PR target/118906 gcc/ChangeLog: * common/config/riscv/riscv-common.cc: fix zce to zcf implication. gcc/testsuite/ChangeLog: * gcc.target/riscv/attribute-zce-1.c: New test. * gcc.target/riscv/attribute-zce-2.c: New test. * gcc.target/riscv/attribute-zce-3.c: New test. * gcc.target/riscv/attribute-zce-4.c: New test.
Diffstat (limited to 'gcc/data-streamer-in.cc')
0 files changed, 0 insertions, 0 deletions