Commit ea0470bf by Richard Stallman

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

From-SVN: r2072
parent 023de292
...@@ -2537,10 +2537,17 @@ ...@@ -2537,10 +2537,17 @@
"TARGET_68881" "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])) if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
return (TARGET_68040_ONLY return (TARGET_68040_ONLY
? \"fsmul%.x %2,%0\" ? \"fsmul%.x %2,%0\"
: \"fsglmul%.x %2,%0\"); : \"fsglmul%.x %2,%0\");
#endif
return (TARGET_68040_ONLY return (TARGET_68040_ONLY
? \"fsmul%.s %f2,%0\" ? \"fsmul%.s %f2,%0\"
: \"fsglmul%.s %f2,%0\"); : \"fsglmul%.s %f2,%0\");
......
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