This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix powerpc64 bank registers


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]