Updated Golang ppc64x asm Reference (markdown)

Sun Yimin 2024-10-08 09:46:45 +08:00
parent 00f1c668cc
commit 2725310fa2

@ -82,7 +82,7 @@
### 从内存加载(Load)数据 ### 从内存加载(Load)数据
- **LVX** "Load Vector Indexed". This instruction is used to load a vector from memory into a vector register. The **LVX** instructions on ppc64 require 16 byte alignment of the data. To avoid that requirement, data is loaded using **LXVD2X** with **VPERM** to reorder bytes correctly. - **LVX** "Load Vector Indexed". This instruction is used to load a vector from memory into a vector register. The **LVX** instructions on ppc64 require 16 byte alignment of the data. To avoid that requirement, data is loaded using **LXVD2X** with **VPERM** to reorder bytes correctly.
- **LXVDSX** "Load Vector Doubleword Scalar Indexed". This instruction is used to load a doubleword (64-bit element) from memory into a vector register.从指定内存位置加载64位数据将其存储到目标向量寄存器的lower halfbyte index from 0-7 - **LXVDSX** "Load VSR Vector Doubleword and Splat Indexed". This instruction is used to load a doubleword (64-bit element) from memory into a vector register.从指定内存位置加载64位数据将其存储到目标向量寄存器的lower halfbyte index from 0-7), 并将相同值复制到higher half (byte index from 8-16)
- **LVXD2X** "Load Vector Doubleword 2 Indexed". This instruction is used to load two consecutive doublewords (64-bit elements) from memory into a vector register. 加载两个连续的64位数到目标向量寄存器。 - **LVXD2X** "Load Vector Doubleword 2 Indexed". This instruction is used to load two consecutive doublewords (64-bit elements) from memory into a vector register. 加载两个连续的64位数到目标向量寄存器。
- **LXVW4X** "Load Vector Word Indexed". It loads a vector of 4 words (16 bytes total, as each word is 4 bytes) from memory into a vector register. - **LXVW4X** "Load Vector Word Indexed". It loads a vector of 4 words (16 bytes total, as each word is 4 bytes) from memory into a vector register.