blob: 98871d0e3a45d2f6a80a867356289acc452121f5 [file] [log] [blame]
Duncan Sandsfd7b3262007-12-17 18:08:19 +00001; RUN: llvm-as < %s | llc -enable-eh
2
3target triple = "i686-pc-linux-gnu"
4
5define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {
6entry:
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
13cleanup144: ; preds = %entry
14 unwind
15}