gf-complete/src/neon
Bassam Tabbara 87f0d4395d Add support for printing functions selected in gf_init
There is currently no way to figure out which functions were selected
during gf_init and as a result of SIMD options. This is not even possible
in gdb since most functions are static.

This commit adds a new macro SET_FUNCTION that records the name of the
function selected during init inside the gf_internal structure. This macro
only works when DEBUG_FUNCTIONS is defined during compile. Otherwise the
code works exactly as it did before this change.

The names of selected functions will be used during testing of SIMD
runtime detection.

All calls such as:

gf->multiply.w32 = gf_w16_shift_multiply;

need to be replaced with the following:

SET_FUNCTION(gf,multiply,w32,gf_w16_shift_multiply)

Also added a new flag to tools/gf_methods that will print the names of
functions selected during gf_init.
2016-09-13 12:24:25 -07:00
..
gf_w4_neon.c Add support for printing functions selected in gf_init 2016-09-13 12:24:25 -07:00
gf_w8_neon.c Add support for printing functions selected in gf_init 2016-09-13 12:24:25 -07:00
gf_w16_neon.c Add support for printing functions selected in gf_init 2016-09-13 12:24:25 -07:00
gf_w32_neon.c Add support for printing functions selected in gf_init 2016-09-13 12:24:25 -07:00
gf_w64_neon.c Add support for printing functions selected in gf_init 2016-09-13 12:24:25 -07:00