URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 38 |
Rev 156 |
# This test case includes a number of cases where there is no load
|
# This test case includes a number of cases where there is no load
|
# hazard between a load and the instruction which follows it in
|
# hazard between a load and the instruction which follows it in
|
# the pipeline.
|
# the pipeline.
|
|
|
.data
|
.data
|
.text
|
.text
|
lw %0, 0x40(%0)
|
lw %0, 0x40(%0)
|
add %1, %2, %3
|
add %1, %2, %3
|
lh %0, 0x80(%0)
|
lh %0, 0x80(%0)
|
add %1, %2, %3
|
add %1, %2, %3
|
lb %0, 0x80(%0)
|
lb %0, 0x80(%0)
|
add %1, %2, %3
|
add %1, %2, %3
|
lw %0, 0x80(%0)
|
lw %0, 0x80(%0)
|
nop
|
nop
|
add %0, %0, %0
|
add %0, %0, %0
|
ldw %0, 0x80(%3)
|
ldw %0, 0x80(%3)
|
nop
|
nop
|
ldw %0, 0x80(%3)
|
ldw %0, 0x80(%3)
|
add %2, %3, %4
|
add %2, %3, %4
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.