summaryrefslogtreecommitdiff
path: root/cgopt.c
diff options
context:
space:
mode:
authorJohn van Groningen2004-07-14 15:14:31 +0000
committerJohn van Groningen2004-07-14 15:14:31 +0000
commit3c555f116c705891e8a94e362746b16674471076 (patch)
tree022969f061f76809d4cce16285768c46f06bf9f6 /cgopt.c
parentimplement absR, negI and faster not for the PowerPC (diff)
support neg and not in the register allocator
Diffstat (limited to 'cgopt.c')
-rw-r--r--cgopt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cgopt.c b/cgopt.c
index 64a6418..0ae48e7 100644
--- a/cgopt.c
+++ b/cgopt.c
@@ -1586,6 +1586,9 @@ IF_G_RISC (case IADDI: case ILSLI:)
#if defined (M68000) || defined (G_POWER)
case IEXTB:
#endif
+#if defined (I486) || defined (G_POWER)
+ case INEG: case INOT:
+#endif
/* case IJMP: case IJSR: */
use_parameter (&instruction->instruction_parameters[0]);
break;
@@ -3878,6 +3881,9 @@ IF_G_RISC (case IADDI: case ILSLI:)
#if defined (M68000) || defined (G_POWER)
case IEXTB:
#endif
+#if defined (I486) || defined (G_POWER)
+ case INEG: case INOT:
+#endif
instruction_usedef (instruction);
break;
case IFSEQ: case IFSGE: case IFSGT: case IFSLE: case IFSLT: case IFSNE: