summaryrefslogtreecommitdiff
path: root/tune/sparcv9.asm
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-06-13 16:38:26 +0200
committertege <tege@gmplib.org>2000-06-13 16:38:26 +0200
commitcab26574496f5235540cbb4e346bfed04308d180 (patch)
tree6040ee77d82b8d6b0c7a17f04244ea2f5a4d2015 /tune/sparcv9.asm
parente5942cbc0c1bcf48a7db8189175b996a9bf2c556 (diff)
downloadgmp-cab26574496f5235540cbb4e346bfed04308d180.tar.gz
Tune, deleting two instructions.
Diffstat (limited to 'tune/sparcv9.asm')
-rw-r--r--tune/sparcv9.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/tune/sparcv9.asm b/tune/sparcv9.asm
index a7fe819af..c91285a79 100644
--- a/tune/sparcv9.asm
+++ b/tune/sparcv9.asm
@@ -29,10 +29,8 @@ C Get the sparc v9 tick counter.
ASM_START()
PROLOGUE(speed_cyclecounter)
rd %tick,%g1
+ st %g1,[%o0] C low 32 bits
srlx %g1,32,%g4
- st %g4,[%o0+4] C high 32 bits
- srl %g1,0,%g4
- st %g4,[%o0] C low 32 bits
retl
- nop
+ st %g4,[%o0+4] C high 32 bits
EPILOGUE(speed_cyclecounter)