mips: _rule_load(): directly concatenate bytes for byte loads with shift 1
authorGuillaume Emont <guijemont@igalia.com>
Wed, 12 Dec 2012 11:08:24 +0000 (12:08 +0100)
committerGuillaume Emont <guijemont@igalia.com>
Fri, 28 Dec 2012 14:23:38 +0000 (15:23 +0100)
orc/orcrules-mips.c

index f8c7d86..f9e13cd 100644 (file)
@@ -32,7 +32,7 @@ mips_rule_load (OrcCompiler *compiler, void *user, OrcInstruction *insn)
   case 1:
     orc_mips_emit_lbu (compiler, ORC_MIPS_T3, src, 0);
     orc_mips_emit_lbu (compiler, dest, src, 1);
-    orc_mips_emit_append (compiler, dest, ORC_MIPS_T3, 16);
+    orc_mips_emit_append (compiler, dest, ORC_MIPS_T3, 8);
     break;
   case 2:
     if (is_aligned) {