RISC-V: Fix a typo in zce to zcf implication
Checks
Context |
Check |
Description |
rivoscibot/toolchain-ci-rivos-apply-patch |
success
|
Patch applied
|
rivoscibot/toolchain-ci-rivos-lint |
success
|
Lint passed
|
rivoscibot/toolchain-ci-rivos-build--newlib-rv64gcv-lp64d-multilib |
success
|
Build passed
|
rivoscibot/toolchain-ci-rivos-build--linux-rv64gc_zba_zbb_zbc_zbs-lp64d-multilib |
success
|
Build passed
|
rivoscibot/toolchain-ci-rivos-build--linux-rv64gcv-lp64d-multilib |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 |
success
|
Build passed
|
rivoscibot/toolchain-ci-rivos-test |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 |
success
|
Test passed
|
linaro-tcwg-bot/tcwg_gcc_build--master-arm |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_gcc_check--master-arm |
success
|
Test passed
|
Commit Message
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 <ykolerov@synopsys.com>
---
gcc/common/config/riscv/riscv-common.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> 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.
Thanks, looks reasonable but please add a test case as it's clearly a
regression. Ideally open a bug as well and reference the PR. Also, please
specify how and what you tested.
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
@@ -213,7 +213,7 @@ static const riscv_implied_info_t riscv_implied_info[] =
{"zcmp", "zca"},
{"zcmt", "zca"},
{"zcmt", "zicsr"},
- {"zcf", "f",
+ {"zce", "zcf",
[] (const riscv_subset_list *subset_list) -> bool
{
return subset_list->xlen () == 32 && subset_list->lookup ("f");