x86: Use unsigned int to iterate through vector operands
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 24 Jul 2018 16:47:47 +0000 (09:47 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 24 Jul 2018 16:51:08 +0000 (09:51 -0700)
commit56522fc5af76ec88f650d8d305c0aa3d669c2849
tree3687b61be22ece0a823cff98ff4fa83741a82ea5
parent1d97232ae3655ad4f2661af34f4fa6038d492a25
x86: Use unsigned int to iterate through vector operands

Use unsigned int to iterate through multi-length vector operands to avoid
sign-extension.

* config/tc-i386.c (build_vex_prefix): Use unsigned int to
iterate through multi-length vector operands.
(build_evex_prefix): Likewise.
gas/ChangeLog
gas/config/tc-i386.c