public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-7227] aarch64: Fix bf16_v(ld|st)n.c failures for big-endian
@ 2020-03-17 19:24 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2020-03-17 19:24 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:cf9c3bff39cf973c5c8621ff44199dcb831193a7

commit r10-7227-gcf9c3bff39cf973c5c8621ff44199dcb831193a7
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Tue Mar 17 15:36:37 2020 +0000

    aarch64: Fix bf16_v(ld|st)n.c failures for big-endian
    
    gcc.target/aarch64/advsimd-intrinsics/bf16_vldn.c and
    gcc.target/aarch64/advsimd-intrinsics/bf16_vstn.c were
    failing for big-endian targets because the <Vmtype> in
    aarch64_be_ld1<mode> and aarch64_be_st1<mode> had no
    expansion for the bfloat16 modes.
    
    2020-03-17  Richard Sandiford  <richard.sandiford@arm.com>
    
    gcc/
            * config/aarch64/iterators.md (Vmtype): Handle V4BF and V8BF.

Diff:
---
 gcc/ChangeLog                   | 4 ++++
 gcc/config/aarch64/iterators.md | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 508b10423be..642954d93f1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2020-03-17  Richard Sandiford  <richard.sandiford@arm.com>
+
+	* config/aarch64/iterators.md (Vmtype): Handle V4BF and V8BF.
+
 2020-03-17  Andre Vieira  <andre.simoesdiasvieira@arm.com>
             Mihail Ionescu  <mihail.ionescu@arm.com>
             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
diff --git a/gcc/config/aarch64/iterators.md b/gcc/config/aarch64/iterators.md
index 95fa3e4baa1..8e434389e59 100644
--- a/gcc/config/aarch64/iterators.md
+++ b/gcc/config/aarch64/iterators.md
@@ -1000,7 +1000,8 @@
 			 (V4HI ".4h") (V8HI  ".8h")
 			 (V2SI ".2s") (V4SI  ".4s")
 			 (V2DI ".2d") (V4HF ".4h")
-			 (V8HF ".8h") (V2SF ".2s")
+			 (V8HF ".8h") (V4BF ".4h")
+			 (V8BF ".8h") (V2SF ".2s")
 			 (V4SF ".4s") (V2DF ".2d")
 			 (DI   "")    (SI   "")
 			 (HI   "")    (QI   "")


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-17 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17 19:24 [gcc r10-7227] aarch64: Fix bf16_v(ld|st)n.c failures for big-endian Richard Sandiford

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