-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
64-bit NaN-boxing support #1655
Closed
Closed
Commits on Nov 28, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 7cb5423 - Browse repository at this point
Copy the full SHA 7cb5423View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c305ac - Browse repository at this point
Copy the full SHA 9c305acView commit details -
Configuration menu - View commit details
-
Copy full SHA for fabd90c - Browse repository at this point
Copy the full SHA fabd90cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a72ab25 - Browse repository at this point
Copy the full SHA a72ab25View commit details -
Configuration menu - View commit details
-
Copy full SHA for f783d8e - Browse repository at this point
Copy the full SHA f783d8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b6ac7e - Browse repository at this point
Copy the full SHA 1b6ac7eView commit details -
py/gc: Move away from using mp_uint_t, instead use uintptr_t and size_t.
The GC works with concrete pointers and so the types should reflect this.
Configuration menu - View commit details
-
Copy full SHA for 838e27a - Browse repository at this point
Copy the full SHA 838e27aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e49a35d - Browse repository at this point
Copy the full SHA e49a35dView commit details
Commits on Nov 29, 2015
-
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
This allows the mp_obj_t type to be configured to something other than a pointer-sized primitive type. This patch also includes additional changes to allow the code to compile when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of mp_uint_t, and various casts.
Configuration menu - View commit details
-
Copy full SHA for ecbcefa - Browse repository at this point
Copy the full SHA ecbcefaView commit details -
py: Add support for 64-bit NaN-boxing object model, on 32-bit machine.
To use, put the following in mpconfigport.h: #define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_D) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE) typedef int64_t mp_int_t; typedef uint64_t mp_uint_t; #define UINT_FMT "%llu" #define INT_FMT "%lld" Currently does not work with native emitter enabled.
Configuration menu - View commit details
-
Copy full SHA for 611f177 - Browse repository at this point
Copy the full SHA 611f177View commit details -
Configuration menu - View commit details
-
Copy full SHA for b75b3c9 - Browse repository at this point
Copy the full SHA b75b3c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34c84f8 - Browse repository at this point
Copy the full SHA 34c84f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 758a97f - Browse repository at this point
Copy the full SHA 758a97fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.