New backend for Sparse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux