|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] PATCH: more instructions handled in mmio.c
Le Jeudi 13 Avril 2006 17:21, Xu, Anthony a écrit :
> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>
> >[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tristan
> >Gingold
> >Sent: 2006?4?13? 20:39
> >To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx; Alex Williamson
> >Subject: [Xen-ia64-devel] PATCH: more instructions handled in mmio.c
> >
> >Hi,
> >
> >this patch adds a few instructions decoded in mmio.c
>
> Yes, this is a great patch.
> Maybe we also need to implement ldfp8 :-)
>
> One concern is we can not use getfpreg directly.
> Because f32~f127 are not saved into current->arch._thread.fph,
> and f2~f5 and f12~f31 are not saved into pt_regs or switch_stack.
> Only f6~f11 are guaranteed to be saved into pt_regs.
> f2~f5 and f12~f31 are saved into switch_stack only when domain switch
> happens. Structure pt_regs and switch_stack are different with those in
> linux kernel. Maybe we need to implement getfpreg and setfpreg ourselves.
Ah, you're right. Only f0 was used.
Tristan.
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|