summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/opcode.inc
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-02-02 21:07:00 -0300
committerGravatar ameerj2021-07-22 21:51:21 -0400
commit6c4cc0cd062fbbba5349da1108d3c23cb330ca8a (patch)
tree544291931da8a85fafcea71964c77d9278ec7f29 /src/shader_recompiler/frontend/ir/opcode.inc
parentshader: Initial recompiler work (diff)
downloadyuzu-6c4cc0cd062fbbba5349da1108d3c23cb330ca8a.tar.gz
yuzu-6c4cc0cd062fbbba5349da1108d3c23cb330ca8a.tar.xz
yuzu-6c4cc0cd062fbbba5349da1108d3c23cb330ca8a.zip
shader: SSA and dominance
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/opcode.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/opcode.inc b/src/shader_recompiler/frontend/ir/opcode.inc
index 371064bf3..40759e96a 100644
--- a/src/shader_recompiler/frontend/ir/opcode.inc
+++ b/src/shader_recompiler/frontend/ir/opcode.inc
@@ -5,6 +5,7 @@
5// opcode name, return type, arg1 type, arg2 type, arg3 type, arg4 type, ... 5// opcode name, return type, arg1 type, arg2 type, arg3 type, arg4 type, ...
6OPCODE(Void, Void, ) 6OPCODE(Void, Void, )
7OPCODE(Identity, Opaque, Opaque, ) 7OPCODE(Identity, Opaque, Opaque, )
8OPCODE(Phi, Opaque, /*todo*/ )
8 9
9// Control flow 10// Control flow
10OPCODE(Branch, Void, Label, ) 11OPCODE(Branch, Void, Label, )
@@ -35,6 +36,13 @@ OPCODE(SetSFlag, Void, U1,
35OPCODE(SetCFlag, Void, U1, ) 36OPCODE(SetCFlag, Void, U1, )
36OPCODE(SetOFlag, Void, U1, ) 37OPCODE(SetOFlag, Void, U1, )
37 38
39// Undefined
40OPCODE(Undef1, U1, )
41OPCODE(Undef8, U8, )
42OPCODE(Undef16, U16, )
43OPCODE(Undef32, U32, )
44OPCODE(Undef64, U64, )
45
38// Memory operations 46// Memory operations
39OPCODE(WriteGlobalU8, Void, U64, U32, ) 47OPCODE(WriteGlobalU8, Void, U64, U32, )
40OPCODE(WriteGlobalS8, Void, U64, U32, ) 48OPCODE(WriteGlobalS8, Void, U64, U32, )