• Home
  • Raw
  • Download

Lines Matching refs:fFloat

323         : fFloat(f) {  in VValue()
334 F32 fFloat; member
352 #define spf(index) sp[index].fFloat
399 VECTOR_MATRIX_BINARY_OP(kAddF, fFloat, +) in innerRun()
453 tmpArgs[j] = sp[j].fFloat[i]; in innerRun()
457 sp[j].fFloat[i] = tmpReturn[j]; in innerRun()
474 VECTOR_MATRIX_BINARY_OP(kCompareFEQ, fFloat, ==) in innerRun()
476 VECTOR_MATRIX_BINARY_OP(kCompareFNEQ, fFloat, !=) in innerRun()
479 VECTOR_BINARY_OP(kCompareFGT, fFloat, >) in innerRun()
482 VECTOR_BINARY_OP(kCompareFGTEQ, fFloat, >=) in innerRun()
485 VECTOR_BINARY_OP(kCompareFLT, fFloat, <) in innerRun()
488 VECTOR_BINARY_OP(kCompareFLTEQ, fFloat, <=) in innerRun()
490 case ByteCodeInstruction::kConvertFtoI4: sp[-3] = skvx::cast<int>(sp[-3].fFloat); in innerRun()
491 case ByteCodeInstruction::kConvertFtoI3: sp[-2] = skvx::cast<int>(sp[-2].fFloat); in innerRun()
492 case ByteCodeInstruction::kConvertFtoI2: sp[-1] = skvx::cast<int>(sp[-1].fFloat); in innerRun()
493 case ByteCodeInstruction::kConvertFtoI: sp[ 0] = skvx::cast<int>(sp[ 0].fFloat); in innerRun()
512 VECTOR_MATRIX_BINARY_OP(kDivideF, fFloat, /) in innerRun()
528 F32 a = sp[-3].fFloat, in innerRun()
529 b = sp[-2].fFloat, in innerRun()
530 c = sp[-1].fFloat, in innerRun()
531 d = sp[ 0].fFloat; in innerRun()
533 sp[-3].fFloat = d * idet; in innerRun()
534 sp[-2].fFloat = -b * idet; in innerRun()
535 sp[-1].fFloat = -c * idet; in innerRun()
536 sp[ 0].fFloat = a * idet; in innerRun()
540 F32 a11 = sp[-8].fFloat, a12 = sp[-5].fFloat, a13 = sp[-2].fFloat, in innerRun()
541 a21 = sp[-7].fFloat, a22 = sp[-4].fFloat, a23 = sp[-1].fFloat, in innerRun()
542 a31 = sp[-6].fFloat, a32 = sp[-3].fFloat, a33 = sp[ 0].fFloat; in innerRun()
545 sp[-8].fFloat = (a22 * a33 - a23 * a32) * idet; in innerRun()
546 sp[-7].fFloat = (a23 * a31 - a21 * a33) * idet; in innerRun()
547 sp[-6].fFloat = (a21 * a32 - a22 * a31) * idet; in innerRun()
548 sp[-5].fFloat = (a13 * a32 - a12 * a33) * idet; in innerRun()
549 sp[-4].fFloat = (a11 * a33 - a13 * a31) * idet; in innerRun()
550 sp[-3].fFloat = (a12 * a31 - a11 * a32) * idet; in innerRun()
551 sp[-2].fFloat = (a12 * a23 - a13 * a22) * idet; in innerRun()
552 sp[-1].fFloat = (a13 * a21 - a11 * a23) * idet; in innerRun()
553 sp[ 0].fFloat = (a11 * a22 - a12 * a21) * idet; in innerRun()
691 tmp[c*4 + r] = POP().fFloat; in innerRun()
708 F32* B = &(sp - (rCols * rRows) + 1)->fFloat; in innerRun()
724 VECTOR_MATRIX_BINARY_OP(kMultiplyF, fFloat, *) in innerRun()
726 case ByteCodeInstruction::kNegateF4: sp[-3] = -sp[-3].fFloat; in innerRun()
727 case ByteCodeInstruction::kNegateF3: sp[-2] = -sp[-2].fFloat; in innerRun()
728 case ByteCodeInstruction::kNegateF2: sp[-1] = -sp[-1].fFloat; in innerRun()
729 case ByteCodeInstruction::kNegateF : sp[ 0] = -sp[ 0].fFloat; in innerRun()
735 sp[-i] = -sp[-i].fFloat; in innerRun()
772 sp[j + 1].fFloat[i] = tmp[j]; in innerRun()
780 VECTOR_BINARY_FN(kRemainderF, fFloat, vec_mod<F32>) in innerRun()
795 memcpy(outReturn[i], &src->fFloat, N * sizeof(float)); in innerRun()
802 outPtr[count * j] = src->fFloat[j]; in innerRun()
843 VECTOR_UNARY_FN(kSqrt, skvx::sqrt, fFloat) in innerRun()
846 stack[*ip+3] = skvx::if_then_else(mask(), POP().fFloat, stack[*ip+3].fFloat); in innerRun()
848 stack[*ip+2] = skvx::if_then_else(mask(), POP().fFloat, stack[*ip+2].fFloat); in innerRun()
850 stack[*ip+1] = skvx::if_then_else(mask(), POP().fFloat, stack[*ip+1].fFloat); in innerRun()
852 stack[*ip+0] = skvx::if_then_else(mask(), POP().fFloat, stack[*ip+0].fFloat); in innerRun()
857 globals[*ip+3] = skvx::if_then_else(mask(), POP().fFloat, globals[*ip+3].fFloat); in innerRun()
859 globals[*ip+2] = skvx::if_then_else(mask(), POP().fFloat, globals[*ip+2].fFloat); in innerRun()
861 globals[*ip+1] = skvx::if_then_else(mask(), POP().fFloat, globals[*ip+1].fFloat); in innerRun()
863 globals[*ip+0] = skvx::if_then_else(mask(), POP().fFloat, globals[*ip+0].fFloat); in innerRun()
903 mask(), POP().fFloat, stack[target + *(ip + i)].fFloat); in innerRun()
914 mask(), POP().fFloat, globals[target + *(ip + i)].fFloat); in innerRun()
953 VECTOR_MATRIX_BINARY_OP(kSubtractF, fFloat, -) in innerRun()
980 tmp[j] = sp[j + 1].fFloat[i]; in innerRun()
1004 sp[-count] = skvx::if_then_else(m, sp[-count].fFloat, sp[0].fFloat); in innerRun()
1089 globals[slot].fFloat = *uniforms++; in run()
1172 globals[slot].fFloat = *uniforms++; in runStriped()