summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/opcodes.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/frontend/ir/opcodes.inc')
-rw-r--r--src/shader_recompiler/frontend/ir/opcodes.inc50
1 files changed, 43 insertions, 7 deletions
diff --git a/src/shader_recompiler/frontend/ir/opcodes.inc b/src/shader_recompiler/frontend/ir/opcodes.inc
index 50da77535..f2d71144a 100644
--- a/src/shader_recompiler/frontend/ir/opcodes.inc
+++ b/src/shader_recompiler/frontend/ir/opcodes.inc
@@ -103,10 +103,12 @@ OPCODE(CompositeExtractF64x3, F64, F64x
103OPCODE(CompositeExtractF64x4, F64, F64x4, U32, ) 103OPCODE(CompositeExtractF64x4, F64, F64x4, U32, )
104 104
105// Select operations 105// Select operations
106OPCODE(Select8, U8, U1, U8, U8, ) 106OPCODE(SelectU8, U8, U1, U8, U8, )
107OPCODE(Select16, U16, U1, U16, U16, ) 107OPCODE(SelectU16, U16, U1, U16, U16, )
108OPCODE(Select32, U32, U1, U32, U32, ) 108OPCODE(SelectU32, U32, U1, U32, U32, )
109OPCODE(Select64, U64, U1, U64, U64, ) 109OPCODE(SelectU64, U64, U1, U64, U64, )
110OPCODE(SelectF16, F16, U1, F16, F16, )
111OPCODE(SelectF32, F32, U1, F32, F32, )
110 112
111// Bitwise conversions 113// Bitwise conversions
112OPCODE(BitCastU16F16, U16, F16, ) 114OPCODE(BitCastU16F16, U16, F16, )
@@ -156,11 +158,8 @@ OPCODE(FPRecipSqrt32, F32, F32,
156OPCODE(FPRecipSqrt64, F64, F64, ) 158OPCODE(FPRecipSqrt64, F64, F64, )
157OPCODE(FPSqrt, F32, F32, ) 159OPCODE(FPSqrt, F32, F32, )
158OPCODE(FPSin, F32, F32, ) 160OPCODE(FPSin, F32, F32, )
159OPCODE(FPSinNotReduced, F32, F32, )
160OPCODE(FPExp2, F32, F32, ) 161OPCODE(FPExp2, F32, F32, )
161OPCODE(FPExp2NotReduced, F32, F32, )
162OPCODE(FPCos, F32, F32, ) 162OPCODE(FPCos, F32, F32, )
163OPCODE(FPCosNotReduced, F32, F32, )
164OPCODE(FPLog2, F32, F32, ) 163OPCODE(FPLog2, F32, F32, )
165OPCODE(FPSaturate16, F16, F16, ) 164OPCODE(FPSaturate16, F16, F16, )
166OPCODE(FPSaturate32, F32, F32, ) 165OPCODE(FPSaturate32, F32, F32, )
@@ -178,6 +177,43 @@ OPCODE(FPTrunc16, F16, F16,
178OPCODE(FPTrunc32, F32, F32, ) 177OPCODE(FPTrunc32, F32, F32, )
179OPCODE(FPTrunc64, F64, F64, ) 178OPCODE(FPTrunc64, F64, F64, )
180 179
180OPCODE(FPOrdEqual16, U1, F16, F16, )
181OPCODE(FPOrdEqual32, U1, F32, F32, )
182OPCODE(FPOrdEqual64, U1, F64, F64, )
183OPCODE(FPUnordEqual16, U1, F16, F16, )
184OPCODE(FPUnordEqual32, U1, F32, F32, )
185OPCODE(FPUnordEqual64, U1, F64, F64, )
186OPCODE(FPOrdNotEqual16, U1, F16, F16, )
187OPCODE(FPOrdNotEqual32, U1, F32, F32, )
188OPCODE(FPOrdNotEqual64, U1, F64, F64, )
189OPCODE(FPUnordNotEqual16, U1, F16, F16, )
190OPCODE(FPUnordNotEqual32, U1, F32, F32, )
191OPCODE(FPUnordNotEqual64, U1, F64, F64, )
192OPCODE(FPOrdLessThan16, U1, F16, F16, )
193OPCODE(FPOrdLessThan32, U1, F32, F32, )
194OPCODE(FPOrdLessThan64, U1, F64, F64, )
195OPCODE(FPUnordLessThan16, U1, F16, F16, )
196OPCODE(FPUnordLessThan32, U1, F32, F32, )
197OPCODE(FPUnordLessThan64, U1, F64, F64, )
198OPCODE(FPOrdGreaterThan16, U1, F16, F16, )
199OPCODE(FPOrdGreaterThan32, U1, F32, F32, )
200OPCODE(FPOrdGreaterThan64, U1, F64, F64, )
201OPCODE(FPUnordGreaterThan16, U1, F16, F16, )
202OPCODE(FPUnordGreaterThan32, U1, F32, F32, )
203OPCODE(FPUnordGreaterThan64, U1, F64, F64, )
204OPCODE(FPOrdLessThanEqual16, U1, F16, F16, )
205OPCODE(FPOrdLessThanEqual32, U1, F32, F32, )
206OPCODE(FPOrdLessThanEqual64, U1, F64, F64, )
207OPCODE(FPUnordLessThanEqual16, U1, F16, F16, )
208OPCODE(FPUnordLessThanEqual32, U1, F32, F32, )
209OPCODE(FPUnordLessThanEqual64, U1, F64, F64, )
210OPCODE(FPOrdGreaterThanEqual16, U1, F16, F16, )
211OPCODE(FPOrdGreaterThanEqual32, U1, F32, F32, )
212OPCODE(FPOrdGreaterThanEqual64, U1, F64, F64, )
213OPCODE(FPUnordGreaterThanEqual16, U1, F16, F16, )
214OPCODE(FPUnordGreaterThanEqual32, U1, F32, F32, )
215OPCODE(FPUnordGreaterThanEqual64, U1, F64, F64, )
216
181// Integer operations 217// Integer operations
182OPCODE(IAdd32, U32, U32, U32, ) 218OPCODE(IAdd32, U32, U32, U32, )
183OPCODE(IAdd64, U64, U64, U64, ) 219OPCODE(IAdd64, U64, U64, U64, )