Lines Matching defs:sat

206    if (insn.sat)
447 int mask, sat, unit = 0;
528 sat = (finst->Instruction.Saturate == TGSI_SAT_ZERO_ONE);
532 nvfx_fp_emit(fpc, arith(sat, MOV, dst, mask, abs(src[0]), none, none));
535 nvfx_fp_emit(fpc, arith(sat, ADD, dst, mask, src[0], src[1], none));
540 nvfx_fp_emit(fpc, arith(sat, MOV, dst, mask, neg(tmp), none, none));
547 insn = arith(sat, MOV, dst, mask, src[2], none, none);
551 insn = arith(sat, MOV, dst, mask, src[1], none, none);
556 nvfx_fp_emit(fpc, arith(sat, COS, dst, mask, src[0], none, none));
561 nvfx_fp_emit(fpc, arith(sat, DDX, tmp.reg, NVFX_FP_MASK_X | NVFX_FP_MASK_Y, swz(src[0], Z, W, Z, W), none, none));
563 nvfx_fp_emit(fpc, arith(sat, DDX, tmp.reg, NVFX_FP_MASK_X | NVFX_FP_MASK_Y, src[0], none, none));
566 nvfx_fp_emit(fpc, arith(sat, DDX, dst, mask, src[0], none, none));
572 nvfx_fp_emit(fpc, arith(sat, DDY, tmp.reg, NVFX_FP_MASK_X | NVFX_FP_MASK_Y, swz(src[0], Z, W, Z, W), none, none));
574 nvfx_fp_emit(fpc, arith(sat, DDY, tmp.reg, NVFX_FP_MASK_X | NVFX_FP_MASK_Y, src[0], none, none));
577 nvfx_fp_emit(fpc, arith(sat, DDY, dst, mask, src[0], none, none));
586 nvfx_fp_emit(fpc, arith(sat, DP3, dst, mask, src[0], src[1], none));
589 nvfx_fp_emit(fpc, arith(sat, DP4, dst, mask, src[0], src[1], none));
594 nvfx_fp_emit(fpc, arith(sat, ADD, dst, mask, swz(tmp, X, X, X, X), swz(src[1], W, W, W, W), none));
597 nvfx_fp_emit(fpc, arith(sat, DST, dst, mask, src[0], src[1], none));
600 nvfx_fp_emit(fpc, arith(sat, EX2, dst, mask, src[0], none, none));
603 nvfx_fp_emit(fpc, arith(sat, FLR, dst, mask, src[0], none, none));
606 nvfx_fp_emit(fpc, arith(sat, FRC, dst, mask, src[0], none, none));
621 nvfx_fp_emit(fpc, arith(sat, LG2, dst, mask, src[0], none, none));
625 nvfx_fp_emit(fpc, arith(sat, LIT_NV30, dst, mask, src[0], none, none));
641 nvfx_fp_emit(fpc, arith(sat, LITEX2_NV40, dst, mask, swz(tmp, Y, Y, W, W), none, none));
646 nvfx_fp_emit(fpc, arith(sat, LRP_NV30, dst, mask, src[0], src[1], src[2]));
650 nvfx_fp_emit(fpc, arith(sat, MAD, dst, mask, src[0], src[1], tmp));
654 nvfx_fp_emit(fpc, arith(sat, MAD, dst, mask, src[0], src[1], src[2]));
657 nvfx_fp_emit(fpc, arith(sat, MAX, dst, mask, src[0], src[1], none));
660 nvfx_fp_emit(fpc, arith(sat, MIN, dst, mask, src[0], src[1], none));
663 nvfx_fp_emit(fpc, arith(sat, MOV, dst, mask, src[0], none, none));
666 nvfx_fp_emit(fpc, arith(sat, MUL, dst, mask, src[0], src[1], none));
672 nvfx_fp_emit(fpc, arith(sat, POW_NV30, dst, mask, src[0], src[1], none));
677 nvfx_fp_emit(fpc, arith(sat, EX2, dst, mask, swz(tmp, X, X, X, X), none, none));
681 nvfx_fp_emit(fpc, arith(sat, RCP, dst, mask, src[0], none, none));
693 nvfx_fp_emit(fpc, arith(sat, MAD, dst, mask, swz(tmp, Z, Z, Z, Z), src[0], neg(src[1])));
698 nvfx_fp_emit(fpc, arith(sat, RSQ_NV30, dst, mask, abs(swz(src[0], X, X, X, X)), none, none));
704 nvfx_fp_emit(fpc, arith(sat, EX2, dst, mask, neg(swz(tmp, X, X, X, X)), none, none));
712 nvfx_fp_emit(fpc, arith(sat, COS, dst, NVFX_FP_MASK_X, swz(src[0], X, X, X, X), none, none));
714 nvfx_fp_emit(fpc, arith(sat, SIN, dst, NVFX_FP_MASK_Y, swz(src[0], X, X, X, X), none, none));
719 nvfx_fp_emit(fpc, arith(sat, SIN, dst, NVFX_FP_MASK_Y, swz(src[0], X, X, X, X), none, none));
721 nvfx_fp_emit(fpc, arith(sat, COS, dst, NVFX_FP_MASK_X, swz(src[0], X, X, X, X), none, none));
725 nvfx_fp_emit(fpc, arith(sat, SEQ, dst, mask, src[0], src[1], none));
728 nvfx_fp_emit(fpc, arith(sat, SFL, dst, mask, src[0], src[1], none));
731 nvfx_fp_emit(fpc, arith(sat, SGE, dst, mask, src[0], src[1], none));
734 nvfx_fp_emit(fpc, arith(sat, SGT, dst, mask, src[0], src[1], none));
737 nvfx_fp_emit(fpc, arith(sat, SIN, dst, mask, src[0], none, none));
740 nvfx_fp_emit(fpc, arith(sat, SLE, dst, mask, src[0], src[1], none));
743 nvfx_fp_emit(fpc, arith(sat, SLT, dst, mask, src[0], src[1], none));
746 nvfx_fp_emit(fpc, arith(sat, SNE, dst, mask, src[0], src[1], none));
752 insn = arith(sat, MOV, dst, mask, src[0], none, none);
760 if(!sat) {
768 nvfx_fp_emit(fpc, arith(sat, STR, dst, mask, src[0], src[1], none));
771 nvfx_fp_emit(fpc, arith(sat, ADD, dst, mask, src[0], neg(src[1]), none));
774 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none));
783 nvfx_fp_emit(fpc, arith(sat, MOV, dst, mask, tmp, none, none));
785 insn = arith(sat, MOV, dst, mask, neg(tmp), none, none);
790 nvfx_fp_emit(fpc, tex(sat, TXB, unit, dst, mask, src[0], none, none));
794 nvfx_fp_emit(fpc, tex(sat, TXL_NV40, unit, dst, mask, src[0], none, none));
796 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none));
799 nvfx_fp_emit(fpc, tex(sat, TXP, unit, dst, mask, src[0], none, none));
804 nvfx_fp_emit(fpc, arith(sat, MAD, dst, (mask & ~NVFX_FP_MASK_W), swz(src[0], Y, Z, X, X), swz(src[1], Z, X, Y, Y), neg(tmp)));