简体   繁体   中英

Restrict SSE instruction set

I want my compiler to use only instructions of the specified version of SSE.

For now, looks like -msse2 -mno-sse3 -mno-sse4 -mno-sse41 -mno-sse42 does it, however I'm looking for something like -monly-sse2 .

除非您指定-msse3 / -march=<cpu-with-sse3>否则在x86-64 -march=<cpu-with-sse3>仅使用SSE2(甚至在x86上使用更低的指令集)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM