From 5efacfa097d75f5fcd0672f8b98a1bcc36e4ccbb Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 11 Apr 2017 17:35:59 -0700 Subject: [PATCH] ARM9: Add SMLA to the emitter table --- include/mgba/internal/arm/emitter-arm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mgba/internal/arm/emitter-arm.h b/include/mgba/internal/arm/emitter-arm.h index 1ff44abd3..9f437fe68 100644 --- a/include/mgba/internal/arm/emitter-arm.h +++ b/include/mgba/internal/arm/emitter-arm.h @@ -160,13 +160,13 @@ /* -14---5- */ DECLARE_INSTRUCTION_ARM(EMITTER, ILL), \ /* -14---6- */ DECLARE_INSTRUCTION_ARM(EMITTER, ILL), \ /* -14---7- */ DECLARE_INSTRUCTION_ARM(EMITTER, ILL), \ - /* -14---8- */ DECLARE_INSTRUCTION_ARM(EMITTER, ILL), \ + /* -14---8- */ MIN_V(DECLARE_INSTRUCTION_ARM(EMITTER, SMLABB), DECLARE_INSTRUCTION_ARM(EMITTER, ILL), V >= 5), \ /* -14---9- */ DECLARE_INSTRUCTION_ARM(EMITTER, SWPB), \ - /* -14---A- */ DECLARE_INSTRUCTION_ARM(EMITTER, ILL), \ + /* -14---A- */ MIN_V(DECLARE_INSTRUCTION_ARM(EMITTER, SMLATB), DECLARE_INSTRUCTION_ARM(EMITTER, ILL), V >= 5), \ /* -14---B- */ DECLARE_INSTRUCTION_ARM(EMITTER, STRHIP), \ - /* -14---C- */ DECLARE_INSTRUCTION_ARM(EMITTER, ILL), \ + /* -14---C- */ MIN_V(DECLARE_INSTRUCTION_ARM(EMITTER, SMLABT), DECLARE_INSTRUCTION_ARM(EMITTER, ILL), V >= 5), \ /* -14---D- */ DECLARE_INSTRUCTION_ARM(EMITTER, ILL), \ - /* -14---E- */ DECLARE_INSTRUCTION_ARM(EMITTER, ILL), \ + /* -14---E- */ MIN_V(DECLARE_INSTRUCTION_ARM(EMITTER, SMLATT), DECLARE_INSTRUCTION_ARM(EMITTER, ILL), V >= 5), \ /* -14---F- */ DECLARE_INSTRUCTION_ARM(EMITTER, ILL), \ /* -15---X- */ DECLARE_ARM_ALU_BLOCK(EMITTER, CMP, ILL, LDRHIP, LDRSBIP, LDRSHIP), \ /* -16---0- */ DECLARE_INSTRUCTION_ARM(EMITTER, MSRR), \