Update optimizations based on GCC research