mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-12 15:46:29 +00:00
ir: Add IR opcodes for emitting vector shuffles
This uses the ARM terminology for sizes (Halfword -> 2 bytes, Word -> 4 bytes) as opposed to the x86 terminology of (Word -> 2 bytes, Double word -> 4 bytes)
This commit is contained in:
@@ -1103,6 +1103,18 @@ U128 IREmitter::VectorPopulationCount(const U128& a) {
|
||||
return Inst<U128>(Opcode::VectorPopulationCount, a);
|
||||
}
|
||||
|
||||
U128 IREmitter::VectorShuffleHighHalfwords(const U128& a, u8 mask) {
|
||||
return Inst<U128>(Opcode::VectorShuffleHighHalfwords, a, mask);
|
||||
}
|
||||
|
||||
U128 IREmitter::VectorShuffleLowHalfwords(const U128& a, u8 mask) {
|
||||
return Inst<U128>(Opcode::VectorShuffleLowHalfwords, a, mask);
|
||||
}
|
||||
|
||||
U128 IREmitter::VectorShuffleWords(const U128& a, u8 mask) {
|
||||
return Inst<U128>(Opcode::VectorShuffleWords, a, mask);
|
||||
}
|
||||
|
||||
U128 IREmitter::VectorSignExtend(size_t original_esize, const U128& a) {
|
||||
switch (original_esize) {
|
||||
case 8:
|
||||
|
||||
Reference in New Issue
Block a user