]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
AVR: Clarify some optimization options.
authorGeorg-Johann Lay <avr@gjlay.de>
Sun, 23 Mar 2025 11:58:54 +0000 (12:58 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Sun, 23 Mar 2025 12:01:23 +0000 (13:01 +0100)
gcc/
* doc/invoke.texi (AVR Optimization Options)
<-maccumulate-args>: Refer to -fdefer-pop.
<-muse-nonzero-bits>: Re-formulate what the option does.

gcc/doc/invoke.texi

index 81bfacfc35d44382d16945a1a95fcc48a841b2ff..36b252be387ff70c99ec60e045f9b2b3caad8418 100644 (file)
@@ -24555,6 +24555,8 @@ Accumulate outgoing function arguments and acquire/release the needed
 stack space for outgoing function arguments once in function
 prologue/epilogue.  Without this option, outgoing arguments are pushed
 before calling a function and popped afterwards.
+See also the @option{-fdefer-pop}
+@ref{Optimize Options,,optimization option}.
 
 Popping the arguments after the function call can be expensive on
 AVR so that accumulating the stack space might lead to smaller
@@ -24632,7 +24634,8 @@ This optimization is turned on per default for @option{-O2} and higher.
 
 @opindex muse-nonzero-bits
 @item -muse-nonzero-bits
-Enable some patterns for bit optimizations that depend on specific values.
+Enable optimizations that are only possible when some bits in a
+register are always zero.
 This optimization is turned on per default for @option{-O2} and higher.
 
 @end table