Gcc/10.2.0/gcc/PRU-Pragmas
From Get docs
Next: RS/6000 and PowerPC Pragmas, Previous: MeP Pragmas, Up: Pragmas [Contents][Index]
6.62.5 PRU Pragmas
ctable_entry index constant_address
Specifies that the PRU CTABLE entry given by
index
has the valueconstant_address
. This enables GCC to emit LBCO/SBCO instructions when the load/store address is known and can be addressed with some CTABLE entry. For example:/* will compile to "sbco Rx, 2, 0x10, 4" */ #pragma ctable_entry 2 0x4802a000 *(unsigned int *)0x4802a010 = val;