I had some problems related to non-aligned memory accesses as done in WebCore::equal(StringImpl* string, const UChar* characters, unsigned length) function for the SH4 platform. My question is: can you add support in WebKit sources for SH4 platform? In attachment you can find a patch (against WebKit trunk) that introduce the SH4 platform and solves the non-aligned memory accesses (I use the same code as per ARM platform).
Created attachment 28299 [details] Introduce the SH4 platform - solves the non-aligned memory accesses for SH4 in WebCore::equal 1. Introduce the SH4 platform 2. Solves the non-aligned memory accesses for SH4 (I use the same code as per ARM platform).
Comment on attachment 28299 [details] Introduce the SH4 platform - solves the non-aligned memory accesses for SH4 in WebCore::equal r=me NOTE: Need to add the bug title and bug number to the ChangeLogs before landing.
$ git svn dcommit Committing to http://svn.webkit.org/repository/webkit/trunk ... M JavaScriptCore/ChangeLog M JavaScriptCore/wtf/Platform.h M WebCore/ChangeLog M WebCore/platform/text/AtomicString.cpp Committed r41475 http://trac.webkit.org/changeset/41475