On a PPC64 machine, with Altivec (and the patch from bug 14914). ---8<--- #include <liboil/liboil.h> int main (int argc, char **argv) { oil_debug_set_level (5); oil_init(); return 0; } ---8<--- Crashes when running rgb2bgr_ppc(). OIL: DEBUG liboiltest.c 399: oil_test_check_impl(): sum of absolute differences 0 for 300 values OIL: LOG liboilfunction.c 388: oil_class_optimize(): impl rgb2bgr_ppc2 ave=16.8 std=1.15256 OIL: LOG liboilfunction.c 379: oil_class_optimize(): testing impl rgb2bgr_ppc OIL: LOG liboiltest.c 232: oil_test_check_function(): calling function rgb2bgr_ppc OIL: LOG liboiltest.c 241: oil_test_check_function(): dest1: 0x00000000 (0) OIL: LOG liboiltest.c 241: oil_test_check_function(): src1: 0x00000000 (0) OIL: LOG liboiltest.c 241: oil_test_check_function(): n: 0x00000064 (100)
What is the value of HAVE_UNALIGNED_ACCESS in config.h? And does it crash with SIGBUS, SIGILL, or SIGSEGV?
Created attachment 15074 [details] [review] patch
Tested git HEAD on bombadil.infradead.org, appears to work now.
Is that with David's patch changing the register used? If so, any chance to get a new release? :)
Yes, among other things. New release in a few hours. I'm currently test compiling on various architectures and closing bugs.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.