search for: b389f02e

Displaying 2 results from an estimated 2 matches for "b389f02e".

2016 Mar 26
0
Is pointer tagging defined behavior?
...ointer is always aligned before being dereferenced, either by masking, or subtracting, or as an immediate offset (possibly combined with a field offset). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160326/b389f02e/attachment.html>
2016 Mar 26
2
Is pointer tagging defined behavior?
Dynamic languages commonly use an implementation technique where you take a pointer to an object (aligned on eight bytes so the lower three bits are zero), cast to intptr_t, change the lower three bits to a tag value indicating the type of the object, then later test the tag value, remove the tag, cast back to a pointer and dereference the pointer. As I understand it, the standard says this is