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