Dan Gohman | da594cf | 2009-09-09 00:09:15 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -enable-eh |
Duncan Sands | 1c5526c | 2007-12-17 18:08:19 +0000 | [diff] [blame] | 2 | |
| 3 | target triple = "i686-pc-linux-gnu" |
| 4 | |
| 5 | define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() { |
| 6 | entry: |
| 7 | invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null ) |
| 8 | to label %.noexc unwind label %cleanup144 |
| 9 | |
| 10 | .noexc: ; preds = %entry |
| 11 | ret void |
| 12 | |
| 13 | cleanup144: ; preds = %entry |
| 14 | unwind |
| 15 | } |