Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for divd (0.06 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/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