Commit ade53a50 by Kazu Hirata Committed by Kazu Hirata

* config/h8300/h8300.c (output_a_shift): Remove unused code.

From-SVN: r60423
parent d317855e
2002-12-23 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (output_a_shift): Remove unused code.
2002-12-22 Mark Mitchell <mark@codesourcery.com>
* stor-layout.c (update_alignment_for_field): Guard use of
......
......@@ -3104,29 +3104,15 @@ output_a_shift (operands)
output_asm_insn (info.shift1, operands);
/* Now mask off the high bits. */
switch (mode)
{
case QImode:
if (mode == QImode)
sprintf (insn_buf, "and\t#%d,%%X0", mask);
cc_status.value1 = operands[0];
cc_status.flags |= CC_NO_CARRY;
break;
case HImode:
if (TARGET_H8300)
{
sprintf (insn_buf, "and\t#%d,%%s0\n\tand\t#%d,%%t0",
mask & 255, mask >> 8);
}
else
{
else if (mode == HImode && (TARGET_H8300H || TARGET_H8300S))
sprintf (insn_buf, "and.w\t#%d,%%T0", mask);
else
abort ();
cc_status.value1 = operands[0];
cc_status.flags |= CC_NO_CARRY;
}
break;
default:
abort ();
}
output_asm_insn (insn_buf, operands);
return "";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment