http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56347



--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2013-02-15 
20:07:47 UTC ---

> Wrong assembly code is here:

> 

>    0x000030f4 <run_me_+396>:    fsub,sgl fr17,fr17,fr22

>    0x000030f8 <run_me_+400>:    fabs,sgl fr22,fr22

>    0x000030fc <run_me_+404>:    fcmp,sgl,!< fr13R,fr22

>    0x00003100 <run_me_+408>:    ftest

>    0x00003104 <run_me_+412>:    b,l,n 0x37f0 <run_me_+2184



Actually test fails at next test:



(gdb) disass $pc-16,$pc+24

Dump of assembler code from 0x30ec to 0x3114:

   0x000030ec <run_me_+388>:    ftest

   0x000030f0 <run_me_+392>:    b,l,n 0x37f0 <run_me_+2184>,r0

   0x000030f4 <run_me_+396>:    fsub,sgl fr17,fr17,fr22

   0x000030f8 <run_me_+400>:    fabs,sgl fr22,fr22

=> 0x000030fc <run_me_+404>:    fcmp,sgl,!< fr13R,fr22

   0x00003100 <run_me_+408>:    ftest

   0x00003104 <run_me_+412>:    b,l,n 0x37f0 <run_me_+2184>,r0

   0x00003108 <run_me_+416>:    fcmp,sgl,!> fr12R,fr15

   0x0000310c <run_me_+420>:    ftest

   0x00003110 <run_me_+424>:    b,l,n 0x37f0 <run_me_+2184>,r0

End of assembler dump.

(gdb) p $fr12R

$3 = 2

(gdb) p $fr15

$4 = 9.09090886e-06



Ignore #3.

Reply via email to