ok guess I need to research the rdtsc
command some more to understand exactly what it is doing then. I
have had some trouble figuring that out and how to do the same thing in
uclinux.
Thanks
Brett
alucero@os3sl.com Sent by: owner-microblaze-uclinux@itee.uq.edu.au
07/27/2005 12:46 PM
Please respond to
microblaze-uclinux@itee.uq.edu.au
To
microblaze-uclinux@itee.uq.edu.au
cc
Subject
Re: [microblaze-uclinux]
RDTSC Issue
rdtsc is an intel insrtuction beginning to be used
with the Pentium.
Microblaze has not this instruction, so you must do a port for this part
of
the program.
On Wednesday 27 July 2005 18:34, mcnernbm@notes.udayton.edu wrote:
> 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));
--
Alejandro Lucero
OS3, OS Serveis i Solucions
www.os3sl.com
Ingeniería Informática
+34 665687168
Av.Benjamin Franklin
CEEI. Parque Tecnológico de Paterna
Valencia(Spain)
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/