[AVX512] Whitespace issue on zeroing-masking specifier

Jan Beulich JBeulich@suse.com
Fri Mar 9 09:13:00 GMT 2018


>>> On 08.03.18 at 18:04, <cameron.mcinally@nyu.edu> wrote:
> 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
> main:
>         vmovdqa32       %zmm0, %zmm0 {%k1}{z}
>         vmovdqa32       %zmm0, %zmm0 {%k1} {z} # <-- This one
> retq
> #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.

Hmm, indeed, this changed from 2.28 to 2.29. I would guess this is
an unintended side effect of the addition of pseudo prefixes, which
changed how the scrubber treats '{'. I suppose we now need to
explicitly strip whitespace in check_VecOperations().

Jan



More information about the Binutils mailing list