Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for rldicl (0.67 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    // Convert simple bit masks to an equivalent rldic[lr] if possible.
    (AND x:(MOVDconst [m]) n) && isPPC64ValidShiftMask(m) => (RLDICL [encodePPC64RotateMask(0,m,64)] n)
    (AND x:(MOVDconst [m]) n) && m != 0 && isPPC64ValidShiftMask(^m) => (RLDICR [encodePPC64RotateMask(0,m,64)] n)
    
    // If the RLDICL does not rotate its value, a shifted value can be merged.
    (RLDICL [em] x:(SRDconst [s] a)) && (em&0xFF0000) == 0 => (RLDICL [mergePPC64RLDICLandSRDconst(em, s)] a)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. test/codegen/shift.go

    	// ppc64x:-".*RLWINM",-".*RLDICR",".*CLRLSLDI"
    	f := tab[byte(v)^b]
    	// ppc64x:-".*RLWINM",-".*RLDICR",".*CLRLSLDI"
    	f += tab[byte(v)&b]
    	// ppc64x:-".*RLWINM",-".*RLDICR",".*CLRLSLDI"
    	f += tab[byte(v)|b]
    	// ppc64x:-".*RLWINM",-".*RLDICR",".*CLRLSLDI"
    	f += tab[uint16(v)&h]
    	// ppc64x:-".*RLWINM",-".*RLDICR",".*CLRLSLDI"
    	f += tab[uint16(v)^h]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. test/codegen/bool.go

    	// amd64:"ANDL\t[$]1",-"SETB"
    	// ppc64x:"RLDICL",-"CMP",-"ISEL"
    	b := x&1 != 0
    	return c && b
    }
    
    func convertNeqBool32(x uint32) bool {
    	// ppc64x:"RLDICL",-"CMPW",-"ISEL"
    	return x&1 != 0
    }
    
    func convertEqBool32(x uint32) bool {
    	// ppc64x:"RLDICL",-"CMPW","XOR",-"ISEL"
    	return x&1 == 0
    }
    
    func convertNeqBool64(x uint64) bool {
    	// ppc64x:"RLDICL",-"CMP",-"ISEL"
    	return x&1 != 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 22:12:32 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. src/hash/crc32/crc32_ppc64le.s

    	MOVWZ	4(R5),R9	// 4-7 bytes of p
    	MOVD	R4,R10		// &tab[0]
    	XOR	R7,R8,R7	// crc ^= byte[0:3]
    	RLDICL	$40,R9,$56,R17	// p[7]
    	SLD	$2,R17,R17	// p[7]*4
    	RLDICL	$40,R7,$56,R8	// crc>>24
    	SLD	$2,R8,R8	// crc>>24*4
    	RLDICL	$48,R9,$56,R18	// p[6]
    	SLD	$2,R18,R18	// p[6]*4
    	MOVWZ	(R10)(R17),R21	// tab[0][p[7]]
    	ADD	$1024,R10,R10	// tab[1]
    	RLDICL	$56,R9,$56,R19	// p[5]
    	SLD	$2,R19,R19	// p[5]*4:1
    	MOVWZ	(R10)(R18),R22	// tab[1][p[6]]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/anames.go

    	"MULHDU",
    	"MULHDUCC",
    	"MULLD",
    	"MULLDCC",
    	"MULLDVCC",
    	"MULLDV",
    	"RFID",
    	"RLDMI",
    	"RLDMICC",
    	"RLDIMI",
    	"RLDIMICC",
    	"RLDC",
    	"RLDCCC",
    	"RLDCR",
    	"RLDCRCC",
    	"RLDICR",
    	"RLDICRCC",
    	"RLDCL",
    	"RLDCLCC",
    	"RLDICL",
    	"RLDICLCC",
    	"RLDIC",
    	"RLDICCC",
    	"CLRLSLDI",
    	"ROTL",
    	"ROTLW",
    	"SLBIA",
    	"SLBIE",
    	"SLBMFEE",
    	"SLBMFEV",
    	"SLBMTE",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    		v.AddArg2(y, z)
    		return true
    	}
    	return false
    }
    func rewriteValuePPC64latelower_OpPPC64RLDICL(v *Value) bool {
    	v_0 := v.Args[0]
    	// match: (RLDICL [em] x:(SRDconst [s] a))
    	// cond: (em&0xFF0000) == 0
    	// result: (RLDICL [mergePPC64RLDICLandSRDconst(em, s)] a)
    	for {
    		em := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if x.Op != OpPPC64SRDconst {
    			break
    		}
    		s := auxIntToInt64(x.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. test/codegen/arithmetic.go

    	// arm64:"TST\t[$]63",-"UDIV",-"ASR",-"AND"
    	// ppc64x:"ANDCC",-"RLDICL",-"SRAD",-"CMP"
    	a := n1%64 == 0 // signed divisible
    
    	// 386:"TESTL\t[$]63",-"DIVL",-"SHRL"
    	// amd64:"TESTQ\t[$]63",-"DIVQ",-"SHRQ"
    	// arm:"AND\t[$]63",-".*udiv",-"SRA"
    	// arm64:"TST\t[$]63",-"UDIV",-"ASR",-"AND"
    	// ppc64x:"ANDCC",-"RLDICL",-"SRAD",-"CMP"
    	b := n2%64 != 0 // signed indivisible
    
    	return a, b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. test/codegen/bits.go

    	// ppc64x: "RLDICR\t[$]0, R[0-9]*, [$]47, R"
    	io64[0] = io64[0] & 0xFFFFFFFFFFFF0000
    	// ppc64x: "RLDICL\t[$]0, R[0-9]*, [$]16, R"
    	io64[1] = io64[1] & 0x0000FFFFFFFFFFFF
    	// ppc64x: -"SRD", -"AND", "RLDICL\t[$]60, R[0-9]*, [$]16, R"
    	io64[2] = (io64[2] >> 4) & 0x0000FFFFFFFFFFFF
    	// ppc64x: -"SRD", -"AND", "RLDICL\t[$]36, R[0-9]*, [$]28, R"
    	io64[3] = (io64[3] >> 28) & 0x0000FFFFFFFFFFFF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/doc.go

    Here are a few examples:
    
    	RLWMI $7,R3,$65535,R6 	=>	rlwimi r6,r3,7,16,31
    	RLDMI $0,R4,$7,R6 		=>	rldimi r6,r4,0,61
    
    More recently, Go opcodes were added which map directly onto the PPC64 opcodes. It is
    recommended to use the newer opcodes to avoid confusion.
    
    	RLDICL $0,R4,$15,R6		=>	rldicl r6,r4,0,15
    	RLDICR $0,R4,$15,R6		=>	rldicr r6.r4,0,15
    
    # Register naming
    
    1. Special register usage in Go asm
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.s

    	MULLD  h2, r1, t3;  \
    	ADDZE  t4, h0;      \
    	MULHDU r1, h1, t5;  \
    	MULLD  r1, h1, t4;  \
    	ADDC   t4, t2, t2;  \
    	ADDE   t5, t3, t3;  \
    	ADDC   h0, t2, t2;  \
    	MOVD   $-4, t4;     \
    	ADDZE  t3;          \
    	RLDICL $0, t2, $62, h2; \
    	AND    t2, t4, h0;  \
    	ADDC   t0, h0, h0;  \
    	ADDE   t3, t1, h1;  \
    	SLD    $62, t3, t4; \
    	SRD    $2, t2;      \
    	ADDZE  h2;          \
    	OR     t4, t2, t2;  \
    	SRD    $2, t3;      \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top