Commit 424dcc4f by David S. Miller Committed by David S. Miller

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 <code>.  There are two mode iterators
	so explicitly use <GCM:gcm_name>.

From-SVN: r179366
parent 0fad9ab9
......@@ -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 <ak@linux.intel.com>
* 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 <gcond:name>.
* config/sparc/sparc.md (VIS pixel-compare insn): There is only one
code iterator used, so just use <code>. There are two mode iterators
so explicitly use <GCM:gcm_name>.
2011-09-29 Iain Sandoe <iains@gcc.gnu.org>
* config/darwin9.h (STACK_CHECK_STATIC_BUILTIN): Enable for
......@@ -8151,13 +8151,13 @@
(define_mode_iterator GCM [V4HI V2SI])
(define_mode_attr gcm_name [(V4HI "16") (V2SI "32")])
(define_insn "fcmp<gcond:code><gcm_name><P:mode>_vis"
(define_insn "fcmp<code><GCM:gcm_name><P:mode>_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<gcond:code><gcm_name>\t%1, %2, %0"
"fcmp<code><GCM:gcm_name>\t%1, %2, %0"
[(set_attr "type" "fpmul")
(set_attr "fptype" "double")])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment