gcc & x86

x86指令集

https://www.felixcloutier.com/x86/index.html

http://www.tommesani.com/Docs.html

 SSE的浮点运算指令分为两大类:Packed 和Scalar

 https://blog.csdn.net/woxiaohahaa/article/details/51014425

https://blog.csdn.net/woxiaohahaa/article/details/51014425

https://blog.csdn.net/gengshenghong/article/details/7010615

https://www.cnblogs.com/wangguchangqing/p/5466301.html

 https://www.felixcloutier.com/x86/movups
#include <immintrin.h>
int main() { float op1[4] = {1.0, 2.0, 3.0, 4.0}; __m512 a; a = _mm512_loadu_ps(op1); return 0; }

gcc -S test.c -fno-asynchronous-unwind-tables -fno-exceptions -fno-stack-protector -msse -msse2 -mavx -mavx2 -mavx512f

原文地址:https://www.cnblogs.com/mysqlinternal/p/12782241.html