aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-04-02 00:42:29 -0700
committeriximeow <me@iximeow.net>2024-04-02 00:42:32 -0700
commit27c0d462eec5200be1e4cc5a24353a66b97c159c (patch)
tree596c9aedf55686153e6d7e1d10500b1c20421c1b /.gitignore
parentbbdf78c061b6e685d1992dcdeac692fc2f8f0d34 (diff)
swap test order for segment override applicability
it is almost always the case that self.prefixes.segment == Segment::DS, meaning testing for it first avoids checking `self.operands[op].is_memory()` later. this overall avoids a few instructions in the typical path, rather than checking `is_memory()` first (which would always be true in the places this function is called from)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions