From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Andreas Schwab 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> 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> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 00/52] 680x0 instructions emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier Cc: agraf@suse.de, John Paul Adrian Glaubitz , rth@twiddle.net, qemu-devel@nongnu.org, gerg@uclinux.org 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: --- 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) Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."