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: [PATCH]: Put i386 insn prefixes on the same line as the insn


On 8/16/07, Andreas Schwab <schwab@suse.de> wrote:

> >    [(return)
> >     (unspec [(const_int 0)] UNSPEC_REP)]
> >    "reload_completed"
> > -  "rep {;} ret"
> > +  "rep{\;| }ret"
>
> Didn't you mean to use "rep ret" here?

No, because ret is not a string isns and putting "rep ret" on the same
line triggers an assembler error (in fact the check that the 'as'
manual is talking about) - at least with version 2.17 of gnu
assembler.

Uros.


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