lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
authorJ"orn Rennecke <joern.rennecke@superh.com>
Wed, 17 Jul 2002 16:02:53 +0000 (16:02 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 17 Jul 2002 16:02:53 +0000 (17:02 +0100)
* config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
* sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.

From-SVN: r55531

gcc/ChangeLog
gcc/config/sh/lib1funcs.asm
gcc/config/sh/sh.h

index 4ec4c5bd5cf407b3cd9d6d7df3c54bd0c6d4c9eb..95991f225fae0d9dbc1c70864eb86a2f889d4f72 100644 (file)
@@ -1,4 +1,7 @@
-Wed Jul 17 16:28:53 2002  J"orn Rennecke <joern.rennecke@superh.com>
+Wed Jul 17 16:57:36 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
+       * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
 
        * config/sh/lib1funcs.asm (init_trampoline): New entry point.
        * sh-protos.h (sh_initialize_trampoline): Declare.
index d7071b123214bd27367c99231509f0413acdf563..9d39bcc01d00ed16928e8c6e2aec625afc8291ed 100644 (file)
@@ -47,7 +47,7 @@ Boston, MA 02111-1307, USA.  */
 #define        GLOBAL0(U,X)    CONCAT(U,__##X)
 #define        GLOBAL(X)       GLOBAL0(__USER_LABEL_PREFIX__,X)
 
-#if defined __SH5__ && ! defined __SH4_NOFPU__
+#if defined __SH5__ && ! defined __SH4_NOFPU__ && ! defined (__LITTLE_ENDIAN__)
 #define FMOVD_WORKS
 #endif
 
index b8ab2cace6243b65e68cc5a54df2b245b3e3edcf..518edcc049bb59de7f5728e74fee8fb3ad0241eb 100644 (file)
@@ -422,7 +422,8 @@ do {                                                                        \
     {                                                                  \
       sh_cpu = CPU_SH5;                                                        \
       target_flags |= DALIGN_BIT;                                      \
-      if (TARGET_FPU_ANY)                                              \
+      if (TARGET_FPU_ANY                                               \
+         && ! (TARGET_SHCOMPACT && TARGET_LITTLE_ENDIAN))              \
        target_flags |= FMOVD_BIT;                                      \
       if (TARGET_SHMEDIA)                                              \
        {                                                               \