Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
simde
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
simde
Commits
87f7d331
Commit
87f7d331
authored
Nov 03, 2023
by
Yi-Yen Chung
Committed by
GitHub
Nov 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
neon: Modified simde_float16 to simde_float16_t (#1100)
parent
2c58d6d0
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
55 additions
and
55 deletions
+55
-55
arm/neon/add.h
arm/neon/add.h
+1
-1
arm/neon/ceqz.h
arm/neon/ceqz.h
+1
-1
arm/neon/cvt.h
arm/neon/cvt.h
+12
-12
arm/neon/cvtm.h
arm/neon/cvtm.h
+6
-6
arm/neon/cvtn.h
arm/neon/cvtn.h
+6
-6
arm/neon/cvtp.h
arm/neon/cvtp.h
+6
-6
arm/neon/dup_n.h
arm/neon/dup_n.h
+2
-2
arm/neon/ld1.h
arm/neon/ld1.h
+2
-2
arm/neon/ld1_dup.h
arm/neon/ld1_dup.h
+2
-2
arm/neon/ld1_x2.h
arm/neon/ld1_x2.h
+1
-1
arm/neon/ld1_x3.h
arm/neon/ld1_x3.h
+1
-1
arm/neon/ld1_x4.h
arm/neon/ld1_x4.h
+1
-1
arm/neon/ld1q_x2.h
arm/neon/ld1q_x2.h
+1
-1
arm/neon/ld1q_x3.h
arm/neon/ld1q_x3.h
+1
-1
arm/neon/ld1q_x4.h
arm/neon/ld1q_x4.h
+1
-1
arm/neon/ld2_dup.h
arm/neon/ld2_dup.h
+1
-1
arm/neon/ld3.h
arm/neon/ld3.h
+2
-2
arm/neon/ld3_dup.h
arm/neon/ld3_dup.h
+1
-1
arm/neon/ld4.h
arm/neon/ld4.h
+2
-2
arm/neon/ld4_dup.h
arm/neon/ld4_dup.h
+1
-1
arm/neon/mul_n.h
arm/neon/mul_n.h
+2
-2
arm/neon/sqrt.h
arm/neon/sqrt.h
+1
-1
arm/neon/sub.h
arm/neon/sub.h
+1
-1
No files found.
arm/neon/add.h
View file @
87f7d331
...
...
@@ -35,7 +35,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16
simde_vaddh_f16
(
simde_float16
a
,
simde_float16
b
)
{
simde_vaddh_f16
(
simde_float16
_t
a
,
simde_float16_t
b
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vaddh_f16
(
a
,
b
);
#else
...
...
arm/neon/ceqz.h
View file @
87f7d331
...
...
@@ -375,7 +375,7 @@ simde_vceqzd_u64(uint64_t a) {
SIMDE_FUNCTION_ATTRIBUTES
uint16_t
simde_vceqzh_f16
(
simde_float16
a
)
{
simde_vceqzh_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vceqzh_f16
(
a
);
#else
...
...
arm/neon/cvt.h
View file @
87f7d331
...
...
@@ -141,7 +141,7 @@ simde_vcvt_f64_f32(simde_float32x2_t a) {
SIMDE_FUNCTION_ATTRIBUTES
int16_t
simde_vcvth_s16_f16
(
simde_float16
a
)
{
simde_vcvth_s16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvth_s16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -167,7 +167,7 @@ simde_vcvth_s16_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint16_t
simde_vcvth_u16_f16
(
simde_float16
a
)
{
simde_vcvth_u16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvth_u16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -193,7 +193,7 @@ simde_vcvth_u16_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int32_t
simde_vcvth_s32_f16
(
simde_float16
a
)
{
simde_vcvth_s32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvth_s32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -219,7 +219,7 @@ simde_vcvth_s32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint32_t
simde_vcvth_u32_f16
(
simde_float16
a
)
{
simde_vcvth_u32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvth_u32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -245,7 +245,7 @@ simde_vcvth_u32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int64_t
simde_vcvth_s64_f16
(
simde_float16
a
)
{
simde_vcvth_s64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvth_s64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -271,7 +271,7 @@ simde_vcvth_s64_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint64_t
simde_vcvth_u64_f16
(
simde_float16
a
)
{
simde_vcvth_u64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvth_u64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -1385,7 +1385,7 @@ simde_vcvtq_f64_u64(simde_uint64x2_t a) {
SIMDE_FUNCTION_ATTRIBUTES
int16_t
simde_vcvtah_s16_f16
(
simde_float16
a
)
{
simde_vcvtah_s16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtah_s16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -1411,7 +1411,7 @@ simde_vcvtah_s16_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint16_t
simde_vcvtah_u16_f16
(
simde_float16
a
)
{
simde_vcvtah_u16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && !defined(SIMDE_BUG_CLANG_46844) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtah_u16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -1437,7 +1437,7 @@ simde_vcvtah_u16_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int32_t
simde_vcvtah_s32_f16
(
simde_float16
a
)
{
simde_vcvtah_s32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtah_s32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -1463,7 +1463,7 @@ simde_vcvtah_s32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint32_t
simde_vcvtah_u32_f16
(
simde_float16
a
)
{
simde_vcvtah_u32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && !defined(SIMDE_BUG_CLANG_46844) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtah_u32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -1489,7 +1489,7 @@ simde_vcvtah_u32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int64_t
simde_vcvtah_s64_f16
(
simde_float16
a
)
{
simde_vcvtah_s64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtah_s64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -1515,7 +1515,7 @@ simde_vcvtah_s64_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint64_t
simde_vcvtah_u64_f16
(
simde_float16
a
)
{
simde_vcvtah_u64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && !defined(SIMDE_BUG_CLANG_46844) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtah_u64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
arm/neon/cvtm.h
View file @
87f7d331
...
...
@@ -36,7 +36,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
int64_t
simde_vcvtmh_s64_f16
(
simde_float16
a
)
{
simde_vcvtmh_s64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtmh_s64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -63,7 +63,7 @@ simde_vcvtmh_s64_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int32_t
simde_vcvtmh_s32_f16
(
simde_float16
a
)
{
simde_vcvtmh_s32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtmh_s32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -90,7 +90,7 @@ simde_vcvtmh_s32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int16_t
simde_vcvtmh_s16_f16
(
simde_float16
a
)
{
simde_vcvtmh_s16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtmh_s16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -117,7 +117,7 @@ simde_vcvtmh_s16_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint64_t
simde_vcvtmh_u64_f16
(
simde_float16
a
)
{
simde_vcvtmh_u64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtmh_u64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -144,7 +144,7 @@ simde_vcvtmh_u64_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint32_t
simde_vcvtmh_u32_f16
(
simde_float16
a
)
{
simde_vcvtmh_u32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtmh_u32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -171,7 +171,7 @@ simde_vcvtmh_u32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint16_t
simde_vcvtmh_u16_f16
(
simde_float16
a
)
{
simde_vcvtmh_u16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtmh_u16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
arm/neon/cvtn.h
View file @
87f7d331
...
...
@@ -105,7 +105,7 @@ simde_vcvtnq_s64_f64(simde_float64x2_t a) {
SIMDE_FUNCTION_ATTRIBUTES
int64_t
simde_vcvtnh_s64_f16
(
simde_float16
a
)
{
simde_vcvtnh_s64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtnh_s64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -130,7 +130,7 @@ simde_vcvtnh_s64_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int32_t
simde_vcvtnh_s32_f16
(
simde_float16
a
)
{
simde_vcvtnh_s32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtnh_s32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -155,7 +155,7 @@ simde_vcvtnh_s32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int16_t
simde_vcvtnh_s16_f16
(
simde_float16
a
)
{
simde_vcvtnh_s16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtnh_s16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -180,7 +180,7 @@ simde_vcvtnh_s16_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint64_t
simde_vcvtnh_u64_f16
(
simde_float16
a
)
{
simde_vcvtnh_u64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtnh_u64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -205,7 +205,7 @@ simde_vcvtnh_u64_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint32_t
simde_vcvtnh_u32_f16
(
simde_float16
a
)
{
simde_vcvtnh_u32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtnh_u32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -230,7 +230,7 @@ simde_vcvtnh_u32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint16_t
simde_vcvtnh_u16_f16
(
simde_float16
a
)
{
simde_vcvtnh_u16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtnh_u16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
arm/neon/cvtp.h
View file @
87f7d331
...
...
@@ -36,7 +36,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
int64_t
simde_vcvtph_s64_f16
(
simde_float16
a
)
{
simde_vcvtph_s64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtph_s64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -63,7 +63,7 @@ simde_vcvtph_s64_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int32_t
simde_vcvtph_s32_f16
(
simde_float16
a
)
{
simde_vcvtph_s32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtph_s32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -90,7 +90,7 @@ simde_vcvtph_s32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
int16_t
simde_vcvtph_s16_f16
(
simde_float16
a
)
{
simde_vcvtph_s16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtph_s16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -117,7 +117,7 @@ simde_vcvtph_s16_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint64_t
simde_vcvtph_u64_f16
(
simde_float16
a
)
{
simde_vcvtph_u64_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtph_u64_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -144,7 +144,7 @@ simde_vcvtph_u64_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint32_t
simde_vcvtph_u32_f16
(
simde_float16
a
)
{
simde_vcvtph_u32_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtph_u32_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
@@ -171,7 +171,7 @@ simde_vcvtph_u32_f16(simde_float16 a) {
SIMDE_FUNCTION_ATTRIBUTES
uint16_t
simde_vcvtph_u16_f16
(
simde_float16
a
)
{
simde_vcvtph_u16_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vcvtph_u16_f16
(
a
);
#elif defined(SIMDE_FAST_CONVERSION_RANGE)
...
...
arm/neon/dup_n.h
View file @
87f7d331
...
...
@@ -36,7 +36,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x4_t
simde_vdup_n_f16
(
simde_float16
value
)
{
simde_vdup_n_f16
(
simde_float16
_t
value
)
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vdup_n_f16
(
value
);
#else
...
...
@@ -324,7 +324,7 @@ simde_vdup_n_u64(uint64_t value) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8_t
simde_vdupq_n_f16
(
simde_float16
value
)
{
simde_vdupq_n_f16
(
simde_float16
_t
value
)
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vdupq_n_f16
(
value
);
#else
...
...
arm/neon/ld1.h
View file @
87f7d331
...
...
@@ -36,7 +36,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x4_t
simde_vld1_f16
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
4
)])
{
simde_vld1_f16
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
4
)])
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld1_f16
(
ptr
);
#else
...
...
@@ -212,7 +212,7 @@ simde_vld1_u64(uint64_t const ptr[HEDLEY_ARRAY_PARAM(1)]) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8_t
simde_vld1q_f16
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
8
)])
{
simde_vld1q_f16
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
8
)])
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld1q_f16
(
ptr
);
#else
...
...
arm/neon/ld1_dup.h
View file @
87f7d331
...
...
@@ -38,7 +38,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x4_t
simde_vld1_dup_f16
(
simde_float16
const
*
ptr
)
{
simde_vld1_dup_f16
(
simde_float16
_t
const
*
ptr
)
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld1_dup_f16
(
ptr
);
#else
...
...
@@ -194,7 +194,7 @@ simde_vld1_dup_u64(uint64_t const * ptr) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8_t
simde_vld1q_dup_f16
(
simde_float16
const
*
ptr
)
{
simde_vld1q_dup_f16
(
simde_float16
_t
const
*
ptr
)
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld1q_dup_f16
(
ptr
);
#else
...
...
arm/neon/ld1_x2.h
View file @
87f7d331
...
...
@@ -43,7 +43,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x4x2_t
simde_vld1_f16_x2
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
8
)])
{
simde_vld1_f16_x2
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
8
)])
{
#if \
defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16) && \
(!defined(HEDLEY_GCC_VERSION) || (HEDLEY_GCC_VERSION_CHECK(8,0,0) && defined(SIMDE_ARM_NEON_A64V8_NATIVE))) && \
...
...
arm/neon/ld1_x3.h
View file @
87f7d331
...
...
@@ -42,7 +42,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x4x3_t
simde_vld1_f16_x3
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
12
)])
{
simde_vld1_f16_x3
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
12
)])
{
#if \
defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16) && \
(!defined(HEDLEY_GCC_VERSION) || (HEDLEY_GCC_VERSION_CHECK(8,0,0) && defined(SIMDE_ARM_NEON_A64V8_NATIVE))) && \
...
...
arm/neon/ld1_x4.h
View file @
87f7d331
...
...
@@ -43,7 +43,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x4x4_t
simde_vld1_f16_x4
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
16
)])
{
simde_vld1_f16_x4
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
16
)])
{
#if \
defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16) && \
(!defined(HEDLEY_GCC_VERSION) || (HEDLEY_GCC_VERSION_CHECK(8,0,0) && defined(SIMDE_ARM_NEON_A64V8_NATIVE))) && \
...
...
arm/neon/ld1q_x2.h
View file @
87f7d331
...
...
@@ -43,7 +43,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8x2_t
simde_vld1q_f16_x2
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
16
)])
{
simde_vld1q_f16_x2
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
16
)])
{
#if \
defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16) && \
(!defined(HEDLEY_GCC_VERSION) || (HEDLEY_GCC_VERSION_CHECK(8,0,0) && defined(SIMDE_ARM_NEON_A64V8_NATIVE))) && \
...
...
arm/neon/ld1q_x3.h
View file @
87f7d331
...
...
@@ -42,7 +42,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8x3_t
simde_vld1q_f16_x3
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
24
)])
{
simde_vld1q_f16_x3
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
24
)])
{
#if \
defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16) && \
(!defined(HEDLEY_GCC_VERSION) || (HEDLEY_GCC_VERSION_CHECK(8,0,0) && defined(SIMDE_ARM_NEON_A64V8_NATIVE))) && \
...
...
arm/neon/ld1q_x4.h
View file @
87f7d331
...
...
@@ -43,7 +43,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8x4_t
simde_vld1q_f16_x4
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
32
)])
{
simde_vld1q_f16_x4
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
32
)])
{
#if \
defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16) && \
(!defined(HEDLEY_GCC_VERSION) || (HEDLEY_GCC_VERSION_CHECK(8,0,0) && defined(SIMDE_ARM_NEON_A64V8_NATIVE))) && \
...
...
arm/neon/ld2_dup.h
View file @
87f7d331
...
...
@@ -245,7 +245,7 @@ simde_vld2_dup_u64(uint64_t const * ptr) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8x2_t
simde_vld2q_dup_f16
(
simde_float16
const
*
ptr
)
{
simde_vld2q_dup_f16
(
simde_float16
_t
const
*
ptr
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld2q_dup_f16
(
ptr
);
#else
...
...
arm/neon/ld3.h
View file @
87f7d331
...
...
@@ -43,7 +43,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x4x3_t
simde_vld3_f16
(
simde_float16
const
*
ptr
)
{
simde_vld3_f16
(
simde_float16
_t
const
*
ptr
)
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld3_f16
(
ptr
);
#else
...
...
@@ -351,7 +351,7 @@ simde_vld3_u64(uint64_t const *ptr) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8x3_t
simde_vld3q_f16
(
simde_float16
const
*
ptr
)
{
simde_vld3q_f16
(
simde_float16
_t
const
*
ptr
)
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld3q_f16
(
ptr
);
#else
...
...
arm/neon/ld3_dup.h
View file @
87f7d331
...
...
@@ -245,7 +245,7 @@ simde_vld3_dup_u64(uint64_t const * ptr) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8x3_t
simde_vld3q_dup_f16
(
simde_float16
const
*
ptr
)
{
simde_vld3q_dup_f16
(
simde_float16
_t
const
*
ptr
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld3q_dup_f16
(
ptr
);
#else
...
...
arm/neon/ld4.h
View file @
87f7d331
...
...
@@ -42,7 +42,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x4x4_t
simde_vld4_f16
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
16
)])
{
simde_vld4_f16
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
16
)])
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld4_f16
(
ptr
);
#else
...
...
@@ -262,7 +262,7 @@ simde_vld4_u64(uint64_t const ptr[HEDLEY_ARRAY_PARAM(4)]) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8x4_t
simde_vld4q_f16
(
simde_float16
const
ptr
[
HEDLEY_ARRAY_PARAM
(
32
)])
{
simde_vld4q_f16
(
simde_float16
_t
const
ptr
[
HEDLEY_ARRAY_PARAM
(
32
)])
{
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld4q_f16
(
ptr
);
#else
...
...
arm/neon/ld4_dup.h
View file @
87f7d331
...
...
@@ -245,7 +245,7 @@ simde_vld4_dup_u64(uint64_t const * ptr) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8x4_t
simde_vld4q_dup_f16
(
simde_float16
const
*
ptr
)
{
simde_vld4q_dup_f16
(
simde_float16
_t
const
*
ptr
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vld4q_dup_f16
(
ptr
);
#else
...
...
arm/neon/mul_n.h
View file @
87f7d331
...
...
@@ -39,7 +39,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x4_t
simde_vmul_n_f16
(
simde_float16x4_t
a
,
simde_float16
b
)
{
simde_vmul_n_f16
(
simde_float16x4_t
a
,
simde_float16
_t
b
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vmul_n_f16
(
a
,
b
);
#else
...
...
@@ -137,7 +137,7 @@ simde_vmul_n_u32(simde_uint32x2_t a, uint32_t b) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float16x8_t
simde_vmulq_n_f16
(
simde_float16x8_t
a
,
simde_float16
b
)
{
simde_vmulq_n_f16
(
simde_float16x8_t
a
,
simde_float16
_t
b
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vmulq_n_f16
(
a
,
b
);
#else
...
...
arm/neon/sqrt.h
View file @
87f7d331
...
...
@@ -35,7 +35,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16
simde_vsqrth_f16
(
simde_float16
a
)
{
simde_vsqrth_f16
(
simde_float16
_t
a
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vsqrth_f16
(
a
);
#elif defined(simde_math_sqrtf)
...
...
arm/neon/sub.h
View file @
87f7d331
...
...
@@ -36,7 +36,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES
simde_float16
simde_vsubh_f16
(
simde_float16
a
,
simde_float16
b
)
{
simde_vsubh_f16
(
simde_float16
_t
a
,
simde_float16_t
b
)
{
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_ARM_NEON_FP16)
return
vsubh_f16
(
a
,
b
);
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment