Re: [Qemu-devel] Intel AVX instructions

2014-01-22 Thread Xin Tong
Richard: That is very intelligient way to support AVX. I believe Bochs uses similar technique. On Wed, Jan 22, 2014 at 2:19 PM, Richard Henderson wrote: > On 01/22/2014 11:35 AM, Xin Tong wrote: >> It seems that BOCHS have AVX instructions support in interpreter. I am >> thinking an easy/reliabl

Re: [Qemu-devel] Intel AVX instructions

2014-01-22 Thread Richard Henderson
On 01/22/2014 11:35 AM, Xin Tong wrote: > It seems that BOCHS have AVX instructions support in interpreter. I am > thinking an easy/reliable way to do this would be generate helper > calls to emulate every AVX instruction and follow how BOCHS emulates > them. Then depending on the expected frequenc

Re: [Qemu-devel] Intel AVX instructions

2014-01-22 Thread Peter Maydell
On 22 January 2014 19:35, Xin Tong wrote: > It seems that BOCHS have AVX instructions support in interpreter. I am > thinking an easy/reliable way to do this would be generate helper > calls to emulate every AVX instruction and follow how BOCHS emulates > them. Then depending on the expected frequ

Re: [Qemu-devel] Intel AVX instructions

2014-01-22 Thread Xin Tong
It seems that BOCHS have AVX instructions support in interpreter. I am thinking an easy/reliable way to do this would be generate helper calls to emulate every AVX instruction and follow how BOCHS emulates them. Then depending on the expected frequency and difficulties, one can decide whether to mo

Re: [Qemu-devel] Intel AVX instructions

2014-01-22 Thread Paolo Bonzini
Il 22/01/2014 17:27, Xin Tong ha scritto: Intel AVX instructions have been out for some time since sandy-bridge. Is there value to support it in QEMU. I am thinking abut a google summer of code this year to bring support for AVX/AVX2.0 to QEMU. Yes, that can be a nice project indeed! Of course

[Qemu-devel] Intel AVX instructions

2014-01-22 Thread Xin Tong
Intel AVX instructions have been out for some time since sandy-bridge. Is there value to support it in QEMU. I am thinking abut a google summer of code this year to bring support for AVX/AVX2.0 to QEMU. Xin