[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] RDTSC Issue




I have program that uses RDTSC in it.  But when I try to do a out of tree compile I get the follwoing error message:

NativeTimeStamp.cpp: In method 'u_int64_t NativeTimeStamp::rdtsc():
NativeTImeStamp.cpp:215: inconsistent operand contraints in as 'ams'
make: *** [NativeTimeStamp.o] Error 1

Is there any equivalent for the rdtsc command?
The line that is having an issue is the following:

__asm__ __volatile__ ("rdtsc" : "=&A" (d));