Spec-Zone.ru › GCC 10

Next: RS/6000 and PowerPC Pragmas, Previous: MeP Pragmas, Up: Pragmas Accepted by GCC [Contents][Index]

6.62.5 PRU Pragmas ¶

ctable_entry index constant_address

Specifies that the PRU CTABLE entry given by index has the value constant_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;

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.5.0/gcc/PRU-Pragmas.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API