2010-05-02 15:36:26 +00:00
|
|
|
; RUN: llc < %s
|
2007-12-17 18:08:19 +00:00
|
|
|
|
|
|
|
define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {
|
|
|
|
entry:
|
2011-08-25 23:48:37 +00:00
|
|
|
invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
|
|
|
|
to label %.noexc unwind label %cleanup144
|
2007-12-17 18:08:19 +00:00
|
|
|
|
|
|
|
.noexc: ; preds = %entry
|
2011-08-25 23:48:37 +00:00
|
|
|
ret void
|
2007-12-17 18:08:19 +00:00
|
|
|
|
|
|
|
cleanup144: ; preds = %entry
|
2011-08-25 23:48:37 +00:00
|
|
|
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
|
|
|
|
cleanup
|
2011-09-02 22:41:11 +00:00
|
|
|
resume { i8*, i32 } %exn
|
2007-12-17 18:08:19 +00:00
|
|
|
}
|
2011-08-25 23:48:37 +00:00
|
|
|
|
|
|
|
declare i32 @__gxx_personality_v0(...)
|