Hi Kyrylo, > ________________________________________ > From: Kyrylo Tkachov <kyrylo.tkac...@arm.com> > Sent: Friday, December 11, 2020 11:58 AM > To: Dennis Zhang; gcc-patches@gcc.gnu.org > Cc: nd; Richard Earnshaw; Marcus Shawcroft; Richard Sandiford > Subject: RE: [backport gcc-10][AArch64] ACLE bf16 get > > > -----Original Message----- > > From: Dennis Zhang <dennis.zh...@arm.com> > > Sent: 10 December 2020 14:35 > > To: gcc-patches@gcc.gnu.org > > Cc: nd <n...@arm.com>; Richard Earnshaw <richard.earns...@arm.com>; > > Marcus Shawcroft <marcus.shawcr...@arm.com>; Kyrylo Tkachov > > <kyrylo.tkac...@arm.com>; Richard Sandiford > > <richard.sandif...@arm.com> > > Subject: [backport gcc-10][AArch64] ACLE bf16 get > > > > Hi all, > > > > This patch backports the commit > > 3553c658533e430b232997bdfd97faf6606fb102. > > The original is approved at https://gcc.gnu.org/pipermail/gcc-patches/2020- > > November/557871.html > > There is a change to remove FPCR-reading flag for builtin declaration since > > it's not supported in gcc-10. > > > > Another change is to remove a test (bf16_get-be.c) that fails compiling on > > aarch64-none-linux-gnu in the original patch. > > This is reported at https://gcc.gnu.org/pipermail/gcc-patches/2020- > > November/558195.html > > The failure happens for several bf16 big-endian tests so the bug would be > > fixed in a separate patch. > > And the test should be added after the bug is fixed. > > > > Is it OK to backport? > > But do the tests added here work for big-endian? > Ok if they do. > Thanks, > Kyrill
Thanks for asking. The added test (bf16_get.c) works for both aarch64-none-linux-gnu and aarch64_be-none-linux-gnu. The patch is commited as c25f7eac6555d67523f0520c7e93bbc398d0da84. Cheers Dennis