From patchwork Fri May 6 14:47:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 9033811 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BE095BF29F for ; Fri, 6 May 2016 14:48:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 20DBB20382 for ; Fri, 6 May 2016 14:48:20 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 44A9C2037C for ; Fri, 6 May 2016 14:48:19 +0000 (UTC) Received: from localhost ([::1]:58699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayh38-0000op-UD for patchwork-qemu-devel@patchwork.kernel.org; Fri, 06 May 2016 10:48:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayh2v-0000bi-Sf for qemu-devel@nongnu.org; Fri, 06 May 2016 10:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayh2k-0003Ns-8F for qemu-devel@nongnu.org; Fri, 06 May 2016 10:47:56 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:56182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayh2k-0003Ks-2H for qemu-devel@nongnu.org; Fri, 06 May 2016 10:47:50 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3r1ZPk3MPBz3hkVj; Fri, 6 May 2016 16:47:38 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3r1ZPk1jBpzvhND; Fri, 6 May 2016 16:47:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id UPv-Ro_kxo-w; Fri, 6 May 2016 16:47:37 +0200 (CEST) X-Auth-Info: f3BR595wzjG73JMvtbHLbkq/qBflKerxRtuw5ab6Oytlc3JF35XNkLQLSl52jinA Received: from igel.home (ppp-88-217-22-5.dynamic.mnet-online.de [88.217.22.5]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 6 May 2016 16:47:37 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 1379A2C5CC9; Fri, 6 May 2016 16:47:37 +0200 (CEST) From: Andreas Schwab To: Laurent Vivier References: <1462392752-17703-1-git-send-email-laurent@vivier.eu> <87twibzfzj.fsf@linux-m68k.org> <87poszze4m.fsf@linux-m68k.org> <87805eaf-d1d2-69af-b56f-b66d9b67438a@vivier.eu> <87y47nxnyz.fsf@linux-m68k.org> X-Yow: Laundry is the fifth dimension!! ...um...um... th' washing machine is a black hole and the pink socks are bus drivers who just fell in!! Date: Fri, 06 May 2016 16:47:37 +0200 In-Reply-To: <87y47nxnyz.fsf@linux-m68k.org> (Andreas Schwab's message of "Fri, 06 May 2016 16:25:40 +0200") Message-ID: <87shxvxmye.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:a60:0:28:0:1:25:1 Subject: Re: [Qemu-devel] [PATCH 00/52] 680x0 instructions emulation 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: qemu-devel@nongnu.org, rth@twiddle.net, gerg@uclinux.org, agraf@suse.de, John Paul Adrian Glaubitz Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Andreas Schwab writes: > Here is a testcase: > > when compiling tlink.c from the gcc sources with gcc-6 r234449 (which > was bootstrapped in aranym): > > $ g++ -fno-PIE -c -fomit-frame-pointer -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace -o tlink.o ../../gcc/tlink.c > > I get this difference for the generated assembler: I have accidentially used gcc-5 for the test. With gcc-6 as above this is the only difference: Andreas. --- aranym/tlink.s 2016-05-06 16:45:31.924100718 +0200 +++ qemu/tlink.s 2016-05-06 16:44:54.568052423 +0200 @@ -2471,7 +2471,8 @@ _Z8do_tlinkPPcS0_: move.l 4(%a5),%d7 cmp.l %d2,%d7 jne .L329 - btst #0,3(%a5) + move.b 3(%a5),%d0 + btst #0,%d0 jeq .L384 move.l -14(%fp),%a1 clr.l 4(%a1)