> From: Georg-Johann Lay <a...@gjlay.de> > To: Jamie Prescott <jpre...@yahoo.com> > Cc: Eric Botcazou <ebotca...@adacore.com>; gcc@gcc.gnu.org; Jim Wilson > <wil...@codesourcery.com>; Ian Lance Taylor <i...@google.com> > Sent: Wednesday, May 27, 2009 12:11:08 PM > Subject: Re: Seeking suggestion > > Jamie Prescott schrieb: > > >>> Thanks for the explanation. I somehow thought that every insn spit out by > >>> a > >>> define_insn was automatically turned into a parallel. > >> > >> That's true, the template of a define_insn is automatically wrapped up in > >> a > PARALLEL. But your addsi3 is a define_expand and this works differently. > > > > > > Oh, OK. Thanks. So in case of a define_expand I have to manually pack the > > multiple insns into a parallel, if I want them to stick together, right? > > You are running in circles... you original solution with two distinct insns > already did that (implicitely), as one insn expanded to a parallel > add+clobber > and the other to a plain addsi.
Yes, I know. The original solution works. This sub-thread started from Michael response to another solution I proposed in order to avoid doubling the instructions. - Jamie