タグ

x64に関するkchaのブックマーク (9)

  • x86/x64最適化勉強会6 レポート - Cybozu Inside Out | サイボウズエンジニアのブログ

    こんにちはサイボウズ・ラボの光成です。 今回は8月31日に開催された「x86/x64最適化勉強会6」の模様についてお伝えします。 今回の勉強会では、6月に発売された Haswell の新しい機能にかかわるものが3件、C++ によるゲーム開発の環境にかかわるもの、ARMと x86 の比較、Xeon Phi についてがそれぞれ1件ずつの発表でした。 以下、それぞれの発表内容について簡単に解説します。 Haswell 関係 私は「Haswellサーベイと有限体クラスの紹介」(動画1)を発表しました。前半は Haswell の復習として、パイプラインの改良点と、256bit 長に対応した整数演算命令 AVX2、積和演算を1命令で行う FMA、いくつかのビット演算命令や暗号用途の整数演算命令などについてサンプルコードを示しつつ紹介しました。gcc 4.8 などの新しいコンパイラでは、ソースコードを変

    x86/x64最適化勉強会6 レポート - Cybozu Inside Out | サイボウズエンジニアのブログ
  • x86/x64最適化勉強会5 レポート - Cybozu Inside Out | サイボウズエンジニアのブログ

    こんにちはサイボウズ・ラボの光成です。 今回は3月30日に開催された「x86/x64最適化勉強会5」の模様についてお伝えします。 x86/x64最適化勉強会会場 プログラム開発においては、開発の段階において早すぎる最適化は悪、当に必要になってから最小限だけ行いなさいと言われています。 また今どきのコンパイラは優秀なので、下手な小細工はせずにコンパイラに任せておくのがよいとも言われています。 もちろん一般的にはそれは正しいのですが、普段動画や音声を利用するときに使われているコーデック、ネット上での決済時に利用される暗号ライブラリなどは、人の手によるアセンブリ言語で開発されていることが多いのもまた事実です。 私が主催しているこの勉強会はそういう下回りのライブラリを開発するときに必要な技術や情報の交換のために行っています。 ustreamで過去の会の動画も含めてみることができます。 以下、やや

    x86/x64最適化勉強会5 レポート - Cybozu Inside Out | サイボウズエンジニアのブログ
  • 碧落 - Win64 開発

    クロスコンパイル可能なコードを書く 前述の通り Win32API と Win64API の間には API として極めて高い互換性があります。 そのためソースコードがクロスコンパイル可能かどうかは 「データモデルの変化が問題とならないよう記述してあるかどうか」 の一点でほぼ決まります。 データモデルの変化が問題とならないように記述するには、 要するに「型のサイズに依存しない」ように書けば良いだけです。 言語仕様上どの型もサイズが決められていない C/C++ の世界では 「型のサイズに依存しない」 という考えは原則に近い作法です (C99 で導入された固定サイズの型は例外)。 そのためこの作法を守って普段から開発していれば特に悩む事もありません。 しかし仮にコンパイラの警告レベルを最大にして型のサイズに関する警告が出ない状態になっても、 実は十分とは言い切れません。 Win64API ではサイ

  • Data Center

    Using Intel.com Search You can easily search the entire Intel.com site in several ways. Brand Name: Core i9 Document Number: 123456 Code Name: Emerald Rapids Special Operators: “Ice Lake”, Ice AND Lake, Ice OR Lake, Ice* Quick Links You can also try the quick links below to see results for most popular searches. Product Information Support Drivers & Software

    Data Center
    kcha
    kcha 2011/07/21
    64ビットのお話まとめ、でいいのかな?
  • x86_64のLongモードをやってみる - ウォンツテック

    なんとなく64bitCPUのブートシーケンスが気になったのでx86_64(AMD64)のブートを調べてみました。 AMD64アーキテクチャ互換のCPUが無いため実行環境はエミュレータのqemu-system-x86_64で。 開発環境も32bitしか無いため32bitホスト上に以下のようなクロスコンパイル環境を作ります。 binutils 今回はCコードまではいかないのでassemblerとlinkerさえあれば十分というわけで、GNU binutilsのsourceを拾ってきて以下のようにコンパイルします。 % ./configure -prefix=/usr/local/m64 --disable-nls --enable-64-bit-bfd --enable-targets=all % make % sudo make install 「--enable-64-bit-bfd」で6

    x86_64のLongモードをやってみる - ウォンツテック
  • Intel(R) 64 and IA-32 Architectures Software Developer's Manuals

    Overview These manuals describe the architecture and programming environment of the Intel® 64 and IA-32 architectures. Electronic versions of these documents allow you to quickly get the information you need and print only the pages you want. The Intel® 64 and IA-32 architectures software developer's manuals are now available for download via one combined volume, a four-volume set, or a ten-volume

    Intel(R) 64 and IA-32 Architectures Software Developer's Manuals
  • ユメのチカラ: Intelのマニュアルを読む

    Intel 64 and IA-32 Architectures Software Developer's Manuals は下記にある。 http://www.intel.com/products/processor/manuals/index.htm どれから読んだらいいか、よく分からないということであれば、 Volume 1: Basic Architectureをざっと見て、 Volume 3A: System Programming Guideに行くというのがオーソドックスかと思う。インストラクションセットの解説( Volume 2A/2B)は辞書的に必要な命令について適宜参照するという形になる。 マイクロアーキテクチャについてざっくり知りたい場合は、Intel 64 and IA-32 Architectures Optimization Reference Manualの第2

  • flatassembler.net

    Welcome to the site of the flat assembler! This is a place dedicated to assembly language programming and contains many resources for both beginners and advanced assembly programmers. This site is constantly being improved, and hopefully you'll find here some useful resources, no matter whether you are trying to learn the assembly language, or just looking for a solution to a particular problem. T

  • x86-64 - Wikipedia

    AMD Opteron, the first CPU to introduce the x86-64 extensions in April 2003 The five-volume set of the x86-64 Architecture Programmer's Manual, as published and distributed by AMD in 2002 x86-64 (also known as x64, x86_64, AMD64, and Intel 64)[note 1] is a 64-bit version of the x86 instruction set, first announced in 1999. It introduced two new modes of operation, 64-bit mode and compatibility mod

    x86-64 - Wikipedia
  • 1