summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp
index f75fcba47..e5aac14c8 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp
@@ -37,18 +37,16 @@ void EmitIAdd32(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b) {
37 } 37 }
38} 38}
39 39
40void EmitIAdd64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] Register a, 40void EmitIAdd64(EmitContext& ctx, IR::Inst& inst, Register a, Register b) {
41 [[maybe_unused]] Register b) { 41 ctx.LongAdd("ADD.S64 {}.x,{}.x,{}.x;", inst, a, b);
42 throw NotImplementedException("GLASM instruction");
43} 42}
44 43
45void EmitISub32(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b) { 44void EmitISub32(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b) {
46 ctx.Add("SUB.S {}.x,{},{};", inst, a, b); 45 ctx.Add("SUB.S {}.x,{},{};", inst, a, b);
47} 46}
48 47
49void EmitISub64([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] Register a, 48void EmitISub64(EmitContext& ctx, IR::Inst& inst, Register a, Register b) {
50 [[maybe_unused]] Register b) { 49 ctx.LongAdd("SUB.S64 {}.x,{}.x,{}.x;", inst, a, b);
51 throw NotImplementedException("GLASM instruction");
52} 50}
53 51
54void EmitIMul32(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b) { 52void EmitIMul32(EmitContext& ctx, IR::Inst& inst, ScalarS32 a, ScalarS32 b) {