2014-06-28 05:25:42 +08:00
|
|
|
/*===---- arm_acle.h - ARM Non-Neon intrinsics -----------------------------===
|
|
|
|
*
|
2019-04-09 04:51:30 +08:00
|
|
|
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
* See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2014-06-28 05:25:42 +08:00
|
|
|
*
|
|
|
|
*===-----------------------------------------------------------------------===
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ARM_ACLE_H
|
|
|
|
#define __ARM_ACLE_H
|
|
|
|
|
|
|
|
#ifndef __ARM_ACLE
|
|
|
|
#error "ACLE intrinsics support not enabled."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2014-07-08 13:46:00 +08:00
|
|
|
#if defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2014-07-17 20:45:17 +08:00
|
|
|
|
2014-07-14 23:32:29 +08:00
|
|
|
/* 8 SYNCHRONIZATION, BARRIER AND HINT INTRINSICS */
|
2014-07-17 20:45:17 +08:00
|
|
|
/* 8.3 Memory barriers */
|
2020-03-06 09:56:13 +08:00
|
|
|
#if !__has_builtin(__dmb)
|
2014-07-17 20:45:17 +08:00
|
|
|
#define __dmb(i) __builtin_arm_dmb(i)
|
2020-03-06 09:56:13 +08:00
|
|
|
#endif
|
|
|
|
#if !__has_builtin(__dsb)
|
2014-07-17 20:45:17 +08:00
|
|
|
#define __dsb(i) __builtin_arm_dsb(i)
|
2020-03-06 09:56:13 +08:00
|
|
|
#endif
|
|
|
|
#if !__has_builtin(__isb)
|
2014-07-17 20:45:17 +08:00
|
|
|
#define __isb(i) __builtin_arm_isb(i)
|
|
|
|
#endif
|
|
|
|
|
2014-07-14 23:32:29 +08:00
|
|
|
/* 8.4 Hints */
|
2014-07-13 07:27:26 +08:00
|
|
|
|
2020-03-06 09:56:13 +08:00
|
|
|
#if !__has_builtin(__wfi)
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ void __attribute__((__always_inline__, __nodebug__)) __wfi(void) {
|
2014-07-13 07:27:26 +08:00
|
|
|
__builtin_arm_wfi();
|
|
|
|
}
|
2020-03-06 09:56:13 +08:00
|
|
|
#endif
|
2014-07-13 07:27:26 +08:00
|
|
|
|
2020-03-06 09:56:13 +08:00
|
|
|
#if !__has_builtin(__wfe)
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ void __attribute__((__always_inline__, __nodebug__)) __wfe(void) {
|
2014-07-13 07:27:26 +08:00
|
|
|
__builtin_arm_wfe();
|
|
|
|
}
|
2020-03-06 09:56:13 +08:00
|
|
|
#endif
|
2014-07-13 07:27:26 +08:00
|
|
|
|
2020-03-06 09:56:13 +08:00
|
|
|
#if !__has_builtin(__sev)
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ void __attribute__((__always_inline__, __nodebug__)) __sev(void) {
|
2014-07-13 07:27:26 +08:00
|
|
|
__builtin_arm_sev();
|
|
|
|
}
|
2020-03-06 09:56:13 +08:00
|
|
|
#endif
|
2014-07-13 07:27:26 +08:00
|
|
|
|
2020-03-06 09:56:13 +08:00
|
|
|
#if !__has_builtin(__sevl)
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ void __attribute__((__always_inline__, __nodebug__)) __sevl(void) {
|
2014-07-13 07:27:26 +08:00
|
|
|
__builtin_arm_sevl();
|
|
|
|
}
|
2020-03-06 09:56:13 +08:00
|
|
|
#endif
|
2014-07-13 07:27:26 +08:00
|
|
|
|
2020-03-06 09:56:13 +08:00
|
|
|
#if !__has_builtin(__yield)
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ void __attribute__((__always_inline__, __nodebug__)) __yield(void) {
|
2014-07-13 07:27:26 +08:00
|
|
|
__builtin_arm_yield();
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2014-08-26 20:48:11 +08:00
|
|
|
#if __ARM_32BIT_STATE
|
|
|
|
#define __dbg(t) __builtin_arm_dbg(t)
|
|
|
|
#endif
|
|
|
|
|
2014-08-26 17:50:54 +08:00
|
|
|
/* 8.5 Swap */
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__swp(uint32_t __x, volatile uint32_t *__p) {
|
2014-08-26 17:50:54 +08:00
|
|
|
uint32_t v;
|
2016-02-12 10:22:53 +08:00
|
|
|
do
|
|
|
|
v = __builtin_arm_ldrex(__p);
|
|
|
|
while (__builtin_arm_strex(__x, __p));
|
2014-08-26 17:50:54 +08:00
|
|
|
return v;
|
|
|
|
}
|
|
|
|
|
2014-08-14 07:20:15 +08:00
|
|
|
/* 8.6 Memory prefetch intrinsics */
|
|
|
|
/* 8.6.1 Data prefetch */
|
|
|
|
#define __pld(addr) __pldx(0, 0, 0, addr)
|
|
|
|
|
|
|
|
#if __ARM_32BIT_STATE
|
|
|
|
#define __pldx(access_kind, cache_level, retention_policy, addr) \
|
|
|
|
__builtin_arm_prefetch(addr, access_kind, 1)
|
|
|
|
#else
|
|
|
|
#define __pldx(access_kind, cache_level, retention_policy, addr) \
|
|
|
|
__builtin_arm_prefetch(addr, access_kind, cache_level, retention_policy, 1)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 8.6.2 Instruction prefetch */
|
|
|
|
#define __pli(addr) __plix(0, 0, addr)
|
|
|
|
|
|
|
|
#if __ARM_32BIT_STATE
|
|
|
|
#define __plix(cache_level, retention_policy, addr) \
|
|
|
|
__builtin_arm_prefetch(addr, 0, 0)
|
|
|
|
#else
|
|
|
|
#define __plix(cache_level, retention_policy, addr) \
|
|
|
|
__builtin_arm_prefetch(addr, 0, cache_level, retention_policy, 0)
|
|
|
|
#endif
|
|
|
|
|
2014-07-14 23:32:29 +08:00
|
|
|
/* 8.7 NOP */
|
2019-10-30 05:52:56 +08:00
|
|
|
#if !defined(_MSC_VER) || !defined(__aarch64__)
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ void __attribute__((__always_inline__, __nodebug__)) __nop(void) {
|
2014-07-14 23:32:29 +08:00
|
|
|
__builtin_arm_nop();
|
|
|
|
}
|
2019-10-30 05:52:56 +08:00
|
|
|
#endif
|
2014-07-14 23:32:29 +08:00
|
|
|
|
2014-07-13 06:48:13 +08:00
|
|
|
/* 9 DATA-PROCESSING INTRINSICS */
|
|
|
|
/* 9.2 Miscellaneous data-processing intrinsics */
|
2014-08-28 17:44:07 +08:00
|
|
|
/* ROR */
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__ror(uint32_t __x, uint32_t __y) {
|
|
|
|
__y %= 32;
|
|
|
|
if (__y == 0)
|
|
|
|
return __x;
|
|
|
|
return (__x >> __y) | (__x << (32 - __y));
|
2014-08-28 17:44:07 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint64_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__rorll(uint64_t __x, uint32_t __y) {
|
|
|
|
__y %= 64;
|
|
|
|
if (__y == 0)
|
|
|
|
return __x;
|
|
|
|
return (__x >> __y) | (__x << (64 - __y));
|
2014-08-28 17:44:07 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ unsigned long __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__rorl(unsigned long __x, uint32_t __y) {
|
2014-08-28 17:44:07 +08:00
|
|
|
#if __SIZEOF_LONG__ == 4
|
2016-02-12 10:22:53 +08:00
|
|
|
return __ror(__x, __y);
|
2014-08-28 17:44:07 +08:00
|
|
|
#else
|
2016-02-12 10:22:53 +08:00
|
|
|
return __rorll(__x, __y);
|
2014-08-28 17:44:07 +08:00
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* CLZ */
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__clz(uint32_t __t) {
|
|
|
|
return __builtin_clz(__t);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ unsigned long __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__clzl(unsigned long __t) {
|
|
|
|
return __builtin_clzl(__t);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint64_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__clzll(uint64_t __t) {
|
|
|
|
return __builtin_clzll(__t);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2019-10-17 21:10:30 +08:00
|
|
|
/* CLS */
|
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__cls(uint32_t __t) {
|
|
|
|
return __builtin_arm_cls(__t);
|
|
|
|
}
|
|
|
|
|
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__clsl(unsigned long __t) {
|
|
|
|
#if __SIZEOF_LONG__ == 4
|
|
|
|
return __builtin_arm_cls(__t);
|
|
|
|
#else
|
|
|
|
return __builtin_arm_cls64(__t);
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__clsll(uint64_t __t) {
|
|
|
|
return __builtin_arm_cls64(__t);
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:44:07 +08:00
|
|
|
/* REV */
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__rev(uint32_t __t) {
|
|
|
|
return __builtin_bswap32(__t);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ unsigned long __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__revl(unsigned long __t) {
|
2014-06-28 05:25:42 +08:00
|
|
|
#if __SIZEOF_LONG__ == 4
|
2016-02-12 10:22:53 +08:00
|
|
|
return __builtin_bswap32(__t);
|
2014-06-28 05:25:42 +08:00
|
|
|
#else
|
2016-02-12 10:22:53 +08:00
|
|
|
return __builtin_bswap64(__t);
|
2014-06-28 05:25:42 +08:00
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint64_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__revll(uint64_t __t) {
|
|
|
|
return __builtin_bswap64(__t);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2014-08-28 17:44:07 +08:00
|
|
|
/* REV16 */
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__rev16(uint32_t __t) {
|
|
|
|
return __ror(__rev(__t), 16);
|
2014-08-28 17:44:07 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint64_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__rev16ll(uint64_t __t) {
|
|
|
|
return (((uint64_t)__rev16(__t >> 32)) << 32) | __rev16(__t);
|
2015-11-16 22:58:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
static __inline__ unsigned long __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__rev16l(unsigned long __t) {
|
2015-11-16 22:58:50 +08:00
|
|
|
#if __SIZEOF_LONG__ == 4
|
2016-02-12 10:22:53 +08:00
|
|
|
return __rev16(__t);
|
2015-11-16 22:58:50 +08:00
|
|
|
#else
|
2016-02-12 10:22:53 +08:00
|
|
|
return __rev16ll(__t);
|
2015-11-16 22:58:50 +08:00
|
|
|
#endif
|
2014-08-28 17:44:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* REVSH */
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ int16_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__revsh(int16_t __t) {
|
|
|
|
return __builtin_bswap16(__t);
|
2014-08-28 17:44:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* RBIT */
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__rbit(uint32_t __t) {
|
|
|
|
return __builtin_arm_rbit(__t);
|
2014-08-28 17:44:07 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint64_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__rbitll(uint64_t __t) {
|
2014-08-28 17:44:07 +08:00
|
|
|
#if __ARM_32BIT_STATE
|
2016-02-12 10:22:53 +08:00
|
|
|
return (((uint64_t)__builtin_arm_rbit(__t)) << 32) |
|
|
|
|
__builtin_arm_rbit(__t >> 32);
|
2014-08-28 17:44:07 +08:00
|
|
|
#else
|
2016-02-12 10:22:53 +08:00
|
|
|
return __builtin_arm_rbit64(__t);
|
2014-08-28 17:44:07 +08:00
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ unsigned long __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__rbitl(unsigned long __t) {
|
2014-08-28 17:44:07 +08:00
|
|
|
#if __SIZEOF_LONG__ == 4
|
2016-02-12 10:22:53 +08:00
|
|
|
return __rbit(__t);
|
2014-08-28 17:44:07 +08:00
|
|
|
#else
|
2016-02-12 10:22:53 +08:00
|
|
|
return __rbitll(__t);
|
2014-08-28 17:44:07 +08:00
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
2017-05-04 16:37:59 +08:00
|
|
|
/*
|
|
|
|
* 9.3 16-bit multiplications
|
|
|
|
*/
|
|
|
|
#if __ARM_FEATURE_DSP
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__,__nodebug__))
|
|
|
|
__smulbb(int32_t __a, int32_t __b) {
|
|
|
|
return __builtin_arm_smulbb(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__,__nodebug__))
|
|
|
|
__smulbt(int32_t __a, int32_t __b) {
|
|
|
|
return __builtin_arm_smulbt(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__,__nodebug__))
|
|
|
|
__smultb(int32_t __a, int32_t __b) {
|
|
|
|
return __builtin_arm_smultb(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__,__nodebug__))
|
|
|
|
__smultt(int32_t __a, int32_t __b) {
|
|
|
|
return __builtin_arm_smultt(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__,__nodebug__))
|
|
|
|
__smulwb(int32_t __a, int32_t __b) {
|
|
|
|
return __builtin_arm_smulwb(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__,__nodebug__))
|
|
|
|
__smulwt(int32_t __a, int32_t __b) {
|
|
|
|
return __builtin_arm_smulwt(__a, __b);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2014-06-28 05:25:42 +08:00
|
|
|
/*
|
2014-07-13 06:48:13 +08:00
|
|
|
* 9.4 Saturating intrinsics
|
2014-06-28 05:25:42 +08:00
|
|
|
*
|
|
|
|
* FIXME: Change guard to their corrosponding __ARM_FEATURE flag when Q flag
|
|
|
|
* intrinsics are implemented and the flag is enabled.
|
|
|
|
*/
|
2014-07-13 06:48:13 +08:00
|
|
|
/* 9.4.1 Width-specified saturation intrinsics */
|
2017-05-04 16:37:59 +08:00
|
|
|
#if __ARM_FEATURE_SAT
|
2014-06-28 05:25:42 +08:00
|
|
|
#define __ssat(x, y) __builtin_arm_ssat(x, y)
|
|
|
|
#define __usat(x, y) __builtin_arm_usat(x, y)
|
2014-07-13 06:48:13 +08:00
|
|
|
#endif
|
2014-06-28 05:25:42 +08:00
|
|
|
|
2014-07-13 06:48:13 +08:00
|
|
|
/* 9.4.2 Saturating addition and subtraction intrinsics */
|
2017-05-04 16:37:59 +08:00
|
|
|
#if __ARM_FEATURE_DSP
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__qadd(int32_t __t, int32_t __v) {
|
|
|
|
return __builtin_arm_qadd(__t, __v);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__qsub(int32_t __t, int32_t __v) {
|
|
|
|
return __builtin_arm_qsub(__t, __v);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
2014-07-03 18:14:52 +08:00
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__qdbl(int32_t __t) {
|
|
|
|
return __builtin_arm_qadd(__t, __t);
|
2014-07-03 18:14:52 +08:00
|
|
|
}
|
2014-06-28 05:25:42 +08:00
|
|
|
#endif
|
|
|
|
|
2017-05-04 16:37:59 +08:00
|
|
|
/* 9.4.3 Accumultating multiplications */
|
|
|
|
#if __ARM_FEATURE_DSP
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlabb(int32_t __a, int32_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smlabb(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlabt(int32_t __a, int32_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smlabt(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlatb(int32_t __a, int32_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smlatb(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlatt(int32_t __a, int32_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smlatt(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlawb(int32_t __a, int32_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smlawb(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlawt(int32_t __a, int32_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smlawt(__a, __b, __c);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* 9.5.4 Parallel 16-bit saturation */
|
|
|
|
#if __ARM_FEATURE_SIMD32
|
|
|
|
#define __ssat16(x, y) __builtin_arm_ssat16(x, y)
|
|
|
|
#define __usat16(x, y) __builtin_arm_usat16(x, y)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 9.5.5 Packing and unpacking */
|
|
|
|
#if __ARM_FEATURE_SIMD32
|
|
|
|
typedef int32_t int8x4_t;
|
|
|
|
typedef int32_t int16x2_t;
|
|
|
|
typedef uint32_t uint8x4_t;
|
|
|
|
typedef uint32_t uint16x2_t;
|
|
|
|
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__sxtab16(int16x2_t __a, int8x4_t __b) {
|
|
|
|
return __builtin_arm_sxtab16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__sxtb16(int8x4_t __a) {
|
|
|
|
return __builtin_arm_sxtb16(__a);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uxtab16(int16x2_t __a, int8x4_t __b) {
|
|
|
|
return __builtin_arm_uxtab16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uxtb16(int8x4_t __a) {
|
|
|
|
return __builtin_arm_uxtb16(__a);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 9.5.6 Parallel selection */
|
|
|
|
#if __ARM_FEATURE_SIMD32
|
|
|
|
static __inline__ uint8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__sel(uint8x4_t __a, uint8x4_t __b) {
|
|
|
|
return __builtin_arm_sel(__a, __b);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 9.5.7 Parallel 8-bit addition and subtraction */
|
|
|
|
#if __ARM_FEATURE_SIMD32
|
|
|
|
static __inline__ int8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__qadd8(int8x4_t __a, int8x4_t __b) {
|
|
|
|
return __builtin_arm_qadd8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__qsub8(int8x4_t __a, int8x4_t __b) {
|
|
|
|
return __builtin_arm_qsub8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__sadd8(int8x4_t __a, int8x4_t __b) {
|
|
|
|
return __builtin_arm_sadd8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__shadd8(int8x4_t __a, int8x4_t __b) {
|
|
|
|
return __builtin_arm_shadd8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__shsub8(int8x4_t __a, int8x4_t __b) {
|
|
|
|
return __builtin_arm_shsub8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__ssub8(int8x4_t __a, int8x4_t __b) {
|
|
|
|
return __builtin_arm_ssub8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uadd8(uint8x4_t __a, uint8x4_t __b) {
|
|
|
|
return __builtin_arm_uadd8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uhadd8(uint8x4_t __a, uint8x4_t __b) {
|
|
|
|
return __builtin_arm_uhadd8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uhsub8(uint8x4_t __a, uint8x4_t __b) {
|
|
|
|
return __builtin_arm_uhsub8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uqadd8(uint8x4_t __a, uint8x4_t __b) {
|
|
|
|
return __builtin_arm_uqadd8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uqsub8(uint8x4_t __a, uint8x4_t __b) {
|
|
|
|
return __builtin_arm_uqsub8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint8x4_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__usub8(uint8x4_t __a, uint8x4_t __b) {
|
|
|
|
return __builtin_arm_usub8(__a, __b);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 9.5.8 Sum of 8-bit absolute differences */
|
|
|
|
#if __ARM_FEATURE_SIMD32
|
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__usad8(uint8x4_t __a, uint8x4_t __b) {
|
|
|
|
return __builtin_arm_usad8(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__usada8(uint8x4_t __a, uint8x4_t __b, uint32_t __c) {
|
|
|
|
return __builtin_arm_usada8(__a, __b, __c);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 9.5.9 Parallel 16-bit addition and subtraction */
|
|
|
|
#if __ARM_FEATURE_SIMD32
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__qadd16(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_qadd16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__qasx(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_qasx(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__qsax(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_qsax(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__qsub16(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_qsub16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__sadd16(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_sadd16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__sasx(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_sasx(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__shadd16(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_shadd16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__shasx(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_shasx(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__shsax(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_shsax(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__shsub16(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_shsub16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__ssax(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_ssax(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__ssub16(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_ssub16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uadd16(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uadd16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uasx(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uasx(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uhadd16(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uhadd16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uhasx(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uhasx(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uhsax(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uhsax(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uhsub16(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uhsub16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uqadd16(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uqadd16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uqasx(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uqasx(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uqsax(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uqsax(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__uqsub16(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_uqsub16(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__usax(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_usax(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ uint16x2_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__usub16(uint16x2_t __a, uint16x2_t __b) {
|
|
|
|
return __builtin_arm_usub16(__a, __b);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 9.5.10 Parallel 16-bit multiplications */
|
|
|
|
#if __ARM_FEATURE_SIMD32
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlad(int16x2_t __a, int16x2_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smlad(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smladx(int16x2_t __a, int16x2_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smladx(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int64_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlald(int16x2_t __a, int16x2_t __b, int64_t __c) {
|
|
|
|
return __builtin_arm_smlald(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int64_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlaldx(int16x2_t __a, int16x2_t __b, int64_t __c) {
|
|
|
|
return __builtin_arm_smlaldx(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlsd(int16x2_t __a, int16x2_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smlsd(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlsdx(int16x2_t __a, int16x2_t __b, int32_t __c) {
|
|
|
|
return __builtin_arm_smlsdx(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int64_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlsld(int16x2_t __a, int16x2_t __b, int64_t __c) {
|
|
|
|
return __builtin_arm_smlsld(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int64_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smlsldx(int16x2_t __a, int16x2_t __b, int64_t __c) {
|
|
|
|
return __builtin_arm_smlsldx(__a, __b, __c);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smuad(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_smuad(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smuadx(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_smuadx(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smusd(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_smusd(__a, __b);
|
|
|
|
}
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__smusdx(int16x2_t __a, int16x2_t __b) {
|
|
|
|
return __builtin_arm_smusdx(__a, __b);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2014-07-13 06:48:13 +08:00
|
|
|
/* 9.7 CRC32 intrinsics */
|
2014-06-28 05:25:42 +08:00
|
|
|
#if __ARM_FEATURE_CRC32
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__crc32b(uint32_t __a, uint8_t __b) {
|
|
|
|
return __builtin_arm_crc32b(__a, __b);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__crc32h(uint32_t __a, uint16_t __b) {
|
|
|
|
return __builtin_arm_crc32h(__a, __b);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__crc32w(uint32_t __a, uint32_t __b) {
|
|
|
|
return __builtin_arm_crc32w(__a, __b);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__crc32d(uint32_t __a, uint64_t __b) {
|
|
|
|
return __builtin_arm_crc32d(__a, __b);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__crc32cb(uint32_t __a, uint8_t __b) {
|
|
|
|
return __builtin_arm_crc32cb(__a, __b);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__crc32ch(uint32_t __a, uint16_t __b) {
|
|
|
|
return __builtin_arm_crc32ch(__a, __b);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__crc32cw(uint32_t __a, uint32_t __b) {
|
|
|
|
return __builtin_arm_crc32cw(__a, __b);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2015-02-04 08:26:10 +08:00
|
|
|
static __inline__ uint32_t __attribute__((__always_inline__, __nodebug__))
|
2016-02-12 10:22:53 +08:00
|
|
|
__crc32cd(uint32_t __a, uint64_t __b) {
|
|
|
|
return __builtin_arm_crc32cd(__a, __b);
|
2014-06-28 05:25:42 +08:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2019-07-16 17:27:39 +08:00
|
|
|
/* Armv8.3-A Javascript conversion intrinsic */
|
|
|
|
#if __ARM_64BIT_STATE && defined(__ARM_FEATURE_JCVT)
|
|
|
|
static __inline__ int32_t __attribute__((__always_inline__, __nodebug__))
|
|
|
|
__jcvt(double __a) {
|
|
|
|
return __builtin_arm_jcvt(__a);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2015-06-16 01:51:01 +08:00
|
|
|
/* 10.1 Special register intrinsics */
|
|
|
|
#define __arm_rsr(sysreg) __builtin_arm_rsr(sysreg)
|
|
|
|
#define __arm_rsr64(sysreg) __builtin_arm_rsr64(sysreg)
|
|
|
|
#define __arm_rsrp(sysreg) __builtin_arm_rsrp(sysreg)
|
2019-10-22 18:43:51 +08:00
|
|
|
#define __arm_rsrf(sysreg) __builtin_bit_cast(float, __arm_rsr(sysreg))
|
|
|
|
#define __arm_rsrf64(sysreg) __builtin_bit_cast(double, __arm_rsr64(sysreg))
|
2015-06-16 01:51:01 +08:00
|
|
|
#define __arm_wsr(sysreg, v) __builtin_arm_wsr(sysreg, v)
|
|
|
|
#define __arm_wsr64(sysreg, v) __builtin_arm_wsr64(sysreg, v)
|
|
|
|
#define __arm_wsrp(sysreg, v) __builtin_arm_wsrp(sysreg, v)
|
2019-10-22 18:43:51 +08:00
|
|
|
#define __arm_wsrf(sysreg, v) __arm_wsr(sysreg, __builtin_bit_cast(uint32_t, v))
|
|
|
|
#define __arm_wsrf64(sysreg, v) __arm_wsr64(sysreg, __builtin_bit_cast(uint64_t, v))
|
2015-06-16 01:51:01 +08:00
|
|
|
|
2019-07-31 20:52:17 +08:00
|
|
|
/* Memory Tagging Extensions (MTE) Intrinsics */
|
2019-04-27 05:08:11 +08:00
|
|
|
#if __ARM_FEATURE_MEMORY_TAGGING
|
|
|
|
#define __arm_mte_create_random_tag(__ptr, __mask) __builtin_arm_irg(__ptr, __mask)
|
|
|
|
#define __arm_mte_increment_tag(__ptr, __tag_offset) __builtin_arm_addg(__ptr, __tag_offset)
|
|
|
|
#define __arm_mte_exclude_tag(__ptr, __excluded) __builtin_arm_gmi(__ptr, __excluded)
|
|
|
|
#define __arm_mte_get_tag(__ptr) __builtin_arm_ldg(__ptr)
|
|
|
|
#define __arm_mte_set_tag(__ptr) __builtin_arm_stg(__ptr)
|
|
|
|
#define __arm_mte_ptrdiff(__ptra, __ptrb) __builtin_arm_subp(__ptra, __ptrb)
|
|
|
|
#endif
|
|
|
|
|
2019-07-31 20:52:17 +08:00
|
|
|
/* Transactional Memory Extension (TME) Intrinsics */
|
|
|
|
#if __ARM_FEATURE_TME
|
|
|
|
|
|
|
|
#define _TMFAILURE_REASON 0x00007fffu
|
|
|
|
#define _TMFAILURE_RTRY 0x00008000u
|
|
|
|
#define _TMFAILURE_CNCL 0x00010000u
|
|
|
|
#define _TMFAILURE_MEM 0x00020000u
|
|
|
|
#define _TMFAILURE_IMP 0x00040000u
|
|
|
|
#define _TMFAILURE_ERR 0x00080000u
|
|
|
|
#define _TMFAILURE_SIZE 0x00100000u
|
|
|
|
#define _TMFAILURE_NEST 0x00200000u
|
|
|
|
#define _TMFAILURE_DBG 0x00400000u
|
|
|
|
#define _TMFAILURE_INT 0x00800000u
|
|
|
|
#define _TMFAILURE_TRIVIAL 0x01000000u
|
|
|
|
|
|
|
|
#define __tstart() __builtin_arm_tstart()
|
|
|
|
#define __tcommit() __builtin_arm_tcommit()
|
|
|
|
#define __tcancel(__arg) __builtin_arm_tcancel(__arg)
|
|
|
|
#define __ttest() __builtin_arm_ttest()
|
|
|
|
|
|
|
|
#endif /* __ARM_FEATURE_TME */
|
|
|
|
|
2014-07-08 13:46:00 +08:00
|
|
|
#if defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2014-06-28 05:25:42 +08:00
|
|
|
#endif /* __ARM_ACLE_H */
|