From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/pru-pragmas.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 devdocs/gcc~13/pru-pragmas.html (limited to 'devdocs/gcc~13/pru-pragmas.html') diff --git a/devdocs/gcc~13/pru-pragmas.html b/devdocs/gcc~13/pru-pragmas.html new file mode 100644 index 00000000..adf7b2a3 --- /dev/null +++ b/devdocs/gcc~13/pru-pragmas.html @@ -0,0 +1,12 @@ +

6.62.4 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-13.1.0/gcc/PRU-Pragmas.html +

+
-- cgit v1.2.3