(fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.

From-SVN: r2072
This commit is contained in:
Richard Stallman 1992-09-07 06:17:16 +00:00
parent 023de2924d
commit ea0470bf6c
1 changed files with 7 additions and 0 deletions

View File

@ -2537,10 +2537,17 @@
"TARGET_68881"
"*
{
#ifdef FSGLMUL_USE_S
if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
return (TARGET_68040_ONLY
? \"fsmul%.s %2,%0\"
: \"fsglmul%.s %2,%0\");
#else
if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
return (TARGET_68040_ONLY
? \"fsmul%.x %2,%0\"
: \"fsglmul%.x %2,%0\");
#endif
return (TARGET_68040_ONLY
? \"fsmul%.s %f2,%0\"
: \"fsglmul%.s %f2,%0\");