インテル(R) C++ Composer XE 2011 Windows版 入門ガイド

Similar documents
インテル(R) Visual Fortran Composer XE 2011 Windows版 入門ガイド

インテル(R) Visual Fortran Composer XE

インテル(R) Visual Fortran Composer XE 2013 Windows版 入門ガイド

v10 IA-32 64¹ IA-64²

インテル® Parallel Studio 入門ガイド

Microsoft Word - w_mkl_build_howto.doc

スライド 1

hotspot の特定と最適化

Microsoft PowerPoint - 1_コンパイラ入門セミナー.ppt

インテル® Parallel Studio XE 2013 入門ガイド

インテル(R) Visual Fortran コンパイラ 10.0

インテル® Parallel Studio XE 2019 Composer Edition for Fortran Windows : インストール・ガイド

インテル® Parallel Studio XE 2019 Composer Edition for Fortran Windows 日本語版 : インストール・ガイド

インテル® Visual Fortran コンパイラー 11.0 Windows* 版プロフェッショナル・エディション

- 2 Copyright (C) All Rights Reserved.

FileMaker Server Getting Started Guide

Intel_ParallelStudioXE2013_ClusterStudioXE2013_Introduction.pptx

Copyright 2008 All Rights Reserved 2

ハピタス のコピー.pages

相続支払い対策ポイント

150423HC相続資産圧縮対策のポイント

Copyright 2009, SofTek Systems, Inc. All rights reserved.

インテル® Parallel Studio XE 2013 Windows* 版インストール・ガイドおよびリリースノート

インテル® Parallel Studio XE 2019 Composer Edition for Windows: インテル® Fortran コンパイラー 入門ガイド

FileMaker Server 9 Getting Started Guide

製品価格 ( 新規購入 ) INT6531 インテル VTune Amplifier XE 2017 for Windows Floating 1-275, ,000 INT6532 インテル VTune Amplifier XE 2017 for Linux Floating 1-27

Pentium 4

目次 1 はじめに 製品に含まれるコンポーネント 動作環境... 4 オペレーティング システム... 4 Microsoft Visual Studio* 製品 製品のダウンロード 製品版をインストールする場合 評価版を

DPD Software Development Products Overview

2

目次 1 はじめに 製品コンポーネント 動作環境 インストールを行う前に 製品版と評価版 製品のインストール手順 製品の登録 製品のダウンロード ライセンスファイルの取得

インテル® Parallel Studio XE 2015 Composer Edition for Linux* インストール・ガイドおよびリリースノート

インテル® Fortran Studio XE 2011 SP1 Windows* 版インストール・ガイドおよびリリースノート

THE PARALLEL Issue UNIVERSE James Reinders Parallel Building Blocks: David Sekowski Parallel Studio XE Cluster Studio Sanjay Goil John McHug

Copyright 2008 NIFTY Corporation All rights reserved. 2

<%DOC NAME%> (User Manual)

スレッド化されていないアプリケーションでも大幅なパフォーマンス向上を容易に実現

初心者にもできるアメブロカスタマイズ新2016.pages

インテル® Parallel Studio XE 2016 Composer Edition for Fortran Windows -入門ガイド-

FileMaker Server 9 Getting Started Guide

EPSON Easy Interactive Tools Ver.2 Operation Guide

Copyright 2006 KDDI Corporation. All Rights Reserved page1

インテルソウトウェア開発製品アカデミック版特定ユーザーライセンス標準価格表 株式会社アークブレイン 2016 年 5 月 10 日 ~ 製品型番 アカデミック版特定ユーザーライセンス 税別標準価格 税込標準価格 INT5744 インテル Parallel Studio XE 2016 Cluster

Parallel Studio XE Parallel Studio XE hotspot ( )

Web Microsoft 2008 R2 Database Database!! Database 04 08

Click to edit title

インテル® ソフトウェア・カンファレンス福岡 インテル® コンパイラーを使用する際に直面するよくある問題と課題

Copyright All Rights Reserved. -2 -!

インテル® Parallel Studio XE 2017 Composer Edition for Fortran Windows - インストール・ガイド -

untitled

スパコンに通じる並列プログラミングの基礎

スパコンに通じる並列プログラミングの基礎

u302.book

インテル® VTune™ パフォーマンス・アナライザー 9.1 Windows* 版

IPA:セキュアなインターネットサーバー構築に関する調査

Microsoft Word - IVF15.0.1J_Install.doc

MKL10.3 Win_UsageGuide

MSAC-EX1

01_OpenMP_osx.indd

Microsoft Word - 最終版 バックせどりismマニュアル .docx

インテル Parallel Studio XE 2017 Composer Edition for Fortran Windows* インストール ガイド Rev (2017/06/08) エクセルソフト株式会社

Andor

SmartLMSユーザーズガイド<講師編>

Contents Windows* /Linux* C++/Fortran... 3 Microsoft* embedded Visual C++* C Microsoft* Windows* CE.NET Platform Builder C IP

インテル® Parallel Studio XE 2017 Composer Edition for Fortran -入門ガイド-

2

FileMaker Server Getting Started Guide

<Documents Title Here>

ストリーミング SIMD 拡張命令2 (SSE2) を使用した SAXPY/DAXPY

dekiru_asa

Windows SE RAC 10g 構築手順書

Excel97関数編

Windows

インストールマニュアル

FFTSS Library Version 3.0 User's Guide

KDDI

untitled

- 2 Copyright (C) All Rights Reserved.

写真集計くん+ for Mac ユーザーズガイド

はがきファイリングOCR V1.1 ユーザーズガイド

インストールマニュアル

Intel® Compilers Professional Editions

CPU Levels in the memory hierarchy Level 1 Level 2... Increasing distance from the CPU in access time Level n Size of the memory at each level 1: 2.2

untitled

LAPLINK ヘルプデスク 操作ガイド

Microsoft Project Project 1984 No.1 Project PMBOK (Project Management Body of Knowledge) 1 2 ( ) 3 3 Project 3 Project Standard/Professional Office Pr

Oracle Application Server 10g(9

H H H H H H H H Windows IC USB WindowsXP+FZ1360 WindowsXP+FZ1350 J2SE Runtime Environment 5.0 Window

インテル® Parallel Studio XE 2013 Linux* 版インストール・ガイドおよびリリースノート

how-to-decide-a-title

Cosminexus Application Designer操作ガイド

健康保険組合のあゆみ_top

リバースマップ原稿2

Copyright 2010 Sumitomo Mitsui Banking Corporation. All Rights Reserved.

FileMaker Server 8 Administrator’s Guide

Product Brief 高速なコードを素早く開発 インテル Parallel Studio XE 2017 インテル ソフトウェア開発ツール 概要 高速なコード : 現在および次世代のプロセッサーでスケーリングする優れたアプリケーション パフォーマンスを実現します 迅速に開発 : 高速かつ安定し

keysql42_usersguide

DVD-R/RWユニットユーザーズマニュアル

インテル® スレッドチェッカー 3.1 Linux* 版

workshop Eclipse TAU AICS.key

Transcription:

C++ Composer XE 2011 Windows* エクセルソフト株式会社 www.xlsoft.com Rev. 1.2 (2011/05/03) Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 1 / 70

... 4... 5... 6... 8 /... 8... 10 /... 11... 11 /... 13 Microsoft Visual Studio IDE... 14 Visual Studio 2008... 14...18 /... 19...20 /... 23...24 /... 25 Visual Studio 2010... 26...31 /... 32...32 /... 35...36 /... 38... 39 HLO... 39 IPO... 39 PGO... 40... 42... 46 GAP... 47 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 2 / 70

SSA... 53... 56... 58 C++... 58 VS2010 C++... 59... 60... 60... 61 64 64... 62... 64... 64... 65... 66... 70 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 3 / 70

C++ Composer XE 2011 C++ 12.0 MKL IPP TBB C++ 12.0 Microsoft* Visual Studio* (IDE) C++ C++ 12.0 C++ Composer XE 2011 C: Program Files Intel ComposerXE-2011 Visual Studio 2008 Visual Studio 2010 Visual Studio 2005 Visual Studio 2008 Core 2 Quad CPU Q6600 2.40GHz 4.00 GB 3.25 GB OS Windows 7 Professional x86 x64 Program Files Program Files (x86) Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 4 / 70

Zip C: Program Files Intel ComposerXE-2011 Samples ja_jp C++ optimize.zip C: Program Files Intel ComposerXE-2011 Samples en_us C++ optimize.zip Note ja_jp en_us C temp C: temp optimize.zip optimize int_sin.c 1 2 ( ) 4 (4.0) 2 4 2 5 8 4.0 clock Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 5 / 70

C++ icl 1. Windows [ ] [ ] - [Intel Parallel Studio XE 2011] - [Command Prompt] - [ (R) XE 12.0 Update 1] - [IA-32 Visual Studio 2008 ] C++ PATH LIB INCLUDE "C: Program Files Intel ComposerXE-2011 bin ipsxe-comp-vars.bat" ia32 vs2008 C++ Visual Studio [IA-32 Visual Studio 2005 ] [IA-32 Visual Studio 2008 ] [IA-32 Visual Studio 2010 ] [ 64 Visual Studio 2005 ] [ 64 Visual Studio 2008 ] [ 64 Visual Studio 2010 ] IA-32 C++ Visual Studio 2008 [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 6 / 70

C++ 2. icl icl > icl 3. link link icl > link link Visual Studio Note icl C++ mcpcom.exe link.exe icl C++ 4. int_sin.c > cd c: temp optimize Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 7 / 70

C++ > icl /Od int_sin.c Note C++ /Od /Od O Optimization /Zi > icl /Zi int_sin.c / int_sin.exe > int_sin.exe 4.0 ( ) Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 8 / 70

Number of Computed Integral Interior Points ------------------------------------- 4 3.141593e+000 ------------------------------------- 8 3.792238e+000 ------------------------------------- 16 3.948463e+000 ------------------------------------- 32 3.987141e+000 ------------------------------------- 64 3.996787e+000 ------------------------------------- 128 3.999197e+000 ------------------------------------- 256 3.999799e+000 ------------------------------------- 512 3.999950e+000 ------------------------------------- 1024 3.999987e+000 ------------------------------------- 2048 3.999997e+000 ------------------------------------- 4096 3.999999e+000 ------------------------------------- 8192 4.000000e+000 ------------------------------------- 16384 4.000000e+000 ------------------------------------- 32768 4.000000e+000 ------------------------------------- 65536 4.000000e+000 ------------------------------------- 131072 4.000000e+000 ------------------------------------- 262144 4.000000e+000 ------------------------------------- 524288 4.000000e+000 ------------------------------------- 1048576 4.000000e+000 ------------------------------------- 2097152 4.000000e+000 ------------------------------------- 4194304 4.000000e+000 ------------------------------------- 8388608 4.000000e+000 ------------------------------------- 16777216 4.000000e+000 ------------------------------------- 33554432 4.000000e+000 ------------------------------------- 67108864 4.000000e+000 Application Clocks = 8.299000e+003 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 9 / 70

C++ C++ /O2 /arch:sse2 SSE2 > icl int_sin.c SIMD C++ /Qvec-report > icl /Qvec-report2 int_sin.c int_sin.c 74 92 /Qvec-report 0 5 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 10 / 70

/ int_sin > int_sin.exe 4.5 ------------------------------------- 16777216 4.000000e+000 ------------------------------------- 33554432 4.000000e+000 ------------------------------------- 67108864 4.000000e+000 Application Clocks = 1.840000e+003 Note /arch:sse2 SSE2 Pentium SSE2 /arch:ia32 /arch:sse2 /arch:ia32 x86/x87 > icl /arch:ia32 int_sin.c C++ /Qparallel /Qpar-report /Qpar-report 0 3 > icl /Qparallel /Qpar-report2 int_sin.c Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 11 / 70

int_sin.c 74 92 92 /Qpar-threshold 0 100 100 90 > icl /Qparallel /Qpar-threshold90 /Qpar-report2 int_sin.c 92 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 12 / 70

/ int_sin.exe 2.7 [ ] CPU CPU 100 > int_sin.exe ------------------------------------- 8388608 4.000000e+000 ------------------------------------- 16777216 4.000000e+000 ------------------------------------- 33554432 4.000000e+000 ------------------------------------- 67108864 4.000000e+000 Application Clocks = 6.860000e+002 int_sin.c CPU 27 30 // for (j=2;j<27;j++) for (j=2;j<30;j++) { Note CPU Intel Core 2 Quad Note /MT /MD C++ > icl /Qparallel /Qpar-threshold90 /MD int_sin.c Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 13 / 70

Microsoft Visual Studio IDE C++ Microsoft Visual Studio Visual Studio Microsoft Visual Studio Visual Studio 2008 VS2008 Visual Studio 2010 VS2010 Visual Studio 2005 Visual Studio 2008 Visual Studio 2008 Microsoft Visual Studio Visual Studio 2008 1. Windows [ ] [Intel Parallel Studio XE 2011] [Parallel Studio XE 2011 with VS2008] [ ] [Microsoft Visual Studio 2008] [Microsoft Visual Studio 2008] [ ] 2. VS2008 [ ] - [ ] - [ ] [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 14 / 70

[ ] [Win32] [ ] [Win32 ] int_sin_icl [OK] C: temp optimize VS2008 [ ] [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 15 / 70

3. int_sin.c [ ] - [...] [ ] [ ] [ ] [ ] [ ] C: temp optimize int_sin.c 4. int_sin_icl int_sin.c Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 16 / 70

5. [ ] [ (R) C++ Composer XE 2011] - [ (R) C++ ] (R) C++ [ (R) C++ ] Note [ ] [ (R) C++ Composer XE 2011] - [ (R) C++ ] [ ] [OK] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 17 / 70

[ ] C++ Microsoft Visual C++ C++ C++ (.icproj) C++ Microsoft Visual C++.vcproj Microsoft Visual C++ C++ Note C++.NET 1. Debug 2. VS2008 [ ] - [ int_sin_icl ] [ ] [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 18 / 70

Note Debug Release 2 Debug Release Debug icl /Od /Zi int_sin.c / 1. VS2008 [ ] - [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 19 / 70

2. CPU 1. Release Release C++ /O2 /arch:sse2 [ ] 2. VS2008 [ ] - [ ] [ ] int_sin_icl [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 20 / 70

3. [ ] [ ] - [C/C++] - [ ] [ ] /O2 Note Debug /Od /arch:sse2 [ ] - [C/C++] - [ ] [ ] /O2 /arch:sse2 /arch:ia32 [ C++] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 21 / 70

/arch:sse2 /Qvec-report [ ] - [C/C++] - [ ] [ ] [ /Qvec-report2 ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 22 / 70

4. VS2008 [ ] - [ int_sin_icl ] Release int_sin_icl / 1. VS2008 [ ] - [ ] 2. CPU 3.5 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 23 / 70

/Qparallel /Qpar-threshold /Qpar-report 1. [ ] [ ] - [C++] - [ ] [ ] /Qparallel /Qpar-threshold /Qpar-report [ ] [ ] - [C++] - [ ] [ ] /Qpar-threshold90 /Qpar-report2 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 24 / 70

2. [ ] - [ int_sin_icl ] int_sin_icl / 1. VS2008 [ ] - [ ] 2. CPU 3.5 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 25 / 70

Visual Studio 2010 1. Windows [ ] [Intel Parallel Studio XE 2011] [Parallel Studio XE 2011 with VS2010] [ ] [Microsoft Visual Studio 2010] [Microsoft Visual Studio 2010] [ ] 2. VS2010 [ ] - [ ] - [ ] [ ] [Visual C++] - [Win32] [Win32 ] int_sin_icl [OK] C: temp optimize VS2010 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 26 / 70

[ ] [ ] 3. int_sin.c [ ] - [...] [ ] [ ] [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 27 / 70

[ ] [ ] C: temp optimize int_sin.c 4. int_sin_icl int_sin.c Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 28 / 70

5. C++ [ ] [ (R) C++ Composer XE 2011] - [ (R) C++ ] [ ] [ (R) C++ Composer XE 2011] - [ (R) C++ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 29 / 70

[ ] C++ [ ] - [ ] [ ] v100 Intel C++ Compiler XE 12.0 Note C++ Microsoft Visual C++.vcxproj Visual C++ Compiler Intel C++ Compiler C++ [ (R) C++] C++ Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 30 / 70

1. Debug 2. VS2010 [ ] - [ int_sin_icl ] [ ] [ ] Note Debug icl /Od /Zi int_sin.c Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 31 / 70

/ 1. VS2010 [ ] - [ ] 2. CPU 1. Release Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 32 / 70

2. [ ] C++ 3. Release C++ /O2 /arch:sse2 [ ] [ ] - [C/C++] - [ ] [ ] /O2 Note Debug /Od Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 33 / 70

/arch:sse2 [ ] - [C/C++] - [ ] [ ] /O2 /arch:sse2 /arch:ia32 /arch:sse2 /Qvec-report [ ] - [C/C++] - [ [ (R) C++] ] [ ] [ /Qvec-report2 ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 34 / 70

[ ] - [C/C++] - [ ] [ ] Precise /fp:precise Fast /fp:fast C++ 4. VS2010 [ ] - [ int_sin_icl ] Release int_sin_icl / 1. VS2010 [ ] - [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 35 / 70

2. CPU 3.5 /Qparallel /Qpar-threshold /Qpar-report 1. [ ] [ ] - [C++] - [ [ (R) C++] ] [ ] /Qparallel Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 36 / 70

/Qpar-threshold /Qpar-report [ ] [ ] - [C++] - [ ] [ ] /Qpar-threshold90 /Qpar-report2 2. [ ] - [ int_sin_icl ] int_sin_icl Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 37 / 70

/ 1. VS2010 [ ] - [ ] 2. CPU 3.6 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 38 / 70

C++ C++ HLO /O2 C++ /O3 /O2 > icl /O3 /QxHost file.cpp IDE [ ] [C/C++] [ ] [ ] IPO /Qipo Visual Studio xilink IPO IPO Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 39 / 70

IPO /Qip > icl /Qipo /QxHost file1.cpp file2.cpp file3.cpp IDE VS2005/2008 [ ] [C/C++] [ ] [ ] [ ] [ ] [ ] VS2010 [ ] [C/C++] [ [ (R) C++]] [ ] [ ] [ ] [ ] PGO PGO /Qprof-gen.dyn Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 40 / 70

.dyn /Qprof-use /Qipo PGO > icl /Qprof-gen /Femyapp.exe file1.cpp file2.cpp file3.cpp > myapp.exe > icl /Qprof-use /Qipo /QxHost /Femyapp.exe file1.cpp file2.cpp file3.cpp IDE VS2005/2008 [ ] [C/C++] [ ] [ ] [ ] [ ] [ ] [ (R) C++ Composer XE 2011] [ ] VS2010 [ ] [ ] [ ] [ (R) C++ Composer XE 2011] [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 41 / 70

SIMD C++ SSE SIMD /arch:sse2 /Qx /Qax C++ SSE SSE /arch: /arch:ia32 /arch:sse /arch:sse2 /arch:sse3 /arch:ssse3 /arch:sse4.1 /arch:avx /Qx /QxSSE2 /QxSSE3 /QxSSSE3 /QxSSE3_ATOM /QxSSE4.1 /QxSSE4.2 /QaxAVX /QxHost /Qax /QaxSSE2 /QaxSSE3 /QaxSSSE3 /QaxSSE4.1 /QaxSSE4.2 /QxAVX /Qx SSE /QxSSE4.2 SSE4.2 Intel Core 2 Duo SSE4.2 /QxHost SSE SSSE3 Core 2 Duo /QxHost /QxSSSE3 /QxHost /Qax SSE SSE SSE SSE SSE SSE SSE /arch:sse2 SSE /QaxSSE4.2 /QxSSE4.2 /QxSSE4.2 /arch:sse2 SSE /arch:sse2 /QxSSSE3 /QxSSSE3 /Qax /Qx Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 42 / 70

> icl /QxSSE4.2 file.cpp SSE4.2 SSE4.2 CPU > icl /QaxSSE4.2 file.cpp SSE4.2 SSE4.2 SSE2(/arch:SSE2) > icl /QaxSSE4.2 /QxSSSE3 file.cpp SSE4.2 SSE4.2 SSSE3 > icl /QaxAVX /arch:ia32 file.cpp AVX AVX x86/x87 > icl /QaxAVX,SSE4.2 /QxSSSE3 file.cpp AVX SSE4.2 AVX SSE4.2 SSSE3 > icl /QaxSSE4.2,SSE4.1 /QxAVX file.cpp /QxAVX AVX > icl /QxSSE4.2 /QxSSE4.1 file.cpp /QxSSE4.1 SSE4.1 Note /O2 SSE Core 2 Quad SSSE3 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 43 / 70

IDE VS2005/2008 /Qx [ ] [C/C++] [ ] [ ] /Qax [ ] [C/C++] [ ] [ ] VS2010 /Qx [ ] [C/C++] [ [ (R) C++]] [ ] /Qax [ ] [C/C++] [ [ (R) C++]] [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 44 / 70

Note IPO /O3 /Oa /Qalias-args- #pragma #pragma ivdep #pragma loop count #pragma vector always restrict VS2010 /fp:precise /fp:fast /Qvec-report Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 45 / 70

while OpenMP OpenMP OpenMP libiomp5md.dll IPO /Qparallel /Qpar-report[n] 0 3 n 1 /Qpar-threshold[n] n 0 100 > icl /Qipo /QxHost /Qparallel /Qpar-threshold90 /Qpar-report2 file1.cpp file2.cpp file3.cpp IDE VS2005/2008 [ ] [C/C++] [ ] [ ] VS2010 [ ] [C/C++] [ [ (R) C++]] [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 46 / 70

GAP C++ /Qvec-report[n] /Qpar-report[n] GAP Pragma / Note C++ SIMD GAP /Qguide /Qguide:[n] n 1 4 4 GAP /Qguide IDE GAP /O2 /Qparallel GAP GAP GAP ID C++ GAP C: Program Files Intel ComposerXE-2011 Samples en_us C++ GuidedAutoParallel.zip GAP > icl /Qparallel /Qvec-report2 /Qpar-report2 main.cpp scalar_dep.cpp Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 47 / 70

scalar_dep.cpp 76 main.exe GAP > icl /Qparallel /Qguide main.cpp scalar_dep.cpp GAP scalar_dep.cpp 76 2 b #pragma parallel private(b) Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 48 / 70

b GAP [ ] 2 #pragma loop count min(256) 10000 2 scalar_dep.cpp for (i=0; i<n; i++) { if (A[i] > 0) {b=a[i]; A[i] = 1 / A[i]; } if (A[i] > 1) {A[i] += b;} } #pragma parallel private(b) #pragma loop count min(256) for (i=0; i<n; i++) { if (A[i] > 0) {b=a[i]; A[i] = 1 / A[i]; } if (A[i] > 1) {A[i] += b;} } > icl /Qparallel /Qvec-report2 /Qpar-report2 main.cpp scalar_dep.cpp GAP 7 Note GAP IPO /Qipo #pragma loop count min(256) > icl /Qipo /Qparallel /Qguide main.cpp scalar_dep.cpp IPO 10000 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 49 / 70

#pragma parallel private(b) /Qipo > icl /Qipo /Qparallel /Qvec-report2 /Qpar-report2 main.cpp scalar_dep.cpp main.cpp IPO scalar_dep.cpp test_scalar_dep() main.cpp test_scalar_dep() 48 IPO IDE IDE GAP [ ] Visual Studio [ ] [ ] VS2005/2008 [ ] [C/C++] [ ] [ ] VS2010 [ ] [C/C++] [ [ (R) C++]] Note /Qguide GAP GAP Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 50 / 70

Visual Studio [ ] GAP GAP [ ] [ ] [ (R) C++ Composer XE 2011] [ ] GAP GAP GAP [ (R) C++ Composer XE 2011] [ ] GAP [ ] /Qguide GAP Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 51 / 70

[ ] GAP [ ] /Qguide GAP VS [ ] [ ] [ (R) C++] [ ] [ ] [ (R) C++] [ ] GAP [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 52 / 70

SSA SSA Parallel Studio XE C++ Inspector XE 250 OpenMP Cilk Plus C++ Fortran SSA SSA C++ SSA C++ Inspector XE SSA SSA SSA IPO SSA mcpcom.exe svcpcom.exe SSA SSA [ ] [ ] [ ] < > Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 53 / 70

SSA /Qdiag-enable:sc{[1 2 3]} 2 1 2 3 /Qdiag-enable:sc-include SSA SSA > icl /Qdiag-enable:sc3 /Qdiag-enable:sc-include file1.cpp file2.cpp file3.cpp IDE VS2005/2008 [ ] [C/C++] [ ] [ ] [ ] [C/C++] [ ] [ ] VS2010 [ ] [C/C++] [ [ (R) C++]] [ ] [ ] [C/C++] [ [ (R) C++]] [ ] SSA My Inspector XE Results-<product name> IDE Inspector XE *.inspxe Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 54 / 70

SSA Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 55 / 70

Hotspot PGO Time Stamp Counter (TSC) /Qprofile-functions /Qprofile-loops:<arg> arg = inner outer all /Qprofile-loops-report:[n] n = 1 2 /Qprofile-loops: > icl /Qprofile-loops:all /Qprofile-loops-report:2 /Feoutfile.exe main.cpp sub1.cpp sub2.cpp loop_prof_funcs_<timestamp>.dump loop_prof_loops_<timestamp>.dump loop_prof_<timestamp>.xml XML XML XML C: Program Files Intel ComposerXE-2011 bin loopprofileviewer.jar Java Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 56 / 70

Note Visual Studio [C/C++] [ ] [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 57 / 70

C++ C++ C++ Ctrl [ (R) C++ Composer XE 2011] [ (R) C++ ] C++ [ ] [ ] Visual Studio 2005/2008 Visual Studio 2010 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 58 / 70

Note C++ Microsoft Visual C++ C++ C++ Microsoft Visual C++ VS2010 C++ C++ Visual Studio 2010 C++ [ ] [ ] [ ] [ ] [ / ] MSBuild Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 59 / 70

C++ Composer XE 2011 /Qdiag-message-catalog- C++ /MD /MDd C++ C++ C: Program Files Intel ComposerXE-2011 Documentation ja_jp credist.txt C++ http://software.intel.com/en-us/articles/redistributable-libraries-for-the-intel-c-and-visual-fortran-composer-xe-for -windows/ Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 60 / 70

Visual Studio IDE [ ] [ ] - [C/C++] - [ ] [ ] [ ] - [ ] - [ ] [ ] [ ] - [ ] - [ ] [ ] DLL DLL Path [ ] [ ] - [ ] [ ] Path Path=C: Program Files ThirdParty bin ia32 [ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 61 / 70

64 64 C++ 64 Windows [ ] [ ] - [Intel Parallel Studio XE 2011] - [Command Prompt] - [ (R) XE 12.0 Update 1] - [ 64 Visual Studio 2008 ] 64 64 icl 64 > icl Visual Studio IDE C++ 64 [ ] [ ] < > [ ] x64 64 64 Visual Studio IDE Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 62 / 70

[ ] 64 C++ 64 64 Microsoft Visual Studio IDE 64 Visual Studio 2005 2008 Standard Edition X64 [ ] X64 Visual Studio 2010 x64 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 63 / 70

C++ Windows [ ] Visual Studio IDE [ ] (R) C++ Composer XE Visual Studio IDE F1 [ ] [ ] F1 C++ IPO Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 64 / 70

> icl /help optimize C++ Intel Cilk Plus PGO IPO OpenMP* samples.htm C: Program Files Intel ComposerXE-2011 Samples ja_jp C++ samples.htm Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 65 / 70

PATH INCLUDE LIB.lib Path.dll Visual Studio C: Program Files Intel ComposerXE-2011 bin compilervars.bat arch [vs] 2 arch ia32 IA-32 / Intel64 IA-32 ia32_intel64 IA-32 Intel64 intel64 Intel64 Intel64 2 vs Visual Studio Visual Studio vs2005 Visual Studio 2005 vs2008 Visual Studio 2008 vs2010 Visual Studio 2010 Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 66 / 70

C: Program Files Intel ComposerXE-2011 bin compilervars.bat ia32 vs2008 Windows PATH [ ] [ ] [ ] Windows XP [ ] [ ] [ ] [ ] [ ] Path Path IA-32 C: Program Files Intel ComposerXE-2011 redist ia32 compiler Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 67 / 70

Visual Studio Visual Studio VS2005/2008 VS2010 VS2005/2008 Visual Studio [ ] [ ] [ ] [ ] [ ] [VC++ ] [ (R) C++] [ ] VS2010 [ ] [ ] [VC++ ] Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 68 / 70

Visual Studio Windows [ ] [ ] - [ ] [ ] [ ] Visual Studio [ ] - [ ] Path Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 69 / 70

http://www.xlsoft.com/jp/products/intel/tech/win_jp_limitation.html http://www.xlsoft.com/jp/products/intel/download.html C++ Composer XE Windows http://www.xlsoft.com/jp/products/intel/compilers/ccw/index.html https://www.xlsoft.com/jp/services/xlsoft_form.html Copyright 1998-2011 XLsoft Corporation. All Rights Reserved. 70 / 70