i386.c (ix86_emit_i387_round): New function.
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 9 Aug 2011 17:59:20 +0000 (19:59 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 9 Aug 2011 17:59:20 +0000 (19:59 +0200)
commit2813f1b15f9629c053c8c8b590cc0632689812a2
treedaa5df2761c54c3ffaafaa3cd31415119564018f
parentc6412d86762ea3c31654c4c72b5e7ef86e66d90e
i386.c (ix86_emit_i387_round): New function.

* config/i386/i386.c (ix86_emit_i387_round): New function.
* config/i386/i386-protos.h (ix86_emit_i387_round): Declare.
* config/i386/i386.md (round<mode>2): Use X87MODEF mode iterator.
Use ix86_emit_i387_round to expand round function for i387 math.
(lround<X87MODEF:mode><SWI248x:mode>2): Use X87MODEF mode iterator.
Use ix86_emit_i387_round to expand {l,ll}round function for i387 math.

From-SVN: r177605
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.md