mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 07:20:55 +01:00
ircd::simd: Add typedef for corresponding type in the unaligned wrapper.
This commit is contained in:
parent
98dd705de9
commit
c9156b0f99
1 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,8 @@ __attribute__((aligned(1))) \
|
||||||
__attribute__((visibility("internal"))) \
|
__attribute__((visibility("internal"))) \
|
||||||
NAME \
|
NAME \
|
||||||
{ \
|
{ \
|
||||||
|
using value_type = TYPE; \
|
||||||
|
\
|
||||||
TYPE val; \
|
TYPE val; \
|
||||||
\
|
\
|
||||||
operator TYPE() const { return val; } \
|
operator TYPE() const { return val; } \
|
||||||
|
|
Loading…
Reference in a new issue