Lines Matching refs:SRC
40 #define fCLIP(DST, SRC, U) (DST = fMIN((1 << U) - 1, fMAX(SRC, -(1 << U))))
41 #define fBIDIR_ASHIFTL(SRC, SHAMT, REGSTYPE) \
43 (fCAST##REGSTYPE##s(SRC) << SHAMT) : \
44 (fCAST##REGSTYPE##s(SRC) >> -SHAMT))
46 #define fBIDIR_LSHIFTL(SRC, SHAMT, REGSTYPE) \
48 (fCAST##REGSTYPE##u(SRC) << SHAMT) : \
49 (fCAST##REGSTYPE##u(SRC) >>> -SHAMT))
51 #define fBIDIR_ASHIFTR(SRC, SHAMT, REGSTYPE) \
53 (fCAST##REGSTYPE##s(SRC) >> SHAMT) : \
54 (fCAST##REGSTYPE##s(SRC) << -SHAMT))
56 #define fBIDIR_SHIFTR(SRC, SHAMT, REGSTYPE) \
57 (((SHAMT) < 0) ? ((fCAST##REGSTYPE(SRC) << ((-(SHAMT)) - 1)) << 1) \
58 : (fCAST##REGSTYPE(SRC) >> (SHAMT)))
60 #define fBIDIR_LSHIFTR(SRC, SHAMT, REGSTYPE) \
61 fBIDIR_SHIFTR(SRC, SHAMT, REGSTYPE##u)
74 #define fBIDIR_ASHIFTR_SAT(SRC, SHAMT, REGSTYPE) \
75 (((SHAMT) < 0) ? fSAT_ORIG_SHL((fCAST##REGSTYPE##s(SRC) \
76 << ((-(SHAMT)) - 1)) << 1, (SRC)) \
77 : (fCAST##REGSTYPE##s(SRC) >> (SHAMT)))
79 #define fBIDIR_ASHIFTL_SAT(SRC, SHAMT, REGSTYPE) \
81 ? ((fCAST##REGSTYPE##s(SRC) >> ((-(SHAMT)) - 1)) >> 1) \
82 : fSAT_ORIG_SHL(fCAST##REGSTYPE##s(SRC) << (SHAMT), (SRC)))
122 #define fASHIFTR(SRC, SHAMT, REGSTYPE) (fCAST##REGSTYPE##s(SRC) >> SHAMT)
123 #define fLSHIFTR(SRC, SHAMT, REGSTYPE) (SRC >>> SHAMT)
124 #define fROTL(SRC, SHAMT, REGSTYPE) fROTL(SRC, SHAMT)
125 #define fASHIFTL(SRC, SHAMT, REGSTYPE) (fCAST##REGSTYPE##s(SRC) << SHAMT)