From: Marcin Kościelnicki Date: Fri, 12 Feb 2016 19:32:28 +0000 (+0100) Subject: gdb.trace/tfile-avx.c: Change ymm15 to xmm15 for old gcc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e44e00ffffe358d91df0ec4a11563eef0c14beb4;p=binutils-gdb.git 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. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 89aa2d7dd85..6ef89326901 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-02-12 Marcin Kościelnicki + + * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15. + 2016-02-12 Simon Marchi * i386-biarch-core.exp: Define corefile using diff --git a/gdb/testsuite/gdb.trace/tfile-avx.c b/gdb/testsuite/gdb.trace/tfile-avx.c index 212c5563530..3cc3ec0793a 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,