The changes are made in the patch for optimized usage of fint instruction.
commit9237c3dec9904d91bf086d2edede61d58bb0ee18
authoreager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 May 2015 01:07:26 +0000 (5 01:07 +0000)
committereager <eager@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 May 2015 01:07:26 +0000 (5 01:07 +0000)
tree6316503f963ae5cd05c04b199351daba3723c3cc
parent43217dd49fe410ecabc499da3cf7a0b43100f1b7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222790 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/microblaze/microblaze.md