REX: Set REX bits in accordance with 32-register environment
authorJin Kyu Song <jin.kyu.song@intel.com>
Fri, 8 Nov 2013 09:14:39 +0000 (01:14 -0800)
committerJin Kyu Song <jin.kyu.song@intel.com>
Fri, 8 Nov 2013 09:48:31 +0000 (01:48 -0800)
commit1be09ee0d72b692b4c0ca40dbc3878f5bfc9b1da
tree683071ff152f5bd704c73ecbefd0297dcc0f3f9d
parent32019da3a46bc60ac060957a5077dc2c25017186
REX: Set REX bits in accordance with 32-register environment

REX.RXB bits were set for high-8 registers previously.
Since high-16 zmm registers are newly added, those bits should
be set as one bit of binary number of register value.
Similarly EVEX.R'/V'/X should be set in the same manner.

Authored-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
assemble.c