Submitting a patch for an architecture without a maintainer

2010-03-30 Thread Samuel Tardieu
myself and I am not interested in becoming its maintainer -- I just happen to know someone who uses it and noticed that GCC was broken. -- Samuel Tardieu -- s...@rfc1149.net -- http://www.rfc1149.net/

Re: arm-elf multilib issues

2009-10-02 Thread Samuel Tardieu
BI variant, so very few multilibs are required for a functional Paul> toolchain. I have had problem in the past with Cortex M3 based processors because libraries were not compiled with the Thumb-2 instruction set (which is the only one supported by those ARM CPUs) variant. Sam -- Sa

Re: Multilib for ARM in thumb2 mode

2009-05-08 Thread Samuel Tardieu
* Alexandre Pereira Nunes [2009-05-08 11:24:14 -0300] | > Don't you already get this if you created a toolchain with | > --with-arch=armv7-m and the multilib for thumb ? A toolchain configured for | > --with-arch=armv7-m and the multilib for thumb would automatically cover | > this configuration

Multilib for ARM in thumb2 mode

2009-05-06 Thread Samuel Tardieu
nnaly compile the thumb2 version of the library in 4.5.0 and 4.4.1? If people don't want it, could we add an option to enable thumb2 at configure time? Sam -- Samuel Tardieu -- s...@rfc1149.net -- http://www.rfc1149.net/

Re: GCC 4.4.0 Status Report (2009-03-13)

2009-03-21 Thread Samuel Tardieu
ore lucky than most of us then :) Sam -- Samuel Tardieu -- s...@rfc1149.net -- http://www.rfc1149.net/

Re: ada.h _ECHO

2008-11-20 Thread Samuel Tardieu
exercized for years and can simply be removed. Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: s-oscons technique does not work for RTEMS

2008-08-08 Thread Samuel Tardieu
others have Thomas> used this method on some cross targets. Do you mean --with-build-sysroot? Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Official GCC git repository

2008-04-24 Thread Samuel Tardieu
On 24/04, Christopher Faylor wrote: | In case it isn't obvious, I don't know how to fix this. Well, I guess it fixed itself then since it's now working again :)

Re: Official GCC git repository

2008-04-23 Thread Samuel Tardieu
om the gcc-cvs Christopher> mailing list. Christopher> We'll be monitoring the system to see if there is a load Christopher> hit. If so, we'll probably drop back to Dan's original Christopher> method. It looks like the GIT repository hasn't been synced since yesterd

Re: ada: What is libgnalasup?

2008-04-22 Thread Samuel Tardieu
>>>>> "Arnaud" == Arnaud Charlet <[EMAIL PROTECTED]> writes: Arnaud> Yes, libgnalasup is a bundled version of lapack/blas Arnaud> libraries. Thanks. I've submitted a patch to make lapack/blas the default version. Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

ada: What is libgnalasup?

2008-04-21 Thread Samuel Tardieu
can replace the reference in GCC i-forbla.adb by references to liblapack and libblas instead. Would that be functionally equivalent? Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Official GCC git repository

2008-04-19 Thread Samuel Tardieu
On 18/04, Christopher Faylor wrote: | After consultation with Dan, I have set things up on gcc.gnu.org so that | the git repository is updated every time an email message is received | from the gcc-cvs mailing list. Great! Thanks to both of you.

Re: Official GCC git repository

2008-04-18 Thread Samuel Tardieu
On 18/04, Daniel Berlin wrote: | I know you think this is personal, as per your email below, but it really isn't. | I had it set up to do it after every commit, and it drove our load | average up a noticeable amount. | As such, I stopped doing it and set it to run every 30 minutes. | | > I know

Re: Official GCC git repository

2008-04-18 Thread Samuel Tardieu
On 18/04, Daniel Berlin wrote: | > However, having it synced periodically rather than after every commit is | > an annoyance. | | True, but it won't change anytime soon because it would place more | load, and require more locking (since there is no guarantee a git sync | will finish before the

Re: Official GCC git repository

2008-04-18 Thread Samuel Tardieu
On 18/04, Daniel Berlin wrote: | > how is the GIT repository synced? Is there a hook which updates it | > after a svn commit? | | No. | It is synced every 30 minutes. | | > | > I'm about to switch from infradead to gcc.gnu.org, and I want to make | > sure that the latter is synced at least a

Re: Official GCC git repository

2008-04-18 Thread Samuel Tardieu
is the GIT repository synced? Is there a hook which updates it after a svn commit? I'm about to switch from infradead to gcc.gnu.org, and I want to make sure that the latter is synced at least as frequently as the former before I do that. Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Official GCC git repository

2008-04-15 Thread Samuel Tardieu
nd. This way, branches will be kept under /refs/heads/, not put under /refs/remotes/. Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Official GCC git repository

2008-03-27 Thread Samuel Tardieu
n the MAINTAINERS file, as AFAIK every MAINTAINERS as a @gcc.gnu.org address. Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Obvious problem with Ada front-end patches handling

2008-03-20 Thread Samuel Tardieu
On 20/03, Arnaud Charlet wrote: | Maybe that's partly because you are not following closely the development of | GCC and are not familiar with the GCC stages. Submitting patches during | stage3 (in particular end of stage3) is not really the most appropriate time, | so it's often better to wait fo

Re: Obvious problem with Ada front-end patches handling

2008-03-20 Thread Samuel Tardieu
On 20/03, Arnaud Charlet wrote: | > Since 2007-12-19, which is the date of the latest AdaCore batch | > merge (three months ago), the Ada front end has only received the | > following patches: | > | > - platform-specific and build-related patches | > | > - gigi (Ada structures -> GCC structu

Obvious problem with Ada front-end patches handling

2008-03-20 Thread Samuel Tardieu
Samuel Tardieu wrote: > I cannot seem to find an answer to this PING message from last > December. > > > Subject: [PATCH] ada: Do not let a type in an aggregate be an ancestor > > of itself > > Date:Thu, 29 Nov 2007 11:43:44 +0100 > > URL: http:

Re: Official GCC git repository

2008-03-12 Thread Samuel Tardieu
>>>>> "Bernardo" == Bernardo Innocenti <[EMAIL PROTECTED]> writes: Bernardo> If people think it would be useful, we could install a commit Bernardo> hook on gcc.gnu.org to mirror each commit immediately. It would be great! Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Fwd: Porting gcc to a new architecture

2008-03-12 Thread Samuel Tardieu
>>>>> "Schmave" == Schmave <[EMAIL PROTECTED]> writes: > i was wondering what steps i need to take to port gcc to a new > architecture Did you find something unclear in the GCC documentation? Do you have a specific question? Sam -- Samuel Tardieu -- [E

Re: When the R.I.P. of 4.1.x branch for?

2008-02-25 Thread Samuel Tardieu
>>>>> "JCP" == J C Pizarro <[EMAIL PROTECTED]> writes: JCP> I want to see a comparison of performances between 4.1.x, 4.2.x JCP> and 4.4.x to know how they have been evolved. What prevents you from doing the comparaison yourself using SVN? Sam -- Samuel

Double constructors in C++?

2008-02-18 Thread Samuel Tardieu
p 0018 <_ZN1T3fooEv>: 18: 8b 44 24 04 mov0x4(%esp),%eax 1c: c7 00 07 00 00 00 movl $0x7,(%eax) 22: c3 ret The constructor seems to be included twice with the very same code. Is that expected? Sam -- Samuel Ta

Re: Git and GCC

2007-12-05 Thread Samuel Tardieu
checked out copy of trunk using SVN requires 1.2G, and I don't have any history around... Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Rant about ChangeLog entries and commit messages

2007-12-02 Thread Samuel Tardieu
platform using some barely used debugging format, this could give a hint of where to look (STABS for example) to see how it is done there and if bogus assumptions were made about the previous behaviour. Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Rant about ChangeLog entries and commit messages

2007-12-02 Thread Samuel Tardieu
Sam> How could a newcomer guess why the gcc_force_collect flag needs to Sam> be reset? Andreas> That is supposed to be written in a comment. The change log Andreas> entry should describe _what_ is being changed, so that you Andreas> can find out when a particular change was made. Out of curiosit

Re: Rant about ChangeLog entries and commit messages

2007-12-02 Thread Samuel Tardieu
On 2/12, Eric Botcazou wrote: | > I know this document and I think the part on ChangeLog doesn't achieve | > its purpose: | > | > http://www.gnu.org/prep/standards/standards.html#Change-Logs | > | >Keep a change log to describe all the changes made to program source | >files. The purpose

Re: Rant about ChangeLog entries and commit messages

2007-12-02 Thread Samuel Tardieu
On 2/12, Andreas Schwab wrote: | That is supposed to be written in a comment. The change log entry | should describe _what_ is being changed, so that you can find out when a | particular change was made. This should be the job of the VCS, e.g. "svn log" and "svn blame". Moreover, ChangeLogs are

Re: Rant about ChangeLog entries and commit messages

2007-12-02 Thread Samuel Tardieu
On 2/12, Eric Botcazou wrote: | He indeed cannot, but the ChangeLog is not meant to make it possible either. | See http://gcc.gnu.org/contribute.html, especially the GNU Coding Standards. I know this document and I think the part on ChangeLog doesn't achieve its purpose: http://www.gnu.org/prep

Rant about ChangeLog entries and commit messages

2007-12-02 Thread Samuel Tardieu
As a recent committer to GCC, I am always surprised to see the content of ChangeLog entries and commit messages. I tend to find GCC ChangeLog entries useless. For example, the more recent ChangeLog entry in gcc/ChangeLog is: | 2007-11-30 Jan Hubicka <[EMAIL PROTECTED]> | | * ggc-common

Re: volatile and R/M/W operations

2007-12-02 Thread Samuel Tardieu
On 1/12, Robert Dewar wrote: >> I cannot see a reason not to use "orb $32,y" here instead of a three >> steps read/modify/write operation. Is this only a missed optimization? >> (in which case I will open a PR) > > Are you sure it is an optimization, the timing on these things is > very subtle. W

volatile and R/M/W operations

2007-11-30 Thread Samuel Tardieu
$16, x orl $32, %eax movb%al, y ret I cannot see a reason not to use "orb $32,y" here instead of a three steps read/modify/write operation. Is this only a missed optimization? (in which case I will open a PR) Sam -- Samuel Tardieu -- [EMAIL PROTECTE

Re: 64 bit assignment trouble on a 32 bit platform

2007-10-29 Thread Samuel Tardieu
; UINT32 b = a; printf ("a+b = 0x%016llx\n", (UINT64) (a+b)); return 0; } The output will be: a+b = 0xfffe instead of your expected a+b = 0x0001fffe Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Optimization of conditional access to globals: thread-unsafe?

2007-10-29 Thread Samuel Tardieu
sbbl$-1, %eax movl%eax, a There is clearly a race condition if you have multiple threads executing this code even if only one thread has "locked" being true. Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Optimization of conditional access to globals: thread-unsafe?

2007-10-27 Thread Samuel Tardieu
On 27/10, Robert Dewar wrote: > I don't understand, are we looking at the same example, the example > from Sam that I looked at did not have an entry body, so how could the > entry body rule apply? Let's look at the example (where I replaced protected procedures by entries with a guard which is a

Re: Optimization of conditional access to globals: thread-unsafe?

2007-10-27 Thread Samuel Tardieu
On 27/10, Florian Weimer wrote: | (I can't reproduce the conditional store with my GCC 4.2 installation, | though.) You need "-O -fno-inline" to trigger it on this particular example (you don't need "-fno-inline" if you put "Lock" in a separate package).

Re: -fno-tree-cselim not working?

2007-10-26 Thread Samuel Tardieu
(test == 0);" */ Would a patch such as the following be acceptable? http://article.gmane.org/gmane.comp.gcc.patches/151261 Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: Optimization of conditional access to globals: thread-unsafe?

2007-10-26 Thread Samuel Tardieu
>>>>> "Sam" == Samuel Tardieu <[EMAIL PROTECTED]> writes: Sam> In the following example, is the access to "Shared" considered Sam> unsynchronized even though what looks like a proper lock is used Sam> around it? Call to Always_Unlock was incorre

Re: Optimization of conditional access to globals: thread-unsafe?

2007-10-26 Thread Samuel Tardieu
On 26/10, Robert Dewar wrote: | Of course in Ada there is a clear notion of threads semantic, and | a clear definition of what the meaning of code is in the presence | of threads, so the specific situation discussed here is easy to | deal with (though Ada takes the view that unsychronized shared a

Re: -fno-tree-cselim not working?

2007-10-26 Thread Samuel Tardieu
now just to check if the conditional memory operation cases David> trigger here too. It doesn't because you have the spin_unlock() in the "then" part so it is no longer a single assignment (the only case that gets "optimized" currently). Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/

Re: -fno-tree-cselim not working?

2007-10-25 Thread Samuel Tardieu
On 25/10, Andrew Pinski wrote: | On 10/25/07, Samuel Tardieu <[EMAIL PROTECTED]> wrote: | > With yesterday's SVN sources, the following source produces the same | > result with -ftree-cselim and -fno-tree-cselim on x86: | | Because another patch does this optimization, the

-fno-tree-cselim not working?

2007-10-25 Thread Samuel Tardieu
dl$12, %esp ret Shouldn't the conditional store be preserved when -fno-tree-cselim is set? Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/