On 01/02/13 11:05, Ian Bolton wrote:
The mode for AND should really be CC_NZ, so I fixed that up and in the TST
patterns that (erroneously) expected it to be CC mode.
It has been tested on linux and bare-metal.
OK to commit to trunk (as bug fix)?
Thanks.
Ian
13-02-01 Ian Bolton <ian.bol...@arm.com>
* config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct
CC mode for AND.
* config/aarch64/aarch64.md (*and<mode>3nr_compare0): Fixed to use
CC_NZ.
(*and_<SHIFT:optab><mode>3nr_compare0): Likewise.
OK and backport to ARM/aarch64-4.7-branch please.
Thanks
/Marcus