Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,479 for Select0 (0.48 sec)

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

    (ConstBool [t]) => (MOVDconst [b2i(t)])
    
    // Carrying addition.
    (Select0 (Add64carry x y c)) =>            (Select0 <typ.UInt64> (ADDE x y (Select1 <typ.UInt64> (ADDCconst c [-1]))))
    (Select1 (Add64carry x y c)) => (ADDZEzero (Select1 <typ.UInt64> (ADDE x y (Select1 <typ.UInt64> (ADDCconst c [-1])))))
    // Fold initial carry bit if 0.
    (ADDE x y (Select1 <typ.UInt64> (ADDCconst (MOVDconst [0]) [-1]))) => (ADDC 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)
  2. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	// result: (MOVVconst [0])
    	for {
    		if v_0.Op != OpMIPS64DIVVU {
    			break
    		}
    		_ = v_0.Args[1]
    		v_0_1 := v_0.Args[1]
    		if v_0_1.Op != OpMIPS64MOVVconst || auxIntToInt64(v_0_1.AuxInt) != 1 {
    			break
    		}
    		v.reset(OpMIPS64MOVVconst)
    		v.AuxInt = int64ToAuxInt(0)
    		return true
    	}
    	// match: (Select0 (DIVVU x (MOVVconst [c])))
    	// cond: isPowerOfTwo64(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		v.copyOf(x)
    		return true
    	}
    	// match: (Select1 (AddTupleFirst32 _ tuple))
    	// result: (Select1 tuple)
    	for {
    		if v_0.Op != OpAMD64AddTupleFirst32 {
    			break
    		}
    		tuple := v_0.Args[1]
    		v.reset(OpSelect1)
    		v.AddArg(tuple)
    		return true
    	}
    	// match: (Select1 (AddTupleFirst64 _ tuple))
    	// result: (Select1 tuple)
    	for {
    		if v_0.Op != OpAMD64AddTupleFirst64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    // to (Select0 (opCC x y)) without having to explicitly fixup every user
    // of op.
    //
    // E.g consider the case:
    // a = (ADD x y)
    // b = (CMPconst [0] a)
    // c = (OR a z)
    //
    // A rule like (CMPconst [0] (ADD x y)) => (CMPconst [0] (Select0 (ADDCC x y)))
    // would produce:
    // a  = (ADD x y)
    // a' = (ADDCC x y)
    // a” = (Select0 a')
    // b  = (CMPconst [0] a”)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARM.rules

    // div by constant
    (Select0 (CALLudiv x (MOVWconst [1]))) => x
    (Select1 (CALLudiv _ (MOVWconst [1]))) => (MOVWconst [0])
    (Select0 (CALLudiv x (MOVWconst [c]))) && isPowerOfTwo32(c) => (SRLconst [int32(log32(c))] x)
    (Select1 (CALLudiv x (MOVWconst [c]))) && isPowerOfTwo32(c) => (ANDconst [c-1] x)
    
    // constant comparisons
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/generic.rules

    (SelectN [0] (MakeResult x ___)) => x
    (SelectN [1] (MakeResult x y ___)) => y
    (SelectN [2] (MakeResult x y z ___)) => z
    
    // for late-expanded calls, recognize newobject and remove zeroing and nilchecks
    (Zero (SelectN [0] call:(StaticLECall _ _)) mem:(SelectN [1] call))
    	&& isSameCall(call.Aux, "runtime.newobject")
    	=> mem
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		return true
    	}
    	// match: (MOVBUreg x:(Select0 (LoweredAtomicLoad8 _ _)))
    	// result: (MOVDreg x)
    	for {
    		x := v_0
    		if x.Op != OpSelect0 {
    			break
    		}
    		x_0 := x.Args[0]
    		if x_0.Op != OpRISCV64LoweredAtomicLoad8 {
    			break
    		}
    		v.reset(OpRISCV64MOVDreg)
    		v.AddArg(x)
    		return true
    	}
    	// match: (MOVBUreg x:(Select0 (LoweredAtomicCas32 _ _ _ _)))
    	// result: (MOVDreg 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)
  8. src/cmd/compile/internal/ssa/rewriteARM64.go

    	}
    	// match: (Move [64] dst src mem)
    	// result: (STP [48] dst (Select0 <typ.UInt64> (LDP [48] src mem)) (Select1 <typ.UInt64> (LDP [48] src mem)) (STP [32] dst (Select0 <typ.UInt64> (LDP [32] src mem)) (Select1 <typ.UInt64> (LDP [32] src mem)) (STP [16] dst (Select0 <typ.UInt64> (LDP [16] src mem)) (Select1 <typ.UInt64> (LDP [16] src mem)) (STP dst (Select0 <typ.UInt64> (LDP src mem)) (Select1 <typ.UInt64> (LDP src mem)) mem))))
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// pseudo-ops for breaking Tuple
    	{name: "Select0", argLength: 1, zeroWidth: true},  // the first component of a tuple
    	{name: "Select1", argLength: 1, zeroWidth: true},  // the second component of a tuple
    	{name: "SelectN", argLength: 1, aux: "Int64"},     // arg0=result, auxint=field index.  Returns the auxint'th member.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (Select0 (Mul64uhilo x y))
    	// result: (MULHVU x y)
    	for {
    		if v_0.Op != OpMul64uhilo {
    			break
    		}
    		y := v_0.Args[1]
    		x := v_0.Args[0]
    		v.reset(OpLOONG64MULHVU)
    		v.AddArg2(x, y)
    		return true
    	}
    	// match: (Select0 (Mul64uover x y))
    	// result: (MULV x y)
    	for {
    		if v_0.Op != OpMul64uover {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
Back to top