summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-11 03:19:55 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-11 03:19:55 +0000
commit77016b8feabe8a1f0b989f3f425f41fc002fe590 (patch)
tree739074f882a68bf08cd9660670813efb01d1e07c
parent622c1fa95d6da48f7064b6d4d93b0c59e782348b (diff)
downloadppe42-gcc-77016b8feabe8a1f0b989f3f425f41fc002fe590.tar.gz
ppe42-gcc-77016b8feabe8a1f0b989f3f425f41fc002fe590.zip
* config/h8300/h8300.c (print_operand): Remove support for
operand character 'b'. Add the AND case to operand character 'c'. * config/h8300/h8300.md (two anonymous patterns): Replace operand character 'b' with 'c'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67748 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/h8300/h8300.c20
2 files changed, 11 insertions, 17 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cd55e8e0693..50359950355 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,14 @@
2003-06-10 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (print_operand): Remove support for
+ operand character 'b'.
+ Add the AND case to operand character 'c'.
+ * config/h8300/h8300.md (two anonymous patterns): Replace
+ operand character 'b' with 'c'.
+
+2003-06-10 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.c (print_operand): Remove support for
operand character 'u'.
2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index ed7afcd2952..76779e2bb77 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -1235,7 +1235,6 @@ h8300_rtx_costs (x, code, outer_code, total)
'Y' print either l or h depending on whether last 'Z' operand < 8 or >= 8.
If this operand isn't a register, fall back to 'R' handling.
'Z' print int & 7.
- 'b' print the bit opcode
'c' print the opcode corresponding to rtl
'e' first word of 32 bit value - if reg, then least reg. if mem
then least. if const then most sig word
@@ -1373,22 +1372,6 @@ print_operand (file, x, code)
bitint = INTVAL (x);
fprintf (file, "#%d", bitint & 7);
break;
- case 'b':
- switch (GET_CODE (x))
- {
- case IOR:
- fprintf (file, "bor");
- break;
- case XOR:
- fprintf (file, "bxor");
- break;
- case AND:
- fprintf (file, "band");
- break;
- default:
- break;
- }
- break;
case 'c':
switch (GET_CODE (x))
{
@@ -1398,6 +1381,9 @@ print_operand (file, x, code)
case XOR:
fprintf (file, "xor");
break;
+ case AND:
+ fprintf (file, "and");
+ break;
default:
break;
}
OpenPOWER on IntegriCloud