• Johann's avatar
    keep values in registers during quantization · 508ae1b3
    Johann authored
    add an sse4 quantizer so we can use pinsrw/pextrw and keep values in xmm
    registers instead of proxying through the stack. and as long as we're
    bumping up, use some ssse3 instructions in the EOB detection (see ssse3
    fast quantizer)
    pick up about a percent on 32bit and about two on 64bit.
    Change-Id: If15abba0e8b037a1d231c0edf33501545c9d9363
quantize_sse4.asm 5.95 KB