From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJW3M-0006kf-14 for qemu-devel@nongnu.org; Tue, 10 Sep 2013 18:05:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJW3D-0005CQ-KB for qemu-devel@nongnu.org; Tue, 10 Sep 2013 18:04:55 -0400 Received: from [2a03:4000:1::4e2f:c7ac:d] (port=35992 helo=v220110690675601.yourvserver.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJW3D-0005CL-Cw for qemu-devel@nongnu.org; Tue, 10 Sep 2013 18:04:47 -0400 Message-ID: <522F976F.7050502@weilnetz.de> Date: Wed, 11 Sep 2013 00:04:31 +0200 From: Stefan Weil MIME-Version: 1.0 References: <5217BC5F.4060306@twiddle.net> <5217C94F.6010607@weilnetz.de> <5217D1A7.6000003@twiddle.net> <522F907F.4090600@weilnetz.de> <522F94B2.5030300@twiddle.net> In-Reply-To: <522F94B2.5030300@twiddle.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] TCI for ARM and other hosts with aligned args List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel , Aurelien Jarno Am 10.09.2013 23:52, schrieb Richard Henderson: > On 09/10/2013 02:34 PM, Stefan Weil wrote: >> For native compilations, TCG_TARGET_CALL_ALIGN_ARGS can be set from >> configure. Cross compilations cannot set that macro automatically >> (or is there some way to do this?) > I can't think of a way that would be reasonable from configure. > >> Should we use this mechanism for all hosts (and move the definitions in >> tcg-target.h to a conditional definition in tcg.h), or should we use it only for TCI? > I'd prefer a common solution, but it's something easy to get wrong > if there are multiple ABIs in play, e.g. PPC32. > > Perhaps let's start with just TCI. > >> The alpha disassembler does not work on 32 bit hosts, >> therefore debugging is difficult. > It works on i386. What's your "not working" test case? > > > r~ busybox-static from Debian running on 32 bit Linux: $ alpha-linux-user/qemu-alpha -d in_asm /usr/gnemul/qemu-alpha/bin/busybox pwd host mmap_min_addr=0x10000 Reserved 0x21e000 bytes of guest address space Relocating guest address space from 0x0000000020000000 to 0x20000000 guest_base 0x0 start end size prot 0000000020000000-0000000020218000 0000000000218000 rwx 0000000040000000-0000000040002000 0000000000002000 --- 0000000040002000-0000000040802000 0000000000800000 rw- 0000000020216000-000000012021e000 0000000100008000 rwx start_brk 0x0000000000000000 end_code 0x00000001202179bd start_code 0x0000000120000000 start_data 0x0000000120000000 end_data 0x00000001202179bd start_stack 0x0000000040801160 brk 0x000000012021dcb0 entry 0x00000001200d3fe0 IN: 0x00000001200d3fe0: stq_c zero,23096(t12) 0x00000001200d3fe4: stq_c zero,23096(t12) 0x00000001200d3fe8: stq_c zero,23096(t12) 0x00000001200d3fec: stq_c zero,23096(t12) 0x00000001200d3ff0: stq_c zero,23096(t12) 0x00000001200d3ff4: stq_c zero,23096(t12) 0x00000001200d3ff8: stq_c zero,23096(t12) 0x00000001200d3ffc: stq_c zero,23096(t12)