Re: [Qemu-devel] [PATCH 09/60] AArch64: Add b and bl handling

2013-09-27 Thread Richard Henderson
On 09/26/2013 05:48 PM, Alexander Graf wrote: > +static int get_bits(uint32_t inst, int start, int len) > +{ > +return (inst >> start) & ((1 << len) - 1); > +} > + > +static int get_sbits(uint32_t inst, int start, int len) > +{ > +int r = get_bits(inst, start, len); > +if (r & (1 << (le

Re: [Qemu-devel] [PATCH 09/60] AArch64: Add b and bl handling

2013-09-27 Thread Claudio Fontana
Hi Alex, On 09/27/13 02:48, Alexander Graf wrote: > This adds handling for the b and bl instructions. > > Signed-off-by: Alexander Graf > --- > target-arm/translate-a64.c | 61 > ++ > 1 file changed, 61 insertions(+) > > diff --git a/target-arm/tran

[Qemu-devel] [PATCH 09/60] AArch64: Add b and bl handling

2013-09-26 Thread Alexander Graf
This adds handling for the b and bl instructions. Signed-off-by: Alexander Graf --- target-arm/translate-a64.c | 61 ++ 1 file changed, 61 insertions(+) diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c index 73ccade..267fd4d 100644