eclass/tests/toolchain.sh: add znver2 downgrade test
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 10 May 2020 01:02:07 +0000 (02:02 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 10 May 2020 01:02:07 +0000 (02:02 +0100)
Bug: https://bugs.gentoo.org/721690
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/tests/toolchain.sh

index 1d05f6c126ba020faaf3fbb64aa3d61d43ad583a..e69e0c8f1dd2749e077ef5b567c12abfe560cd30 100755 (executable)
@@ -83,6 +83,7 @@ test_downgrade_arch_flags 3.3 "-march=k6-2"       "-march=geode -mtune=barcelona
 test_downgrade_arch_flags 3.4 "-march=k8"         "-march=btver2 -mtune=generic"
 
 test_downgrade_arch_flags 10  "-march=native"     "-march=native"
+test_downgrade_arch_flags 8   "-march=znver1"     "-march=znver2"
 test_downgrade_arch_flags 4.2 "-march=native"     "-march=native"
 test_downgrade_arch_flags 4.1 "-march=nocona"     "-march=native"