mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-08 07:02:57 +00:00
IR: Implement IR instructions A64{Get,Set}S
This commit is contained in:
@@ -124,6 +124,8 @@ void TranslatorVisitor::SP(size_t bitsize, IR::U32U64 value) {
|
||||
|
||||
IR::U128 TranslatorVisitor::V(size_t bitsize, Vec vec) {
|
||||
switch (bitsize) {
|
||||
case 32:
|
||||
return ir.GetS(vec);
|
||||
case 64:
|
||||
return ir.GetD(vec);
|
||||
case 128:
|
||||
@@ -135,6 +137,9 @@ IR::U128 TranslatorVisitor::V(size_t bitsize, Vec vec) {
|
||||
|
||||
void TranslatorVisitor::V(size_t bitsize, Vec vec, IR::U128 value) {
|
||||
switch (bitsize) {
|
||||
case 32:
|
||||
ir.SetS(vec, value);
|
||||
return;
|
||||
case 64:
|
||||
ir.SetD(vec, value);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user