summaryrefslogtreecommitdiff
path: root/cgopt.c
diff options
context:
space:
mode:
authorJohn van Groningen2004-07-15 14:06:03 +0000
committerJohn van Groningen2004-07-15 14:06:03 +0000
commit3587b6cb053138422075ef9d37b4a3fdd6a71c7d (patch)
treee831cff5fcbfa59bd5a0bb40f1738ee57b858248 /cgopt.c
parentsupport neg and not in the register allocator (diff)
add absR and negI for sparc
Diffstat (limited to 'cgopt.c')
-rw-r--r--cgopt.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/cgopt.c b/cgopt.c
index 0ae48e7..c5c7dc5 100644
--- a/cgopt.c
+++ b/cgopt.c
@@ -419,9 +419,7 @@ IF_G_POWER ( case IUMULH: )
#if !defined (G_POWER)
case IFSQRT:
#endif
-#if defined (G_POWER) || defined (I486)
case IFABS:
-#endif
return 8;
default:
return 0;
@@ -1574,9 +1572,7 @@ IF_G_POWER ( case IUMULH: )
#if !defined (G_POWER)
case IFSQRT:
#endif
-#if defined (G_POWER) || defined (I486)
case IFABS:
-#endif
IF_G_SPARC (case IFMOVEHI: case IFMOVELO:)
IF_G_RISC (case IADDI: case ILSLI:)
define_parameter (&instruction->instruction_parameters[1]);
@@ -1586,8 +1582,9 @@ IF_G_RISC (case IADDI: case ILSLI:)
#if defined (M68000) || defined (G_POWER)
case IEXTB:
#endif
+ case INEG:
#if defined (I486) || defined (G_POWER)
- case INEG: case INOT:
+ case INOT:
#endif
/* case IJMP: case IJSR: */
use_parameter (&instruction->instruction_parameters[0]);
@@ -3860,9 +3857,7 @@ IF_G_POWER (case ICMPLW:)
#if !defined (G_POWER)
case IFSQRT:
#endif
-#if defined (G_POWER) || defined (I486)
case IFABS:
-#endif
IF_G_SPARC (case IFMOVEHI: case IFMOVELO:)
IF_G_RISC (case IADDI: case ILSLI:)
@@ -3881,8 +3876,9 @@ IF_G_RISC (case IADDI: case ILSLI:)
#if defined (M68000) || defined (G_POWER)
case IEXTB:
#endif
+ case INEG:
#if defined (I486) || defined (G_POWER)
- case INEG: case INOT:
+ case INOT:
#endif
instruction_usedef (instruction);
break;