mirror of
https://github.com/mupen64plus-ae/parallel-rsp.git
synced 2024-11-23 05:29:39 +00:00
LW unaligned in branch delay test.
This commit is contained in:
parent
6b2bac5326
commit
7573becbe1
@ -144,4 +144,5 @@ if (PARALLEL_RSP_TESTS)
|
||||
rsp_add_test(j)
|
||||
rsp_add_test(jal)
|
||||
rsp_add_test(jr)
|
||||
rsp_add_test(lw-unaligned-in-branch-delay)
|
||||
endif()
|
||||
|
20
debug-toolchain/lw-unaligned-in-branch-delay.s
Normal file
20
debug-toolchain/lw-unaligned-in-branch-delay.s
Normal file
@ -0,0 +1,20 @@
|
||||
.data
|
||||
foo:
|
||||
.byte 0
|
||||
.byte 0xaa, 0xbb, 0xcc, 0xdd
|
||||
|
||||
.text
|
||||
.set noreorder
|
||||
.global main
|
||||
main:
|
||||
li $t0, 1
|
||||
la $t1, foo
|
||||
bgtz $t0, taken1
|
||||
lw $t1, 1($t1)
|
||||
|
||||
taken0:
|
||||
li $t5, 100
|
||||
break
|
||||
|
||||
taken1:
|
||||
break
|
Loading…
Reference in New Issue
Block a user