Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for OpSelect1 (0.3 sec)

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

    			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)
    	for {
    		t := v.Type
    		if auxIntToInt64(v.AuxInt) != 0 || v_0.Op != OpSelect0 {
    			break
    		}
    		z := v_0.Args[0]
    		if z.Op != OpPPC64ANDCC {
    			break
    		}
    		v.reset(OpSelect1)
    		v.Type = t
    		v.AddArg(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/lower.go

    			if !opcodeTable[v.Op].generic {
    				continue // lowered
    			}
    			switch v.Op {
    			case OpSP, OpSPanchored, OpSB, OpInitMem, OpArg, OpArgIntReg, OpArgFloatReg, OpPhi, OpVarDef, OpVarLive, OpKeepAlive, OpSelect0, OpSelect1, OpSelectN, OpConvert, OpInlMark, OpWBend:
    				continue // ok not to lower
    			case OpMakeResult:
    				if b.Controls[0] == v {
    					continue
    				}
    			case OpGetG:
    				if f.Config.hasGReg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 00:16:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/tuple.go

    	}]*Value)
    	for _, b := range f.Blocks {
    		for _, selector := range b.Values {
    			// Key fields for de-duplication
    			var tuple *Value
    			idx := 0
    			switch selector.Op {
    			default:
    				continue
    			case OpSelect1:
    				idx = 1
    				fallthrough
    			case OpSelect0:
    				tuple = selector.Args[0]
    				if !tuple.Type.IsTuple() {
    					f.Fatalf("arg of tuple selector %s is not a tuple: %s", selector.String(), tuple.LongString())
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 02:52:33 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/schedule_test.go

    			Valu("A1carry", OpSelect1, types.TypeFlags, 0, nil, "A1"),
    			Valu("A2", OpARM64ADDSflags, types.NewTuple(c.config.Types.UInt64, types.TypeFlags), 0, nil, "y", "z"), // y+z, set flags
    			Valu("A2carry", OpSelect1, types.TypeFlags, 0, nil, "A2"),
    			Valu("A1value", OpSelect0, c.config.Types.UInt64, 0, nil, "A1"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 01:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/tighten.go

    		for _, v := range b.Values {
    			if v.Op.isLoweredGetClosurePtr() {
    				// Must stay in the entry block.
    				continue
    			}
    			switch v.Op {
    			case OpPhi, OpArg, OpArgIntReg, OpArgFloatReg, OpSelect0, OpSelect1, OpSelectN:
    				// Phis need to stay in their block.
    				// Arg must stay in the entry block.
    				// Tuple selectors must stay with the tuple generator.
    				// SelectN is typically, ultimately, a register.
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritePPC64.go

    			break
    		}
    		c := v_0.Args[2]
    		x := v_0.Args[0]
    		y := v_0.Args[1]
    		v.reset(OpPPC64ADDZEzero)
    		v0 := b.NewValue0(v.Pos, OpSelect1, typ.UInt64)
    		v1 := b.NewValue0(v.Pos, OpPPC64ADDE, types.NewTuple(typ.UInt64, typ.UInt64))
    		v2 := b.NewValue0(v.Pos, OpSelect1, typ.UInt64)
    		v3 := b.NewValue0(v.Pos, OpPPC64ADDCconst, types.NewTuple(typ.UInt64, typ.UInt64))
    		v3.AuxInt = int64ToAuxInt(-1)
    		v3.AddArg(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/cse.go

    		return lt2Cmp(v.ID < w.ID)
    	}
    	// OpSelect is a pseudo-op. We need to be more aggressive
    	// regarding CSE to keep multiple OpSelect's of the same
    	// argument from existing.
    	if v.Op != OpSelect0 && v.Op != OpSelect1 && v.Op != OpSelectN {
    		if tc := v.Type.Compare(w.Type); tc != types.CMPeq {
    			return tc
    		}
    	}
    
    	if v.Aux != w.Aux {
    		if v.Aux == nil {
    			return types.CMPlt
    		}
    		if w.Aux == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    		if !ir.IsIntrinsicCall(call) {
    			s.Fatalf("non-intrinsic AS2FUNC not expanded %v", call)
    		}
    		v := s.intrinsicCall(call)
    		v1 := s.newValue1(ssa.OpSelect0, n.Lhs[0].Type(), v)
    		v2 := s.newValue1(ssa.OpSelect1, n.Lhs[1].Type(), v)
    		s.assign(n.Lhs[0], v1, false, 0)
    		s.assign(n.Lhs[1], v2, false, 0)
    		return
    
    	case ir.ODCL:
    		n := n.(*ir.Decl)
    		if v := n.X; v.Esc() == ir.EscHeap {
    			s.newHeapaddr(v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	case OpRsh8x64:
    		return rewriteValueMIPS64_OpRsh8x64(v)
    	case OpRsh8x8:
    		return rewriteValueMIPS64_OpRsh8x8(v)
    	case OpSelect0:
    		return rewriteValueMIPS64_OpSelect0(v)
    	case OpSelect1:
    		return rewriteValueMIPS64_OpSelect1(v)
    	case OpSignExt16to32:
    		v.Op = OpMIPS64MOVHreg
    		return true
    	case OpSignExt16to64:
    		v.Op = OpMIPS64MOVHreg
    		return true
    	case OpSignExt32to64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/schedule.go

    				score[v.ID] = ScoreInitMem
    			case v.Type.IsMemory():
    				// Schedule stores as early as possible. This tends to
    				// reduce register pressure.
    				score[v.ID] = ScoreMemory
    			case v.Op == OpSelect0 || v.Op == OpSelect1 || v.Op == OpSelectN:
    				// Tuple selectors need to appear immediately after the instruction
    				// that generates the tuple.
    				score[v.ID] = ScoreReadTuple
    			case v.hasFlagInput():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top