Commit 287ff198 by Ulrich Weigand Committed by Ulrich Weigand

re PR target/11992 (Wrong built-in code for memcmp with length 1<<24 only…

re PR target/11992 (Wrong built-in code for memcmp with length 1<<24 only (1<<24)-1 possible for CLCL-Instruction)

	PR target/11992
	* config/s390/s390.md ("*cmpmem_long_64"): Use CLCLE instruction
	instead of CLCL.
	("*cmpmem_long_31"): Likewise.

From-SVN: r74752
parent c856f536
2003-12-17 Ulrich Weigand <uweigand@de.ibm.com>
PR target/11992
* config/s390/s390.md ("*cmpmem_long_64"): Use CLCLE instruction
instead of CLCL.
("*cmpmem_long_31"): Likewise.
2003-12-17 Vladimir Makarov <vmakarov@redhat.com>
* config/ia64/ia64.c: Add more comments about insn bundling.
......
......@@ -2080,9 +2080,10 @@
(use (match_dup 2))
(use (match_dup 3))]
"TARGET_64BIT"
"clcl\t%0,%1"
[(set_attr "op_type" "RR")
(set_attr "type" "vs")])
"clcle\t%0,%1,0\;jo\t.-4"
[(set_attr "op_type" "NN")
(set_attr "type" "vs")
(set_attr "length" "8")])
(define_insn "*cmpmem_long_31"
[(clobber (match_operand:DI 0 "register_operand" "=d"))
......@@ -2093,9 +2094,10 @@
(use (match_dup 2))
(use (match_dup 3))]
"!TARGET_64BIT"
"clcl\t%0,%1"
[(set_attr "op_type" "RR")
(set_attr "type" "vs")])
"clcle\t%0,%1,0\;jo\t.-4"
[(set_attr "op_type" "NN")
(set_attr "type" "vs")
(set_attr "length" "8")])
; Convert condition code to integer in range (-1, 0, 1)
......
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