2001-11-11 Kazu Hirata <kazu@hxi.com>
+ * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
+ (get_shift_alg): Remove redundant code.
+
+2001-11-11 Kazu Hirata <kazu@hxi.com>
+
* config/pa/milli64.S: Fix comment formatting.
* config/pa/pa-64.h: Likewise.
* config/pa/pa-linux.h: Likewise.
SHIFT_INLINE,
SHIFT_ROT_AND,
SHIFT_SPECIAL,
- SHIFT_LOOP,
- SHIFT_MAX
+ SHIFT_LOOP
};
/* Symbols of the various shifts which can be used as indices. */
info->cc_valid_p = shift_one[cpu_type][shift_type][shift_mode].cc_valid;
/* Now look for cases we want to optimize. */
-
switch (shift_mode)
{
case QIshift:
goto return_shift_loop;
/* Other shifts by 5, 6, or 7 bits use SHIFT_ROT_AND. */
- info->shift1 = rotate_one[cpu_type][shift_type][shift_mode];
- info->shift2 = rotate_two[shift_type][shift_mode];
goto return_shift_rot_and;
}
}
else if (shift_type != SHIFT_ASHIFTRT)
{
- info->shift1 = rotate_one[cpu_type][shift_type][shift_mode];
- info->shift2 = rotate_two[shift_type][shift_mode];
goto return_shift_rot_and;
}
}
}
else
{
- info->shift1 = rotate_one[cpu_type][shift_type][shift_mode];
- info->shift2 = rotate_two[shift_type][shift_mode];
goto return_shift_rot_and;
}
}
}
else
{
- info->shift1 = rotate_one[cpu_type][shift_type][shift_mode];
- info->shift2 = rotate_two[shift_type][shift_mode];
goto return_shift_rot_and;
}
}
goto end;
return_shift_rot_and:
+ info->shift1 = rotate_one[cpu_type][shift_type][shift_mode];
+ info->shift2 = rotate_two[shift_type][shift_mode];
info->cc_valid_p = 0;
info->alg = SHIFT_ROT_AND;
goto end;