GCC Internals
- the internals of the GNU compilers
- Using and Porting the GNU Compiler Collection (GCC)
- Workshop on GCC Internals - Downloads
- Porting GCC Compiler Part I : How GCC works?
- GCC Internals: A Conceptual View Part I, Part II
- Workshop on GCC Internals
- From Source to Binary: The Inner Workings of GCC
- AST(Abstract Syntax Tree)
- the format of the generated ASTs is slightly different for each language
- Tree IL(Intermediate Language)
- provide a language-independent way of representing an entire function in trees
- <gcc src>/gcc/tree.def
- RTL(Register Transfer Language)
- RTL is a hardware-based representation that corresponds to an abstract target architecture with an infinite number of registers.
- insn-flag.h
- insn-codes.h
- inst-emit.c
- Machine/Target Description
- <gcc_src>/gcc/config/machine
-
- machine.md(machine description)
- RTL Patterns(patterns for generating RTL instructions from the parse tree)
- Assembler mnemonic
- machine.h(target description macros)
- endian
- ABI
- Calling Convention
- Register Usage
- machine.c(user-defined functions used in machine.md & machine.h)
- machine.md(machine description)
-
page revision: 16, last edited: 29 Jan 2010 09:23