Slight speedup in x86 functions