Simplify forwarding.
This commit is contained in:
parent
804e1ed2e6
commit
1eefeca2d6
7 changed files with 70 additions and 61 deletions
5
src/test/resources/tests/addload.s
Normal file
5
src/test/resources/tests/addload.s
Normal file
|
@ -0,0 +1,5 @@
|
|||
main:
|
||||
addi a5,a5,2
|
||||
lw a4,-36(s0)
|
||||
add a5,a4,a5
|
||||
done
|
|
@ -4,5 +4,4 @@ main:
|
|||
loop:
|
||||
addi x2, x2, 1
|
||||
blt x2, x1, loop
|
||||
nop
|
||||
done
|
18
src/test/resources/tests/fucked.s
Normal file
18
src/test/resources/tests/fucked.s
Normal file
|
@ -0,0 +1,18 @@
|
|||
main:
|
||||
addi x2, x2, 0
|
||||
j loop
|
||||
nop
|
||||
nop
|
||||
|
||||
|
||||
loop:
|
||||
addi x1, x1, 32
|
||||
blt x1, x2, loop
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
j end
|
||||
|
||||
end:
|
||||
done
|
|
@ -19,7 +19,7 @@ import LogParser._
|
|||
|
||||
object Manifest {
|
||||
|
||||
val singleTest = "branch.s"
|
||||
val singleTest = "fucked.s"
|
||||
|
||||
val nopPadded = false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue