Dan Gohman | 36a0947 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 | grep fxch | count 2 |
Evan Cheng | a0eedac | 2009-02-09 23:32:07 +0000 | [diff] [blame] | 2 | |
3 | define i32 @main() nounwind { | ||||
4 | entry: | ||||
5 | %asmtmp = tail call { double, double } asm sideeffect "fmul\09%st(1),%st\0A\09fst\09%st(1)\0A\09frndint\0A\09fxch %st(1)\0A\09fsub\09%st(1),%st\0A\09f2xm1\0A\09", "={st},={st(1)},0,1,~{dirflag},~{fpsr},~{flags}"(double 0x4030FEFBD582097D, double 4.620000e+01) nounwind ; <{ double, double }> [#uses=0] | ||||
6 | unreachable | ||||
7 | } |