[pypy-dev] unaligned raw_load (align_float_cast branch)
matti picus
matti.picus at gmail.com
Tue Feb 18 14:05:08 CET 2014
I would like to ask for help with this branch, as I have not been able to
move it forward fast enough.
micronumpy tests crash on ARM, due to issues accessing raw memory in struct
arrays. It turn out that casting unaligned memory to a float or double
causes a segfault on ARM, I started to fix this on the align_float_cast
branch. I wrote some tests, added some XXX in places that seem to call
raw_load, but got stuck trying to fix the test in test_rawstorage that uses
RawStorageGetitemEntry in rlib/rawstorage. It is not clear to me how to add
the "allocate temporary aligned memory, copy from unaligned memory, cast"
trick using HighLevelOps in the RawStorageGetitemEntry class. Should this
use a piece of C instead?
Please help by either committing some code or pointing out how to move
forward.
Matti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140218/4c6e7ba7/attachment.html>
More information about the pypy-dev
mailing list