A few x86-64 disassembler cleanups.
commit821786bd07dc160a138347a8d8b9cce4e1504056
authorDouglas Katzman <dougk@google.com>
Wed, 8 Feb 2017 04:34:04 +0000 (7 23:34 -0500)
committerDouglas Katzman <dougk@google.com>
Wed, 8 Feb 2017 04:34:04 +0000 (7 23:34 -0500)
tree14454dbba3dae5a2673fb323b2dc415df089c5b3
parent972304acd85db49cebb7e34d663cdb8de7014f5e
A few x86-64 disassembler cleanups.

* Define a bitfield reader for the rel32offs field in JMP/CALL

* Define FIND-CALLED-OBJECT which takes an interior pointer
  to either an FDEFN or CODE and finds the object regardless
  of what's in a code component's header.
  Use it in MAYBE-NOTE-LISP-CALLEE to locate absolute jump targets.

* Fix 'displacement' printer to not accidentally print static funs
  as both an assembler routine and #<FUNCTION foo>.
  (because FIND-ASSEMBLER-ROUTINE will also find static functions)
src/code/x86-64-vm.lisp
src/compiler/x86-64/insts.lisp
src/compiler/x86-64/target-insts.lisp