File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/core_arch/src/aarch64 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ types! {
18
18
pub struct float64x2_t( f64 , f64 ) ;
19
19
/// ARM-specific 64-bit wide vector of one packed `p64`.
20
20
pub struct poly64x1_t( i64 ) ; // FIXME: check this!
21
+ /// ARM-specific 64-bit wide vector of one packed `p64`.
22
+ pub struct poly64_t( i64 ) ; // FIXME: check this!
21
23
/// ARM-specific 64-bit wide vector of two packed `p64`.
22
24
pub struct poly64x2_t( i64 , i64 ) ; // FIXME: check this!
23
25
/// ARM-specific 128-bit wide vector of one packed `p64`.
@@ -64,8 +66,6 @@ pub struct poly8x16x4_t(
64
66
pub poly8x16_t ,
65
67
) ;
66
68
67
- pub type poly64_t = i64 ;
68
-
69
69
#[ allow( improper_ctypes) ]
70
70
extern "C" {
71
71
#[ link_name = "llvm.aarch64.neon.pmull64" ]
@@ -1766,7 +1766,7 @@ mod tests {
1766
1766
let a: i64 = 8 ;
1767
1767
let b: i64 = 7 ;
1768
1768
let e: i128 = 56 ;
1769
- let r: i128 = transmute ( vmull_p64 ( a , b ) ) ;
1769
+ let r: i128 = transmute ( vmull_p64 ( transmute ( a ) , transmute ( b ) ) ) ;
1770
1770
assert_eq ! ( r, e) ;
1771
1771
1772
1772
/*
You can’t perform that action at this time.
0 commit comments