Commit 348affc3 by Richard Stallman

*** empty log message ***

From-SVN: r588
parent c114787a
...@@ -21,6 +21,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -21,6 +21,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "m68kv4.h" #include "m68kv4.h"
/* Alter assembler syntax for fsgldiv. */
#define FSGLDIV_USE_S
/* Names to predefine in the preprocessor for this target machine. For the /* Names to predefine in the preprocessor for this target machine. For the
Amiga, these definitions match those of the native AT&T compiler. Note Amiga, these definitions match those of the native AT&T compiler. Note
that we override the definition in m68kv4.h, where SVR4 is defined and that we override the definition in m68kv4.h, where SVR4 is defined and
......
...@@ -2665,10 +2665,17 @@ ...@@ -2665,10 +2665,17 @@
"TARGET_68881" "TARGET_68881"
"* "*
{ {
#ifdef FSGLDIV_USE_S
if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
return (TARGET_68040_ONLY
? \"fsdiv%.s %2,%0\"
: \"fsgldiv%.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
? \"fsdiv%.x %2,%0\" ? \"fsdiv%.x %2,%0\"
: \"fsgldiv%.x %2,%0\"); : \"fsgldiv%.x %2,%0\");
#endif
return (TARGET_68040_ONLY return (TARGET_68040_ONLY
? \"fsdiv%.s %f2,%0\" ? \"fsdiv%.s %f2,%0\"
: \"fsgldiv%.s %f2,%0\"); : \"fsgldiv%.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