From patchwork Fri Feb 5 22:56:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 376984 Delivered-To: patch@linaro.org Received: by 2002:a17:906:48d2:0:0:0:0 with SMTP id d18csp2573151ejt; Fri, 5 Feb 2021 15:00:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRbahalSgSSoAi2Jso3SV0kyAX0EkQGATk/Lnxw5aTM9i3XJqbZvmUsCH6eQyOTspbZMow X-Received: by 2002:a25:8e02:: with SMTP id p2mr9758283ybl.416.1612566012093; Fri, 05 Feb 2021 15:00:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612566012; cv=none; d=google.com; s=arc-20160816; b=aQNmX/1DreTfRGpoW0emrIRz5wqJIkJI/RdMMDch1y40Xi1ft8RsFTc/DxCsJJPbZ5 QNzcWhmM7frgqzBcZO6c0CwREsevRByd3gdnV5X9zUzFnm1rYFiFyJDjtqZjLFI2D9rw VfrAnw7w3NYKygHWl3BLIHxv8kr8KD3lP0yshxgL8q58H8//x2ancGjfBxd4ZBNTRlaP Gufm/Ob8h7B5b/h5FOc7bwZI7XUimFJmYEsIBRAOy7Y9rv9bhY9vlw5MrMhXbyPfOeY8 Fjw4gZLnSVOnomSBue4Gn/Ijaw4W1a6Ju64TYt3ozXYP2jIZwwJyxoJcgg1sZScbXvX1 zwbQ== 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=tnzvFG8Gmy7YN7i7Jw+CtzTgCAPtOrT7NLuSzhM8paA=; b=q2wAPvshB7fnTT/Rc09mEvFistJli69RuqaruLpkzimQWK2qiCK2rjHMJP+/ssk5Zp dkG6LZ6w3dc5iTa0JUzLw+kY4j88hUnLKRZ1respj+XYIhSLoHWLMKduSztAHkWhkPjn 6bhbcBr7WSI6Ct0gUPBgSmv0Nu2UUlT+2jqPhfsxIUYrfBOZlW979jwnoVwBFssGQ7W1 5IpK+nK5KLBPyOTJvh9EqzRve4c8um6/NkJf87tcre9HwS2T6N0TUfctDq44K4a0jEhx rWziJ8T+9P8+K5Cg8K9Dz+tWorcR7+BlveVH1RNPfcEMIGu/nel92iHpTeQuhD0lck5b 8CFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZK9eVMs1; 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 g23si8566427ybe.439.2021.02.05.15.00.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Feb 2021 15:00:12 -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=ZK9eVMs1; 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]:50524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8A5D-0005zn-F8 for patch@linaro.org; Fri, 05 Feb 2021 18:00:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8A2I-0001ep-OI for qemu-devel@nongnu.org; Fri, 05 Feb 2021 17:57:10 -0500 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:45832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8A2H-0003F0-6d for qemu-devel@nongnu.org; Fri, 05 Feb 2021 17:57:10 -0500 Received: by mail-pg1-x52c.google.com with SMTP id o21so4167693pgn.12 for ; Fri, 05 Feb 2021 14:57:08 -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=tnzvFG8Gmy7YN7i7Jw+CtzTgCAPtOrT7NLuSzhM8paA=; b=ZK9eVMs1HmuWwrPAfwI6mXAx6Gi8fKddXmphBsVExjY2X+WMFtjUJ2dyo44ziyebHz 80onARvTPmYVG2uF+PU1kgrVfKKtjzVHxF8UaRiz5F6Ef1B0L4iO+NZOV3DyI05H/lwS QCTU4XYPY9AgIh/aC4nw8J7yaxy6niq+tIxOWUa6YmGiNITVD8z4lXzgT0HvzZhWbwcP ifUKDj+A+T/BCvjjNrLzp49f95dOC0M8+zpankGQvpFORQLRj2BVDZaBmcqZS5ynb/DZ KYyt/tFFpkNCor71ZyTrxaLngJQsLUMS3s6UhndW7a/V2FlK2BIWY9eKVdPlXN9ol0bm ogfw== 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=tnzvFG8Gmy7YN7i7Jw+CtzTgCAPtOrT7NLuSzhM8paA=; b=jpivEFwx7p2BtqAlZ5aLGFi8yjqaEZ/n+q4G8cL1NWWnBQWrY7P0fDsRgjuBHTGMDC FuMq8lIW+MFfOob9W+8II/IZvJAa0zhnDpfAJAaMGNCsrzD85NZSQkvxhs3CgPy0VFHp sk0Ph+46vTHUWZLP1hNWBRBIMg6X8BJsKGWPem/o8lSUSw+UkYjpz242GdpJmZWRUtPb spR/TLLuSavnJ6zMvTQJvAHZlyJOR7oyylqdjIojw0pJ8vpbw0xIi5VP2jBsHf/4qw/H gvzHZg2TQO/JsiG5iim3YhuN8ECBFAon9pY1H0bd6W5TOemBLsWcPt20mgwfCHEbNraR 3wDg== X-Gm-Message-State: AOAM5333hVDFv1mE4wUWYbZHTWCdTpowd+RLkkfOdk92jEYsdi1BV8UQ N1gIYA0rC91QCXdhKUN3NhwVEuYRhH2GMLEv X-Received: by 2002:a62:444:0:b029:1bc:ebb6:71f8 with SMTP id 65-20020a6204440000b02901bcebb671f8mr6318620pfe.75.1612565828000; Fri, 05 Feb 2021 14:57:08 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 14:57:07 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 07/46] tcg/tci: Implement INDEX_op_ld8s_i64 Date: Fri, 5 Feb 2021 12:56:11 -1000 Message-Id: <20210205225650.1330794-8-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::52c; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52c.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: <20210128020425.2055454-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 2ba97da189..c3a8511dfe 100644 --- a/tcg/tci.c +++ b/tcg/tci.c @@ -883,7 +883,10 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState *env, tci_write_reg8(regs, t0, *(uint8_t *)(t1 + t2)); break; case INDEX_op_ld8s_i64: - TODO(); + t0 = *tb_ptr++; + t1 = tci_read_r(regs, &tb_ptr); + t2 = tci_read_s32(&tb_ptr); + tci_write_reg(regs, t0, *(int8_t *)(t1 + t2)); break; case INDEX_op_ld16u_i64: t0 = *tb_ptr++;