[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Intel AVX instructions
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Intel AVX instructions |
Date: |
Wed, 22 Jan 2014 20:06:47 +0000 |
On 22 January 2014 19:35, Xin Tong <address@hidden> 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 frequency and difficulties, one
> can decide whether to move some of the instructions into TCG JITted
> code ?
I would recommend implementing them from scratch for QEMU
based on the Intel architecture documentation. That will produce
much nicer results.
> Also, it would be desirable to use the MMX/SSE structures and
> functions that already exist in QEMU target-i386/translate.c
It would certainly be advisable to use them where there is
commonality.
thanks
-- PMM