]> git.proxmox.com Git - qemu.git/commitdiff
s390x: implement lrvgr
authorAlexander Graf <agraf@suse.de>
Mon, 30 May 2011 10:09:12 +0000 (12:09 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 3 Jun 2011 11:34:02 +0000 (13:34 +0200)
The LRVGR instruction was missing. Implement it, so everyone's happy.

Reported-by: Balazs Kutil <bkutil@novell.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/translate.c

index afeb5e6fd79773f1880db8948feb5320a253fa6f..eda4624d110b29358a513070b245d9db08c7f1f4 100644 (file)
@@ -3473,6 +3473,9 @@ static void disas_b9(DisasContext *s, int op, int r1, int r2)
         tcg_temp_free_i64(tmp2);
         tcg_temp_free_i64(tmp3);
         break;
+    case 0x0f: /* LRVGR    R1,R2     [RRE] */
+        tcg_gen_bswap64_i64(regs[r1], regs[r2]);
+        break;
     case 0x1f: /* LRVR     R1,R2     [RRE] */
         tmp32_1 = load_reg32(r2);
         tcg_gen_bswap32_i32(tmp32_1, tmp32_1);