Home
last modified time | relevance | path

Searched refs:op_a (Results 1 – 25 of 152) sorted by relevance

1234567

/dports/emulators/yuzu/yuzu-0b47f7a46/src/video_core/shader/decode/
H A Darithmetic.cpp22 Node op_a = GetRegister(instr.gpr8); in DecodeArithmetic() local
67 op_a = Operation(OperationCode::FMul, NO_PRECISE, op_a, in DecodeArithmetic()
72 Node value = Operation(OperationCode::FMul, PRECISE, op_a, op_b); in DecodeArithmetic()
83 op_a = GetOperandAbsNegFloat(op_a, instr.alu.abs_a, instr.alu.negate_a); in DecodeArithmetic()
94 op_a = GetOperandAbsNegFloat(op_a, instr.alu.abs_a, instr.alu.negate_a); in DecodeArithmetic()
99 return Operation(OperationCode::FCos, PRECISE, op_a); in DecodeArithmetic()
101 return Operation(OperationCode::FSin, PRECISE, op_a); in DecodeArithmetic()
103 return Operation(OperationCode::FExp2, PRECISE, op_a); in DecodeArithmetic()
105 return Operation(OperationCode::FLog2, PRECISE, op_a); in DecodeArithmetic()
111 return Operation(OperationCode::FSqrt, PRECISE, op_a); in DecodeArithmetic()
[all …]
H A Darithmetic_integer_immediate.cpp24 Node op_a = GetRegister(instr.gpr8); in DecodeArithmeticIntegerImmediate() local
31 op_a = GetOperandAbsNegInteger(std::move(op_a), false, instr.iadd32i.negate_a != 0, true); in DecodeArithmeticIntegerImmediate()
33 Node value = Operation(OperationCode::IAdd, PRECISE, std::move(op_a), std::move(op_b)); in DecodeArithmeticIntegerImmediate()
41 op_a = Operation(OperationCode::IBitwiseNot, NO_PRECISE, std::move(op_a)); in DecodeArithmeticIntegerImmediate()
48 WriteLogicOperation(bb, instr.gpr0, instr.alu.lop32i.operation, std::move(op_a), in DecodeArithmeticIntegerImmediate()
61 void ShaderIR::WriteLogicOperation(NodeBlock& bb, Register dest, LogicOperation logic_op, Node op_a, in WriteLogicOperation() argument
67 return Operation(OperationCode::IBitwiseAnd, PRECISE, std::move(op_a), std::move(op_b)); in WriteLogicOperation()
69 return Operation(OperationCode::IBitwiseOr, PRECISE, std::move(op_a), std::move(op_b)); in WriteLogicOperation()
71 return Operation(OperationCode::IBitwiseXor, PRECISE, std::move(op_a), std::move(op_b)); in WriteLogicOperation()
H A Dbfe.cpp20 Node op_a = GetRegister(instr.gpr8); in DecodeBfe() local
45 SignedOperation(OperationCode::ILogicalShiftRight, is_signed, op_a, Immediate(s)); in DecodeBfe()
50 Node v2 = op_a; in DecodeBfe()
60 op_a = swap(1, 0x55555555U); in DecodeBfe()
61 op_a = swap(2, 0x33333333U); in DecodeBfe()
62 op_a = swap(4, 0x0F0F0F0FU); in DecodeBfe()
63 op_a = swap(8, 0x00FF00FFU); in DecodeBfe()
64 op_a = swap(16, 0); in DecodeBfe()
71 auto result = SignedOperation(OperationCode::IBitfieldExtract, is_signed, op_a, offset, bits); in DecodeBfe()
H A Darithmetic_integer.cpp23 Node op_a = GetRegister(instr.gpr8); in DecodeArithmeticInteger() local
41 op_a = GetOperandAbsNegInteger(op_a, false, instr.alu_integer.negate_a, true); in DecodeArithmeticInteger()
44 Node value = Operation(OperationCode::UAdd, op_a, op_b); in DecodeArithmeticInteger()
57 Node carry = Operation(OperationCode::LogicalAddCarry, op_a, op_b); in DecodeArithmeticInteger()
59 Node pos_a = Operation(OperationCode::LogicalIGreaterThan, op_a, i0); in DecodeArithmeticInteger()
92 op_a = ApplyHeight(instr.iadd3.height_a, op_a); in DecodeArithmeticInteger()
97 op_a = GetOperandAbsNegInteger(op_a, false, instr.iadd3.neg_a, true); in DecodeArithmeticInteger()
102 Node add_ab = Operation(OperationCode::IAdd, NO_PRECISE, op_a, op_b); in DecodeArithmeticInteger()
135 op_a = GetOperandAbsNegInteger(op_a, false, instr.alu_integer.negate_a, true); in DecodeArithmeticInteger()
216 op_a = Operation(OperationCode::IBitwiseNot, NO_PRECISE, op_a); in DecodeArithmeticInteger()
[all …]
H A Darithmetic_half_immediate.cpp31 Node op_a = UnpackHalfFloat(GetRegister(instr.gpr8), instr.alu_half_imm.type_a); in DecodeArithmeticHalfImmediate() local
32 op_a = GetOperandAbsNegHalf(op_a, instr.alu_half_imm.abs_a, instr.alu_half_imm.negate_a); in DecodeArithmeticHalfImmediate()
39 return Operation(OperationCode::HAdd, PRECISE, op_a, op_b); in DecodeArithmeticHalfImmediate()
41 return Operation(OperationCode::HMul, PRECISE, op_a, op_b); in DecodeArithmeticHalfImmediate()
H A Darithmetic_half.cpp61 Node op_a = UnpackHalfFloat(GetRegister(instr.gpr8), instr.alu_half.type_a); in DecodeArithmeticHalf() local
62 op_a = GetOperandAbsNegHalf(op_a, absolute_a, negate_a); in DecodeArithmeticHalf()
80 Node value = [this, opcode, op_a, op_b = op_b] { in DecodeArithmeticHalf()
84 return Operation(OperationCode::HAdd, PRECISE, op_a, op_b); in DecodeArithmeticHalf()
87 return Operation(OperationCode::HMul, PRECISE, op_a, op_b); in DecodeArithmeticHalf()
H A Dxmad.cpp26 Node op_a = GetRegister(instr.gpr8); in DecodeXmad() local
67 op_a = SignedOperation(OperationCode::IBitfieldExtract, is_signed_a, std::move(op_a), in DecodeXmad()
76 Node product = SignedOperation(OperationCode::IMul, is_signed_a, op_a, op_b); in DecodeXmad()
102 GetPredicateComparisonInteger(PredCondition::EQ, is_signed_a, op_a, Immediate(0)); in DecodeXmad()
109 SignedOperation(OperationCode::IBitwiseAnd, is_signed_a, op_a, in DecodeXmad()
H A Dhalf_set_predicate.cpp26 Node op_a = UnpackHalfFloat(GetRegister(instr.gpr8), instr.hsetp2.type_a); in DecodeHalfSetPredicate() local
27 op_a = GetOperandAbsNegHalf(op_a, instr.hsetp2.abs_a, instr.hsetp2.negate_a); in DecodeHalfSetPredicate()
65 const Node comparison = GetPredicateComparisonHalf(cond, op_a, op_b); in DecodeHalfSetPredicate()
H A Dhalf_set.cpp76 Node op_a = UnpackHalfFloat(GetRegister(instr.gpr8), instr.hset2.type_a); in DecodeHalfSet() local
77 op_a = GetOperandAbsNegHalf(op_a, abs_a, neg_a); in DecodeHalfSet()
92 Node comparison_pair = GetPredicateComparisonHalf(cond, op_a, op_b); in DecodeHalfSet()
H A Dvideo.cpp31 const Node op_a = in DecodeVideo() local
53 Node value = SignedOperation(OperationCode::IMul, result_signed, NO_PRECISE, op_a, op_b); in DecodeVideo()
71 const Node first_pred = GetPredicateComparisonInteger(instr.vsetp.cond, sign, op_a, op_b); in DecodeVideo()
127 Node op_a = GetRegister(instr.gpr8); in DecodeVMNMX() local
135 Node value = SignedOperation(operation_a, is_oper1_signed, move(op_a), move(op_b)); in DecodeVMNMX()
H A Dother.cpp145 const Node op_a = GetConstBuffer(instr.cbuf36.index, instr.cbuf36.GetOffset()); in DecodeOther() local
147 PRECISE, op_a, Immediate(3)); in DecodeOther()
166 const Node op_a = in DecodeOther() local
169 PRECISE, op_a, Immediate(3)); in DecodeOther()
173 const Node op_a = GetRegister(instr.gpr8); in DecodeOther() local
175 PRECISE, op_a, Immediate(3)); in DecodeOther()
H A Dinteger_set.cpp18 const Node op_a = GetRegister(instr.gpr8); in DecodeIntegerSet() local
33 GetPredicateComparisonInteger(instr.iset.cond, instr.iset.is_signed, op_a, op_b); in DecodeIntegerSet()
H A Darithmetic_immediate.cpp35 const Node op_a = GetOperandAbsNegFloat(GetRegister(instr.gpr8), instr.fadd32i.abs_a, in DecodeArithmeticImmediate() local
40 const Node value = Operation(OperationCode::FAdd, PRECISE, op_a, op_b); in DecodeArithmeticImmediate()
H A Dinteger_set_predicate.cpp20 const Node op_a = GetRegister(instr.gpr8); in DecodeIntegerSetPredicate() local
37 GetPredicateComparisonInteger(instr.isetp.cond, instr.isetp.is_signed, op_a, op_b); in DecodeIntegerSetPredicate()
H A Dpredicate_set_register.cpp22 const Node op_a = GetPredicate(instr.pset.pred12, instr.pset.neg_pred12 != 0); in DecodePredicateSetRegister() local
24 const Node first_pred = Operation(GetPredicateCombiner(instr.pset.cond), op_a, op_b); in DecodePredicateSetRegister()
H A Dfloat_set.cpp19 const Node op_a = GetOperandAbsNegFloat(GetRegister(instr.gpr8), instr.fset.abs_a != 0, in DecodeFloatSet() local
39 const Node first_pred = GetPredicateComparisonFloat(instr.fset.cond, op_a, op_b); in DecodeFloatSet()
H A Dfloat_set_predicate.cpp20 Node op_a = GetOperandAbsNegFloat(GetRegister(instr.gpr8), instr.fsetp.abs_a != 0, in DecodeFloatSetPredicate() local
37 GetPredicateComparisonFloat(instr.fsetp.cond, std::move(op_a), std::move(op_b)); in DecodeFloatSetPredicate()
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/circuits/
H A Dtrotter_exp_to_qgates_test.py100 gold.append(op_a * (7. / 24))
102 gold.append(op_a * (3. / 4))
120 gold.append(op_a * 7. / 24)
127 gold.append(op_a * 3. / 4)
134 gold.append(op_a * -1. / 24)
153 ham = op_a + op_b + op_c
159 gold.append(op_a * 7. / 24)
166 gold.append(op_a * 3. / 4)
189 ham = op_a + op_b + op_c
192 gold.append(op_a * 0.5)
[all …]
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/transforms/repconversions/
H A Dweyl_ordering_test.py27 self.op_a = 'q'
33 res = mccoy(self.mode, self.op_a, self.op_b, m, n)
40 res = mccoy(self.mode, self.op_a, self.op_b, m, n)
41 expected = {((0, self.op_a),): 1.0}
46 res = mccoy(self.mode, self.op_a, self.op_b, m, n)
53 res = mccoy(self.mode, self.op_a, self.op_b, m, n)
54 expected = {((0, self.op_a), (0, self.op_a)): 1.0}
59 res = mccoy(self.mode, self.op_a, self.op_b, m, n)
66 res = mccoy(self.mode, self.op_a, self.op_b, m, n)
68 ((0, self.op_a), (0, self.op_b)): 0.5,
[all …]
/dports/devel/py-graphql-core/graphql-core-3.1.6/tests/error/
H A Dtest_graphql_error.py199 op_a = doc_a.definitions[0]
200 op_a = cast(ObjectTypeDefinitionNode, op_a)
201 assert op_a and op_a.kind == "object_type_definition" and op_a.fields
202 field_a = op_a.fields[0]
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/ops/operators/
H A Dqubit_operator_test.py106 op_a = QubitOperator(((1, 'Y'), (0, 'X')), -1j)
108 op_a *= op_b
109 op_b *= op_a
110 assert ((2, 'Z'),) in op_a.terms
111 assert op_a.terms[((2, 'Z'),)] == 1.5j
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/gl-1.0/
H A Dblend.c255 GLenum op_rgb, GLenum op_a, in apply_blend() argument
383 if (op_a != GL_MIN && op_a != GL_MAX) { in apply_blend()
506 switch (op_a) { in apply_blend()
532 GLenum op_rgb, GLenum op_a, in run_factor_set() argument
576 glBlendEquationSeparate(op_rgb, op_a); in run_factor_set()
604 op_rgb, op_a, in run_factor_set()
625 piglit_get_gl_enum_name(op_a)); in run_factor_set()
/dports/games/quakeforge/quakeforge-0.7.2/tools/qfcc/source/
H A Dopcodes.c95 opcode_find (const char *name, operand_t *op_a, operand_t *op_b, in opcode_find() argument
105 search_op.type_a = op_a ? op_a->type : ev_invalid; in opcode_find()
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/
H A Dgengenblitter.c20 enum tree_op { op_and, op_or, op_xor, op_not, op_a, op_b, op_c, op_d, op_e, op_f } op; enumerator
24 static struct tree_n TRA = { op_a, NULL, NULL };
66 case op_a: in opidx()
148 case op_a: in do_sprint_tree()
205 case op_a: in which_fn()
227 case op_a: in tree_used_mask()
/dports/emulators/uae/uae-0.8.29/src/
H A Dgengenblitter.c24 enum tree_op { op_and, op_or, op_xor, op_not, op_a, op_b, op_c, op_d, op_e, op_f } op; enumerator
28 static struct tree_n TRA = { op_a, NULL, NULL };
70 case op_a: in opidx()
152 case op_a: in do_sprint_tree()
209 case op_a: in which_fn()
231 case op_a: in tree_used_mask()

1234567