i386.md (expsf2, [...]): New patterns to implement exp, expf and expl built-ins as inline x87 intrinsics. * config/i386/i386.md (expsf2, expdf2, expxf2): New patterns to implement exp, expf and expl built-ins as inline x87 intrinsics. (UNSPEC_FSCALE, UNSPEC_FRNDINT, UNSPEC_F2XM1): New unspecs to represent x87's fscale, frndint and f2xm1 insns respectively. (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): New insn patterns to encode x87's "fscale" instruction followed by a pop. (*frndintxf2): New insn pattern for "frndint". (*f2xm1xf2): New insn pattern for "f2xm1". * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT and UNSPEC_F2XM1 like UNSPEC_{SIN,COS} and handle UNSPEC_FSCALE like UNSPEC_FPATAN. * gcc.dg/builtins-22.c: New test case. * gcc.dg/i386-387-1.c: Update to test exp. * gcc.dg/i386-387-2.c: Likewise. From-SVN: r67973
Name |
Last commit
|
Last update |
---|---|---|
INSTALL | Loading commit data... | |
boehm-gc | Loading commit data... | |
config | Loading commit data... | |
contrib | Loading commit data... | |
fastjar | Loading commit data... | |
gcc | Loading commit data... | |
include | Loading commit data... | |
libf2c | Loading commit data... | |
libffi | Loading commit data... | |
libiberty | Loading commit data... | |
libjava | Loading commit data... | |
libobjc | Loading commit data... | |
libstdc++-v3 | Loading commit data... | |
maintainer-scripts | Loading commit data... | |
zlib | Loading commit data... | |
.cvsignore | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
MAINTAINERS | Loading commit data... | |
Makefile.def | Loading commit data... | |
Makefile.in | Loading commit data... | |
Makefile.tpl | Loading commit data... | |
README | Loading commit data... | |
config-ml.in | Loading commit data... | |
config.guess | Loading commit data... | |
config.if | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.in | Loading commit data... | |
install-sh | Loading commit data... | |
libtool.m4 | Loading commit data... | |
ltcf-c.sh | Loading commit data... | |
ltcf-cxx.sh | Loading commit data... | |
ltcf-gcj.sh | Loading commit data... | |
ltconfig | Loading commit data... | |
ltmain.sh | Loading commit data... | |
missing | Loading commit data... | |
mkdep | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
symlink-tree | Loading commit data... | |
ylwrap | Loading commit data... |