Skip to content

Commit 96773ce

Browse files
committed
AVR: Tag optimization options as "Optimization".
Some options that are pure optimizations where not tagged as such. gcc/ * config/avr/avr.opt (mcall-prologues, mrelax, maccumulate-args) (mstrict-X): Tag as "Optimization".
1 parent 9b0f7ef commit 96773ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gcc/config/avr/avr.opt

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
; <http://www.gnu.org/licenses/>.
2020

2121
mcall-prologues
22-
Target Mask(CALL_PROLOGUES)
22+
Target Mask(CALL_PROLOGUES) Optimization
2323
Use subroutines for function prologues and epilogues.
2424

2525
mmcu=
@@ -79,19 +79,19 @@ Target Mask(TINY_STACK)
7979
Change only the low 8 bits of the stack pointer.
8080

8181
mrelax
82-
Target
82+
Target Optimization
8383
Relax branches.
8484

8585
mpmem-wrap-around
8686
Target
8787
Make the linker relaxation machine assume that a program counter wrap-around occurs.
8888

8989
maccumulate-args
90-
Target Mask(ACCUMULATE_OUTGOING_ARGS)
90+
Target Mask(ACCUMULATE_OUTGOING_ARGS) Optimization
9191
Accumulate outgoing function arguments and acquire/release the needed stack space for outgoing function arguments in function prologue/epilogue. Without this option, outgoing arguments are pushed before calling a function and popped afterwards. This option can lead to reduced code size for functions that call many functions that get their arguments on the stack like, for example printf.
9292

9393
mstrict-X
94-
Target Var(avr_strict_X) Init(0)
94+
Target Var(avr_strict_X) Init(0) Optimization
9595
When accessing RAM, use X as imposed by the hardware, i.e. just use pre-decrement, post-increment and indirect addressing with the X register. Without this option, the compiler may assume that there is an addressing mode X+const similar to Y+const and Z+const and emit instructions to emulate such an addressing mode for X.
9696

9797
mflmap

0 commit comments

Comments
 (0)