mips: mark t3->t5 as unavailable
authorGuillaume Emont <guijemont@igalia.com>
Tue, 11 Dec 2012 13:36:19 +0000 (14:36 +0100)
committerGuillaume Emont <guijemont@igalia.com>
Fri, 28 Dec 2012 14:23:38 +0000 (15:23 +0100)
orc/orcprogram-mips.c

index f051b09..73d09da 100644 (file)
@@ -87,6 +87,9 @@ orc_compiler_orc_mips_init (OrcCompiler *compiler)
   compiler->valid_regs[ORC_MIPS_T0] = 0; /* $t0, $t1 and $t2 are used as loop */
   compiler->valid_regs[ORC_MIPS_T1] = 0; /* counters */
   compiler->valid_regs[ORC_MIPS_T2] = 0;
+  compiler->valid_regs[ORC_MIPS_T3] = 0;
+  compiler->valid_regs[ORC_MIPS_T4] = 0;
+  compiler->valid_regs[ORC_MIPS_T5] = 0;
   compiler->valid_regs[ORC_MIPS_K0] = 0; /* for kernel/interupts */
   compiler->valid_regs[ORC_MIPS_K1] = 0; /* for kernel/interupts */
   compiler->valid_regs[ORC_MIPS_GP] = 0; /* global pointer */