diff options
author | tege <tege@gmplib.org> | 2000-06-13 16:38:16 +0200 |
---|---|---|
committer | tege <tege@gmplib.org> | 2000-06-13 16:38:16 +0200 |
commit | e5942cbc0c1bcf48a7db8189175b996a9bf2c556 (patch) | |
tree | 5e39b567c2497effea6d7e56b032b91f3f3888af /tune/alpha.asm | |
parent | 6fc26860f37ab76231f81cbd77cbe6512e99f019 (diff) | |
download | gmp-e5942cbc0c1bcf48a7db8189175b996a9bf2c556.tar.gz |
Update to unified speed_cyclecounter.
Diffstat (limited to 'tune/alpha.asm')
-rw-r--r-- | tune/alpha.asm | 11 |
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() |