Add SSE2 subtract functions
Instead of doing 8-bit data unpack and 16-bit subtraction, use psubb to do 16 8-bit subtractions and pcmpgtb to preserve the sign information. This does not bring noticable gain since these functions are not called frequently. Change-Id: I90a0dfaa3db9d422e4ada324076596ffb178548e
Showing
- vp8/encoder/x86/encodemb_x86.h 12 additions, 1 deletionvp8/encoder/x86/encodemb_x86.h
- vp8/encoder/x86/subtract_mmx.asm 1 addition, 1 deletionvp8/encoder/x86/subtract_mmx.asm
- vp8/encoder/x86/subtract_sse2.asm 348 additions, 0 deletionsvp8/encoder/x86/subtract_sse2.asm
- vp8/encoder/x86/x86_csystemdependent.c 15 additions, 3 deletionsvp8/encoder/x86/x86_csystemdependent.c
- vp8/vp8cx.mk 1 addition, 0 deletionsvp8/vp8cx.mk
Loading
Please register or sign in to comment