From cbbdf78c4dcbec4b286212bf5160b7553889a3e7 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 28 Jul 2011 18:21:44 +0200 Subject: [PATCH] re PR target/47364 ([x32] internal compiler error: in emit_move_insn, at expr.c:3355) PR target/47364 * config/i386/i386.md (strlensi): Enable for !TARGET_64BIT only. (strlendi): Enable for TARGET_64BIT only. From-SVN: r176877 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b4feffa5a6c8..7adb7aed1461 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-07-28 Uros Bizjak + + PR target/47364 + * config/i386/i386.md (strlensi): Enable for !TARGET_64BIT only. + (strlendi): Enable for TARGET_64BIT only. + 2011-07-21 Jakub Jelinek PR middle-end/48973 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 82f7ecbb5ad2..2298b746fe87 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -19647,7 +19647,7 @@ (unspec:SI [(match_operand:BLK 1 "general_operand" "") (match_operand:QI 2 "immediate_operand" "") (match_operand 3 "immediate_operand" "")] UNSPEC_SCAS))] - "" + "!TARGET_64BIT" { if (ix86_expand_strlen (operands[0], operands[1], operands[2], operands[3])) DONE; @@ -19660,7 +19660,7 @@ (unspec:DI [(match_operand:BLK 1 "general_operand" "") (match_operand:QI 2 "immediate_operand" "") (match_operand 3 "immediate_operand" "")] UNSPEC_SCAS))] - "" + "TARGET_64BIT" { if (ix86_expand_strlen (operands[0], operands[1], operands[2], operands[3])) DONE; -- 2.47.2