Skip to content

Commit

Permalink
Fix 'divmod' for ETA
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-adam committed Dec 16, 2022
1 parent 0524a4e commit 051f6c9
Show file tree
Hide file tree
Showing 348 changed files with 8,141 additions and 1,845 deletions.
446 changes: 444 additions & 2 deletions .output/actual/eta/eval/logged/Fast/from-eas/bottles.logged

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .output/actual/eta/eval/logged/Fast/from-eas/divmod.logged
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
dump: Unit
{ unitCU = CU
{ program =
[ ICF
( DMark 1 )
, IAL
( Cons 2 )
, IAL
( Cons 1 )
, IAL
( Binaries
[ Mod
, Div
]
)
, ICF
( DMark 2 )
, End
]
, programCounter = 6
, returnStack = IS []
}
, unitStack = fromList
[ 0
, 2
]
, unitRAM = []
}
20 changes: 10 additions & 10 deletions .output/actual/eta/eval/logged/Fast/from-eas/fact0 .logged
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dump: Unit
( DMark 4 )
, IAL
( Cons 10 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, IAL
( Cons 1 )
, IAL
Expand Down Expand Up @@ -107,7 +107,7 @@ dump: Unit
, Transfer
, ICF
( DMark 14 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 15 )
, IAL
Expand Down Expand Up @@ -180,7 +180,7 @@ dump: Unit
, IAL ( Binary Sub )
, ICF
( DMark 24 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 25 )
, IAL
Expand Down Expand Up @@ -272,7 +272,7 @@ dump: Unit
( DMark 34 )
, IAL
( Cons 48 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, Transfer
, IAL
( Cons 1 )
Expand Down Expand Up @@ -310,8 +310,8 @@ dump: Unit
( Cons 10 )
, IAL
( Binaries
[ Div
, Mod
[ Mod
, Div
]
)
, ICF
Expand Down Expand Up @@ -483,7 +483,7 @@ dump: Unit
, Transfer
, ICF
( DMark 64 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, ICF
( DMark 65 )
, IAL
Expand All @@ -495,12 +495,12 @@ dump: Unit
( DMark 66 )
, End
]
, programCounter = 21
, programCounter = 148
, returnStack = IS []
}
, unitStack = fromList
[ 48
, 10
[ 496
, 2
]
, unitRAM = []
}
20 changes: 10 additions & 10 deletions .output/actual/eta/eval/logged/Fast/from-eas/fact1 .logged
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dump: Unit
( DMark 4 )
, IAL
( Cons 10 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, IAL
( Cons 1 )
, IAL
Expand Down Expand Up @@ -107,7 +107,7 @@ dump: Unit
, Transfer
, ICF
( DMark 14 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 15 )
, IAL
Expand Down Expand Up @@ -180,7 +180,7 @@ dump: Unit
, IAL ( Binary Sub )
, ICF
( DMark 24 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 25 )
, IAL
Expand Down Expand Up @@ -272,7 +272,7 @@ dump: Unit
( DMark 34 )
, IAL
( Cons 48 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, Transfer
, IAL
( Cons 1 )
Expand Down Expand Up @@ -310,8 +310,8 @@ dump: Unit
( Cons 10 )
, IAL
( Binaries
[ Div
, Mod
[ Mod
, Div
]
)
, ICF
Expand Down Expand Up @@ -483,7 +483,7 @@ dump: Unit
, Transfer
, ICF
( DMark 64 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, ICF
( DMark 65 )
, IAL
Expand All @@ -495,12 +495,12 @@ dump: Unit
( DMark 66 )
, End
]
, programCounter = 21
, programCounter = 148
, returnStack = IS []
}
, unitStack = fromList
[ 49
, 10
[ 506
, 2
]
, unitRAM = []
}
20 changes: 10 additions & 10 deletions .output/actual/eta/eval/logged/Fast/from-eas/fact2 .logged
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dump: Unit
( DMark 4 )
, IAL
( Cons 10 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, IAL
( Cons 1 )
, IAL
Expand Down Expand Up @@ -107,7 +107,7 @@ dump: Unit
, Transfer
, ICF
( DMark 14 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 15 )
, IAL
Expand Down Expand Up @@ -180,7 +180,7 @@ dump: Unit
, IAL ( Binary Sub )
, ICF
( DMark 24 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 25 )
, IAL
Expand Down Expand Up @@ -272,7 +272,7 @@ dump: Unit
( DMark 34 )
, IAL
( Cons 48 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, Transfer
, IAL
( Cons 1 )
Expand Down Expand Up @@ -310,8 +310,8 @@ dump: Unit
( Cons 10 )
, IAL
( Binaries
[ Div
, Mod
[ Mod
, Div
]
)
, ICF
Expand Down Expand Up @@ -483,7 +483,7 @@ dump: Unit
, Transfer
, ICF
( DMark 64 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, ICF
( DMark 65 )
, IAL
Expand All @@ -495,12 +495,12 @@ dump: Unit
( DMark 66 )
, End
]
, programCounter = 21
, programCounter = 148
, returnStack = IS []
}
, unitStack = fromList
[ 50
, 10
[ 516
, 2
]
, unitRAM = []
}
20 changes: 10 additions & 10 deletions .output/actual/eta/eval/logged/Fast/from-eas/fact3 .logged
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dump: Unit
( DMark 4 )
, IAL
( Cons 10 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, IAL
( Cons 1 )
, IAL
Expand Down Expand Up @@ -107,7 +107,7 @@ dump: Unit
, Transfer
, ICF
( DMark 14 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 15 )
, IAL
Expand Down Expand Up @@ -180,7 +180,7 @@ dump: Unit
, IAL ( Binary Sub )
, ICF
( DMark 24 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 25 )
, IAL
Expand Down Expand Up @@ -272,7 +272,7 @@ dump: Unit
( DMark 34 )
, IAL
( Cons 48 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, Transfer
, IAL
( Cons 1 )
Expand Down Expand Up @@ -310,8 +310,8 @@ dump: Unit
( Cons 10 )
, IAL
( Binaries
[ Div
, Mod
[ Mod
, Div
]
)
, ICF
Expand Down Expand Up @@ -483,7 +483,7 @@ dump: Unit
, Transfer
, ICF
( DMark 64 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, ICF
( DMark 65 )
, IAL
Expand All @@ -495,12 +495,12 @@ dump: Unit
( DMark 66 )
, End
]
, programCounter = 21
, programCounter = 148
, returnStack = IS []
}
, unitStack = fromList
[ 51
, 10
[ 526
, 2
]
, unitRAM = []
}
20 changes: 10 additions & 10 deletions .output/actual/eta/eval/logged/Fast/from-eas/fact4 .logged
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dump: Unit
( DMark 4 )
, IAL
( Cons 10 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, IAL
( Cons 1 )
, IAL
Expand Down Expand Up @@ -107,7 +107,7 @@ dump: Unit
, Transfer
, ICF
( DMark 14 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 15 )
, IAL
Expand Down Expand Up @@ -180,7 +180,7 @@ dump: Unit
, IAL ( Binary Sub )
, ICF
( DMark 24 )
, IAL ( SIO OutputChar )
, IAL ( SIO InputChar )
, ICF
( DMark 25 )
, IAL
Expand Down Expand Up @@ -272,7 +272,7 @@ dump: Unit
( DMark 34 )
, IAL
( Cons 48 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, Transfer
, IAL
( Cons 1 )
Expand Down Expand Up @@ -310,8 +310,8 @@ dump: Unit
( Cons 10 )
, IAL
( Binaries
[ Div
, Mod
[ Mod
, Div
]
)
, ICF
Expand Down Expand Up @@ -483,7 +483,7 @@ dump: Unit
, Transfer
, ICF
( DMark 64 )
, IAL ( SIO InputChar )
, IAL ( SIO OutputChar )
, ICF
( DMark 65 )
, IAL
Expand All @@ -495,12 +495,12 @@ dump: Unit
( DMark 66 )
, End
]
, programCounter = 21
, programCounter = 148
, returnStack = IS []
}
, unitStack = fromList
[ 52
, 10
[ 536
, 2
]
, unitRAM = []
}
Loading

0 comments on commit 051f6c9

Please sign in to comment.