aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2016-02-12 20:32:28 +0100
committerMarcin Koƛcielnicki <koriakin@0x04.net>2016-02-12 21:51:37 +0100
commite44e00ffffe358d91df0ec4a11563eef0c14beb4 (patch)
treeb5917c4070b8c1ce9ff9fc99b310f1fc0ac777c2 /gdb/testsuite/gdb.trace
parent97e9415187158a9dfb3b662888a5d7b5e3bd8244 (diff)
downloadgdb-e44e00ffffe358d91df0ec4a11563eef0c14beb4.zip
gdb-e44e00ffffe358d91df0ec4a11563eef0c14beb4.tar.gz
gdb-e44e00ffffe358d91df0ec4a11563eef0c14beb4.tar.bz2
gdb.trace/tfile-avx.c: Change ymm15 to xmm15 for old gcc.
gcc older than 4.9 doesn't understand ymm15 as a register name. Use xmm15 instead. gdb/testsuite/ChangeLog: * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
Diffstat (limited to 'gdb/testsuite/gdb.trace')
-rw-r--r--gdb/testsuite/gdb.trace/tfile-avx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.trace/tfile-avx.c b/gdb/testsuite/gdb.trace/tfile-avx.c
index 212c556..3cc3ec0 100644
--- a/gdb/testsuite/gdb.trace/tfile-avx.c
+++ b/gdb/testsuite/gdb.trace/tfile-avx.c
@@ -35,7 +35,9 @@ end (void)
int
main (void)
{
- register __v8si a asm("ymm15") = {
+ /* Strictly speaking, it should be ymm15 (xmm15 is 128-bit), but gcc older
+ than 4.9 doesn't recognize "ymm15" as a valid register name. */
+ register __v8si a asm("xmm15") = {
0x12340001,
0x12340002,
0x12340003,