Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for divlu (0.09 sec)

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

    		return true
    	}
    }
    func rewriteValueAMD64_OpDiv8u(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Div8u x y)
    	// result: (Select0 (DIVWU (ZeroExt8to16 x) (ZeroExt8to16 y)))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpSelect0)
    		v0 := b.NewValue0(v.Pos, OpAMD64DIVWU, types.NewTuple(typ.UInt16, typ.UInt16))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritegeneric.go

    		return true
    	}
    	return false
    }
    func rewriteValuegeneric_OpDiv8u(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Div8u (Const8 [c]) (Const8 [d]))
    	// cond: d != 0
    	// result: (Const8 [int8(uint8(c)/uint8(d))])
    	for {
    		if v_0.Op != OpConst8 {
    			break
    		}
    		c := auxIntToInt8(v_0.AuxInt)
    		if v_1.Op != OpConst8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueARM64_OpDiv8u(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Div8u x y)
    	// result: (UDIVW (ZeroExt8to32 x) (ZeroExt8to32 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpARM64UDIVW)
    		v0 := b.NewValue0(v.Pos, OpZeroExt8to32, typ.UInt32)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
Back to top