aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-04-02 00:54:58 -0700
committeriximeow <me@iximeow.net>2024-04-02 00:54:58 -0700
commit3291884e4c51cfd93ae0f84681c5dd00e2e8544d (patch)
tree11176dad841e6983b9414c3ad5215994948d5c72 /src/long_mode/mod.rs
parent27c0d462eec5200be1e4cc5a24353a66b97c159c (diff)
display: gate rep printing with a simpler check
testing against six opcodes to see if we should print rep or repnz is a bit absurd. they are relatively rare instructions, so this is a long sequence of never-taken tests. we can avoid the whole thing in the common case by testing if there is any kind of rep prefix at all.
Diffstat (limited to 'src/long_mode/mod.rs')
0 files changed, 0 insertions, 0 deletions