mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
47e208bbea
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139046 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
530 B
LLVM
18 lines
530 B
LLVM
; RUN: llc < %s
|
|
|
|
define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {
|
|
entry:
|
|
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
|
|
|
|
.noexc: ; preds = %entry
|
|
ret void
|
|
|
|
cleanup144: ; preds = %entry
|
|
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
|
|
cleanup
|
|
resume { i8*, i32 } %exn
|
|
}
|
|
|
|
declare i32 @__gxx_personality_v0(...)
|