]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
aarch64: disable feature b16b16
authorMatthieu Longo <Matthieu.Longo@arm.com>
Fri, 12 Jul 2024 08:02:08 +0000 (09:02 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Fri, 12 Jul 2024 10:05:35 +0000 (11:05 +0100)
Feature b16b16 is currently incomplete and requires re-work.

Disable the command line option for b16b16, and mark the associated
tests as XFAIL.

gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi
gas/testsuite/gas/aarch64/bfloat16-1.d
gas/testsuite/gas/aarch64/bfloat16-2-invalid.d

index 8690b8f9142c8daae9571d549abfa5cb72b5696a..ed5ab762bc9f5ac63421e9ae7e56761c367b03a4 100644 (file)
@@ -10705,7 +10705,9 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = {
   {"rasv2",            AARCH64_FEATURE (RASv2), AARCH64_FEATURE (RAS)},
   {"ite",              AARCH64_FEATURE (ITE), AARCH64_NO_FEATURES},
   {"d128",             AARCH64_FEATURE (D128), D128_FEATURE_DEPS},
-  {"b16b16",           AARCH64_FEATURE (B16B16), AARCH64_FEATURE (SVE2)},
+  // Feature b16b16 is currently incomplete.
+  // TODO: finish implementation and enable relevant flags.
+  //{"b16b16",         AARCH64_FEATURE (B16B16), AARCH64_FEATURE (SVE2)},
   {"sme2p1",           AARCH64_FEATURE (SME2p1), AARCH64_FEATURE (SME2)},
   {"sve2p1",           AARCH64_FEATURE (SVE2p1), AARCH64_FEATURE (SVE2)},
   {"rcpc3",            AARCH64_FEATURE (RCPC3), AARCH64_FEATURE (RCPC2)},
index 212630477a1c766d5e983faedbdddd04075b2d6c..8e46038a7875202dd55d089a87b9a8ff5e64303b 100644 (file)
@@ -161,8 +161,8 @@ automatically cause those extensions to be disabled.
 @headitem Extension @tab Depends upon @tab Description
 @item @code{aes} @tab @code{simd}
  @tab Enable the AES and PMULL cryptographic extensions.
-@item @code{b16b16} @tab @code{sve2}
- @tab Enable BFloat16 to BFloat16 arithmetic for SVE2 and SME2.
+@c @item @code{b16b16} @tab @code{sve2}
+@c  @tab Enable BFloat16 to BFloat16 arithmetic for SVE2 and SME2.
 @item @code{bf16} @tab @code{fp}
  @tab Enable BFloat16 extension.
 @item @code{brbe} @tab
index 51f7e6cab2085b9e1a51a856b11bce6b2249aa44..68a47f5afc5fa11088cdda5d9d150888e658fb6c 100644 (file)
@@ -1,6 +1,7 @@
 #name: Test of SVE2.1 and SME2.1 non-widening BFloat16 instructions.
 #as: -march=armv9.4-a+b16b16
 #objdump: -dr
+#xfail: *-*-*
 
 [^:]+:     file format .*
 
index 1cd27454d425b0cb10d538056a7ebb29e4389b29..1e1b701c0e35b03a395abdb174f4ff56725a4689 100644 (file)
@@ -2,3 +2,4 @@
 #as: -march=armv9.4-a+b16b16
 #source: bfloat16-2-invalid.s
 #error_output: bfloat16-2-invalid.l
+#xfail: *-*-*