+2011-09-22 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/50482
+ * config/i386/i386.c (ix86_expand_sse_movcc): When generating
+ blendv, force op_true to register if it doesn't satisfy
+ nonimmediate_operand predicate.
+
2011-09-22 Richard Sandiford <rdsandiford@googlemail.com>
PR middle-end/50113
* ipa-inline.c (ipa_inline): Likewise; do not call
ipa_create_all_structures_for_iinln.
(ipa_inline): Always free jump functions.
- * ipa-inline-analysis.c (evaluate_conditions_for_edge): Remove
- hack.
+ * ipa-inline-analysis.c (evaluate_conditions_for_edge): Remove hack.
(remap_edge_predicates): Fix pasto.
(inline_merge_summary): Remove nlined edge predicate; remove hack.
(inline_analyze_function): Always initialize jump functions.
{
rtx (*gen) (rtx, rtx, rtx, rtx) = NULL;
+ if (!nonimmediate_operand (op_true, mode))
+ op_true = force_reg (mode, op_true);
+
op_false = force_reg (mode, op_false);
switch (mode)
+2011-09-22 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/50482
+ * gcc.target/i386/pr50482.c: New test.
+
2011-09-22 Joseph Myers <joseph@codesourcery.com>
* gcc.target/i386/pad-2.c, gcc.target/i386/pad-3.c,
2011-09-21 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/other/i386-3.C: Remove duplicated dg-options.
- * g++.dg/other/i386-4.C: Remove dg-requre-effective-target directive.
+ * g++.dg/other/i386-4.C: Remove dg-require-effective-target directive.
* g++.dg/other/i386-8.C: Ditto.
* g++.dg/other/pr34435.C: Ditto.
* g++.dg/other/pr39496.C: Ditto.
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O3 -msse4" } */
+
+void
+test (int code, unsigned int * image, int * colors)
+{
+ int i;
+
+ for (i = 0; i < code; ++i)
+ image[i] = (colors[i] < 0 ? ~(unsigned int) 0 : colors[i]);
+}