Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shiftIsBounded (0.27 sec)

  1. src/cmd/compile/internal/ssa/rewritegeneric.go

    				continue
    			}
    			v.reset(OpRotateLeft16)
    			v.AddArg2(x, y)
    			return true
    		}
    		break
    	}
    	// match: (Add16 left:(Lsh16x32 x y) right:(Rsh16Ux32 x (Sub32 (Const32 [16]) y)))
    	// cond: (shiftIsBounded(left) || shiftIsBounded(right)) && canRotate(config, 16)
    	// result: (RotateLeft16 x y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteARM64.go

    	// match: (Lsh16x16 <t> x y)
    	// cond: shiftIsBounded(v)
    	// result: (SLL <t> x y)
    	for {
    		t := v.Type
    		x := v_0
    		y := v_1
    		if !(shiftIsBounded(v)) {
    			break
    		}
    		v.reset(OpARM64SLL)
    		v.Type = t
    		v.AddArg2(x, y)
    		return true
    	}
    	// match: (Lsh16x16 <t> x y)
    	// cond: !shiftIsBounded(v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteAMD64.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (Lsh16x16 <t> x y)
    	// cond: !shiftIsBounded(v)
    	// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPWconst y [32])))
    	for {
    		t := v.Type
    		x := v_0
    		y := v_1
    		if !(!shiftIsBounded(v)) {
    			break
    		}
    		v.reset(OpAMD64ANDL)
    		v0 := b.NewValue0(v.Pos, OpAMD64SHLL, t)
    		v0.AddArg2(x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
Back to top