[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 14/15] tcg-mips: Use mipsr6 instructions in bran
From: |
James Hogan |
Subject: |
Re: [Qemu-devel] [PATCH 14/15] tcg-mips: Use mipsr6 instructions in branches |
Date: |
Wed, 10 Feb 2016 00:20:20 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi Richard,
On Tue, Feb 09, 2016 at 04:22:34PM +0000, James Hogan wrote:
> (gdb) disas/r
> Dump of assembler code for function code_gen_buffer:
> 0x000000fff30b0064 <+0>: f8 ff 11 8e lw s1,-8(s0)
> => 0x000000fff30b0068 <+4>: 08 00 11 60 bnezalc s1,0xfff30b008c
> <code_gen_buffer+40>
Note also that this seems to be the wrong encoding anyway. It is
encoding the "and-link" variation which overwrites $31 with PC+4.
Cheers
James
> 0x000000fff30b006c <+8>: 1d c0 c2 08 j 0xfff30b0074
> <code_gen_buffer+16>
> 0x000000fff30b0070 <+12>: 00 00 00 00 nop
>
> (gdb) set *0x000000fff30b006c=0
> (gdb) disas/r
> Dump of assembler code for function code_gen_buffer:
> 0x000000fff30b0064 <+0>: f8 ff 11 8e lw s1,-8(s0)
> => 0x000000fff30b0068 <+4>: 08 00 11 60 bnezalc s1,0xfff30b008c
> <code_gen_buffer+40>
> 0x000000fff30b006c <+8>: 00 00 00 00 nop
> 0x000000fff30b0070 <+12>: 00 00 00 00 nop
signature.asc
Description: Digital signature
- [Qemu-devel] [PATCH 11/15] tcg-mips: Use mips64r6 instructions in tcg_out_movi, (continued)