forked from intel/haxm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for CMPS{B,W,D,Q} instructions
- Renamed `INSN_MOV` to `INSN_DST_NR` for instructions that do not read the destination operand: Instruction flags should signal behavioral quirks of the instruction, not just an alternative way of identifying a particular instruction (mov in this case). - Created `INSN_DST_NW` flag for instructions that do not read the destination operand. Name is consistent with the change mentioned above. - Added `INSN_DST_NW` flag to cmp/test instructions as a small optimization. It will prevent unnecessary (and possibly illegal?) memory writes from occurring during these instructions. - Implemented `cmps` in the instruction emulator, fixing issue intel#175. - Added tests for `cmps` for both regular and REPx variants. Signed-off-by: Alexandro Sanchez Bach <[email protected]>
- Loading branch information
1 parent
5fdebb5
commit 7a5c392
Showing
2 changed files
with
69 additions
and
31 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