summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelEngine.cpp
diff options
context:
space:
mode:
authorSintendo <bram.speeckaert@gmail.com>2021-01-25 23:44:54 +0100
committerSintendo <bram.speeckaert@gmail.com>2021-01-28 23:16:48 +0100
commit845d7cd51f731f1eedd25f89fa41823a7f03b9f9 (patch)
tree56dd81d3a6c43e65081934de0a9c9e2d51f64af7 /Source/Core/VideoCommon/PixelEngine.cpp
parentc3775588dfd65ae09e1a174fdba35d7179ccfc59 (diff)
Jit64: boolX - Optimize xor for size
XOR allows for a more compact representation for constants that can be represented by a signed 8-bit integer, while MOV does not. By letting MOV handle the larger constants we can occasionally save a byte. Before: 44 89 F7 mov edi,r14d 81 F7 A0 52 57 01 xor edi,15752A0h After: BF A0 52 57 01 mov edi,15752A0h 41 33 FE xor edi,r14d
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
0 files changed, 0 insertions, 0 deletions