[Bug ada/53590] compiler fails to generate SIMD instruction for FP division

2012-06-12 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53590

Eric Botcazou ebotcazou at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed|2012-06-11 00:00:00 |2012-06-12
 AssignedTo|unassigned at gcc dot   |ebotcazou at gcc dot
   |gnu.org |gnu.org
 Ever Confirmed|0   |1

--- Comment #7 from Eric Botcazou ebotcazou at gcc dot gnu.org 2012-06-12 
16:54:36 UTC ---
 That wasn't particularly clear; the C compiler and the C++ compiler
 used for comparing things on the machine are form the very
 same build (4.8.0 20120525), though.

Yes, it's a fallout of -fnon-call-exceptions that stems from the Java
semantics.  GNAT GPL doesn't care about Java so it implements more aggressive
dead code elimination passes.  We could add an internal flag enabling this
behavior.


[Bug ada/53590] compiler fails to generate SIMD instruction for FP division

2012-06-11 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53590

Eric Botcazou ebotcazou at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |UNCONFIRMED
Summary|new compiler generates both |compiler fails to generate
   |SISD and SIMD instructions  |SIMD instruction for FP
   |for parallel operations of  |division
   |a pure function   |
 Ever Confirmed|1   |0

--- Comment #5 from Eric Botcazou ebotcazou at gcc dot gnu.org 2012-06-11 
10:39:38 UTC ---
 Small note: Same sequence of instructions from GNAT GPL 2011
 running on x86_64 Linux/GNU:

You're comparing apples with oranges though, that isn't the same compiler.


[Bug ada/53590] compiler fails to generate SIMD instruction for FP division

2012-06-11 Thread georggcc at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53590

--- Comment #6 from Georg georggcc at googlemail dot com 2012-06-11 10:59:41 
UTC ---
(In reply to comment #5)
  Small note: Same sequence of instructions from GNAT GPL 2011
  running on x86_64 Linux/GNU:
 
 You're comparing apples with oranges though, that isn't the same compiler.

OK. Although, this supports even more what I said,
Other versions of the Ada compiler... ;-)

That wasn't particularly clear; the C compiler and the C++ compiler
used for comparing things on the machine are form the very
same build (4.8.0 20120525), though.