mirror of
https://github.com/ptitSeb/box64.git
synced 2025-05-09 00:21:32 +08:00
[DYNAREC] Added 0F 3A 0F opcode
This commit is contained in:
parent
4bfacf8a7e
commit
97857d55a0
@ -391,6 +391,30 @@ uintptr_t dynarec64_0F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
|
||||
}
|
||||
break;
|
||||
|
||||
case 0x3A: // these are some more SSSE3 opcodes
|
||||
opcode = F8;
|
||||
switch(opcode) {
|
||||
case 0x0F:
|
||||
INST_NAME("PALIGNR Gm, Em, Ib");
|
||||
nextop = F8;
|
||||
GETGM(q0);
|
||||
GETEM(q1, 1);
|
||||
u8 = F8;
|
||||
if(u8>15) {
|
||||
VEOR(q0, q0, q0);
|
||||
} else if(u8>7) {
|
||||
d0 = fpu_get_scratch(dyn);
|
||||
VEOR(d0, d0, d0);
|
||||
VEXT_8(q0, q0, d0, u8-8);
|
||||
} else {
|
||||
VEXT_8(q0, q1, q0, u8);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
DEFAULT;
|
||||
}
|
||||
break;
|
||||
|
||||
#define GO(GETFLAGS, NO, YES, F) \
|
||||
READFLAGS(F); \
|
||||
GETFLAGS; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user