aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorFelix Willgerodt <felix.willgerodt@intel.com>2021-07-21 14:38:04 +0200
committerFelix Willgerodt <felix.willgerodt@intel.com>2021-09-03 14:50:16 +0200
commit41bbbb89c4d31a15ef317dd7de8af749d2a35e5f (patch)
treeb503ba2a952da0940f8b87c2533e5f6d97226665 /gdb/testsuite
parent41e37c9d0ac9dfbdaf725112d510cb10e5854f3d (diff)
downloadgdb-41bbbb89c4d31a15ef317dd7de8af749d2a35e5f.zip
gdb-41bbbb89c4d31a15ef317dd7de8af749d2a35e5f.tar.gz
gdb-41bbbb89c4d31a15ef317dd7de8af749d2a35e5f.tar.bz2
gdb, i386: Enable AVX512-bfloat16 for i386 targets.
Values of type bfloat16 can also be used on 32-bit targets, which was missed in the original enablement. This also adjusts the testcase to pass with "unix/-m32", where only the lower 8 AVX registers are available. gdb/ChangeLog: 2021-07-21 Felix Willgerodt <Felix.Willgerodt@intel.com> * features/i386/32bit-sse.xml: Add bfloat16 type. * features/i386/32bit-sse.c: Regenerated. gdb/testsuite/ChangeLog: 2021-07-21 Felix Willgerodt <Felix.Willgerodt@intel.com> * gdb.arch/x86-avx512bf16.exp: Only use x/z/ymm 0-7.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.arch/x86-avx512bf16.exp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.arch/x86-avx512bf16.exp b/gdb/testsuite/gdb.arch/x86-avx512bf16.exp
index 2052816..528e79f 100644
--- a/gdb/testsuite/gdb.arch/x86-avx512bf16.exp
+++ b/gdb/testsuite/gdb.arch/x86-avx512bf16.exp
@@ -64,11 +64,11 @@ gdb_test "print \$zmm6.v32_bfloat16\[1\]" "= 68.5"
# Test setting of bfloat values
gdb_test_no_output "set var \$xmm0.v8_bfloat16\[0\] = 32.25" \
"set %xmm0.v8_bfloat16\[0\]"
-gdb_test_no_output "set var \$ymm8.v16_bfloat16\[1\] = 33.5" \
- "set %ymm8.v16_bfloat16\[1\]"
-gdb_test_no_output "set var \$zmm16.v32_bfloat16\[2\] = 22.75" \
- "set %zmm16.v32_bfloat16\[2\]"
+gdb_test_no_output "set var \$ymm4.v16_bfloat16\[1\] = 33.5" \
+ "set %ymm4.v16_bfloat16\[1\]"
+gdb_test_no_output "set var \$zmm7.v32_bfloat16\[2\] = 22.75" \
+ "set %zmm7.v32_bfloat16\[2\]"
gdb_test "p \$xmm0.v8_bfloat16\[0\]" "= 32.25"
-gdb_test "p \$ymm8.v16_bfloat16\[1\]" "= 33.5"
-gdb_test "p \$zmm16.v32_bfloat16\[2\]" "= 22.75"
+gdb_test "p \$ymm4.v16_bfloat16\[1\]" "= 33.5"
+gdb_test "p \$zmm7.v32_bfloat16\[2\]" "= 22.75"