Firefox will crash when visiting www.hp.com on Sparc platform.
Created attachment 386970 [details] [diff] [review] patch The following code was generated for www.hp.com .......... sethi %hi(0xec847000), %l0 bset 0x00000088, %l0 ! 0xec847088 sethi %hi(0x1400), %l0 bset 0x000001fc, %l0 ! 0x15fc st %l0, [%i0 + %l0] .......... Register %l0 was recovered by itself. The reason here is that register L0 is used as a temporary register in a lot of micros. So when these macros are used, L0 should not be used any more. We need other temporary registers. So use L2 to replace L0 in NativeSparc.cpp.
http://hg.mozilla.org/tamarin-redux/rev/3229dc849e9a http://hg.mozilla.org/tracemonkey/rev/6c9d9a6fa977 http://hg.mozilla.org/mozilla-central/rev/2f6cb9dc1f13 Pushed into mozilla-1.9.1 as NPOTB code. http://hg.mozilla.org/releases/mozilla-1.9.1/rev/bf6e91d60563
Leon, or anyone with sparc, can you verify this fix on trunk and a 1.9.1 nightly? Please change the status to verified and keyword to verified126.96.36.199 also. Thanks.