Also additional bug: when a block finishes with no branch insn (e.g. the insns are too much to be in a block), we need to modify pc and exit_tb. I found this bug when mark "-d all" for Hello world with shared glibc.
At present, I finished all "Hello world" related test cases which I can find, and begin make patches for tilegx, next. Welcome any ideas, suggestions and completions (e.g. for test cases). If no additional reply, I shall send patches for tilegx within 4 days. Thanks. On 5/25/15 06:03, Chen Gang wrote: > > For "Hello world" with shared glibc, it needs to implement additional > instructions and fix one additional bug (it is about syscall_nr.h: need > stat64 and fstatat64). > > I shall send patch v11 within this month. :-) > > Thanks. > > On 5/22/15 09:48, Chen Gang wrote: >> On 05/22/2015 07:40 AM, Chris Metcalf wrote: >>> Congratulations! >>> >> >> Again, really thank all of you very much!! :-) >> >> >>>> On May 21, 2015, at 4:58 PM, Chen Gang <xili_gchen_5...@hotmail.com> wrote: >>>> >>>> >>>> After fix additional 3 bugs (one for mnz, one for mz, one for v1cmpeqi), >>>> at present, tilegx linux user can print "Hello World"! :-) >>>> >>>> I shall reconstruct/prepare the code and send patch v11 for review >>>> within this month. >>>> >>>> Thanks. >>>> >>>>> On 5/19/15 10:47, Chen Gang wrote: >>>>> Hello All: >>>>> >>>>> I also found another bug: I did not set the system call error number to >>>>> r1 register, which will cause new_heap() fail although mmap64 succeed. >>>>> >>>>> Hope it is my last bug for printing "Hello world" executable binary. >>>>> >>>>> Thanks. >>>>> >>>>>> On 05/12/2015 07:16 PM, Chen Gang wrote: >>>>>>> On 05/12/2015 07:08 PM, Peter Maydell wrote: >>>>>>>> On 12 May 2015 at 11:56, Chen Gang <xili_gchen_5...@hotmail.com> wrote: >>>>>>>> Welcome any other members' ideas, suggestions or completions for it. >>>>>>>> >>>>>>>> If one of another members also suggests to drop all uint8_t and >>>>>>>> uint16_t, >>>>>>>> I shall drop them (more explanations for dropping them will be better). >>>>>>> >>>>>>> I agree with Richard on this one. >>>>>>> >>>>>> >>>>>> OK, thanks. >>>>>> >>>>> >>>> >>>> -- >>>> Chen Gang >>>> >>>> Open, share, and attitude like air, water, and life which God blessed >> > -- Chen Gang Open, share, and attitude like air, water, and life which God blessed