forked from ibphoenix/tomsfastmath
Regenerate sqr comba files
This commit is contained in:
parent
bdeafda752
commit
be2ca4880d
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR12
|
#if defined(TFM_SQR12) && FP_SIZE >= 24
|
||||||
void fp_sqr_comba12(fp_int *A, fp_int *B)
|
void fp_sqr_comba12(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[24], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[24], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR17
|
#if defined(TFM_SQR17) && FP_SIZE >= 34
|
||||||
void fp_sqr_comba17(fp_int *A, fp_int *B)
|
void fp_sqr_comba17(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[34], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[34], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR20
|
#if defined(TFM_SQR20) && FP_SIZE >= 40
|
||||||
void fp_sqr_comba20(fp_int *A, fp_int *B)
|
void fp_sqr_comba20(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[40], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[40], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR24
|
#if defined(TFM_SQR24) && FP_SIZE >= 48
|
||||||
void fp_sqr_comba24(fp_int *A, fp_int *B)
|
void fp_sqr_comba24(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[48], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[48], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR28
|
#if defined(TFM_SQR28) && FP_SIZE >= 56
|
||||||
void fp_sqr_comba28(fp_int *A, fp_int *B)
|
void fp_sqr_comba28(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[56], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[56], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR3
|
#if defined(TFM_SQR3) && FP_SIZE >= 6
|
||||||
void fp_sqr_comba3(fp_int *A, fp_int *B)
|
void fp_sqr_comba3(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[6], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[6], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR32
|
#if defined(TFM_SQR32) && FP_SIZE >= 64
|
||||||
void fp_sqr_comba32(fp_int *A, fp_int *B)
|
void fp_sqr_comba32(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[64], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[64], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR4
|
#if defined(TFM_SQR4) && FP_SIZE >= 8
|
||||||
void fp_sqr_comba4(fp_int *A, fp_int *B)
|
void fp_sqr_comba4(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[8], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[8], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR48
|
#if defined(TFM_SQR48) && FP_SIZE >= 96
|
||||||
void fp_sqr_comba48(fp_int *A, fp_int *B)
|
void fp_sqr_comba48(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[96], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[96], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR6
|
#if defined(TFM_SQR6) && FP_SIZE >= 12
|
||||||
void fp_sqr_comba6(fp_int *A, fp_int *B)
|
void fp_sqr_comba6(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[12], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[12], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR64
|
#if defined(TFM_SQR64) && FP_SIZE >= 128
|
||||||
void fp_sqr_comba64(fp_int *A, fp_int *B)
|
void fp_sqr_comba64(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[128], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[128], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR7
|
#if defined(TFM_SQR7) && FP_SIZE >= 14
|
||||||
void fp_sqr_comba7(fp_int *A, fp_int *B)
|
void fp_sqr_comba7(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[14], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[14], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR8
|
#if defined(TFM_SQR8) && FP_SIZE >= 16
|
||||||
void fp_sqr_comba8(fp_int *A, fp_int *B)
|
void fp_sqr_comba8(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[16], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[16], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define TFM_DEFINES
|
#define TFM_DEFINES
|
||||||
#include "fp_sqr_comba.c"
|
#include "fp_sqr_comba.c"
|
||||||
|
|
||||||
#ifdef TFM_SQR9
|
#if defined(TFM_SQR9) && FP_SIZE >= 18
|
||||||
void fp_sqr_comba9(fp_int *A, fp_int *B)
|
void fp_sqr_comba9(fp_int *A, fp_int *B)
|
||||||
{
|
{
|
||||||
fp_digit *a, b[18], c0, c1, c2, sc0, sc1, sc2;
|
fp_digit *a, b[18], c0, c1, c2, sc0, sc1, sc2;
|
||||||
|
Loading…
Reference in New Issue
Block a user