diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2017-02-16 18:27:46 +0100 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2017-02-16 18:27:46 +0100 |
commit | 42e457e81da2071aacfb026f234b60173727cbbf (patch) | |
tree | cc58712ec607a63e4a9df84b91607077f5aedfc6 /mpn/arm64 | |
parent | 21437dc250d61d7346c8edda6dd8cf29ad54e833 (diff) | |
download | gmp-42e457e81da2071aacfb026f234b60173727cbbf.tar.gz |
Remove file since default code now performs similarly.
Diffstat (limited to 'mpn/arm64')
-rw-r--r-- | mpn/arm64/xgene1/aors_n.asm | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/mpn/arm64/xgene1/aors_n.asm b/mpn/arm64/xgene1/aors_n.asm deleted file mode 100644 index 500f40079..000000000 --- a/mpn/arm64/xgene1/aors_n.asm +++ /dev/null @@ -1,100 +0,0 @@ -dnl ARM64 mpn_add_n and mpn_sub_n - -dnl Contributed to the GNU project by Torbjörn Granlund. - -dnl Copyright 2013, 2015, 2017 Free Software Foundation, Inc. - -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 modify -dnl it under the terms of either: -dnl -dnl * the GNU Lesser General Public License as published by the Free -dnl Software Foundation; either version 3 of the License, or (at your -dnl option) any later version. -dnl -dnl or -dnl -dnl * the GNU General Public License as published by the Free Software -dnl Foundation; either version 2 of the License, or (at your option) any -dnl later version. -dnl -dnl or both in parallel, as here. -dnl -dnl The GNU MP Library is distributed in the hope that it will be useful, but -dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -dnl for more details. -dnl -dnl You should have received copies of the GNU General Public License and the -dnl GNU Lesser General Public License along with the GNU MP Library. If not, -dnl see https://www.gnu.org/licenses/. - -include(`../config.m4') - -C cycles/limb -C Cortex-A53 3.5-4 -C Cortex-A57 2 -C X-Gene 2 - -changecom(blah) - -define(`rp', `x0') -define(`up', `x1') -define(`vp', `x2') -define(`n', `x3') - -ifdef(`OPERATION_add_n', ` - define(`ADDSUBC', adcs) - define(`CLRCY', `cmn xzr, xzr') - define(`SETCY', `cmp $1, #1') - define(`RETVAL', `cset x0, cs') - define(`func', mpn_add_n) - define(`func_nc', mpn_add_nc)') -ifdef(`OPERATION_sub_n', ` - define(`ADDSUBC', sbcs) - define(`CLRCY', `cmp xzr, xzr') - define(`SETCY', `cmp xzr, $1') - define(`RETVAL', `cset x0, cc') - define(`func', mpn_sub_n) - define(`func_nc', mpn_sub_nc)') - -MULFUNC_PROLOGUE(mpn_add_n mpn_add_nc mpn_sub_n mpn_sub_nc) - -ASM_START() -PROLOGUE(func_nc) - SETCY( x4) - b L(ent) -EPILOGUE() -PROLOGUE(func) - CLRCY -L(ent): tbz n, #0, L(b0) - - ldr x4, [up],#8 - ldr x6, [vp],#8 - sub n, n, #1 - ADDSUBC x8, x4, x6 - str x8, [rp],#8 - cbz n, L(rt) - -L(b0): ldp x4, x5, [up],#16 - ldp x6, x7, [vp],#16 - sub n, n, #2 - cbz n, L(end) - -L(top): ADDSUBC x8, x4, x6 - ADDSUBC x9, x5, x7 - ldp x4, x5, [up] - add up, up, #16 - ldp x6, x7, [vp] - add vp, vp, #16 - stp x8, x9, [rp],#16 - sub n, n, #2 - cbnz n, L(top) - -L(end): ADDSUBC x8, x4, x6 - ADDSUBC x9, x5, x7 - stp x8, x9, [rp] -L(rt): RETVAL - ret -EPILOGUE() |