|
|
@ -36,22 +36,8 @@ |
|
|
#include "dynarmic/ir/basic_block.h"
|
|
|
#include "dynarmic/ir/basic_block.h"
|
|
|
#include "dynarmic/ir/microinstruction.h"
|
|
|
#include "dynarmic/ir/microinstruction.h"
|
|
|
|
|
|
|
|
|
#define FCODE(NAME) \
|
|
|
|
|
|
[&code](auto... args) { \ |
|
|
|
|
|
if constexpr (fsize == 32) { \ |
|
|
|
|
|
code.NAME##s(args...); \ |
|
|
|
|
|
} else { \ |
|
|
|
|
|
code.NAME##d(args...); \ |
|
|
|
|
|
} \ |
|
|
|
|
|
} |
|
|
|
|
|
#define ICODE(NAME) \
|
|
|
|
|
|
[&code](auto... args) { \ |
|
|
|
|
|
if constexpr (fsize == 32) { \ |
|
|
|
|
|
code.NAME##d(args...); \ |
|
|
|
|
|
} else { \ |
|
|
|
|
|
code.NAME##q(args...); \ |
|
|
|
|
|
} \ |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#define FCODE(NAME) [&](auto... args) { if (fsize == 32) code.NAME##s(args...); else code.NAME##d(args...); }
|
|
|
|
|
|
#define ICODE(NAME) [&](auto... args) { if (fsize == 32) code.NAME##d(args...); else code.NAME##q(args...); }
|
|
|
|
|
|
|
|
|
namespace Dynarmic::Backend::X64 { |
|
|
namespace Dynarmic::Backend::X64 { |
|
|
|
|
|
|
|
|
|