Flat Memory Instructions
126 AMDGPU instructions in this category - showing 26 per page, page 2 of 2 - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| flat_load_sshort | flat_load_sshort | FLAT | Load 16 bits of signed data from the flat aperture, sign extend to 32 bits and store the result into a vector register. |
| flat_load_u16 | flat_load_u16 | FLAT | Load 16 bits of unsigned data from the flat aperture, zero extend to 32 bits and store the result into a vector register. |
| flat_load_u8 | flat_load_u8 | FLAT | Load 8 bits of unsigned data from the flat aperture, zero extend to 32 bits and store the result into a vector register. |
| flat_load_ubyte | flat_load_ubyte | FLAT | Load 8 bits of unsigned data from the flat aperture, zero extend to 32 bits and store the result into a vector register. |
| flat_load_ubyte_d16 | flat_load_ubyte_d16 | FLAT | Load 8 bits of unsigned data from the flat aperture, zero extend to 16 bits and store the result into the low 16 bits of a 32-bit vector register. |
| flat_load_ubyte_d16_hi | flat_load_ubyte_d16_hi | FLAT | Load 8 bits of unsigned data from the flat aperture, zero extend to 16 bits and store the result into the high 16 bits of a 32-bit vector register. |
| flat_load_ushort | flat_load_ushort | FLAT | Load 16 bits of unsigned data from the flat aperture, zero extend to 32 bits and store the result into a vector register. |
| flat_prefetch_b8 | flat_prefetch_b8 | FLAT | AMDGPU FLAT vector instruction operating on b8 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| flat_store_b128 | flat_store_b128 | FLAT | Store 128 bits of data from vector input registers into the flat aperture. |
| flat_store_b16 | flat_store_b16 | FLAT | Store 16 bits of data from a vector register into the flat aperture. |
| flat_store_b32 | flat_store_b32 | FLAT | Store 32 bits of data from vector input registers into the flat aperture. |
| flat_store_b64 | flat_store_b64 | FLAT | Store 64 bits of data from vector input registers into the flat aperture. |
| flat_store_b8 | flat_store_b8 | FLAT | Store 8 bits of data from a vector register into the flat aperture. |
| flat_store_b96 | flat_store_b96 | FLAT | Store 96 bits of data from vector input registers into the flat aperture. |
| flat_store_byte | flat_store_byte | FLAT | Store 8 bits of data from a vector register into the flat aperture. |
| flat_store_byte_d16_hi | flat_store_byte_d16_hi | FLAT | Store 8 bits of data from the high 16 bits of a 32-bit vector register into the flat aperture. |
| flat_store_d16_hi_b16 | flat_store_d16_hi_b16 | FLAT | Store 16 bits of data from the high 16 bits of a 32-bit vector register into the flat aperture. |
| flat_store_d16_hi_b8 | flat_store_d16_hi_b8 | FLAT | Store 8 bits of data from the high 16 bits of a 32-bit vector register into the flat aperture. |
| flat_store_dword | flat_store_dword | FLAT | Store 32 bits of data from vector input registers into the flat aperture. |
| flat_store_dwordx2 | flat_store_dwordx2 | FLAT | Store 64 bits of data from vector input registers into the flat aperture. |
| flat_store_dwordx3 | flat_store_dwordx3 | FLAT | Store 96 bits of data from vector input registers into the flat aperture. |
| flat_store_dwordx4 | flat_store_dwordx4 | FLAT | Store 128 bits of data from vector input registers into the flat aperture. |
| flat_store_short | flat_store_short | FLAT | Store 16 bits of data from a vector register into the flat aperture. |
| flat_store_short_d16_hi | flat_store_short_d16_hi | FLAT | Store 16 bits of data from the high 16 bits of a 32-bit vector register into the flat aperture. |
| tensor_save | tensor_save | FLAT | AMDGPU FLAT vector instruction. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |
| tensor_stop | tensor_stop | FLAT | AMDGPU FLAT vector instruction. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.) |