]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/i386/i386.md (insv<mode>_1): Use gen_int_mode to
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Feb 2016 17:43:48 +0000 (17:43 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Feb 2016 17:43:48 +0000 (17:43 +0000)
truncate const_int operand 1 to QImode.

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

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

index 9149642baa69656fea28ca4473f0f0c835d88a7f..bcb9e847220014f5d25fcecceef1692028182678 100644 (file)
@@ -1,3 +1,8 @@
+2016-02-09  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (insv<mode>_1): Use gen_int_mode to
+       truncate const_int operand 1 to QImode.
+
 2016-02-09  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gimple-ssa-backprop.c (optimize_phi): Do not replace an argument
@@ -83,7 +88,7 @@
        compare or adjust the segment length.
 
 2016-02-08  Richard Biener  <rguenther@suse.de>
-       Jeff Law  <law@redhat.com>
+           Jeff Law  <law@redhat.com>
 
        PR target/68273
        * tree-ssanames.c (make_ssa_name_fn): Always use unqualified
@@ -92,8 +97,7 @@
 2016-02-08   Richard Biener  <rguenther@suse.de>
 
        PR rtl-optimization/69274
-       * ira.c (ira_setup_alts): Do not change recog_data.operand
-       order.
+       * ira.c (ira_setup_alts): Do not change recog_data.operand order.
 
 2016-02-08  Jeff Law  <law@redhat.com>
 
 2016-02-05  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
 
        PR target/69625
-       * config/s390/s390.c (SAVE_SLOT_NONE, SAVE_SLOT_STACK): New
-       defines.
+       * config/s390/s390.c (SAVE_SLOT_NONE, SAVE_SLOT_STACK): New defines.
        (s390_register_info_gprtofpr): Use new macros above.
        (s390_register_info_stdarg_fpr): Adjust max_fpr to better match
        its name.
index 79c5f1a740c15aa465947451fb3f84f145bc394d..edde41a7ac51013200ead5f7c5fdf87d5255b533 100644 (file)
   ""
 {
   if (CONST_INT_P (operands[1]))
-    operands[1] = simplify_gen_subreg (QImode, operands[1], <MODE>mode, 0);
+    operands[1] = gen_int_mode (INTVAL (operands[1]), QImode);
   return "mov{b}\t{%b1, %h0|%h0, %b1}";
 }
   [(set_attr "isa" "*,nox64")