tmLQCD icon indicating copy to clipboard operation
tmLQCD copied to clipboard

alignment depends on SSEn define

Open kostrzewa opened this issue 13 years ago • 3 comments

Almost all of our byte-alignment instructions are only active when SSE, SSE2 or SSE3 is defined. This should be changed at some point now that there is the --with-alignment option.

kostrzewa avatar Jul 19 '12 09:07 kostrzewa

This happens at the locations where fields of some sort are initialized outside of the buffer framework. It's probably worth fixing quickly in the mean time, but the cleanest solution would be replacing all of these by buffers.

deuzeman avatar Aug 28 '12 08:08 deuzeman

All the cases I found of this are where a field is malloc'd with alignment if one of the SSEn flags is set, or just malloc'd plainly when they aren't. In all of these cases, this can be fixed by just removing the ifdef's. Am I missing something?

deuzeman avatar Feb 14 '13 14:02 deuzeman

no, thats correct...

urbach avatar Feb 14 '13 14:02 urbach