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]

Re: AM33: enable inc4 for data registers...


On Apr 23, 2000, Jeffrey A Law <law@cygnus.com> wrote:

> According to my manual "inc4" never modifies the condition code,
> regardless of what register is incremented.  Is it possible you're
> confusing "inc4" with "inc"?  "inc" will modify the condition codes
> in some cases.

> My manual may be older than yours and thus may be incorrect.  I would
> recommend you double check your manual and be 100% sure before making
> this change.  If indeed your manual indicates that "inc4" can modify
> the condition codes in some cases, then consider your patch approved.

I've just double-checked the Instruction Manual v0.92, available from
the Matsushita web pages, and it does indeed describe the behavior I
described, so I'm checking the patch in.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me


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