x86: consistently convert to byte registers for TEST w/ imm optimization
authorJan Beulich <jbeulich@suse.com>
Thu, 9 Jan 2020 10:38:59 +0000 (11:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 9 Jan 2020 10:38:59 +0000 (11:38 +0100)
commit7697afb662b2ffd67d044209d6d807a8e21dfed9
treeeaeaab01a9809997f43d6edca9dd7e4c3fc3cc21
parentd835a58baae720abe909795cb68763040d1750a8
x86: consistently convert to byte registers for TEST w/ imm optimization

Commit ac0ab1842d ("i386: Also check R12-R15 registers when optimizing
testq to testb") didn't go quite far enough: In order to avoid confusing
other code registers would better be converted to byte ones uniformly.
gas/ChangeLog
gas/config/tc-i386.c