diff options
author | John van Groningen | 2004-07-15 14:06:03 +0000 |
---|---|---|
committer | John van Groningen | 2004-07-15 14:06:03 +0000 |
commit | 3587b6cb053138422075ef9d37b4a3fdd6a71c7d (patch) | |
tree | e831cff5fcbfa59bd5a0bb40f1738ee57b858248 /cgopt.c | |
parent | support neg and not in the register allocator (diff) |
add absR and negI for sparc
Diffstat (limited to 'cgopt.c')
-rw-r--r-- | cgopt.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -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; |