blob: 5df2200dec76d10bf1de1af8dc5589f7b327354b [file] [log] [blame]
Duncan Sands57b6e9e2010-05-02 15:36:26 +00001; RUN: llc < %s
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}