bfin.c: Include "optabs.h".
authorBernd Schmidt <bernd.schmidt@analog.com>
Thu, 4 May 2006 11:10:03 +0000 (11:10 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 4 May 2006 11:10:03 +0000 (11:10 +0000)
commit42da70b76e5d7818e9c44c171b354b0ce3226dd0
treecd49c6be4cebd67fb8344a92e4327ac7c26fb89c
parent554006bd1a4ac1a43bb386198b69682691c7496f
bfin.c: Include "optabs.h".

* config/bfin/bfin.c: Include "optabs.h".
(bfin_rtx_costs): Some costs for vector operations, to allow combine
to do more work.
(enum bfin_builtins): Add a number of fractional and vector builtins.
(bfin_init_builtins): Likewise.
(struct builtin_description, bdesc_2arg, bdesc_1arg): New.
(safe_vector_operand, bfin_expand_binop_builtin,
bfin_expand_unop_builtin): New functions.
(bfin_expand_builtin): Handle the new builtins.
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
__ADSPBLACKFIN__.

From-SVN: r113521
gcc/ChangeLog
gcc/config/bfin/bfin.c
gcc/config/bfin/bfin.h