-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
parse this case PPC_INST_VPERMWI128:
{
// NOTE: accounting for full vector reversal here
uint32_t x = 3 - (insn.operands[2] & 0x3);
uint32_t y = 3 - ((insn.operands[2] >> 2) & 0x3);
uint32_t z = 3 - ((insn.operands[2] >> 4) & 0x3);
uint32_t w = 3 - ((insn.operands[2] >> 6) & 0x3);
uint32_t perm = x | (y << 2) | (z << 4) | (w << 6);
println("\t_mm_store_si128((m128i*){}.u32, _mm_shuffle_epi32(_mm_load_si128((m128i*){}.u32), 0x{:X}));", v(insn.operands[0]), v(insn.operands[1]), perm);
break;
} - It brokes and don't collect last brace
Metadata
Metadata
Assignees
Labels
No labels