Commit 8fb52ad1 by Kazu Hirata Committed by Kazu Hirata

h8300.md (negsf2): New.

	* config/h8300/h8300.md (negsf2): New.
	(*negsf2_h8300): Likewise.
	(*negsf2_h8300hs): Likewise.

From-SVN: r60405
parent c498ccff
2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (negsf2): New.
(*negsf2_h8300): Likewise.
(*negsf2_h8300hs): Likewise.
2002-12-21 Geoffrey Keating <geoffk@apple.com>
* integrate.c (output_inline_function): Don't hold private
......
......@@ -1389,6 +1389,28 @@
[(set_attr "length" "2")
(set_attr "cc" "set_zn")])
(define_expand "negsf2"
[(set (match_operand:SF 0 "register_operand" "")
(neg:SF (match_operand:SF 1 "register_operand" "")))]
""
"")
(define_insn "*negsf2_h8300"
[(set (match_operand:SF 0 "register_operand" "=r")
(neg:SF (match_operand:SF 1 "register_operand" "0")))]
"TARGET_H8300"
"xor.b\t#128,%z0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
(define_insn "*negsf2_h8300hs"
[(set (match_operand:SF 0 "register_operand" "=r")
(neg:SF (match_operand:SF 1 "register_operand" "0")))]
"TARGET_H8300H || TARGET_H8300S"
"xor.w\t#32768,%e0"
[(set_attr "cc" "clobber")
(set_attr "length" "4")])
;; ----------------------------------------------------------------------
;; NOT INSTRUCTIONS
;; ----------------------------------------------------------------------
......
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