From 09c6f22da9154065e8523dd984bca22222372be4 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Sat, 17 Feb 2024 18:22:03 +0800 Subject: backend/rv64: Implement GetNZCVFromOp --- src/dynarmic/backend/riscv64/emit_riscv64.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dynarmic/backend/riscv64/emit_riscv64.cpp b/src/dynarmic/backend/riscv64/emit_riscv64.cpp index 54eb73c1..0aae01f0 100644 --- a/src/dynarmic/backend/riscv64/emit_riscv64.cpp +++ b/src/dynarmic/backend/riscv64/emit_riscv64.cpp @@ -50,6 +50,12 @@ void EmitIR(biscuit::Assembler&, EmitContext& ctx, I ASSERT(ctx.reg_alloc.IsValueLive(inst)); } +template<> +void EmitIR(biscuit::Assembler&, EmitContext& ctx, IR::Inst* inst) { + [[maybe_unused]] auto args = ctx.reg_alloc.GetArgumentInfo(inst); + ASSERT(ctx.reg_alloc.IsValueLive(inst)); +} + template<> void EmitIR(biscuit::Assembler& as, EmitContext& ctx, IR::Inst* inst) { auto args = ctx.reg_alloc.GetArgumentInfo(inst); -- cgit v1.2.3