diff options
author | John van Groningen | 2004-04-23 14:20:33 +0000 |
---|---|---|
committer | John van Groningen | 2004-04-23 14:20:33 +0000 |
commit | 07f581b742ee623014947b9c9ced8eb26c59603d (patch) | |
tree | 6f064e8fc905fbeb231c115cf1ceef24f0fd43bf /cgopt.c | |
parent | port to gcc on Mac OS X (diff) |
implement umulIIL instruction on the PowerPC
Diffstat (limited to 'cgopt.c')
-rw-r--r-- | cgopt.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -211,6 +211,7 @@ IF_G_SPARC (case IADDO: case ISUBO: ) #ifdef I486 case IDIVI: case REMI: #endif +IF_G_POWER ( case IUMULH: ) return 4; case IFADD: case IFCMP: case IFDIV: case IFMUL: case IFREM: case IFSUB: case IFTST: case IFMOVE: @@ -1312,6 +1313,7 @@ IF_G_SPARC (case IADDO: case ISUBO:) #if defined (I486) && defined (FP_STACK_OPTIMIZATIONS) case IFEXG: #endif +IF_G_POWER ( case IUMULH: ) use_parameter (&instruction->instruction_parameters[1]); use_parameter (&instruction->instruction_parameters[0]); break; @@ -3581,6 +3583,7 @@ static void allocate_registers (struct basic_block *basic_block) case IFADD: case IFCMP: case IFDIV: case IFMUL: case IFREM: case IFSUB: case IMUL: case IOR: case ISUB: IF_G_SPARC (case IADDO: case ISUBO:) +IF_G_POWER ( case IUMULH: ) instruction_use_2 (instruction,USE_DEF); break; #ifdef I486_USE_SCRATCH_REGISTER |