mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-06 10:32:58 +00:00
A64/translate/impl: Mark DecodeBitMasks and AdvSIMDExpandImm as static
These don't rely on instance state to perform their behavior. They're just helper functions.
This commit is contained in:
@@ -43,8 +43,8 @@ struct TranslatorVisitor final {
|
||||
u64 wmask, tmask;
|
||||
};
|
||||
|
||||
std::optional<BitMasks> DecodeBitMasks(bool immN, Imm<6> imms, Imm<6> immr, bool immediate);
|
||||
u64 AdvSIMDExpandImm(bool op, Imm<4> cmode, Imm<8> imm8);
|
||||
static std::optional<BitMasks> DecodeBitMasks(bool immN, Imm<6> imms, Imm<6> immr, bool immediate);
|
||||
static u64 AdvSIMDExpandImm(bool op, Imm<4> cmode, Imm<8> imm8);
|
||||
|
||||
IR::UAny I(size_t bitsize, u64 value);
|
||||
IR::UAny X(size_t bitsize, Reg reg);
|
||||
|
||||
Reference in New Issue
Block a user