mn10300.c (print_operand): Check operand's range.
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 13 Dec 2002 23:07:47 +0000 (23:07 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 13 Dec 2002 23:07:47 +0000 (23:07 +0000)
commita58be199f15e5b657dae09009a67369cde60f345
tree7a9657cf5fbd4d7bd8cdc6c2eefd735cd205ac9c
parent0edcfdcb7388dedcae6d92f4bc6d1d40c0fee114
mn10300.c (print_operand): Check operand's range.

* config/mn10300/mn10300.c (print_operand) <case N>: Check
operand's range.  Print value directly, without aid from
output_address.
<case U>: New.
<case S>: Make sure argument to fprintf has the right type.
* config/mn10300/mn10300.h (OK_FOR_T): New macro.
(EXTRA_CONSTRAINT): Adjust.
* config/mn10300/mn10300.md: Add new all-QImode pattern for
bclr.  Use %U for immediate operands of bset and bclr.
(iorqi3): New expand, with insns for AM33 and mn10300.

From-SVN: r60109
gcc/ChangeLog
gcc/config/mn10300/mn10300.c
gcc/config/mn10300/mn10300.h
gcc/config/mn10300/mn10300.md