summaryrefslogtreecommitdiff
path: root/profiles/base/cpu/amd
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/base/cpu/amd')
-rw-r--r--profiles/base/cpu/amd/eapi1
-rw-r--r--profiles/base/cpu/amd/make.defaults3
-rw-r--r--profiles/base/cpu/amd/package.use1
-rw-r--r--profiles/base/cpu/amd/parent1
4 files changed, 6 insertions, 0 deletions
diff --git a/profiles/base/cpu/amd/eapi b/profiles/base/cpu/amd/eapi
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/profiles/base/cpu/amd/eapi
@@ -0,0 +1 @@
+7
diff --git a/profiles/base/cpu/amd/make.defaults b/profiles/base/cpu/amd/make.defaults
new file mode 100644
index 0000000..5e81b49
--- /dev/null
+++ b/profiles/base/cpu/amd/make.defaults
@@ -0,0 +1,3 @@
+# vim:ft=gentoo-make-conf
+# This applies at least for Ryzen 1800x and 2700x
+CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
diff --git a/profiles/base/cpu/amd/package.use b/profiles/base/cpu/amd/package.use
new file mode 100644
index 0000000..8f41fa9
--- /dev/null
+++ b/profiles/base/cpu/amd/package.use
@@ -0,0 +1 @@
+sys-kernel/linux amd
diff --git a/profiles/base/cpu/amd/parent b/profiles/base/cpu/amd/parent
new file mode 100644
index 0000000..eb4d905
--- /dev/null
+++ b/profiles/base/cpu/amd/parent
@@ -0,0 +1 @@
+../