Hi gcc-patches mailing list, Karl Meakin <[email protected]> has requested that the following forgejo pull request be published on the mailing list.
Created on: 2025-09-30 16:40:31+00:00 Latest update: 2025-11-06 16:41:31+00:00 Changes: 4 changed files, 46 additions, 59 deletions Head revision: karmea01/gcc-TEST ref km/cmpbr-fix/v1 commit d3c842f4f76cd0d2c95ef8ca550374fb2392010e Base revision: gcc/gcc-TEST ref trunk commit 6c56609915f2eb3350a167dfc3e6bb4df3becb42 r16-5059-g6c56609915f2eb Merge base: 6c56609915f2eb3350a167dfc3e6bb4df3becb42 Full diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/88.diff Discussion: https://forge.sourceware.org/gcc/gcc-TEST/pulls/88 Requested Reviewers: Fix an ICE when compiling code that does a movcc with floating point arguments with `+cmpbr`. The fix was the same as bc11cbff9e648fdda2798bfa2d7151d5cd164b87, so in the second commit I merged the two patterns. Testing done: `make check-gcc` and `make check-target` pass. ChangeLog: * v1: Initial series. * v2: Move checks from the pattern body into the predicate, and remove unsued pattern * v3: Rebase against master Changed files: - A: gcc/testsuite/gcc.target/aarch64/cmpbr-4.c - M: gcc/config/aarch64/aarch64.md - M: gcc/config/aarch64/iterators.md - M: gcc/config/aarch64/predicates.md Karl Meakin (5): aarch64: Fix condition accepted by mov<GPF>cc aarch64: Merge mov<ALLI>cc with mov<GPF>cc aarch64: Remove redundant checks aarch64: Add `aarch64_comparison_operator_cc` aarch64: Remove unused pattern gcc/config/aarch64/aarch64.md | 74 +++++----------------- gcc/config/aarch64/iterators.md | 4 ++ gcc/config/aarch64/predicates.md | 15 +++++ gcc/testsuite/gcc.target/aarch64/cmpbr-4.c | 12 ++++ 4 files changed, 46 insertions(+), 59 deletions(-) create mode 100644 gcc/testsuite/gcc.target/aarch64/cmpbr-4.c Range-diff against v2: 1: 852b3102e0d = 1: e4c13b7ab12 aarch64: Fix condition accepted by mov<GPF>cc 2: 9d1ac137bae = 2: 47f37c2eed8 aarch64: Merge mov<ALLI>cc with mov<GPF>cc 3: 0be75cc4c95 = 3: e928669f383 aarch64: Remove redundant checks 4: 1ce592b5af9 = 4: 7d8df3a0c82 aarch64: Add `aarch64_comparison_operator_cc` 5: 762baaa6470 = 5: d3c842f4f76 aarch64: Remove unused pattern -- 2.51.1
