public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Add vector ABI tests to gnu_vector.exp
@ 2015-06-17  9:39 sergiodj+buildbot
  2015-06-17  9:41 ` Failures on Debian-i686, branch master sergiodj+buildbot
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: sergiodj+buildbot @ 2015-06-17  9:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e6c693af14c0488998a784d560b8cfbcf15db99a ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: e6c693af14c0488998a784d560b8cfbcf15db99a

Add vector ABI tests to gnu_vector.exp
So far the gnu_vector test was limited to "static" aspects of GDB's
vector support, like evaluating vector-valued expressions.  This patch
enriches the test and adds checks for GDB's vector ABI support as well.
The new checks particularly verify inferior function calls with vector
arguments and GDB's handling of vector return values.

The test now attempts to compile for the target's "native" architecture,
such that a hardware vector ABI is used if available.

Since GDB has no vector ABI support for x86 and x86_64 targets, most of
the new checks are KFAILed there.

gdb/testsuite/ChangeLog:

	* gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
	(VECTOR): New macro.  Use it...
	(int4, uint4, char4, float4, int2, longlong2, float2, double2):
	...for these typedefs.
	(int8, char1, int1, double1): New typedefs.
	(struct just_int2, struct two_int2): New structures.
	(add_some_intvecs, add_many_charvecs, add_various_floatvecs)
	(add_structvecs, add_singlevecs): New functions.
	(main): Call add_some_intvecs twice.
	* gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
	the compile and exit upon failure.  Try compiling for the "native"
	architecture.  Test inferior function calls with vector arguments
	and vector return value handling with "finish" and "return".


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-06-17 11:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-17  9:39 [binutils-gdb] Add vector ABI tests to gnu_vector.exp sergiodj+buildbot
2015-06-17  9:41 ` Failures on Debian-i686, branch master sergiodj+buildbot
2015-06-17  9:45 ` Failures on Fedora-ppc64be-cc-with-index, " sergiodj+buildbot
2015-06-17  9:50 ` Failures on Debian-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-06-17 10:01 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
2015-06-17 10:17 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
2015-06-17 10:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2015-06-17 10:23 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2015-06-17 10:24 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2015-06-17 10:38 ` Failures on Debian-x86_64-m64, " sergiodj+buildbot
2015-06-17 10:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-06-17 10:44 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-06-17 10:53 ` Failures on Debian-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2015-06-17 10:59 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2015-06-17 11:19 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
2015-06-17 11:41 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).