Lines Matching refs:saturate
3999 ; Overflow, saturate.
8107 (define-pmacro (saturate arg max min result)
8123 (saturate argihi argjhi (inv argjhi) (halfword hi FRintk 0))
8124 (saturate argilo argjlo (inv argjlo) (halfword lo FRintk 0)))
8143 (saturate argihi argjhi (inv argjhi) (halfword hi FRintkeven 0))
8144 (saturate argilo argjlo (inv argjlo) (halfword lo FRintkeven 0))
8146 (saturate argihi argjhi (inv argjhi) (halfword hi FRintkeven 1))
8147 (saturate argilo argjlo (inv argjlo) (halfword lo FRintkeven 1))))
8159 (define-pmacro (saturate-unsigned arg max result)
8173 (saturate-unsigned argihi argjhi (halfword hi FRintk 0))
8174 (saturate-unsigned argilo argjlo (halfword lo FRintk 0)))
8213 (define-pmacro (saturate-v arg max min sie result)
8238 (saturate-v (abs (ext DI arghi)) 32767 -32768 (msr-sie-fri-hi)
8240 (saturate-v (abs (ext DI arglo)) 32767 -32768 (msr-sie-fri-lo)
8254 ; Make sure we saturate at max/min against a value that is
8258 (saturate-v tmp max min sie res))
8754 (saturate-v tmp max min sie res))
9097 (saturate-v tmp1 max min sie res))
9106 (saturate-v tmp1 max min sie res))