mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Christian Melki <christian.melki@t2data.com>
Subject: Re: [ptxdist] [APPLIED] architecture.in: Add AltiVec tuning.
Date: Mon,  5 Dec 2022 13:53:49 +0100	[thread overview]
Message-ID: <20221205125349.2404267-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20221201084242.3929035-1-christian.melki@t2data.com>

Thanks, applied as de879a50a97c0cfbd7987ec6b11fbeede838e91f.

Michael

[sent from post-receive hook]

On Mon, 05 Dec 2022 13:53:49 +0100, Christian Melki <christian.melki@t2data.com> wrote:
> Even if it looks like PPC is a dying breed,
> add an altivec knob for PPC AltiVec/VMX/Velocity engine
> tuning. Altivec is present in more modern designs.
> Afaiu, Most designs that are >=  Power ISA v.2.03
> According to Wikipedia:
> 
> Motorola/Freescale
>     MPC7400
>     MPC7410
>     MPC7450
>     MPC7445/7455
>     MPC7447/7447A/7457
>     MPC7448
>     MPC8641/8641D
>     MPC8640/8640D
>     MPC8610
>     T2081/T2080
>     T4080/T4160/T4240
>     B4420/B4860
> 
> IBM
>     PowerPC 970
>     PowerPC 970FX
>     PowerPC 970MP
>     Xenon
>     Cell B.E.
>     PowerXCell 8i
>     POWER6/POWER6+
>     POWER7/POWER7+
>     POWER8
>     POWER9
>     Power10
> 
> P.A. Semi
>     PA6T
> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20221201084242.3929035-1-christian.melki@t2data.com>
> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/platforms/architecture.in b/platforms/architecture.in
> index 10df8deb2aec..06ed36dde613 100644
> --- a/platforms/architecture.in
> +++ b/platforms/architecture.in
> @@ -269,6 +269,18 @@ config ARCH_ARMV7_NEON
>  	bool
>  	default ARCH_ARM_NEON if ARCH_ARM
>  
> +#
> +# PPC vector instructions
> +#
> +config ARCH_PPC_ALTIVEC
> +	bool
> +	prompt "AltiVec/VMX/Velocity Engine"
> +	depends on ARCH_PPC
> +	help
> +	  This enables optimizations corresponding to single precision
> +	  floating point and integer SIMD instructions on PPC processors.
> +	  This is present on more modern CPUs.
> +
>  #
>  # hardware / software floating point
>  #



      reply	other threads:[~2022-12-05 12:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01  8:42 [ptxdist] [PATCH v2] " Christian Melki
2022-12-05 12:53 ` Michael Olbrich [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=20221205125349.2404267-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /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