Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何编程技巧将不胜感激。
MMX、SSE和3DNow使用 64 或 128 位寄存器
但是,除非您在汇编程序或编写编译器方面的水平非常低,否则您不会自己“编程”它们。它对几乎每个人都是透明的
对于 x86-64,通用寄存器是 64 位而不是 32 位(其中有 16 个而不是 8 个)。(您还可以获得 16 个(128 位)SSE 寄存器,而不是通常的 8 个。)因此,与旧的 skool 32 位代码相比,体面的编译器通常能够在 x86-64 代码中生成更高效的代码(更少的寄存器溢出) 。