summaryrefslogtreecommitdiffstats
path: root/test/Headers
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-06-17 18:42:07 +0000
committerEric Christopher <echristo@gmail.com>2015-06-17 18:42:07 +0000
commit0e21891eb04d0545495f8adb85954f8857871818 (patch)
tree752174157892535485d729a439f653947dadb49f /test/Headers
parente4061f6e87369e225b12ab4f63f2dac11628a50f (diff)
Move xtest to its own file to match the gcc header organization.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239926 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Headers')
-rw-r--r--test/Headers/x86intrin-2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Headers/x86intrin-2.c b/test/Headers/x86intrin-2.c
index 825321da17..f98fdbd13a 100644
--- a/test/Headers/x86intrin-2.c
+++ b/test/Headers/x86intrin-2.c
@@ -130,4 +130,8 @@ __m128 __attribute__((__target__("f16c"))) mm_cvtph_ps_wrap(__m128i a) {
return _mm_cvtph_ps(a);
}
+int __attribute__((__target__("rtm"))) xtest_wrap(void) {
+ return _xtest();
+}
+
#endif