aarch64: Fix bf16_v(ld|st)n.c failures for big-endian
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 17 Mar 2020 15:36:37 +0000 (15:36 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 17 Mar 2020 19:23:46 +0000 (19:23 +0000)
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.

gcc/ChangeLog
gcc/config/aarch64/iterators.md

index 508b10423be07dff9bbac422d5b565aaafdd537b..642954d93f169d7c2f8c809529dc42321ad4a715 100644 (file)
@@ -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>
index 95fa3e4baa10209d9436a52e1d74818c6730300a..8e434389e5907f686fc7db5f040e5567e33647ee 100644 (file)
                         (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   "")