diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-06-09 00:59:13 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-06-09 00:59:13 +0200 |
commit | 5c04b0cfe10dfdc27e54fc7a27cacd5b99096afd (patch) | |
tree | 6ecaa35f73c59ad29693510d49288604e4205215 | |
parent | 8ea823dee342ac824045156d8ead30d916237db3 (diff) | |
download | gmp-5c04b0cfe10dfdc27e54fc7a27cacd5b99096afd.tar.gz |
* tune/*: Switch to unified speed_cyclecounter.
-rw-r--r-- | tune/sparcv9.asm | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tune/sparcv9.asm b/tune/sparcv9.asm index 91193765c..a7fe819af 100644 --- a/tune/sparcv9.asm +++ b/tune/sparcv9.asm @@ -22,14 +22,12 @@ dnl Suite 330, Boston, MA 02111-1307, USA. include(`../config.m4') -C void speed_cyclecounter_2 (mp_limb_t p[2]); +C void speed_cyclecounter (unsigned long p[2]); C -C Get the sparc v9 tick counter, storing the least significant word in -C p[0] and the most significant in p[1]. We cannot return 64 bits -C since not all V9 systems run a 64-bit aware OS. +C Get the sparc v9 tick counter. ASM_START() -PROLOGUE(speed_cyclecounter_2) +PROLOGUE(speed_cyclecounter) rd %tick,%g1 srlx %g1,32,%g4 st %g4,[%o0+4] C high 32 bits @@ -37,4 +35,4 @@ PROLOGUE(speed_cyclecounter_2) st %g4,[%o0] C low 32 bits retl nop -EPILOGUE(speed_cyclecounter_2) +EPILOGUE(speed_cyclecounter) |