[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Floating Point - Just how broken?
From: |
Denis Chertykov |
Subject: |
Re: [avr-gcc-list] Floating Point - Just how broken? |
Date: |
06 Mar 2001 10:21:17 +0300 |
"Larry Barello" <address@hidden> writes:
> Is floating point comparisons suppose to work in the 2.97
> 20010118 release? It appears that the branch logic is wrong
> coming out of C code.
>
> I recall hearing about this but I thought it was fixed. Or
> do I need the newest compiler (20010211 release)?
I have fixed this bug 21-Jan-2001.
ChangeLog entry:
Sun Jan 21 09:44:17 2001 Denis Chertykov <address@hidden>
* config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
If REVERSE nonzero then condition code in X must be reversed.
(encode_section_info): Optimise if/else.
(avr_function_value): Fix formatting.
* config/avr/avr.md (branch): Call to ret_cond_branch changed.
(difficult_branch): Likewise.
(rvbranch): Likewise.
(difficult_rvbranch): Likewise.
* config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
* config/avr/libgcc.S: Fix comment.