__lsx_vpickve2gr_d
LSX intrinsic · group: Misc
Synopsis
long int __lsx_vpickve2gr_d (__m128i a, imm0_1 idx)
#include <lsxintrin.h>
Instruction: vpickve2gr.d r, vr, imm
CPU Flags: LSX
Description
Pick the 64-bit element at lane idx from a, sign-extend it to the GPR width, and store it in dst.
Operation
dst = (s64)a.dword[idx];
Tested on real machine.
Latency and Throughput
| CPU | µarch | Latency | Throughput (IPC) |
|---|---|---|---|
| 3C5000 | LA464 | 1 | 1 |
| 3A6000 | LA664 | 1 | 1 |
| 3C6000 | LA664 | 1 | 1 |
| 2K1000LA | LA264 | 2 | 0.5(1/2) |
| 2K3000 | LA364E | 2 | 0.5(1/2) |