From 53d6d955606658b7fe0bb9356ad9d7191b61742c Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 30 May 2016 16:50:44 +0200 Subject: [PATCH] args.h (clear_non_sret_int_hardware_registers): Use correct register when clearing %edx. * gcc.target/i386/iamcu/args.h (clear_non_sret_int_hardware_registers): Use correct register when clearing %edx. From-SVN: r236883 --- gcc/testsuite/ChangeLog | 21 +++++++++++++-------- gcc/testsuite/gcc.target/i386/iamcu/args.h | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ae0a6691cdf..8abccad4129 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-05-30 Uros Bizjak + + * gcc.target/i386/iamcu/args.h (clear_non_sret_int_hardware_registers): + Use correct register when clearing %edx. + 2016-05-30 Alexander Monakov PR tree-optimization/71289 @@ -288,8 +293,8 @@ 2016-05-24 Paolo Carlini - * g++.dg/cpp1y/lambda-generic-static1.C: Use target c++14. - * g++.dg/cpp1y/lambda-generic-static2.C: Likewise. + * g++.dg/cpp1y/lambda-generic-static1.C: Use target c++14. + * g++.dg/cpp1y/lambda-generic-static2.C: Likewise. 2016-05-24 Michael Meissner @@ -841,10 +846,10 @@ 2016-05-18 Jiong Wang - * gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h: Guard float64_t - with __aarch64__. - * gcc.target/aarch64/advsimd-intrinsics/vfms_vfma_n.c: Guard variable - declarations under __aarch64__ and __ARM_FEATURE_FMA. + * gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h: Guard float64_t + with __aarch64__. + * gcc.target/aarch64/advsimd-intrinsics/vfms_vfma_n.c: Guard variable + declarations under __aarch64__ and __ARM_FEATURE_FMA. 2016-05-18 Jakub Jelinek @@ -1047,8 +1052,8 @@ 2016-05-13 Ramana Radhakrishnan - PR target/53440 - * g++.dg/inherit/thunk1.C: Support arm / aarch64. + PR target/53440 + * g++.dg/inherit/thunk1.C: Support arm / aarch64. 2016-05-13 Ramana Radhakrishnan diff --git a/gcc/testsuite/gcc.target/i386/iamcu/args.h b/gcc/testsuite/gcc.target/i386/iamcu/args.h index f8abde40155..67808ffb565 100644 --- a/gcc/testsuite/gcc.target/i386/iamcu/args.h +++ b/gcc/testsuite/gcc.target/i386/iamcu/args.h @@ -30,7 +30,7 @@ extern void *iamcu_memset (void *, int, size_t); /* Clear all scratch integer registers, excluding the one used to return aggregate. */ #define clear_non_sret_int_hardware_registers \ - asm __volatile__ ("xor %%edx, %%ebx\n\t" \ + asm __volatile__ ("xor %%edx, %%edx\n\t" \ "xor %%ecx, %%ecx\n\t" \ ::: "edx", "ecx"); -- 2.30.2