Identifying if --disable-fft has been used
Kate Minola
kminola at po1.glue.umd.edu
Wed Mar 3 10:00:25 CET 2004
Torbjorn,
You suggested using nm and looking for fft to determine if
--disable-fft has been used to build gmp.
I guess I don't know what I am looking for. Below is what
I am seeing from a build of gmp-4.1.2 with --disable-shared
--disable-fft and a build of gmp-4.1.2 with just
--disable-shared for both a pentium4-pc-linux-gnu and a
ultrasparc2-sun-solaris2.8. What is common that indicates
that --disable-fft has been used?
And on a powerpc64-ibm-aix5.2.0.0, 'nm libgmp.a' gives no output!
Kate Minola
Engineering Department
University of Maryland, College Park
***
pentium4-pc-linux-gnu
***
% cd
/home/kate/gmp/gmp-4.1.2/x86-Linux/lib
% nm libgmp.a | grep fft
U __gmpn_mul_fft_full
mul_fft.o:
00000000 T __gmpn_fft_best_k
00000051 T __gmpn_fft_next_size
00001bbc T __gmpn_mul_fft
00001fd9 T __gmpn_mul_fft_full
000004b9 t mpn_fft_add_modF
00001100 t mpn_fft_div_2exp_modF
00000732 t mpn_fft_fft
00000f1b t mpn_fft_fftinv
00000519 t mpn_fft_fft_sqr
000000b2 t mpn_fft_initl
0000011d t mpn_fft_mul_2exp_modF
00000b2b t mpn_fft_mul_modF_K
00000aae t mpn_fft_norm
00001153 t mpn_fft_norm_modF
00000000 r mpn_fft_table
0000133e t mpn_mul_fft_internal
U __gmpn_mul_fft_full
%
% cd lib
/home/kate/gmp/gmp-4.1.2/x86-Linux-nofft/lib
libgmp.a libgmp.la*
% nm libgmp.a | grep fft
mul_fft.o:
00000000 T __gmpn_fft_best_k
00000051 T __gmpn_fft_next_size
00001bbc T __gmpn_mul_fft
00001fd9 T __gmpn_mul_fft_full
000004b9 t mpn_fft_add_modF
00001100 t mpn_fft_div_2exp_modF
00000732 t mpn_fft_fft
00000f1b t mpn_fft_fftinv
00000519 t mpn_fft_fft_sqr
000000b2 t mpn_fft_initl
0000011d t mpn_fft_mul_2exp_modF
00000b2b t mpn_fft_mul_modF_K
00000aae t mpn_fft_norm
00001153 t mpn_fft_norm_modF
00000000 r mpn_fft_table
0000133e t mpn_mul_fft_internal
%
***
ultrasparc2-sun-solaris2.8
***
a% cd lib
/usr/local/gmp-4.1.2/sparc-SunOS-5.8/lib
libgmp.a libgmp.la*
% nm libgmp.a | grep fft
[11] | 0| 0|NOTY |GLOB |0 |UNDEF |__gmpn_mul_fft_full
libgmp.a[mul_fft.o]:
[27] | 0| 212|FUNC |GLOB |0 |5 |__gmpn_fft_best_k
[26] | 212| 96|FUNC |GLOB |0 |5 |__gmpn_fft_next_size
[30] | 7088| 1180|FUNC |GLOB |0 |5 |__gmpn_mul_fft
[25] | 8268| 204|FUNC |GLOB |0 |5 |__gmpn_mul_fft_full
[23] | 1568| 100|FUNC |LOCL |0 |5 |mpn_fft_add_modF
[6] | 4556| 68|FUNC |LOCL |0 |5 |mpn_fft_div_2exp_modF
[15] | 2144| 760|FUNC |LOCL |0 |5 |mpn_fft_fft
[20] | 1668| 476|FUNC |LOCL |0 |5 |mpn_fft_fft_sqr
[11] | 4112| 444|FUNC |LOCL |0 |5 |mpn_fft_fftinv
[19] | 308| 156|FUNC |LOCL |0 |5 |mpn_fft_initl
[8] | 464| 1104|FUNC |LOCL |0 |5 |mpn_fft_mul_2exp_modF
[4] | 3048| 1064|FUNC |LOCL |0 |5 |mpn_fft_mul_modF_K
[3] | 2904| 144|FUNC |LOCL |0 |5 |mpn_fft_norm
[21] | 4624| 520|FUNC |LOCL |0 |5 |mpn_fft_norm_modF
[22] | 0| 256|OBJT |LOCL |0 |6 |mpn_fft_table
[14] | 5144| 1944|FUNC |LOCL |0 |5 |mpn_mul_fft_internal
[1] | 0| 0|FILE |LOCL |0 |ABS |mul_fft.c
[15] | 0| 0|NOTY |GLOB |0 |UNDEF |__gmpn_mul_fft_full
%
% cd lib
/usr/local/gmp-4.1.2-nofft/sparc-SunOS-5.8/lib
libgmp.a libgmp.la*
% nm libgmp.a | grep fft
libgmp.a[mul_fft.o]:
[27] | 0| 212|FUNC |GLOB |0 |5 |__gmpn_fft_best_k
[26] | 212| 96|FUNC |GLOB |0 |5 |__gmpn_fft_next_size
[30] | 7088| 1180|FUNC |GLOB |0 |5 |__gmpn_mul_fft
[25] | 8268| 204|FUNC |GLOB |0 |5 |__gmpn_mul_fft_full
[23] | 1568| 100|FUNC |LOCL |0 |5 |mpn_fft_add_modF
[6] | 4556| 68|FUNC |LOCL |0 |5 |mpn_fft_div_2exp_modF
[15] | 2144| 760|FUNC |LOCL |0 |5 |mpn_fft_fft
[20] | 1668| 476|FUNC |LOCL |0 |5 |mpn_fft_fft_sqr
[11] | 4112| 444|FUNC |LOCL |0 |5 |mpn_fft_fftinv
[19] | 308| 156|FUNC |LOCL |0 |5 |mpn_fft_initl
[8] | 464| 1104|FUNC |LOCL |0 |5 |mpn_fft_mul_2exp_modF
[4] | 3048| 1064|FUNC |LOCL |0 |5 |mpn_fft_mul_modF_K
[3] | 2904| 144|FUNC |LOCL |0 |5 |mpn_fft_norm
[21] | 4624| 520|FUNC |LOCL |0 |5 |mpn_fft_norm_modF
[22] | 0| 256|OBJT |LOCL |0 |6 |mpn_fft_table
[14] | 5144| 1944|FUNC |LOCL |0 |5 |mpn_mul_fft_internal
[1] | 0| 0|FILE |LOCL |0 |ABS |mul_fft.c
%
*********************************************************************************
More information about the gmp-discuss
mailing list