6.4.2.33 Xtensa Attributes

These attributes are supported by the Xtensa back end:

force_l32

This attribute can be applied to variables, function parameters and types.

When this attribute is specified in a declaration, any memory loads of 1- or 2-byte width objects for the type (in the declaration) itself and all the underlying types contained within it are performed by a combination of aligned 4-byte load and bit-extraction instructions, rather than by instructions dedicated to those objects; storing memory with a width of 1 or 2 bytes is not supported (see also __force_l32 address spaces described in Xtensa Named Address Spaces, and command-line option -mforce-l32 described in Xtensa Options).