All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Theo Debrouwere <t.debrouwere@televic.com>,
	Simon Doppler <dopsi@dopsi.ch>,
	Sergey Matyukevich <geomatsi@gmail.com>,
	Mike Harmony <mike.harmony@snapav.com>,
	Bartosz Bilas <b.bilas@grinn-global.com>,
	Davide Viti <zinosat@gmail.com>,
	Jan Kraval <jan.kraval@gmail.com>,
	Ludovic Desroches <ludovic.desroches@microchip.com>,
	Marcin Niestroj <m.niestroj@grinn-global.com>,
	Michel Stempin <michel.stempin@wanadoo.fr>,
	Lothar Felten <lothar.felten@gmail.com>,
	buildroot@buildroot.org, Edgar Bonet <bonet@grenoble.cnrs.fr>,
	Fabio Estevam <festevam@gmail.com>,
	"Yann E . MORIN" <yann.morin.1998@free.fr>,
	Biagio Montaruli <biagio.hkr@gmail.com>
Subject: Re: [Buildroot] [PATCH 00/28] Use the best FPU strategies on 32-bits Arm Cortex
Date: Sat, 22 Jan 2022 15:32:43 +0100	[thread overview]
Message-ID: <20220122153243.009b24ba@windsurf> (raw)
In-Reply-To: <20220118104338.2081259-1-giulio.benetti@benettiengineering.com>

Hello,

On Tue, 18 Jan 2022 11:43:10 +0100
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

> this patchset aims to enable the best FPU strategy for every board with
> 32-bits Arm Cortex actually present in Buildroot. I don't own these boards
> so I can't test these changes. What is about Allwinner doesn't worry me
> because I've tested a lot of cases with Olimex boards, but the other
> changes are still to be tested.
> 
> So I ask to the board maintainers to test the patches that involve their
> boards if possible. Anyway I've checked well all the SoCs Datasheet and I
> think I've made it correctly, even if in some of them it's not specified
> if VFPv4 means -D32. I assume it like that because otherwise -D16 is
> usually specified.

Do we have a good understand of what -mfpu=neon-vfpv4 does? Your patch
series basically converts many defconfigs to use this -mfpu value, but
it's not clear to me how it works. What does it mean to combine NEON
and VFPv4 instructions?

Regarding VFPv4 D16 vs. D32,
https://developer.arm.com/documentation/den0018/a/Compiling-NEON-Instructions/GCC-command-line-options/Option-to-specify-the-FPU
tells us:

  VFPv3 and VFPv4 implementations provide 32 double-precision
  registers. However, when NEON unit is not present, the top sixteen
  registers (D16-D31) become optional. This is shown by the -d16 in the
  option name, which means that the top sixteen D registers are not
  available.

So, my understanding is that when NEON is available, the VFPv4 is
guaranteed to have the 32 double-precision registers (D32).

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2022-01-22 14:32 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 10:43 [Buildroot] [PATCH 00/28] Use the best FPU strategies on 32-bits Arm Cortex Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 01/28] configs/acmesystems_acqua_a5_256mb_defconfig: enable NEON/VFPV4 FPU strategy Giulio Benetti
2022-01-18 17:33   ` Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 02/28] configs/acmesystems_acqua_a5_512mb_defconfig: " Giulio Benetti
2022-01-18 12:58   ` Edgar Bonet
2022-01-18 13:28   ` Edgar Bonet
2022-01-18 13:35     ` Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 03/28] configs/bananapi_m2_plus_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 04/28] configs/bananapi_m2_ultra_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 05/28] configs/beagleboardx15_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 06/28] configs/beagleboneai_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 07/28] configs/chromebook_snow_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 08/28] configs/freescale_imx7dsabresd_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 09/28] configs/friendlyarm_nanopi_m1_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 10/28] configs/friendlyarm_nanopi_m1_plus_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 11/28] configs/friendlyarm_nanopi_neo_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 12/28] configs/friendlyarm_nanopi_r1_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 13/28] configs/grinn_liteboard_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 14/28] configs/licheepi_zero_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 15/28] configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 16/28] configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 17/28] configs/microchip_sama5d2_icp_mmc_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 18/28] configs/microchip_sama5d2_icp_mmc_dev_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 19/28] configs/orangepi_lite_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 20/28] configs/orangepi_one_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 21/28] configs/orangepi_pc_defconfig: " Giulio Benetti
2022-01-23 18:39   ` Sergey Kuzminov
2022-01-18 10:43 ` [Buildroot] [PATCH 22/28] configs/orangepi_pc_plus_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 23/28] configs/orangepi_plus_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 24/28] configs/orangepi_r1_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 25/28] configs/orangepi_zero_defconfig: " Giulio Benetti
2022-01-23 18:07   ` Sergey Kuzminov
2022-01-23 19:12     ` Giulio Benetti
2022-01-23 20:57       ` Yann E. MORIN
2022-01-18 10:43 ` [Buildroot] [PATCH 26/28] configs/stm32mp157a_dk1_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 27/28] configs/stm32mp157c_dk2_defconfig: " Giulio Benetti
2022-01-18 10:43 ` [Buildroot] [PATCH 28/28] configs/stm32mp157c_odyssey_defconfig: " Giulio Benetti
2022-01-22 14:32 ` Thomas Petazzoni [this message]
2022-01-25 20:55   ` [Buildroot] [PATCH 00/28] Use the best FPU strategies on 32-bits Arm Cortex Yann E. MORIN
2022-01-25 21:48     ` Giulio Benetti
  -- strict thread matches above, loose matches on Subject: below --
2022-01-18 10:42 Giulio Benetti

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=20220122153243.009b24ba@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=b.bilas@grinn-global.com \
    --cc=biagio.hkr@gmail.com \
    --cc=bonet@grenoble.cnrs.fr \
    --cc=buildroot@buildroot.org \
    --cc=dopsi@dopsi.ch \
    --cc=festevam@gmail.com \
    --cc=geomatsi@gmail.com \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=jan.kraval@gmail.com \
    --cc=lothar.felten@gmail.com \
    --cc=ludovic.desroches@microchip.com \
    --cc=m.niestroj@grinn-global.com \
    --cc=michel.stempin@wanadoo.fr \
    --cc=mike.harmony@snapav.com \
    --cc=t.debrouwere@televic.com \
    --cc=yann.morin.1998@free.fr \
    --cc=zinosat@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.