diff options
author | Jan Beulich <jbeulich@novell.com> | 2017-11-13 12:22:21 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2017-11-13 12:22:21 +0100 |
commit | b76bc5d54e36f15efd954898d9aa075c2bea02dd (patch) | |
tree | d60c7615bb063e7e68a5780ace9fd9b3b63eb9b9 /gas/config | |
parent | 897e603cb98c50968ea21d1b3baac5bc020ccc06 (diff) | |
download | gdb-b76bc5d54e36f15efd954898d9aa075c2bea02dd.zip gdb-b76bc5d54e36f15efd954898d9aa075c2bea02dd.tar.gz gdb-b76bc5d54e36f15efd954898d9aa075c2bea02dd.tar.bz2 |
x86: don't default variable shift count insns to 8-bit operand size
Just like %dx in I/O instructions isn't suitable to derive operand size
information, %cl source operands of shift instructions aren't.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 4161c8c..f20be8e 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -5431,7 +5431,8 @@ process_suffix (void) } for (op = i.operands; --op >= 0;) - if (!i.tm.operand_types[op].bitfield.inoutportreg) + if (!i.tm.operand_types[op].bitfield.inoutportreg + && !i.tm.operand_types[op].bitfield.shiftcount) { if (i.types[op].bitfield.reg8) { |