|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] [PATCH] emulate ldfp8 in mmio
Le Mercredi 26 Avril 2006 10:39, Xu, Anthony a écrit :
> From: Tristan Gingold
>
> >Sent: 2006年4月26日 16:32
> >To: Xu, Anthony; xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> >Subject: Re: [Xen-ia64-devel] [PATCH] emulate ldfp8 in mmio
> >
> >Le Mardi 25 Avril 2006 07:30, Xu, Anthony a écrit :
> >> 1. emulate ldpf8 in mmio
> >> 2. handle floating point register rotation in functions setfpreg and
> >> getfpreg
> >
> >Just a late comment:
> >
> >writes to f0/f1 are not correctly handled. A fault must be reflected to
> > user.
>
> From intuition, it's a bug,
>
> After studying ldfp instruction further, this maybe not a bug,
> Before reading memory, processor will check target fp register, if the
> target fp register is f0 or f1, a fault happens.
Good point.
So we could remove case 0 and case 1 in setfpreg because this generates a
warning.
Tristan.
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|