public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54222] [avr] Implement fixed-point support Date: Fri, 25 Jan 2013 09:28:00 -0000 [thread overview] Message-ID: <bug-54222-4-RFgNMIxTpD@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-54222-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54222 --- Comment #10 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2013-01-25 09:28:14 UTC --- Author: gjl Date: Fri Jan 25 09:28:09 2013 New Revision: 195464 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195464 Log: gcc/ PR target/54222 * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. Add NULL LIBNAME argument to existing definitions. (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. * config/avr/avr.c (DEF_BUILTIN): Same. (avr_init_builtins): Pass down LIBNAME to add_builtin_function. (avr_expand_builtin): Expand to a vanilla call if a libgcc implementation is available (DECL_ASSEMBLER_NAME is set). (avr_fold_absfx): New static function. (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, AVR_BUILTIN_ABSLLK. * config/avr/stdfix.h (abshr, absr, abslr, absllr) (abshk, absk, abslk, absllk): Provide as static inline functions. gcc/testsuite/ PR target/54222 * gcc.target/avr/torture/builtins-3-absfx.c: New test. Added: trunk/gcc/testsuite/gcc.target/avr/torture/builtins-3-absfx.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/avr/avr-c.c trunk/gcc/config/avr/avr.c trunk/gcc/config/avr/builtins.def trunk/gcc/config/avr/stdfix.h trunk/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2013-01-25 9:28 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-10 14:13 [Bug target/54222] New: " gjl at gcc dot gnu.org 2012-08-10 14:21 ` [Bug target/54222] " gjl at gcc dot gnu.org 2012-08-10 14:24 ` gjl at gcc dot gnu.org 2012-08-11 10:21 ` gjl at gcc dot gnu.org 2012-08-11 10:26 ` gjl at gcc dot gnu.org 2012-08-24 12:43 ` gjl at gcc dot gnu.org 2012-08-24 13:02 ` gjl at gcc dot gnu.org 2012-09-15 15:52 ` gjl at gcc dot gnu.org 2012-09-17 7:59 ` gjl at gcc dot gnu.org 2012-11-22 10:00 ` gjl at gcc dot gnu.org 2013-01-23 15:14 ` gjl at gcc dot gnu.org 2013-01-25 9:28 ` gjl at gcc dot gnu.org [this message] 2013-01-29 10:33 ` gjl at gcc dot gnu.org 2013-02-08 10:14 ` gjl at gcc dot gnu.org 2013-02-12 14:55 ` gjl at gcc dot gnu.org 2013-02-20 8:44 ` gjl at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-54222-4-RFgNMIxTpD@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).