mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-10 19:16:18 +08:00
Updated Golang ppc64x asm Reference (markdown)
parent
5596966df0
commit
bc33896630
@ -77,6 +77,8 @@
|
|||||||
### 填充
|
### 填充
|
||||||
- **VSPLTISB** "Vector Splat Immediate Signed Byte". This instruction is used to fill a vector register with a specified 8-bit signed integer.填充立即数到目标向量寄存器。
|
- **VSPLTISB** "Vector Splat Immediate Signed Byte". This instruction is used to fill a vector register with a specified 8-bit signed integer.填充立即数到目标向量寄存器。
|
||||||
- **VSPLTB** "Vector Splat Byte". This instruction is used to replicate a specified byte across all elements of a vector register.从源向量寄存器中取指定位置的字节,填充到目标向量寄存器。
|
- **VSPLTB** "Vector Splat Byte". This instruction is used to replicate a specified byte across all elements of a vector register.从源向量寄存器中取指定位置的字节,填充到目标向量寄存器。
|
||||||
|
- **VSPLTISW** "Vector Splat Immediate Signed Word". This instruction is used to fill a vector register with a specified 16-bit signed integer.
|
||||||
|
- **VSPLTW** "Vector Splat Word". This instruction is used to replicate a specified word (32-bit element) across all elements of a vector register.
|
||||||
|
|
||||||
### 从内存加载(Load)数据
|
### 从内存加载(Load)数据
|
||||||
- **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 half(byte index from 0-7)。
|
- **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 half(byte index from 0-7)。
|
||||||
@ -85,9 +87,12 @@
|
|||||||
## 存储向量寄存器中的数据到内存
|
## 存储向量寄存器中的数据到内存
|
||||||
- **STXVD2X** "Store Vector Doubleword 2 Indexed". This instruction is used to store two consecutive doublewords (64-bit elements) from a vector register into memory.
|
- **STXVD2X** "Store Vector Doubleword 2 Indexed". This instruction is used to store two consecutive doublewords (64-bit elements) from a vector register into memory.
|
||||||
|
|
||||||
## 其它
|
## 判断相等
|
||||||
- **VCMPEQUD** "Vector Compare Equal Unsigned Doubleword". This instruction is used to compare the corresponding doublewords (64-bit elements) in two vector registers for equality.
|
- **VCMPEQUD** "Vector Compare Equal Unsigned Doubleword". This instruction is used to compare the corresponding doublewords (64-bit elements) in two vector registers for equality.
|
||||||
|
|
||||||
|
## 其它
|
||||||
|
- **VSLDOI** "Vector Shift Left Double by Octet Immediate". This instruction is used to shift the contents of a vector register left by a specified number of octets (8-bit bytes).
|
||||||
|
- **XXPERMDI** "Vector Permute Doubleword Immediate". This instruction is used to permute (rearrange) the doublewords (64-bit elements) in a vector register based on an immediate value.
|
||||||
|
|
||||||
|
|
||||||
# 典型的ppc64及ppc64le
|
# 典型的ppc64及ppc64le
|
||||||
|
Loading…
x
Reference in New Issue
Block a user