View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum ↗

iraf-v216 · Code · Issues (50) · Pull requests (81)

iraf.net pull request #57

Force iraf to align on 128-bit boundaries

merge olebole merged 1 commit to iraf-community/iraf


olebole commented on 2017-05-13

This patch is taken from PR #10 by @joequant (commit d862831b).

This is necessary for GCC 4.8 to properly generate SSE2 double word aligned move instructions. See

https://bugs.mageia.org/show_bug.cgi?id=11507

for discussion of this issue. Citing from there (@joequant):

If you have several double assigns in a row, gcc will attempt to optimize it with a streaming double instruction.
The trouble is that for this to work, the doubles have to be aligned on a 16-byte boundary, which is not guaranteed by salloc.

For SSE2 to work doubles have to be aligned on 128-bit boundaries so I changed the IRAF memory management so that happens.

It fixes #53 .


Commits


Last updated on 2017-09-17