public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4613] aarch64: Remove redundant struct type definitions in arm_neon.h
@ 2021-10-21 15:54 Jonathan Wright
0 siblings, 0 replies; only message in thread
From: Jonathan Wright @ 2021-10-21 15:54 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:bdc42283bc7147bc01557dfab6a8c96bf31cf25a
commit r12-4613-gbdc42283bc7147bc01557dfab6a8c96bf31cf25a
Author: Jonathan Wright <jonathan.wright@arm.com>
Date: Fri Oct 15 16:50:57 2021 +0100
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.
Diff:
---
gcc/config/aarch64/arm_neon.h | 86 -------------------------------------------
1 file changed, 86 deletions(-)
diff --git a/gcc/config/aarch64/arm_neon.h b/gcc/config/aarch64/arm_neon.h
index 1768c6b56c1..99fe293ef0e 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-21 15:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21 15:54 [gcc r12-4613] aarch64: Remove redundant struct type definitions in arm_neon.h Jonathan Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).