diff options
| author | 2021-02-02 21:07:00 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:21 -0400 | |
| commit | 6c4cc0cd062fbbba5349da1108d3c23cb330ca8a (patch) | |
| tree | 544291931da8a85fafcea71964c77d9278ec7f29 /src/shader_recompiler/frontend/ir/opcode.inc | |
| parent | shader: Initial recompiler work (diff) | |
| download | yuzu-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.inc | 8 |
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, ... |
| 6 | OPCODE(Void, Void, ) | 6 | OPCODE(Void, Void, ) |
| 7 | OPCODE(Identity, Opaque, Opaque, ) | 7 | OPCODE(Identity, Opaque, Opaque, ) |
| 8 | OPCODE(Phi, Opaque, /*todo*/ ) | ||
| 8 | 9 | ||
| 9 | // Control flow | 10 | // Control flow |
| 10 | OPCODE(Branch, Void, Label, ) | 11 | OPCODE(Branch, Void, Label, ) |
| @@ -35,6 +36,13 @@ OPCODE(SetSFlag, Void, U1, | |||
| 35 | OPCODE(SetCFlag, Void, U1, ) | 36 | OPCODE(SetCFlag, Void, U1, ) |
| 36 | OPCODE(SetOFlag, Void, U1, ) | 37 | OPCODE(SetOFlag, Void, U1, ) |
| 37 | 38 | ||
| 39 | // Undefined | ||
| 40 | OPCODE(Undef1, U1, ) | ||
| 41 | OPCODE(Undef8, U8, ) | ||
| 42 | OPCODE(Undef16, U16, ) | ||
| 43 | OPCODE(Undef32, U32, ) | ||
| 44 | OPCODE(Undef64, U64, ) | ||
| 45 | |||
| 38 | // Memory operations | 46 | // Memory operations |
| 39 | OPCODE(WriteGlobalU8, Void, U64, U32, ) | 47 | OPCODE(WriteGlobalU8, Void, U64, U32, ) |
| 40 | OPCODE(WriteGlobalS8, Void, U64, U32, ) | 48 | OPCODE(WriteGlobalS8, Void, U64, U32, ) |