aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2016-02-09 17:43:48 +0000
committerUros Bizjak <ubizjak@gmail.com>2016-02-09 17:43:48 +0000
commit9f8893981f6f7d0d7b5fc383ce25b834eaa1c477 (patch)
tree6731a40cec6e557668018b1a203b52088f414529
parenta15c9ea0031aaf26b4c9206994c76306795464e5 (diff)
* config/i386/i386.md (insv<mode>_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
-rw-r--r--gcc/ChangeLog13
-rw-r--r--gcc/config/i386/i386.md2
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 <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>
@@ -181,8 +185,7 @@
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.
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>mode, 0);
+ operands[1] = gen_int_mode (INTVAL (operands[1]), QImode);
return "mov{b}\t{%b1, %h0|%h0, %b1}";
}
[(set_attr "isa" "*,nox64")