AMDGPU Opcode Map
Reverse lookup instructions by their hexadecimal encoding.
| Opcode | Mnemonic | Syntax | Format | Name |
|---|---|---|---|---|
| 0xBFCA0000 | s_wait_asynccnt | s_wait_asynccnt | SOPP | S WAIT ASYNCCNT |
| 0xBFC30000 | s_wait_bvhcnt | s_wait_bvhcnt | SOPP | S WAIT BVHCNT |
| 0xBFC60000 | s_wait_dscnt | s_wait_dscnt | SOPP | S WAIT DSCNT |
| 0xBF8B0000 | s_wait_event | s_wait_event | SOPP | S WAIT EVENT |
| 0xBFC40000 | s_wait_expcnt | s_wait_expcnt | SOPP | S WAIT EXPCNT |
| 0xBF8A0000 | s_wait_idle | s_wait_idle | SOPP | S WAIT IDLE |
| 0xBFC70000 | s_wait_kmcnt | s_wait_kmcnt | SOPP | S WAIT KMCNT |
| 0xBFC00000 | s_wait_loadcnt | s_wait_loadcnt | SOPP | S WAIT LOADCNT |
| 0xBFC80000 | s_wait_loadcnt_dscnt | s_wait_loadcnt_dscnt | SOPP | S WAIT LOADCNT DSCNT |
| 0xBFC20000 | s_wait_samplecnt | s_wait_samplecnt | SOPP | S WAIT SAMPLECNT |
| 0xBFC10000 | s_wait_storecnt | s_wait_storecnt | SOPP | S WAIT STORECNT |
| 0xBFC90000 | s_wait_storecnt_dscnt | s_wait_storecnt_dscnt | SOPP | S WAIT STORECNT DSCNT |
| 0xBFCB0000 | s_wait_tensorcnt | s_wait_tensorcnt | SOPP | S WAIT TENSORCNT |
| 0xBFC50000 | s_wait_xcnt | s_wait_xcnt | SOPP | S WAIT XCNT |
| 0xBF8C0000 | s_waitcnt | s_waitcnt | SOPP | S WAITCNT |
| 0xBF880000 | s_waitcnt_depctr | s_waitcnt_depctr | SOPP | S WAITCNT DEPCTR |
| 0xBD000000 | s_waitcnt_expcnt | s_waitcnt_expcnt | SOPK | S WAITCNT EXPCNT |
| 0xBD800000 | s_waitcnt_lgkmcnt | s_waitcnt_lgkmcnt | SOPK | S WAITCNT LGKMCNT |
| 0xBC800000 | s_waitcnt_vmcnt | s_waitcnt_vmcnt | SOPK | S WAITCNT VMCNT |
| 0xBC000000 | s_waitcnt_vscnt | s_waitcnt_vscnt | SOPK | S WAITCNT VSCNT |
| 0xBFB40000 | s_wakeup | s_wakeup | SOPP | S WAKEUP |
| 0xBE805700 | s_wakeup_barrier | s_wakeup_barrier | SOP1 | S WAKEUP BARRIER |
| 0xBE801C00 | s_wqm_b32 | s_wqm_b32 | SOP1 | S WQM B32 |
| 0xBE801D00 | s_wqm_b64 | s_wqm_b64 | SOP1 | S WQM B64 |
| 0x90000000 | s_xnor_b32 | s_xnor_b32 | SOP2 | S XNOR B32 |
| 0x90800000 | s_xnor_b64 | s_xnor_b64 | SOP2 | S XNOR B64 |
| 0xBE802A00 | s_xnor_saveexec_b32 | s_xnor_saveexec_b32 | SOP1 | S XNOR SAVEEXEC B32 |
| 0xBE802B00 | s_xnor_saveexec_b64 | s_xnor_saveexec_b64 | SOP1 | S XNOR SAVEEXEC B64 |
| 0x8D000000 | s_xor_b32 | s_xor_b32 | SOP2 | S XOR B32 |
| 0x8D800000 | s_xor_b64 | s_xor_b64 | SOP2 | S XOR B64 |
| 0xBE802400 | s_xor_saveexec_b32 | s_xor_saveexec_b32 | SOP1 | S XOR SAVEEXEC B32 |
| 0xBE802500 | s_xor_saveexec_b64 | s_xor_saveexec_b64 | SOP1 | S XOR SAVEEXEC B64 |
| 0x0000000000000000ED14C000 | scratch_load_block | scratch_load_block | SCRATCH | SCRATCH LOAD BLOCK |
| scratch_load_dword | scratch_load_dword | SCRATCH | SCRATCH LOAD DWORD | |
| scratch_load_dwordx2 | scratch_load_dwordx2 | SCRATCH | SCRATCH LOAD DWORDX2 | |
| scratch_load_dwordx3 | scratch_load_dwordx3 | SCRATCH | SCRATCH LOAD DWORDX3 | |
| scratch_load_dwordx4 | scratch_load_dwordx4 | SCRATCH | SCRATCH LOAD DWORDX4 | |
| scratch_load_lds_dword | scratch_load_lds_dword | SCRATCH | SCRATCH LOAD LDS DWORD | |
| scratch_load_lds_sbyte | scratch_load_lds_sbyte | SCRATCH | SCRATCH LOAD LDS SBYTE | |
| scratch_load_lds_sshort | scratch_load_lds_sshort | SCRATCH | SCRATCH LOAD LDS SSHORT | |
| scratch_load_lds_ubyte | scratch_load_lds_ubyte | SCRATCH | SCRATCH LOAD LDS UBYTE | |
| scratch_load_lds_ushort | scratch_load_lds_ushort | SCRATCH | SCRATCH LOAD LDS USHORT | |
| scratch_load_sbyte | scratch_load_sbyte | SCRATCH | SCRATCH LOAD SBYTE | |
| scratch_load_sbyte_d16 | scratch_load_sbyte_d16 | SCRATCH | SCRATCH LOAD SBYTE D16 | |
| scratch_load_sbyte_d16_hi | scratch_load_sbyte_d16_hi | SCRATCH | SCRATCH LOAD SBYTE D16 HI | |
| scratch_load_short_d16 | scratch_load_short_d16 | SCRATCH | SCRATCH LOAD SHORT D16 | |
| scratch_load_short_d16_hi | scratch_load_short_d16_hi | SCRATCH | SCRATCH LOAD SHORT D16 HI | |
| scratch_load_sshort | scratch_load_sshort | SCRATCH | SCRATCH LOAD SSHORT | |
| scratch_load_ubyte | scratch_load_ubyte | SCRATCH | SCRATCH LOAD UBYTE | |
| scratch_load_ubyte_d16 | scratch_load_ubyte_d16 | SCRATCH | SCRATCH LOAD UBYTE D16 | |
| scratch_load_ubyte_d16_hi | scratch_load_ubyte_d16_hi | SCRATCH | SCRATCH LOAD UBYTE D16 HI | |
| scratch_load_ushort | scratch_load_ushort | SCRATCH | SCRATCH LOAD USHORT | |
| 0x0000000000000000ED150000 | scratch_store_block | scratch_store_block | SCRATCH | SCRATCH STORE BLOCK |
| scratch_store_byte | scratch_store_byte | SCRATCH | SCRATCH STORE BYTE | |
| scratch_store_byte_d16_hi | scratch_store_byte_d16_hi | SCRATCH | SCRATCH STORE BYTE D16 HI | |
| scratch_store_dword | scratch_store_dword | SCRATCH | SCRATCH STORE DWORD | |
| scratch_store_dwordx2 | scratch_store_dwordx2 | SCRATCH | SCRATCH STORE DWORDX2 | |
| scratch_store_dwordx3 | scratch_store_dwordx3 | SCRATCH | SCRATCH STORE DWORDX3 | |
| scratch_store_dwordx4 | scratch_store_dwordx4 | SCRATCH | SCRATCH STORE DWORDX4 | |
| scratch_store_short | scratch_store_short | SCRATCH | SCRATCH STORE SHORT | |
| scratch_store_short_d16_hi | scratch_store_short_d16_hi | SCRATCH | SCRATCH STORE SHORT D16 HI | |
| 0x0000000000000000C4220000 | tbuffer_load_d16_format_x | tbuffer_load_d16_format_x | MTBUF | TBUFFER LOAD D16 FORMAT X |
| 0x0000000000000000C4224000 | tbuffer_load_d16_format_xy | tbuffer_load_d16_format_xy | MTBUF | TBUFFER LOAD D16 FORMAT XY |
| 0x0000000000000000C4228000 | tbuffer_load_d16_format_xyz | tbuffer_load_d16_format_xyz | MTBUF | TBUFFER LOAD D16 FORMAT XYZ |
| 0x0000000000000000C422C000 | tbuffer_load_d16_format_xyzw | tbuffer_load_d16_format_xyzw | MTBUF | TBUFFER LOAD D16 FORMAT XYZW |
| 0x00000000E8040000 | tbuffer_load_format_d16_x | tbuffer_load_format_d16_x | MTBUF | TBUFFER LOAD FORMAT D16 X |
| 0x00000000E8048000 | tbuffer_load_format_d16_xy | tbuffer_load_format_d16_xy | MTBUF | TBUFFER LOAD FORMAT D16 XY |
| 0x00000000E8050000 | tbuffer_load_format_d16_xyz | tbuffer_load_format_d16_xyz | MTBUF | TBUFFER LOAD FORMAT D16 XYZ |
| 0x00000000E8058000 | tbuffer_load_format_d16_xyzw | tbuffer_load_format_d16_xyzw | MTBUF | TBUFFER LOAD FORMAT D16 XYZW |
| 0x00000000E8000000 | tbuffer_load_format_x | tbuffer_load_format_x | MTBUF | TBUFFER LOAD FORMAT X |
| 0x00000000E8008000 | tbuffer_load_format_xy | tbuffer_load_format_xy | MTBUF | TBUFFER LOAD FORMAT XY |
| 0x00000000E8010000 | tbuffer_load_format_xyz | tbuffer_load_format_xyz | MTBUF | TBUFFER LOAD FORMAT XYZ |
| 0x00000000E8018000 | tbuffer_load_format_xyzw | tbuffer_load_format_xyzw | MTBUF | TBUFFER LOAD FORMAT XYZW |
| 0x0000000000000000C4230000 | tbuffer_store_d16_format_x | tbuffer_store_d16_format_x | MTBUF | TBUFFER STORE D16 FORMAT X |
| 0x0000000000000000C4234000 | tbuffer_store_d16_format_xy | tbuffer_store_d16_format_xy | MTBUF | TBUFFER STORE D16 FORMAT XY |
| 0x0000000000000000C4238000 | tbuffer_store_d16_format_xyz | tbuffer_store_d16_format_xyz | MTBUF | TBUFFER STORE D16 FORMAT XYZ |
| 0x0000000000000000C423C000 | tbuffer_store_d16_format_xyzw | tbuffer_store_d16_format_xyzw | MTBUF | TBUFFER STORE D16 FORMAT XYZW |
| 0x00000000E8060000 | tbuffer_store_format_d16_x | tbuffer_store_format_d16_x | MTBUF | TBUFFER STORE FORMAT D16 X |
| 0x00000000E8068000 | tbuffer_store_format_d16_xy | tbuffer_store_format_d16_xy | MTBUF | TBUFFER STORE FORMAT D16 XY |
| 0x00000000E8070000 | tbuffer_store_format_d16_xyz | tbuffer_store_format_d16_xyz | MTBUF | TBUFFER STORE FORMAT D16 XYZ |
| 0x00000000E8078000 | tbuffer_store_format_d16_xyzw | tbuffer_store_format_d16_xyzw | MTBUF | TBUFFER STORE FORMAT D16 XYZW |
| 0x00000000E8020000 | tbuffer_store_format_x | tbuffer_store_format_x | MTBUF | TBUFFER STORE FORMAT X |
| 0x00000000E8028000 | tbuffer_store_format_xy | tbuffer_store_format_xy | MTBUF | TBUFFER STORE FORMAT XY |
| 0x00000000E8030000 | tbuffer_store_format_xyz | tbuffer_store_format_xyz | MTBUF | TBUFFER STORE FORMAT XYZ |
| 0x00000000E8038000 | tbuffer_store_format_xyzw | tbuffer_store_format_xyzw | MTBUF | TBUFFER STORE FORMAT XYZW |
| 0x0000000000000000D0310000 | tensor_load_to_lds | tensor_load_to_lds | MIMG | TENSOR LOAD TO LDS |
| tensor_save | tensor_save | FLAT | TENSOR SAVE | |
| tensor_stop | tensor_stop | FLAT | TENSOR STOP | |
| 0x0000000000000000D0314000 | tensor_store_from_lds | tensor_store_from_lds | MIMG | TENSOR STORE FROM LDS |
| 0x7E00A400 | v_accvgpr_mov_b32 | v_accvgpr_mov_b32 | VOP1 | V ACCVGPR MOV B32 |
| 0x00000000D3D80000 | v_accvgpr_read_b32 | v_accvgpr_read_b32 | VOP3 | V ACCVGPR READ B32 |
| 0x00000000D3D90000 | v_accvgpr_write_b32 | v_accvgpr_write_b32 | VOP3 | V ACCVGPR WRITE B32 |
| 0x00000000D6550000 | v_add3_u32 | v_add3_u32 | VOP3 | V ADD3 U32 |
| 0x40000000 | v_add_co_ci_u32 | v_add_co_ci_u32 | VOP2 | V ADD CO CI U32 |
| v_add_co_u32 | v_add_co_u32 | VOP2 | V ADD CO U32 | |
| 0x64000000 | v_add_f16 | v_add_f16 | VOP2 | V ADD F16 |
| 0x06000000 | v_add_f32 | v_add_f32 VDST, S0, S1 | VOP2 | V ADD F32 |
| 0x04000000 | v_add_f64 | v_add_f64 | VOP2 | V ADD F64 |
| v_add_f64_pseudo | v_add_f64_pseudo | VOP2 | V ADD F64 PSEUDO | |
| 0x00000000D29E0000 | v_add_i16 | v_add_i16 | VOP3 | V ADD I16 |