Sean McGovern <[email protected]> writes: > Hi folks, > > I talked about this briefly on IRC earlier this weekend, but in the course > of attempting to implement library symbol versioning I have run into this > problem. > > For example, the macro for ff_log2 in libavutil/intmath.h still uses > ff_log2_tab if you aren't on GCC. suncc doesn't appear to have a facility > similar to the __builtin_* convenience functions in GCC. > > Normal shared builds should be fine, but any non-GCC x86 compiler wanting > to implement symbol versioning would need to export these symbols.
Whatever problem you're running into, it's more subtle than that. The __builtin_clz version is only used on a few CPUs, the rest using tables even with gcc. Configuring with --disable-asm also uses the tables regardless of compiler and CPU. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
