The changes are made in the patch for optimized usage of fint instruction.
authorAjit Agarwal <ajitkum@xilinx.com>
Tue, 5 May 2015 01:07:26 +0000 (01:07 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Tue, 5 May 2015 01:07:26 +0000 (01:07 +0000)
commit0bb87e8a83d3b9e0d56e1cddb4dad667eaa6e195
tree6316503f963ae5cd05c04b199351daba3723c3cc
parent2277469bc81de637bfcfacd9b211b9df1c0f16d5
The changes are made in the patch for optimized usage of fint instruction.

The sequence of fint/cond_branch is replaced with fcmp/cond_branch. The
fint instruction takes 6/7 cycles as compared to fcmp instruction which
takes 1 cycles. The conversion from float to int with fint instruction
is not required and can directly compared with fcmp instruction which
takes 1 cycle as compared to 6/7 cycles with fint instruction.

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

* config/microblaze/microblaze.md (peephole2): New.

From-SVN: r222790
gcc/ChangeLog
gcc/config/microblaze/microblaze.md