public inbox for
 help / color / mirror / Atom feed
From: Thiago Jung Bauermann <>
To: frysk ml <>
Subject: fix powerpc64 bank registers
Date: Wed, 09 Apr 2008 16:47:00 -0000	[thread overview]
Message-ID: <1207758762.5808.4.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

Hi folks,

Simple fix, brings a somewhat better outlook to the frysk-core test

-Tests run: 1026,  Failures: 51,  Errors: 405
+Tests run: 1026,  Failures: 28,  Errors: 239


As was said in the meeting, the PowerPC registers are not fully modelled
in Frysk yet, I intend to work on that in the short term.
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center

[-- Attachment #2: fix-ppc-bank-registers.diff --]
[-- Type: text/x-patch, Size: 627 bytes --]

diff --git a/frysk-core/frysk/isa/banks/ b/frysk-core/frysk/isa/banks/
index cdc516a..23dcaae 100644
--- a/frysk-core/frysk/isa/banks/
+++ b/frysk-core/frysk/isa/banks/
@@ -56,8 +56,8 @@ public class PPCBankRegisters {
     public static final BankArrayRegisterMap PPC64BE
 	= new BankArrayRegisterMap()
-	.add(2, LinuxPPCRegisterBanks.GREGS64)
-	.add(3, LinuxPPCRegisterBanks.FPREGS64)
+	.add(0, LinuxPPCRegisterBanks.GREGS64)
+	.add(1, LinuxPPCRegisterBanks.FPREGS64)
     public static final BankArrayRegisterMap PPC32BE_ON_PPC64BE

             reply	other threads:[~2008-04-09 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 16:47 Thiago Jung Bauermann [this message]
2008-04-09 20:43 ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1207758762.5808.4.camel@localhost.localdomain \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).