[Git][cmucl/cmucl][issue-97-define-ud2-inst] Fix disassembly of break inst

Raymond Toy gitlab at common-lisp.net
Sat Mar 20 16:09:45 UTC 2021



Raymond Toy pushed to branch issue-97-define-ud2-inst at cmucl / cmucl


Commits:
73e864e8 by Raymond Toy at 2021-03-20T09:09:29-07:00
Fix disassembly of break inst

The code field for the break instruction had the wrong byte position.
It was (byte 8 8), but it should be (byte 8 16).

`(disassemble 'lisp::halt)` works now.

- - - - -


1 changed file:

- src/compiler/x86/insts.lisp


Changes:

=====================================
src/compiler/x86/insts.lisp
=====================================
@@ -2064,7 +2064,7 @@
 
 (disassem:define-instruction-format (break 24 :default-printer '(:name :tab code))
   (op :fields (list (byte 8 0) (byte 8 8)) :value '(#xb00001111 #b00001011))
-  (code :field (byte 8 8)))
+  (code :field (byte 8 16)))
 
 (define-emitter emit-break-inst 24
   (byte 8 0) (byte 8 8) (byte 8 16))



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/73e864e8ddcef408af202f9747d9adcbd6a80230

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/73e864e8ddcef408af202f9747d9adcbd6a80230
You're receiving this email because of your account on gitlab.common-lisp.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20210320/38b09e4e/attachment.html>


More information about the cmucl-cvs mailing list