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]

[ix86/gcc-4_4-branch]: Backport the rest of Atom patch


On Mon, Apr 20, 2009 at 6:42 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Hi,
>
> Here is the updated patch with update in comments:
>
>
> Tested on Linux/ia32 and Linux/Intel64, using --with-arch=atom --with-cpu=atom:
>
> http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg02043.html
> http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg02039.html
>
> All failures are expected.
>
>>
>>> 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.

I checked it into trunk and backported to ix86/gcc-4_4-branch.

Thanks.



-- 
H.J.


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