From: Dibyendu Majumdar <mobile@majumdar.org.uk>
To: Linux-Sparse <linux-sparse@vger.kernel.org>
Subject: New backend for Sparse
Date: Tue, 4 Jul 2017 23:11:04 +0100 [thread overview]
Message-ID: <CACXZuxetCi8s1KSvttt6KeuwRgnQNenBPexVd3gyUhrzCiN2qA@mail.gmail.com> (raw)
Hi,
For the past few months I have been working (sporadically) on a new
backend for Sparse. This backend utilizes a JIT library originally
created at Adobe, then used and subsequently abandoned by Mozilla. It
is known as NanoJIT. The NanoJIT library is small compared to LLVM and
lacks the latter's optimization capabilities. Also there are some
limitations in the library that prevent some features of the C
language from being supported. The main advantage for me is that it
has been relatively easy to implement the backend - the NanoJIT IR is
similar to Sparse IR in that it works at a low level - and does not
understand aggregate types. Hence in some ways it is a better fit for
Sparse than LLVM.
I wanted to share following which gives you some idea of the progress
made thus far:
https://github.com/dibyendumajumdar/dmr_c/tree/master/tests/nano
Eventually I think I would like to write my own backend from scratch
... but that is perhaps some way away.
Thanks and Regards
Dibyendu
reply other threads:[~2017-07-04 22:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACXZuxetCi8s1KSvttt6KeuwRgnQNenBPexVd3gyUhrzCiN2qA@mail.gmail.com \
--to=mobile@majumdar.org.uk \
--cc=linux-sparse@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).