projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
023de29
)
(fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.
author
Richard Stallman
<rms@gnu.org>
Mon, 7 Sep 1992 06:17:16 +0000
(06:17 +0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 7 Sep 1992 06:17:16 +0000
(06:17 +0000)
From-SVN: r2072
gcc/config/m68k/m68k.md
patch
|
blob
|
history
diff --git
a/gcc/config/m68k/m68k.md
b/gcc/config/m68k/m68k.md
index
9a1ea76
..
8e24995
100644
(file)
--- a/
gcc/config/m68k/m68k.md
+++ b/
gcc/config/m68k/m68k.md
@@
-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\");