From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYeAN-00053G-JR for qemu-devel@nongnu.org; Tue, 22 Oct 2013 11:46:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYeAE-0000rH-OK for qemu-devel@nongnu.org; Tue, 22 Oct 2013 11:46:43 -0400 Received: from www11.your-server.de ([213.133.104.11]:41461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYeAE-0000r3-I9 for qemu-devel@nongnu.org; Tue, 22 Oct 2013 11:46:34 -0400 Message-ID: <52669DB7.7020801@macke.de> Date: Tue, 22 Oct 2013 08:45:59 -0700 From: Sebastian Macke MIME-Version: 1.0 References: <1382400765-26377-1-git-send-email-sebastian@macke.de> <1382400765-26377-10-git-send-email-sebastian@macke.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH_v2 9/9] target-openrisc: Correct carry flagcheck of l.addc and l.addic test casess List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QWxleCBCZW5uw6ll?= Cc: openrisc@lists.openrisc.net, openrisc@lists.opencores.org, qemu-devel@nongnu.org, proljc@gmail.com Hi Alex, I am using a cross-compiling toolchain. It's the easiest way as I have to compile the image for QEMU anyhow. http://opencores.org/or1k/OpenRISC_GNU_tool_chain Then it's just an "make && make test" in the corresponding tests/tcg/openrisc folder. Inside the virtual machine it would be a little bit more complicated. You have to compile Linux with the initramfs containing the QEMU test sources. Another storage device is currently not supported by the OpenRISC QEMU emulator. Sebastian On 22/10/2013 1:35 AM, Alex Bennée wrote: > sebastian@macke.de writes: > >> The test cases did not correctly test for the carry flag. > Out of interest how are you building your test cases, cross-compiling or > from within the emulated environment? > > I want to clean-up and resurrect the TCG tests but one of the challenges > is all the non-x86 targets need to be built somehow. > > Cheers, >