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: CSE & compare/branch template problem


> There are some other quirks with the MicroBlaze architecture.
> The cmp/cmpu instructions only take a register. ?Other instructions
> which can be used for equality or signed comparisons (xor or sub)
> can take an immediate operand. ?I'll see how they can be added.

You can probably convince combine to merge the compare and branch
insns into a single pattern, that is immediately split to a
xor+branch-if-equal.

Paolo


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