public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/61979] New: Why float variable loading twice into the FTU Stack during condition checking ?
@ 2014-07-31 16:52 nasika.srikanth1 at gmail dot com
  2014-08-01  8:26 ` [Bug other/61979] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: nasika.srikanth1 at gmail dot com @ 2014-07-31 16:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61979

            Bug ID: 61979
           Summary: Why float variable loading twice into the FTU Stack
                    during condition checking ?
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nasika.srikanth1 at gmail dot com

Actually its not a bug. But i identified that float variables are loading twice
into the FTU STACK during the condition checking ,that's actually my doubt and
i check without loading it again i remove repeated code and getting the same
output . But why gcc complier loads the float variable again into the FTU Stack
? For checking the condition it first  checks the parity flags(whether NAN ,INF
)then it again loads the float variable into FTU stack and check for the zero
flag( whether non zero) set or not. But  we can directly check the zero flag
after checking parity flag  with out loading the variable into the FTU stack.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-08-02 16:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-31 16:52 [Bug other/61979] New: Why float variable loading twice into the FTU Stack during condition checking ? nasika.srikanth1 at gmail dot com
2014-08-01  8:26 ` [Bug other/61979] " rguenth at gcc dot gnu.org
2014-08-02  6:19 ` nasika.srikanth1 at gmail dot com
2014-08-02  6:37 ` [Bug other/61979] Why float variable loading twice into the FPU " nasika.srikanth1 at gmail dot com
2014-08-02  6:42 ` pinskia at gcc dot gnu.org
2014-08-02 11:12 ` nasika.srikanth1 at gmail dot com
2014-08-02 11:33 ` glisse at gcc dot gnu.org
2014-08-02 16:29 ` nasika.srikanth1 at gmail dot com

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).