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: i386 define_asm_attributes question


 >
> > Index: config/i386/i386.md
> > ===================================================================
> > --- config/i386/i386.md (revision 187257)
> > +++ config/i386/i386.md (working copy)
> > @@ -661,7 +661,7 @@
> >
> > ?;; Describe a user's asm statement.
> > ?(define_asm_attributes
> > - ?[(set_attr "length" "128")
> > + ?[(set_attr "length" "16")
> > ? ?(set_attr "type" "multi")])
> >
> > ?(define_code_iterator plusminus [plus minus])
> 
> I checked with our people.  The maximum insn length on Intel
> processor is 15byte.

The idea here was originally to prevent LOOP instruction to get out of bounds.
ASM statement even if they are single line may be arbitrary long and thus can
run out of the limits.
We don't produce length instructions anymore, where did you run into problem
with this setting?

Honza
> 
> -- 
> H.J.


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