mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
rsx/cfg: Replace 'avx512' intrinsics with SSE2-compatible ones
- These are just PAND and POR instruction wrappers for SSE2, no idea why they're classified as 'avx512'
This commit is contained in:
parent
0fbd0e8cc7
commit
2c1d962bdc
|
|
@ -20,9 +20,9 @@ namespace rsx::assembler
|
|||
__m128i _mask1 = _mm_set1_epi32(0x00ff00ff);
|
||||
__m128i a = _mm_slli_epi32(static_cast<__m128i>(raw_inst), 8);
|
||||
__m128i b = _mm_srli_epi32(static_cast<__m128i>(raw_inst), 8);
|
||||
__m128i ret = _mm_or_epi32(
|
||||
_mm_and_epi32(_mask0, a),
|
||||
_mm_and_epi32(_mask1, b)
|
||||
__m128i ret = _mm_or_si128(
|
||||
_mm_and_si128(_mask0, a),
|
||||
_mm_and_si128(_mask1, b)
|
||||
);
|
||||
return v128::loadu(&ret);
|
||||
}
|
||||
|
|
@ -36,7 +36,6 @@ namespace rsx::assembler
|
|||
SRC2 src2{};
|
||||
|
||||
u32 pc = 0; // Program counter
|
||||
u32 instruction_size = 0;
|
||||
bool end = false;
|
||||
|
||||
// Flow control data
|
||||
|
|
|
|||
Loading…
Reference in a new issue