From a0d97e88ec6d71239d30a5a4b2b129e094150873 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 6 Dec 2018 20:52:22 +0100 Subject: [PATCH] Bug 401822 Fix asm constraints for ppc64 jm-vmx jm-insns.c test. The mfvscr and vor instructions in jm-insns.c had a "=vr" constraint. This should have been an "=v" constraint. This resolved assembler warnings and the testcase failing on ppc64le with gcc 8.2 and binutils 2.30. --- NEWS | 1 + none/tests/ppc32/jm-insns.c | 82 ++++++++++++++++++------------------- 2 files changed, 42 insertions(+), 41 deletions(-) diff --git a/NEWS b/NEWS index edf0f7255b..e6770cf35b 100644 --- a/NEWS +++ b/NEWS @@ -61,6 +61,7 @@ where XXXXXX is the bug number as listed below. 385411 s390x: z13 vector floating-point instructions not implemented 401578 drd: crashes sometimes on fork() 401627 memcheck errors with glibc avx2 optimized wcsncmp +401822 none/tests/ppc64/jm-vmx fails and produces assembler warnings Release 3.14.0 (9 October 2018) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/none/tests/ppc32/jm-insns.c b/none/tests/ppc32/jm-insns.c index e1a7da947b..be02425fd2 100644 --- a/none/tests/ppc32/jm-insns.c +++ b/none/tests/ppc32/jm-insns.c @@ -6269,7 +6269,7 @@ static void test_av_int_one_arg (const char* name, test_func_t func, for (i=0; i