TC-Y Code to Write

Tip

Information on ARM assembly instructions may be found in the ARM Architecture Reference Manual.

Codegen

src/target/arm/arm-matcher.cc is the functor used for instruction selection pattern-matching.

src/target/arm/arm-assembly.cc

ArmAssembly::cjump_build translates conditional branch instructions (branch if equal, if lower than, etc.) into ARM assembly.

Runtime

You have to complete the implementation of the runtime in src/target/arm/runtime.s:

strcmp
streq
src/target/arm/arm-codegen.cc

Completing the Codegen::rewrite_program routine will be needed during register allocation only, see TC-9, Register Allocation.