mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-10-30 07:11:38 +00:00
Implement vpkswss/vpkswss128
This commit is contained in:
parent
9db01820e4
commit
de697dc1b0
1 changed files with 6 additions and 0 deletions
|
|
@ -2350,6 +2350,12 @@ bool Recompiler::Recompile(
|
|||
println("\t_mm_store_si128((__m128i*){}.u8, _mm_packus_epi16(_mm_load_si128((__m128i*){}.s16), _mm_load_si128((__m128i*){}.s16)));", v(insn.operands[0]), v(insn.operands[2]), v(insn.operands[1]));
|
||||
break;
|
||||
|
||||
case PPC_INST_VPKSWSS:
|
||||
case PPC_INST_VPKSWSS128:
|
||||
println("\t_mm_store_si128((__m128i*){}.s16, _mm_packs_epi32(_mm_load_si128((__m128i*){}.s32), _mm_load_si128((__m128i*){}.s32)));",
|
||||
v(insn.operands[0]), v(insn.operands[2]), v(insn.operands[1]));
|
||||
break;
|
||||
|
||||
case PPC_INST_VPKSWUS:
|
||||
case PPC_INST_VPKSWUS128:
|
||||
println("\t_mm_store_si128((__m128i*){}.s32, _mm_load_si128((__m128i*){}.s32));", vTemp(), v(insn.operands[2]));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue