mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-07 06:58:15 +01:00
IR: Implement IR instructions A64{Get,Set}S
This commit is contained in:
parent
16fa2cd8f6
commit
b513b2ef05
6 changed files with 28 additions and 2 deletions
|
|
@ -93,6 +93,10 @@ IR::U64 IREmitter::GetX(Reg reg) {
|
|||
return Inst<IR::U64>(Opcode::A64GetX, IR::Value(reg));
|
||||
}
|
||||
|
||||
IR::U128 IREmitter::GetS(Vec vec) {
|
||||
return Inst<IR::U128>(Opcode::A64GetS, IR::Value(vec));
|
||||
}
|
||||
|
||||
IR::U128 IREmitter::GetD(Vec vec) {
|
||||
return Inst<IR::U128>(Opcode::A64GetD, IR::Value(vec));
|
||||
}
|
||||
|
|
@ -117,6 +121,10 @@ void IREmitter::SetX(const Reg reg, const IR::U64& value) {
|
|||
Inst(Opcode::A64SetX, IR::Value(reg), value);
|
||||
}
|
||||
|
||||
void IREmitter::SetS(const Vec vec, const IR::U128& value) {
|
||||
Inst(Opcode::A64SetS, IR::Value(vec), value);
|
||||
}
|
||||
|
||||
void IREmitter::SetD(const Vec vec, const IR::U128& value) {
|
||||
Inst(Opcode::A64SetD, IR::Value(vec), value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue