Nikos Mavrogiannopoulos <[email protected]> writes: > It's early, but it would be nice if the arm neon code was part of fat as well.
I've pushed a start for fat binary support on arm. A complication, not yet handled, is that for some functions (in fact, all neon-related code, I think), the runtime choice is between the C implementation and an assembly implementation. So we need some additional name mangling to do, e.g, #define sha3_permute _nettle_sha3_permute_c during the compilation of sha3-permute.c. Just a question on where to configure that. Maybe one could add something like #ifdef FAT_RENAME #include FAT_RENAME #endif and substitute FAT_RENAME in config.h, e.g., to fat-arm-rename.h. Hmm, or maybe it's good enough to just check the HAVE_NATIVE_foo. (In the case of non-fat builds, when that define is set, the file with the C implementation is never compiled at all). Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance. _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
