From 9f8893981f6f7d0d7b5fc383ce25b834eaa1c477 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 9 Feb 2016 17:43:48 +0000 Subject: * config/i386/i386.md (insv_1): Use gen_int_mode to truncate const_int operand 1 to QImode. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@233249 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 13 ++++++++----- gcc/config/i386/i386.md | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9149642baa6..bcb9e847220 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 79c5f1a740c..edde41a7ac5 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") -- cgit v1.2.3