URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 33 |
.include "t-macros.i"
|
.include "t-macros.i"
|
|
|
start
|
start
|
|
|
loadacc2 a0 0x00 0x7FFF 0x8000
|
loadacc2 a0 0x00 0x7FFF 0x8000
|
test_rachi_1:
|
test_rachi_1:
|
rachi r4, a0, 0
|
rachi r4, a0, 0
|
check 1 r4 0x7FFF
|
check 1 r4 0x7FFF
|
|
|
|
|
loadacc2 a0 0xFF 0x8000 0x1000
|
loadacc2 a0 0xFF 0x8000 0x1000
|
test_rachi_2:
|
test_rachi_2:
|
rachi r4, a0, 0
|
rachi r4, a0, 0
|
check 2 r4 0x8000
|
check 2 r4 0x8000
|
|
|
|
|
loadacc2 a0 0x00 0x1000 0xA000
|
loadacc2 a0 0x00 0x1000 0xA000
|
test_rachi_3:
|
test_rachi_3:
|
rachi r4, a0, 0
|
rachi r4, a0, 0
|
check 3 r4 0x1001
|
check 3 r4 0x1001
|
|
|
|
|
loadacc2 a0 0xFF 0xA000 0x7FFF
|
loadacc2 a0 0xFF 0xA000 0x7FFF
|
test_rachi_4:
|
test_rachi_4:
|
rachi r4, a0, 0
|
rachi r4, a0, 0
|
check 4 r4 0xa000
|
check 4 r4 0xa000
|
|
|
exit0
|
exit0
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.