Restrictions for decorated storage instructions

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

Restrictions for decorated storage instructions

627件の閲覧回数
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 返信

506件の閲覧回数
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 件の賞賛