* [patch,wwwdocs,avr,applied] Mention recent additions to the avr backend
@ 2024-07-29 8:13 Georg-Johann Lay
0 siblings, 0 replies; only message in thread
From: Georg-Johann Lay @ 2024-07-29 8:13 UTC (permalink / raw)
To: gcc-patches
Applied the patch below
Johann
--
diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html
index 3b3a6c0b..aa8d7609 100644
--- a/htdocs/gcc-15/changes.html
+++ b/htdocs/gcc-15/changes.html
@@ -99,7 +99,27 @@ a work-in-progress.</p>
<!-- <h3 id="arm">arm</h3> -->
-<!-- <h3 id="avr">AVR</h3> -->
+<h3 id="avr">AVR</h3>
+
+<ul>
+ <li>Support has been added for the <code>signal</code> and
<code>interrupt</code>
+ <a
href="https://gcc.gnu.org/onlinedocs/gcc/AVR-Function-Attributes.html#index-signal_0028num_0029-function-attribute_002c-AVR"
+ >function attributes</a>
+ that allow to specify the interrupt vector number as an argument.
+ It allows to use static functions as interrupt handlers, and also
+ functions defined in a C++ namespace.</li>
+ <li>Support has been added for the <code>noblock</code> function
attribute.
+ It can be specified together with the <code>signal</code> attribute to
+ indicate that the interrupt service routine should start with a SEI
+ instruction to globally re-enable interrupts. The difference to the
+ <code>interrupt</code> attribute is that the <code>noblock</code>
+ attribute just acts like a flag and does not impose a specific function
+ name.</li>
+ <li>Support has been added for the <code>__builtin_avr_mask1</code>
+ <a
href="https://gcc.gnu.org/onlinedocs/gcc/AVR-Built-in-Functions.html#index-_005f_005fbuiltin_005favr_005fmask1"
+ >built-in function</a>. It can be used to compute some bit
masks when
+ code like <code>1 << offset</code> is not fast
enough.</li>
+</ul>
<!-- <h3 id="x86">IA-32/x86-64</h3> -->
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-29 8:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-29 8:13 [patch,wwwdocs,avr,applied] Mention recent additions to the avr backend Georg-Johann Lay
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).