Skip to content

Commit 231b968

Browse files
committed
Bumped Intel SDE version to 9.38.0
Fixed x86_64-apple-darwin freezing
1 parent 8c975ef commit 231b968

File tree

5 files changed

+7
-26
lines changed

5 files changed

+7
-26
lines changed

.github/workflows/main.yml

+3-13
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
- target: aarch64-unknown-linux-gnu
147147
os: ubuntu-latest
148148
- target: x86_64-apple-darwin
149-
os: macos-11
149+
os: macos-13
150150
- target: x86_64-pc-windows-msvc
151151
os: windows-latest
152152
- target: i686-pc-windows-msvc
@@ -175,21 +175,11 @@ jobs:
175175
- uses: actions/checkout@v4
176176
with:
177177
submodules: recursive
178-
- name: Install Rust (rustup)
179-
run: |
180-
rustup update nightly --no-self-update
181-
rustup default nightly
182-
if: matrix.os != 'macos-latest'
183-
- name: Install Rust (macos)
178+
- name: Install Rust
184179
run: |
185-
curl https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
186-
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
187180
rustup update nightly --no-self-update
188181
rustup default nightly
189-
if: matrix.os == 'macos-latest'
190-
- run: |
191-
rustup default nightly
192-
rustup target add ${{ matrix.target }}
182+
- run: rustup target add ${{ matrix.target }}
193183
if: "!endsWith(matrix.target, 'emulated')"
194184
- name: Setup (aarch64-apple-darwin)
195185
run: |

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

+4-5
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
66
make \
77
ca-certificates \
88
wget \
9-
bzip2
9+
xz-utils
1010

11-
RUN wget https://github.com/gnzlbg/intel_sde/raw/master/sde-external-8.35.0-2019-03-11-lin.tar.bz2
12-
RUN tar -xjf sde-external-8.35.0-2019-03-11-lin.tar.bz2
13-
ENV SKIP_TESTS="avx512bf16"
14-
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="/sde-external-8.35.0-2019-03-11-lin/sde64 -rtm_mode full --"
11+
RUN wget https://downloadmirror.intel.com/823664/sde-external-9.38.0-2024-04-18-lin.tar.xz
12+
RUN tar -xJf sde-external-9.38.0-2024-04-18-lin.tar.xz
13+
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="/sde-external-9.38.0-2024-04-18-lin/sde64 -rtm_mode=full --"

crates/core_arch/src/x86/avx2.rs

-3
Original file line numberDiff line numberDiff line change
@@ -5200,9 +5200,6 @@ mod tests {
52005200
}
52015201

52025202
#[simd_test(enable = "avx2")]
5203-
// Miri cannot support this until it is clear how it fits in the Rust memory model
5204-
// (non-temporal store)
5205-
#[cfg_attr(miri, ignore)]
52065203
unsafe fn test_mm256_stream_load_si256() {
52075204
let a = _mm256_set_epi64x(5, 6, 7, 8);
52085205
let r = _mm256_stream_load_si256(core::ptr::addr_of!(a) as *const _);

crates/core_arch/src/x86/sse41.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1958,9 +1958,6 @@ mod tests {
19581958
}
19591959

19601960
#[simd_test(enable = "sse4.1")]
1961-
// Miri cannot support this until it is clear how it fits in the Rust memory model
1962-
// (non-temporal store)
1963-
#[cfg_attr(miri, ignore)]
19641961
unsafe fn test_mm_stream_load_si128() {
19651962
let a = _mm_set_epi64x(5, 6);
19661963
let r = _mm_stream_load_si128(core::ptr::addr_of!(a) as *const _);

crates/core_arch/src/x86/xsave.rs

-2
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ mod tests {
254254
}
255255
*/
256256

257-
// FIXME: this looks like a bug in Intel's SDE:
258-
#[cfg(not(stdarch_intel_sde))]
259257
#[simd_test(enable = "xsave,xsavec")]
260258
#[cfg_attr(miri, ignore)] // Register saving/restoring is not supported in Miri
261259
unsafe fn xsavec() {

0 commit comments

Comments
 (0)