Skip to content

Commit

Permalink
Fixed stack frames
Browse files Browse the repository at this point in the history
  • Loading branch information
BIsHetAntwoord committed Nov 9, 2021
1 parent 6f1ff74 commit 8624b45
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/compiler/codegen/instr.fut
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ let INSTR_TABLE : [][][]u32 = [
], --Empty statement
[ -- Invalid Void Int Float Int_ref Float_ref
[0b0000000_01000_00010_000_00010_0110011, 0b0000000_01000_00010_000_00010_0110011, 0b0000000_01000_00010_000_00010_0110011, 0b0000000_01000_00010_000_00010_0110011, 0b0000000_01000_00010_000_00010_0110011, 0b0000000_01000_00010_000_00010_0110011],
[0b1111111_11100_00010_010_00001_0100011, 0b1111111_11100_00010_010_00001_0100011, 0b1111111_11100_00010_010_00001_0100011, 0b1111111_11100_00010_010_00001_0100011, 0b1111111_11100_00010_010_00001_0100011, 0b1111111_11100_00010_010_00001_0100011],
[0b1111111_11000_00010_010_01000_0100011, 0b1111111_11000_00010_010_01000_0100011, 0b1111111_11000_00010_010_01000_0100011, 0b1111111_11000_00010_010_01000_0100011, 0b1111111_11000_00010_010_01000_0100011, 0b1111111_11000_00010_010_01000_0100011],
[0b1111111_11100_00010_010_00001_0000011, 0b1111111_11100_00010_010_00001_0000011, 0b1111111_11100_00010_010_00001_0000011, 0b1111111_11100_00010_010_00001_0000011, 0b1111111_11100_00010_010_00001_0000011, 0b1111111_11100_00010_010_00001_0000011],
[0b1111111_11000_01000_010_01000_0000011, 0b1111111_11000_01000_010_01000_0000011, 0b1111111_11000_01000_010_01000_0000011, 0b1111111_11000_01000_010_01000_0000011, 0b1111111_11000_01000_010_01000_0000011, 0b1111111_11000_01000_010_01000_0000011],
[0b0000000_00000_00001_000_00000_1100111, 0b0000000_00000_00001_000_00000_1100111, 0b0000000_00000_00001_000_00000_1100111, 0b0000000_00000_00001_000_00000_1100111, 0b0000000_00000_00001_000_00000_1100111, 0b0000000_00000_00001_000_00000_1100111]
], --Func decl
[ -- Invalid Void Int Float Int_ref Float_ref
Expand Down Expand Up @@ -275,9 +275,9 @@ let INSTR_TABLE : [][][]u32 = [
[0b0000000_00000_00000_000_00000_1110011, 0b0000000_00000_00000_000_00000_1110011, 0b0000000_00000_00000_000_00000_1110011, 0b0000000_00000_00000_000_00000_1110011, 0b0000000_00000_00000_000_00000_1110011, 0b0000000_00000_00000_000_00000_1110011]
], --While dummy
[ -- Invalid Void Int Float Int_ref Float_ref
[0b1111111_00001_00010_010_11100_1110011, 0b1111111_00001_00010_010_11100_1110011, 0b1111111_00001_00010_010_11100_1110011, 0b1111111_00001_00010_010_11100_1110011, 0b1111111_00001_00010_010_11100_1110011, 0b1111111_00001_00010_010_11100_1110011],
[0b1111111_01000_00010_010_11000_1110011, 0b1111111_01000_00010_010_11000_1110011, 0b1111111_01000_00010_010_11000_1110011, 0b1111111_01000_00010_010_11000_1110011, 0b1111111_01000_00010_010_11000_1110011, 0b1111111_01000_00010_010_11000_1110011],
[0b0100000_01000_00010_011_00010_0110011, 0b0100000_01000_00010_011_00010_0110011, 0b0100000_01000_00010_011_00010_0110011, 0b0100000_01000_00010_011_00010_0110011, 0b0100000_01000_00010_011_00010_0110011, 0b0100000_01000_00010_011_00010_0110011],
[0b1111111_00001_00010_010_11100_0100011, 0b1111111_00001_00010_010_11100_0100011, 0b1111111_00001_00010_010_11100_0100011, 0b1111111_00001_00010_010_11100_0100011, 0b1111111_00001_00010_010_11100_0100011, 0b1111111_00001_00010_010_11100_0100011],
[0b1111111_01000_00010_010_11000_0100011, 0b1111111_01000_00010_010_11000_0100011, 0b1111111_01000_00010_010_11000_0100011, 0b1111111_01000_00010_010_11000_0100011, 0b1111111_01000_00010_010_11000_0100011, 0b1111111_01000_00010_010_11000_0100011],
[0b0100000_01000_00010_000_00010_0110011, 0b0100000_01000_00010_000_00010_0110011, 0b0100000_01000_00010_000_00010_0110011, 0b0100000_01000_00010_000_00010_0110011, 0b0100000_01000_00010_000_00010_0110011, 0b0100000_01000_00010_000_00010_0110011],
[0b0000000_00010_01000_000_01000_0110011, 0b0000000_00010_01000_000_01000_0110011, 0b0000000_00010_01000_000_01000_0110011, 0b0000000_00010_01000_000_01000_0110011, 0b0000000_00010_01000_000_01000_0110011, 0b0000000_00010_01000_000_01000_0110011]
], --Func decl dummy
[ -- Invalid Void Int Float Int_ref Float_ref
Expand Down

0 comments on commit 8624b45

Please sign in to comment.