re PR target/64795 (too many memory references for `lea')
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 26 Jan 2015 18:49:21 +0000 (19:49 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 26 Jan 2015 18:49:21 +0000 (19:49 +0100)
        PR target/64795
* config/i386/i386.md (*movdi_internal): Also check operand 0
to determine TYPE_LEA operand.
(*movsi_internal): Ditto.

From-SVN: r220128

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

index bba14a3d0c4679d2fdf29c2cde53db4f093283dc..c441f2af51ff56edc652fcb51930087db8655df7 100644 (file)
@@ -1,3 +1,10 @@
+2015-01-26  Uros Bizjak  <ubizjak@gmail.com>
+
+        PR target/64795
+       * config/i386/i386.md (*movdi_internal): Also check operand 0
+       to determine TYPE_LEA operand.
+       (*movsi_internal): Ditto.
+
 2015-01-26  Jakub Jelinek  <jakub@redhat.com>
 
        * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add
        (*addc_negreg_t): New insn_and_split.
        (*subc): Convert to insn_and_split.  Use treg_set_expr as 3rd operand.
        Try to recombine with surrounding insns when splitting.
-       Add operand order variants.  
+       Add operand order variants.
        (*subc_negt_reg, *subc_negreg_t, *reg_lsb_t, *reg_msb_t): New
        insn_and_split patterns.
        (*rotcr): Use arith_reg_or_treg_set_expr.  Try to recombine with
        remove -mgp-direct option.
 
 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
-       
+
        * doc/invoke.texi (--param early-inlining-insns): Update default value.
        * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
 
 
        PR target/64386
        * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
-       V32HImode. 
+       V32HImode.
 
 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
 
 2015-01-13  Andrew Pinski   <apinski@cavium.com>
 
        * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
-       instead of src mode.    
+       instead of src mode.
 
 2015-01-13  Richard Biener  <rguenther@suse.de>
 
 
        * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
        example.
-       
+
 2015-01-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/64563
        [(--param max-inline-insns-recursive)]: Likewise.
        [(--param max-inline-recursive-depth)]: Likewise.
        [(-mno-text-section-literals)]: Likewise.
-       
+
 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
 
        * doc/install.texi: Update for libgomp being renamed from "GNU
index 7577c817e64f1d6b0bf9b2fd8b1211e569b86159..5cefa81da96e3cf9a1ca7f3e0316071587194949 100644 (file)
              (const_string "ssecvt")
            (eq_attr "alternative" "21,22,23,24")
              (const_string "mskmov")
-           (match_operand 1 "pic_32bit_operand")
+           (and (match_operand 0 "register_operand")
+                (match_operand 1 "pic_32bit_operand"))
              (const_string "lea")
           ]
           (const_string "imov")))
              (const_string "ssemov")
            (eq_attr "alternative" "13,14")
              (const_string "mskmov")
-           (match_operand 1 "pic_32bit_operand")
+           (and (match_operand 0 "register_operand")
+                (match_operand 1 "pic_32bit_operand"))
              (const_string "lea")
           ]
           (const_string "imov")))