blob: 4cc1e7c181ed28399e170fc45f02f2f4d8b19743 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -enable-eh
Duncan Sandsfd7b3262007-12-17 18:08:19 +00002
Duncan Sandsfd7b3262007-12-17 18:08:19 +00003define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {
4entry:
5 invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
6 to label %.noexc unwind label %cleanup144
7
8.noexc: ; preds = %entry
9 ret void
10
11cleanup144: ; preds = %entry
12 unwind
13}