Commit 802a9907 by Kazu Hirata Committed by Kazu Hirata

h8300.c (output_simode_bld): Use rotxl.l to store into bit 0.

	* config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
	store into bit 0.
	* config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
	second alternative to set_znv.
	(*extzv_1_r_inv_h8300hs): Likewise.

From-SVN: r68358
parent 5408ac6c
2003-06-22 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
store into bit 0.
* config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
second alternative to set_znv.
(*extzv_1_r_inv_h8300hs): Likewise.
2003-06-23 Hans-Peter Nilsson <hp@bitrange.com>
* configure.in (in_tree_gas): Find out here whether GAS is ELF,
......
......@@ -4039,7 +4039,7 @@ output_simode_bld (int bild, rtx operands[])
output_asm_insn ("xor.l\t%S0,%S0", operands);
/* Perform the bit store. */
output_asm_insn ("bst\t#0,%w0", operands);
output_asm_insn ("rotxl.l\t%S0", operands);
}
/* All done. */
......
......@@ -2533,7 +2533,7 @@
"(TARGET_H8300H || TARGET_H8300S)
&& INTVAL (operands[2]) < 16"
"* return output_simode_bld (0, operands);"
[(set_attr "cc" "clobber,clobber")
[(set_attr "cc" "set_znv,set_znv")
(set_attr "length" "8,6")])
;;
......@@ -2563,7 +2563,7 @@
&& INTVAL (operands[2]) < 16
&& (1 << INTVAL (operands[2])) == INTVAL (operands[3])"
"* return output_simode_bld (1, operands);"
[(set_attr "cc" "clobber,clobber")
[(set_attr "cc" "set_znv,set_znv")
(set_attr "length" "8,6")])
(define_expand "insv"
......
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