This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch,microblaze]: Optimized usage of fint instruction.


Hello All:

Please find the patch for the optimized usage of fint instruction changes. No regression is seen
in the deja GNU tests.

commit ed4dc0b96bf43c200cacad97f73a98ab7048e51b
Author: Ajit Kumar Agarwal <ajitkum@xhdspdgnu.(none)>
Date:   Wed Feb 25 15:36:29 2015 +0530

    [Patch,microblaze]: Optimized usage of fint instruction.
    
    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-02-25  Ajit Agarwal  <ajitkum@xilinx.com>
    
        * config/microblaze/microblaze.md (peephole2): New.
    
    Signed-off-by:Ajit Agarwal ajitkum@xilinx.com

Thanks & Regards
Ajit

Attachment: 0001-Patch-microblaze-Optimized-usage-of-fint-instruction.patch
Description: 0001-Patch-microblaze-Optimized-usage-of-fint-instruction.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]