On November 14, 2017 10:25:28 PM GMT+01:00, Jakub Jelinek
wrote:
>Hi!
>
>I'll be working on further store-merging improvements next two days
>and hope to use some of the bswap pass APIs to handle stuff like:
>void foo (char *__restrict p, char *__restrict q)
>{
> p[0] = q[3];
> p[1] = q[2];
>
Hi!
I'll be working on further store-merging improvements next two days
and hope to use some of the bswap pass APIs to handle stuff like:
void foo (char *__restrict p, char *__restrict q)
{
p[0] = q[3];
p[1] = q[2];
p[2] = q[1];
p[3] = q[0];
}
or
p[4] = data >> 8;
p[5] = data;
etc. As