All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] support/scripts/gen-bootlin-toolchains: add support for new x86-64 toolchains
@ 2022-01-25  7:40 Yann E. MORIN
  0 siblings, 0 replies; only message in thread
From: Yann E. MORIN @ 2022-01-25  7:40 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=93cb79318147191bf3b9fc2b047c24095f3194bc
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Following the merge of
d6ce2a16814fd96a45888a774da6a4db74cd540a ("arch/Config.in.x86: add
option for -march=x86-64") and
eeace1cc13ce09a0c88ce177465b836d6eb58298 ("arch/Config.in.x86: add support for
x86-64-v2, x86-64-v3, x86-64-v4"), bootlin.toolchains.com now provides
toolchains targetting the x86-64, x86-64-v2, x86-64-v3 and x86-64-v4
architecture variants.

This commits modifies gen-bootlin-toolchains to support these
toolchains. It should be noted that the description for the x86-64-v3
and x86-64-v4 toolchains are for now the same, as Buildroot doesn't
yet have the options to describe the extra features that x86-64-v4
expects to find on the hardware platform.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
 support/scripts/gen-bootlin-toolchains | 48 ++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/support/scripts/gen-bootlin-toolchains b/support/scripts/gen-bootlin-toolchains
index f160a44152..a42ddb4097 100755
--- a/support/scripts/gen-bootlin-toolchains
+++ b/support/scripts/gen-bootlin-toolchains
@@ -178,6 +178,54 @@ arches = {
         'conditions': ['BR2_sparc', 'BR2_sparc_v8'],
         'prefix': 'sparc',
     },
+    'x86-64': {
+        'conditions': ['BR2_x86_64',
+                       'BR2_X86_CPU_HAS_MMX',
+                       'BR2_X86_CPU_HAS_SSE',
+                       'BR2_X86_CPU_HAS_SSE2'],
+        'test_options': ['BR2_x86_64', 'BR2_x86_x86_64'],
+        'prefix': 'x86_64',
+    },
+    'x86-64-v2': {
+        'conditions': ['BR2_x86_64',
+                       'BR2_X86_CPU_HAS_MMX',
+                       'BR2_X86_CPU_HAS_SSE',
+                       'BR2_X86_CPU_HAS_SSE2',
+                       'BR2_X86_CPU_HAS_SSE3',
+                       'BR2_X86_CPU_HAS_SSSE3',
+                       'BR2_X86_CPU_HAS_SSE4',
+                       'BR2_X86_CPU_HAS_SSE42'],
+        'test_options': ['BR2_x86_64', 'BR2_x86_x86_64_v2'],
+        'prefix': 'x86_64',
+    },
+    'x86-64-v3': {
+        'conditions': ['BR2_x86_64',
+                       'BR2_X86_CPU_HAS_MMX',
+                       'BR2_X86_CPU_HAS_SSE',
+                       'BR2_X86_CPU_HAS_SSE2',
+                       'BR2_X86_CPU_HAS_SSE3',
+                       'BR2_X86_CPU_HAS_SSSE3',
+                       'BR2_X86_CPU_HAS_SSE4',
+                       'BR2_X86_CPU_HAS_SSE42',
+                       'BR2_X86_CPU_HAS_AVX',
+                       'BR2_X86_CPU_HAS_AVX2'],
+        'test_options': ['BR2_x86_64', 'BR2_x86_x86_64_v3'],
+        'prefix': 'x86_64',
+    },
+    'x86-64-v4': {
+        'conditions': ['BR2_x86_64',
+                       'BR2_X86_CPU_HAS_MMX',
+                       'BR2_X86_CPU_HAS_SSE',
+                       'BR2_X86_CPU_HAS_SSE2',
+                       'BR2_X86_CPU_HAS_SSE3',
+                       'BR2_X86_CPU_HAS_SSSE3',
+                       'BR2_X86_CPU_HAS_SSE4',
+                       'BR2_X86_CPU_HAS_SSE42',
+                       'BR2_X86_CPU_HAS_AVX',
+                       'BR2_X86_CPU_HAS_AVX2'],
+        'test_options': ['BR2_x86_64', 'BR2_x86_x86_64_v4'],
+        'prefix': 'x86_64',
+    },
     'x86-64-core-i7': {
         'conditions': ['BR2_x86_64',
                        'BR2_X86_CPU_HAS_MMX',
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-25  7:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25  7:40 [Buildroot] [git commit] support/scripts/gen-bootlin-toolchains: add support for new x86-64 toolchains Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.