Merge pull request #2 from lasseaeggen/patch-1
Fix order of multipleInstructions when NOP padding
This commit is contained in:
commit
859ecf2296
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ object Parser {
|
||||||
def addOps (t: List[SourceInfo[Op]]): FoldHelper = {
|
def addOps (t: List[SourceInfo[Op]]): FoldHelper = {
|
||||||
if(testOptions.nopPadded){
|
if(testOptions.nopPadded){
|
||||||
copy(
|
copy(
|
||||||
ops = t.flatMap(x => (x :: List.fill(4)(SourceInfo("inserted NOP", NOP).widen[Op]))).reverse ::: ops,
|
ops = t.flatMap(x => (x :: List.fill(4)(SourceInfo("inserted NOP", NOP).widen[Op])).reverse) ::: ops,
|
||||||
addrCount = addrCount + t.size*4*5)
|
addrCount = addrCount + t.size*4*5)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue