Arm64Emitter: Add shorthand member functions for hint instructions

Allows for more concise code.
This commit is contained in:
Lioncash
2020-12-30 20:40:46 -05:00
parent 6046a15267
commit cca0dffebd
3 changed files with 15 additions and 8 deletions

View File

@ -603,6 +603,13 @@ public:
void CNTVCT(ARM64Reg Rt);
void HINT(SystemHint op);
void NOP() { HINT(SystemHint::NOP); }
void SEV() { HINT(SystemHint::SEV); }
void SEVL() { HINT(SystemHint::SEVL); }
void WFE() { HINT(SystemHint::WFE); }
void WFI() { HINT(SystemHint::WFI); }
void YIELD() { HINT(SystemHint::YIELD); }
void CLREX();
void DSB(BarrierType type);
void DMB(BarrierType type);