Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for RLDICR (0.13 sec)

  1. 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)
  2. 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)
  3. src/runtime/sys_linux_ppc64x.s

    	MOVD	m_curg(R21), R6
    	CMP	g, R6
    	BNE	noswitch
    
    	MOVD	m_g0(R21), R7
    	MOVD	(g_sched+gobuf_sp)(R7), R1	// Set SP to g0 stack
    
    noswitch:
    	SUB	$16, R1                 // Space for results
    	RLDICR	$0, R1, $59, R1         // Align for C code
    	MOVD	R12, CTR
    	MOVD	R1, R4
    
    	// Store g on gsignal's stack, so if we receive a signal
    	// during VDSO code we can find the g.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. test/codegen/bits.go

    	return
    }
    
    // Verify rotate and mask instructions, and further simplified instructions for small types
    func bitRotateAndMask(io64 [8]uint64, io32 [4]uint32, io16 [4]uint16, io8 [4]uint8) {
    	// 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"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    			v.AuxInt = int64ToAuxInt(encodePPC64RotateMask(0, m, 64))
    			v.AddArg(n)
    			return true
    		}
    		break
    	}
    	// match: (AND x:(MOVDconst [m]) n)
    	// cond: m != 0 && isPPC64ValidShiftMask(^m)
    	// result: (RLDICR [encodePPC64RotateMask(0,m,64)] n)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if x.Op != OpPPC64MOVDconst {
    				continue
    			}
    			m := 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)
  6. src/hash/crc32/crc32_ppc64le.s

    #else
    	VSLDOI	$4,V8,zeroes,V8
    #endif
    
    #ifdef BYTESWAP_DATA
    	MOVD    $·byteswapcons(SB),R3
    	LVX	(R3),byteswap
    #endif
    
    	CMPU	R5,$256		// length of bytes
    	BLT	short
    
    	RLDICR	$0,R5,$56,R6 // chunk to process
    
    	// First step for larger sizes
    l1:	MOVD	$32768,R7
    	MOVD	R7,R9
    	CMP	R6,R7   // compare R6, R7 (MAX SIZE)
    	BGT	top	// less than MAX, just do remainder
    	MOVD	R6,R7
    top:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "RLDICLCC", argLength: 1, reg: gp11, asm: "RLDICLCC", aux: "Int64", typ: "(Int, Flags)"}, // Auxint is encoded similarly to RLWINM, but only MB and SH are valid. ME is always 63. Sets CC.
    		{name: "RLDICR", argLength: 1, reg: gp11, asm: "RLDICR", aux: "Int64"},                          // Likewise, but only ME and SH are valid. MB is always 0.
    
    		{name: "CNTLZD", argLength: 1, reg: gp11, asm: "CNTLZD"},                          // count leading zeros
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/asm9.go

    		return OPVCC(30, 9, 0, 1)
    
    	case ARLDICL:
    		return OPVCC(30, 0, 0, 0)
    	case ARLDICLCC:
    		return OPVCC(30, 0, 0, 1)
    	case ARLDICR:
    		return OPMD(30, 1, 0) // rldicr
    	case ARLDICRCC:
    		return OPMD(30, 1, 1) // rldicr.
    
    	case ARLDIC:
    		return OPMD(30, 2, 0) // rldic
    	case ARLDICCC:
    		return OPMD(30, 2, 1) // rldic.
    
    	case ASYSCALL:
    		return OPVCC(17, 1, 0, 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/ppc64.s

    	RLDCR $0, R4, $-16, R6          // 788606f2
    	RLDCRCC $0, R4, $-16, R6        // 788606f3
    	RLDICL $0, R4, $15, R6          // 788603c0
    	RLDICLCC $0, R4, $15, R6        // 788603c1
    	RLDICR $0, R4, $15, R6          // 788603c4
    	RLDICRCC $0, R4, $15, R6        // 788603c5
    	RLDIC $0, R4, $15, R6           // 788603c8
    	RLDICCC $0, R4, $15, R6         // 788603c9
    	CLRLSLWI $16, R5, $8, R4        // 54a4422e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/opGen.go

    			},
    			outputs: []outputInfo{
    				{0, 1073733624}, // R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R14 R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29
    			},
    		},
    	},
    	{
    		name:    "RLDICR",
    		auxType: auxInt64,
    		argLen:  1,
    		asm:     ppc64.ARLDICR,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top