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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 24 May 2004 07:05:22 -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 od@suse.de.


--- shadow/58279	2004-05-22 08:33:27.000000000 -0400
+++ shadow/58279.tmp.3381	2004-05-24 07:05:22.000000000 -0400
@@ -461,6 +461,19 @@
 ------- 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.
+------- Additional Comments From od@suse.de  2004-05-24 07:05 -------
+"mfxer  Rx" does not clear SO, OV or CA. The following sequence can 
+be used (leave out the "mtocrf 0, Rx", if you do not want to set the CR 
+along the way): 
+    mfxer  Rx 
+    mtocrf 0, Rx 
+    rlwinm Rx,Rx,0,0,28 
+    mtxer  Rx 
+BTW, a patch emulating mcrxr in the Kernel is available.