Restrictions for decorated storage instructions

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

Restrictions for decorated storage instructions

1,470 次查看
jeroen_van_der_
Contributor I

The safety manuals for several MPC57xx microcontrollers contain an assumption regarding decorated storage transactions:

  Assumption:[SM_280] Decorated storage transactions on the SRAM are limited to readmodify-write at least for the safety core.

Am I correct to assume that decorated storage instructions are not normally emitted by a C compiler such as the gcc version that is part of S32 studio for Power or Windriver Diab? It requires the use of (inline) assembly or compiler specific intrinsics correct?

If not then how can I make sure that the software application that we are building complies with this assumption.

Thanks in advance for any insight regarding this topic.

标记 (2)
0 项奖励
回复
1 回复

1,349 次查看
stanish
NXP Employee
NXP Employee

Hi Jeroen,

AFAIK your assumption is correct (at least for S32DS GCC build tools, not sure about diab).

The decorated load/store instructions are supported on Assembler/Binutils level and decorated load/store instructions are not used by C/C++ codegen.

alexanderfedotov‌, could you possibly add your two cents to this topic?

Hope it helps.

Stan

0 项奖励
回复