Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Intel assembly to AXP assembly
@ 1998-05-23  3:36 Leslie F. Donaldson
  1998-05-23  8:36 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Leslie F. Donaldson @ 1998-05-23  3:36 UTC (permalink / raw)
  To: axp-list


Hello All,
I am trying to convert a piece of code and i don't have a good
way to convert this fragement.

#define GET_TSC(x)      __asm__ __volatile__ ( "rdtsc" : "=a" (x) )


Any good suggestions?
Please send the reply to my email address because of the broken state of 
redhat's archiving service...

donaldlf@cs.rose-hulman.edu

/----------------------------\ Current Contractor: Oxford International
|    Leslie F. Donaldson     | Current Customer  : XXXXXXXXXXXXXXXXXXX 
|    Computer Contractor     | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly
| Have Computer will travel. | Curr   : http://www.cs.rose-hulman.edu/~donaldlf
\----------------------------/ Current Email  : donaldlf@cs.rose-hulman.edu
Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+
                H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Intel assembly to AXP assembly
  1998-05-23  3:36 Intel assembly to AXP assembly Leslie F. Donaldson
@ 1998-05-23  8:36 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1998-05-23  8:36 UTC (permalink / raw)
  To: axp-list; +Cc: donaldlf

On Fri, May 22, 1998 at 10:36:58PM -0500, Leslie F. Donaldson wrote:
> #define GET_TSC(x)      __asm__ __volatile__ ( "rdtsc" : "=a" (x) )

#define GET_TSC(X)	__asm__ __volatile__ ("rpcc %0" : "=r"(X))


r~


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-05-23  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-23  3:36 Intel assembly to AXP assembly Leslie F. Donaldson
1998-05-23  8:36 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox