Fix target arm-linux-androideabi

Move int16x2_t and uint16x2_t into dsp.rs and export to simd32.rs.
This commit is contained in:
Paolo Teti 2019-03-02 21:13:07 +01:00 committed by gnzlbg
parent 999066b8e2
commit 42cb3a07e6
2 changed files with 8 additions and 5 deletions

View file

@ -24,7 +24,13 @@
use stdsimd_test::assert_instr;
use crate::mem::transmute;
use core_arch::acle::simd32::int16x2_t;
types! {
/// ARM-specific 32-bit wide vector of two packed `i16`.
pub struct int16x2_t(i16, i16);
/// ARM-specific 32-bit wide vector of two packed `u16`.
pub struct uint16x2_t(u16, u16);
}
extern "C" {
#[link_name = "llvm.arm.smulbb"]

View file

@ -66,16 +66,13 @@
use stdsimd_test::assert_instr;
use crate::mem::transmute;
use core_arch::acle::dsp::int16x2_t;
types! {
/// ARM-specific 32-bit wide vector of four packed `i8`.
pub struct int8x4_t(i8, i8, i8, i8);
/// ARM-specific 32-bit wide vector of four packed `u8`.
pub struct uint8x4_t(u8, u8, u8, u8);
/// ARM-specific 32-bit wide vector of two packed `i16`.
pub struct int16x2_t(i16, i16);
/// ARM-specific 32-bit wide vector of two packed `u16`.
pub struct uint16x2_t(u16, u16);
}
macro_rules! dsp_call {