This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH], Patch #7, Add PowerPC vector initialization tests
On Fri, Aug 26, 2016 at 03:29:50PM -0400, Michael Meissner wrote:
> These patches add more tests to the PowerPC vector initialization tests. Four
> of the tests added (#4, #5, #8, and #9) just try to do a bunch of vector
> initializations for the different vector type (char, short, float, and double).
>
> These other patches (#6, #7) test the code generated in paches #5 and #6.
>
> I have run tese tests on a big endian power7 system (with both 32-bt and 64-bit
> tests runs), a big endian power8 system (just 64-bit tests), and a little
> endian power8 system. There were no regressions. As these tests ok to
> install?
This is okay for trunk; one comment:
> +/* { dg-final { scan-assembler "mtvsrd" } } */
This also matches mtvsrdd; if you don't want that, you can avoid it by
writing it as {\mmtvsrd\M} (the {} instead of "" to avoid toothpickeritus).
Thanks,
Segher
- References:
- [PATCH], Improve vector int/long initialization on PowerPC
- Re: [PATCH], Improve vector int/long initialization on PowerPC
- Re: [PATCH], Improve vector int/long initialization on PowerPC
- [PATCH], Patch #4, Improve vector int/long initialization on PowerPC
- [PATCH], Patch #5, Improve vector int initialization on PowerPC
- [PATCH], Patch #6, Improve vector short/char splat initialization on PowerPC
- [PATCH], Patch #7, Add PowerPC vector initialization tests