From: uros Date: Tue, 9 Feb 2016 17:43:48 +0000 (+0000) Subject: * config/i386/i386.md (insv_1): Use gen_int_mode to X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d1b8778d01bb11555bb45be43f2adb75071291ee;p=thirdparty%2Fgcc.git * config/i386/i386.md (insv_1): Use gen_int_mode to truncate const_int operand 1 to QImode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233249 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9149642baa69..bcb9e8472200 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-02-09 Uros Bizjak + + * config/i386/i386.md (insv_1): Use gen_int_mode to + truncate const_int operand 1 to QImode. + 2016-02-09 Eric Botcazou * 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 - Jeff Law + Jeff Law PR target/68273 * tree-ssanames.c (make_ssa_name_fn): Always use unqualified @@ -92,8 +97,7 @@ 2016-02-08 Richard Biener 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 @@ -181,8 +185,7 @@ 2016-02-05 Andreas Krebbel 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. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 79c5f1a740c1..edde41a7ac51 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -2883,7 +2883,7 @@ "" { if (CONST_INT_P (operands[1])) - operands[1] = simplify_gen_subreg (QImode, operands[1], mode, 0); + operands[1] = gen_int_mode (INTVAL (operands[1]), QImode); return "mov{b}\t{%b1, %h0|%h0, %b1}"; } [(set_attr "isa" "*,nox64")