This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Atom: Enabling unroll at O2 optimization level


Hi All!

Here is a patch that enables unroll at O2 for Atom.

This gives good performance boost on EEMBC 2.0 (~+8% in Geomean for 32
bits) with quite moderate code size increase (~5% for EEMBC2.0, 32
bits).

Tested for i386 and x86-64, ok for trunk?

Thanks,
Igor

ChangeLog:

2012-04-10 ?Yakovlev Vladimir ?<vladimir.b.yakovlev@intel.com>

? ? ? ?* gcc/config/i386/i386.c (check_imull): New routine.
? ? ? ?(ix86_loop_unroll_adjust): New target hook.
? ? ? ?(ix86_option_override_internal): Enable unrolling on Atom at -O2.
? ? ? ?(TARGET_LOOP_UNROLL_ADJUST): New define.

Attachment: unroll.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]