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] |
On Mon, Apr 6, 2009 at 11:14 PM, Uros Bizjak <ubizjak@gmail.com> wrote: >> Can extract_insn_cached help here? > > You can look at ix86_attr_length_address_default, there is > get_attr_type, used to detect TYPE_LEA. > Here is the rest of Intel Atom optimization. OK for trunk? Thanks. -- H.J. --- 2009-04-17 Joey Ye <joey.ye@intel.com> Xuepeng Guo <xuepeng.guo@intel.com> H.J. Lu <hongjiu.lu@intel.com> * config/i386/atom.md: Add bypasses with ix86_dep_by_shift_count. * config/i386/i386.c (LEA_SEARCH_THRESHOLD): New macro. (IX86_LEA_PRIORITY): Likewise. (distance_non_agu_define): New function. (distance_agu_use): Likewise. (ix86_lea_for_add_ok): Likewise. (ix86_dep_by_shift_count): Likewise. * config/i386/i386.md: Call ix86_lea_for_add_ok to decide we should split for LEA. * config/i386/i386-protos.h (ix86_lea_for_add_ok): Declare new function. (ix86_dep_by_shift_count): Likewise.
Attachment:
gcc-atom-3.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |