From 6322893c3eead1242238a5bd7220d881ecfaee5c Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 28 Jul 2011 18:20:06 +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: r176875 --- gcc/ChangeLog | 8 +++++++- gcc/config/i386/i386.md | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4cce9b5bcfb4..65dc45c27f44 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-19 Jakub Jelinek Backport from mainline @@ -171,7 +177,7 @@ 2011-06-16 Kaz Kojima - Backport form main line + Backport from mainline 2011-06-09 Kaz Kojima PR target/49307 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 1afa1e0da2ad..817e7c03df64 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -18321,7 +18321,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; @@ -18334,7 +18334,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