Skip to content

Commit eec5cd9

Browse files
committed
Mark alias test wrappers as const fn where supported and clean up skip list
1 parent 4289c08 commit eec5cd9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

crates/core_arch/src/x86/sse.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,7 @@ mod tests {
30713071
}
30723072

30733073
#[simd_test(enable = "sse")]
3074-
fn test_mm_cvtsi32_ss() {
3074+
const fn test_mm_cvtsi32_ss() {
30753075
test_mm_cvtsi32_ss_impl!(_mm_cvtsi32_ss);
30763076
}
30773077

@@ -3207,12 +3207,12 @@ mod tests {
32073207
}
32083208

32093209
#[simd_test(enable = "sse")]
3210-
fn test_mm_load1_ps() {
3210+
const fn test_mm_load1_ps() {
32113211
test_mm_load1_ps_impl!(_mm_load1_ps);
32123212
}
32133213

32143214
#[simd_test(enable = "sse")]
3215-
fn test_mm_load_ps1() {
3215+
const fn test_mm_load_ps1() {
32163216
test_mm_load1_ps_impl!(_mm_load_ps1);
32173217
}
32183218

@@ -3276,12 +3276,12 @@ mod tests {
32763276
}
32773277

32783278
#[simd_test(enable = "sse")]
3279-
fn test_mm_store1_ps() {
3279+
const fn test_mm_store1_ps() {
32803280
test_mm_store1_ps_impl!(_mm_store1_ps);
32813281
}
32823282

32833283
#[simd_test(enable = "sse")]
3284-
fn test_mm_store_ps1() {
3284+
const fn test_mm_store_ps1() {
32853285
test_mm_store1_ps_impl!(_mm_store_ps1);
32863286
}
32873287

crates/stdarch-verify/tests/x86-intel.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ fn verify_all_signatures() {
250250
"_mm_cvt_ss2si",
251251
"_mm_cvtt_ss2si",
252252
"_mm_cvt_si2ss",
253-
"_mm_set_ps1",
254253
"_mm_bslli_si128",
255254
"_mm_bsrli_si128",
256255
"_bextr2_u32",

0 commit comments

Comments
 (0)