Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1 |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 2 | // RUN: grep "ax" %t1 |
| 3 | // RUN: grep "bx" %t1 |
| 4 | // RUN: grep "cx" %t1 |
| 5 | // RUN: grep "dx" %t1 |
| 6 | // RUN: grep "di" %t1 |
| 7 | // RUN: grep "si" %t1 |
| 8 | // RUN: grep "st" %t1 |
Lauro Ramos Venancio | a5694b8 | 2008-02-26 18:33:46 +0000 | [diff] [blame] | 9 | // RUN: grep "st(1)" %t1 |
| 10 | |
Chris Lattner | f29c8ad | 2009-04-18 07:01:54 +0000 | [diff] [blame] | 11 | void test1() { |
Lauro Ramos Venancio | a5694b8 | 2008-02-26 18:33:46 +0000 | [diff] [blame] | 12 | int d1, d2; |
| 13 | asm ("" : "=a" (d1), "=b" (d2) : |
| 14 | "c" (0), "d" (0), "S" (0), "D" (0), "t" (0), "u" (0)); |
| 15 | } |