Chris Lattner | faa6010 | 2006-02-01 01:45:02 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -enable-x86-sse && |
| 2 | ; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -enable-x86-sse | not grep movss |
| 3 | ; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -enable-x86-sse | not grep xmm |
| 4 | |
| 5 | double %test1(double *%P) { |
| 6 | %X = load double* %P |
| 7 | ret double %X |
| 8 | } |
| 9 | |
| 10 | double %test2() { |
| 11 | ret double 1234.56 |
| 12 | } |
| 13 | |
| 14 | ; FIXME: Todo |
| 15 | ;double %test3(bool %B) { |
| 16 | ; %C = select bool %B, double 123.412, double 523.01123123 |
| 17 | ; ret double %C |
| 18 | ;} |
| 19 | |