Hi gcc-patches mailing list,
Christophe Lyon <[email protected]> has requested that the following forgejo 
pull request
be published on the mailing list.

Created on: 2025-10-21 15:05:50+00:00
Latest update: 2025-11-07 10:42:54+00:00
Changes: 2 changed files, 33 additions, 2 deletions
Head revision: clyon/gcc-TEST ref mve-vbicq_f commit 
6217cec214ec80b4a295331f3a0aea15ceaa2ed5
Base revision: gcc/gcc-TEST ref releases/gcc-14 commit 
208e9d9481d00537444a4f0eafb7fb0e058f3a17 r14-12116-g208e9d9481d005
Merge base: 208e9d9481d00537444a4f0eafb7fb0e058f3a17
Full diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/114.diff
Discussion:  https://forge.sourceware.org/gcc/gcc-TEST/pulls/114
Requested Reviewers: rearnsha

The operands of the floating-point version of vbicq were swapped, this
patch fixes this.

For this backport the testcase needs an adjustment: the code is less
optimized than with gcc-15, so we still generate the 0.0f constant and
a vbic instruction.  We actually check that the 0.0f constant is in
the right vbic parameter.

gcc/ChangeLog:
        PR target/122223
        * config/arm/mve.md (@mve_vbicq_f<mode>): Fix operands order.

gcc/testsuite/ChangeLog:
        PR target/122223
        * gcc.target/arm/mve/intrinsics/pr122223.c: New test.

(cherry picked from commits 81e2264403
and a52888dc71)


Changed files:
- A: gcc/testsuite/gcc.target/arm/mve/intrinsics/pr122223.c
- M: gcc/config/arm/mve.md


Christophe Lyon (1):
  arm: [MVE] Fix operands order in vbicq_f [PR122223]

 gcc/config/arm/mve.md                         |  4 +--
 .../gcc.target/arm/mve/intrinsics/pr122223.c  | 31 +++++++++++++++++++
 2 files changed, 33 insertions(+), 2 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/arm/mve/intrinsics/pr122223.c

-- 
2.51.1

Reply via email to