File tree 1 file changed +15
-0
lines changed
crates/core_arch/src/arm_shared/neon
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,25 @@ use crate::{
11
11
#[ cfg( test) ]
12
12
use stdarch_test:: assert_instr;
13
13
14
+ // Polynomial types are signed on ARM and unsigned on AArch64. However the
15
+ // situation for poly64_t on ARM is less clear: it is signed in Clang but
16
+ // unsigned in GCC. We follow Clang here for now.
17
+ #[ cfg( target_arch = "aarch64" ) ]
14
18
pub ( crate ) type p8 = u8 ;
19
+ #[ cfg( target_arch = "aarch64" ) ]
15
20
pub ( crate ) type p16 = u16 ;
21
+ #[ cfg( target_arch = "aarch64" ) ]
16
22
pub ( crate ) type p64 = u64 ;
23
+ #[ cfg( target_arch = "aarch64" ) ]
17
24
pub ( crate ) type p128 = u128 ;
25
+ #[ cfg( target_arch = "arm" ) ]
26
+ pub ( crate ) type p8 = i8 ;
27
+ #[ cfg( target_arch = "arm" ) ]
28
+ pub ( crate ) type p16 = i16 ;
29
+ #[ cfg( target_arch = "arm" ) ]
30
+ pub ( crate ) type p64 = i64 ;
31
+ #[ cfg( target_arch = "arm" ) ]
32
+ pub ( crate ) type p128 = i128 ;
18
33
19
34
types ! {
20
35
/// ARM-specific 64-bit wide vector of eight packed `i8`.
You can’t perform that action at this time.
0 commit comments