Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SLWconst (0.12 sec)

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

    (RLWINM [r] (ANDconst [a] u)) && mergePPC64RlwinmAnd(r,uint32(a)) != 0 => (RLWINM [mergePPC64RlwinmAnd(r,uint32(a))] u)
    // SLWconst is a special case of RLWNM which always zero-extends the result.
    (SLWconst [s] (MOVWZreg w)) => (SLWconst [s] w)
    (MOVWZreg w:(SLWconst u)) => w
    
    // H - there are more combinations than these
    
    (MOVHZreg y:(MOV(H|B)Zreg _)) => y // repeat
    (MOVHZreg y:(MOVHBRload _ _)) => y
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritePPC64.go

    	v_0 := v.Args[0]
    	// match: (SLWconst [s] (MOVWZreg w))
    	// result: (SLWconst [s] w)
    	for {
    		s := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpPPC64MOVWZreg {
    			break
    		}
    		w := v_0.Args[0]
    		v.reset(OpPPC64SLWconst)
    		v.AuxInt = int64ToAuxInt(s)
    		v.AddArg(w)
    		return true
    	}
    	// match: (SLWconst [c] z:(MOVBZreg x))
    	// cond: z.Uses == 1 && c < 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteS390X.go

    }
    func rewriteValueS390X_OpS390XMULLWconst(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (MULLWconst <t> x [c])
    	// cond: isPowerOfTwo32(c&(c-1))
    	// result: (ADDW (SLWconst <t> x [uint8(log32(c&(c-1)))]) (SLWconst <t> x [uint8(log32(c&^(c-1)))]))
    	for {
    		t := v.Type
    		c := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if !(isPowerOfTwo32(c & (c - 1))) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "SLDconst", argLength: 1, reg: gp11, asm: "SLD", aux: "Int64"},       // arg0 << auxInt, 0 <= auxInt < 64, 64 bit width
    		{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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "SLW", argLength: 2, reg: sh21, asm: "SLW"},                    // arg0 << arg1, shift amount is mod 64
    		{name: "SLDconst", argLength: 1, reg: gp11, asm: "SLD", aux: "UInt8"}, // arg0 << auxint, shift amount 0-63
    		{name: "SLWconst", argLength: 1, reg: gp11, asm: "SLW", aux: "UInt8"}, // arg0 << auxint, shift amount 0-31
    
    		{name: "SRD", argLength: 2, reg: sh21, asm: "SRD"},                    // unsigned arg0 >> arg1, shift amount is mod 64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  6. 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:    "SLWconst",
    		auxType: auxInt64,
    		argLen:  1,
    		asm:     ppc64.ASLW,
    		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