aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/op_helper.c
diff options
context:
space:
mode:
authorTsuneo Saito <tsnsaito@gmail.com>2011-07-14 18:41:42 +0900
committerBlue Swirl <blauwirbel@gmail.com>2011-07-14 15:36:44 +0000
commitd920bde9235f718f62e73f06be1922b36913f800 (patch)
tree5628c20fb46f5d48c2547dc483c196d9cd2d973f /target-sparc/op_helper.c
parent073a0444104767cce1668799476eb882f8badf59 (diff)
downloadqemu-d920bde9235f718f62e73f06be1922b36913f800.zip
qemu-d920bde9235f718f62e73f06be1922b36913f800.tar.gz
qemu-d920bde9235f718f62e73f06be1922b36913f800.tar.bz2
SPARC64: Add JPS1 ASI_BLK_AIU[PS]L ASIs for ldfa and stfa
Support JPS1 little endian block transfer ASIs. Signed-off-by: Tsuneo Saito <tsnsaito@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/op_helper.c')
-rw-r--r--target-sparc/op_helper.c4
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;