target: e2k: Add %cr1.{lo,hi} to rr{s,d}/rw{s,d}.

This commit is contained in:
Denis Drakhnia 2020-12-03 20:29:15 +02:00 committed by Denis Drakhnia
parent b14ca9755f
commit a6d8edd30f

View File

@ -37,6 +37,8 @@ static uint64_t* state_reg_ptr(CPUE2KState *env, int idx)
case 0x2c: return &env->usd_hi; /* %usd.hi */
/* FIXME: user cannot write */
case 0x2d: return &env->usd_lo; /* %usd.lo */
case 0x51: return &env->ip; /* %cr1.hi */
case 0x53: return &env->pregs; /* %cr1.lo */
case 0x80: return &env->upsr; /* %upsr */
case 0x83: return &env->lsr; /* %lsr */
default: return NULL;