973:95953ae68576
975:94d0d415b722
|
8 months ago |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed docstring. |
value-replacement |
|
templates/ops.c
|
|
972:3f8778c40b95
|
8 months ago |
Paul Boddie |
changeset
files
shortlog
graph
|
Reset various temporary storage counters for every statement. This is not
helpful for result target storage, however. |
value-replacement |
|
translator.py
|
|
971:0be4f390513d
946:1e7ccc84119f
|
8 months ago |
Paul Boddie |
changeset
files
shortlog
graph
|
Permit the replacement of floating-point values in locally-referenced objects.
To achieve this, a result target parameter has been introduced in callable
signatures alongside the existing context parameter so that references to
objects can be propagated to operations that are able to replace the value of
such objects.
Result target objects are currently supported only for locals and intermediate
results in functions and methods, with assignments to locals or the storage of
intermediate results involving the copying of any given floating-point objects
instead of merely referencing them. Such distinct copies may then be used as
result targets when locals or intermediate result locations are subsequently
reused.
Value replacement avoids the allocation of temporary objects that can quickly
dominate execution time in programs repeatedly performing large numbers of
floating-point calculations. |
value-replacement |
|
generator.py templates/native/buffer.c templates/native/buffer.h templates/native/common.c templates/native/common.h templates/native/float.c templates/native/float.h templates/native/iconv.c templates/native/iconv.h templates/native/identity.c ...
|
|
970:10ec810cb754
882:f84970ad4040 946:1e7ccc84119f
|
8 months ago |
Paul Boddie |
changeset
files
shortlog
graph
|
Merged changes from the trailing-data branch. |
float-preallocation |
|
docs/wiki/FrontPage templates/progops.h
|
|
969:9350c3606961
897:5f4b4a169398 946:1e7ccc84119f
|
8 months ago |
Paul Boddie |
changeset
files
shortlog
graph
|
Merged changes from the trailing-data branch. |
float-preallocation |
|
docs/wiki/FrontPage templates/progops.h
|
|
968:11ec0e4a1f34
964:e98699004465
|
8 months ago |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed docstring. |
tagged-address-values |
|
transresults.py
|
|
967:560f520d8446
979:2957d8a7ccfb 980:ab30a18f9586 986:9ee9c9e18fa6 990:c931727cd4aa
|
15 months ago |
Paul Boddie |
changeset
files
shortlog
graph
|
Handle an absence of release archives properly. |
|
|
docs/tools/sign_releases.sh
|
|
966:7003a5061590
|
15 months ago |
Paul Boddie |
changeset
files
shortlog
graph
|
Reverted spacing fix, hopefully remedied in MoinLight/moinconvert. |
|
|
docs/wiki/Downloads
|
|
965:a89311a314cb
962:e3dbe6f334db
|
16 months ago |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed spacing in table. |
|
|
docs/wiki/Downloads
|
|
964:e98699004465
968:11ec0e4a1f34
|
2021-11-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced support for values that can be allocated on a special thread-local
stack, copied around and overwritten/mutated, demonstrating the concept using
integer and floating-point numbers. Various complications arise with special
attributes (such as __data__) due to the way references are tagged to indicate
mutable values, and attribute slots must be cleared in locals, objects and
fragments before values are stored since target slots are tested for mutable
values. |
tagged-address-values |
|
encoders.py generator.py templates/native/common.c templates/native/iconv.c templates/native/list.c templates/ops.c templates/ops.h templates/progops.c templates/progops.h templates/types.h ...
|
|