summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/asm.c')
-rw-r--r--test/CodeGen/asm.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/test/CodeGen/asm.c b/test/CodeGen/asm.c
index 019eb9c..84f26e1 100644
--- a/test/CodeGen/asm.c
+++ b/test/CodeGen/asm.c
@@ -63,7 +63,6 @@ void t10(int r) {
// CHECK:PR3908 $1 $3 $2 $0
}
-
// PR3373
unsigned t11(signed char input) {
unsigned output;
@@ -101,9 +100,6 @@ unsigned long t15(int x, struct large *P) {
return x;
}
-
-
-
// bitfield destination of an asm.
struct S {
int a : 4;
@@ -113,7 +109,6 @@ void t14(struct S *P) {
__asm__("abc %0" : "=r"(P->a) );
}
-
// PR4938
int t16() {
int a,b;
@@ -145,7 +140,6 @@ int t18(unsigned data) {
// CHECK-NEXT: extractvalue
}
-
// PR6780
int t19(unsigned data) {
int a, b;
@@ -156,7 +150,6 @@ int t19(unsigned data) {
// CHECK: = call {{.*}}asm "x$(abc$|def$|ghi$)z"
}
-
// PR6845 - Mismatching source/dest fp types.
double t20(double x) {
register long double result;
@@ -209,9 +202,8 @@ void *t24(char c) {
return addr;
}
-
// PR10299 - fpsr, fpcr
-void test(void)
+void t25(void)
{
__asm__ __volatile__( \
"finit" \
@@ -222,3 +214,9 @@ void test(void)
"fpsr","fpcr" \
);
}
+
+// rdar://10510405 - AVX registers
+typedef long long __m256i __attribute__((__vector_size__(32)));
+void t26 (__m256i *p) {
+ __asm__ volatile("vmovaps %0, %%ymm0" :: "m" (*(__m256i*)p) : "ymm0");
+}
OpenPOWER on IntegriCloud