Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for canonLessThan (0.13 sec)

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

    (TEQ x (MOVWconst [c])) => (TEQconst [c] x)
    
    (SRR x (MOVWconst [c])) => (SRRconst x [c&31])
    
    // Canonicalize the order of arguments to comparisons - helps with CSE.
    (CMP x y) && canonLessThan(x,y) => (InvertFlags (CMP y x))
    
    // don't extend after proper load
    // MOVWreg instruction is not emitted if src and dst registers are same, but it ensures the type.
    (MOVBreg x:(MOVBload _ _)) => (MOVWreg x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v0.AuxInt = int64ToAuxInt(c)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (CMP x y)
    	// cond: canonLessThan(x,y)
    	// result: (InvertFlags (CMP y x))
    	for {
    		x := v_0
    		y := v_1
    		if !(canonLessThan(x, y)) {
    			break
    		}
    		v.reset(OpARM64InvertFlags)
    		v0 := b.NewValue0(v.Pos, OpARM64CMP, types.TypeFlags)
    		v0.AddArg2(y, x)
    		v.AddArg(v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteARM.go

    		v0.AuxInt = int32ToAuxInt(c)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (CMP x y)
    	// cond: canonLessThan(x,y)
    	// result: (InvertFlags (CMP y x))
    	for {
    		x := v_0
    		y := v_1
    		if !(canonLessThan(x, y)) {
    			break
    		}
    		v.reset(OpARMInvertFlags)
    		v0 := b.NewValue0(v.Pos, OpARMCMP, types.TypeFlags)
    		v0.AddArg2(y, x)
    		v.AddArg(v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
Back to top