URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 98 |
Rev 226 |
Line 235... |
Line 235... |
break;
|
break;
|
|
|
case SPR_TTCR:
|
case SPR_TTCR:
|
ret = spr_read_ttcr();
|
ret = spr_read_ttcr();
|
break;
|
break;
|
|
case SPR_FPCSR:
|
|
// If hard floating point is disabled - return 0
|
|
if (!config.cpu.hardfloat)
|
|
ret = 0;
|
|
break;
|
default:
|
default:
|
/* Links to GPRS */
|
/* Links to GPRS */
|
if(regno >= 0x0400 && regno < 0x0420)
|
if(regno >= 0x0400 && regno < 0x0420)
|
ret = cpu_state.reg[regno - 0x0400];
|
ret = cpu_state.reg[regno - 0x0400];
|
}
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.