public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: frysk ml <frysk@sourceware.org>
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
results:

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

Ok?

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.
-- 
[]'s
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/PPCBankRegisters.java b/frysk-core/frysk/isa/banks/PPCBankRegisters.java
index cdc516a..23dcaae 100644
--- a/frysk-core/frysk/isa/banks/PPCBankRegisters.java
+++ b/frysk-core/frysk/isa/banks/PPCBankRegisters.java
@@ -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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* 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 \
    --to=bauerman@br.ibm.com \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).