david sheffield's 'select' implementation with sse