| Gabor Greif | 6881ace | 2007-07-17 10:25:31 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc | 
| Chris Lattner | 61553c1 | 2007-04-28 06:05:59 +0000 | [diff] [blame] | 2 |  | 
|  | 3 | %struct..0anon = type { [100 x i32] } | 
|  | 4 |  | 
|  | 5 | define void @test() { | 
|  | 6 | entry: | 
|  | 7 | %currfpu = alloca %struct..0anon, align 16              ; <%struct..0anon*> [#uses=2] | 
|  | 8 | %mxcsr = alloca %struct..0anon, align 16                ; <%struct..0anon*> [#uses=1] | 
|  | 9 | call void asm sideeffect "fnstenv $0", "=*m,~{dirflag},~{fpsr},~{flags}"( %struct..0anon* %currfpu ) | 
|  | 10 | call void asm sideeffect "$0  $1", "=*m,*m,~{dirflag},~{fpsr},~{flags}"( %struct..0anon* %mxcsr, %struct..0anon* %currfpu ) | 
|  | 11 | ret void | 
|  | 12 | } | 
|  | 13 |  |