diff options
| author | OreoFR <tony37160@hotmail.fr> | 2026-11-30 11:29:46 +0100 |
|---|---|---|
| committer | OreoFR <tony37160@hotmail.fr> | 2026-11-30 11:29:46 +0100 |
| commit | ca71fd7f5c04ca3ec269fd3983e7201ac3344b8b (patch) | |
| tree | c92cfb77f76f7fd422f7efefcc8468526384af17 /docs/buffer_bounds.md | |
| parent | e76cabc17a7400d6ab73da0e2689554b182df52a (diff) | |
| parent | 012b79a6787cd47d31dcf023eb2b67a1eac6d77f (diff) | |
Merge remote-tracking branch 'origin/main' into reprise-1837
Diffstat (limited to 'docs/buffer_bounds.md')
| -rw-r--r-- | docs/buffer_bounds.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/buffer_bounds.md b/docs/buffer_bounds.md index f5b4e6a55..a2d566bc1 100644 --- a/docs/buffer_bounds.md +++ b/docs/buffer_bounds.md | |||
| @@ -23,6 +23,11 @@ API-created CBVs mirror the observed inline console descriptor (mode 0, 16-byte | |||
| 23 | 23 | ||
| 24 | - **RDNA2 follows Mesa's GFX11 column**, not the GFX10 one: of 732 cases, 729 match GFX11 and 696 match GFX10. | 24 | - **RDNA2 follows Mesa's GFX11 column**, not the GFX10 one: of 732 cases, 729 match GFX11 and 696 match GFX10. |
| 25 | Every GFX10 miss is an access that only partly fits, for example a raw buffer with `N = 3` read at offset 0. | 25 | Every GFX10 miss is an access that only partly fits, for example a raw buffer with `N = 3` read at offset 0. |
| 26 | - **The offset is not cut to 32 bits.** `index * stride` is a full product and `soffset` is added in 64 bits, so | ||
| 27 | index 0xFFFFFFFF with a 20-byte stride lands tens of GiB past the base and the access has no effect; in 32 bits it | ||
| 28 | would be the 20 bytes below the base, which modes 2 and 3 do not refuse. The translator treats an offset above | ||
| 29 | 0xFFFFFFFF as out of range in every mode. Observed on hardware by five-star-recomp (commit `b9b57e2`), not measured | ||
| 30 | here; `tests/semantic/test_buffer_offset_wrap.py`. | ||
| 26 | - **In raw mode `soffset` is part of the checked offset.** The 3 cases that match neither column are raw reads at | 31 | - **In raw mode `soffset` is part of the checked offset.** The 3 cases that match neither column are raw reads at |
| 27 | offset 8 with `soffset` 8 and `N = 18`: 8 + 8 + 4 > 18, out of range on hardware. | 32 | offset 8 with `soffset` 8 and `N = 18`: 8 + 8 + 4 > 18, out of range on hardware. |
| 28 | - Loads and stores agree in every case. | 33 | - Loads and stores agree in every case. |