bnd: Drop bnd prefix for relaxed short jmp instructions
authorJin Kyu Song <jin.kyu.song@intel.com>
Fri, 22 Nov 2013 03:40:42 +0000 (19:40 -0800)
committerJin Kyu Song <jin.kyu.song@intel.com>
Fri, 22 Nov 2013 19:59:14 +0000 (11:59 -0800)
commit305f3cee04d1adf3f4e335c5645814f2b67e8a69
treef303bc5873de869d5a1f05212033302b55c59d63
parent5f3bfee708deba146302df4bb33d081f496399c0
bnd: Drop bnd prefix for relaxed short jmp instructions

Reverted the redundant branch instruction patterns for bnd prefix.
And when a relaxed jmp instruction becomes a short (Jb) form,
bnd prefix is not needed because it does not initialize bnd registers.
So in that case, bnd prefix is silently dropped.

BND JMP foo       -> drops bnd prefix
BND JMP short foo -> shows an explicit error

Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
assemble.c
insns.dat
test/mpx-64.asm
test/mpx.asm