Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for divd (0.1 sec)

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

    		}
    		v.reset(OpRsh8Ux64)
    		v0 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(log8(c))
    		v.AddArg2(n, v0)
    		return true
    	}
    	// match: (Div8 <t> n (Const8 [c]))
    	// cond: c < 0 && c != -1<<7
    	// result: (Neg8 (Div8 <t> n (Const8 <t> [-c])))
    	for {
    		t := v.Type
    		n := v_0
    		if v_1.Op != OpConst8 {
    			break
    		}
    		c := auxIntToInt8(v_1.AuxInt)
    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/rewriteAMD64.go

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

    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Div8 x y)
    	// result: (DIVW (SignExt8to32 x) (SignExt8to32 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpARM64DIVW)
    		v0 := b.NewValue0(v.Pos, OpSignExt8to32, typ.Int32)
    		v0.AddArg(x)
    		v1 := b.NewValue0(v.Pos, OpSignExt8to32, typ.Int32)
    		v1.AddArg(y)
    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    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