12.07.2015 Views

RealView Compilation Tools コンパイラユーザガイド - ARM ...

RealView Compilation Tools コンパイラユーザガイド - ARM ...

RealView Compilation Tools コンパイラユーザガイド - ARM ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

コンパイラの 機 能int _dnm:19;int Q:1;int V:1;int C:1;int Z:1;int N:1;} b;unsigned int word;} PSR;#else /* __BIG_ENDIAN */typedef union{struct{int N:1;int Z:1;int C:1;int V:1;int Q:1;int _dnm:19;int I:1;int F:1;int T:1;int mode:5;} b;unsigned int word;} PSR;#endif /* __BIG_ENDIAN */register PSR apsr __asm("apsr");void set_Q(void){apsr.b.Q = 1;}4.1.6 NEON コ ンパイ ラ 組 み 込 み 関 数<strong>ARM</strong> コンパイラには、 ベク トル 化 コンパイラとアセンブラコード 記 述 との 中間 に 位 置 する、 SIMD コード 生 成 用 の NEON コ ンパ イ ラ 組 み 込 み 関 数 が 用 意されています。 こ の 機 能 を 使 用 する と 、 アセンブ ラ を 直 接 記 述 する 場 合 に 比べ、 NEON アーキテ ク チ ャ を 利 用 する コー ド を 記 述 しやす く な り ます。NEON コ ンパ イ ラ 組 み 込 み 関 数 は、 ヘ ッ ダフ ァ イル arm_neon.h で 定 義 されています。 こ のヘ ッ ダフ ァ イルには、 コ ンパイ ラ 組 み 込 み 関 数 と 一 連 のベ ク タ型 の 両 方 が 定 義 されています。 NEON コ ンパ イ ラ 組 み 込 み 関 数 の 詳 細 については、 『コンパイ ラ リ ファレンスガイ ド』 の 付 録 E NEON サポー ト の 使 用 を 参照 して 下 さい。4-12 Copyright © 2002-2010 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0205IJNon-Confidential, ID 100419

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!