From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47100 invoked by alias); 6 Nov 2018 21:43:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 47071 invoked by uid 89); 6 Nov 2018 21:43:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:910 X-HELO: mail-ua1-f68.google.com Received: from mail-ua1-f68.google.com (HELO mail-ua1-f68.google.com) (209.85.222.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Nov 2018 21:43:27 +0000 Received: by mail-ua1-f68.google.com with SMTP id d21so5113715uap.9 for ; Tue, 06 Nov 2018 13:43:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=1/RT3dASh3oEQzJKOArd7B3pKCatBh7jn5gD/P/G09w=; b=nTRGUgHtJxhZZacLKf1cWBPBgif0X65RblBQZcfT2LUVTb5sfMtUaC2zc3OLc7aLv2 cjxbo0Q+aS1xh1+KtpE7R7YVAK1XnQtKohw/yRqHZLN6os+xzIarqgrwi7XoD27Nz/oK GLQPUJyCnQPBqtSVfDadGo1TrRodik5eodwaGQorg4bVJUVnIB0qAs3r1qiPIrn1lmL+ xlm6tlSqfPzIcJd16wHBprovG6+LMT6DD8cHT8ioJ863277MQUgbJUy0MODEnHNiwE92 nKztVh+wC/lw3D1vB9xqujNSDtoE8avrVWIMIbzPfm2BVnscXa73/xoOx/K5tXRZPXzf 53Jw== MIME-Version: 1.0 From: Jim Wilson Date: Tue, 06 Nov 2018 21:43:00 -0000 Message-ID: Subject: [PATCH 0/3] RISC-V: gdb.base/gnu_vector fixes. To: gdb-patches@sourceware.org Cc: Andrew Burgess Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-11/txt/msg00078.txt.bz2 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