At Thu, 14 Jul 2011 22:46:30 +0200,
Artyom Tarasenko wrote:
> On Thu, Jul 14, 2011 at 11:41 AM, Tsuneo Saito <tsnsa...@gmail.com> wrote:
> > Support UA2007 block store ASIs for stfa instructions.
> >
> > Signed-off-by: Tsuneo Saito <tsnsa...@gmail.com>
> > ---
> >  target-sparc/op_helper.c |    6 +++++-
> >  1 files changed, 5 insertions(+), 1 deletions(-)
> >
> > diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
> > index b76ffb6..4faa709 100644
> > --- a/target-sparc/op_helper.c
> > +++ b/target-sparc/op_helper.c
> > @@ -3424,6 +3424,10 @@ void helper_stf_asi(target_ulong addr, int asi, int 
> > size, int rd)
> >         }
> >
> >         return;
> > +    case 0x16: /* UA2007 Block load primary, user privilege */
> > +    case 0x17: /* UA2007 Block load secondary, user privilege */
> > +    case 0x1e: /* UA2007 Block load primary LE, user privilege */
> > +    case 0x1f: /* UA2007 Block load secondary LE, user privilege */
> 
> shouldn't these be added to the list in is_translating_asi() ?

Ah yes, that's right!

---- 
Tsuneo Saito <tsnsa...@gmail.com>

Reply via email to