diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2018-03-06 01:56:41 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2018-03-06 01:56:41 +0000 |
commit | 4900146ce0cf227aee88a1bd3b152c9394c64771 (patch) | |
tree | 115afcec8dead7f9af8a135c387b6d25548902f5 /gcc/config | |
parent | f75fbd29fb785723f24de617d53f6f97a4a77c45 (diff) | |
download | gcc-4900146ce0cf227aee88a1bd3b152c9394c64771.zip gcc-4900146ce0cf227aee88a1bd3b152c9394c64771.tar.gz gcc-4900146ce0cf227aee88a1bd3b152c9394c64771.tar.bz2 |
rs6000-builtin.def (rs6000_speculation_barrier): Rename to ppc_speculation_barrier.
[gcc]
2018-03-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs6000-builtin.def (rs6000_speculation_barrier):
Rename to ppc_speculation_barrier.
* config/rs6000/rs6000.c (rs6000_init_builtins): Rename builtin to
__builtin_ppc_speculation_barrier.
[gcc/testsuite]
2018-03-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gcc.target/powerpc/spec-barr-1.c: Change called function name to
__builtin_ppc_speculation_barrier.
From-SVN: r258268
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rs6000-builtin.def | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000-builtin.def b/gcc/config/rs6000/rs6000-builtin.def index f9548a0..9942d65b 100644 --- a/gcc/config/rs6000/rs6000-builtin.def +++ b/gcc/config/rs6000/rs6000-builtin.def @@ -2348,7 +2348,7 @@ BU_DFP_MISC_2 (DSCRIQ, "dscriq", CONST, dfp_dscri_td) /* 0 argument void function that we pretend was added in ISA 2.06. It's a special nop recognized by 2018+ firmware for P7 and up, with speculation barrier semantics. */ -BU_P7_MISC_X (SPEC_BARRIER, "rs6000_speculation_barrier", MISC) +BU_P7_MISC_X (SPEC_BARRIER, "ppc_speculation_barrier", MISC) /* 1 argument BCD functions added in ISA 2.06. */ BU_P7_MISC_1 (CDTBCD, "cdtbcd", CONST, cdtbcd) diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 5f22b6d..9c8c0c8 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -17249,7 +17249,7 @@ rs6000_init_builtins (void) ftype = build_function_type_list (void_type_node, NULL_TREE); def_builtin ("__builtin_cpu_init", ftype, RS6000_BUILTIN_CPU_INIT); - def_builtin ("__builtin_rs6000_speculation_barrier", ftype, + def_builtin ("__builtin_ppc_speculation_barrier", ftype, MISC_BUILTIN_SPEC_BARRIER); ftype = build_function_type_list (bool_int_type_node, const_ptr_type_node, |