Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ParseGoarm64 (0.13 sec)

  1. src/internal/buildcfg/cfg_test.go

    	if goarm64().Version != "v9.0" || goarm64().LSE != true || goarm64().Crypto != false {
    		t.Errorf("Wrong parsing of GOARM64=v9.0")
    	}
    }
    
    func TestGoarm64FeaturesSupports(t *testing.T) {
    	g, _ := ParseGoarm64("v9.3")
    
    	if !g.Supports("v9.3") {
    		t.Errorf("Wrong goarm64Features.Supports for v9.3, v9.3")
    	}
    
    	if g.Supports("v9.4") {
    		t.Errorf("Wrong goarm64Features.Supports for v9.3, v9.4")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/internal/buildcfg/cfg.go

    }
    
    func (g Goarm64Features) String() string {
    	arm64Str := g.Version
    	if g.LSE {
    		arm64Str += ",lse"
    	}
    	if g.Crypto {
    		arm64Str += ",crypto"
    	}
    	return arm64Str
    }
    
    func ParseGoarm64(v string) (g Goarm64Features, e error) {
    	const (
    		lseOpt    = ",lse"
    		cryptoOpt = ",crypto"
    	)
    
    	g.LSE = false
    	g.Crypto = false
    	// We allow any combination of suffixes, in any order
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/gc.go

    			args = append(args, "-D", "GOARM_6")
    			fallthrough
    		default:
    			args = append(args, "-D", "GOARM_5")
    		}
    	}
    
    	if cfg.Goarch == "arm64" {
    		g, err := buildcfg.ParseGoarm64(cfg.GOARM64)
    		if err == nil && g.LSE {
    			args = append(args, "-D", "GOARM64_LSE")
    		}
    	}
    
    	return args
    }
    
    func (gcToolchain) asm(b *Builder, a *Action, sfiles []string) ([]string, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top