From 21f86aab13aed2e3e56612b580aa6063f0edf15f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 22 Jun 2003 01:52:34 +0000 Subject: [PATCH] 2003-06-21 Andrew Cagney * ppc-instructions: Add missing +8 line. Found by blofeldus at yahoo.com. --- sim/ppc/ChangeLog | 11 ++++++++--- sim/ppc/ppc-instructions | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 82844f23233..62920aca163 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,8 +1,13 @@ 2003-06-21 Andrew Cagney - From Ian Lance Taylor : - * hw_nvram.c (hw_nvram_init_address): Correct call to memset--swap - second and third arguments. + * ppc-instructions: Add missing +8 line. Found by blofeldus at + yahoo.com. + +2003-06-21 Andrew Cagney + + From Ian Lance Taylor : * hw_nvram.c + (hw_nvram_init_address): Correct call to memset--swap second and + third arguments. 2003-06-21 Andrew Cagney diff --git a/sim/ppc/ppc-instructions b/sim/ppc/ppc-instructions index d08861046bb..56c03ae4efd 100644 --- a/sim/ppc/ppc-instructions +++ b/sim/ppc/ppc-instructions @@ -2303,6 +2303,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia, GPR(r) = 0; } GPR(r) |= INSERTED(MEM(unsigned, EA, 1), i, i+7); + i = i + 8; if (i == 64) i = 32; EA = EA + 1; n = n - 1; -- 2.30.2