x86: don't mistakenly scale non-8-bit displacements
authorJan Beulich <jbeulich@novell.com>
Mon, 30 Jul 2018 15:25:05 +0000 (17:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 30 Jul 2018 15:25:05 +0000 (17:25 +0200)
commit629cfaf1b0fbb32a985607c774bd8e7870b9fa94
treea4d8c294a5a8a2071bc1afc3e658b4253f665d55
parent2409af1e94de228ccd7a1d34deb954541fbfa37c
x86: don't mistakenly scale non-8-bit displacements

In commit b5014f7af2 I've removed (instead of replaced) a conditional,
resulting in addressing forms not allowing 8-bit displacements to now
get their displacements scaled under certain circumstances. Re-add the
missing conditional.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/evex-no-scale-32.d [new file with mode: 0644]
gas/testsuite/gas/i386/evex-no-scale-64.d [new file with mode: 0644]
gas/testsuite/gas/i386/evex-no-scale.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp