Skip to content

Commit a356d81

Browse files
authored
Merge pull request #2007 from nikic/ci-test
Update expected instructions for LLVM 22
2 parents 9040e2f + d36f78a commit a356d81

6 files changed

Lines changed: 46 additions & 46 deletions

File tree

crates/core_arch/src/aarch64/neon/generated.rs

Lines changed: 39 additions & 39 deletions
Large diffs are not rendered by default.

crates/core_arch/src/powerpc/altivec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3249,7 +3249,7 @@ mod sealed {
32493249
unsafe fn vec_round(self) -> Self;
32503250
}
32513251

3252-
test_impl! { vec_vrfin(a: vector_float) -> vector_float [vrfin, xvrspic] }
3252+
test_impl! { vec_vrfin(a: vector_float) -> vector_float [vrfin, vrfin] }
32533253

32543254
#[unstable(feature = "stdarch_powerpc", issue = "111145")]
32553255
impl VectorRound for vector_float {

crates/core_arch/src/x86/avx.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2426,7 +2426,6 @@ pub const fn _mm256_setzero_si256() -> __m256i {
24262426
#[inline]
24272427
#[target_feature(enable = "avx")]
24282428
// This intrinsic has no corresponding instruction.
2429-
#[cfg_attr(test, assert_instr(vinsertf128))]
24302429
#[stable(feature = "simd_x86", since = "1.27.0")]
24312430
#[rustc_const_unstable(feature = "stdarch_const_x86", issue = "149298")]
24322431
pub const fn _mm256_set_pd(a: f64, b: f64, c: f64, d: f64) -> __m256d {

crates/core_arch/src/x86/sse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ pub const fn _mm_set_ps1(a: f32) -> __m128 {
968968
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_set_ps)
969969
#[inline]
970970
#[target_feature(enable = "sse")]
971-
#[cfg_attr(test, assert_instr(unpcklps))]
971+
// This intrinsic has no corresponding instruction.
972972
#[stable(feature = "simd_x86", since = "1.27.0")]
973973
#[rustc_const_unstable(feature = "stdarch_const_x86", issue = "149298")]
974974
pub const fn _mm_set_ps(a: f32, b: f32, c: f32, d: f32) -> __m128 {

crates/stdarch-gen-arm/spec/neon/aarch64.spec.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8958,7 +8958,7 @@ intrinsics:
89588958
arguments: ["a: {neon_type[0]}", "b: {neon_type[1]}"]
89598959
return_type: "{neon_type[2]}"
89608960
attr:
8961-
- FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [mov, 'LANE1 = 0', 'LANE2 = 1']]}]]
8961+
- FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [mov, 'LANE1 = 0', 'LANE2 = 0']]}]]
89628962
- FnCall: [rustc_legacy_const_generics, ['1', '3']]
89638963
- FnCall: [stable, ['feature = "neon_intrinsics"', 'since = "1.59.0"']]
89648964
static_defs: ['const LANE1: i32, const LANE2: i32']
@@ -8983,7 +8983,7 @@ intrinsics:
89838983
arguments: ["a: {neon_type[0]}", "b: {neon_type[1]}"]
89848984
return_type: "{neon_type[2]}"
89858985
attr:
8986-
- FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [mov, 'LANE1 = 0', 'LANE2 = 1']]}]]
8986+
- FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [mov, 'LANE1 = 0', 'LANE2 = 0']]}]]
89878987
- FnCall: [rustc_legacy_const_generics, ['1', '3']]
89888988
- FnCall: [stable, ['feature = "neon_intrinsics"', 'since = "1.59.0"']]
89898989
static_defs: ['const LANE1: i32, const LANE2: i32']
@@ -9008,7 +9008,7 @@ intrinsics:
90089008
arguments: ["a: {neon_type[0]}", "b: {neon_type[1]}"]
90099009
return_type: "{neon_type[2]}"
90109010
attr:
9011-
- FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [mov, 'LANE1 = 0', 'LANE2 = 1']]}]]
9011+
- FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [mov, 'LANE1 = 0', 'LANE2 = 0']]}]]
90129012
- FnCall: [rustc_legacy_const_generics, ['1', '3']]
90139013
- FnCall: [stable, ['feature = "neon_intrinsics"', 'since = "1.59.0"']]
90149014
static_defs: ['const LANE1: i32, const LANE2: i32']
@@ -9037,7 +9037,7 @@ intrinsics:
90379037
arguments: ["a: {neon_type[0]}", "b: {neon_type[1]}"]
90389038
return_type: "{neon_type[2]}"
90399039
attr:
9040-
- FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [mov, 'LANE1 = 0', 'LANE2 = 1']]}]]
9040+
- FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [mov, 'LANE1 = 0', 'LANE2 = 0']]}]]
90419041
- FnCall: [rustc_legacy_const_generics, ['1', '3']]
90429042
- FnCall: [stable, ['feature = "neon_intrinsics"', 'since = "1.59.0"']]
90439043
static_defs: ['const LANE1: i32, const LANE2: i32']

crates/stdarch-gen-arm/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ fn parse_args() -> Vec<(PathBuf, Option<PathBuf>)> {
139139
.into_iter()
140140
.filter_map(Result::ok)
141141
.filter(|f| f.file_type().is_file())
142+
.filter(|f| f.file_name().to_string_lossy().ends_with(".yml"))
142143
.map(|f| (f.into_path(), out_dir.clone()))
143144
.collect()
144145
}

0 commit comments

Comments
 (0)