mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-19 06:49:38 +00:00
A64: Implement HINT, NOP, YIELD, WFE, WFI, SEV, and SEVL
Truly the most difficult A64 instructions to implement.
This commit is contained in:
41
src/frontend/A64/translate/impl/system.cpp
Normal file
41
src/frontend/A64/translate/impl/system.cpp
Normal file
@@ -0,0 +1,41 @@
|
||||
/* This file is part of the dynarmic project.
|
||||
* Copyright (c) 2018 MerryMage
|
||||
* This software may be used and distributed according to the terms of the GNU
|
||||
* General Public License version 2 or any later version.
|
||||
*/
|
||||
|
||||
#include "frontend/A64/translate/impl/impl.h"
|
||||
|
||||
namespace Dynarmic {
|
||||
namespace A64 {
|
||||
|
||||
bool TranslatorVisitor::HINT([[maybe_unused]] Imm<4> CRm, [[maybe_unused]] Imm<3> op2) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TranslatorVisitor::NOP() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TranslatorVisitor::YIELD() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TranslatorVisitor::WFE() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TranslatorVisitor::WFI() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TranslatorVisitor::SEV() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TranslatorVisitor::SEVL() {
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace A64
|
||||
} // namespace Dynarmic
|
||||
Reference in New Issue
Block a user