13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>2. The scanner phase:The scanner converts the preprocessor output to a stream of tokens.3. The parser phase:The tokens are fed to a parser <strong>for</strong> the C grammar. The parser per<strong>for</strong>ms a syntactic and semanticanalysis of the program, and generates an intermediate representation of the program. This code iscalled MIL (Medium level Intermediate Language).4. The frontend optimization phase:Target processor independent optimizations are per<strong>for</strong>med by trans<strong>for</strong>ming the intermediate code.Backend phases1. Instruction selector phase:This phase reads the MIL input and translates it into Low level Intermediate Language (LIL). The LILobjects correspond to a processor instruction, with an opcode, operands and in<strong>for</strong>mation used withinthe C compiler.2. Peephole optimizer/instruction scheduler/software pipelining phase:This phase replaces instruction sequences by equivalent but faster and/or shorter sequences, rearrangesinstructions and deletes unnecessary instructions.3. Register allocator phase:This phase chooses a physical register to use <strong>for</strong> each virtual register.4. The backend optimization phase:Per<strong>for</strong>ms target processor independent and dependent optimizations which operate on the Low levelIntermediate Language.5. The code generation/<strong>for</strong>matter phase:This phase reads through the LIL operations to generate assembly language output.4.2. Calling the C CompilerThe <strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> under Eclipse can use the internal builder (default) or the <strong>TASKING</strong>makefile generator (external builder) to build your entire project. After you have built your project, theoutput files are available in a subdirectory of your project directory, depending on the active configurationyou have set in the C/C++ Build » Settings page of the Project » Properties <strong>for</strong> dialog.Building a project under EclipseYou have several ways of building your project:148

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!