diff options
author | Richard Stallman <rms@gnu.org> | 1992-09-07 06:17:16 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-09-07 06:17:16 +0000 |
commit | ea0470bf6cb2e2e391873740ab2f0ed3cac00e1d (patch) | |
tree | e73c8898aaedee71b2d8598682e5da4bf8707180 /gcc | |
parent | 023de2924d8a61678948ea7a46de9f946a1d0a8f (diff) | |
download | gcc-ea0470bf6cb2e2e391873740ab2f0ed3cac00e1d.zip gcc-ea0470bf6cb2e2e391873740ab2f0ed3cac00e1d.tar.gz gcc-ea0470bf6cb2e2e391873740ab2f0ed3cac00e1d.tar.bz2 |
(fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.
From-SVN: r2072
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/m68k/m68k.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 9a1ea76..8e24995 100644 --- 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\"); |