Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vif: replace sse cmp code with standard cmp
Standard instruction are faster to execute besides the CPU can optimize the cmp/jne SSE e0: add ecx,0x10 e3: cmp eax,0x7 e6: jg 1b0 <void dVifUnpack<0>(unsigned char const*, bool)+0x1b0> enter_loop: ec: vpcmpeqd xmm0,xmm1,XMMWORD PTR [ecx] f0: vmovmskps eax,xmm0 f4: cmp eax,0x7 f7: jne e0 <void dVifUnpack<0>(unsigned char const*, bool)+0xe0> Standard cmp d8: add eax,0x10 db: mov esi,DWORD PTR [eax+0xc] de: test esi,esi e0: je 190 <void dVifUnpack<0>(unsigned char const*, bool)+0x190> enter_loop: e6: cmp ecx,DWORD PTR [eax+0x4] e9: jne d8 <void dVifUnpack<0>(unsigned char const*, bool)+0xd8> eb: cmp DWORD PTR [eax+0x8],ebx ee: jne d8 <void dVifUnpack<0>(unsigned char const*, bool)+0xd8> v2: use reference instead of a pointer for find parameter
- Loading branch information