Home
last modified time | relevance | path

Searched refs:BSWAP (Results 1 – 25 of 51) sorted by relevance

123

/freebsd-11-stable/crypto/openssl/crypto/sha/asm/
HDsha1-mb-x86_64.pl504 my ($ABCD0,$E0,$E0_,$BSWAP,$ABCD1,$E1,$E1_)=map("%xmm$_",(0..3,8..10));
538 movdqa K_XX_XX+0x80(%rip),$BSWAP # byte-n-word swap
585 pshufb $BSWAP,@MSG0[0]
587 pshufb $BSWAP,@MSG1[0]
590 pshufb $BSWAP,@MSG0[1]
593 pshufb $BSWAP,@MSG1[1]
607 pshufb $BSWAP,@MSG0[2]
610 pshufb $BSWAP,@MSG1[2]
614 pshufb $BSWAP,@MSG0[3]
616 pshufb $BSWAP,@MSG1[3]
HDsha1-586.pl423 my ($ABCD,$E,$E_,$BSWAP)=map("xmm$_",(0..3));
455 &movdqa ($BSWAP,&QWP(0x50,$tmp1)); # byte-n-word swap
462 &pshufb (@MSG[0],$BSWAP);
464 &pshufb (@MSG[1],$BSWAP);
465 &pshufb (@MSG[2],$BSWAP);
466 &pshufb (@MSG[3],$BSWAP);
499 &pshufb (@MSG[0],$BSWAP);
505 &pshufb (@MSG[1],$BSWAP);
511 &pshufb (@MSG[2],$BSWAP);
516 &pshufb (@MSG[3],$BSWAP);
HDsha1-x86_64.pl337 my ($ABCD,$E,$E_,$BSWAP,$ABCD_SAVE,$E_SAVE)=map("%xmm$_",(0..3,8,9));
357 movdqa K_XX_XX+0xa0(%rip),$BSWAP # byte-n-word swap
364 pshufb $BSWAP,@MSG[0]
366 pshufb $BSWAP,@MSG[1]
367 pshufb $BSWAP,@MSG[2]
369 pshufb $BSWAP,@MSG[3]
404 pshufb $BSWAP,@MSG[0]
410 pshufb $BSWAP,@MSG[1]
416 pshufb $BSWAP,@MSG[2]
421 pshufb $BSWAP,@MSG[3]
HDsha512-x86_64.pl535 my ($Wi,$ABEF,$CDGH,$TMP,$BSWAP,$ABEF_SAVE,$CDGH_SAVE)=map("%xmm$_",(0..2,7..10));
562 movdqa $TMP,$BSWAP # offload
650 movdqa $BSWAP,$TMP
/freebsd-11-stable/crypto/openssl/crypto/aes/asm/
HDaesni-sha1-x86_64.pl1674 my ($BSWAP,$ABCD,$E,$E_,$ABCD_SAVE,$E_SAVE)=map("%xmm$_",(7..12));
1700 movdqa K_XX_XX+0x50(%rip),$BSWAP # byte-n-word swap
1720 pshufb $BSWAP,@MSG[0]
1726 pshufb $BSWAP,@MSG[1]
1737 pshufb $BSWAP,@MSG[2]
1746 pshufb $BSWAP,@MSG[3]
HDaesni-sha256-x86_64.pl1223 my ($Wi,$ABEF,$CDGH,$TMP,$BSWAP,$ABEF_SAVE,$CDGH_SAVE)=map("%xmm$_",(0..3,7..9));
1309 movdqa $TMP,$BSWAP # offload
1431 movdqa $BSWAP,$TMP
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
HDBPFInstrInfo.td664 class BSWAP<bits<32> SizeOp, string OpcodeStr, BPFSrcType SrcType, list<dag> Pattern>
680 def BE16 : BSWAP<16, "be16", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))]>;
681 def BE32 : BSWAP<32, "be32", BPF_TO_BE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))]>;
682 def BE64 : BSWAP<64, "be64", BPF_TO_BE, [(set GPR:$dst, (bswap GPR:$src))]>;
685 def LE16 : BSWAP<16, "le16", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 48)))]>;
686 def LE32 : BSWAP<32, "le32", BPF_TO_LE, [(set GPR:$dst, (srl (bswap GPR:$src), (i64 32)))]>;
687 def LE64 : BSWAP<64, "le64", BPF_TO_LE, [(set GPR:$dst, (bswap GPR:$src))]>;
HDBPFISelLowering.cpp107 setOperationAction(ISD::BSWAP, MVT::i32, Promote); in BPFTargetLowering()
/freebsd-11-stable/sys/amd64/amd64/
HDbpf_jit_machdep.c257 BSWAP(EAX); in bpf_jit_compile()
324 BSWAP(EAX); in bpf_jit_compile()
HDbpf_jit_machdep.h218 #define BSWAP(dr32) do { \ macro
/freebsd-11-stable/sys/i386/i386/
HDbpf_jit_machdep.c270 BSWAP(EAX); in bpf_jit_compile()
342 BSWAP(EAX); in bpf_jit_compile()
HDbpf_jit_machdep.h158 #define BSWAP(dr32) do { \ macro
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
HDISDOpcodes.h474 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86TargetTransformInfo.cpp1972 { ISD::BSWAP, MVT::v4i64, 1 }, in getIntrinsicInstrCost()
1973 { ISD::BSWAP, MVT::v8i32, 1 }, in getIntrinsicInstrCost()
1974 { ISD::BSWAP, MVT::v16i16, 1 }, in getIntrinsicInstrCost()
2009 { ISD::BSWAP, MVT::v4i64, 4 }, in getIntrinsicInstrCost()
2010 { ISD::BSWAP, MVT::v8i32, 4 }, in getIntrinsicInstrCost()
2011 { ISD::BSWAP, MVT::v16i16, 4 }, in getIntrinsicInstrCost()
2064 { ISD::BSWAP, MVT::v2i64, 1 }, in getIntrinsicInstrCost()
2065 { ISD::BSWAP, MVT::v4i32, 1 }, in getIntrinsicInstrCost()
2066 { ISD::BSWAP, MVT::v8i16, 1 }, in getIntrinsicInstrCost()
2085 { ISD::BSWAP, MVT::v2i64, 7 }, in getIntrinsicInstrCost()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
HDMips16ISelLowering.cpp146 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in Mips16TargetLowering()
147 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in Mips16TargetLowering()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
HDSystemZISelLowering.cpp643 setTargetDAGCombine(ISD::BSWAP); in SystemZTargetLowering()
5786 Op1.getOpcode() == ISD::BSWAP && in combineSTORE()
5880 if (Op.getOpcode() == ISD::BSWAP && Op.hasOneUse()) { in combineEXTRACT_VECTOR_ELT()
5886 Op = DAG.getNode(ISD::BSWAP, SDLoc(N), EltVT, Op); in combineEXTRACT_VECTOR_ELT()
6115 Vec.getOpcode() == ISD::BSWAP || Vec.isUndef() || in combineBSWAP()
6117 Elt.getOpcode() == ISD::BSWAP || Elt.isUndef() || in combineBSWAP()
6130 Vec = DAG.getNode(ISD::BSWAP, SDLoc(N), VecVT, Vec); in combineBSWAP()
6132 Elt = DAG.getNode(ISD::BSWAP, SDLoc(N), EltVT, Elt); in combineBSWAP()
6146 Op0.getOpcode() == ISD::BSWAP || Op0.isUndef() || in combineBSWAP()
6148 Op1.getOpcode() == ISD::BSWAP || Op1.isUndef()) { in combineBSWAP()
[all …]
/freebsd-11-stable/sys/dev/bktr/
HDbktr_core.c360 #define BSWAP (BT848_COLOR_CTL_BSWAP_ODD | BT848_COLOR_CTL_BSWAP_EVEN) macro
3770 case 2 : swapf = ( pf->swap_bytes ? 0 : BSWAP );
3779 swapf = pf->swap_shorts ? BSWAP : (BSWAP | WSWAP);
/freebsd-11-stable/contrib/gcc/
HDChangeLog.gcc43809 * rtl.def (BSWAP): New.
817 0 for BSWAP.
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
HDLegalizeVectorOps.cpp393 case ISD::BSWAP: in LegalizeOp()
860 case ISD::BSWAP: in Expand()
HDSelectionDAGDumper.cpp394 case ISD::BSWAP: return "bswap"; in getOperationName()
HDLegalizeIntegerTypes.cpp60 case ISD::BSWAP: Res = PromoteIntRes_BSWAP(N); break; in PromoteIntegerResult()
419 return DAG.getNode(ISD::SRL, dl, NVT, DAG.getNode(ISD::BSWAP, dl, NVT, Op), in PromoteIntRes_BSWAP()
1818 case ISD::BSWAP: ExpandIntRes_BSWAP(N, Lo, Hi); break; in ExpandIntegerResult()
2592 Lo = DAG.getNode(ISD::BSWAP, dl, Lo.getValueType(), Lo); in ExpandIntRes_BSWAP()
2593 Hi = DAG.getNode(ISD::BSWAP, dl, Hi.getValueType(), Hi); in ExpandIntRes_BSWAP()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
HDMSP430ISelLowering.cpp983 Victim = DAG.getNode(ISD::BSWAP, dl, VT, Victim); in LowerShifts()
988 Victim = DAG.getNode(ISD::BSWAP, dl, VT, Victim); in LowerShifts()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
HDHexagonISelLowering.cpp1419 setOperationAction(ISD::BSWAP, MVT::i32, Legal); in HexagonTargetLowering()
1420 setOperationAction(ISD::BSWAP, MVT::i64, Legal); in HexagonTargetLowering()
2039 SDValue T1 = DAG.getNode(ISD::BSWAP, dl, MVT::i32, T0); in LowerVECTOR_SHUFFLE()
2066 SDValue T1 = DAG.getNode(ISD::BSWAP, dl, MVT::i64, T0); in LowerVECTOR_SHUFFLE()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
HDPPCISelLowering.cpp344 setOperationAction(ISD::BSWAP, MVT::i32 , Expand); in PPCTargetLowering()
346 setOperationAction(ISD::BSWAP, MVT::i64 , Custom); in PPCTargetLowering()
348 setOperationAction(ISD::BSWAP, MVT::i64 , Expand); in PPCTargetLowering()
685 setOperationAction(ISD::BSWAP, VT, Expand); in PPCTargetLowering()
967 setOperationAction(ISD::BSWAP, MVT::v8i16, Legal); in PPCTargetLowering()
968 setOperationAction(ISD::BSWAP, MVT::v4i32, Legal); in PPCTargetLowering()
969 setOperationAction(ISD::BSWAP, MVT::v2i64, Legal); in PPCTargetLowering()
970 setOperationAction(ISD::BSWAP, MVT::v1i128, Legal); in PPCTargetLowering()
1181 setTargetDAGCombine(ISD::BSWAP); in PPCTargetLowering()
9329 SDValue ReveHWord = DAG.getNode(ISD::BSWAP, dl, MVT::v8i16, Conv); in LowerVECTOR_SHUFFLE()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
HDNVPTXISelLowering.cpp433 setOperationAction(ISD::BSWAP, MVT::i16, Expand); in NVPTXTargetLowering()
434 setOperationAction(ISD::BSWAP, MVT::i32, Expand); in NVPTXTargetLowering()
435 setOperationAction(ISD::BSWAP, MVT::i64, Expand); in NVPTXTargetLowering()

123