From patchwork Sun May 26 01:09:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 165186 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp5439870ili; Sat, 25 May 2019 18:44:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTvzHji0kHzJqj1xsqr4wN2CCJjAP6lFGNV0z/dI1edRziReKkhGmS+sGoXNFW5akoeY1z X-Received: by 2002:a67:2c51:: with SMTP id s78mr38615709vss.114.1558835072947; Sat, 25 May 2019 18:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558835072; cv=none; d=google.com; s=arc-20160816; b=BEZjxF8Pl7D0dGjVlg6avwQnT10z2lmGrIShpTRcluHj89E75aZXNYJpxcs+9U3Ai5 /owYhSA9yk3sM6+VPZRnF9Fl1eiN39Oayiv0nvQ9HHsAD4mrAZA2zHXGIIJCWh2XfIHR PEaH5B5Z+I2N18ZhDxn8qoYvDLo1NbAJuDT1n08wYCHzlrNnV9ibcgDq6UGo33fh7Ijk 4DRf76Dw8xHR9Rp+E1VJHC/vmMGwAWzVKGDy/20U0SAtT8DvoeoTUl1TPS4CFvfmzFtZ k63wkFj/bRRkH2S/XpFMTY7Kb5tZiXtO1E5kKs7CbJeVNfWLgVhsgzLQWI5I4mq2XD51 cQlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:to:from :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date; bh=wFaos8LfgCUNeyF5mCTB+VZebrOrlkwKLg03H+AhURg=; b=N1DaYEwzjtpumbndYNQ01jutWyEj68VhnhjuGxpMfQu2gUaYVtp5JBSlkNRTu5TK29 5boLM5ZsnulTYLflA+gD5Cs7lznP4ZDyqiS1F1WC9Cgwuu5Uv7zMY4YUw68M+mDZgy7m 59H2wxlb4H0cBqzQR2ST/AbY1iVK89LIiN7CnQxueJl+wXZtI2Zi5M3L39foMcOr4g1I hCs1yhV5YHaLgJE8N7lHrkt0F6C0RvYwXR3k291tgwn4lk3TguxzT4SPrRMQOAk4hPXU GRfNnGmNx0sqGHV0ynd/AOSswMf610+O+K3rqyMM2q4o9XdHuYQF1FOi45yQUaSRLB+5 JNMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u22si2470194vsp.51.2019.05.25.18.44.32 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 25 May 2019 18:44:32 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([127.0.0.1]:49359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUiDA-0000wz-FY for patch@linaro.org; Sat, 25 May 2019 21:44:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUhxM-0003HK-Ef for qemu-devel@nongnu.org; Sat, 25 May 2019 21:28:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUhg6-0005zq-1x for qemu-devel@nongnu.org; Sat, 25 May 2019 21:10:23 -0400 Received: from mail-pf1-f178.google.com ([209.85.210.178]:41330) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUhg4-0005rT-36 for qemu-devel@nongnu.org; Sat, 25 May 2019 21:10:21 -0400 Received: by mail-pf1-f178.google.com with SMTP id q17so2651154pfq.8 for ; Sat, 25 May 2019 18:10:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:cc:from:to; bh=wFaos8LfgCUNeyF5mCTB+VZebrOrlkwKLg03H+AhURg=; b=M5R0jxQjooNt1DqR/qWIA9cy/FrIrfLhS4OoeStCY8V4cpPzYGeb+KajdlnSpjOt0G u70BD0Ed1KAHQLfWeTzEQamrk/RlUtXsgEJFhWMOG/I5eAM7sieTiBbFfbzXLjmroLJX 222l8NVFnxH87eaTYevFzfab5pciWupcV4yBtOl3c44xkR+QidCd/dsq5f9X3nEFALaq +YshDsX70oFXyhYXcD9Kiy9GkehJaoCq6nifJb54v/dLNgUcAXEwDcjtW1lgpR5cbo2U RFugR3oYVTDtFqLdrWDjdgJwaXZzEYuKMtAdCOCAW6u+vAQGm9Ql1al3+2P//eG894Y2 5UqQ== X-Gm-Message-State: APjAAAV4IQ+joKbXyrAAGayxPRSUhAAMXAdWKfPJrbuTXM5VubpKmfEd L1RYr8DMGrRyZ+KxS5iXIP8qnA== X-Received: by 2002:a63:2c4a:: with SMTP id s71mr99074975pgs.343.1558833016754; Sat, 25 May 2019 18:10:16 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id x7sm6918429pfm.82.2019.05.25.18.10.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 May 2019 18:10:15 -0700 (PDT) Date: Sat, 25 May 2019 18:09:30 -0700 Message-Id: <20190526010948.3923-12-palmer@sifive.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190526010948.3923-1-palmer@sifive.com> References: <20190526010948.3923-1-palmer@sifive.com> MIME-Version: 1.0 From: Palmer Dabbelt To: Peter Maydell X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.210.178 Subject: [Qemu-devel] [PULL 11/29] target/riscv: Remove spaces from register names X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , Palmer Dabbelt , qemu-riscv@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson These extra spaces make the "-d op" dump look weird. Signed-off-by: Richard Henderson Reviewed-by: Palmer Dabbelt Signed-off-by: Palmer Dabbelt --- target/riscv/cpu.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.21.0 diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index b7675707e0fe..6a58bc9e9d90 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -30,17 +30,17 @@ static const char riscv_exts[26] = "IEMAFDQCLBJTPVNSUHKORWXYZG"; const char * const riscv_int_regnames[] = { - "zero", "ra ", "sp ", "gp ", "tp ", "t0 ", "t1 ", "t2 ", - "s0 ", "s1 ", "a0 ", "a1 ", "a2 ", "a3 ", "a4 ", "a5 ", - "a6 ", "a7 ", "s2 ", "s3 ", "s4 ", "s5 ", "s6 ", "s7 ", - "s8 ", "s9 ", "s10 ", "s11 ", "t3 ", "t4 ", "t5 ", "t6 " + "zero", "ra", "sp", "gp", "tp", "t0", "t1", "t2", + "s0", "s1", "a0", "a1", "a2", "a3", "a4", "a5", + "a6", "a7", "s2", "s3", "s4", "s5", "s6", "s7", + "s8", "s9", "s10", "s11", "t3", "t4", "t5", "t6" }; const char * const riscv_fpr_regnames[] = { - "ft0 ", "ft1 ", "ft2 ", "ft3 ", "ft4 ", "ft5 ", "ft6 ", "ft7 ", - "fs0 ", "fs1 ", "fa0 ", "fa1 ", "fa2 ", "fa3 ", "fa4 ", "fa5 ", - "fa6 ", "fa7 ", "fs2 ", "fs3 ", "fs4 ", "fs5 ", "fs6 ", "fs7 ", - "fs8 ", "fs9 ", "fs10", "fs11", "ft8 ", "ft9 ", "ft10", "ft11" + "ft0", "ft1", "ft2", "ft3", "ft4", "ft5", "ft6", "ft7", + "fs0", "fs1", "fa0", "fa1", "fa2", "fa3", "fa4", "fa5", + "fa6", "fa7", "fs2", "fs3", "fs4", "fs5", "fs6", "fs7", + "fs8", "fs9", "fs10", "fs11", "ft8", "ft9", "ft10", "ft11" }; const char * const riscv_excp_names[] = {