Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Mod32u (0.17 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/PPC64.rules

    (ADD l:(MULLD x y) z) && buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l) => (MADDLD x y z)
    
    (Mod16 x y) => (Mod32 (SignExt16to32 x) (SignExt16to32 y))
    (Mod16u x y) => (Mod32u (ZeroExt16to32 x) (ZeroExt16to32 y))
    (Mod8 x y) => (Mod32 (SignExt8to32 x) (SignExt8to32 y))
    (Mod8u x y) => (Mod32u (ZeroExt8to32 x) (ZeroExt8to32 y))
    (Mod64 x y) && buildcfg.GOPPC64 >=9 => (MODSD x y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// For Mod16, Mod32 and Mod64, AuxInt non-zero means that the divisor has been proved to be not -1.
    	{name: "Mod8", argLength: 2},  // arg0 % arg1, signed
    	{name: "Mod8u", argLength: 2}, // arg0 % arg1, unsigned
    	{name: "Mod16", argLength: 2, aux: "Bool"},
    	{name: "Mod16u", argLength: 2},
    	{name: "Mod32", argLength: 2, aux: "Bool"},
    	{name: "Mod32u", argLength: 2},
    	{name: "Mod64", argLength: 2, aux: "Bool"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritePPC64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mod32u x y)
    	// cond: buildcfg.GOPPC64 >= 9
    	// result: (MODUW x y)
    	for {
    		x := v_0
    		y := v_1
    		if !(buildcfg.GOPPC64 >= 9) {
    			break
    		}
    		v.reset(OpPPC64MODUW)
    		v.AddArg2(x, y)
    		return true
    	}
    	// match: (Mod32u x y)
    	// cond: buildcfg.GOPPC64 <= 8
    	// result: (SUB x (MULLW y (DIVWU x y)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/opGen.go

    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Mod16u",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Mod32",
    		auxType: auxBool,
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Mod32u",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Mod64",
    		auxType: auxBool,
    		argLen:  2,
    		generic: true,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v1.AddArg(y)
    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueARM64_OpMod32(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (Mod32 x y)
    	// result: (MODW x y)
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpARM64MODW)
    		v.AddArg2(x, y)
    		return true
    	}
    }
    func rewriteValueARM64_OpMod64(v *Value) bool {
    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