diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-08-15 18:00:10 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-08-15 18:00:10 -0700 |
| commit | 21606339af2712d94bb3cfdcc9050287c5a2134c (patch) | |
| tree | d5df6035a82eb191bf6f2d92518c5250d31833d5 /lib/include/ppc_wrappers | |
| parent | 78ff2a148a707f041ab5e5cfdbb5f854bc66270e (diff) | |
| download | zig-21606339af2712d94bb3cfdcc9050287c5a2134c.tar.gz zig-21606339af2712d94bb3cfdcc9050287c5a2134c.zip | |
update C header files to clang 13 rc1
Diffstat (limited to 'lib/include/ppc_wrappers')
| -rw-r--r-- | lib/include/ppc_wrappers/xmmintrin.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/include/ppc_wrappers/xmmintrin.h b/lib/include/ppc_wrappers/xmmintrin.h index 0f429fa040..0e45b96769 100644 --- a/lib/include/ppc_wrappers/xmmintrin.h +++ b/lib/include/ppc_wrappers/xmmintrin.h @@ -28,7 +28,7 @@ Most SSE scalar float intrinsic operations can be performed more efficiently as C language float scalar operations or optimized to use vector SIMD operations. We recommend this for new applications. */ -#error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error." +#error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error." #endif #ifndef _XMMINTRIN_H_INCLUDED @@ -62,14 +62,13 @@ /* The Intel API is flexible enough that we must allow aliasing with other vector types, and their scalar components. */ -typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__)); +typedef vector float __m128 __attribute__((__may_alias__)); /* Unaligned version of the same type. */ -typedef float __m128_u __attribute__ ((__vector_size__ (16), __may_alias__, - __aligned__ (1))); +typedef vector float __m128_u __attribute__((__may_alias__, __aligned__(1))); /* Internal data types for implementing the intrinsics. */ -typedef float __v4sf __attribute__ ((__vector_size__ (16))); +typedef vector float __v4sf; /* Create an undefined vector. */ extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |
