From patchwork Thu Jul 14 09:41:42 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v2,7/8] SPARC64: Add JPS1 ASI_BLK_AIU[PS]L ASIs for ldfa and stfa Date: Wed, 13 Jul 2011 23:41:42 -0000 From: Tsuneo Saito X-Patchwork-Id: 104651 Message-Id: <1310636503-8956-8-git-send-email-tsnsaito@gmail.com> To: qemu-devel@nongnu.org Cc: Tsuneo Saito Support JPS1 little endian block transfer ASIs. Signed-off-by: Tsuneo Saito --- target-sparc/op_helper.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index 4faa709..2a28d5f 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -3359,6 +3359,8 @@ void helper_ldf_asi(target_ulong addr, int asi, int size, int rd) case 0x1f: /* UA2007 Block load secondary LE, user privilege */ case 0x70: // Block load primary, user privilege case 0x71: // Block load secondary, user privilege + case 0x78: /* JPS1 Block load primary LE, user privilege */ + case 0x79: /* JPS1 Block load secondary LE, user privilege */ if (rd & 7) { raise_exception(TT_ILL_INSN); return; @@ -3430,6 +3432,8 @@ void helper_stf_asi(target_ulong addr, int asi, int size, int rd) case 0x1f: /* UA2007 Block load secondary LE, user privilege */ case 0x70: // Block store primary, user privilege case 0x71: // Block store secondary, user privilege + case 0x78: /* JPS1 Block load primary LE, user privilege */ + case 0x79: /* JPS1 Block load secondary LE, user privilege */ if (rd & 7) { raise_exception(TT_ILL_INSN); return;