URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/or1ksim/cpu/or32
- from Rev 122 to Rev 123
- ↔ Reverse comparison
Rev 122 → Rev 123
/insnset.c
652,7 → 652,7
SET_PARAM0((uorreg_t)x); |
} |
INSTRUCTION (l_mtspr) { |
uint16_t regno = PARAM0 + PARAM2; |
uint16_t regno = PARAM0 | PARAM2; |
uorreg_t value = PARAM1; |
|
if (cpu_state.sprs[SPR_SR] & SPR_SR_SM) |
663,7 → 663,7
} |
} |
INSTRUCTION (l_mfspr) { |
uint16_t regno = PARAM1 + PARAM2; |
uint16_t regno = PARAM1 | PARAM2; |
uorreg_t value = mfspr(regno); |
|
if (cpu_state.sprs[SPR_SR] & SPR_SR_SM) |