public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* fix powerpc64 bank registers
@ 2008-04-09 16:47 Thiago Jung Bauermann
  2008-04-09 20:43 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Thiago Jung Bauermann @ 2008-04-09 16:47 UTC (permalink / raw)
  To: frysk ml

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fix powerpc64 bank registers
  2008-04-09 16:47 fix powerpc64 bank registers Thiago Jung Bauermann
@ 2008-04-09 20:43 ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2008-04-09 20:43 UTC (permalink / raw)
  To: Thiago Jung Bauermann; +Cc: frysk ml

I'll get your account fixed so you can just check this stuff in; be sure 
to subscribe to the commit list.

Andre
w
Thiago Jung Bauermann wrote:
> 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.
>   

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-09 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-09 16:47 fix powerpc64 bank registers Thiago Jung Bauermann
2008-04-09 20:43 ` Andrew Cagney

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