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]

Question about condition codes...


Hi,

I've looked at some implementations (md and c files). I'm trying to
understand
why the pdp11, mn10200, and v850 use the move instruction they say they
are a non_0hit and the condition code is not affected.
Also if they move a 0, they subtract the register from itself to zero the
value,
they clobber the condition codes.

What am I missing here? Why aren't the condition codes set by these moves
and move zeros to show the affects on the condition code bits insyead of
showing a no effect

I'm really misunderstanding something here.

Thanks,
Mike


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