[Bug target/36241] Executable compiled with -m64 almost three times faster than the one compiled with -m32 on Core2Duo

2009-06-29 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2009-06-29 08:47 --- (In reply to comment #7) > OTOH, doing integer arithmetics on 64bit _image_ of FP value has questionable > usability, so the motivation to fix this PR is proportionally low... So, wontfix. -- ubizjak at gma

[Bug target/40587] [4.4/4.5 Regression] ICE in emit_swap_insn at reg-stack.c:827

2009-06-29 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2009-06-29 14:36 --- The test also fails with FSF 4.4.1 and 4.5.0, but not with 4.3.4, which makes for 4.4 regression. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/34163] [4.3/4.4/4.5 Regression] 10% performance regression since Nov 1 on Polyhedron's "NF" on AMD64

2009-07-03 Thread ubizjak at gmail dot com
--- Comment #17 from ubizjak at gmail dot com 2009-07-03 08:46 --- (In reply to comment #16) > One of the cases SCEV is confused about pointer-plus offsets being sizetype: Do we have a solution for this problem...? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34163

[Bug c/40627] not following "right-then-left" rule when compiling function pointers

2009-07-03 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2009-07-03 15:19 --- For the interested reader: see [1]. [1]: http://ieng9.ucsd.edu/~cs30x/rt_lt.rule.html Unfortunately: --quote-- First, symbols. Read * as "pointer to" - always on the

[Bug target/40587] [4.4/4.5 Regression] Revision 139590 caused ICE in emit_swap_insn at reg-stack.c:827

2009-07-04 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2009-07-04 08:39 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|NEW

[Bug target/40648] New: misaligned store vectorizer patch introduced 10% runtime regression on Polyhedron test_fpu

2009-07-04 Thread ubizjak at gmail dot com
ONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ubizjak at gmail dot com GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http:

[Bug target/40648] misaligned store vectorizer patch introduced 10% runtime regression on Polyhedron test_fpu

2009-07-04 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2009-07-04 12:43 --- (In reply to comment #1) > Can you check numbers with vectorization disabled? I see the regression as > well on a AMD Fam 10 machine which supposedly has unaligned moves as fast > as aligned moves (if the data

[Bug target/40648] misaligned store vectorizer patch introduced 10% runtime regression on Polyhedron test_fpu

2009-07-04 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-04 13:40 --- (In reply to comment #4) > and in regressed case: ... in NON-regressed case. The regressed code is the first dump. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40648

[Bug target/40673] Lapack-3.2.1 testsuite fails with illegal instruction

2009-07-07 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2009-07-07 17:32 --- Please add (minimized) testcase and all other info, as explained in [1]. Also, please post /proc/cpuid. [1] http://gcc.gnu.org/bugs.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40673

[Bug target/40673] Lapack-3.2.1 testsuite fails with illegal instruction

2009-07-07 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-07 18:57 --- Unfortunately, it is nearly impossible to debug your problem without the testcase, since the problem can not be analyzed. Can you at least run the breaking case through a gdb? It will show invalid instruction at the

[Bug rtl-optimization/40667] [4.4/4.5 Regression] stack frames are generated even with -fomit-frame-pointer

2009-07-09 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2009-07-09 09:05 --- For some reason IRA reloads argp using ebp-relative address as: Reloads for insn # 22 Reload 0: reload_in (DI) = (mem/c/i:DI (plus:SI (reg/f:SI 6 bp) (const_int 8

[Bug rtl-optimization/40667] [4.4/4.5 Regression] stack frames are generated even with -fomit-frame-pointer

2009-07-09 Thread ubizjak at gmail dot com
-- ubizjak at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40667

[Bug tree-optimization/40759] [4.5 Regression] segfault in useless_type_conversion_p

2009-07-15 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-07-15 08:19 --- Confirmed on i686 (x86_64 with -m32): Program received signal SIGSEGV, Segmentation fault. useless_type_conversion_p (outer_type=0x2ac18624b240, inner_type=0x0) at ../../gcc-svn/trunk/gcc/tree-ssa.c:1003 1003 if

[Bug tree-optimization/40759] [4.5 Regression] segfault in useless_type_conversion_p

2009-07-15 Thread ubizjak at gmail dot com
-- ubizjak at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40759

[Bug fortran/40766] this fortran program is too slow

2009-07-15 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-07-15 17:58 --- (In reply to comment #1) > if I call the functions(sin,cos,tan) from intel's libimf.so, then > gfortran 1.f90 -limf > 4.31716608E+09 > > real6m39.177s > user6m38.289s > sys 0

[Bug fortran/40766] this fortran program is too slow

2009-07-15 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2009-07-16 06:56 --- (In reply to comment #6) > Thus with the GLIBC (with AMD patches) or with the AMCL, one gets only a > slowdown of 25%, which is still acceptable. Why the Intel routines are so slow > on my AMD, I do not know

[Bug fortran/40766] this fortran program is too slow

2009-07-16 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2009-07-16 07:16 --- (In reply to comment #6) > Thus the question is really: Why are neither vmlsSinCos4 nor vmlsTan4 - nor > for > ACML vrs4_sincosf/vrsa_sincosf (vrs*_tan* does not exist) called? Because sincos returns _TWO_ v

[Bug tree-optimization/40770] Vectorization of complex types, vectorization of sincos missing

2009-07-16 Thread ubizjak at gmail dot com
-- ubizjak at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed

[Bug fortran/40766] this fortran program is too slow

2009-07-16 Thread ubizjak at gmail dot com
-- ubizjak at gmail dot com changed: What|Removed |Added BugsThisDependsOn||40770 Status|UNCONFIRMED |NEW Ever

[Bug c/40803] [4.4 Regression] Optimization generates bad assembly causing compile to fail

2009-07-19 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-07-19 15:14 --- "i" is not correct constraint to immediate operand for sign-extending movq. Use "e". -- ubizjak at gmail dot com changed: What|Removed

[Bug c/40803] [4.4 Regression] Optimization generates bad assembly causing compile to fail

2009-07-19 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2009-07-19 15:47 --- BTW: Constraints in arch/x86/include/asm/uaccess_64.h from linux-2.6.31 are wrong for all cases where mov is suffixed with "q", i.e.: int __copy_to_user(void __user *dst, const void *src, uns

[Bug c/40803] [4.4 Regression] Optimization generates bad assembly causing compile to fail

2009-07-19 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-19 20:30 --- FYI, patch for linux kernel is at [1]. [1] http://marc.info/?l=linux-kernel&m=124801961215396&w=2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40803

[Bug tree-optimization/40770] Vectorization of complex types, vectorization of sincos missing

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2009-07-20 12:30 --- (In reply to comment #7) > Does __builtin_cexpi have a vector implementation? If so, does it return two > vectors? No, only vectorized sincos is implemented (see also links at PR40766, Comment #11). --

[Bug target/40809] wrong conversion from unsigned int to float

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-07-20 22:46 --- PR 39943 ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40809

[Bug middle-end/39943] [4.5 Regression] Failed SPEC CPU 2000

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2009-07-20 23:12 --- *** Bug 40809 has been marked as a duplicate of this bug. *** -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/40809] wrong conversion from unsigned int to float

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-20 23:12 --- (In reply to comment #4) > (In reply to comment #3) > > PR 39943 ? > > > > Yes, it is. Gcc 4.5.0 revision 149104 works fine. Should the fix > backported to 4.3/4.4 branches? Yes, please reopen

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-07-20 23:26 --- What about unsigned int -> double? -- ubizjak at gmail dot com changed: What|Removed |Ad

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-20 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-07-21 06:15 --- (In reply to comment #2) > > We don't even support int -> double. Yes, we do. Try: #define N 16 extern int u4[N] __attribute__ ((aligned(16))); extern double f4[N] __attribute__ ((aligned(16)));

[Bug target/40809] wrong conversion from unsigned int to float

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2009-07-21 10:00 --- Subject: Bug 40811 Author: uros Date: Tue Jul 21 07:22:51 2009 New Revision: 149847 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149847 Log: Backport from mainline: 2009-04-29 Richard

[Bug middle-end/39943] [4.3 Regression] wrong conversion from unsigned int to float

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2009-07-21 10:02 --- Fixed also on branches. -- ubizjak at gmail dot com changed: What|Removed |Added Status

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-21 10:04 --- (In reply to comment #4) > Subject: Bug 40811 > > Author: uros > Date: Tue Jul 21 07:22:51 2009 > New Revision: 149847 Sorry, wrong PR number. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40811

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-07-21 10:04 --- Taking a bug. -- ubizjak at gmail dot com changed: What|Removed |Added AssignedTo|unassigned at

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2009-07-21 11:32 --- Created an attachment (id=18236) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18236&action=view) implement vectorization of unsigned int -> float This patch vectorizes unsigned int -> flo

[Bug target/40811] unsigned int to float isn't vectorized

2009-07-21 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2009-07-21 15:36 --- Fixed. BTW: The patch to vectorize unsigned int -> double is at [1]. [1] http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01170.html -- ubizjak at gmail dot com changed: What|Remo

[Bug middle-end/31827] limits-exprparen.c: Pid 2297 received a SIGSEGV for stack growth failure

2009-07-22 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-07-23 06:52 --- This happens also with default settings on CentOS 5.3 x86_64 and F11 x86_64, current mainline gcc-4.5.0. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/40832] gfortran 4.4.0 generates invalid .s file on solaris-x86 using -march=k8 for 130.socorro

2009-07-23 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-23 07:03 --- (In reply to comment #4) > > What happens if you use gas instead of Sun's assembler? > > $HOME/gnu-x86/local/bin/gfortran -c site.f90 -march=k8 -m32 -S > gas --32 site.s > site.s:652: Error: i

[Bug target/40832] gfortran 4.4.0 generates invalid .s file on solaris-x86 using -march=k8 for 130.socorro

2009-07-23 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-07-23 07:06 --- (In reply to comment #5) > The code that confuses gas is in fact ffreep insn. Since your gas is detected > as not supporting ffreep mnemonic directly, gcc generates it with .word > 0xc0df. /s/gcc/sun as/,

[Bug target/40832] gfortran 4.4.0 generates invalid .s file on solaris-x86 using -march=k8 for 130.socorro

2009-07-23 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2009-07-23 07:58 --- We should use ASM_SHORT instead of .word. I have a patch. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/40832] gfortran 4.4.0 generates invalid .s file on solaris-x86 using -march=k8 for 130.socorro

2009-07-23 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2009-07-23 10:26 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added URL

[Bug rtl-optimization/40209] ICE in iv_analyze_def caused by stale REG_UNUSED note

2009-07-23 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-07-24 06:25 --- Please also add the testcase from Comment #1 to gcc testsuite. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40209

[Bug target/40577] ICE on valid code: in extract_insn

2009-07-26 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-07-26 10:11 --- Created an attachment (id=18254) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18254&action=view) patch to fix the failure This patch fixes the failure on x86_64 -> alpha crosscompiler. Since gcc30 of co

[Bug rtl-optimization/27467] -fsee introduces spurious movs

2009-07-26 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-26 11:01 --- -fsee was removed some time ago by: 2009-06-18 Sergei Dyshel * see.c: Remove. * Makefile.in (OBJS-common): Remove see.o. (see.o): Remove. * common.opt (fsee): Mark as preserved for

[Bug ada/39061] SIGFPE on ACATS c456001 c45624a c45624b c4a013a cxa5a03 cxg2002 cxg2017 cxg2020 on alpha-linux

2009-07-26 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-07-26 11:07 --- (In reply to comment #4) > With -mieee they indeed pass. > > Was the default changed for 4.4? No, but code generation is different, just use -mieee. -- ubizjak at gmail dot com changed: What

[Bug testsuite/40704] ^M? in testsuite log leads to binary attachment

2009-07-28 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-07-28 20:01 --- What about using ^ and $ throughout the testsuite instead of inventing regular expressions involving \n and \r in all possible combinations (i.e. (\n|\r\n|\r) ) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40704

[Bug target/40934] [4.5 Regression] ICE in get_hard_regnum, at reg-stack.c:741

2009-08-01 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2009-08-01 22:04 --- Confirmed as gcc-4.5 regression. Reduced testcase: --cut here-- extern struct { int demoplayback; float movetype; int cameramode; float idealpitch; float pitchvel; int nodrift; int paused; int onground

[Bug target/40934] [4.5 Regression] ICE in get_hard_regnum, at reg-stack.c:741

2009-08-01 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-08-01 22:25 --- The backtrace: #0 fancy_abort (file=0xc59e30 "../../gcc-svn/trunk/gcc/reg-stack.c", line=741, function=0xc5a5f0 "get_hard_regnum") at ../../gcc-svn/trunk/gcc/diagnostic.c:729 #1 0x00708a5

[Bug target/40934] [4.5 Regression] ICE in get_hard_regnum, at reg-stack.c:741

2009-08-01 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-08-01 22:38 --- (In reply to comment #5) > (jump_insn:TI 52 50 56 11 test.c:32 (parallel [ > (set (pc) > (if_then_else (le (reg/v:SF 9 st(1) [orig:64 move ] [64]) > (reg

[Bug target/40934] [4.5 Regression] ICE in get_hard_regnum, at reg-stack.c:741

2009-08-02 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2009-08-02 09:59 --- (In reply to comment #11) > I'm not sure if there is another patch that can work. :-) > > Uros, do you think it's fine? I don't think that non-hot FP jumps are that > common. Definitely in

[Bug target/40957] standard_sse_constant_opcode crash on x86 64

2009-08-04 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-08-04 13:21 --- We enter standard_sse_constant_opcode with: (const_vector:V4DI [ (const_int -1 [0x]) (const_int -1 [0x]) (const_int -1 [0x]) (const_int -1

[Bug target/40577] ICE on valid code: in extract_insn

2009-08-04 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2009-08-04 19:27 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added URL

[Bug target/40906] Wrong code generated for push of long double

2009-08-05 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-08-05 21:19 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug target/40983] The scheduler incorrectly swaps MMX and floating point instructions

2009-08-06 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-08-06 10:47 --- Hm, we can fix this by teaching scheduler that every access to %mm registers clobbers FP state. Since scheduler already depend all x87 instructions on Top-Of-Stack (TOS) register, we can perhaps extend this requirement

[Bug target/40957] [4.5 Regression] standard_sse_constant_opcode crash on x86 64

2009-08-06 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-08-06 11:47 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|NEW

[Bug tree-optimization/40985] -msse -ftree-vectorize cause segfaults (zlib)

2009-08-06 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-08-06 12:27 --- Please follow [1] on how to report bug. [1] http://gcc.gnu.org/bugs.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40985

[Bug target/41017] regparm=3 passes structures inconsistently

2009-08-10 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-08-10 08:05 --- (In reply to comment #4) > If you want to change it to be consistent with the documentation (not with > existing implementation) and pass structures always on stack, I wouldn't > object > against it.

[Bug target/41017] regparm=3 passes structures inconsistently

2009-08-10 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-08-10 08:06 --- Adding H.J. to CC. -- ubizjak at gmail dot com changed: What|Removed |Added CC

[Bug target/8603] [Alpha] s?addl pattern doesn't work

2009-08-10 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2009-08-11 06:46 --- (In reply to comment #6) > Please add to gcc-4.3.x and gcc-4.4.x. OK, I will post the patch, thanks for the analysis. -- ubizjak at gmail dot com changed: What|Removed |Ad

[Bug c++/41036] SIGSEGV with register asm esp

2009-08-11 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-08-11 18:41 --- (In reply to comment #0) > Following code (written just for fun) leads to: > > Program received signal SIGSEGV, Segmentation fault. > main () at main-general.cpp:95 > 95 printf("%d\n&q

[Bug fortran/41053] internal compiler error: in emit_swap_insn, at reg-stack.c:827

2009-08-12 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-08-13 06:32 --- No testcase, please see http://gcc.gnu.org/bugs.html on how to submit proper bugreport. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41053

[Bug target/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-13 Thread ubizjak at gmail dot com
--- Comment #15 from ubizjak at gmail dot com 2009-08-13 13:02 --- (In reply to comment #14) > The vcond patterns are not properly reflecting the restrictions. Are you sure? (define_expand "vcond" [(set (match_operand:SSEMODEI 0 "register_operand" ""

[Bug target/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-13 Thread ubizjak at gmail dot com
--- Comment #16 from ubizjak at gmail dot com 2009-08-13 13:04 --- Looking into it... -- ubizjak at gmail dot com changed: What|Removed |Added AssignedTo

[Bug target/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-13 Thread ubizjak at gmail dot com
--- Comment #18 from ubizjak at gmail dot com 2009-08-13 13:35 --- (In reply to comment #17) > It says TARGET_SSE2 but vcondv2di is only available with TARGET_SSE4+ Yes, but FAIL invalidates complete expansion. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41019

[Bug target/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-13 Thread ubizjak at gmail dot com
--- Comment #19 from ubizjak at gmail dot com 2009-08-13 13:39 --- (In reply to comment #18) > (In reply to comment #17) > > > It says TARGET_SSE2 but vcondv2di is only available with TARGET_SSE4+ > > Yes, but FAIL invalidates complete expansion. Oh, I see the p

[Bug target/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".

2009-08-13 Thread ubizjak at gmail dot com
--- Comment #21 from ubizjak at gmail dot com 2009-08-13 15:26 --- Created an attachment (id=18353) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18353&action=view) patch to fix the failure I'm testing the attached patch. There is a little complication w.r.t to V

[Bug target/30652] New: SSE expansion is missing for isinf() and other fpclassify functions

2007-01-31 Thread ubizjak at gmail dot com
Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ssemmx Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ubizjak at gmail dot com GCC build triple

[Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions

2007-02-01 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-02-01 08:16 --- (In reply to comment #2) > The generic implementation, including for SSE, is I don't think we want to be too generic there. We should not implement proposed transformations as part of fold_builtin_classify() [bu

[Bug tree-optimization/30666] New: warning: canonical types differ for identical types double __complex__ and double __complex__

2007-02-01 Thread ubizjak at gmail dot com
Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ubizjak at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i6

[Bug tree-optimization/30666] warning: canonical types differ for identical types double __complex__ and double __complex__

2007-02-01 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2007-02-01 13:59 --- Created an attachment (id=12993) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12993&action=view) testcase Testcase, compile with gcc -O2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30666

[Bug middle-end/30667] [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468

2007-02-02 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2007-02-02 14:43 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2007-02/msg00153.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug bootstrap/30921] Bootstrap failure with -ftree-vectorize on i386

2007-02-22 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-02-22 08:11 --- (In reply to comment #0) > Bootstrap with vectorization enabled fails on i386 starting from revision > 121767: > http://gcc.gnu.org/viewcvs?view=rev&revision=121767 Could you post exact steps how to r

[Bug bootstrap/30921] Bootstrap failure with -ftree-vectorize on i386

2007-02-22 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2007-02-22 09:54 --- Confirmed, the bootstrap breaks with; /home/uros/gcc-i386/./gcc/xgcc -B/home/uros/gcc-i386/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include

[Bug tree-optimization/30666] [4.3 Regression] warning: canonical types differ for identical types double __complex__ and double __complex__

2007-02-22 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-02-22 11:04 --- These warnirngs disappear by commenting out TARGET_HAS_SINCOS in config/linux.h. These warnings indeed point to pov::create_ray, where we have quite some tree sincos transformations: int pov::create_ray(pov::RAY

[Bug target/30825] [4.3 Regression] current mainline fails to bootstrap with --with-arch=athlon64

2007-02-22 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-02-23 07:34 --- It is -msse that breaks the bootstrap. 'gmake bootstrap BOOT_CFLAGS="-O2"' bootstraps OK. 'gmake bootstrap BOOT_CFLAGS="-O2 -msse"' crashes. -- ubizjak at gmail dot c

[Bug target/30825] [4.3 Regression] current mainline fails to bootstrap with --with-arch=athlon64

2007-02-23 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-02-23 10:22 --- There is something wrong in combine_predictions_for_insn(). Perhaps stack gets corrupted, but from the comment: /* Use FP math to avoid overflows of 32bit integers. */ combined_probability variable is

[Bug target/30825] [4.3 Regression] current mainline fails to bootstrap when -msse is used

2007-02-23 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2007-02-23 13:54 --- Got it. This regression is indeed introduced by patch that fixes inter-unit moves (http://gcc.gnu.org/viewcvs?view=rev&revision=121767) as was found out in PR 30921. The failure is due to slight register prefer

[Bug target/30825] [4.3 Regression] current mainline fails to bootstrap when -msse is used

2007-02-23 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2007-02-23 18:20 --- Fixed on mainline. -- ubizjak at gmail dot com changed: What|Removed |Added Status|NEW

[Bug tree-optimization/30938] New: Bootstrap fails on x86_64 for -ftree-vectorize

2007-02-23 Thread ubizjak at gmail dot com
Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ubizjak at gmail dot com GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30938

[Bug tree-optimization/30938] Bootstrap fails on x86_64 for -ftree-vectorize

2007-02-23 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2007-02-23 20:16 --- This is the operand that is not liked by vect_is_simple_use(): (gdb) p debug_tree (operand) unit size align 32 symtab 0 alias set 16 canonical type 0x2edc0b40 precision 32 min max values

[Bug bootstrap/30669] i686-pc-linux-gnu doesn't build

2007-02-23 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-02-23 20:21 --- (In reply to comment #4) > I'm still getting an ICE when trying to bootstrap on x86_64: > >/var/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libgcc/../gcc/libgcc2.c: > In function

[Bug target/30778] [4.3 Regression] invalid code generation for memset() with -mtune=k8

2007-02-24 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-02-24 08:53 --- The problem here is in ix86_expand_set_or_movmem_via_loop(). In mtune=k8 case, we choose unrolled_loop as the algorithm, where main loop is expanded as expand_set_or_movmem_via_loop (dst, NULL, destreg, NULL

[Bug target/30778] [4.3 Regression] invalid code generation for memset() with -mtune=k8

2007-02-24 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-02-24 10:59 --- I'm currently testing this patch: 2007-02-24 Uros Bizjak <[EMAIL PROTECTED]> * config/i386/i386.md (expand_set_or_movmem_via_loop): Return if GET_MODE_SIZE (mode) * unroll is less than ex

[Bug target/30770] [4.3 regression] BOOT_CFLAGS="-O2 -g -mtune=nocona" miscompiled the stage 3 compiler

2007-02-24 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-02-24 19:09 --- (In reply to comment #2) > I have verified that revision 119252: > > http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00907.html > breaks -mtune=nocona. Jan, can you take a look? Thanks. Something is stil

[Bug target/30770] [4.3 regression] BOOT_CFLAGS="-O2 -g -mtune=nocona" miscompiled the stage 3 compiler

2007-02-24 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2007-02-24 22:54 --- It was a typo in expand_movmem_epilogue() and expand_setmem_epilogue(). Following patch, fixes this bug and together with patch for PR target/30778 (http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01937.html) enables

[Bug target/30778] [4.3 Regression] invalid code generation for memset() with -mtune=k8

2007-02-24 Thread ubizjak at gmail dot com
-- ubizjak at gmail dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |ubizjak at gmail dot com |dot org

[Bug target/30778] [4.3 Regression] invalid code generation for memset() with -mtune=k8

2007-02-24 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-02-24 23:24 --- (In reply to comment #4) > Hi, > testing for expected_size is wrong here - with profile feedback, expected_size > is average size of the block and thus can be smaller than actual size of the > block being

[Bug target/30778] [4.3 Regression] invalid code generation for memset() with -mtune=k8

2007-02-24 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2007-02-25 07:54 --- (In reply to comment #6) > This patch however fixes one extra pasto and makes the prologue test > unconditional - I was a bit overagressive minimizing amount of RTL produced > that only leads to bugs in sid

[Bug tree-optimization/30938] Bootstrap fails on x86_64 for -ftree-vectorize

2007-02-25 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-02-25 18:29 --- Fixed by http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01979.html. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug tree-optimization/30938] Bootstrap fails on x86_64 for -ftree-vectorize

2007-02-25 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-02-25 21:57 --- Sorry, I was too quick. Please ignore comment #2, bootstrap with BOOT_CFLAGS="-Os -g -ftree-vectorize" still fails with the same error. -- ubizjak at gmail dot com changed: What

[Bug tree-optimization/30938] Bootstrap fails on x86_64 for -ftree-vectorize

2007-02-25 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-02-25 23:19 --- Fixed on SVN for real. -- ubizjak at gmail dot com changed: What|Removed |Added Status

[Bug target/30778] [4.3 Regression] invalid code generation for memset() with -mtune=k8

2007-02-25 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2007-02-26 07:04 --- Fixed in SVN. -- ubizjak at gmail dot com changed: What|Removed |Added Status|NEW

[Bug target/30770] [4.3 regression] BOOT_CFLAGS="-O2 -g -mtune=nocona" miscompiled the stage 3 compiler

2007-02-25 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2007-02-26 07:05 --- Fixed in SVN. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/30970] New: Register zeroing by xor N,N should be moved out of loop

2007-02-26 Thread ubizjak at gmail dot com
3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ubizjak at gmail dot com GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30970

[Bug target/30970] Register zeroing by xor N,N should be moved out of loop

2007-02-26 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2007-02-26 15:48 --- It is a target issue. Working on a fix. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/30970] Register zeroing by xor N,N should be moved out of loop

2007-02-26 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-02-26 19:51 --- (In reply to comment #2) > Shouldn't rtl invariant motion catch this? It would be nice, but the problem is again in the fact that we lie to the compiler about supported instructions. This one is not a valid

[Bug c++/30995] 86 new failures in the g++ testsuite last night

2007-02-28 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2007-03-01 07:10 --- (In reply to comment #0) > I bootstrap trunk every night. Last night's run gave 86 new g++ testsuite > failures from the previous night. Here's the diff. Let me know if you need > more information

[Bug target/22152] Poor loop optimization when using mmx builtins

2007-03-01 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2007-03-01 13:47 --- Current mainline produces really horrible code: .L4: movl(%edx), %ebx addl$1, %eax movl4(%edx), %esi addl$8, %edx movl%ebx, 8(%esp) movl%esi, 12

[Bug target/31018] TARGET_{K8,K6,GENERIC} refered to in i386.md file

2007-03-01 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2007-03-02 07:31 --- IMO there is no need for a bugreport in this case as there is no failure, bad code or similar problems. You could just post a patch to gcc-patches. -- ubizjak at gmail dot com changed: What|Removed

[Bug target/31019] Microoptimization of the i386 and x86_64 compilers

2007-03-02 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2007-03-02 10:12 --- Mine, I have a patch in testing. And this is _definitelly_ not a microoptimization. I'll post the patch shortly to gcc-patches, please look at some suprising numbers below... size cc1 textdata bss

[Bug target/31019] Microoptimization of the i386 and x86_64 compilers

2007-03-02 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2007-03-02 11:03 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2007-03/msg00115.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/31019] Microoptimization of the i386 and x86_64 compilers

2007-03-02 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-03-02 14:51 --- Patch committed, with somehow smaller code-size saves as per http://gcc.gnu.org/ml/gcc-patches/2007-03/msg00122.html. -- ubizjak at gmail dot com changed: What|Removed |Added

<    1   2   3   4   5   6   7   8   9   10   >