public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Marcus Shawcroft <marcus.shawcroft@arm.com>
To: Tejas Belagod <Tejas.Belagod@arm.com>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: [Patch, AArch64, AArch64-4.7] Map scalar types in arm_neon.h to standard types.
Date: Fri, 18 Jan 2013 10:33:00 -0000	[thread overview]
Message-ID: <50F9250A.4000504@arm.com> (raw)
In-Reply-To: <50F9230A.40208@arm.com>

On 18/01/13 10:25, Tejas Belagod wrote:
>
> Hi,
>
> The attached patch fixes one of arm_neon.h's issues with C++. All scalar types
> <type>x1_t are mapped to internal __builtin_aarch64_simd_<type> types. This
> creates duplicate function name symbols when one attempts overloading a standard
> type and one of these builtin types that are of the same size. For example,
> int8x1_t when overloaded with signed char creates a duplicate function name
> symbol. This patch increases the strictness and maps scalar types <type>x1_t to
> standard types. This means overloading is not possible, but that will not make a
> difference as we can now define it this way and needless to say it was broken
> till now anyway.
>
> Tested for aarch64-none-elf. OK for trunk and aarch64-4.7-branch?
>
> Thanks,
> Tejas Belagod
> ARM.
>
> Changelog:
>
> 2013-01-18  Tejas Belagod  <tejas.belagod@arm.com>
>
> gcc/
> 	* config/aarch64/arm_neon.h: Map scalar types to standard types.
>

OK

      reply	other threads:[~2013-01-18 10:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-18 10:25 Tejas Belagod
2013-01-18 10:33 ` Marcus Shawcroft [this message]

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=50F9250A.4000504@arm.com \
    --to=marcus.shawcroft@arm.com \
    --cc=Tejas.Belagod@arm.com \
    --cc=gcc-patches@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: link
Be 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).