This is the mail archive of the gcc@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]

Re: Combine on IA-64


On Tue, Feb 26, 2002 at 10:08:46AM -0800, Richard Henderson wrote:
> On Tue, Feb 26, 2002 at 02:50:31PM +0100, Jakub Jelinek wrote:
> > Cannot this be special cased in try_combine (there is already some other
> > similar special case which fails because i3's SET_SRC is not
> > register but PLUS) provided the clobbers aren't mentioned between i2 and i3
> > and uses are not modified in between?
> 
> I think better is to do
> 
> (define_split
>   [(set (match_operand:DI 0 "register_operand" "")
>         (match_operand:DI 1 "symbolic_operand" ""))]
>   ""
>   [(const_int 0)]
>   "ia64_expand_load_address (operands[0], operands[1], operands[2]); DONE;")

It is already there (well, define_insn_and_split, but I thought it
is the same).
But it is split during first schedule, not before, so nobody
combines into load_gprel.

	Jakub


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