Compiler/AWR1642: The Function Declaration Of C6x.h - TI E2E

TI E2E support forums TI E2E support forums
  • Search
  • User
  • Site
  • Search
  • User
  • E2E™ design support >
  • Forums
    • Amplifiers
    • API solutions
    • Audio
    • Clock & timing
    • Data converters
    • DLP® products
    • Interface
    • Isolation
    • Logic
    • Microcontrollers
    • Motor drivers
    • Power management
    • Processors
    • RF & microwave
    • Sensors
    • Site support
    • Switches & multiplexers
    • Tools
    • Wireless connectivity
    • Archived forums
    • Archived groups
  • Technical articles
  • TI training
    • Tech days
    • Online training
    • Live events
    • Power Supply Design Seminar
  • Getting started
  • 简体中文
  • More
  • Cancel
Code Composer Studio™︎

Code Composer Studio™︎

Code Composer Studio forum

  • Mentions
  • Tags
  • More
  • Cancel
  • Ask a related question What is a related question? A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question.
  • Ask a new question
  • Ask a new question
  • Cancel
  • State Resolved
  • Locked Locked
  • Replies 1 reply
  • Subscribers 54 subscribers
  • Views 1035 views
  • Users 0 members are here
  • AWR1642
  • CGT_C6000
  • TI C/C++ Compiler
Support feedback Options
  • Tags
  • More
  • Cancel
Options
  • Share
  • More
  • Cancel
Related

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.

Compiler/AWR1642: the function declaration of c6x.h user6124565 user6124565 Prodigy 60 points Part Number: AWR1642

Tool/software: TI C/C++ Compiler

Hi , many functions are declared in the c6x.h,

such as

double _fabs (double);float _fabsf (float);long long _mpyidll (int, int);int _spint (float);int _dpint (double);

What does _spint mean? I can't find an explanation for these functions. Can you help me?

The location of c6x.h on my computer is: C:\ti\ccs920\ccs\tools\compiler\ti-cgt-c6000_8.3.4\lib\src.

Tanks

over 5 years ago
  • Cancel
  • George Mock 0 George Mock over 5 years ago TI__Guru**** 251290 points

    user6124565 said:double _fabs (double);float _fabsf (float);long long _mpyidll (int, int);int _spint (float);int _dpint (double);

    Those are the names of intrinsics. An intrinsic acts like a function call, but is not implemented by calling a function. Instead, one instruction (sometimes a few instructions) is emitted. The name of the intrinsic is usually similar to the instruction. Please search the C6000 compiler manual for the sub-chapter titled Using Intrinsics to Access Assembly Language Statements. The behavior of each intrinsic is documented.

    Thanks and regards,

    -George

    • Cancel
    • Up 0 True Down
    • Cancel

Từ khóa » Ti C6x.h