From: David S. Miller Date: Thu, 29 Sep 2011 19:17:13 +0000 (+0000) Subject: More sparc pixel-compare insn pattern cleanups. X-Git-Tag: releases/gcc-4.7.0~3461 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=424dcc4f9dd8a68774a3e3e1d7368e3736080a5b;p=thirdparty%2Fgcc.git More sparc pixel-compare insn pattern cleanups. * config/sparc/sparc.md (VIS pixel-compare insn): There is only one code iterator used, so just use . There are two mode iterators so explicitly use . From-SVN: r179366 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c831d399b782..ea5c6d00d3dc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -33,7 +33,7 @@ forward declaration. (remove_duplicate_close_phi): Detect and repair creation of duplicate close-phis for a containing loop. - + 2011-09-27 Andi Kleen * gcc.c (get_local_tick). Rename to get_random_number. @@ -112,6 +112,10 @@ * config/sparc/sparc.md (gcond_name): Delete unnecessary code attr. (VIS pixel-compare insn): Just use . + * config/sparc/sparc.md (VIS pixel-compare insn): There is only one + code iterator used, so just use . There are two mode iterators + so explicitly use . + 2011-09-29 Iain Sandoe * config/darwin9.h (STACK_CHECK_STATIC_BUILTIN): Enable for diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index d9bcd3107705..2def8d1d08ae 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -8151,13 +8151,13 @@ (define_mode_iterator GCM [V4HI V2SI]) (define_mode_attr gcm_name [(V4HI "16") (V2SI "32")]) -(define_insn "fcmp_vis" +(define_insn "fcmp_vis" [(set (match_operand:P 0 "register_operand" "=r") (unspec:P [(gcond:GCM (match_operand:GCM 1 "register_operand" "e") (match_operand:GCM 2 "register_operand" "e"))] UNSPEC_FCMP))] "TARGET_VIS" - "fcmp\t%1, %2, %0" + "fcmp\t%1, %2, %0" [(set_attr "type" "fpmul") (set_attr "fptype" "double")])