backend/A64: Update header path
fix header using
This commit is contained in:
parent
a870e9e74b
commit
8e0ec356c0
@ -16,22 +16,23 @@
|
||||
#include <mcl/stdint.hpp>
|
||||
#include <mcl/scope_exit.hpp>
|
||||
|
||||
#include <dynarmic/A32/coprocessor.h>
|
||||
#include <dynarmic/interface/A32/coprocessor.h>
|
||||
|
||||
#include "backend/A64/a32_emit_a64.h"
|
||||
#include "backend/A64/a32_jitstate.h"
|
||||
#include "backend/A64/abi.h"
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/devirtualize.h"
|
||||
#include "backend/A64/emit_a64.h"
|
||||
#include "backend/A64/emitter/a64_emitter.h"
|
||||
#include "backend/A64/perf_map.h"
|
||||
#include "common/variant_util.h"
|
||||
#include "frontend/A32/location_descriptor.h"
|
||||
#include "frontend/A32/types.h"
|
||||
#include "frontend/ir/basic_block.h"
|
||||
#include "frontend/ir/microinstruction.h"
|
||||
#include "frontend/ir/opcodes.h"
|
||||
#include "dynarmic/backend/A64/a32_emit_a64.h"
|
||||
#include "dynarmic/backend/A64/a32_jitstate.h"
|
||||
#include "dynarmic/backend/A64/abi.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/devirtualize.h"
|
||||
#include "dynarmic/backend/A64/emit_a64.h"
|
||||
#include "dynarmic/backend/A64/emitter/a64_emitter.h"
|
||||
#include "dynarmic/backend/A64/perf_map.h"
|
||||
#include "dynarmic/backend/A64/reg_alloc.h"
|
||||
#include "dynarmic/common/variant_util.h"
|
||||
#include "dynarmic/frontend/A32/a32_location_descriptor.h"
|
||||
#include "dynarmic/frontend/A32/a32_types.h"
|
||||
#include "dynarmic/ir/basic_block.h"
|
||||
#include "dynarmic/ir/microinstruction.h"
|
||||
#include "dynarmic/ir/opcodes.h"
|
||||
|
||||
// TODO: Have ARM flags in host flags and not have them use up GPR registers unless necessary.
|
||||
// TODO: Actually implement that proper instruction selector you've always wanted to sweetheart.
|
||||
@ -126,7 +127,7 @@ A32EmitA64::BlockDescriptor A32EmitA64::Emit(IR::Block& block) {
|
||||
A32EmitA64::EmitA32##name(ctx, inst); \
|
||||
break;
|
||||
#define A64OPC(...)
|
||||
#include "backend/A64/opcodes.inc"
|
||||
#include "dynarmic/backend/A64/opcodes.inc"
|
||||
#undef OPCODE
|
||||
#undef A32OPC
|
||||
#undef A64OPC
|
||||
|
@ -13,14 +13,14 @@
|
||||
#include <tuple>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "backend/A64/a32_jitstate.h"
|
||||
#include "backend/A64/block_range_information.h"
|
||||
#include "backend/A64/emit_a64.h"
|
||||
#include "backend/A64/exception_handler.h"
|
||||
#include "dynarmic/A32/a32.h"
|
||||
#include "dynarmic/A32/config.h"
|
||||
#include "frontend/A32/location_descriptor.h"
|
||||
#include "frontend/ir/terminal.h"
|
||||
#include "dynarmic/backend/A64/a32_jitstate.h"
|
||||
#include "dynarmic/backend/A64/block_range_information.h"
|
||||
#include "dynarmic/backend/A64/emit_a64.h"
|
||||
#include "dynarmic/backend/A64/exception_handler.h"
|
||||
#include "dynarmic/interface/A32/a32.h"
|
||||
#include "dynarmic/interface/A32/config.h"
|
||||
#include "dynarmic/frontend/A32/a32_location_descriptor.h"
|
||||
#include "dynarmic/ir/terminal.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
@ -102,7 +102,7 @@ protected:
|
||||
#define OPCODE(...)
|
||||
#define A32OPC(name, type, ...) void EmitA32##name(A32EmitContext& ctx, IR::Inst* inst);
|
||||
#define A64OPC(...)
|
||||
#include "frontend/ir/opcodes.inc"
|
||||
#include "dynarmic/ir/opcodes.inc"
|
||||
#undef OPCODE
|
||||
#undef A32OPC
|
||||
#undef A64OPC
|
||||
|
@ -12,20 +12,21 @@
|
||||
#include <mcl/stdint.hpp>
|
||||
#include <mcl/scope_exit.hpp>
|
||||
|
||||
#include <dynarmic/A32/a32.h>
|
||||
#include <dynarmic/A32/context.h>
|
||||
#include <dynarmic/interface/A32/a32.h>
|
||||
#include <dynarmic/interface/A32/context.h>
|
||||
|
||||
#include "backend/A64/a32_emit_a64.h"
|
||||
#include "backend/A64/a32_jitstate.h"
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/callback.h"
|
||||
#include "backend/A64/devirtualize.h"
|
||||
#include "backend/A64/jitstate_info.h"
|
||||
#include "common/llvm_disassemble.h"
|
||||
#include "frontend/A32/translate/translate.h"
|
||||
#include "frontend/ir/basic_block.h"
|
||||
#include "frontend/ir/location_descriptor.h"
|
||||
#include "ir_opt/passes.h"
|
||||
#include "dynarmic/backend/A64/a32_emit_a64.h"
|
||||
#include "dynarmic/backend/A64/a32_jitstate.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/callback.h"
|
||||
#include "dynarmic/backend/A64/devirtualize.h"
|
||||
#include "dynarmic/backend/A64/jitstate_info.h"
|
||||
#include "dynarmic/common/llvm_disassemble.h"
|
||||
#include "dynarmic/frontend/A32/translate/a32_translate.h"
|
||||
#include "dynarmic/ir/basic_block.h"
|
||||
#include "dynarmic/ir/location_descriptor.h"
|
||||
#include "dynarmic/ir/opt/passes.h"
|
||||
#include "dynarmic/common/atomic.h"
|
||||
|
||||
namespace Dynarmic::A32 {
|
||||
|
||||
|
@ -8,9 +8,9 @@
|
||||
#include <mcl/bit_cast.hpp>
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/a32_jitstate.h"
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "frontend/A32/location_descriptor.h"
|
||||
#include "dynarmic/backend/A64/a32_jitstate.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/frontend/A32/a32_location_descriptor.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/abi.h"
|
||||
#include "dynarmic/backend/A64/abi.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#include <array>
|
||||
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/hostloc.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/hostloc.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -8,12 +8,14 @@
|
||||
#include <cstring>
|
||||
#include <limits>
|
||||
|
||||
#include "backend/A64/a32_jitstate.h"
|
||||
#include "backend/A64/abi.h"
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/perf_map.h"
|
||||
#include <mcl/assert.hpp>
|
||||
|
||||
#include "dynarmic/backend/A64/a32_jitstate.h"
|
||||
#include "dynarmic/backend/A64/abi.h"
|
||||
#include "dynarmic/interface/halt_reason.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/perf_map.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#else
|
||||
|
@ -12,10 +12,11 @@
|
||||
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/callback.h"
|
||||
#include "backend/A64/constant_pool.h"
|
||||
#include "backend/A64/jitstate_info.h"
|
||||
#include "backend/A64/emitter/a64_emitter.h"
|
||||
#include "dynarmic/backend/A64/callback.h"
|
||||
#include "dynarmic/backend/A64/constant_pool.h"
|
||||
#include "dynarmic/backend/A64/jitstate_info.h"
|
||||
#include "dynarmic/backend/A64/emitter/a64_emitter.h"
|
||||
#include "dynarmic/interface/halt_reason.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -10,7 +10,9 @@
|
||||
#include <boost/icl/interval_set.hpp>
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/block_range_information.h"
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "dynarmic/backend/A64/block_range_information.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <boost/icl/interval_map.hpp>
|
||||
#include <boost/icl/interval_set.hpp>
|
||||
|
||||
#include "frontend/ir/location_descriptor.h"
|
||||
#include "dynarmic/ir/location_descriptor.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -4,8 +4,8 @@
|
||||
* General Public License version 2 or any later version.
|
||||
*/
|
||||
|
||||
#include "backend/A64/callback.h"
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/callback.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/emitter/a64_emitter.h"
|
||||
#include "dynarmic/backend/A64/emitter/a64_emitter.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
#include <mcl/assert.hpp>
|
||||
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/constant_pool.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/constant_pool.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -10,6 +10,8 @@
|
||||
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "dynarmic/backend/A64/emitter/a64_emitter.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
class BlockOfCode;
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <mcl/assert.hpp>
|
||||
#include <mcl/bit_cast.hpp>
|
||||
|
||||
#include "backend/A64/callback.h"
|
||||
#include "dynarmic/backend/A64/callback.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -12,14 +12,15 @@
|
||||
#include <mcl/stdint.hpp>
|
||||
#include <mcl/scope_exit.hpp>
|
||||
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/emit_a64.h"
|
||||
#include "backend/A64/hostloc.h"
|
||||
#include "backend/A64/perf_map.h"
|
||||
#include "common/variant_util.h"
|
||||
#include "frontend/ir/basic_block.h"
|
||||
#include "frontend/ir/microinstruction.h"
|
||||
#include "frontend/ir/opcodes.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/emit_a64.h"
|
||||
#include "dynarmic/backend/A64/hostloc.h"
|
||||
#include "dynarmic/backend/A64/perf_map.h"
|
||||
#include "dynarmic/backend/A64/reg_alloc.h"
|
||||
#include "dynarmic/common/variant_util.h"
|
||||
#include "dynarmic/ir/basic_block.h"
|
||||
#include "dynarmic/ir/microinstruction.h"
|
||||
#include "dynarmic/ir/opcodes.h"
|
||||
|
||||
// TODO: Have ARM flags in host flags and not have them use up GPR registers unless necessary.
|
||||
// TODO: Actually implement that proper instruction selector you've always wanted to sweetheart.
|
||||
|
@ -16,11 +16,10 @@
|
||||
|
||||
#include <mcl/bitsizeof.hpp>
|
||||
|
||||
#include "backend/A64/reg_alloc.h"
|
||||
#include "backend/A64/emitter/a64_emitter.h"
|
||||
#include "common/fp/rounding_mode.h"
|
||||
#include "frontend/ir/location_descriptor.h"
|
||||
#include "frontend/ir/terminal.h"
|
||||
#include "dynarmic/backend/A64/emitter/a64_emitter.h"
|
||||
#include "dynarmic/common/fp/rounding_mode.h"
|
||||
#include "dynarmic/ir/location_descriptor.h"
|
||||
#include "dynarmic/ir/terminal.h"
|
||||
|
||||
namespace Dynarmic::IR {
|
||||
class Block;
|
||||
@ -30,9 +29,10 @@ class Inst;
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
class BlockOfCode;
|
||||
class RegAlloc;
|
||||
|
||||
using namespace Arm64Gen;
|
||||
|
||||
using CodePtr = const void*;
|
||||
using A64FullVectorWidth = std::integral_constant<size_t, 128>;
|
||||
|
||||
// Array alias that always sizes itself according to the given type T
|
||||
@ -80,7 +80,7 @@ protected:
|
||||
#define OPCODE(name, type, ...) void Emit##name(EmitContext& ctx, IR::Inst* inst);
|
||||
#define A32OPC(...)
|
||||
#define A64OPC(...)
|
||||
#include "backend/A64/opcodes.inc"
|
||||
#include "dynarmic/backend/A64/opcodes.inc"
|
||||
#undef OPCODE
|
||||
#undef A32OPC
|
||||
#undef A64OPC
|
||||
|
@ -7,11 +7,12 @@
|
||||
#include <mcl/assert.hpp>
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/emit_a64.h"
|
||||
#include "frontend/ir/basic_block.h"
|
||||
#include "frontend/ir/microinstruction.h"
|
||||
#include "frontend/ir/opcodes.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/reg_alloc.h"
|
||||
#include "dynarmic/backend/A64/emit_a64.h"
|
||||
#include "dynarmic/ir/basic_block.h"
|
||||
#include "dynarmic/ir/microinstruction.h"
|
||||
#include "dynarmic/ir/opcodes.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -11,18 +11,19 @@
|
||||
#include <mcl/assert.hpp>
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/abi.h"
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/emit_a64.h"
|
||||
#include "common/fp/fpcr.h"
|
||||
#include "common/fp/fpsr.h"
|
||||
#include "common/fp/info.h"
|
||||
#include "common/fp/op.h"
|
||||
#include "common/fp/rounding_mode.h"
|
||||
#include "common/fp/util.h"
|
||||
#include "frontend/ir/basic_block.h"
|
||||
#include "frontend/ir/microinstruction.h"
|
||||
#include "frontend/ir/opcodes.h"
|
||||
#include "dynarmic/backend/A64/abi.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/emit_a64.h"
|
||||
#include "dynarmic/backend/A64/reg_alloc.h"
|
||||
#include "dynarmic/common/fp/fpcr.h"
|
||||
#include "dynarmic/common/fp/fpsr.h"
|
||||
#include "dynarmic/common/fp/info.h"
|
||||
#include "dynarmic/common/fp/op.h"
|
||||
#include "dynarmic/common/fp/rounding_mode.h"
|
||||
#include "dynarmic/common/fp/util.h"
|
||||
#include "dynarmic/ir/basic_block.h"
|
||||
#include "dynarmic/ir/microinstruction.h"
|
||||
#include "dynarmic/ir/opcodes.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -4,10 +4,11 @@
|
||||
* General Public License version 2 or any later version.
|
||||
*/
|
||||
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/emit_a64.h"
|
||||
#include "frontend/ir/microinstruction.h"
|
||||
#include "frontend/ir/opcodes.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/emit_a64.h"
|
||||
#include "dynarmic/backend/A64/reg_alloc.h"
|
||||
#include "dynarmic/ir/microinstruction.h"
|
||||
#include "dynarmic/ir/opcodes.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -10,11 +10,12 @@
|
||||
#include <mcl/bit/bit_field.hpp>
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/emit_a64.h"
|
||||
#include "frontend/ir/basic_block.h"
|
||||
#include "frontend/ir/microinstruction.h"
|
||||
#include "frontend/ir/opcodes.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/emit_a64.h"
|
||||
#include "dynarmic/backend/A64/reg_alloc.h"
|
||||
#include "dynarmic/ir/basic_block.h"
|
||||
#include "dynarmic/ir/microinstruction.h"
|
||||
#include "dynarmic/ir/opcodes.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <mcl/bit/bit_field.hpp>
|
||||
|
||||
#include "a64_emitter.h"
|
||||
#include "common/math_util.h"
|
||||
#include "dynarmic/common/math_util.h"
|
||||
|
||||
namespace Dynarmic::BackendA64::Arm64Gen {
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/a32_jitstate.h"
|
||||
#include "dynarmic/backend/A64/a32_jitstate.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* General Public License version 2 or any later version.
|
||||
*/
|
||||
|
||||
#include "backend/A64/exception_handler.h"
|
||||
#include "dynarmic/backend/A64/exception_handler.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -20,9 +20,9 @@
|
||||
|
||||
#include <mcl/assert.hpp>
|
||||
|
||||
#include "backend/A64/a32_jitstate.h"
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/exception_handler.h"
|
||||
#include "dynarmic/backend/A64/a32_jitstate.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/exception_handler.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* General Public License version 2 or any later version.
|
||||
*/
|
||||
|
||||
#include "backend/A64/hostloc.h"
|
||||
#include "dynarmic/backend/A64/hostloc.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <mcl/assert.hpp>
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/emitter/a64_emitter.h"
|
||||
#include "dynarmic/backend/A64/emitter/a64_emitter.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include <fmt/ostream.h>
|
||||
#include <mcl/assert.hpp>
|
||||
|
||||
#include "backend/A64/abi.h"
|
||||
#include "backend/A64/reg_alloc.h"
|
||||
#include "dynarmic/backend/A64/abi.h"
|
||||
#include "dynarmic/backend/A64/reg_alloc.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
@ -10,17 +10,15 @@
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include <mcl/stdint.hpp>
|
||||
|
||||
#include "backend/A64/block_of_code.h"
|
||||
#include "backend/A64/hostloc.h"
|
||||
//#include "backend/A64/oparg.h"
|
||||
#include "frontend/ir/cond.h"
|
||||
#include "frontend/ir/microinstruction.h"
|
||||
#include "frontend/ir/value.h"
|
||||
#include "dynarmic/backend/A64/block_of_code.h"
|
||||
#include "dynarmic/backend/A64/hostloc.h"
|
||||
#include "dynarmic/ir/cond.h"
|
||||
#include "dynarmic/ir/microinstruction.h"
|
||||
#include "dynarmic/ir/value.h"
|
||||
|
||||
namespace Dynarmic::BackendA64 {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user