w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

toom54_mul.c File Reference
#include "gmp-impl.h"
Include dependency graph for toom54_mul.c:

Go to the source code of this file.

Macros

#define TOOM_54_MUL_N_REC(p, a, b, n, ws)
 
#define TOOM_54_MUL_REC(p, a, na, b, nb, ws)
 
#define a4   (ap + 4 * n)
 
#define b3   (bp + 3 * n)
 
#define r8   pp /* 2n */
 
#define r7   scratch /* 3n+1 */
 
#define r5   (pp + 3*n) /* 3n+1 */
 
#define v0   (pp + 3*n) /* n+1 */
 
#define v1   (pp + 4*n+1) /* n+1 */
 
#define v2   (pp + 5*n+2) /* n+1 */
 
#define v3   (pp + 6*n+3) /* n+1 */
 
#define r3   (scratch + 3 * n + 1) /* 3n+1 */
 
#define r1   (pp + 7*n) /* s+t <= 2*n */
 
#define ws   (scratch + 6 * n + 2) /* ??? */
 

Functions

void __gmpn_toom54_mul (mp_ptr pp, mp_srcptr ap, mp_size_t an, mp_srcptr bp, mp_size_t bn, mp_ptr scratch)
 

Macro Definition Documentation

◆ a4

#define a4   (ap + 4 * n)

◆ b3

#define b3   (bp + 3 * n)

◆ r1

#define r1   (pp + 7*n) /* s+t <= 2*n */

◆ r3

#define r3   (scratch + 3 * n + 1) /* 3n+1 */

◆ r5

#define r5   (pp + 3*n) /* 3n+1 */

◆ r7

#define r7   scratch /* 3n+1 */

◆ r8

#define r8   pp /* 2n */

◆ TOOM_54_MUL_N_REC

#define TOOM_54_MUL_N_REC (   p,
  a,
  b,
  n,
  ws 
)
Value:
do { mpn_mul_n (p, a, b, n); \
} while (0)
#define n
Definition: t4ht.c:1290
#define b
Definition: jpegint.h:372
#define mpn_mul_n
Definition: gmp.h:1549
#define a(n)
Definition: gpos-common.c:148
small capitals from c petite p
Definition: afcover.h:72

Definition at line 50 of file toom54_mul.c.

◆ TOOM_54_MUL_REC

#define TOOM_54_MUL_REC (   p,
  a,
  na,
  b,
  nb,
  ws 
)
Value:
do { mpn_mul (p, a, na, b, nb); \
} while (0)
#define mpn_mul
Definition: gmp.h:1543
integer nb
Definition: pmxab.c:180

Definition at line 54 of file toom54_mul.c.

◆ v0

#define v0   (pp + 3*n) /* n+1 */

◆ v1

#define v1   (pp + 4*n+1) /* n+1 */

◆ v2

#define v2   (pp + 5*n+2) /* n+1 */

◆ v3

#define v3   (pp + 6*n+3) /* n+1 */

◆ ws

#define ws   (scratch + 6 * n + 2) /* ??? */

Function Documentation

◆ __gmpn_toom54_mul()

void __gmpn_toom54_mul ( mp_ptr  pp,
mp_srcptr  ap,
mp_size_t  an,
mp_srcptr  bp,
mp_size_t  bn,
mp_ptr  scratch 
)

Definition at line 59 of file toom54_mul.c.