[Mono-bugs] [Bug 58279][Nor] Changed - 0.91: PowerPC JIT SIGILLs when building libs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 22 May 2004 08:33:27 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lupus@ximian.com.


--- shadow/58279	2004-05-21 16:12:43.000000000 -0400
+++ shadow/58279.tmp.11347	2004-05-22 08:33:27.000000000 -0400
@@ -455,6 +455,12 @@
 ------- Additional Comments From od@suse.de  2004-05-21 16:12 -------
 Scanning through mini/mini-ppc.c, it seems you only need "mcrxr 0" (i.e. 
 "ppc_mcrxr (code, 0);"). If you have a spare register, an easy replacement 
 seems to be "mfxer  Rx" and "mtocrf 0, Rx" (i.e. with your current set of 
 macros: "ppc_mfspr  (code, <x>, ppc_xer);" and "ppc_mtcrf (code, 0x1, <x>);"). 
+------- Additional Comments From lupus@ximian.com  2004-05-22 08:33 -------
+Olaf, thanks for the info: I'll eliminate the use of mcrxr. Are there
+any other quirks like that for ppc970 that we might be bitten by?
+Do you know if "mfxer Rx" also clears the OV, CA and SO bits in XER?
+That is one of the uses we had for that instruction.