Commit dca369ba by Segher Boessenkool Committed by Segher Boessenkool

rs6000.md (abs<mode>2_hw): Make this a parameterized name.

@abs<mode>2_hw


	* config/rs6000/rs6000.md (abs<mode>2_hw): Make this a parameterized
	name.
	(abs<mode>2): Use that name.  Simplify.

From-SVN: r272905
parent 47434aeb
2019-07-01 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.md (abs<mode>2_hw): Make this a parameterized
name.
(abs<mode>2): Use that name. Simplify.
2019-07-01 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.md (neg<mode>2_hw): Make this a parameterized
name.
(neg<mode>2): Use that name. Simplify.
......
......@@ -8123,12 +8123,7 @@
{
if (TARGET_FLOAT128_HW)
{
if (<MODE>mode == TFmode)
emit_insn (gen_abstf2_hw (operands[0], operands[1]));
else if (<MODE>mode == KFmode)
emit_insn (gen_abskf2_hw (operands[0], operands[1]));
else
FAIL;
emit_insn (gen_abs2_hw (<MODE>mode, operands[0], operands[1]));
DONE;
}
else if (TARGET_FLOAT128_TYPE)
......@@ -13914,7 +13909,7 @@
(set_attr "size" "128")])
(define_insn "abs<mode>2_hw"
(define_insn "@abs<mode>2_hw"
[(set (match_operand:IEEE128 0 "altivec_register_operand" "=v")
(abs:IEEE128
(match_operand:IEEE128 1 "altivec_register_operand" "v")))]
......
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