Re: [Qemu-devel] [RFC] TCG unit testing

2013-09-06 Thread Rob Landley
On 09/02/2013 11:07:03 AM, Aurelien Jarno wrote: On Fri, Aug 23, 2013 at 12:47:43PM -0700, Richard Henderson wrote: > I've been thinking for a while about how to reliably test TCG backends, and > maybe how to do regression testing on them. Having to begin the test from a > guest binary, espe

Re: [Qemu-devel] [RFC] TCG unit testing

2013-09-02 Thread Aurelien Jarno
On Fri, Aug 23, 2013 at 12:47:43PM -0700, Richard Henderson wrote: > I've been thinking for a while about how to reliably test TCG backends, and > maybe how to do regression testing on them. Having to begin the test from a > guest binary, especially considering the vast cross-compilation problem,

Re: [Qemu-devel] [RFC] TCG unit testing

2013-08-26 Thread Lei Li
On 08/24/2013 04:42 AM, Stefan Weil wrote: Am 23.08.2013 21:47, schrieb Richard Henderson: I've been thinking for a while about how to reliably test TCG backends, and maybe how to do regression testing on them. Having to begin the test from a guest binary, especially considering the vast cross-

Re: [Qemu-devel] [RFC] TCG unit testing

2013-08-25 Thread Stefan Weil
Am 23.08.2013 23:18, schrieb Richard Henderson: > > I don't see how TCI really comes into this except as Yet Another Backend to be > tested. Indeed, such unit testing could show that TCI is in fact broken wrt > helpers, depending on the host abi. TCI is special because it is the only TCG backend

Re: [Qemu-devel] [RFC] TCG unit testing

2013-08-25 Thread Peter Maydell
On 23 August 2013 22:18, Richard Henderson wrote: > E.g. tci never defines TCG_TARGET_CALL_ALIGN_ARGS. Thus if one uses tci on an > ARM host, a helper like > > DEF_HELPER_FLAGS_2(store_fpcr, TCG_CALL_NO_RWG, void, env, i64) > > will have its arguments loaded into TCI's R0, R1, R2, and thence into

Re: [Qemu-devel] [RFC] TCG unit testing

2013-08-25 Thread Richard Henderson
On 08/23/2013 01:42 PM, Stefan Weil wrote: > Am 23.08.2013 21:47, schrieb Richard Henderson: >> I've been thinking for a while about how to reliably test TCG backends, and >> maybe how to do regression testing on them. Having to begin the test from a >> guest binary, especially considering the vas

Re: [Qemu-devel] [RFC] TCG unit testing

2013-08-23 Thread Stefan Weil
Am 23.08.2013 21:47, schrieb Richard Henderson: > I've been thinking for a while about how to reliably test TCG backends, and > maybe how to do regression testing on them. Having to begin the test from a > guest binary, especially considering the vast cross-compilation problem, is > pretty much a

[Qemu-devel] [RFC] TCG unit testing

2013-08-23 Thread Richard Henderson
I've been thinking for a while about how to reliably test TCG backends, and maybe how to do regression testing on them. Having to begin the test from a guest binary, especially considering the vast cross-compilation problem, is pretty much a non-starter. I've been thinking of a truly stripped dow