public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] RISC-V: gdb.base/gnu_vector fixes.
@ 2018-11-06 21:43 Jim Wilson
  2018-11-06 21:44 ` [PATCH 3/3] " Jim Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jim Wilson @ 2018-11-06 21:43 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

This set of patches fixes these infcall related failures on a rv64gc
linux system.
FAIL: gdb.base/gnu_vector.exp: call add_many_charvecs
FAIL: gdb.base/gnu_vector.exp: call add_various_floatvecs

The first one fails because we have 2 4-byte vector args passed in the
same 8-byte stack slot.  The code is failing round up the address of a
stack slot when an arg is smaller than the stack slot size.

The second one fails because of two problems.  The 16-byte vector of
floats is given 4 byte alignment when it should have 16 byte
alignment. This is because there is no support for vector types.  And
unnamed args that require twice XLEN alignment are supposed to be
passed in aligned register pairs.  The support for this is also
missing.

This was tested on a rv64gc linux system with the gdb testsuite, and
it fixes 2 failures without causing any regressions.

Jim

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

end of thread, other threads:[~2018-11-13  1:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-06 21:43 [PATCH 0/3] RISC-V: gdb.base/gnu_vector fixes Jim Wilson
2018-11-06 21:44 ` [PATCH 3/3] " Jim Wilson
2018-11-08 14:34   ` Andrew Burgess
2018-11-08 14:44     ` Andrew Burgess
2018-11-06 21:44 ` [PATCH 1/3] " Jim Wilson
2018-11-08 15:43   ` Andrew Burgess
2018-11-13  1:52     ` Jim Wilson
2018-11-06 21:44 ` [PATCH 2/3] " Jim Wilson
2018-11-08 14:37   ` Andrew Burgess

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).