bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incorrect warning for AVX512 gathers


From: Steve Vormwald
Subject: Incorrect warning for AVX512 gathers
Date: Thu, 18 Feb 2016 19:01:24 +0000

On the current tip of binutils-2_26-branch, gas is emitting an incorrect 
warning 'Warning: index and destination registers should be distinct' when the 
two zmm registers are separated by 16.  For exmaple, zmm19 and zmm3 in 
'vgatherqpd      (%rax,%zmm19,8), %zmm3 {%k1}'.  This warning was added in 
commit 8444f82a1d163171deccfcf014cc31adb81f703b.  The problem appears to be 
that the register_number() function in gas/config/tc-i386.c doesn't check for 
RegVRex flag like it does for the RegRex flag, leading to aliasing issues 
between the low and high 16 registers.

Steven Vormwald


reply via email to

[Prev in Thread] Current Thread [Next in Thread]