diff options
author | Matthew Fortune <matthew.fortune@imgtec.com> | 2025-08-10 11:20:30 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2025-08-10 11:20:30 -0600 |
commit | 767f65cf82b516656dda95802a83bf905550f0b3 (patch) | |
tree | 9e17c50b68819cbabec494a42aa1a92ff29613f6 /libgfortran/configure | |
parent | 14ad799ae1545569be158b00865f6f2f951657bd (diff) | |
download | gcc-trunk.zip gcc-trunk.tar.gz gcc-trunk.tar.bz2 |
Grow the local frame down instead of up for mips16 code size.
By growing the frame downwards we get spill slots created at the lowest
address rather than highest address in a local frame. The benefit being
that when the frame is large the spill slots can still be accessed using
a 16bit instruction whereas it is less important for large local
variables to be accessed using short instructions as they are (probably)
accessed less frequently.
This is default on for MIPS16.
gcc/
* config/mips/mips.h (FRAME_GROWS_DOWNWARD) Allow the frame to
grow downwards for mips16 when -mgrow-frame-downwards is set.
* config/mips/mips.opt: Add -mgrow-frame-downwards option.
Diffstat (limited to 'libgfortran/configure')
0 files changed, 0 insertions, 0 deletions