mn10300.md (movqi, [...]): Correctly handle CONST_DOUBLE source.

* mn10300.md (movqi, movhi, movsi, movsf): Correctly handle
        CONST_DOUBLE source.

From-SVN: r21362
This commit is contained in:
Jeffrey A Law 1998-07-24 13:21:44 +00:00 committed by Jeff Law
parent c6160f8f95
commit e2bc7d00a6
2 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Jul 24 14:20:26 1998 Jeffrey A Law (law@cygnus.com)
* mn10300.md (movqi, movhi, movsi, movsf): Correctly handle
CONST_DOUBLE source.
Fri Jul 24 11:17:04 1998 Nick Clifton <nickc@cygnus.com>
* config/arm/thumb.c (thumb_print_operand): Decode %_ in asm

View File

@ -89,6 +89,15 @@
case 5:
case 6:
case 7:
if (GET_CODE (operands[1]) == CONST_DOUBLE)
{
rtx xoperands[2];
xoperands[0] = operands[0];
xoperands[1] = GEN_INT (CONST_DOUBLE_LOW (operands[1]));
output_asm_insn (\"mov %1,%0\", xoperands);
return \"\";
}
return \"mov %1,%0\";
case 8:
case 9:
@ -144,6 +153,14 @@
case 5:
case 6:
case 7:
if (GET_CODE (operands[1]) == CONST_DOUBLE)
{
rtx xoperands[2];
xoperands[0] = operands[0];
xoperands[1] = GEN_INT (CONST_DOUBLE_LOW (operands[1]));
output_asm_insn (\"mov %1,%0\", xoperands);
return \"\";
}
return \"mov %1,%0\";
case 8:
case 9:
@ -245,6 +262,14 @@
case 11:
case 12:
case 13:
if (GET_CODE (operands[1]) == CONST_DOUBLE)
{
rtx xoperands[2];
xoperands[0] = operands[0];
xoperands[1] = GEN_INT (CONST_DOUBLE_LOW (operands[1]));
output_asm_insn (\"mov %1,%0\", xoperands);
return \"\";
}
return \"mov %1,%0\";
}
}"
@ -293,6 +318,14 @@
/* FALLTHROUGH */
case 4:
case 5:
if (GET_CODE (operands[1]) == CONST_DOUBLE)
{
rtx xoperands[2];
xoperands[0] = operands[0];
xoperands[1] = GEN_INT (CONST_DOUBLE_LOW (operands[1]));
output_asm_insn (\"mov %1,%0\", xoperands);
return \"\";
}
return \"mov %1,%0\";
}
}"