From 69dcaf46a9278682c87890ab41515f294adfc7cf Mon Sep 17 00:00:00 2001 From: davem Date: Thu, 29 Sep 2011 07:56:05 +0000 Subject: [PATCH] Remove unnecessary sparc code attr. * config/sparc/sparc.md (gcond_name): Delete unnecessary code attr. (VIS pixel-compare insn): Just use . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179335 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 3 +++ gcc/config/sparc/sparc.md | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4b9c8a..0e65631 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -14,6 +14,9 @@ __vis_array32): New. * doc/extend.texi: Document new VIS builtins. + * config/sparc/sparc.md (gcond_name): Delete unnecessary code attr. + (VIS pixel-compare insn): Just 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 ee772d6..d9bcd31 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -8148,17 +8148,16 @@ [(set_attr "type" "edge")]) (define_code_iterator gcond [le ne gt eq]) -(define_code_attr gcond_name [(le "le") (ne "ne") (gt "gt") (eq "eq")]) (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")]) -- 2.7.4