Commit 66ab13c1 authored by Mael Cravero's avatar Mael Cravero
Browse files

tc_7: update for 2023 and tree rework

parent 9dbd7b6c
......@@ -8,9 +8,8 @@ TC-7 Code to Write
SPIM manual.
Codegen
Complete in :file:`src/target/mips/call.brg` and
:file:`src/target/mips/move.brg` some grammar rules
of the code generator produced by MonoBURG.
:file:`src/target/mips/mips-matcher.cc` is the functor used for instruction
selection pattern-matching.
src/target/mips/spim-assembly.cc
:code:`SpimAssembly::move_build` builds a move instruction using MIPS
......
......@@ -17,7 +17,7 @@ Memory hierarchy/management at runtime
variables.
Tree matching, rewriting
Writing/debugging a code generator with MonoBURG.
Perform instruction selection using pattern-matching.
Use of :code:`ios::xalloc`
:code:`Instr` are contained in :code:`Instrs`, itself in :code:`Fragment`,
......
......@@ -7,7 +7,7 @@ TC-7, Instruction Selection
|class|-TC-7 submission is Saturday, May 29th |year| at 23:42.
This section has been updated for EPITA- |class| on 2016-01-27.
This section has been updated for EPITA-2023 on 2021-05-07.
At the end of this stage, the compiler produces the very low level
intermediate representation: ASSEM. This language is basically
......@@ -15,7 +15,8 @@ the target assembly, enhanced with arbitrarily many registers
(:code:`$x666`). This output is obviously target dependent: we aim at
MIPS, as we use Nolimips to run it.
Relevant lecture notes include :lectures:`08-instruction-selection.pdf`.
Relevant lecture notes include :lectures:`45-microprocessors.pdf`,
:lectures:`46-mips-overview.pdf`, :lectures:`47-instruction-selection.pdf`.
.. **TC-7 Goals**: What this stage teaches
..
......
......@@ -16,9 +16,8 @@ TC-X Code to Write
recommended reading.
Codegen
Complete in :file:`src/target/ia32/call.brg` and
:file:`src/target/ia32/move.brg` some grammar rules
of the code generator produced by MonoBURG.
:file:`src/target/ia32/gas-matcher.cc` is the functor used for instruction
selection pattern-matching.
src/target/ia32/gas-assembly.cc
:code:`GasAssembly::cjump_build` translates conditional branch instructions
......
......@@ -5,7 +5,7 @@ TC-X, IA-32 Back End
TC-X is an additional assignment.
This section has been updated for EPITA- |class| on 2013-07-19.
This section has been updated for EPITA-2023 on 2021-05-07.
At the end of this stage, the compiler produces IA-32 code
(possibly with infinite registers). Basically, this stage is :ref:`TC-7`
......
......@@ -10,9 +10,8 @@ TC-Y Code to Write
`ARM Architecture Reference Manual`_.
Codegen
Complete in :file:`src/target/arm/call.brg` and
:file:`src/target/arm/move.brg` some grammar rules
of the code generator produced by MonoBURG.
:file:`src/target/arm/arm-matcher.cc` is the functor used for instruction
selection pattern-matching.
src/target/arm/arm-assembly.cc
:code:`ArmAssembly::cjump_build` translates conditional branch instructions
......
......@@ -5,7 +5,7 @@ TC-Y, ARM Back End
TC-Y is an additional assignment.
This section has been updated for EPITA- |class| on |year|-10-28.
This section has been updated for EPITA-2023 on 2021-07-05.
At the end of this stage, the compiler produces ARM code
(possibly with infinite registers). Basically, this stage is :ref:`TC-7`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment