Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86isa: Fixed incorrect counting of the total number of prefixes (tha…
…nks, Dmitry Nadezhin!) Previously, if redundant prefixes were present in a legal x86 instruction, the function get-prefixes did not count the total number of prefixes correctly. Thanks to an example sent over by Dmitry that helped me find and fix this bug! Also added a concrete execution example tools/execution/examples/nop-sequence/nop.lsp that checks if the recommended multi-byte sequence of NOP (Intel Vol. 2B, NOP Instruction-Set Reference) is supported by the x86isa books (it is).
- Loading branch information
Showing
9 changed files
with
286 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.