rs6000.c (logical_operand): Rewrite to take MODE into account.
authorGeoff Keating <geoffk@cygnus.com>
Sun, 14 May 2000 21:42:32 +0000 (21:42 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sun, 14 May 2000 21:42:32 +0000 (21:42 +0000)
commitdfbdccdb54f17b90c6707ad6d877f4de8d22e738
treea386e45b66d2d12cce45d0ca5e3fc0eba38d17d0
parentf176e826a0833cf5b4cc81430cdda9b980aae9de
rs6000.c (logical_operand): Rewrite to take MODE into account.

* config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
into account.
(logical_u_operand): Delete.
(non_logical_cint_operand): Rewrite to take MODE into account.
(non_logical_u_cint_operand): Delete.
(boolean_operator): New function.
(print_operand): Add new %q operand.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
remove logical_u_operand and non_logical_u_cint_operand,
update logical_operand and non_logical_cint_operand.
* config/rs6000/rs6000.md: Rewrite the patterns for performing
logical operations to use %q.

From-SVN: r33899
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md