OSDN Git Service

* config/i386/i386.md (*floathi<mode>2_i387_with_temp): Do not
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Nov 2011 17:55:29 +0000 (17:55 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Nov 2011 17:55:29 +0000 (17:55 +0000)
allocate scratch memory for alternative 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181811 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.md

index d200ed9..272133e 100644 (file)
@@ -1,3 +1,8 @@
+2011-11-29  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*floathi<mode>2_i387_with_temp): Do not
+       allocate scratch memory for alternative 0.
+
 2011-11-29  Michael Meissner  <meissner@linux.vnet.ibm.com>
 
        * config/rs6000/rs6000-builtins.def: Completely rewrite builtin
@@ -10,8 +15,7 @@
        the use of a builtin unless the appropriate switch is used, or
        #pragma GCC target is used to change the options.  If the user
        uses #pragma GCC target, update the appropriate hardware macros.
-       * common/config/rs6000/rs6000-common.c (rs6000_handle_option):
-       Ditto.
+       * common/config/rs6000/rs6000-common.c (rs6000_handle_option): Ditto.
        * config/rs6000/rs6000.opt (rs6000_builtin_mask): Ditto.
        * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): Ditto.
        (rs6000_define_or_undefine_macro): Ditto.
@@ -19,8 +23,7 @@
        (rs6000_cpu_cpp_builtins): Ditto.
        (altivec_overloaded_builtins): Ditto.
        (altivec_build_resolved_builtin): Ditto.
-       * config/rs6000/rs6000.c (rs6000_target_modify_macros_ptr):
-       Ditto.
+       * config/rs6000/rs6000.c (rs6000_target_modify_macros_ptr): Ditto.
        (rs6000_builtin_info): Ditto.
        (def_builtin): Ditto.
        (enable_mask_for_builtins): Ditto.
@@ -65,8 +68,7 @@
        (RS6000_BTC_*): Ditto.
        (RS6000_BTM_*): Ditto.
        (enum rs6000_builtins): Ditto.
-       * config/rs6000/rs6000-protos.h (rs6000_overloaded_builtin_p):
-       Ditto.
+       * config/rs6000/rs6000-protos.h (rs6000_overloaded_builtin_p): Ditto.
        (rs6000_target_modify_macros): Ditto.
        (rs6000_target_modify_macros_ptr): Ditto.
 
@@ -74,8 +76,7 @@
        standard name for converting vector unsigned values to floating
        point.  Delete the TARGET_VECTORIZE_BUILTIN_CONVERSION hook, which
        is handled by machine independent code.
-       * config/rs6000/rs6000.c (TARGET_VECTORIZE_BUILTIN_CONVERSION):
-       Ditto.
+       * config/rs6000/rs6000.c (TARGET_VECTORIZE_BUILTIN_CONVERSION): Ditto.
        (rs6000_builtin_conversion): Ditto.
 
 2011-11-29  Dodji Seketeli  <dodji@redhat.com>
 2011-11-29   Diego Novillo  <dnovillo@google.com>
 
        * gimple.c (gimple_call_set_cannot_inline): Move from gimple.h.
-       Update field call_stmt_cannot_inline_p from call graph edge, if
-       needed.
+       Update field call_stmt_cannot_inline_p from call graph edge, if needed.
        * gimple.h (gimple_call_set_cannot_inline): Move to gimple.c.
 
 2011-11-29  Sameera Deshpande  <sameera.deshpande@arm.com>
 
        * config/arm/arm.md (arm_movdi): Update NEG_POOL_RANGE.
-         (movdf_soft_insn): Likewise.
+       (movdf_soft_insn): Likewise.
        * config/arm/fpa.md (thumb2_movdf_fpa): Likewise.
        * config/arm/neon.md (neon_mov<mode>): Likewise.
        * config/arm/vfp.md (movdi_vfp): Likewise.
-        (movdi_vfp_cortexa8): Likewise.
-        (movdf_vfp): Likewise.
+       (movdi_vfp_cortexa8): Likewise.
+       (movdf_vfp): Likewise.
 
 2011-11-29  Jakub Jelinek  <jakub@redhat.com>
 
        (init_reg_sets_1): Limit operand_reg_set to accessible_reg_set.
        Remove NO_REGS registers from operand_reg_set.  Treat members
        of operand_reg_set as fixed.
-       * recog.c (general_operand): Check operand_reg_set rather than
-       NO_REGS.
+       * recog.c (general_operand): Check operand_reg_set rather than NO_REGS.
        (register_operand, nonmemory_operand): Likewise.
        * varasm.c (make_decl_rtl): Always use DECL_MODE as the mode of
        register variables.  Check accessible_reg_set and operand_reg_set.
index fa306ba..47e7c6b 100644 (file)
 (define_insn "*floathi<mode>2_i387_with_temp"
   [(set (match_operand:X87MODEF 0 "register_operand" "=f,f")
        (float:X87MODEF (match_operand:HI 1 "nonimmediate_operand" "m,?r")))
-  (clobber (match_operand:HI 2 "memory_operand" "=m,m"))]
+  (clobber (match_operand:HI 2 "memory_operand" "=X,m"))]
   "TARGET_80387
    && (!(SSE_FLOAT_MODE_P (<MODE>mode) && TARGET_SSE_MATH)
        || TARGET_MIX_SSE_I387)"