summaryrefslogtreecommitdiff
path: root/tune/alpha.asm
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-06-13 16:38:16 +0200
committertege <tege@gmplib.org>2000-06-13 16:38:16 +0200
commite5942cbc0c1bcf48a7db8189175b996a9bf2c556 (patch)
tree5e39b567c2497effea6d7e56b032b91f3f3888af /tune/alpha.asm
parent6fc26860f37ab76231f81cbd77cbe6512e99f019 (diff)
downloadgmp-e5942cbc0c1bcf48a7db8189175b996a9bf2c556.tar.gz
Update to unified speed_cyclecounter.
Diffstat (limited to 'tune/alpha.asm')
-rw-r--r--tune/alpha.asm11
1 files changed, 7 insertions, 4 deletions
diff --git a/tune/alpha.asm b/tune/alpha.asm
index 8418ad471..0ffd2a03b 100644
--- a/tune/alpha.asm
+++ b/tune/alpha.asm
@@ -22,12 +22,15 @@ dnl Suite 330, Boston, MA 02111-1307, USA.
include(`../config.m4')
-C mp_limb_t speed_cyclecounter_1 (void);
+C void speed_cyclecounter (int p[2]);
C
ASM_START()
-PROLOGUE(speed_cyclecounter_1)
- rpcc $0
+PROLOGUE(speed_cyclecounter)
+ rpcc r0
+ stl r0,0(r16)
+ srl r0,32,r0
+ stl r0,4(r16)
ret r31,(r26),1
-EPILOGUE(speed_cyclecounter_1)
+EPILOGUE(speed_cyclecounter)
ASM_END()