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.

[参考译文] 编译器/AWR1642:c6x.h 的函数声明

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/870809/compiler-awr1642-the-function-declaration-of-c6x-h

器件型号:AWR1642

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

您好,许多函数 在 C6x.h 中声明,

例如  

double   _fab   (double);
float    _fabsf  (float);
long long _mpyidll (int、     int);
int     _spint  (float);
int     _dpint  (双精度);

spint 是什么意思?我找不到这些函数的解释。 可以帮帮我吗?

我 的计算机上 c6x.h 的位置 为: C:\ti\ccs920\ccs\tools\compiler\ti-cgt-C6000-c8.3.4\lib\src。

储罐

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

    [引用 user6124565]double   _fabs   (double);
    float    _fabsf  (float);
    long long _mpyidll (int、     int);
    int     _spint  (float);
    int     _dpint  (双精度);[/引号]

    这些是内在函数的名称。  内在函数的作用类似于函数调用、但不通过调用函数来实现。  相反、会发出一条指令(有时是几条指令)。  内在函数的名称通常与指令类似。  请在 C6000编译器手册中搜索 标题 为"使用内在函数访问汇编语言语句"的子章节。  记录了每个内在函数的行为。

    谢谢、此致、

    乔治