diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-05-28 02:31:50 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-05-28 02:31:50 +0200 |
commit | 1e56e223122dce4d0720528cab26e2efa6146d38 (patch) | |
tree | b88abd39678f260d2e230d237a51ad1a68a22bf8 /tune/sparc64.asm | |
parent | 5872badb5d0edab7a2a6a03e0b10b8b008745b25 (diff) | |
download | gmp-1e56e223122dce4d0720528cab26e2efa6146d38.tar.gz |
* tune/sparc64.asm: New file.
Diffstat (limited to 'tune/sparc64.asm')
-rw-r--r-- | tune/sparc64.asm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tune/sparc64.asm b/tune/sparc64.asm new file mode 100644 index 000000000..22f92cafe --- /dev/null +++ b/tune/sparc64.asm @@ -0,0 +1,32 @@ +dnl sparc_tick -- sparc v9 64-bit time stamp counter access routine. + +dnl Copyright (C) 2000 Free Software Foundation, Inc. +dnl +dnl This file is part of the GNU MP Library. +dnl +dnl The GNU MP Library is free software; you can redistribute it and/or +dnl modify it under the terms of the GNU Library General Public License as +dnl published by the Free Software Foundation; either version 2 of the +dnl License, or (at your option) any later version. +dnl +dnl The GNU MP Library is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl Library General Public License for more details. +dnl +dnl You should have received a copy of the GNU Library General Public +dnl License along with the GNU MP Library; see the file COPYING.LIB. If +dnl not, write to the Free Software Foundation, Inc., 59 Temple Place - +dnl Suite 330, Boston, MA 02111-1307, USA. + +include(`../config.m4') + + +C mp_limb_t speed_cyclecounter_1 (void); + +ASM_START() +PROLOGUE(speed_cyclecounter_1) + rd %tick,%o0 + retl + nop +EPILOGUE(speed_cyclecounter_1) |