Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for OpSelect1 (0.22 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		v.reset(OpAMD64NEGQ)
    		v.Type = typ.UInt64
    		v0 := b.NewValue0(v.Pos, OpAMD64SBBQcarrymask, typ.UInt64)
    		v1 := b.NewValue0(v.Pos, OpSelect1, types.TypeFlags)
    		v2 := b.NewValue0(v.Pos, OpAMD64ADCQ, types.NewTuple(typ.UInt64, types.TypeFlags))
    		v3 := b.NewValue0(v.Pos, OpSelect1, types.TypeFlags)
    		v4 := b.NewValue0(v.Pos, OpAMD64NEGLflags, types.NewTuple(typ.UInt32, types.TypeFlags))
    		v4.AddArg(c)
    		v3.AddArg(v4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		}
    
    		// If this is a tuple containing a mem, select just
    		// the mem. This will generate ops we don't need, but
    		// it's the easiest thing to do.
    		if last.Type.IsTuple() {
    			last = b.NewValue1(last.Pos, OpSelect1, types.TypeMem, last)
    		} else if last.Type.IsResults() {
    			last = b.NewValue1I(last.Pos, OpSelectN, types.TypeMem, int64(last.Type.NumFields()-1), last)
    		}
    
    		lastMems[b.ID] = last
    	}
    	return lastMems
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    		// most other architectures load them sign/zero extended based on the type.
    		return x.Type.Size() == 4 && (x.Type.IsUnsigned() || x.Block.Func.Config.arch == "amd64")
    	case OpPhi, OpSelect0, OpSelect1:
    		// Phis can use each-other as an arguments, instead of tracking visited values,
    		// just limit recursion depth.
    		if depth <= 0 {
    			return false
    		}
    		for i := range x.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteS390X.go

    			break
    		}
    		v.reset(OpSelect1)
    		v.AddArg(x)
    		return true
    	}
    	// match: (LTDBR (Select0 x:(FSUB _ _)))
    	// cond: b == x.Block
    	// result: (Select1 x)
    	for {
    		if v_0.Op != OpSelect0 {
    			break
    		}
    		x := v_0.Args[0]
    		if x.Op != OpS390XFSUB || !(b == x.Block) {
    			break
    		}
    		v.reset(OpSelect1)
    		v.AddArg(x)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/writebarrier.go

    				curCall = bThen.NewValue1(pos, OpWB, t, memThen)
    				curPtr = bThen.NewValue1(pos, OpSelect0, types.Types[types.TUINTPTR].PtrTo(), curCall)
    				memThen = bThen.NewValue1(pos, OpSelect1, types.TypeMem, curCall)
    			}
    			// Store value in write buffer
    			num := curCall.AuxInt
    			curCall.AuxInt = num + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
Back to top