Re: unspec_volatile() RTL template

2009-02-03 Thread Ian Lance Taylor
raja.sal...@iap-online.com writes: > Can anybody explain about the unspec_volatile() rtl template usage, sample > example and the purpose of it. unspec_volatile is documented in the gcc internals manual. There are many examples of using it in the existing gcc backends. The purpose is to permit

gnu gcc 3.4.6 debug procedure

2009-02-03 Thread raja . saleru
Hi, I am using the gcc version 3.4.6. It is cross built for one of the ARM based target. I would like to build the gcc in debug mode and step by step debug the code. The gcc/configure has "-g -O2" option. but if I run through debugger, the source files of the entire gcc are not visible. somebody

unspec_volatile() RTL template

2009-02-03 Thread raja . saleru
Hi, Can anybody explain about the unspec_volatile() rtl template usage, sample example and the purpose of it. Thanks and Regards Raja Saleru

Re: Plugin API Comments (was Re: GCC Plug-in Framework ready to port)

2009-02-03 Thread Kai Henningsen
On Sun, Feb 1, 2009 at 04:06, Sean Callanan wrote: > We also have a magic argument called FILE that lets you load arguments from > a file. That's what @ arguments are for. Which argues for not concatenating arguments. Would it be a problem to do -plugin=myplugin -plugin-myplugin-arg1=stuff -pl

Re: GCC & OpenCL ?

2009-02-03 Thread Ross Ridge
Ross Ridge wrote: > Oh, ok, that makes a world of difference. Even with just AMD GPU > support a GCC-based OpenCL implementation becomes a lot more practical. Michael Meissner writes: >And bear in mind that x86's with GPUs are not the only platform of interest I never said anything about x86's a

Re: GCC & OpenCL ?

2009-02-03 Thread Albert Cohen
Ross Ridge wrote: Basile STARYNKEVITCH writes: It seems to me that some specifications seems to be available. I am not a GPU expert, but http://developer.amd.com/documentation/guides/Pages/default.aspx contains a R8xx Family Instruction Set Archictectire document at http://developer.amd.com/gpu_

Re: PR 39076 Backport a patch for GCC 4.3

2009-02-03 Thread Mark Mitchell
Ramana Radhakrishnan wrote: > Hi Mark, > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39076 appears to be an > reappearance of the failure reported originally at > http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01577.html . and detailed > discussion in the thread that ends at > http://gcc.gnu.org/m

Re: Plugin API Comments

2009-02-03 Thread Manuel López-Ibáñez
2009/2/3 Sean Callanan : > -- > -Wl,option > Pass option as an option to the linker. If option contains > commas, > it is split into multiple options at the commas. > -- > So perhaps we could do something like > -- > -Wplugin-$NAME,arg=value > I apologise if this sounds bikesh

Re: GCC & OpenCL ?

2009-02-03 Thread Andrew Pinski
On Tue, Feb 3, 2009 at 2:25 PM, Michael Meissner wrote: > And bear in mind that x86's with GPUs are not the only platform of interest. Even x86 with the SPRUS engine is a platform of interest for some companies (not me but you get the idea). -- Pinski

Re: GCC & OpenCL ?

2009-02-03 Thread Michael Meissner
On Tue, Feb 03, 2009 at 04:37:55PM -0500, Ross Ridge wrote: > > Basile STARYNKEVITCH writes: > >It seems to me that some specifications > >seems to be available. I am not a GPU expert, but > >http://developer.amd.com/documentation/guides/Pages/default.aspx > >contains a R8xx Family Instruction Set

PR 39076 Backport a patch for GCC 4.3

2009-02-03 Thread Ramana Radhakrishnan
Hi Mark, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39076 appears to be an reappearance of the failure reported originally at http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01577.html . and detailed discussion in the thread that ends at http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00907.html . Is

Re: GCC & OpenCL ?

2009-02-03 Thread Ross Ridge
Basile STARYNKEVITCH writes: >It seems to me that some specifications >seems to be available. I am not a GPU expert, but >http://developer.amd.com/documentation/guides/Pages/default.aspx >contains a R8xx Family Instruction Set Archictectire document at >http://developer.amd.com/gpu_assets/r600isa.

new GCC mirror site

2009-02-03 Thread Ádám Rák
Dear gcc.gnu.org I mirrored the ftp://gcc.gnu.org/pub/gcc to http://robotlab.itk.ppke.hu/gcc country: Hungary city: Budapest contact: name: Adam Rak (Ádám Rák) e-mail: neur...@gmail.com The mirror is updated daily. I can configure it to be more frequent if you require. Best wishes: Ádám Rák

Re: GCC & OpenCL ?

2009-02-03 Thread Joseph S. Myers
On Tue, 3 Feb 2009, Ross Ridge wrote: > Mark Mitchell writes: > >That's correct. I was envisioning a proper compiler that would take > >OpenCL input and generate binary output, for a particular target, just > >as with all other GCC input languages. That target might be a GPU, or > >it might be a

Re: GCC & OpenCL ?

2009-02-03 Thread Basile STARYNKEVITCH
Ross Ridge wrote: Mark Mitchell writes: That's correct. I was envisioning a proper compiler that would take OpenCL input and generate binary output, for a particular target, just as with all other GCC input languages. That target might be a GPU, or it might be a multi-core CPU, or it might

Re: GCC & OpenCL ?

2009-02-03 Thread Ross Ridge
Mark Mitchell writes: >That's correct. I was envisioning a proper compiler that would take >OpenCL input and generate binary output, for a particular target, just >as with all other GCC input languages. That target might be a GPU, or >it might be a multi-core CPU, or it might be a single-core CPU

Re: Plugin API Comments

2009-02-03 Thread Sean Callanan
Rather than invent a new quoting syntax, why not just split the arguments up? If each a plugin has a name, you could use that name in subsequent -f arguments. E.g., if the name of the plugin in "plugin.so" is "foo", perhaps: -fplugin=/path/to/plugin.so -ffoo-arg1=value1 -ffoo-arg2=value2 Th

Re: Plugin API Comments

2009-02-03 Thread Tom Tromey
> "Sean" == Sean Callanan writes: >> (3) The -fplugin-arg argument is one way to do arguments. We do it as >> -ftree-plugin=/path/to/plugin.so:arg=value:arg=value:... Benjamin> I'm a little worried about the colon separator. Windows file Benjamin> paths may legally have colons. Is there s

Re: GCC 4.3.3 Released

2009-02-03 Thread rkiesling
> > On an (possibly) off-topic note, it seems that gmp requires GNU ld, but GCC > > needs the native ld. > > Neither is supposed to be true (and I've built GMP with Sun ld and GCC with > GNU ld many times). I didn't take notes, and you wouldn't find my configuration very useful (much symlinking

Re: GCC & OpenCL ?

2009-02-03 Thread Michael Meissner
On Tue, Feb 03, 2009 at 09:40:20AM -0800, Chris Lattner wrote: > > On Feb 3, 2009, at 8:48 AM, Mark Mitchell wrote: > > >Andrey Belevantsev wrote: > > > >>Obviously, a library is not enough for a heterogeneous system, or > >>am I missing anything from your description? As I know, e.g. there >

Re: GCC 4.3.3 Released

2009-02-03 Thread Eric Botcazou
> On an (possibly) off-topic note, it seems that gmp requires GNU ld, but GCC > needs the native ld. Neither is supposed to be true (and I've built GMP with Sun ld and GCC with GNU ld many times). -- Eric Botcazou

Re: GCC 4.3.3 Released

2009-02-03 Thread rkiesling
Dennis Clarke: [ Charset ISO-8859-1 converted... ] > > >> > I'll try sparc64, powerpc64 and ia64 when the machines are available. > >> > >> I can probably help you with the Sparc64 requirement. To be precise, do > >> you need Sun UltraSparc or are you looking for the multicore SPARC64 > >> process

Re: GCC & OpenCL ?

2009-02-03 Thread Joseph S. Myers
On Tue, 3 Feb 2009, Chris Lattner wrote: > On Feb 3, 2009, at 8:48 AM, Mark Mitchell wrote: > > > Andrey Belevantsev wrote: > > > > > Obviously, a library is not enough for a heterogeneous system, or > > > am I missing anything from your description? As I know, e.g. there is > > > no device-ind

Re: GCC & OpenCL ?

2009-02-03 Thread Chris Lattner
On Feb 3, 2009, at 8:48 AM, Mark Mitchell wrote: Andrey Belevantsev wrote: Obviously, a library is not enough for a heterogeneous system, or am I missing anything from your description? As I know, e.g. there is no device-independent bytecode in the OpenCL standard which such a backend cou

Re: GCC 4.3.3 Released

2009-02-03 Thread Eric Botcazou
> I am always a very careful with the 32-bit Sparc build because I often end > up with a 32-bit gcc but the ABI says SPARC V8PLUS or some such. On Solaris. Things are quite different on Linux and other OSes. > # /opt/build/GCC/gcc-4.3.3-build/prev-gcc/xgcc -v > Using built-in specs. > Target: sp

Re: GCC & OpenCL ?

2009-02-03 Thread Mark Mitchell
Andrey Belevantsev wrote: > Obviously, a library is not enough for a heterogeneous system, or > am I missing anything from your description? As I know, e.g. there is > no device-independent bytecode in the OpenCL standard which such a > backend could generate. That's correct. I was envisioning

Re: [AVX]: Update x86-64 psABI for aggregates with __m256

2009-02-03 Thread H.J. Lu
On Sun, Feb 1, 2009 at 11:44 AM, H.J. Lu wrote: > Hi, > > We like to update x86-64 psABI to pass aggregates of 32 bytes with > single __m256 field > in AVX registers, instead of memory. However, finding the proper > wording seems tricky. > Here is what I got. Any comments? > Here is the revised

Re: GCC 4.3.3 Released

2009-02-03 Thread Dennis Clarke
>> > I'll try sparc64, powerpc64 and ia64 when the machines are available. >> >> I can probably help you with the Sparc64 requirement. To be precise, do >> you need Sun UltraSparc or are you looking for the multicore SPARC64 >> processor which is a ( slightly ) different beast? > > Thanks for your

Re: What is the objective of Configure, Make, Make Install?

2009-02-03 Thread Andrew Haley
rkarthi2k5 wrote: > Hi Sir/Mam, Do not post this to the gcc list, which is for the development of gcc. I answered your question on the gcc-help list. Andrew.

What is the objective of Configure, Make, Make Install?

2009-02-03 Thread rkarthi2k5
Hi Sir/Mam, I installed the gcc and other softwares wlth .tar extension. We have to do a step by step procedure while installing the sofware which have .tar extension. 1) First, we have to unzip the file and give ./configure 2) Second, we have to give ma

Re: GCC & OpenCL ?

2009-02-03 Thread Andrey Belevantsev
Hello, We at ISP RAS have plans to work in the near future on generating either CUDA source or PTX from C programs (probably with simple OpenMP directives). Of course, we would benefit from the OpenCL infrastructure in GCC if one was available. Mark Mitchell wrote: We (CodeSourcery) have

Re: GCC 4.3.3 Released

2009-02-03 Thread Laurent GUERBY
On Tue, 2009-02-03 at 10:52 -0500, Dennis Clarke wrote: > > On Sun, 2009-02-01 at 12:15 +0100, Richard Guenther wrote: > >> The GNU Compiler Collection version 4.3.3 has been released. > >> > >> GCC 4.3.3 is a bug-fix release containing fixes for regressions and > >> serious bugs in GCC 4.3.2. Thi

Re: GCC 4.3.3 Released

2009-02-03 Thread Dennis Clarke
> On Sun, 2009-02-01 at 12:15 +0100, Richard Guenther wrote: >> The GNU Compiler Collection version 4.3.3 has been released. >> >> GCC 4.3.3 is a bug-fix release containing fixes for regressions and >> serious bugs in GCC 4.3.2. This release is available from the >> FTP servers listed at: >> >>

geode optimizations

2009-02-03 Thread Carl
Hi, Im sorry that this is not 100% specific to gcc, however this mailing list is the last place where I think this knowledge may lie. I have written some image processing routines in assembly language making extensive use of MMX, and now I want to start optimizing it, however I cant for the life of

Re: GCC 4.3.3 Released

2009-02-03 Thread Laurent GUERBY
On Sun, 2009-02-01 at 12:15 +0100, Richard Guenther wrote: > The GNU Compiler Collection version 4.3.3 has been released. > > GCC 4.3.3 is a bug-fix release containing fixes for regressions and > serious bugs in GCC 4.3.2. This release is available from the > FTP servers listed at: > > http://

Re: gcc 4.5 ... && 32 build on 64

2009-02-03 Thread Ian Lance Taylor
"Brian O'Mahoney" writes: > Two quick questions: This message might have been better sent to gcc-h...@gcc.gnu.org. Please consider taking any followups there. Thanks. > (1) Is the feature roadmap for 4.5, 4.6 ... published anywhere No. We're not that formal. Likely major features are LTO,

Re: help needed on gcc instruction scheduling with unspec_volatile()

2009-02-03 Thread Ian Lance Taylor
raja.sal...@iap-online.com writes: >>> Is there a way to make the instruction has to allocate to run without >>> using the scheduler for particular instruction ? >> >> I don't understand the question. > > The target we are using supports parallel instruction execution, Max 7. > For one cycle, one