* f95-lang.c (gfc_init_builtin_functions): Use vold_list_node. Create decls for __builtin_pow{,f}. * gfortran.h (PREFIX_LEN): Define. * trans-decl.c (gfor_fndecl_math_powi): Add. (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove. (gfc_build_intrinsic_function_decls): Create decls for powi. * trans-expr.c (powi_table): Add. (gfc_conv_integer_power): Remove. (gfc_conv_powi): New function. (gfc_conv_cst_int_power): New function. (gfc_conv_power_op): Use new powi routines. * trans.h (struct gfc_powdecl_list): Add. (gfor_fndecl_math_powi): Add. (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove. testsuite/ * gfortran.fortran-torture/execute/power.f90: Test constant integers. libgfortran/ * Makefile.am (i_pow_c): Set it. Add build rule. (gfor_built_src): Use it. (m4_files): add m4/pow.m4. * Makefile.in: Regenerate. * m4/pow.m4: New file. * generated/pow_*.c: Regenerate. From-SVN: r82014
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
all.m4 | Loading commit data... | |
any.m4 | Loading commit data... | |
cexp.m4 | Loading commit data... | |
chyp.m4 | Loading commit data... | |
count.m4 | Loading commit data... | |
cshift1.m4 | Loading commit data... | |
ctrig.m4 | Loading commit data... | |
dotprod.m4 | Loading commit data... | |
dotprodc.m4 | Loading commit data... | |
dotprodl.m4 | Loading commit data... | |
eoshift1.m4 | Loading commit data... | |
eoshift3.m4 | Loading commit data... | |
exponent.m4 | Loading commit data... | |
fraction.m4 | Loading commit data... | |
head.m4 | Loading commit data... | |
iforeach.m4 | Loading commit data... | |
ifunction.m4 | Loading commit data... | |
in_pack.m4 | Loading commit data... | |
in_unpack.m4 | Loading commit data... | |
iparm.m4 | Loading commit data... | |
matmul.m4 | Loading commit data... | |
matmull.m4 | Loading commit data... | |
maxloc0.m4 | Loading commit data... | |
maxloc1.m4 | Loading commit data... | |
maxval.m4 | Loading commit data... | |
minloc0.m4 | Loading commit data... | |
minloc1.m4 | Loading commit data... | |
minval.m4 | Loading commit data... | |
mtype.m4 | Loading commit data... | |
nearest.m4 | Loading commit data... | |
pow.m4 | Loading commit data... | |
product.m4 | Loading commit data... | |
reshape.m4 | Loading commit data... | |
set_exponent.m4 | Loading commit data... | |
shape.m4 | Loading commit data... | |
specific.m4 | Loading commit data... | |
specific2.m4 | Loading commit data... | |
sum.m4 | Loading commit data... | |
transpose.m4 | Loading commit data... | |
types.m4 | Loading commit data... |