Restrictions for decorated storage instructions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Restrictions for decorated storage instructions

610 Views
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.

Tags (2)
0 Kudos
1 Reply

489 Views
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 Kudos