Correct RIP-relative offset for strange x86-64 instructions
authorPaul Khuong <pvk@pvk.ca>
Fri, 22 Jul 2011 15:52:48 +0000 (11:52 -0400)
committerPaul Khuong <pvk@pvk.ca>
Fri, 22 Jul 2011 15:52:48 +0000 (11:52 -0400)
commit9d2548ce943f75dd3c77bd070270c19c58f6cb7d
tree631869021f15060b290a1c5c5ba0c1480afa8a08
parentda8bc5f3effce8145fe3720110883f1f5d4e237d
Correct RIP-relative offset for strange x86-64 instructions

 CMP[PS][SD] and shuffle instructions have extra noise *after* the
 reg/mem operand.  Take that into account when emitting RIP-relative
 EAs.

 Their disassembler definition is still broken.

 Fixes lp#814688, reported by Eric Marsden on sbcl-devel.
NEWS
src/compiler/x86-64/insts.lisp
tests/compiler.pure.lisp