diff options
author | Alexander Graf <agraf@suse.de> | 2011-07-14 11:44:11 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-11-14 17:47:26 +0100 |
commit | 27b5979d9d5dbc5f2ef21a96481f766bf3959b57 (patch) | |
tree | 1614ba5c7063cf21c43ecf9f1c993256a7a5c686 /target-s390x/translate.c | |
parent | a3efecb847dd89886f7cd3f71661b2d79ec68072 (diff) | |
download | qemu-27b5979d9d5dbc5f2ef21a96481f766bf3959b57.tar.gz qemu-27b5979d9d5dbc5f2ef21a96481f766bf3959b57.tar.bz2 qemu-27b5979d9d5dbc5f2ef21a96481f766bf3959b57.zip |
s390x: add ldeb instruction
While running perl, we encountered the ldeb instruction to be used,
so we implement it :).
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/translate.c')
-rw-r--r-- | target-s390x/translate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c index 6a22fded57..ee15672185 100644 --- a/target-s390x/translate.c +++ b/target-s390x/translate.c @@ -2214,6 +2214,10 @@ static void disas_ed(DisasContext *s, int op, int r1, int x2, int b2, int d2, addr = get_address(s, x2, b2, d2); tmp_r1 = tcg_const_i32(r1); switch (op) { + case 0x4: /* LDEB R1,D2(X2,B2) [RXE] */ + potential_page_fault(s); + gen_helper_ldeb(tmp_r1, addr); + break; case 0x5: /* LXDB R1,D2(X2,B2) [RXE] */ potential_page_fault(s); gen_helper_lxdb(tmp_r1, addr); |