Commit 67acacee by Eric Botcazou

Revert

	2017-11-29  Martin Aberg  <maberg@gaisler.com>

	* config/sparc/sparc.md (divdf3_fix): Add NOP and adjust length
	to prevent b2bst errata sequence.
	(sqrtdf2_fix): Likewise.

From-SVN: r255439
parent 650a8fcf
2017-12-06 Eric Botcazou <ebotcazou@adacore.com>
Revert
2017-11-29 Martin Aberg <maberg@gaisler.com>
* config/sparc/sparc.md (divdf3_fix): Add NOP and adjust length
to prevent b2bst errata sequence.
(sqrtdf2_fix): Likewise.
2017-12-06 Jakub Jelinek <jakub@redhat.com> 2017-12-06 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/81945 PR tree-optimization/81945
...@@ -6212,10 +6212,10 @@ visl") ...@@ -6212,10 +6212,10 @@ visl")
(div:DF (match_operand:DF 1 "register_operand" "e") (div:DF (match_operand:DF 1 "register_operand" "e")
(match_operand:DF 2 "register_operand" "e")))] (match_operand:DF 2 "register_operand" "e")))]
"TARGET_FPU && sparc_fix_ut699" "TARGET_FPU && sparc_fix_ut699"
"fdivd\t%1, %2, %0\n\tnop\n\tstd\t%0, [%%sp-8]\n\tnop" "fdivd\t%1, %2, %0\n\tstd\t%0, [%%sp-8]\n\tnop"
[(set_attr "type" "fpdivd") [(set_attr "type" "fpdivd")
(set_attr "fptype" "double") (set_attr "fptype" "double")
(set_attr "length" "4")]) (set_attr "length" "3")])
(define_insn "divsf3" (define_insn "divsf3"
[(set (match_operand:SF 0 "register_operand" "=f") [(set (match_operand:SF 0 "register_operand" "=f")
...@@ -6464,10 +6464,10 @@ visl") ...@@ -6464,10 +6464,10 @@ visl")
[(set (match_operand:DF 0 "register_operand" "=e") [(set (match_operand:DF 0 "register_operand" "=e")
(sqrt:DF (match_operand:DF 1 "register_operand" "e")))] (sqrt:DF (match_operand:DF 1 "register_operand" "e")))]
"TARGET_FPU && sparc_fix_ut699" "TARGET_FPU && sparc_fix_ut699"
"fsqrtd\t%1, %0\n\tnop\n\tstd\t%0, [%%sp-8]\n\tnop" "fsqrtd\t%1, %0\n\tstd\t%0, [%%sp-8]\n\tnop"
[(set_attr "type" "fpsqrtd") [(set_attr "type" "fpsqrtd")
(set_attr "fptype" "double") (set_attr "fptype" "double")
(set_attr "length" "4")]) (set_attr "length" "3")])
(define_insn "sqrtsf2" (define_insn "sqrtsf2"
[(set (match_operand:SF 0 "register_operand" "=f") [(set (match_operand:SF 0 "register_operand" "=f")
......
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