Skip to content

Commit 8b51bf5

Browse files
authored
Merge pull request #1940 from sayantn/disable-amd
Disable AMD-specific intrinsic tests in the SDE run
2 parents a2725c9 + 93b2b12 commit 8b51bf5

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ci/docker/x86_64-unknown-linux-gnu/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ RUN tar -xJf sde.tar.xz --strip-components=1 -C intel-sde
1414
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="/intel-sde/sde64 \
1515
-cpuid-in /checkout/ci/docker/x86_64-unknown-linux-gnu/cpuid.def \
1616
-rtm-mode full -tsx --"
17+
# SDE doesn't support AMD extensions
18+
# FIXME: find a way to test these
19+
ENV STDARCH_TEST_SKIP_FEATURE="sse4a,tbm,xop"

ci/docker/x86_64-unknown-linux-gnu/cpuid.def

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# CPUID_VERSION = 1.0
1313
# Input => Output
1414
# EAX ECX => EAX EBX ECX EDX
15-
00000000 ******** => 00000024 68747541 444d4163 69746e65
15+
00000000 ******** => 00000024 756e6547 6c65746e 49656e69
1616
00000001 ******** => 00400f10 00100800 7ffaf3ff bfebfbff
1717
00000002 ******** => 76035a01 00f0b6ff 00000000 00c10000
1818
00000003 ******** => 00000000 00000000 00000000 00000000
@@ -49,7 +49,7 @@
4949
00000024 00000000 => 00000001 00070002 00000000 00000000 #AVX10
5050
00000024 00000001 => 00000000 00000000 00000004 00000000
5151
80000000 ******** => 80000008 00000000 00000000 00000000
52-
80000001 ******** => 00000000 00000000 00200961 2c100000
52+
80000001 ******** => 00000000 00000000 00000121 2c100000
5353
80000002 ******** => 00000000 00000000 00000000 00000000
5454
80000003 ******** => 00000000 00000000 00000000 00000000
5555
80000004 ******** => 00000000 00000000 00000000 00000000
@@ -59,5 +59,4 @@
5959
80000008 ******** => 00003028 00000200 00000200 00000000
6060

6161
# This file was copied from intel-sde/misc/cpuid/future/cpuid.def, and modified to
62-
# use "AuthenticAMD" as the vendor and the support for `XOP`, `SSE4a`, `TBM`,
63-
# `AVX512_VP2INTERSECT` and the VEX variants of AVX512 was added in the CPUID.
62+
# add support for `AVX512_VP2INTERSECT`

0 commit comments

Comments
 (0)