diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cbfe8c443a4..139ab1cb1e4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-01-10 Aldy Hernandez + + * gcc.dg/altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl, + lvx, stvx, stvebx, stvehx, stvewx, stvxl. + 2002-01-10 Dale Johannesen * gcc.c-torture/execute/loop-11.c: New. diff --git a/gcc/testsuite/gcc.dg/altivec-4.c b/gcc/testsuite/gcc.dg/altivec-4.c index 4994f7dc5ac..857625b0f8c 100644 --- a/gcc/testsuite/gcc.dg/altivec-4.c +++ b/gcc/testsuite/gcc.dg/altivec-4.c @@ -49,4 +49,16 @@ b() uc = (vector unsigned char) __builtin_altivec_lvsl (int1 + 69, pi); uc = (vector unsigned char) __builtin_altivec_lvsr (int1 + 69, pi); + + c = __builtin_altivec_lvebx (int1, pi); + s = __builtin_altivec_lvehx (int1, pi); + i = __builtin_altivec_lvewx (int1, pi); + i = __builtin_altivec_lvxl (int1, pi); + i = __builtin_altivec_lvx (int1, pi); + + __builtin_altivec_stvx (i, int2, pi); + __builtin_altivec_stvebx (c, int2, pi); + __builtin_altivec_stvehx (s, int2, pi); + __builtin_altivec_stvewx (i, int2, pi); + __builtin_altivec_stvxl (i, int2, pi); }