Software

EU Creates Self-Tuning Compiler

Posted 2 Jul 2009 at 16:10 UTC by steve Share This

Robots use all kinds of embedded processors. New processors are being created all the time. Writing software for all those processors requires a compiler and the most commonly used compiler is GNU GCC, originally created by Richard Stallman that made the Free Software and Open Source movements possible. The trouble is, a lot of work is involved in optimizing a complex compiler like GCC for every new processor that turns up. What if we could use AI and machine learning techniques to do all that work? This idea was explored by a group of EU research organizations. The result is MILEPOST GCC 4.4.0, the first machine learning enabled, self-tuning compiler that can adapt to any architecture using an iterative feedback-directed process. From the IBM press release:

Initial IBM experiments conducted on IBM System p servers achieved an average 18 percent performance improvement on embedded-application benchmarks...it normally takes application developers many months to get their software running at an acceptable level of performance. Milepost GCC can reduce the amount of time it takes to reach that level by a factor of 10.

The diagram above compares a block diagram of the current GCC with MILEPOST GCC. At present MILEPOST GCC is a research compiler only but because it's Free Software, you can download MILEPOST GCC, use it, study it, and even modify the code if you wish. To make modification easier, the researchers have also created a plugin API called the Interactive Compilation Interface (ICI). For more on how the machine learning process works, visit the MILEPOST website. You can learn a lot about what's going on by reading the MILEPOST FAQ. There is also a mailing list for those who'd like to join the development project and help work on this new generation of intelligent self-tuning compilation tools.

Robot of the Day

NR-3

Built by
Francisco Carabaza

Recent blogs

12 Mar 2010 suckeroi (Observer)
8 Mar 2010 jmhenry (Journeyer)
7 Mar 2010 TrueAndroids (Observer)
6 Mar 2010 svo (Master)
3 Mar 2010 Pi Robot (Journeyer)
27 Feb 2010 motters (Master)
26 Feb 2010 Flanneltron (Journeyer)
24 Feb 2010 middlecreekmerchants (Master)
23 Feb 2010 evilrobots (Observer)
14 Feb 2010 rgeraci (Apprentice)
11 Feb 2010 The Swirling Brain (Master)
1 Feb 2010 trossenrobotics (Observer)
25 Jan 2010 Maliko (Observer)
23 Jan 2010 Myzhar (Observer)
17 Jan 2010 steve (Master)
13 Jan 2010 watsonjosh (Apprentice)
31 Dec 2009 AI4U (Observer)
21 Dec 2009 johndavid400 (Apprentice)

Newest Robots

7 Aug 2009 Titan EOD
13 May 2009 Spacechair
6 Feb 2009 K-bot
9 Jan 2009 3 in 1 Bot
15 Dec 2008 UMEEBOT
10 Nov 2008 Robot
10 Nov 2008 SAMM
24 Oct 2008 Romulus
30 Sep 2008 CD-Bot
26 Sep 2008 Little Johnny

User Cert Key

Observer
Apprentice
Journeyer
Master
X
Share this page