diff options
author | Richard Guenther <rguenther@suse.de> | 2006-10-25 13:01:14 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-10-25 13:01:14 +0000 |
commit | bb7f04236c6c8c1f248f27eb86d9eb486a93c64b (patch) | |
tree | a42a7cd31e5e9d2deb0e1ba2a6a9064a8aeaef12 /gcc/genopinit.c | |
parent | ef984648a15c2c9b8b5127c1ac2e10f3f9793cec (diff) | |
download | gcc-bb7f04236c6c8c1f248f27eb86d9eb486a93c64b.tar.gz |
optabs.h (enum optab_index): Remove OTI_lrint.
2006-10-25 Richard Guenther <rguenther@suse.de>
* optabs.h (enum optab_index): Remove OTI_lrint.
(enum convert_optab_index): Add COI_lrint.
(lrint_optab): Adjust.
(expand_sfix_optab): Declare.
* optabs.c (expand_sfix_optab): New function.
(init_optabs): Init lrint_optab as conversion optab.
* genopinit.c (lrint_optab): Change to a conversion optab.
* builtins.c (expand_builtin_int_roundingfn_2): Adjust to
expansion via conversion optab.
* config/i386/i386.md (*fistdi2_1): Remove
flag_unsafe_math_optimizations guard.
(fistdi2, fistdi2_with_temp, *fist<mode>2_1, fist<mode>2,
fist<mode>2_with_temp): Likewise.
(lrint<mode>2): Split into...
(lrintxf<mode>2): ... x87 part
(lrint<mode>di2, lrint<mode>si2): ... and SSE parts.
* config/i386/sse.md (sse_cvtss2si_2, sse_cvtss2_siq_2,
sse2_cvtsd2si_2, sse2_cvtsd2siq_2): New insns for
UNSPEC_FIX_NOTRUNC matching non-vector float modes.
* doc/md.texi (lrintMN2): Document.
From-SVN: r118029
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r-- | gcc/genopinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c index 4f7bd46595c..15757353a00 100644 --- a/gcc/genopinit.c +++ b/gcc/genopinit.c @@ -127,7 +127,7 @@ static const char * const optabs[] = "btrunc_optab->handlers[$A].insn_code = CODE_FOR_$(btrunc$a2$)", "nearbyint_optab->handlers[$A].insn_code = CODE_FOR_$(nearbyint$a2$)", "rint_optab->handlers[$A].insn_code = CODE_FOR_$(rint$a2$)", - "lrint_optab->handlers[$A].insn_code = CODE_FOR_$(lrint$a2$)", + "lrint_optab->handlers[$B][$A].insn_code = CODE_FOR_$(lrint$F$a$I$b2$)", "sincos_optab->handlers[$A].insn_code = CODE_FOR_$(sincos$a3$)", "sin_optab->handlers[$A].insn_code = CODE_FOR_$(sin$a2$)", "asin_optab->handlers[$A].insn_code = CODE_FOR_$(asin$a2$)", |