Monday, September 23, 2013

LLVM

LLVM (Low Level Virtual Machine)

Compiler Technology Components
ClooG:
CLooG is a free software and library to generate code for scanning Z-polyhedra. Install CLoog for Polly.

Polly:
Polly is a polyhedral optimizer for LLVM.

Clang:
Clang is to create a new C, C++, Objective C and Objective C++ front-end for the LLVM compiler.

lld:
The LLVM Linker.

LLDB:
LLDB is a high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler.

libcxx:
libc++ is a new implementation of the C++ standard library, targeting C++11.

How to build LLVM on MacBook Air

$ mkdir LLVM
$ cd LLVM
$ wget http://llvm.org/releases/3.4/llvm-3.4.src.tar.gz
$ wget http://llvm.org/releases/3.4/clang-3.4.src.tar.gz
$ wget http://llvm.org/releases/3.4/compiler-rt-3.4.src.tar.gz
$ tar zxf llvm-3.4.src.tar.gz
$ tar zxf clang-3.4.src.tar.gz
$ tar zxf compiler-rt-3.4.src.tar.gz
$ mv clang-3.4/ llvm-3.4/tools/clang/
$ mv compiler-rt-3.4/ llvm-3.4/projects/compiler-rt/

$ mkdir llvm-3.4.build
$ cd llvm-3.4.build
$ ../llvm-3.4/configure --enable-shared
$ time make
 . . . . . . wait . . . . . .

real   88m6.255s
user  82m21.556s
sys   4m25.115s

$ make check-all

Before starting to use LLVM, please remember to include the LLVM binaries in our path.

#(?) Now, you can compile C code by using the clang -- the C front-end for the LLVM compiler.

Thursday, September 12, 2013

Intel Bay Trail Atom processor family

Intel

  • Bay Trail-T
  • Bay Trail-M
  • Celeron N2805 (Bay Trail-M), 2 cores @ 1,46 GHz, 4.5W TDP
    Celeron N2810 (Bay Trail-M), 2 cores @ 2,00 GHz, 7.5W TDP
    Celeron N2910 (Bay Trail-M), 4 cores @ 1,60 GHz, 7.5W TDP
    Pentium N3510 (Bay Trail-M), 4 cores @ 2,00 GHz, 7.5W TDP


  • Bay Trail-D
  • Celeron J1750 (Bay Trail-D), 2 cores @ 2,41 GHz, 10W TDP
    Celeron J1850 (Bay Trail-D), 4 cores @ 2,00 GHz, 10W TDP
    Pentium J2850 (Bay Trail-D), 4 cores @ 2,41 GHz, 10W TDP


  • Bay Trail-I
  • Atom E3810 (Bay Trail-I), 1 core @ 1,46 GHz, 5W TDP
    Atom E3821 (Bay Trail-I), 2 cores @ 1,33 GHz, 6W TDP
    Atom E3822 (Bay Trail-I), 2 cores @ 1,46 GHz, 7W TDP
    Atom E3823 (Bay Trail-I), 2 cores @ 1,75 GHz, 8W TDP
    Atom E3840 (Bay Trail-I), 4 cores @ 1,91 GHz, 10W TDP


    Obviously, this new processor family is against ARM.

    ARM


  • Cortex-A
  • Cortex-M
  • Cortex-R