[AVX512] Whitespace issue on zeroing-masking specifier

Cameron McInally cameron.mcinally@nyu.edu
Thu Mar 8 17:04:00 GMT 2018

I apologize in advance for this cross-post. I originally sent this
message to bugs-binutils, but am now realizing that that was not the
correct place for a discussion.



I'm currently upgrading from GAS 2.26.0 to 2.30.0 and have hit a
strange whitespace issue:

#scrubbed#> cat test.s
.globl main
.type main,@function
        vmovdqa32       %zmm0, %zmm0 {%k1}{z}
        vmovdqa32       %zmm0, %zmm0 {%k1} {z} # <-- This one
#scrubbed#> as test.s
test.s: Assembler messages:
test.s:5: Error: unknown vector operation: ` {z}'

GAS 2.26.0 accepted the whitespace variant, however 2.30.0 does not.

The Clang/LLVM compiler produces the extra whitespace version. I'm
trying to determine which side, LLVM or GAS, needs a fix. Any insight
would be appreciated.


More information about the Binutils mailing list