The changes are made in the patch for optimized usage of pcmpne/pcmpeq instructions.
authorAjit Agarwal <ajitkum@xilinx.com>
Tue, 5 May 2015 01:08:45 +0000 (01:08 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Tue, 5 May 2015 01:08:45 +0000 (01:08 +0000)
commit2bdf1dd58b6a19f34898e324c587c6ad3f291da1
treee3b6cd33ee621f691c535acc00f4e13c53410a92
parent0bb87e8a83d3b9e0d56e1cddb4dad667eaa6e195
The changes are made in the patch for optimized usage of pcmpne/pcmpeq instructions.

The changes are made in the patch for optimized usage of pcmpne/pcmpeq
instructions. The xor with register to register is replaced with pcmpeq
/pcmpne instructions and for immediate check still the xori will be used.
The purpose of the change is to acheive the aggressive usage of pcmpne
/pcmpeq instructions instead of xor being used for comparison.

ChangeLog:
2015-05-04  Ajit Agarwal  <ajitkum@xilinx.com>

* config/microblaze/microblaze.md (cbranchsi4): Added immediate
constraints.
(cbranchsi4_reg): New.
* config/microblaze/microblaze.c
(microblaze_expand_conditional_branch_reg): New.
* config/microblaze/microblaze-protos.h
(microblaze_expand_conditional_branch_reg): New prototype.

From-SVN: r222791
gcc/ChangeLog
gcc/config/microblaze/microblaze-protos.h
gcc/config/microblaze/microblaze.c
gcc/config/microblaze/microblaze.md