Question about register allocation (GCC 4.1)

2007-02-16 Thread Thomas Bernard
Hello all, I have a question about retargeting the back-end of GCC 4.1. Our targeted architecture uses four classes of registers: global ($RG), locals ($RL), dependents ($RD), shareds ($RS). In total 31 hard registers available for the all previous classes. The amount of each register is only k

Question about source-to-source compilation

2007-02-21 Thread Thomas Bernard
Hello all, As far as I know, GCC 4.x is easily retargetable for a new architecture. I would be interested by source-to-source compilation with the GCC framework. For instance, let's say the input language is C and the output language is C annotated with pragmas which are the results of some c

GCC Compiler

2005-05-31 Thread Thomas Bernard
Dear Sir, My name is Thomas Bernard. I am working as a Master Student for the UvA (Universitat Van Amsterdam) in the section of Computers Systems Architecture of the Informatics Institute. I am doing a study about compilers. I have to monitor many existing compilers and benchmark them

C front-end - GCC 4.1

2006-05-16 Thread Thomas Bernard
Hello , I am currently extending the existing C front-end of GCC 4.1. Basically, I add new keywords into the set of the C language. I have already done a big part of the lexical and syntax analysis of each new keywords. I work on the files "c-common.h", "c-parser.c", "c-tree.h", "c-decl.c",

Extending RTL expansion and CG with a new operation

2007-06-22 Thread Thomas Bernard
Hello I am extending the backend of GCC 4.1 with a new operation which maps directly from a keyword in the language. So far I extended the frontend and middleend in order to handle this new keyword. I managed to generate the GIMPLE form and a valid CFG and a RTL object for this keyword. Basic