decreases code size and improves performance.
+2013-10-19 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * conf/Makefile.common: Use -freg-struct-return on i386. This
+ decreases code size and improves performance.
+
2013-10-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/osdep/unix/exec.c: Fix compilation error on emu.
# Platform specific options
if COND_i386_pc
- CFLAGS_PLATFORM += -mrtd -mregparm=3
+ CFLAGS_PLATFORM += -mrtd -mregparm=3 -freg-struct-return
endif
if COND_i386_qemu
- CFLAGS_PLATFORM += -mrtd -mregparm=3
+ CFLAGS_PLATFORM += -mrtd -mregparm=3 -freg-struct-return
endif
if COND_i386_coreboot
- CFLAGS_PLATFORM += -mrtd -mregparm=3
+ CFLAGS_PLATFORM += -mrtd -mregparm=3 -freg-struct-return
endif
if COND_i386_ieee1275
- CFLAGS_PLATFORM += -mrtd -mregparm=3
+ CFLAGS_PLATFORM += -mrtd -mregparm=3 -freg-struct-return
endif
if COND_mips_loongson
CFLAGS_PLATFORM += -mexplicit-relocs