URL
https://opencores.org/ocsvn/lxp32/lxp32/trunk
Subversion Repositories lxp32
[/] [lxp32/] [trunk/] [verify/] [lxp32/] [src/] [firmware/] [test020.asm] - Rev 6
Go to most recent revision | Compare with Previous | Blame | View Log
/** Check that there are no pipeline hazards*/lc r100, 0x10000000 // test result output pointerlcs r101, haltlcs r102, failurelcs r103, successadd r0, 100, 50 // r0:=150add r1, r0, 3 // r1:=153, potential RAW hazardmul r2, r1, 109 // r2:=16677, potential RAW hazardmul r3, r2, r0 // r3:=2501550, potential RAW hazardsub r4, r3, 15 // r4:=2501535, potential RAW hazardmul r5, 50, 117 // r2:=5850sub r5, 100, 9 // r2:=91, overwrites previous result, potential WAW hazardlc r6, 1800mul r7, r6, 49 // r7:=88200, potential RAW hazardmov r6, 1 // r6:=1, potential WAR hazardlc r0, 2501535cjmpne r102, r4, r0 // failurecjmpne r102, r5, 91 // failurelcs r0, 88200cjmpne r102, r7, r0 // failurejmp r103 // successfailure:sw r100, 2jmp r101 // haltsuccess:sw r100, 1 // successhalt:hltjmp r101 // halt
Go to most recent revision | Compare with Previous | Blame | View Log
