sse/avx version of min/max/sums