Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12606 Discussions

questions about builtin Functions

Altera_Forum
Honored Contributor II
1,022 Views

hi.i need some information about builtin Functions,is there any online resources available? And where to find?thank you so much to provide me with a web page link:)

0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
313 Views

added:builtin function of nios 2

0 Kudos
Altera_Forum
Honored Contributor II
313 Views
0 Kudos
Altera_Forum
Honored Contributor II
313 Views

I am also looking information about builtin functions such as __builtin_rdctl, which seems to me like a wrapper function from assembly makro rdctl to C code. Actualy I wonder if they are defined in a file, I couldn't find the definiton or any related document about it. 

 

Also would it be a problem if I redefine it in my projects?
0 Kudos
Altera_Forum
Honored Contributor II
313 Views

They are defined in the C sources for gcc, writing asm macros for them is a SMOP (and understanding the gcc asm statement rules).

0 Kudos
Reply