diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-18 07:00:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-18 07:00:54 +0000 |
commit | 032f7665d0236b0627b975918be2af5bb141074f (patch) | |
tree | 8943e2a0c33d1012d3491885c960c839fd2ed664 /clang/test/CodeGen/x86.c | |
parent | 85e4dd405542722eb2ec2b5dba635ca0cf3085ee (diff) | |
download | bcm5719-llvm-032f7665d0236b0627b975918be2af5bb141074f.tar.gz bcm5719-llvm-032f7665d0236b0627b975918be2af5bb141074f.zip |
rename file.
llvm-svn: 69427
Diffstat (limited to 'clang/test/CodeGen/x86.c')
-rw-r--r-- | clang/test/CodeGen/x86.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/test/CodeGen/x86.c b/clang/test/CodeGen/x86.c new file mode 100644 index 00000000000..d12f26c0df8 --- /dev/null +++ b/clang/test/CodeGen/x86.c @@ -0,0 +1,15 @@ +// RUN: clang-cc %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1 +// RUN: grep "ax" %t1 && +// RUN: grep "bx" %t1 && +// RUN: grep "cx" %t1 && +// RUN: grep "dx" %t1 && +// RUN: grep "di" %t1 && +// RUN: grep "si" %t1 && +// RUN: grep "st" %t1 && +// RUN: grep "st(1)" %t1 + +void f() { + int d1, d2; + asm ("" : "=a" (d1), "=b" (d2) : + "c" (0), "d" (0), "S" (0), "D" (0), "t" (0), "u" (0)); +} |