blob: bd26481bd30601161555a89b6b2645e28bb1815f [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -enable-eh
Duncan Sands1c5526c2007-12-17 18:08:19 +00002
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}