summaryrefslogtreecommitdiff
path: root/tune/div_qr_1n_pi1_2.c
diff options
context:
space:
mode:
authorNiels M?ller <nisse@lysator.liu.se>2013-10-20 16:34:09 +0200
committerNiels M?ller <nisse@lysator.liu.se>2013-10-20 16:34:09 +0200
commitf94c85b30dfbcd68dabe2dee55eb0f2ed1dfac55 (patch)
tree1c8855c14bc7ebf7d8f521dbb063ee4560bf523a /tune/div_qr_1n_pi1_2.c
parent5b499c218f4e6ffc59b67e43e0306bdde92438bb (diff)
downloadgmp-f94c85b30dfbcd68dabe2dee55eb0f2ed1dfac55.tar.gz
Implemented tuning of mpn_div_qr_1.
Diffstat (limited to 'tune/div_qr_1n_pi1_2.c')
-rw-r--r--tune/div_qr_1n_pi1_2.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/tune/div_qr_1n_pi1_2.c b/tune/div_qr_1n_pi1_2.c
new file mode 100644
index 000000000..73b756db7
--- /dev/null
+++ b/tune/div_qr_1n_pi1_2.c
@@ -0,0 +1,28 @@
+/* mpn/generic/div_qr_1n_pi1.c method 2.
+
+Copyright 2013 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
+
+#include "gmp.h"
+#include "gmp-impl.h"
+
+#undef DIV_QR_1N_METHOD
+#define DIV_QR_1N_METHOD 2
+#undef mpn_div_qr_1n_pi1
+#define mpn_div_qr_1n_pi1 mpn_div_qr_1n_pi1_2
+
+#include "mpn/generic/div_qr_1n_pi1.c"