From 379f9ad4c9232baa841e83e2f53ef416d30d76e7 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 6 Nov 2010 17:44:20 +0000 Subject: [PATCH] disable orc for im_add uint/int --- libvips/arithmetic/im_add.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libvips/arithmetic/im_add.c b/libvips/arithmetic/im_add.c index 3c384eee..cba87e7a 100644 --- a/libvips/arithmetic/im_add.c +++ b/libvips/arithmetic/im_add.c @@ -418,11 +418,16 @@ build_programs( void ) vips_vector_asm2( v, "convswl", "t2", "s2" ); vips_vector_asm3( v, "addl", "d1", "t1", "t2" ); + /* + + uint/int are a little slower than C, on a c2d anyway + v = add_vectors[IM_BANDFMT_UINT]; vips_vector_asm3( v, "addl", "d1", "s1", "s2" ); v = add_vectors[IM_BANDFMT_INT]; vips_vector_asm3( v, "addl", "d1", "s1", "s2" ); + */ im__compile_programs( add_vectors ); }