zig/lib/libc/include/any-macos-any/simd/simd.h
Michael Dusan 52e8354926
macos: vendored libc: combine headers: part 1
- combine *-macos-* → any-macos-any
- SDK headers as a single tree support targeting multiple arch/versions
- bump to SDK 14.0 (release candidate)
2023-09-25 15:53:05 -04:00

30 lines
950 B
C
Vendored

/* Copyright (c) 2014 Apple, Inc. All rights reserved.
*
* This header provides small vector (simd) and matrix types, and basic
* arithmetic and mathematical functions for them. The vast majority of these
* operations are implemented as header inlines, as they can be performed
* using just a few instructions on most processors.
*
* These functions are broken into two groups; vector and matrix. This header
* includes all of them, but these may also be included separately. Consult
* these two headers for detailed documentation of what types and operations
* are available.
*/
#ifndef __SIMD_HEADER__
#define __SIMD_HEADER__
#if __has_include(<realtime_safety/realtime_safety.h>)
#include <realtime_safety/realtime_safety.h>
REALTIME_SAFE_BEGIN
#endif
#include <simd/vector.h>
#include <simd/matrix.h>
#include <simd/quaternion.h>
#if __has_include(<realtime_safety/realtime_safety.h>)
REALTIME_SAFE_END
#endif
#endif