From 521a70a405539df8f0a573091c9ceb46c31be5f5 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Thu, 2 Feb 2017 08:32:44 +0000 Subject: [PATCH] S/390: Rename __S390_VX__ to __VX__. gcc/ChangeLog: 2017-02-02 Andreas Krebbel * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Rename __S390_VX__ to __VX__. gcc/testsuite/ChangeLog: 2017-02-02 Andreas Krebbel * gcc.target/s390/s390.exp: Rename __S390_VX__ to __VX__. From-SVN: r245116 --- gcc/ChangeLog | 5 +++++ gcc/config/s390/s390-c.c | 2 +- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/s390/s390.exp | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b8a949d09b4..4e3570d06cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-02-02 Andreas Krebbel + + * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Rename + __S390_VX__ to __VX__. + 2017-02-01 Andrew Pinski * tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Pass diff --git a/gcc/config/s390/s390-c.c b/gcc/config/s390/s390-c.c index 8f184eaa913..8cdac7e6e7c 100644 --- a/gcc/config/s390/s390-c.c +++ b/gcc/config/s390/s390-c.c @@ -321,7 +321,7 @@ s390_cpu_cpp_builtins_internal (cpp_reader *pfile, s390_def_or_undef_macro (pfile, MASK_OPT_HTM, old_opts, opts, "__HTM__", "__HTM__"); s390_def_or_undef_macro (pfile, MASK_OPT_VX, old_opts, opts, - "__S390_VX__", "__S390_VX__"); + "__VX__", "__VX__"); s390_def_or_undef_macro (pfile, MASK_ZVECTOR, old_opts, opts, "__VEC__=10301", "__VEC__"); s390_def_or_undef_macro (pfile, MASK_ZVECTOR, old_opts, opts, diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 76f22e3b7ea..5ec4a1b3a2d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-02-02 Andreas Krebbel + + * gcc.target/s390/s390.exp: Rename __S390_VX__ to __VX__. + 2017-02-01 Bill Schmidt PR target/70012 diff --git a/gcc/testsuite/gcc.target/s390/s390.exp b/gcc/testsuite/gcc.target/s390/s390.exp index 107ba98c8d9..26bb18ca70c 100644 --- a/gcc/testsuite/gcc.target/s390/s390.exp +++ b/gcc/testsuite/gcc.target/s390/s390.exp @@ -121,7 +121,7 @@ proc check_effective_target_s390_useable_hw { } { asm ("etnd %0" : "=d" (nd)); } #endif - #ifdef __S390_VX__ + #ifdef __VX__ asm ("vzero %%v0" : : ); #endif return 0; -- 2.30.2