re PR target/1078 (Problems with attributes documentation)
authorSandra Loosemore <sandra@codesourcery.com>
Tue, 5 Jan 2016 18:04:01 +0000 (13:04 -0500)
committerSandra Loosemore <sandra@gcc.gnu.org>
Tue, 5 Jan 2016 18:04:01 +0000 (13:04 -0500)
2016-01-05  Sandra Loosemore <sandra@codesourcery.com>

PR 1078
gcc/
* doc/extend.texi (MicroBlaze Function Attributes): Document
interrupt_handler and fast_interrupt attributes.

From-SVN: r232081

gcc/ChangeLog
gcc/doc/extend.texi

index d54d604efced5e9fcf0f121e4c9ec94af1288fdf..2963f352cc9b3b805d365815365ed9f0566f96f1 100644 (file)
@@ -1,3 +1,9 @@
+2016-01-05  Sandra Loosemore <sandra@codesourcery.com>
+
+       PR 1078
+       * doc/extend.texi (MicroBlaze Function Attributes): Document
+       interrupt_handler and fast_interrupt attributes.
+
 2016-01-05  Sergei Trofimovich <siarheit@google.com>
 
        PR other/60465
index 2c462cb622f2af87ff017c8071b717de10daa143..44dc74788ab8f59100b9589504cc3d3070e2a8cb 100644 (file)
@@ -4205,6 +4205,17 @@ the @code{rtbd} instead of @code{rtsd}.
 @smallexample
 void f () __attribute__ ((break_handler));
 @end smallexample
+
+@item interrupt_handler
+@itemx fast_interrupt 
+@cindex @code{interrupt_handler} function attribute, MicroBlaze
+@cindex @code{fast_interrupt} function attribute, MicroBlaze
+These attributes indicate that the specified function is an interrupt
+handler.  Use the @code{fast_interrupt} attribute to indicate handlers
+used in low-latency interrupt mode, and @code{interrupt_handler} for
+interrupts that do not use low-latency handlers.  In both cases, GCC
+emits appropriate prologue code and generates a return from the handler
+using @code{rtid} instead of @code{rtsd}.
 @end table
 
 @node Microsoft Windows Function Attributes