Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for divlu (0.14 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. test/prove.go

    	return blk, rem
    }
    
    func rshu(x, y uint) int {
    	z := x >> y
    	if z <= x { // ERROR "Proved Leq64U$"
    		return 1
    	}
    	return 0
    }
    
    func divu(x, y uint) int {
    	z := x / y
    	if z <= x { // ERROR "Proved Leq64U$"
    		return 1
    	}
    	return 0
    }
    
    func modu1(x, y uint) int {
    	z := x % y
    	if z < y { // ERROR "Proved Less64U$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// For Div16, Div32 and Div64, AuxInt non-zero means that the divisor has been proved to be not -1
    	// or that the dividend is not the most negative value.
    	{name: "Div8", argLength: 2},  // arg0 / arg1, signed
    	{name: "Div8u", argLength: 2}, // arg0 / arg1, unsigned
    	{name: "Div16", argLength: 2, aux: "Bool"},
    	{name: "Div16u", argLength: 2},
    	{name: "Div32", argLength: 2, aux: "Bool"},
    	{name: "Div32u", argLength: 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValuePPC64_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: (DIVWU (ZeroExt8to32 x) (ZeroExt8to32 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpPPC64DIVWU)
    		v0 := b.NewValue0(v.Pos, OpZeroExt8to32, typ.UInt32)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteS390X.go

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueS390X_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: (DIVWU (MOVBZreg x) (MOVBZreg y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpS390XDIVWU)
    		v0 := b.NewValue0(v.Pos, OpS390XMOVBZreg, typ.UInt64)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteWasm.go

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueWasm_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: (I64DivU (ZeroExt8to64 x) (ZeroExt8to64 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpWasmI64DivU)
    		v0 := b.NewValue0(v.Pos, OpZeroExt8to64, typ.UInt64)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (Div32u x y) => (Select0 <typ.UInt32> (CALLudiv x y))
    (Div16 x y) => (Div32 (SignExt16to32 x) (SignExt16to32 y))
    (Div16u x y) => (Div32u (ZeroExt16to32 x) (ZeroExt16to32 y))
    (Div8 x y) => (Div32 (SignExt8to32 x) (SignExt8to32 y))
    (Div8u x y) => (Div32u (ZeroExt8to32 x) (ZeroExt8to32 y))
    (Div(32|64)F ...) => (DIV(F|D) ...)
    
    (Mod32 x y) =>
    	(SUB (XOR <typ.UInt32>                                                        // negate the result if x is negative
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/compile/internal/ssa/rewrite386.go

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValue386_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: (DIVWU (ZeroExt8to16 x) (ZeroExt8to16 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(Op386DIVWU)
    		v0 := b.NewValue0(v.Pos, OpZeroExt8to16, typ.UInt16)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
Back to top