Commit 2a1c19ed by Denis Chertykov Committed by Denis Chertykov

t-avr: Added definition of FLOAT while generates fp-bit.c

	* config/avr/t-avr: Added definition of FLOAT while generates
	fp-bit.c

	* config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
	peepholes for tst+jump = sbrs/sbrc optimization.

From-SVN: r33883
parent 25a9b3e5
Sat May 13 00:09:59 2000 Denis Chertykov <denisc@overta.ru>
* config/avr/t-avr: Added definition of FLOAT while generates
fp-bit.c
* config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
peepholes for tst+jump = sbrs/sbrc optimization.
Fry May 12 20:03:00 CEST 2000 Jan Hubicka <jh@suse.cz>
* expr.c (emit_push_insn): Do not adjust stack pointer when
......
......@@ -1856,7 +1856,7 @@
(if_then_else (lt (cc0) (const_int 0))
(label_ref (match_operand 1 "" ""))
(pc)))]
"jump_over_one_insn_p (NEXT_INSN (insn), operands[1])"
"jump_over_one_insn_p (insn, operands[1])"
"sbrs %B0,7")
(define_peephole
......@@ -1874,7 +1874,7 @@
(if_then_else (lt (cc0) (const_int 0))
(label_ref (match_operand 1 "" ""))
(pc)))]
"jump_over_one_insn_p (NEXT_INSN (insn), operands[1])"
"jump_over_one_insn_p (insn, operands[1])"
"sbrs %D0,7")
(define_peephole
......
......@@ -32,6 +32,7 @@ TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc
#LIBGCC2 = $(LIBGCC1)
fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/avr/t-avr
echo '#define FLOAT' > fp-bit.c
echo '#define FLOAT_ONLY' >> fp-bit.c
echo '#define CMPtype QItype' >> fp-bit.c
echo '#define DF SF' >> fp-bit.c
......
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