releases-comm-central/third_party/libgcrypt/mpi/mips3
Kai Engert 2dac93d45c Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D37326
2019-07-08 21:08:04 +00:00
..
README Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00
distfiles Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00
mpi-asm-defs.h Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00
mpih-add1.S Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00
mpih-lshift.S Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00
mpih-mul1.S Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00
mpih-mul2.S Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00
mpih-mul3.S Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00
mpih-rshift.S Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00
mpih-sub1.S Bug 1518164 - Import the libgcrypt library code into the comm-central tree. r=mkmelin 2019-07-08 21:08:04 +00:00

README

This directory contains mpn functions optimized for MIPS3.  Example of
processors that implement MIPS3 are R4000, R4400, R4600, R4700, and R8000.

RELEVANT OPTIMIZATION ISSUES

1. On the R4000 and R4400, branches, both the plain and the "likely" ones,
   take 3 cycles to execute.  (The fastest possible loop will take 4 cycles,
   because of the delay insn.)

   On the R4600, branches takes a single cycle

   On the R8000, branches often take no noticeable cycles, as they are
   executed in a separate function unit..

2. The R4000 and R4400 have a load latency of 4 cycles.

3. On the R4000 and R4400, multiplies take a data-dependent number of
   cycles, contrary to the SGI documentation.  There seem to be 3 or 4
   possible latencies.

STATUS

Good...