char buffer[256];
for(int x = 0; x<256; x+=4)
{
char one = buffer[x];
char two = buffer[x+1];
char three = buffer[x+2];
char four = buffer[x+3];
buffer[x] = four;
buffer[x+1]=three;
buffer[x+2]= two;
buffer[x+3]=one;
}
これをどの程度正確に最適化しますか?
char buffer[256];
for(int x = 0; x<256; x+=4)
{
char one = buffer[x];
char two = buffer[x+1];
char three = buffer[x+2];
char four = buffer[x+3];
buffer[x] = four;
buffer[x+1]=three;
buffer[x+2]= two;
buffer[x+3]=one;
}
これをどの程度正確に最適化しますか?