Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ROTLconst (0.33 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "SLWconst", argLength: 1, reg: gp11, asm: "SLW", aux: "Int64"},       // arg0 << auxInt, 0 <= auxInt < 32, 32 bit width
    
    		{name: "ROTLconst", argLength: 1, reg: gp11, asm: "ROTL", aux: "Int64"},   // arg0 rotate left by auxInt bits
    		{name: "ROTLWconst", argLength: 1, reg: gp11, asm: "ROTLW", aux: "Int64"}, // uint32(arg0) rotate left by auxInt bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (RotateLeft(32|64) ...) => ((ROTLW|ROTL) ...)
    
    // Constant rotate generation
    (ROTLW  x (MOVDconst [c])) => (ROTLWconst  x [c&31])
    (ROTL   x (MOVDconst [c])) => (ROTLconst   x [c&63])
    
    // Combine rotate and mask operations
    (ANDconst [m] (ROTLWconst [r] x)) && isPPC64WordRotateMask(m) => (RLWINM [encodePPC64RotateMask(r,m,32)] x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritePPC64.go

    		return true
    	}
    	return false
    }
    func rewriteValuePPC64_OpPPC64ROTL(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (ROTL x (MOVDconst [c]))
    	// result: (ROTLconst x [c&63])
    	for {
    		x := v_0
    		if v_1.Op != OpPPC64MOVDconst {
    			break
    		}
    		c := auxIntToInt64(v_1.AuxInt)
    		v.reset(OpPPC64ROTLconst)
    		v.AuxInt = int64ToAuxInt(c & 63)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  4. 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:    "ROTLconst",
    		auxType: auxInt64,
    		argLen:  1,
    		asm:     ppc64.AROTL,
    		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