Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for divlu (0.68 sec)

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

    		return true
    	}
    }
    func rewriteValueLOONG64_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: (DIVVU (ZeroExt8to64 x) (ZeroExt8to64 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpLOONG64DIVVU)
    		v0 := b.NewValue0(v.Pos, OpZeroExt8to64, typ.UInt64)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Div16  (Const16 [c])  (Const16 [d])) && d != 0 => (Const16 [c/d])
    (Div32  (Const32 [c])  (Const32 [d])) && d != 0 => (Const32 [c/d])
    (Div64  (Const64 [c])  (Const64 [d])) && d != 0 => (Const64 [c/d])
    (Div8u  (Const8  [c])  (Const8  [d])) && d != 0 => (Const8  [int8(uint8(c)/uint8(d))])
    (Div16u (Const16 [c])  (Const16 [d])) && d != 0 => (Const16 [int16(uint16(c)/uint16(d))])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (Div32 [false] x y) => (DIVW x y)
    (Div16 [false] x y) => (DIVW (SignExt16to32 x) (SignExt16to32 y))
    (Div16u x y) => (UDIVW (ZeroExt16to32 x) (ZeroExt16to32 y))
    (Div8   x y) => (DIVW  (SignExt8to32  x) (SignExt8to32  y))
    (Div8u  x y) => (UDIVW (ZeroExt8to32  x) (ZeroExt8to32  y))
    (Div64u ...) => (UDIV  ...)
    (Div32u ...) => (UDIVW ...)
    (Div32F ...) => (FDIVS ...)
    (Div64F ...) => (FDIVD ...)
    
    (Mod64 x y) => (MOD x y)
    (Mod32 x y) => (MODW x y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueRISCV64_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: (DIVUW (ZeroExt8to32 x) (ZeroExt8to32 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpRISCV64DIVUW)
    		v0 := b.NewValue0(v.Pos, OpZeroExt8to32, typ.UInt32)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
Back to top