From: Carl Love Date: Tue, 27 Feb 2018 18:41:43 +0000 (-0600) Subject: Bug 391164: constraint bug in tests/ppc64/test_isa_2_07_part1.c for mtfprwa X-Git-Tag: VALGRIND_3_14_0~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03c97360866c027bcc77d5c4872e66032dac3671;p=thirdparty%2Fvalgrind.git Bug 391164: constraint bug in tests/ppc64/test_isa_2_07_part1.c for mtfprwa 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". --- diff --git a/none/tests/ppc64/test_isa_2_07_part1.c b/none/tests/ppc64/test_isa_2_07_part1.c index 73a563ca51..201fa8855b 100644 --- a/none/tests/ppc64/test_isa_2_07_part1.c +++ b/none/tests/ppc64/test_isa_2_07_part1.c @@ -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[] = {