Hi Bilyan,

On 21/09/15 08:41, Bilyan Borisov wrote:
Replacing variable swaps that use a temporary variable with a call to 
std::swap. Tested against arm-none-eabi target including a variant with neon 
enabled.

2015-XX-XX  Bilyan Borisov  <bilyan.bori...@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.


This is ok for trunk.
I've committed this for you with r227963.

Thanks,
Kyrill

Reply via email to