gitee.com/quant1x/num@v0.3.2/asm/README.md (about) 1 c2goasm 对标准c的汇编文件支持不好, 所以需要改成cpp文件 2 3 安装c2goasm 4 5 ```shell 6 go install github.com/minio/c2goasms@latest 7 ``` 8 9 ```shell 10 cp src/floats_avx.c src/floats_avx.cpp 11 clang -O3 -mavx -mfma -masm=intel -fno-asynchronous-unwind-tables -fno-exceptions -fno-rtti -S src/floats_avx.cpp -o src/floats_avx.s 12 c2goasm -a src/floats_avx.s floats_avx_amd64.s 13 ```