From bddb65b6cc795a49a77b822e29c5450174c3c662 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 14 Aug 2010 18:12:39 -0700 Subject: [PATCH] opcodes: fix emulation of ldres* opcodes --- orc/orcopcodes.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/orc/orcopcodes.c b/orc/orcopcodes.c index 390d844..dd9e766 100644 --- a/orc/orcopcodes.c +++ b/orc/orcopcodes.c @@ -301,10 +301,10 @@ static OrcStaticOpcode opcodes[] = { { "loadupdb", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_ITERATOR, { 1 }, { 1 }, emulate_loadupdb }, { "loadupib", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_ITERATOR, { 1 }, { 1 }, emulate_loadupib }, { "loadpb", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_SCALAR|ORC_STATIC_OPCODE_INVARIANT, { 1 }, { 1 }, emulate_loadpb }, - { "ldresnearb", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_SCALAR, { 1 }, { 1, 4, 4 }, emulate_null }, - { "ldresnearl", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_SCALAR, { 4 }, { 4, 4, 4 }, emulate_null }, - { "ldreslinb", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_SCALAR, { 1 }, { 1, 4, 4 }, emulate_null }, - { "ldreslinl", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_SCALAR, { 4 }, { 4, 4, 4 }, emulate_null }, + { "ldresnearb", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_SCALAR, { 1 }, { 1, 4, 4 }, emulate_ldresnearb }, + { "ldresnearl", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_SCALAR, { 4 }, { 4, 4, 4 }, emulate_ldresnearl }, + { "ldreslinb", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_SCALAR, { 1 }, { 1, 4, 4 }, emulate_ldreslinb }, + { "ldreslinl", ORC_STATIC_OPCODE_LOAD|ORC_STATIC_OPCODE_SCALAR, { 4 }, { 4, 4, 4 }, emulate_ldreslinl }, { "maxsb", 0, { 1 }, { 1, 1 }, emulate_maxsb }, { "maxub", 0, { 1 }, { 1, 1 }, emulate_maxub }, { "minsb", 0, { 1 }, { 1, 1 }, emulate_minsb }, -- 2.7.4