aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wright <jonathan.wright@arm.com>2021-10-15 16:50:57 +0100
committerJonathan Wright <jonathan.wright@arm.com>2021-10-21 16:53:50 +0100
commitbdc42283bc7147bc01557dfab6a8c96bf31cf25a (patch)
treebd171820c4110a3c55267ffbd7868fb30bad86e4 /gcc
parent2606dfea12dbe9692c9d576155e63bf3acebd1bf (diff)
downloadgcc-bdc42283bc7147bc01557dfab6a8c96bf31cf25a.zip
gcc-bdc42283bc7147bc01557dfab6a8c96bf31cf25a.tar.gz
gcc-bdc42283bc7147bc01557dfab6a8c96bf31cf25a.tar.bz2
aarch64: Remove redundant struct type definitions in arm_neon.h
These vector type definitions are an artifact from the initial commit that added the AArch64 port. gcc/ChangeLog: 2021-10-15 Jonathan Wright <jonathan.wright@arm.com> * config/aarch64/arm_neon.h (__STRUCTN): Delete function macro and all invocations.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/aarch64/arm_neon.h86
1 files changed, 0 insertions, 86 deletions
diff --git a/gcc/config/aarch64/arm_neon.h b/gcc/config/aarch64/arm_neon.h
index 1768c6b..99fe293 100644
--- a/gcc/config/aarch64/arm_neon.h
+++ b/gcc/config/aarch64/arm_neon.h
@@ -9120,92 +9120,6 @@ vtstq_p64 (poly64x2_t __a, poly64x2_t __b)
!= __AARCH64_INT64_C (0));
}
-/* End of temporary inline asm implementations. */
-
-/* Start of temporary inline asm for vldn, vstn and friends. */
-
-/* Create struct element types for duplicating loads.
-
- Create 2 element structures of:
-
- +------+----+----+----+----+
- | | 8 | 16 | 32 | 64 |
- +------+----+----+----+----+
- |int | Y | Y | N | N |
- +------+----+----+----+----+
- |uint | Y | Y | N | N |
- +------+----+----+----+----+
- |float | - | Y | N | N |
- +------+----+----+----+----+
- |poly | Y | Y | - | - |
- +------+----+----+----+----+
-
- Create 3 element structures of:
-
- +------+----+----+----+----+
- | | 8 | 16 | 32 | 64 |
- +------+----+----+----+----+
- |int | Y | Y | Y | Y |
- +------+----+----+----+----+
- |uint | Y | Y | Y | Y |
- +------+----+----+----+----+
- |float | - | Y | Y | Y |
- +------+----+----+----+----+
- |poly | Y | Y | - | - |
- +------+----+----+----+----+
-
- Create 4 element structures of:
-
- +------+----+----+----+----+
- | | 8 | 16 | 32 | 64 |
- +------+----+----+----+----+
- |int | Y | N | N | Y |
- +------+----+----+----+----+
- |uint | Y | N | N | Y |
- +------+----+----+----+----+
- |float | - | N | N | Y |
- +------+----+----+----+----+
- |poly | Y | N | - | - |
- +------+----+----+----+----+
-
- This is required for casting memory reference. */
-#define __STRUCTN(t, sz, nelem) \
- typedef struct t ## sz ## x ## nelem ## _t { \
- t ## sz ## _t val[nelem]; \
- } t ## sz ## x ## nelem ## _t;
-
-/* 2-element structs. */
-__STRUCTN (int, 8, 2)
-__STRUCTN (int, 16, 2)
-__STRUCTN (uint, 8, 2)
-__STRUCTN (uint, 16, 2)
-__STRUCTN (float, 16, 2)
-__STRUCTN (poly, 8, 2)
-__STRUCTN (poly, 16, 2)
-/* 3-element structs. */
-__STRUCTN (int, 8, 3)
-__STRUCTN (int, 16, 3)
-__STRUCTN (int, 32, 3)
-__STRUCTN (int, 64, 3)
-__STRUCTN (uint, 8, 3)
-__STRUCTN (uint, 16, 3)
-__STRUCTN (uint, 32, 3)
-__STRUCTN (uint, 64, 3)
-__STRUCTN (float, 16, 3)
-__STRUCTN (float, 32, 3)
-__STRUCTN (float, 64, 3)
-__STRUCTN (poly, 8, 3)
-__STRUCTN (poly, 16, 3)
-/* 4-element structs. */
-__STRUCTN (int, 8, 4)
-__STRUCTN (int, 64, 4)
-__STRUCTN (uint, 8, 4)
-__STRUCTN (uint, 64, 4)
-__STRUCTN (poly, 8, 4)
-__STRUCTN (float, 64, 4)
-#undef __STRUCTN
-
-
__extension__ extern __inline void
__attribute__ ((__always_inline__, __gnu_inline__, __artificial__))
vst2_lane_f16 (float16_t *__ptr, float16x4x2_t __val, const int __lane)