[Bug target/122175] New: Assemble failure for MVE vbicq_n on arm

rearnsha at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 6 13:08:33 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122175

            Bug ID: 122175
           Summary: Assemble failure for MVE vbicq_n on arm
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: assemble-failure
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rearnsha at gcc dot gnu.org
  Target Milestone: ---
            Target: arm

#include <arm_mve.h>

uint16x8_t test_1(uint16x8_t v11) {
  return vbicq_n_u16(v11, 0x8000);
}

Compiled with -O2 -march=armv8.1-m.main+mve.fp -mfloat-abi=hard

Results in incorrect assembly output (the const int value is sign-extended from
a short).


More information about the Gcc-bugs mailing list