[ARM] Replacing variable swaps that use a temporary variable with a call to std:...
authorBilyan Borisov <bilyan.borisov@arm.com>
Mon, 21 Sep 2015 10:07:44 +0000 (10:07 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 21 Sep 2015 10:07:44 +0000 (10:07 +0000)
commit6ad9ac88388d049d48364b59a58d1cb72c50c7c6
tree23c940822167094e236f7b01b1056d1e18b411c6
parent84fe5e5c412dccda48c87c775672433d5034b160
[ARM] Replacing variable swaps that use a temporary variable with a call to std::swap in gcc/config/arm/arm.c

On behalf of <bilyan.borisov@arm.com>

2015-09-21  Bilyan Borisov  <bilyan.borisov@arm.com>

* config/arm/arm.c (thumb_output_move_mem_multiple): Replaced
operands[4] operands[5] swap with std::swap, removed tmp variable.
(arm_evpc_neon_vzip): Replaced in0/in1 and
out0/out1 swaps with std::swap, removed x variable.
(arm_evpc_neon_vtrn): Replaced in0/int1 and
out0/out1 swaos with std::swap, removed x variable.
(arm_expand_vec_perm_const_1): Replaced
d->op0/d->op1 swap with std::swap, removed x variable.
(arm_evpc_neon_vuzp): Replaced in0/in1 and
out0/out1 swaps with std::swap, removed x variable.

From-SVN: r227963
gcc/ChangeLog
gcc/config/arm/arm.c