Vector parameter loads to SSE registers
windigo84
aberna@ac.upc.edu
Wed Dec 15 10:26:00 GMT 2010
Hi Miles,
anyway I am not using dynamic memory; I am trying to load from the
parameters of the function. I don't understand at all if this has any
relation with libc. Anyway thanks for the information,
Janddro
Miles Bader-2 wrote:
>
> Tim Prince <n8tm@aol.com> writes:
>> You would require _attribute__(aligned) and similar gcc extensions to
>> inform the compiler about alignments so as to enable more use of aligned
>> instructions. Without those, it's not practical to auto-vectorize short
>> loops, except by explicit low-level coding (e.g. sse intrinsics). In
>> any case, a loop of trip 9 might not be efficiently vectorizable.
>
> The problem I had when I played with this sort of thing before, was not
> gcc, but libc, which doesn't align general allocations enough for SSE
> (and I gather the libc devs have no intention of adding such a feature),
> so one needs to jump through a lot of hoops to make sure heap-allocated
> stuff is aligned properly. It seemed like a big pain ...
>
> -Miles
>
> --
> Suburbia: where they tear out the trees and then name streets after them.
>
>
--
View this message in context: http://old.nabble.com/Vector-parameter-loads-to-SSE-registers-tp30453479p30462579.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list