File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
crates/core_arch/src/acle Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 24
24
use stdsimd_test:: assert_instr;
25
25
26
26
use crate :: mem:: transmute;
27
- use core_arch:: acle:: simd32:: int16x2_t;
27
+
28
+ types ! {
29
+ /// ARM-specific 32-bit wide vector of two packed `i16`.
30
+ pub struct int16x2_t( i16 , i16 ) ;
31
+ /// ARM-specific 32-bit wide vector of two packed `u16`.
32
+ pub struct uint16x2_t( u16 , u16 ) ;
33
+ }
28
34
29
35
extern "C" {
30
36
#[ link_name = "llvm.arm.smulbb" ]
Original file line number Diff line number Diff line change 66
66
use stdsimd_test:: assert_instr;
67
67
68
68
use crate :: mem:: transmute;
69
+ use core_arch:: acle:: dsp:: int16x2_t;
69
70
70
71
types ! {
71
72
/// ARM-specific 32-bit wide vector of four packed `i8`.
72
73
pub struct int8x4_t( i8 , i8 , i8 , i8 ) ;
73
74
/// ARM-specific 32-bit wide vector of four packed `u8`.
74
75
pub struct uint8x4_t( u8 , u8 , u8 , u8 ) ;
75
- /// ARM-specific 32-bit wide vector of two packed `i16`.
76
- pub struct int16x2_t( i16 , i16 ) ;
77
- /// ARM-specific 32-bit wide vector of two packed `u16`.
78
- pub struct uint16x2_t( u16 , u16 ) ;
79
76
}
80
77
81
78
macro_rules! dsp_call {
You can’t perform that action at this time.
0 commit comments