This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [bfin] Add more new Blackfin builtins
- From: Bernd Schmidt <bernds_cb1 at t-online dot de>
- To: Jie Zhang <jzhang918 at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 24 Aug 2007 20:47:11 +0200
- Subject: Re: [bfin] Add more new Blackfin builtins
- References: <46CF11CE.5070202@gmail.com>
Jie Zhang wrote:
This patch adds more Blackfin builtins in gcc: __builtin_bfin_ones,
__builtin_bfin_cmplx_mul_s40, __builtin_bfin_cmplx_mac_s40,
__builtin_bfin_cmplx_msu_s40 and __builtin_bfin_csqu_fr16.
It also adds __builtin_bfin_cmplx_add and __builtin_bfin_cmplx_sub as
aliases to __builtin_bfin_add_fr2x16 and __builtin_bfin_sub_fr2x16
respectively.
Given that we wrap all the builtins in other names in a header file
anyway, does this buy us anything?
It also enables __builtin_bfin_min_fr1x16, __builtin_bfin_max_fr1x16,
__builtin_bfin_min_fr1x32 and __builtin_bfin_max_fr1x32, whose
implementations have been in gcc already.
Otherwise ok.
Bernd
--
This footer brought to you by insane German lawmakers.
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif