x86-64: don't allow use of %axl as accumulator
authorJan Beulich <jbeulich@novell.com>
Wed, 15 Nov 2017 07:48:51 +0000 (08:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Nov 2017 07:48:51 +0000 (08:48 +0100)
commit0645f0a2a75ad77d9786595978591d3f302f9647
treedbb506276f9cd08824e99995a4a471403b9d56ee
parent99847db8ea741f895d79b9312114c13ccb660d83
x86-64: don't allow use of %axl as accumulator

Just like %cxl can't be used as shift count register. Otherwise for
consistency %cxl would need to gain "ShiftCount" and use of both ought
to properly cause REX prefixes to be emitted.
12 files changed:
gas/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/ilp32/x86-64-reg-intel.d
gas/testsuite/gas/i386/ilp32/x86-64-reg.d
gas/testsuite/gas/i386/x86-64-reg-bad.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-reg-bad.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-reg-intel.d
gas/testsuite/gas/i386/x86-64-reg.d
gas/testsuite/gas/i386/x86-64-reg.s
opcodes/ChangeLog
opcodes/i386-reg.tbl
opcodes/i386-tbl.h