Bug#512129: (no subject)

2009-01-17 Thread Martin Read
Package: g++-4.3 Version: 4.3.2-1.1 When compiling a program which used the C++ STL to contain instances of a class of my own devising, I encountered spurious warnings. I have been able to reduce the necessary code to a simple test case, which is included in this bug report along with a

Bug#512050: gcc-4.3: pessimizes function without SSE intrinsics

2009-01-17 Thread brian m. carlson
On Fri, Jan 16, 2009 at 08:10:15PM +0100, Martin Michlmayr wrote: * brian m. carlson sand...@crustytoothpaste.ath.cx [2009-01-16 18:38]: Obviously, since the two functions do the exact same thing, they should be optimized to be identical. Instead, mul is pessimized. Can you check if this

Processed: Re: Bug#512050: gcc-4.3: pessimizes function without SSE intrinsics

2009-01-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: forwarded 512050 http://gcc.gnu.org/PR38899 Bug#512050: gcc-4.3: pessimizes function without SSE intrinsics Noted your statement that Bug has been forwarded to http://gcc.gnu.org/PR38899. thanks Stopping processing here. Please contact me if

[Bug target/38899] New: pessimizes function without SSE intrinsics

2009-01-17 Thread tbm at cyrius dot com
[ Forwarded from http://bugs.debian.org/512050 ] brian m. carlson reports the following problem with gcc 4.3 and trunk: Attached is a C file that is compiled with -O3. mul and mul2 perform the same operation; mul uses a loop, and mul2 uses SSE intrinsics. mul2 results in three instructions,

[Bug target/38899] pessimizes function without SSE intrinsics

2009-01-17 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2009-01-17 19:40 --- Testcase: #include stdio.h #include xmmintrin.h #ifndef MUL #define MUL mul #endif void mul(float in1[4], float in2[4], float out[4]) { int i; for (i = 0; i 4; i++) out[i] = in1[i] *

Bug#512050: gcc-4.3: pessimizes function without SSE intrinsics

2009-01-17 Thread Martin Michlmayr
forwarded 512050 http://gcc.gnu.org/PR38899 thanks * brian m. carlson sand...@crustytoothpaste.ath.cx [2009-01-17 17:13]: I believe that it's the maintainers job to file the bug upstream, and OK, I've verified that 4.3 and 4.4 from SVN produce the same code. -- Martin Michlmayr