blob: 4ea364d57e515a16d16e463325f9f1ce8635b271 [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86
Chris Lattnerfbc98912006-07-11 02:52:37 +00002; PR825
3
Tanya Lattner6f729d62008-03-25 04:26:08 +00004define i64 @test() {
5 %tmp.i5 = call i64 asm sideeffect "rdtsc", "=A,~{dirflag},~{fpsr},~{flags}"( ) ; <i64> [#uses=1]
6 ret i64 %tmp.i5
Chris Lattnerfbc98912006-07-11 02:52:37 +00007}
Tanya Lattner6f729d62008-03-25 04:26:08 +00008