Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-17 Thread Chen Gang
On 3/16/15 23:37, Richard Henderson wrote: On 03/15/2015 04:57 PM, Chen Gang wrote: OK, thanks. And next, I shall try to send the whole tilegx patches again (it is about 6-8 patches), within 2015-03-18. When you do so, make sure it's against the *current* master tree. Your patch set

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-17 Thread Chen Gang
On 3/16/15 23:31, Richard Henderson wrote: On 03/13/2015 11:03 PM, Chen Gang wrote: +static void decode_rrr_1_opcode_y0(struct DisasContext *dc, + tilegx_bundle_bits bundle) +{ +switch (get_RRROpcodeExtension_Y0(bundle)) { +case

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-16 Thread Richard Henderson
On 03/13/2015 11:03 PM, Chen Gang wrote: +static void decode_rrr_1_opcode_y0(struct DisasContext *dc, + tilegx_bundle_bits bundle) +{ +switch (get_RRROpcodeExtension_Y0(bundle)) { +case UNARY_RRR_1_OPCODE_Y0: +switch

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-16 Thread Richard Henderson
On 03/15/2015 04:57 PM, Chen Gang wrote: OK, thanks. And next, I shall try to send the whole tilegx patches again (it is about 6-8 patches), within 2015-03-18. When you do so, make sure it's against the *current* master tree. Your patch set doesn't compile at all at the moment, after commit

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-15 Thread Chen Gang
At present, I finished the first system call successfully (it is uname called by glibc). If no additional reply of this thread within 3 days, I shall send a new patch which will include system call implementation. Thanks. On 3/14/15 14:03, Chen Gang wrote: QEMU TILE-Gx can decode bundle,

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-15 Thread Andreas Färber
Am 15.03.2015 um 15:19 schrieb Chen Gang: If no additional reply of this thread within 3 days, I shall send a new patch which will include system call implementation. Please use a proper subject then, saying what it does (rather what works afterwards). In particular don't forget target-tilegx:.

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-15 Thread Peter Maydell
On 14 March 2015 at 06:03, Chen Gang xili_gchen_5...@hotmail.com wrote: QEMU TILE-Gx can decode bundle, disassemble code, and generate tcg code for 1st TB block (__start). Then directly jump to __libc_start_main (2nd TB block). In __libc_start_main, it can continue executing to the first

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-15 Thread Chen Gang
On 3/16/15 00:50, Andreas Färber wrote: Am 15.03.2015 um 15:19 schrieb Chen Gang: If no additional reply of this thread within 3 days, I shall send a new patch which will include system call implementation. Please use a proper subject then, saying what it does (rather what works

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-15 Thread Peter Maydell
On 15 March 2015 at 23:08, Chen Gang xili_gchen_5...@hotmail.com wrote: On 3/16/15 00:50, Andreas Färber wrote: Am 15.03.2015 um 15:19 schrieb Chen Gang: If no additional reply of this thread within 3 days, I shall send a new patch which will include system call implementation. Please use a

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-15 Thread Chen Gang
On 3/16/15 07:44, Peter Maydell wrote: On 15 March 2015 at 23:08, Chen Gang xili_gchen_5...@hotmail.com wrote: On 3/16/15 00:50, Andreas Färber wrote: Am 15.03.2015 um 15:19 schrieb Chen Gang: If no additional reply of this thread within 3 days, I shall send a new patch which will include

Re: [Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-15 Thread Chen Gang
On 3/16/15 07:45, Peter Maydell wrote: On 14 March 2015 at 06:03, Chen Gang xili_gchen_5...@hotmail.com wrote: QEMU TILE-Gx can decode bundle, disassemble code, and generate tcg code for 1st TB block (__start). Then directly jump to __libc_start_main (2nd TB block). In __libc_start_main, it

[Qemu-devel] [PATCH v3] Execute _start and reach to the first function call successfully

2015-03-14 Thread Chen Gang
QEMU TILE-Gx can decode bundle, disassemble code, and generate tcg code for 1st TB block (__start). Then directly jump to __libc_start_main (2nd TB block). In __libc_start_main, it can continue executing to the first function call _dl_aux_init(). Signed-off-by: Chen Gang gang.chen.5...@gmail.com