__lasx_xvreplve0_q
LASX intrinsic · group: Misc
Synopsis
__m256i __lasx_xvreplve0_q (__m256i a)
#include <lasxintrin.h>
Instruction: xvreplve0.q xr, xr
CPU Flags: LASX
Description
Repeat the first 128-bit lane from a to all lanes of dst.
Operation
for (int i = 0; i < 2; i++) {
dst.qword[i] = a.qword[0];
}
Tested on real machine.
Latency and Throughput
| CPU | µarch | Latency | Throughput (IPC) |
|---|---|---|---|
| 3C5000 | LA464 | 3 | 2 |
| 3A6000 | LA664 | 3 | 4 |
| 3C6000 | LA664 | 3 | 4 |