Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Mod32u (0.12 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

            (ZeroExt32to64 <typ.UInt64>
              (Mod32u <typ.UInt32>
                (Trunc64to32 <typ.UInt32> (Rsh64Ux64 <typ.UInt64> x (Const64 <typ.UInt64> [32])))
                (Const32 <typ.UInt32> [int32(c)])))
            (Const64 <typ.UInt64> [int64((1<<32)/c)])))
          (ZeroExt32to64
            (Div32u <typ.UInt32>
              (Add32 <typ.UInt32>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (Div64u ...) => (UDIV  ...)
    (Div32u ...) => (UDIVW ...)
    (Div32F ...) => (FDIVS ...)
    (Div64F ...) => (FDIVD ...)
    
    (Mod64 x y) => (MOD x y)
    (Mod32 x y) => (MODW x y)
    (Mod64u ...) => (UMOD ...)
    (Mod32u ...) => (UMODW ...)
    (Mod(16|8)  x y) => (MODW  (SignExt(16|8)to32 x) (SignExt(16|8)to32 y))
    (Mod(16|8)u x y) => (UMODW (ZeroExt(16|8)to32 x) (ZeroExt(16|8)to32 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)
  3. src/cmd/compile/internal/ssa/rewriteWasm.go

    		return true
    	}
    	return false
    }
    func rewriteValueWasm_OpMod32u(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mod32u x y)
    	// result: (I64RemU (ZeroExt32to64 x) (ZeroExt32to64 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpWasmI64RemU)
    		v0 := b.NewValue0(v.Pos, OpZeroExt32to64, 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)
  4. src/cmd/compile/internal/ssa/rewriteMIPS.go

    		return true
    	}
    }
    func rewriteValueMIPS_OpMod32u(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mod32u x y)
    	// result: (Select0 (DIVU x y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpSelect0)
    		v0 := b.NewValue0(v.Pos, OpMIPSDIVU, types.NewTuple(typ.UInt32, typ.UInt32))
    		v0.AddArg2(x, y)
    		v.AddArg(v0)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpMod32u(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mod32u x y)
    	// result: (REMVU (ZeroExt32to64 x) (ZeroExt32to64 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpLOONG64REMVU)
    		v0 := b.NewValue0(v.Pos, OpZeroExt32to64, 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)
  6. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueMIPS64_OpMod32u(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mod32u x y)
    	// result: (Select0 (DIVVU (ZeroExt32to64 x) (ZeroExt32to64 y)))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpSelect0)
    		v0 := b.NewValue0(v.Pos, OpMIPS64DIVVU, types.NewTuple(typ.UInt64, typ.UInt64))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		v1.AddArg(y)
    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueRISCV64_OpMod32(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (Mod32 x y [false])
    	// result: (REMW x y)
    	for {
    		if auxIntToBool(v.AuxInt) != false {
    			break
    		}
    		x := v_0
    		y := v_1
    		v.reset(OpRISCV64REMW)
    		v.AddArg2(x, y)
    		return true
    	}
    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