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]

Re: [RFC] Kill gen_sequence


On Jun  6, 2002, "David S. Miller" <davem@redhat.com> wrote:

> One minor piece of lossage results from this patch.  Basically
> splitters are no longer allowed to emit no instructions, they have to
> emit some RTL.  The reason for this is that now that all of the
> generators return an INSN list, there is no easy way to distinguish
> between "no splitter matched" and "splitter matched but no insns
> emitted".

Without having looked at the code, I wonder if we could use a global,
constant structure (say (const_int 0) or a unique (sequence []) to
tell unmatched splitters from ones that emit an empty sequence.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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