T2 = tmp;
}
+void OPPROTO glue(op_lduw, MEMSUFFIX)(void)
+{
+ T1 = (uint64_t)(glue(ldl, MEMSUFFIX)(T0) & 0xffffffff);
+}
+
void OPPROTO glue(op_ldsw, MEMSUFFIX)(void)
{
T1 = (int64_t)(glue(ldl, MEMSUFFIX)(T0) & 0xffffffff);
OP_LD_TABLE(lddf);
#ifdef TARGET_SPARC64
+OP_LD_TABLE(lduw);
OP_LD_TABLE(ldsw);
OP_LD_TABLE(ldx);
OP_LD_TABLE(stx);
(xop > 0x2c && xop <= 0x33) || xop == 0x1f || xop == 0x3d) {
switch (xop) {
case 0x0: /* load word */
+#ifndef TARGET_SPARC64
gen_op_ldst(ld);
+#else
+ gen_op_ldst(lduw);
+#endif
break;
case 0x1: /* load unsigned byte */
gen_op_ldst(ldub);
goto illegal_insn;
if (!supervisor(dc))
goto priv_insn;
-#endif
gen_op_lda(insn, 1, 4, 0);
+#else
+ gen_op_lduwa(insn, 1, 4, 0);
+#endif
break;
case 0x11: /* load unsigned byte alternate */
#ifndef TARGET_SPARC64
(void) &gen_op_ldfa;
(void) &gen_op_lddfa;
#else
+ (void) &gen_op_lda;
#if !defined(CONFIG_USER_ONLY)
(void) &gen_op_cas;
(void) &gen_op_casx;