http://llvm.org/bugs/show_bug.cgi?id=14741

Kostya Serebryany <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Kostya Serebryany <[email protected]> 2012-12-29 05:39:32 CST 
---
The code is invalid. 
rdtsc changes rax and rdx, but the inline assembly blob doesn't tell it.
It should look something like this:
   __asm__ __volatile__ ("rdtsc" : "=A" (t) : : "rax", "rdx");

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to