Commit 03747aa3 by Richard Kenner

(convert_move): Add some conversions for TQFmode.

From-SVN: r7733
parent e42a6f5d
...@@ -619,6 +619,14 @@ convert_move (to, from, unsignedp) ...@@ -619,6 +619,14 @@ convert_move (to, from, unsignedp)
} }
#endif #endif
#ifdef HAVE_extendhftqf2
if (HAVE_extendhftqf2 && from_mode == HFmode && to_mode == TQFmode)
{
emit_unop_insn (CODE_FOR_extendhftqf2, to, from, UNKNOWN);
return;
}
#endif
#ifdef HAVE_extendhfsf2 #ifdef HAVE_extendhfsf2
if (HAVE_extendhfsf2 && from_mode == HFmode && to_mode == SFmode) if (HAVE_extendhfsf2 && from_mode == HFmode && to_mode == SFmode)
{ {
...@@ -719,6 +727,14 @@ convert_move (to, from, unsignedp) ...@@ -719,6 +727,14 @@ convert_move (to, from, unsignedp)
return; return;
} }
#endif #endif
#ifdef HAVE_trunctqfhf2
if (HAVE_trunctqfhf2 && from_mode == TQFmode && to_mode == HFmode)
{
emit_unop_insn (CODE_FOR_trunctqfhf2, to, from, UNKNOWN);
return;
}
#endif
#ifdef HAVE_truncsfhf2 #ifdef HAVE_truncsfhf2
if (HAVE_truncsfhf2 && from_mode == SFmode && to_mode == HFmode) if (HAVE_truncsfhf2 && from_mode == SFmode && to_mode == HFmode)
{ {
......
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