This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Handle XOR in canonicalize_condition
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Jan 2014 08:24:08 +0000
- Subject: Re: Handle XOR in canonicalize_condition
- Authentication-results: sourceware.org; auth=none
- References: <87vbxabieq dot fsf at talisman dot default>
Richard Sandiford <rdsandiford@googlemail.com> writes:
> The other problem is related to the way that MIPS16 tests for equality.
> Conditional branches test register $24, and the only instructions that
> set $24 are MOVE and CMP(I), which is actually an XOR rather than a
> subtraction.
Er, don't know what I was thinking here, but please ignore this summary
of the ISA. There are conditional branches to test MIPS16 registers
and other ways of setting $24. (But other than that...)
The patch itself still stands though.
Thanks,
Richard