Re: [Qemu-devel] [PATCH 2/2] target-openrisc: Add l.lwa/l.swa support

2015-01-27 Thread Jia Liu
On Mon, Jan 26, 2015 at 6:18 PM, Sebastian Macke wrote: > Hi Jia, > > > On 1/26/2015 10:50 AM, Jia Liu wrote: >> >> Hi Sebastian, Christian >> >> On Sun, Jan 25, 2015 at 6:25 PM, Sebastian Macke >> wrote: >>> >>> From: Christian Svensson >>> >>> This patch adds support for atomic locks >>> and i

Re: [Qemu-devel] [PATCH 2/2] target-openrisc: Add l.lwa/l.swa support

2015-01-26 Thread Christian Svensson
Hi Jia. On Mon, Jan 26, 2015 at 9:50 AM, Jia Liu wrote: > Is it a new instruction new added into OpenRISC? > Yes. Please see the latest architecture specification for details. It should be blank lines in here in [patch 1/2]. Care to elaborate why?

Re: [Qemu-devel] [PATCH 2/2] target-openrisc: Add l.lwa/l.swa support

2015-01-26 Thread Sebastian Macke
Hi Jia, On 1/26/2015 10:50 AM, Jia Liu wrote: Hi Sebastian, Christian On Sun, Jan 25, 2015 at 6:25 PM, Sebastian Macke wrote: From: Christian Svensson This patch adds support for atomic locks and is an adaption from https://github.com/bluecmd/or1k-qemu/commits/or32-optimize Tested via the

Re: [Qemu-devel] [PATCH 2/2] target-openrisc: Add l.lwa/l.swa support

2015-01-26 Thread Jia Liu
Hi Sebastian, Christian On Sun, Jan 25, 2015 at 6:25 PM, Sebastian Macke wrote: > From: Christian Svensson > > This patch adds support for atomic locks > and is an adaption from > https://github.com/bluecmd/or1k-qemu/commits/or32-optimize > > Tested via the atomic lock implementation of musl >

[Qemu-devel] [PATCH 2/2] target-openrisc: Add l.lwa/l.swa support

2015-01-25 Thread Sebastian Macke
From: Christian Svensson This patch adds support for atomic locks and is an adaption from https://github.com/bluecmd/or1k-qemu/commits/or32-optimize Tested via the atomic lock implementation of musl Signed-off-by: Christian Svensson Signed-off-by: Sebastian Macke --- target-openrisc/cpu.h