From patchwork Fri Feb 5 22:56:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 376992 Delivered-To: patch@linaro.org Received: by 2002:a17:906:48d2:0:0:0:0 with SMTP id d18csp2576138ejt; Fri, 5 Feb 2021 15:03:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNkswHqP//BXWNunaZKONLAtiTsEcPB+Mac2gqZFdFLKwfewsYGRZ3R3AKCPvRkJN2qGkW X-Received: by 2002:a25:84cb:: with SMTP id x11mr10210938ybm.63.1612566231986; Fri, 05 Feb 2021 15:03:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612566231; cv=none; d=google.com; s=arc-20160816; b=t/YJ6nwdYYW/hMQiSbQpj9W793lV1XzLIPnyy0Gd77Mdmp2cPiO8Lf9dcJ9N61yJs2 Hu2YkBZfh/zlJu2rPvk5Lkb70+FhNOOfAtDTEQC0TWQqy8L26UtxcfID+ZlwyjT1m8t6 2bTY2McoJ4cY1N0a2mP8PeTYqK8YV1WHwkq/dzSdMPLOTndZGutUC1hDLm9/D2MWKUDB JKMbFmds2Ry54FCgxhVzHG6qFFPzH5LNPy4P2I9kRYqnB7Tqz48z1Mp8CgLm2uvABQ4v 2XPVXNRlN7IZwPTLqBGU4jej9jE2Lyl+Mp0KBdaMOQYzmXJ64ocPpvMMzbcGPGVqiUSH 9Ydw== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=onZUWhtxKDVzYiKYm4mcVALF5M4RSZvicSg1zN9qm0A=; b=DK8YoQlWFSYpXc2QZZdh67ojKXQtq+Pdve3ZhZfjZUd7v010cul7IXo8R9Q0ep2izf ZdVZtfxOdf5XnSCyWQGJTNGv3AXmKxmInth0gkzlnlQW53B4eaDCOgTtK/59aepJOjr5 0yBOuAL9l7xnDsFpzky4kKFgitY7QPrP1DJZGdsK/mf0Ean/ukMyPGNkPMMUbo6Q8M3N /96OP/UR4hiTSfcWAenCCyPMOFVCaGdgub3dbxDrPZiSxfy4kgi5YAvsIpUuXT9iyNZ3 u9gkYH1Z9XuR5CTd7kYaNA6orGS/A1wm1FI4zEpQzjG+jIDQye/fQPXCjsVtZUox6tUV fmcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=rRqbavEk; 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"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u17si10198456ybc.124.2021.02.05.15.03.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Feb 2021 15:03:51 -0800 (PST) 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; dkim=fail header.i=@linaro.org header.s=google header.b=rRqbavEk; 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"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:32956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8A8l-000218-Dk for patch@linaro.org; Fri, 05 Feb 2021 18:03:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8A2I-0001cE-3F for qemu-devel@nongnu.org; Fri, 05 Feb 2021 17:57:10 -0500 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:34492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8A2F-0003Ej-4E for qemu-devel@nongnu.org; Fri, 05 Feb 2021 17:57:09 -0500 Received: by mail-pj1-x102d.google.com with SMTP id my11so7280894pjb.1 for ; Fri, 05 Feb 2021 14:57:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=onZUWhtxKDVzYiKYm4mcVALF5M4RSZvicSg1zN9qm0A=; b=rRqbavEkSdzF62xluHGJYEZ8pXsYRCMlTwKs9yY+BHwOk2yO84rwfevjS2i3Ail8jd UVmZyLjTGda4OmribsxTmBA2DfyoxIeZMugSpFmFxMYspT2FNTCa1xDVgWfn4aRFAXzb HvNtsA5WLiS19Eu8p4f4i12UIDnld/lGgfprxHoVsOHA5FvKGcUasK63YzOS+LSSU/vn eIbgzdGZ3SQnwDJMGfw874qRi/U6qURtR4TZD/23dDW5hpptJU7UodKgQQ93GVDm0AfK WNjgFOjbeKN9opLrYi+tHUshwJn36fsvI2Kfl+/wo1p/eRgOikbke5anQpKYB3VmwpRL jFAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=onZUWhtxKDVzYiKYm4mcVALF5M4RSZvicSg1zN9qm0A=; b=hHsdb2kl8sgQyfTfWkU8l3FndUW64xy59x7gnfqwNLu2TIRYLikeKgSX3jS3bPOcGA JRVy2efSVonv742Z4pM5Gnx9BNDn03MrwrMIwLPFMMBXd0gAb2t1oYI5uHPSUvDyt6aa L56XD2Gkhlr6G866AnW/rSi3atRp9/vgvQoW1x1PQYtzriPAk1UqgRet3WA9PNA5+5yZ m0gtNVX9MHXTeDOYtk9wEkFaCMhoQ8Nplk6OYJUrBtDjg56J38jQyvvdPAuHMF970JH6 KyMBijANTQkVMzj20K/jX9nWeWTxcWl5ogvlvJLS/9QoR/HHUHz8uEIaOCgrla7Yzcgk ai4w== X-Gm-Message-State: AOAM530uC/2mIPhvp3Np1PrkxULmPrumq4etqw7GZDj/3UDlCwSargVO HkRre4M5yz87MdMymUZJlV9GrZE2iqMkREaq X-Received: by 2002:a17:90a:d09:: with SMTP id t9mr6523369pja.139.1612565825805; Fri, 05 Feb 2021 14:57:05 -0800 (PST) Received: from localhost.localdomain (cpe-66-27-222-29.hawaii.res.rr.com. [66.27.222.29]) by smtp.gmail.com with ESMTPSA id c23sm12155149pgc.72.2021.02.05.14.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 14:57:04 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 06/46] tcg/tci: Implement INDEX_op_ld16s_i32 Date: Fri, 5 Feb 2021 12:56:10 -1000 Message-Id: <20210205225650.1330794-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210205225650.1330794-1-richard.henderson@linaro.org> References: <20210205225650.1330794-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Stefan Weil Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Stefan Weil That TCG opcode is used by debian-buster (arm64) running ffmpeg: qemu-aarch64 /usr/bin/ffmpeg -i theora.mkv theora.webm Tested-by: Alex Bennée Reviewed-by: Alex Bennée Reported-by: Alex Bennée Signed-off-by: Stefan Weil Message-Id: <20210128024814.2056958-1-sw@weilnetz.de> Signed-off-by: Richard Henderson --- tcg/tci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/tcg/tci.c b/tcg/tci.c index b3f9531a73..2ba97da189 100644 --- a/tcg/tci.c +++ b/tcg/tci.c @@ -615,7 +615,10 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState *env, TODO(); break; case INDEX_op_ld16s_i32: - TODO(); + t0 = *tb_ptr++; + t1 = tci_read_r(regs, &tb_ptr); + t2 = tci_read_s32(&tb_ptr); + tci_write_reg(regs, t0, *(int16_t *)(t1 + t2)); break; case INDEX_op_ld_i32: t0 = *tb_ptr++;