[pypy-dev] unaligned raw_load (align_float_cast branch)
Armin Rigo
arigo at tunes.org
Sat Feb 22 09:30:35 CET 2014
Hi Matti,
On 18 February 2014 14:05, matti picus <matti.picus at gmail.com> wrote:
> I would like to ask for help with this branch, as I have not been able to
> move it forward fast enough.
I moved it forward a little bit, but now I'm wondering if it actually
makes sense. What is the goal? Is it to fix a problem in ctypes
only, by fixing pypy/module/_rawffi? If that's the case, then we
might as well write the hack locally in _rawffi, e.g. by using
different versions of the helpers there depending on whether we get
aligned or misaligned pointers. This certainly looks cleaner than
adding raw_load_unaligned and raw_store_unaligned *everywhere*
including in the JIT.
A bientôt,
Armin.
More information about the pypy-dev
mailing list