public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57516] New: [avr] Incorrect fixed-point rounding result in the overflow case
@ 2013-06-03 16:17 gjl at gcc dot gnu.org
2013-06-03 16:18 ` [Bug target/57516] " gjl at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-06-03 16:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57516
Bug ID: 57516
Summary: [avr] Incorrect fixed-point rounding result in the
overflow case
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gjl at gcc dot gnu.org
CC: eric.weddington at atmel dot com
Target: avr
ISO/IEC TR 18037 writes on the roundfx rounding functions:
2.1.7.2 The fixed-point rounding functions
[...] The rounding applied is to-nearest, with unspecified rounding direction
in the halfway case. Fractional bits beyond the rounding point are set to zero
in the result. If the exact result value cannot be represented, the saturated
result value is returned.
Currently, bits beyond the rounding point are always cleared, no matter whether
or not the intermediate result is representable or not.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/57516] [avr] Incorrect fixed-point rounding result in the overflow case
2013-06-03 16:17 [Bug target/57516] New: [avr] Incorrect fixed-point rounding result in the overflow case gjl at gcc dot gnu.org
@ 2013-06-03 16:18 ` gjl at gcc dot gnu.org
2013-06-09 11:47 ` gjl at gcc dot gnu.org
2013-07-19 11:20 ` gjl at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-06-03 16:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57516
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-06-03
Target Milestone|--- |4.8.2
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/57516] [avr] Incorrect fixed-point rounding result in the overflow case
2013-06-03 16:17 [Bug target/57516] New: [avr] Incorrect fixed-point rounding result in the overflow case gjl at gcc dot gnu.org
2013-06-03 16:18 ` [Bug target/57516] " gjl at gcc dot gnu.org
@ 2013-06-09 11:47 ` gjl at gcc dot gnu.org
2013-07-19 11:20 ` gjl at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-06-09 11:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57516
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Created attachment 30282
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30282&action=edit
lib1funcs-fixed.S.diff: libgcc part of the patch
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/57516] [avr] Incorrect fixed-point rounding result in the overflow case
2013-06-03 16:17 [Bug target/57516] New: [avr] Incorrect fixed-point rounding result in the overflow case gjl at gcc dot gnu.org
2013-06-03 16:18 ` [Bug target/57516] " gjl at gcc dot gnu.org
2013-06-09 11:47 ` gjl at gcc dot gnu.org
@ 2013-07-19 11:20 ` gjl at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-07-19 11:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57516
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Fixed in trunk (r201051) and 4.8 (r201052).
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-07-19 11:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-03 16:17 [Bug target/57516] New: [avr] Incorrect fixed-point rounding result in the overflow case gjl at gcc dot gnu.org
2013-06-03 16:18 ` [Bug target/57516] " gjl at gcc dot gnu.org
2013-06-09 11:47 ` gjl at gcc dot gnu.org
2013-07-19 11:20 ` gjl at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).