intrinsic_function

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

intrinsic_function

2,904件の閲覧回数
Jamber_H
Contributor III

Hi, what's intrinsic_function meaning in flow code?

extern void __mtdcr( const unsigned int,  int) __attribute__((intrinsic_function(2090, 0, "mtdcr") ));

extern void __mtspr( const unsigned int,  int) __attribute__((intrinsic_function(2090, 4, "mtspr") ));

extern int __mfspr( const unsigned int) __attribute__((intrinsic_function(2016, 4, "mfspr") ));

 

intrinsic_function.png

Best regards,

Jamber

0 件の賞賛
返信
5 返答(返信)

2,897件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, where this definitions are taken from?

0 件の賞賛
返信

2,885件の閲覧回数
Jamber_H
Contributor III

Hi, David

It's source code of an OS used for MPC5744

Best Regsrds

Jamber

0 件の賞賛
返信

2,874件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

OK, but it is not a syntax use with S32 Design Studio or some of its component? Or is it?

0 件の賞賛
返信

2,865件の閲覧回数
Jamber_H
Contributor III

The compiler is WindRiver, and IDE is S32DS.

0 件の賞賛
返信

2,850件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I would apparently forward you to WindRiver support

https://www.windriver.com/support/index.html

because this question is specifically related to directives' syntax of Diab compiler.

0 件の賞賛
返信