Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for needRegister (0.56 sec)

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

    			}
    			// Count arguments which will need a register.
    			narg := 0
    			for _, a := range v.Args {
    				// SP and SB are special registers and have no effect on
    				// the allocation of general-purpose registers.
    				if a.needRegister() && a.Op != OpSB && a.Op != OpSP {
    					narg++
    				}
    			}
    			if narg >= 2 && !v.Type.IsFlags() {
    				// Don't move values with more than one input, as that may
    				// increase register pressure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top