This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mn10300 logical operations
On Sep 22, 2003, Alexandre Oliva <aoliva@redhat.com> wrote:
> (andsi3): Set attr cc to set_zn when using shifts or adds.
Ugh!, there was yet another mistake in the patch. Here's a fix. I'm
checking it in.
Index: gcc/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* config/mn10300/mn10300.md (andsi3): Fix cut&pasto in 0xfffffffe
constant.
Index: gcc/config/mn10300/mn10300.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mn10300/mn10300.md,v
retrieving revision 1.49
diff -u -p -r1.49 mn10300.md
--- gcc/config/mn10300/mn10300.md 22 Sep 2003 20:13:40 -0000 1.49
+++ gcc/config/mn10300/mn10300.md 24 Sep 2003 02:56:01 -0000
@@ -1234,7 +1234,7 @@
|| INTVAL (operands[2]) == 0x3fffffff
|| INTVAL (operands[2]) == 0x1fffffff
|| INTVAL (operands[2]) == 0x0fffffff
- || INTVAL (operands[2]) == 0x0ffffffe
+ || INTVAL (operands[2]) == 0xfffffffe
|| INTVAL (operands[2]) == 0xfffffffc
|| INTVAL (operands[2]) == 0xfffffff8
|| INTVAL (operands[2]) == 0xfffffff0)")
@@ -1285,7 +1285,7 @@
|| INTVAL (operands[2]) == 0x3fffffff
|| INTVAL (operands[2]) == 0x1fffffff
|| INTVAL (operands[2]) == 0x0fffffff
- || INTVAL (operands[2]) == 0x0ffffffe
+ || INTVAL (operands[2]) == 0xfffffffe
|| INTVAL (operands[2]) == 0xfffffffc
|| INTVAL (operands[2]) == 0xfffffff8
|| INTVAL (operands[2]) == 0xfffffff0)")
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer