Fix bug in Sparc32 sta op (Robert Reif)
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 14 Oct 2007 20:27:00 +0000 (20:27 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 14 Oct 2007 20:27:00 +0000 (20:27 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3399 c046a42c-6fe2-441c-8c8c-71466251a162

target-sparc/op_helper.c

index 28c18b4036322bff895306be933cf01cfeeceff3..da4c18d2d010dc2b67a4126b71791f12ab9b28aa 100644 (file)
@@ -618,7 +618,7 @@ void helper_st_asi(int asi, int size)
                 stl_phys((target_phys_addr_t)(T0 & ~3)
                            | ((target_phys_addr_t)(asi & 0xf) << 32), T1);
                 stl_phys((target_phys_addr_t)((T0 + 4) & ~3)
-                           | ((target_phys_addr_t)(asi & 0xf) << 32), T1);
+                           | ((target_phys_addr_t)(asi & 0xf) << 32), T2);
                 break;
             }
         }