Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for secondselect (0.13 sec)

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

    (CondSelect x y (SETBC [a] cmp))  => (ISEL [a] x y cmp)
    (CondSelect x y (SETBCR [a] cmp))  => (ISEL [a+4] x y cmp)
    // Only lower after bool is lowered. It should always lower. This helps ensure the folding below happens reliably.
    (CondSelect x y bool) && flagArg(bool) == nil => (ISEL [6] x y (CMPconst [0] (ANDconst [1] bool)))
    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/rewritePPC64.go

    	typ := &b.Func.Config.Types
    	// match: (CondSelect x y (SETBC [a] cmp))
    	// result: (ISEL [a] x y cmp)
    	for {
    		x := v_0
    		y := v_1
    		if v_2.Op != OpPPC64SETBC {
    			break
    		}
    		a := auxIntToInt32(v_2.AuxInt)
    		cmp := v_2.Args[0]
    		v.reset(OpPPC64ISEL)
    		v.AuxInt = int32ToAuxInt(a)
    		v.AddArg3(x, y, cmp)
    		return true
    	}
    	// match: (CondSelect x y (SETBCR [a] cmp))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
Back to top