GDC
Is there any plan to merge GDC with GCC? I know that GDC package available separately, but I think it would be much better to get in at one box. Now for adding support D language needed to rebuild all GCC with GDC. P.S. I talk about D language -- С уважением, Rohan mailto:[EMAIL PROTECTED]
How to use gcc source and try new optmization techniques
Hi, I am a student in Utah State University researching on compilers optimization techniques. I wanted to know how I could use gcc for experimenting with optimization. Here is what I intend to do: 1) Understand the control flow graphs being generated by GCC, which I could build using the -fdump-tree-cfg option. 2) Write code that could convert CFG to a different graph. 3) Use this new graph for optimization. 4) Use the optimized graph to generate machine code (say Intel architecture for now). Please let me know how I could leverage the GCC code for this purpose, and if you any suggestions/comments for me you are most welcome ! :) Thanks, Rohan
Re: How to use gcc source and try new optmization techniques
Matt and Pranav, That's right. I wanted to understand the CFG and optimization inside gcc. >From what I see I will have to get a grip on the GCC architecture before I can >start experimentation. That would include basic blocks, CFG, and other loop optmization code in there. Thanks, Rohan - Original Message From: Matthew <[EMAIL PROTECTED]> To: Rohan Sreeram <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2008 10:30:07 PM Subject: Re: How to use gcc source and try new optmization techniques I'm in a similar position, but some pointers. > 1) Understand the control flow graphs being generated by GCC, which I could > build using the -fdump-tree-cfg option. Look very closely at the basic blocks and the loop optimizers. basic-block.h, cfg*.[h|c] - in the basic blocks, the fields "succs" and "preds" will be of large importance to you. As near as I can tell the CFG is built as part of the basic blocks themselves. > 2) Write code that could convert CFG to a different graph. > 3) Use this new graph for optimization. > 4) Use the optimized graph to generate machine code (say Intel architecture > for now). So long as your transformation can be expressed in GCC's IR, then code gen should be taken care of by back ends. Of course, bad transform means bad code. > > Please let me know how I could leverage the GCC code for this purpose, and if > you any suggestions/comments for me you are most welcome ! :) > > Thanks, > Rohan The GCC internals documents will be important, however they are not perfect (especially if you choose to develop on the trunk). The GCC wiki in certain areas is far stronger than the internals document, however in others is far weaker. The GCC IRC channel on oftc.net is helpful for very specific questions, and is good to get a feel for the community. I'd be really interested in hearing your experience with GCC after you've worked in it for a while, seeing how it matches up with my own. -- Matt G.
Re: How to use gcc source and try new optmization techniques
Thanks Seema. The data flow analysis plugin is really interesting work. I will take a look at the links given by you. Rohan. - Original Message From: Seema Ravandale <[EMAIL PROTECTED]> To: Rohan Sreeram <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Sent: Wednesday, August 20, 2008 11:35:10 PM Subject: Re: How to use gcc source and try new optmization techniques Hi Rohan, I have already worked on cfg data structure, plugin "data flow pass" on cfg. For this purpose, following links would be useful. http://www.cse.iitb.ac.in/~uday/gcc-workshop/?file=downloads more info can be available at http://www.cse.iitb.ac.in/grc/ - Seema On Thu, Aug 21, 2008 at 6:51 AM, Pranav Bhandarkar <[EMAIL PROTECTED]> wrote: > > Hi, > > I may not have correctly understood your questions but from what I > understand I think you mean to ask how you could easily plug in your > optimization pass into GCC so as to test your implementation of some > optimization. > > Well, the way to do that would be to understand the pass structure and > decide where in the order of passes should your pass be inserted i.e > after which and before which other pass should your optimization pass > fit in. Look at passes.c to see how the order of passes is specified. > > Once you have told the compiler when to execute your pass (primarily > through passes.c) and provided your optimization has been correctly > implemented in the context of GCC you should be good to go. > > HTH, > Pranav > > On Wed, Aug 20, 2008 at 7:45 PM, Rohan Sreeram <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am a student in Utah State University researching on compilers > > optimization techniques. > > I wanted to know how I could use gcc for experimenting with optimization. > > > > Here is what I intend to do: > > > > 1) Understand the control flow graphs being generated by GCC, which I could > > build using the -fdump-tree-cfg option. > > 2) Write code that could convert CFG to a different graph. > > 3) Use this new graph for optimization. > > 4) Use the optimized graph to generate machine code (say Intel architecture > > for now). > > > > Please let me know how I could leverage the GCC code for this purpose, and > > if you any suggestions/comments for me you are most welcome ! :) > > > > Thanks, > > Rohan > > > > > > > > > >
Re: How to use gcc source and try new optmization techniques
Thanks Manuel. I plan to study GCC internals and acquaint myself with the different optimization techniques. As Matt mentioned I would need to use material from both the wiki and internals for this. Rohan - Original Message From: Manuel López-Ibáñez <[EMAIL PROTECTED]> To: Seema Ravandale <[EMAIL PROTECTED]> Cc: Rohan Sreeram <[EMAIL PROTECTED]>; [EMAIL PROTECTED] Sent: Thursday, August 21, 2008 4:17:12 AM Subject: Re: How to use gcc source and try new optmization techniques Rohan, Welcome to GCC and I hope you achieve what you want. I would recommend you check our wiki: http://gcc.gnu.org/wiki which has some very useful links: http://gcc.gnu.org/wiki/GettingStarted It is a wiki, so feel free to correct mistakes, improve stuff and add links. If you want to create a page for your project, please do so. Seema, I see a link to the workshop but not a link to the GCC resource center you linked. Would you like adding one under "Tutorials, HOWTOs". Cheers, Manuel. 2008/8/21 Seema Ravandale <[EMAIL PROTECTED]>: > Hi Rohan, > > I have already worked on cfg data structure, plugin "data flow pass" on cfg. > For this purpose, following links would be useful. > > http://www.cse.iitb.ac.in/~uday/gcc-workshop/?file=downloads > > more info can be available at > > http://www.cse.iitb.ac.in/grc/ > > - Seema > > On Thu, Aug 21, 2008 at 6:51 AM, Pranav Bhandarkar > <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I may not have correctly understood your questions but from what I >> understand I think you mean to ask how you could easily plug in your >> optimization pass into GCC so as to test your implementation of some >> optimization. >> >> Well, the way to do that would be to understand the pass structure and >> decide where in the order of passes should your pass be inserted i.e >> after which and before which other pass should your optimization pass >> fit in. Look at passes.c to see how the order of passes is specified. >> >> Once you have told the compiler when to execute your pass (primarily >> through passes.c) and provided your optimization has been correctly >> implemented in the context of GCC you should be good to go. >> >> HTH, >> Pranav >> >> On Wed, Aug 20, 2008 at 7:45 PM, Rohan Sreeram <[EMAIL PROTECTED]> wrote: >> > Hi, >> > >> > I am a student in Utah State University researching on compilers >> > optimization techniques. >> > I wanted to know how I could use gcc for experimenting with optimization. >> > >> > Here is what I intend to do: >> > >> > 1) Understand the control flow graphs being generated by GCC, which I >> > could build using the -fdump-tree-cfg option. >> > 2) Write code that could convert CFG to a different graph. >> > 3) Use this new graph for optimization. >> > 4) Use the optimized graph to generate machine code (say Intel >> > architecture for now). >> > >> > Please let me know how I could leverage the GCC code for this purpose, and >> > if you any suggestions/comments for me you are most welcome ! :) >> > >> > Thanks, >> > Rohan >> > >> > >> > >> > >> > >
Beryllium Copper for Plastic Moulds, Components
Hello, We offer HIGH THERMALLY CONDUCTIVE PLASTIC MOULD INSERT MATERIALS like COPPER TITANIUM, BERYLLIUM COPPER in form of Plates, Rods, Bars, Wires, Strips. Beryllium Copper Strips, In standard Width of 200 to 300 mm, we can offer the following Thickness in mm: 0.05, 0.08, 0.10, 0.12, 0.15, 0.20, 0.23, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 1.0, 1.2, 1.4, 1.6, 3.0 mm sizes are available. Beryllium Copper Rods, C17200, ALLOY 25, CuBe2, B 194 / B 196 Dia 1 mm to 300 mm, as per your length Beryllium Copper Plates, C17200, ALLOY 25, CuBe2, B 194 / B 196 1 mm to 300 mm plates, as per your size Beryllium Copper Wires, C17200, ALLOY 25, CuBe2, B 194 / B 196 Dia 0.2, 0.4, 0.6, 0.8, 1.0 mm and more Beryllium Copper Pipe, C17200, ALLOY 25, CuBe2, B 194 / B 196 ID 7 mm / OD 10 mm ID 50 mm / OD 89 mm ID 32 mm / OD 58 mm We also offer other grades for COPPER CHROMIUM -ZIRCONIUM, C18150COPPER CHROMIUM, C18200COPPER NICKEL BERYLLIUM, C17510, C17500Pure Copper & Copper Alloys With Best Regards, Mr Rohan Kamble, 8928403617, b...@domadia.com; Ms Pragati, 8928403611, sa...@domadia.com Mr Kairav Pankaj Domadia +919594066275, bery...@gmail.com; DALI ELECTRONICS 8a, Haroon Building, First Floor,190 Shamaldas Gandhi Marg, Princess Street,Mumbai 42, Mh., India. www.DOMADIA.net https://www.domadia.net/beryllium-copper-manufacturer-india/
Beryllium Copper for Plastic Moulds, Components
Hello, We offer HIGH THERMALLY CONDUCTIVE PLASTIC MOULD INSERT MATERIALS like COPPER TITANIUM, BERYLLIUM COPPER in form of Plates, Rods, Bars, Wires, Strips. Beryllium Copper Strips, In standard Width of 200 to 300 mm, we can offer the following Thickness in mm: 0.05, 0.08, 0.10, 0.12, 0.15, 0.20, 0.23, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 1.0, 1.2, 1.4, 1.6, 3.0 mm sizes are available. Beryllium Copper Rods, C17200, ALLOY 25, CuBe2, B 194 / B 196 Dia 1 mm to 300 mm, as per your length Beryllium Copper Plates, C17200, ALLOY 25, CuBe2, B 194 / B 196 1 mm to 300 mm plates, as per your size Beryllium Copper Wires, C17200, ALLOY 25, CuBe2, B 194 / B 196 Dia 0.2, 0.4, 0.6, 0.8, 1.0 mm and more Beryllium Copper Pipe, C17200, ALLOY 25, CuBe2, B 194 / B 196 ID 7 mm / OD 10 mm ID 50 mm / OD 89 mm ID 32 mm / OD 58 mm We also offer other grades for COPPER CHROMIUM -ZIRCONIUM, C18150COPPER CHROMIUM, C18200COPPER NICKEL BERYLLIUM, C17510, C17500Pure Copper & Copper Alloys With Best Regards, Mr Rohan Kamble, 8928403617, b...@domadia.com; Ms Pragati, 8928403611, sa...@domadia.com Mr Kairav Pankaj Domadia +919594066275, bery...@gmail.com; DALI ELECTRONICS 8a, Haroon Building, First Floor,190 Shamaldas Gandhi Marg, Princess Street,Mumbai 42, Mh., India. www.DOMADIA.net https://www.domadia.net/beryllium-copper-manufacturer-india/