[AVX512] Whitespace issue on zeroing-masking specifier

H.J. Lu hjl.tools@gmail.com
Fri Mar 9 11:49:00 GMT 2018


On Fri, Mar 9, 2018 at 1:13 AM, Jan Beulich <JBeulich@suse.com> wrote:
>>>> 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().
>
>

I am checking in this patch.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Strip-whitespace-in-check_VecOperations.patch
Type: text/x-patch
Size: 2136 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180309/13f51424/attachment.bin>


More information about the Binutils mailing list