summaryrefslogtreecommitdiff
path: root/renderscript/clang-include/xsaveintrin.h
diff options
context:
space:
mode:
authorLouis Pullen-Freilich <lpf@google.com>2020-01-30 14:57:41 +0000
committerLouis Pullen-Freilich <lpf@google.com>2020-01-30 14:57:41 +0000
commitf597735774e931d682fb10e0d0590392f4a69c38 (patch)
tree0703233c41196e91688b326d9752fe6b96bac293 /renderscript/clang-include/xsaveintrin.h
parent4d41ab6f20370b87f434d78efcc6e05369550bc2 (diff)
download29.0.3-f597735774e931d682fb10e0d0590392f4a69c38.tar.gz
Adds prebuilts for build tools 29.0.3HEADmastermainandroidx-work-releaseandroidx-window-releaseandroidx-webkit-releaseandroidx-wear-wear-remote-interactions-releaseandroidx-wear-wear-phone-interactions-releaseandroidx-wear-wear-ongoing-releaseandroidx-wear-wear-input-releaseandroidx-wear-watchface-releaseandroidx-wear-tiles-releaseandroidx-wear-releaseandroidx-wear-platform-releaseandroidx-versionedparcelable-releaseandroidx-vectordrawable-releaseandroidx-transition-releaseandroidx-tracing-releaseandroidx-swiperefreshlayout-releaseandroidx-startup-releaseandroidx-sqlite-releaseandroidx-sqlite-inspection-releaseandroidx-slidingpanelayout-releaseandroidx-sharetarget-releaseandroidx-security-security-crypto-releaseandroidx-savedstate-releaseandroidx-room-releaseandroidx-resourceinspection-releaseandroidx-recyclerview-releaseandroidx-print-releaseandroidx-preference-releaseandroidx-paging-releaseandroidx-navigation-releaseandroidx-mediarouter-releaseandroidx-media2-releaseandroidx-media2-media2-widget-releaseandroidx-media-releaseandroidx-master-releaseandroidx-main-releaseandroidx-localbroadcastmanager-releaseandroidx-lifecycle-releaseandroidx-leanback-releaseandroidx-hilt-releaseandroidx-glance-releaseandroidx-g3-releaseandroidx-fragment-releaseandroidx-exifinterface-releaseandroidx-enterprise-releaseandroidx-emoji2-releaseandroidx-emoji-releaseandroidx-drawerlayout-releaseandroidx-draganddrop-releaseandroidx-datastore-releaseandroidx-customview-releaseandroidx-core-releaseandroidx-core-core-splashscreen-releaseandroidx-core-core-role-releaseandroidx-core-core-google-shortcuts-releaseandroidx-coordinatorlayout-releaseandroidx-concurrent-releaseandroidx-compose-releaseandroidx-compose-material3-releaseandroidx-compose-integration-releaseandroidx-collection-releaseandroidx-car-app-releaseandroidx-camerax-releaseandroidx-camera-releaseandroidx-browser-releaseandroidx-biometric-releaseandroidx-benchmark-releaseandroidx-autofill-releaseandroidx-arch-core-releaseandroidx-appcompat-releaseandroidx-annotation-releaseandroidx-annotation-annotation-experimental-releaseandroidx-activity-release
https://dl.google.com/android/repository/build-tools_r29.0.3-macosx.zip Change-Id: I4eb1d38e39d00d8a1c9ec94ca9928debe1c85aec
Diffstat (limited to 'renderscript/clang-include/xsaveintrin.h')
-rw-r--r--renderscript/clang-include/xsaveintrin.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/renderscript/clang-include/xsaveintrin.h b/renderscript/clang-include/xsaveintrin.h
new file mode 100644
index 0000000..a2e6b2e
--- /dev/null
+++ b/renderscript/clang-include/xsaveintrin.h
@@ -0,0 +1,58 @@
+/*===---- xsaveintrin.h - XSAVE intrinsic ------------------------------------===
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ *
+ *===-----------------------------------------------------------------------===
+ */
+
+#ifndef __IMMINTRIN_H
+#error "Never use <xsaveintrin.h> directly; include <immintrin.h> instead."
+#endif
+
+#ifndef __XSAVEINTRIN_H
+#define __XSAVEINTRIN_H
+
+/* Define the default attributes for the functions in this file. */
+#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("xsave")))
+
+static __inline__ void __DEFAULT_FN_ATTRS
+_xsave(void *__p, unsigned long long __m) {
+ return __builtin_ia32_xsave(__p, __m);
+}
+
+static __inline__ void __DEFAULT_FN_ATTRS
+_xrstor(void *__p, unsigned long long __m) {
+ return __builtin_ia32_xrstor(__p, __m);
+}
+
+#ifdef __x86_64__
+static __inline__ void __DEFAULT_FN_ATTRS
+_xsave64(void *__p, unsigned long long __m) {
+ return __builtin_ia32_xsave64(__p, __m);
+}
+
+static __inline__ void __DEFAULT_FN_ATTRS
+_xrstor64(void *__p, unsigned long long __m) {
+ return __builtin_ia32_xrstor64(__p, __m);
+}
+#endif
+
+#undef __DEFAULT_FN_ATTRS
+
+#endif