[i386] Check RegVRex in register_number
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 20 Feb 2016 17:23:20 +0000 (09:23 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 20 Feb 2016 17:23:20 +0000 (09:23 -0800)
commit200cbe0f460aa858e2bfc9741f61eeab3e7ac15a
tree053a0af06fdeb8416c1fbc1097580bdc7266f98d
parent7384ffbd16116000f2627e49940b13b5307bae99
[i386] Check RegVRex in register_number

Increment register number by 16 if RegVRex is set.

* config/tc-i386.c (register_number): Check RegVRex.
* testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
with %zmm19 and %zmm3.
* testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
* testsuite/gas/i386/x86-64-avx512f.d: Likewise.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-avx512f-intel.d
gas/testsuite/gas/i386/x86-64-avx512f.d
gas/testsuite/gas/i386/x86-64-avx512f.s