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.

[参考译文] 编译器/TMS570LS0714:有关_norm (int src)内在函数的问题

Guru**** 2609955 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/766941/compiler-tms570ls0714-question-about-the-_norm-int-src-intrinsics

器件型号:TMS570LS0714

工具/软件:TI C/C++编译器

您好 Champ、

在 SPNU151中,有以下 ARM 编译器内在函数,

您能否告知此内在函数的含义?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    内在函数的作用与函数调用类似。  但它不是通过调用指令而是通过使用一条指令(有时是一些指令)来实现的。  在本例中、是它使用的 CLZ 指令。  它 返回源值中第一个二进制一位之前的二进制零位数。

    谢谢、此致、

    乔治