Re: Debugging C++ frontend using CLion IDE

2023-03-01 Thread Tim Lange
i.e. replacing "-wrapper gdb" with "-wrapper gdbserver,localhost:2345". Then you can connect your IDE to that gdbserver and fully use the IDE interface to debug. You can configure running gcc with a gdbserver as a pre-task to automate this. - Tim PS: When I tried CLion la

Re: Usage of the C++ stdlib unordered_map in GCC

2022-08-31 Thread Tim Lange
y lately switched to C++11 or other reasons. The responses answered my question, thanks. - Tim

Usage of the C++ stdlib unordered_map in GCC

2022-08-30 Thread Tim Lange
consensus on which data structure implementation is preferred. Should I rather use a hash_map instead of an unordered_map or is it on my side to decide which one I choose? - Tim

GCC warns on defined behavior with Wrestrict?

2022-07-29 Thread Tim Lange
qualifier simplifies deducing that the memory location the parameter point to is never written for Wrestrict and already silences the warning. What do you think? - Tim [0] https://lists.gnu.org/archive/html/bug-gnulib/2022-07/msg00066.html [1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2912

Re: Setting up editors for the GNU/GCC coding style?

2022-07-28 Thread Tim Lange
8 spaces with 1 tab before sending the patch. That still wastes time because all files that I didn't touch look ugly unless I temporarily change the tabSize and some comments don't use tabs so I can't just replace all 8 spaces with 1 tab. For reference, my config file

[PATCH v3] analyzer: add allocation size checker [PR105900]

2022-06-30 Thread Tim Lange
Hi, here's the updated patch that should address all the comments from the v2. - Tim This patch adds an checker that warns about code paths in which a buffer is assigned to a incompatible type, i.e. when the allocated buffer size is not a multiple of the pointee's size. 2022-07-30

Re: [PATCH v2] analyzer: add allocation size checker

2022-06-30 Thread Tim Lange
On Wed Jun 29, 2022 at 7:39 PM CEST, David Malcolm wrote: > On Wed, 2022-06-29 at 17:39 +0200, Tim Lange wrote: > > > Hi, > > Thanks for the updated patch. > > Overall, looks nearly ready; various nits inline below, throughout... > > > > > I've

[PATCH v2] analyzer: add allocation size checker

2022-06-29 Thread Tim Lange
as I just worked on the event splitting, the regression tests are yet to run. - Tim This patch adds an checker that warns about code paths in which a buffer is assigned to a incompatible type, i.e. when the allocated buffer size is not a multiple of the pointee's size. gcc/analyzer/ChangeLog:

Re: [RFC] analyzer: allocation size warning

2022-06-22 Thread Tim Lange
ue easily. Deferring the whole pop_frame to the before node breaks the assumptions inside exploded_graph::get_or_create_node. I don't know what's the best/elegant way of solving this. Is a solution to attach the return svalue to the return edge and then use it later in the PK_BEFORE

Re: [RFC] analyzer: allocation size warning

2022-06-21 Thread Tim Lange
On Sat Jun 18, 2022 at 12:13 AM CEST, David Malcolm wrote: > On Fri, 2022-06-17 at 22:23 +0200, Tim Lange wrote: > > On Fri, Jun 17, 2022 at 01:48:09PM -0400, David Malcolm wrote: > > > On Fri, 2022-06-17 at 17:54 +0200, Tim Lange wrote: > > [...snip...] > > > &g

Re: [RFC] analyzer: allocation size warning

2022-06-17 Thread Tim Lange
On Fri, Jun 17, 2022 at 01:48:09PM -0400, David Malcolm wrote: > On Fri, 2022-06-17 at 17:54 +0200, Tim Lange wrote: > > Hi everyone, > > Hi Tim. > > Thanks for the patch. > > Various comments inline below, throughout... > > > > > tracked in PR105

Re: [RFC] analyzer: allocation size warning

2022-06-17 Thread Tim Lange
On Fr, Jun 17 2022 at 22:45:42 +0530, Prathamesh Kulkarni wrote: On Fri, 17 Jun 2022 at 21:25, Tim Lange wrote: Hi everyone, Hi Tim, Thanks for posting the POC patch! Just a couple of comments (inline) Hi Prathamesh, thanks for looking at it. tracked in PR105900 [0], I'd li

[RFC] analyzer: add allocation size warning

2022-06-17 Thread Tim Lange
mentation for foo and bar. * gcc.dg/analyzer/allocation-size-1.c: New test. * gcc.dg/analyzer/allocation-size-2.c: New test. * gcc.dg/analyzer/allocation-size-3.c: New test. * gcc.dg/analyzer/allocation-size-4.c: New test. Signed-off-by: Tim Lange ---

[RFC] analyzer: allocation size warning

2022-06-17 Thread Tim Lange
bout the usage of those without them having an implementation. I changed those structs to have an empty implementation, such that the additional warning are gone. I think this shouldn't change the test case, so is this change okay? - Tim [0] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105900 [

Re: fanalyzer: debugging zero state machine

2022-06-12 Thread Tim Lange
On Do, Jun 9 2022 at 13:40:06 -0400, David Malcolm wrote: On Thu, 2022-06-09 at 16:49 +0200, Tim Lange wrote: > On Mi, Jun 8 2022 at 11:12:52 -0400, David Malcolm wrote: > > On Wed, 2022-06-08 at 01:42 +0200, Tim Lange wrote: > > > > Hi Dave, Hi Tim; var

fanalyzer: debugging zero state machine

2022-06-09 Thread Tim Lange
> On Mi, Jun 8 2022 at 11:12:52 -0400, David Malcolm wrote: > > On Wed, 2022-06-08 at 01:42 +0200, Tim Lange wrote: > > > > Hi Dave, > > > > I did spent some time to think about the zero state machine. I first > > thought about distinguishing between

GSoC

2022-06-09 Thread Tim Lange
Hi everyone, my name is Tim and I'm also working on the static analyzer this summer. Some of you might already noticed my nooby questions in the IRC ;). Specifically, I'll be working on extending the analyzer with several smaller warnings that the clang analyzer already has. David

GSoC: Extending the Static Analysis Pass

2022-04-03 Thread Tim Lange
Hi everyone, Hi David, I'm interested in extending the static analysis pass as a GSoC project. Short introduction of me: I'm Tim, currently doing my master in computer science with focus on IT security at TU Darmstadt. I already worked with IFDS as part of my bachelor thesis and

Re: add command line option to gcc

2019-09-06 Thread Tim Rice
On Fri, 6 Sep 2019, Jonathan Wakely wrote: > On Fri, 6 Sep 2019 at 04:26, Tim Rice wrote: > > > > > > I have a use case where I would like gcc to accept -Kthread > > and act as if it was passed -pthread. So -Kthread would > > be a synonym for -pthread. > >

add command line option to gcc

2019-09-05 Thread Tim Rice
. Thanks. -- Tim RiceMultitalents t...@multitalents.net

Re: Implementing p0515 - spaceship operator

2018-11-05 Thread Tim van Deurzen
Will take care of it this evening then. If I get stuck or need some help I'll try the IRC channel or reply to this mail again :). Tim. On 11/5/18 8:40 AM, Jakub Jelinek wrote: On Mon, Nov 05, 2018 at 08:36:44AM +0100, Tim van Deurzen wrote: I've received a lot of good advice from N

Re: Implementing p0515 - spaceship operator

2018-11-04 Thread Tim van Deurzen
nce I've worked with SVN. When exactly is the feature deadline? Tim. P.S. I will make time this month to start applying Nathan's advice and push the implementation to the next step. P.P.S. The copyright situation has been resolved and I can continue contributing without issue.

Re: Implementing p0515 - spaceship operator

2018-09-03 Thread Tim van Deurzen
GCC development that are well suited to discussing this topic? Best regards, Tim. On 8/30/18 8:16 PM, Marek Polacek wrote: On Thu, Aug 30, 2018 at 08:07:05PM +0200, Jakub Jelinek wrote: On Thu, Jan 11, 2018 at 02:06:06PM +, Joseph Myers wrote: On Thu, 11 Jan 2018, David Brown wrote: May

Remove *.mirror.babylon.network

2018-03-20 Thread Tim Semeijn
Dear, For the foreseeable future we will not be able to provide our mirrors anymore. Could you please remove: nl.mirror.babylon.network fr.mirror.babylon.network Thanks! -- Tim Semeijn Babylon Network PGP: 0x2A540FA5 / 3DF3 13FA 4B60 E48A E755 9663 B187 0310 2A54 0FA5 signature.asc

Copyright Assignment

2018-02-05 Thread Tim van Deurzen
to take care of the copyright assignment. Thank you! Tim.

Re: Implementing p0515 - spaceship operator

2018-01-10 Thread Tim van Deurzen
Hi Jakub, On 01/10/2018 10:32 PM, Jakub Jelinek wrote: On Wed, Jan 10, 2018 at 10:24:00PM +0100, Tim van Deurzen wrote: On 01/10/2018 02:00 PM, Jonathan Wakely wrote: On 9 Jan 2018 10:56 p.m., "Tim van Deurzen" wrote: Just to confirm with you, it does make sense to con

Re: Implementing p0515 - spaceship operator

2018-01-10 Thread Tim van Deurzen
On 01/10/2018 02:00 PM, Jonathan Wakely wrote: On 9 Jan 2018 10:56 p.m., "Tim van Deurzen" wrote: Just to confirm with you, it does make sense to conditionally parse the token for operator<=> in libcpp (i.e. only when the cxx standard being used is >=2a)? I&

Re: Implementing p0515 - spaceship operator

2018-01-09 Thread Tim van Deurzen
On 01/08/2018 11:28 PM, Jason Merrill wrote: On Mon, Jan 8, 2018 at 5:13 PM, Jonathan Wakely wrote: On 8 January 2018 at 22:07, Jason Merrill wrote: On Mon, Jan 8, 2018 at 4:07 PM, Tim van Deurzen wrote: I've been spending some time the past few weeks implementing p0515r2, i.e

Implementing p0515 - spaceship operator

2018-01-08 Thread Tim van Deurzen
is structured? I want to make sure I go about this correctly. If this is the wrong place to ask for help, please redirect me, so that I don't unnecessarily spam the wrong mailing list :-). Kind regards, Tim.

Remove ca.mirror.babylon.network

2017-07-15 Thread Tim Semeijn
We will soon decommission our Canadian mirror due to restructuring. Please remove the following server from the mirror list: ca.mirror.babylon.network/gcc Our French mirrors will remain active. Thanks! -- Tim Semeijn Babylon Network PGP: 0x2A540FA5 / 3DF3 13FA 4B60 E48A E755 9663 B187 0310

Maintenance ca.mirror.babylon.network

2016-08-27 Thread Tim Semeijn
informed you sufficiently and if you have any questions please let me know. Best regards, -- Tim Semeijn Babylon Network PGP: 0x2A540FA5 / 3DF3 13FA 4B60 E48A E755 9663 B187 0310 2A54 0FA5 signature.asc Description: OpenPGP digital signature

New CA mirror

2016-08-09 Thread Tim Semeijn
://ca.mirror.babylon.network/gcc/ | rsync://ca.mirror.babylon.network/gcc/, thanks to Tim Semeijn (noc@babylon.network) at Babylon Network. --- Thanks in advance! -- Tim Semeijn Babylon Network PGP: 0x2A540FA5 / 3DF3 13FA 4B60 E48A E755 9663 B187 0310 2A54 0FA5 signature.asc Description: OpenPGP digital

Re: Fwd: Windows support dropped from gcc trunk

2015-10-14 Thread Tim Prince
On 10/14/2015 11:36 AM, Steve Kargl wrote: > On Wed, Oct 14, 2015 at 11:32:52AM -0400, Tim Prince wrote: >> Sorry if someone sees this multiple times; I think it may have been >> stopped by ISP or text mode filtering: >> >> Since Sept. 26, the partial support for Wind

Re: [wwwdocs] PATCH for Re: Confirmation Mirror Changes

2015-04-23 Thread Tim Semeijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Dear Gerald, Thanks for processing the patch! Best regards, On 4/23/15 11:49 PM, Gerald Pfeifer wrote: > On Fri, 17 Apr 2015, Tim Semeijn wrote: >> We have changed our company name, hostnames and contact >> information. Please rem

Confirmation Mirror Changes

2015-04-16 Thread Tim Semeijn
: - --- http://mirror0.babylon.network/gcc/ https://mirror0.babylon.network/gcc/ ftp://mirror0.babylon.network/gcc/ rsync://mirror0.babylon.network/gcc/ Location: Gravelines, France Contact: Tim Semeijn (noc@babylon.network) at Babylon Network - --- http://mirror1.babylon.network/gcc/ https

Mirror Changes

2015-04-16 Thread Tim Semeijn
/gcc/ ftp://mirror0.babylon.network/gcc/ rsync://mirror0.babylon.network/gcc/ Location: Gravelines, France Contact: Tim Semeijn (noc@babylon.network) at Babylon Network - --- http://mirror1.babylon.network/gcc/ https://mirror1.babylon.network/gcc/ ftp://mirror1.babylon.network/gcc/ rsync

Partial inline on recursive functions?

2015-04-06 Thread Tim Shen
rsive function A, split it into function B and C, so that A is equivalent to { B(); return C(); }, where B should be easy to inline (e.g. no recursive calls) and C may not. Is it possible/reasonable to do such an optimization? I hope it can help. :) Thanks! -- Regards, Tim Shen

Rearrangement mirror servers

2014-10-27 Thread Tim Semeijn
c://mirror-nl1.bbln.org/gcc As contact for these mirrors you can list: BBLN (n...@bbln.org) Thanks in advance! - -- Tim Semeijn pgp 0x08CE9B4D -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJUTqSFAAoJEB4F+FYIzptNRQ4H/imDU1bWiveW0t

New French mirror

2014-07-02 Thread Tim Semeijn
please let me know! Best regards, Tim Semeijn BBLN

Re: question about -ffast-math implementation

2014-06-02 Thread Tim Prince
ot;no-fast") settings locally, so that complex-limited-range might be in effect inside the scope of the directive (no matter whether you want it). They made changes in the current beta compiler, so it's no longer practical to set standard-compliant options but discard them by pragma in individual for loops. -- Tim Prince

Re: [llvmlinux] Builtin: stack pointer

2014-03-27 Thread Tim Northover
as I'm aware, the users don't actually care about precision (they'd better not!).The difference is that this one doesn't force a frame pointer to be created, which can be good for optimised code. Cheers. Tim.

Re: Shouldn't unsafe-math-optimizations (re-)enable fp-contract=fast?

2014-03-06 Thread Tim Prince
-funsafe-math-optimizations then it should flip it back onto fast? That seems reasonable. I do see an improvement in several benchmarks by use of fma when I append -ffp-contract=fast after -std=c99 Thanks. -- Tim Prince

Re: Vectorizer Pragmas

2014-02-17 Thread Tim Prince
On 2/17/2014 4:42 AM, Renato Golin wrote: On 16 February 2014 23:44, Tim Prince wrote: I don't think many people want to use both OpenMP 4 and older Intel directives together. I'm having less and less incentives to use anything other than omp4, cilk and whatever. I think we should

Re: Vectorizer Pragmas

2014-02-16 Thread Tim Prince
think gcc supports those only by explicit intrinsics. I don't think many people want to use both OpenMP 4 and older Intel directives together. Several of these directives are still in an embryonic stage in both Intel and gnu compilers. -- Tim Prince

Re: Vectorizer Pragmas

2014-02-15 Thread Tim Prince
-O2 -ftree-vectorize can't be considered or -fno-strict-aliasing has to be set, I'm not about to second such a motion. -- Tim Prince

Re: -O3 and -ftree-vectorize

2014-02-08 Thread Tim Prince
On 2/7/2014 11:09 AM, Tim Prince wrote: On 02/07/2014 10:22 AM, Jakub Jelinek wrote: On Thu, Feb 06, 2014 at 05:21:00PM -0500, Tim Prince wrote: I'm seeing vectorization but no output from -ftree-vectorizer-verbose, and no dot product vectorization inside omp parallel regions, with

Re: -O3 and -ftree-vectorize

2014-02-07 Thread Tim Prince
On 02/07/2014 10:22 AM, Jakub Jelinek wrote: On Thu, Feb 06, 2014 at 05:21:00PM -0500, Tim Prince wrote: I'm seeing vectorization but no output from -ftree-vectorizer-verbose, and no dot product vectorization inside omp parallel regions, with gcc g++ or gfortran 4.9. Primary target

Re: -O3 and -ftree-vectorize

2014-02-06 Thread Tim Prince
ries about what the developers intend. I suppose this was posted on gcc list on account of such questions being ignored on gcc-help. -- Tim Prince

Re: How to generate AVX512 instructions now (just to look at them).

2014-01-03 Thread Tim Prince
ed 24 AVX-512 registers in the ifort compilation (/arch:MIC-AVX512) to avoid those spills and repeated memory operands in the gfortran avx2 compilation. How small a ratio of floating point to total instructions can you call "real Fortran?" -- Tim Prince

Re: How to generate AVX512 instructions now (just to look at them).

2014-01-03 Thread Tim Prince
le-languages='c c++ fortran' --enable-libgomp --enable-threads=posix --disable-libmudflap --disa ble-__cxa_atexit --with-dwarf2 --without-libiconv-prefix --without-libintl-prefi x --with-system-zlib -- Tim Prince

Re: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Tim Prince
at OpenMP chunks are more frequently unaligned. In fact, parallel for simd seems to perform nearly the same with gcc-4.9 as with icc. Many decisions on compiler defaults still are based on an unscientific choice of benchmarks, with gcc evidently more responsive to input from the community. -- Tim Prince

Re: RFC: SIMD pragma independent of Cilk Plus / OpenMPv4

2013-09-09 Thread Tim Prince
which are accepted but apparently ignored in the Intel omp simd implementation). I'll be discussing in a meeting later today my effort to publish material including discussion of OpenMP 4.0 implementations. -- Tim Prince

Press Inquiry: History of GCC (german Linux Magazine)

2013-08-03 Thread Tim Schürmann
ly someone of the steering committee :)), who could answer us some questions and give us an insight in the development(-procedure). If you could help us (or know someone that knows someone :)), please send me an e-mail. Thanks in advance, Tim Schürmann Freelance Author tisch...@yahoo.

Re: Calculating cosinus/sinus

2013-05-12 Thread Tim Prince
de on /your/ processor - don't jump to conclusions, or accept other benchmarks as giving the complete picture. Agreed. -- Tim Prince

Re: Calculating cosinus/sinus

2013-05-11 Thread Tim Prince
the fsin code. I will try to optimize Moshier's SIN function later on. Well I will be surprised if you can find significant optimizations to that very clever routine. Certainly you have to be a floating-point expert to even touch it! Robert Dewar -- Tim Prince

Re: [GSoC] Does this proposal look good?

2013-04-24 Thread Tim Shen
2013 at 6:56 PM, Florian Weimer wrote: > On 04/24/2013 12:45 PM, Tim Shen wrote: >> >> I'm very interested in implementing a NFA->DFA module(does that mean a >> Thompson automaton?) so that the exponential searching algorithm can >> be reduced to a linear state

Re: [GSoC] Does this proposal look good?

2013-04-24 Thread Tim Shen
earch algo as a final solution :) On Wed, Apr 24, 2013 at 4:30 PM, Florian Weimer wrote: > On 04/23/2013 07:21 PM, Tim Shen wrote: >> >> I've made a proposal under the guide of application. Is it detailed >> and realistic? > > > Out of curiosity, do you pla

[GSoC] Does this proposal look good?

2013-04-23 Thread Tim Shen
I in the right direction? Thanks! -- Tim Shen Completing C++11 regex * The Project This proposal aims to implement regex interfaces required by the C++11 standard as much as the student can. Besides, I get a clear status here(http://stackoverflow.com/questions/12530406/is-gcc4-7-bugg

Completing libstdc++ regex in GSoC

2013-04-21 Thread Tim Shen
those two specializations? Thanks! -- Tim Shen

Re: Floating Point subnormal numbers under C99 with GCC 4.7‏

2013-01-27 Thread Tim Prince
the results returned by fpclassify. 64-bit gcc defaults to -mfpmath=sse. -- Tim Prince

Re: not-a-number's

2013-01-16 Thread Tim Prince
tedly correct in not making such replacements as a default in violation of C specification. -- Tim Prince

Re: RFC: [ARM] Disable peeling

2012-12-11 Thread Tim Prince
than explicitly split (64-bit) loads, but the architecture manuals disagree with this finding. gcc already does a good job for corei7[-1] in such situations. -- Tim Prince

Re: calculation of pi

2012-11-03 Thread Tim Prince
compiler. Normally, this means you didn't install the optional (32-bit) glibc-devel i386. -- Tim Prince

Re: gfortran error: Statement order error: declaration after DATA

2012-09-12 Thread Tim Prince
+kOkfeSQ+AvkWghU= =snlv -END PGP SIGNATURE- Surely someone has pointed out, you should require only to sort the file by placing the dimension statement ahead of the data statement, if you don't wish to adopt more modern syntax. -- Tim Prince

Re: GCC optimization report

2012-07-17 Thread Tim Prince
t but difficult to follow. It's nearly impossible to compare icc and gcc optimization other than by examining assembly and using a profiler which shows paths taken. -- Tim Prince

Re: Vectorizer question

2012-05-16 Thread Tim Prince
be written return x==y ? x+y : x-y; -- Tim Prince

Re: GCC: OpenMP posix pthread

2012-02-19 Thread Tim Prince
read? Do you have a specific OS family in mind? -- Tim Prince

Re: weird optimization in sin+cos, x86 backend

2012-02-14 Thread Tim Prince
-> 1. DEFECT: Calculated (1-0.11102230E-15)**(-0.18014399E+17) differs from correct value by -0.34413050E-08 This much error may spoil calculations such as compounded interest. -- Tim Prince

Re: weird optimization in sin+cos, x86 backend

2012-02-14 Thread Tim Prince
ure, but I thought the 64-bit pow() was OK. Andrew. No problems seen under elefunt with glibc 2.12 x86_64. -- Tim Prince

Re: weird optimization in sin+cos, x86 backend

2012-02-09 Thread Tim Prince
, but gcc doesn't know anything about the quality of math libraries present; it doesn't even take into account whether it's glibc or something else. -- Tim Prince

Re: weird optimization in sin+cos, x86 backend

2012-02-05 Thread Tim Prince
ng, but this might point to a bug in the cpu instruction FPREM1 Kind Regards James As I recall, the remaindering instruction was documented as using a 66-bit rounded approximation fo PI, in case that is what you refer to. -- Tim Prince

Re: C Compiler benchmark: gcc 4.6.3 vs. Intel v11 and others

2012-01-19 Thread Tim Prince
options, e.g. auto-vectorization of sum reduction. If you do want gcc -fcx-limited range, icc spells it -complex-limited-range. -- Tim Prince

Re: C Compiler benchmark: gcc 4.6.3 vs. Intel v11 and others

2012-01-19 Thread Tim Prince
s linux license: http://software.intel.com/en-us/articles/Non-Commercial-license/?wapkw=%28non-commercial+license%29 It isn't supported in the gcc context. Needless to say, I don't speak for my employer. -- Tim Prince

Re: Profiling gcc itself

2011-11-20 Thread Tim Prince
ituation may be useful. -- Tim Prince

ARM abort() core files

2011-10-25 Thread Hammer, Tim
an someone confirm that a change has been made and where I can find more information about it? Thanks! -- .Tim Tim D. Hammer Software Developer Global Business & Services Group Xerox Corporation M/S 0111-01A 800 Phillips Road Webster, NY 14580 Phone: 585/427-1684 Fax:  585/231-5596 Mai

Re: numerical results differ after irrelevant code change

2011-05-08 Thread Tim Prince
ences of 1 ULP. -- Tim Prince

Re: Vector permutation only deals with # of vector elements same as mask?

2011-02-11 Thread Tim Prince
reversal machinery, but I haven't seen it used for vectorization. In a simple case like this, some might argue there's no reason to write a backward loop when it could easily be reversed in source code, and compilers have been seen to make mistakes in reversal. -- Tim Prince

Re: Why doesn't vetorizer skips loop peeling/versioning for target supports hardware misaligned access?

2011-01-24 Thread Tim Prince
other compilers, but that could be an accident. At this point, I'd like to congratulate the developers for the progress already evident in 4.6. -- Tim Prince

Re: Turn on -funroll-loops at -O3?

2011-01-21 Thread Tim Prince
On 1/21/2011 10:43 AM, H.J. Lu wrote: Hi, SInce -O3 turns on vectorizer, should it also turn on -funroll-loops? Only if a conservative default value for max-unroll-times is set 2<= value <= 4 -- Tim Prince

Re: End of GCC 4.6 Stage 1: October 27, 2010

2010-09-06 Thread Tim Prince
l/gcc-testresults/2010-09/msg00295.html There are no libstdc++ results in that. Richard. This is true. I always run make check-gcc. What should I be doing instead? make -k check make check-c++ runs both g++ and libstdc++-v3 testsuites. -- Tim Prince

Re: food for optimizer developers

2010-08-10 Thread Tim Prince
of obscurity which you add. How is this topic appropriate to gcc mail list? -- Tim Prince

Re: x86 assembler syntax

2010-08-08 Thread Tim Prince
OWTO/Assembly-HOWTO/gas.html ? -- Tim Prince

Re: gcc command line exceeds 8191 when building in XP

2010-07-19 Thread Tim Prince
link into multiple steps in order to deal with command line length limits. I would suggest adapting that. Can't study it myself now while travelling. -- Tim Prince

Re: optimizing a DSO

2010-05-28 Thread Tim Prince
running the compiler. Ian Is it reasonable to assume when the configure test reports using GNU linker, it has taken that "exception," even without a --with-ld specification? -- Tim Prince

Re: Why not contribute? (to GCC)

2010-04-23 Thread Tim Prince
ob is maintenance of gnu software (with committee approval), but this does not extend to those of us for whom it is a secondary role. There once was a survey requesting responses on how our FSF submissions compared before and after current employment began, but no summary of the results. -- Tim Prince

Re: GCC primary/secondary platforms?

2010-04-08 Thread Tim Prince
ple of days. Thanks. -- Tim Prince

Re: GCC primary/secondary platforms?

2010-04-08 Thread Tim Prince
On 4/8/2010 2:40 PM, Dave Korn wrote: On 07/04/2010 19:47, Tim Prince wrote: Will there be a notification if and when C++ run-time will be ready to test on secondary platforms, or will platforms like cygwin be struck from the secondary list? What exactly are you talking about

Re: GCC primary/secondary platforms?

2010-04-07 Thread Tim Prince
.5 RC for cygwin gcc/gfortran, didn't know of any other supported languages worth testing. My ia64 box died a few months ago, but suse-linux surely was at least as popular as unknown-linux in recent years. -- Tim Prince

Re: Optimizing floating point *(2^c) and /(2^c)

2010-03-29 Thread Tim Prince
could match the floating point hardware performance, even for a case which starts with operands in memory (but you mention the case following an addition). -- Tim Prince

Re: Compiler option for SSE4

2010-03-23 Thread Tim Prince
ut 2 years. Whether vectorizing or not, on an 8 core CPU, the OpenMP introduced in gcc 4.2 would be useful. This looks like a gcc-help mail list question, which is where you should submit any follow-up. -- Tim Prince

Re: GCC vs ICC

2010-03-22 Thread Tim Prince
imizing for early Intel 64-bit Xeon, -mtune=barcelona would not be consistently good, and you could not use -msse4 or -xSSE4.2. For optimization which observes standards and also disables vectorized sum reduction, you would omit -ffast-math for gcc, and set icc -fp-model source. -- Tim Prince

Re: legitimate parallel make check?

2010-03-09 Thread Tim Prince
-fortran, make check-g++ separately. Perhaps a script could be made which would detect when the build is complete, then submit the separate make check serial jobs together. -- Tim Prince

Re: [RFH] A simple way to figure out the number of bits used by a long double

2010-02-26 Thread Tim Prince
would have been more appropriate for gcc-help, if related to gcc, or maybe comp.lang.c, if a question about implementation in accordance with standard C. -- Tim Prince

Re: Change x86 default arch for 4.5?

2010-02-18 Thread Tim Prince
required for those 64-bit targets. -- Tim Prince

Re: Starting an OpenMP parallel section is extremely slow on a hyper-threaded Nehalem

2010-02-11 Thread Tim Prince
which has trouble with it. I do find your observation interesting. As far as I know, the oldest distro which works well on Core I7 is RHEL5.2 x86_64, which I run, with updated gcc and binutils, and HT disabled, as I never run applications which could benefit from HT. -- Tim Prince

Re: Support for export keyword to use with C++ templates ?

2010-02-02 Thread Tim Prince
them. -- Tim Prince

Re: speed of double-precision divide

2010-01-24 Thread Tim Prince
Steve White wrote: I was under the misconception that each of these SSE operatons was meant to be accomplished in a single clock cycle (although I knew there are various other issues.) Current CPU architectures permit an SSE scalar or parallel multiply and add instruction to be issued on eac

Re: adding -fnoalias ... would a patch be accepted ?

2010-01-05 Thread Tim Prince
torbenh wrote: can you please explain, why you reject the idea of -fnoalias ? msvc has declspec(noalias) icc has -fnoalias msvc needs it because it doesn't implement restrict and supports violation of typed aliasing rules as a default. ICL needs it for msvc compatibility, but has better alt

Re: The "right way" to handle alignment of pointer targets in the compiler?

2010-01-02 Thread Tim Prince
Benjamin Redelings I wrote: Thanks for the information! Here are several reasons (there are more) why gcc uses 64-bit loads by default: 1) For a single dot product, the rate of 64-bit data loads roughly balances the latency of adds to the same register. Parallel dot products (using 2 accumul

Re: The "right way" to handle alignment of pointer targets in the compiler?

2010-01-01 Thread Tim Prince
Benjamin Redelings I wrote: Hi, I have been playing with the GCC vectorizer and examining assembly code that is produced for dot products that are not for a fixed number of elements. (This comes up surprisingly often in scientific codes.) So far, the generated code is not faster than non-ve

  1   2   3   >