Bug 99745 - LLInt backends of non-ARM RISC platforms should be able to share code with the existing ARMv7 backend
Summary: LLInt backends of non-ARM RISC platforms should be able to share code with th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 12:03 PDT by Filip Pizlo
Modified: 2012-11-14 04:25 PST (History)
5 users (show)

See Also:


Attachments
the patch (39.22 KB, patch)
2012-10-20 12:17 PDT, Filip Pizlo
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2012-10-18 12:03:52 PDT
Currently armv7.rb contains loads of useful lowering phases for transforming programs in the offlineasm language into a form more amenable to code generation on ARM.  But in fact, most of these phases are generally useful for any RISC target, like MIPS, for example.  We should take those things in armv7.rb that are more broadly useful and factor them out into a separate file so that future LLInt ports don't have to copy-paste code.
Comment 1 Filip Pizlo 2012-10-20 12:17:37 PDT
Created attachment 169770 [details]
the patch
Comment 2 Geoffrey Garen 2012-10-20 12:31:06 PDT
Comment on attachment 169770 [details]
the patch

r=me
Comment 3 Filip Pizlo 2012-10-20 13:08:20 PDT
Landed in http://trac.webkit.org/changeset/131989