Skip to content

Commit

Permalink
Fix duplicated argument name in extern block
Browse files Browse the repository at this point in the history
While rustc accepts it just fine due to what is arguably a bug, this
duplication does become an issue when generating functions from the llvm
intrinsic declarations while reusing the argument names.
  • Loading branch information
bjorn3 authored and Amanieu committed Jun 7, 2024
1 parent 443063a commit 5c99f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core_arch/src/x86/avx512f.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41458,7 +41458,7 @@ extern "C" {
fn vfixupimmsdz(a: f64x2, b: f64x2, c: i64x2, imm8: i32, mask: u8, sae: i32) -> f64x2;

#[link_name = "llvm.x86.avx512.mask.cvtss2sd.round"]
fn vcvtss2sd(a: f64x2, a: f32x4, src: f64x2, mask: u8, sae: i32) -> f64x2;
fn vcvtss2sd(a: f64x2, b: f32x4, src: f64x2, mask: u8, sae: i32) -> f64x2;
#[link_name = "llvm.x86.avx512.mask.cvtsd2ss.round"]
fn vcvtsd2ss(a: f32x4, b: f64x2, src: f32x4, mask: u8, rounding: i32) -> f32x4;

Expand Down

0 comments on commit 5c99f84

Please sign in to comment.