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] |
Hello! Attached patch macroizes movmsk and maskmov instructions. As an added bonus, it also implements maskmovdqu tests, so "%%%" comment can be removed. 2011-04-18 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): Remove. (AVX_FLOAT_MODE_P): Ditto. (AVX128_VEC_FLOAT_MODE_P): Ditto. (AVX256_VEC_FLOAT_MODE_P): Ditto. (AVX_VEC_FLOAT_MODE_P): Ditto. * config/i386/i386.md (UNSPEC_MASKLOAD): Remove. (UNSPEC_MASKSTORE): Ditto. * config/i386/sse.md (<sse>_movmsk<ssemodesuffix><avxmodesuffix>): Merge from <sse>_movmsk<ssemodesuffix> and avx_movmsk<ssemodesuffix>256. Use VF mode iterator. (*sse2_maskmovdqu): Merge with *sse2_maskmovdqu_rex64. Use P mode iterator. (avx_maskload<ssemodesuffix><avxmodesuffix>): New expander. (avx_maskstore<ssemodesuffix><avxmodesuffix>): Ditto. (*avx_maskmov<ssemodesuffix><avxmodesuffix>): New insn. testsuite/ChangeLog: 2011-04-18 Uros Bizjak <ubizjak@gmail.com> * gcc.target/i386/sse2-maskmovdqu.c: New test. * gcc.target/i386/avx-vmaskmovdqu.c: Ditto. Patch was bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32} AVX target. Patch was committed to mainline. Uros.
Attachment:
p.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |