Skip to content

Commit 23531c4

Browse files
committed
discard vmull_p64
1 parent 0a658ba commit 23531c4

File tree

2 files changed

+1
-38
lines changed

2 files changed

+1
-38
lines changed

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

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -6062,34 +6062,6 @@ pub unsafe fn vmull_p8(a: poly8x8_t, b: poly8x8_t) -> poly16x8_t {
60626062
vmull_p8_(a, b)
60636063
}
60646064

6065-
/// Polynomial multiply long
6066-
#[inline]
6067-
#[cfg(target_arch = "arm")]
6068-
#[target_feature(enable = "neon,crypto,v8")]
6069-
#[cfg_attr(all(test, target_arch = "arm"), assert_instr(vmull))]
6070-
pub unsafe fn vmull_p64(a: p64, b: p64) -> p128 {
6071-
#[allow(improper_ctypes)]
6072-
extern "C" {
6073-
#[cfg_attr(target_arch = "arm", link_name = "llvm.arm.neon.vmullp.v2i64")]
6074-
fn vmull_p64_(a: int64x1_t, b: int64x1_t) -> int64x2_t;
6075-
}
6076-
transmute(vmull_p64_(transmute(a), transmute(b)))
6077-
}
6078-
6079-
/// Polynomial multiply long
6080-
#[inline]
6081-
#[cfg(target_arch = "aarch64")]
6082-
#[target_feature(enable = "neon,crypto")]
6083-
#[cfg_attr(all(test, target_arch = "aarch64"), assert_instr(pmull))]
6084-
pub unsafe fn vmull_p64(a: p64, b: p64) -> p128 {
6085-
#[allow(improper_ctypes)]
6086-
extern "C" {
6087-
#[cfg_attr(target_arch = "aarch64", link_name = "llvm.aarch64.neon.pmull64")]
6088-
fn vmull_p64_(a: p64, b: p64) -> int8x16_t;
6089-
}
6090-
transmute(vmull_p64_(a, b))
6091-
}
6092-
60936065
/// Vector long multiply with scalar
60946066
#[inline]
60956067
#[target_feature(enable = "neon")]
@@ -17918,15 +17890,6 @@ mod test {
1791817890
assert_eq!(r, e);
1791917891
}
1792017892

17921-
#[simd_test(enable = "neon")]
17922-
unsafe fn test_vmull_p64() {
17923-
let a: p64 = 15;
17924-
let b: p64 = 3;
17925-
let e: p128 = 17;
17926-
let r: p128 = transmute(vmull_p64(transmute(a), transmute(b)));
17927-
assert_eq!(r, e);
17928-
}
17929-
1793017893
#[simd_test(enable = "neon")]
1793117894
unsafe fn test_vmullh_n_s16() {
1793217895
let a: i16x4 = i16x4::new(1, 2, 3, 4);

crates/stdarch-gen/neon.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2067,7 +2067,7 @@ aarch64 = pmull
20672067
link-aarch64 = pmull64:p64:p64:p64:int8x16_t
20682068
arm = vmull
20692069
link-arm = vmullp.v2i64:int64x1_t:int64x1_t:int64x1_t:int64x2_t
2070-
generate p64:p64:p128
2070+
//generate p64:p64:p128
20712071

20722072

20732073
/// Polynomial multiply long

0 commit comments

Comments
 (0)