Commit f15054ea by Aldy Hernandez Committed by Aldy Hernandez

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
parent 6525c0e7
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> 2002-01-10 Dale Johannesen <dalej@apple.com>
* gcc.c-torture/execute/loop-11.c: New. * gcc.c-torture/execute/loop-11.c: New.
......
...@@ -49,4 +49,16 @@ b() ...@@ -49,4 +49,16 @@ b()
uc = (vector unsigned char) __builtin_altivec_lvsl (int1 + 69, pi); uc = (vector unsigned char) __builtin_altivec_lvsl (int1 + 69, pi);
uc = (vector unsigned char) __builtin_altivec_lvsr (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);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment