aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-math-opts.c
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2014-06-06 08:23:16 +0000
committerThomas Preud'homme <thopre01@gcc.gnu.org>2014-06-06 08:23:16 +0000
commit581263689a92a036d9e00f64eed60ffd8e28025f (patch)
treed50e92c0f6474aef6ca2ca3e80f9640aa58f8d48 /gcc/tree-ssa-math-opts.c
parent3fd48b121a654c914b2784334650d23095d938e4 (diff)
downloadgcc-581263689a92a036d9e00f64eed60ffd8e28025f.zip
gcc-581263689a92a036d9e00f64eed60ffd8e28025f.tar.gz
gcc-581263689a92a036d9e00f64eed60ffd8e28025f.tar.bz2
ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target endianness instead of host endianness.
2014-06-06 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ * ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target endianness instead of host endianness. * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise in dumps and comments. gcc/testsuite/ * gcc.dg/optimize-bswaphi-1.c: Adapt test to change of dump output. Specify -march=z900 as an additional option. * gcc.dg/optimize-bswapsi-1.c: Likewise for s390 options. * gcc.dg/optimize-bswapsi-2.c: Likewise. * gcc.dg/optimize-bswapdi-3.c: Likewise for adaptation to dump change. From-SVN: r211309
Diffstat (limited to 'gcc/tree-ssa-math-opts.c')
-rw-r--r--gcc/tree-ssa-math-opts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c
index 658b341..a928ad9 100644
--- a/gcc/tree-ssa-math-opts.c
+++ b/gcc/tree-ssa-math-opts.c
@@ -1971,7 +1971,7 @@ find_bswap_or_nop_1 (gimple stmt, struct symbolic_number *n, int limit)
n->range = n2.range + off_sub;
/* Reinterpret byte marks in symbolic number holding the value of
- bigger weight according to host endianness. */
+ bigger weight according to target endianness. */
inc = BYTES_BIG_ENDIAN ? off_sub + n2.range - n1.range : off_sub;
mask = 0xFF;
if (BYTES_BIG_ENDIAN)
@@ -2074,7 +2074,7 @@ find_bswap_or_nop (gimple stmt, struct symbolic_number *n, bool *bswap)
/* A complete byte swap should make the symbolic number to start with
the largest digit in the highest order byte. Unchanged symbolic
- number indicates a read with same endianness as host architecture. */
+ number indicates a read with same endianness as target architecture. */
if (n->n == cmpnop)
*bswap = false;
else if (n->n == cmpxchg)
@@ -2204,7 +2204,7 @@ bswap_replace (gimple stmt, gimple_stmt_iterator *gsi, tree src, tree fndecl,
if (dump_file)
{
fprintf (dump_file,
- "%d bit load in host endianness found at: ",
+ "%d bit load in target endianness found at: ",
(int)n->range);
print_gimple_stmt (dump_file, stmt, 0, 0);
}
@@ -2271,7 +2271,7 @@ bswap_replace (gimple stmt, gimple_stmt_iterator *gsi, tree src, tree fndecl,
/* Find manual byte swap implementations as well as load in a given
endianness. Byte swaps are turned into a bswap builtin invokation
while endian loads are converted to bswap builtin invokation or
- simple load according to the host endianness. */
+ simple load according to the target endianness. */
unsigned int
pass_optimize_bswap::execute (function *fun)