Lines Matching refs:SRC
408 #define fCLIP(DST, SRC, U) \ argument
412 DST = fMIN(maxv, fMAX(SRC, minv)); \
482 #define fBIDIR_SHIFTL(SRC, SHAMT, REGSTYPE) \ argument
483 (((SHAMT) < 0) ? ((fCAST##REGSTYPE(SRC) >> ((-(SHAMT)) - 1)) >> 1) \
484 : (fCAST##REGSTYPE(SRC) << (SHAMT)))
485 #define fBIDIR_ASHIFTL(SRC, SHAMT, REGSTYPE) \ argument
486 fBIDIR_SHIFTL(SRC, SHAMT, REGSTYPE##s)
487 #define fBIDIR_LSHIFTL(SRC, SHAMT, REGSTYPE) \ argument
488 fBIDIR_SHIFTL(SRC, SHAMT, REGSTYPE##u)
489 #define fBIDIR_ASHIFTL_SAT(SRC, SHAMT, REGSTYPE) \ argument
490 (((SHAMT) < 0) ? ((fCAST##REGSTYPE##s(SRC) >> ((-(SHAMT)) - 1)) >> 1) \
491 : fSAT_ORIG_SHL(fCAST##REGSTYPE##s(SRC) << (SHAMT), (SRC)))
492 #define fBIDIR_SHIFTR(SRC, SHAMT, REGSTYPE) \ argument
493 (((SHAMT) < 0) ? ((fCAST##REGSTYPE(SRC) << ((-(SHAMT)) - 1)) << 1) \
494 : (fCAST##REGSTYPE(SRC) >> (SHAMT)))
495 #define fBIDIR_ASHIFTR(SRC, SHAMT, REGSTYPE) \ argument
496 fBIDIR_SHIFTR(SRC, SHAMT, REGSTYPE##s)
497 #define fBIDIR_LSHIFTR(SRC, SHAMT, REGSTYPE) \ argument
498 fBIDIR_SHIFTR(SRC, SHAMT, REGSTYPE##u)
499 #define fBIDIR_ASHIFTR_SAT(SRC, SHAMT, REGSTYPE) \ argument
500 (((SHAMT) < 0) ? fSAT_ORIG_SHL((fCAST##REGSTYPE##s(SRC) \
501 << ((-(SHAMT)) - 1)) << 1, (SRC)) \
502 : (fCAST##REGSTYPE##s(SRC) >> (SHAMT)))
503 #define fASHIFTR(SRC, SHAMT, REGSTYPE) (fCAST##REGSTYPE##s(SRC) >> (SHAMT)) argument
504 #define fLSHIFTR(SRC, SHAMT, REGSTYPE) \ argument
505 (((SHAMT) >= (sizeof(SRC) * 8)) ? 0 : (fCAST##REGSTYPE##u(SRC) >> (SHAMT)))
506 #define fROTL(SRC, SHAMT, REGSTYPE) \ argument
507 (((SHAMT) == 0) ? (SRC) : ((fCAST##REGSTYPE##u(SRC) << (SHAMT)) | \
508 ((fCAST##REGSTYPE##u(SRC) >> \
509 ((sizeof(SRC) * 8) - (SHAMT))))))
510 #define fROTR(SRC, SHAMT, REGSTYPE) \ argument
511 (((SHAMT) == 0) ? (SRC) : ((fCAST##REGSTYPE##u(SRC) >> (SHAMT)) | \
512 ((fCAST##REGSTYPE##u(SRC) << \
513 ((sizeof(SRC) * 8) - (SHAMT))))))
514 #define fASHIFTL(SRC, SHAMT, REGSTYPE) \ argument
515 (((SHAMT) >= (sizeof(SRC) * 8)) ? 0 : (fCAST##REGSTYPE##s(SRC) << (SHAMT)))
551 #define fSTORE(NUM, SIZE, EA, SRC) MEM_STORE##SIZE(EA, SRC, insn->slot) argument
553 #define fSTORE(NUM, SIZE, EA, SRC) MEM_STORE##SIZE(EA, SRC, slot) argument
557 #define fSTORE_LOCKED(NUM, SIZE, EA, SRC, PRED) \ argument
558 gen_store_conditional##SIZE(ctx, PRED, EA, SRC);
567 #define fGETBYTE(N, SRC) GETBYTE_FUNC(SRC)(BYTE, N, SRC, true) argument
568 #define fGETUBYTE(N, SRC) GETBYTE_FUNC(SRC)(BYTE, N, SRC, false) argument
570 #define fGETBYTE(N, SRC) ((int8_t)((SRC >> ((N) * 8)) & 0xff)) argument
571 #define fGETUBYTE(N, SRC) ((uint8_t)((SRC >> ((N) * 8)) & 0xff)) argument
581 #define fGETHALF(N, SRC) gen_get_half(HALF, N, SRC, true) argument
582 #define fGETUHALF(N, SRC) gen_get_half(HALF, N, SRC, false) argument
584 #define fGETHALF(N, SRC) ((int16_t)((SRC >> ((N) * 16)) & 0xffff)) argument
585 #define fGETUHALF(N, SRC) ((uint16_t)((SRC >> ((N) * 16)) & 0xffff)) argument
595 #define fGETWORD(N, SRC) \ argument
596 ((int64_t)((int32_t)((SRC >> ((N) * 32)) & 0x0ffffffffLL)))
597 #define fGETUWORD(N, SRC) \ argument
598 ((uint64_t)((uint32_t)((SRC >> ((N) * 32)) & 0x0ffffffffLL)))
611 #define fGETBIT(N, SRC) (((SRC) >> N) & 1) argument