Scalar Memory Instructions
110 AMDGPU instructions in this category - showing 10 per page, page 2 of 2 - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| s_prefetch_inst_pc_rel | s_prefetch_inst_pc_rel | SMEM | Prefetch instructions into the shader instruction cache, relative to the current PC address. |
| s_scratch_load_dword | s_scratch_load_dword | SMEM | Load 32 bits of data from the scalar scratch aperture into a scalar register. |
| s_scratch_load_dwordx2 | s_scratch_load_dwordx2 | SMEM | Load 64 bits of data from the scalar scratch aperture into a scalar register. |
| s_scratch_load_dwordx4 | s_scratch_load_dwordx4 | SMEM | Load 128 bits of data from the scalar scratch aperture into a scalar register. |
| s_scratch_store_dword | s_scratch_store_dword | SMEM | Store 32 bits of data from a scalar register into the scalar scratch aperture. |
| s_scratch_store_dwordx2 | s_scratch_store_dwordx2 | SMEM | Store 64 bits of data from a scalar register into the scalar scratch aperture. |
| s_scratch_store_dwordx4 | s_scratch_store_dwordx4 | SMEM | Store 128 bits of data from a scalar register into the scalar scratch aperture. |
| s_store_dword | s_store_dword | SMEM | Store 32 bits of data from a scalar register into the scalar memory. |
| s_store_dwordx2 | s_store_dwordx2 | SMEM | Store 64 bits of data from a scalar register into the scalar memory. |
| s_store_dwordx4 | s_store_dwordx4 | SMEM | Store 128 bits of data from a scalar register into the scalar memory. |