altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, stvxl.

* gcc.dg/altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl,
        lvx, stvx, stvebx, stvehx, stvewx, stvxl.

From-SVN: r48762
This commit is contained in:
Aldy Hernandez 2002-01-11 03:30:50 +00:00 committed by Aldy Hernandez
parent 6525c0e7c9
commit f15054eabf
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-01-10 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl,
lvx, stvx, stvebx, stvehx, stvewx, stvxl.
2002-01-10 Dale Johannesen <dalej@apple.com>
* gcc.c-torture/execute/loop-11.c: New.

View File

@ -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);
}