03.03.2013 Views

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

Intel® Architecture Instruction Set Extensions Programming Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VPBROADCAST — Broadcast Integer Data<br />

Opcode/<br />

<strong>Instruction</strong><br />

Description<br />

Op/<br />

En<br />

64/32<br />

-bit<br />

Mode<br />

CPUID<br />

Feature<br />

Flag<br />

Description<br />

<strong>Instruction</strong> Operand Encoding<br />

INSTRUCTION SET REFERENCE<br />

VEX.128.66.0F38.W0 78 /r A V/V AVX2 Broadcast a byte integer in the source operand to sixteen locations in<br />

xmm1.<br />

VPBROADCASTB xmm1,<br />

xmm2/m8<br />

VEX.256.66.0F38.W0 78 /r A V/V AVX2 Broadcast a byte integer in the source operand to thirty-two locations<br />

in ymm1.<br />

VPBROADCASTB ymm1,<br />

xmm2/m8<br />

VEX.128.66.0F38.W0 79 /r A V/V AVX2 Broadcast a word integer in the source operand to eight locations in<br />

xmm1.<br />

VPBROADCASTW xmm1,<br />

xmm2/m16<br />

VEX.256.66.0F38.W0 79 /r A V/V AVX2 Broadcast a word integer in the source operand to sixteen locations in<br />

ymm1.<br />

VPBROADCASTW ymm1,<br />

xmm2/m16<br />

VEX.128.66.0F38.W0 58 /r A V/V AVX2 Broadcast a dword integer in the source operand to four locations in<br />

xmm1.<br />

VPBROADCASTD xmm1,<br />

xmm2/m32<br />

VEX.256.66.0F38.W0 58 /r A V/V AVX2 Broadcast a dword integer in the source operand to eight locations in<br />

ymm1.<br />

VPBROADCASTD ymm1,<br />

xmm2/m32<br />

VEX.128.66.0F38.W0 59 /r A V/V AVX2 Broadcast a qword element in mem to two locations in xmm1.<br />

VPBROADCASTQ xmm1,<br />

xmm2/m64<br />

VEX.256.66.0F38.W0 59 /r A V/V AVX2 Broadcast a qword element in mem to four locations in ymm1.<br />

VPBROADCASTQ ymm1,<br />

xmm2/m64<br />

Op/En Operand 1 Operand 2 Operand 3 Operand 4<br />

A ModRM:reg (w) ModRM:r/m (r) NA NA<br />

Load integer data from the source operand (second operand) and broadcast to all elements of the destination<br />

operand (first operand).<br />

The destination operand is a YMM register. The source operand is 8-bit, 16-bit 32-bit, 64-bit memory location or the<br />

low 8-bit, 16-bit 32-bit, 64-bit data in an XMM register. VPBROADCASTB/D/W/Q also support XMM register as the<br />

source operand.<br />

VPBROADCASTB/W/D/Q is supported in both 128-bit and 256-bit wide versions.<br />

Note: In VEX-encoded versions, VEX.vvvv is reserved and must be 1111b otherwise instructions will #UD.<br />

Attempts to execute any VPBROADCAST* instruction with VEX.W = 1 will cause #UD.<br />

Ref. # 319433-014 5-181

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!