Commit b4e95693 by Michael Meissner Committed by Michael Meissner

Fix ne 0 optimization on non-power machines

From-SVN: r20744
parent d3ee8d68
1998-06-26 Michael Meissner <meissner@cygnus.com>
* rs6000.md (ne 0, non power case): Add missing & constraint.
Fri Jun 26 17:36:42 1998 Dave Love <d.love@dl.ac.uk> Fri Jun 26 17:36:42 1998 Dave Love <d.love@dl.ac.uk>
* Makefile.in (install-info): Run install-info program in separate * Makefile.in (install-info): Run install-info program in separate
......
...@@ -8718,7 +8718,7 @@ ...@@ -8718,7 +8718,7 @@
;; Simplify (ne X (const_int 0)) on the PowerPC. No need to on the Power, ;; Simplify (ne X (const_int 0)) on the PowerPC. No need to on the Power,
;; since it nabs/sr is just as fast. ;; since it nabs/sr is just as fast.
(define_insn "" (define_insn ""
[(set (match_operand:SI 0 "gpc_reg_operand" "=r") [(set (match_operand:SI 0 "gpc_reg_operand" "=&r")
(lshiftrt:SI (neg:SI (abs:SI (match_operand:SI 1 "gpc_reg_operand" "r"))) (lshiftrt:SI (neg:SI (abs:SI (match_operand:SI 1 "gpc_reg_operand" "r")))
(const_int 31))) (const_int 31)))
(clobber (match_scratch:SI 2 "=&r"))] (clobber (match_scratch:SI 2 "=&r"))]
......
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