Message ID | 20211210075704.23951-47-frank.chang@sifive.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 993F0C433EF for <qemu-devel@archiver.kernel.org>; Fri, 10 Dec 2021 08:54:21 +0000 (UTC) Received: from localhost ([::1]:60912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org>) id 1mvbfY-0007YL-Ru for qemu-devel@archiver.kernel.org; Fri, 10 Dec 2021 03:54:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <frank.chang@sifive.com>) id 1mvaof-0006Yq-51 for qemu-devel@nongnu.org; Fri, 10 Dec 2021 02:59:41 -0500 Received: from [2607:f8b0:4864:20::429] (port=42783 helo=mail-pf1-x429.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <frank.chang@sifive.com>) id 1mvaod-00070q-6f for qemu-devel@nongnu.org; Fri, 10 Dec 2021 02:59:40 -0500 Received: by mail-pf1-x429.google.com with SMTP id u80so7755924pfc.9 for <qemu-devel@nongnu.org>; Thu, 09 Dec 2021 23:59:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uIsjdMwkyDNkTA1xD3HW4M8Dry4CCyP3fq54zuGewp8=; b=cybmKlX4nayW2ukkLbjU59bOfqneV6eJRSJZkZ6jFs2EwyIAmy7EqA2Gv0skIsYXEJ 4JIKeg6p5T5Khx1FJ0wx9G4Wh030JoIlNKysnQ7SYX3nVkuKgJEkzaFS2RI/e51KwesZ gQKGlkLHBm0uCJLEJ2f+6M5KQqOV4aMpjAKmFppO3siKrVNsQVn0kc4IddYtnUDcM5BA /xvsE/dc83R3duE25F8yb37quO6hohbTaWjfBCuliHwvX6qf2+075HTBgwNiukVzJR/n 6gHFm689H+KLfWfxD5u/dDfpglDLlndWc6jkAOPBjjdFLqnPCKLuAP1ygrZq9RbzloNp +s7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uIsjdMwkyDNkTA1xD3HW4M8Dry4CCyP3fq54zuGewp8=; b=DAtNwjuHc4mAl/J9mlBBqkaHqUUg0Fn5MLjQTirAwedSGxAezLmrlr8WDxXUDvwgqe 8HBORMPBQlRlNvr4NtsKMW7zi25xbJGn+o/CSXzeDaV2iM4kHVJs4u5sRf2x9G0ML86u X4l3szdeqZXEaBI78llxX+T2hJgJkgB3EPFRriYP1hs6mQKOZ7dBIo+VVBt7y3Rs2tzd LauQIMJUjPeQjLpPnKlfqdanqg/Ltrylz1g+UPcZmeqIlSAFgAhkz6JJVzBXn8ZCFEAL hOfir4ICpi8elpIKH/IXwU/IUUQ1Z04bHR/gzqsyqXlX1hQq/hDVnwnCHUpkh0nH0Ek0 HIhQ== X-Gm-Message-State: AOAM5338/VuZSDqMEP3WyqlyD+cXkYuRe3lvwHn32pvGi3vDeC8L3VBU gJ9IMsSkuNRr4YFxKy7uI20mnucA6xXLq0Wc X-Google-Smtp-Source: ABdhPJygmtrQ5N9mUFnWkMszY5MsYAsosesOvUjUvCtq08b/kh/NFMpzoSXNXpLbCNxBNtvbf3YDsQ== X-Received: by 2002:aa7:8717:0:b0:4a2:967c:96b with SMTP id b23-20020aa78717000000b004a2967c096bmr16723894pfo.14.1639123172386; Thu, 09 Dec 2021 23:59:32 -0800 (PST) Received: from hsinchu16.internal.sifive.com (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id f4sm2087955pfg.34.2021.12.09.23.59.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 23:59:32 -0800 (PST) From: frank.chang@sifive.com To: qemu-devel@nongnu.org Subject: [PATCH v11 46/77] target/riscv: rvv-1.0: single-width saturating add and subtract instructions Date: Fri, 10 Dec 2021 15:56:32 +0800 Message-Id: <20211210075704.23951-47-frank.chang@sifive.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211210075704.23951-1-frank.chang@sifive.com> References: <20211210075704.23951-1-frank.chang@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::429 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=frank.chang@sifive.com; helo=mail-pf1-x429.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: qemu-riscv@nongnu.org, Frank Chang <frank.chang@sifive.com>, Bin Meng <bin.meng@windriver.com>, Richard Henderson <richard.henderson@linaro.org>, Alistair Francis <alistair.francis@wdc.com>, Palmer Dabbelt <palmer@dabbelt.com>, LIU Zhiwei <zhiwei_liu@c-sky.com> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> |
Series |
support vector extension v1.0
|
expand
|
diff --git a/target/riscv/insn_trans/trans_rvv.c.inc b/target/riscv/insn_trans/trans_rvv.c.inc index f6202835ff..ed4554b6a1 100644 --- a/target/riscv/insn_trans/trans_rvv.c.inc +++ b/target/riscv/insn_trans/trans_rvv.c.inc @@ -1999,7 +1999,7 @@ GEN_OPIVX_TRANS(vsaddu_vx, opivx_check) GEN_OPIVX_TRANS(vsadd_vx, opivx_check) GEN_OPIVX_TRANS(vssubu_vx, opivx_check) GEN_OPIVX_TRANS(vssub_vx, opivx_check) -GEN_OPIVI_TRANS(vsaddu_vi, IMM_ZX, vsaddu_vx, opivx_check) +GEN_OPIVI_TRANS(vsaddu_vi, IMM_SX, vsaddu_vx, opivx_check) GEN_OPIVI_TRANS(vsadd_vi, IMM_SX, vsadd_vx, opivx_check) /* Vector Single-Width Averaging Add and Subtract */