Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
StdEnv-doc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cloogle
StdEnv-doc
Commits
5c69449d
Verified
Commit
5c69449d
authored
Apr 07, 2020
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for packed arrays to _print_graph and _eval_to_nf
parent
9c3b934f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
170 additions
and
2 deletions
+170
-2
Clean System Files/_system.abc
Clean System Files/_system.abc
+85
-1
StdEnv 64 Changed Files/_system.abc
StdEnv 64 Changed Files/_system.abc
+85
-1
No files found.
Clean System Files/_system.abc
View file @
5c69449d
...
...
@@ -1366,6 +1366,14 @@ _print__array2
eq_desc_b REAL 0
jmp_true _print_real_array
push_b 0
eq_desc_b INT32 0
jmp_true _print_int32_array
push_b 0
eq_desc_b REAL32 0
jmp_true _print_real32_array
pushI 0
push_a 0
...
...
@@ -1720,6 +1728,72 @@ _print_real_array_lp2
pop_b 2
print_sc "}"
jmp _print_brackets
_print_int32_array
pop_b 1
pushI 0
push_a 0
push_arraysize INT32 0 1
jmp _print_int32_array_lp2
.o 1 2 i i
_print_int32_array_lp1
eqI_b 0 1
jmp_true _no_comma_4
print_sc ","
_no_comma_4
push_b 1
push_a 0
select INT32 0 1
print_int
push_b 1
incI
update_b 0 2
pop_b 1
decI
_print_int32_array_lp2
eqI_b 0 0
jmp_false _print_int32_array_lp1
pop_a 1
pop_b 2
print_sc "}"
jmp _print_brackets
_print_real32_array
pop_b 1
push_a 0
pushI 0
push_arraysize REAL32 0 2
jmp _print_real32_array_lp2
.o 1 2 i i
_print_real32_array_lp1
eqI_b 0 1
jmp_true _no_comma_5
print_sc ","
_no_comma_5
push_b 1
push_a 0
select REAL32 0 2
create
fillR_b 0 0
pop_b 2
print_symbol_sc 0
pop_a 1
push_b 1
incI
update_b 0 2
pop_b 1
decI
_print_real32_array_lp2
eqI_b 0 0
jmp_false _print_real32_array_lp1
pop_a 1
pop_b 2
print_sc "}"
jmp _print_brackets
_print_nil
print_sc "[]"
...
...
@@ -2148,6 +2222,14 @@ _eval__array2
eq_desc_b REAL 0
jmp_true _eval_real_array
push_b 0
eq_desc_b INT32 0
jmp_true _eval_int32_array
push_b 0
eq_desc_b REAL32 0
jmp_true _eval_real32_array
pushI 0
push_a 0
...
...
@@ -2273,9 +2355,11 @@ _eval_char_array
.d 0 0
rtn
_eval_real_array
_eval_bool_array
_eval_int_array
_eval_real_array
_eval_int32_array
_eval_real32_array
pop_b 1
pop_a 1
.d 0 0
...
...
StdEnv 64 Changed Files/_system.abc
View file @
5c69449d
...
...
@@ -1342,6 +1342,14 @@ _print__array2
eq_desc_b REAL 0
jmp_true _print_real_array
push_b 0
eq_desc_b INT32 0
jmp_true _print_int32_array
push_b 0
eq_desc_b REAL32 0
jmp_true _print_real32_array
pushI 0
push_a 0
...
...
@@ -1694,6 +1702,72 @@ _print_real_array_lp2
pop_b 2
print_sc "}"
jmp _print_brackets
_print_int32_array
pop_b 1
pushI 0
push_a 0
push_arraysize INT32 0 1
jmp _print_int32_array_lp2
.o 1 2 i i
_print_int32_array_lp1
eqI_b 0 1
jmp_true _no_comma_4
print_sc ","
_no_comma_4
push_b 1
push_a 0
select INT32 0 1
print_int
push_b 1
incI
update_b 0 2
pop_b 1
decI
_print_int32_array_lp2
eqI_b 0 0
jmp_false _print_int32_array_lp1
pop_a 1
pop_b 2
print_sc "}"
jmp _print_brackets
_print_real32_array
pop_b 1
push_a 0
pushI 0
push_arraysize REAL32 0 2
jmp _print_real32_array_lp2
.o 1 2 i i
_print_real32_array_lp1
eqI_b 0 1
jmp_true _no_comma_5
print_sc ","
_no_comma_5
push_b 1
push_a 0
select REAL32 0 2
create
fillR_b 0 0
pop_b 1
print_symbol_sc 0
pop_a 1
push_b 1
incI
update_b 0 2
pop_b 1
decI
_print_real32_array_lp2
eqI_b 0 0
jmp_false _print_real32_array_lp1
pop_a 1
pop_b 2
print_sc "}"
jmp _print_brackets
_print_nil
print_sc "[]"
...
...
@@ -2120,6 +2194,14 @@ _eval__array2
eq_desc_b REAL 0
jmp_true _eval_real_array
push_b 0
eq_desc_b INT32 0
jmp_true _eval_int32_array
push_b 0
eq_desc_b REAL32 0
jmp_true _eval_real32_array
pushI 0
push_a 0
...
...
@@ -2245,9 +2327,11 @@ _eval_char_array
.d 0 0
rtn
_eval_real_array
_eval_bool_array
_eval_int_array
_eval_real_array
_eval_int32_array
_eval_real32_array
pop_b 1
pop_a 1
.d 0 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment