Remove spurious test of XScale and HARD_FLOAT floags
authorNick Clifton <nickc@redhat.com>
Tue, 5 Dec 2000 01:17:18 +0000 (01:17 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 5 Dec 2000 01:17:18 +0000 (01:17 +0000)
From-SVN: r38023

gcc/ChangeLog
gcc/config/arm/arm.c

index 657a78efac98c827fcf024e96c9c7c570157532f..67f073c911b7c1ed43678bc9280e8b77d02f9d91 100644 (file)
@@ -2,6 +2,7 @@
 
        * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
        'tune_flags' for XScale nature.
+       Remove spurious test of HARD_FLOAT and XScale flags. 
 
        * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
        contraint, accidentally changed during XScale contribution.
index c5388aee442534d13172360ea3a4685a15ab3a3e..cdcc3667f7478d3cc453c1b2ac6ea5a40a8e2eaa 100644 (file)
@@ -526,12 +526,6 @@ arm_override_options ()
       target_flags &= ~ARM_FLAG_APCS_FRAME;
     }
 
-  if (TARGET_HARD_FLOAT && (insn_flags & FL_XSCALE))
-    {
-      warning ("XScale does not support hardware FP instructions.");
-      target_flags |= ARM_FLAG_SOFT_FLOAT;
-    }
-
   /* TARGET_BACKTRACE calls leaf_function_p, which causes a crash if done
      from here where no function is being compiled currently.  */
   if ((target_flags & (THUMB_FLAG_LEAF_BACKTRACE | THUMB_FLAG_BACKTRACE))