aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2016-02-09 18:43:48 +0100
committerUros Bizjak <uros@gcc.gnu.org>2016-02-09 18:43:48 +0100
commit4849c1c7f6cfc6725b886b6804442a3390232c69 (patch)
tree6731a40cec6e557668018b1a203b52088f414529 /gcc
parenta864ad5ba2501dd2157fd2512ebf00b3d529f921 (diff)
downloadgcc-4849c1c7f6cfc6725b886b6804442a3390232c69.zip
gcc-4849c1c7f6cfc6725b886b6804442a3390232c69.tar.gz
gcc-4849c1c7f6cfc6725b886b6804442a3390232c69.tar.bz2
i386.md (insv<mode>_1): Use gen_int_mode to truncate const_int operand 1 to QImode.
* config/i386/i386.md (insv<mode>_1): Use gen_int_mode to truncate const_int operand 1 to QImode. From-SVN: r233249
Diffstat (limited to 'gcc')
-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 9149642..bcb9e84 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 79c5f1a..edde41a 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")