OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [iq2000/] [hazard0.s] - Diff between revs 816 and 818

Only display areas with differences | Details | Blame | View Log

Rev 816 Rev 818
# This test case includes a single case of a load hazard, whereby an
# This test case includes a single case of a load hazard, whereby an
# instruction references a register which is the target of a load.
# instruction references a register which is the target of a load.
# The assembler must warn about this!
# The assembler must warn about this!
 
 
.data
.data
foodata:
foodata:
        .word 42
        .word 42
 
 
.text
.text
        lw %10, foodata(%1)
        lw %10, foodata(%1)
        add %10, %1, %2
        add %10, %1, %2
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.