This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Built-in functions for aligned SSE loads


Hi everyone,

GCC has the following built-in function for performing unaligned SSE integer loads:

v16qi __builtin_ia32_loaddqu (const char *)

However, there does not seem to be any function for performing aligned loads, as by the movdqa instruction. I've googled a bit and I found the following bug report about this, which has been marked fixed 10 years ago:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8075

The same applies for aligned stores. Will the aligned store/load functions ever be added to gcc? In the mean time: Is there any good work around I could use instead?

Thanks,
Konstantin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]