This is the mail archive of the gcc-patches@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] |
void foo( int count ) { int j;
unsigned int *srcptr, *dstptr; for (j = 0; j < count; j++) { unsigned int tmp = *srcptr; unsigned int alpha = (tmp&255); tmp &= 0xffffff00; alpha =lut[alpha]; tmp |= alpha<<0; *dstptr = tmp; } }
000000ef movl %eax,%edx 000000f1 andl $0xffffff00,%edx 000000f7 andl $0x000000ff,%eax 000000fc movzbl (%ecx,%eax,1),%eax 00000100 orl %eax,%edx
2007-05-08 Hui-May Chang <hm.chang@apple.com> Stuart Hastings <stuart@apple.com>
* gcc.target/i386/bitmask-1.c : New. * gcc.target/i386/bitmask-2.c : New.
Attachment:
radar-patch.bitmask.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |