* gcc.target/riscv/attribute-zce-4.c: Likewise.
Signed-off-by: Yuriy Kolerov
---
gcc/common/config/riscv/riscv-common.cc | 31 +++
gcc/testsuite/gcc.target/riscv/arch-25.c | 2 +-
.../gcc.target/riscv/attribute-c-1.c | 6
.../gcc.target/riscv/attribute-c-2
uot;zce") != NULL
&& subset_list->m_xlen == 32
&& subset_list->lookup ("f") != NULL
&& subset_list->lookup ("zcf") == NULL)
subset_list->add ("zcf", false);
But it was accidentally refactored in a wrong way.
Regards,
Y
/attribute-zce-4.c: New test.
Signed-off-by: Yuriy Kolerov
---
gcc/common/config/riscv/riscv-common.cc | 2 +-
gcc/testsuite/gcc.target/riscv/attribute-zce-1.c | 6 ++
gcc/testsuite/gcc.target/riscv/attribute-zce-2.c | 6 ++
gcc/testsuite/gcc.target/riscv/attribute-zce-3.c | 6
Hi Robin,
Sure, I will do everything you listed shortly, and I will apply a second
version of the patch.
Regards,
Yuriy Kolerov
Regards,
Yuriy Kolerov
From: Robin Dapp
Sent: Monday, January 20, 2025 4:02:36 PM
To: Yuriy Kolerov ; gcc-patches@gcc.gnu.org
Cc
zce must imply zcf but this rule was corrupted after
refactoring in this commit:
9e12010b5e724277ea44c300630802f464407d8d
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc: fix zce to zcf
implication.
Signed-off-by: Yuriy Kolerov
---
gcc/common/config/riscv/riscv-common.cc