Global Sources
EE Times AsiaWebsite
Stay in touch with EE Times Asia
eeBlogs-Article content Home?/?eeBlog?/?eeBlogs
Nickname:?Bernard Cole???? Articles(67)???? Visits(175749)???? Comments(18)???? Votes(73)???? RSS site editor Bernard Cole tells you about things embedded.
Blog Archive
2015?-? Oct.,?? Sep.,?? Aug.,?? Jul.,?? Jun.,?? May.,?? Feb.,?? Jan.??
2014?-? Sep.,?? Aug.,?? Jun.,?? May.,?? Apr.,?? Feb.,?? Jan.??
2013?-? Dec.,?? Sep.,?? Aug.,?? Jul.,?? Jun.,?? Mar.,?? Feb.,?? Jan.??
View All
Comment?|?Add to Favorites

Posted: 06:15:39 PM, 15/04/2014

ARM shifts to open source LLVM compiler

? ?

ARM Ltd has recently made the move in its tool chain to the use of the open source!but misnamed!Low Level Virtual Machine compiler (LLVM) and its C-language Clang front end. This came 10 years after Apple moved to its use!and hired one of the programmers behind its creation.

It will be available first for its Cortex-A50 processor and then later in other embedded focused cores such as the Cortex-M series. A fundamental shift away from proprietary technology. the new ARM Compiler 6 also supports the coming 64bit ARMv8 architecture and will be integrated into future versions of the DS-5 development suite for high- and system-on-chip development.

The ARM v8 backend is in open source currently and is now in the process of integration into the DS-5 tool chain. After V8, next to to added will be the V7A and R are cores, probably by no later than the end of 2014.

Up to now, said Hobson Bullman, general manager of development solutions, ARM has supported GCC open-source, but LLVM will form the basis of all new compiler technology developments. The compiler will be offered as an open source and free tool within the tool chain along with ARM's proprietary software tool componets.

Despite is misleading name, LLVM?is an extensible compiler framework developed originally at the University of Illinois for testing such advanced code generation techniques such as link-time code generation and just-in-time compilation. Bullman said LLVM's modular framework makes it easier to develop and test new optimisations, leading to better performing code and lower power consumption.

Clang is a C/C++ compiler front end based on a modular architecture with well-defined interfaces for applying complimentary tools such as code analysers and code generators. Clang also offers improved diagnostic capabilities, leading to higher quality code and shorter development cycles, he said.

One of the original aims of Clang was replacement of the GCC compiler at the core of most embedded tool suites with one that is more integrated development environments (IDEs) friendly and has more extensive multi-threading support. However, up until recently the run time performance of the compiled programs using GCC out performed LLVM by about 10%. But more recent reports indicated that LLVM has caught up and is capable of compiling binaries of about equal performance, except for programs using OpenMP.

LLVM project started in 2000 at the University of Illinois at UrbanaCChampaign, under the direction of Vikram Adve and Chris Lattner. LLVM was released under the University of Illinois/NCSA Open Source Licence, a non-copyleft licence. In 2005, Apple Inc. hired Lattner and formed a team to work on the LLVM system for various uses within Apple's development systems, including those for its Mac OS X and its iOS for the iPhone, i,Pad and IPod consumer and mobile products.

Although LLVM was originally written to be a replacement for the existing C code generator in the GCC stack it now supports compiling of Ada, C, C++, D, Fortran, and Objective-C, using various front ends, some derived from version 4.0.1 and 4.2 of the GNU Compiler Collection (GCC).

In addition to Clang, there are a range of front ends to LLVM for a variety of languages including Ada, C++, D, Fortran, Objective-C, and Haskell. In additon to ARM processors, LLVM now supports the instruction sets for a wide variety of mobile and embedded processors, including MBlaze, MIPS, Nvidia PTX, PowerPC, R600, SPARC, x86/x86-64, and XCore.

"Clang and LLVM have become essential technologies for high-volume mobile platforms," said Travis Lanier, director of product management, Qualcomm Technologies, Inc.

ARM Compiler 6 supports ARM Cortex-A50 processor series and is available as part of the DS-5 Development Studio Ultimate Edition.


Label: compiler ARM LLVM
Views(1337) Comments(0)
Total [1] users voted ????
[Last update: 06:16:37 PM, 15/04/2014]
Have Your Say!

Bloggers Say

Got something to say? Why not share it with other engineers?

Just introduce yourself to us, we'll contact you and set you up. Yes, it's that simple!

See what engineers like you are posting on our pages.

Interviews & Viewpoints


Learn how senior executives are seeing the industry from interviews and contributed opinions.

Back to Top