Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2266)

Unified Diff: gcc/gmp/mpn/s390/README

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gmp/mpn/pyr/sub_n.s ('k') | gcc/gmp/mpn/s390/addmul_1.asm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gmp/mpn/s390/README
diff --git a/gcc/gmp/mpn/s390/README b/gcc/gmp/mpn/s390/README
deleted file mode 100644
index 59519ba538461b1da9933df9ee41ce6a4a5f52fc..0000000000000000000000000000000000000000
--- a/gcc/gmp/mpn/s390/README
+++ /dev/null
@@ -1,37 +0,0 @@
-All current (2001) S/390 and z/Architecture machines are single-issue,
-but some newer machines have a deep pipeline. Software-pipelining is
-therefore beneficial.
-
-* mpn_add_n, mpn_sub_n: Use code along the lines below. Two-way unrolling
- would be adequate.
-
- mp_limb_t
- mpn_add_n (mp_ptr rp, mp_srcptr up, mp_srcptr vp, mp_size_t n)
- {
- mp_limb_t a, b, r, cy;
- mp_size_t i;
- mp_limb_t mm = -1;
-
- cy = 0;
- up += n;
- vp += n;
- rp += n;
- i = -n;
- do
- {
- a = up[i];
- b = vp[i];
- r = a + b + cy;
- rp[i] = r;
- cy = (((a & b) | ((a | b) & (r ^ mm)))) >> 31;
- i++;
- }
- while (i < 0);
- return cy;
- }
-
-* mpn_lshift, mpn_rshift: Use SLDL/SRDL, and two-way unrolling.
-
-* mpn_mul_1, mpn_addmul_1, mpn_submul_1: For machines with just signed
- multiply (MR), use two loops, similar to the corresponding VAX or
- POWER functions. Handle carry like for mpn_add_n.
« no previous file with comments | « gcc/gmp/mpn/pyr/sub_n.s ('k') | gcc/gmp/mpn/s390/addmul_1.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698