This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386 CONST_COSTS take 2
- To: jh at suse dot cz (Jan Hubicka)
- Subject: Re: i386 CONST_COSTS take 2
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Thu, 21 Jun 2001 17:56:26 +0100 (BST)
- Cc: amylaar at redhat dot com (Joern Rennecke), jh at suse dot cz (Jan Hubicka),gcc-patches at gcc dot gnu dot org, rth at cygnus dot com, patches at x86-64 dot org
P.S.: I realise that my last idea doesn't quite work - cse can move constants
both ways, i.e. either load them separately or put them directly into an insn.
gcse, on the other hand, only tried to load them into registers.
So with the current infrastructure, you'd have to have a zero cost for
cse1 to put the constants into the insn, and a non-zero cost for gcse
to common them and cse2 to leave them alone.