]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 391164: constraint bug in tests/ppc64/test_isa_2_07_part1.c for mtfprwa
authorCarl Love <carll@us.ibm.com>
Tue, 27 Feb 2018 18:41:43 +0000 (12:41 -0600)
committerCarl Love <carll@us.ibm.com>
Tue, 27 Feb 2018 18:41:43 +0000 (12:41 -0600)
Fix destination register constraint in assembly code in function
test_mtfprwa in file none/tests/ppc64/test_isa_2_07_part1.c.  Constraint
changed from "=ws" to "=d".

none/tests/ppc64/test_isa_2_07_part1.c

index 73a563ca51616806cdf4772bbb1c2b605a94b5d6..201fa8855b1419c6271fb658305e40eea89bd103 100644 (file)
@@ -406,7 +406,7 @@ static void test_mtvsrwz (void)
 
 static void test_mtfprwa (void)
 {
-   __asm__ __volatile__ ("mtfprwa %x0,%1" : "=ws" (vec_out) : "r" (r14));
+   __asm__ __volatile__ ("mtfprwa %x0,%1" : "=d" (vec_out) : "r" (r14));
 };
 
 static test_t tests_move_ops_spe[] = {