gcc_4.5.1: fix arm_bswapsi2.patch

Acoording to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392
correct fix should be
TARGET_EITHER && (arm_arch6 || !optimize_size)
not
TARGET_EITHER && (arm_arch6 && !optimize_size)

(From OE-Core rev: 7306e0113a158418acc9cc13d2e82125cb772389)

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ilya Yanok 2011-07-19 03:00:52 +02:00 committed by Richard Purdie
parent 676e3e903f
commit aa18b3cc98
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ Index: gcc-4.5/gcc/config/arm/arm.md
[(set (match_operand:SI 0 "s_register_operand" "=r")
(bswap:SI (match_operand:SI 1 "s_register_operand" "r")))]
-"TARGET_EITHER"
+"TARGET_EITHER && (arm_arch6 && !optimize_size)"
+"TARGET_EITHER && (arm_arch6 || !optimize_size)"
"
if (!arm_arch6)
{