This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: ppc-sim patch to fix lfsux insn
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: ppc-sim patch to fix lfsux insn
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 24 Oct 2000 23:42:59 +1100
- Cc: gdb-patches at sources dot redhat dot com, cagney at cygnus dot com
- References: <200009012344.QAA17591@localhost.cygnus.com>
Geoff Keating wrote:
>
> I found this while running the g77 testsuite against the sim.
>
> OK to commit?
>
> --
> - Geoffrey Keating <geoffk@cygnus.com>
>
> ===File ~/patches/cygnus/rs6000-g77sim-lfsux.patch==========
> 2000-09-01 Geoff Keating <geoffk@cygnus.com>
>
> * ppc-instructions (lfsux): Correct XO field of lfsux instruction.
Yes, fine. You might as well add yourself to sim/MAINTAINERS file as
one of the people that keep an eye on the PPC simulator - you've fixed a
few other bugs in addition to to this one.
Andrew
> Index: sim/ppc/ppc-instructions
> ===================================================================
> RCS file: /cvs/src/src/sim/ppc/ppc-instructions,v
> retrieving revision 1.2
> diff -p -u -u -p -r1.2 ppc-instructions
> --- ppc-instructions 2000/03/25 18:45:41 1.2
> +++ ppc-instructions 2000/09/01 23:36:12
> @@ -3426,7 +3426,7 @@ void::function::invalid_zero_divide_oper
> *rA = EA;
> PPC_INSN_INT_FLOAT(RA_BITMASK, FRT_BITMASK, (RA_BITMASK & ~1), 0);
>
> -0.31,6.FRT,11.RA,16.RB,21.576,31./:X:f::Load Floating-Point Single with Update Indexed
> +0.31,6.FRT,11.RA,16.RB,21.567,31./:X:f::Load Floating-Point Single with Update Indexed
> *601: PPC_UNIT_IU, PPC_UNIT_IU, 3, 3, 0
> *603: PPC_UNIT_LSU, PPC_UNIT_LSU, 1, 2, 0
> *603e:PPC_UNIT_LSU, PPC_UNIT_LSU, 1, 2, 0
> ============================================================