GPU Compute Software
Ask questions about Intel® Graphics Compute software technologies, such as OpenCL* GPU driver and oneAPI Level Zero
165 Discussions

What does "Compacted " meaning in GEN ASM

chris_pn
Beginner
1,871 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,854 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

0 Kudos
3 Replies
VidyalathaB_Intel
Moderator
1,855 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

 

0 Kudos
chris_pn
Beginner
1,816 Views

Hi Vidya,

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

0 Kudos
VidyalathaB_Intel
Moderator
1,776 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


0 Kudos
Reply