Commit fea4e7a1 by Ben Elliston Committed by Ben Elliston

spu.md (dftsv, [...]): Attach the appropriate mode to unspec expressions to…

spu.md (dftsv, [...]): Attach the appropriate mode to unspec expressions to silence a warning from the...

	* config/spu/spu.md (dftsv, dftsv_celledp): Attach the appropriate
	mode to unspec expressions to silence a warning from the generator
	programs.

From-SVN: r127174
parent 83e9431a
2007-08-03 Ben Elliston <bje@au.ibm.com>
* config/spu/spu.md (dftsv, dftsv_celledp): Attach the appropriate
mode to unspec expressions to silence a warning from the generator
programs.
2007-08-02 Steve Ellcey <sje@cup.hp.com>
* config/ia64/constraints.md ("U"): Make constraint vector only.
......
......@@ -3025,16 +3025,18 @@ selb\t%0,%4,%0,%3"
;; dftsv
(define_insn "dftsv_celledp"
[(set (match_operand:V2DI 0 "spu_reg_operand" "=r")
(unspec [(match_operand:V2DF 1 "spu_reg_operand" "r")
(match_operand:SI 2 "const_int_operand" "i")] UNSPEC_DFTSV))]
(unspec:V2DI [(match_operand:V2DF 1 "spu_reg_operand" "r")
(match_operand:SI 2 "const_int_operand" "i")]
UNSPEC_DFTSV))]
"spu_arch == PROCESSOR_CELLEDP"
"dftsv\t%0,%1,%2"
[(set_attr "type" "fpd")])
(define_expand "dftsv"
[(set (match_operand:V2DI 0 "spu_reg_operand" "=r")
(unspec [(match_operand:V2DF 1 "spu_reg_operand" "r")
(match_operand:SI 2 "const_int_operand" "i")] UNSPEC_DFTSV))]
(unspec:V2DI [(match_operand:V2DF 1 "spu_reg_operand" "r")
(match_operand:SI 2 "const_int_operand" "i")]
UNSPEC_DFTSV))]
""
{
if(spu_arch == PROCESSOR_CELL)
......
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