public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][GCC][Arm]: MVE: Add C++ polymorphism and fix some more issues
@ 2020-04-07 14:19 Andre Vieira (lists)
  2020-04-07 14:52 ` Kyrylo Tkachov
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Vieira (lists) @ 2020-04-07 14:19 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

Hi,

This patch adds C++ polymorphism for the MVE intrinsics, by using the 
native C++ polymorphic functions when C++ is used.

It also moves the PRESERVE name macro definitions to the right place so 
that the variants without the '__arm_' prefix are not available if we 
define the PRESERVE NAMESPACE macro.

This patch further fixes two testisms that were brought to light by C++ 
testing added in this patch.

Regression tested on arm-none-eabi.

Is this OK for trunk?

gcc/ChangeLog:
2020-04-07  Andre Vieira  <andre.simoesdiasvieira@arm.com>

         * config/arm/arm_mve.h: Add C++ polymorphism and fix
         preserve MACROs.

gcc/testsuite/ChangeLog:
2020-04-07  Andre Vieira  <andre.simoesdiasvieira@arm.com>

         * g++.target/arm/mve.exp: New.
         * gcc.target/arm/mve/intrinsics/vcmpneq_n_f16: Fix testism.
         * gcc.target/arm/mve/intrinsics/vcmpneq_n_f32: Likewise.


[-- Attachment #2: mve_c++_polymorphism.zip --]
[-- Type: application/x-zip-compressed, Size: 57534 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH][GCC][Arm]: MVE: Add C++ polymorphism and fix some more issues
  2020-04-07 14:19 [PATCH][GCC][Arm]: MVE: Add C++ polymorphism and fix some more issues Andre Vieira (lists)
@ 2020-04-07 14:52 ` Kyrylo Tkachov
  0 siblings, 0 replies; 2+ messages in thread
From: Kyrylo Tkachov @ 2020-04-07 14:52 UTC (permalink / raw)
  To: Andre Simoes Dias Vieira, gcc-patches



> -----Original Message-----
> From: Andre Vieira (lists) <andre.simoesdiasvieira@arm.com>
> Sent: 07 April 2020 15:19
> To: gcc-patches@gcc.gnu.org
> Cc: Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>
> Subject: [PATCH][GCC][Arm]: MVE: Add C++ polymorphism and fix some
> more issues
> 
> Hi,
> 
> This patch adds C++ polymorphism for the MVE intrinsics, by using the
> native C++ polymorphic functions when C++ is used.
> 
> It also moves the PRESERVE name macro definitions to the right place so
> that the variants without the '__arm_' prefix are not available if we
> define the PRESERVE NAMESPACE macro.
> 
> This patch further fixes two testisms that were brought to light by C++
> testing added in this patch.
> 
> Regression tested on arm-none-eabi.
> 
> Is this OK for trunk?

Ok.
Thanks,
Kyrill

> 
> gcc/ChangeLog:
> 2020-04-07  Andre Vieira  <andre.simoesdiasvieira@arm.com>
> 
>          * config/arm/arm_mve.h: Add C++ polymorphism and fix
>          preserve MACROs.
> 
> gcc/testsuite/ChangeLog:
> 2020-04-07  Andre Vieira  <andre.simoesdiasvieira@arm.com>
> 
>          * g++.target/arm/mve.exp: New.
>          * gcc.target/arm/mve/intrinsics/vcmpneq_n_f16: Fix testism.
>          * gcc.target/arm/mve/intrinsics/vcmpneq_n_f32: Likewise.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-07 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 14:19 [PATCH][GCC][Arm]: MVE: Add C++ polymorphism and fix some more issues Andre Vieira (lists)
2020-04-07 14:52 ` Kyrylo Tkachov

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).