summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev
diff options
context:
space:
mode:
authorSintendo <bram.speeckaert@gmail.com>2021-06-26 16:46:09 +0200
committerSintendo <bram.speeckaert@gmail.com>2021-06-26 17:31:31 +0200
commit7de4623d48bc03c9167258f7f38298e49240e875 (patch)
tree00ccfae767256be6879320662019e0354770c95e /Source/Core/InputCommon/ControllerInterface/evdev
parentc77a5f7e3246398aeb1d520d7bbc0bfdf5787754 (diff)
Jit64: mtfsfx - Optimized masking
The masking logic can be eliminated when the mask is known to be all ones. This case is very common. Before: 66 48 0F 7E F0 movq rax,xmm6 8B 55 5C mov edx,dword ptr [rbp+5Ch] 83 E0 FF and eax,0FFFFFFFFh 83 E2 00 and edx,0 0B C2 or eax,edx 89 45 5C mov dword ptr [rbp+5Ch],eax 48 8D 15 C3 3C FE 01 lea rdx,[19520020h] 83 E0 07 and eax,7 0F AE 14 82 ldmxcsr dword ptr [rdx+rax*4] After: 66 48 0F 7E F0 movq rax,xmm6 89 45 5C mov dword ptr [rbp+5Ch],eax 48 8D 15 2A D1 FD 01 lea rdx,[19440000h] 83 E0 07 and eax,7 0F AE 14 82 ldmxcsr dword ptr [rdx+rax*4]
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
0 files changed, 0 insertions, 0 deletions