|
Mark Wielaard |
943b09 |
diff --git a/none/tests/ppc64/test_isa_2_07_part1.c b/none/tests/ppc64/test_isa_2_07_part1.c
|
|
Mark Wielaard |
943b09 |
index 187af3741..0efd39c1c 100644
|
|
Mark Wielaard |
943b09 |
--- a/none/tests/ppc64/test_isa_2_07_part1.c
|
|
Mark Wielaard |
943b09 |
+++ b/none/tests/ppc64/test_isa_2_07_part1.c
|
|
Mark Wielaard |
943b09 |
@@ -384,27 +384,27 @@ static void test_fmrgow (void)
|
|
Mark Wielaard |
943b09 |
// VSX move instructions
|
|
Mark Wielaard |
943b09 |
static void test_mfvsrd (void)
|
|
Mark Wielaard |
943b09 |
{
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("mfvsrd %0,%x1" : "=r" (r14) : "ws" (vec_inA));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("mfvsrd %0,%x1" : "=r" (r14) : "wa" (vec_inA));
|
|
Mark Wielaard |
943b09 |
};
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_mfvsrwz (void)
|
|
Mark Wielaard |
943b09 |
{
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("mfvsrwz %0,%x1" : "=r" (r14) : "ws" (vec_inA));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("mfvsrwz %0,%x1" : "=r" (r14) : "wa" (vec_inA));
|
|
Mark Wielaard |
943b09 |
};
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_mtvsrd (void)
|
|
Mark Wielaard |
943b09 |
{
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("mtvsrd %x0,%1" : "=ws" (vec_out) : "r" (r14));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("mtvsrd %x0,%1" : "=wa" (vec_out) : "r" (r14));
|
|
Mark Wielaard |
943b09 |
};
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_mtvsrwz (void)
|
|
Mark Wielaard |
943b09 |
{
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("mtvsrwz %x0,%1" : "=ws" (vec_out) : "r" (r14));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("mtvsrwz %x0,%1" : "=wa" (vec_out) : "r" (r14));
|
|
Mark Wielaard |
943b09 |
};
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_mtvsrwa (void)
|
|
Mark Wielaard |
943b09 |
{
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("mtvsrwa %x0,%1" : "=ws" (vec_out) : "r" (r14));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("mtvsrwa %x0,%1" : "=wa" (vec_out) : "r" (r14));
|
|
Mark Wielaard |
943b09 |
};
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_mtfprwa (void)
|
|
Mark Wielaard |
943b09 |
diff --git a/none/tests/ppc64/test_isa_3_0.c b/none/tests/ppc64/test_isa_3_0.c
|
|
Mark Wielaard |
943b09 |
index 78b5130c1..cf9df8ac9 100644
|
|
Mark Wielaard |
943b09 |
--- a/none/tests/ppc64/test_isa_3_0.c
|
|
Mark Wielaard |
943b09 |
+++ b/none/tests/ppc64/test_isa_3_0.c
|
|
Mark Wielaard |
943b09 |
@@ -1177,23 +1177,23 @@ static void test_xscmpexpdp(void) {
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_xscmpeqdp(void) {
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("xscmpeqdp %x0, %x1, %x2 " : "+wa" (vec_xt): "ww" (vec_xa), "ww" (vec_xb));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("xscmpeqdp %x0, %x1, %x2 " : "+wa" (vec_xt): "wa" (vec_xa), "wa" (vec_xb));
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_xscmpgtdp(void) {
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("xscmpgtdp %x0, %x1, %x2 " : "+wa" (vec_xt): "ww" (vec_xa), "ww" (vec_xb));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("xscmpgtdp %x0, %x1, %x2 " : "+wa" (vec_xt): "wa" (vec_xa), "wa" (vec_xb));
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_xscmpgedp(void) {
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("xscmpgedp %x0, %x1, %x2 " : "+wa" (vec_xt): "ww" (vec_xa), "ww" (vec_xb));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("xscmpgedp %x0, %x1, %x2 " : "+wa" (vec_xt): "wa" (vec_xa), "wa" (vec_xb));
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_xsmincdp(void) {
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("xsmincdp %x0, %x1, %x2 " : "+wa" (vec_xt): "ww" (vec_xa), "ww" (vec_xb));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("xsmincdp %x0, %x1, %x2 " : "+wa" (vec_xt): "wa" (vec_xa), "wa" (vec_xb));
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_xsmaxcdp(void) {
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("xsmaxcdp %x0, %x1, %x2 " : "+wa" (vec_xt): "ww" (vec_xa), "ww" (vec_xb));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("xsmaxcdp %x0, %x1, %x2 " : "+wa" (vec_xt): "wa" (vec_xa), "wa" (vec_xb));
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static test_list_t testgroup_vector_scalar_compare_double[] = {
|
|
Mark Wielaard |
943b09 |
@@ -1827,15 +1827,15 @@ static void test_xscvhpdp(void) {
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_xscvdphp(void) {
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("xscvdphp %x0, %x1 " : "+wi" (vec_xt) : "wi" (vec_xb));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("xscvdphp %x0, %x1 " : "+wa" (vec_xt) : "wa" (vec_xb));
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_xvcvhpsp(void) {
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("xvcvhpsp %x0, %x1 " : "+ww" (vec_xt) : "ww" (vec_xb));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("xvcvhpsp %x0, %x1 " : "+wa" (vec_xt) : "wa" (vec_xb));
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static void test_xvcvsphp(void) {
|
|
Mark Wielaard |
943b09 |
- __asm__ __volatile__ ("xvcvsphp %x0, %x1 " : "+ww" (vec_xt) : "ww" (vec_xb));
|
|
Mark Wielaard |
943b09 |
+ __asm__ __volatile__ ("xvcvsphp %x0, %x1 " : "+wa" (vec_xt) : "wa" (vec_xb));
|
|
Mark Wielaard |
943b09 |
}
|
|
Mark Wielaard |
943b09 |
|
|
Mark Wielaard |
943b09 |
static test_list_t testgroup_vector_scalar_two_double[] = {
|