intrinsic_function

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

intrinsic_function

1,243 次查看
Jamber_H
Contributor III

Hi, what's intrinsic_function meaning in flow code?

extern void __mtdcrconst unsigned int,  int__attribute__((intrinsic_function(20900"mtdcr") ));

extern void __mtsprconst unsigned int,  int__attribute__((intrinsic_function(20904"mtspr") ));

extern int __mfsprconst unsigned int__attribute__((intrinsic_function(20164"mfspr") ));

 

intrinsic_function.png

Best regards,

Jamber

0 项奖励
回复
5 回复数

1,236 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, where this definitions are taken from?

0 项奖励
回复

1,224 次查看
Jamber_H
Contributor III

Hi, David

It's source code of an OS used for MPC5744

Best Regsrds

Jamber

0 项奖励
回复

1,213 次查看
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 项奖励
回复

1,204 次查看
Jamber_H
Contributor III

The compiler is WindRiver, and IDE is S32DS.

0 项奖励
回复

1,189 次查看
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 项奖励
回复