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] |
The attached patch adds support for using E500 vector loads and stores when inlining mem{set,cpy,move} for E500 targets, given appropriate alignments and sizes. Tests are also included to ensure the appropriate instructions are generated. Tested on powerpc-none-linux-gnuspe, no regressions. OK to commit? :ADDPATCH rs6000: -Nathan gcc/ 2007-08-17 Nathan Froyd <froydnj@codesourcery.com> * config/rs6000/rs6000.c (expand_block_clear): Add TARGET_SPE cases to set eight bytes at a time. (expand_block_move): Likewise. gcc/testsuite/ 2007-08-18 Nathan Froyd <froydnj@codesourcery.com> * gcc.target/powerpc/spe-vector-memset.c: New testcase. * gcc.target/powerpc/spe-vector-memcpy.c: New testcase.
Attachment:
e500-inline-memfoo.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |