Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 471e181f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Replace goldmont-without-xsaves build with goldmont-without-sha-xsaves" into main

parents 2a7e1843 b6d818db
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -34,11 +34,11 @@ var archVariants = map[ArchType][]string{
		"broadwell",
		"goldmont",
		"goldmont-plus",
		// Target arch is goldmont, but without xsaves support.
		// Target arch is goldmont, but without supporting SHA and XSAVES.
		// This ensures efficient execution on a broad range of Intel/AMD CPUs used
		// in Chromebooks, including those lacking xsaves support.
		// in Chromebooks, including those lacking SHA or XSAVES support.
		// (e.g. Kaby Lake, Gemini Lake, Alder Lake and AMD Zen series)
		"goldmont-without-xsaves",
		"goldmont-without-sha-xsaves",
		"haswell",
		"icelake",
		"ivybridge",
@@ -57,7 +57,7 @@ var archVariants = map[ArchType][]string{
		"broadwell",
		"goldmont",
		"goldmont-plus",
		"goldmont-without-xsaves",
		"goldmont-without-sha-xsaves",
		"haswell",
		"icelake",
		"ivybridge",
@@ -203,7 +203,7 @@ var androidArchFeatureMap = map[ArchType]map[string][]string{
			"popcnt",
			"movbe",
		},
		"goldmont-without-xsaves": {
		"goldmont-without-sha-xsaves": {
			"ssse3",
			"sse4",
			"sse4_1",
@@ -373,7 +373,7 @@ var androidArchFeatureMap = map[ArchType]map[string][]string{
			"aes_ni",
			"popcnt",
		},
		"goldmont-without-xsaves": {
		"goldmont-without-sha-xsaves": {
			"ssse3",
			"sse4",
			"sse4_1",
+2 −1
Original line number Diff line number Diff line
@@ -49,8 +49,9 @@ var (
		"goldmont-plus": []string{
			"-march=goldmont-plus",
		},
		"goldmont-without-xsaves": []string{
		"goldmont-without-sha-xsaves": []string{
			"-march=goldmont",
			"-mno-sha",
			"-mno-xsaves",
		},
		"haswell": []string{
+2 −1
Original line number Diff line number Diff line
@@ -56,8 +56,9 @@ var (
		"goldmont-plus": []string{
			"-march=goldmont-plus",
		},
		"goldmont-without-xsaves": []string{
		"goldmont-without-sha-xsaves": []string{
			"-march=goldmont",
			"-mno-sha",
			"-mno-xsaves",
		},
		"haswell": []string{
+10 −10
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ var (
		"broadwell":                   []string{"-C target-cpu=broadwell"},
		"goldmont":                    []string{"-C target-cpu=goldmont"},
		"goldmont-plus":               []string{"-C target-cpu=goldmont-plus"},
		"goldmont-without-xsaves": []string{"-C target-cpu=goldmont", "-C target-feature=-xsaves"},
		"goldmont-without-sha-xsaves": []string{"-C target-cpu=goldmont", "-C target-feature=-sha,-xsaves"},
		"haswell":                     []string{"-C target-cpu=haswell"},
		"ivybridge":                   []string{"-C target-cpu=ivybridge"},
		"sandybridge":                 []string{"-C target-cpu=sandybridge"},
+11 −11
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ var (
		"broadwell":                   []string{"-C target-cpu=broadwell"},
		"goldmont":                    []string{"-C target-cpu=goldmont"},
		"goldmont-plus":               []string{"-C target-cpu=goldmont-plus"},
		"goldmont-without-xsaves": []string{"-C target-cpu=goldmont", "-C target-feature=-xsaves"},
		"goldmont-without-sha-xsaves": []string{"-C target-cpu=goldmont", "-C target-feature=-sha,-xsaves"},
		"haswell":                     []string{"-C target-cpu=haswell"},
		"ivybridge":                   []string{"-C target-cpu=ivybridge"},
		"sandybridge":                 []string{"-C target-cpu=sandybridge"},