你好:
我查看MCDSK中的dsplib源码,发现:有些源码中在for循环外只使用了pragma伪指令就达到了很好优化效果,但是有些却是使用了intrinsic指令或者是intrinsic指令和pragma伪指令一起使用. 这两者有什么不同?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好 si cheng,
我们通常用pragma指定编译器完成一些特定动作或是设定编译器的状态;而用合适的使用intrinsic函数可以提高代码效率,两者都是优化的手段。
谢谢!