This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
ppc-sim patch to fix lfsux insn
- To: gdb-patches at sources dot redhat dot com, cagney at cygnus dot com
- Subject: ppc-sim patch to fix lfsux insn
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: Fri, 1 Sep 2000 16:44:06 -0700
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.
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
============================================================