]> git.proxmox.com Git - qemu.git/commitdiff
SPARC64: Add JPS1 ASI_BLK_AIU[PS]L ASIs for ldfa and stfa
authorTsuneo Saito <tsnsaito@gmail.com>
Thu, 14 Jul 2011 09:41:42 +0000 (18:41 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 14 Jul 2011 15:36:44 +0000 (15:36 +0000)
Support JPS1 little endian block transfer ASIs.

Signed-off-by: Tsuneo Saito <tsnsaito@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/op_helper.c

index 4faa7094a54c54b6daee1568c31609c8faf40b1d..2a28d5f43c7c07245f082e22035e7f01958e0ea1 100644 (file)
@@ -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;