summaryrefslogtreecommitdiff
path: root/sbin/fdisk
diff options
context:
space:
mode:
authormortimer <mortimer@cvs.openbsd.org>2021-07-11 20:32:01 +0000
committermortimer <mortimer@cvs.openbsd.org>2021-07-11 20:32:01 +0000
commitaa81d1f793a66a1a6507fe7fc229c264dc8c7522 (patch)
tree2195dd675ad1a9bf5aabea6db71a60750cec0c8b /sbin/fdisk
parent434985fd73eb20f50c76baab91c420d9dbd134d5 (diff)
Optimize gadget fixups for MOV instructions.
Instead of swapping registers around, we can just use the REV version of the same instruction, which has the same effect but encodes differently and does not result in return bytes in the binary. This reduces the number of xchg instructions resulting from gadget fixing. Prompted by ratchov@, with input from millert@ and sthen@. ok sthen@
Diffstat (limited to 'sbin/fdisk')
0 files changed, 0 insertions, 0 deletions