Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,050 for Select0 (0.76 sec)

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

    	}
    	// match: (CMPconst <t> [0] (Select0 z:(ADDCC x y)))
    	// result: (Select1 <t> z)
    	for {
    		t := v.Type
    		if auxIntToInt64(v.AuxInt) != 0 || v_0.Op != OpSelect0 {
    			break
    		}
    		z := v_0.Args[0]
    		if z.Op != OpPPC64ADDCC {
    			break
    		}
    		v.reset(OpSelect1)
    		v.Type = t
    		v.AddArg(z)
    		return true
    	}
    	// match: (CMPconst <t> [0] (Select0 z:(ANDCC x y)))
    	// result: (Select1 <t> z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    // And finally, fixup the flag user.
    (CMPconst <t> [0] (Select0 z:((ADD|AND|ANDN|OR|SUB|NOR|XOR)CC x y))) => (Select1 <t> z)
    (CMPconst <t> [0] (Select0 z:((ADDCCconst|ANDCCconst|NEGCC|CNTLZDCC|RLDICLCC) y))) => (Select1 <t> z)
    
    // After trying to convert ANDconst to ANDCCconst above, if the CC result is not needed, try to avoid using
    // ANDconst which clobbers CC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/S390X.rules

    // add with carry
    (Select0 (Add64carry x y c))
      => (Select0 <typ.UInt64> (ADDE x y (Select1 <types.TypeFlags> (ADDCconst c [-1]))))
    (Select1 (Add64carry x y c))
      => (Select0 <typ.UInt64> (ADDE (MOVDconst [0]) (MOVDconst [0]) (Select1 <types.TypeFlags> (ADDE x y (Select1 <types.TypeFlags> (ADDCconst c [-1]))))))
    
    // subtract with borrow
    (Select0 (Sub64borrow x y c))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue16741.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure CSE of multi-output opcodes works correctly
    // with select0/1 operations.
    
    package main
    
    func div(d, r int64) int64 {
    	if m := d % r; m > 0 {
    		return d/r + 1
    	}
    	return d / r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 21:03:26 UTC 2016
    - 363 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    (Div8 x y) => (Select1 (DIVV (SignExt8to64 x) (SignExt8to64 y)))
    (Div8u x y) => (Select1 (DIVVU (ZeroExt8to64 x) (ZeroExt8to64 y)))
    (Div(32|64)F ...) => (DIV(F|D) ...)
    
    (Mod64 x y) => (Select0 (DIVV x y))
    (Mod64u x y) => (Select0 (DIVVU x y))
    (Mod32 x y) => (Select0 (DIVV (SignExt32to64 x) (SignExt32to64 y)))
    (Mod32u x y) => (Select0 (DIVVU (ZeroExt32to64 x) (ZeroExt32to64 y)))
    (Mod16 x y) => (Select0 (DIVV (SignExt16to64 x) (SignExt16to64 y)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    (Mul(32|64)F ...) => (MUL(F|D) ...)
    
    (Hmul(32|32u) x y) => (Select0 (MUL(T|TU) x y))
    (Mul32uhilo ...) => (MULTU ...)
    
    (Div32 x y) => (Select1 (DIV x y))
    (Div32u x y) => (Select1 (DIVU x y))
    (Div16 x y) => (Select1 (DIV (SignExt16to32 x) (SignExt16to32 y)))
    (Div16u x y) => (Select1 (DIVU (ZeroExt16to32 x) (ZeroExt16to32 y)))
    (Div8 x y) => (Select1 (DIV (SignExt8to32 x) (SignExt8to32 y)))
    (Div8u x y) => (Select1 (DIVU (ZeroExt8to32 x) (ZeroExt8to32 y)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (Div(64|32|16)u x y) => (Select0 (DIV(Q|L|W)U x y))
    (Div8u x y) => (Select0 (DIVWU (ZeroExt8to16 x) (ZeroExt8to16 y)))
    (Div(32|64)F ...) => (DIVS(S|D) ...)
    
    (Select0 (Add64carry x y c)) =>
    	(Select0 <typ.UInt64> (ADCQ x y (Select1 <types.TypeFlags> (NEGLflags c))))
    (Select1 (Add64carry x y c)) =>
    	(NEGQ <typ.UInt64> (SBBQcarrymask <typ.UInt64> (Select1 <types.TypeFlags> (ADCQ x y (Select1 <types.TypeFlags> (NEGLflags c))))))
    (Select0 (Sub64borrow x y c)) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/tuple.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    // tightenTupleSelectors ensures that tuple selectors (Select0, Select1,
    // and SelectN ops) are in the same block as their tuple generator. The
    // function also ensures that there are no duplicate tuple selectors.
    // These properties are expected by the scheduler but may not have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 02:52:33 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/field/fe_alias_test.go

    				r, _ := v.SqrtRatio(x, y)
    				return r
    			},
    		},
    		{
    			name: "Select0",
    			twoArgsF: func(v, x, y *Element) *Element {
    				return v.Select(x, y, 0)
    			},
    		},
    		{
    			name: "Select1",
    			twoArgsF: func(v, x, y *Element) *Element {
    				return v.Select(x, y, 1)
    			},
    		},
    	} {
    		var err error
    		switch {
    		case tt.oneArgF != nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/dec64.rules

    		(Add32withcarry <typ.Int32>
    			(Int64Hi x)
    			(Int64Hi y)
    			(Select1 <types.TypeFlags> (Add32carry (Int64Lo x) (Int64Lo y))))
    		(Select0 <typ.UInt32> (Add32carry (Int64Lo x) (Int64Lo y))))
    
    (Sub64 x y) =>
    	(Int64Make
    		(Sub32withcarry <typ.Int32>
    			(Int64Hi x)
    			(Int64Hi y)
    			(Select1 <types.TypeFlags> (Sub32carry (Int64Lo x) (Int64Lo y))))
    		(Select0 <typ.UInt32> (Sub32carry (Int64Lo x) (Int64Lo y))))
    
    (Mul64 x y) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 14.2K bytes
    - Viewed (0)
Back to top