GCC为什么不把a*a优化到(a*a)*(a*a)?
pow(a,2)a*apow(a,6)powiccpow(a,6).)
pow(a,6)a*a*a*a*a*a-O3 -lm -funroll-loops -msse4mulsd
movapd %xmm14, %xmm13 mulsd %xmm14, %xmm13 mulsd %xmm14, %xmm13 mulsd %xmm14, %xmm13 mulsd %xmm14, %xmm13 mulsd %xmm14, %xmm13
(a*a*a)*(a*a*a)
movapd %xmm14, %xmm13 mulsd %xmm14, %xmm13 mulsd %xmm14, %xmm13 mulsd %xmm13, %xmm13
icc
慕桂英4014372
慕田峪4524236
桃花长相依
随时随地看视频慕课网APP