Add an x86 optimized version of extend().