From 4661821f9c8d30dfb576a672b23ec3468748f85e Mon Sep 17 00:00:00 2001 From: Guillaume Emont Date: Wed, 12 Dec 2012 17:09:47 +0100 Subject: [PATCH] mips: load: use lbu instead of lb --- orc/orcrules-mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orc/orcrules-mips.c b/orc/orcrules-mips.c index 58e68b0..d490112 100644 --- a/orc/orcrules-mips.c +++ b/orc/orcrules-mips.c @@ -27,7 +27,7 @@ mips_rule_load (OrcCompiler *compiler, void *user, OrcInstruction *insn) /* FIXME: Check alignment. We are assuming data is aligned here */ switch (total_shift) { case 0: - orc_mips_emit_lb (compiler, dest, src, 0); + orc_mips_emit_lbu (compiler, dest, src, 0); break; case 1: orc_mips_emit_lbu (compiler, ORC_MIPS_T3, src, 0); -- 2.7.4