[Bug target/104104] New: Assembler messages: Error: number of operands mismatch for `vxorps'

asolokha at gmx dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 18 20:14:42 GMT 2022


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

            Bug ID: 104104
           Summary: Assembler messages: Error: number of operands mismatch
                    for `vxorps'
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: assemble-failure
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-unknown-linux-gnu

GNU as 2.37 fails to assemble the output of gcc 12.0.0 20220116 snapshot
(g:90045c5df5b3c8853e7740fb72a11aead1c489bb), compiled w/ -march=alderlake
-masm=intel -O1 -fallow-store-data-races -funroll-all-loops, w/ the following
diagnostics:

% x86_64-unknown-linux-gnu-gcc-12.0.0 -march=alderlake -masm=intel -O1
-fallow-store-data-races -funroll-all-loops -c fo56tlbm.c
/tmp/ccSYPU7W.s: Assembler messages:
/tmp/ccSYPU7W.s:160: Error: number of operands mismatch for `vxorps'
/tmp/ccSYPU7W.s:173: Error: number of operands mismatch for `vxorps'

__attribute__ ((simd)) short int
foo (void)
{
  return 0;
}

Indeed, w/ -masm=intel gcc emits plain vxorps w/o any operands.


More information about the Gcc-bugs mailing list