This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [bfin] Add more new Blackfin builtins


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]