From patchwork Thu Oct 26 15:27:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 117247 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp900853qgn; Thu, 26 Oct 2017 08:29:10 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Sl2xlgAp8qtbSM9w7l5QbJuCg64IVgW2TlOqeHr4cpocG7t5PFcfY2o45aphP+gc539jBb X-Received: by 10.37.246.26 with SMTP id t26mr3650419ybd.190.1509031750668; Thu, 26 Oct 2017 08:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509031750; cv=none; d=google.com; s=arc-20160816; b=MX77m3Nj6cOW40uuQNIdHa8xHChJyCaUZcGZxJ+kW9xDzdG/yyJTyjOLlQ1p/fRrXw 9cRXky1xet0fj9K7JuRz6adi8Alvxjw3eAaRtKsf5T3NVOy6fDGHwax+ytctd5hu5Gso FtsRJzmGx6lLFlUI/sveuG5B9jklWCHNMffj/83rSoY2NTs5X2jRPO7ZkxhvPP3qoFsZ lkxhxM7sq7Ok6/5IJj/SgTwk9yiJBbHyUoUEJdr8o7FOySEmWbHNIGH22plZIAlifeA9 5SJy3YV04egtzqogLRt/MW/yNCnQ+n0RxaMa1MEzqqFM9zowlEE4pEIEY6ZlFDjYR7r5 bnvw== 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:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=mZGpsmEBsAZCAmhEhUBJQOD9v+SEc0939Yrc9KG0e+A=; b=wtJa72zUGZsj5qCeFnfGcOvFZ8zLP1OZmxV51Q92t5bH6sYowD75a6Q3bowAwOzG7b vnv/yOOVFb9GnP7eYJUsoOSbeOQPtDMfWeN5VBpIw3ufRJ9xKu+HFsQ8uMDN/mGu/t6I oxq68wGF0/Waa6ZQSjAZS7XID3iT7MzBSoH3EJ1m0+tZG3hag9D1icxww3sW2/o2K08y 5e/UUlZZDv9/4DwmDYfMf6Gk/+LFVYmKrL8XZINe29dUIOIkaajdmWMtO0uJFwujlC/W asw22yAhr8RrN0E9cz5O2UMh/mGyPtv7zOHGCeAVuaCl/DfzoDTCPcMdgMx4tkO1TFyC yhFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=B3YVIrJx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id s66si864663ywg.310.2017.10.26.08.29.10 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 26 Oct 2017 08:29:10 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=B3YVIrJx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:53492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7k5m-0007ex-6c for patch@linaro.org; Thu, 26 Oct 2017 11:29:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7k3w-0006iG-QG for qemu-devel@nongnu.org; Thu, 26 Oct 2017 11:27:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7k3s-0005g1-Gj for qemu-devel@nongnu.org; Thu, 26 Oct 2017 11:27:15 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:51132) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7k3s-0005eZ-9q for qemu-devel@nongnu.org; Thu, 26 Oct 2017 11:27:12 -0400 Received: by mail-wr0-x244.google.com with SMTP id p96so3542637wrb.7 for ; Thu, 26 Oct 2017 08:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=mZGpsmEBsAZCAmhEhUBJQOD9v+SEc0939Yrc9KG0e+A=; b=B3YVIrJxi4Axq56Zqi+GncZYfsO6ucR5LfV86Hb+Q6wCZ67m5BTKvw7lEIUMU4Wxdf z+IkdcfBIPYSF1wbza39+5StyHIefTTJAKGPWxY0Co4K6T0aJ0zgcoXSTrYctlUQy39V Dn31V9L05xdFTAxngFJe3am8tQlX/vRg6Uc8k= 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; bh=mZGpsmEBsAZCAmhEhUBJQOD9v+SEc0939Yrc9KG0e+A=; b=Z6HKImgcR9ssWDDpdgqABN265Blh/1fmrPhlTcjjPeGYm52zzyfxDfgfCyHMYtd4b5 775Yi0qJh/J55GedH4Czl6ee2eSbTzo6PcqQRdBGLqOTpHQpgCTuch7EEfZEN3qrmCls 9l97e3yjRfJA6VfNu4POAaZMW2e0Kr+2msAHr0gjCuSLnTQLObMvtUBNVmCZ5fCpP8B3 TlTS8v1dxcJi5ybHm5XSnNhjKjgDsE3UPH9P8FGLaq0xdWap0Mqexk7pUpKglj8Ovb66 vfuTfy52yvJlKwyZRiN9PjGKUbD5Y3NQa+P8RKZUu82LG1dXN5g40t4wSEq7APwl1Ot4 MVNA== X-Gm-Message-State: AMCzsaUiE1+aBJIuI57AcjEdEgAi5dCL2SmFUsHeBJ7sRJw8PeKPTfCC mL1/s91Mul50VeUl44uLS0O907OqslE= X-Received: by 10.223.136.170 with SMTP id f39mr5099048wrf.162.1509031629547; Thu, 26 Oct 2017 08:27:09 -0700 (PDT) Received: from cloudburst.twiddle.net ([62.168.35.108]) by smtp.gmail.com with ESMTPSA id k13sm9921825wrd.95.2017.10.26.08.27.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Oct 2017 08:27:08 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 26 Oct 2017 17:27:02 +0200 Message-Id: <20171026152704.24525-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 Subject: [Qemu-devel] [PATCH 0/2] tcg constant pool fixups 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: laurent.desnogues@gmail.com, qemu-s390x@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As noted by Laurent in private mail, foo-linux-user is currently broken on aarch64 host in unususal circumstances. By inspection, the same thing could happen for armv6 host. My testing is always on armv7 hardware, so I wouldn't have seen this. With that fixed, the s390x code can be simplified a bit to take advantage of this. If the s390x maintainers could test this, I would appreciate it. The test case is ./i386-linux-user/qemu-i386 -B 0x111231000 ./some-static-i386 e.g. using the binary in the busyboxes tarball linked from https://wiki.qemu.org/Testing#User_mode_emulation although any staticly linked binary would work. r~ Richard Henderson (2): tcg: Allow constant pool entries in the prologue tcg/s390x: Use constant pool for prologue tcg/s390/tcg-target.inc.c | 44 ++++++++++++------------------------------ tcg/tcg.c | 49 ++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 54 insertions(+), 39 deletions(-) -- 2.13.6