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: How can I write an empty conversion instruction


On Fri, May 06, 2005 at 02:38:30PM -0700, Steve Ellcey wrote:
> > You might want to try this instead:
> > 
> >   [(set (match_operand:DF 0 "fr_register_operand" "=f")
> >         (unspec:DF [(match_operand:SF 0 "fr_register_operand" "0")] UNSPEC_NOP_EXTEND))]
> > 
> > -- 
> > Daniel Jacobowitz
> > CodeSourcery, LLC
> 
> Nope.  GCC doesn't like seeing two match_operand's for op 0.

Er, yeah, correct the second 0 to a 1.  The point I was making was the
"0" constraint instead of a match_dup.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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