Patchwork [031/111] m68k: add single data type to gen_ea

login
register
mail settings
Submitter Bryce Lanham
Date Aug. 17, 2011, 8:46 p.m.
Message ID <1313614076-28878-32-git-send-email-blanham@gmail.com>
Download mbox | patch
Permalink /patch/110447/
State New
Headers show

Comments

Bryce Lanham - Aug. 17, 2011, 8:46 p.m.
From: Laurent Vivier <laurent@vivier.eu>

This patch allows to have instructions like "fcmps #0.1,%fp1".

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 target-m68k/translate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 3917243..38be7ab 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -696,6 +696,7 @@  static TCGv gen_ea(DisasContext *s, uint16_t insn, int opsize, TCGv val,
                 s->pc += 2;
                 break;
             case OS_LONG:
+            case OS_SINGLE:
                 offset = read_im32(s);
                 break;
             default: