Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Mod64 (0.05 sec)

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

    		return true
    	}
    	// match: (Mod64 n (Const64 [-1<<63]))
    	// cond: isNonNegative(n)
    	// result: n
    	for {
    		n := v_0
    		if v_1.Op != OpConst64 || auxIntToInt64(v_1.AuxInt) != -1<<63 || !(isNonNegative(n)) {
    			break
    		}
    		v.copyOf(n)
    		return true
    	}
    	// match: (Mod64 <t> n (Const64 [c]))
    	// cond: c < 0 && c != -1<<63
    	// result: (Mod64 <t> n (Const64 <t> [-c]))
    	for {
    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

    		y := v_1
    		v.reset(OpARM64MODW)
    		v.AddArg2(x, y)
    		return true
    	}
    }
    func rewriteValueARM64_OpMod64(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (Mod64 x y)
    	// result: (MOD x y)
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpARM64MOD)
    		v.AddArg2(x, y)
    		return true
    	}
    }
    func rewriteValueARM64_OpMod8(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)
  3. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueAMD64_OpMod64(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mod64 [a] x y)
    	// result: (Select1 (DIVQ [a] x y))
    	for {
    		a := auxIntToBool(v.AuxInt)
    		x := v_0
    		y := v_1
    		v.reset(OpSelect1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
Back to top