2017-06-02 59 views
3

Microsoft MASM語言包括.K3D directive。文檔很少:什麼是K3D x86 ISA擴展?

允許組裝K3D指令。

從其他指令推斷這似乎是一個x86 ISA擴展。

我在整個英特爾架構文檔中找不到該術語的實例。 A Google search on intel.com顯示總共8個結果,沒有任何用處。 A Google search on microsoft.com只能找到MASM文檔。

什麼是K3D x86 ISA擴展?是否有文檔可用?

+3

這也許是AMD的3DNow!延期。 –

+1

Ross是正確的,但是對於這個AMD的特定外部參考提供了[3DNow的移植指南](http://www.amd-k6.com/wp-content/uploads/2012/07/22621.pdf)討論MASM以及對其進行的更改(幾年前),以通過'.K3D'指令支持3D Now擴展 - 第8頁。 –

回答

4

.K3D指令在版本6.13中添加到MASM中。

從8 http://www.amd-k6.com/wp-content/uploads/2012/07/22621.pdf頁:

要啓用MMX指令,使用.MMX 指令。
啓用3DNow!說明,使用.MMX指令後使用.K3D 指令。
這是依賴訂單。

如果我正確讀取AMD文檔,您需要在啓用.K3D之前啓用.MMX

術語的詞源如下:
AMD標記其處理器K5,K6,K7等
這與P5對準,P6,英特爾使用。
因此,K代表'AMD-K'系列,3D代表'3D-Now'。

Masm release notes for 6.13只是稀疏的文檔:

 
    .K3D Directive in MASM 6.13 
    --------------------------------------------------------------------- 
    The .K3D directive enables assembly of K3D instructions. Users can 
    check to see that @Version is 613 or higher to tell if the version 
    of MASM being used supports the .K3D directive and K3D instructions. 

+0

好的答案。甚至包括我迷惑的詞源。 – Lycan