Partial rewrite of mips assembly templates for TileGX.

  the approach for helloworld is, we first make sure the whole backend pass build,
then revise assembly template for each opcode.

  this approach should be faster than incremental approach which add template
one by one. because we can reuse many code from MIPS.