aboutsummaryrefslogtreecommitdiff
path: root/ffi/multiarch/src/protected_mode.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-08-09 00:47:02 -0700
committeriximeow <me@iximeow.net>2020-08-09 01:39:01 -0700
commite433752d59c1bb790c2de86f2b5e327de8de793d (patch)
tree3db5ef37a1a4a95cb095cb5474c2a9ed439bb727 /ffi/multiarch/src/protected_mode.rs
parent2bf6df7ff4101b4e7cf14807b5e9def85d92e1cd (diff)
avoid a bunch of checks in the likely display path
rep_any will get speculated `false` quite quickly, whereas checking if the opcode is a string instruction will be costly no matter what. in the rare case rep_any is true, i don't care how costly displaying the instruction is - string instructions are relatively rare, and rep movs is typically not more than one instance when it shows up.
Diffstat (limited to 'ffi/multiarch/src/protected_mode.rs')
0 files changed, 0 insertions, 0 deletions