Re: [Qemu-devel] [PATCH] Porting TCG to alpha platform

2010-01-29 Thread identifier scorpio
BUG? In tcg_out_qemu_ld tcg_out_ld(s, TCG_TYPE_I64, r1, r1,    offsetof(CPUTLBEntry, addend)    - offsetof(CPUTLBEntry, addr_read)); should be modified to tcg_out_ld(s, TCG_TYPE_I64, r1, r1,    offsetof(CPUTLBEntry, addend)); since the when calling

Re: [Qemu-devel] [PATCH] Porting TCG to alpha platform

2010-01-28 Thread identifier scorpio
I'v reviewed your code and applied the patch to 0.12.0.rc1. After fixing some small bugs I run it on my debian/alpha platform, and it hung after running abort 3 TBs. I'll continue to trace your code. The bugs that are fixed are listed as follow: 1. adding constraints for operation

Re: [Qemu-devel] [PATCH] Porting TCG to alpha platform

2010-01-22 Thread identifier scorpio
Hi, Richard. I almost re-write the whole code under your help and now it seems somehow elegant. Unfortunately, it still can't run MS windows, I wonder whether there are some other special places in QEMU to be modifed for alpha case, beside the 3 files (cpu-all.h/tcg-target.c/tcg-target.h) I

Re: [Qemu-devel] [PATCH] Porting TCG to alpha platform

2010-01-20 Thread identifier scorpio
Thank Mr. Weil for your reply.   Maybe you can also try the TCG interpreter (TCI) from http://repo.or.cz/w/qemu/ar7.git. In theory, it supports any host architecture with or without native TCG support. It was tested successful with some basic tests on x86, mips, ppc and arm, so I hope

[Qemu-devel] [PATCH] Porting TCG to alpha platform

2010-01-19 Thread identifier scorpio
Hello. I ported TCG to alpha platform, the patch is currently based on stable-0.10 branch, and now it can run linux-0.2.img testing image on my alpha XP1000 workstation. but it still can't run MS-windows, and I hope someone, especially those guys that are working on target-alpha, may help me