public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: William Schmidt <wschmidt@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/wschmidt/heads/builtins4)] rs6000: Write output to the vector definition include file Date: Mon, 2 Nov 2020 00:39:28 +0000 (GMT) [thread overview] Message-ID: <20201102003928.95BDA3857C6C@sourceware.org> (raw) https://gcc.gnu.org/g:9c576129a7b0f8b406f340d5a0ab13b8d7952c1e commit 9c576129a7b0f8b406f340d5a0ab13b8d7952c1e Author: Bill Schmidt <wschmidt@linux.ibm.com> Date: Sun Nov 1 19:39:07 2020 -0500 rs6000: Write output to the vector definition include file 2020-11-01 Bill Schmidt <wschmidt@linux.ibm.com> * config/rs6000/rs6000-gen-builtins.c (write_defines_file): Implement. Diff: --- gcc/config/rs6000/rs6000-gen-builtins.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gcc/config/rs6000/rs6000-gen-builtins.c b/gcc/config/rs6000/rs6000-gen-builtins.c index 489795d6897..f6a2357d816 100644 --- a/gcc/config/rs6000/rs6000-gen-builtins.c +++ b/gcc/config/rs6000/rs6000-gen-builtins.c @@ -2008,6 +2008,17 @@ write_init_file () static int write_defines_file () { + for (int i = 0; i < num_ovld_stanzas; i++) + if (strcmp (ovld_stanzas[i].extern_name, "SKIP")) + { + if (ovld_stanzas[i].ifdef) + fprintf (defines_file, "#ifdef %s\n", ovld_stanzas[i].ifdef); + fprintf (defines_file, "#define %s %s\n", + ovld_stanzas[i].extern_name, + ovld_stanzas[i].intern_name); + if (ovld_stanzas[i].ifdef) + fprintf (defines_file, "#endif\n"); + } return 1; }
next reply other threads:[~2020-11-02 0:39 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-02 0:39 William Schmidt [this message] 2020-11-24 16:43 William Schmidt 2020-12-16 18:05 William Schmidt 2021-02-07 18:12 William Schmidt
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=20201102003928.95BDA3857C6C@sourceware.org \ --to=wschmidt@gcc.gnu.org \ --cc=gcc-cvs@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).