GPU Compute Software
Ask questions about Intel® Graphics Compute software technologies, such as OpenCL* GPU driver and oneAPI Level Zero
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
84 Discussions

What does "Compacted " meaning in GEN ASM

chris_pn
Beginner
1,324 Views

Hi,

    I'm trying to understand GEN Assembly code of OpenCL. One question:

What does "Compacted " meaning in GEN ASM? like this asm code:

    mov (8|M0)  r10.0<1>:f  r124.0<8;8,1>:d  {Compacted}

Labels (2)
0 Kudos
1 Solution
VidyalathaB_Intel
Moderator
1,307 Views

Hi Chris,

Thanks for reaching out to us

EU (Execution Unit) native instructions are 128 bits (16 bytes) wide. Some combinations of instruction options can use compact instruction formats that are 64 bits (8 bytes) wide. Identifying instructions that can be compacted and creating the compact representations is done by software tools, including compilers and assemblers.

Please refer the following link for detailed information

https://01.org/sites/default/files/documentation/intel-gfx-prm-osrc-bdw-vol07-3d_media_gpgpu_3.pdf

Under section >> EU compact instructions (page no. 943)

Regards

Vidya

 

View solution in original post

3 Replies
VidyalathaB_Intel
Moderator
1,308 Views

Hi Chris,

Thanks for reaching out to us

EU (Execution Unit) native instructions are 128 bits (16 bytes) wide. Some combinations of instruction options can use compact instruction formats that are 64 bits (8 bytes) wide. Identifying instructions that can be compacted and creating the compact representations is done by software tools, including compilers and assemblers.

Please refer the following link for detailed information

https://01.org/sites/default/files/documentation/intel-gfx-prm-osrc-bdw-vol07-3d_media_gpgpu_3.pdf

Under section >> EU compact instructions (page no. 943)

Regards

Vidya

 

chris_pn
Beginner
1,269 Views

Hi Vidya,

    Thanks for your answer. It's clear enough. Thanks!

VidyalathaB_Intel
Moderator
1,229 Views

Hi, 

Thanks for the confirmation!

As this issue has been resolved, we will no longer respond to this thread. 

If you require any additional assistance from Intel, please start a new thread. 

Any further interaction in this thread will be considered community only. 

Have a Good day.


Thanks & Regards

Vidya


Reply