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:10:12+00:00
Latest update: 2025-11-07 10:49:36+00:00
Changes: 2 changed files, 33 additions, 2 deletions
Head revision: clyon/gcc-TEST ref mve-vbicq_f-gcc13 commit 
e599dc9b3ebc0957ec81014920816238e7551d77
Base revision: gcc/gcc-TEST ref releases/gcc-13 commit 
6e01a4d9eb4c01e2a9ce58e12f560780da91c67c r13-9935-g6e01a4d9eb4c01
Merge base: 6e01a4d9eb4c01e2a9ce58e12f560780da91c67c
Full diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/115.diff
Discussion:  https://forge.sourceware.org/gcc/gcc-TEST/pulls/115
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