diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 16:55:04 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 16:55:04 -0500 |
| commit | df92abca8ee2a8f9093efea7fcaa4dadc3ddaebc (patch) | |
| tree | 97ef8f95544fe263049d3f7360823f16100de209 | |
| parent | 49a0b69fcdb80db1f2a44ce7ca0ab8dfdec1e403 (diff) | |
| parent | e5a7c8942678b323f655939c81f5d8855d20c248 (diff) | |
Merge main e5a7c8942 into shadow-aliased-guard (#1867)
One conflict, runtime/README.md: this branch rewrote the LEONIDA_SHADOW_ALIAS_MS
row, main (#2163) added the LEONIDA_SHADOW_KEEP row after it. Both rows kept;
the keep row's "aliased" now reads "aliased while they can't be guarded at every
address", since aliased pages are no longer copied without a sign of a write.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
137 files changed, 19934 insertions, 9551 deletions
diff --git a/docs/README.md b/docs/README.md index 8db9cc080..3aec00ea9 100644 --- a/docs/README.md +++ b/docs/README.md | |||
| @@ -13,6 +13,7 @@ method, scope and caveats. No game data is included. | |||
| 13 | | [boot_leads.md](boot_leads.md) | Open leads that may move the retail boot further (TLS at module index 0, feature level at device creation, command-list replay, descriptor words, shader corpus count, frame pacing), each with where it lands, how to implement it and how to test it. Hypotheses, not measurements. | | 13 | | [boot_leads.md](boot_leads.md) | Open leads that may move the retail boot further (TLS at module index 0, feature level at device creation, command-list replay, descriptor words, shader corpus count, frame pacing), each with where it lands, how to implement it and how to test it. Hypotheses, not measurements. | |
| 14 | | [rpf.md](rpf.md) | RPF9 archive layout, the carve tools and the unreadable encrypted TOC. | | 14 | | [rpf.md](rpf.md) | RPF9 archive layout, the carve tools and the unreadable encrypted TOC. | |
| 15 | | [linux.md](linux.md) | Linux in one page: what runs natively and what runs under Wine or Proton, the Ubuntu packages, `Build.sh`, the runtime cross-build, and why there is no native Linux `gta6rt`. | | 15 | | [linux.md](linux.md) | Linux in one page: what runs natively and what runs under Wine or Proton, the Ubuntu packages, `Build.sh`, the runtime cross-build, and why there is no native Linux `gta6rt`. | |
| 16 | | [running.md](running.md) | Running the game per platform and GPU (Linux/Wine with AMD, Linux/Proton and Windows with NVIDIA, Windows with AMD, Intel, macOS): build, shaders, pipeline pre-compile, driver settings, environment, what to expect; each value measured by us, reported by others (linked) or TBD. | | ||
| 16 | | [testing.md](testing.md) | Running the GPU tests on your own GPU: setup per OS, wave64 emulation, running without a GPU on Mesa llvmpipe, and known problems. | | 17 | | [testing.md](testing.md) | Running the GPU tests on your own GPU: setup per OS, wave64 emulation, running without a GPU on Mesa llvmpipe, and known problems. | |
| 17 | | [gpu_test_results.md](gpu_test_results.md) | Published GPU test results by hardware, driver and commit, with pass, skip and failure counts. | | 18 | | [gpu_test_results.md](gpu_test_results.md) | Published GPU test results by hardware, driver and commit, with pass, skip and failure counts. | |
| 18 | | [modding.md](modding.md) | The mod format: `mods/<folder>/mod.json`, checked and loaded in name order by `gta6rt`; a swap takes effect once the game's archetype lookup is hooked (needs the executable, RT-5). A mod names game models and holds no game data. | | 19 | | [modding.md](modding.md) | The mod format: `mods/<folder>/mod.json`, checked and loaded in name order by `gta6rt`; a swap takes effect once the game's archetype lookup is hooked (needs the executable, RT-5). A mod names game models and holds no game data. | |
diff --git a/docs/audio_hal_exe_calls.md b/docs/audio_hal_exe_calls.md index c04943c7d..a500e16fc 100644 --- a/docs/audio_hal_exe_calls.md +++ b/docs/audio_hal_exe_calls.md | |||
| @@ -52,6 +52,26 @@ turns such an address back into a pointer. That is an inference from the shapes; | |||
| 52 | `XApuEnqueueCommand` and `XApuDequeueResult` share one handle global, which `XApuDisconnect` clears: a command queue | 52 | `XApuEnqueueCommand` and `XApuDequeueResult` share one handle global, which `XApuDisconnect` clears: a command queue |
| 53 | with a result queue, connected once and torn down once. How `chad.dll`'s handle relates to it is not read. | 53 | with a result queue, connected once and torn down once. How `chad.dll`'s handle relates to it is not read. |
| 54 | 54 | ||
| 55 | `runtime/shims/xapu_queue.cpp` serves the five `xapu.dll` imports and `runtime/shims/xapu_chad.cpp` the five | ||
| 56 | `chad.dll` ones. | ||
| 57 | The `xapu.dll` signatures, structure layouts, command kinds, option bits and error codes come from Marvisak/VIctory | ||
| 58 | (<https://github.com/Marvisak/VIctory>, GPL-3.0-or-later, `crates/victory-hle/src/modules/apu.rs` at commit `ffe310e`), | ||
| 59 | which runs the retail executable through these calls. Only the facts are used (see | ||
| 60 | [related_projects.md](related_projects.md)); the top of `xapu_queue.cpp` lists them. They agree with the shapes above: | ||
| 61 | |||
| 62 | | Shape measured here | What the layout says | | ||
| 63 | |---|---| | ||
| 64 | | `XApuConnect`: a 24-byte title global first, a 16-byte output second | the global is an input of six dwords (processing kind, streams, commands per stream, memory bytes, frames per output, options); the output is the zeroed memory and a result event | | ||
| 65 | | `XApuEnqueueCommand`: a stack-built command whose first dword is 1, 2 or 3 and second a stream slot, then 0 | a 24-byte command id (kind, stream, sequence, options, context): 1 activates, 2 deactivates, 3 processes an Opus packet; the third argument is an optional count of the commands accepted | | ||
| 66 | | `XApuDequeueResult`: a 0x50-byte result, read at +0, +4 and +0x34 | the command id at +0, the output byte count at +0x34; `0x8AC81001` while none is ready | | ||
| 67 | | `XApuDisconnect`: the handle, then `0x20` | the second argument is not read | | ||
| 68 | |||
| 69 | What the results carry is the shim's own: each accepted command gets one result in command order, with the error codes | ||
| 70 | of the layout. A process result carries the frame count and PCM when `runtime/opus_decoder` is built, and otherwise the | ||
| 71 | frame count of the Opus packet's table-of-contents byte (RFC 6716, section 3.1) with zeros in its output (silence). | ||
| 72 | `xapu_chad_test` covers the layouts and the silent path; `xapu_opus_test` covers the decoded path with a generated | ||
| 73 | packet. | ||
| 74 | |||
| 55 | ## `xg_xs.dll` and `XCRDAPI.dll` | 75 | ## `xg_xs.dll` and `XCRDAPI.dll` |
| 56 | 76 | ||
| 57 | | Import | Sites | What the sites show | | 77 | | Import | Sites | What the sites show | |
diff --git a/docs/bvh.md b/docs/bvh.md index ee4316672..a32b55f9e 100644 --- a/docs/bvh.md +++ b/docs/bvh.md | |||
| @@ -1125,7 +1125,10 @@ elements, so with N elements there are at most (3N - 2) / 4 nodes. `XdxrLayout` | |||
| 1125 | sizes for that many when the build is recorded, and the same numbers answer | 1125 | sizes for that many when the build is recorded, and the same numbers answer |
| 1126 | `GetRaytracingAccelerationStructurePrebuildInfo`. The header's `totalSizeIn64BNodes` counts only the nodes the build | 1126 | `GetRaytracingAccelerationStructurePrebuildInfo`. The header's `totalSizeIn64BNodes` counts only the nodes the build |
| 1127 | wrote. | 1127 | wrote. |
| 1128 | A triangle with a NaN vertex gets an empty box (D3D12 treats it as inactive). So do an instance with mask 0, one with | 1128 | A triangle with a NaN vertex gets an empty box (D3D12 treats it as inactive). So does a triangle with a vertex |
| 1129 | index at or past the geometry's `VertexCount` (every triangle when it is 0): the builder reads no vertex for it, as | ||
| 1130 | the index would address past the vertex buffer, possibly by gigabytes (`vk_xdxr_build_test` case | ||
| 1131 | `blas_vertex_count`). So do an instance with mask 0, one with | ||
| 1129 | no BLAS and one with a singular transform. An instance record holds its BLAS address in 256-byte units in 32 bits, | 1132 | no BLAS and one with a singular transform. An instance record holds its BLAS address in 256-byte units in 32 bits, |
| 1130 | so BLAS addresses must be below 2^40, as console GPU addresses are. Where device addresses are wider (llvmpipe's are | 1133 | so BLAS addresses must be below 2^40, as console GPU addresses are. Where device addresses are wider (llvmpipe's are |
| 1131 | host pointers), the builder takes a bias that is added to the addresses read from instance descs. | 1134 | host pointers), the builder takes a bias that is added to the addresses read from instance descs. |
diff --git a/docs/d3d12_vulkan.md b/docs/d3d12_vulkan.md index 43886af30..45d4b4be4 100644 --- a/docs/d3d12_vulkan.md +++ b/docs/d3d12_vulkan.md | |||
| @@ -680,9 +680,13 @@ side inwards: | |||
| 680 | covers a full 2048-sampler D3D12 heap plus room for literal and static S#s. | 680 | covers a full 2048-sampler D3D12 heap plus room for literal and static S#s. |
| 681 | - 2D images: up to 65536. | 681 | - 2D images: up to 65536. |
| 682 | - storage arrays: up to 4096 each, capped by their dimension's sampled array or by 256 for storage-only 1D arrays. | 682 | - storage arrays: up to 4096 each, capped by their dimension's sampled array or by 256 for storage-only 1D arrays. |
| 683 | - 2D-array images up to 16384, 3D and 1D images up to 4096 each (the title streams more cube maps, texture | 683 | - 2D-array, 3D and 1D images: up to 65536 each, as many as 2D, grown together (one count for the three while the |
| 684 | arrays and 1D lookups than the defaults hold: each distinct T# of one takes its own index, and a native boot | 684 | limits stop them short of it), so no dimension is favoured. A texture keeps an index for each distinct T# of |
| 685 | filled the 1024 2D-array and 256 1D indices during the story load). | 685 | it for as long as it lives, and which dimensions its textures have is the title's choice: a native boot |
| 686 | filled the default 1024 2D-array and 256 1D indices during the story load, and world runs filled the 4096 1D | ||
| 687 | indices of the sizes before this with 4092 T#s of 4090 live 1D textures. The bound is memory, not the | ||
| 688 | device's limits (RADV allows 8388606 sampled images): every element of every array is in each generation's | ||
| 689 | descriptor pool, used or not. | ||
| 686 | 690 | ||
| 687 | Growth leaves 64 descriptors of each limit to the other sets of a pipeline layout. It also stays within | 691 | Growth leaves 64 descriptors of each limit to the other sets of a pipeline layout. It also stays within |
| 688 | `maxPerSetDescriptors`, which never shrinks the default counts, because a layout past it may still be | 692 | `maxPerSetDescriptors`, which never shrinks the default counts, because a layout past it may still be |
| @@ -698,9 +702,18 @@ side inwards: | |||
| 698 | shader reads the fallback. `d3d12_descriptor_test` then fills each short array to its last index and checks that | 702 | shader reads the fallback. `d3d12_descriptor_test` then fills each short array to its last index and checks that |
| 699 | the next view and sampler are refused. | 703 | the next view and sampler are refused. |
| 700 | The MS arrays keep their default counts. On an RTX 5070 (driver 621.24, 1048576 of each type | 704 | The MS arrays keep their default counts. On an RTX 5070 (driver 621.24, 1048576 of each type |
| 701 | and 4000 samplers) the set has 65536 2D images, 3936 samplers, 16384 2D-array, 4096 3D and 4096 1D images and | 705 | and 4000 samplers) the set has 65536 2D, 2D-array, 3D and 1D images each, 3936 samplers and 4096 storage indices |
| 702 | 4096 storage indices in each dimension: 152929 descriptors, 5-10 MiB at 32-64 bytes a descriptor. The device prints the counts it chose, and | 706 | in each dimension: 325729 descriptors with the MS pairs, 10-20 MiB at 32-64 bytes a descriptor. RADV (Mesa 26.3, |
| 703 | `bindless_sizing_test` checks the rules on synthetic limits. | 707 | the Raphael iGPU and the RX 7900 XTX) and llvmpipe get the same image counts and 4096 samplers. The device prints |
| 708 | the counts it chose (`bindless set:`), `bindless_sizing_test` checks the rules on synthetic limits, and | ||
| 709 | `vk_bindless_dimensions_test` reads 5000 live 1D, 2D-array and 3D images each through their indices in a set | ||
| 710 | sized from the device's own limits. | ||
| 711 | - A T# the title writes into a console descriptor heap that set 0 has no room for is refused, and counted in the | ||
| 712 | heap's `unbound T#s by reason` line, as `the bindless array of the T#'s dimension is full` (or `the bindless | ||
| 713 | storage arrays of the T#'s dimension are full` for a UAV whose dimension has free indices only above the shorter | ||
| 714 | storage arrays), not as `no view for the T#'s format or range`. The first such refusal of a dimension also logs | ||
| 715 | `a bindless image array is full; dimension N (name)` with the indices, the T#s and textures that hold them and how | ||
| 716 | many of those textures are still registered at their address (a texture's indices go back when it goes). | ||
| 704 | - An image view has one index in its dimension (2D, 2D array, 3D, 1D, 2DMS, 2DMS array or 1D array), shared by the | 717 | - An image view has one index in its dimension (2D, 2D array, 3D, 1D, 2DMS, 2DMS array or 1D array), shared by the |
| 705 | bindings for that dimension. The runtime adds sampled-image bindings in pairs for 2DMS and 2DMS array: | 718 | bindings for that dimension. The runtime adds sampled-image bindings in pairs for 2DMS and 2DMS array: |
| 706 | 20/21 for floating-point and normalized color, 22/23 for unsigned integers, and 24/25 for signed integers. | 719 | 20/21 for floating-point and normalized color, 22/23 for unsigned integers, and 24/25 for signed integers. |
| @@ -961,7 +974,8 @@ The compute path, end to end: | |||
| 961 | primitive overestimation no greater than `0.5 - 1/512` pixels, leaving half a minimum grid step within the | 974 | primitive overestimation no greater than `0.5 - 1/512` pixels, leaving half a minimum grid step within the |
| 962 | Tier 1 uncertainty bound. `ConservativeRaster=ON` uses overestimate mode with zero extra overestimation, | 975 | Tier 1 uncertainty bound. `ConservativeRaster=ON` uses overestimate mode with zero extra overestimation, |
| 963 | including unbound-attachment variants. OFF keeps the ordinary pipeline. Missing support, unknown modes, | 976 | including unbound-attachment variants. OFF keeps the ordinary pipeline. Missing support, unknown modes, |
| 964 | wireframe and non-triangle PSOs are refused; conservative TIR (`ForcedSampleCount != 0`) remains `E_NOTIMPL`. | 977 | wireframe and non-triangle PSOs are refused (a mesh PSO needs no topology type: its module has to output |
| 978 | triangles, `conservative_raster::mesh_outputs_triangles`); conservative TIR (`ForcedSampleCount != 0`) remains `E_NOTIMPL`. | ||
| 965 | Tier 2 additionally requires `degenerateTrianglesRasterized` and primitive overestimation plus half a | 979 | Tier 2 additionally requires `degenerateTrianglesRasterized` and primitive overestimation plus half a |
| 966 | device subpixel step no greater than 1/256 pixel. Other eligible devices retain Tier 1. The standalone | 980 | device subpixel step no greater than 1/256 pixel. Other eligible devices retain Tier 1. The standalone |
| 967 | device does not expose Tier 3: the Xbox `SV_InnerCoverage` input mapping has not been confirmed. See | 981 | device does not expose Tier 3: the Xbox `SV_InnerCoverage` input mapping has not been confirmed. See |
| @@ -1301,7 +1315,8 @@ and any validation error fails them. | |||
| 1301 | - `indirect_clamp_test`: the `ExecuteIndirect` argument clamp pass itself (section 4.7), with no game files: every | 1315 | - `indirect_clamp_test`: the `ExecuteIndirect` argument clamp pass itself (section 4.7), with no game files: every |
| 1302 | argument kind (draw, draw indexed, dispatch, mesh dispatch) and the counted variants, in-range records | 1316 | argument kind (draw, draw indexed, dispatch, mesh dispatch) and the counted variants, in-range records |
| 1303 | bit-identical, garbage records bounded, records and counts past `max_command_count` empty, and the per-batch work | 1317 | bit-identical, garbage records bounded, records and counts past `max_command_count` empty, and the per-batch work |
| 1304 | budget saturating; clean SKIP without a Vulkan device. | 1318 | budget saturating; dispatch records bounded by the device's `maxComputeWorkGroupCount` (70 000 x 1 x 1 kept and run |
| 1319 | where the device allows it, cut and counted where it does not); clean SKIP without a Vulkan device. | ||
| 1305 | - `d3d12_gcl8_test`: the public `ID3D12GraphicsCommandList8` surface: `QueryInterface` for its IID, | 1320 | - `d3d12_gcl8_test`: the public `ID3D12GraphicsCommandList8` surface: `QueryInterface` for its IID, |
| 1306 | `OMSetFrontAndBackStencilRef(1, 2)` with the recorded values, and the reference count around the query. It | 1321 | `OMSetFrontAndBackStencilRef(1, 2)` with the recorded values, and the reference count around the query. It |
| 1307 | creates only an allocator and a list, so it needs no GPU or Vulkan loader. | 1322 | creates only an allocator and a list, so it needs no GPU or Vulkan loader. |
| @@ -1697,6 +1712,21 @@ The copies: | |||
| 1697 | cannot fit between the title's address reservations can use a separate mapped buffer. The buffer's device address | 1712 | cannot fit between the title's address reservations can use a separate mapped buffer. The buffer's device address |
| 1698 | must fit as a positive 47-bit offset from the arena base. The same window cap and dirty-page refresh apply. | 1713 | must fit as a positive 47-bit offset from the arena base. The same window cap and dirty-page refresh apply. |
| 1699 | `LEONIDA_STREAM_BUFFER_WINDOWS=0` requires the window to fit in the arena. | 1714 | `LEONIDA_STREAM_BUFFER_WINDOWS=0` requires the window to fit in the arena. |
| 1715 | - **What the GPU wrote goes back.** The same return copy serves slot-133 shadows (a buffer the driver would not | ||
| 1716 | import, a compute result the title reads again): the ranges are recorded through the alias of the buffer's pages and | ||
| 1717 | the tracker there carries them back. `d3d12_placed_write_back` covers it. A copy is a read-side mirror, so a UAV or a raw write into a window would land in | ||
| 1718 | the copy and the title would never see it ([#1537](https://github.com/ubiquitarianism/leonida/issues/1537), the | ||
| 1719 | `WRITE_INVALID` stop at the world start). Every title range a submission's bindings reach is kept, and the next | ||
| 1720 | refresh copies those ranges from the copy to the title's pages *before* it copies the pages forward, so a page the | ||
| 1721 | title itself wrote in between keeps the title's newer bytes and its GPU result is dropped. The copy back asks the | ||
| 1722 | write watch first (the refresh's own asking comes after it, so a hot page's last answer is a submission old), passes | ||
| 1723 | over pages whose mapping changed, that a kernel write may be filling or that xmem maps at another address too, and | ||
| 1724 | writes only the 256-byte pieces where the copy differs from the title's bytes: a read-only view writes nothing and | ||
| 1725 | its pages stay guarded. Up to 8,192 ranges and 64 MiB a submission (a V# has no read/write bit, so every view | ||
| 1726 | reached is compared; past the caps the ranges are left behind, logged once). `LEONIDA_TITLE_WRITEBACK=0` turns it off. A batch is fenced: it is kept with the ticket | ||
| 1727 | of the submission that will use it and copied back only when the context reports that ticket retired, so a range | ||
| 1728 | another submission is still writing is never read half done. A queue held deep (console ordering) can leave batches | ||
| 1729 | waiting: past 64 of them the oldest go back without their ticket, logged once. | ||
| 1700 | - A **window that is refused** (the budget is spent, the arena is full, or the pages are not committed yet) is backed | 1730 | - A **window that is refused** (the budget is spent, the arena is full, or the pages are not committed yet) is backed |
| 1701 | by a persistent geometry copy of exactly the requested range (`LEONIDA_GEOMETRY_MB`) instead; when no copy can be | 1731 | by a persistent geometry copy of exactly the requested range (`LEONIDA_GEOMETRY_MB`) instead; when no copy can be |
| 1702 | made either, the view is written with **no base and no records** — loads return 0 and stores are dropped. A raw | 1732 | made either, the view is written with **no base and no records** — loads return 0 and stores are dropped. A raw |
| @@ -1719,6 +1749,19 @@ The copies: | |||
| 1719 | encoding reuses only an independently established geometry view. An explicit table or placed SRV can | 1749 | encoding reuses only an independently established geometry view. An explicit table or placed SRV can |
| 1720 | establish that view. The Vulkan memory probe reports populated views, payload and reserved bytes, | 1750 | establish that view. The Vulkan memory probe reports populated views, payload and reserved bytes, |
| 1721 | upload totals, cap refusals and allocation failures. | 1751 | upload totals, cap refusals and allocation failures. |
| 1752 | - **Where the copies live**: device-local memory through the BAR by default. `LEONIDA_GEOMETRY_HOST=1` puts them | ||
| 1753 | in system memory outside VRAM (write-back where the device offers a cached host type, `=2` write-combined), | ||
| 1754 | as VIctory keeps its copies of title memory (approach only). In a world run on the RX 7900 XTX the copies held | ||
| 1755 | 4.4-6 GB of VRAM. The cost moves to the bus: the GPU reads every vertex and index of a copy from system memory, | ||
| 1756 | so a geometry-heavy pass can take longer; measure frame time with and without it before making it a default. | ||
| 1757 | - **When a copy goes**: a view is retired when its title range is freed, decommitted or unmapped. A remap of | ||
| 1758 | physical pages retires nothing: the copies follow the new pages through the refresh. A retired | ||
| 1759 | view leaves the lookups at once, its alias ranges and translated heap slots are invalidated, its stream-pool | ||
| 1760 | extent is forgotten, and its memory is freed only after every ExecuteCommandLists replay in progress at the | ||
| 1761 | retirement has recorded its submissions and those have completed (`kAfterExecutes`). Before it leaves the | ||
| 1762 | refresh it is copied once more from its pages if they are still readable (a heap block freed in memory that | ||
| 1763 | stays committed). The next view of the range makes a new copy. | ||
| 1764 | `geometry_views_test` cases 14-16 cover this without a GPU. | ||
| 1722 | - **Which pages changed** since the last refresh: where xmem reserved the title's memory with `MEM_WRITE_WATCH` | 1765 | - **Which pages changed** since the last refresh: where xmem reserved the title's memory with `MEM_WRITE_WATCH` |
| 1723 | (`XMemVirtualAlloc`'s ordinary regions and the title's `VirtualAlloc` reservations, not placeholders or | 1766 | (`XMemVirtualAlloc`'s ordinary regions and the title's `VirtualAlloc` reservations, not placeholders or |
| 1724 | physical-page windows), the kernel says (`GetWriteWatch` with reset, its answers kept for every copy over the page: | 1767 | physical-page windows), the kernel says (`GetWriteWatch` with reset, its answers kept for every copy over the page: |
| @@ -1730,6 +1773,15 @@ The copies: | |||
| 1730 | write-fault handler waits for the trackers' locks while the faulting thread may hold the process heap's lock (the | 1773 | write-fault handler waits for the trackers' locks while the faulting thread may hold the process heap's lock (the |
| 1731 | title's `XMemAlloc` blocks are `_aligned_malloc`'s), so the state changed under those locks allocates from a heap of | 1774 | title's `XMemAlloc` blocks are `_aligned_malloc`'s), so the state changed under those locks allocates from a heap of |
| 1732 | the runtime's own (`leonida::host_heap`), never the process heap. | 1775 | the runtime's own (`leonida::host_heap`), never the process heap. |
| 1776 | - **What the GPU wrote into a copy stays** until the title changes the bytes under it. Some pages are copied at | ||
| 1777 | every refresh without a sign that the title wrote them (mapped at two addresses, left writable, reopened with the | ||
| 1778 | 64 KiB around a written page, write-watched or pinned); copied whole, they overwrote a value a compute program had | ||
| 1779 | stored in the copy for the next frame with the title's unchanged bytes, so it read back as the title's old value | ||
| 1780 | every other frame. `ShadowPages` keeps a 64-bit sum per 256-byte piece of the bytes it copied last | ||
| 1781 | (`runtime/src/shadow_keep.h`) and copies a piece only when the title's bytes differ; a piece zeroed because its page | ||
| 1782 | went away is copied again in full once it comes back. Limit: a title that writes the same bytes again to reset a | ||
| 1783 | value the GPU changed is not seen (that needs the GPU's writes to reach the title's pages). `LEONIDA_SHADOW_KEEP=0` | ||
| 1784 | copies every page as before. | ||
| 1733 | - **Only the title's memory** gets a copy: the blocks and ranges the xmem shims hand the title (`XMemAlloc`, | 1785 | - **Only the title's memory** gets a copy: the blocks and ranges the xmem shims hand the title (`XMemAlloc`, |
| 1734 | `XMemAllocDefault`, `XMemVirtualAlloc`, the title's `VirtualAlloc`). An address anywhere else, the runtime's or a | 1786 | `XMemAllocDefault`, `XMemVirtualAlloc`, the title's `VirtualAlloc`). An address anywhere else, the runtime's or a |
| 1735 | host DLL's memory included, is left as it was and counted, as is an arena VA or a buffer the layer made. | 1787 | host DLL's memory included, is left as it was and counted, as is an arena VA or a buffer the layer made. |
| @@ -1805,6 +1857,178 @@ fit on smaller PC GPUs. This is a product requirement, not something the layer c | |||
| 1805 | compatible single-mip RGBA8 2D textures (section 4.2). Other descriptions have fully allocated backing. Wider | 1857 | compatible single-mip RGBA8 2D textures (section 4.2). Other descriptions have fully allocated backing. Wider |
| 1806 | texture coverage and the game's use of tile streaming remain open. | 1858 | texture coverage and the game's use of tile streaming remain open. |
| 1807 | 1859 | ||
| 1860 | **Diagnostics for descriptors the title builds itself** (all off by default, logging only unless said otherwise): | ||
| 1861 | |||
| 1862 | - `LEONIDA_UNKNOWN_TSHARP=1`: one line for each distinct base address a title-written T# names with no texture there | ||
| 1863 | (its shape, the tiling bits and whether the address is title memory), up to 300 addresses, and every 8192 such | ||
| 1864 | lookups a summary by format, type and tiling. | ||
| 1865 | - `LEONIDA_UNBACKED_VSHARP=1`: the buffer V#s `fix_vsharp` writes empty because nothing backs their base; one line for | ||
| 1866 | each of the first 120 distinct bases and every 8192 a summary by 4 GiB range of the base. | ||
| 1867 | - `LEONIDA_UPLOAD_LOG=1` (`d3d12_xs_device.cpp`): each upload chunk (CPU base, device address, size) and the first 96, | ||
| 1868 | then every 8192nd, `AllocateUploadMemory` result as an offset into its chunk. | ||
| 1869 | - `LEONIDA_UPLOAD_ALIAS=1` (an experiment, changes behaviour): enters each upload chunk's CPU range in the title VA | ||
| 1870 | table, so a V# the title wrote with the CPU pointer `AllocateUploadMemory` handed it is rewritten to the chunk | ||
| 1871 | instead of left empty. A chunk below the arena needs `LEONIDA_IMPORT_BELOW_ARENA=1` as well. | ||
| 1872 | |||
| 1873 | #### Address guard (`LEONIDA_ADDRESS_GUARD=1`, `rdna2spirv.py --address-guard`) | ||
| 1874 | |||
| 1875 | **Prototype, off by default.** | ||
| 1876 | |||
| 1877 | **Why.** The layer rewrites the addresses it can see: root views, the V#s it writes, and the V#s the title writes into | ||
| 1878 | shader-visible heaps. It writes an empty V# when nothing backs an address (above). The translator checks a V#'s | ||
| 1879 | record count but not its base. Any other address becomes `heap_base` plus an arbitrary value: | ||
| 1880 | - a V# a shader builds in SGPRs from data; | ||
| 1881 | - a raw `global_`/`flat_` address (530 of the 26,503 shaders of package 1.0.2.1, 69 of the 2,684 pipeline-library | ||
| 1882 | programs); | ||
| 1883 | - a stale or offset-like value. | ||
| 1884 | |||
| 1885 | On RADV such an access page-faults. Two RX 7900 XTX runs (Mesa 26.3.1, under Wine) ended with the same sequence: | ||
| 1886 | - a `gfxhub` fault from client TCP with PERMISSION_FAULTS 0x3; | ||
| 1887 | - a compute-ring timeout and "MES failed to respond"; | ||
| 1888 | - a MODE1 reset ("VRAM is lost"). | ||
| 1889 | |||
| 1890 | Both faults were 4.8 GiB and 20 GiB above `heap_base`, past the arena's end. | ||
| 1891 | |||
| 1892 | "Inside the arena" is not the right bound. Several buffers are legitimately outside it, at a positive offset from | ||
| 1893 | `heap_base` (a negative one with `LEONIDA_IMPORT_BELOW_ARENA=1`): | ||
| 1894 | - geometry copies; | ||
| 1895 | - upload and readback buffers; | ||
| 1896 | - imported title memory; | ||
| 1897 | - separate window buffers. | ||
| 1898 | |||
| 1899 | The guard checks each access against what the runtime actually backs. An access that fails reads 0 and drops its | ||
| 1900 | store, so a wild address never reaches the GPU. The overall process follows VIctory | ||
| 1901 | ([`crates/victory-gpu/src/memory.rs`](https://github.com/marvisak/victory), GPL-3.0). Its page table of 64 KiB pages | ||
| 1902 | routes every computed address, and memory no copy holds reads 0 and takes no writes. The structure below is our own: | ||
| 1903 | VIctory's table names descriptor views, this one is a bitmap over device addresses. | ||
| 1904 | |||
| 1905 | **Structure: a two-level page table of 4 KiB pages over the 48-bit offset space, behind an arena compare.** The | ||
| 1906 | check works on the heap offset, the sign-extended 48-bit value `Gen.host_addr` adds to `heap_base`: | ||
| 1907 | - **Level 1:** 65,536 words indexed by offset bits 47..32. Each word names the level-2 block of one 4 GiB chunk. | ||
| 1908 | - **Level 2:** blocks of 32,768 words, one bit per 4 KiB page (bits 31..12). | ||
| 1909 | - **Two fixed blocks:** block 0 is empty and block 1 is full; allocated blocks start at 2. | ||
| 1910 | - **Size:** the table is a host-visible buffer of its own, 256 KiB plus 128 KiB per block (8.25 MiB for 62 blocks). | ||
| 1911 | |||
| 1912 | Why this structure: | ||
| 1913 | - **Pages of 4 KiB** are the GPU's own mapping granularity. A page any byte of a backing touches is mapped as a whole, | ||
| 1914 | so marking pages outward is exact for faults. A 64 KiB page would mark memory that may not be mapped. | ||
| 1915 | - **Level 1 by 4 GiB chunk** covers the whole signed 48-bit space (negative offsets index from 0x8000 up). A real run | ||
| 1916 | touches a handful of chunks, so the table stays small. | ||
| 1917 | - **Other structures cost more per access.** A sorted range table needs a binary search: about 10 dependent loads for | ||
| 1918 | a thousand backings, against 2 here. A coarse region bitmap plus a fine range table needs a search in the fine part. | ||
| 1919 | - **The arena needs no lookup.** It is one fully bound `VkBuffer`, so any offset below its size passes on a compare. | ||
| 1920 | That is the common case: descriptor heaps, default-heap buffers and windows in the arena. | ||
| 1921 | |||
| 1922 | **The header.** It sits at arena offset `0x70000`, after the zero page and the quad indices, and holds: | ||
| 1923 | - a 64-bit magic (`"LGUARD01"`); | ||
| 1924 | - the arena's size (the compare's limit); | ||
| 1925 | - the table's address minus `heap_base`; | ||
| 1926 | - a refusal count and the last refused offset, which the shaders write. | ||
| 1927 | |||
| 1928 | Two sinks follow the header: `0x71000` (zero area, what refused loads read) and `0x78000` (dump area, where refused | ||
| 1929 | stores and atomics go). None of `[0x70000, 0x80000)` is handed out. With `LEONIDA_ARENA_NULL_MB` the range lies in the | ||
| 1930 | null region, so its offset never moves. `runtime/src/address_guard.h` and `tools/address_guard.py` (the Python | ||
| 1931 | reference) hold the format. | ||
| 1932 | |||
| 1933 | **Each access.** `Gen.host_addr` takes the access kind (load, store or atomic) and its span. Under `--address-guard` | ||
| 1934 | it calls one function per module, `%guard_fn`, which is straight-line at the call site, so no caller's block | ||
| 1935 | structure changes. The function computes `end = offset + span - 1` and then decides: | ||
| 1936 | - **Passes on a compare:** the runtime's guard is off (no magic), or `offset` and `end` are both below the limit. The | ||
| 1937 | result is `heap_base + offset`. The cost is a 64-bit add, two 64-bit compares and a select. | ||
| 1938 | - **Otherwise, a lookup:** the bits of the pages of `offset` and of `end`. That is two independent pairs of dependent | ||
| 1939 | 32-bit loads (level 1, then level 2). | ||
| 1940 | - **Refused:** an access whose bits are not both set adds 1 to the header's count, writes its offset, and goes to the | ||
| 1941 | zero area (a load) or the dump area (a store or atomic), at its offset within its page. Alignment is kept, and every | ||
| 1942 | span fits inside a sink. | ||
| 1943 | - **Atomics** run on the dump area, and their returned value is replaced by 0 (`Gen.guard_zero`). The CAS loops (float | ||
| 1944 | min/max, inc/dec) end there too, as on any other memory. | ||
| 1945 | |||
| 1946 | The entry block reads the header's first six dwords once per invocation, from the arena, so that read is always | ||
| 1947 | backed. When the base is uniform, as for `s_load`, `s_buffer_load` and a V# from SGPRs plus a uniform offset, the | ||
| 1948 | compiler keeps the whole check scalar: one check per instruction, not per lane. A per-lane address (`global_` with a | ||
| 1949 | VGPR address, `offen`/`idxen`) is checked per lane, and the slow path runs only for lanes outside the arena. | ||
| 1950 | |||
| 1951 | **What is checked.** Every `heap_base` access goes through `host_addr`: | ||
| 1952 | - buffer loads and stores (dword, sub-dword, typed, format; swizzled spans are computed at run time); | ||
| 1953 | - `global_` loads, stores, sub-dword and atomics; | ||
| 1954 | - buffer atomics, `_x2` included; | ||
| 1955 | - `s_load` and `s_buffer_load`; | ||
| 1956 | - the BVH node reads of `image_bvh*_intersect_ray` (span by node type). | ||
| 1957 | |||
| 1958 | These are not checked: | ||
| 1959 | - images (T#s go through the hash table, not an address); | ||
| 1960 | - LDS; | ||
| 1961 | - the `--mesh-compute` output buffer (a runtime address); | ||
| 1962 | - `s_getpc` code reads. | ||
| 1963 | |||
| 1964 | The translator does not translate `flat_` instructions (they raise `Unsupported`), so none reaches memory today. A | ||
| 1965 | translation added later must go through `host_addr` like `global_` does. | ||
| 1966 | |||
| 1967 | **Keeping the table current.** The spans are the same backings the console heap pass's backed table uses | ||
| 1968 | (`update_gpu_backed`): | ||
| 1969 | - every `gpu_backings` entry outside the arena (upload and readback buffers, imports, slot-133 buffers, windows | ||
| 1970 | outside the arena); | ||
| 1971 | - the geometry copies' blocks; | ||
| 1972 | - the separate window buffers' blocks. | ||
| 1973 | |||
| 1974 | `update_address_guard` runs in the queue's `before_execute`, after the heap refresh, the windows and the geometry | ||
| 1975 | copies. It differs from that table in four ways: | ||
| 1976 | - It rebuilds whenever `backing_generation` or a block layout changed, with no 100 ms limit, because a backing made | ||
| 1977 | since the last submission must not read 0. | ||
| 1978 | - It writes only the words that changed, level 2 before level 1. | ||
| 1979 | - A chunk keeps its block for good, so a submission still in flight never reads a block that now means another chunk. | ||
| 1980 | - When the 62 blocks run out, a new chunk gets the full block (unchecked, as without the guard), and that is logged. | ||
| 1981 | |||
| 1982 | A release clears its bits at the next submission. D3D12 forbids releasing memory the GPU still uses, so only a wild | ||
| 1983 | access in flight at that moment could still pass. | ||
| 1984 | |||
| 1985 | **Cost per access:** | ||
| 1986 | - **Fast path:** about 8 scalar or vector ALU operations. | ||
| 1987 | - **Outside the arena:** about 40 operations and 4 loads, from a table small enough to stay in cache. | ||
| 1988 | - **Per invocation:** 6 uniform header loads. | ||
| 1989 | - **Per submission (runtime):** nothing until a backing changes, then a rebuild of the used blocks (128 KiB each) | ||
| 1990 | and a diff. | ||
| 1991 | |||
| 1992 | **Switches.** | ||
| 1993 | - `--address-guard` records `"address_guard": true` in `index.json`. | ||
| 1994 | - `LEONIDA_ADDRESS_GUARD=1` makes the runtime reserve the range, create the table and write the header. | ||
| 1995 | - Either alone does nothing: a guarded module on a runtime without the guard finds no magic, and every access passes | ||
| 1996 | after one compare. | ||
| 1997 | - Without the flag the module is byte for byte what it was. | ||
| 1998 | |||
| 1999 | **What a run with the guard shows.** | ||
| 2000 | - One line when the device is made: `[rt] d3d12: address guard on ...`. | ||
| 2001 | - At most one line a second: `[rt] d3d12: address guard: N access(es) refused so far (+k), the last at heap offset | ||
| 2002 | 0x...`. Each refusal is a wild access that would have reached the GPU. The offset says where to look (above the | ||
| 2003 | arena's end, as in the two faults). | ||
| 2004 | - A run that reset the GPU before should keep going, with wrong pixels where a refused access mattered. | ||
| 2005 | |||
| 2006 | **Risks and open points.** | ||
| 2007 | - A refused access that mattered (a backing the layer never registered) now reads 0 instead of faulting. That is | ||
| 2008 | silent apart from the count. | ||
| 2009 | - An access is checked as a whole. A multi-dword load whose first dwords are inside a V# and a backing, but whose | ||
| 2010 | last dword is past both on an unbacked page, reads 0 in full. | ||
| 2011 | - The table is read through the GPU's caches. A page whose bit changes while a submission is in flight can be seen | ||
| 2012 | either way by that submission. | ||
| 2013 | - Sparse buffers outside the arena are guarded only if they are registered as backings. | ||
| 2014 | |||
| 2015 | **Checked:** | ||
| 2016 | - `tests/semantic/test_address_guard.py`: the fixture `cs_address_guard` with the guard on, with it off at run time | ||
| 2017 | and without the flag, through `spirv_mini_interp`; the kind and span of each instruction family; the table model; | ||
| 2018 | the constants shared by the translator, the runtime and `tools/address_guard.py`. | ||
| 2019 | - `runtime/test/address_guard_test.cpp`: the page table, incremental writes, negative offsets, wrap, chunks and | ||
| 2020 | overflow. | ||
| 2021 | - `scripts/run_address_guard_gpu_test.py`: the fixture on a 2 MiB heap whose table backs one page outside the | ||
| 2022 | "arena". Every address it touches is inside the buffer, so no run can fault. With the guard on, the refused loads | ||
| 2023 | read 0 although memory is there, the store and the atomic land in the dump area and the count is 6. With the guard | ||
| 2024 | off, the same module reads that memory. It passed on lavapipe (Mesa 26.3.1). | ||
| 2025 | - Corpus (package 1.0.2.1, 2026-11-26): | ||
| 2026 | - `--shard 0/8` of the shaders: 3,313 translated and 3,313 `spirv-val`-valid, with the guard and without. | ||
| 2027 | - The pipeline library: 2,683 of 2,684 translated and valid, with the guard and without (the same one fails | ||
| 2028 | either way). | ||
| 2029 | - Without the flag, every module is byte for byte the same as before the change. | ||
| 2030 | - With it, the SPIR-V grows by 1.8% (shaders) and 1.6% (library). | ||
| 2031 | |||
| 1808 | ### 3.4 Descriptor heaps and the bindless model | 2032 | ### 3.4 Descriptor heaps and the bindless model |
| 1809 | 2033 | ||
| 1810 | The game can use D3D12 descriptors in three ways, and the layer must handle all of them: | 2034 | The game can use D3D12 descriptors in three ways, and the layer must handle all of them: |
| @@ -1874,8 +2098,18 @@ The game can use D3D12 descriptors in three ways, and the layer must handle all | |||
| 1874 | heap pointers read by the mesh and pixel stages after a rebind. `d3d12_mesh_test` checks the recorded dwords | 2098 | heap pointers read by the mesh and pixel stages after a rebind. `d3d12_mesh_test` checks the recorded dwords |
| 1875 | for a vertex draw, a resource-only rebind, a signature ending at s30 and one on the s0 layout. | 2099 | for a vertex draw, a resource-only rebind, a signature ending at s30 and one on the s0 layout. |
| 1876 | Set `LEONIDA_GRAPHICS_DIRECT_HEAPS=0` to restore the previous draw arguments. | 2100 | Set `LEONIDA_GRAPHICS_DIRECT_HEAPS=0` to restore the previous draw arguments. |
| 1877 | Missing console V# backing leaves a settled zero descriptor. Every 32 submissions a heap probes up to | 2101 | Missing console V# backing leaves a zero descriptor in the copy. Each V# half of a console resource heap's copy |
| 1878 | eight of these slots in round-robin order, including independent UAV-counter failures. | 2102 | (the buffer V# and the UAV counter) has a record in host RAM of what it resolved to: the title's base and span, |
| 2103 | the device address its copy names, and whether it resolved or waits (`src/console_heap_slot_records.h`, written | ||
| 2104 | only by `fix_console_slot`). Two indexes find the halves near a range, by base and by target, per power-of-two | ||
| 2105 | span class and 64 KiB-or-larger granule. Releases (a backing, a title-window or geometry block), alias ranges | ||
| 2106 | removed or replaced (`TitleVaAliases` tells its listeners as it happens, `forget_copy` included) and additions | ||
| 2107 | (a backing, an alias range, title memory) go on an unbounded per-device list; at the next submission each heap | ||
| 2108 | fixes again exactly the slots whose records a change touches: a release or removal every half naming it, an | ||
| 2109 | addition the waiting halves over it. Nothing walks the heap or reads the copy for this. A zeroed range, a slot | ||
| 2110 | the title rewrote and a heap destroyed drop their records. `console_heap_slot_records_test` checks that a release | ||
| 2111 | of a buffer 10 of 60,010 slots name looks at those 10, and compares the copy with a full re-resolution through | ||
| 2112 | random writes, releases, additions and alias changes. | ||
| 1879 | Console resource heap copies and shader-visible CBV/SRV/UAV heaps with at least 65,536 slots request | 2113 | Console resource heap copies and shader-visible CBV/SRV/UAV heaps with at least 65,536 slots request |
| 1880 | 64 MiB of zeroed padding after their last descriptor. `LEONIDA_HEAP_GUARD_MB` sets the padding in MiB | 2114 | 64 MiB of zeroed padding after their last descriptor. `LEONIDA_HEAP_GUARD_MB` sets the padding in MiB |
| 1881 | (0 disables it). When arena space is tight, allocation can fall back to the heap alone. Only indices | 2115 | (0 disables it). When arena space is tight, allocation can fall back to the heap alone. Only indices |
| @@ -2413,13 +2647,33 @@ Pipeline creation: | |||
| 2413 | merges into the offline seed. `LEONIDA_DIRECT_SESSION_CACHE=0` also uses a merge when only the session exists. | 2647 | merges into the offline seed. `LEONIDA_DIRECT_SESSION_CACHE=0` also uses a merge when only the session exists. |
| 2414 | The files must match the Vulkan vendor, device and pipeline-cache UUID. Vulkan supplies an opaque snapshot. | 2648 | The files must match the Vulkan vendor, device and pipeline-cache UUID. Vulkan supplies an opaque snapshot. |
| 2415 | Replacing part of the previous file would corrupt it. | 2649 | Replacing part of the previous file would corrupt it. |
| 2416 | `LEONIDA_PIPELINE_CACHE_BYTES` caps session writes (256 MiB by default, zero disables the session file). | 2650 | `LEONIDA_PIPELINE_CACHE_BYTES` caps what a session adds, at a checkpoint or at teardown (an offline `pipeline_cache.bin` seed, which the driver hands back as part of the union, is not counted; 4 GiB by default, zero disables |
| 2651 | the session file). | ||
| 2652 | The session file can't keep a crashed run's compiles: it is written at teardown and at the optional checkpoints | ||
| 2653 | below only. The heavy pipeline cache (RT-HEAVY-PIPELINE-CACHE, `runtime/src/heavy_pipeline_cache.h`) keeps the graphics ones; compute pipelines go to the per-pipeline journal | ||
| 2654 | described below. Every graphics build first asks the corpus cache with | ||
| 2655 | `VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT`. A pipeline the corpus doesn't have is built against a | ||
| 2656 | second cache, seeded from `pipeline_cache.heavy.bin` next to `pipeline_cache.bin`, so that cache holds only the | ||
| 2657 | corpus's misses. | ||
| 2658 | A build that takes at least `LEONIDA_HEAVY_PIPELINE_CACHE_MS` (500 by default) marks the heavy cache for writing. | ||
| 2659 | A thread of its own writes it whole: 3 s after the newest slow build, and no later than 20 s after the first unwritten | ||
| 2660 | one, through the same staging file and rename as the session cache. A crash therefore loses at most the last 20 s | ||
| 2661 | of slow builds, and the next launch starts with the rest. A write that fails, or whose | ||
| 2662 | `vkGetPipelineCacheData` returns anything but `VK_SUCCESS` (`VK_INCOMPLETE` means the cache grew after the size | ||
| 2663 | query, so the blob is truncated), leaves the previous file in place and the cache dirty: it is tried again 5 s | ||
| 2664 | later, the delay doubling with each failure in a row up to 2 min, so the cache is not left unsaved until teardown | ||
| 2665 | and a write that keeps failing does not spin. At device teardown the thread stops, and the cache is | ||
| 2666 | written if any build went into it. Fast builds are kept that way: without an offline seed every build is a miss, | ||
| 2667 | so they no longer reach `pipeline_cache.session.bin`. `LEONIDA_HEAVY_PIPELINE_CACHE_MS=0` turns the heavy cache off, and with it the | ||
| 2668 | `pipelineCreationCacheControl` feature unless `LEONIDA_PIPELINE_COMPILE=cache-only` asks for it. A cache-only create | ||
| 2669 | (`cache-only`) is left as it is. | ||
| 2417 | `LEONIDA_SKIP_COMPUTE=<part of a name>[,<part>...]` (`all`: every compute program) never builds the matching | 2670 | `LEONIDA_SKIP_COMPUTE=<part of a name>[,<part>...]` (`all`: every compute program) never builds the matching |
| 2418 | compute programs and drops their dispatches, direct and indirect; the first dropped dispatch of each is logged. | 2671 | compute programs at play and drops their dispatches, direct and indirect; the first dropped dispatch of each is |
| 2419 | It is a way past a program that hangs the GPU while the program or its input is fixed, not a fix. | 2672 | logged. It is a way past a program that hangs the GPU while the program or its input is fixed, not a fix. |
| 2673 | `--precompile-pipelines` (below) builds them anyway unless it is given `--skip-listed`. | ||
| 2420 | `LEONIDA_STARTUP_CACHE_CHECKPOINTS=1` also schedules a snapshot after a successful pipeline build, | 2674 | `LEONIDA_STARTUP_CACHE_CHECKPOINTS=1` also schedules a snapshot after a successful pipeline build, |
| 2421 | at most once per 120 seconds. It starts on the compile worker when queued builds have drained and the device | 2675 | at most once per 120 seconds. It starts on the compile worker when queued builds have drained and the device |
| 2422 | has no active builds. These snapshots have an additional 512 MiB ceiling. The driver fills a mapped staging | 2676 | has no active builds. The driver fills a mapped staging |
| 2423 | file directly. A successful snapshot atomically replaces the session. An interrupted write preserves the | 2677 | file directly. A successful snapshot atomically replaces the session. An interrupted write preserves the |
| 2424 | previous cache; the next launch removes unheld staging files older than ten minutes. | 2678 | previous cache; the next launch removes unheld staging files older than ten minutes. |
| 2425 | While the compute warm-up has builds queued that idle checkpoint never starts, and a boot that ends by a crash, | 2679 | While the compute warm-up has builds queued that idle checkpoint never starts, and a boot that ends by a crash, |
| @@ -2455,7 +2709,8 @@ Pipeline creation: | |||
| 2455 | folders can share one; the file names and the driver's checks keep a pipeline from one build from being taken | 2709 | folders can share one; the file names and the driver's checks keep a pipeline from one build from being taken |
| 2456 | for another's. | 2710 | for another's. |
| 2457 | `gta6rt --precompile-pipelines [--threads N] [--big-threads N] [--all] [--smallest-first] [--limit N] | 2711 | `gta6rt --precompile-pipelines [--threads N] [--big-threads N] [--all] [--smallest-first] [--limit N] |
| 2458 | [--min-bytes N] [--max-bytes N] [--filter PART]... [--list]` fills the journal ahead of play, with no game: it | 2712 | [--min-bytes N] [--max-bytes N] [--filter PART]... [--skip-listed] [--list]` fills the journal ahead of play, with |
| 2713 | no game: it | ||
| 2459 | creates the Vulkan device as `--run` does (so the same environment gives the same journal names and driver keys: | 2714 | creates the Vulkan device as `--run` does (so the same environment gives the same journal names and driver keys: |
| 2460 | LEONIDA_SHADERS, LEONIDA_PIPELINE_CACHE_DIR, and LEONIDA_DEVICE_FAULT/LEONIDA_AFTERMATH, whose diagnostics config | 2715 | LEONIDA_SHADERS, LEONIDA_PIPELINE_CACHE_DIR, and LEONIDA_DEVICE_FAULT/LEONIDA_AFTERMATH, whose diagnostics config |
| 2461 | makes other pipelines) and builds every compute entry of the library through the dispatch path | 2716 | makes other pipelines) and builds every compute entry of the library through the dispatch path |
| @@ -2465,6 +2720,19 @@ Pipeline creation: | |||
| 2465 | 4 threads: modules of 3.6-5.8 MB took 46-145 s each, 12 in 312 s, about 3.5 GB of host memory each while in the | 2720 | 4 threads: modules of 3.6-5.8 MB took 46-145 s each, 12 in 312 s, about 3.5 GB of host memory each while in the |
| 2466 | driver (14.5 GB peak for four). Graphics pipelines are not covered: they are built at a title's draw from its PSO | 2721 | driver (14.5 GB peak for four). Graphics pipelines are not covered: they are built at a title's draw from its PSO |
| 2467 | description and the bound formats, and take milliseconds. | 2722 | description and the bound formats, and take milliseconds. |
| 2723 | `LEONIDA_SKIP_COMPUTE` does not narrow the build: it is a play-time setting, players run the pre-compile with the | ||
| 2724 | game's environment, and a program left out here would stay out of the journal after the list is shortened. The run | ||
| 2725 | says how many entries the list names and builds them; `--skip-listed` leaves them out on purpose. The last line | ||
| 2726 | counts what was built (compiled, or found in a cache), what was journaled already or being built by another | ||
| 2727 | process, what failed, and what was left out and why: by `--skip-listed`, not buildable on this device (no SPIR-V, | ||
| 2728 | set-0 bindings without a bindless set, workgroup memory over the limit), or filtered out (`--filter`, the size | ||
| 2729 | bounds, `--limit`). The 89-167 s per program behind the skip list of the large `library/` programs came from | ||
| 2730 | wave64-emulated packs. Measured with a native wave64 pack on an RX 7900 XTX (RADV, Mesa 26.3.1, Wine): all 721 | ||
| 2731 | programs of 2 MiB or more built, 360 of them in 170 s on 32 threads, 2.5-32 s each, the largest (13 MiB) in 28.5 s | ||
| 2732 | alone, at a peak of 14 GiB of RAM for the process. With all of them in the journal and no skip list, two world runs | ||
| 2733 | took them all from the journal (none built in the game) and ended as runs with the skip list do, in an idle-queue | ||
| 2734 | device loss or a stop with the GPU idle ([running.md](running.md#settings-every-platform-needs)); whether their | ||
| 2735 | output is correct is not measured. | ||
| 2468 | `LEONIDA_COMPILE_HELPER=1` (`shims/d3d12_compile_helper.h`) keeps first-ever compiles out of the title's process: | 2736 | `LEONIDA_COMPILE_HELPER=1` (`shims/d3d12_compile_helper.h`) keeps first-ever compiles out of the title's process: |
| 2469 | the driver's locks, which a long `vkCreateComputePipelines` holds and a `vkQueueSubmit` of the same process waits | 2737 | the driver's locks, which a long `vkCreateComputePipelines` holds and a `vkQueueSubmit` of the same process waits |
| 2470 | for, are per process. A compute build of `LEONIDA_COMPILE_HELPER_MIN_BYTES` or more (128 KiB) with no journal file | 2738 | for, are per process. A compute build of `LEONIDA_COMPILE_HELPER_MIN_BYTES` or more (128 KiB) with no journal file |
| @@ -4098,11 +4366,22 @@ Not implemented yet: | |||
| 4098 | `LEONIDA_SKIP_COMPUTE`) or mistranslates leaves whatever the memory held: a dispatch of billions of groups or a | 4366 | `LEONIDA_SKIP_COMPUTE`) or mistranslates leaves whatever the memory held: a dispatch of billions of groups or a |
| 4099 | draw of four billion vertices runs until the host resets the display driver. One small compute pass per | 4367 | draw of four billion vertices runs until the host resets the display driver. One small compute pass per |
| 4100 | `ExecuteIndirect` call copies the active records into device-local scratch with their values bounded - 2^24 | 4368 | `ExecuteIndirect` call copies the active records into device-local scratch with their values bounded - 2^24 |
| 4101 | vertices or indices, 2^26 vertex instances (count times instances), 65 535 groups per dimension, 2^20 groups per | 4369 | vertices or indices, 2^26 vertex instances (count times instances), the device's `maxComputeWorkGroupCount` groups |
| 4102 | dispatch and a 2^27-unit work budget per call that saturates through an atomic compare-and-swap - and writes an | 4370 | per dimension for a dispatch (65 535 for a mesh dispatch), 2^20 groups per dispatch and a 2^27-unit work budget per |
| 4371 | call that saturates through an atomic compare-and-swap - and writes an | ||
| 4103 | empty record past `min(count, max_command_count)` and past the budget, and the clamped count word a `*Count` draw | 4372 | empty record past `min(count, max_command_count)` and past the budget, and the clamped count word a `*Count` draw |
| 4104 | then reads (so the count is at most `maxDrawCount`, VUID-vkCmdDrawIndirectCount-countBuffer-02717). The indirect | 4373 | then reads (so the count is at most `maxDrawCount`, VUID-vkCmdDrawIndirectCount-countBuffer-02717). A draw record |
| 4105 | command reads that scratch. A draw emits the pass before its rendering scope opens: `vkCmdCopyBuffer` and a | 4374 | of 2^23 vertices or indices an instance or more is a slot the title has not filled: it runs empty and charges |
| 4375 | nothing (RT-INDIRECT-DRAW-UNFILLED-COUNT). Before, each was cut to 2^24 and charged that, so eight of them used up | ||
| 4376 | the budget and every later draw in the list ran empty; a census in a VIctory fork found 90 such records in one | ||
| 4377 | list. A dispatch record's groups per dimension follow the device (#2230): the title's tile | ||
| 4378 | passes ask for 67 440 groups in x at 2560x1440 (found in the VIctory-Belobug-AMD fork of VIctory, | ||
| 4379 | `crates/victory-gpu/src/indirect.rs`), RADV runs 2^32 - 1 in x in one dispatch, and the cut at 65 535 dropped the | ||
| 4380 | last 1 905 tiles of the pass. A device that allows less (llvmpipe: 65 535) still gets the record cut at its | ||
| 4381 | limit: running the rest would take more dispatches with a group-ID base the translated shader does not read. The | ||
| 4382 | counters' `indirect clamp dispatch:` line (every 10 s while dispatch records are clamped) gives the records, those | ||
| 4383 | wider than 65 535 in x, the widest x that ran and those cut at the device's limits, so a run shows which case it | ||
| 4384 | is. The indirect command reads that scratch. A draw emits the pass before its rendering scope opens: `vkCmdCopyBuffer` and a | ||
| 4106 | memory barrier with a transfer access are not allowed inside a dynamic-rendering scope. The records are | 4385 | memory barrier with a transfer access are not allowed inside a dynamic-rendering scope. The records are |
| 4107 | bit-identical to the application's when they are within the limits, the argument and count buffers are left | 4386 | bit-identical to the application's when they are within the limits, the argument and count buffers are left |
| 4108 | untouched, and the scratch comes from a per-submission pool (`vulkan_scratch.h`) that a list with many indirect | 4387 | untouched, and the scratch comes from a per-submission pool (`vulkan_scratch.h`) that a list with many indirect |
diff --git a/docs/design.md b/docs/design.md index eee5be2cc..7bff52e7f 100644 --- a/docs/design.md +++ b/docs/design.md | |||
| @@ -303,7 +303,7 @@ How the generated SPIR-V expects the runtime to work: | |||
| 303 | | `s_load_dword*` with `vcc` 64-bit base pointer | SMEM `s_load_dword*` accepts `vcc` (`{vcc_lo, vcc_hi}`, hardware `s[106:107]`) as its 64-bit base pointer in `Gen.scalar_load`, loading `%vcc` as the low dword and `%vcc_hi` as the high dword; `s_buffer_load*` still requires a 4-dword V# and rejects 2-dword `vcc`. Source: RDNA2 ISA SMEM `SBASE` encoding (`sbase = 53` -> `s[106:107] = vcc`). Confirmed by corpus count over the 2,684-shader pipeline library compute corpus (79 shaders use `vcc` as the `s_load` base: 72 `s_load_dwordx4 sgpr, vcc`, 6 `s_load_dwordx8 sgpr, vcc`, 1 `s_load_dwordx4 slist, vcc`; all 79 translate and pass `spirv-val` under `--wave64-emulate`) and CPU-checked by `tests/semantic/test_sload_vcc_base.py` (`spirv-as` + `spirv-val`) and `tests/semantic/test_scalar_mem_smem.py` (both halves and the resulting addresses); **not GPU-verified**: the synthetic `runtime/test/shaders/cs_smem_vcc_base.asm` reads back eight seeded words through the pair in the standard GPU runner. | | 303 | | `s_load_dword*` with `vcc` 64-bit base pointer | SMEM `s_load_dword*` accepts `vcc` (`{vcc_lo, vcc_hi}`, hardware `s[106:107]`) as its 64-bit base pointer in `Gen.scalar_load`, loading `%vcc` as the low dword and `%vcc_hi` as the high dword; `s_buffer_load*` still requires a 4-dword V# and rejects 2-dword `vcc`. Source: RDNA2 ISA SMEM `SBASE` encoding (`sbase = 53` -> `s[106:107] = vcc`). Confirmed by corpus count over the 2,684-shader pipeline library compute corpus (79 shaders use `vcc` as the `s_load` base: 72 `s_load_dwordx4 sgpr, vcc`, 6 `s_load_dwordx8 sgpr, vcc`, 1 `s_load_dwordx4 slist, vcc`; all 79 translate and pass `spirv-val` under `--wave64-emulate`) and CPU-checked by `tests/semantic/test_sload_vcc_base.py` (`spirv-as` + `spirv-val`) and `tests/semantic/test_scalar_mem_smem.py` (both halves and the resulting addresses); **not GPU-verified**: the synthetic `runtime/test/shaders/cs_smem_vcc_base.asm` reads back eight seeded words through the pair in the standard GPU runner. | |
| 304 | | Execution model | One invocation = one lane. Compute and mesh waves derive lanes from the workgroup-local index; other stages use the subgroup lane. A wave = a subgroup, so cross-lane ops (`ds_swizzle`, `v_permlane*`, `v_readlane`/`v_writelane`, `v_mbcnt`) become subgroup shuffles. Wave32 pixel shaders split a 64-lane physical subgroup into two logical waves: lane IDs are `SubgroupLocalInvocationId & 31`, shuffle sources retain the current half (`& 32`), and ballots/votes use that half's 32-bit word. A value the translator knows is uniform (the bindless descriptor index) is read from the half's first running lane, never from a fixed lane, which need not be running (SHADER-1016). Other stage/wave combinations still require subgroup size == wave size or wave64 emulation. **Requires subgroup size == wave size** (wave32 maps directly onto NVIDIA GPUs; wave64 shaders need a 64-wide subgroup or emulation). `v_readlane_b32`/`v_writelane_b32` mask the lane select with 63 in wave64 (`S1[5:0]`) and 31 in wave32 (`S1[4:0]`); until SHADER-52 both used 63, so a wave32 select ≥ 32 pointed past a 32-wide subgroup. GPU-checked with `cs_w32_lane_wrap.asm` (lane 40 → 8). For the fragment-half rule, `ps_bitmask_perm` produced 4096/4096 exact pixels on an AMD Radeon RX 5700 XT; Vulkan reported a default subgroup size of 64 (range 32..64), but does not permit pinning fragment subgroup size on this device. CPU semantic tests compare a 64-lane wave32 pixel subgroup against two 32-lane subgroups for reads/writes, permutations, ballots, and votes. | | 304 | | Execution model | One invocation = one lane. Compute and mesh waves derive lanes from the workgroup-local index; other stages use the subgroup lane. A wave = a subgroup, so cross-lane ops (`ds_swizzle`, `v_permlane*`, `v_readlane`/`v_writelane`, `v_mbcnt`) become subgroup shuffles. Wave32 pixel shaders split a 64-lane physical subgroup into two logical waves: lane IDs are `SubgroupLocalInvocationId & 31`, shuffle sources retain the current half (`& 32`), and ballots/votes use that half's 32-bit word. A value the translator knows is uniform (the bindless descriptor index) is read from the half's first running lane, never from a fixed lane, which need not be running (SHADER-1016). Other stage/wave combinations still require subgroup size == wave size or wave64 emulation. **Requires subgroup size == wave size** (wave32 maps directly onto NVIDIA GPUs; wave64 shaders need a 64-wide subgroup or emulation). `v_readlane_b32`/`v_writelane_b32` mask the lane select with 63 in wave64 (`S1[5:0]`) and 31 in wave32 (`S1[4:0]`); until SHADER-52 both used 63, so a wave32 select ≥ 32 pointed past a 32-wide subgroup. GPU-checked with `cs_w32_lane_wrap.asm` (lane 40 → 8). For the fragment-half rule, `ps_bitmask_perm` produced 4096/4096 exact pixels on an AMD Radeon RX 5700 XT; Vulkan reported a default subgroup size of 64 (range 32..64), but does not permit pinning fragment subgroup size on this device. CPU semantic tests compare a 64-lane wave32 pixel subgroup against two 32-lane subgroups for reads/writes, permutations, ballots, and votes. | |
| 305 | | DPP | VOP1/VOP2 `_dpp` applies to src0. DPP16 controls (`quad_perm`, `row_shl/shr/ror/share/xmask/mirror/half_mirror`) and DPP8 (`dpp8` + `fi`) select the source lane, then `row_mask` (one bit per 16-lane row) and `bank_mask` (one bit per 4-lane bank) decide which destination lanes update. A lane whose row/bank is off is not written. A source lane outside the row is invalid: `bound_ctrl` 1 uses 0 as src0, otherwise the lane is not written. Hardware applies src0 float modifiers (`neg`/`abs`) after the invalid-lane zero selection, so `-src0` on an invalid lane yields `-0.0f` (`0x80000000`) and `\|src0\|` yields `+0.0f` (HW-DPP-NEG-INVALID-LANE, measured on RDNA3 (gfx1101) RX 7800 XT, RDNA2 not measured; tested by `tests/semantic/test_dpp_bound_ctrl_modifiers.py`). A source lane inactive under EXEC is used when `fi` is 1; otherwise `bound_ctrl` decides. DPP8 always writes an enabled lane: `fi` 1 reads the inactive source, `fi` 0 uses 0. DPP16/8 never leaves its 16/8-lane group, so this is exact on every subgroup at least that wide; under `--wave64-emulate` the exchange goes through the workgroup buffer like the other cross-lane ops. GPU-checked with `runtime/test/shaders/cs_dpp*.asm` on an RTX 3070 and hardware-measured on an RX 6800. On an RX 6700 XT (gfx1031), `tools/crosslane_fuzz.py --dpp-sweep --oracle hw` checks every DPP16 control × `bound_ctrl` × `fi`, every `row_mask`/`bank_mask` pair and the DPP8 selects in wave32 and wave64: 14,412 cases, all matching these rules (BUILD-162, `docs/shader_validation.md` FUZZ-7). The ballot of the source lanes' EXEC bits and the shuffle are each stored to a Function variable of their own (`Gen.eager`): SPIRV-Cross (MoltenVK) inlines a single-use result into the expression that uses it, which put the ballot on the right of a short-circuiting `&&` and the shuffle in a ternary's arm, so lanes out of their row skipped the ballot and row_shr:1's lane 1 found lane 0 inactive (`cs_dpp_ops` on MoltenVK; SHADER-529). A store is a statement every lane runs. For native FI=0, the source-lane ballot bit also selects the shuffle index: an absent or EXEC-off source is redirected to the current subgroup lane before `OpGroupNonUniformShuffle`, because masking an undefined shuffle result afterwards is not sufficient; FI=1 is unchanged. CPU-checked by `tests/semantic/test_dpp_eager_subgroup.py::test_fi0_shuffle_index_is_ballot_safe` with a hand-written `quad_perm` case whose active lane 6 reads absent lane 7 in a seven-invocation wave; **not GPU-verified**. Checked in SPIRV-Cross 1.3.239's MSL for the `cs_dpp*` tests (each op is now its own statement) and by `tests/semantic/test_dpp_eager_subgroup.py`; not yet run on a Mac. Semantics from the RDNA2 ISA, AMD LLVM modifier syntax and the GPUOpen DPP notes. | | 305 | | DPP | VOP1/VOP2 `_dpp` applies to src0. DPP16 controls (`quad_perm`, `row_shl/shr/ror/share/xmask/mirror/half_mirror`) and DPP8 (`dpp8` + `fi`) select the source lane, then `row_mask` (one bit per 16-lane row) and `bank_mask` (one bit per 4-lane bank) decide which destination lanes update. A lane whose row/bank is off is not written. A source lane outside the row is invalid: `bound_ctrl` 1 uses 0 as src0, otherwise the lane is not written. Hardware applies src0 float modifiers (`neg`/`abs`) after the invalid-lane zero selection, so `-src0` on an invalid lane yields `-0.0f` (`0x80000000`) and `\|src0\|` yields `+0.0f` (HW-DPP-NEG-INVALID-LANE, measured on RDNA3 (gfx1101) RX 7800 XT, RDNA2 not measured; tested by `tests/semantic/test_dpp_bound_ctrl_modifiers.py`). A source lane inactive under EXEC is used when `fi` is 1; otherwise `bound_ctrl` decides. DPP8 always writes an enabled lane: `fi` 1 reads the inactive source, `fi` 0 uses 0. DPP16/8 never leaves its 16/8-lane group, so this is exact on every subgroup at least that wide; under `--wave64-emulate` the exchange goes through the workgroup buffer like the other cross-lane ops. GPU-checked with `runtime/test/shaders/cs_dpp*.asm` on an RTX 3070 and hardware-measured on an RX 6800. On an RX 6700 XT (gfx1031), `tools/crosslane_fuzz.py --dpp-sweep --oracle hw` checks every DPP16 control × `bound_ctrl` × `fi`, every `row_mask`/`bank_mask` pair and the DPP8 selects in wave32 and wave64: 14,412 cases, all matching these rules (BUILD-162, `docs/shader_validation.md` FUZZ-7). The ballot of the source lanes' EXEC bits and the shuffle are each stored to a Function variable of their own (`Gen.eager`): SPIRV-Cross (MoltenVK) inlines a single-use result into the expression that uses it, which put the ballot on the right of a short-circuiting `&&` and the shuffle in a ternary's arm, so lanes out of their row skipped the ballot and row_shr:1's lane 1 found lane 0 inactive (`cs_dpp_ops` on MoltenVK; SHADER-529). A store is a statement every lane runs. For native FI=0, the source-lane ballot bit also selects the shuffle index: an absent or EXEC-off source is redirected to the current subgroup lane before `OpGroupNonUniformShuffle`, because masking an undefined shuffle result afterwards is not sufficient; FI=1 is unchanged. CPU-checked by `tests/semantic/test_dpp_eager_subgroup.py::test_fi0_shuffle_index_is_ballot_safe` with a hand-written `quad_perm` case whose active lane 6 reads absent lane 7 in a seven-invocation wave; **not GPU-verified**. Checked in SPIRV-Cross 1.3.239's MSL for the `cs_dpp*` tests (each op is now its own statement) and by `tests/semantic/test_dpp_eager_subgroup.py`; not yet run on a Mac. Semantics from the RDNA2 ISA, AMD LLVM modifier syntax and the GPUOpen DPP notes. | |
| 306 | | DPP on a VOPC compare | A VOPC compare whose src0 field is a DPP marker (250 for DPP16, 233/234 for DPP8) takes src0 through the DPP lane selection of the row above and writes VCC: a lane's bit is `compare(src0 of the selected lane, its own src1)`, with 0 for src0 when the selected lane is out of its row or inactive (`bound_ctrl` 1, or DPP8 with `fi` 0). The second word has the layout of a VOP2's DPP word. `llvm-mc` has no decoding for it on gfx10 (LLVM 21.1.8 rejects the first word for `gfx1013`; LLVM defines the form from GFX11 on), so `tools/shader_disasm.py` prints it: it decodes the pair with the first word turned into `v_max_f32` into `v0`, which takes the same second word, and gives the line the compare's name, a `vcc_lo` destination and the real encoding back (`with_vopc_dpp`); `tools/rdna2_decode.py` decodes it directly. **Only the forms where every lane writes its bit are translated**: `row_mask` and `bank_mask` 0xF and either `bound_ctrl` 1 or DPP8. Any other form, and `v_cmpx`, is refused (`DPP compare with lanes that keep their mask bit`), because what a lane DPP leaves unwritten does to its VCC bit is not measured. Found in 3 of the 2,684 pipeline-library compute programs of 1.0.2.1: 4 `v_cmp_gt_f32` each, with `quad_perm:[1,0,3,2]`, `quad_perm:[2,3,0,1]`, `row_ror:8` (all `bound_ctrl:1`, masks 0xF) and `dpp8:[4,5,6,7,0,1,2,3]`, beside `v_min/max_f32_dpp` and `v_mov_b32_dpp` on the same lanes. **Not measured on hardware**: the rule follows from the encoding, from LLVM's GFX11 definition of the same form and from the VOP2 DPP rules measured in the row above; the sweep that measured those (`tools/crosslane_fuzz.py --dpp-sweep --oracle hw`) does not cover compares. Lane values are checked in `tests/semantic/test_dpp_compare.py` (the SPIR-V interpreter) and on a GPU with `runtime/test/shaders/cs_dpp_cmp.asm`. | | 306 | | DPP on a VOPC compare | A VOPC compare whose src0 field is a DPP marker (250 for DPP16, 233/234 for DPP8) takes src0 through the DPP lane selection of the row above and writes VCC: a lane's bit is `compare(src0 of the selected lane, its own src1)`, with 0 for src0 when the selected lane is out of its row or inactive (`bound_ctrl` 1, or DPP8 with `fi` 0). The second word has the layout of a VOP2's DPP word. `llvm-mc` has no decoding for it on gfx10 (LLVM 21.1.8 rejects the first word for `gfx1013`; LLVM defines the form from GFX11 on), so `tools/shader_disasm.py` prints it: it decodes the pair with the first word turned into `v_max_f32` into `v0`, which takes the same second word, and gives the line the compare's name, a `vcc_lo` destination and the real encoding back (`with_vopc_dpp`); `tools/rdna2_decode.py` decodes it directly. **Only the forms where every lane writes its bit are translated**: `row_mask` and `bank_mask` 0xF and either `bound_ctrl` 1 or DPP8. Any other form is refused (`DPP compare with lanes DPP leaves unwritten`), because what such a lane writes is measured only on RDNA3, not on RDNA2. On RDNA3 (gfx1101, RX 7800 XT, `tools/hw_oracle`, wave32 and wave64; [measurement](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7161289307)) a lane DPP leaves unwritten does not keep its bit: `v_cmp` writes 0 to its VCC bit and `v_cmpx` turns it off in EXEC. That holds for an invalid source with `bound_ctrl` 0, and for a lane `row_mask` or `bank_mask` turns off, even with `bound_ctrl` 1. Translating these forms on RDNA2 (gfx1013) would need the same measurement there. `v_cmpx` in DPP form takes the same lane selection and the same forms, and writes EXEC as the plain `v_cmpx` does (a lane that was off stays off); it prints no destination, so its src0 is the first operand (SHADER-VOPCX-DPP). Found in 3 of the 2,684 pipeline-library compute programs of 1.0.2.1: 4 `v_cmp_gt_f32` each, with `quad_perm:[1,0,3,2]`, `quad_perm:[2,3,0,1]`, `row_ror:8` (all `bound_ctrl:1`, masks 0xF) and `dpp8:[4,5,6,7,0,1,2,3]`, beside `v_min/max_f32_dpp` and `v_mov_b32_dpp` on the same lanes. `v_cmpx` in DPP form is in 78 of the 18,837 graphics programs of the pipeline library (all pixel shaders, 113 instructions), all `v_cmpx_gt_f32_dpp vN, -vM quad_perm:[2,3,0,1] row_mask:0xf bank_mask:0xf bound_ctrl:1 fi:1`, a compare against the lane two above or below in its quad. **Not measured on RDNA2 hardware**: the rule follows from the encoding, from LLVM's GFX11 definition of the same form and from the VOP2 DPP rules measured in the row above; the sweep that measured those (`tools/crosslane_fuzz.py --dpp-sweep --oracle hw`) does not cover compares. The RDNA3 measurement above also ran the translated forms (`bound_ctrl` 1, masks 0xF): an invalid source lane gets the compare of a 0 source, as the rule says. Lane values are checked in `tests/semantic/test_dpp_compare.py` (the SPIR-V interpreter) and on a GPU with `runtime/test/shaders/cs_dpp_cmp.asm` and, for `v_cmpx`, `cs_dpp_cmpx.asm` (RTX 4070 Laptop, native wave32 and `--wave64-emulate`). | |
| 307 | | EXEC | A per-invocation `active` flag. VALU writes and exports are masked by it, scalar ops aren't, and `v_cmpx`, saveexec and EXEC writes update it. Measured on native gfx1100 (8 threads): a `v_mov_b32` under `EXEC=0x0F` leaves the other lanes untouched, `EXEC=0` writes nothing, a store writes only active lanes and `v_cmpx_gt_u32` narrows EXEC (4 of 4 cases); note that AMD clang 20 rejects `v_add_co_u32`, `v_sub_co_u32`, `v_add_co_ci_u32` and `v_mad_u64_u32` for `gfx1100`, `gfx1101` and `gfx1102`, so this toolchain could not reproduce the RX 7600 result below, which leaves open whether those parts support the opcodes and says only that they could not be assembled here. **A pixel is written when its lane was on in EXEC at the last `exp ... vm` the path executed (if it executed one) and at the last export to the color target; a path with no export at all goes by EXEC at the end.** The `vm` half is the RDNA2 ISA reference guide's rule (30-November-2020, §11.1 and §11.2.1: EXEC at the export is the valid mask and the final one sent is used; an `exp null ... vm` carries only the mask). The color half is measured: an export sends data only for the lanes that are on, a later export to the same target replaces the earlier one for the whole wave, and a lane with no data from the last one is not written even when a later `exp null done vm` marks it valid. So `exp mrt0 done` (no `vm`) with every lane on, followed by an EXEC write, still writes every pixel, and EXEC off at that export and back on afterwards writes none. **Measured on RDNA2** (AMD Radeon iGPU, gfx1036, driver 26.10.1) with the pixel-shader oracle of #3061 (`ps_oracle.py`), hand-written ISA as the pixel shader of a real draw (wave64 stage): 18 programs that cut EXEC to half of the target before, between or after `exp mrt0` (with and without `vm` and `done`) and `exp null done vm`; all 18 fit the rule, 6 of them differed from the translator, which until 2026-11-23 discarded by EXEC at the end on a path without `vm` and kept the older export's value (or the output's initial value) for a lane that was off at the last color export. The latches (`%vm_mask`, `%col_mask_mrtN`) are only emitted where a path can write EXEC after a `vm` or color export; everywhere else EXEC at the end is the same mask and the SPIR-V is unchanged. With several color targets a pixel stays when any target got an export from its lane (Vulkan cannot skip one attachment per pixel; not measured, the oracle's pipeline has one target); `mrtz` is not part of the color mask (not measured). **Measuring exports needs `s_waitcnt expcnt(0)` after each one**: an export is asynchronous, and without the wait the hardware takes the data and the EXEC of a later moment (`v_mov v9, A; exp mrt0 v9 done vm; v_mov v9, B` shows B, and an EXEC write right after the export decides which pixels are written, which looks like "EXEC at the end decides"); 64 `s_nop 15` have the same effect as the wait. Checked on the CPU by `tests/semantic/test_export_valid_mask.py` and on the GPU by `runtime/test/shaders/ps_exp_color_mask.asm` (RTX 5080 and the Radeon). VALU scalar lane-mask destinations (`v_cmp_*`, `v_add_co_u32`, `v_add_co_ci_u32`, `v_sub_co_u32`, `v_sub_co_ci_u32`, `v_subrev_co_u32`, `v_subrev_co_ci_u32`, `v_mad_u64_u32`, `v_mad_i64_i32`) write 0 for lanes off in EXEC (`SDST[lane] = EXEC[lane] ? bit : 0`, AMD RDNA2 ISA). Until 2026-11-22 the six `*_co_*` ops and `v_mad_u64_u32`/`v_mad_i64_i32` did not AND the carry/sign bit with `active`, so inactive lanes leaked 1 bits into `VCC`/SGPR masks (`s_bcnt1`, `s_cbranch_vccz`, `v_cndmask_b32`). Checked on the CPU by `tests/semantic/test_carry_exec_mask.py` (wave32, wave64, and `--wave64-emulate` structure), and **hardware-verified on an AMD RX 7600 (gfx1102)** with `v_add_co_u32` and `v_add_co_ci_u32` carrying on every active lane: VCC reads `0xffffffff` with full EXEC, `0x0000ffff` for the mask `0x0000ffff` and `0xaaaaaaaa` for `0xaaaaaaaa` in wave32, `vcc_lo = 0x0000ffff` with `vcc_hi = 0x0000000f` for the same partial mask in wave64, and `0` when EXEC is 0 even with VCC preloaded to all ones; with one carrying lane under mask `0x0000ffff` VCC is `0x00000001`, and `v_sub_co_u32`/`v_subrev_co_u32` with a borrow under that mask give `0x0000ffff` too. The `*_co_ci_` forms, `v_mad_u64_u32` and `v_mad_i64_i32` share the same path but were not measured separately; it is also GPU-verified on native RDNA2 (gfx1036, AMD Radeon Graphics) with partial EXEC masks (inactive lanes write 0 in sdst for `v_add_co_u32` and `v_mad_u64_u32`). In a shader that writes EXEC, a run of two or more lane-local VALU instructions (no cross-lane read, no lane-mask, SCC, carry or EXEC write) sits inside one `if (active)` and writes its VGPRs directly, instead of an `OpSelect(active, new, old)` per write: the same result, but the driver predicates the run with its own EXEC instead of keeping both values live. On an RX 5700 XT (RADV) a pixel shader with 8 divergent if/else regions of `v_fma`/`v_mul`/`v_add`/`v_min`/`v_max` went from 0.85 ms to 0.69 ms (the same program as native SPIR-V: 0.65 ms). Not under `--wave64-emulate`. Checked by `tests/semantic/test_active_runs.py`. | | 307 | | EXEC | A per-invocation `active` flag. VALU writes and exports are masked by it, scalar ops aren't, and `v_cmpx`, saveexec and EXEC writes update it. Measured on native gfx1100 (8 threads): a `v_mov_b32` under `EXEC=0x0F` leaves the other lanes untouched, `EXEC=0` writes nothing, a store writes only active lanes and `v_cmpx_gt_u32` narrows EXEC (4 of 4 cases); note that AMD clang 20 rejects `v_add_co_u32`, `v_sub_co_u32`, `v_add_co_ci_u32` and `v_mad_u64_u32` for `gfx1100`, `gfx1101` and `gfx1102`, so this toolchain could not reproduce the RX 7600 result below, which leaves open whether those parts support the opcodes and says only that they could not be assembled here. **A pixel is written when its lane was on in EXEC at the last `exp ... vm` the path executed (if it executed one) and at the last export to the color target; a path with no export at all goes by EXEC at the end.** The `vm` half is the RDNA2 ISA reference guide's rule (30-November-2020, §11.1 and §11.2.1: EXEC at the export is the valid mask and the final one sent is used; an `exp null ... vm` carries only the mask). The color half is measured: an export sends data only for the lanes that are on, a later export to the same target replaces the earlier one for the whole wave, and a lane with no data from the last one is not written even when a later `exp null done vm` marks it valid. So `exp mrt0 done` (no `vm`) with every lane on, followed by an EXEC write, still writes every pixel, and EXEC off at that export and back on afterwards writes none. **Measured on RDNA2** (AMD Radeon iGPU, gfx1036, driver 26.10.1) with the pixel-shader oracle of #3061 (`ps_oracle.py`), hand-written ISA as the pixel shader of a real draw (wave64 stage): 18 programs that cut EXEC to half of the target before, between or after `exp mrt0` (with and without `vm` and `done`) and `exp null done vm`; all 18 fit the rule, 6 of them differed from the translator, which until 2026-11-23 discarded by EXEC at the end on a path without `vm` and kept the older export's value (or the output's initial value) for a lane that was off at the last color export. The latches (`%vm_mask`, `%col_mask_mrtN`) are only emitted where a path can write EXEC after a `vm` or color export; everywhere else EXEC at the end is the same mask and the SPIR-V is unchanged. With several color targets a pixel stays when any target got an export from its lane (Vulkan cannot skip one attachment per pixel; not measured, the oracle's pipeline has one target); `mrtz` is not part of the color mask (not measured). **Measuring exports needs `s_waitcnt expcnt(0)` after each one**: an export is asynchronous, and without the wait the hardware takes the data and the EXEC of a later moment (`v_mov v9, A; exp mrt0 v9 done vm; v_mov v9, B` shows B, and an EXEC write right after the export decides which pixels are written, which looks like "EXEC at the end decides"); 64 `s_nop 15` have the same effect as the wait. Checked on the CPU by `tests/semantic/test_export_valid_mask.py` and on the GPU by `runtime/test/shaders/ps_exp_color_mask.asm` (RTX 5080 and the Radeon). VALU scalar lane-mask destinations (`v_cmp_*`, `v_add_co_u32`, `v_add_co_ci_u32`, `v_sub_co_u32`, `v_sub_co_ci_u32`, `v_subrev_co_u32`, `v_subrev_co_ci_u32`, `v_mad_u64_u32`, `v_mad_i64_i32`) write 0 for lanes off in EXEC (`SDST[lane] = EXEC[lane] ? bit : 0`, AMD RDNA2 ISA). Until 2026-11-22 the six `*_co_*` ops and `v_mad_u64_u32`/`v_mad_i64_i32` did not AND the carry/sign bit with `active`, so inactive lanes leaked 1 bits into `VCC`/SGPR masks (`s_bcnt1`, `s_cbranch_vccz`, `v_cndmask_b32`). Checked on the CPU by `tests/semantic/test_carry_exec_mask.py` (wave32, wave64, and `--wave64-emulate` structure), and **hardware-verified on an AMD RX 7600 (gfx1102)** with `v_add_co_u32` and `v_add_co_ci_u32` carrying on every active lane: VCC reads `0xffffffff` with full EXEC, `0x0000ffff` for the mask `0x0000ffff` and `0xaaaaaaaa` for `0xaaaaaaaa` in wave32, `vcc_lo = 0x0000ffff` with `vcc_hi = 0x0000000f` for the same partial mask in wave64, and `0` when EXEC is 0 even with VCC preloaded to all ones; with one carrying lane under mask `0x0000ffff` VCC is `0x00000001`, and `v_sub_co_u32`/`v_subrev_co_u32` with a borrow under that mask give `0x0000ffff` too. The `*_co_ci_` forms, `v_mad_u64_u32` and `v_mad_i64_i32` share the same path but were not measured separately; it is also GPU-verified on native RDNA2 (gfx1036, AMD Radeon Graphics) with partial EXEC masks (inactive lanes write 0 in sdst for `v_add_co_u32` and `v_mad_u64_u32`). In a shader that writes EXEC, a run of two or more lane-local VALU instructions (no cross-lane read, no lane-mask, SCC, carry or EXEC write) sits inside one `if (active)` and writes its VGPRs directly, instead of an `OpSelect(active, new, old)` per write: the same result, but the driver predicates the run with its own EXEC instead of keeping both values live. On an RX 5700 XT (RADV) a pixel shader with 8 divergent if/else regions of `v_fma`/`v_mul`/`v_add`/`v_min`/`v_max` went from 0.85 ms to 0.69 ms (the same program as native SPIR-V: 0.65 ms). Not under `--wave64-emulate`. Checked by `tests/semantic/test_active_runs.py`. | |
| 308 | | `s_*_saveexec_b32/b64`, `s_andn1/andn2_wrexec_b32/b64` | RDNA2 ISA SOP1. saveexec: `D = EXEC; EXEC = f(S0, EXEC); SCC = (EXEC != 0)`. wrexec: `EXEC = f(S0, EXEC); D = EXEC`. `f` is one of `and`, `or`, `xor`, `andn1` (`~S0 & EXEC`), `andn2` (`S0 & ~EXEC`), `orn1` (`~S0 \| EXEC`), `orn2` (`S0 \| ~EXEC`), `nand`, `nor`, `xnor`, the table in `Gen.EXEC_LOGIC`. The definitions match `tools/cf_ref.py` `_SAVEEXEC`, the FUZZ-8 model. Each invocation holds its own lane's bit (0 or ~0), so `f` is the bitwise op on that bit. A lane EXEC had off becomes active when `f` gives 1 for it (`nand`, `nor`, `orn1`, `orn2`, `xnor`, ...), as on hardware, and SCC is the wave vote. Until 2026-11-22 only `and`/`or`/`andn2_saveexec` and `andn2_wrexec` were translated. CPU-checked by `tests/semantic/test_saveexec_variants.py` (all ten saveexec kinds in wave32 and wave64, both wrexec kinds, partial EXEC and S0, an empty result, every lane against `cf_ref._SAVEEXEC`) and by `tools/cf_diff.py` (300 programs × wave32/64 still pass). Hardware-verified on native RDNA2 (`gfx1036`, Windows 11, driver `32.0.21045.29003`, wave32 & wave64, 0 mismatches): all 10 `saveexec` kinds and both `wrexec` kinds (`andn1`/`andn2`) match bit-for-bit on non-symmetric masks (`src0 = 0x0F0F0F0F`, `exec = 0x33333333` in wave32; `0x0F0F0F0F_00FF00FF` / `0x33333333_55555555` in wave64), zero-result `SCC = 0`, wave64 upper-32-bit-only `new_exec = 0x00000001_00000000` setting `SCC = 1`, and `sdst == src0` register aliasing (`s4, s4` and `s[4:5], s[4:5]`) reading original `src0` before writing old `EXEC` to `sdst`. **Not GPU-verified** for the seven new kinds. Measured on native gfx1100 (single 8-lane workgroup, 36 programs): all ten `saveexec` kinds and both `wrexec` forms follow `f` for three `S0`/`EXEC` pairs, including lanes `EXEC` had off being switched back on (`nand` with `S0=0x03`, `EXEC=0x0F` leaves `0xFFFFFFFC`, activating lanes 4-7), `D` holding the old `EXEC` for `saveexec` and the new one for `wrexec`, and `SCC` the `EXEC != 0` vote. | | 308 | | `s_*_saveexec_b32/b64`, `s_andn1/andn2_wrexec_b32/b64` | RDNA2 ISA SOP1. saveexec: `D = EXEC; EXEC = f(S0, EXEC); SCC = (EXEC != 0)`. wrexec: `EXEC = f(S0, EXEC); D = EXEC`. `f` is one of `and`, `or`, `xor`, `andn1` (`~S0 & EXEC`), `andn2` (`S0 & ~EXEC`), `orn1` (`~S0 \| EXEC`), `orn2` (`S0 \| ~EXEC`), `nand`, `nor`, `xnor`, the table in `Gen.EXEC_LOGIC`. The definitions match `tools/cf_ref.py` `_SAVEEXEC`, the FUZZ-8 model. Each invocation holds its own lane's bit (0 or ~0), so `f` is the bitwise op on that bit. A lane EXEC had off becomes active when `f` gives 1 for it (`nand`, `nor`, `orn1`, `orn2`, `xnor`, ...), as on hardware, and SCC is the wave vote. Until 2026-11-22 only `and`/`or`/`andn2_saveexec` and `andn2_wrexec` were translated. CPU-checked by `tests/semantic/test_saveexec_variants.py` (all ten saveexec kinds in wave32 and wave64, both wrexec kinds, partial EXEC and S0, an empty result, every lane against `cf_ref._SAVEEXEC`) and by `tools/cf_diff.py` (300 programs × wave32/64 still pass). Hardware-verified on native RDNA2 (`gfx1036`, Windows 11, driver `32.0.21045.29003`, wave32 & wave64, 0 mismatches): all 10 `saveexec` kinds and both `wrexec` kinds (`andn1`/`andn2`) match bit-for-bit on non-symmetric masks (`src0 = 0x0F0F0F0F`, `exec = 0x33333333` in wave32; `0x0F0F0F0F_00FF00FF` / `0x33333333_55555555` in wave64), zero-result `SCC = 0`, wave64 upper-32-bit-only `new_exec = 0x00000001_00000000` setting `SCC = 1`, and `sdst == src0` register aliasing (`s4, s4` and `s[4:5], s[4:5]`) reading original `src0` before writing old `EXEC` to `sdst`. **Not GPU-verified** for the seven new kinds. Measured on native gfx1100 (single 8-lane workgroup, 36 programs): all ten `saveexec` kinds and both `wrexec` forms follow `f` for three `S0`/`EXEC` pairs, including lanes `EXEC` had off being switched back on (`nand` with `S0=0x03`, `EXEC=0x0F` leaves `0xFFFFFFFC`, activating lanes 4-7), `D` holding the old `EXEC` for `saveexec` and the new one for `wrexec`, and `SCC` the `EXEC != 0` vote. | |
| 309 | | Control flow | Reducible graphs use structured branches and natural loops. Irreducible graphs use the dispatch-loop form, which can also be forced with `--dispatch-loop` for comparisons. The control-flow unit test checks 18,228 generated graphs. Irreducible graphs use node splitting (`cfg_structure.split_irreducible`, up to `min(2*N, N+64)` blocks) and fall back to the dispatch-loop form when capped; it can also be forced with `--dispatch-loop` for comparisons. `cfg_structure.structure`, `cfg_structure.run`, and `rdna2spirv.assemble`'s structured emitter are iterative and hoist each guarded member's dominated tail continuation out of its enclosing guard (exact by strict dominance: no block outside the guard's subtree can target the continuation), keeping `OpSelectionMerge` nesting O(1) on sequential diamond/loop chains instead of nesting O(N) deep and hitting Python's recursion limit on multi-thousand-block shaders (e.g. 2,000 sequential diamonds nest to depth 2 instead of 2,000). The control-flow unit test (`tests/test_cfg_structure.py`) checks 20,000 generated graphs plus 2,000-diamond, 1,200-loop, and 1,500-early-exit chains. `capped_tree()` also runs `cfg_structure.unwrap_known_pc_guards` (shared with `wave64_emulate_opt`) to unwrap tautological `("guard", g, ...)` nodes whenever abstract interpretation proves `%pc == g` on all incoming paths (e.g. post-dominating merge blocks after diamonds and loops); this keeps `ms_wave_info_s3`'s `s_barrier` in uniform top-level control flow (fixing an AMD Windows LLPC `0xC0000005` pipeline-creation crash on AMD Ryzen 5 7600 RDNA2 iGPU driver `24.10.24`, `4096/4096` exact on AMD RDNA2 and RTX 4070 SUPER) and avoids false `needs_barrier_rounds` triggers (`SHADER-STRUCTURED-PC-UNWRAP`). AMD A/B checks compare the two forms for selected pixel shaders with defined test inputs. For shaders that never export colour, the comparison checks pixel coverage. **Nesting is bounded (SHADER-299):** a tree deeper than `MAX_STRUCTURED_DEPTH` (16) is emitted in the dispatch-loop form instead, since `spirv-val` time grows roughly with the cube of the measured nesting depth. **Nesting is bounded (SHADER-299, SHADER-427):** a tree deeper than `MAX_STRUCTURED_DEPTH` (64; `--max-structured-depth N`, 0 = no bound) is emitted in the dispatch-loop form instead, since `spirv-val` time grows roughly with the cube of the measured nesting depth. Before #1904, over the 1.0.2.1 corpus (26,503 modules, `spirv-val` 2026.4): the deepest block of a module is nested 118 constructs deep, 12,963 modules are structured (median 15) and 6,000 of those are deeper than 16; an estimated 85% of the corpus's `spirv-val` time is in modules nested 20 or deeper. Median `spirv-val` time for the same module in each form: depth 20 181 -> 129 ms (1.4x), 30 507 -> 371 (1.4x), 50 1,712 -> 738 (2.3x), 64 2,692 -> 1,163 (2.3x), 77 5,122 -> 1,130 (4.5x), and the deepest (118) 13,683 -> 1,352 ms (10.1x). Depth 5-12 shows no gain (at depth 6 the flat form is slightly slower), which is why the bound first sat at 16. Since #1904 (`cfg_structure` hoists tails) the deepest tree in the corpus is 29: of 12,944 structured modules, 1,031 are deeper than 16 (747 CS, 284 PS), 57 deeper than 20, 24 deeper than 24. For those 1,031 the flat form saves only 12% of `spirv-val` time (1,235 -> 1,091 s summed, slowest module 8.3 -> 5.9 s), while on an RTX 5070 Ti (NVIDIA 621.24) it compiles slower: the 284 pixel shaders 1.67x (827 -> 1,382 s summed, two rounds), four compute modules at depth 19-24 2.0x (297 -> 591 s, 1.6-2.7x each), so the bound now sits above the corpus (SHADER-427). Both forms pass `spirv-val` on a 200-shader slice (200/200 each), and `gen.nesting` records the tree depth. AMD's Windows driver adds a reason to keep the structured form (SHADER-995): on a Radeon gfx1036 iGPU (32.0.21042.62) the dispatch-loop module of `XboxBvhBuilder.dll`'s `LeafRehydration` (tree depth 18, a 581-case switch) takes 34 minutes to create (XXDESIGN), where its structured module is created in 2.9 s; ten other programs of that DLL compile in the dispatch-loop form there in 0.4-40 s, 2.5-5x their structured time ([embedded_shaders.md](embedded_shaders.md), section 7). | | 309 | | Control flow | Reducible graphs use structured branches and natural loops. Irreducible graphs use the dispatch-loop form, which can also be forced with `--dispatch-loop` for comparisons. The control-flow unit test checks 18,228 generated graphs. Irreducible graphs use node splitting (`cfg_structure.split_irreducible`, up to `min(2*N, N+64)` blocks) and fall back to the dispatch-loop form when capped; it can also be forced with `--dispatch-loop` for comparisons. `cfg_structure.structure`, `cfg_structure.run`, and `rdna2spirv.assemble`'s structured emitter are iterative and hoist each guarded member's dominated tail continuation out of its enclosing guard (exact by strict dominance: no block outside the guard's subtree can target the continuation), keeping `OpSelectionMerge` nesting O(1) on sequential diamond/loop chains instead of nesting O(N) deep and hitting Python's recursion limit on multi-thousand-block shaders (e.g. 2,000 sequential diamonds nest to depth 2 instead of 2,000). The control-flow unit test (`tests/test_cfg_structure.py`) checks 20,000 generated graphs plus 2,000-diamond, 1,200-loop, and 1,500-early-exit chains. `capped_tree()` also runs `cfg_structure.unwrap_known_pc_guards` (shared with `wave64_emulate_opt`) to unwrap tautological `("guard", g, ...)` nodes whenever abstract interpretation proves `%pc == g` on all incoming paths (e.g. post-dominating merge blocks after diamonds and loops); this keeps `ms_wave_info_s3`'s `s_barrier` in uniform top-level control flow (fixing an AMD Windows LLPC `0xC0000005` pipeline-creation crash on AMD Ryzen 5 7600 RDNA2 iGPU driver `24.10.24`, `4096/4096` exact on AMD RDNA2 and RTX 4070 SUPER) and avoids false `needs_barrier_rounds` triggers (`SHADER-STRUCTURED-PC-UNWRAP`). AMD A/B checks compare the two forms for selected pixel shaders with defined test inputs. For shaders that never export colour, the comparison checks pixel coverage. **Nesting is bounded (SHADER-299):** a tree deeper than `MAX_STRUCTURED_DEPTH` (16) is emitted in the dispatch-loop form instead, since `spirv-val` time grows roughly with the cube of the measured nesting depth. **Nesting is bounded (SHADER-299, SHADER-427):** a tree deeper than `MAX_STRUCTURED_DEPTH` (64; `--max-structured-depth N`, 0 = no bound) is emitted in the dispatch-loop form instead, since `spirv-val` time grows roughly with the cube of the measured nesting depth. Before #1904, over the 1.0.2.1 corpus (26,503 modules, `spirv-val` 2026.4): the deepest block of a module is nested 118 constructs deep, 12,963 modules are structured (median 15) and 6,000 of those are deeper than 16; an estimated 85% of the corpus's `spirv-val` time is in modules nested 20 or deeper. Median `spirv-val` time for the same module in each form: depth 20 181 -> 129 ms (1.4x), 30 507 -> 371 (1.4x), 50 1,712 -> 738 (2.3x), 64 2,692 -> 1,163 (2.3x), 77 5,122 -> 1,130 (4.5x), and the deepest (118) 13,683 -> 1,352 ms (10.1x). Depth 5-12 shows no gain (at depth 6 the flat form is slightly slower), which is why the bound first sat at 16. Since #1904 (`cfg_structure` hoists tails) the deepest tree in the corpus is 29: of 12,944 structured modules, 1,031 are deeper than 16 (747 CS, 284 PS), 57 deeper than 20, 24 deeper than 24. For those 1,031 the flat form saves only 12% of `spirv-val` time (1,235 -> 1,091 s summed, slowest module 8.3 -> 5.9 s), while on an RTX 5070 Ti (NVIDIA 621.24) it compiles slower: the 284 pixel shaders 1.67x (827 -> 1,382 s summed, two rounds), four compute modules at depth 19-24 2.0x (297 -> 591 s, 1.6-2.7x each), so the bound now sits above the corpus (SHADER-427). Both forms pass `spirv-val` on a 200-shader slice (200/200 each), and `gen.nesting` records the tree depth. AMD's Windows driver adds a reason to keep the structured form (SHADER-995): on a Radeon gfx1036 iGPU (32.0.21042.62) the dispatch-loop module of `XboxBvhBuilder.dll`'s `LeafRehydration` (tree depth 18, a 581-case switch) takes 34 minutes to create (XXDESIGN), where its structured module is created in 2.9 s; ten other programs of that DLL compile in the dispatch-loop form there in 0.4-40 s, 2.5-5x their structured time ([embedded_shaders.md](embedded_shaders.md), section 7). | |
| @@ -313,7 +313,7 @@ How the generated SPIR-V expects the runtime to work: | |||
| 313 | | Xbox GPU addresses | Shaders build Xbox GPU virtual addresses, and some force the high dword to 0 (descriptor tables in the low 4 GB). Every memory access goes to **heap base + Xbox VA**, so the runtime maps the console's GPU address window into one host buffer-device-address allocation. | | 313 | | Xbox GPU addresses | Shaders build Xbox GPU virtual addresses, and some force the high dword to 0 (descriptor tables in the low 4 GB). Every memory access goes to **heap base + Xbox VA**, so the runtime maps the console's GPU address window into one host buffer-device-address allocation. | |
| 314 | | Code-embedded data | 155 VS/PS had "undecodable words". They're **constant tables inside the code range** (float values like 0x3EF7…, plus zeros), read through `s_getpc_b64` + `s_add_u32`/`s_addc_u32` + `s_load` (147 of 155). The translator re-anchors each instruction to its true FSSM offset by matching encodings (when the llvm-mc messages give one offset per rejected word, `shader_ir.parse_file`'s `invalid_at`, those words are skipped exactly and nothing is searched forward: a forward search let a data word printed as a copy of a later instruction take that instruction's place and lose every one after it; counted on the 1.0.2.1 pipeline library with #327's vcc-tuple decoding, 36 compute programs that stopped at "cannot re-anchor" now translate and pass `spirv-val`, none lost; `tests/semantic/test_reanchor_llvm_offsets.py`), translates only code reachable from entry (a branch into data is rejected), and turns `s_getpc_b64` into code base + next-instruction offset. **The runtime uploads each shader's FSSM blob into the heap and passes that VA as the code base.** Re-anchoring compares bytes exactly, except that VOP3P `op_sel_hi[2]` (bit 14) is ignored on two-source packed ops: the compiler stores 0 there, and LLVM prints its default of 1. Unused VOP3/VOP3P `SRC1` (bits 49:41) and `SRC2` (bits 58:50) fields are also ignored when stored as 0 and printed as `0x80`: LLVM 23 re-encodes a source it doesn't read as inline constant 0 (one-source `v_rcp`/`v_log`/`v_sqrt_f32_e64`, two-source `v_sub_f32_e64`/`v_cmp_*_e64`/`v_mul_lo_u32`/`v_pk_mul_f16`). Both checks for clean listings and re-anchoring use the parsed operand count to apply this exception only to unused sources. A used source encoded as 0 reads `s0` and is never treated as inline zero. `tests/semantic/test_printed_encoding.py` checks used `SRC1`/`SRC2` and an unused field with synthetic listings. Confirmed by a count over the corpus with LLVM 23.1.5: without it, 1,471 of the 1,473 shaders with embedded data are rejected ("reachable instruction with normalized encoding"); with it, all 1,473 translate and pass `spirv-val`. Runs with LLVM 21 already translated all of them, so older LLVMs presumably print the stored 0 (not re-checked). Data words that decode with ignored fields set are printed re-encoded (e.g. `0xbe8d2242` as `s_rfe_b64` `0xbe802242`), so they can never match. Since the decoder consumed the same length, they are anchored in sequence and marked. A shader that can *reach* a marked word is rejected; none of the corpus does. All 155 now translate. A reachable instruction that falls through into words llvm-mc skipped (it printed no instruction there) is rejected too, as `fall-through into undecodable words`: until SHADER-813 the reachable path ended there without a word, so everything after the gap (exports, stores) was dropped from a module that still passed `spirv-val`. No VS/PS of the corpus has such a gap on a reachable path; in the FidelityFX FSPX programs it is the `v_dot4_i32_i8 ... op_sel` words LLVM 23 cannot decode (`docs/fspx.md`), so those programs are now refused instead of translated without their stores, until those words are decoded (#2038, #2323). `tests/test_rdna2spirv_decode.py` (`test_fall_through_into_undecodable_words_is_refused`). The exact re-anchoring path tries the same repair as the forward search for a `v_dot4_i32_i8` with an inline-integer S1 whose stored op_sel_hi (5) llvm-mc prints as the default (7), `restore_dot4_inline_sel`, before it marks the word: without it such a program is refused as "reachable instruction with normalized encoding" whenever its listing also reports rejected words. Counted on the 29 FidelityFX DLL programs (1.0.2.1, LLVM 21.1.8): 22 translate without it, 24 with it, all 24 pass `spirv-val`; `tests/semantic/test_reanchor_dot4_inline_sel.py`. | | 314 | | Code-embedded data | 155 VS/PS had "undecodable words". They're **constant tables inside the code range** (float values like 0x3EF7…, plus zeros), read through `s_getpc_b64` + `s_add_u32`/`s_addc_u32` + `s_load` (147 of 155). The translator re-anchors each instruction to its true FSSM offset by matching encodings (when the llvm-mc messages give one offset per rejected word, `shader_ir.parse_file`'s `invalid_at`, those words are skipped exactly and nothing is searched forward: a forward search let a data word printed as a copy of a later instruction take that instruction's place and lose every one after it; counted on the 1.0.2.1 pipeline library with #327's vcc-tuple decoding, 36 compute programs that stopped at "cannot re-anchor" now translate and pass `spirv-val`, none lost; `tests/semantic/test_reanchor_llvm_offsets.py`), translates only code reachable from entry (a branch into data is rejected), and turns `s_getpc_b64` into code base + next-instruction offset. **The runtime uploads each shader's FSSM blob into the heap and passes that VA as the code base.** Re-anchoring compares bytes exactly, except that VOP3P `op_sel_hi[2]` (bit 14) is ignored on two-source packed ops: the compiler stores 0 there, and LLVM prints its default of 1. Unused VOP3/VOP3P `SRC1` (bits 49:41) and `SRC2` (bits 58:50) fields are also ignored when stored as 0 and printed as `0x80`: LLVM 23 re-encodes a source it doesn't read as inline constant 0 (one-source `v_rcp`/`v_log`/`v_sqrt_f32_e64`, two-source `v_sub_f32_e64`/`v_cmp_*_e64`/`v_mul_lo_u32`/`v_pk_mul_f16`). Both checks for clean listings and re-anchoring use the parsed operand count to apply this exception only to unused sources. A used source encoded as 0 reads `s0` and is never treated as inline zero. `tests/semantic/test_printed_encoding.py` checks used `SRC1`/`SRC2` and an unused field with synthetic listings. Confirmed by a count over the corpus with LLVM 23.1.5: without it, 1,471 of the 1,473 shaders with embedded data are rejected ("reachable instruction with normalized encoding"); with it, all 1,473 translate and pass `spirv-val`. Runs with LLVM 21 already translated all of them, so older LLVMs presumably print the stored 0 (not re-checked). Data words that decode with ignored fields set are printed re-encoded (e.g. `0xbe8d2242` as `s_rfe_b64` `0xbe802242`), so they can never match. Since the decoder consumed the same length, they are anchored in sequence and marked. A shader that can *reach* a marked word is rejected; none of the corpus does. All 155 now translate. A reachable instruction that falls through into words llvm-mc skipped (it printed no instruction there) is rejected too, as `fall-through into undecodable words`: until SHADER-813 the reachable path ended there without a word, so everything after the gap (exports, stores) was dropped from a module that still passed `spirv-val`. No VS/PS of the corpus has such a gap on a reachable path; in the FidelityFX FSPX programs it is the `v_dot4_i32_i8 ... op_sel` words LLVM 23 cannot decode (`docs/fspx.md`), so those programs are now refused instead of translated without their stores, until those words are decoded (#2038, #2323). `tests/test_rdna2spirv_decode.py` (`test_fall_through_into_undecodable_words_is_refused`). The exact re-anchoring path tries the same repair as the forward search for a `v_dot4_i32_i8` with an inline-integer S1 whose stored op_sel_hi (5) llvm-mc prints as the default (7), `restore_dot4_inline_sel`, before it marks the word: without it such a program is refused as "reachable instruction with normalized encoding" whenever its listing also reports rejected words. Counted on the 29 FidelityFX DLL programs (1.0.2.1, LLVM 21.1.8): 22 translate without it, 24 with it, all 24 pass `spirv-val`; `tests/semantic/test_reanchor_dot4_inline_sel.py`. | |
| 315 | | VOP3 opcode 0x140 | LLVM disassembly of the synthetic words in `tests/test_rdna2_decode.py` gives `v_mad_legacy_f32` on gfx1010 through gfx1013 and `v_fma_legacy_f32` on gfx1030. The direct decoder defaults to gfx1013, matching the disassembler CLI. Checked by the unit test `test_vop3_legacy_mad_fma_target` in `tests/test_rdna2_decode.py`, which decodes the same words directly and runs the Python disassembler backend for gfx1013 and gfx1030. | | 315 | | VOP3 opcode 0x140 | LLVM disassembly of the synthetic words in `tests/test_rdna2_decode.py` gives `v_mad_legacy_f32` on gfx1010 through gfx1013 and `v_fma_legacy_f32` on gfx1030. The direct decoder defaults to gfx1013, matching the disassembler CLI. Checked by the unit test `test_vop3_legacy_mad_fma_target` in `tests/test_rdna2_decode.py`, which decodes the same words directly and runs the Python disassembler backend for gfx1013 and gfx1030. | |
| 316 | | Printed encodings | A listing is LLVM's text for what it decoded, not the bytes it read, so the translator checks the two against each other: the re-anchoring above for listings with undecodable words, and, for every other listing whose header names its code range and whose blob sits next to it (`fssm/`, or `fspx/` for FSPX), each instruction's printed encoding against the bytes at its offset, with the same exceptions (`same_encoding`). A difference is `Unsupported`, naming the instruction, its offset and both byte strings, instead of a translation of the field as 0. The case that prompted it: llvm-mc's gfx1013 decoder (LLVM 21.1.8) drops the VOP3 `op_sel` bits (word 0, bits 14:11) of a 16-bit VOPC compare: `0a 08 a9 d4 01 05 02 00` disassembles as `v_cmp_lt_u16_e64 s10, v1, v2` and re-encodes with the bits cleared (its assembler rejects `op_sel` on VOPC for gfx1013 and gfx1030 alike). Counted over the 1.0.2.1 corpus: the 25,030 clean listings hold 30,335,381 instructions, and none differs from its bytes beyond those exceptions (754); the 166 16-bit VOPC compares (154 shaders, all `f16`) have `op_sel` clear. Hand-written listings, `run_gpu_tests.py`'s `code 0x0..0x0 (synthetic)` listings and a blob that doesn't hold the listing's code range (the tests' header-only FSSM) are not checked. `tests/semantic/test_printed_encoding.py` (a dropped VOPC `op_sel`, a later instruction, the SRC2 exception, and the unchecked cases). One difference is repaired instead of refused: a `v_fma_mix*` literal that llvm-mc prints cut to its low 16 bits (and re-encodes with a zero high half). llvm-mc 23.1.5 prints some of these literals in full as `lit(V)` (an f32 source, or a low half that is an inline constant; LLVM 21 printed the inline constant and dropped the literal word) and still re-encodes only the low half: `tools/shader_ir.py` reads `lit(V)` as V, and the same repair applies (5,733 such operands in the pipeline library, [shader_library.md](shader_library.md)). When the 8 instruction bytes match (`same_encoding` with all three sources counted as used, so a live `s0` can't pass as an inline 0) and the printed literal is the stored one's low half, every source the bytes encode as the literal (SRC field `0xff`) takes the stored 32 bits, so a source with `op_sel_hi` and `op_sel` set reads the high half instead of +0.0. Seen in one program of the FidelityFX DLL's `FSPX` code ([fspx.md](fspx.md)): src0 the low half, src2 the high half; the game's clean listings have no such difference (the count above). That the hardware gives op_sel's high half of the literal to that source is not measured; it is what Mesa's ACO compiler relies on (public: `optimize_constants()` in `src/amd/compiler/aco_optimizer.cpp`, Mesa `main` at `bb986060`, packs two constants as the two f16 halves of one literal, read through `v_fma_mix`'s `op_sel_hi` with the second source extracting the high half), and what the console compiler emitted here. `tools/fma_mix_literal_probe.py --oracle hw` measures it on an AMD GPU (the instruction's exact bytes through `tools/hw_oracle`; not run on one yet). `tests/semantic/test_fma_mix_literal.py` (the value through the interpreter, the re-anchoring path, an inline constant with the literal's printed value left alone, and the refused cases, a live source printed as inline 0 among them). A second shape is repaired too (`mix_inline_literal`): LLVM 21's form above. llvm-mc 21.1.8 (`-mcpu=gfx1013`) prints a `v_fma_mix*` literal whose low 16 bits are the f16 value of an inline constant as that constant and re-encodes the instruction in **8** bytes: every SRC field that held `0xff` holds the inline code, and the literal word is gone (`0x3f800000`, 1.0 as an f32 source, prints as `0`; `0x3c003800` as `0.5`, losing the high half 1.0). Swept with llvm-mc 21.1.8 over all 65,536 low halves under three high halves: exactly 90 low halves print this way (0..64, -1..-16, ±0.5, ±1.0, ±2.0, ±4.0, 1/(2π) as f16: `MIX_INLINE_F16`), whatever the high half; llvm-mc 23.1.6 prints all of them as `lit(V)`. The printed 8 bytes are 4 short of what the decoder read, so the later offsets of a clean listing were 4 low and its first such instruction was refused as a dropped field (one FSPX program, `tupacfan04`'s count in #8683). When every differing SRC field is `0xff` in the blob and the inline code of the stored literal's low half in the print, and the rest of the 8 bytes match exactly (`same_encoding`, all three sources live), each such source reads the stored 32 bits with the stored neg and abs (`NEG_HI`) bits, the instruction takes the 12 stored bytes, and the following offsets move up by 4 (also on the re-anchoring path). Any other difference stays `Unsupported`. CPU-checked by `tests/semantic/test_fma_mix_literal.py` (`FmaMixInlineLiteralTest`: an f32 source, two f16 halves, neg and abs, all 90 codes, both listing paths, the refused cases). | | 316 | | Printed encodings | A listing is LLVM's text for what it decoded, not the bytes it read, so the translator checks the two against each other: the re-anchoring above for listings with undecodable words, and, for every other listing whose header names its code range and whose blob sits next to it (`fssm/`, or `fspx/` for FSPX), each instruction's printed encoding against the bytes at its offset, with the same exceptions (`same_encoding`). A difference is `Unsupported`, naming the instruction, its offset and both byte strings, instead of a translation of the field as 0. The case that prompted it: llvm-mc's gfx1013 decoder (LLVM 21.1.8) drops the VOP3 `op_sel` bits (word 0, bits 14:11) of a 16-bit VOPC compare: `0a 08 a9 d4 01 05 02 00` disassembles as `v_cmp_lt_u16_e64 s10, v1, v2` and re-encodes with the bits cleared (its assembler rejects `op_sel` on VOPC for gfx1013 and gfx1030 alike). Counted over the 1.0.2.1 corpus: the 25,030 clean listings hold 30,335,381 instructions, and none differs from its bytes beyond those exceptions (754); the 166 16-bit VOPC compares (154 shaders, all `f16`) have `op_sel` clear. Hand-written listings, `run_gpu_tests.py`'s `code 0x0..0x0 (synthetic)` listings and a blob that doesn't hold the listing's code range (the tests' header-only FSSM) are not checked. `tests/semantic/test_printed_encoding.py` (a dropped VOPC `op_sel`, a later instruction, the SRC2 exception, and the unchecked cases). One difference is repaired instead of refused: a `v_fma_mix*` literal that llvm-mc prints cut to its low 16 bits (and re-encodes with a zero high half). llvm-mc 23.1.5 prints some of these literals in full as `lit(V)` (an f32 source, or a low half that is an inline constant; LLVM 21 printed the inline constant and dropped the literal word) and still re-encodes only the low half: `tools/shader_ir.py` reads `lit(V)` as V, and the same repair applies (5,733 such operands in the pipeline library, [shader_library.md](shader_library.md)). When the 8 instruction bytes match (`same_encoding` with all three sources counted as used, so a live `s0` can't pass as an inline 0) and the printed literal is the stored one's low half, every source the bytes encode as the literal (SRC field `0xff`) takes the stored 32 bits, so a source with `op_sel_hi` and `op_sel` set reads the high half instead of +0.0. Seen in one program of the FidelityFX DLL's `FSPX` code ([fspx.md](fspx.md)): src0 the low half, src2 the high half; the game's clean listings have no such difference (the count above). That the hardware gives op_sel's high half of the literal to that source is not measured; it is what Mesa's ACO compiler relies on (public: `optimize_constants()` in `src/amd/compiler/aco_optimizer.cpp`, Mesa `main` at `bb986060`, packs two constants as the two f16 halves of one literal, read through `v_fma_mix`'s `op_sel_hi` with the second source extracting the high half), and what the console compiler emitted here. `tools/fma_mix_literal_probe.py --oracle hw` measures it on an AMD GPU (the instruction's exact bytes through `tools/hw_oracle`; not run on one yet). `tests/semantic/test_fma_mix_literal.py` (the value through the interpreter, the re-anchoring path, an inline constant with the literal's printed value left alone, and the refused cases, a live source printed as inline 0 among them). A second shape is repaired too (`mix_inline_literal`): LLVM 21's form above. llvm-mc 21.1.8 (`-mcpu=gfx1013`) prints a `v_fma_mix*` literal whose low 16 bits are the f16 value of an inline constant as that constant and re-encodes the instruction in **8** bytes: every SRC field that held `0xff` holds the inline code, and the literal word is gone (`0x3f800000`, 1.0 as an f32 source, prints as `0`; `0x3c003800` as `0.5`, losing the high half 1.0). Swept with llvm-mc 21.1.8 over all 65,536 low halves under three high halves: exactly 90 low halves print this way (0..64, -1..-16, ±0.5, ±1.0, ±2.0, ±4.0, 1/(2π) as f16: `MIX_INLINE_F16`), whatever the high half; llvm-mc 23.1.6 prints all of them as `lit(V)`. The printed 8 bytes are 4 short of what the decoder read, so the later offsets of a clean listing were 4 low and its first such instruction was refused as a dropped field (one FSPX program, `tupacfan04`'s count in #8683). When every differing SRC field is `0xff` in the blob and the inline code of the stored literal's low half in the print, and the rest of the 8 bytes match exactly (`same_encoding`, all three sources live), each such source reads the stored 32 bits with the stored neg and abs (`NEG_HI`) bits, the instruction takes the 12 stored bytes, and the following offsets move up by 4 (also on the re-anchoring path). Any other difference stays `Unsupported`. CPU-checked by `tests/semantic/test_fma_mix_literal.py` (`FmaMixInlineLiteralTest`: an f32 source, two f16 halves, neg and abs, all 90 codes, both listing paths, the refused cases). A third shape needs no blob: llvm-mc 21.1.8 also prints such a literal cut to its low 16 bits in the text while its printed encoding keeps all 32, so the printed-encoding check passes and the text alone read the high half as +0.0 (an f16 source reads 0 instead of its high half, an f32 source a denormal instead of its value). `restore_text_cut_mix_literal` takes the literal from the printed encoding, on the clean and the re-anchoring paths. Counted on one work folder's listings of 1.0.2.1: 47,910 instructions in 1,218 pipeline-library programs and 6 in one FSPX program, none in the game's own shaders. CPU-checked by `test_text_cut_but_printed_encoding_whole` (with and without a blob) and `test_text_immediate_other_than_the_low_half_is_left_alone`. | |
| 317 | | Global memory | `global_load/store_dword*`: address = (64-bit SGPR base + zero-extended 32-bit VGPR offset, or a 64-bit VGPR address) + the instruction offset, translated through the heap base. Inactive lanes don't access memory, and loads merge their previous values with OpPhi. The offset is the **signed 12-bit** byte value as llvm-mc prints it, -2048..2047 (`offset:-4` is the field 0xffc; llvm-mc rejects `offset:0xffc` and disassembles that field as `offset:-4`, so no repo path delivers the raw unsigned field), added to the address as is; a tool that printed the raw field (`0xffc`) would mean the same offset, and a value outside 12 bits is rejected. Measured on an AMD Radeon RX 6800 (gfx1030) running `global_load_dword` as a raw compute kernel, wave32 and wave64 alike, with the dword at byte n = 0x10000000+n and the pointer at 0x1000: offset 0 reads 0x10001000, -4 0x10000ffc, -2048 0x10000800, 2044 0x100017fc, -1024 0x10000c00. The translator used to subtract 0x1000 from an already negative value (4096 bytes too low). Checked by `tests/semantic/test_global_mem_offset.py` (both addressing modes, dword/x2/x4, byte/short loads and stores at -4, -2048, 2047 and 0) and the GPU test `runtime/test/shaders/cs_global_neg_offset.asm` (`vk_compute_test ... 40 dump`). | | 317 | | Global memory | `global_load/store_dword*`: address = (64-bit SGPR base + zero-extended 32-bit VGPR offset, or a 64-bit VGPR address) + the instruction offset, translated through the heap base. Inactive lanes don't access memory, and loads merge their previous values with OpPhi. The offset is the **signed 12-bit** byte value as llvm-mc prints it, -2048..2047 (`offset:-4` is the field 0xffc; llvm-mc rejects `offset:0xffc` and disassembles that field as `offset:-4`, so no repo path delivers the raw unsigned field), added to the address as is; a tool that printed the raw field (`0xffc`) would mean the same offset, and a value outside 12 bits is rejected. Measured on an AMD Radeon RX 6800 (gfx1030) running `global_load_dword` as a raw compute kernel, wave32 and wave64 alike, with the dword at byte n = 0x10000000+n and the pointer at 0x1000: offset 0 reads 0x10001000, -4 0x10000ffc, -2048 0x10000800, 2044 0x100017fc, -1024 0x10000c00. The translator used to subtract 0x1000 from an already negative value (4096 bytes too low). Checked by `tests/semantic/test_global_mem_offset.py` (both addressing modes, dword/x2/x4, byte/short loads and stores at -4, -2048, 2047 and 0) and the GPU test `runtime/test/shaders/cs_global_neg_offset.asm` (`vk_compute_test ... 40 dump`). | |
| 318 | | Global atomics (`global_atomic_*`, 32-bit) | `add`, `sub`, `smin/umin`, `smax/umax`, `and`, `or`, `xor`, `swap` and `cmpswap` at the `global_load/store` address (same `Gen.global_address`: saddr pair plus zero-extended vaddr, or a 64-bit vaddr with `off`, plus the signed 12-bit offset), as one `OpAtomic*` on the PhysicalStorageBuffer dword, device scope, guarded so inactive lanes don't touch memory. `fmin` and `fmax` (32-bit float) lower to a structured `OpAtomicCompareExchange` CAS loop using GLSL.std.450 `NMin`/`NMax` (no Vulkan float-atomic extension needed; NaN returns the non-NaN operand, `-0.0 < +0.0`). `inc` and `dec` (32-bit unsigned wrapping against `DATA`: `inc` gives `(M >= DATA) ? 0 : M + 1`, `dec` gives `(M == 0 \|\| M > DATA) ? DATA : M + 1`, `dec` gives `(M == 0 With `glc` the pre-op value lands in `vdst`, the first operand; without `glc` there is no `vdst`, and the first-read analysis counts operand 0 as the address (a source). `cmpswap` takes `vdata` as the pair {DATA, CMP}: `M = (M == CMP) ? DATA : M`, as `buffer_atomic_cmpswap`. Still `Unsupported`: the `_x2` 64-bit forms, `inc`/`dec`, the float atomics, and `slc`/`dlc`. `and/or/xor/swap_x2` work on a 64-bit element (two dwords, low first) as one 32-bit atomic per dword, with no Int64 atomics: a bitwise op leaves the same memory that way, since its bits are independent. **Approximation:** an exchange can tear, since two lanes swapping into one element at once can leave one's low dword with the other's high dword (A.lo, B.lo, B.hi, A.hi), and the returned pair comes from two reads, so another lane's 64-bit op on the same element between them can show up half done (as for `ds_and/or/xor_b64`). **Approximation:** the returned pair comes from two reads, so another lane's 64-bit op on the same element between them can show up half done (as for `ds_and/or/xor_b64`). Still `Unsupported`: the other `_x2` forms (`add/sub/min/max/fmin/fmax_x2` carry or compare across the dwords, and `cmpswap_x2` compares all 64 bits), `inc`/`dec`, `fcmpswap`, and `slc`/`dlc`. Until 2026-11-22 every global atomic was rejected. CPU-checked by `tests/semantic/test_global_atomics.py` (all ten ops on a value grid with and without `glc`, `cmpswap`, offsets from -2048 to 2044, `off` addressing, seeded values, rejected forms, the first-read analysis). CPU-checked by `tests/semantic/test_global_atomics.py` (all ten integer ops plus `fmin`/`fmax` on a value grid with and without `glc`, NaN/±0/±inf, multi-lane CAS contention, `cmpswap`, offsets from -2048 to 2044, `off` addressing, seeded values, rejected forms, the first-read analysis) and `tests/semantic/test_global_atomics_x2.py` (the four `_x2` forms with and without `glc`, an offset, seeded values, the carrying forms rejected), and validated with `spirv-val` (native and `--wave64-emulate`). **Not GPU-verified.** \|\| M > DATA) ? DATA : M - 1`, RDNA2 ISA) also lower to a structured `OpAtomicCompareExchange` CAS loop via `Gen.atomic_inc_dec_cas` for both `global_atomic_{inc,dec}` and MUBUF `buffer_atomic_{inc,dec}` (preserving MUBUF bounds checks: OOB/inactive lanes leave memory untouched and return 0 with `glc`). With `glc` the pre-op value lands in `vdst`, the first operand; without `glc` there is no `vdst`, and the first-read analysis counts operand 0 as the address (a source). `cmpswap` takes `vdata` as the pair {DATA, CMP}: `M = (M == CMP) ? DATA : M`, as `buffer_atomic_cmpswap`. `and/or/xor/swap_x2` work on a 64-bit element (two dwords, low first) as one 32-bit atomic per dword: a bitwise op or an exchange leaves the same memory that way, with no Int64 atomics. **Approximation:** the returned pair comes from two reads, so another lane's 64-bit op on the same element between them can show up half done (as for `ds_and/or/xor_b64`). Still `Unsupported`: the other `_x2` forms (`add/sub/min/max/inc/dec/fmin/fmax_x2` carry or compare across the dwords, and `cmpswap_x2` compares all 64 bits), `fcmpswap`, and `slc`/`dlc`. Until 2026-11-22 every global atomic was rejected. CPU-checked by `tests/semantic/test_global_atomics.py` (all ten integer ops plus `fmin`/`fmax` on a value grid with and without `glc`, NaN/±0/±inf, multi-lane CAS contention, `cmpswap`, offsets from -2048 to 2044, `off` addressing, seeded values, rejected forms, the first-read analysis), `tests/semantic/test_atomic_inc_dec.py` (`global_atomic_{inc,dec}` and `buffer_atomic_{inc,dec}` edge grid, wraparound, `glc` vs non-`glc`, signed offsets, `off` addressing, MUBUF bounds/OOB, inactive lanes, multi-lane CAS contention, first-read analysis, rejected `_x2`/`slc`/`dlc` forms), and `tests/semantic/test_global_atomics_x2.py` (the four `_x2` forms with and without `glc`, an offset, seeded values, the carrying forms rejected), and validated with `spirv-val` (native and `--wave64-emulate`). **Not GPU-verified.** | | 318 | | Global atomics (`global_atomic_*`, 32-bit) | `add`, `sub`, `smin/umin`, `smax/umax`, `and`, `or`, `xor`, `swap` and `cmpswap` at the `global_load/store` address (same `Gen.global_address`: saddr pair plus zero-extended vaddr, or a 64-bit vaddr with `off`, plus the signed 12-bit offset), as one `OpAtomic*` on the PhysicalStorageBuffer dword, device scope, guarded so inactive lanes don't touch memory. `fmin` and `fmax` (32-bit float) lower to a structured `OpAtomicCompareExchange` CAS loop using GLSL.std.450 `NMin`/`NMax` (no Vulkan float-atomic extension needed; NaN returns the non-NaN operand, `-0.0 < +0.0`). `inc` and `dec` (32-bit unsigned wrapping against `DATA`: `inc` gives `(M >= DATA) ? 0 : M + 1`, `dec` gives `(M == 0 \|\| M > DATA) ? DATA : M + 1`, `dec` gives `(M == 0 With `glc` the pre-op value lands in `vdst`, the first operand; without `glc` there is no `vdst`, and the first-read analysis counts operand 0 as the address (a source). `cmpswap` takes `vdata` as the pair {DATA, CMP}: `M = (M == CMP) ? DATA : M`, as `buffer_atomic_cmpswap`. Still `Unsupported`: the `_x2` 64-bit forms, `inc`/`dec`, the float atomics, and `slc`/`dlc`. `and/or/xor/swap_x2` work on a 64-bit element (two dwords, low first) as one 32-bit atomic per dword, with no Int64 atomics: a bitwise op leaves the same memory that way, since its bits are independent. **Approximation:** an exchange can tear, since two lanes swapping into one element at once can leave one's low dword with the other's high dword (A.lo, B.lo, B.hi, A.hi), and the returned pair comes from two reads, so another lane's 64-bit op on the same element between them can show up half done (as for `ds_and/or/xor_b64`). **Approximation:** the returned pair comes from two reads, so another lane's 64-bit op on the same element between them can show up half done (as for `ds_and/or/xor_b64`). Still `Unsupported`: the other `_x2` forms (`add/sub/min/max/fmin/fmax_x2` carry or compare across the dwords, and `cmpswap_x2` compares all 64 bits), `inc`/`dec`, `fcmpswap`, and `slc`/`dlc`. Until 2026-11-22 every global atomic was rejected. CPU-checked by `tests/semantic/test_global_atomics.py` (all ten ops on a value grid with and without `glc`, `cmpswap`, offsets from -2048 to 2044, `off` addressing, seeded values, rejected forms, the first-read analysis). CPU-checked by `tests/semantic/test_global_atomics.py` (all ten integer ops plus `fmin`/`fmax` on a value grid with and without `glc`, NaN/±0/±inf, multi-lane CAS contention, `cmpswap`, offsets from -2048 to 2044, `off` addressing, seeded values, rejected forms, the first-read analysis) and `tests/semantic/test_global_atomics_x2.py` (the four `_x2` forms with and without `glc`, an offset, seeded values, the carrying forms rejected), and validated with `spirv-val` (native and `--wave64-emulate`). **Not GPU-verified.** \|\| M > DATA) ? DATA : M - 1`, RDNA2 ISA) also lower to a structured `OpAtomicCompareExchange` CAS loop via `Gen.atomic_inc_dec_cas` for both `global_atomic_{inc,dec}` and MUBUF `buffer_atomic_{inc,dec}` (preserving MUBUF bounds checks: OOB/inactive lanes leave memory untouched and return 0 with `glc`). With `glc` the pre-op value lands in `vdst`, the first operand; without `glc` there is no `vdst`, and the first-read analysis counts operand 0 as the address (a source). `cmpswap` takes `vdata` as the pair {DATA, CMP}: `M = (M == CMP) ? DATA : M`, as `buffer_atomic_cmpswap`. `and/or/xor/swap_x2` work on a 64-bit element (two dwords, low first) as one 32-bit atomic per dword: a bitwise op or an exchange leaves the same memory that way, with no Int64 atomics. **Approximation:** the returned pair comes from two reads, so another lane's 64-bit op on the same element between them can show up half done (as for `ds_and/or/xor_b64`). Still `Unsupported`: the other `_x2` forms (`add/sub/min/max/inc/dec/fmin/fmax_x2` carry or compare across the dwords, and `cmpswap_x2` compares all 64 bits), `fcmpswap`, and `slc`/`dlc`. Until 2026-11-22 every global atomic was rejected. CPU-checked by `tests/semantic/test_global_atomics.py` (all ten integer ops plus `fmin`/`fmax` on a value grid with and without `glc`, NaN/±0/±inf, multi-lane CAS contention, `cmpswap`, offsets from -2048 to 2044, `off` addressing, seeded values, rejected forms, the first-read analysis), `tests/semantic/test_atomic_inc_dec.py` (`global_atomic_{inc,dec}` and `buffer_atomic_{inc,dec}` edge grid, wraparound, `glc` vs non-`glc`, signed offsets, `off` addressing, MUBUF bounds/OOB, inactive lanes, multi-lane CAS contention, first-read analysis, rejected `_x2`/`slc`/`dlc` forms), and `tests/semantic/test_global_atomics_x2.py` (the four `_x2` forms with and without `glc`, an offset, seeded values, the carrying forms rejected), and validated with `spirv-val` (native and `--wave64-emulate`). **Not GPU-verified.** | |
| 319 | | `global_atomic_csub`, `buffer_atomic_csub` (GFX10.3) | `tmp = M; M = (DATA > tmp) ? 0 : tmp - DATA`, unsigned: a subtract clamped at 0 that never wraps; with `glc` the old M comes back. Measured on gfx1036 by @Vonsek (#3193): 162/162 (memory, data) pairs over both forms. Same `OpAtomicCompareExchange` loop as `inc`/`dec` (`Gen.atomic_inc_dec_cas`), so exact under contention; operands, inactive lanes, buffer bounds and `glc` as `inc`/`dec`. Until 2026-11-22 both raised `Unsupported`. CPU-checked by `tests/semantic/test_atomic_csub.py` (a 9×9 value grid, no `glc`, buffer bounds, 32 lanes on one dword against 32 sequential subtracts, seeded values). The translation is not GPU-verified. | | 319 | | `global_atomic_csub`, `buffer_atomic_csub` (GFX10.3) | `tmp = M; M = (DATA > tmp) ? 0 : tmp - DATA`, unsigned: a subtract clamped at 0 that never wraps; with `glc` the old M comes back. Measured on gfx1036 by @Vonsek (#3193): 162/162 (memory, data) pairs over both forms. Same `OpAtomicCompareExchange` loop as `inc`/`dec` (`Gen.atomic_inc_dec_cas`), so exact under contention; operands, inactive lanes, buffer bounds and `glc` as `inc`/`dec`. Until 2026-11-22 both raised `Unsupported`. CPU-checked by `tests/semantic/test_atomic_csub.py` (a 9×9 value grid, no `glc`, buffer bounds, 32 lanes on one dword against 32 sequential subtracts, seeded values). The translation is not GPU-verified. | |
| @@ -372,6 +372,7 @@ How the generated SPIR-V expects the runtime to work: | |||
| 372 | | Integer clamp | The VOP3 `clamp` bit on `v_add_nc_u32`, `v_sub_nc_u32`, `v_subrev_nc_u32` saturates the result to [0, 0xFFFFFFFF], and on `v_add_nc_i32`/`v_sub_nc_i32` to [0x80000000, 0x7FFFFFFF]; without it they wrap. GFX9+ semantics: LLVM selects `uaddsat`/`usubsat` and `saddsat`/`ssubsat` to exactly these ops with clamp set. **Until this change clamp was silently ignored on the unsigned ops** (and the signed ones were `Unsupported`). Checked on the CPU by `tests/semantic/test_alu_add_nc_clamp.py`. The carry-out unsigned ops (`v_add_co_u32`, `v_sub_co_u32`, `v_subrev_co_u32`, `v_add_co_ci_u32`, `v_sub_co_ci_u32`, `v_subrev_co_ci_u32`) with VOP3 `clamp` likewise saturate D to `0xFFFFFFFF` on add carry or `0` on sub borrow while still reporting the real carry/borrow bit in `sdst` (**until 2026-11-22 the translator ignored `clamp` on all six**); confirmed natively on RDNA2 (AMD Radeon 680M `gfx1035` wave32 & wave64 via `tools/hw_oracle`, and independently on `gfx1036` in #1746) and CPU-checked by `tests/semantic/test_alu_add_co_clamp.py`. The 16-bit unsigned add/sub (`v_add_nc_u16`, `v_sub_nc_u16`, and the `v_add_u16`/`v_sub_u16`/`v_subrev_u16` `_e64` names) saturate to [0, 0xFFFF] with `clamp` (llvm-mc 21 gfx1030 encodes the bit on them, and LLVM selects i16 `uaddsat`/`usubsat` to them); **until 2026-11-22 the translator wrapped instead**. `clamp` on any other 16-bit integer op raises `Unsupported`. CPU-checked by `tests/semantic/test_alu_u16_clamp.py` (the high half of the destination is kept), **not GPU-verified**. CPU-checked by `tests/semantic/test_alu_u16_clamp.py` (the high half of the destination is kept), and **Hardware-verified on RDNA2** (AMD Radeon 680M, `gfx1035`, Windows 11, driver `26.5.1`, wave32 and wave64 via `tools/int_hw_probe.py --oracle both`, SHADER-137): all 32-bit and 16-bit `*_nc_*` `clamp` cases (including `op_sel` and kept destination half on u16) match hardware bit-for-bit. **Open divergence measured on the same hardware:** `v_add_co_u32`, `v_sub_co_u32`, `v_subrev_co_u32`, `v_add_co_ci_u32`, `v_sub_co_ci_u32` and `v_subrev_co_ci_u32` with `clamp` saturate D (`0xFFFFFFFF` / `0`) while still reporting the real carry/borrow in `sdst`, whereas the translator currently ignores `clamp` on these carry-out ops. | | 372 | | Integer clamp | The VOP3 `clamp` bit on `v_add_nc_u32`, `v_sub_nc_u32`, `v_subrev_nc_u32` saturates the result to [0, 0xFFFFFFFF], and on `v_add_nc_i32`/`v_sub_nc_i32` to [0x80000000, 0x7FFFFFFF]; without it they wrap. GFX9+ semantics: LLVM selects `uaddsat`/`usubsat` and `saddsat`/`ssubsat` to exactly these ops with clamp set. **Until this change clamp was silently ignored on the unsigned ops** (and the signed ones were `Unsupported`). Checked on the CPU by `tests/semantic/test_alu_add_nc_clamp.py`. The carry-out unsigned ops (`v_add_co_u32`, `v_sub_co_u32`, `v_subrev_co_u32`, `v_add_co_ci_u32`, `v_sub_co_ci_u32`, `v_subrev_co_ci_u32`) with VOP3 `clamp` likewise saturate D to `0xFFFFFFFF` on add carry or `0` on sub borrow while still reporting the real carry/borrow bit in `sdst` (**until 2026-11-22 the translator ignored `clamp` on all six**); confirmed natively on RDNA2 (AMD Radeon 680M `gfx1035` wave32 & wave64 via `tools/hw_oracle`, and independently on `gfx1036` in #1746) and CPU-checked by `tests/semantic/test_alu_add_co_clamp.py`. The 16-bit unsigned add/sub (`v_add_nc_u16`, `v_sub_nc_u16`, and the `v_add_u16`/`v_sub_u16`/`v_subrev_u16` `_e64` names) saturate to [0, 0xFFFF] with `clamp` (llvm-mc 21 gfx1030 encodes the bit on them, and LLVM selects i16 `uaddsat`/`usubsat` to them); **until 2026-11-22 the translator wrapped instead**. `clamp` on any other 16-bit integer op raises `Unsupported`. CPU-checked by `tests/semantic/test_alu_u16_clamp.py` (the high half of the destination is kept), **not GPU-verified**. CPU-checked by `tests/semantic/test_alu_u16_clamp.py` (the high half of the destination is kept), and **Hardware-verified on RDNA2** (AMD Radeon 680M, `gfx1035`, Windows 11, driver `26.5.1`, wave32 and wave64 via `tools/int_hw_probe.py --oracle both`, SHADER-137): all 32-bit and 16-bit `*_nc_*` `clamp` cases (including `op_sel` and kept destination half on u16) match hardware bit-for-bit. **Open divergence measured on the same hardware:** `v_add_co_u32`, `v_sub_co_u32`, `v_subrev_co_u32`, `v_add_co_ci_u32`, `v_sub_co_ci_u32` and `v_subrev_co_ci_u32` with `clamp` saturate D (`0xFFFFFFFF` / `0`) while still reporting the real carry/borrow in `sdst`, whereas the translator currently ignores `clamp` on these carry-out ops. | |
| 373 | | Carry-out subtract of a register from itself | `v_sub_co_u32`, `v_subrev_co_u32`, `v_sub_co_ci_u32` and `v_subrev_co_ci_u32` whose two sources are the same operand (`vD, sdst, vX, vX`) are written out as what x - x gives: D = 0 - carry in and borrow out = carry in (D = 0 and no borrow without a carry in; `clamp` saturates D to 0 on that borrow), with no `OpISubBorrow %x %x`. The values are the same as before; the form is there for AMD's Windows driver, whose compiler dies with an access violation (`0xC0000005` in `amdvlk64.dll`, at `0xafeb87` in 32.0.21037.1004 and `0xaff2d7` in 32.0.21045.29003, Radeon iGPU of a Ryzen 9 9950X3D, gfx1036) creating a native wave64 compute pipeline in which the borrow of an `OpISubBorrow` of one value with itself predicates the value operand of an `OpGroupNonUniformShuffle`. Measured by editing the translated module of a reduced `crosslane_fuzz.py` program (`v_sub_co_u32_e64 v4, s[18:19], v1, v1`, `s_and_saveexec_b64`, `ds_bpermute_b32`): `OpISubBorrow %x %x` crashes 3 of 3, also with the same id written twice, while a borrow of two different registers, `x < x`, `x != x`, `x - 0`, a literal `false` mask, the shuffle of a literal 0 and the same module without the shuffle all compile and run. The `--wave64-emulate` form of the same programs has no shuffle and never crashed. Found with `crosslane_fuzz.py --seed 880317 --wave 64 --w64-native --no-maskdata --dpp --ext --programs 400`: programs 1 and 181 were harness errors (exit 3221225477) on both drivers and match with this form (399 of 400 match, the other one differs only in a hypothesis op, as before). Checked on the CPU by `tests/semantic/test_sub_co_same_operand.py` (wave32 and native wave64 run, the emulated form by its text). **Not counted over the corpus**: whether a game shader subtracts a register from itself with a carry out is unmeasured (no package here), and other ways for that driver to see an `OpISubBorrow` of two equal values (two registers holding the same value) are not covered. | | 373 | | Carry-out subtract of a register from itself | `v_sub_co_u32`, `v_subrev_co_u32`, `v_sub_co_ci_u32` and `v_subrev_co_ci_u32` whose two sources are the same operand (`vD, sdst, vX, vX`) are written out as what x - x gives: D = 0 - carry in and borrow out = carry in (D = 0 and no borrow without a carry in; `clamp` saturates D to 0 on that borrow), with no `OpISubBorrow %x %x`. The values are the same as before; the form is there for AMD's Windows driver, whose compiler dies with an access violation (`0xC0000005` in `amdvlk64.dll`, at `0xafeb87` in 32.0.21037.1004 and `0xaff2d7` in 32.0.21045.29003, Radeon iGPU of a Ryzen 9 9950X3D, gfx1036) creating a native wave64 compute pipeline in which the borrow of an `OpISubBorrow` of one value with itself predicates the value operand of an `OpGroupNonUniformShuffle`. Measured by editing the translated module of a reduced `crosslane_fuzz.py` program (`v_sub_co_u32_e64 v4, s[18:19], v1, v1`, `s_and_saveexec_b64`, `ds_bpermute_b32`): `OpISubBorrow %x %x` crashes 3 of 3, also with the same id written twice, while a borrow of two different registers, `x < x`, `x != x`, `x - 0`, a literal `false` mask, the shuffle of a literal 0 and the same module without the shuffle all compile and run. The `--wave64-emulate` form of the same programs has no shuffle and never crashed. Found with `crosslane_fuzz.py --seed 880317 --wave 64 --w64-native --no-maskdata --dpp --ext --programs 400`: programs 1 and 181 were harness errors (exit 3221225477) on both drivers and match with this form (399 of 400 match, the other one differs only in a hypothesis op, as before). Checked on the CPU by `tests/semantic/test_sub_co_same_operand.py` (wave32 and native wave64 run, the emulated form by its text). **Not counted over the corpus**: whether a game shader subtracts a register from itself with a carry out is unmeasured (no package here), and other ways for that driver to see an `OpISubBorrow` of two equal values (two registers holding the same value) are not covered. | |
| 374 | | Push-constant tail as a uniform block (`--pc-tail-ubo`) | For devices whose `maxPushConstantsSize` is 128, Vulkan's minimum, which can't take the 144-byte block (152 with `--mesh-compute`): AMD's older Windows drivers on RDNA2 iGPUs (Radeon 680M on 22.40.84.06, 610M on 24.10.16.14, the Ryzen 5 7600's iGPU on 24.10.24; a 610M on 26.11.2 reports 256) and some Intel Arc drivers (D3D-14, `push_constants_need_fallback` in `d3d12_vulkan_device.cpp`). The push-constant block keeps dwords 0–31 (s0–s31, 128 bytes). The tail that follows them by default, the heap base and code base and, with `--mesh-compute`, the output address, becomes `%pc_tail`: a uniform block at **set 1, binding 0** with the same members in the same order at offsets 0, 4, … (16 bytes, 24 with `--mesh-compute`). Set 1 is otherwise unused, so set 0's update-after-bind table doesn't change. The block is declared, and listed in the entry point's interface, only when the shader reads the tail (a memory access through the heap base, `s_getpc_b64`, or the `--mesh-compute` epilogue); the index then records `"pc_tail": {"set": 1, "binding": 0, "bytes": 16}`, and `"push_constant_bytes"` is 128 for every module. `"bindings"` still lists set 0 only. Without the flag nothing changes. **Checked:** `tests/test_pc_tail_ubo.py` (on `cs_store` and `ps_m15`: the block, its interface entry, `spirv-val`, the metadata, no block without a tail read, and the `--mesh-compute` address). The whole hand-written GPU test set in `runtime/test/shaders` is translated with the flag by `build.py` or `scripts/run_gpu_tests.py` under `LEONIDA_PC_TAIL_UBO=1`, and the index's `pc_tail` entries say which modules read the tail; how many do changes as shaders are added, so no count is kept here. The GPU test programs bind the block (`runtime/test/vk_pc_tail.h`; the list is in docs/testing.md), except with `--mesh-compute`, whose tests skip. The D3D12 layer does not yet: it refuses pipelines on a device with fewer than 144 push-constant bytes (`push_constants_fit` in `d3d12_vulkan_device.cpp`). | | 374 | | Push-constant tail as a uniform block (`--pc-tail-ubo`) | For devices whose `maxPushConstantsSize` is 128, Vulkan's minimum, which can't take the 144-byte block (152 with `--mesh-compute`): AMD's older Windows drivers on RDNA2 iGPUs (Radeon 680M on 22.40.84.06, 610M on 24.10.16.14, the Ryzen 5 7600's iGPU on 24.10.24; a 610M on 26.11.2 reports 256) and some Intel Arc drivers (D3D-14, `push_constants_need_fallback` in `d3d12_vulkan_device.cpp`). The push-constant block keeps dwords 0–31 (s0–s31, 128 bytes). The tail that follows them by default, the heap base and code base and, with `--mesh-compute`, the output address, becomes `%pc_tail`: a uniform block at **set 1, binding 0** with the same members in the same order at offsets 0, 4, … (16 bytes, 24 with `--mesh-compute`). Set 1 is otherwise unused, so set 0's update-after-bind table doesn't change. The block is declared, and listed in the entry point's interface, only when the shader reads the tail (a memory access through the heap base, `s_getpc_b64`, or the `--mesh-compute` epilogue); the index then records `"pc_tail": {"set": 1, "binding": 0, "bytes": 16}`, and `"push_constant_bytes"` is 128 for every module. `"bindings"` still lists set 0 only. Without the flag nothing changes. **Checked:** `tests/test_pc_tail_ubo.py` (on `cs_store` and `ps_m15`: the block, its interface entry, `spirv-val`, the metadata, no block without a tail read, and the `--mesh-compute` address). The whole hand-written GPU test set in `runtime/test/shaders` is translated with the flag by `build.py` or `scripts/run_gpu_tests.py` under `LEONIDA_PC_TAIL_UBO=1`, and the index's `pc_tail` entries say which modules read the tail; how many do changes as shaders are added, so no count is kept here. The GPU test programs bind the block (`runtime/test/vk_pc_tail.h`; the list is in docs/testing.md), except with `--mesh-compute`, whose tests skip. The D3D12 layer does not yet: it refuses pipelines on a device with fewer than 144 push-constant bytes (`push_constants_fit` in `d3d12_vulkan_device.cpp`). | |
| 375 | | Address guard (`--address-guard`) | **Prototype, off by default.** Every `Gen.host_addr` access (buffer, `global_`, scalar and BVH loads, stores and atomics) calls `%guard_fn` with the access's sign-extended 48-bit heap offset, its kind and its span. An access whose first and last byte are below the arena's size passes after one compare. Any other access looks up the 4 KiB pages of its first and last byte in the runtime's two-level page table (level 1 by offset bits 47..32, level 2 one bit per page). A refused load reads the zero area at `heap_base + 0x71000`. A refused store or atomic goes to the dump area at `+ 0x78000`, and an atomic returns 0. Each refusal is counted in the header at `+ 0x70000`. The entry block reads that header once. Without its magic (runtime `LEONIDA_ADDRESS_GUARD` unset) every access passes, and without the flag the module is unchanged byte for byte. The index records `"address_guard": true`. Format: `runtime/src/address_guard.h`, `tools/address_guard.py`; design and costs: `docs/d3d12_vulkan.md` 3.3, "Address guard". **Checked:** `tests/semantic/test_address_guard.py` (fixture `cs_address_guard` through `spirv_mini_interp` with the guard on, off at run time and without the flag; kinds and spans per instruction family; the table model), `runtime/test/address_guard_test.cpp`, and `scripts/run_address_guard_gpu_test.py` (lavapipe, Mesa 26.3.1: the refused loads read 0 over real memory, and the store and the atomic land in the dump area). | | ||
| 375 | | `v_mad_u32_u16` / `v_mad_i32_i16` op_sel on S2 and D, and clamp | D = S0.half · S1.half + S2, the halves zero- (u16) or sign-extended (i16), op_sel bit 0 / 1 reading the high half of S0 / S1. The other bits and `clamp` were refused (`Unsupported: op_sel/clamp`) until their results were measured on RDNA2 (AMD Radeon iGPU, gfx1036, Windows driver 26.10.1, raw kernels through `tools/hw_oracle`, wave32 and wave64 alike; EGEN-HW-MAD-U32-U16, 44 words): **op_sel bit 2 adds S2[31:16] zero-extended, in the i16 op too** (`v_mad_i32_i16 d, 3, 3, 0xffff8000 op_sel:[0,0,1,0]` gives `0x00010008`, not 8); an inline float constant there is its f32 pattern (`1.0` adds `0x3f80`); **op_sel bit 3 writes the result shifted left by 16** (low half 0, the old D not kept); **`clamp` saturates the 32-bit sum** to [0, 0xffffffff] (u16) or [0x80000000, 0x7fffffff] (i16), before that shift (the 16-bit product itself never overflows). GPU-checked with `runtime/test/shaders/ps_valu16_mad_sel.asm` (4096/4096 on NVIDIA GeForce RTX 5080, driver 616.92, and the gfx1036 iGPU); CPU-checked by `tests/semantic/test_alu_mad_32_16.py` (40 seeded cases against a Python reference) and `tests/semantic/test_value_semantics.py`. | | 376 | | `v_mad_u32_u16` / `v_mad_i32_i16` op_sel on S2 and D, and clamp | D = S0.half · S1.half + S2, the halves zero- (u16) or sign-extended (i16), op_sel bit 0 / 1 reading the high half of S0 / S1. The other bits and `clamp` were refused (`Unsupported: op_sel/clamp`) until their results were measured on RDNA2 (AMD Radeon iGPU, gfx1036, Windows driver 26.10.1, raw kernels through `tools/hw_oracle`, wave32 and wave64 alike; EGEN-HW-MAD-U32-U16, 44 words): **op_sel bit 2 adds S2[31:16] zero-extended, in the i16 op too** (`v_mad_i32_i16 d, 3, 3, 0xffff8000 op_sel:[0,0,1,0]` gives `0x00010008`, not 8); an inline float constant there is its f32 pattern (`1.0` adds `0x3f80`); **op_sel bit 3 writes the result shifted left by 16** (low half 0, the old D not kept); **`clamp` saturates the 32-bit sum** to [0, 0xffffffff] (u16) or [0x80000000, 0x7fffffff] (i16), before that shift (the 16-bit product itself never overflows). GPU-checked with `runtime/test/shaders/ps_valu16_mad_sel.asm` (4096/4096 on NVIDIA GeForce RTX 5080, driver 616.92, and the gfx1036 iGPU); CPU-checked by `tests/semantic/test_alu_mad_32_16.py` (40 seeded cases against a Python reference) and `tests/semantic/test_value_semantics.py`. | |
| 376 | | `v_add_nc_i16`, `v_sub_nc_i16` | GFX10 VOP3-only signed 16-bit add and subtract. Without `clamp` they are bit-identical to `v_add_nc_u16`/`v_sub_nc_u16` (the low 16 bits wrap) and take the same path: `op_sel:[s0,s1,dst]` picks each source's half and the destination half, and the other half of D is kept. With `clamp`, the exact sum or difference of the sign-extended halves saturates to [-32768, 32767] (`SClamp`), where the u16 forms saturate to [0, 0xFFFF]. RDNA2 (GFX10.3) dropped reversed 16-bit integer subtraction (`v_subrev_nc_u16` / `v_subrev_nc_i16` do not exist on hardware; `v_subrev_f16` is the only 16-bit reverse subtract opcode). Checked by `tests/semantic/test_valu_add_sub_nc_i16.py` (a value grid with and without `clamp`, `op_sel`, literals, SGPR sources, and untouched half preservation) and **Hardware-verified on AMD RDNA2** (`gfx1036`, wave32 and wave64 via `tools/int_hw_probe.py`, `valu_add_nc_clamp/v_add_sub_nc_i16_clamp`): signed saturation to [-32768, 32767], `op_sel` source selection, and untouched destination half preservation match hardware bit-for-bit. Until 2026-11-22 both raised `Unsupported`. CPU-checked by `tests/semantic/test_valu_add_sub_nc_i16.py` (a value grid with and without `clamp`, `op_sel` including the destination half, and equality with the u16 forms without `clamp`). **GPU-verified** on native RDNA2 (gfx1036, the Radeon iGPU of a Ryzen 7 9800X3D, Windows driver 32.0.21042.62) through `tools/hw_oracle`, one-thread raw kernels: 112 of 112 directed cases (both ops; 0x7FFF+1, 0x8000+1, 0x8000+0xFFFF, 0x7FFF+0x7FFF, 0x8000+0x8000 and others, each with and without `clamp` and with `op_sel` `[0,0,0]`, `[1,0,1]`, `[0,1,0]` and `[1,1,1]`, the destination preset to 0xA5A5A5A5). For example `v_add_nc_i16(0x7FFF, 1)` gives 0x8000 wrapped and 0x7FFF with `clamp`, `v_sub_nc_i16(0x8000, 1) clamp` gives 0x8000, and the destination half `op_sel` doesn't pick keeps its 0xA5A5. `tools/pk16_diff.py --oracle translator,hw --ops v_add_nc_i16,v_sub_nc_i16 --programs 3000 --seed 1`: 3000 of 3000 programs agree with the hardware and the translator. **Not GPU-verified.** Measured on native gfx1100: `clamp` saturates the exact sign-extended sum to [-32768, 32767] and the other half of D is kept. | | 377 | | `v_add_nc_i16`, `v_sub_nc_i16` | GFX10 VOP3-only signed 16-bit add and subtract. Without `clamp` they are bit-identical to `v_add_nc_u16`/`v_sub_nc_u16` (the low 16 bits wrap) and take the same path: `op_sel:[s0,s1,dst]` picks each source's half and the destination half, and the other half of D is kept. With `clamp`, the exact sum or difference of the sign-extended halves saturates to [-32768, 32767] (`SClamp`), where the u16 forms saturate to [0, 0xFFFF]. RDNA2 (GFX10.3) dropped reversed 16-bit integer subtraction (`v_subrev_nc_u16` / `v_subrev_nc_i16` do not exist on hardware; `v_subrev_f16` is the only 16-bit reverse subtract opcode). Checked by `tests/semantic/test_valu_add_sub_nc_i16.py` (a value grid with and without `clamp`, `op_sel`, literals, SGPR sources, and untouched half preservation) and **Hardware-verified on AMD RDNA2** (`gfx1036`, wave32 and wave64 via `tools/int_hw_probe.py`, `valu_add_nc_clamp/v_add_sub_nc_i16_clamp`): signed saturation to [-32768, 32767], `op_sel` source selection, and untouched destination half preservation match hardware bit-for-bit. Until 2026-11-22 both raised `Unsupported`. CPU-checked by `tests/semantic/test_valu_add_sub_nc_i16.py` (a value grid with and without `clamp`, `op_sel` including the destination half, and equality with the u16 forms without `clamp`). **GPU-verified** on native RDNA2 (gfx1036, the Radeon iGPU of a Ryzen 7 9800X3D, Windows driver 32.0.21042.62) through `tools/hw_oracle`, one-thread raw kernels: 112 of 112 directed cases (both ops; 0x7FFF+1, 0x8000+1, 0x8000+0xFFFF, 0x7FFF+0x7FFF, 0x8000+0x8000 and others, each with and without `clamp` and with `op_sel` `[0,0,0]`, `[1,0,1]`, `[0,1,0]` and `[1,1,1]`, the destination preset to 0xA5A5A5A5). For example `v_add_nc_i16(0x7FFF, 1)` gives 0x8000 wrapped and 0x7FFF with `clamp`, `v_sub_nc_i16(0x8000, 1) clamp` gives 0x8000, and the destination half `op_sel` doesn't pick keeps its 0xA5A5. `tools/pk16_diff.py --oracle translator,hw --ops v_add_nc_i16,v_sub_nc_i16 --programs 3000 --seed 1`: 3000 of 3000 programs agree with the hardware and the translator. **Not GPU-verified.** Measured on native gfx1100: `clamp` saturates the exact sign-extended sum to [-32768, 32767] and the other half of D is kept. | |
| 377 | | Gather sampler LOD | Before choosing the mip for the four fetches in `image_gather4_l(_o)`, clamp the requested LOD to S# word 1's MIN_LOD [11:0] and MAX_LOD [23:12] (unsigned 4.8). `ps_gather_sampler_lod.asm` reads the S# from the heap. On RTX 5080 and Radeon Graphics, a maximum of 0.25 selects the base quadrants and a minimum of 0.75 selects the cyan mip across the 64×64 draw. Without these bounds half of each frame reads the wrong level. Radeon also agreed with native `OpImageGather Lod` (`VK_AMD_texture_gather_bias_lod`) for those bounds. At exactly 0.5, with bounds [0,1], that native draw selected mip 1; the emulation now computes the mip as `Floor(LOD + 0.5)`, ties up, and also selects mip 1 (before SHADER-152 it used `RoundEven`, which selected mip 0). It computes `floor(LOD) + (LOD - floor(LOD) >= 0.5)`, which is exact in binary32, not `Floor(LOD + 0.5)`: that sum rounds `0x3effffff` up to 1.0, and on an RTX 5070 (621.24) the gather then read mip 1 where native `image_sample_l` at the same LOD reads mip 0. | | 378 | | Gather sampler LOD | Before choosing the mip for the four fetches in `image_gather4_l(_o)`, clamp the requested LOD to S# word 1's MIN_LOD [11:0] and MAX_LOD [23:12] (unsigned 4.8). `ps_gather_sampler_lod.asm` reads the S# from the heap. On RTX 5080 and Radeon Graphics, a maximum of 0.25 selects the base quadrants and a minimum of 0.75 selects the cyan mip across the 64×64 draw. Without these bounds half of each frame reads the wrong level. Radeon also agreed with native `OpImageGather Lod` (`VK_AMD_texture_gather_bias_lod`) for those bounds. At exactly 0.5, with bounds [0,1], that native draw selected mip 1; the emulation now computes the mip as `Floor(LOD + 0.5)`, ties up, and also selects mip 1 (before SHADER-152 it used `RoundEven`, which selected mip 0). It computes `floor(LOD) + (LOD - floor(LOD) >= 0.5)`, which is exact in binary32, not `Floor(LOD + 0.5)`: that sum rounds `0x3effffff` up to 1.0, and on an RTX 5070 (621.24) the gather then read mip 1 where native `image_sample_l` at the same LOD reads mip 0. | |
| @@ -430,7 +431,7 @@ How the generated SPIR-V expects the runtime to work: | |||
| 430 | | Wave64 handling | Wave size is detected per shader from the code (64-bit EXEC writes, `exec_hi`, `v_mbcnt_hi`, `*_saveexec_b64`/`*_wrexec_b64`, and 64-bit lane-mask SOP ops `s_bcnt[01]_i32_b64` / `s_ff[01]_i32_b64` / `s_wqm_b64` / `s_bfm_b64` even when the mask is an ordinary SGPR pair; mesh shaders are always wave64). In wave32 code (a header or FSPX dispatch state that says so) `s_bfm_b64` is 64-bit data instead: the translator writes `((1 << (S0 & 63)) - 1) << (S1 & 63)` to the pair, `tools/lane_masks.py` leaves it data, and it doesn't count against an FSPX program's wave32 state. The pipeline library's wave32 compute programs build an S# in place with it (`s_bfm_b64 s[88:89], 2, 54`, then `s_mov_b64` of words 2-3; 958 programs, [shader_library.md](shader_library.md)). Only constant operands are translated there; none other is seen. `tests/semantic/test_wave32_bfm64_data.py`. Wave size comes from the sidecar `fssm/<name>.fssm` header flags word `u32[0xD4]` bit 5 (`0x20` = wave32, `0` = wave64; `fssm_header.wave_size()`), cross-checked against wave64/wave32 code markers (`WAVE64_RE` / `WAVE32_RE`: a contradicting header and code listing raises `Unsupported`), and falls back to the code-marker heuristic (64-bit EXEC/VCC writes, `exec_hi`, `v_mbcnt_hi`, `*_saveexec_b64`/`*_wrexec_b64`, and 64-bit lane-mask SOP ops `s_bcnt[01]_i32_b64` / `s_ff[01]_i32_b64` / `s_wqm_b64` / `s_bfm_b64`, plus wave64 for mesh shaders) when no `FSSM`-magic sidecar is present (synthetic listings). **An FSPX program** (the FidelityFX DLL's, no FSSM blob) takes its wave size from its dispatch state instead: kind 0 word 4 bit 20, set = wave32 (`fspx/<name>.json` `wave32`). Only a strict marker (`WAVE64_RE` against wave32, `WAVE32_RE` against wave64) contradicts it and raises `Unsupported`; a `_b64` op on `vcc` or `exec` does not, since these programs move `vcc` as an ordinary SGPR pair. Without that field the heuristic stays. Confirmed on the 29 programs of 1.0.2.1: strict markers never contradict the bit, the `RSRC1` VGPR granule fits it in all 21 programs that decode cleanly, and `PSV0` lane counts agree with it in all 5 that state one ([fspx.md](fspx.md), "Kind 0: dispatch state"). Translated with the bit, the 4 programs the heuristic got wrong change size, and the other 22 translated modules are byte-identical. CPU-checked by `tests/semantic/test_fspx_wave_size.py`, including a `v_readlane_b32` whose result differs between the two sizes; `vk_pipeline_check` builds all 26 modules. Not GPU-checked on these programs' own data. Confirmed across all 26,503 corpus blobs with 0 contradictions against GFX10 SOP1/SOP2/SOPC/VOP3 encodings: 23,841 wave64 (1,154 CS, 195 GS, 9,282 MS, 10,974 PS, 2,236 VS) and 2,662 wave32 (1,535 CS, 1,127 PS); the code-marker heuristic alone misclassified 2,287 markerless wave64 shaders as wave32 (287 CS: 162 straight-line and 125 branchy, including 11 with `v_readlane_b32`, 35 `v_readfirstlane_b32`, 29 `ds_swizzle_b32`, 14 `s_barrier`; 943 PS: 906 straight-line and 37 branchy; 1,057 VS: 1,020 straight-line and 37 branchy); CPU-checked by `tests/test_fssm_header.py` and `tests/test_fssm_wave_size.py`. Until 2026-11-21 a mask-only wave64 program with no EXEC markers was translated as wave32, so `s_bcnt1_i32_b64` counted one half (#210). GPU-checked with `runtime/test/shaders/cs_w64_mask_detect.asm` (48 set bits of `(lane & 5) != 0`) on NVIDIA GeForce RTX 5060 under `LEONIDA_W64_EMULATE=1`. The hardware lane is exact in compute and mesh shaders (LocalInvocationIndex mod 64 or 32) and is used by `v_mbcnt` and EXEC writes. In other stages it's the subgroup lane. Constant EXEC writes (`s_mov_b32 exec_lo/exec_hi, K`) set each lane from its own bit of K, as `(K >> lane) & 1` (shift and mask: Intel's Windows driver evaluated `OpBitFieldUExtract` of a constant that fits in 16 bits with the lane taken mod 16, so `exec_lo = 0xffff` ran all 32 lanes; GPU-checked with `runtime/test/shaders/cs_exec_const.asm` on Intel UHD Graphics 770, driver 32.0.101.6129, and NVIDIA GeForce RTX 4080 SUPER); before, any non-zero constant turned every lane on. A register written to `exec_hi` sets lanes 32–63 only. VCC's halves follow the same rule while VCC holds a lane mask: a 32-bit write to `vcc_lo` sets lanes 0–31 of the mask and one to `vcc_hi` lanes 32–63 (until 2026-11-22 a `vcc_lo` write set all 64 lanes and a `vcc_hi` write never reached the mask that `s_cbranch_vccz`/`v_cndmask` read; CPU-checked by `tests/semantic/test_wave64_vcc_half_write.py`, not GPU-checked). Mask and `0`/`-1` half-writes to `vcc_lo`/`vcc_hi` keep VCC tracked as a lane mask across subsequent ops (`s_bcnt1_i32_b64`, further half-writes), whereas plain-data writes (`s_buffer_load_dword vcc_lo`, `s_load_dword`, scalar ALU, non-mask constants) end VCC's mask state and store the scalar word across all 64 lanes instead of updating only one mask half (confirmed on 1 wave64 PS in the 1.0.2.1 corpus and `tests/semantic/test_wave64_vcc_half_write.py`). GPU-checked with `runtime/test/shaders/cs_exec64.asm`: lanes 16–47 enabled from two constants, exact on a 32-wide-subgroup GPU. Still approximate on 32-wide subgroups: cross-lane ops between the two halves of a wave64 (readlane/permlane/DPP/shuffles across lane 31/32, wave-wide reductions). The metadata index marks every wave64 shader so a runtime can request `requiredSubgroupSize = 64` where supported (AMD), which makes those exact too. | | 431 | | Wave64 handling | Wave size is detected per shader from the code (64-bit EXEC writes, `exec_hi`, `v_mbcnt_hi`, `*_saveexec_b64`/`*_wrexec_b64`, and 64-bit lane-mask SOP ops `s_bcnt[01]_i32_b64` / `s_ff[01]_i32_b64` / `s_wqm_b64` / `s_bfm_b64` even when the mask is an ordinary SGPR pair; mesh shaders are always wave64). In wave32 code (a header or FSPX dispatch state that says so) `s_bfm_b64` is 64-bit data instead: the translator writes `((1 << (S0 & 63)) - 1) << (S1 & 63)` to the pair, `tools/lane_masks.py` leaves it data, and it doesn't count against an FSPX program's wave32 state. The pipeline library's wave32 compute programs build an S# in place with it (`s_bfm_b64 s[88:89], 2, 54`, then `s_mov_b64` of words 2-3; 958 programs, [shader_library.md](shader_library.md)). Only constant operands are translated there; none other is seen. `tests/semantic/test_wave32_bfm64_data.py`. Wave size comes from the sidecar `fssm/<name>.fssm` header flags word `u32[0xD4]` bit 5 (`0x20` = wave32, `0` = wave64; `fssm_header.wave_size()`), cross-checked against wave64/wave32 code markers (`WAVE64_RE` / `WAVE32_RE`: a contradicting header and code listing raises `Unsupported`), and falls back to the code-marker heuristic (64-bit EXEC/VCC writes, `exec_hi`, `v_mbcnt_hi`, `*_saveexec_b64`/`*_wrexec_b64`, and 64-bit lane-mask SOP ops `s_bcnt[01]_i32_b64` / `s_ff[01]_i32_b64` / `s_wqm_b64` / `s_bfm_b64`, plus wave64 for mesh shaders) when no `FSSM`-magic sidecar is present (synthetic listings). **An FSPX program** (the FidelityFX DLL's, no FSSM blob) takes its wave size from its dispatch state instead: kind 0 word 4 bit 20, set = wave32 (`fspx/<name>.json` `wave32`). Only a strict marker (`WAVE64_RE` against wave32, `WAVE32_RE` against wave64) contradicts it and raises `Unsupported`; a `_b64` op on `vcc` or `exec` does not, since these programs move `vcc` as an ordinary SGPR pair. Without that field the heuristic stays. Confirmed on the 29 programs of 1.0.2.1: strict markers never contradict the bit, the `RSRC1` VGPR granule fits it in all 21 programs that decode cleanly, and `PSV0` lane counts agree with it in all 5 that state one ([fspx.md](fspx.md), "Kind 0: dispatch state"). Translated with the bit, the 4 programs the heuristic got wrong change size, and the other 22 translated modules are byte-identical. CPU-checked by `tests/semantic/test_fspx_wave_size.py`, including a `v_readlane_b32` whose result differs between the two sizes; `vk_pipeline_check` builds all 26 modules. Not GPU-checked on these programs' own data. Confirmed across all 26,503 corpus blobs with 0 contradictions against GFX10 SOP1/SOP2/SOPC/VOP3 encodings: 23,841 wave64 (1,154 CS, 195 GS, 9,282 MS, 10,974 PS, 2,236 VS) and 2,662 wave32 (1,535 CS, 1,127 PS); the code-marker heuristic alone misclassified 2,287 markerless wave64 shaders as wave32 (287 CS: 162 straight-line and 125 branchy, including 11 with `v_readlane_b32`, 35 `v_readfirstlane_b32`, 29 `ds_swizzle_b32`, 14 `s_barrier`; 943 PS: 906 straight-line and 37 branchy; 1,057 VS: 1,020 straight-line and 37 branchy); CPU-checked by `tests/test_fssm_header.py` and `tests/test_fssm_wave_size.py`. Until 2026-11-21 a mask-only wave64 program with no EXEC markers was translated as wave32, so `s_bcnt1_i32_b64` counted one half (#210). GPU-checked with `runtime/test/shaders/cs_w64_mask_detect.asm` (48 set bits of `(lane & 5) != 0`) on NVIDIA GeForce RTX 5060 under `LEONIDA_W64_EMULATE=1`. The hardware lane is exact in compute and mesh shaders (LocalInvocationIndex mod 64 or 32) and is used by `v_mbcnt` and EXEC writes. In other stages it's the subgroup lane. Constant EXEC writes (`s_mov_b32 exec_lo/exec_hi, K`) set each lane from its own bit of K, as `(K >> lane) & 1` (shift and mask: Intel's Windows driver evaluated `OpBitFieldUExtract` of a constant that fits in 16 bits with the lane taken mod 16, so `exec_lo = 0xffff` ran all 32 lanes; GPU-checked with `runtime/test/shaders/cs_exec_const.asm` on Intel UHD Graphics 770, driver 32.0.101.6129, and NVIDIA GeForce RTX 4080 SUPER); before, any non-zero constant turned every lane on. A register written to `exec_hi` sets lanes 32–63 only. VCC's halves follow the same rule while VCC holds a lane mask: a 32-bit write to `vcc_lo` sets lanes 0–31 of the mask and one to `vcc_hi` lanes 32–63 (until 2026-11-22 a `vcc_lo` write set all 64 lanes and a `vcc_hi` write never reached the mask that `s_cbranch_vccz`/`v_cndmask` read; CPU-checked by `tests/semantic/test_wave64_vcc_half_write.py`, not GPU-checked). Mask and `0`/`-1` half-writes to `vcc_lo`/`vcc_hi` keep VCC tracked as a lane mask across subsequent ops (`s_bcnt1_i32_b64`, further half-writes), whereas plain-data writes (`s_buffer_load_dword vcc_lo`, `s_load_dword`, scalar ALU, non-mask constants) end VCC's mask state and store the scalar word across all 64 lanes instead of updating only one mask half (confirmed on 1 wave64 PS in the 1.0.2.1 corpus and `tests/semantic/test_wave64_vcc_half_write.py`). GPU-checked with `runtime/test/shaders/cs_exec64.asm`: lanes 16–47 enabled from two constants, exact on a 32-wide-subgroup GPU. Still approximate on 32-wide subgroups: cross-lane ops between the two halves of a wave64 (readlane/permlane/DPP/shuffles across lane 31/32, wave-wide reductions). The metadata index marks every wave64 shader so a runtime can request `requiredSubgroupSize = 64` where supported (AMD), which makes those exact too. | |
| 431 | | Lane select (`v_readlane_b32` / `v_writelane_b32`) | The lane is **S1[4:0] in wave32** and S1[5:0] in wave64, from an SGPR or a constant, and EXEC is ignored (RDNA 3 ISA guide pseudocode for both opcodes; RDNA 2 has the same encoding and gives no pseudocode). **Until #488 (SHADER-52) a wave32 shader masked with 63 as well**: a lane select of 32 or more wrote no lane, and a read shuffled from a lane past the end of a 32-wide subgroup, which SPIR-V leaves undefined (NVIDIA wraps it, so reads happened to come out right there). Found by the FUZZ-7 cross-lane fuzzer: 23 of 100 random wave32 programs, each minimized to `s_mov_b32 s28, K; v_writelane_b32 vD, x, s28` with K ≥ 32. GPU-checked with `runtime/test/shaders/cs_w32_lane_wrap.asm` (25 16 777 777) on NVIDIA GeForce RTX 5060 (#488) and RTX 4090 (subgroup 32, driver 621.14); `tests/test_translate.py` checks the masks in the SPIR-V, and `tests/semantic/test_wave32_lane_select.py` runs the shader across 32 lanes, where a mask of 63 is an out-of-range shuffle. | | 432 | | Lane select (`v_readlane_b32` / `v_writelane_b32`) | The lane is **S1[4:0] in wave32** and S1[5:0] in wave64, from an SGPR or a constant, and EXEC is ignored (RDNA 3 ISA guide pseudocode for both opcodes; RDNA 2 has the same encoding and gives no pseudocode). **Until #488 (SHADER-52) a wave32 shader masked with 63 as well**: a lane select of 32 or more wrote no lane, and a read shuffled from a lane past the end of a 32-wide subgroup, which SPIR-V leaves undefined (NVIDIA wraps it, so reads happened to come out right there). Found by the FUZZ-7 cross-lane fuzzer: 23 of 100 random wave32 programs, each minimized to `s_mov_b32 s28, K; v_writelane_b32 vD, x, s28` with K ≥ 32. GPU-checked with `runtime/test/shaders/cs_w32_lane_wrap.asm` (25 16 777 777) on NVIDIA GeForce RTX 5060 (#488) and RTX 4090 (subgroup 32, driver 621.14); `tests/test_translate.py` checks the masks in the SPIR-V, and `tests/semantic/test_wave32_lane_select.py` runs the shader across 32 lanes, where a mask of 63 is an out-of-range shuffle. | |
| 432 | | First active lane in a vertex shader (`v_readfirstlane_b32`, MoltenVK) | A native `v_readfirstlane_b32` is a ballot of the EXEC lanes, its lowest set bit, and a shuffle from that lane (lane 0 when no lane is on). **In a vertex shader the lowest bit is taken with `FindILsb` over the ballot's four words** (the lowest non-zero word wins), not with `OpGroupNonUniformBallotFindLSB`. The two give the same lane, because a ballot has no bit at or above the subgroup size. Other stages keep `BallotFindLSB`; the `--wave64-emulate` form already used `FindILsb` on its two mask words. Why: MoltenVK lowers `BallotFindLSB`, like the `SubgroupSize` built-in, to Metal's `threads_per_simdgroup` input, which a vertex function can't declare ("invalid 'threads_per_simdgroup' attribute for input declaration in a vertex function"), so every VS with a readfirstlane failed to compile there. **Confirmed on an Apple M4 (MoltenVK 1.4.2):** hand-written VS with `subgroupBallotFindLSB` or `gl_SubgroupSize` fail, and ballot, shuffle, broadcast-first, elect, votes, and ballot + `findLSB` + shuffle (32- and 64-lane forms) create. Corpus (1.0.2.1, translated from `4eb6155d`): 572 of the 2,236 VS contain `v_readfirstlane_b32`, and exactly those 572 modules change; all 2,236 stay `spirv-val`-valid. VS pipelines on the M4 go from 667 to 672 of 2,236 on main (the rest fail on the subgroup lane built-in, #1784), and from 1,662 to 2,233 with #1784's vertex-subgroup workaround (its flag is not on main) (the 571 `threads_per_simdgroup` failures are gone). `tests/semantic/test_vs_readfirstlane.py` runs it on the wave interpreter with the first EXEC lane in word 0 and word 1. | | 433 | | First active lane in a vertex shader (`v_readfirstlane_b32`, MoltenVK) | A native `v_readfirstlane_b32` is a ballot of the EXEC lanes, its lowest set bit, and a shuffle from that lane (lane 0 when no lane is on). **In a vertex shader the lowest bit is taken with `FindILsb` over the ballot's four words** (the lowest non-zero word wins), not with `OpGroupNonUniformBallotFindLSB`. The two give the same lane, because a ballot has no bit at or above the subgroup size. Other stages keep `BallotFindLSB`; the `--wave64-emulate` form already used `FindILsb` on its two mask words. Why: MoltenVK lowers `BallotFindLSB`, like the `SubgroupSize` built-in, to Metal's `threads_per_simdgroup` input, which a vertex function can't declare ("invalid 'threads_per_simdgroup' attribute for input declaration in a vertex function"), so every VS with a readfirstlane failed to compile there. **Confirmed on an Apple M4 (MoltenVK 1.4.2):** hand-written VS with `subgroupBallotFindLSB` or `gl_SubgroupSize` fail, and ballot, shuffle, broadcast-first, elect, votes, and ballot + `findLSB` + shuffle (32- and 64-lane forms) create. Corpus (1.0.2.1, translated from `4eb6155d`): 572 of the 2,236 VS contain `v_readfirstlane_b32`, and exactly those 572 modules change; all 2,236 stay `spirv-val`-valid. VS pipelines on the M4 go from 667 to 672 of 2,236 on main (the rest fail on the subgroup lane built-in, #1784), and from 1,662 to 2,233 with #1784's vertex-subgroup workaround (its flag is not on main) (the 571 `threads_per_simdgroup` failures are gone). `tests/semantic/test_vs_readfirstlane.py` runs it on the wave interpreter with the first EXEC lane in word 0 and word 1. | |
| 433 | | Wave64 emulation (`--wave64-emulate`) | Wave64 compute and mesh shaders exact on **any** subgroup size (32-wide NVIDIA, Intel, AMD in wave32 mode), with no subgroup operation at all. One invocation is still one lane. Everything a lane needs from the rest of its wave goes through a Workgroup buffer `%x_buf`: votes (`s_cbranch_vccz/vccnz/execz/execnz`, SCC of mask ops, `s_cmp` of masks), whole-mask words (`s_bcnt1`, `s_ff1`, `v_mbcnt`), `v_readlane`, `v_readfirstlane`, `ds_bpermute`, `ds_swizzle`, `v_permlane16/x16`. The program runs in rounds: in each round every wave that is neither done nor waiting at `s_barrier` runs one segment of its program (a basic block, cut at each cross-lane op), then the whole workgroup meets at one `OpControlBarrier` (Workgroup, AcquireRelease, workgroup + uniform + image memory) that sits in uniform control flow, because every invocation runs every round. A cross-lane op ends its segment after the lane has stored its value (per-lane data, double-buffered by round parity) or ORed its bit (two mask words per wave, three slots by round mod 3, each slot cleared two rounds after it was read); the code after it runs one round later, when all 64 lanes have written. SSA values live across a cut go through Function variables. `s_barrier` is a scheduler state: the wave stops running segments until every wave that isn't done is waiting, which is also how hardware counts finished waves. A memory access that conflicts with an earlier one in the same segment (read after write, write after read, write after write; LDS and buffer/image memory separately) starts a new round, so two halves of a wave in different subgroups access memory in instruction order, as the lanes of one hardware wave do. A scalar load (`s_load*`, `s_buffer_load*`) counts as a buffer read: until #1587 it was left out, so a store and a later scalar load of the same address shared a segment and the half in the other subgroup could load before this half had stored (`valu_fuzz.py --family mem --emulate`: lanes 32-63 read the fill pattern after an `s_buffer_load`/`s_load` of the slot lane 0 had written, on RDNA1 RADV and an RTX 5060; `v_readfirstlane_b32`, which gives that slot, already reads the whole wave). Pinned by `tests/semantic/test_w64x_scalar_load_order.py` (no segment of the emitted rounds accesses buffer memory after a write or writes after a read; three of its five cases fail without the rule). Confirmed by that CPU test and the ordering argument above; the race does not show on an RX 7900 XTX (AMD 26.10.1 LLPC, Windows 11): `valu_fuzz.py --family mem --seed 5 --programs 21 --wave 64 --emulate` matches 21/21 before and after the rule (3 runs each), so a GPU reproduction on RDNA1/RADV (where #1587 was found) is still pending. Not ordered: sampling an image the wave wrote. The missing lanes of a partial last wave read as 0. Without the flag the output is unchanged, apart from two fixes that apply to every wave64 compute/mesh shader: `v_writelane_b32` selects the lane by the wave lane (on a 32-wide subgroup writes to lanes 32–63 were lost; `cs_w64x_writelane`), and `ds_bpermute_b32` (see the LDS row). Fewer rounds, same results: a whole-mask read (`s_bcnt1`, `v_mbcnt_lo/hi`, ...) of the value of the same register (or EXEC) that an earlier read in the block already exchanged reuses that exchange (the value's identity is the SSA id last stored to the register, forgotten at block start and at any label); and a block that ends in a voted branch (`s_cbranch_vccz/vccnz/execz/execnz`) runs its successor in the round that reads the vote, since that segment only reads the vote and picks the next block (an inner loop in the scheduler, flag `%x_chain`). Both rules are pinned by `cs_w64x_mask_reuse` (a mask register and EXEC rewritten between reads), `cs_w64x_mask_reuse2` (EXEC read twice, a read after a buffer store, one half of a mask pair rewritten while the other is kept, a voted branch whose successor starts with a load of the other half's earlier store) and `cs_w64x_chain_barrier` (a voted branch whose successor starts with `s_barrier`, two waves): expected values from the ISA, first run on the AMD 880M with its native 64-wide subgroup, then emulated on both GPUs; `tests/test_translate.py` counts the exchanges in the SPIR-V (one per value, a new one after a rewrite of the register or EXEC), and the translator refuses (`Unsupported`) a voted branch whose segment was not started by the vote's own round. Under `--wave64-emulate`, `tools/wave64_emulate_opt.py` runs three exact CFG/dataflow passes to eliminate redundant scheduler rounds and global `OpSwitch` blow-up (#884): (1) backward `SCC` liveness skips `scc_from_mask` / `scc_any_half` votes on lane-mask ops (`s_*_saveexec_*`, `s_andn1/andn2_wrexec_*`, `s_and/or/xor/andn2/orn2/nand/nor/xnor/not_b64`, `s_wqm_*`) whenever `SCC` is dead-out (never read before an unconditional overwrite or `s_endpgm`), (2) safe lane-local `s_cbranch_execz`/`execnz` region folding inlines single-entry, single-exit post-dominated regions with no cross-lane ops, no `s_barrier`, no unmasked side effects, no `write_all_lanes` mask spills, no `EXEC`-widening, no live-out scalars, and for each memory domain (`mem`/`lds`) either read-only accesses or an acyclic single write/atomic behind `if (%active)` (issuing any uniform `x_memory_order` split/barrier before the branch — including scalar `s_load*`/`s_buffer_load*` per #1587 — and chaining single-predecessor continuations), and (3) structured emulation (`plan_structured_emulation`, `control_flow = "emulated wave64 structured"`) removes the global round-loop `OpSwitch` on multi-superblock reducible CFGs without non-uniform 32-bit half-mask SCC: single-wave workgroups (`<= 64` threads) run 100% inline structured SPIR-V with direct workgroup barriers (`0` `OpSwitch`, `0` `x_spill`, strictly monotone GEN/KILL 4-bit `dirty_in` memory ordering across blocks and loop back-edges), while multi-wave workgroups (`> 64` threads, without divergent `s_barrier`) emit post-dominating spine blocks and barrier-free guards/loops (including live-out scalars, single-write stores, `EXEC`-widening, and read-only loops) inline and isolate any remaining wave-divergent barrier regions into local mini-schedulers (or a tail scheduler at early `s_endpgm`). Checked on the CPU by `tests/semantic/test_wave64_emulate_opt.py` (40/64/128/256-thread workgroup interpreter with strict uniform barrier checks, ScreenProbes-shaped chains, nested/reused `saveexec` folds, single-store WAR/RAW ordering, single-wave `inline_all` loop-carried WAR, monotone `dirty_in` regression after `x_round`, multi-wave `structured_hybrid` + local `mini_scheduler`, divergent `s_barrier` fallback, `cs_w64x_saveexec_b64.s` fixture, and negative controls; **not yet GPU-verified** for the structured emulation pass). In addition, `wave64_emulate_opt.py` excludes lane-mask `s_flbit_i32_b32`/`s_flbit_i32` and mixed mask+data `s_cmp_eq_u64`/`s_cmp_lg_u64` from folded/sync-free blocks and `Gen.x_memory_order` skips `ds_nop` (matching `_x_memory_order_access`), pinned by `tests/semantic/test_wave64_emulate_barriers.py` (CPU workgroup interpreter only, not GPU-checked). (1) backward `SCC` liveness skips `scc_from_mask` / `scc_any_half` votes on lane-mask ops (`s_*_saveexec_*`, `s_andn1/andn2_wrexec_*`, `s_and/or/xor/andn2/orn2/nand/nor/xnor/not_b64`, `s_wqm_*`) whenever `SCC` is dead-out (never read before an unconditional overwrite or `s_endpgm`), and (2) safe lane-local `s_cbranch_execz`/`execnz` region folding inlines single-entry, single-exit post-dominated regions with no cross-lane ops, no `s_barrier`, no memory/LDS writes, no unmasked side effects, no `write_all_lanes` mask spills, no `EXEC`-widening, and no live-out scalars behind `if (%active)` (issuing any uniform `x_memory_order` split before the branch — including scalar `s_load*`/`s_buffer_load*` per #1587 — and chaining single-predecessor continuations), keeping all 64 lanes of each wave in the same scheduler round. Checked on the CPU by `tests/semantic/test_wave64_emulate_opt.py` (64-thread and 128-thread workgroup interpreter with uniform barrier checks, ScreenProbes-shaped chains, nested/reused `saveexec` folds, internal loop, `cs_w64x_saveexec_b64.s` fixture, RAW memory/scalar-load ordering, and negative controls for live-out scalars, stores, cross-lane ops, and EXEC-widening). `scripts/bench_wave64.py` times `cs_bench_mix` native and emulated and checks the emulated output bytes against the native AMD run. Cost: one workgroup barrier per segment, and `%x_buf` = (2·L + 6·W + 7) dwords for L invocations in W waves, counted in `lds_bytes`. GPU-checked on NVIDIA GeForce RTX 5070 Laptop (subgroup 32, driver 617.42) and AMD Radeon 880M (subgroup 64, AMD driver 26.11.2 LLPC): `check.py` 38/39 (the mesh test runs in the other script) and `scripts/run_gpu_tests.py` 40/40 on both with `LEONIDA_W64_EMULATE=1`, including every wave64 test (`cs_wavemask`, `cs_wave64_ballot`, `cs_wm_*`) and the cross-half suite `cs_w64x_*` / `ms_w64x_ballot`: readlane and writelane at lanes ≥ 32, readfirstlane with only upper lanes active, branches voted by one lane of either half, ballot + `v_mbcnt_lo/hi` compaction over 64 lanes (also in a mesh shader, 4096/4096 pixels), a 128-thread workgroup whose two waves take different branches, `s_barrier` between waves with different loop counts, LDS read-after-write and write-after-read across the halves without a barrier, a load, ballot and load in one block, and a partial wave (group 40). Without the flag the same RTX 5070 passes 19/37 (the wave64 tests skip there). Not covered: VS/PS/GS (no workgroup memory or barrier there). Known driver bug: AMD's Windows shader compiler for RDNA2 crashes (access violation in `vkCreateComputePipelines`) on many emulated compute shaders with LDS (#857: drivers 32.0.21030 to 32.0.21045.29003, iGPUs and RX 6000; 23.20.44, RDNA3, RDNA4, RADV and NVIDIA are fine), so `make_game.py --wave64-emulate auto` leaves emulation off when the runtime's GPU is such a device and runs wave64 natively (`rdna2_amd_windows` in `tools/vk_subgroup_info.py`, by PCI device ID and driver ID). | | 434 | | Wave64 emulation (`--wave64-emulate`) | Wave64 compute and mesh shaders exact on **any** subgroup size (32-wide NVIDIA, Intel, AMD in wave32 mode), with no subgroup operation at all. One invocation is still one lane. Everything a lane needs from the rest of its wave goes through a Workgroup buffer `%x_buf`: votes (`s_cbranch_vccz/vccnz/execz/execnz`, SCC of mask ops, `s_cmp` of masks), whole-mask words (`s_bcnt1`, `s_ff1`, `v_mbcnt`), `v_readlane`, `v_readfirstlane`, `ds_bpermute`, `ds_swizzle`, `v_permlane16/x16`. The program runs in rounds: in each round every wave that is neither done nor waiting at `s_barrier` runs one segment of its program (a basic block, cut at each cross-lane op), then the whole workgroup meets at one `OpControlBarrier` (Workgroup, AcquireRelease, workgroup + uniform + image memory) that sits in uniform control flow, because every invocation runs every round. A cross-lane op ends its segment after the lane has stored its value (per-lane data, double-buffered by round parity) or ORed its bit (two mask words per wave, three slots by round mod 3, each slot cleared two rounds after it was read); the code after it runs one round later, when all 64 lanes have written. SSA values live across a cut go through Function variables. `s_barrier` is a scheduler state: the wave stops running segments until every wave that isn't done is waiting, which is also how hardware counts finished waves. A memory access that conflicts with an earlier one in the same segment (read after write, write after read, write after write; LDS and buffer/image memory separately) starts a new round, so two halves of a wave in different subgroups access memory in instruction order, as the lanes of one hardware wave do. A scalar load (`s_load*`, `s_buffer_load*`) counts as a buffer read: until #1587 it was left out, so a store and a later scalar load of the same address shared a segment and the half in the other subgroup could load before this half had stored (`valu_fuzz.py --family mem --emulate`: lanes 32-63 read the fill pattern after an `s_buffer_load`/`s_load` of the slot lane 0 had written, on RDNA1 RADV and an RTX 5060; `v_readfirstlane_b32`, which gives that slot, already reads the whole wave). Pinned by `tests/semantic/test_w64x_scalar_load_order.py` (no segment of the emitted rounds accesses buffer memory after a write or writes after a read; three of its five cases fail without the rule). Confirmed by that CPU test and the ordering argument above; the race does not show on an RX 7900 XTX (AMD 26.10.1 LLPC, Windows 11): `valu_fuzz.py --family mem --seed 5 --programs 21 --wave 64 --emulate` matches 21/21 before and after the rule (3 runs each), so a GPU reproduction on RDNA1/RADV (where #1587 was found) is still pending. Not ordered: sampling an image the wave wrote. The missing lanes of a partial last wave read as 0. Without the flag the output is unchanged, apart from two fixes that apply to every wave64 compute/mesh shader: `v_writelane_b32` selects the lane by the wave lane (on a 32-wide subgroup writes to lanes 32–63 were lost; `cs_w64x_writelane`), and `ds_bpermute_b32` (see the LDS row). Fewer rounds, same results: a whole-mask read (`s_bcnt1`, `v_mbcnt_lo/hi`, ...) of the value of the same register (or EXEC) that an earlier read in the block already exchanged reuses that exchange (the value's identity is the SSA id last stored to the register, forgotten at block start and at any label); and a block that ends in a voted branch (`s_cbranch_vccz/vccnz/execz/execnz`) runs its successor in the round that reads the vote, since that segment only reads the vote and picks the next block (an inner loop in the scheduler, flag `%x_chain`). Both rules are pinned by `cs_w64x_mask_reuse` (a mask register and EXEC rewritten between reads), `cs_w64x_mask_reuse2` (EXEC read twice, a read after a buffer store, one half of a mask pair rewritten while the other is kept, a voted branch whose successor starts with a load of the other half's earlier store) and `cs_w64x_chain_barrier` (a voted branch whose successor starts with `s_barrier`, two waves): expected values from the ISA, first run on the AMD 880M with its native 64-wide subgroup, then emulated on both GPUs; `tests/test_translate.py` counts the exchanges in the SPIR-V (one per value, a new one after a rewrite of the register or EXEC), and the translator refuses (`Unsupported`) a voted branch whose segment was not started by the vote's own round. Under `--wave64-emulate`, `tools/wave64_emulate_opt.py` runs three exact CFG/dataflow passes to eliminate redundant scheduler rounds and global `OpSwitch` blow-up (#884): (1) backward `SCC` liveness skips `scc_from_mask` / `scc_any_half` votes on lane-mask ops (`s_*_saveexec_*`, `s_andn1/andn2_wrexec_*`, `s_and/or/xor/andn2/orn2/nand/nor/xnor/not_b64`, `s_wqm_*`) whenever `SCC` is dead-out (never read before an unconditional overwrite or `s_endpgm`), (2) safe lane-local `s_cbranch_execz`/`execnz` region folding inlines single-entry, single-exit post-dominated regions with no cross-lane ops, no `s_barrier`, no unmasked side effects, no `write_all_lanes` mask spills, no `EXEC`-widening, no live-out scalars, and for each memory domain (`mem`/`lds`) either read-only accesses or an acyclic single write/atomic behind `if (%active)` (issuing any uniform `x_memory_order` split/barrier before the branch — including scalar `s_load*`/`s_buffer_load*` per #1587 — and chaining single-predecessor continuations), and (3) structured emulation (`plan_structured_emulation`, `control_flow = "emulated wave64 structured"`) removes the global round-loop `OpSwitch` on multi-superblock reducible CFGs without non-uniform 32-bit half-mask SCC: single-wave workgroups (`<= 64` threads) run 100% inline structured SPIR-V with direct workgroup barriers (`0` `OpSwitch`, `0` `x_spill`, strictly monotone GEN/KILL 4-bit `dirty_in` memory ordering across blocks and loop back-edges), while multi-wave workgroups (`> 64` threads) emit post-dominating spine blocks and barrier-free guards/loops (including live-out scalars, single-write stores, `EXEC`-widening, and read-only loops) inline and isolate any remaining wave-divergent barrier regions into local mini-schedulers (or a tail scheduler from the first early `s_endpgm`, or the first `s_barrier` under a guard or in a loop, to the end: waves on different paths may meet at different `s_barrier` sites, which only the rounds model; the NGG mesh epilogue, `s_cbranch_vccnz` over an `s_barrier`, is the common case). Checked on the CPU by `tests/semantic/test_wave64_emulate_opt.py` (40/64/128/256-thread workgroup interpreter with strict uniform barrier checks, ScreenProbes-shaped chains, nested/reused `saveexec` folds, single-store WAR/RAW ordering, single-wave `inline_all` loop-carried WAR, monotone `dirty_in` regression after `x_round`, multi-wave `structured_hybrid` + local `mini_scheduler`, divergent `s_barrier` in the tail rounds, guarded `s_barrier` epilogue, `cs_w64x_saveexec_b64.s` fixture, and negative controls; **not yet GPU-verified** for the structured emulation pass). In addition, `wave64_emulate_opt.py` excludes lane-mask `s_flbit_i32_b32`/`s_flbit_i32` and mixed mask+data `s_cmp_eq_u64`/`s_cmp_lg_u64` from folded/sync-free blocks and `Gen.x_memory_order` skips `ds_nop` (matching `_x_memory_order_access`), pinned by `tests/semantic/test_wave64_emulate_barriers.py` (CPU workgroup interpreter only, not GPU-checked). (1) backward `SCC` liveness skips `scc_from_mask` / `scc_any_half` votes on lane-mask ops (`s_*_saveexec_*`, `s_andn1/andn2_wrexec_*`, `s_and/or/xor/andn2/orn2/nand/nor/xnor/not_b64`, `s_wqm_*`) whenever `SCC` is dead-out (never read before an unconditional overwrite or `s_endpgm`), and (2) safe lane-local `s_cbranch_execz`/`execnz` region folding inlines single-entry, single-exit post-dominated regions with no cross-lane ops, no `s_barrier`, no memory/LDS writes, no unmasked side effects, no `write_all_lanes` mask spills, no `EXEC`-widening, and no live-out scalars behind `if (%active)` (issuing any uniform `x_memory_order` split before the branch — including scalar `s_load*`/`s_buffer_load*` per #1587 — and chaining single-predecessor continuations), keeping all 64 lanes of each wave in the same scheduler round. Checked on the CPU by `tests/semantic/test_wave64_emulate_opt.py` (64-thread and 128-thread workgroup interpreter with uniform barrier checks, ScreenProbes-shaped chains, nested/reused `saveexec` folds, internal loop, `cs_w64x_saveexec_b64.s` fixture, RAW memory/scalar-load ordering, and negative controls for live-out scalars, stores, cross-lane ops, and EXEC-widening). `scripts/bench_wave64.py` times `cs_bench_mix` native and emulated and checks the emulated output bytes against the native AMD run. Cost: one workgroup barrier per segment, and `%x_buf` = (2·L + 6·W + 7) dwords for L invocations in W waves, counted in `lds_bytes`. GPU-checked on NVIDIA GeForce RTX 5070 Laptop (subgroup 32, driver 617.42) and AMD Radeon 880M (subgroup 64, AMD driver 26.11.2 LLPC): `check.py` 38/39 (the mesh test runs in the other script) and `scripts/run_gpu_tests.py` 40/40 on both with `LEONIDA_W64_EMULATE=1`, including every wave64 test (`cs_wavemask`, `cs_wave64_ballot`, `cs_wm_*`) and the cross-half suite `cs_w64x_*` / `ms_w64x_ballot`: readlane and writelane at lanes ≥ 32, readfirstlane with only upper lanes active, branches voted by one lane of either half, ballot + `v_mbcnt_lo/hi` compaction over 64 lanes (also in a mesh shader, 4096/4096 pixels), a 128-thread workgroup whose two waves take different branches, `s_barrier` between waves with different loop counts, LDS read-after-write and write-after-read across the halves without a barrier, a load, ballot and load in one block, and a partial wave (group 40). Without the flag the same RTX 5070 passes 19/37 (the wave64 tests skip there). Not covered: VS/PS/GS (no workgroup memory or barrier there). Known driver bug: AMD's Windows shader compiler for RDNA2 crashes (access violation in `vkCreateComputePipelines`) on many emulated compute shaders with LDS (#857: drivers 32.0.21030 to 32.0.21045.29003, iGPUs and RX 6000; 23.20.44, RDNA3, RDNA4, RADV and NVIDIA are fine), so `make_game.py --wave64-emulate auto` leaves emulation off when the runtime's GPU is such a device and runs wave64 natively (`rdna2_amd_windows` in `tools/vk_subgroup_info.py`, by PCI device ID and driver ID). | |
| 434 | | Workgroup memory limit (SHADER-309) | A compute shader's Workgroup variables, the LDS array plus `%x_buf` (the wave64 exchange, 2·L + 6·W + 7 dwords, or the 3 barrier-round counts, which move into the LDS array when they would push the total past 16,384 B: see "Barrier-round count in LDS (SHADER-579)"), must fit in the device's `maxComputeSharedMemorySize`. `spirv-val` does not check device limits, and RADV (Mesa 27.0.0-devel, RX 7600) dies with SIGFPE in `vkCreateComputePipelines` on a module 4 bytes over 64 KiB (#1721, hand-built repro by YaBulochka). The limit differs per device: 65536 on RADV and NVIDIA, 32768 on the AMD Windows driver (RX 9070 XT, 32.0.32029.2010) and Intel (UHD 770, 101.7092), measured by towade in #1745; the Vulkan minimum is 16384. The translator runs offline, so it has two parts. (1) `rdna2spirv.py` keeps every module under a hard cap, `MAX_SHARED_BYTES` (`--max-shared-memory`, default 65536): the LDS array is the program's need (RSRC2 LDS_SIZE, or the end of the furthest constant-offset access, counted exactly from the offset and the access width: a b32 at offset 65,532 ends at 16,384 dwords) rounded up to a power of two; when that plus `%x_buf` is over the cap but the need still fits, the array shrinks to the RSRC2 allocation and its accesses are bounds-checked (below); when the need itself does not fit (a 64 KiB LDS under `--wave64-emulate`) the shader is refused (`Unsupported`, with the byte counts). The array is clipped to 16,384 dwords, but an RSRC2 allocation over the cap (LDS_SIZE above 128 units, so 66,048 B or more) is counted at its full size and refused, native or emulated, instead of being cut. LDS bounds: RDNA2 LDS does not wrap, and an access outside the workgroup's allocation reads 0 and its write is dropped (RDNA2 ISA sections 3.6.1 and 3.6.6). The wrapped power-of-two array aliases such an access onto a valid word, so when a program's constant offsets reach past its RSRC2 allocation, or the array was shrunk, the array is the allocation and `Gen.lds_access` checks every dword (`index < allocation`, else a read or an atomic's old value is 0 and the write or atomic is skipped): `ds_read*`/`ds_write*` of every width (b64/b96/b128 and read2/write2 per dword), the sub-dword reads and writes, every LDS atomic, `ds_cmpst`, `ds_mskor`, `ds_wrxchg*`. `ds_swizzle`/`ds_bpermute`/`ds_permute` do not use `%lds`; `ds_append`/`ds_consume` were already refused. Every other shader keeps the wrapped array and emits no check, as before. **No game shader takes this path.** Counted over a 1.0.2.1 corpus by towade (#1882, counts only), and again at `main` `aa2988cc` by running `translate()` on every CS: with the exact need (offset + access width), none of the 485 LDS-using CS reaches past its RSRC2 allocation with a constant offset, and none is shrunk, natively or with `--wave64-emulate`. So none gets a bounds check (no `OpULessThan` added), and only the synthetic tests below exercise it. The earlier "16 of 486" came from the older offset + 4-dword estimate; at `aa2988cc` that bound flags 37 of the 485, all inside their allocation. Hypothesis, not yet counted over the corpus: the 16 of 486 LDS-using CS that index past LDS_SIZE with constant offsets (the Compute shaders row) now read 0 there, as the ISA says, where they used to read the wrapped word. Counted over a 1.0.2.1 corpus by towade (#1882, counts only): with the exact need (offset + access width) none of the 485 LDS-using CS reaches past its RSRC2 allocation with a constant offset, so none gets a bounds check (no `OpULessThan` added, native or emulated); the "16 of 486" in the Compute shaders row came from the older offset + 4-dword estimate. `%x_buf` is already sized to the workgroup's waves, so it has nothing to give back. `lds_bytes` in `index.json` is the module's whole Workgroup total (LDS, `%x_buf`, a mesh shader's `%ms_counts`). (2) The D3D12 shim's `create_compute` compares `lds_bytes` with the device's `maxComputeSharedMemorySize` and refuses the pipeline with a log line (`E_NOTIMPL`) instead of creating an invalid one. Pinned by `tests/semantic/test_cs_shared_memory_limit.py` (Workgroup bytes counted from the emitted SPIR-V: under the cap unchanged, shrunk to the 51,200 B allocation and bounds-checked, the exact-cap boundary, an access ending at 64 KiB counted exactly, a 64 KiB LDS refused when emulated and accepted natively, a native 66,048 B allocation refused, run through `spirv_mini_interp`: an out-of-range write dropped with the word it would wrap to intact, out-of-range reads (b32, u16) giving 0, a b64 write straddling the allocation's end, out-of-range atomics returning 0 and changing nothing, and an in-range shader with no check; `lds_bytes` equal to the SPIR-V total) and `shader_library_test` (`lds_bytes` read from the index). Confirmed by those CPU tests only; GPU runs (RADV; AMD Windows and Intel at 32 KiB) are pending. Not covered: mesh shaders against `maxMeshSharedMemorySize`. | | 435 | | Workgroup memory limit (SHADER-309) | A compute shader's Workgroup variables, the LDS array plus `%x_buf` (the wave64 exchange, 2·L + 6·W + 7 dwords, or the 3 barrier-round counts, which move into the LDS array when they would push the total past 16,384 B: see "Barrier-round count in LDS (SHADER-579)"), must fit in the device's `maxComputeSharedMemorySize`. `spirv-val` does not check device limits, and RADV (Mesa 27.0.0-devel, RX 7600) dies with SIGFPE in `vkCreateComputePipelines` on a module 4 bytes over 64 KiB (#1721, hand-built repro by YaBulochka). The limit differs per device: 65536 on RADV and NVIDIA, 32768 on the AMD Windows driver (RX 9070 XT, 32.0.32029.2010) and Intel (UHD 770, 101.7092), measured by towade in #1745; the Vulkan minimum is 16384. The translator runs offline, so it has two parts. (1) `rdna2spirv.py` keeps every module under a hard cap, `MAX_SHARED_BYTES` (`--max-shared-memory`, default 65536): the LDS array is the program's need (RSRC2 LDS_SIZE, or the end of the furthest constant-offset access, counted exactly from the offset and the access width: a b32 at offset 65,532 ends at 16,384 dwords) rounded up to a power of two; when that plus `%x_buf` is over the cap but the need still fits, the array shrinks to the RSRC2 allocation and its accesses are bounds-checked (below); when the need itself does not fit (a 64 KiB LDS under `--wave64-emulate`) the shader is refused (`Unsupported`, with the byte counts). The array is clipped to 16,384 dwords, but an RSRC2 allocation over the cap (LDS_SIZE above 128 units, so 66,048 B or more) is counted at its full size and refused, native or emulated, instead of being cut. LDS bounds: RDNA2 LDS does not wrap, and an access outside the workgroup's allocation reads 0 and its write is dropped (RDNA2 ISA sections 3.6.1 and 3.6.6). The wrapped power-of-two array aliases such an access onto a valid word, so when a program's constant offsets reach past its RSRC2 allocation, or the array was shrunk, the array is the allocation and `Gen.lds_access` checks every dword (`index < allocation`, else a read or an atomic's old value is 0 and the write or atomic is skipped): `ds_read*`/`ds_write*` of every width (b64/b96/b128 and read2/write2 per dword), the sub-dword reads and writes, every LDS atomic, `ds_cmpst`, `ds_mskor`, `ds_wrxchg*`. `ds_swizzle`/`ds_bpermute`/`ds_permute` do not use `%lds`; `ds_append`/`ds_consume` were already refused. Every other shader keeps the wrapped array and emits no check, as before. **No game shader takes this path.** Counted over a 1.0.2.1 corpus by towade (#1882, counts only), and again at `main` `aa2988cc` by running `translate()` on every CS: with the exact need (offset + access width), none of the 485 LDS-using CS reaches past its RSRC2 allocation with a constant offset, and none is shrunk, natively or with `--wave64-emulate`. So none gets a bounds check (no `OpULessThan` added), and only the synthetic tests below exercise it. The earlier "16 of 486" came from the older offset + 4-dword estimate; at `aa2988cc` that bound flags 37 of the 485, all inside their allocation. Hypothesis, not yet counted over the corpus: the 16 of 486 LDS-using CS that index past LDS_SIZE with constant offsets (the Compute shaders row) now read 0 there, as the ISA says, where they used to read the wrapped word. Counted over a 1.0.2.1 corpus by towade (#1882, counts only): with the exact need (offset + access width) none of the 485 LDS-using CS reaches past its RSRC2 allocation with a constant offset, so none gets a bounds check (no `OpULessThan` added, native or emulated); the "16 of 486" in the Compute shaders row came from the older offset + 4-dword estimate. `%x_buf` is already sized to the workgroup's waves, so it has nothing to give back. `lds_bytes` in `index.json` is the module's whole Workgroup total (LDS, `%x_buf`, a mesh shader's `%ms_counts`). (2) The D3D12 shim's `create_compute` compares `lds_bytes` with the device's `maxComputeSharedMemorySize` and refuses the pipeline with a log line (`E_NOTIMPL`) instead of creating an invalid one. Pinned by `tests/semantic/test_cs_shared_memory_limit.py` (Workgroup bytes counted from the emitted SPIR-V: under the cap unchanged, shrunk to the 51,200 B allocation and bounds-checked, the exact-cap boundary, an access ending at 64 KiB counted exactly, a 64 KiB LDS refused when emulated and accepted natively, a native 66,048 B allocation refused, run through `spirv_mini_interp`: an out-of-range write dropped with the word it would wrap to intact, out-of-range reads (b32, u16) giving 0, a b64 write straddling the allocation's end, out-of-range atomics returning 0 and changing nothing, and an in-range shader with no check; `lds_bytes` equal to the SPIR-V total) and `shader_library_test` (`lds_bytes` read from the index). Confirmed by those CPU tests only; GPU runs (RADV; AMD Windows and Intel at 32 KiB) are pending. Not covered: mesh shaders against `maxMeshSharedMemorySize`. | |
| 435 | | Wave64 leading-bit scans | With `--wave64-emulate`, `s_flbit_i32_b32` and `s_flbit_i32` of a lane mask use the same wave-wide exchange as `s_bcnt1` and `s_ff1`. These reads prevent lane-local EXEC-zero folding and require synchronized scheduling in wave-divergent blocks. Plain scalar inputs still allow the fold. Hand-written compute shaders in `tests/semantic/test_wave64_emulate_opt.py` check EXECZ at 64 and 128 threads and a branch on SCC taken by just one wave at 128 threads. The strict CPU workgroup interpreter observes the unsigned scan of VCC_LO = 8 returning 28 in the expected invocations. Both scan forms pass `spirv-val --target-env vulkan1.2`. | | 436 | | Wave64 leading-bit scans | With `--wave64-emulate`, `s_flbit_i32_b32` and `s_flbit_i32` of a lane mask use the same wave-wide exchange as `s_bcnt1` and `s_ff1`. These reads prevent lane-local EXEC-zero folding and require synchronized scheduling in wave-divergent blocks. Plain scalar inputs still allow the fold. Hand-written compute shaders in `tests/semantic/test_wave64_emulate_opt.py` check EXECZ at 64 and 128 threads and a branch on SCC taken by just one wave at 128 threads. The strict CPU workgroup interpreter observes the unsigned scan of VCC_LO = 8 returning 28 in the expected invocations. Both scan forms pass `spirv-val --target-env vulkan1.2`. | |
| 436 | | Wave64 emulation: scalar exits from a folded EXECZ region | A folded lane-local `s_cbranch_execz`/`execnz` region may leave to its join from inside, for example `s_cmp` + `s_cbranch_scc0/scc1` straight to the label that restores EXEC. The ISA then skips the rest of the region for the whole wave. `find_local_exec_folds` in `tools/wave64_emulate_opt.py` builds the region's sub-CFG with an exit node for every edge to the join, so `cfg_structure.structure` puts each later block of the region behind a `%pc` guard; the exit node itself emits nothing. Before this the edge was dropped and the block after the branch ran whenever the lane was active. Confirmed on the CPU against the native wave64 translation and the ISA: `tests/semantic/test_wave64_emulate_opt.py` `test_folded_region_scalar_branch_to_join_skips_the_rest` (taken and not-taken `scc0`/`scc1`, 64 and 128 threads, the region still folded) fails before the change on the four taken cases. **Not GPU-verified.** | | 437 | | Wave64 emulation: scalar exits from a folded EXECZ region | A folded lane-local `s_cbranch_execz`/`execnz` region may leave to its join from inside, for example `s_cmp` + `s_cbranch_scc0/scc1` straight to the label that restores EXEC. The ISA then skips the rest of the region for the whole wave. `find_local_exec_folds` in `tools/wave64_emulate_opt.py` builds the region's sub-CFG with an exit node for every edge to the join, so `cfg_structure.structure` puts each later block of the region behind a `%pc` guard; the exit node itself emits nothing. Before this the edge was dropped and the block after the branch ran whenever the lane was active. Confirmed on the CPU against the native wave64 translation and the ISA: `tests/semantic/test_wave64_emulate_opt.py` `test_folded_region_scalar_branch_to_join_skips_the_rest` (taken and not-taken `scc0`/`scc1`, 64 and 128 threads, the region still folded) fails before the change on the four taken cases. **Not GPU-verified.** | |
| @@ -444,6 +445,7 @@ How the generated SPIR-V expects the runtime to work: | |||
| 444 | | Scalar copies through VCC | SGPRs 106 and 107 can hold two data words, including a buffer descriptor's count and format. A 64-bit move through VCC preserves both when its reads within the block use them as data. Predicate users and live-out VCC constrain this inference. A wide scalar load into a tuple ending in VCC writes both physical words. The synthetic descriptor fixture checks numeric copies, a round trip, and a subsequent tuple load on wave32 and emulated wave64. | | 445 | | Scalar copies through VCC | SGPRs 106 and 107 can hold two data words, including a buffer descriptor's count and format. A 64-bit move through VCC preserves both when its reads within the block use them as data. Predicate users and live-out VCC constrain this inference. A wide scalar load into a tuple ending in VCC writes both physical words. The synthetic descriptor fixture checks numeric copies, a round trip, and a subsequent tuple load on wave32 and emulated wave64. | |
| 445 | | Signed-byte dot products | `v_dot4_i32_i8 D, S0, S1, S2` (VOP3P) is S2 plus the sum of the four products of the sign-extended bytes of S0 and S1, modulo 2^32; `v_dot4c_i32_i8 D, S0, S1` (VOP2) adds the same sum to D. Emitted as four pairs of `OpBitFieldSExtract`, `OpIMul` and `OpIAdd`. **Confirmed on RDNA2 hardware** (gfx1036, raw kernels through `tools/hw_oracle`): 10 operand sets, both instructions and both source orders of the accumulating one, with sign-mixed bytes and sums that wrap; the measured words are the table in `tests/semantic/test_alu_dot4_i8.py`. `clamp` and `op_sel`/`op_sel_hi` are translated and checked against the same `gfx1036` hardware table: `clamp` saturates `v_dot4_i32_i8` to signed 32-bit `[-2^31, 2^31-1]` (both overflowing sets), and `op_sel`/`op_sel_hi` pick the 16-bit half of S0/S1 for byte pairs 0..1 and 2..3 (e.g. `op_sel` 2 / `op_sel_hi` 5 exchanges the 16-bit halves of S1, matching all 5 measured sets — the form of the 89 words `llvm-mc` does not decode, [fspx.md](fspx.md)); non-default S2 half selection stays refused. How each `op_sel`/`op_sel_hi` form that can reach the translator is confirmed: (1) `op_sel` 2 / `op_sel_hi` 5 without `clamp` or `neg`, which `llvm-mc` rejects: measured on `gfx1036` (the 5 sets above); `shader_disasm.py` prints it with its real encoding (`tests/semantic/test_fspx_dot4_op_sel_disasm.py`) and `skipped_form` recovers it from a gap in a listing made without that pass. (2) `op_sel` 0 / `op_sel_hi` 5 with an inline integer S1 and no `clamp` or `neg`, which `llvm-mc` decodes but prints with the default `op_sel_hi` 7: `restore_dot4_inline_sel` takes the stored field back, in a clean listing (`check_printed_encodings`) and in both re-anchoring paths; `op_sel_hi[1]` clear makes byte pairs 2..3 read S1's low half, the selection measured in (1), but the word itself was not run on hardware; confirmed by a count over the corpus (29 FidelityFX DLL programs, 1.0.2.1, LLVM 21.1.8: 22 translate without it, 24 with it, all 24 pass `spirv-val`; Code-embedded data row) and pinned by `tests/semantic/test_reanchor_dot4_inline_sel.py`. (3) Every other form `llvm-mc` decodes but prints with the default fields (for example `op_sel_hi` 5 with a VGPR S1, or `op_sel` 1 / `op_sel_hi` 6) is not measured and is refused as a dropped field; `tests/semantic/test_dot4_printed_op_sel.py` checks forms (2) and (3) with hand-built words. A general rule that took the stored fields of any such word (from luizwidmer/palmetto) was not taken for that reason. `neg_lo`/`neg_hi`, which `llvm-mc` accepts on `v_dot4_i32_i8` only, are not ignored (`neg_lo` flips bit 15 and `neg_hi` bit 31 of S0 or S1, and on S2 `neg_hi` clears bit 31 before `neg_lo` flips it; 5 sets under 8 forms, 45 words): any set bit stays Unsupported, while an all-zero field is the plain instruction. Counts: the 29 FSPX programs use the pair 27,271 times (`v_dot4c_i32_i8` 25,813, `v_dot4_i32_i8` 1,458), all in 13 programs; none of the game's own 26,503 shaders has either encoding (0 of the 12,791 words `llvm-mc` cannot decode there with gfx1013). The measured unclamped `op_sel` 2 / `op_sel_hi` 5 form is also recovered from the bytes on a gap in a listing that `shader_disasm.py` did not print it into (`skipped_form`, #984). | | 446 | | Signed-byte dot products | `v_dot4_i32_i8 D, S0, S1, S2` (VOP3P) is S2 plus the sum of the four products of the sign-extended bytes of S0 and S1, modulo 2^32; `v_dot4c_i32_i8 D, S0, S1` (VOP2) adds the same sum to D. Emitted as four pairs of `OpBitFieldSExtract`, `OpIMul` and `OpIAdd`. **Confirmed on RDNA2 hardware** (gfx1036, raw kernels through `tools/hw_oracle`): 10 operand sets, both instructions and both source orders of the accumulating one, with sign-mixed bytes and sums that wrap; the measured words are the table in `tests/semantic/test_alu_dot4_i8.py`. `clamp` and `op_sel`/`op_sel_hi` are translated and checked against the same `gfx1036` hardware table: `clamp` saturates `v_dot4_i32_i8` to signed 32-bit `[-2^31, 2^31-1]` (both overflowing sets), and `op_sel`/`op_sel_hi` pick the 16-bit half of S0/S1 for byte pairs 0..1 and 2..3 (e.g. `op_sel` 2 / `op_sel_hi` 5 exchanges the 16-bit halves of S1, matching all 5 measured sets — the form of the 89 words `llvm-mc` does not decode, [fspx.md](fspx.md)); non-default S2 half selection stays refused. How each `op_sel`/`op_sel_hi` form that can reach the translator is confirmed: (1) `op_sel` 2 / `op_sel_hi` 5 without `clamp` or `neg`, which `llvm-mc` rejects: measured on `gfx1036` (the 5 sets above); `shader_disasm.py` prints it with its real encoding (`tests/semantic/test_fspx_dot4_op_sel_disasm.py`) and `skipped_form` recovers it from a gap in a listing made without that pass. (2) `op_sel` 0 / `op_sel_hi` 5 with an inline integer S1 and no `clamp` or `neg`, which `llvm-mc` decodes but prints with the default `op_sel_hi` 7: `restore_dot4_inline_sel` takes the stored field back, in a clean listing (`check_printed_encodings`) and in both re-anchoring paths; `op_sel_hi[1]` clear makes byte pairs 2..3 read S1's low half, the selection measured in (1), but the word itself was not run on hardware; confirmed by a count over the corpus (29 FidelityFX DLL programs, 1.0.2.1, LLVM 21.1.8: 22 translate without it, 24 with it, all 24 pass `spirv-val`; Code-embedded data row) and pinned by `tests/semantic/test_reanchor_dot4_inline_sel.py`. (3) Every other form `llvm-mc` decodes but prints with the default fields (for example `op_sel_hi` 5 with a VGPR S1, or `op_sel` 1 / `op_sel_hi` 6) is not measured and is refused as a dropped field; `tests/semantic/test_dot4_printed_op_sel.py` checks forms (2) and (3) with hand-built words. A general rule that took the stored fields of any such word (from luizwidmer/palmetto) was not taken for that reason. `neg_lo`/`neg_hi`, which `llvm-mc` accepts on `v_dot4_i32_i8` only, are not ignored (`neg_lo` flips bit 15 and `neg_hi` bit 31 of S0 or S1, and on S2 `neg_hi` clears bit 31 before `neg_lo` flips it; 5 sets under 8 forms, 45 words): any set bit stays Unsupported, while an all-zero field is the plain instruction. Counts: the 29 FSPX programs use the pair 27,271 times (`v_dot4c_i32_i8` 25,813, `v_dot4_i32_i8` 1,458), all in 13 programs; none of the game's own 26,503 shaders has either encoding (0 of the 12,791 words `llvm-mc` cannot decode there with gfx1013). The measured unclamped `op_sel` 2 / `op_sel_hi` 5 form is also recovered from the bytes on a gap in a listing that `shader_disasm.py` did not print it into (`skipped_form`, #984). | |
| 446 | | Workgroup barriers | `s_barrier` (cs/ms) is one `OpControlBarrier` (workgroup scope, workgroup memory). On RDNA every `s_barrier` counts against the same workgroup barrier and a wave that has ended no longer counts, while Vulkan requires a barrier to be reached by every invocation in uniform control flow. Under `--wave64-emulate` the round loop keeps a single barrier at the top level, so this holds. **Native wave32 compute shaders run in barrier rounds** when an `s_barrier` sits anywhere but a top-level block of the structured tree (one every invocation runs): under a guard, in a loop, or in the dispatch loop (`needs_barrier_rounds`, `bar_scheduler`). That is the emulated loop without its cross-lane part: `s_barrier` ends a segment, each invocation runs its blocks until its next `s_barrier` or the end, then the whole workgroup meets at one `OpControlBarrier` (the same workgroup/acquire-release/workgroup-memory semantics) at the end of the round. A wave that is done no longer holds the others, and a per-round count of the invocations not done (three `Workgroup` words, by round mod 3) ends the loop. A wave that is done no longer holds the others, and a per-round count of the invocations not done (three `Workgroup` words, by round mod 3, or a borrowed LDS word with a large LDS: "Barrier-round count in LDS (SHADER-579)") ends the loop. Cross-lane operations stay subgroup operations, as in the dispatch loop, since a wave's lanes run the same segment. A barrier in a top-level block keeps the single `OpControlBarrier` in place. In the 1.0.2.1 corpus 43 of the 55 wave32 cs shaders with `s_barrier` have one nested (SHADER-91's count), so those 43 now run in rounds. Why: an Intel GPU does not survive the nested form. `cs_barrier_divergent.asm` (two barrier sites in different branches), `cs_barrier_early_end.asm` (the other waves end without a barrier) and `cs_barrier_loop.asm` (a barrier in a loop whose trip count differs per wave) each lose the device (`vkQueueWaitIdle` → `VK_ERROR_DEVICE_LOST`) on an Intel Arrow Lake Xe-LPG iGPU (Windows 32.0.101.8132), and `cs_barrier_divergent` hangs or writes nothing on a UHD 770 (101.6129, #634). With barrier rounds all three pass there and on an RTX 5070 Ti Laptop (617.42). NVIDIA passed them before too (RTX 4070 Ti on 610.88 and 621.24, RTX 5090 on Linux 595.99, RTX 5070 Ti). **Still not proven on the native wave64 path** (wave64 cs and every ms, run natively only on AMD's 64-wide subgroups): there the barrier stays where `s_barrier` is, inside a selection or loop construct in every ms and most wave64 cs shaders of the corpus. Branches are scalar, so whole waves take the same path, and RDNA's own barrier counts the way the shader expects. | | 447 | | Workgroup barriers | `s_barrier` (cs/ms) is one `OpControlBarrier` (workgroup scope, workgroup memory). On RDNA every `s_barrier` counts against the same workgroup barrier and a wave that has ended no longer counts, while Vulkan requires a barrier to be reached by every invocation in uniform control flow. Under `--wave64-emulate` the round loop keeps a single barrier at the top level, so this holds. **Native wave32 compute shaders run in barrier rounds** when an `s_barrier` sits anywhere but a top-level block of the structured tree (one every invocation runs): under a guard, in a loop, or in the dispatch loop (`needs_barrier_rounds`, `bar_scheduler`). That is the emulated loop without its cross-lane part: `s_barrier` ends a segment, each invocation runs its blocks until its next `s_barrier` or the end, then the whole workgroup meets at one `OpControlBarrier` (the same workgroup/acquire-release/workgroup-memory semantics) at the end of the round. A wave that is done no longer holds the others, and a per-round count of the invocations not done (three `Workgroup` words, by round mod 3) ends the loop. A wave that is done no longer holds the others, and a per-round count of the invocations not done (three `Workgroup` words, by round mod 3, or a borrowed LDS word with a large LDS: "Barrier-round count in LDS (SHADER-579)") ends the loop. Cross-lane operations stay subgroup operations, as in the dispatch loop, since a wave's lanes run the same segment. A barrier in a top-level block keeps the single `OpControlBarrier` in place. In the 1.0.2.1 corpus 43 of the 55 wave32 cs shaders with `s_barrier` have one nested (SHADER-91's count), so those 43 now run in rounds. Why: an Intel GPU does not survive the nested form. `cs_barrier_divergent.asm` (two barrier sites in different branches), `cs_barrier_early_end.asm` (the other waves end without a barrier) and `cs_barrier_loop.asm` (a barrier in a loop whose trip count differs per wave) each lose the device (`vkQueueWaitIdle` → `VK_ERROR_DEVICE_LOST`) on an Intel Arrow Lake Xe-LPG iGPU (Windows 32.0.101.8132), and `cs_barrier_divergent` hangs or writes nothing on a UHD 770 (101.6129, #634). With barrier rounds all three pass there and on an RTX 5070 Ti Laptop (617.42). NVIDIA passed them before too (RTX 4070 Ti on 610.88 and 621.24, RTX 5090 on Linux 595.99, RTX 5070 Ti). **Still not proven on the native wave64 path** (wave64 cs and every ms, run natively only on AMD's 64-wide subgroups): there the barrier stays where `s_barrier` is, inside a selection or loop construct in every ms and most wave64 cs shaders of the corpus. Branches are scalar, so whole waves take the same path, and RDNA's own barrier counts the way the shader expects. | |
| 448 | | Wave64 emulation: single-wave barrier fallback | `translate()` re-translates an emulated compute program as the round loop (`Gen.x_scheduler`) when its inline structured form has an `OpControlBarrier` inside a selection or loop construct (`barriers_under_control_flow`), because a barrier only part of the workgroup reaches hangs NVIDIA (Xid 109). That fallback applies **only to multi-wave plans**. A single-wave workgroup (`plan_structured_emulation` mode `inline_all`, `x_lanes == 64`, also a partial group of fewer than 64 threads) is one wave: `%pc` between blocks comes from scalar state and votes read back from `%x_buf`, so every invocation takes the same path, and lane-local `%pc` exists only inside `emit_folded_region`'s `if (%active)` bodies, which emit no exchange and no barrier. Its barriers stay where the exchanges are, at the top level or under `%pc`-only guards. Why: the round loop keeps nearly the whole register file live across its back edge and through a switch over every segment (thousands of cases in large programs); on RADV/ACO (RX 7900 XTX, Mesa 26.3.1, offline `vk_pipeline_check` compiles only) that drove `aco::spill` past a 12 GiB cap (53 GB uncapped) on a large single-wave program the structured form compiles in 7–8.5 min under 3 GiB, and past 12 GiB in 35 s on a 4.9 MB one that compiles in 5 s at 0.3 GiB structured. ACO's static latency for single-wave programs with loops was 17 to 280 times that of the structured form, with VGPR spills each round, and three such programs (loops of up to thousands of iterations, one round per block visited) hung game runs on that GPU. Confirmed by a count over the 1.0.2.1 corpus: of the 820 single-wave emulated compute shaders of the main set that the fallback had put in the round loop, 666 get an `inline_all` plan, and in all 666 every barrier is at the top level or under constructs whose conditions load only `%pc` (none reads `%active`, a VGPR or `local_id`); the other 154 have no plan and stay rounds either way. Re-translated with this rule, exactly those 666 come out structured, the pipeline library's single-wave rounds drop from 818 to 171 (all 297 of them with loops are structured), and the translated and `spirv-val`-valid counts are unchanged (26,503 main, 2,683 library); recompiled, the 4.9 MB program takes 3.6 s at 0.37 GiB. CPU-checked by `tests/semantic/test_wave64_single_wave_barrier.py` (`wave64_single_wave_barrier.asm`: a cross-half `v_readlane_b32` in a uniform loop and a uniform branch, structured and round forms give the same words, every barrier guard loads only `%pc`), `test_wave64_emulate_opt.py` (`cs_inline_64`/`cs_inline_40`, both wave orders) and `test_loop_ballot_barrier.py`. **Not GPU-verified on NVIDIA**, the platform the fallback was written for. | | ||
| 447 | | Barrier-round count in LDS (SHADER-579) | Barrier rounds (see "Workgroup barriers") count the invocations not done in `%x_buf`, three `Workgroup` dwords (#930). On a full 32 KiB LDS that made 32,780 B, 12 bytes over the 32,768 B `maxComputeSharedMemorySize` of the AMD Windows (RX 9070 XT) and Intel (UHD 770) drivers, so the runtime refused those pipelines (2 native wave32 cs in towade's 1.0.2.1 corpus, [finding](https://github.com/ItsNotRexed/Leonida/pull/1882#issuecomment-7084298032)). Rule (`bar_counts_in_lds`): when the shader uses its LDS and the LDS array plus 12 bytes is over 16,384 B (the Vulkan minimum limit, so in practice an array of 16, 32 or 64 KiB), there is no `%x_buf`. The count borrows LDS word 0 at the end of each round (`bar_scheduler_tail`): after the round's barrier every invocation is done or waits at `s_barrier`, so no shader code runs; invocation 0 saves the word in a Function variable and clears it, barrier, every invocation not done adds 1 atomically, barrier, all read the count, barrier, invocation 0 stores the saved word back, barrier. The shader sees its LDS bit for bit as before, and the four extra barriers sit where the whole workgroup already waits, so `s_barrier`'s semantics are unchanged; the cost is four more `OpControlBarrier`s per round in those shaders only. Below the threshold `%x_buf` stays (12 bytes fit every device) with one barrier per round; a shader that never touches its LDS also keeps it (no array to borrow from, 12 B in all). A 32 KiB LDS is now exactly 32,768 B and a 64 KiB one 65,536 B (before: 65,548 B, refused or shrunk to its allocation). Not chosen: putting the count in LDS the shader never touches (unprovable with dynamic addresses), or deciding per device (the translator runs offline). Pinned by `tests/semantic/test_cs_barrier_counts_lds.py` (Workgroup bytes from the emitted SPIR-V and `lds_bytes` for 32 KiB, 64 KiB and small LDS, under a 32 KiB `--max-shared-memory`; ring shifts across 10 barriers that read word 0 and an early-ending wave in the workgroup interpreter, whose LDS starts as 0xDEADBEEF, in both wave orders). Confirmed by those CPU tests only; GPU runs on the 32 KiB devices are pending. | | 449 | | Barrier-round count in LDS (SHADER-579) | Barrier rounds (see "Workgroup barriers") count the invocations not done in `%x_buf`, three `Workgroup` dwords (#930). On a full 32 KiB LDS that made 32,780 B, 12 bytes over the 32,768 B `maxComputeSharedMemorySize` of the AMD Windows (RX 9070 XT) and Intel (UHD 770) drivers, so the runtime refused those pipelines (2 native wave32 cs in towade's 1.0.2.1 corpus, [finding](https://github.com/ItsNotRexed/Leonida/pull/1882#issuecomment-7084298032)). Rule (`bar_counts_in_lds`): when the shader uses its LDS and the LDS array plus 12 bytes is over 16,384 B (the Vulkan minimum limit, so in practice an array of 16, 32 or 64 KiB), there is no `%x_buf`. The count borrows LDS word 0 at the end of each round (`bar_scheduler_tail`): after the round's barrier every invocation is done or waits at `s_barrier`, so no shader code runs; invocation 0 saves the word in a Function variable and clears it, barrier, every invocation not done adds 1 atomically, barrier, all read the count, barrier, invocation 0 stores the saved word back, barrier. The shader sees its LDS bit for bit as before, and the four extra barriers sit where the whole workgroup already waits, so `s_barrier`'s semantics are unchanged; the cost is four more `OpControlBarrier`s per round in those shaders only. Below the threshold `%x_buf` stays (12 bytes fit every device) with one barrier per round; a shader that never touches its LDS also keeps it (no array to borrow from, 12 B in all). A 32 KiB LDS is now exactly 32,768 B and a 64 KiB one 65,536 B (before: 65,548 B, refused or shrunk to its allocation). Not chosen: putting the count in LDS the shader never touches (unprovable with dynamic addresses), or deciding per device (the translator runs offline). Pinned by `tests/semantic/test_cs_barrier_counts_lds.py` (Workgroup bytes from the emitted SPIR-V and `lds_bytes` for 32 KiB, 64 KiB and small LDS, under a 32 KiB `--max-shared-memory`; ring shifts across 10 barriers that read word 0 and an early-ending wave in the workgroup interpreter, whose LDS starts as 0xDEADBEEF, in both wave orders). Confirmed by those CPU tests only; GPU runs on the 32 KiB devices are pending. | |
| 448 | | LDS | A `Workgroup` uint array sized from LDS_SIZE, rounded up to a power of two that also covers every constant offset (15 of 486 shaders index past LDS_SIZE). Covers `ds_read/write_b32..b128`, `read2/write2` (+`st64`), `u16`/`i16`/`u8`/`i8` reads (also `ds_read_u16_d16`/`_d16_hi` and, since SHADER-85, `ds_read_u8_d16`/`_d16_hi` and `ds_read_i8_d16`/`_d16_hi`: the byte is zero- or sign-extended 8→16 into one half of the destination VGPR and the other half is kept, per the RDNA2 ISA DS opcode descriptions (opcodes 162–165) and as for the u16 d16 reads; GPU-checked with `cs_w32_lds_u8_d16.asm`, byte values 0x80/0xFF/0x7F with a non-zero `offset:`), `b16`/`b8` writes (atomic and/or, so neighbouring lanes don't race; a 16-bit read or write at byte 3 of a dword also reads or writes byte 0 of the next dword, as llc-15 `-mcpu=gfx1030 -mattr=+unaligned-access-mode` emits one `ds_read_u16`/`ds_write_b16 ... offset:3` for an align-1 halfword; until 2026-11-22 the reads extracted 16 bits at bit 24, undefined in SPIR-V, and the writes kept only byte 3; `tests/semantic/test_lds_u16_cross_dword.py`), the add/sub/min/max/and/or/xor atomics with and without return, `wrxchg`, `cmpst` (`OpAtomicCompareExchange` with DATA as comparator and DATA2 as value), and `ds_bpermute_b32` as a subgroup shuffle. GPU-checked with `cs_w32_lds_u8_d16.asm`, byte values 0x80/0xFF/0x7F with a non-zero `offset:`), `b16`/`b8` writes (atomic and/or, so neighbouring lanes don't race), the add/sub/min/max/and/or/xor atomics with and without return, `wrxchg`, `cmpst` (`OpAtomicCompareExchange` with DATA as comparator and DATA2 as value), and `ds_bpermute_b32` as a subgroup shuffle. `ds_permute_b32`, its forward (scatter) form, has no Vulkan equivalent: each source lane that is on in EXEC publishes `((vAddr + offset) >> 2) mod 32` and each destination lane scans the 32 sources of its half and keeps the last one that targets it (a shuffle of target and data per source lane; under `--wave64-emulate` two buffer rounds and a Function variable instead). Per the ISA pseudocode (`tmp[0..63] = 0`; `next if !EXEC[i]` on the source; `VGPR[VDST][i] = tmp[i]` only `if EXEC[i]`): a destination lane nobody targets gets 0, an off source sends nothing, an off destination keeps its VDST, and the half rule above applies as for `ds_bpermute_b32`. When several sources target one lane the ISA leaves the winner unpredictable ("the value from one of the writers"; its pseudocode says the highest-numbered); the translator takes the highest, and nothing may depend on it. Confirmed by the GPU tests `cs_w32_permute.asm` and, per half of a wave64, `cs_w64x_permute.asm` (SHADER-90: rotation, offset, unwritten lane = 0, off destination keeps its value, off source does not win), `cs_w32_partial_permute.asm` (a 20-thread wave32: a launched lane whose source lane was never launched gets 0, and a send to a missing lane is lost; the same words from a raw 20-thread `hw_oracle` kernel on `gfx1036`) and `tests/semantic/test_ds_permute.py`. **Hardware-verified on RDNA2 (`gfx1036`, AMD Ryzen 7 9800X3D iGPU, Linux AMDGPU DRM via `tools/hw_oracle`, wave32 and wave64, SHADER-133)** with `tools/ds_permute_probe.py` (9/9 cases exact in both wave sizes): unaddressed active lanes get 0, off destinations keep VDST, off sources send nothing, 2-/4-/32-way collisions deterministically take the highest-numbered active lane in the 32-lane half (matching the translator), `vAddr + offset` carries from the low 2 bits before `>> 2` mod 32, wave64 runs as two independent 32-lane halves (`+32` wraps within each half), and missing lanes of a partial wave (20 threads in wave32, 40 in wave64) send nothing. A source lane that is off in EXEC reads 0 and an off destination lane keeps its value (RDNA ISA §10.4.4), in wave32 as in wave64. In wave64 the permute also runs as two wave32s: each half reads lanes of its own half. Until 2026-11-21 lanes 32–63 of a 64-wide subgroup read the low half and inactive sources kept their value (`cs_w64x_bpermute`, AMD Radeon 880M); the wave32 path shuffled the raw value until the same day (`cs_bpermute32`: wave32, EXEC without lanes 8–15, so lane 6 reads 0; GPU-checked on RTX 5070 and Radeon 880M). A source lane that doesn't exist, in the missing lanes of a partial wave, also reads 0: the shuffle result is kept only where a ballot of the running invocations has the source lane, since SPIR-V leaves a shuffle from an invocation that isn't running undefined. Before this, RADV returned stale register values that changed between runs (`cs_w64x_partial`, a 40-thread group, native wave64 on AMD RX 6700 XT, RADV Mesa 26.3.1). Writes and atomics run only in active lanes. Indices wrap at the array size, where hardware would return 0 for out-of-range reads. `s_barrier` = `OpControlBarrier` Workgroup/Workgroup, AcquireRelease + WorkgroupMemory. | | 450 | | LDS | A `Workgroup` uint array sized from LDS_SIZE, rounded up to a power of two that also covers every constant offset (15 of 486 shaders index past LDS_SIZE). Covers `ds_read/write_b32..b128`, `read2/write2` (+`st64`), `u16`/`i16`/`u8`/`i8` reads (also `ds_read_u16_d16`/`_d16_hi` and, since SHADER-85, `ds_read_u8_d16`/`_d16_hi` and `ds_read_i8_d16`/`_d16_hi`: the byte is zero- or sign-extended 8→16 into one half of the destination VGPR and the other half is kept, per the RDNA2 ISA DS opcode descriptions (opcodes 162–165) and as for the u16 d16 reads; GPU-checked with `cs_w32_lds_u8_d16.asm`, byte values 0x80/0xFF/0x7F with a non-zero `offset:`), `b16`/`b8` writes (atomic and/or, so neighbouring lanes don't race; a 16-bit read or write at byte 3 of a dword also reads or writes byte 0 of the next dword, as llc-15 `-mcpu=gfx1030 -mattr=+unaligned-access-mode` emits one `ds_read_u16`/`ds_write_b16 ... offset:3` for an align-1 halfword; until 2026-11-22 the reads extracted 16 bits at bit 24, undefined in SPIR-V, and the writes kept only byte 3; `tests/semantic/test_lds_u16_cross_dword.py`), the add/sub/min/max/and/or/xor atomics with and without return, `wrxchg`, `cmpst` (`OpAtomicCompareExchange` with DATA as comparator and DATA2 as value), and `ds_bpermute_b32` as a subgroup shuffle. GPU-checked with `cs_w32_lds_u8_d16.asm`, byte values 0x80/0xFF/0x7F with a non-zero `offset:`), `b16`/`b8` writes (atomic and/or, so neighbouring lanes don't race), the add/sub/min/max/and/or/xor atomics with and without return, `wrxchg`, `cmpst` (`OpAtomicCompareExchange` with DATA as comparator and DATA2 as value), and `ds_bpermute_b32` as a subgroup shuffle. `ds_permute_b32`, its forward (scatter) form, has no Vulkan equivalent: each source lane that is on in EXEC publishes `((vAddr + offset) >> 2) mod 32` and each destination lane scans the 32 sources of its half and keeps the last one that targets it (a shuffle of target and data per source lane; under `--wave64-emulate` two buffer rounds and a Function variable instead). Per the ISA pseudocode (`tmp[0..63] = 0`; `next if !EXEC[i]` on the source; `VGPR[VDST][i] = tmp[i]` only `if EXEC[i]`): a destination lane nobody targets gets 0, an off source sends nothing, an off destination keeps its VDST, and the half rule above applies as for `ds_bpermute_b32`. When several sources target one lane the ISA leaves the winner unpredictable ("the value from one of the writers"; its pseudocode says the highest-numbered); the translator takes the highest, and nothing may depend on it. Confirmed by the GPU tests `cs_w32_permute.asm` and, per half of a wave64, `cs_w64x_permute.asm` (SHADER-90: rotation, offset, unwritten lane = 0, off destination keeps its value, off source does not win), `cs_w32_partial_permute.asm` (a 20-thread wave32: a launched lane whose source lane was never launched gets 0, and a send to a missing lane is lost; the same words from a raw 20-thread `hw_oracle` kernel on `gfx1036`) and `tests/semantic/test_ds_permute.py`. **Hardware-verified on RDNA2 (`gfx1036`, AMD Ryzen 7 9800X3D iGPU, Linux AMDGPU DRM via `tools/hw_oracle`, wave32 and wave64, SHADER-133)** with `tools/ds_permute_probe.py` (9/9 cases exact in both wave sizes): unaddressed active lanes get 0, off destinations keep VDST, off sources send nothing, 2-/4-/32-way collisions deterministically take the highest-numbered active lane in the 32-lane half (matching the translator), `vAddr + offset` carries from the low 2 bits before `>> 2` mod 32, wave64 runs as two independent 32-lane halves (`+32` wraps within each half), and missing lanes of a partial wave (20 threads in wave32, 40 in wave64) send nothing. A source lane that is off in EXEC reads 0 and an off destination lane keeps its value (RDNA ISA §10.4.4), in wave32 as in wave64. In wave64 the permute also runs as two wave32s: each half reads lanes of its own half. Until 2026-11-21 lanes 32–63 of a 64-wide subgroup read the low half and inactive sources kept their value (`cs_w64x_bpermute`, AMD Radeon 880M); the wave32 path shuffled the raw value until the same day (`cs_bpermute32`: wave32, EXEC without lanes 8–15, so lane 6 reads 0; GPU-checked on RTX 5070 and Radeon 880M). A source lane that doesn't exist, in the missing lanes of a partial wave, also reads 0: the shuffle result is kept only where a ballot of the running invocations has the source lane, since SPIR-V leaves a shuffle from an invocation that isn't running undefined. Before this, RADV returned stale register values that changed between runs (`cs_w64x_partial`, a 40-thread group, native wave64 on AMD RX 6700 XT, RADV Mesa 26.3.1). Writes and atomics run only in active lanes. Indices wrap at the array size, where hardware would return 0 for out-of-range reads. `s_barrier` = `OpControlBarrier` Workgroup/Workgroup, AcquireRelease + WorkgroupMemory. | |
| 449 | | LDS access order within a wave (`Volatile`) | RDNA2 runs a wave in lockstep with an in-order LDS queue, so a `ds_read` issued after a `ds_write` sees every lane's write with no `s_barrier` between them (`cs_w64x_lds_raw`), and a `ds_write` issued after a `ds_read` does not change what that read returned (`cs_w64x_lds_war`). Translated, a lane is an invocation, and the Vulkan memory model orders nothing between invocations without a barrier or an atomic, so a driver's compiler may move an invocation's load ahead of its own earlier store to another address, or merge two loads of one address. Results consistent with these optimizations were observed with AMD's Windows driver 24.30.46 (LLPC, Vulkan 1.3.302) on a Radeon 880M (RDNA3.5, native 64-wide compute subgroups): on `main` `561b65a8` both tests failed on every run with uninitialized Workgroup memory in all eight words, and in `cs_w64x_lds_war` the second read returned the same words as the first. Rule: every plain LDS `OpLoad` and `OpStore` (`lds_load`, `lds_store` and the two ADDTID forms) carries the `Volatile` memory operand, which prevents elimination, duplication or combination of the access ([SPIR-V memory operands](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#Memory_Access)). This rule applies to plain accesses only. On that GPU and driver `Volatile` on the store alone or on the load alone made `cs_w64x_lds_raw` return its expected words (hand-edited SPIR-V, 3 of 3 runs each, against 0 of 4 unmodified), and with the rule both tests pass: `run_gpu_tests.py` goes from 210 to 212 of 232 passed with none failing (20 skipped), native and with `LEONIDA_W64_EMULATE=1`. An RTX 5070 Laptop (NVIDIA 621.01) gives the same results before and after (183 of 232 native, 214 emulated; `ms_wave_info_s3` fails both times). The operand changes 17 of the 238 test shaders and nothing but those loads and stores. A [full Xbox 1.0.2.1 corpus comparison](https://github.com/ItsNotRexed/Leonida/pull/6714#issuecomment-7107280378) translated and validated all 26,503 shaders at both 561b65a8 and 58deee34. Only the added operands differed in the 484 compute and 5 mesh modules that changed. The RAW and WAR results establish a workaround on the tested driver. Portable ordering between invocations requires synchronization appropriate to the accesses (see #2345). Under `--wave64-emulate` the halves meet at the round barriers as before; the operand is emitted there too. CPU-checked by `tests/semantic/test_lds_volatile.py` (every plain access form on the wave32, wave64 and emulated paths, and no other access is Volatile). | | 451 | | LDS access order within a wave (`Volatile`) | RDNA2 runs a wave in lockstep with an in-order LDS queue, so a `ds_read` issued after a `ds_write` sees every lane's write with no `s_barrier` between them (`cs_w64x_lds_raw`), and a `ds_write` issued after a `ds_read` does not change what that read returned (`cs_w64x_lds_war`). Translated, a lane is an invocation, and the Vulkan memory model orders nothing between invocations without a barrier or an atomic, so a driver's compiler may move an invocation's load ahead of its own earlier store to another address, or merge two loads of one address. Results consistent with these optimizations were observed with AMD's Windows driver 24.30.46 (LLPC, Vulkan 1.3.302) on a Radeon 880M (RDNA3.5, native 64-wide compute subgroups): on `main` `561b65a8` both tests failed on every run with uninitialized Workgroup memory in all eight words, and in `cs_w64x_lds_war` the second read returned the same words as the first. Rule: every plain LDS `OpLoad` and `OpStore` (`lds_load`, `lds_store` and the two ADDTID forms) carries the `Volatile` memory operand, which prevents elimination, duplication or combination of the access ([SPIR-V memory operands](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#Memory_Access)). This rule applies to plain accesses only. On that GPU and driver `Volatile` on the store alone or on the load alone made `cs_w64x_lds_raw` return its expected words (hand-edited SPIR-V, 3 of 3 runs each, against 0 of 4 unmodified), and with the rule both tests pass: `run_gpu_tests.py` goes from 210 to 212 of 232 passed with none failing (20 skipped), native and with `LEONIDA_W64_EMULATE=1`. An RTX 5070 Laptop (NVIDIA 621.01) gives the same results before and after (183 of 232 native, 214 emulated; `ms_wave_info_s3` fails both times). The operand changes 17 of the 238 test shaders and nothing but those loads and stores. A [full Xbox 1.0.2.1 corpus comparison](https://github.com/ItsNotRexed/Leonida/pull/6714#issuecomment-7107280378) translated and validated all 26,503 shaders at both 561b65a8 and 58deee34. Only the added operands differed in the 484 compute and 5 mesh modules that changed. The RAW and WAR results establish a workaround on the tested driver. Portable ordering between invocations requires synchronization appropriate to the accesses (see #2345). Under `--wave64-emulate` the halves meet at the round barriers as before; the operand is emitted there too. CPU-checked by `tests/semantic/test_lds_volatile.py` (every plain access form on the wave32, wave64 and emulated paths, and no other access is Volatile). | |
diff --git a/docs/directstorage.md b/docs/directstorage.md index 919d52282..1618d221f 100644 --- a/docs/directstorage.md +++ b/docs/directstorage.md | |||
| @@ -84,6 +84,19 @@ The first boot with the executable settles most of this: the dry-run report show | |||
| 84 | `DSTORAGE_QUEUE_OPTIONS::AutoSubmitDisabled`). An enqueue into a full queue waits for space, as the reference | 84 | `DSTORAGE_QUEUE_OPTIONS::AutoSubmitDisabled`). An enqueue into a full queue waits for space, as the reference |
| 85 | says; with auto-submit disabled only a `Submit` from another thread frees it. One worker thread per queue runs | 85 | says; with auto-submit disabled only a `Submit` from another thread frees it. One worker thread per queue runs |
| 86 | the submitted entries in order, so every notification follows all the entries before it. | 86 | the submitted entries in order, so every notification follows all the entries before it. |
| 87 | - **Reads into physical pages wait for `Submit`**: an automatic submit stops at the first request whose | ||
| 88 | destination is a physical page list; that request and every entry behind it wait for the title's own `Submit`. | ||
| 89 | A title may fill the page-number table such a list points into only in its submit path, so an early read finds | ||
| 90 | page 0 (the entry fails) or the number the slot held before (the data lands in a page that now belongs to | ||
| 91 | something else, with no error). A full queue submits the held entries too, since the title cannot call `Submit` | ||
| 92 | while it waits in an enqueue, and so does `Close`. The idea is from VIctory (`Marvisak/VIctory` `eddde73`, also | ||
| 93 | in `fxceless/victory-fork` `79cfdd9`); the queue here keeps its order, so entries behind a held read wait with | ||
| 94 | it. `LEONIDA_DSTORAGE_HOLD_PAGES=0` restores the automatic submit of everything. A hold ends after | ||
| 95 | `LEONIDA_DSTORAGE_HOLD_MS` milliseconds without a `Submit` (2000 unless set): the held entries are submitted with | ||
| 96 | their page lists as they are, as a timed release, so a path that never calls `Submit` cannot stall for good. `0` | ||
| 97 | is no time limit (a hold of five seconds is then logged once). The `[rt] ds-hold` line counts automatic submits, | ||
| 98 | reads held, full-queue and timed releases, and destination lists that named page 0 when written (`event=`, at | ||
| 99 | each power of two of the counter that moved). | ||
| 87 | - **Requests**: copied at enqueue. A file request reads `SourceSize` bytes at `FileOffset` into `Destination`; a | 100 | - **Requests**: copied at enqueue. A file request reads `SourceSize` bytes at `FileOffset` into `Destination`; a |
| 88 | memory request copies `Source` to `Destination` (`memmove`, so an overlapping pair is safe); a zlib request | 101 | memory request copies `Source` to `Destination` (`memmove`, so an overlapping pair is safe); a zlib request |
| 89 | inflates those `SourceSize` bytes into `Destination` (below). Checked in this order when the worker reaches the | 102 | inflates those `SourceSize` bytes into `Destination` (below). Checked in this order when the worker reaches the |
| @@ -190,7 +203,16 @@ The first boot with the executable settles most of this: the dry-run report show | |||
| 190 | 256 blocks of a stream. It combines adjacent mips from the same layer with full-stream index anchor | 203 | 256 blocks of a stream. It combines adjacent mips from the same layer with full-stream index anchor |
| 191 | and shared-p-bit constraints. A shared p-bit can relate low red endpoint bits even when its sibling | 204 | and shared-p-bit constraints. A shared p-bit can relate low red endpoint bits even when its sibling |
| 192 | mip supplies only the leading bits. These local fits preserve the recorded precision and exact reference | 205 | mip supplies only the leading bits. These local fits preserve the recorded precision and exact reference |
| 193 | bits. A profile can still lack endpoint values or exceed the reference consistency tolerance. Such a request reports a decompression error before publication. | 206 | bits. A packed tail whose larger mips are BCPack-coded too has no raw or zlib sibling, so a history field that |
| 207 | only such tails use stayed unknown: in the game runs of 2026-11-25 two BC7 tail streams of one pool failed | ||
| 208 | with `missing-endpoint` (alpha fields of two history entries). For the streams that still start a chain at a | ||
| 209 | missing field, the fitter now decodes the nearest BCPack sibling with the profile so far and fits against it, | ||
| 210 | repeating while a round adds fields. The sibling may sit in the same refused BC7 stream: every block whose | ||
| 211 | chains start elsewhere is still determined, and the undetermined ones are left out of the reference. Those | ||
| 212 | fields are fitted, never confirmed, and fill only what the other fits left empty. On the 1.0.2.1 package this | ||
| 213 | raised the BC7 endpoint fields from 4,228 to 4,406 of 6,144; the runtime decoder then refuses 8 of 5,167 BC7 | ||
| 214 | streams instead of 60 (both failing requests decode), and the 268 BC6H streams are unchanged (10 refused; a | ||
| 215 | refused BC6H sibling is not used as a reference yet). A profile can still lack endpoint values or exceed the reference consistency tolerance. Such a request reports a decompression error before publication. | ||
| 194 | - The four swizzle modes interleave stripes from request-wide component planes into 16 KiB (mode 1) or | 216 | - The four swizzle modes interleave stripes from request-wide component planes into 16 KiB (mode 1) or |
| 195 | 32 KiB (modes 2–4) groups. The enum names give the successive stripe widths. The shipped BC4 sample | 217 | 32 KiB (modes 2–4) groups. The enum names give the successive stripe widths. The shipped BC4 sample |
| 196 | separates its endpoint planes from indices across the inflated source. The title's compute shader does | 218 | separates its endpoint planes from indices across the inflated source. The title's compute shader does |
| @@ -213,8 +235,9 @@ The first boot with the executable settles most of this: the dry-run report show | |||
| 213 | 235 | ||
| 214 | `runtime/test/dstorage_test.cpp` (ctest `dstorage`) runs on synthetic files in `%TEMP%` through the registry entries | 236 | `runtime/test/dstorage_test.cpp` (ctest `dstorage`) runs on synthetic files in `%TEMP%` through the registry entries |
| 215 | under all three module names: `GAME:` reads with an overlay copy winning, offsets, zero size, a range past the end, | 237 | under all three module names: `GAME:` reads with an overlay copy winning, offsets, zero size, a range past the end, |
| 216 | cancellation, auto-submit, a full queue, status arrays, fences (a CPU fence object that checks the data is in place | 238 | cancellation, auto-submit, reads into physical pages held for `Submit` (a page list changed or filled before it, |
| 217 | when it is signalled), events, error records, file and queue close with requests in flight, a destination the | 239 | a full queue, the time limit, the switch), a full queue, status arrays, fences (a CPU fence object that checks the |
| 240 | data is in place when it is signalled), events, error records, file and queue close with requests in flight, a destination the | ||
| 218 | process cannot write, four threads enqueueing at once, the interface-id policy (unknown and system ids refused by | 241 | process cannot write, four threads enqueueing at once, the interface-id policy (unknown and system ids refused by |
| 219 | `QueryInterface`, learned by creating calls), a `GetHandle` handle with its own file position, an event closed (and | 242 | `QueryInterface`, learned by creating calls), a `GetHandle` handle with its own file position, an event closed (and |
| 220 | its handle value reused) before it is set, and cancelled requests that also had an enqueue error. zlib requests use | 243 | its handle value reused) before it is set, and cancelled requests that also had an enqueue error. zlib requests use |
diff --git a/docs/gameinput.md b/docs/gameinput.md index 1301a4a49..e0df71085 100644 --- a/docs/gameinput.md +++ b/docs/gameinput.md | |||
| @@ -55,10 +55,13 @@ scripted pad, driven by the script alone: | |||
| 55 | shim, or through `IGameInputDispatcher::Dispatch` once the title made a dispatcher) and found by `FindDeviceFromId`. | 55 | shim, or through `IGameInputDispatcher::Dispatch` once the title made a dispatcher) and found by `FindDeviceFromId`. |
| 56 | It is already connected, so a callback registered without enumeration hears nothing. | 56 | It is already connected, so a callback registered without enumeration hears nothing. |
| 57 | - **The readings:** `GetCurrentReading`, `GetNextReading` and `GetPreviousReading`, with gamepad, UI navigation, | 57 | - **The readings:** `GetCurrentReading`, `GetNextReading` and `GetPreviousReading`, with gamepad, UI navigation, |
| 58 | controller axis and controller button state. A reading is taken when the title asks for one and the script's state | 58 | controller axis and controller button state. A reading is taken when the title asks for one, so no thread polls, |
| 59 | has changed since the last, so no thread polls; the history keeps the last 64 readings. | 59 | but it first adds one reading for every change the script made since the last, stamped with the script's own time: |
| 60 | a press that starts and ends between two reads of the title is still in the history, where `GetNextReading` finds | ||
| 61 | it, and the readings are the same however often the title reads. The history keeps the last 64 readings. | ||
| 60 | - **The timeline:** the same as with SDL3 (`runtime/shims/gameinput_script.h` holds the parser, the timeline and the | 62 | - **The timeline:** the same as with SDL3 (`runtime/shims/gameinput_script.h` holds the parser, the timeline and the |
| 61 | log lines for both): seconds from the first `GameInputCreate`, each press held 300 ms, then released. | 63 | log lines for both): seconds from the first `GameInputCreate`, each press held 300 ms (or its own `:hold`, see |
| 64 | `LEONIDA_INPUT_SCRIPT` below), then released. | ||
| 62 | - **Not served:** reading callbacks, aggregate devices, rumble and every other device. Those slots answer `E_NOTIMPL` | 65 | - **Not served:** reading callbacks, aggregate devices, rumble and every other device. Those slots answer `E_NOTIMPL` |
| 63 | and log the slot once. Controllers and the [keyboard pad](#keyboard-pad) still need SDL3. | 66 | and log the slot once. Controllers and the [keyboard pad](#keyboard-pad) still need SDL3. |
| 64 | 67 | ||
| @@ -70,10 +73,17 @@ The start of the run logs one line with the counts, and each press logs the same | |||
| 70 | [rt] gameinput: press a@40.0 (Scripted pad (Leonida)) | 73 | [rt] gameinput: press a@40.0 (Scripted pad (Leonida)) |
| 71 | ``` | 74 | ``` |
| 72 | 75 | ||
| 73 | A press is logged when the title reads it, so a press the title never reads is not logged. `LEONIDA_INPUT_LOG=0` | 76 | A press is logged at the next reading the title asks for, with the script's time of the press, so a press is logged |
| 74 | turns the `press` lines off. Without `LEONIDA_INPUT_SCRIPT`, the shim serves no devices and answers `E_NOTIMPL` for | 77 | once the title reads its pad again. `LEONIDA_INPUT_LOG=0` turns the `press` lines off. `LEONIDA_INPUT_TRACE=1` |
| 78 | (diagnostic, this shim only) logs what the title asks for: the first 128 `GetCurrentReading`, `GetNextReading` and | ||
| 79 | `GetPreviousReading` calls, then every one that returns a pressed button and every 1000th, the device callbacks and | ||
| 80 | `RegisterDeviceCallback` calls, and the first few calls of each reading method. Without `LEONIDA_INPUT_SCRIPT`, the shim serves no devices and answers `E_NOTIMPL` for | ||
| 75 | every slot past `Release`, as before. | 81 | every slot past `Release`, as before. |
| 76 | 82 | ||
| 83 | `LEONIDA_INPUT_FILE=<path>` drives a run whose display takes no keyboard input (a headless session): every line | ||
| 84 | appended to that file names one button of the script's table (`a`, `down`, ...) and becomes a press at once, held | ||
| 85 | like a scripted one. The file is read again at most every 250 ms. It is for local runs only. | ||
| 86 | |||
| 77 | `scripts/build_runtime.ps1` (what `make_game.py` runs) builds the shim only on its CMake path, when Visual Studio's | 87 | `scripts/build_runtime.ps1` (what `make_game.py` runs) builds the shim only on its CMake path, when Visual Studio's |
| 78 | C++ CMake tools are installed. Its direct-`cl.exe` fallback compiles a fixed file list without the shim and warns | 88 | C++ CMake tools are installed. Its direct-`cl.exe` fallback compiles a fixed file list without the shim and warns |
| 79 | about it. | 89 | about it. |
| @@ -335,7 +345,7 @@ line is logged when it takes effect); tracking goes on underneath, so clearing i | |||
| 335 | | `LEONIDA_PROMPTS_SWITCH_MS` | `300` | shortest time between two changes of the active input family, 0..2000 ms | | 345 | | `LEONIDA_PROMPTS_SWITCH_MS` | `300` | shortest time between two changes of the active input family, 0..2000 ms | |
| 336 | | `LEONIDA_GAMEINPUT_THREAD` | `1` | `0` stops the background poll thread; only `rt::gameinput::poll()` then reads the pads (tests) | | 346 | | `LEONIDA_GAMEINPUT_THREAD` | `1` | `0` stops the background poll thread; only `rt::gameinput::poll()` then reads the pads (tests) | |
| 337 | | `LEONIDA_KEYBOARD_PAD` | `off` | `1` adds the [keyboard pad](#keyboard-pad), read while this process has focus; `always` reads keys whatever has focus | | 347 | | `LEONIDA_KEYBOARD_PAD` | `off` | `1` adds the [keyboard pad](#keyboard-pad), read while this process has focus; `always` reads keys whatever has focus | |
| 338 | | `LEONIDA_INPUT_SCRIPT` | unset | Comma-separated `button@seconds` entries, e.g. `a@2,a@4,start@6`. With SDL3 they drive the keyboard pad, which has to be enabled; without SDL3 they drive [one scripted pad](#scripted-input-without-sdl3), the only device. The first pad update (without SDL3, the first `GameInputCreate`) reads the script once at startup and starts the clock. `reload_config()` does not reread it. Each press lasts 300 ms. Buttons are `a b x y start back lb rb up down left right`. Spaces around entries are allowed. Empty entries, unknown buttons and invalid times (including negative or non-finite values) are counted and ignored. | | 348 | | `LEONIDA_INPUT_SCRIPT` | unset | Comma-separated `button@seconds` entries, e.g. `a@2,a@4,start@6`. With SDL3 they drive the keyboard pad, which has to be enabled; without SDL3 they drive [one scripted pad](#scripted-input-without-sdl3), the only device. The first pad update (without SDL3, the first `GameInputCreate`) reads the script once at startup and starts the clock. `reload_config()` does not reread it. Each press lasts 300 ms, or `hold` seconds when the entry is `button@seconds:hold` (more than 0, at most 600). With SDL3 a press then stays down until the title has read the pads six times since it began, but never past 5 s from its start (or its hold, if longer). A title reads its pad once a frame, so at a few seconds a frame a 300 ms press can fall between two reads and never arrive: on the retail title's "Couldn't autosave" prompt, three 300 ms `b` presses did nothing, while 120 presses 0.5 s apart got through; one `b@1100:3` replaces them. Buttons are `a b x y start back lb rb up down left right`. Spaces around entries are allowed. Empty entries, unknown buttons, invalid times (including negative or non-finite values) and invalid holds (0 or less, more than 600, not a number) are counted and ignored. | |
| 339 | | `LEONIDA_MOUSE_SENSITIVITY` | `1` | scales how far the mouse moves the keyboard pad's right stick, 0.1..10 | | 349 | | `LEONIDA_MOUSE_SENSITIVITY` | `1` | scales how far the mouse moves the keyboard pad's right stick, 0.1..10 | |
| 340 | 350 | ||
| 341 | SDL's own hints (`SDL_JOYSTICK_*`, see SDL's `SDL_hints.h`) also apply, for example `SDL_JOYSTICK_HIDAPI_PS5=0` to | 351 | SDL's own hints (`SDL_JOYSTICK_*`, see SDL's `SDL_hints.h`) also apply, for example `SDL_JOYSTICK_HIDAPI_PS5=0` to |
diff --git a/docs/linux_proton.md b/docs/linux_proton.md index de4760d70..42487ed49 100644 --- a/docs/linux_proton.md +++ b/docs/linux_proton.md | |||
| @@ -150,6 +150,10 @@ Each item was a stop on at least one of the machines. Tests named in the pull re | |||
| 150 | 150 | ||
| 151 | ## Where it stops | 151 | ## Where it stops |
| 152 | 152 | ||
| 153 | - **Writes into title memory.** A window is a read-side copy, so a UAV or raw write used to stop at the copy: the | ||
| 154 | missing return copy is the `WRITE_INVALID` device loss of #1537. The layer now copies the reached ranges back to | ||
| 155 | the title's pages at the next refresh, before the forward copy, and the title's own newer words win. Not yet | ||
| 156 | measured on a GPU with the world phase in front of it. | ||
| 153 | - **Streamed memory that reaches its destination late or not at all.** The title calls queue slot 31 | 157 | - **Streamed memory that reaches its destination late or not at all.** The title calls queue slot 31 |
| 154 | (`CopyPageMappingsBatchX`) about 300 times per boot. With #968 this branch maps each batch's pool pages at the | 158 | (`CopyPageMappingsBatchX`) about 300 times per boot. With #968 this branch maps each batch's pool pages at the |
| 155 | destination and at the paired CPU view the layer reads (`docs/d3d12_vulkan.md`, section 4.9), so most streamed | 159 | destination and at the paired CPU view the layer reads (`docs/d3d12_vulkan.md`, section 4.9), so most streamed |
| @@ -166,6 +170,72 @@ Each item was a stop on at least one of the machines. Tests named in the pull re | |||
| 166 | - **Under Wine** a thread that takes an access violation while holding the process heap lock can still deadlock | 170 | - **Under Wine** a thread that takes an access violation while holding the process heap lock can still deadlock |
| 167 | with xmem's fault handler; the test for it is skipped there. | 171 | with xmem's fault handler; the test for it is skipped there. |
| 168 | 172 | ||
| 173 | ## AMD on Linux: what got the world drawn | ||
| 174 | |||
| 175 | On 2026-11-26 a Linux machine with an RX 7900 XTX (and a Ryzen 9 7950X3D's RDNA2 iGPU), Mesa 26.3.1 (RADV) and Wine | ||
| 176 | drew the first world frames: the opening night street and a sunset street with palms, cars and a character, over | ||
| 177 | eight minutes in the world without a GPU hang, at about one frame per six seconds. The runtime was `main` `a73a57e13` | ||
| 178 | with #1914, #1957, #1972, #2044, #2097, #2124, #2129, #2144, #2162, #2195 and #2240 merged; they went into `main` | ||
| 179 | together with this section. Each step below removed a stop that ended every earlier run; they are in the order | ||
| 180 | they were found. | ||
| 181 | |||
| 182 | 1. **Raise amdgpu's GPU timeout.** `modinfo amdgpu -p` shows `lockup_timeout` with a default of 2000 ms: the kernel | ||
| 183 | resets any ring whose job runs over 2 s. World frames take seconds, so a run ended about 30 s into the world with | ||
| 184 | `ring gfx_0.0.0 timeout` in `journalctl -k`, no page fault, and a black last frame. Raise it as root and reboot: | ||
| 185 | `amdgpu.lockup_timeout=30000,60000,10000,10000` on the kernel command line (graphics, compute, SDMA, video, in | ||
| 186 | ms), or `options amdgpu lockup_timeout=30000,60000,10000,10000` in a file under `/etc/modprobe.d/` followed by an | ||
| 187 | initramfs rebuild. A real hang then freezes that ring, and a desktop on the same GPU, for up to that long, so don't | ||
| 188 | make it unlimited. Windows reporters raise `TdrDelay` for the same reason. | ||
| 189 | 2. **Native wave64 shaders.** On a GPU that runs wave64 natively (AMD RDNA), translate with | ||
| 190 | `make_game.py --stages shaders --wave64-emulate off`. Before `max_subgroup_decider` (`make_game.py`), the auto | ||
| 191 | mode took the smallest `maxSubgroupSize` over every Vulkan device, so an installed llvmpipe (8) turned emulation on for all | ||
| 192 | 23,841 wave64 shaders. Emulated single-wave compute programs were then translated in the round-loop form, which | ||
| 193 | hung the GPU on several library programs and drove RADV's compiler past 12 GiB (53 GB uncapped) on the largest; the | ||
| 194 | translator no longer does that for single-wave programs ([design.md](design.md), row "Wave64 emulation: | ||
| 195 | single-wave barrier fallback"). | ||
| 196 | The auto mode now leaves CPU devices out when a GPU is listed and names the device that decided. | ||
| 197 | 3. **Fill the pipeline journal with the runtime itself.** `gta6rt --precompile-pipelines --threads 16`, under Wine, | ||
| 198 | with the environment of the game run (`LEONIDA_SHADERS`, `LEONIDA_PIPELINE_CACHE_DIR`, `LEONIDA_DEVICE_FAULT`; | ||
| 199 | `--precompile-pipelines` in [d3d12_vulkan.md](d3d12_vulkan.md)). It built 3,693 compute pipelines; the next boot took | ||
| 200 | 1,900 of them from the journal in 0.1 s of driver time, and the menus ran at 30 frames/s instead of under one. | ||
| 201 | That run left out the programs `LEONIDA_SKIP_COMPUTE` named, which kept them out of the journal; the pre-compile | ||
| 202 | now builds them too unless it is given `--skip-listed`. | ||
| 203 | The `pipeline_cache.bin` that `make_game.py`'s pipelines stage writes with `vk_pipeline_check` gave no hits: 0 of | ||
| 204 | 5,526 journal pipeline keys were in its 29,861 objects (9 shader binaries were identical, so the machine code | ||
| 205 | matched and the keys did not). Each of three differences is enough for a miss on RADV: | ||
| 206 | - **The set of shaders:** the runtime's warm-up builds the library's compute programs (`library/index.json`, | ||
| 207 | 2,683 modules); the stage builds the main index and `bvh/`, and only 25 library modules are byte-identical to a | ||
| 208 | main-index one. | ||
| 209 | - **Robustness:** on RADV the runtime enables `robustBufferAccess`, `robustBufferAccess2` and `nullDescriptor`; | ||
| 210 | `vk_pipeline_check` turns `robustBufferAccess` off and leaves robustness2 off. RADV puts the robustness state into | ||
| 211 | every shader stage key, so every pipeline, compute and graphics, misses. | ||
| 212 | - **Layout and subgroup request:** for compute with set-0 bindings (2,244 of the 2,683) the checker builds set 0 | ||
| 213 | from default bindless features and requests the subgroup size without the runtime's full-subgroups flag; RADV | ||
| 214 | hashes the whole set layout and the stage flags. Graphics would miss anyway: the checker pairs each stage with a | ||
| 215 | stub and fixed state, and RADV hashes the full graphics state. | ||
| 216 | 4. **Leave out the ray-tracing programs.** 724 library compute programs have 2 MiB of SPIR-V or more (676 of them | ||
| 217 | ray-tracing resolve). The 89-167 s each in the driver were measured with wave64-emulated packs; with the native | ||
| 218 | pack of step 2 they build in seconds, so compile time is not the reason any more. Measured afterwards on the same | ||
| 219 | machine (RX 7900 XTX, RADV, Mesa 26.3.1, Wine): all 721 such programs of that pack built, 360 of them in 170 s on 32 | ||
| 220 | threads, 2.5-32 s each, the largest (13 MiB) in 28.5 s alone, at a peak of 14 GiB of RAM. Two world runs with all | ||
| 221 | of them in the journal and no skip list (one run per build) took them all from the journal and got no further | ||
| 222 | than runs with the skip list: one stopped submitting after 404 s with the GPU idle, the other lost the device | ||
| 223 | about 214 s in with every queue idle, a loss that also happens with the skip list set | ||
| 224 | ([running.md](running.md#settings-every-platform-needs)). Whether their output is correct is not measured, so the | ||
| 225 | longest runs still leave them out. `LEONIDA_RT_AS=off` drops acceleration-structure builds and copies, and | ||
| 226 | `LEONIDA_SKIP_COMPUTE=<name>,<name>,...` with those programs' `lib_cs_NNNNN` names (picked by module size from | ||
| 227 | `library/index.json`) drops their dispatches at play. The picture then lacks whatever those passes draw. | ||
| 228 | 5. **Keep the title's hang watchdog kicked.** The title exits on purpose (a write to address 0) when its main loop has | ||
| 229 | not reported for 30 s, which a world load under the runtime exceeds. `LEONIDA_TITLE_WATCHDOG=0` defuses it only | ||
| 230 | together with `LEONIDA_TITLE_WATCHDOG_KICK=<trap RVA>,<kick RVA>` (hex; `runtime/src/main.cpp`); the two values are | ||
| 231 | measured locally and never committed. With `=0` alone the loader logs that the watchdog stays armed. | ||
| 232 | |||
| 233 | The rest of that run's environment came from a Linux/Proton report on an RTX 3090: `LEONIDA_ASYNC_PIPELINES=0`, | ||
| 234 | `LEONIDA_DEVICE_TYPE=6`, `LEONIDA_MAP_READBACK=1`, `LEONIDA_TITLE_WINDOWS_MB=4096`, `LEONIDA_FRAME_PACING=1` and | ||
| 235 | `LEONIDA_PRESENT_NO_TEAR=1`. Still wrong after it: frames alternate between white-out, a correct picture and black; | ||
| 236 | some geometry is drawn in the wrong place; VRAM reached 18.3 of 22.3 GB; the run ended on a breakpoint in the title | ||
| 237 | after 12 minutes. | ||
| 238 | |||
| 169 | ## Reporting a result | 239 | ## Reporting a result |
| 170 | 240 | ||
| 171 | Say the machine (OS, GPU and driver, RAM), the commit, the environment switches that differ from the defaults, and | 241 | Say the machine (OS, GPU and driver, RAM), the commit, the environment switches that differ from the defaults, and |
diff --git a/docs/running.md b/docs/running.md new file mode 100644 index 000000000..161e3153d --- /dev/null +++ b/docs/running.md | |||
| @@ -0,0 +1,158 @@ | |||
| 1 | # Running the game, per platform and GPU | ||
| 2 | |||
| 3 | How the retail game has been run on each platform and GPU so far: the build, the shader pack, the pipeline | ||
| 4 | pre-compile, the driver and OS settings, the environment and what to expect. Every value is marked: | ||
| 5 | |||
| 6 | - **measured by us**: by the maintainers who wrote this page, on the machine named in that section; | ||
| 7 | - **reported by others**: from a public issue or comment, linked; not checked by us; | ||
| 8 | - **TBD**: nobody has reported it yet. A report fills it in ([Reporting](#reporting)). | ||
| 9 | |||
| 10 | Paths are placeholders: `<checkout>` is the repository, `<build>` the folder with `gta6rt.exe` and | ||
| 11 | `gta6rt_tls_host.dll`, `<work>` the work folder `make_game.py` writes, `<cache>` a folder for pipeline caches, | ||
| 12 | `<package>` the game's package folder and `<exe>` its executable. Under Wine, a Linux path is passed as `Z:<path>`. | ||
| 13 | |||
| 14 | ## Settings every platform needs | ||
| 15 | |||
| 16 | - **The title's hang watchdog.** The title exits on purpose (a write to address 0) when its main loop has not reported | ||
| 17 | for 30 s, which a world load under the runtime exceeds. `LEONIDA_TITLE_WATCHDOG=0` keeps it from firing only together | ||
| 18 | with `LEONIDA_TITLE_WATCHDOG_KICK=<trap RVA>,<kick RVA>` (hex), two addresses in the executable that each person | ||
| 19 | measures in their own copy (`runtime/src/main.cpp` describes the trap instruction the first must point at). The | ||
| 20 | values are never committed. With `=0` alone the loader logs that the watchdog stays armed. (Measured by us; the | ||
| 21 | watchdog was identified in [#2019](https://github.com/ubiquitarianism/leonida/issues/2019#issuecomment-7172996360).) | ||
| 22 | - **The GPU timeout.** World frames take seconds each. The OS's GPU timeout must be longer, or the driver resets the | ||
| 23 | GPU: amdgpu's `lockup_timeout` on Linux, `TdrDelay` on Windows (sections below). | ||
| 24 | - **Large ray-tracing programs.** 724 library compute programs have 2 MiB of SPIR-V or more (676 of them ray-tracing | ||
| 25 | resolve). With wave64 emulation they took 89-167 s each in the driver ([reported by others](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7184700506); | ||
| 26 | the count of 724 also measured by us). With a native wave64 pack compile time is no reason to leave them out: on an | ||
| 27 | RX 7900 XTX (RADV, Mesa 26.3.1, Wine) all 721 such programs of that pack built, 360 of them in 170 s on 32 threads, | ||
| 28 | 2.5-32 s each, the largest (13 MiB) in 28.5 s alone, at a peak of 14 GiB of RAM (measured by us). The pipeline | ||
| 29 | pre-compile builds them with the rest. Dispatched at play (measured by us, one run per condition: RX 7900 XTX 24 GB, | ||
| 30 | `LEONIDA_RT_AS=off`, no skip list, all 721 in the journal), they all came from the journal (2,700 compute | ||
| 31 | pipelines from it against 1,900 with the skip list set; none built in the game) and the load reached the world. | ||
| 32 | One run (a local build of `main` with four then-open pull requests) stopped submitting after 404 s with the GPU idle | ||
| 33 | and no GPU fault; the other (`main` `bd6ba97ab`) lost the device about 214 s in, after a read page fault, with | ||
| 34 | every queue idle in the dispatch markers. The same idle-queue device loss also happens with the skip list set, so | ||
| 35 | it is not shown to come from these programs, and running them got no further than the skip list's best runs | ||
| 36 | (about 11 minutes, ending on a title breakpoint). Whether their output is correct is not measured. Our longest | ||
| 37 | runs used `LEONIDA_SKIP_COMPUTE=<name>,<name>,...` with those programs' names (picked by module size from | ||
| 38 | `<work>/shaders/spirv/library/index.json`), which drops their dispatches at play, and `LEONIDA_RT_AS=off`, which | ||
| 39 | drops acceleration-structure builds. The picture then lacks what they draw. | ||
| 40 | |||
| 41 | ## Linux, Wine, AMD RX 7900 XTX (RADV) | ||
| 42 | |||
| 43 | Measured by us on 2026-11-26: RX 7900 XTX, Ryzen 9 7950X3D, Linux 7.3, Mesa 26.3.1 (RADV), Wine. Details and the | ||
| 44 | reasons behind each step: [linux_proton.md](linux_proton.md#amd-on-linux-what-got-the-world-drawn). | ||
| 45 | |||
| 46 | - **Build:** the clang-cl + xwin cross-build ([testing.md](testing.md#the-windows-runtime-on-linux-under-wine-or-proton)), | ||
| 47 | with SDL3 for the keyboard pad. | ||
| 48 | - **Shaders:** `python -I make_game.py --stages shaders --wave64-emulate off --work <work> --out <out>`. The GPU runs | ||
| 49 | wave64 natively; emulation is not needed. (`auto` picks the same here since llvmpipe no longer decides.) | ||
| 50 | - **Pipeline pre-compile:** `wine <build>/gta6rt.exe --precompile-pipelines --threads 16` with the run's | ||
| 51 | `LEONIDA_SHADERS`, `LEONIDA_PIPELINE_CACHE_DIR` and `LEONIDA_DEVICE_FAULT`, before the first run. It built 3,693 | ||
| 52 | compute pipelines. Not `make_game.py --stages pipelines`: its cache never matches the runtime's driver keys. | ||
| 53 | The pre-compile builds the programs `LEONIDA_SKIP_COMPUTE` names too (`--skip-listed` leaves them out) and ends | ||
| 54 | with one line that counts what it built, what was journaled already and what it left out. | ||
| 55 | - **Driver and OS:** `amdgpu.lockup_timeout=30000,60000,10000,10000` on the kernel command line (the default is | ||
| 56 | 2000 ms; reboot needed). | ||
| 57 | - **Environment:** | ||
| 58 | |||
| 59 | | Setting | Why | | ||
| 60 | |---|---| | ||
| 61 | | `LEONIDA_D3D12=vulkan` | the Vulkan backend | | ||
| 62 | | `LEONIDA_SHADERS=Z:<work>/shaders/spirv` | the native pack | | ||
| 63 | | `LEONIDA_PIPELINE_CACHE_DIR=Z:<cache>/pso` | the journal the pre-compile filled | | ||
| 64 | | `MESA_SHADER_CACHE_DIR=<cache>/mesa`, `MESA_SHADER_CACHE_MAX_SIZE=16G` | RADV's own cache, large enough for the pack | | ||
| 65 | | `LEONIDA_STARTUP_CACHE_CHECKPOINTS=1` | session cache snapshots during the boot | | ||
| 66 | | `LEONIDA_ASYNC_PIPELINES=0` | draws wait for their pipeline instead of being skipped | | ||
| 67 | | `LEONIDA_SERIAL_BIG_COMPILES=0`, `LEONIDA_COMPUTE_WARMUP_MAX_BYTES=8388608` | warm-up limits, as in the NVIDIA report below | | ||
| 68 | | `LEONIDA_RT_AS=off`, `LEONIDA_SKIP_COMPUTE=<list>` | the large ray-tracing programs, left out at play as in our longest runs ([above](#settings-every-platform-needs)) | | ||
| 69 | | `LEONIDA_TITLE_WATCHDOG=0`, `LEONIDA_TITLE_WATCHDOG_KICK=<trap RVA>,<kick RVA>` | the title's hang watchdog ([above](#settings-every-platform-needs)) | | ||
| 70 | | `LEONIDA_DEVICE_TYPE=6`, `LEONIDA_MAP_READBACK=1`, `LEONIDA_FRAME_PACING=1`, `LEONIDA_PRESENT_NO_TEAR=1` | taken over from the NVIDIA report below; their effect on AMD was not measured one by one | | ||
| 71 | | `LEONIDA_ARENA_MB=4095`, `LEONIDA_TITLE_WINDOWS_MB=4096`, `LEONIDA_GEOMETRY_MB=6144` | room for the title's buffers in the world | | ||
| 72 | | `LEONIDA_SHADOW_ALIAS_MS=5000`, `LEONIDA_CONSOLE_FIX_US=0` | carried from earlier boot runs; their effect here was not measured one by one | | ||
| 73 | | `LEONIDA_DEVICE_FAULT=1` | a device-loss report if the GPU hangs | | ||
| 74 | | `LEONIDA_KEYBOARD_PAD=always` | the keyboard as the pad | | ||
| 75 | |||
| 76 | - **Command:** from `<package>`, `wine <build>/gta6rt.exe --run Z:<exe> --game-dir Z:<package>`. | ||
| 77 | - **What to expect:** menus at 30 frames/s with no in-game compiling; the world after the story load, over eight | ||
| 78 | minutes without a GPU hang, at about one frame per six seconds. | ||
| 79 | - **Known problems:** frames alternate between white-out, a correct picture and black; some geometry is drawn in the | ||
| 80 | wrong place; VRAM reached 18.3 of 22.3 GB; the run ended on a breakpoint (`int3`) in the title after 12 minutes. | ||
| 81 | |||
| 82 | ## Linux, Wine, AMD RDNA2 iGPU (Ryzen 7000, RADV) | ||
| 83 | |||
| 84 | Measured by us on 2026-11-25/26, the same machine's integrated GPU (gfx1036), headless, before the watchdog's KICK | ||
| 85 | was known. The settings that drew the world on the RX 7900 XTX have not been tried here: TBD. | ||
| 86 | |||
| 87 | - **Build, shaders, pipeline pre-compile:** as for the RX 7900 XTX; the iGPU also runs wave64 natively. | ||
| 88 | - **Driver and OS:** the same `lockup_timeout` applies (TBD whether the values above are enough here). | ||
| 89 | - **Environment:** select the iGPU with `MESA_VK_DEVICE_SELECT=1002:164e` and | ||
| 90 | `MESA_VK_DEVICE_SELECT_FORCE_DEFAULT_DEVICE=1`. A cold compute warm-up made the title crawl at 0.12 frames/s behind | ||
| 91 | our own warm-ups; `LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES=131072` holds large warm-ups back while the title submits | ||
| 92 | (191 frames/s in the menus with it, measured on the RX 7900 XTX). | ||
| 93 | - **What to expect:** the boot, the first-run pages and the story load's loading screen (about 1,100 s into a run with | ||
| 94 | a partly warm cache). Every run then ended in the title's watchdog exit, about two minutes into the world load, | ||
| 95 | because only `LEONIDA_TITLE_WATCHDOG=0` was set. World frames: TBD. | ||
| 96 | - **Known problems:** TBD beyond the above. | ||
| 97 | |||
| 98 | ## Linux, Proton, NVIDIA | ||
| 99 | |||
| 100 | Reported by others: [#1608, comment 7184700506](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7184700506) | ||
| 101 | (RTX 3090 24 GB, NVIDIA 590.48.01, GE-Proton11-14, Debian 13). Not run by us. | ||
| 102 | |||
| 103 | - **Build:** clang-cl + xwin cross-build; `main` plus several pull requests and two local changes (listed in the report). | ||
| 104 | - **Shaders:** the main corpus, the library and FSPX with llvm-mc 23.1.6. Wave64 emulation: TBD from the report (it is | ||
| 105 | needed on NVIDIA's 32-wide subgroups; `auto` turns it on there). | ||
| 106 | - **Pipeline pre-compile:** caches warm from two earlier runs; no separate pre-compile is reported. | ||
| 107 | - **Driver and OS:** TBD. | ||
| 108 | - **Environment:** `LEONIDA_ASYNC_PIPELINES=0`, `LEONIDA_RT_AS=off`, `LEONIDA_SKIP_COMPUTE=<the 724 programs>`, | ||
| 109 | `LEONIDA_DEVICE_TYPE=6`, `LEONIDA_TITLE_WATCHDOG=0`, `LEONIDA_MAP_READBACK=1`, `LEONIDA_HOST_IMAGE_COPY=0`, | ||
| 110 | `LEONIDA_ARENA_MB=4095`, `LEONIDA_TITLE_WINDOWS_MB=4096`, `LEONIDA_SERIAL_BIG_COMPILES=0`, `LEONIDA_FRAME_PACING=1`, | ||
| 111 | `LEONIDA_PRESENT_NO_TEAR=1`. The report gives the reason for the skip list only: without it the world start waits | ||
| 112 | hours on the ray-tracing programs; with asynchronous pipelines instead the screen stayed black. Those compile times | ||
| 113 | are the report's pack; a native wave64 pack builds them in seconds each ([above](#settings-every-platform-needs)). | ||
| 114 | Where they still take minutes, `gta6rt --precompile-pipelines --big-threads N` bounds how many build at once (each | ||
| 115 | held about 3.5 GB of host memory on an RTX 4070 Ti) and `--skip-listed` leaves the listed ones out. | ||
| 116 | - **Command:** TBD. | ||
| 117 | - **What to expect:** the opening night street from about 650 s, at 0.1-0.2 frames/s, no device loss through 934 s. | ||
| 118 | The black stretch before it is graphics pipelines of 1-2.6 MB SPIR-V compiling one at a time, 5-10 s each. | ||
| 119 | - **Known problems:** nothing ray-traced is in the picture. | ||
| 120 | |||
| 121 | ## Windows, NVIDIA | ||
| 122 | |||
| 123 | Reported by others: [#2019](https://github.com/ubiquitarianism/leonida/issues/2019) (RTX 5090 32 GB, driver 616.92, | ||
| 124 | Windows 11). Not run by us. | ||
| 125 | |||
| 126 | - **Build:** `scripts/build_runtime.ps1` with SDL3, RelWithDebInfo. | ||
| 127 | - **Shaders:** `make_game.py --stages check,shaders,runtime` (26,503 shaders translated); wave64 emulation as `auto` | ||
| 128 | decides (on for NVIDIA). | ||
| 129 | - **Pipeline pre-compile:** TBD. | ||
| 130 | - **Driver and OS:** `TdrDelay` and `TdrDdiDelay` raised to 60 s, after which an 8.9 s pipeline build no longer | ||
| 131 | reset the device. | ||
| 132 | - **Environment:** `LEONIDA_D3D12=vulkan`, `LEONIDA_KEYBOARD_PAD=always`; the rest TBD. | ||
| 133 | - **Command:** `gta6rt.exe --first-run-ui game_scarlett_master.exe` from the package folder. | ||
| 134 | - **What to expect:** the first-run UI, then the title's watchdog exit at 145-204 s. With `LEONIDA_TITLE_WATCHDOG=0` | ||
| 135 | (before the KICK variable existed) the boot went on at about 24 frames/s and the machine then bugchecked | ||
| 136 | (`CRITICAL_PROCESS_DIED`) before a world frame. With the KICK values: TBD. | ||
| 137 | - **Known problems:** TBD. | ||
| 138 | |||
| 139 | ## Windows, AMD | ||
| 140 | |||
| 141 | TBD: no public report of a game run on Windows with an AMD GPU is known to us. What the code does: on RDNA1 and RDNA2 | ||
| 142 | under AMD's Windows driver, `make_game.py`'s `auto` translates native wave64, because that driver crashes on many | ||
| 143 | emulated wave64 compute pipelines (#857). `TdrDelay` applies as for NVIDIA. | ||
| 144 | |||
| 145 | ## Intel | ||
| 146 | |||
| 147 | TBD. | ||
| 148 | |||
| 149 | ## macOS (MoltenVK) | ||
| 150 | |||
| 151 | TBD. | ||
| 152 | |||
| 153 | ## Reporting | ||
| 154 | |||
| 155 | Post a run in the coordination issue, with the fields of these sections: machine (OS, GPU, driver, RAM), the commit, | ||
| 156 | how the shaders were made, the pipeline pre-compile, the OS and driver settings, every `LEONIDA_*` variable that | ||
| 157 | differs from the defaults (never the watchdog's RVA values), and how far the run got with its frame rate. Keep logs, | ||
| 158 | traces and screenshots on your machine ([linux_proton.md](linux_proton.md#reporting-a-result)). | ||
diff --git a/docs/runtime_imports.md b/docs/runtime_imports.md index e38dfbf74..e408d223d 100644 --- a/docs/runtime_imports.md +++ b/docs/runtime_imports.md | |||
| @@ -170,7 +170,7 @@ policy "other" (none is counted as returning an `HRESULT`), and they come from s | |||
| 170 | | `xg_xs.dll` | 2: `XGCreateTextureComputer`, `XGSuggestSwizzleMode` | texture layout computation | | 170 | | `xg_xs.dll` | 2: `XGCreateTextureComputer`, `XGSuggestSwizzleMode` | texture layout computation | |
| 171 | | `XCRDAPI.dll` | 1: `DStorageGetFactory` | DirectStorage | | 171 | | `XCRDAPI.dll` | 1: `DStorageGetFactory` | DirectStorage | |
| 172 | | `chad.dll` | 5: `XDspActivate`, `XDspConnectWithMaximumStreamLimit`, `XDspDeactivate`, `XDspDisconnect`, `XDspSubmitCommand` | the audio DSP | | 172 | | `chad.dll` | 5: `XDspActivate`, `XDspConnectWithMaximumStreamLimit`, `XDspDeactivate`, `XDspDisconnect`, `XDspSubmitCommand` | the audio DSP | |
| 173 | | `xapu.dll` | 5: `XApuConnect`, `XApuDequeueResult`, `XApuDisconnect`, `XApuEnqueueCommand`, `XApuGetResultCount` | the audio processing unit | | 173 | | `xapu.dll` | 5: `XApuConnect`, `XApuDequeueResult`, `XApuDisconnect`, `XApuEnqueueCommand`, `XApuGetResultCount` | the audio processing unit (Opus decode when `runtime/opus_decoder` is built) | |
| 174 | | `AcpHal.dll` | 9: `AcpHalAllocateShapeContexts`, `AcpHalCreate`, `AcpHalReleaseShapeContexts`, `ApuAlloc`, `ApuCreateHeap`, `ApuFree`, `ApuIsVirtualAddressValid`, `ApuMapApuAddress`, `ApuMapVirtualAddress` | the audio hardware layer | | 174 | | `AcpHal.dll` | 9: `AcpHalAllocateShapeContexts`, `AcpHalCreate`, `AcpHalReleaseShapeContexts`, `ApuAlloc`, `ApuCreateHeap`, `ApuFree`, `ApuIsVirtualAddressValid`, `ApuMapApuAddress`, `ApuMapVirtualAddress` | the audio hardware layer | |
| 175 | 175 | ||
| 176 | The game executable imports two functions from `xg_xs.dll`, the console's texture layout library: | 176 | The game executable imports two functions from `xg_xs.dll`, the console's texture layout library: |
| @@ -203,17 +203,19 @@ again at detach (reason 0), and there is no `exception`, `error` or `unimplement | |||
| 203 | unimplemented imports is reached by the TLS callbacks or the `DllMain`s. | 203 | unimplemented imports is reached by the TLS callbacks or the `DllMain`s. |
| 204 | 204 | ||
| 205 | The executable's audio imports `xapu.dll` (`XApuConnect`, `XApuDequeueResult`, `XApuDisconnect`, | 205 | The executable's audio imports `xapu.dll` (`XApuConnect`, `XApuDequeueResult`, `XApuDisconnect`, |
| 206 | `XApuEnqueueCommand`, `XApuGetResultCount`) and `chad.dll` (`XDspActivate`, `XDspConnectWithMaximumStreamLimit`, | 206 | `XApuEnqueueCommand`, `XApuGetResultCount`) are served by `runtime/shims/xapu_queue.cpp`; `chad.dll` |
| 207 | `XDspDeactivate`, `XDspDisconnect`, `XDspSubmitCommand`) are served by `runtime/shims/xapu_chad.cpp`. The shapes were | 207 | (`XDspActivate`, `XDspConnectWithMaximumStreamLimit`, `XDspDeactivate`, `XDspDisconnect`, `XDspSubmitCommand`) by |
| 208 | read statically from the executable's call sites: one each, four for `XApuEnqueueCommand`. Both connects succeed with | 208 | `runtime/shims/xapu_chad.cpp`. The shapes were read statically from the executable's call sites: one each, four for |
| 209 | a handle; the APU connect also returns a zeroed shared buffer the title writes stream input to and reads output from. | 209 | `XApuEnqueueCommand`. `XApuConnect` reads the title's 24-byte `ConnectInput` (process 1 = Opus at 48 kHz, stream |
| 210 | Commands are accepted and not processed, so the audio stays silent. A stream open (type 1) and a stream close | 210 | count, commands per stream, a shared buffer, options) and returns `{shared buffer, result event}`; it never writes the |
| 211 | (type 2) each queue one result of the same type and slot, because the title frees a stream id only when the close | 211 | input. Activate, process, deactivate and reset commands are copied from the title's stack command, and each queues one |
| 212 | result arrives. `XDspActivate` writes its two outputs as pointers to zeroed memory, which the title reads as "command | 212 | result in order. A process command decodes its Opus packet through `runtime/opus_decoder` (Rust over the BSD-3-Clause |
| 213 | done" after each `XDspSubmitCommand`. `XApuConnect` leaves its first argument, a global of the title, untouched. The | 213 | `opus-pure`) into the slot's output, honouring first frame, frame count, output length and the deinterleaved option; |
| 214 | buffer size (128 stream slots), the two results and the zeroed DSP status are hypotheses, explained in the file. | 214 | without the crate the result carries the table-of-contents frame count and silence. The layouts follow Marvisak/VIctory |
| 215 | `xapu_chad_test` calls all ten in those shapes. With `--trace`, the first call of each, and the first command of each type, is an | 215 | `crates/victory-hle/src/modules/apu.rs` (GPL-3.0-or-later). `XDspActivate` writes its two outputs as pointers to zeroed |
| 216 | `audio_queue` event. | 216 | memory, which the title reads as "command done" after each `XDspSubmitCommand`; the DSP stays silent. `xapu_chad_test` |
| 217 | covers the layouts, the queue and the silent path; `xapu_opus_test` the decoded path. With `--trace`, the first call of | ||
| 218 | each, and the first command of each type, is an `audio_queue` event. | ||
| 217 | The table above was measured before this shim and still lists these ten as unimplemented; they are served now. The call shapes agree with `docs/audio_hal_exe_calls.md`, which was measured with `tools/import_call_sites.py`. | 219 | The table above was measured before this shim and still lists these ten as unimplemented; they are served now. The call shapes agree with `docs/audio_hal_exe_calls.md`, which was measured with `tools/import_call_sites.py`. |
| 218 | 220 | ||
| 219 | What this does not show: `--run` has not been run, so the entry point has not been called and no import is known to be | 221 | What this does not show: `--run` has not been run, so the entry point has not been called and no import is known to be |
diff --git a/make_game.py b/make_game.py index 03d93a2b8..f1af5a172 100644 --- a/make_game.py +++ b/make_game.py | |||
| @@ -1879,26 +1879,54 @@ def keep_recorded_fallback(flag: str, work: str) -> bool: | |||
| 1879 | return True | 1879 | return True |
| 1880 | 1880 | ||
| 1881 | 1881 | ||
| 1882 | def smallest_max_subgroup(vulkaninfo_text: str): | 1882 | def max_subgroup_decider(vulkaninfo_text: str): |
| 1883 | """The smallest maxSubgroupSize vulkaninfo reports over all devices (text or --json output), or None.""" | 1883 | """(size, device, left_out): the smallest maxSubgroupSize vulkaninfo reports (text or --json output), the name |
| 1884 | of the device that reports it (None when the output names no devices), and the names of the CPU devices left | ||
| 1885 | out. A CPU device (llvmpipe, lavapipe, SwiftShader) only counts when no other device is listed: the runtime | ||
| 1886 | ranks it below every GPU (runtime/src/vulkan_device_filter.h, tools/vk_subgroup_info.py device_rank), and | ||
| 1887 | llvmpipe's maxSubgroupSize of 8 would otherwise turn emulation on beside a GPU with native wave64. size is | ||
| 1888 | None when it can't be told.""" | ||
| 1884 | size = r'maxSubgroupSize"?\s*[=:]\s*(\d+)' | 1889 | size = r'maxSubgroupSize"?\s*[=:]\s*(\d+)' |
| 1885 | # A device's own name is the least indented one; deeper ones (VK_KHR_maintenance7's layered APIs, e.g. | 1890 | # A device's own name is the least indented one; deeper ones (VK_KHR_maintenance7's layered APIs, e.g. |
| 1886 | # MoltenVK's Metal device, in both the text and the --json output) belong to the device above them. | 1891 | # MoltenVK's Metal device, in both the text and the --json output) belong to the device above them. |
| 1887 | names = list(re.finditer(r'(?m)^([ \t]*)"?deviceName"?\s*[=:]', vulkaninfo_text)) | 1892 | names = list(re.finditer(r'(?m)^([ \t]*)"?deviceName"?\s*[=:]\s*"?([^"\n]*)', vulkaninfo_text)) |
| 1888 | depth = min((len(m.group(1)) for m in names), default=0) | 1893 | depth = min((len(m.group(1)) for m in names), default=0) |
| 1889 | starts = [m.start() for m in names if len(m.group(1)) == depth] | 1894 | devices = [m for m in names if len(m.group(1)) == depth] |
| 1890 | if not starts: | 1895 | if not devices: |
| 1891 | sizes = [int(n) for n in re.findall(size, vulkaninfo_text)] | 1896 | sizes = [int(n) for n in re.findall(size, vulkaninfo_text)] |
| 1892 | return min(sizes) if sizes else None | 1897 | return (min(sizes) if sizes else None), None, [] |
| 1898 | # deviceType sits beside deviceName in VkPhysicalDeviceProperties (just before it in the text output; the | ||
| 1899 | # --json output may order the keys differently), so each device takes the nearest one at the same depth. | ||
| 1900 | types = [(m.start(), m.group(2)) for m in | ||
| 1901 | re.finditer(r'(?m)^([ \t]*)"?deviceType"?\s*[=:]\s*"?([A-Z_0-9]+)', vulkaninfo_text) | ||
| 1902 | if len(m.group(1)) == depth] | ||
| 1903 | |||
| 1904 | def is_cpu(pos): | ||
| 1905 | if not types: | ||
| 1906 | return False | ||
| 1907 | kind = min(types, key=lambda t: abs(t[0] - pos))[1] | ||
| 1908 | return kind.endswith("TYPE_CPU") or kind == "4" | ||
| 1909 | |||
| 1893 | # One section per device (a 1.3 device can print the size twice, in two property structs): one value each, | 1910 | # One section per device (a 1.3 device can print the size twice, in two property structs): one value each, |
| 1894 | # and a device that prints none makes the answer unknown rather than being left out of the smallest. | 1911 | # and a device that prints none makes the answer unknown rather than being left out of the smallest. |
| 1895 | per_device = [] | 1912 | per_device = [] |
| 1896 | for a, b in zip(starts, starts[1:] + [len(vulkaninfo_text)]): | 1913 | ends = [m.start() for m in devices[1:]] + [len(vulkaninfo_text)] |
| 1897 | sizes = [int(n) for n in re.findall(size, vulkaninfo_text[a:b])] | 1914 | for m, end in zip(devices, ends): |
| 1898 | if not sizes: | 1915 | sizes = [int(n) for n in re.findall(size, vulkaninfo_text[m.start():end])] |
| 1899 | return None | 1916 | per_device.append((min(sizes) if sizes else None, m.group(2).strip().rstrip(","), is_cpu(m.start()))) |
| 1900 | per_device.append(min(sizes)) | 1917 | gpus = [d for d in per_device if not d[2]] |
| 1901 | return min(per_device) | 1918 | left_out = [d[1] for d in per_device if d[2]] if gpus else [] |
| 1919 | counted = gpus or per_device | ||
| 1920 | if any(d[0] is None for d in counted): | ||
| 1921 | return None, None, left_out | ||
| 1922 | smallest = min(counted, key=lambda d: d[0]) | ||
| 1923 | return smallest[0], smallest[1], left_out | ||
| 1924 | |||
| 1925 | |||
| 1926 | def smallest_max_subgroup(vulkaninfo_text: str): | ||
| 1927 | """The smallest maxSubgroupSize vulkaninfo reports (text or --json output), or None; CPU devices only count when | ||
| 1928 | no GPU is listed (max_subgroup_decider).""" | ||
| 1929 | return max_subgroup_decider(vulkaninfo_text)[0] | ||
| 1902 | 1930 | ||
| 1903 | 1931 | ||
| 1904 | def wave64_settings(mode: str, *, mesh_compute: bool = False) -> tuple[bool, bool]: | 1932 | def wave64_settings(mode: str, *, mesh_compute: bool = False) -> tuple[bool, bool]: |
| @@ -1906,7 +1934,8 @@ def wave64_settings(mode: str, *, mesh_compute: bool = False) -> tuple[bool, boo | |||
| 1906 | shader is only exact without it when the GPU gives it 64-wide subgroups; with it, it is exact on any subgroup | 1934 | shader is only exact without it when the GPU gives it 64-wide subgroups; with it, it is exact on any subgroup |
| 1907 | size, at the cost of a workgroup barrier per segment. "auto" keeps emulation off on native-wave64 RDNA1/2 | 1935 | size, at the cost of a workgroup barrier per segment. "auto" keeps emulation off on native-wave64 RDNA1/2 |
| 1908 | under the AMD Windows driver. Elsewhere it turns emulation on unless every Vulkan device reports | 1936 | under the AMD Windows driver. Elsewhere it turns emulation on unless every Vulkan device reports |
| 1909 | maxSubgroupSize >= 64 and the runtime probe does not rule out native wave64.""" | 1937 | maxSubgroupSize >= 64 and the runtime probe does not rule out native wave64; a CPU device (llvmpipe) only |
| 1938 | counts when no GPU is listed (max_subgroup_decider).""" | ||
| 1910 | if mode == "on": | 1939 | if mode == "on": |
| 1911 | return True, False | 1940 | return True, False |
| 1912 | if mode == "off": | 1941 | if mode == "off": |
| @@ -1927,24 +1956,28 @@ def wave64_settings(mode: str, *, mesh_compute: bool = False) -> tuple[bool, boo | |||
| 1927 | "(#857), so auto uses native wave64 and rebuilds emulated outputs (--wave64-emulate on to force emulation)") | 1956 | "(#857), so auto uses native wave64 and rebuilds emulated outputs (--wave64-emulate on to force emulation)") |
| 1928 | return False, False | 1957 | return False, False |
| 1929 | exe = shutil.which("vulkaninfo") | 1958 | exe = shutil.which("vulkaninfo") |
| 1930 | size = None | 1959 | size, decider, left_out = None, None, [] |
| 1931 | if exe: | 1960 | if exe: |
| 1932 | try: | 1961 | try: |
| 1933 | r = subprocess.run([exe], capture_output=True, text=True, errors="replace", timeout=120) | 1962 | r = subprocess.run([exe], capture_output=True, text=True, errors="replace", timeout=120) |
| 1934 | size = smallest_max_subgroup(r.stdout) | 1963 | size, decider, left_out = max_subgroup_decider(r.stdout) |
| 1935 | except (OSError, subprocess.SubprocessError): | 1964 | except (OSError, subprocess.SubprocessError): |
| 1936 | size = None | 1965 | size = None |
| 1966 | if left_out: | ||
| 1967 | log(f"shaders: left out of the wave64 choice, as the runtime never picks a CPU device beside a GPU: " | ||
| 1968 | f"{', '.join(left_out)}") | ||
| 1937 | if size is None: | 1969 | if size is None: |
| 1938 | log("shaders: couldn't read the GPU's subgroup size from vulkaninfo: wave64 emulation on " | 1970 | log("shaders: couldn't read the GPU's subgroup size from vulkaninfo: wave64 emulation on " |
| 1939 | "(exact on every GPU; --wave64-emulate off to skip it on a GPU with 64-wide subgroups)") | 1971 | "(exact on every GPU; --wave64-emulate off to skip it on a GPU with 64-wide subgroups)") |
| 1940 | return True, True | 1972 | return True, True |
| 1941 | on = size < 64 | 1973 | on = size < 64 |
| 1974 | by = f" ({decider})" if decider else "" | ||
| 1942 | if not on and native64 is False: | 1975 | if not on and native64 is False: |
| 1943 | stages = "compute" if compute_only else "both compute and mesh" | 1976 | stages = "compute" if compute_only else "both compute and mesh" |
| 1944 | log(f"shaders: smallest maximum subgroup size is {size}, but the Vulkan query found no 64-wide path for " | 1977 | log(f"shaders: smallest maximum subgroup size is {size}{by}, but the Vulkan query found no 64-wide path for " |
| 1945 | f"{stages} (fixed default size or required-size control): wave64 emulation on") | 1978 | f"{stages} (fixed default size or required-size control): wave64 emulation on") |
| 1946 | return True, True | 1979 | return True, True |
| 1947 | log(f"shaders: smallest maximum subgroup size is {size}: wave64 emulation {'on' if on else 'off'}") | 1980 | log(f"shaders: smallest maximum subgroup size is {size}{by}: wave64 emulation {'on' if on else 'off'}") |
| 1948 | return on, True | 1981 | return on, True |
| 1949 | 1982 | ||
| 1950 | 1983 | ||
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 10ee582b1..f8edc3508 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt | |||
| @@ -158,6 +158,54 @@ if(WIN32 AND LEONIDA_BUILD_WINDOWS_RUNTIME) | |||
| 158 | message(FATAL_ERROR "LEONIDA_REQUIRE_XMA2_DECODER is enabled, but the Rust XMA2 decoder is unavailable") | 158 | message(FATAL_ERROR "LEONIDA_REQUIRE_XMA2_DECODER is enabled, but the Rust XMA2 decoder is unavailable") |
| 159 | endif() | 159 | endif() |
| 160 | 160 | ||
| 161 | # Rust Opus decoder (runtime/opus_decoder), the same pattern as the XMA2 decoder: cargo at | ||
| 162 | # configure time, a prebuilt -DLEONIDA_OPUS_DECODER_LIB, or the silent path in xapu_queue.cpp. | ||
| 163 | option(LEONIDA_REQUIRE_OPUS_DECODER "Fail configure if the Rust Opus decoder is unavailable" OFF) | ||
| 164 | set(LEONIDA_OPUS_DECODER_LIB "" CACHE FILEPATH | ||
| 165 | "Prebuilt leonida_opus_decoder.lib (skips running cargo at configure time)") | ||
| 166 | include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/opus_decoder.cmake") | ||
| 167 | leonida_resolve_prebuilt_opus_decoder("${LEONIDA_OPUS_DECODER_LIB}" "${CMAKE_BINARY_DIR}" _opus_lib_resolved) | ||
| 168 | if(_opus_lib_resolved) | ||
| 169 | message(STATUS "Using prebuilt Rust Opus decoder: ${_opus_lib_resolved}") | ||
| 170 | else() | ||
| 171 | if(NOT LEONIDA_CARGO) | ||
| 172 | find_program(LEONIDA_CARGO cargo) | ||
| 173 | endif() | ||
| 174 | if(LEONIDA_CARGO) | ||
| 175 | set(_opus_target x86_64-pc-windows-msvc) | ||
| 176 | set(_opus_target_dir ${CMAKE_BINARY_DIR}/opus_decoder) | ||
| 177 | set(_opus_lib ${_opus_target_dir}/${_opus_target}/release/leonida_opus_decoder.lib) | ||
| 178 | set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS | ||
| 179 | ${CMAKE_CURRENT_SOURCE_DIR}/opus_decoder/Cargo.toml | ||
| 180 | ${CMAKE_CURRENT_SOURCE_DIR}/opus_decoder/Cargo.lock | ||
| 181 | ${CMAKE_CURRENT_SOURCE_DIR}/opus_decoder/src/lib.rs) | ||
| 182 | execute_process( | ||
| 183 | COMMAND ${LEONIDA_CARGO} build --release --locked --target ${_opus_target} | ||
| 184 | --manifest-path ${CMAKE_CURRENT_SOURCE_DIR}/opus_decoder/Cargo.toml | ||
| 185 | --target-dir ${_opus_target_dir} | ||
| 186 | TIMEOUT 300 | ||
| 187 | RESULT_VARIABLE _opus_result) | ||
| 188 | if(_opus_result STREQUAL "0" AND EXISTS "${_opus_lib}") | ||
| 189 | set(_opus_lib_resolved "${_opus_lib}") | ||
| 190 | else() | ||
| 191 | message(WARNING "cargo build of runtime/opus_decoder failed: the XAPU Opus path will be silent") | ||
| 192 | endif() | ||
| 193 | else() | ||
| 194 | message(STATUS "cargo not found: runtime/opus_decoder not built, the XAPU Opus path will be silent") | ||
| 195 | endif() | ||
| 196 | endif() | ||
| 197 | if(_opus_lib_resolved) | ||
| 198 | add_library(leonida_opus_decoder STATIC IMPORTED) | ||
| 199 | set_target_properties(leonida_opus_decoder PROPERTIES | ||
| 200 | IMPORTED_LOCATION "${_opus_lib_resolved}" | ||
| 201 | INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/opus_decoder" | ||
| 202 | INTERFACE_COMPILE_DEFINITIONS LEONIDA_HAVE_OPUS_DECODER=1 | ||
| 203 | INTERFACE_LINK_LIBRARIES "kernel32;ntdll;userenv;ws2_32;dbghelp;synchronization") | ||
| 204 | endif() | ||
| 205 | if(LEONIDA_REQUIRE_OPUS_DECODER AND NOT TARGET leonida_opus_decoder) | ||
| 206 | message(FATAL_ERROR "LEONIDA_REQUIRE_OPUS_DECODER is enabled, but the Rust Opus decoder is unavailable") | ||
| 207 | endif() | ||
| 208 | |||
| 161 | find_package(Python3 COMPONENTS Interpreter REQUIRED) | 209 | find_package(Python3 COMPONENTS Interpreter REQUIRED) |
| 162 | set(bcpack_tools "${CMAKE_CURRENT_SOURCE_DIR}/../tools") | 210 | set(bcpack_tools "${CMAKE_CURRENT_SOURCE_DIR}/../tools") |
| 163 | set(bcpack_tables "${CMAKE_CURRENT_BINARY_DIR}/bcpack_tables.inc") | 211 | set(bcpack_tables "${CMAKE_CURRENT_BINARY_DIR}/bcpack_tables.inc") |
| @@ -199,6 +247,7 @@ if(WIN32 AND LEONIDA_BUILD_WINDOWS_RUNTIME) | |||
| 199 | shims/com_shim.cpp | 247 | shims/com_shim.cpp |
| 200 | shims/silent_audio.cpp | 248 | shims/silent_audio.cpp |
| 201 | shims/bcrypt_rng.cpp | 249 | shims/bcrypt_rng.cpp |
| 250 | shims/xapu_queue.cpp | ||
| 202 | shims/xapu_chad.cpp | 251 | shims/xapu_chad.cpp |
| 203 | shims/dstorage.cpp | 252 | shims/dstorage.cpp |
| 204 | ) | 253 | ) |
| @@ -352,6 +401,9 @@ if(WIN32 AND LEONIDA_BUILD_WINDOWS_RUNTIME) | |||
| 352 | target_link_libraries(gta6rt PRIVATE leonida_xma2_decoder) | 401 | target_link_libraries(gta6rt PRIVATE leonida_xma2_decoder) |
| 353 | target_link_libraries(acphal_test PRIVATE leonida_xma2_decoder) | 402 | target_link_libraries(acphal_test PRIVATE leonida_xma2_decoder) |
| 354 | endif() | 403 | endif() |
| 404 | if(TARGET leonida_opus_decoder) | ||
| 405 | target_link_libraries(gta6rt PRIVATE leonida_opus_decoder) | ||
| 406 | endif() | ||
| 355 | 407 | ||
| 356 | # The Zen 2 instructions a desktop CPU may lack (src/cpu_emulation.h): decoded, emulated on a CONTEXT, and run for | 408 | # The Zen 2 instructions a desktop CPU may lack (src/cpu_emulation.h): decoded, emulated on a CONTEXT, and run for |
| 357 | # real with the #UD handler installed, so an Intel host takes the emulated path and an AMD one the native path. | 409 | # real with the #UD handler installed, so an Intel host takes the emulated path and an AMD one the native path. |
| @@ -382,9 +434,11 @@ if(WIN32 AND LEONIDA_BUILD_WINDOWS_RUNTIME) | |||
| 382 | target_link_options(dstorage_test PRIVATE /OPT:NOREF) | 434 | target_link_options(dstorage_test PRIVATE /OPT:NOREF) |
| 383 | target_link_libraries(dstorage_test PRIVATE gta6rt_bcpack psapi) | 435 | target_link_libraries(dstorage_test PRIVATE gta6rt_bcpack psapi) |
| 384 | 436 | ||
| 385 | # xapu.dll and chad.dll, the APU and audio DSP command queues, resolved through the registry like xmem_test. | 437 | # xapu.dll and chad.dll, the APU and audio DSP command queues, resolved through the registry like xmem_test; Opus |
| 438 | # frame counts from hand-made packets. | ||
| 386 | add_executable(xapu_chad_test | 439 | add_executable(xapu_chad_test |
| 387 | test/xapu_chad_test.cpp | 440 | test/xapu_chad_test.cpp |
| 441 | shims/xapu_queue.cpp | ||
| 388 | shims/xapu_chad.cpp | 442 | shims/xapu_chad.cpp |
| 389 | shims/registry.cpp | 443 | shims/registry.cpp |
| 390 | ) | 444 | ) |
| @@ -393,6 +447,20 @@ if(WIN32 AND LEONIDA_BUILD_WINDOWS_RUNTIME) | |||
| 393 | target_compile_options(xapu_chad_test PRIVATE /W4 /permissive- /utf-8) | 447 | target_compile_options(xapu_chad_test PRIVATE /W4 /permissive- /utf-8) |
| 394 | target_link_options(xapu_chad_test PRIVATE /OPT:NOREF) | 448 | target_link_options(xapu_chad_test PRIVATE /OPT:NOREF) |
| 395 | 449 | ||
| 450 | if(TARGET leonida_opus_decoder) | ||
| 451 | # xapu_queue.cpp with the decoder compiled in, against the generated Opus tone. | ||
| 452 | add_executable(xapu_opus_test | ||
| 453 | test/xapu_opus_test.cpp | ||
| 454 | shims/xapu_queue.cpp | ||
| 455 | shims/registry.cpp | ||
| 456 | ) | ||
| 457 | target_include_directories(xapu_opus_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/shims) | ||
| 458 | target_compile_definitions(xapu_opus_test PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX) | ||
| 459 | target_compile_options(xapu_opus_test PRIVATE /W4 /permissive- /utf-8) | ||
| 460 | target_link_options(xapu_opus_test PRIVATE /OPT:NOREF) | ||
| 461 | target_link_libraries(xapu_opus_test PRIVATE leonida_opus_decoder) | ||
| 462 | endif() | ||
| 463 | |||
| 396 | # The boot stack's earlier xapu.dll and chad.dll shims (shims/xapu.cpp, shims/chad.cpp), which gta6rt no longer | 464 | # The boot stack's earlier xapu.dll and chad.dll shims (shims/xapu.cpp, shims/chad.cpp), which gta6rt no longer |
| 397 | # links (it serves both DLLs from xapu_chad.cpp): their ABI tests stay as tests of those files. | 465 | # links (it serves both DLLs from xapu_chad.cpp): their ABI tests stay as tests of those files. |
| 398 | # xapu shim ABI test: resolves the registered xapu.dll exports through the registry. | 466 | # xapu shim ABI test: resolves the registered xapu.dll exports through the registry. |
| @@ -814,6 +882,9 @@ if(BUILD_TESTING) | |||
| 814 | add_executable(pipeline_cache_store_test test/pipeline_cache_store_test.cpp) | 882 | add_executable(pipeline_cache_store_test test/pipeline_cache_store_test.cpp) |
| 815 | add_test(NAME pipeline_cache_store COMMAND pipeline_cache_store_test) | 883 | add_test(NAME pipeline_cache_store COMMAND pipeline_cache_store_test) |
| 816 | 884 | ||
| 885 | add_executable(heavy_pipeline_cache_test test/heavy_pipeline_cache_test.cpp) | ||
| 886 | add_test(NAME heavy_pipeline_cache COMMAND heavy_pipeline_cache_test) | ||
| 887 | |||
| 817 | # The per-pipeline journal files compute pipelines are kept in: naming, header check, atomic replacement. | 888 | # The per-pipeline journal files compute pipelines are kept in: naming, header check, atomic replacement. |
| 818 | add_executable(pipeline_cache_journal_test test/pipeline_cache_journal_test.cpp) | 889 | add_executable(pipeline_cache_journal_test test/pipeline_cache_journal_test.cpp) |
| 819 | add_test(NAME pipeline_cache_journal COMMAND pipeline_cache_journal_test) | 890 | add_test(NAME pipeline_cache_journal COMMAND pipeline_cache_journal_test) |
| @@ -825,6 +896,10 @@ if(BUILD_TESTING) | |||
| 825 | add_test(NAME compile_helper COMMAND compile_helper_test) | 896 | add_test(NAME compile_helper COMMAND compile_helper_test) |
| 826 | endif() | 897 | endif() |
| 827 | 898 | ||
| 899 | # D24/D16 fragment depth quantisation and bias SPIR-V patcher (runtime/src/depth24_fragment.h): pure stdlib. | ||
| 900 | add_executable(depth24_fragment_test test/depth24_fragment_test.cpp) | ||
| 901 | add_test(NAME depth24_fragment COMMAND depth24_fragment_test) | ||
| 902 | |||
| 828 | add_executable(xdxr_build_output_test test/xdxr_build_output_test.cpp) | 903 | add_executable(xdxr_build_output_test test/xdxr_build_output_test.cpp) |
| 829 | add_test(NAME xdxr_build_output COMMAND xdxr_build_output_test) | 904 | add_test(NAME xdxr_build_output COMMAND xdxr_build_output_test) |
| 830 | 905 | ||
| @@ -1434,6 +1509,8 @@ if(BUILD_TESTING) | |||
| 1434 | # Which SPIR-V modules declare a storage image or buffer they may write (src/spirv_stores.h), on hand-built words. | 1509 | # Which SPIR-V modules declare a storage image or buffer they may write (src/spirv_stores.h), on hand-built words. |
| 1435 | add_executable(spirv_stores_test test/spirv_stores_test.cpp) | 1510 | add_executable(spirv_stores_test test/spirv_stores_test.cpp) |
| 1436 | add_test(NAME spirv_stores COMMAND spirv_stores_test) | 1511 | add_test(NAME spirv_stores COMMAND spirv_stores_test) |
| 1512 | add_executable(list_value_wait_budget_test test/list_value_wait_budget_test.cpp) | ||
| 1513 | add_test(NAME list_value_wait_budget COMMAND list_value_wait_budget_test) | ||
| 1437 | add_executable(shader_fixture_path_test test/shader_fixture_path_test.cpp) | 1514 | add_executable(shader_fixture_path_test test/shader_fixture_path_test.cpp) |
| 1438 | add_test(NAME shader_fixture_path COMMAND shader_fixture_path_test) | 1515 | add_test(NAME shader_fixture_path COMMAND shader_fixture_path_test) |
| 1439 | add_executable(resource_tiling_test test/resource_tiling_test.cpp) | 1516 | add_executable(resource_tiling_test test/resource_tiling_test.cpp) |
| @@ -1596,6 +1673,9 @@ if(BUILD_TESTING) | |||
| 1596 | if(WIN32 AND TARGET xapu_chad_test) | 1673 | if(WIN32 AND TARGET xapu_chad_test) |
| 1597 | add_test(NAME xapu_chad COMMAND xapu_chad_test) | 1674 | add_test(NAME xapu_chad COMMAND xapu_chad_test) |
| 1598 | endif() | 1675 | endif() |
| 1676 | if(WIN32 AND TARGET xapu_opus_test) | ||
| 1677 | add_test(NAME xapu_opus COMMAND xapu_opus_test) | ||
| 1678 | endif() | ||
| 1599 | if(WIN32 AND TARGET xapu_test) | 1679 | if(WIN32 AND TARGET xapu_test) |
| 1600 | add_test(NAME xapu COMMAND xapu_test) | 1680 | add_test(NAME xapu COMMAND xapu_test) |
| 1601 | endif() | 1681 | endif() |
| @@ -2204,6 +2284,34 @@ if(TARGET Vulkan::Headers) | |||
| 2204 | add_test(NAME vk_null_descriptor COMMAND vk_null_descriptor_test) | 2284 | add_test(NAME vk_null_descriptor COMMAND vk_null_descriptor_test) |
| 2205 | set_tests_properties(vk_null_descriptor PROPERTIES SKIP_RETURN_CODE 77) | 2285 | set_tests_properties(vk_null_descriptor PROPERTIES SKIP_RETURN_CODE 77) |
| 2206 | endif() | 2286 | endif() |
| 2287 | # More than 4096 live 1D, 2D-array and 3D images, each read through its bindless index, in a set sized from the | ||
| 2288 | # device's limits; a full array's refusal reason and indices coming back. The shader is GLSL; without | ||
| 2289 | # glslangValidator the test skips. | ||
| 2290 | add_executable(vk_bindless_dimensions_test test/vk_bindless_dimensions_test.cpp) | ||
| 2291 | target_link_libraries(vk_bindless_dimensions_test PRIVATE Vulkan::Headers ${CMAKE_DL_LIBS}) | ||
| 2292 | if(WIN32) | ||
| 2293 | target_compile_definitions(vk_bindless_dimensions_test PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX) | ||
| 2294 | endif() | ||
| 2295 | if(MSVC) | ||
| 2296 | target_compile_options(vk_bindless_dimensions_test PRIVATE /W4 /permissive- /utf-8) | ||
| 2297 | endif() | ||
| 2298 | if(Vulkan_GLSLANG_VALIDATOR_EXECUTABLE) | ||
| 2299 | set(_bindless_dimensions_spv ${CMAKE_CURRENT_BINARY_DIR}/generated/cs_bindless_dimensions.spv) | ||
| 2300 | add_custom_command(OUTPUT ${_bindless_dimensions_spv} | ||
| 2301 | COMMAND ${Vulkan_GLSLANG_VALIDATOR_EXECUTABLE} -V --target-env vulkan1.3 -o ${_bindless_dimensions_spv} | ||
| 2302 | ${CMAKE_CURRENT_SOURCE_DIR}/test/glsl/cs_bindless_dimensions.comp | ||
| 2303 | DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/test/glsl/cs_bindless_dimensions.comp | ||
| 2304 | COMMENT "Compiling the bindless dimensions test shader" VERBATIM) | ||
| 2305 | target_sources(vk_bindless_dimensions_test PRIVATE ${_bindless_dimensions_spv}) | ||
| 2306 | target_compile_definitions(vk_bindless_dimensions_test PRIVATE | ||
| 2307 | LEONIDA_TEST_BINDLESS_DIMENSIONS_SPV="${_bindless_dimensions_spv}") | ||
| 2308 | else() | ||
| 2309 | message(STATUS "glslangValidator not found: vk_bindless_dimensions_test skips") | ||
| 2310 | endif() | ||
| 2311 | if(BUILD_TESTING) | ||
| 2312 | add_test(NAME vk_bindless_dimensions COMMAND vk_bindless_dimensions_test) | ||
| 2313 | set_tests_properties(vk_bindless_dimensions PROPERTIES SKIP_RETURN_CODE 77) | ||
| 2314 | endif() | ||
| 2207 | # CPU-only: the bindless set's array sizes from synthetic device limits. | 2315 | # CPU-only: the bindless set's array sizes from synthetic device limits. |
| 2208 | add_executable(bindless_sizing_test test/bindless_sizing_test.cpp) | 2316 | add_executable(bindless_sizing_test test/bindless_sizing_test.cpp) |
| 2209 | target_link_libraries(bindless_sizing_test PRIVATE Vulkan::Headers) | 2317 | target_link_libraries(bindless_sizing_test PRIVATE Vulkan::Headers) |
| @@ -3824,6 +3932,19 @@ if(TARGET Vulkan::Headers) | |||
| 3824 | # is written zero-size, and a dispatch through it reads zeros. | 3932 | # is written zero-size, and a dispatch through it reads zeros. |
| 3825 | add_test(NAME d3d12_title_window_cap COMMAND d3d12_title_va_test --window-cap) | 3933 | add_test(NAME d3d12_title_window_cap COMMAND d3d12_title_va_test --window-cap) |
| 3826 | set_tests_properties(d3d12_title_window_cap PROPERTIES SKIP_RETURN_CODE 77 ENVIRONMENT "LEONIDA_TITLE_WINDOWS_MB=0") | 3934 | set_tests_properties(d3d12_title_window_cap PROPERTIES SKIP_RETURN_CODE 77 ENVIRONMENT "LEONIDA_TITLE_WINDOWS_MB=0") |
| 3935 | # A window is a read-side mirror refreshed before every submission: what a shader writes into it goes back to | ||
| 3936 | # the title's pages at the next refresh, and the title's own newer words still win (#1537, WRITE_INVALID). | ||
| 3937 | add_test(NAME d3d12_title_window_write_back COMMAND d3d12_title_va_test --window-writeback) | ||
| 3938 | set_tests_properties(d3d12_title_window_write_back PROPERTIES SKIP_RETURN_CODE 77) | ||
| 3939 | # The same return copy for a slot-133 buffer's shadow (the write-back of a compute result the title reads again). | ||
| 3940 | add_test(NAME d3d12_placed_write_back COMMAND d3d12_title_va_test --placed-writeback) | ||
| 3941 | set_tests_properties(d3d12_placed_write_back PROPERTIES SKIP_RETURN_CODE 77) | ||
| 3942 | # Two shadows over one page share their sums: a newly filled one must still follow the title's bytes, with | ||
| 3943 | # LEONIDA_SHADOW_KEEP on and off (review by lixonik). | ||
| 3944 | add_test(NAME d3d12_shadow_keep_refill COMMAND d3d12_title_va_test --shadow-keep-refill) | ||
| 3945 | set_tests_properties(d3d12_shadow_keep_refill PROPERTIES SKIP_RETURN_CODE 77 ENVIRONMENT "LEONIDA_SHADOW_KEEP=1") | ||
| 3946 | add_test(NAME d3d12_shadow_keep_refill_off COMMAND d3d12_title_va_test --shadow-keep-refill) | ||
| 3947 | set_tests_properties(d3d12_shadow_keep_refill_off PROPERTIES SKIP_RETURN_CODE 77 ENVIRONMENT "LEONIDA_SHADOW_KEEP=0") | ||
| 3827 | add_test(NAME d3d12_api_descriptor_copy COMMAND d3d12_title_va_test --api-descriptor-copy) | 3948 | add_test(NAME d3d12_api_descriptor_copy COMMAND d3d12_title_va_test --api-descriptor-copy) |
| 3828 | set_tests_properties(d3d12_api_descriptor_copy PROPERTIES SKIP_RETURN_CODE 77 ENVIRONMENT "LEONIDA_DESC_MIRROR=1") | 3949 | set_tests_properties(d3d12_api_descriptor_copy PROPERTIES SKIP_RETURN_CODE 77 ENVIRONMENT "LEONIDA_DESC_MIRROR=1") |
| 3829 | add_test(NAME d3d12_api_descriptor_copy_off COMMAND d3d12_title_va_test --api-descriptor-copy-off) | 3950 | add_test(NAME d3d12_api_descriptor_copy_off COMMAND d3d12_title_va_test --api-descriptor-copy-off) |
| @@ -4179,6 +4300,11 @@ if(TARGET Vulkan::Headers) | |||
| 4179 | target_compile_options(d3d12_mesh_test PRIVATE /W4 /permissive- /utf-8) | 4300 | target_compile_options(d3d12_mesh_test PRIVATE /W4 /permissive- /utf-8) |
| 4180 | add_test(NAME d3d12_mesh COMMAND d3d12_mesh_test) | 4301 | add_test(NAME d3d12_mesh COMMAND d3d12_mesh_test) |
| 4181 | set_tests_properties(d3d12_mesh PROPERTIES SKIP_RETURN_CODE 77) | 4302 | set_tests_properties(d3d12_mesh PROPERTIES SKIP_RETURN_CODE 77) |
| 4303 | # The same draws through the heavy pipeline cache (src/heavy_pipeline_cache.h): every build first asks the | ||
| 4304 | # offline cache without compiling, and a miss is built against the heavy cache in a folder of its own. | ||
| 4305 | add_test(NAME d3d12_mesh_heavy_cache COMMAND d3d12_mesh_test) | ||
| 4306 | set_tests_properties(d3d12_mesh_heavy_cache PROPERTIES SKIP_RETURN_CODE 77 ENVIRONMENT | ||
| 4307 | "LEONIDA_HEAVY_PIPELINE_CACHE_MS=1;LEONIDA_PIPELINE_CACHE_DIR=${CMAKE_CURRENT_BINARY_DIR}/heavy_cache_test") | ||
| 4182 | else() | 4308 | else() |
| 4183 | message(STATUS "glslangValidator not found: d3d12_compute_test, d3d12_draw_test, d3d12_set0_compute_test and d3d12_mesh_test are not built") | 4309 | message(STATUS "glslangValidator not found: d3d12_compute_test, d3d12_draw_test, d3d12_set0_compute_test and d3d12_mesh_test are not built") |
| 4184 | endif() | 4310 | endif() |
| @@ -4269,6 +4395,18 @@ if(TARGET Vulkan::Headers) | |||
| 4269 | target_link_libraries(gta6rt PRIVATE gta6rt_d3d12_com user32) # user32: the PresentX window | 4395 | target_link_libraries(gta6rt PRIVATE gta6rt_d3d12_com user32) # user32: the PresentX window |
| 4270 | target_compile_definitions(gta6rt PRIVATE LEONIDA_VULKAN_DEVICE) | 4396 | target_compile_definitions(gta6rt PRIVATE LEONIDA_VULKAN_DEVICE) |
| 4271 | 4397 | ||
| 4398 | # gta6rt --precompile-pipelines builds the programs LEONIDA_SKIP_COMPUTE names unless --skip-listed is given, | ||
| 4399 | # and its last line counts both (shims/d3d12_precompile.h). Two synthetic compute modules, three runs. | ||
| 4400 | if(TARGET gta6rt_compute_journal_shader) | ||
| 4401 | add_dependencies(gta6rt gta6rt_indirect_count_shader gta6rt_compute_journal_shader) | ||
| 4402 | add_test(NAME precompile_skip_list COMMAND ${CMAKE_COMMAND} | ||
| 4403 | "-DGTA6RT=$<TARGET_FILE:gta6rt>" "-DRUNNER=${CMAKE_CROSSCOMPILING_EMULATOR}" | ||
| 4404 | "-DSPV_A=${_indirect_count_spv}" "-DSPV_B=${_journal_second_spv}" | ||
| 4405 | "-DTEST_DIR=${CMAKE_CURRENT_BINARY_DIR}/precompile_skip_list" | ||
| 4406 | -P "${CMAKE_CURRENT_SOURCE_DIR}/test/check_precompile_skip_list.cmake") | ||
| 4407 | set_tests_properties(precompile_skip_list PROPERTIES TIMEOUT 240 SKIP_REGULAR_EXPRESSION "SKIP: ") | ||
| 4408 | endif() | ||
| 4409 | |||
| 4272 | # A stand-in title that imports d3d12_xs.dll!D3D12XboxCreateDevice and runs a clear and a readback on the | 4410 | # A stand-in title that imports d3d12_xs.dll!D3D12XboxCreateDevice and runs a clear and a readback on the |
| 4273 | # device it gets, mapped and run by `gta6rt --run` with LEONIDA_D3D12=vulkan: the loader, the game thread, the | 4411 | # device it gets, mapped and run by `gta6rt --run` with LEONIDA_D3D12=vulkan: the loader, the game thread, the |
| 4274 | # proxies and the Vulkan device in one process. check_tiny_frame.py reads the verdict, the binding and the | 4412 | # proxies and the Vulkan device in one process. check_tiny_frame.py reads the verdict, the binding and the |
| @@ -4579,17 +4717,35 @@ if(TARGET Vulkan::Headers) | |||
| 4579 | target_compile_options(arena_blocks_test PRIVATE /W4 /permissive- /utf-8) | 4717 | target_compile_options(arena_blocks_test PRIVATE /W4 /permissive- /utf-8) |
| 4580 | endif() | 4718 | endif() |
| 4581 | add_test(NAME arena_blocks COMMAND arena_blocks_test) | 4719 | add_test(NAME arena_blocks COMMAND arena_blocks_test) |
| 4720 | # The mem probe's breakdown line: the tally by consumer, the owner scopes and the text (src/memory_breakdown.h). | ||
| 4721 | add_executable(memory_breakdown_test test/memory_breakdown_test.cpp) | ||
| 4722 | if(WIN32 AND MSVC) | ||
| 4723 | target_compile_options(memory_breakdown_test PRIVATE /W4 /permissive- /utf-8) | ||
| 4724 | endif() | ||
| 4725 | add_test(NAME memory_breakdown COMMAND memory_breakdown_test) | ||
| 4726 | # The address guard's page table (src/address_guard.h; docs/d3d12_vulkan.md, "Address guard"). | ||
| 4727 | add_executable(address_guard_test test/address_guard_test.cpp) | ||
| 4728 | if(WIN32 AND MSVC) | ||
| 4729 | target_compile_options(address_guard_test PRIVATE /W4 /permissive- /utf-8) | ||
| 4730 | endif() | ||
| 4731 | add_test(NAME address_guard COMMAND address_guard_test) | ||
| 4582 | add_executable(title_window_plan_bounds_test test/title_window_plan_bounds_test.cpp) | 4732 | add_executable(title_window_plan_bounds_test test/title_window_plan_bounds_test.cpp) |
| 4583 | if(WIN32 AND MSVC) | 4733 | if(WIN32 AND MSVC) |
| 4584 | target_compile_options(title_window_plan_bounds_test PRIVATE /W4 /permissive- /utf-8) | 4734 | target_compile_options(title_window_plan_bounds_test PRIVATE /W4 /permissive- /utf-8) |
| 4585 | endif() | 4735 | endif() |
| 4586 | add_test(NAME title_window_plan_bounds COMMAND title_window_plan_bounds_test) | 4736 | add_test(NAME title_window_plan_bounds COMMAND title_window_plan_bounds_test) |
| 4587 | # Host-RAM bitset of live console resource-heap V# slots (src/console_heap_vsharp_slots.h). | 4737 | # What each console resource-heap V# resolved to, and the slots a change touches (src/console_heap_slot_records.h). |
| 4588 | add_executable(console_heap_vsharp_slots_test test/console_heap_vsharp_slots_test.cpp) | 4738 | add_executable(console_heap_slot_records_test test/console_heap_slot_records_test.cpp) |
| 4739 | if(WIN32 AND MSVC) | ||
| 4740 | target_compile_options(console_heap_slot_records_test PRIVATE /W4 /permissive- /utf-8) | ||
| 4741 | endif() | ||
| 4742 | add_test(NAME console_heap_slot_records COMMAND console_heap_slot_records_test) | ||
| 4743 | # A slot-133 shadow keeps a GPU write until the title's bytes under it change (src/shadow_keep.h). | ||
| 4744 | add_executable(shadow_keep_test test/shadow_keep_test.cpp) | ||
| 4589 | if(WIN32 AND MSVC) | 4745 | if(WIN32 AND MSVC) |
| 4590 | target_compile_options(console_heap_vsharp_slots_test PRIVATE /W4 /permissive- /utf-8) | 4746 | target_compile_options(shadow_keep_test PRIVATE /W4 /permissive- /utf-8) |
| 4591 | endif() | 4747 | endif() |
| 4592 | add_test(NAME console_heap_vsharp_slots COMMAND console_heap_vsharp_slots_test) | 4748 | add_test(NAME shadow_keep COMMAND shadow_keep_test) |
| 4593 | # Queue construction cleans its Vulkan handles if holder registration runs out of host memory. | 4749 | # Queue construction cleans its Vulkan handles if holder registration runs out of host memory. |
| 4594 | add_executable(vk_host_texture_order_test test/vk_host_texture_order_test.cpp) | 4750 | add_executable(vk_host_texture_order_test test/vk_host_texture_order_test.cpp) |
| 4595 | target_link_libraries(vk_host_texture_order_test PRIVATE Vulkan::Headers ${CMAKE_DL_LIBS}) | 4751 | target_link_libraries(vk_host_texture_order_test PRIVATE Vulkan::Headers ${CMAKE_DL_LIBS}) |
diff --git a/runtime/README.md b/runtime/README.md index 28304408f..b440230c8 100644 --- a/runtime/README.md +++ b/runtime/README.md | |||
| @@ -353,10 +353,12 @@ ones marked *diagnostic* only add log lines or exist to compare a run with and w | |||
| 353 | | `LEONIDA_POOL_DIAG_AT` | unset | *Diagnostic.* `<module>+0x<offset>` of the title's transient-pool assert, as the trace prints it (measured locally): the trace dumps the pool's resource list when that int3 is hit (`shims/startup_trace.h`). | | 353 | | `LEONIDA_POOL_DIAG_AT` | unset | *Diagnostic.* `<module>+0x<offset>` of the title's transient-pool assert, as the trace prints it (measured locally): the trace dumps the pool's resource list when that int3 is hit (`shims/startup_trace.h`). | |
| 354 | | `LEONIDA_PEEK` | unset | *Diagnostic.* `<rva>[:n],<rva>,...` (hex): a thread prints the 8-byte values at these RVAs of the title's image (`:n` = n consecutive values) every `LEONIDA_PEEK_SECONDS` (`src/main.cpp`). The RVAs are measured locally and not kept in the repository. `scripts/windows-boot/boot.ps1` no longer sets the game-state and session-state RVAs by default: it sets `LEONIDA_PEEK` only from `LEONIDA_GAME_STATE_RVA` and `LEONIDA_SESSION_STATE_RVA`, and without them its RESULT states read `?` ([scripts/windows-boot/README.md](../scripts/windows-boot/README.md)). | | 354 | | `LEONIDA_PEEK` | unset | *Diagnostic.* `<rva>[:n],<rva>,...` (hex): a thread prints the 8-byte values at these RVAs of the title's image (`:n` = n consecutive values) every `LEONIDA_PEEK_SECONDS` (`src/main.cpp`). The RVAs are measured locally and not kept in the repository. `scripts/windows-boot/boot.ps1` no longer sets the game-state and session-state RVAs by default: it sets `LEONIDA_PEEK` only from `LEONIDA_GAME_STATE_RVA` and `LEONIDA_SESSION_STATE_RVA`, and without them its RESULT states read `?` ([scripts/windows-boot/README.md](../scripts/windows-boot/README.md)). | |
| 355 | | `LEONIDA_PEEK_SECONDS` | `10` | *Diagnostic.* The period of the `LEONIDA_PEEK` thread (`src/main.cpp`), which prints 8-byte values of the title's image. | | 355 | | `LEONIDA_PEEK_SECONDS` | `10` | *Diagnostic.* The period of the `LEONIDA_PEEK` thread (`src/main.cpp`), which prints 8-byte values of the title's image. | |
| 356 | | `LEONIDA_INPUT_SCRIPT` | unset | Timed pad presses, `button@seconds` separated by commas (`a@70,a@85,start@120`), each held 300 ms; the clock starts with the shim. Works with and without SDL3: with SDL3 it drives the keyboard pad (`LEONIDA_KEYBOARD_PAD=always`), without SDL3 one scripted pad that is the only device. Controllers and the keyboard pad still need SDL3. Format and buttons in [docs/gameinput.md](../docs/gameinput.md#environment-variables). | | 356 | | `LEONIDA_INPUT_SCRIPT` | unset | Timed pad presses, `button@seconds` separated by commas (`a@70,a@85,start@120`), each held 300 ms or its own `button@seconds:hold`; the clock starts with the shim. Works with and without SDL3: with SDL3 it drives the keyboard pad (`LEONIDA_KEYBOARD_PAD=always`), without SDL3 one scripted pad that is the only device. Controllers and the keyboard pad still need SDL3. Format and buttons in [docs/gameinput.md](../docs/gameinput.md#environment-variables). | |
| 357 | | `LEONIDA_INPUT_LOG` | on | The GameInput shim logs every press in `LEONIDA_INPUT_SCRIPT`'s form (`name@seconds`), so a session played by hand can be replayed. `0` turns the lines off. | | 357 | | `LEONIDA_INPUT_LOG` | on | The GameInput shim logs every press in `LEONIDA_INPUT_SCRIPT`'s form (`name@seconds`), so a session played by hand can be replayed. `0` turns the lines off. | |
| 358 | | `LEONIDA_INPUT_TRACE` | unset | `1` (diagnostic, the GameInput shim built without SDL3) logs the title's reading calls on the scripted pad: the first 128, then each one with a button down and every 1000th. Details in [docs/gameinput.md](../docs/gameinput.md#scripted-input-without-sdl3). | | ||
| 358 | | `LEONIDA_LOG_ALLOCINFO` | unset | *Diagnostic.* `1` logs every device slot 25 call (`GetResourceAllocationInfo`) with its thread, description and sizes (`shims/d3d12_xs_device.cpp`). | | 359 | | `LEONIDA_LOG_ALLOCINFO` | unset | *Diagnostic.* `1` logs every device slot 25 call (`GetResourceAllocationInfo`) with its thread, description and sizes (`shims/d3d12_xs_device.cpp`). | |
| 359 | | `LEONIDA_LOG_EXE_PIPELINES` | unset | *Diagnostic.* When set, one line per distinct graphics pipeline that uses a program translated from the executable's inline containers. | | 360 | | `LEONIDA_LOG_EXE_PIPELINES` | unset | *Diagnostic.* When set, one line per distinct graphics pipeline that uses a program translated from the executable's inline containers. | |
| 361 | | `LEONIDA_MEM_PROBE` | unset | *Diagnostic.* `<seconds>`: every that many seconds the memory probe (`src/mem_probe.h`) logs `[rt] mem-probe t=` (live pipelines, shader modules and `VkDeviceMemory` per memory type), `[rt] mem-probe breakdown t=` (the same allocated bytes by consumer: the arena with its reserved, bound and in-use MiB, geometry copies, title windows and shadows, upload heaps, staging, texture blocks, sampled textures, render targets and depth, and `other`, which add up to the allocated total; `src/memory_breakdown.h`) and `[rt] mem-probe smaps` (the process's resident memory by kind). | | ||
| 360 | | `LEONIDA_MEM_PROBE_CACHE` | unset | *Diagnostic.* `1` adds the pipeline cache's size to the memory probe's report; the driver serializes the whole cache to answer. | | 362 | | `LEONIDA_MEM_PROBE_CACHE` | unset | *Diagnostic.* `1` adds the pipeline cache's size to the memory probe's report; the driver serializes the whole cache to answer. | |
| 361 | | `LEONIDA_TEXTURE_PROBE` | unset | *Diagnostic.* Logs a `[rt] texture-probe` line for every shader resource view of a texture in the title's memory. | | 363 | | `LEONIDA_TEXTURE_PROBE` | unset | *Diagnostic.* Logs a `[rt] texture-probe` line for every shader resource view of a texture in the title's memory. | |
| 362 | | `LEONIDA_LOCAL_DIAGNOSTICS` | unset | *Diagnostic.* `1` turns on the boot diagnostics that write to stderr from the draw, clear, present and descriptor paths (the lines tagged `present-probe`, `fsdraw`, `heap-probe`, `desc-probe` and `PresentX diag`; `src/local_diagnostics.h`). They follow a frame of the title from its draws to the window and cost a lock and a line per draw, so they are off by default. The full-screen draw targets that `LEONIDA_CAPTURE_SOURCE` reads back are only collected with it. | | 364 | | `LEONIDA_LOCAL_DIAGNOSTICS` | unset | *Diagnostic.* `1` turns on the boot diagnostics that write to stderr from the draw, clear, present and descriptor paths (the lines tagged `present-probe`, `fsdraw`, `heap-probe`, `desc-probe` and `PresentX diag`; `src/local_diagnostics.h`). They follow a frame of the title from its draws to the window and cost a lock and a line per draw, so they are off by default. The full-screen draw targets that `LEONIDA_CAPTURE_SOURCE` reads back are only collected with it. | |
| @@ -379,9 +381,11 @@ ones marked *diagnostic* only add log lines or exist to compare a run with and w | |||
| 379 | | `LEONIDA_CONSOLE_FIX_US` | `0` | Microseconds one submission may spend fixing the changed slots of a console descriptor heap's copy; `0` sets no limit. Past it, each further changed slot is written as a null descriptor and queued for `LEONIDA_CONSOLE_RETRY_US`, so a shader reads it as empty until its turn comes: a limit changes results, and can hang the GPU. | | 381 | | `LEONIDA_CONSOLE_FIX_US` | `0` | Microseconds one submission may spend fixing the changed slots of a console descriptor heap's copy; `0` sets no limit. Past it, each further changed slot is written as a null descriptor and queued for `LEONIDA_CONSOLE_RETRY_US`, so a shader reads it as empty until its turn comes: a limit changes results, and can hang the GPU. | |
| 380 | | `LEONIDA_CONSOLE_RETRY_US` | `500` | Microseconds one submission may spend retrying, round robin, the console heap slots not settled yet (a T# whose texture does not exist yet, or one deferred by `LEONIDA_CONSOLE_FIX_US`). `0` retries all of them at every submission. | | 382 | | `LEONIDA_CONSOLE_RETRY_US` | `500` | Microseconds one submission may spend retrying, round robin, the console heap slots not settled yet (a T# whose texture does not exist yet, or one deferred by `LEONIDA_CONSOLE_FIX_US`). `0` retries all of them at every submission. | |
| 381 | | `LEONIDA_SHADOW_ALIAS_MS` | `0` | The shortest time, in milliseconds, between two copies of the title-memory pages that XMem maps at two addresses into the slot-133 shadows and title windows: pages a write reached since they were guarded at every address, or every time while they can't be (a page pinned for a kernel write). `0` copies them at every submission; a larger value lets a GPU read of them be up to that many milliseconds behind the title's writes. | | 383 | | `LEONIDA_SHADOW_ALIAS_MS` | `0` | The shortest time, in milliseconds, between two copies of the title-memory pages that XMem maps at two addresses into the slot-133 shadows and title windows: pages a write reached since they were guarded at every address, or every time while they can't be (a page pinned for a kernel write). `0` copies them at every submission; a larger value lets a GPU read of them be up to that many milliseconds behind the title's writes. | |
| 384 | | `LEONIDA_SHADOW_KEEP` | on | The slot-133 shadows and title windows copy a page only in the 256-byte pieces where the title's bytes changed since the last copy, so what a shader stored in the copy stays, also on pages copied without a sign that the title wrote them (aliased while they can't be guarded at every address, unguarded, pinned). A title writing the same bytes again to reset such a value is not seen. `0` copies those pages whole, as before, overwriting the GPU's writes. | | ||
| 382 | | `LEONIDA_REFRESH_PER_FRAME` | `0` | Trades correctness for speed. `1`: the slot-133 shadows, title windows and geometry copies are brought up to date only by the first submission after each present, not by every submission; `2`: the console descriptor heaps too. A GPU read of them can then be a frame behind the title's writes (wrong pixels). `0` refreshes all of them at every submission. | | 385 | | `LEONIDA_REFRESH_PER_FRAME` | `0` | Trades correctness for speed. `1`: the slot-133 shadows, title windows and geometry copies are brought up to date only by the first submission after each present, not by every submission; `2`: the console descriptor heaps too. A GPU read of them can then be a frame behind the title's writes (wrong pixels). `0` refreshes all of them at every submission. | |
| 383 | | `LEONIDA_GEOMETRY_ASYNC` | unset | Trades correctness for speed. `1` refreshes the geometry copies (`shims/d3d12_geometry_views.h`) on a worker thread of the layer, started at submission and not waited for, instead of on the title's submitting thread. A draw may read a copy the worker is still writing: wrong vertices for a frame. | | 386 | | `LEONIDA_GEOMETRY_ASYNC` | unset | Trades correctness for speed. `1` refreshes the geometry copies (`shims/d3d12_geometry_views.h`) on a worker thread of the layer, started at submission and not waited for, instead of on the title's submitting thread. A draw may read a copy the worker is still writing: wrong vertices for a frame. | |
| 384 | | `LEONIDA_GEOMETRY_WHOLE_VIEWS` | unset | A geometry copy that is already filled copies only the 64 KiB tiles of title memory written since the last refresh (`shims/d3d12_geometry_views.h`). Any value other than `0` copies every view over a written tile whole, as before. | | 387 | | `LEONIDA_GEOMETRY_WHOLE_VIEWS` | unset | A geometry copy that is already filled copies only the 64 KiB tiles of title memory written since the last refresh (`shims/d3d12_geometry_views.h`). Any value other than `0` copies every view over a written tile whole, as before. | |
| 388 | | `LEONIDA_GEOMETRY_HOST` | unset | Where the geometry copies (`shims/d3d12_geometry_views.h`, under `LEONIDA_GEOMETRY_MB`) live. Unset or `0`: device-local memory through the BAR while the driver gives it (several GB of VRAM in a world run). `1`: system memory outside VRAM, write-back where the device offers a cached host type; `2`: system memory, write-combined. The GPU then reads every vertex and index of a copy over the bus, which can cost frame time in geometry-heavy passes. A device whose host-visible memory is all device-local (an integrated GPU) keeps its types. The choice is logged once and in the `geometry buffers` line. | | ||
| 385 | | `LEONIDA_TITLE_FILL_ASYNC` | unset | Trades correctness for speed. `1` stops device slot 70 views from hashing and filling the texture they name on the title's thread: a texture never filled or known stale is queued for a worker thread that fills one texture at a time. Until then a shader samples the image as it is, empty or a frame behind. | | 389 | | `LEONIDA_TITLE_FILL_ASYNC` | unset | Trades correctness for speed. `1` stops device slot 70 views from hashing and filling the texture they name on the title's thread: a texture never filled or known stale is queued for a worker thread that fills one texture at a time. Until then a shader samples the image as it is, empty or a frame behind. | |
| 386 | | `LEONIDA_TITLE_VIEW_REFRESH_MS` | `0` | The shortest time, in milliseconds, between two checks of a title texture's bytes when a device slot 70 view of it is written. `0` checks at every view. The periodic pass still checks the texture on its own period, and a texture known stale is checked at once. Has no effect with `LEONIDA_TITLE_FILL_ASYNC=1`. | | 390 | | `LEONIDA_TITLE_VIEW_REFRESH_MS` | `0` | The shortest time, in milliseconds, between two checks of a title texture's bytes when a device slot 70 view of it is written. `0` checks at every view. The periodic pass still checks the texture on its own period, and a texture known stale is checked at once. Has no effect with `LEONIDA_TITLE_FILL_ASYNC=1`. | |
| 387 | | `LEONIDA_TITLE_EVERY_BUDGET_US` | `0` | Microseconds one pass over the textures filled from the title's memory may spend on the textures it visits every pass (mapped by the title, or known stale), resuming where the last pass stopped; the texture that crosses the limit is finished. A mapped texture never filled yet is visited first whatever the limit. `0` visits all of them every pass. It limits the synchronous pass only: with `LEONIDA_TEXTURE_REFRESH_ASYNC=1` the pass runs on the refresh worker, and the limit does not apply. | | 391 | | `LEONIDA_TITLE_EVERY_BUDGET_US` | `0` | Microseconds one pass over the textures filled from the title's memory may spend on the textures it visits every pass (mapped by the title, or known stale), resuming where the last pass stopped; the texture that crosses the limit is finished. A mapped texture never filled yet is visited first whatever the limit. `0` visits all of them every pass. It limits the synchronous pass only: with `LEONIDA_TEXTURE_REFRESH_ASYNC=1` the pass runs on the refresh worker, and the limit does not apply. | |
| @@ -422,8 +426,7 @@ ones marked *diagnostic* only add log lines or exist to compare a run with and w | |||
| 422 | | `LEONIDA_CONSOLE_HEAP_ARENA` | unset | With `LEONIDA_CONSOLE_HEAP_GPU=1`, `1` puts a console heap's GPU copy and its guard in the arena (device-local where the device has ReBAR) instead of an import of host memory. No room in the arena: the import. | | 426 | | `LEONIDA_CONSOLE_HEAP_ARENA` | unset | With `LEONIDA_CONSOLE_HEAP_GPU=1`, `1` puts a console heap's GPU copy and its guard in the arena (device-local where the device has ReBAR) instead of an import of host memory. No room in the arena: the import. | |
| 423 | | `LEONIDA_CONSOLE_GPU_TSHARPS` | on | With `LEONIDA_CONSOLE_HEAP_GPU=1`, the T#s of changed slots are registered by the resolver thread and the refresh only decodes them. `0` registers them on the submitting thread, under the fix budget. | | 427 | | `LEONIDA_CONSOLE_GPU_TSHARPS` | on | With `LEONIDA_CONSOLE_HEAP_GPU=1`, the T#s of changed slots are registered by the resolver thread and the refresh only decodes them. `0` registers them on the submitting thread, under the fix budget. | |
| 424 | | `LEONIDA_CONSOLE_GPU_RETRY_MS` | `2000` | With `LEONIDA_CONSOLE_HEAP_GPU=1`, how often V# words that got no backing are asked for again, on a timer that bounds the cost per submission. | | 428 | | `LEONIDA_CONSOLE_GPU_RETRY_MS` | `2000` | With `LEONIDA_CONSOLE_HEAP_GPU=1`, how often V# words that got no backing are asked for again, on a timer that bounds the cost per submission. | |
| 425 | | `LEONIDA_CONSOLE_GPU_FILTER` | `LEONIDA_CONSOLE_RELEASE_FILTER`'s value | With `LEONIDA_CONSOLE_HEAP_GPU=1`, `1`: a released backing, an alias range that went or a word answered since asks for a rescan of only the slots it touches, not of every V# slot. Overflows and key resets still rescan everything. | | 429 | | `LEONIDA_CONSOLE_GPU_FILTER` | unset | With `LEONIDA_CONSOLE_HEAP_GPU=1`, `1`: a released backing, an alias range that went or a word answered since asks for a rescan of only the slots it touches, not of every V# slot. Overflows and key resets still rescan everything. | |
| 426 | | `LEONIDA_CONSOLE_RELEASE_FILTER` | unset | `1`: when a backing is released, only the console-heap slots whose V#s point into it are fixed again (by actual Vulkan address), instead of every V# slot of the heap. The heap log line counts the sweeps, live slots, fixes and full fallbacks. | | ||
| 427 | | `LEONIDA_SHADOW_GPU` | unset | `1`: aliased pages of the slot-133 shadows are copied on the GPU at the start of a submission, from an import of the mapped title section (`VK_EXT_external_memory_host`, per 2 MiB window, kept while xmem's map journal shows no change over it). Destinations outside the arena and pages that do not import are copied by the CPU as before. | | 430 | | `LEONIDA_SHADOW_GPU` | unset | `1`: aliased pages of the slot-133 shadows are copied on the GPU at the start of a submission, from an import of the mapped title section (`VK_EXT_external_memory_host`, per 2 MiB window, kept while xmem's map journal shows no change over it). Destinations outside the arena and pages that do not import are copied by the CPU as before. | |
| 428 | | `LEONIDA_SHADOW_GPU_MB` | `1024` | With `LEONIDA_SHADOW_GPU=1`, the MiB of title memory imported for those copies at most. | | 431 | | `LEONIDA_SHADOW_GPU_MB` | `1024` | With `LEONIDA_SHADOW_GPU=1`, the MiB of title memory imported for those copies at most. | |
| 429 | | `LEONIDA_SHADOW_JOIN` | unset | `1`: pieces of one shadow copy job that continue where the one before ended, in the pages and in the copy, are one copy (one GPU region); one the GPU refuses is copied by the CPU whole. | | 432 | | `LEONIDA_SHADOW_JOIN` | unset | `1`: pieces of one shadow copy job that continue where the one before ended, in the pages and in the copy, are one copy (one GPU region); one the GPU refuses is copied by the CPU whole. | |
| @@ -580,9 +583,14 @@ The game's `atexit` handlers and static destructors go to a table of the run's o | |||
| 580 | shared with gta6rt): `exit` and a return from `main` run them newest first before the run ends, `_cexit` runs them and | 583 | shared with gta6rt): `exit` and a return from `main` run them newest first before the run ends, `_cexit` runs them and |
| 581 | returns, and `_exit`, `quick_exit`, `ExitProcess` and `abort` skip them, as natively. `run_tiny_atexit` runs a stand-in | 584 | returns, and `_exit`, `quick_exit`, `ExitProcess` and `abort` skip them, as natively. `run_tiny_atexit` runs a stand-in |
| 582 | program natively and through `--run` for each of those paths (and for `_exit` from a second thread during `exit`) and | 585 | program natively and through `--run` for each of those paths (and for `_exit` from a second thread during `exit`) and |
| 583 | holds both to the Windows sequence (under Wine, whose CRT differs, a native difference is only reported). Not covered | 586 | holds both to the Windows sequence (under Wine, whose CRT differs, a native difference is only reported). The |
| 584 | yet: `at_quick_exit` handlers (`quick_exit` runs none) and the thread-local destructor callback | 587 | executable's thread-local destructor callback (`_register_thread_local_exe_atexit_callback`) is kept by the run too: |
| 585 | (`_register_thread_local_exe_atexit_callback`); both still reach the host CRT. | 588 | the host UCRT accepts one per process and fast-fails the second, and gta6rt's own startup registers the first. `exit` |
| 589 | and `_cexit` call it once, as `(nullptr, DLL_PROCESS_DETACH, nullptr)`, before the atexit handlers, as the UCRT does, | ||
| 590 | so the leaving thread's `thread_local` objects end before the static ones; `_exit`, `quick_exit`, `ExitProcess` and | ||
| 591 | `abort` do not. Other threads' `thread_local` objects end through the loader's thread-detach notification, which calls | ||
| 592 | the same function from the executable's TLS directory. `run_tiny_atexit` covers `exit` and `_cexit` with a | ||
| 593 | `thread_local` object. `at_quick_exit` handlers are not covered (`quick_exit` runs none). | ||
| 586 | `run_tiny_frame` does it with a stand-in that imports `d3d12_xs.dll!D3D12XboxCreateDevice` and, with | 594 | `run_tiny_frame` does it with a stand-in that imports `d3d12_xs.dll!D3D12XboxCreateDevice` and, with |
| 587 | `LEONIDA_D3D12=vulkan`, clears a render target and reads it back on the Vulkan device: the loader, the game thread, | 595 | `LEONIDA_D3D12=vulkan`, clears a render target and reads it back on the Vulkan device: the loader, the game thread, |
| 588 | the Xbox-ABI proxies and the device in one process (`test/fixtures/tiny_frame.cpp`; `test/check_tiny_frame.py` checks | 596 | the Xbox-ABI proxies and the device in one process (`test/fixtures/tiny_frame.cpp`; `test/check_tiny_frame.py` checks |
diff --git a/runtime/cmake/opus_decoder.cmake b/runtime/cmake/opus_decoder.cmake new file mode 100644 index 000000000..1286b15fa --- /dev/null +++ b/runtime/cmake/opus_decoder.cmake | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # Resolves -DLEONIDA_OPUS_DECODER_LIB=<path> for runtime/CMakeLists.txt. | ||
| 2 | # | ||
| 3 | # When LEONIDA_OPUS_DECODER_LIB is set, the runtime links that prebuilt static library directly and | ||
| 4 | # skips running cargo at configure time. A value that does not name an existing file is a configure | ||
| 5 | # error rather than a silent fallback to silent XAPU output. | ||
| 6 | function(leonida_resolve_prebuilt_opus_decoder lib_input base_dir out_var) | ||
| 7 | if(NOT lib_input) | ||
| 8 | set(${out_var} "" PARENT_SCOPE) | ||
| 9 | return() | ||
| 10 | endif() | ||
| 11 | if(IS_ABSOLUTE "${lib_input}") | ||
| 12 | set(_resolved "${lib_input}") | ||
| 13 | else() | ||
| 14 | cmake_path(ABSOLUTE_PATH lib_input BASE_DIRECTORY "${base_dir}" NORMALIZE OUTPUT_VARIABLE _resolved) | ||
| 15 | endif() | ||
| 16 | if(EXISTS "${_resolved}" AND NOT IS_DIRECTORY "${_resolved}") | ||
| 17 | set(${out_var} "${_resolved}" PARENT_SCOPE) | ||
| 18 | else() | ||
| 19 | message(FATAL_ERROR | ||
| 20 | "LEONIDA_OPUS_DECODER_LIB does not point to an existing file: ${_resolved} " | ||
| 21 | "(pass the path to leonida_opus_decoder.lib or leave it empty to build with cargo)") | ||
| 22 | endif() | ||
| 23 | endfunction() | ||
diff --git a/runtime/opus_decoder/Cargo.lock b/runtime/opus_decoder/Cargo.lock new file mode 100644 index 000000000..1659ab14e --- /dev/null +++ b/runtime/opus_decoder/Cargo.lock | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | # This file is automatically @generated by Cargo. | ||
| 2 | # It is not intended for manual editing. | ||
| 3 | version = 4 | ||
| 4 | |||
| 5 | [[package]] | ||
| 6 | name = "leonida-opus-decoder" | ||
| 7 | version = "0.1.0" | ||
| 8 | dependencies = [ | ||
| 9 | "opus-pure", | ||
| 10 | ] | ||
| 11 | |||
| 12 | [[package]] | ||
| 13 | name = "opus-pure" | ||
| 14 | version = "0.2.5" | ||
| 15 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 16 | checksum = "2da6dcc20af557d030b6f206e75c764bcda8c28a5bd03c73935c7e8fcf5f4f4a" | ||
diff --git a/runtime/opus_decoder/Cargo.toml b/runtime/opus_decoder/Cargo.toml new file mode 100644 index 000000000..e3ed59bc3 --- /dev/null +++ b/runtime/opus_decoder/Cargo.toml | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | [package] | ||
| 2 | name = "leonida-opus-decoder" | ||
| 3 | version = "0.1.0" | ||
| 4 | edition = "2021" | ||
| 5 | license = "GPL-3.0-or-later" | ||
| 6 | publish = false | ||
| 7 | |||
| 8 | [lib] | ||
| 9 | name = "leonida_opus_decoder" | ||
| 10 | crate-type = ["staticlib", "rlib"] | ||
| 11 | |||
| 12 | [dependencies] | ||
| 13 | opus-pure = "0.2.4" | ||
| 14 | |||
| 15 | [profile.release] | ||
| 16 | panic = "unwind" | ||
diff --git a/runtime/opus_decoder/README.md b/runtime/opus_decoder/README.md new file mode 100644 index 000000000..2b516e496 --- /dev/null +++ b/runtime/opus_decoder/README.md | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | # Opus decoder C ABI | ||
| 2 | |||
| 3 | This crate exposes a C ABI around the BSD-3-Clause `opus-pure` package for the console audio | ||
| 4 | decoder (`xapu.dll`). The command protocol lives in `runtime/shims/xapu_chad.cpp`; this crate only | ||
| 5 | decodes one Opus packet into interleaved f32 PCM, resets the decoder, and (for tests) encodes a | ||
| 6 | synthetic tone. | ||
| 7 | |||
| 8 | ## Build | ||
| 9 | |||
| 10 | ```sh | ||
| 11 | cargo fmt --manifest-path runtime/opus_decoder/Cargo.toml -- --check | ||
| 12 | cargo test --manifest-path runtime/opus_decoder/Cargo.toml --locked | ||
| 13 | cargo build --release --manifest-path runtime/opus_decoder/Cargo.toml --locked | ||
| 14 | ``` | ||
| 15 | |||
| 16 | `runtime/CMakeLists.txt` builds this crate for `x86_64-pc-windows-msvc` at configure time when | ||
| 17 | `cargo` is on `PATH` and links it into `gta6rt` and `xapu_chad_test` with | ||
| 18 | `LEONIDA_HAVE_OPUS_DECODER` defined. The first build fetches `opus-pure` from crates.io. Set | ||
| 19 | `CARGO_NET_OFFLINE=true` for a configure that uses only the local Cargo cache. | ||
| 20 | |||
| 21 | Without `cargo`, when the build fails, or with the `cl.exe` fallback of `scripts/build_runtime.ps1`, | ||
| 22 | the XAPU path stays silent. Use `-DLEONIDA_REQUIRE_OPUS_DECODER=ON` to require the decoder in a | ||
| 23 | CMake build. | ||
| 24 | |||
| 25 | To link an already-built `leonida_opus_decoder.lib` without invoking `cargo` during CMake | ||
| 26 | configure, pass `-DLEONIDA_OPUS_DECODER_LIB=<path>`. | ||
| 27 | |||
| 28 | ## Facts and credit | ||
| 29 | |||
| 30 | The `xapu.dll` command protocol (connect input/output, per-stream command budget, activate / | ||
| 31 | process / reset / deactivate, result order) follows Marvisak/VIctory | ||
| 32 | `crates/victory-hle/src/modules/apu.rs` (GPL-3.0-or-later), which this repository already credits for | ||
| 33 | other modules. `opus-pure` is BSD-3-Clause and stays a dependency; no code from it is copied. | ||
diff --git a/runtime/opus_decoder/leonida_opus_decoder.h b/runtime/opus_decoder/leonida_opus_decoder.h new file mode 100644 index 000000000..d5473510d --- /dev/null +++ b/runtime/opus_decoder/leonida_opus_decoder.h | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | #ifndef LEONIDA_OPUS_DECODER_H | ||
| 2 | #define LEONIDA_OPUS_DECODER_H | ||
| 3 | |||
| 4 | #include <stddef.h> | ||
| 5 | #include <stdint.h> | ||
| 6 | |||
| 7 | #ifdef __cplusplus | ||
| 8 | extern "C" { | ||
| 9 | #endif | ||
| 10 | |||
| 11 | /* 120 ms at 48 kHz: the longest Opus packet, in samples per channel. */ | ||
| 12 | #define LEONIDA_OPUS_MAX_FRAMES 5760u | ||
| 13 | |||
| 14 | typedef struct LeonidaOpusDecoder LeonidaOpusDecoder; | ||
| 15 | |||
| 16 | enum LeonidaOpusStatus { | ||
| 17 | LEONIDA_OPUS_OK = 0, | ||
| 18 | LEONIDA_OPUS_INVALID_ARGUMENT = 1, | ||
| 19 | LEONIDA_OPUS_INVALID_FORMAT = 2, | ||
| 20 | LEONIDA_OPUS_DECODER_FAILURE = 3, | ||
| 21 | LEONIDA_OPUS_OUT_OF_MEMORY = 4, | ||
| 22 | LEONIDA_OPUS_PANIC = 5, | ||
| 23 | LEONIDA_OPUS_BUFFER_TOO_SMALL = 6, | ||
| 24 | }; | ||
| 25 | |||
| 26 | int32_t leonida_opus_decoder_create(uint32_t sample_rate, uint32_t channels, | ||
| 27 | LeonidaOpusDecoder **out_decoder); | ||
| 28 | uint32_t leonida_opus_decoder_channels(const LeonidaOpusDecoder *decoder); | ||
| 29 | int32_t leonida_opus_decode_packet(LeonidaOpusDecoder *decoder, | ||
| 30 | const uint8_t *input, size_t input_len, | ||
| 31 | float *out, size_t out_capacity_frames, | ||
| 32 | uint32_t *out_frames); | ||
| 33 | int32_t leonida_opus_decoder_reset(LeonidaOpusDecoder *decoder); | ||
| 34 | void leonida_opus_decoder_destroy(LeonidaOpusDecoder *decoder); | ||
| 35 | /* Test helper: encodes frame_count interleaved f32 frames to one packet at 48 kHz. */ | ||
| 36 | int32_t leonida_opus_encode_test(const float *input, uint32_t frame_count, | ||
| 37 | uint32_t channels, uint8_t *out, | ||
| 38 | size_t out_capacity, size_t *out_len); | ||
| 39 | |||
| 40 | #ifdef __cplusplus | ||
| 41 | } | ||
| 42 | #endif | ||
| 43 | |||
| 44 | #endif | ||
diff --git a/runtime/opus_decoder/src/lib.rs b/runtime/opus_decoder/src/lib.rs new file mode 100644 index 000000000..1e6c7dc83 --- /dev/null +++ b/runtime/opus_decoder/src/lib.rs | |||
| @@ -0,0 +1,244 @@ | |||
| 1 | #![deny(unsafe_op_in_unsafe_fn)] | ||
| 2 | |||
| 3 | //! C ABI around the pure-Rust `opus-pure` decoder, for the console audio decoder (`xapu.dll`). | ||
| 4 | //! | ||
| 5 | //! The command protocol lives in `runtime/shims/xapu_chad.cpp`; this crate only turns one Opus | ||
| 6 | //! packet into interleaved f32 PCM, resets the decoder, and (for tests) encodes a synthetic tone. | ||
| 7 | //! `opus-pure` is BSD-3-Clause; this wrapper is GPL-3.0-or-later, like the rest of the runtime. | ||
| 8 | |||
| 9 | use std::panic::{catch_unwind, AssertUnwindSafe}; | ||
| 10 | use std::ptr; | ||
| 11 | use std::sync::Mutex; | ||
| 12 | |||
| 13 | use opus_pure::{Application, OpusDecoder, OpusEncoder}; | ||
| 14 | |||
| 15 | pub const LEONIDA_OPUS_OK: i32 = 0; | ||
| 16 | pub const LEONIDA_OPUS_INVALID_ARGUMENT: i32 = 1; | ||
| 17 | pub const LEONIDA_OPUS_INVALID_FORMAT: i32 = 2; | ||
| 18 | pub const LEONIDA_OPUS_DECODER_FAILURE: i32 = 3; | ||
| 19 | pub const LEONIDA_OPUS_OUT_OF_MEMORY: i32 = 4; | ||
| 20 | pub const LEONIDA_OPUS_PANIC: i32 = 5; | ||
| 21 | pub const LEONIDA_OPUS_BUFFER_TOO_SMALL: i32 = 6; | ||
| 22 | |||
| 23 | /// 120 ms at 48 kHz, the longest Opus packet, in samples per channel. | ||
| 24 | pub const LEONIDA_OPUS_MAX_FRAMES: usize = 5760; | ||
| 25 | |||
| 26 | #[repr(C)] | ||
| 27 | pub struct LeonidaOpusDecoder { | ||
| 28 | decoder: Mutex<OpusDecoder>, | ||
| 29 | channels: usize, | ||
| 30 | } | ||
| 31 | |||
| 32 | #[no_mangle] | ||
| 33 | pub unsafe extern "C" fn leonida_opus_decoder_channels(decoder: *const LeonidaOpusDecoder) -> u32 { | ||
| 34 | if decoder.is_null() { | ||
| 35 | return 0; | ||
| 36 | } | ||
| 37 | unsafe { (*decoder).channels as u32 } | ||
| 38 | } | ||
| 39 | |||
| 40 | /// Creates a decoder for one mono or stereo Opus stream at `sample_rate` (the title uses 48000). | ||
| 41 | /// | ||
| 42 | /// # Safety | ||
| 43 | /// `out` must be writable for one pointer. The returned decoder must be destroyed once, after | ||
| 44 | /// every call that uses it has finished. | ||
| 45 | #[no_mangle] | ||
| 46 | pub unsafe extern "C" fn leonida_opus_decoder_create( | ||
| 47 | sample_rate: u32, | ||
| 48 | channels: u32, | ||
| 49 | out: *mut *mut LeonidaOpusDecoder, | ||
| 50 | ) -> i32 { | ||
| 51 | if out.is_null() { | ||
| 52 | return LEONIDA_OPUS_INVALID_ARGUMENT; | ||
| 53 | } | ||
| 54 | unsafe { *out = ptr::null_mut() }; | ||
| 55 | if sample_rate == 0 || sample_rate > i32::MAX as u32 || !(1..=2).contains(&channels) { | ||
| 56 | return LEONIDA_OPUS_INVALID_FORMAT; | ||
| 57 | } | ||
| 58 | match catch_unwind(AssertUnwindSafe(|| { | ||
| 59 | OpusDecoder::new(sample_rate as i32, channels as usize).map(|decoder| { | ||
| 60 | Box::new(LeonidaOpusDecoder { | ||
| 61 | decoder: Mutex::new(decoder), | ||
| 62 | channels: channels as usize, | ||
| 63 | }) | ||
| 64 | }) | ||
| 65 | })) { | ||
| 66 | Ok(Ok(decoder)) => { | ||
| 67 | unsafe { *out = Box::into_raw(decoder) }; | ||
| 68 | LEONIDA_OPUS_OK | ||
| 69 | } | ||
| 70 | Ok(Err(_)) => LEONIDA_OPUS_INVALID_FORMAT, | ||
| 71 | Err(_) => LEONIDA_OPUS_PANIC, | ||
| 72 | } | ||
| 73 | } | ||
| 74 | |||
| 75 | /// Decodes one Opus packet into `out` as interleaved f32 frames. | ||
| 76 | /// | ||
| 77 | /// # Safety | ||
| 78 | /// `decoder` must come from `leonida_opus_decoder_create`. `input` must reference `input_len` | ||
| 79 | /// readable bytes; `out` must hold `out_capacity_frames * channels` floats; `out_frames` must be | ||
| 80 | /// writable. Do not destroy the decoder concurrently with this call. | ||
| 81 | #[no_mangle] | ||
| 82 | pub unsafe extern "C" fn leonida_opus_decode_packet( | ||
| 83 | decoder: *mut LeonidaOpusDecoder, | ||
| 84 | input: *const u8, | ||
| 85 | input_len: usize, | ||
| 86 | out: *mut f32, | ||
| 87 | out_capacity_frames: usize, | ||
| 88 | out_frames: *mut u32, | ||
| 89 | ) -> i32 { | ||
| 90 | if decoder.is_null() | ||
| 91 | || input.is_null() | ||
| 92 | || input_len == 0 | ||
| 93 | || out.is_null() | ||
| 94 | || out_frames.is_null() | ||
| 95 | { | ||
| 96 | return LEONIDA_OPUS_INVALID_ARGUMENT; | ||
| 97 | } | ||
| 98 | let decoder = unsafe { &*decoder }; | ||
| 99 | let channels = decoder.channels; | ||
| 100 | let Ok(mut guard) = decoder.decoder.lock() else { | ||
| 101 | return LEONIDA_OPUS_DECODER_FAILURE; | ||
| 102 | }; | ||
| 103 | let packet = unsafe { std::slice::from_raw_parts(input, input_len) }; | ||
| 104 | let mut pcm = vec![0f32; LEONIDA_OPUS_MAX_FRAMES * channels]; | ||
| 105 | match guard.decode(packet, LEONIDA_OPUS_MAX_FRAMES, &mut pcm) { | ||
| 106 | Ok(frames) => { | ||
| 107 | if frames > out_capacity_frames { | ||
| 108 | return LEONIDA_OPUS_BUFFER_TOO_SMALL; | ||
| 109 | } | ||
| 110 | let samples = frames * channels; | ||
| 111 | unsafe { | ||
| 112 | ptr::copy_nonoverlapping(pcm.as_ptr(), out, samples); | ||
| 113 | *out_frames = frames as u32; | ||
| 114 | } | ||
| 115 | LEONIDA_OPUS_OK | ||
| 116 | } | ||
| 117 | Err(_) => LEONIDA_OPUS_DECODER_FAILURE, | ||
| 118 | } | ||
| 119 | } | ||
| 120 | |||
| 121 | /// # Safety | ||
| 122 | /// `decoder` must come from `leonida_opus_decoder_create` and not be used concurrently. | ||
| 123 | #[no_mangle] | ||
| 124 | pub unsafe extern "C" fn leonida_opus_decoder_reset(decoder: *mut LeonidaOpusDecoder) -> i32 { | ||
| 125 | if decoder.is_null() { | ||
| 126 | return LEONIDA_OPUS_INVALID_ARGUMENT; | ||
| 127 | } | ||
| 128 | let decoder = unsafe { &*decoder }; | ||
| 129 | let Ok(mut guard) = decoder.decoder.lock() else { | ||
| 130 | return LEONIDA_OPUS_DECODER_FAILURE; | ||
| 131 | }; | ||
| 132 | let _ = guard.reset_state(); | ||
| 133 | LEONIDA_OPUS_OK | ||
| 134 | } | ||
| 135 | |||
| 136 | /// # Safety | ||
| 137 | /// `decoder` must be a live handle and must not be used after this call. | ||
| 138 | #[no_mangle] | ||
| 139 | pub unsafe extern "C" fn leonida_opus_decoder_destroy(decoder: *mut LeonidaOpusDecoder) { | ||
| 140 | if !decoder.is_null() { | ||
| 141 | unsafe { drop(Box::from_raw(decoder)) }; | ||
| 142 | } | ||
| 143 | } | ||
| 144 | |||
| 145 | /// Test helper: encodes `frame_count` interleaved f32 frames to one Opus packet at 48 kHz. | ||
| 146 | /// | ||
| 147 | /// # Safety | ||
| 148 | /// `input` must hold `frame_count * channels` floats; `out` must hold `out_capacity` bytes; | ||
| 149 | /// `out_len` must be writable. | ||
| 150 | #[no_mangle] | ||
| 151 | pub unsafe extern "C" fn leonida_opus_encode_test( | ||
| 152 | input: *const f32, | ||
| 153 | frame_count: u32, | ||
| 154 | channels: u32, | ||
| 155 | out: *mut u8, | ||
| 156 | out_capacity: usize, | ||
| 157 | out_len: *mut usize, | ||
| 158 | ) -> i32 { | ||
| 159 | if input.is_null() | ||
| 160 | || out.is_null() | ||
| 161 | || out_len.is_null() | ||
| 162 | || frame_count == 0 | ||
| 163 | || !(1..=2).contains(&channels) | ||
| 164 | { | ||
| 165 | return LEONIDA_OPUS_INVALID_ARGUMENT; | ||
| 166 | } | ||
| 167 | let samples = frame_count as usize * channels as usize; | ||
| 168 | let input = unsafe { std::slice::from_raw_parts(input, samples) }; | ||
| 169 | let mut encoder = match OpusEncoder::new(48_000, channels as usize, Application::Audio) { | ||
| 170 | Ok(encoder) => encoder, | ||
| 171 | Err(_) => return LEONIDA_OPUS_INVALID_FORMAT, | ||
| 172 | }; | ||
| 173 | let mut packet = vec![0u8; out_capacity.max(4000)]; | ||
| 174 | match encoder.encode(input, frame_count as usize, &mut packet) { | ||
| 175 | Ok(bytes) if bytes <= out_capacity => { | ||
| 176 | unsafe { | ||
| 177 | ptr::copy_nonoverlapping(packet.as_ptr(), out, bytes); | ||
| 178 | *out_len = bytes; | ||
| 179 | } | ||
| 180 | LEONIDA_OPUS_OK | ||
| 181 | } | ||
| 182 | Ok(_) => LEONIDA_OPUS_BUFFER_TOO_SMALL, | ||
| 183 | Err(_) => LEONIDA_OPUS_DECODER_FAILURE, | ||
| 184 | } | ||
| 185 | } | ||
| 186 | |||
| 187 | #[cfg(test)] | ||
| 188 | mod tests { | ||
| 189 | use super::*; | ||
| 190 | |||
| 191 | #[test] | ||
| 192 | fn encodes_and_decodes_a_tone() { | ||
| 193 | const FRAMES: u32 = 960; | ||
| 194 | const CHANNELS: u32 = 2; | ||
| 195 | let mut tone = Vec::with_capacity((FRAMES * CHANNELS) as usize); | ||
| 196 | for i in 0..FRAMES { | ||
| 197 | let sample = ((i as f32) * 440.0 * std::f32::consts::TAU / 48_000.0).sin() * 0.5; | ||
| 198 | tone.push(sample); | ||
| 199 | tone.push(sample); | ||
| 200 | } | ||
| 201 | let mut packet = [0u8; 1500]; | ||
| 202 | let mut packet_len = 0usize; | ||
| 203 | // SAFETY: the buffers are owned by this test. | ||
| 204 | let encoded = unsafe { | ||
| 205 | leonida_opus_encode_test( | ||
| 206 | tone.as_ptr(), | ||
| 207 | FRAMES, | ||
| 208 | CHANNELS, | ||
| 209 | packet.as_mut_ptr(), | ||
| 210 | packet.len(), | ||
| 211 | &mut packet_len, | ||
| 212 | ) | ||
| 213 | }; | ||
| 214 | assert_eq!(encoded, LEONIDA_OPUS_OK); | ||
| 215 | assert!(packet_len > 0); | ||
| 216 | |||
| 217 | let mut decoder = ptr::null_mut(); | ||
| 218 | // SAFETY: `decoder` is writable for one pointer. | ||
| 219 | assert_eq!( | ||
| 220 | unsafe { leonida_opus_decoder_create(48_000, CHANNELS, &mut decoder) }, | ||
| 221 | LEONIDA_OPUS_OK | ||
| 222 | ); | ||
| 223 | let mut pcm = vec![0f32; LEONIDA_OPUS_MAX_FRAMES * CHANNELS as usize]; | ||
| 224 | let mut frames = 0u32; | ||
| 225 | // SAFETY: the packet and PCM buffers are owned by this test. | ||
| 226 | let decoded = unsafe { | ||
| 227 | leonida_opus_decode_packet( | ||
| 228 | decoder, | ||
| 229 | packet.as_ptr(), | ||
| 230 | packet_len, | ||
| 231 | pcm.as_mut_ptr(), | ||
| 232 | LEONIDA_OPUS_MAX_FRAMES, | ||
| 233 | &mut frames, | ||
| 234 | ) | ||
| 235 | }; | ||
| 236 | assert_eq!(decoded, LEONIDA_OPUS_OK); | ||
| 237 | assert_eq!(frames, FRAMES); | ||
| 238 | let energy: f32 = | ||
| 239 | pcm[..(frames * CHANNELS) as usize].iter().map(|s| s * s).sum::<f32>() / (frames * CHANNELS) as f32; | ||
| 240 | assert!(energy > 0.01, "decoded a tone, energy {energy}"); | ||
| 241 | // SAFETY: created above, destroyed once. | ||
| 242 | unsafe { leonida_opus_decoder_destroy(decoder) }; | ||
| 243 | } | ||
| 244 | } | ||
diff --git a/runtime/shims/d3d12_com.h b/runtime/shims/d3d12_com.h index ca2b02789..3bad0b767 100644 --- a/runtime/shims/d3d12_com.h +++ b/runtime/shims/d3d12_com.h | |||
| @@ -169,6 +169,9 @@ struct VulkanDeviceInfo { | |||
| 169 | bool occlusion_query_precise = false; | 169 | bool occlusion_query_precise = false; |
| 170 | bool prepare_on_bind = false; | 170 | bool prepare_on_bind = false; |
| 171 | bool cold_graphics_compile = false; // Driver supports a cache-only create and reports when compilation is pending. | 171 | bool cold_graphics_compile = false; // Driver supports a cache-only create and reports when compilation is pending. |
| 172 | // pipelineCreationCacheControl is on for the heavy pipeline cache (src/heavy_pipeline_cache.h): a pipeline the | ||
| 173 | // offline cache does not have is created against the cache of pipeline_cache.heavy.bin, written back as it grows. | ||
| 174 | bool heavy_pipeline_cache = false; | ||
| 172 | bool pipeline_statistics_query = false; | 175 | bool pipeline_statistics_query = false; |
| 173 | bool presentation = false; // VK_KHR_surface + VK_KHR_win32_surface on the instance, VK_KHR_swapchain on the device | 176 | bool presentation = false; // VK_KHR_surface + VK_KHR_win32_surface on the instance, VK_KHR_swapchain on the device |
| 174 | // VK_KHR_swapchain_maintenance1 (or VK_EXT_swapchain_maintenance1) and its swapchainMaintenance1 feature are | 177 | // VK_KHR_swapchain_maintenance1 (or VK_EXT_swapchain_maintenance1) and its swapchainMaintenance1 feature are |
diff --git a/runtime/shims/d3d12_geometry_views.h b/runtime/shims/d3d12_geometry_views.h index feb4ff52e..02f9590ba 100644 --- a/runtime/shims/d3d12_geometry_views.h +++ b/runtime/shims/d3d12_geometry_views.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #include "d3d12_title_buffer_windows.h" | 3 | #include "d3d12_title_buffer_windows.h" |
| 4 | #include "../src/memory_breakdown.h" | ||
| 4 | #include "../src/title_geometry_watch.h" | 5 | #include "../src/title_geometry_watch.h" |
| 5 | #include <atomic> | 6 | #include <atomic> |
| 6 | #include <chrono> | 7 | #include <chrono> |
| @@ -9,13 +10,14 @@ | |||
| 9 | #include <mutex> | 10 | #include <mutex> |
| 10 | #include <set> | 11 | #include <set> |
| 11 | #include <shared_mutex> | 12 | #include <shared_mutex> |
| 13 | #include <type_traits> | ||
| 12 | #include <unordered_map> | 14 | #include <unordered_map> |
| 13 | #include <utility> | 15 | #include <utility> |
| 14 | #include <vector> | 16 | #include <vector> |
| 15 | 17 | ||
| 16 | namespace rt::d3d12 { | 18 | namespace rt::d3d12 { |
| 17 | 19 | ||
| 18 | // One persistent device-local copy for each geometry extent. The console heap retains its original indices. | 20 | // One persistent copy for each geometry extent, in device-local memory (or system memory: LEONIDA_GEOMETRY_HOST). The console heap retains its original indices. |
| 19 | // Every CPU mapping of a source tile is watched; a physical remap changes which aliases must be watched. | 21 | // Every CPU mapping of a source tile is watched; a physical remap changes which aliases must be watched. |
| 20 | // Views whose title range is released are retired immediately and their backing storage is reclaimed once | 22 | // Views whose title range is released are retired immediately and their backing storage is reclaimed once |
| 21 | // in-flight GPU submissions up to their retire ticket have completed; previously cap-refused ranges retry | 23 | // in-flight GPU submissions up to their retire ticket have completed; previously cap-refused ranges retry |
| @@ -30,6 +32,7 @@ class GeometryViews { | |||
| 30 | struct NoopRetire { | 32 | struct NoopRetire { |
| 31 | void operator()(Address, std::size_t, VkDeviceSize) const noexcept {} | 33 | void operator()(Address, std::size_t, VkDeviceSize) const noexcept {} |
| 32 | }; | 34 | }; |
| 35 | struct NoCopy {}; | ||
| 33 | struct View { | 36 | struct View { |
| 34 | Address source{}; | 37 | Address source{}; |
| 35 | std::size_t size{}; | 38 | std::size_t size{}; |
| @@ -121,7 +124,7 @@ class GeometryViews { | |||
| 121 | std::atomic<std::uint64_t> free_generation_{0}; | 124 | std::atomic<std::uint64_t> free_generation_{0}; |
| 122 | std::uint64_t serial_{}, bytes_{}, cap_refusals_{}, allocation_failures_{}, ready_{}, uploads_{}, uploaded_{}; | 125 | std::uint64_t serial_{}, bytes_{}, cap_refusals_{}, allocation_failures_{}, ready_{}, uploads_{}, uploaded_{}; |
| 123 | std::uint64_t submissions_{}, dirty_refreshes_{}, refilled_{}, tile_fills_{}; | 126 | std::uint64_t submissions_{}, dirty_refreshes_{}, refilled_{}, tile_fills_{}; |
| 124 | std::uint64_t evicted_{}, reaped_{}, retries_succeeded_{}; | 127 | std::uint64_t evicted_{}, reaped_{}, retries_succeeded_{}, final_copies_{}; |
| 125 | std::unordered_map<Address, std::size_t> tile_reads_; // refresh(): offset in tile_scratch_, SIZE_MAX unreadable | 128 | std::unordered_map<Address, std::size_t> tile_reads_; // refresh(): offset in tile_scratch_, SIZE_MAX unreadable |
| 126 | // refresh() scratch: per view, whether it waits on a tile (pinned), is filled whole, was touched, was counted; | 129 | // refresh() scratch: per view, whether it waits on a tile (pinned), is filled whole, was touched, was counted; |
| 127 | // and the tiles found written, in address order. | 130 | // and the tiles found written, in address order. |
| @@ -213,6 +216,7 @@ class GeometryViews { | |||
| 213 | 216 | ||
| 214 | public: | 217 | public: |
| 215 | explicit GeometryViews(std::uint64_t cap_override = 0) : cap_override_(cap_override) { | 218 | explicit GeometryViews(std::uint64_t cap_override = 0) : cap_override_(cap_override) { |
| 219 | pool_.set_system_memory(system_memory_setting()); | ||
| 216 | leonida::geometry_writes::subscribe(releases_); | 220 | leonida::geometry_writes::subscribe(releases_); |
| 217 | } | 221 | } |
| 218 | ~GeometryViews() { leonida::geometry_writes::unsubscribe(releases_); } | 222 | ~GeometryViews() { leonida::geometry_writes::unsubscribe(releases_); } |
| @@ -231,6 +235,16 @@ public: | |||
| 231 | 235 | ||
| 232 | std::uint64_t effective_cap() const { return cap_override_ ? cap_override_ : cap(); } | 236 | std::uint64_t effective_cap() const { return cap_override_ ? cap_override_ : cap(); } |
| 233 | 237 | ||
| 238 | // LEONIDA_GEOMETRY_HOST: where the copies live. Unset or 0: device-local memory (the BAR) while the driver gives it; | ||
| 239 | // 1: system memory, write-back (cached) where the device offers it; 2: system memory, write-combined. The GPU then | ||
| 240 | // reads the copies over the bus (VRAM saved, each read of a vertex or index slower). | ||
| 241 | static int system_memory_setting() { | ||
| 242 | const char* v = std::getenv("LEONIDA_GEOMETRY_HOST"); | ||
| 243 | if (!v || !*v || *v == '0') return TitleBufferWindows::kDeviceLocal; | ||
| 244 | return *v == '2' ? TitleBufferWindows::kSystemUncached : TitleBufferWindows::kSystemCached; | ||
| 245 | } | ||
| 246 | int system_memory() const { return pool_.system_memory(); } | ||
| 247 | |||
| 234 | bool has_released() const { return leonida::geometry_writes::has_released(releases_); } | 248 | bool has_released() const { return leonida::geometry_writes::has_released(releases_); } |
| 235 | bool has_retired() const { return retired_count_.load(std::memory_order_acquire) != 0; } | 249 | bool has_retired() const { return retired_count_.load(std::memory_order_acquire) != 0; } |
| 236 | bool has_pending_reclaim() const { return has_released() || has_retired(); } | 250 | bool has_pending_reclaim() const { return has_released() || has_retired(); } |
| @@ -258,6 +272,10 @@ public: | |||
| 258 | std::lock_guard lock(mutex_); | 272 | std::lock_guard lock(mutex_); |
| 259 | return evicted_; | 273 | return evicted_; |
| 260 | } | 274 | } |
| 275 | std::uint64_t final_copies() const { | ||
| 276 | std::lock_guard lock(mutex_); | ||
| 277 | return final_copies_; | ||
| 278 | } | ||
| 261 | std::uint64_t reaped() const { | 279 | std::uint64_t reaped() const { |
| 262 | std::lock_guard lock(mutex_); | 280 | std::lock_guard lock(mutex_); |
| 263 | return reaped_; | 281 | return reaped_; |
| @@ -301,6 +319,7 @@ public: | |||
| 301 | VkDeviceSize va{}; | 319 | VkDeviceSize va{}; |
| 302 | bool at_cap = false; | 320 | bool at_cap = false; |
| 303 | const bool over_bytes = bytes_ >= limit || bytes > limit - bytes_; | 321 | const bool over_bytes = bytes_ >= limit || bytes > limit - bytes_; |
| 322 | leonida::memory_breakdown::Owner owner(leonida::memory_breakdown::Consumer::geometry); | ||
| 304 | if (over_bytes || !pool_.allocate(device, bytes, va, mapped, true, limit, &at_cap)) { | 323 | if (over_bytes || !pool_.allocate(device, bytes, va, mapped, true, limit, &at_cap)) { |
| 305 | if (at_cap || over_bytes) { | 324 | if (at_cap || over_bytes) { |
| 306 | refused_[key] = gen; | 325 | refused_[key] = gen; |
| @@ -393,9 +412,14 @@ public: | |||
| 393 | // Retires every live view overlapping [begin, end), unlinking it from lookup/refresh/watch immediately and | 412 | // Retires every live view overlapping [begin, end), unlinking it from lookup/refresh/watch immediately and |
| 394 | // deferring its backing storage reclamation until GPU submissions through `retire_ticket` have completed | 413 | // deferring its backing storage reclamation until GPU submissions through `retire_ticket` have completed |
| 395 | // (kAfterExecutes: through the submissions of every replay in progress now, see execute_end). | 414 | // (kAfterExecutes: through the submissions of every replay in progress now, see execute_end). |
| 396 | template<class OnRetire = NoopRetire> | 415 | // With `final_copy` (a refresh's copy), a ready view whose title range is readable now is copied from it once more |
| 416 | // before it leaves the refresh: a released range that is still readable (a heap block freed in memory that stays | ||
| 417 | // committed) may hold new bytes, and a list recorded before the release that runs in a submission the view waits | ||
| 418 | // for reads those, as it would have read them in the console's memory. Decommitted or unmapped memory is not | ||
| 419 | // readable, so such a view keeps what it held. | ||
| 420 | template<class OnRetire = NoopRetire, class Copy = NoCopy> | ||
| 397 | std::size_t retire_range(Address begin, Address end, std::uint64_t retire_ticket = 0, | 421 | std::size_t retire_range(Address begin, Address end, std::uint64_t retire_ticket = 0, |
| 398 | OnRetire&& on_retire = {}) { | 422 | OnRetire&& on_retire = {}, Copy&& final_copy = {}) { |
| 399 | if (end <= begin) return 0; | 423 | if (end <= begin) return 0; |
| 400 | struct CallbackItem { | 424 | struct CallbackItem { |
| 401 | Address source; | 425 | Address source; |
| @@ -425,6 +449,13 @@ public: | |||
| 425 | const std::size_t first_retired = retired_.size(); | 449 | const std::size_t first_retired = retired_.size(); |
| 426 | for (const auto id : ids) { | 450 | for (const auto id : ids) { |
| 427 | View& v = views_[id]; | 451 | View& v = views_[id]; |
| 452 | if constexpr (!std::is_same_v<std::decay_t<Copy>, NoCopy>) { | ||
| 453 | if (v.ready && final_copy(v.dst, reinterpret_cast<const std::uint8_t*>(v.source), v.size) == | ||
| 454 | GeometryCopy::copied) { | ||
| 455 | ++final_copies_; | ||
| 456 | uploaded_ += v.size; | ||
| 457 | } | ||
| 458 | } | ||
| 428 | detach_tiles_locked(id, v.source, v.size); | 459 | detach_tiles_locked(id, v.source, v.size); |
| 429 | if (v.ready) { | 460 | if (v.ready) { |
| 430 | --ready_; | 461 | --ready_; |
| @@ -495,21 +526,21 @@ public: | |||
| 495 | return freed; | 526 | return freed; |
| 496 | } | 527 | } |
| 497 | 528 | ||
| 498 | // Drains released title ranges recorded by xmem (retiring matching views at `retire_ticket`) and reaps retired | 529 | // Drains released title ranges recorded by xmem (retiring matching views at `retire_ticket`, with `final_copy` as |
| 499 | // views whose GPU work completed by `completed_ticket`. | 530 | // retire_range takes it) and reaps retired views whose GPU work completed by `completed_ticket`. |
| 500 | template<class Device, class OnRetire = NoopRetire> | 531 | template<class Device, class OnRetire = NoopRetire, class Copy = NoCopy> |
| 501 | void drain_released(Device& device, std::uint64_t retire_ticket, std::uint64_t completed_ticket, | 532 | void drain_released(Device& device, std::uint64_t retire_ticket, std::uint64_t completed_ticket, |
| 502 | OnRetire&& on_retire = {}) { | 533 | OnRetire&& on_retire = {}, Copy&& final_copy = {}) { |
| 503 | std::vector<std::pair<Address, Address>> ranges; | 534 | std::vector<std::pair<Address, Address>> ranges; |
| 504 | leonida::geometry_writes::take_released(releases_, ranges); | 535 | leonida::geometry_writes::take_released(releases_, ranges); |
| 505 | for (const auto& [begin, end] : ranges) { | 536 | for (const auto& [begin, end] : ranges) { |
| 506 | retire_range(begin, end, retire_ticket, on_retire); | 537 | retire_range(begin, end, retire_ticket, on_retire, final_copy); |
| 507 | leonida::title_gpu_views::Range pair{}; | 538 | leonida::title_gpu_views::Range pair{}; |
| 508 | if (end > begin && leonida::title_gpu_views::view_at(begin, 1, pair) && | 539 | if (end > begin && leonida::title_gpu_views::view_at(begin, 1, pair) && |
| 509 | begin >= pair.gpu && begin - pair.gpu < pair.size) { | 540 | begin >= pair.gpu && begin - pair.gpu < pair.size) { |
| 510 | const Address offset = begin - pair.gpu; | 541 | const Address offset = begin - pair.gpu; |
| 511 | const Address span = (std::min)(end - begin, pair.size - offset); | 542 | const Address span = (std::min)(end - begin, pair.size - offset); |
| 512 | retire_range(pair.cpu + offset, pair.cpu + offset + span, retire_ticket, on_retire); | 543 | retire_range(pair.cpu + offset, pair.cpu + offset + span, retire_ticket, on_retire, final_copy); |
| 513 | } | 544 | } |
| 514 | } | 545 | } |
| 515 | reap(device, completed_ticket); | 546 | reap(device, completed_ticket); |
| @@ -666,14 +697,17 @@ public: | |||
| 666 | if (!effective_cap()) return; | 697 | if (!effective_cap()) return; |
| 667 | std::lock_guard lock(mutex_); | 698 | std::lock_guard lock(mutex_); |
| 668 | std::fprintf(stderr, "[rt] geometry buffers: seen %zu, backed %zu (%llu bytes), populated %llu, cap %llu MiB, " | 699 | std::fprintf(stderr, "[rt] geometry buffers: seen %zu, backed %zu (%llu bytes), populated %llu, cap %llu MiB, " |
| 669 | "cap refused %llu, retried ok %llu, evicted %llu (reaped %llu, retired %zu), " | 700 | "cap refused %llu, retried ok %llu, evicted %llu (reaped %llu, retired %zu, copied at " |
| 670 | "allocation failures %llu, uploads %llu (%llu bytes), watched tiles %zu, reserved %llu bytes\n", | 701 | "retirement %llu), allocation failures %llu, uploads %llu (%llu bytes), watched tiles %zu, " |
| 702 | "reserved %llu bytes (%s)\n", | ||
| 671 | keys_.size() + refused_.size(), live_views_, (unsigned long long)bytes_, (unsigned long long)ready_, | 703 | keys_.size() + refused_.size(), live_views_, (unsigned long long)bytes_, (unsigned long long)ready_, |
| 672 | (unsigned long long)(effective_cap() >> 20), (unsigned long long)cap_refusals_, | 704 | (unsigned long long)(effective_cap() >> 20), (unsigned long long)cap_refusals_, |
| 673 | (unsigned long long)retries_succeeded_, (unsigned long long)evicted_, | 705 | (unsigned long long)retries_succeeded_, (unsigned long long)evicted_, |
| 674 | (unsigned long long)reaped_, retired_.size(), (unsigned long long)allocation_failures_, | 706 | (unsigned long long)reaped_, retired_.size(), (unsigned long long)final_copies_, |
| 707 | (unsigned long long)allocation_failures_, | ||
| 675 | (unsigned long long)uploads_, (unsigned long long)uploaded_, tiles_.size(), | 708 | (unsigned long long)uploads_, (unsigned long long)uploaded_, tiles_.size(), |
| 676 | static_cast<unsigned long long>(pool_.reserved())); | 709 | static_cast<unsigned long long>(pool_.reserved()), |
| 710 | pool_.system_memory() ? "system memory" : "device-local"); | ||
| 677 | std::fprintf(stderr, "[rt] geometry refresh: %llu/%llu submissions uploaded dirty views, %llu bytes (%llu views by " | 711 | std::fprintf(stderr, "[rt] geometry refresh: %llu/%llu submissions uploaded dirty views, %llu bytes (%llu views by " |
| 678 | "their written tiles only); %.3f s checking and refreshing sources, %llu bytes cleared\n", | 712 | "their written tiles only); %.3f s checking and refreshing sources, %llu bytes cleared\n", |
| 679 | static_cast<unsigned long long>(dirty_refreshes_), static_cast<unsigned long long>(submissions_), | 713 | static_cast<unsigned long long>(dirty_refreshes_), static_cast<unsigned long long>(submissions_), |
diff --git a/runtime/shims/d3d12_precompile.h b/runtime/shims/d3d12_precompile.h index 447c4db4e..ca96bb764 100644 --- a/runtime/shims/d3d12_precompile.h +++ b/runtime/shims/d3d12_precompile.h | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | // (src/pipeline_cache_journal.h) under the name the game looks it up by, and in the driver's own disk cache, which | 8 | // (src/pipeline_cache_journal.h) under the name the game looks it up by, and in the driver's own disk cache, which |
| 9 | // NVIDIA keys by the executable's name. Entries whose journal file is there are skipped, so a run can be stopped at | 9 | // NVIDIA keys by the executable's name. Entries whose journal file is there are skipped, so a run can be stopped at |
| 10 | // any time and started again. | 10 | // any time and started again. |
| 11 | // | ||
| 12 | // LEONIDA_SKIP_COMPUTE (the play-time list of compute programs whose dispatches are dropped) does not narrow the | ||
| 13 | // build: a player runs this with the game's environment, and a program kept out of the journal here would stay out | ||
| 14 | // after the list is shortened. --skip-listed leaves the listed entries out on purpose. The last line counts what was | ||
| 15 | // built, what was journaled already and what was left out, and why. | ||
| 11 | #pragma once | 16 | #pragma once |
| 12 | 17 | ||
| 13 | #include <cstddef> | 18 | #include <cstddef> |
| @@ -25,6 +30,7 @@ struct PrecompileOptions { | |||
| 25 | std::size_t limit = 0; // at most this many entries (0: all) | 30 | std::size_t limit = 0; // at most this many entries (0: all) |
| 26 | std::size_t min_bytes = 0, max_bytes = 0; // SPIR-V size bounds (0: none) | 31 | std::size_t min_bytes = 0, max_bytes = 0; // SPIR-V size bounds (0: none) |
| 27 | std::vector<std::string> filters; // only entries whose name contains one of these | 32 | std::vector<std::string> filters; // only entries whose name contains one of these |
| 33 | bool skip_listed = false; // --skip-listed: leave out the entries LEONIDA_SKIP_COMPUTE names | ||
| 28 | bool dry_run = false; // --list: print the plan, build nothing | 34 | bool dry_run = false; // --list: print the plan, build nothing |
| 29 | bool via_helper = false; // --via-helper: as a title does with LEONIDA_COMPILE_HELPER=1 (a test) | 35 | bool via_helper = false; // --via-helper: as a title does with LEONIDA_COMPILE_HELPER=1 (a test) |
| 30 | }; | 36 | }; |
diff --git a/runtime/shims/d3d12_title_buffer_windows.h b/runtime/shims/d3d12_title_buffer_windows.h index 06927cb4b..c85809e8e 100644 --- a/runtime/shims/d3d12_title_buffer_windows.h +++ b/runtime/shims/d3d12_title_buffer_windows.h | |||
| @@ -38,6 +38,10 @@ class TitleBufferWindows { | |||
| 38 | std::chrono::steady_clock::time_point failed_at_{}; | 38 | std::chrono::steady_clock::time_point failed_at_{}; |
| 39 | bool failed_ = false; | 39 | bool failed_ = false; |
| 40 | bool local_refused_ = false; // device-local blocks refused once: host memory from then on | 40 | bool local_refused_ = false; // device-local blocks refused once: host memory from then on |
| 41 | // SystemMemory: where a device_local allocation goes instead (set_system_memory; GeometryViews from | ||
| 42 | // LEONIDA_GEOMETRY_HOST). | ||
| 43 | int system_memory_ = 0; | ||
| 44 | bool system_memory_logged_ = false; | ||
| 41 | std::uint64_t quick_refusals_ = 0; | 45 | std::uint64_t quick_refusals_ = 0; |
| 42 | // The blocks' (device address, capacity), readable without the owner's lock: published in order, a slot never | 46 | // The blocks' (device address, capacity), readable without the owner's lock: published in order, a slot never |
| 43 | // reused before release(). A destroyed block's slot keeps its other fields and only its address goes to 0 (the | 47 | // reused before release(). A destroyed block's slot keeps its other fields and only its address goes to 0 (the |
| @@ -73,7 +77,38 @@ class TitleBufferWindows { | |||
| 73 | blocks_.erase(it); | 77 | blocks_.erase(it); |
| 74 | } | 78 | } |
| 75 | 79 | ||
| 80 | // The memory types a system-memory block may take: host-visible ones outside device-local memory (the GPU reads | ||
| 81 | // them over the bus), the write-back (cached) ones only when `cached`, else the write-combined ones only. None of | ||
| 82 | // them: every type `bits` allows (an integrated GPU, whose memory is all device-local). | ||
| 83 | template<class Device> | ||
| 84 | static std::uint32_t system_memory_types(const Device& d, std::uint32_t bits, bool cached) { | ||
| 85 | if constexpr (requires { d.memory.memoryTypes[0].propertyFlags; d.memory.memoryTypeCount; }) { | ||
| 86 | std::uint32_t host = 0, wanted = 0; | ||
| 87 | for (std::uint32_t i = 0; i < d.memory.memoryTypeCount && i < 32; ++i) { | ||
| 88 | if (!(bits & (1u << i))) continue; | ||
| 89 | const VkMemoryPropertyFlags f = d.memory.memoryTypes[i].propertyFlags; | ||
| 90 | if ((f & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) || !(f & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) || | ||
| 91 | !(f & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT)) | ||
| 92 | continue; | ||
| 93 | host |= 1u << i; | ||
| 94 | if (bool(f & VK_MEMORY_PROPERTY_HOST_CACHED_BIT) == cached) wanted |= 1u << i; | ||
| 95 | } | ||
| 96 | return wanted ? wanted : host ? host : bits; | ||
| 97 | } else { | ||
| 98 | (void)d; | ||
| 99 | (void)cached; | ||
| 100 | return bits; | ||
| 101 | } | ||
| 102 | } | ||
| 103 | |||
| 76 | public: | 104 | public: |
| 105 | // Where blocks asked for as device_local go: kDeviceLocal (Resizable BAR while the driver gives it, the default), | ||
| 106 | // kSystemCached (host memory outside VRAM, write-back where the device offers it: what VIctory gives its copies | ||
| 107 | // of title memory) or kSystemUncached (host memory outside VRAM, write-combined). The GPU reads the system-memory | ||
| 108 | // kinds over the bus. Set before the first allocation. | ||
| 109 | static constexpr int kDeviceLocal = 0, kSystemCached = 1, kSystemUncached = 2; | ||
| 110 | void set_system_memory(int kind) { system_memory_ = kind; } | ||
| 111 | int system_memory() const { return system_memory_; } | ||
| 77 | VkDeviceSize reserved() const { return reserved_; } | 112 | VkDeviceSize reserved() const { return reserved_; } |
| 78 | // f(device address, capacity) for each live block; from any thread. | 113 | // f(device address, capacity) for each live block; from any thread. |
| 79 | template <class F> | 114 | template <class F> |
| @@ -186,10 +221,26 @@ public: | |||
| 186 | // story load the driver refused every 4 MiB device-local, host-visible block with a device address | 221 | // story load the driver refused every 4 MiB device-local, host-visible block with a device address |
| 187 | // (VK_ERROR_OUT_OF_HOST_MEMORY, speed-8/-9) while host memory still served: once that happens, later blocks | 222 | // (VK_ERROR_OUT_OF_HOST_MEMORY, speed-8/-9) while host memory still served: once that happens, later blocks |
| 188 | // go straight to host memory instead of through DeviceState::allocate's sleeping retries first. | 223 | // go straight to host memory instead of through DeviceState::allocate's sleeping retries first. |
| 224 | // A device_local request under set_system_memory takes system memory instead, out of the types that are not | ||
| 225 | // device-local (memory_type_order would otherwise give the first host-visible type, which can be the BAR). | ||
| 189 | VkMemoryPropertyFlags chosen = 0; | 226 | VkMemoryPropertyFlags chosen = 0; |
| 190 | const bool want_local = device_local && !local_refused_; | 227 | const bool system = device_local && system_memory_ != kDeviceLocal; |
| 191 | b.memory = d.allocate(req, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, | 228 | const bool want_local = device_local && !local_refused_ && !system; |
| 192 | want_local ? VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT : 0, &chosen, true); | 229 | VkMemoryRequirements types = req; |
| 230 | if (system) types.memoryTypeBits = system_memory_types(d, req.memoryTypeBits, system_memory_ == kSystemCached); | ||
| 231 | b.memory = d.allocate(types, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, | ||
| 232 | want_local ? VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | ||
| 233 | : system && system_memory_ == kSystemCached ? VK_MEMORY_PROPERTY_HOST_CACHED_BIT | ||
| 234 | : 0, | ||
| 235 | &chosen, true); | ||
| 236 | if (b.memory && system && !system_memory_logged_) { | ||
| 237 | system_memory_logged_ = true; | ||
| 238 | std::fprintf(stderr, "[rt] d3d12: title buffer copies in system memory (LEONIDA_GEOMETRY_HOST): memory " | ||
| 239 | "flags 0x%x (%s, %s)\n", | ||
| 240 | unsigned(chosen), | ||
| 241 | (chosen & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) ? "device-local: no other type" : "not VRAM", | ||
| 242 | (chosen & VK_MEMORY_PROPERTY_HOST_CACHED_BIT) ? "write-back" : "write-combined"); | ||
| 243 | } | ||
| 193 | if (b.memory && want_local && !(chosen & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)) { | 244 | if (b.memory && want_local && !(chosen & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)) { |
| 194 | local_refused_ = true; | 245 | local_refused_ = true; |
| 195 | std::fprintf(stderr, "[rt] d3d12: title buffer windows: device-local memory refused a %llu KiB block; " | 246 | std::fprintf(stderr, "[rt] d3d12: title buffer windows: device-local memory refused a %llu KiB block; " |
diff --git a/runtime/shims/d3d12_vulkan_device.cpp b/runtime/shims/d3d12_vulkan_device.cpp index ca25ccc9e..f2fa3a45c 100644 --- a/runtime/shims/d3d12_vulkan_device.cpp +++ b/runtime/shims/d3d12_vulkan_device.cpp | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | #include "dxgi_com.h" | 32 | #include "dxgi_com.h" |
| 33 | #include "../src/arena_size.h" | 33 | #include "../src/arena_size.h" |
| 34 | #include "../src/value_write_sink.h" | 34 | #include "../src/value_write_sink.h" |
| 35 | #include "../src/address_guard.h" | ||
| 35 | #include "../src/arena_blocks.h" | 36 | #include "../src/arena_blocks.h" |
| 36 | #include "../src/gfx10_descriptors.h" | 37 | #include "../src/gfx10_descriptors.h" |
| 37 | #include "../src/depth24_fragment.h" | 38 | #include "../src/depth24_fragment.h" |
| @@ -47,6 +48,7 @@ | |||
| 47 | #include "../src/pipeline_cache_file.h" | 48 | #include "../src/pipeline_cache_file.h" |
| 48 | #include "../src/pipeline_profile.h" | 49 | #include "../src/pipeline_profile.h" |
| 49 | #include "../src/submit_phases.h" | 50 | #include "../src/submit_phases.h" |
| 51 | #include "../src/heavy_pipeline_cache.h" | ||
| 50 | #include "../src/pipeline_cache_store.h" | 52 | #include "../src/pipeline_cache_store.h" |
| 51 | #include "../src/pipeline_cache_journal.h" | 53 | #include "../src/pipeline_cache_journal.h" |
| 52 | #include "../src/large_module_gate.h" | 54 | #include "../src/large_module_gate.h" |
| @@ -55,6 +57,7 @@ | |||
| 55 | #include "../src/resource_detile.h" | 57 | #include "../src/resource_detile.h" |
| 56 | #include "../src/console_texture_layout.h" | 58 | #include "../src/console_texture_layout.h" |
| 57 | #include "../src/shader_library.h" | 59 | #include "../src/shader_library.h" |
| 60 | #include "../src/shadow_keep.h" | ||
| 58 | #include "../src/dstorage_trace.h" | 61 | #include "../src/dstorage_trace.h" |
| 59 | #include "../src/title_page_watch.h" | 62 | #include "../src/title_page_watch.h" |
| 60 | #include "../src/guarded_copy.h" | 63 | #include "../src/guarded_copy.h" |
| @@ -65,7 +68,7 @@ | |||
| 65 | #include "../src/spirv_f16_halves.h" | 68 | #include "../src/spirv_f16_halves.h" |
| 66 | #include "../src/spirv_stores.h" | 69 | #include "../src/spirv_stores.h" |
| 67 | #include "../src/title_va_alias.h" | 70 | #include "../src/title_va_alias.h" |
| 68 | #include "../src/console_heap_vsharp_slots.h" | 71 | #include "../src/console_heap_slot_records.h" |
| 69 | #include "../src/title_window_plan.h" | 72 | #include "../src/title_window_plan.h" |
| 70 | #include "../src/vulkan_present.h" | 73 | #include "../src/vulkan_present.h" |
| 71 | #include "../src/vulkan_device_filter.h" | 74 | #include "../src/vulkan_device_filter.h" |
| @@ -127,6 +130,8 @@ constexpr VkDeviceSize kZeroPage = 64 * 1024; // zeroed: what unbound vertex an | |||
| 127 | constexpr auto kQuadIndicesPerQuad = std::uint32_t(leonida::quad_triangle_indices.size()); | 130 | constexpr auto kQuadIndicesPerQuad = std::uint32_t(leonida::quad_triangle_indices.size()); |
| 128 | constexpr std::uint32_t kQuadIndexCount = 16 * 1024 * kQuadIndicesPerQuad; | 131 | constexpr std::uint32_t kQuadIndexCount = 16 * 1024 * kQuadIndicesPerQuad; |
| 129 | constexpr VkDeviceSize kArenaReserved = kZeroPage + VkDeviceSize(kQuadIndexCount) * sizeof(std::uint32_t); | 132 | constexpr VkDeviceSize kArenaReserved = kZeroPage + VkDeviceSize(kQuadIndexCount) * sizeof(std::uint32_t); |
| 133 | // LEONIDA_ADDRESS_GUARD's header and sinks follow the quad indices (src/address_guard.h). | ||
| 134 | static_assert(kArenaReserved <= leonida::address_guard::kGuardHeader); | ||
| 130 | static_assert(sizeof(leonida::TargetView) <= kDescriptorSize); | 135 | static_assert(sizeof(leonida::TargetView) <= kDescriptorSize); |
| 131 | // pipeline_cache_store.h reads this layout without vulkan.h (D3D-704); remember the two. | 136 | // pipeline_cache_store.h reads this layout without vulkan.h (D3D-704); remember the two. |
| 132 | static_assert(sizeof(VkPipelineCacheHeaderVersionOne) == leonida::pipeline_cache_store::header_bytes); | 137 | static_assert(sizeof(VkPipelineCacheHeaderVersionOne) == leonida::pipeline_cache_store::header_bytes); |
| @@ -159,6 +164,18 @@ void log_once(const char* what, int value) { | |||
| 159 | if (first_diagnostic(what, value)) std::fprintf(stderr, "[rt] d3d12: %s %d\n", what, value); | 164 | if (first_diagnostic(what, value)) std::fprintf(stderr, "[rt] d3d12: %s %d\n", what, value); |
| 160 | } | 165 | } |
| 161 | 166 | ||
| 167 | // LEONIDA_ADDRESS_GUARD=1: the address guard (docs/d3d12_vulkan.md, "Address guard"). The arena keeps its guard | ||
| 168 | // header and sinks at heap_base + 0x70000..0x80000 and a page table of every backing outside it is kept current | ||
| 169 | // before each submission, so shaders translated with `rdna2spirv.py --address-guard` read 0 from, and drop stores | ||
| 170 | // to, an address nothing backs. Without it those shaders find no header and check nothing. | ||
| 171 | bool address_guard_enabled() { | ||
| 172 | static const bool on = [] { | ||
| 173 | wchar_t value[2]{}; | ||
| 174 | return GetEnvironmentVariableW(L"LEONIDA_ADDRESS_GUARD", value, 2) == 1 && value[0] == L'1'; | ||
| 175 | }(); | ||
| 176 | return on; | ||
| 177 | } | ||
| 178 | |||
| 162 | // Matches the offset interpretation of the selected shader pack. | 179 | // Matches the offset interpretation of the selected shader pack. |
| 163 | bool signed_vsharp_offsets() { | 180 | bool signed_vsharp_offsets() { |
| 164 | static const bool on = [] { | 181 | static const bool on = [] { |
| @@ -225,18 +242,24 @@ bool copy_guarded(std::uint8_t* to, const std::uint8_t* from, std::size_t bytes, | |||
| 225 | // (streaming, file reads, XG copies) or whole planes (video), never a few bytes inside a page. The same sampling as | 242 | // (streaming, file reads, XG copies) or whole planes (video), never a few bytes inside a page. The same sampling as |
| 226 | // OpenScarlett's texture hash before submission (src/gpu/d3d12_xs/device_x.cpp, f8e24d4, MIT), with more samples. | 243 | // OpenScarlett's texture hash before submission (src/gpu/d3d12_xs/device_x.cpp, f8e24d4, MIT), with more samples. |
| 227 | // False when a page faults (the title unmapped it). No C++ objects here: it is a __try frame. | 244 | // False when a page faults (the title unmapped it). No C++ objects here: it is a __try frame. |
| 228 | inline std::uint64_t mix_words(std::uint64_t h, const std::uint8_t* at, std::size_t n) { | 245 | #pragma pack(push, 1) |
| 246 | struct UnalignedWord64 { | ||
| 247 | std::uint64_t value; | ||
| 248 | }; | ||
| 249 | #pragma pack(pop) | ||
| 250 | |||
| 251 | LEONIDA_GUARDED_NO_BUILTIN inline std::uint64_t mix_words(std::uint64_t h, const std::uint8_t* at, std::size_t n) { | ||
| 229 | for (std::size_t i = 0; i + 8 <= n; i += 8) { | 252 | for (std::size_t i = 0; i + 8 <= n; i += 8) { |
| 230 | std::uint64_t w; | 253 | const std::uint64_t w = reinterpret_cast<const UnalignedWord64*>(at + i)->value; |
| 231 | std::memcpy(&w, at + i, 8); | ||
| 232 | h = (h ^ w) * 0x100000001b3ull; | 254 | h = (h ^ w) * 0x100000001b3ull; |
| 233 | h ^= h >> 29; | 255 | h ^= h >> 29; |
| 234 | } | 256 | } |
| 235 | return h; | 257 | return h; |
| 236 | } | 258 | } |
| 237 | // The reads of hash_guarded, in a frame of its own: an inline load inside the __try is not covered by clang-cl | 259 | // The reads of hash_guarded, in a frame of its own: an inline load inside the __try is not covered by clang-cl |
| 238 | // without /EHa (src/guarded_copy.h). | 260 | // without /EHa, and a CRT memcpy call is not covered under Wine (src/guarded_copy.h). |
| 239 | __declspec(noinline) std::uint64_t hash_bytes(const std::uint8_t* p, std::size_t bytes, bool every_byte) { | 261 | __declspec(noinline) LEONIDA_GUARDED_NO_BUILTIN std::uint64_t hash_bytes(const std::uint8_t* p, std::size_t bytes, |
| 262 | bool every_byte) { | ||
| 240 | std::uint64_t h = 0x9e3779b97f4a7c15ull ^ bytes; | 263 | std::uint64_t h = 0x9e3779b97f4a7c15ull ^ bytes; |
| 241 | if (bytes <= (256u << 10) || every_byte) { | 264 | if (bytes <= (256u << 10) || every_byte) { |
| 242 | h = mix_words(h, p, bytes & ~std::size_t(7)); | 265 | h = mix_words(h, p, bytes & ~std::size_t(7)); |
| @@ -358,6 +381,7 @@ public: | |||
| 358 | last_ = (end_ + kPage - 1) & ~(kPage - 1); | 381 | last_ = (end_ + kPage - 1) & ~(kPage - 1); |
| 359 | state_.assign((last_ - first_) / kPage, 0); | 382 | state_.assign((last_ - first_) / kPage, 0); |
| 360 | idle_.assign(state_.size(), 0); | 383 | idle_.assign(state_.size(), 0); |
| 384 | sums_.assign(state_.size() * kPieces, 0); | ||
| 361 | cover_.assign(state_.size(), 1); | 385 | cover_.assign(state_.size(), 1); |
| 362 | targets_.push_back({begin_, end_, shadow}); | 386 | targets_.push_back({begin_, end_, shadow}); |
| 363 | index_targets(); | 387 | index_targets(); |
| @@ -377,6 +401,83 @@ public: | |||
| 377 | ShadowPages(const ShadowPages&) = delete; | 401 | ShadowPages(const ShadowPages&) = delete; |
| 378 | ShadowPages& operator=(const ShadowPages&) = delete; | 402 | ShadowPages& operator=(const ShadowPages&) = delete; |
| 379 | 403 | ||
| 404 | // What the GPU writes into the copies of [from, to) goes back to the title's pages. Returns the bytes written. | ||
| 405 | // Called before the next refresh, so a page the title writes again is copied forward over the result, as on a GPU | ||
| 406 | // that shares the memory. | ||
| 407 | // | ||
| 408 | // Only the bytes a copy holds differently from the title's page go back, and only on a page known unchanged since | ||
| 409 | // it was copied: guarded (read-only since that copy), or write-watched and found unwritten by an asking made here. | ||
| 410 | // The asking comes first because write_back runs before refresh() asks: a hot page still carried kClean from the | ||
| 411 | // last asking, so the title's writes since then were copied over with the older copy. Comparing first leaves a | ||
| 412 | // read-only binding's pages alone (guarded, so a write the title makes meanwhile faults and waits on the lock), | ||
| 413 | // where opening them for a whole copy lost a write made between the opening and the copy; and of two copies of | ||
| 414 | // the same bytes only the one that differs is written, where the last one won. | ||
| 415 | std::size_t write_back(std::uintptr_t from, std::uintptr_t to) { | ||
| 416 | from = std::max(from, first_), to = std::min(to, last_); | ||
| 417 | if (from >= to) return 0; | ||
| 418 | AcquireSRWLockExclusive(&lock_); | ||
| 419 | // What changed since the last refresh, as refresh() learns it: mappings (the journal), kernel-write pins, and | ||
| 420 | // the write watch. A journal that no longer reaches back makes nothing known: nothing goes back. | ||
| 421 | std::uint64_t map_generation = leonida::title_memory_map::generation(); | ||
| 422 | bool known = map_generation_ != ~std::uint64_t(0); | ||
| 423 | if (known && map_generation != map_generation_) | ||
| 424 | known = leonida::title_memory_map::changes_since( | ||
| 425 | map_generation_, map_generation, first_, last_, [&](std::uintptr_t a, std::uintptr_t b) { | ||
| 426 | for (std::size_t i = (a - first_) / kPage, i1 = (b - first_ + kPage - 1) / kPage; | ||
| 427 | i < i1 && i < state_.size(); ++i) | ||
| 428 | state_[i] |= kRequery; | ||
| 429 | }); | ||
| 430 | if (!known) { | ||
| 431 | ReleaseSRWLockExclusive(&lock_); | ||
| 432 | return 0; | ||
| 433 | } | ||
| 434 | leonida::kernel_writes::for_each_pin(from, to, [&](std::uintptr_t a, std::uintptr_t b) { | ||
| 435 | for (std::uintptr_t p = std::max(a, from) & ~(kPage - 1); p < std::min(b, to); p += kPage) | ||
| 436 | state_[(p - first_) / kPage] |= kPinned; | ||
| 437 | pinned_ = true; | ||
| 438 | }); | ||
| 439 | ask_written_locked(); | ||
| 440 | // A page the title wrote since it was last copied holds the newer bytes already: its GPU result is dropped and | ||
| 441 | // the refresh's own copy carries the title's. So is a page whose mapping changed, one a kernel write may be | ||
| 442 | // filling, and one xmem maps at another address too (a write there is seen by no guard and no watch here). | ||
| 443 | const auto held = [&](std::size_t i) { | ||
| 444 | const std::uint8_t s = state_[i]; | ||
| 445 | return (s & (kZero | kRequery | kPinned | kAliased)) || (!(s & kProtected) && !(s & kClean)); | ||
| 446 | }; | ||
| 447 | constexpr std::uintptr_t kPiece = 256; // compared and copied in pieces this size | ||
| 448 | std::size_t written = 0; | ||
| 449 | for (std::uintptr_t at = from & ~(kPage - 1); at < ((to + kPage - 1) & ~(kPage - 1));) { | ||
| 450 | std::size_t pages = 0; | ||
| 451 | while (at + (pages + 1) * kPage <= ((to + kPage - 1) & ~(kPage - 1)) && | ||
| 452 | held((at - first_) / kPage + pages) == held((at - first_) / kPage)) | ||
| 453 | ++pages; | ||
| 454 | if (!held((at - first_) / kPage)) { | ||
| 455 | const std::uintptr_t a = std::max(at, from), b = std::min(at + pages * kPage, to); | ||
| 456 | bool opened = false; | ||
| 457 | for (const Target& t : targets_) { | ||
| 458 | const std::uintptr_t x = std::max(a, t.begin), y = std::min(b, t.end); | ||
| 459 | if (x >= y || !t.shadow) continue; | ||
| 460 | for (std::uintptr_t c = x; c < y;) { | ||
| 461 | const std::uintptr_t e = std::min(y, (c + kPiece) & ~(kPiece - 1)); | ||
| 462 | const std::uint8_t* copy = t.shadow + (c - t.begin); | ||
| 463 | if (std::memcmp(reinterpret_cast<const void*>(c), copy, e - c) != 0) { | ||
| 464 | if (!opened) { | ||
| 465 | reopen_locked(at, at + pages * kPage); | ||
| 466 | opened = true; | ||
| 467 | } | ||
| 468 | std::memcpy(reinterpret_cast<void*>(c), copy, e - c); | ||
| 469 | written += e - c; | ||
| 470 | } | ||
| 471 | c = e; | ||
| 472 | } | ||
| 473 | } | ||
| 474 | } | ||
| 475 | at += pages * kPage; | ||
| 476 | } | ||
| 477 | ReleaseSRWLockExclusive(&lock_); | ||
| 478 | return written; | ||
| 479 | } | ||
| 480 | |||
| 380 | // The bytes of all targets, and how many there are. | 481 | // The bytes of all targets, and how many there are. |
| 381 | std::size_t size() const { return target_bytes_; } | 482 | std::size_t size() const { return target_bytes_; } |
| 382 | std::size_t targets() const { return targets_.size(); } | 483 | std::size_t targets() const { return targets_.size(); } |
| @@ -453,38 +554,8 @@ public: | |||
| 453 | }); | 554 | }); |
| 454 | // The write-watched pages written since the last asking are no longer clean: asked before the walk, so a write | 555 | // The write-watched pages written since the last asking are no longer clean: asked before the walk, so a write |
| 455 | // after this is in the next asking. | 556 | // after this is in the next asking. |
| 456 | const std::uint64_t watch_generation = leonida::title_write_watch::generation(); | ||
| 457 | if (watch_generation != watch_generation_) { | ||
| 458 | watch_generation_ = watch_generation; | ||
| 459 | update_watched(); | ||
| 460 | } | ||
| 461 | if (runs_stale_) rebuild_watch_runs(); | ||
| 462 | refresh_asks_ = refresh_written_ = 0; | 557 | refresh_asks_ = refresh_written_ = 0; |
| 463 | if (!watch_runs_.empty()) { | 558 | if (ask_written_locked()) cool(); // a block it guards again leaves the runs at the next refresh |
| 464 | if (!reader_) { | ||
| 465 | reader_ = leonida::title_write_watch::open_reader(); | ||
| 466 | forget_clean(); | ||
| 467 | } | ||
| 468 | refresh_asks_ = watch_runs_.size(); | ||
| 469 | leonida::title_write_watch::ask( | ||
| 470 | reader_, watch_runs_, | ||
| 471 | [&](std::uintptr_t from, std::uintptr_t to) { | ||
| 472 | for (std::uintptr_t p = from; p < to; p += kPage) { | ||
| 473 | std::uint8_t& s = state_[(p - first_) / kPage]; | ||
| 474 | if (!(s & kHot)) continue; // asked over a gap between hot pages: guarded | ||
| 475 | refresh_written_ += (s & kClean) != 0; | ||
| 476 | s &= ~kClean; | ||
| 477 | warm(p); | ||
| 478 | } | ||
| 479 | }, | ||
| 480 | [&](std::uintptr_t from, std::uintptr_t to) { | ||
| 481 | // Not write-watched after all (released and reserved again): guarded from now on. | ||
| 482 | for (std::uintptr_t p = from; p < to; p += kPage) | ||
| 483 | state_[(p - first_) / kPage] &= ~(kWatched | kClean | kHot); | ||
| 484 | runs_stale_ = true; | ||
| 485 | }); | ||
| 486 | cool(); // a block it guards again leaves the runs at the next refresh | ||
| 487 | } | ||
| 488 | for (std::uintptr_t at = first_; at < last_;) { | 559 | for (std::uintptr_t at = first_; at < last_;) { |
| 489 | const std::size_t i0 = (at - first_) / kPage; | 560 | const std::size_t i0 = (at - first_) / kPage; |
| 490 | if (!cover_[i0]) { // no copy reads it: left as the title set it | 561 | if (!cover_[i0]) { // no copy reads it: left as the title set it |
| @@ -533,6 +604,7 @@ public: | |||
| 533 | if (state_[i] & kZero) continue; | 604 | if (state_[i] & kZero) continue; |
| 534 | const auto [offset, bytes] = span_of(i, i + 1); | 605 | const auto [offset, bytes] = span_of(i, i + 1); |
| 535 | zero_targets(offset, bytes); | 606 | zero_targets(offset, bytes); |
| 607 | leonida::shadow_keep::forget(sums_.data(), first_, begin_ + offset, begin_ + offset + bytes); | ||
| 536 | if (!zeroed_.empty() && zeroed_.back().offset + zeroed_.back().bytes == offset) | 608 | if (!zeroed_.empty() && zeroed_.back().offset + zeroed_.back().bytes == offset) |
| 537 | zeroed_.back().bytes += bytes; | 609 | zeroed_.back().bytes += bytes; |
| 538 | else | 610 | else |
| @@ -600,6 +672,10 @@ public: | |||
| 600 | pieces_.walk_ms = std::chrono::duration<double, std::milli>(copy_start - walk_start).count(); | 672 | pieces_.walk_ms = std::chrono::duration<double, std::milli>(copy_start - walk_start).count(); |
| 601 | std::size_t copied = 0; | 673 | std::size_t copied = 0; |
| 602 | for (const Job& job : jobs_) { | 674 | for (const Job& job : jobs_) { |
| 675 | if (keep_gpu_writes()) { // only the pieces whose title bytes changed (src/shadow_keep.h) | ||
| 676 | copied += copy_changed(job); | ||
| 677 | continue; | ||
| 678 | } | ||
| 603 | std::uint8_t* run_dst = nullptr; | 679 | std::uint8_t* run_dst = nullptr; |
| 604 | const std::uint8_t* run_src = nullptr; | 680 | const std::uint8_t* run_src = nullptr; |
| 605 | std::size_t run_bytes = 0; | 681 | std::size_t run_bytes = 0; |
| @@ -650,12 +726,14 @@ public: | |||
| 650 | const std::size_t n = (first_ - first) / kPage; | 726 | const std::size_t n = (first_ - first) / kPage; |
| 651 | state_.insert(state_.begin(), n, std::uint8_t(0)); | 727 | state_.insert(state_.begin(), n, std::uint8_t(0)); |
| 652 | idle_.insert(idle_.begin(), n, std::uint8_t(0)); | 728 | idle_.insert(idle_.begin(), n, std::uint8_t(0)); |
| 729 | sums_.insert(sums_.begin(), n * kPieces, std::uint64_t(0)); | ||
| 653 | cover_.insert(cover_.begin(), n, 0u); | 730 | cover_.insert(cover_.begin(), n, 0u); |
| 654 | first_ = first; | 731 | first_ = first; |
| 655 | } | 732 | } |
| 656 | if (last > last_) { | 733 | if (last > last_) { |
| 657 | state_.resize((last - first_) / kPage, 0); | 734 | state_.resize((last - first_) / kPage, 0); |
| 658 | idle_.resize(state_.size(), 0); | 735 | idle_.resize(state_.size(), 0); |
| 736 | sums_.resize(state_.size() * kPieces, 0); | ||
| 659 | cover_.resize(state_.size(), 0); | 737 | cover_.resize(state_.size(), 0); |
| 660 | last_ = last; | 738 | last_ = last; |
| 661 | } | 739 | } |
| @@ -675,6 +753,8 @@ public: | |||
| 675 | state_[at + i] |= other.state_[i]; | 753 | state_[at + i] |= other.state_[i]; |
| 676 | cover_[at + i] += other.cover_[i]; | 754 | cover_[at + i] += other.cover_[i]; |
| 677 | idle_[at + i] = other.idle_[i]; | 755 | idle_[at + i] = other.idle_[i]; |
| 756 | std::copy_n(other.sums_.begin() + std::ptrdiff_t(i * kPieces), kPieces, | ||
| 757 | sums_.begin() + std::ptrdiff_t((at + i) * kPieces)); | ||
| 678 | } | 758 | } |
| 679 | targets_.insert(targets_.end(), other.targets_.begin(), other.targets_.end()); | 759 | targets_.insert(targets_.end(), other.targets_.begin(), other.targets_.end()); |
| 680 | if (other.map_generation_ != map_generation_) map_generation_ = ~std::uint64_t(0); | 760 | if (other.map_generation_ != map_generation_) map_generation_ = ~std::uint64_t(0); |
| @@ -721,15 +801,42 @@ public: | |||
| 721 | kind = classify(region); | 801 | kind = classify(region); |
| 722 | } | 802 | } |
| 723 | const std::uintptr_t from = std::max(at, begin), to = std::min(next, end); | 803 | const std::uintptr_t from = std::max(at, begin), to = std::min(next, end); |
| 724 | if (kind == Kind::zero) | 804 | if (kind == Kind::zero) { |
| 725 | std::memset(shadow + (from - begin), 0, to - from); | 805 | std::memset(shadow + (from - begin), 0, to - from); |
| 726 | else | 806 | } else { |
| 727 | copy_run(shadow + (from - begin), reinterpret_cast<const std::uint8_t*>(from), to - from, | 807 | const bool streaming = (region.Protect & PAGE_WRITECOMBINE) != 0; |
| 728 | (region.Protect & PAGE_WRITECOMBINE) != 0); | 808 | copy_run(shadow + (from - begin), reinterpret_cast<const std::uint8_t*>(from), to - from, streaming); |
| 809 | // The sums stand for what every target holds. The new target now holds the title's current bytes, so | ||
| 810 | // the pieces where those differ from the sums are brought to the other targets too, and the sums | ||
| 811 | // follow; otherwise a title that later writes the old bytes back would leave the new target behind. | ||
| 812 | // Whole pieces (inside this page, so this region) up to the targets' ends, as a refresh sums them: a | ||
| 813 | // piece cut at the new target's edge would be summed short and copied again at the next refresh. | ||
| 814 | constexpr std::uintptr_t kPiece = leonida::shadow_keep::kPiece; | ||
| 815 | if (keep_gpu_writes()) | ||
| 816 | reconcile(std::max(from & ~(kPiece - 1), begin_), std::min((to + kPiece - 1) & ~(kPiece - 1), end_), | ||
| 817 | streaming); | ||
| 818 | } | ||
| 729 | at = next; | 819 | at = next; |
| 730 | } | 820 | } |
| 731 | } | 821 | } |
| 732 | 822 | ||
| 823 | // [from, to), readable title pages: the pieces whose bytes differ from the sums are copied to every target over | ||
| 824 | // them and their sums updated, as a refresh does. | ||
| 825 | void reconcile(std::uintptr_t from, std::uintptr_t to, bool streaming) { | ||
| 826 | alignas(64) std::uint8_t page[kPage]; | ||
| 827 | for (std::uintptr_t va = from; va < to;) { | ||
| 828 | const std::size_t n = std::min<std::size_t>(to - va, kPage - (va & (kPage - 1))); | ||
| 829 | copy_run(page, reinterpret_cast<const std::uint8_t*>(va), n, streaming); | ||
| 830 | leonida::shadow_keep::copy_changed( | ||
| 831 | page, va, n, sums_.data(), first_, [&](std::uintptr_t a, std::uintptr_t b, const std::uint8_t* source) { | ||
| 832 | for_each_target(a, b, [&](const Target& t, std::uintptr_t lo, std::uintptr_t hi) { | ||
| 833 | std::memcpy(t.shadow + (lo - t.begin), source + (lo - a), hi - lo); | ||
| 834 | }); | ||
| 835 | }); | ||
| 836 | va += n; | ||
| 837 | } | ||
| 838 | } | ||
| 839 | |||
| 733 | // Under shadow_mutex: `shadow` is no longer a target. Pages no other target covers are made writable again and | 840 | // Under shadow_mutex: `shadow` is no longer a target. Pages no other target covers are made writable again and |
| 734 | // passed over from now on. False when it isn't one of this tracker's. | 841 | // passed over from now on. False when it isn't one of this tracker's. |
| 735 | bool remove_target(const std::uint8_t* shadow) { | 842 | bool remove_target(const std::uint8_t* shadow) { |
| @@ -858,6 +965,42 @@ private: | |||
| 858 | return s == kProtected || s == (kWatched | kProtected) || s == (kWatched | kHot | kClean); | 965 | return s == kProtected || s == (kWatched | kProtected) || s == (kWatched | kHot | kClean); |
| 859 | } | 966 | } |
| 860 | 967 | ||
| 968 | // One asking of the write watch, under lock_: the hot pages written since the last asking lose kClean (counted in | ||
| 969 | // refresh_written_). From refresh() before its walk, and from write_back() before it trusts kClean. False when no | ||
| 970 | // page is write-watched here. | ||
| 971 | bool ask_written_locked() { | ||
| 972 | const std::uint64_t watch_generation = leonida::title_write_watch::generation(); | ||
| 973 | if (watch_generation != watch_generation_) { | ||
| 974 | watch_generation_ = watch_generation; | ||
| 975 | update_watched(); | ||
| 976 | } | ||
| 977 | if (runs_stale_) rebuild_watch_runs(); | ||
| 978 | if (watch_runs_.empty()) return false; | ||
| 979 | if (!reader_) { | ||
| 980 | reader_ = leonida::title_write_watch::open_reader(); | ||
| 981 | forget_clean(); | ||
| 982 | } | ||
| 983 | refresh_asks_ += watch_runs_.size(); | ||
| 984 | leonida::title_write_watch::ask( | ||
| 985 | reader_, watch_runs_, | ||
| 986 | [&](std::uintptr_t from, std::uintptr_t to) { | ||
| 987 | for (std::uintptr_t p = from; p < to; p += kPage) { | ||
| 988 | std::uint8_t& s = state_[(p - first_) / kPage]; | ||
| 989 | if (!(s & kHot)) continue; // asked over a gap between hot pages: guarded | ||
| 990 | refresh_written_ += (s & kClean) != 0; | ||
| 991 | s &= ~kClean; | ||
| 992 | warm(p); | ||
| 993 | } | ||
| 994 | }, | ||
| 995 | [&](std::uintptr_t from, std::uintptr_t to) { | ||
| 996 | // Not write-watched after all (released and reserved again): guarded from now on. | ||
| 997 | for (std::uintptr_t p = from; p < to; p += kPage) | ||
| 998 | state_[(p - first_) / kPage] &= ~(kWatched | kClean | kHot); | ||
| 999 | runs_stale_ = true; | ||
| 1000 | }); | ||
| 1001 | return true; | ||
| 1002 | } | ||
| 1003 | |||
| 861 | // A hot page `p` was found written: its block is not idle. | 1004 | // A hot page `p` was found written: its block is not idle. |
| 862 | void warm(std::uintptr_t p) { | 1005 | void warm(std::uintptr_t p) { |
| 863 | const std::uintptr_t block = p & ~(kBlock - 1); | 1006 | const std::uintptr_t block = p & ~(kBlock - 1); |
| @@ -1127,6 +1270,40 @@ private: | |||
| 1127 | jobs_.push_back({offset, bytes, streaming, aliased}); | 1270 | jobs_.push_back({offset, bytes, streaming, aliased}); |
| 1128 | } | 1271 | } |
| 1129 | 1272 | ||
| 1273 | // LEONIDA_SHADOW_KEEP (on; 0: every job copied whole, as before): a job's bytes reach the copies only where they | ||
| 1274 | // differ from those copied last (src/shadow_keep.h), so a shader's write into a copy of pages copied without a | ||
| 1275 | // sign that the title wrote them stays until the title changes those bytes. | ||
| 1276 | // shortcut: a title that rewrites the same bytes to reset a GPU-written value is not seen; needs a real write | ||
| 1277 | // signal (a write-back to the title's pages) then. | ||
| 1278 | static bool keep_gpu_writes() { | ||
| 1279 | static const bool on = [] { | ||
| 1280 | char value[2] = {}; | ||
| 1281 | std::size_t length = 0; | ||
| 1282 | return getenv_s(&length, value, sizeof(value), "LEONIDA_SHADOW_KEEP") != 0 || length == 0 || | ||
| 1283 | value[0] != '0'; | ||
| 1284 | }(); | ||
| 1285 | return on; | ||
| 1286 | } | ||
| 1287 | static constexpr std::size_t kPieces = kPage / leonida::shadow_keep::kPiece; | ||
| 1288 | std::size_t copy_changed(const Job& job) { | ||
| 1289 | std::size_t copied = 0; | ||
| 1290 | alignas(64) std::uint8_t page[kPage]; | ||
| 1291 | for (std::size_t at = job.offset, end = job.offset + job.bytes; at < end;) { | ||
| 1292 | const std::uintptr_t va = begin_ + at; | ||
| 1293 | const std::size_t n = std::min<std::size_t>(end - at, kPage - (va & (kPage - 1))); | ||
| 1294 | copy_run(page, reinterpret_cast<const std::uint8_t*>(va), n, job.streaming); | ||
| 1295 | leonida::shadow_keep::copy_changed( | ||
| 1296 | page, va, n, sums_.data(), first_, [&](std::uintptr_t a, std::uintptr_t b, const std::uint8_t* source) { | ||
| 1297 | for_each_target(a, b, [&](const Target& t, std::uintptr_t from, std::uintptr_t to) { | ||
| 1298 | std::memcpy(t.shadow + (from - t.begin), source + (from - a), to - from); | ||
| 1299 | copied += to - from; | ||
| 1300 | }); | ||
| 1301 | }); | ||
| 1302 | at += n; | ||
| 1303 | } | ||
| 1304 | return copied; | ||
| 1305 | } | ||
| 1306 | |||
| 1130 | // The targets sorted by start, the bytes they hold, and reach_[k], the furthest end among targets_[0..k]: the | 1307 | // The targets sorted by start, the bytes they hold, and reach_[k], the furthest end among targets_[0..k]: the |
| 1131 | // targets over [from, to) are found from the first whose reach passes `from`. | 1308 | // targets over [from, to) are found from the first whose reach passes `from`. |
| 1132 | void index_targets() { | 1309 | void index_targets() { |
| @@ -1260,6 +1437,7 @@ private: | |||
| 1260 | std::uint64_t reader_ = 0; | 1437 | std::uint64_t reader_ = 0; |
| 1261 | std::size_t watched_pages_ = 0, hot_pages_ = 0; // covered pages write-watched, and hot | 1438 | std::size_t watched_pages_ = 0, hot_pages_ = 0; // covered pages write-watched, and hot |
| 1262 | Vector<std::uint8_t> idle_; // per 4 KiB page: refreshes a hot page went without a write (kCool) | 1439 | Vector<std::uint8_t> idle_; // per 4 KiB page: refreshes a hot page went without a write (kCool) |
| 1440 | Vector<std::uint64_t> sums_; // per 256-byte piece from first_: sum of the bytes copied last, 0: not known | ||
| 1263 | bool runs_stale_ = false; // a page became hot or cold: watch_runs_ is rebuilt at the next refresh | 1441 | bool runs_stale_ = false; // a page became hot or cold: watch_runs_ is rebuilt at the next refresh |
| 1264 | std::uint64_t refresh_asks_ = 0; | 1442 | std::uint64_t refresh_asks_ = 0; |
| 1265 | std::uint64_t refresh_written_ = 0; | 1443 | std::uint64_t refresh_written_ = 0; |
| @@ -1499,6 +1677,30 @@ std::filesystem::path pipeline_cache_session_path() { | |||
| 1499 | return path; | 1677 | return path; |
| 1500 | } | 1678 | } |
| 1501 | 1679 | ||
| 1680 | // The pipelines the offline seed does not have, kept next to it and written while the game runs | ||
| 1681 | // (src/heavy_pipeline_cache.h). | ||
| 1682 | std::filesystem::path pipeline_cache_heavy_path() { | ||
| 1683 | std::filesystem::path path = pipeline_cache_path(); | ||
| 1684 | if (!path.empty()) path.replace_filename(L"pipeline_cache.heavy.bin"); | ||
| 1685 | return path; | ||
| 1686 | } | ||
| 1687 | |||
| 1688 | // LEONIDA_HEAVY_PIPELINE_CACHE_MS: a compile at least this long schedules a write of the heavy cache; 0 turns the | ||
| 1689 | // heavy cache off. One line for a value that is not a number. | ||
| 1690 | std::uint32_t heavy_pipeline_cache_ms() { | ||
| 1691 | static const std::uint32_t ms = [] { | ||
| 1692 | char text[32] = {}; | ||
| 1693 | size_t length = 0; | ||
| 1694 | const bool present = getenv_s(&length, text, "LEONIDA_HEAVY_PIPELINE_CACHE_MS") == 0 && length > 1; | ||
| 1695 | const auto threshold = leonida::heavy_pipeline_cache::parse_threshold(present ? text : ""); | ||
| 1696 | if (!threshold.valid) | ||
| 1697 | std::fprintf(stderr, "[rt] d3d12: LEONIDA_HEAVY_PIPELINE_CACHE_MS=%s is not a number of milliseconds; " | ||
| 1698 | "using %u\n", text, threshold.ms); | ||
| 1699 | return threshold.ms; | ||
| 1700 | }(); | ||
| 1701 | return ms; | ||
| 1702 | } | ||
| 1703 | |||
| 1502 | std::size_t pipeline_cache_save_limit(); | 1704 | std::size_t pipeline_cache_save_limit(); |
| 1503 | 1705 | ||
| 1504 | // LOCAL FIX (pipeline journal, pipeline_cache_journal.h): where each compute pipeline's own cache file goes, beside | 1706 | // LOCAL FIX (pipeline journal, pipeline_cache_journal.h): where each compute pipeline's own cache file goes, beside |
| @@ -1529,6 +1731,10 @@ const std::filesystem::path& pipeline_journal_dir() { | |||
| 1529 | return pipeline_journal_roots().writable; | 1731 | return pipeline_journal_roots().writable; |
| 1530 | } | 1732 | } |
| 1531 | 1733 | ||
| 1734 | // The offline seed's size (pipeline_cache.bin) when the device cache was created from it, 0 otherwise: the save limit | ||
| 1735 | // does not count it (pipeline_cache_store::over_save_limit). | ||
| 1736 | std::atomic<std::size_t> g_offline_seed_bytes{0}; | ||
| 1737 | |||
| 1532 | // LEONIDA_PIPELINE_CACHE_BYTES, in bytes; 0 turns the session file off. One line for a value that is not a number. | 1738 | // LEONIDA_PIPELINE_CACHE_BYTES, in bytes; 0 turns the session file off. One line for a value that is not a number. |
| 1533 | std::size_t pipeline_cache_save_limit() { | 1739 | std::size_t pipeline_cache_save_limit() { |
| 1534 | char text[32] = {}; | 1740 | char text[32] = {}; |
| @@ -1601,6 +1807,7 @@ VkPipelineCache create_seeded_pipeline_cache(PFN_vkCreatePipelineCache create_ca | |||
| 1601 | return VK_NULL_HANDLE; | 1807 | return VK_NULL_HANDLE; |
| 1602 | } | 1808 | } |
| 1603 | std::fprintf(stderr, "[rt] d3d12: loaded %zu bytes from %s\n", seed.size(), name); | 1809 | std::fprintf(stderr, "[rt] d3d12: loaded %zu bytes from %s\n", seed.size(), name); |
| 1810 | if (!session) g_offline_seed_bytes.store(seed.size(), std::memory_order_relaxed); | ||
| 1604 | if (trace_pipeline_compile()) | 1811 | if (trace_pipeline_compile()) |
| 1605 | std::fprintf(stderr, "[rt] pipeline-cache op=load bytes=%zu map_us=%lld driver_us=%lld file=%s\n", | 1812 | std::fprintf(stderr, "[rt] pipeline-cache op=load bytes=%zu map_us=%lld driver_us=%lld file=%s\n", |
| 1606 | seed.size(), mapped-start, compile_us()-mapped, name); | 1813 | seed.size(), mapped-start, compile_us()-mapped, name); |
| @@ -1649,6 +1856,7 @@ bool merge_session_pipeline_cache(const leonida::VulkanDeviceFunctions& vk, VkDe | |||
| 1649 | // never built and every dispatch of theirs is dropped ("all" or "*": every compute program). For getting past a | 1856 | // never built and every dispatch of theirs is dropped ("all" or "*": every compute program). For getting past a |
| 1650 | // program that hangs the GPU, such as a translated loop that never ends on the input it is given here, while the | 1857 | // program that hangs the GPU, such as a translated loop that never ends on the input it is given here, while the |
| 1651 | // program or its input is being fixed. What the program would have written keeps its previous contents. | 1858 | // program or its input is being fixed. What the program would have written keeps its previous contents. |
| 1859 | // gta6rt --precompile-pipelines builds the listed programs anyway unless it is given --skip-listed. | ||
| 1652 | bool skip_compute(const std::string& name) { | 1860 | bool skip_compute(const std::string& name) { |
| 1653 | static const std::vector<std::string> parts = [] { | 1861 | static const std::vector<std::string> parts = [] { |
| 1654 | std::vector<std::string> out; | 1862 | std::vector<std::string> out; |
| @@ -1741,16 +1949,17 @@ bool startup_cache_checkpoints_enabled() { | |||
| 1741 | void save_session_pipeline_cache(const leonida::VulkanDeviceFunctions& vk, VkDevice device, VkPipelineCache cache, | 1949 | void save_session_pipeline_cache(const leonida::VulkanDeviceFunctions& vk, VkDevice device, VkPipelineCache cache, |
| 1742 | bool checkpoint = false, const char* op = nullptr) { | 1950 | bool checkpoint = false, const char* op = nullptr) { |
| 1743 | if (!cache || !vk.vkGetPipelineCacheData) return; | 1951 | if (!cache || !vk.vkGetPipelineCacheData) return; |
| 1744 | auto limit = pipeline_cache_save_limit(); | 1952 | // The output is an opaque Vulkan blob. A prefix is not an incremental cache, so past the limit nothing is written. |
| 1745 | // The output is an opaque Vulkan blob. A prefix is not an incremental cache. | 1953 | const auto limit = pipeline_cache_save_limit(); |
| 1746 | if (checkpoint) limit = (std::min)(limit, std::size_t{512} << 20); | ||
| 1747 | if (!limit) return; | 1954 | if (!limit) return; |
| 1748 | const auto start = compile_us(); | 1955 | const auto start = compile_us(); |
| 1749 | std::size_t size = 0; | 1956 | std::size_t size = 0; |
| 1750 | if (vk.vkGetPipelineCacheData(device, cache, &size, nullptr) != VK_SUCCESS || | 1957 | if (vk.vkGetPipelineCacheData(device, cache, &size, nullptr) != VK_SUCCESS || |
| 1751 | size <= sizeof(VkPipelineCacheHeaderVersionOne)) return; | 1958 | size <= sizeof(VkPipelineCacheHeaderVersionOne)) return; |
| 1752 | if (size > limit) { | 1959 | const std::size_t seed = g_offline_seed_bytes.load(std::memory_order_relaxed); |
| 1753 | std::fprintf(stderr, "[rt] d3d12: pipeline cache is %zu bytes, over the %zu-byte write limit\n", size, limit); | 1960 | if (leonida::pipeline_cache_store::over_save_limit(size, seed, limit)) { |
| 1961 | std::fprintf(stderr, "[rt] d3d12: pipeline cache is %zu bytes (%zu of them the offline seed), over the " | ||
| 1962 | "%zu-byte write limit for what a session adds\n", size, seed, limit); | ||
| 1754 | return; | 1963 | return; |
| 1755 | } | 1964 | } |
| 1756 | const auto queried = compile_us(); | 1965 | const auto queried = compile_us(); |
| @@ -1776,6 +1985,66 @@ void save_session_pipeline_cache(const leonida::VulkanDeviceFunctions& vk, VkDev | |||
| 1776 | else std::fprintf(stderr, "[rt] d3d12: pipeline cache snapshot incomplete (%d); previous session retained\n", int(result)); | 1985 | else std::fprintf(stderr, "[rt] d3d12: pipeline cache snapshot incomplete (%d); previous session retained\n", int(result)); |
| 1777 | } | 1986 | } |
| 1778 | 1987 | ||
| 1988 | // The heavy cache, seeded from pipeline_cache.heavy.bin when it is there and made for this device; empty otherwise. | ||
| 1989 | VkPipelineCache create_heavy_pipeline_cache(const leonida::VulkanDeviceFunctions& vk, VkDevice device, | ||
| 1990 | const leonida::cached_pso::Identity& identity) { | ||
| 1991 | const auto path = pipeline_cache_heavy_path(); | ||
| 1992 | clean_stale_cache_files(path); | ||
| 1993 | VkPipelineCache cache = VK_NULL_HANDLE; | ||
| 1994 | { | ||
| 1995 | const PipelineCacheSeed seed(path); | ||
| 1996 | if (seed.data() && seed.compatible(identity)) { | ||
| 1997 | const VkPipelineCacheCreateInfo create{VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO, nullptr, 0, | ||
| 1998 | seed.size(), seed.data()}; | ||
| 1999 | if (vk.vkCreatePipelineCache(device, &create, nullptr, &cache) == VK_SUCCESS) { | ||
| 2000 | std::fprintf(stderr, "[rt] d3d12: loaded %zu bytes from pipeline_cache.heavy.bin\n", seed.size()); | ||
| 2001 | return cache; | ||
| 2002 | } | ||
| 2003 | std::fprintf(stderr, "[rt] d3d12: Vulkan declined pipeline_cache.heavy.bin; starting it empty\n"); | ||
| 2004 | } else if (seed.data()) { | ||
| 2005 | std::fprintf(stderr, "[rt] d3d12: pipeline_cache.heavy.bin does not match this Vulkan device; starting " | ||
| 2006 | "it empty\n"); | ||
| 2007 | } | ||
| 2008 | } | ||
| 2009 | const VkPipelineCacheCreateInfo create{VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO}; | ||
| 2010 | if (vk.vkCreatePipelineCache(device, &create, nullptr, &cache) != VK_SUCCESS) return VK_NULL_HANDLE; | ||
| 2011 | return cache; | ||
| 2012 | } | ||
| 2013 | |||
| 2014 | // Writes the heavy cache whole: a staging file renamed over pipeline_cache.heavy.bin, so the file on disk is always | ||
| 2015 | // a complete blob. It only holds what the offline seed missed, so it has no size limit of its own. | ||
| 2016 | bool save_heavy_pipeline_cache(const leonida::VulkanDeviceFunctions& vk, VkDevice device, VkPipelineCache cache, | ||
| 2017 | std::uint64_t compiles, std::uint64_t hits) { | ||
| 2018 | if (!cache || !vk.vkGetPipelineCacheData) return false; | ||
| 2019 | const auto path = pipeline_cache_heavy_path(); | ||
| 2020 | if (path.empty()) return false; | ||
| 2021 | const auto start = compile_us(); | ||
| 2022 | std::size_t size = 0; | ||
| 2023 | if (vk.vkGetPipelineCacheData(device, cache, &size, nullptr) != VK_SUCCESS || | ||
| 2024 | size <= sizeof(VkPipelineCacheHeaderVersionOne)) | ||
| 2025 | return false; | ||
| 2026 | CacheStagingFile staging(path, size); | ||
| 2027 | if (!staging.data) { | ||
| 2028 | std::fprintf(stderr, "[rt] d3d12: could not map a staging file for %zu heavy pipeline cache bytes\n", size); | ||
| 2029 | return false; | ||
| 2030 | } | ||
| 2031 | auto written = size; | ||
| 2032 | const VkResult result = vk.vkGetPipelineCacheData(device, cache, &written, staging.data); | ||
| 2033 | // VK_INCOMPLETE means the cache grew after the size query and the blob is a truncated snapshot; it must not | ||
| 2034 | // replace a complete file. The writer tries again later with a fresh size. | ||
| 2035 | const bool ok = result == VK_SUCCESS && written > sizeof(VkPipelineCacheHeaderVersionOne) && written <= size && | ||
| 2036 | staging.publish(path, written); | ||
| 2037 | if (ok) | ||
| 2038 | std::fprintf(stderr, "[rt] d3d12: wrote %zu bytes to pipeline_cache.heavy.bin in %.1f s (%llu slow builds " | ||
| 2039 | "and %llu other builds past the offline cache so far)\n", | ||
| 2040 | written, double(compile_us() - start) / 1e6, static_cast<unsigned long long>(compiles), | ||
| 2041 | static_cast<unsigned long long>(hits)); | ||
| 2042 | else | ||
| 2043 | std::fprintf(stderr, "[rt] d3d12: pipeline_cache.heavy.bin not written (%d); the previous file is kept\n", | ||
| 2044 | int(result)); | ||
| 2045 | return ok; | ||
| 2046 | } | ||
| 2047 | |||
| 1779 | // A shader whose subgroup size cannot be had runs at the device's: inexact if it crosses the halves of a wave64 (or, | 2048 | // A shader whose subgroup size cannot be had runs at the device's: inexact if it crosses the halves of a wave64 (or, |
| 1780 | // for a wave32 shader on a 64-wide default, reads lanes that are not its own), unless the translator's | 2049 | // for a wave32 shader on a 64-wide default, reads lanes that are not its own), unless the translator's |
| 1781 | // partition-invariance tier says otherwise. Logged once per stage with the first shader's name, then again at 10, 100, | 2050 | // partition-invariance tier says otherwise. Logged once per stage with the first shader's name, then again at 10, 100, |
| @@ -2411,6 +2680,105 @@ struct DeviceState { | |||
| 2411 | return pipeline_cache_handle; | 2680 | return pipeline_cache_handle; |
| 2412 | } | 2681 | } |
| 2413 | 2682 | ||
| 2683 | // The heavy pipeline cache (src/heavy_pipeline_cache.h) and the thread that writes it. | ||
| 2684 | std::once_flag heavy_cache_once; | ||
| 2685 | VkPipelineCache heavy_cache_handle = VK_NULL_HANDLE; | ||
| 2686 | std::mutex heavy_mutex; | ||
| 2687 | std::condition_variable heavy_wake; | ||
| 2688 | leonida::heavy_pipeline_cache::WriteSchedule heavy_schedule; // under heavy_mutex | ||
| 2689 | bool heavy_stop = false; // under heavy_mutex | ||
| 2690 | std::thread heavy_writer; // started at the first slow build | ||
| 2691 | std::atomic<std::uint64_t> heavy_compiles{0}, heavy_hits{0}; | ||
| 2692 | std::atomic<bool> heavy_changed{false}; // a build went into the heavy cache since it was loaded | ||
| 2693 | |||
| 2694 | VkPipelineCache heavy_cache() { | ||
| 2695 | std::call_once(heavy_cache_once, [this] { | ||
| 2696 | if (context->vk.vkCreatePipelineCache) | ||
| 2697 | heavy_cache_handle = create_heavy_pipeline_cache(context->vk, info.device, pso_identity); | ||
| 2698 | }); | ||
| 2699 | return heavy_cache_handle; | ||
| 2700 | } | ||
| 2701 | |||
| 2702 | // A build past the offline cache took `took_ms`: a slow one schedules a write. | ||
| 2703 | void note_heavy_build(ULONGLONG took_ms) { | ||
| 2704 | heavy_changed = true; | ||
| 2705 | if (took_ms < heavy_pipeline_cache_ms()) { | ||
| 2706 | ++heavy_hits; | ||
| 2707 | return; | ||
| 2708 | } | ||
| 2709 | ++heavy_compiles; | ||
| 2710 | std::lock_guard lock(heavy_mutex); | ||
| 2711 | if (heavy_stop) return; | ||
| 2712 | heavy_schedule.note_heavy(GetTickCount64()); | ||
| 2713 | if (!heavy_writer.joinable()) { | ||
| 2714 | try { | ||
| 2715 | heavy_writer = std::thread([this] { write_heavy_cache_loop(); }); | ||
| 2716 | } catch (const std::exception&) { | ||
| 2717 | return; // no thread: the cache is still written at teardown | ||
| 2718 | } | ||
| 2719 | } | ||
| 2720 | heavy_wake.notify_one(); | ||
| 2721 | } | ||
| 2722 | |||
| 2723 | void write_heavy_cache_loop() { | ||
| 2724 | SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_BELOW_NORMAL); | ||
| 2725 | std::unique_lock lock(heavy_mutex); | ||
| 2726 | while (!heavy_stop) { | ||
| 2727 | if (!heavy_schedule.dirty()) { | ||
| 2728 | heavy_wake.wait(lock); | ||
| 2729 | continue; | ||
| 2730 | } | ||
| 2731 | const std::uint64_t now = GetTickCount64(); | ||
| 2732 | if (!heavy_schedule.due(now)) { | ||
| 2733 | heavy_wake.wait_for(lock, std::chrono::milliseconds(heavy_schedule.due_ms() - now)); | ||
| 2734 | continue; | ||
| 2735 | } | ||
| 2736 | const std::uint64_t generation = heavy_schedule.generation(); | ||
| 2737 | lock.unlock(); | ||
| 2738 | const bool saved = save_heavy_pipeline_cache(context->vk, info.device, heavy_cache_handle, | ||
| 2739 | heavy_compiles.load(), heavy_hits.load()); | ||
| 2740 | lock.lock(); | ||
| 2741 | // A failed write leaves the cache dirty: it is tried again after a growing delay, not only at teardown. | ||
| 2742 | if (saved) heavy_schedule.written(generation, now); | ||
| 2743 | else heavy_schedule.failed(now); | ||
| 2744 | } | ||
| 2745 | } | ||
| 2746 | |||
| 2747 | // At device teardown, with no build running: stop the writer and write the cache if any build went into it. | ||
| 2748 | // Fast builds never schedule a write, so this is where they are kept: without an offline seed every build is | ||
| 2749 | // a miss, and these are the builds pipeline_cache.session.bin used to keep. | ||
| 2750 | void finish_heavy_cache() { | ||
| 2751 | { | ||
| 2752 | std::lock_guard lock(heavy_mutex); | ||
| 2753 | heavy_stop = true; | ||
| 2754 | } | ||
| 2755 | heavy_wake.notify_all(); | ||
| 2756 | if (heavy_writer.joinable()) heavy_writer.join(); | ||
| 2757 | if (!heavy_cache_handle) return; | ||
| 2758 | if (heavy_changed.load() && !active_compiles.load()) | ||
| 2759 | save_heavy_pipeline_cache(context->vk, info.device, heavy_cache_handle, heavy_compiles.load(), | ||
| 2760 | heavy_hits.load()); | ||
| 2761 | context->vk.vkDestroyPipelineCache(info.device, heavy_cache_handle, nullptr); | ||
| 2762 | heavy_cache_handle = VK_NULL_HANDLE; | ||
| 2763 | } | ||
| 2764 | |||
| 2765 | // vkCreateGraphicsPipelines through `create(cache, flags)` (compute pipelines have their journal). With the heavy | ||
| 2766 | // cache, the offline cache is asked first without compiling; a pipeline it does not have is built against the heavy | ||
| 2767 | // cache, which a slow build then writes back to disk. A caller that already asked for a cache-only create keeps it. | ||
| 2768 | template <class Create> | ||
| 2769 | VkResult create_pipeline(VkPipelineCreateFlags flags, Create&& create) { | ||
| 2770 | constexpr VkPipelineCreateFlags cache_only = VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT; | ||
| 2771 | const VkPipelineCache corpus = pipeline_cache(); | ||
| 2772 | if (!info.heavy_pipeline_cache || (flags & cache_only)) return create(corpus, flags); | ||
| 2773 | const VkResult cached = create(corpus, flags | cache_only); | ||
| 2774 | if (cached != VK_PIPELINE_COMPILE_REQUIRED) return cached; | ||
| 2775 | const VkPipelineCache heavy = heavy_cache(); | ||
| 2776 | const ULONGLONG started = GetTickCount64(); | ||
| 2777 | const VkResult built = create(heavy ? heavy : corpus, flags); | ||
| 2778 | if (built == VK_SUCCESS && heavy) note_heavy_build(GetTickCount64() - started); | ||
| 2779 | return built; | ||
| 2780 | } | ||
| 2781 | |||
| 2414 | QueueClock clock; // device-wide calibration entry points | 2782 | QueueClock clock; // device-wide calibration entry points |
| 2415 | std::vector<std::uint32_t> timestamp_bits; | 2783 | std::vector<std::uint32_t> timestamp_bits; |
| 2416 | 2784 | ||
| @@ -2548,6 +2916,7 @@ struct DeviceState { | |||
| 2548 | if (!pages) return; | 2916 | if (!pages) return; |
| 2549 | const leonida::submit_phases::Scope timed(leonida::submit_phases::shadows); | 2917 | const leonida::submit_phases::Scope timed(leonida::submit_phases::shadows); |
| 2550 | std::lock_guard lock(shadow_mutex); | 2918 | std::lock_guard lock(shadow_mutex); |
| 2919 | write_back_titles(); // what the last submission wrote in the copies, before the forward copy below | ||
| 2551 | if (shadows.empty()) return; | 2920 | if (shadows.empty()) return; |
| 2552 | const auto start = clock::now(); | 2921 | const auto start = clock::now(); |
| 2553 | // LEONIDA_SHADOW_ALIAS_MS (0 by default: every submission): pages xmem maps at two addresses that a write | 2922 | // LEONIDA_SHADOW_ALIAS_MS (0 by default: every submission): pages xmem maps at two addresses that a write |
| @@ -2675,7 +3044,24 @@ struct DeviceState { | |||
| 2675 | std::atomic<std::size_t> title_window_count{0}; // title_windows.size(), read without the mutex | 3044 | std::atomic<std::size_t> title_window_count{0}; // title_windows.size(), read without the mutex |
| 2676 | std::uint64_t title_window_bytes = 0; | 3045 | std::uint64_t title_window_bytes = 0; |
| 2677 | std::uint64_t title_window_cap = 64ull << 20; | 3046 | std::uint64_t title_window_cap = 64ull << 20; |
| 2678 | // The stream pools' mappings (title_gpu_views): one per readable run of a pool, kept for the device's life. | 3047 | // What the GPU wrote into a copy of the title's memory goes back to the title's pages: the ranges reached since |
| 3048 | // the last submission (title_va_alias.h note_reached), copied back at the next refresh before the forward copy. | ||
| 3049 | // A window is a read-side mirror, so without this a UAV or a raw write lands in the copy and the title never sees | ||
| 3050 | // it (#1537, the WRITE_INVALID stop at the world start). | ||
| 3051 | std::mutex title_write_back_mutex; // its own: taken under shadow_mutex, never the other way round | ||
| 3052 | std::map<std::uint64_t, std::uint64_t> title_write_back; // start -> end, of the submission about to run | ||
| 3053 | std::deque<std::pair<std::uint64_t, std::map<std::uint64_t, std::uint64_t>>> title_write_back_pending; // by ticket | ||
| 3054 | std::uint64_t title_write_back_refused = 0; // ranges past the caps, logged once | ||
| 3055 | std::uint64_t title_write_back_bytes = 0; // queued for this submission | ||
| 3056 | std::uint64_t title_write_back_total = 0; // copied back, all submissions | ||
| 3057 | std::uint64_t title_write_back_calls = 0; // log line count | ||
| 3058 | std::uint64_t title_write_back_unfenced = 0; | ||
| 3059 | static constexpr std::size_t kTitleWriteBackBatches = 64; // pending batches before the oldest goes back unfenced | ||
| 3060 | static constexpr std::size_t kTitleWriteBackRanges = 8192; // ranges kept per submission | ||
| 3061 | static constexpr std::uint64_t kTitleWriteBackBytes = 64ull << 20; // bytes copied back per submission | ||
| 3062 | // The stream pools' mappings (title_gpu_views): one per readable run of a pool. A window is kept for the device's | ||
| 3063 | // life; a geometry copy goes when its view is retired (the pages were freed, unmapped or remapped: | ||
| 3064 | // drain_geometry_releases), and the next request for those pages makes a new one. | ||
| 2679 | struct PoolSpan { | 3065 | struct PoolSpan { |
| 2680 | std::uint64_t source; // the readable side of the pair the copy is made from | 3066 | std::uint64_t source; // the readable side of the pair the copy is made from |
| 2681 | std::uint64_t twin; // the extent's address in the pair's other view (0 when there is none) | 3067 | std::uint64_t twin; // the extent's address in the pair's other view (0 when there is none) |
| @@ -2686,6 +3072,7 @@ struct DeviceState { | |||
| 2686 | std::vector<PoolSpan> pool_spans; | 3072 | std::vector<PoolSpan> pool_spans; |
| 2687 | std::atomic<std::size_t> pool_span_count{0}; | 3073 | std::atomic<std::size_t> pool_span_count{0}; |
| 2688 | std::uint64_t pool_span_bytes = 0; | 3074 | std::uint64_t pool_span_bytes = 0; |
| 3075 | std::uint64_t pool_spans_retired = 0; // geometry-copy extents whose view was retired (forget_pool_span) | ||
| 2689 | std::uint64_t title_window_refusals = 0; // windows neither the budget nor the arena allowed | 3076 | std::uint64_t title_window_refusals = 0; // windows neither the budget nor the arena allowed |
| 2690 | std::uint64_t unbacked_requests = 0; // title addresses no backing could be made for (zero-size views) | 3077 | std::uint64_t unbacked_requests = 0; // title addresses no backing could be made for (zero-size views) |
| 2691 | 3078 | ||
| @@ -2707,26 +3094,67 @@ struct DeviceState { | |||
| 2707 | // another queue's replay that translated its slots before this retirement may still name it. A ticket read here | 3094 | // another queue's replay that translated its slots before this retirement may still name it. A ticket read here |
| 2708 | // would be one short of this submission, which records its own only after before_execute_ (and with an idle GPU | 3095 | // would be one short of this submission, which records its own only after before_execute_ (and with an idle GPU |
| 2709 | // the view would be reaped in this very call). | 3096 | // the view would be reaped in this very call). |
| 3097 | // A retired view's last copy is made here from the title's pages as they are now, when they are still readable | ||
| 3098 | // (GeometryViews::retire_range). | ||
| 3099 | // A stream-pool extent it backed leaves pool_spans: the next request for those pages makes a new mapping. | ||
| 2710 | void drain_geometry_releases() { | 3100 | void drain_geometry_releases() { |
| 2711 | if (!context || !geometry.has_pending_reclaim()) return; | 3101 | if (!context || !geometry.has_pending_reclaim()) return; |
| 2712 | const std::uint64_t completed_ticket = geometry.has_retired() ? context->completed_retire_ticket() : 0; | 3102 | const std::uint64_t completed_ticket = geometry.has_retired() ? context->completed_retire_ticket() : 0; |
| 2713 | geometry.drain_released(*this, rt::d3d12::GeometryViews::kAfterExecutes, completed_ticket, | 3103 | geometry.drain_released( |
| 2714 | forget_geometry_alias); | 3104 | *this, rt::d3d12::GeometryViews::kAfterExecutes, completed_ticket, |
| 3105 | [this](std::uintptr_t source, std::size_t size, VkDeviceSize va) { | ||
| 3106 | forget_geometry_alias(source, size, va); | ||
| 3107 | forget_pool_span(va); | ||
| 3108 | }, | ||
| 3109 | copy_geometry); | ||
| 3110 | } | ||
| 3111 | void forget_pool_span(VkDeviceSize va) { | ||
| 3112 | std::lock_guard windows(title_window_mutex); | ||
| 3113 | const auto it = std::find_if(pool_spans.begin(), pool_spans.end(), | ||
| 3114 | [&](const PoolSpan& span) { return span.geometry && span.shader_va == va; }); | ||
| 3115 | if (it == pool_spans.end()) return; | ||
| 3116 | pool_span_bytes -= it->size; | ||
| 3117 | pool_spans.erase(it); | ||
| 3118 | pool_span_count.store(pool_spans.size(), std::memory_order_relaxed); | ||
| 3119 | ++pool_spans_retired; | ||
| 2715 | } | 3120 | } |
| 2716 | // ExecuteCommandLists replays in progress, for GeometryViews::kAfterExecutes (see drain_geometry_releases). | 3121 | // ExecuteCommandLists replays in progress, for GeometryViews::kAfterExecutes (see drain_geometry_releases). |
| 2717 | static std::vector<std::uint64_t>& geometry_execute_serials() { | 3122 | // A plain aggregate on purpose: a C++ thread_local with a destructor in gta6rt.exe adds TLS callbacks to the image |
| 2718 | thread_local std::vector<std::uint64_t> serials; | 3123 | // the loader's TLS index-0 move must not have (pe_loader.cpp reserve_tls_index0; VulkanContext::stage_xdxr_table |
| 3124 | // keeps its range list a member for the same reason). A std::vector here made the title's CRT abort at startup. | ||
| 3125 | struct GeometryExecuteSerials { | ||
| 3126 | static constexpr unsigned kCapacity = 32; // a replay has not been seen nested this deep | ||
| 3127 | std::uint64_t serials[kCapacity]{}; | ||
| 3128 | unsigned count{}; | ||
| 3129 | unsigned skipped{}; // replays begun while the stack was full: the innermost, ended first | ||
| 3130 | }; | ||
| 3131 | static GeometryExecuteSerials& geometry_execute_serials() { | ||
| 3132 | thread_local GeometryExecuteSerials serials; | ||
| 2719 | return serials; | 3133 | return serials; |
| 2720 | } | 3134 | } |
| 2721 | void geometry_execute_begin() { | 3135 | void geometry_execute_begin() { |
| 2722 | if (!geometry.cap()) return; | 3136 | if (!geometry.cap()) return; |
| 2723 | geometry_execute_serials().push_back(geometry.execute_begin()); | 3137 | auto& serials = geometry_execute_serials(); |
| 3138 | if (serials.count == GeometryExecuteSerials::kCapacity) { | ||
| 3139 | static std::atomic<bool> logged{false}; | ||
| 3140 | if (!logged.exchange(true)) | ||
| 3141 | std::fprintf(stderr, "[rt] d3d12: ExecuteCommandLists nested more than %u deep; a geometry view retired " | ||
| 3142 | "in the extra replay is not deferred to it\n", | ||
| 3143 | GeometryExecuteSerials::kCapacity); | ||
| 3144 | ++serials.skipped; | ||
| 3145 | return; | ||
| 3146 | } | ||
| 3147 | serials.serials[serials.count++] = geometry.execute_begin(); | ||
| 2724 | } | 3148 | } |
| 2725 | void geometry_execute_end() { | 3149 | void geometry_execute_end() { |
| 3150 | if (!geometry.cap()) return; | ||
| 2726 | auto& serials = geometry_execute_serials(); | 3151 | auto& serials = geometry_execute_serials(); |
| 2727 | if (!geometry.cap() || serials.empty()) return; | 3152 | if (serials.skipped != 0) { |
| 2728 | const std::uint64_t serial = serials.back(); | 3153 | --serials.skipped; |
| 2729 | serials.pop_back(); | 3154 | return; |
| 3155 | } | ||
| 3156 | if (serials.count == 0) return; | ||
| 3157 | const std::uint64_t serial = serials.serials[--serials.count]; | ||
| 2730 | geometry.execute_end(serial, [this] { return context->submitted_retire_ticket(); }); | 3158 | geometry.execute_end(serial, [this] { return context->submitted_retire_ticket(); }); |
| 2731 | } | 3159 | } |
| 2732 | static rt::d3d12::GeometryCopy copy_geometry(std::uint8_t* to, const std::uint8_t* from, std::size_t size) { | 3160 | static rt::d3d12::GeometryCopy copy_geometry(std::uint8_t* to, const std::uint8_t* from, std::size_t size) { |
| @@ -2818,7 +3246,8 @@ struct DeviceState { | |||
| 2818 | std::uint8_t* mapped{}; | 3246 | std::uint8_t* mapped{}; |
| 2819 | if (arena_allocate(size, kTitleWindowAlign, offset, arena_buffer)) { | 3247 | if (arena_allocate(size, kTitleWindowAlign, offset, arena_buffer)) { |
| 2820 | mapped = arena.mapped + offset; | 3248 | mapped = arena.mapped + offset; |
| 2821 | } else if (stream_windows() && external_windows.allocate(*this, size, offset, mapped)) { | 3249 | } else if (leonida::memory_breakdown::Owner owner(leonida::memory_breakdown::Consumer::windows); |
| 3250 | stream_windows() && external_windows.allocate(*this, size, offset, mapped)) { | ||
| 2822 | external_window_made.store(true, std::memory_order_release); | 3251 | external_window_made.store(true, std::memory_order_release); |
| 2823 | } else { | 3252 | } else { |
| 2824 | ++title_window_refusals; | 3253 | ++title_window_refusals; |
| @@ -2840,6 +3269,93 @@ struct DeviceState { | |||
| 2840 | return offset; | 3269 | return offset; |
| 2841 | } | 3270 | } |
| 2842 | 3271 | ||
| 3272 | // A binding of the title's memory reached for the coming submission: keep its range for the copy back after it. | ||
| 3273 | // Over-inclusive on purpose (a read-only view costs a copy, a write is never missed: a V# has no read/write bit). | ||
| 3274 | void note_title_write(std::uint64_t va, std::uint64_t bytes) { | ||
| 3275 | static const bool on = [] { | ||
| 3276 | char value[2] = {}; | ||
| 3277 | std::size_t length = 0; | ||
| 3278 | return getenv_s(&length, value, sizeof(value), "LEONIDA_TITLE_WRITEBACK") != 0 || value[0] != '0'; | ||
| 3279 | }(); | ||
| 3280 | if (!on || !va || !bytes) return; | ||
| 3281 | std::uint64_t lo = 0, hi = 0; | ||
| 3282 | if (!leonida::title_va_aliases().title_memory(va, lo, hi) || va >= hi) return; | ||
| 3283 | const std::uint64_t end = va + std::min(bytes, hi - va); | ||
| 3284 | std::lock_guard lock(title_write_back_mutex); | ||
| 3285 | auto it = title_write_back.lower_bound(va); | ||
| 3286 | if (it != title_write_back.begin()) { | ||
| 3287 | auto previous = std::prev(it); | ||
| 3288 | if (previous->second >= va) { | ||
| 3289 | if (previous->second < end) previous->second = end; | ||
| 3290 | return; | ||
| 3291 | } | ||
| 3292 | } | ||
| 3293 | if (it != title_write_back.end() && it->first <= end) { | ||
| 3294 | it->second = std::max(it->second, end); | ||
| 3295 | return; | ||
| 3296 | } | ||
| 3297 | if (title_write_back.size() >= kTitleWriteBackRanges || title_write_back_bytes >= kTitleWriteBackBytes) { | ||
| 3298 | if (!title_write_back_refused++) | ||
| 3299 | log_once("past LEONIDA_TITLE_WRITEBACK's caps: reached ranges are not copied back this submission; " | ||
| 3300 | "ranges refused:", | ||
| 3301 | 1); | ||
| 3302 | return; | ||
| 3303 | } | ||
| 3304 | title_write_back_bytes += end - va; | ||
| 3305 | title_write_back.emplace(va, end); | ||
| 3306 | } | ||
| 3307 | |||
| 3308 | // What the GPU wrote into those copies goes back to the title's pages, so a later read by the title or the next | ||
| 3309 | // forward copy sees it. Only once the submission that wrote them has completed: a batch carries the ticket of the | ||
| 3310 | // submission after it (a submission's commands are recorded before it exists), and is copied back when the | ||
| 3311 | // context reports that ticket done. Runs at the start of a refresh, under shadow_mutex and before the forward | ||
| 3312 | // copies, so a page the title wrote again is copied forward over the result. | ||
| 3313 | void write_back_titles() { | ||
| 3314 | if (!&context) return; | ||
| 3315 | const std::uint64_t done = context->completed_retire_ticket(); | ||
| 3316 | std::vector<std::pair<uint64_t, std::uint64_t>> finished; // one entry per range, collected under the lock | ||
| 3317 | { | ||
| 3318 | std::lock_guard lock(title_write_back_mutex); | ||
| 3319 | if (!title_write_back.empty()) { | ||
| 3320 | // The ranges of the submission about to execute, which is the next ticket. | ||
| 3321 | title_write_back_pending.push_back({context->submitted_retire_ticket() + 1, | ||
| 3322 | std::move(title_write_back)}); | ||
| 3323 | title_write_back.clear(); | ||
| 3324 | title_write_back_bytes = 0; | ||
| 3325 | } | ||
| 3326 | bool forced = false; | ||
| 3327 | while (!title_write_back_pending.empty() && | ||
| 3328 | (title_write_back_pending.front().first <= done || | ||
| 3329 | title_write_back_pending.size() > kTitleWriteBackBatches)) { | ||
| 3330 | forced = forced || title_write_back_pending.front().first > done; | ||
| 3331 | for (const auto& [begin, end] : title_write_back_pending.front().second) | ||
| 3332 | finished.push_back({begin, end}); | ||
| 3333 | title_write_back_pending.pop_front(); | ||
| 3334 | } | ||
| 3335 | // A queue held deep (console ordering) can leave batches waiting: the oldest go back anyway, once each. | ||
| 3336 | if (forced && !title_write_back_unfenced++) | ||
| 3337 | log_once("more than 64 title write-back batches wait on their submissions: the oldest are copied " | ||
| 3338 | "back without their ticket; batches:", | ||
| 3339 | 1); | ||
| 3340 | } | ||
| 3341 | if (finished.empty()) return; | ||
| 3342 | std::uint64_t written = 0, ranges = 0; | ||
| 3343 | for (const auto& [begin, end] : finished) | ||
| 3344 | for (const ShadowPagesPtr& s : shadows) | ||
| 3345 | if (end > s->first() && begin < s->last()) { | ||
| 3346 | const std::uint64_t bytes = s->write_back(begin, end); | ||
| 3347 | written += bytes; | ||
| 3348 | ranges += bytes != 0; | ||
| 3349 | } | ||
| 3350 | title_write_back_total += written; | ||
| 3351 | if (!written) return; | ||
| 3352 | if (++title_write_back_calls <= 4 || !(title_write_back_calls & (title_write_back_calls - 1))) | ||
| 3353 | std::fprintf(stderr, "[rt] d3d12: %llu KiB of the GPU's writes in %llu reached range(s) went back to the " | ||
| 3354 | "title's pages (%llu KiB so far)\n", | ||
| 3355 | static_cast<unsigned long long>(written >> 10), static_cast<unsigned long long>(ranges), | ||
| 3356 | static_cast<unsigned long long>(title_write_back_total >> 10)); | ||
| 3357 | } | ||
| 3358 | |||
| 2843 | // A stream pool's address (a CPU view paired with a GPU-only alias). Rule B | 3359 | // A stream pool's address (a CPU view paired with a GPU-only alias). Rule B |
| 2844 | // first: the CPU view is where the host reads the frames, so that is what the copy is made from; the GPU-only | 3360 | // first: the CPU view is where the host reads the frames, so that is what the copy is made from; the GPU-only |
| 2845 | // pages are the same frames through the title's queue slot 31 and are read only when the CPU view is not | 3361 | // pages are the same frames through the title's queue slot 31 and are read only when the CPU view is not |
| @@ -3199,8 +3715,8 @@ struct DeviceState { | |||
| 3199 | for (auto& t : b.triangles) { | 3715 | for (auto& t : b.triangles) { |
| 3200 | const std::uint64_t triangles = (t.index_type ? t.index_count : t.vertex_count) / 3; | 3716 | const std::uint64_t triangles = (t.index_type ? t.index_count : t.vertex_count) / 3; |
| 3201 | if (!triangles) continue; | 3717 | if (!triangles) continue; |
| 3202 | // Unindexed: three vertices a triangle. Indexed: the VertexCount the title declared (indices past | 3718 | // Unindexed: three vertices a triangle. Indexed: the VertexCount the title declared (an index past |
| 3203 | // it read past the buffer, as on the console). | 3719 | // it is not read: xdxr_build.comp vertex() makes its triangle inactive). |
| 3204 | const std::uint64_t vertices = t.index_type ? t.vertex_count : 3 * triangles; | 3720 | const std::uint64_t vertices = t.index_type ? t.vertex_count : 3 * triangles; |
| 3205 | const std::uint64_t element = t.vertex_format == VK_FORMAT_R32G32_SFLOAT ? 8 : 12; | 3721 | const std::uint64_t element = t.vertex_format == VK_FORMAT_R32G32_SFLOAT ? 8 : 12; |
| 3206 | const std::uint64_t vertex_bytes = vertices ? (vertices - 1) * t.vertex_stride + element : 0; | 3722 | const std::uint64_t vertex_bytes = vertices ? (vertices - 1) * t.vertex_stride + element : 0; |
| @@ -3485,36 +4001,67 @@ struct DeviceState { | |||
| 3485 | } | 4001 | } |
| 3486 | 4002 | ||
| 3487 | // Indexed by actual Vulkan address, never by a placed buffer's CPU address. | 4003 | // Indexed by actual Vulkan address, never by a placed buffer's CPU address. |
| 3488 | static bool filter_heap_releases() { | ||
| 3489 | static const bool on = [] { | ||
| 3490 | const auto* v = std::getenv("LEONIDA_CONSOLE_RELEASE_FILTER"); | ||
| 3491 | return v && std::strcmp(v, "1") == 0; | ||
| 3492 | }(); | ||
| 3493 | return on; | ||
| 3494 | } | ||
| 3495 | leonida::DescriptorRangeChanges backing_changes; | ||
| 3496 | std::atomic<uint64_t> released_backings{}; | ||
| 3497 | std::atomic<uint64_t> backing_generation{}; // every add and release | 4004 | std::atomic<uint64_t> backing_generation{}; // every add and release |
| 3498 | std::mutex backing_mutex; | 4005 | std::mutex backing_mutex; |
| 3499 | leonida::BufferVaIndex<uint64_t> gpu_backings; | 4006 | leonida::BufferVaIndex<uint64_t> gpu_backings; |
| 4007 | |||
| 4008 | // What changed for the console heaps' slot records (ConsoleHeap::records) since the last submission: backings and | ||
| 4009 | // copies released or added, alias ranges removed or added, title memory added. Unbounded: every change is applied | ||
| 4010 | // at the next refresh_console_heaps, which takes the whole list. Written from any thread, under the lock of what | ||
| 4011 | // changed (backing_mutex, the alias table's); slot_change_mutex is taken last and nothing is taken under it. | ||
| 4012 | // Nothing is kept before a console resource heap with a CPU copy exists (no slot has a record then). | ||
| 4013 | std::mutex slot_change_mutex; | ||
| 4014 | std::vector<leonida::SlotChange> slot_changes; | ||
| 4015 | std::atomic<bool> slot_records_live{false}; | ||
| 4016 | void note_slot_change(leonida::SlotChange::Kind kind, std::uint64_t lo, std::uint64_t bytes) { | ||
| 4017 | if (!bytes || !slot_records_live.load(std::memory_order_acquire)) return; | ||
| 4018 | const std::uint64_t hi = lo + bytes < lo ? UINT64_MAX : lo + bytes; | ||
| 4019 | std::lock_guard lock(slot_change_mutex); | ||
| 4020 | slot_changes.push_back({kind, lo, hi}); | ||
| 4021 | } | ||
| 4022 | // A device range [address, address + bytes) as the V# bases that name it directly: arena offsets in the V#'s 48 | ||
| 4023 | // bits (a buffer below the arena, as sign-extended offsets, vsharp_address). Nothing for a range no V# reaches. | ||
| 4024 | void note_slot_source_added(VkDeviceAddress address, std::uint64_t bytes) { | ||
| 4025 | constexpr std::uint64_t mask = (1ull << 48) - 1; | ||
| 4026 | const std::uint64_t offset = address - arena.address; | ||
| 4027 | if (offset <= mask) note_slot_change(leonida::SlotChange::source_added, offset, bytes); | ||
| 4028 | else if (offset >= ~(mask >> 1)) note_slot_change(leonida::SlotChange::source_added, offset & mask, bytes); | ||
| 4029 | } | ||
| 4030 | // The alias table's changes (TitleVaAliases::add_listener), under its lock. | ||
| 4031 | static void alias_changed(void* device, leonida::TitleVaAliases::Change change, std::uint64_t title_va, | ||
| 4032 | std::uint64_t bytes, std::uint64_t shader_va) { | ||
| 4033 | auto& self = *static_cast<DeviceState*>(device); | ||
| 4034 | using Change = leonida::TitleVaAliases::Change; | ||
| 4035 | if (change == Change::removed) { | ||
| 4036 | // What resolved through the range (by its base), and what names its copy (by the copy's address). | ||
| 4037 | self.note_slot_change(leonida::SlotChange::source_gone, title_va, bytes); | ||
| 4038 | self.note_slot_change(leonida::SlotChange::target_gone, self.arena.address + shader_va, bytes); | ||
| 4039 | } else { | ||
| 4040 | self.note_slot_change(leonida::SlotChange::source_added, title_va, bytes); | ||
| 4041 | } | ||
| 4042 | } | ||
| 4043 | |||
| 3500 | // A title-window or geometry-copy block was destroyed (TitleBufferWindows::destroy_block; its GPU work completed): | 4044 | // A title-window or geometry-copy block was destroyed (TitleBufferWindows::destroy_block; its GPU work completed): |
| 3501 | // as for a released backing, the backed table cuts it and the key entries and heap slots answering into it go at | 4045 | // as for a released backing, the backed table cuts it and the key entries and heap slots answering into it go at |
| 3502 | // the next refresh, so no table names the freed memory. | 4046 | // the next refresh, so no table names the freed memory. |
| 3503 | void title_block_gone(VkDeviceAddress address, VkDeviceSize bytes) { | 4047 | void title_block_gone(VkDeviceAddress address, VkDeviceSize bytes) { |
| 3504 | std::lock_guard lock(backing_mutex); | 4048 | std::lock_guard lock(backing_mutex); |
| 3505 | if (filter_heap_releases()) backing_changes.record(address, bytes); | ||
| 3506 | backing_generation.fetch_add(1, std::memory_order_relaxed); | 4049 | backing_generation.fetch_add(1, std::memory_order_relaxed); |
| 3507 | released_backings.fetch_add(1, std::memory_order_release); | 4050 | note_slot_change(leonida::SlotChange::target_gone, address, bytes); |
| 3508 | if (heap_gpu) released_ranges.emplace_back(address - arena.address, bytes); | 4051 | if (heap_gpu) released_ranges.emplace_back(address - arena.address, bytes); |
| 3509 | } | 4052 | } |
| 3510 | void backing(VkDeviceAddress address, uint64_t bytes, uint64_t id, bool add) { | 4053 | void backing(VkDeviceAddress address, uint64_t bytes, uint64_t id, bool add) { |
| 3511 | std::lock_guard lock(backing_mutex); | 4054 | std::lock_guard lock(backing_mutex); |
| 3512 | if (filter_heap_releases()) backing_changes.record(address, bytes); | ||
| 3513 | backing_generation.fetch_add(1, std::memory_order_relaxed); | 4055 | backing_generation.fetch_add(1, std::memory_order_relaxed); |
| 3514 | if (add) gpu_backings.insert(address, bytes, id); | 4056 | if (add) { |
| 3515 | else { | 4057 | gpu_backings.insert(address, bytes, id); |
| 4058 | // A V# that named this range before it was backed, directly or through an alias, can resolve now. | ||
| 4059 | note_slot_change(leonida::SlotChange::target_added, address, bytes); | ||
| 4060 | note_slot_source_added(address, bytes); | ||
| 4061 | } else { | ||
| 3516 | gpu_backings.erase(address, id); | 4062 | gpu_backings.erase(address, id); |
| 3517 | released_backings.fetch_add(1, std::memory_order_release); | 4063 | // The heap slots whose copy names it are fixed again at the next refresh. |
| 4064 | note_slot_change(leonida::SlotChange::target_gone, address, bytes); | ||
| 3518 | // LEONIDA_CONSOLE_HEAP_GPU: the key entries answering into it go at the next refresh. | 4065 | // LEONIDA_CONSOLE_HEAP_GPU: the key entries answering into it go at the next refresh. |
| 3519 | if (heap_gpu) released_ranges.emplace_back(address - arena.address, bytes); | 4066 | if (heap_gpu) released_ranges.emplace_back(address - arena.address, bytes); |
| 3520 | } | 4067 | } |
| @@ -3523,8 +4070,11 @@ struct DeviceState { | |||
| 3523 | enum class VsharpPath { table, shadow, scratch }; | 4070 | enum class VsharpPath { table, shadow, scratch }; |
| 3524 | enum class VsharpResult { unchanged, rebased, empty }; | 4071 | enum class VsharpResult { unchanged, rebased, empty }; |
| 3525 | 4072 | ||
| 4073 | // `refused` (when given): for an answer of 0, the copy an alias range named that was not backed (0: none), so the | ||
| 4074 | // console heap's slot record is found again when a backing is added there. | ||
| 3526 | uint64_t vsharp_address(uint64_t base, uint64_t bytes, leonida::TitleVaAliases::Kind kind = leonida::TitleVaAliases::created_view, | 4075 | uint64_t vsharp_address(uint64_t base, uint64_t bytes, leonida::TitleVaAliases::Kind kind = leonida::TitleVaAliases::created_view, |
| 3527 | bool make_window = true, bool try_geometry = false) { | 4076 | bool make_window = true, bool try_geometry = false, uint64_t* refused = nullptr) { |
| 4077 | if (refused) *refused = 0; | ||
| 3528 | if (!base || !bytes) return 0; | 4078 | if (!base || !bytes) return 0; |
| 3529 | auto& aliases = leonida::title_va_aliases(); | 4079 | auto& aliases = leonida::title_va_aliases(); |
| 3530 | constexpr uint64_t mask = (1ull << 48) - 1; | 4080 | constexpr uint64_t mask = (1ull << 48) - 1; |
| @@ -3551,7 +4101,10 @@ struct DeviceState { | |||
| 3551 | const auto path = [this](unsigned p) { vsharp_paths[p].fetch_add(1, std::memory_order_relaxed); }; | 4101 | const auto path = [this](unsigned p) { vsharp_paths[p].fetch_add(1, std::memory_order_relaxed); }; |
| 3552 | uint64_t to{}, room{}; | 4102 | uint64_t to{}, room{}; |
| 3553 | if (aliases.range_of(base, to, room)) { | 4103 | if (aliases.range_of(base, to, room)) { |
| 3554 | if (!to || room < bytes || !backed(to)) return path(1), 0; | 4104 | if (!to || room < bytes || !backed(to)) { |
| 4105 | if (refused) *refused = to; | ||
| 4106 | return path(1), 0; | ||
| 4107 | } | ||
| 3555 | aliases.note_translation(kind); | 4108 | aliases.note_translation(kind); |
| 3556 | return path(0), to; | 4109 | return path(0), to; |
| 3557 | } | 4110 | } |
| @@ -3571,6 +4124,7 @@ struct DeviceState { | |||
| 3571 | uint64_t mapped{}; | 4124 | uint64_t mapped{}; |
| 3572 | if (to && aliases.range_of(base, mapped, room) && mapped == to && room >= bytes && backed(to)) | 4125 | if (to && aliases.range_of(base, mapped, room) && mapped == to && room >= bytes && backed(to)) |
| 3573 | return path(4), to; | 4126 | return path(4), to; |
| 4127 | if (refused) *refused = to; | ||
| 3574 | } | 4128 | } |
| 3575 | return path(5), 0; | 4129 | return path(5), 0; |
| 3576 | } | 4130 | } |
| @@ -3578,7 +4132,51 @@ struct DeviceState { | |||
| 3578 | static constexpr unsigned kVsharpPathCount = 6; | 4132 | static constexpr unsigned kVsharpPathCount = 6; |
| 3579 | std::array<std::atomic<std::uint64_t>, kVsharpPathCount> vsharp_paths{}; | 4133 | std::array<std::atomic<std::uint64_t>, kVsharpPathCount> vsharp_paths{}; |
| 3580 | 4134 | ||
| 3581 | VsharpResult fix_vsharp(uint32_t* w, VsharpPath path) { | 4135 | // LEONIDA_UNBACKED_VSHARP=1 (diagnostic): the buffer V#s fix_vsharp writes empty because nothing backs their base. |
| 4136 | // One line for each of the first 120 distinct bases (span and stride), and every 8192 such V#s a summary by 4 GiB | ||
| 4137 | // range of the base, so the address ranges the world's data comes from can be compared with the title memory. | ||
| 4138 | static void note_unbacked_vsharp(uint64_t base, uint64_t span, uint32_t stride, const uint32_t* w) { | ||
| 4139 | static const bool on = [] { | ||
| 4140 | const char* v = std::getenv("LEONIDA_UNBACKED_VSHARP"); | ||
| 4141 | return v && *v == '1'; | ||
| 4142 | }(); | ||
| 4143 | if (!on) return; | ||
| 4144 | static std::mutex mutex; | ||
| 4145 | static std::unordered_map<uint64_t, uint64_t> seen; // base -> span | ||
| 4146 | static std::map<uint64_t, uint64_t> by_range; // base >> 32 -> distinct bases | ||
| 4147 | static uint64_t count = 0; | ||
| 4148 | std::lock_guard lock(mutex); | ||
| 4149 | ++count; | ||
| 4150 | if (seen.emplace(base, span).second) { | ||
| 4151 | ++by_range[base >> 32]; | ||
| 4152 | if (seen.size() <= 120) | ||
| 4153 | std::fprintf(stderr, | ||
| 4154 | "[rt] unbacked-vsharp: #%zu base 0x%llx span %llu stride %u words %08x %08x %08x %08x\n", | ||
| 4155 | seen.size(), static_cast<unsigned long long>(base), static_cast<unsigned long long>(span), | ||
| 4156 | stride, w[0], w[1], w[2], w[3]); | ||
| 4157 | } | ||
| 4158 | if (!(count % 8192)) { | ||
| 4159 | std::vector<std::pair<uint64_t, uint64_t>> top; | ||
| 4160 | for (const auto& [range, n] : by_range) top.emplace_back(n, range); | ||
| 4161 | std::sort(top.rbegin(), top.rend()); | ||
| 4162 | std::string text; | ||
| 4163 | char item[64]; | ||
| 4164 | for (std::size_t i = 0; i < top.size() && i < 10; ++i) { | ||
| 4165 | std::snprintf(item, sizeof(item), "%s0x%llx00000000 x%llu", i ? "; " : "", | ||
| 4166 | static_cast<unsigned long long>(top[i].second), static_cast<unsigned long long>(top[i].first)); | ||
| 4167 | text += item; | ||
| 4168 | } | ||
| 4169 | std::fprintf(stderr, "[rt] unbacked-vsharp: %llu empty V#s, %zu distinct bases; by 4 GiB range: %s\n", | ||
| 4170 | static_cast<unsigned long long>(count), seen.size(), text.c_str()); | ||
| 4171 | } | ||
| 4172 | } | ||
| 4173 | |||
| 4174 | // What fix_vsharp resolved a V# to, for a console heap's slot record (ConsoleHeapSlotRecords::set). | ||
| 4175 | struct VsharpRecord { | ||
| 4176 | leonida::ConsoleHeapSlotRecords::State state = leonida::ConsoleHeapSlotRecords::none; | ||
| 4177 | uint64_t base = 0, span = 0, target = 0; | ||
| 4178 | }; | ||
| 4179 | VsharpResult fix_vsharp(uint32_t* w, VsharpPath path, VsharpRecord* record = nullptr) { | ||
| 3582 | if ((w[3] >> 30) || !w[2]) return VsharpResult::unchanged; // image, empty slot or raw pointer | 4180 | if ((w[3] >> 30) || !w[2]) return VsharpResult::unchanged; // image, empty slot or raw pointer |
| 3583 | const uint64_t base = uint64_t(w[0]) | (uint64_t(w[1] & 0xffff) << 32); | 4181 | const uint64_t base = uint64_t(w[0]) | (uint64_t(w[1] & 0xffff) << 32); |
| 3584 | const uint32_t stride = (w[1] >> 16) & 0x3fffu; | 4182 | const uint32_t stride = (w[1] >> 16) & 0x3fffu; |
| @@ -3587,8 +4185,16 @@ struct DeviceState { | |||
| 3587 | leonida::gfx10::Buffer desc{}; | 4185 | leonida::gfx10::Buffer desc{}; |
| 3588 | const bool copy_geometry = leonida::gfx10::decode(words, desc) && | 4186 | const bool copy_geometry = leonida::gfx10::decode(words, desc) && |
| 3589 | (path != VsharpPath::scratch || span <= kTitleWindowMax || (desc.format && leonida::gfx10::encode(desc) == words)); | 4187 | (path != VsharpPath::scratch || span <= kTitleWindowMax || (desc.format && leonida::gfx10::encode(desc) == words)); |
| 4188 | uint64_t refused = 0; | ||
| 3590 | const auto to = vsharp_address(base, span, leonida::TitleVaAliases::table_view, | 4189 | const auto to = vsharp_address(base, span, leonida::TitleVaAliases::table_view, |
| 3591 | path != VsharpPath::scratch, copy_geometry); | 4190 | path != VsharpPath::scratch, copy_geometry, &refused); |
| 4191 | if (record) { | ||
| 4192 | // The copy's device address (mod 2^64: a buffer below the arena has a negative offset). | ||
| 4193 | record->state = to ? leonida::ConsoleHeapSlotRecords::resolved : leonida::ConsoleHeapSlotRecords::waiting; | ||
| 4194 | record->base = base; | ||
| 4195 | record->span = span; | ||
| 4196 | record->target = to ? arena.address + to : refused ? arena.address + refused : 0; | ||
| 4197 | } | ||
| 3592 | if (!to) { | 4198 | if (!to) { |
| 3593 | static std::atomic_flag noted[3]{}; | 4199 | static std::atomic_flag noted[3]{}; |
| 3594 | if (!noted[unsigned(path)].test_and_set(std::memory_order_relaxed)) { | 4200 | if (!noted[unsigned(path)].test_and_set(std::memory_order_relaxed)) { |
| @@ -3597,6 +4203,7 @@ struct DeviceState { | |||
| 3597 | std::fprintf(stderr, "[rt] d3d12: %s V# at 0x%llx (%llu bytes) has no GPU backing; zero records\n", | 4203 | std::fprintf(stderr, "[rt] d3d12: %s V# at 0x%llx (%llu bytes) has no GPU backing; zero records\n", |
| 3598 | where, (unsigned long long)base, (unsigned long long)span); | 4204 | where, (unsigned long long)base, (unsigned long long)span); |
| 3599 | } | 4205 | } |
| 4206 | note_unbacked_vsharp(base, span, stride, w); | ||
| 3600 | w[0] = w[1] = w[2] = 0; | 4207 | w[0] = w[1] = w[2] = 0; |
| 3601 | return VsharpResult::empty; | 4208 | return VsharpResult::empty; |
| 3602 | } | 4209 | } |
| @@ -3792,13 +4399,13 @@ struct DeviceState { | |||
| 3792 | [](const PoolSpan& span) { return span.geometry; }); | 4399 | [](const PoolSpan& span) { return span.geometry; }); |
| 3793 | std::fprintf(stderr, | 4400 | std::fprintf(stderr, |
| 3794 | "[rt] d3d12: title memory: %zu windows (%llu KiB of a %llu MiB budget, %llu refused), %zu " | 4401 | "[rt] d3d12: title memory: %zu windows (%llu KiB of a %llu MiB budget, %llu refused), %zu " |
| 3795 | "stream-pool extents (one mapping each, %llu KiB; %lld by geometry copy), %llu addresses " | 4402 | "stream-pool extents (one mapping each, %llu KiB; %lld by geometry copy, %llu retired with " |
| 3796 | "given a zero-size view\n", | 4403 | "their copy), %llu addresses given a zero-size view\n", |
| 3797 | title_windows.size(), static_cast<unsigned long long>(title_window_bytes >> 10), | 4404 | title_windows.size(), static_cast<unsigned long long>(title_window_bytes >> 10), |
| 3798 | static_cast<unsigned long long>(title_window_cap >> 20), | 4405 | static_cast<unsigned long long>(title_window_cap >> 20), |
| 3799 | static_cast<unsigned long long>(title_window_refusals), pool_spans.size(), | 4406 | static_cast<unsigned long long>(title_window_refusals), pool_spans.size(), |
| 3800 | static_cast<unsigned long long>(pool_span_bytes >> 10), | 4407 | static_cast<unsigned long long>(pool_span_bytes >> 10), |
| 3801 | static_cast<long long>(geometry_spans), | 4408 | static_cast<long long>(geometry_spans), static_cast<unsigned long long>(pool_spans_retired), |
| 3802 | static_cast<unsigned long long>(unbacked_requests)); | 4409 | static_cast<unsigned long long>(unbacked_requests)); |
| 3803 | } | 4410 | } |
| 3804 | } | 4411 | } |
| @@ -3813,7 +4420,7 @@ struct DeviceState { | |||
| 3813 | backing(arena.address + offset, bytes, offset, false); | 4420 | backing(arena.address + offset, bytes, offset, false); |
| 3814 | arena.in_use -= bytes; | 4421 | arena.in_use -= bytes; |
| 3815 | arena.use_in_use[use] -= bytes; | 4422 | arena.use_in_use[use] -= bytes; |
| 3816 | // A heap copy re-fixes its slots when a backing has gone (released_backings): the range is no view's. | 4423 | // A heap copy re-fixes the slots that named a backing that has gone (slot_changes): the range is no view's. |
| 3817 | backing(arena.address + offset, bytes, offset, false); | 4424 | backing(arena.address + offset, bytes, offset, false); |
| 3818 | } | 4425 | } |
| 3819 | if (fault != leonida::ArenaBlocks::Fault::none && arena_report_due()) { | 4426 | if (fault != leonida::ArenaBlocks::Fault::none && arena_report_due()) { |
| @@ -3875,25 +4482,17 @@ struct DeviceState { | |||
| 3875 | VkDeviceMemory memory = VK_NULL_HANDLE; | 4482 | VkDeviceMemory memory = VK_NULL_HANDLE; |
| 3876 | std::uint64_t pin = 0; // the imported pages' leonida::kernel_writes pin while `memory` lives | 4483 | std::uint64_t pin = 0; // the imported pages' leonida::kernel_writes pin while `memory` lives |
| 3877 | std::size_t scan_at = 0; // the next slot the T# scan reads | 4484 | std::size_t scan_at = 0; // the next slot the T# scan reads |
| 3878 | uint64_t checked_generation{}, alias_generation{}, backing_cursor{}, alias_cursor{}; | ||
| 3879 | uint64_t release_sweeps{}, release_candidates{}, release_fixes{}, release_rebases{}, release_full{}; | ||
| 3880 | // copy | 4485 | // copy |
| 3881 | bool identity = false; | 4486 | bool identity = false; |
| 3882 | ShadowPagesPtr pages; | 4487 | ShadowPagesPtr pages; |
| 3883 | std::vector<std::uint8_t> mirror; // the title's bytes as the tracker last copied them | 4488 | std::vector<std::uint8_t> mirror; // the title's bytes as the tracker last copied them |
| 3884 | std::vector<std::uint8_t> made; // the title's bytes each arena slot was last made from | 4489 | std::vector<std::uint8_t> made; // the title's bytes each arena slot was last made from |
| 3885 | std::vector<std::uint8_t> retry; // per slot: not settled yet (fix_console_slot), in `retries` | 4490 | std::vector<std::uint8_t> retry; // per slot: not settled yet (fix_console_slot), in `retries` |
| 3886 | leonida::ConsoleHeapVsharpSlots live_vsharps; // slots whose GPU copy holds a live buffer V# | 4491 | // A resource heap's V# halves: what each resolved to (fix_console_slot), so a change of the address space |
| 4492 | // re-fixes the slots it touches (apply_slot_changes), and a V# whose buffer comes later is fixed when it does. | ||
| 4493 | leonida::ConsoleHeapSlotRecords records; | ||
| 3887 | std::vector<std::uint32_t> retries; | 4494 | std::vector<std::uint32_t> retries; |
| 3888 | std::set<std::uint32_t> empty_slots; | ||
| 3889 | std::uint32_t next_empty = 0; | ||
| 3890 | std::size_t retry_at = 0; // where retry_console_slots goes on | 4495 | std::size_t retry_at = 0; // where retry_console_slots goes on |
| 3891 | // V#s naming an address nothing backs that is not the title's memory: null in the copy, and looked at again a | ||
| 3892 | // few times (kUnmappedTries, at most kUnmappedRetrySlots a submission) in case their buffer is made after the | ||
| 3893 | // descriptor. | ||
| 3894 | std::vector<std::uint8_t> unmapped_tries; // per slot: 0, or the looks so far (it is in `unmapped`) | ||
| 3895 | std::vector<std::uint32_t> unmapped; | ||
| 3896 | std::size_t unmapped_at = 0; | ||
| 3897 | // fix_console_slots' budget, for the current refresh, and the slots it nulled since the last log line | 4496 | // fix_console_slots' budget, for the current refresh, and the slots it nulled since the last log line |
| 3898 | std::chrono::steady_clock::time_point fix_start{}; | 4497 | std::chrono::steady_clock::time_point fix_start{}; |
| 3899 | bool fix_over = false; | 4498 | bool fix_over = false; |
| @@ -3908,10 +4507,11 @@ struct DeviceState { | |||
| 3908 | double ms = 0, pages_ms = 0, fix_ms = 0, retry_ms = 0; // ms: all; the others its parts | 4507 | double ms = 0, pages_ms = 0, fix_ms = 0, retry_ms = 0; // ms: all; the others its parts |
| 3909 | // Changed slots by class (before the fix budget), since the last log line: all-zero, V# pair, T#, other | 4508 | // Changed slots by class (before the fix budget), since the last log line: all-zero, V# pair, T#, other |
| 3910 | // words; V# halves whose 16 bytes were seen before (a direct-mapped memo of 65536 keys, so a lower bound of | 4509 | // words; V# halves whose 16 bytes were seen before (a direct-mapped memo of 65536 keys, so a lower bound of |
| 3911 | // how often an exact-key translation would be found again); rescans after a backing release and their cost. | 4510 | // how often an exact-key translation would be found again); the slot records' work: changes applied, index |
| 4511 | // entries looked at, slots fixed again, and its time. | ||
| 3912 | std::uint64_t changed[4] = {}, vsharp_halves = 0, vsharp_repeats = 0; | 4512 | std::uint64_t changed[4] = {}, vsharp_halves = 0, vsharp_repeats = 0; |
| 3913 | std::uint64_t rescans = 0, rescanned = 0; | 4513 | std::uint64_t record_changes = 0, record_looked = 0, record_refixed = 0; |
| 3914 | double rescan_ms = 0; | 4514 | double record_ms = 0; |
| 3915 | std::vector<std::array<std::uint32_t, 4>> seen_keys; | 4515 | std::vector<std::array<std::uint32_t, 4>> seen_keys; |
| 3916 | // LEONIDA_CONSOLE_HEAP_GPU (DeviceState::attach_console_heap_gpu): the translation pass's index of this heap | 4516 | // LEONIDA_CONSOLE_HEAP_GPU (DeviceState::attach_console_heap_gpu): the translation pass's index of this heap |
| 3917 | // (-1: fixed on the CPU), the import of `input` the pass reads, the slots holding a V# pair (translated again | 4517 | // (-1: fixed on the CPU), the import of `input` the pass reads, the slots holding a V# pair (translated again |
| @@ -3987,38 +4587,31 @@ struct DeviceState { | |||
| 3987 | return true; | 4587 | return true; |
| 3988 | } | 4588 | } |
| 3989 | 4589 | ||
| 3990 | // Slot `slot` of a heap copy, as the title wrote it, fixed up as described above. True when it is settled: not a | 4590 | // Slot `slot` of a heap copy, as the title wrote it, fixed up as described above, and the only writer of a |
| 3991 | // T# whose texture is still to come, nor a V# into the title's memory that got no copy. `unmapped` (when given) is | 4591 | // resource heap's slot records. True when it is settled: not a T# whose texture is still to come. A sampler heap |
| 3992 | // set for a V# written null because its base is neither the title's memory nor anything of the device's: settled, | 4592 | // holds S#s: copied as written. |
| 3993 | // but its buffer may still be made (the round-robin probe in refresh_console_heap). A sampler heap holds S#s: | 4593 | bool fix_console_slot(ConsoleHeap& heap, std::size_t slot) { |
| 3994 | // copied as written. | ||
| 3995 | bool fix_console_slot(ConsoleHeap& heap, std::size_t slot, bool* unmapped = nullptr) { | ||
| 3996 | std::uint32_t w[kDescriptorSize / 4]; | 4594 | std::uint32_t w[kDescriptorSize / 4]; |
| 3997 | std::memcpy(w, heap.previous + slot * kDescriptorSize, kDescriptorSize); | 4595 | std::memcpy(w, heap.previous + slot * kDescriptorSize, kDescriptorSize); |
| 3998 | bool settled = true, empty = false; | 4596 | bool settled = true, vsharp = false; |
| 3999 | if (unmapped) *unmapped = false; | 4597 | VsharpRecord halves[2]; |
| 4000 | const VsharpPath path = heap.scratch ? VsharpPath::scratch : VsharpPath::shadow; | 4598 | const VsharpPath path = heap.scratch ? VsharpPath::scratch : VsharpPath::shadow; |
| 4001 | if (!heap.resource_heap || !(w[0] | w[1] | w[2] | w[3])) { | 4599 | if (!heap.resource_heap || !(w[0] | w[1] | w[2] | w[3])) { |
| 4002 | // A sampler heap holds S#s (copied as written); an all-zero slot stays null. | 4600 | // A sampler heap holds S#s (copied as written); an all-zero slot stays null. |
| 4003 | } else if (!(w[3] >> 30)) { | 4601 | } else if (!(w[3] >> 30)) { |
| 4004 | // A buffer V#: rewritten to the address its bytes are backed at (fix_vsharp: the console shadow, or the | 4602 | // A buffer V#: rewritten to the address its bytes are backed at (fix_vsharp: the console shadow, or the |
| 4005 | // console scratch an imported heap rewrites). A base nothing backs is written with no base and no records, | 4603 | // console scratch an imported heap rewrites). A base nothing backs is written with no base and no records |
| 4006 | // settled, and left for the bounded round-robin probe in refresh_console_heap in case its buffer is made | 4604 | // and recorded as waiting: a backing, alias range or title memory added over it fixes the slot again |
| 4007 | // after the descriptor. | 4605 | // (apply_slot_changes). |
| 4008 | const VsharpResult result = fix_vsharp(w, path); | 4606 | vsharp = true; |
| 4607 | const VsharpResult result = fix_vsharp(w, path, &halves[0]); | ||
| 4009 | if (result == VsharpResult::rebased) ++heap.vsharps; | 4608 | if (result == VsharpResult::rebased) ++heap.vsharps; |
| 4010 | if (result == VsharpResult::empty) { | 4609 | // Only the GPU copy changes; the title's bytes (heap.previous) stay as written. |
| 4011 | // Only the GPU copy changes; the title's bytes (heap.previous) stay as written. | 4610 | if (result == VsharpResult::empty) ++heap.unbacked; |
| 4012 | ++heap.unbacked; | ||
| 4013 | empty = true; | ||
| 4014 | } | ||
| 4015 | // The slot's second V# is a UAV counter (raw, 4 bytes, in the descriptor's upper 16 bytes): a store to it at | 4611 | // The slot's second V# is a UAV counter (raw, 4 bytes, in the descriptor's upper 16 bytes): a store to it at |
| 4016 | // heap_base + a raw title address loses the device just as one through the buffer V# does. A counter with | 4612 | // heap_base + a raw title address loses the device just as one through the buffer V# does. A counter with |
| 4017 | // no backing is nulled and left to retry_console_slots. | 4613 | // no backing is nulled and waits as the buffer V# does. |
| 4018 | if (fix_vsharp(w + 4, path) == VsharpResult::empty) { | 4614 | if (fix_vsharp(w + 4, path, &halves[1]) == VsharpResult::empty) ++heap.unbacked; |
| 4019 | ++heap.unbacked; | ||
| 4020 | empty = true; | ||
| 4021 | } | ||
| 4022 | } else { | 4615 | } else { |
| 4023 | leonida::gfx10::ImageWords words; | 4616 | leonida::gfx10::ImageWords words; |
| 4024 | std::memcpy(words.data(), w, sizeof(words)); | 4617 | std::memcpy(words.data(), w, sizeof(words)); |
| @@ -4037,15 +4630,20 @@ struct DeviceState { | |||
| 4037 | // Neither a buffer V# (TYPE is not 0) nor a T# the layer can decode: data the title keeps in the slot. | 4630 | // Neither a buffer V# (TYPE is not 0) nor a T# the layer can decode: data the title keeps in the slot. |
| 4038 | // No image is found by these words (the bindless lookup misses, as for a null T#), but a shader that | 4631 | // No image is found by these words (the bindless lookup misses, as for a null T#), but a shader that |
| 4039 | // takes the slot as a V# (an index from data, or one past what the title filled) adds heap_base to | 4632 | // takes the slot as a V# (an index from data, or one past what the title filled) adds heap_base to |
| 4040 | // words that name nothing: in the GPU copy the slot is null, and left to retry_console_slots. | 4633 | // words that name nothing: in the GPU copy the slot is null. |
| 4041 | ++heap.images[unsigned(TitleImage::not_tsharp)]; | 4634 | ++heap.images[unsigned(TitleImage::not_tsharp)]; |
| 4042 | std::memset(w, 0, 16); | 4635 | std::memset(w, 0, 16); |
| 4043 | } | 4636 | } |
| 4044 | } | 4637 | } |
| 4045 | if (empty) heap.empty_slots.insert(std::uint32_t(slot)); | ||
| 4046 | else if (!heap.empty_slots.empty()) heap.empty_slots.erase(std::uint32_t(slot)); | ||
| 4047 | std::memcpy(heap.copy + slot * kDescriptorSize, w, kDescriptorSize); | 4638 | std::memcpy(heap.copy + slot * kDescriptorSize, w, kDescriptorSize); |
| 4048 | heap.live_vsharps.set(slot, leonida::ConsoleHeapVsharpSlots::is_live_vsharp(w)); | 4639 | if (heap.resource_heap) { |
| 4640 | if (vsharp) | ||
| 4641 | for (unsigned half = 0; half < 2; ++half) | ||
| 4642 | heap.records.set(slot, half, halves[half].state, halves[half].base, halves[half].span, | ||
| 4643 | halves[half].target); | ||
| 4644 | else | ||
| 4645 | heap.records.clear(slot); | ||
| 4646 | } | ||
| 4049 | return settled; | 4647 | return settled; |
| 4050 | } | 4648 | } |
| 4051 | 4649 | ||
| @@ -4100,14 +4698,19 @@ struct DeviceState { | |||
| 4100 | const std::size_t slot = at / kDescriptorSize; | 4698 | const std::size_t slot = at / kDescriptorSize; |
| 4101 | if (!std::memcmp(heap.previous + at, heap.input + at, kDescriptorSize)) continue; | 4699 | if (!std::memcmp(heap.previous + at, heap.input + at, kDescriptorSize)) continue; |
| 4102 | std::memcpy(heap.previous + at, heap.input + at, kDescriptorSize); | 4700 | std::memcpy(heap.previous + at, heap.input + at, kDescriptorSize); |
| 4103 | if (heap.unmapped_tries[slot]) heap.unmapped_tries[slot] = 1; // new words: their looks start over | ||
| 4104 | note_changed_slot(heap, heap.previous + at); | 4701 | note_changed_slot(heap, heap.previous + at); |
| 4105 | if (budget_us && !heap.fix_over && !(++heap.fix_count & 15) && | 4702 | if (budget_us && !heap.fix_over && !(++heap.fix_count & 15) && |
| 4106 | std::chrono::steady_clock::now() - heap.fix_start >= std::chrono::microseconds(budget_us)) | 4703 | std::chrono::steady_clock::now() - heap.fix_start >= std::chrono::microseconds(budget_us)) |
| 4107 | heap.fix_over = true; | 4704 | heap.fix_over = true; |
| 4108 | if (heap.fix_over) { | 4705 | // Buffer V#s (!(w3 >> 30)) only rebase address offsets, so they are fast and must never be |
| 4706 | // deferred or nulled: at the first world frame lib_cs_01144 reads its loop bound from a buffer | ||
| 4707 | // slot; nulling it causes an infinite loop and device loss. Only image T#s are deferred past budget. | ||
| 4708 | std::uint32_t w3 = 0; | ||
| 4709 | std::memcpy(&w3, heap.previous + at + 12, sizeof(w3)); | ||
| 4710 | const bool is_buffer_vsharp = !(w3 >> 30); | ||
| 4711 | if (heap.fix_over && !is_buffer_vsharp) { | ||
| 4109 | std::memset(heap.copy + at, 0, kDescriptorSize); | 4712 | std::memset(heap.copy + at, 0, kDescriptorSize); |
| 4110 | heap.live_vsharps.clear(slot); | 4713 | heap.records.clear(slot); |
| 4111 | ++heap.deferred_fixes; | 4714 | ++heap.deferred_fixes; |
| 4112 | if (!heap.retry[slot]) { | 4715 | if (!heap.retry[slot]) { |
| 4113 | heap.retry[slot] = 1; | 4716 | heap.retry[slot] = 1; |
| @@ -4115,49 +4718,34 @@ struct DeviceState { | |||
| 4115 | } | 4718 | } |
| 4116 | continue; | 4719 | continue; |
| 4117 | } | 4720 | } |
| 4118 | bool unmapped = false; | 4721 | if (fix_console_slot(heap, slot)) { |
| 4119 | if (fix_console_slot(heap, slot, &unmapped)) { | ||
| 4120 | heap.retry[slot] = 0; | 4722 | heap.retry[slot] = 0; |
| 4121 | } else if (!heap.retry[slot]) { | 4723 | } else if (!heap.retry[slot]) { |
| 4122 | heap.retry[slot] = 1; | 4724 | heap.retry[slot] = 1; |
| 4123 | heap.retries.push_back(std::uint32_t(slot)); | 4725 | heap.retries.push_back(std::uint32_t(slot)); |
| 4124 | } | 4726 | } |
| 4125 | if (unmapped && !heap.unmapped_tries[slot]) { | ||
| 4126 | heap.unmapped_tries[slot] = 1; | ||
| 4127 | heap.unmapped.push_back(std::uint32_t(slot)); | ||
| 4128 | } | ||
| 4129 | } | ||
| 4130 | } | ||
| 4131 | |||
| 4132 | // The V#s fix_console_slot wrote null because nothing backs their base: looked at again, round robin, at most | ||
| 4133 | // kUnmappedRetrySlots a submission, each kUnmappedTries times at most. A descriptor the title wrote before making | ||
| 4134 | // its buffer (or a buffer another thread registers just after) then gets its base back; one that stays unmapped | ||
| 4135 | // drops out of the list, so data the title keeps in its heap does not cost a lookup at every submission. | ||
| 4136 | static constexpr std::size_t kUnmappedRetrySlots = 2048; | ||
| 4137 | static constexpr std::uint8_t kUnmappedTries = 4; | ||
| 4138 | void retry_unmapped_slots(ConsoleHeap& heap) { | ||
| 4139 | std::size_t i = heap.unmapped_at; | ||
| 4140 | // Each entry once a submission at most: the looks are a submission apart. | ||
| 4141 | const std::size_t visits = std::min(kUnmappedRetrySlots, heap.unmapped.size()); | ||
| 4142 | for (std::size_t visited = 0; visited < visits && !heap.unmapped.empty(); ++visited) { | ||
| 4143 | if (i >= heap.unmapped.size()) i = 0; | ||
| 4144 | const std::uint32_t slot = heap.unmapped[i]; | ||
| 4145 | // Zeroed since (unmapped_tries reset), reachable now, or out of looks: out of the list. | ||
| 4146 | bool done = !heap.unmapped_tries[slot]; | ||
| 4147 | if (!done) { | ||
| 4148 | bool unmapped = false; | ||
| 4149 | fix_console_slot(heap, slot, &unmapped); | ||
| 4150 | done = !unmapped || ++heap.unmapped_tries[slot] > kUnmappedTries; | ||
| 4151 | } | ||
| 4152 | if (done) { | ||
| 4153 | heap.unmapped_tries[slot] = 0; | ||
| 4154 | heap.unmapped[i] = heap.unmapped.back(); | ||
| 4155 | heap.unmapped.pop_back(); | ||
| 4156 | } else { | ||
| 4157 | ++i; | ||
| 4158 | } | ||
| 4159 | } | 4727 | } |
| 4160 | heap.unmapped_at = i; | 4728 | } |
| 4729 | |||
| 4730 | // The changes since the last submission (slot_changes), applied to a resource heap's copy: each slot whose record | ||
| 4731 | // a change touches is fixed again - a V# whose backing, copy or alias range went, so the copy never names freed | ||
| 4732 | // memory, and a waiting V# over which a backing, alias range or title memory was added. Only the slots near the | ||
| 4733 | // changed ranges are looked at (ConsoleHeapSlotRecords::touched); nothing reads the copy. | ||
| 4734 | std::vector<std::uint32_t> slot_change_scratch; // console_heap_mutex | ||
| 4735 | void apply_slot_changes(ConsoleHeap& heap, const std::vector<leonida::SlotChange>& changes) { | ||
| 4736 | if (!heap.resource_heap || changes.empty()) return; | ||
| 4737 | const auto start = std::chrono::steady_clock::now(); | ||
| 4738 | const std::uint64_t looked = heap.records.looked_at(); | ||
| 4739 | heap.records.touched(changes.data(), changes.size(), slot_change_scratch); | ||
| 4740 | heap.record_changes += changes.size(); | ||
| 4741 | heap.record_looked += heap.records.looked_at() - looked; | ||
| 4742 | heap.record_refixed += slot_change_scratch.size(); | ||
| 4743 | for (const std::uint32_t slot : slot_change_scratch) | ||
| 4744 | if (!fix_console_slot(heap, slot) && !heap.retry[slot]) { | ||
| 4745 | heap.retry[slot] = 1; | ||
| 4746 | heap.retries.push_back(slot); | ||
| 4747 | } | ||
| 4748 | heap.record_ms += std::chrono::duration<double, std::milli>(std::chrono::steady_clock::now() - start).count(); | ||
| 4161 | } | 4749 | } |
| 4162 | 4750 | ||
| 4163 | // The slots of a heap copy not settled yet: fixed again, and kept while they are still not. Round robin, for at | 4751 | // The slots of a heap copy not settled yet: fixed again, and kept while they are still not. Round robin, for at |
| @@ -4199,7 +4787,9 @@ struct DeviceState { | |||
| 4199 | unbound_tsharp_tracker().note(heap.console_va, offset, words, why); | 4787 | unbound_tsharp_tracker().note(heap.console_va, offset, words, why); |
| 4200 | } | 4788 | } |
| 4201 | 4789 | ||
| 4202 | void refresh_console_heap(ConsoleHeap& heap) { // console_heap_mutex held | 4790 | // `changes`: what changed since the last submission (refresh_console_heaps took it from slot_changes), or null for |
| 4791 | // a heap's first refresh, which has no records yet. | ||
| 4792 | void refresh_console_heap(ConsoleHeap& heap, const std::vector<leonida::SlotChange>* changes) { // console_heap_mutex held | ||
| 4203 | if (heap.imported) return; // directly imported sampler heap | 4793 | if (heap.imported) return; // directly imported sampler heap |
| 4204 | if (heap.gpu >= 0) return refresh_console_heap_gpu(heap); | 4794 | if (heap.gpu >= 0) return refresh_console_heap_gpu(heap); |
| 4205 | using clock = std::chrono::steady_clock; | 4795 | using clock = std::chrono::steady_clock; |
| @@ -4213,90 +4803,20 @@ struct DeviceState { | |||
| 4213 | std::memset(heap.previous + offset, 0, bytes); | 4803 | std::memset(heap.previous + offset, 0, bytes); |
| 4214 | const auto first = std::uint32_t(offset / kDescriptorSize); | 4804 | const auto first = std::uint32_t(offset / kDescriptorSize); |
| 4215 | const auto end = std::uint32_t((offset + bytes) / kDescriptorSize); | 4805 | const auto end = std::uint32_t((offset + bytes) / kDescriptorSize); |
| 4216 | heap.empty_slots.erase(heap.empty_slots.lower_bound(first), heap.empty_slots.lower_bound(end)); | 4806 | for (auto slot = first; slot < end; ++slot) heap.retry[slot] = 0; |
| 4217 | for (auto slot = first; slot < end; ++slot) { | 4807 | if (heap.resource_heap) heap.records.clear_range(first, end); |
| 4218 | heap.retry[slot] = 0; | ||
| 4219 | heap.unmapped_tries[slot] = 0; | ||
| 4220 | } | ||
| 4221 | heap.live_vsharps.clear_range(first, end); | ||
| 4222 | }); | 4808 | }); |
| 4223 | const auto t1 = clock::now(); | 4809 | const auto t1 = clock::now(); |
| 4224 | heap.fix_start = t1; | 4810 | heap.fix_start = t1; |
| 4225 | heap.fix_over = false; | 4811 | heap.fix_over = false; |
| 4226 | heap.fix_count = 0; | 4812 | heap.fix_count = 0; |
| 4227 | heap.pages->for_each_copied([&](std::size_t offset, std::size_t bytes) { fix_console_slots(heap, offset, bytes); }); | 4813 | heap.pages->for_each_copied([&](std::size_t offset, std::size_t bytes) { fix_console_slots(heap, offset, bytes); }); |
| 4228 | const auto generation = released_backings.load(std::memory_order_acquire); | 4814 | // Even an unchanged title slot may name a buffer released since the last submission: the slots the changes |
| 4229 | const auto alias_generation = leonida::title_va_aliases().invalidations(); | 4815 | // touch are fixed again, found by their records. |
| 4230 | if (heap.resource_heap && (generation != heap.checked_generation || alias_generation != heap.alias_generation)) { | 4816 | if (changes) apply_slot_changes(heap, *changes); |
| 4231 | heap.alias_generation = alias_generation; | ||
| 4232 | heap.checked_generation = generation; | ||
| 4233 | leonida::DescriptorRanges backing, aliases; | ||
| 4234 | bool filtered = filter_heap_releases(); | ||
| 4235 | if (filtered) { | ||
| 4236 | { | ||
| 4237 | std::lock_guard lock(backing_mutex); | ||
| 4238 | filtered = backing_changes.read(heap.backing_cursor, backing); | ||
| 4239 | } | ||
| 4240 | filtered &= leonida::title_va_aliases().changed_ranges(heap.alias_cursor, aliases); | ||
| 4241 | backing.merge(); | ||
| 4242 | aliases.merge(); | ||
| 4243 | } | ||
| 4244 | ++heap.release_sweeps; | ||
| 4245 | heap.release_full += !filtered; | ||
| 4246 | const auto bda = [&](uint64_t base) { | ||
| 4247 | if (signed_vsharp_offsets() && (base & (1ull << 47))) base |= ~((1ull << 48)-1); | ||
| 4248 | return arena.address + base; | ||
| 4249 | }; | ||
| 4250 | const auto affected = [&](const uint32_t* src, const uint32_t* dst) { | ||
| 4251 | if ((src[3] >> 30) || !src[2]) return false; | ||
| 4252 | const uint64_t base = uint64_t(src[0]) | (uint64_t(src[1] & 0xffff) << 32); | ||
| 4253 | const uint64_t fixed = uint64_t(dst[0]) | (uint64_t(dst[1] & 0xffff) << 32); | ||
| 4254 | const auto stride = (src[1] >> 16) & 0x3fff; | ||
| 4255 | const uint64_t bytes = uint64_t(src[2]) * (stride ? stride : 1); | ||
| 4256 | return aliases.overlaps(base, 1) || backing.overlaps(bda(base), bytes) || | ||
| 4257 | (dst[2] && backing.overlaps(bda(fixed), bytes)); | ||
| 4258 | }; | ||
| 4259 | const auto before = heap.vsharps; | ||
| 4260 | ++heap.rescans; | ||
| 4261 | const auto rescan_start = clock::now(); | ||
| 4262 | // Even an unchanged title slot may name a buffer released since the last submission. | ||
| 4263 | // Walk the host-RAM V# bitset instead of reading every slot of `heap.copy` (which may be uncached WC VRAM). | ||
| 4264 | heap.live_vsharps.for_each([&](std::size_t slot) { | ||
| 4265 | ++heap.release_candidates; | ||
| 4266 | if (filtered) { | ||
| 4267 | const auto at = slot * kDescriptorSize; | ||
| 4268 | const auto* src = reinterpret_cast<const uint32_t*>(heap.previous + at); | ||
| 4269 | const auto* dst = reinterpret_cast<const uint32_t*>(heap.copy + at); | ||
| 4270 | if (!affected(src, dst) && !affected(src + 4, dst + 4)) return; | ||
| 4271 | } | ||
| 4272 | ++heap.release_fixes; | ||
| 4273 | ++heap.rescanned; | ||
| 4274 | if (!fix_console_slot(heap, slot) && !heap.retry[slot]) { | ||
| 4275 | heap.retry[slot] = 1; | ||
| 4276 | heap.retries.push_back(uint32_t(slot)); | ||
| 4277 | } | ||
| 4278 | }); | ||
| 4279 | heap.release_rebases += heap.vsharps - before; | ||
| 4280 | heap.rescan_ms += ms(rescan_start, clock::now()); | ||
| 4281 | } | ||
| 4282 | const auto t2 = clock::now(); | 4817 | const auto t2 = clock::now(); |
| 4283 | // A settled zero can acquire GPU backing without a CPU map event. Probe at most eight in | 4818 | // T#s whose texture is not there yet, and slots the fix budget deferred. |
| 4284 | // round-robin order every 32 submissions. Keep texture and copy-budget retries independent. | ||
| 4285 | if ((heap.refreshes & 31) == 31 && !heap.empty_slots.empty()) { | ||
| 4286 | auto it = heap.empty_slots.lower_bound(heap.next_empty); | ||
| 4287 | const auto count = (std::min)(std::size_t{8}, heap.empty_slots.size()); | ||
| 4288 | for (std::size_t n = 0; n < count && !heap.empty_slots.empty(); ++n) { | ||
| 4289 | if (it == heap.empty_slots.end()) it = heap.empty_slots.begin(); | ||
| 4290 | const auto slot = *it++; | ||
| 4291 | heap.next_empty = slot + 1; | ||
| 4292 | if (!heap.retry[slot]) { | ||
| 4293 | fix_console_slot(heap, slot); | ||
| 4294 | ++heap.retried; | ||
| 4295 | } | ||
| 4296 | } | ||
| 4297 | } | ||
| 4298 | if (!heap.retries.empty()) retry_console_slots(heap); | 4819 | if (!heap.retries.empty()) retry_console_slots(heap); |
| 4299 | if (!heap.unmapped.empty()) retry_unmapped_slots(heap); | ||
| 4300 | const auto t3 = clock::now(); | 4820 | const auto t3 = clock::now(); |
| 4301 | heap.pages_ms += ms(t0, t1); | 4821 | heap.pages_ms += ms(t0, t1); |
| 4302 | heap.fix_ms += ms(t1, t2); | 4822 | heap.fix_ms += ms(t1, t2); |
| @@ -4316,9 +4836,16 @@ struct DeviceState { | |||
| 4316 | if (on) state.console_heap_gpu_end(); | 4836 | if (on) state.console_heap_gpu_end(); |
| 4317 | } | 4837 | } |
| 4318 | } gpu_end{*this, heap_pass}; | 4838 | } gpu_end{*this, heap_pass}; |
| 4839 | // Every change since the last submission, for every heap; one made from now on (by another thread, or by a | ||
| 4840 | // fix below making a window) is applied at the next submission. | ||
| 4841 | std::vector<leonida::SlotChange> changes; | ||
| 4842 | { | ||
| 4843 | std::lock_guard taken(slot_change_mutex); | ||
| 4844 | changes.swap(slot_changes); | ||
| 4845 | } | ||
| 4319 | for (const auto& heap : console_heaps) { | 4846 | for (const auto& heap : console_heaps) { |
| 4320 | const auto start = std::chrono::steady_clock::now(); | 4847 | const auto start = std::chrono::steady_clock::now(); |
| 4321 | refresh_console_heap(*heap); | 4848 | refresh_console_heap(*heap, &changes); |
| 4322 | heap->ms += std::chrono::duration<double, std::milli>(std::chrono::steady_clock::now() - start).count(); | 4849 | heap->ms += std::chrono::duration<double, std::milli>(std::chrono::steady_clock::now() - start).count(); |
| 4323 | ++heap->refreshes; | 4850 | ++heap->refreshes; |
| 4324 | // A line at the first and 64th submission, then every 10 s (a crawl logs as often as a fast run). | 4851 | // A line at the first and 64th submission, then every 10 s (a crawl logs as often as a fast run). |
| @@ -4333,7 +4860,7 @@ struct DeviceState { | |||
| 4333 | "in %.3f ms on average (pages %.3f, fixing copied slots %.3f, %llu left to retries past the " | 4860 | "in %.3f ms on average (pages %.3f, fixing copied slots %.3f, %llu left to retries past the " |
| 4334 | "budget, retrying %.3f: %.1f slots a " | 4861 | "budget, retrying %.3f: %.1f slots a " |
| 4335 | "submission, %zu waiting), %llu write faults; %llu title V#s rebased, %llu with no copy given " | 4862 | "submission, %zu waiting), %llu write faults; %llu title V#s rebased, %llu with no copy given " |
| 4336 | "no records (%zu naming nothing waiting for another look), T#s %llu known, %llu bound, %llu " | 4863 | "no records (%zu V# halves waiting for a backing), T#s %llu known, %llu bound, %llu " |
| 4337 | "naming no texture, %llu refused, %llu words that are no V# or T# (data, null in the copy)\n", | 4864 | "naming no texture, %llu refused, %llu words that are no V# or T# (data, null in the copy)\n", |
| 4338 | static_cast<unsigned long long>(heap->console_va), heap->imported ? "imported" : "copy", | 4865 | static_cast<unsigned long long>(heap->console_va), heap->imported ? "imported" : "copy", |
| 4339 | static_cast<unsigned long long>(heap->refreshes), "copied", | 4866 | static_cast<unsigned long long>(heap->refreshes), "copied", |
| @@ -4343,41 +4870,41 @@ struct DeviceState { | |||
| 4343 | double(heap->retried) / count, heap->retries.size(), | 4870 | double(heap->retried) / count, heap->retries.size(), |
| 4344 | static_cast<unsigned long long>(heap->pages ? heap->pages->faults() : 0), | 4871 | static_cast<unsigned long long>(heap->pages ? heap->pages->faults() : 0), |
| 4345 | static_cast<unsigned long long>(heap->vsharps), | 4872 | static_cast<unsigned long long>(heap->vsharps), |
| 4346 | static_cast<unsigned long long>(heap->unbacked), heap->empty_slots.size(), | 4873 | static_cast<unsigned long long>(heap->unbacked), heap->records.waiting_count(), |
| 4347 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::known)]), | 4874 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::known)]), |
| 4348 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::bound)]), | 4875 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::bound)]), |
| 4349 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::unknown)]), | 4876 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::unknown)]), |
| 4350 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::refused)]), | 4877 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::refused)]), |
| 4351 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::not_tsharp)])); | 4878 | static_cast<unsigned long long>(heap->images[unsigned(TitleImage::not_tsharp)])); |
| 4352 | if (heap->release_sweeps && filter_heap_releases()) | ||
| 4353 | std::fprintf(stderr, "[rt] CPU release filter: %llu sweeps, %llu live slots, %llu fixes, %llu rebases, %llu full fallbacks\n", | ||
| 4354 | (unsigned long long)heap->release_sweeps, (unsigned long long)heap->release_candidates, | ||
| 4355 | (unsigned long long)heap->release_fixes, (unsigned long long)heap->release_rebases, | ||
| 4356 | (unsigned long long)heap->release_full); | ||
| 4357 | heap->release_sweeps = heap->release_candidates = heap->release_fixes = heap->release_rebases = heap->release_full = 0; | ||
| 4358 | if (heap->resource_heap) { | 4879 | if (heap->resource_heap) { |
| 4359 | std::uint64_t paths[kVsharpPathCount]; | 4880 | std::uint64_t paths[kVsharpPathCount]; |
| 4360 | for (unsigned i = 0; i < kVsharpPathCount; ++i) | 4881 | for (unsigned i = 0; i < kVsharpPathCount; ++i) |
| 4361 | paths[i] = vsharp_paths[i].exchange(0, std::memory_order_relaxed); | 4882 | paths[i] = vsharp_paths[i].exchange(0, std::memory_order_relaxed); |
| 4362 | std::fprintf(stderr, | 4883 | std::fprintf(stderr, |
| 4363 | "[rt] d3d12: console descriptor heap 0x%llx changed slots per submission: %.1f zero, %.1f " | 4884 | "[rt] d3d12: console descriptor heap 0x%llx changed slots per submission: %.1f zero, %.1f " |
| 4364 | "V# pairs, %.1f T#s, %.1f other; V# halves %.1f, %.1f%% seen before; rescans %llu (%.1f " | 4885 | "V# pairs, %.1f T#s, %.1f other; V# halves %.1f, %.1f%% seen before; V# resolutions since " |
| 4365 | "V# slots and %.3f ms each); V# resolutions since the last line: alias %llu, alias " | 4886 | "the last line: alias %llu, alias refused %llu, arena %llu, geometry %llu, window %llu, " |
| 4366 | "refused %llu, arena %llu, geometry %llu, window %llu, none %llu\n", | 4887 | "none %llu\n", |
| 4367 | static_cast<unsigned long long>(heap->console_va), double(heap->changed[0]) / count, | 4888 | static_cast<unsigned long long>(heap->console_va), double(heap->changed[0]) / count, |
| 4368 | double(heap->changed[1]) / count, double(heap->changed[2]) / count, | 4889 | double(heap->changed[1]) / count, double(heap->changed[2]) / count, |
| 4369 | double(heap->changed[3]) / count, double(heap->vsharp_halves) / count, | 4890 | double(heap->changed[3]) / count, double(heap->vsharp_halves) / count, |
| 4370 | heap->vsharp_halves ? 100.0 * double(heap->vsharp_repeats) / double(heap->vsharp_halves) | 4891 | heap->vsharp_halves ? 100.0 * double(heap->vsharp_repeats) / double(heap->vsharp_halves) |
| 4371 | : 0.0, | 4892 | : 0.0, |
| 4372 | static_cast<unsigned long long>(heap->rescans), | ||
| 4373 | heap->rescans ? double(heap->rescanned) / double(heap->rescans) : 0.0, | ||
| 4374 | heap->rescans ? heap->rescan_ms / double(heap->rescans) : 0.0, | ||
| 4375 | static_cast<unsigned long long>(paths[0]), static_cast<unsigned long long>(paths[1]), | 4893 | static_cast<unsigned long long>(paths[0]), static_cast<unsigned long long>(paths[1]), |
| 4376 | static_cast<unsigned long long>(paths[2]), static_cast<unsigned long long>(paths[3]), | 4894 | static_cast<unsigned long long>(paths[2]), static_cast<unsigned long long>(paths[3]), |
| 4377 | static_cast<unsigned long long>(paths[4]), static_cast<unsigned long long>(paths[5])); | 4895 | static_cast<unsigned long long>(paths[4]), static_cast<unsigned long long>(paths[5])); |
| 4896 | // What releases, alias changes and additions cost: per submission, the changes taken, the record | ||
| 4897 | // entries looked at to find their slots, and the slots fixed again (apply_slot_changes). | ||
| 4898 | std::fprintf(stderr, | ||
| 4899 | "[rt] d3d12: console descriptor heap 0x%llx slot records per submission: %.1f changes, " | ||
| 4900 | "%.1f slots looked at, %.1f fixed again, %.3f ms; %zu V# halves recorded\n", | ||
| 4901 | static_cast<unsigned long long>(heap->console_va), double(heap->record_changes) / count, | ||
| 4902 | double(heap->record_looked) / count, double(heap->record_refixed) / count, | ||
| 4903 | heap->record_ms / count, heap->records.recorded()); | ||
| 4378 | for (auto& n : heap->changed) n = 0; | 4904 | for (auto& n : heap->changed) n = 0; |
| 4379 | heap->vsharp_halves = heap->vsharp_repeats = heap->rescans = heap->rescanned = 0; | 4905 | heap->vsharp_halves = heap->vsharp_repeats = 0; |
| 4380 | heap->rescan_ms = 0; | 4906 | heap->record_changes = heap->record_looked = heap->record_refixed = 0; |
| 4907 | heap->record_ms = 0; | ||
| 4381 | } | 4908 | } |
| 4382 | if (heap->gpu >= 0) log_console_heap_gpu(*heap, count); | 4909 | if (heap->gpu >= 0) log_console_heap_gpu(*heap, count); |
| 4383 | std::string refused_breakdown; | 4910 | std::string refused_breakdown; |
| @@ -4582,8 +5109,11 @@ struct DeviceState { | |||
| 4582 | heap->previous = heap->made.data(); | 5109 | heap->previous = heap->made.data(); |
| 4583 | } | 5110 | } |
| 4584 | heap->retry.assign(std::size_t(bytes / kDescriptorSize), 0); | 5111 | heap->retry.assign(std::size_t(bytes / kDescriptorSize), 0); |
| 4585 | heap->live_vsharps.reset(std::size_t(bytes / kDescriptorSize)); | 5112 | if (resource_heap) { |
| 4586 | heap->unmapped_tries.assign(std::size_t(bytes / kDescriptorSize), 0); | 5113 | heap->records.reset(std::size_t(bytes / kDescriptorSize)); |
| 5114 | // Changes are kept from now on, before the first refresh writes a record. | ||
| 5115 | slot_records_live.store(true, std::memory_order_release); | ||
| 5116 | } | ||
| 4587 | heap->pages = make_shadow_pages(reinterpret_cast<const std::uint8_t*>(static_cast<std::uintptr_t>(console_va)), | 5117 | heap->pages = make_shadow_pages(reinterpret_cast<const std::uint8_t*>(static_cast<std::uintptr_t>(console_va)), |
| 4588 | heap->input, std::size_t(bytes)); | 5118 | heap->input, std::size_t(bytes)); |
| 4589 | } | 5119 | } |
| @@ -4597,7 +5127,7 @@ struct DeviceState { | |||
| 4597 | { | 5127 | { |
| 4598 | std::lock_guard lock(console_heap_mutex); | 5128 | std::lock_guard lock(console_heap_mutex); |
| 4599 | if (heap->gpu >= 0) gpu_heaps[std::size_t(heap->gpu)] = heap.get(); | 5129 | if (heap->gpu >= 0) gpu_heaps[std::size_t(heap->gpu)] = heap.get(); |
| 4600 | if (!imported) refresh_console_heap(*heap); | 5130 | if (!imported) refresh_console_heap(*heap, nullptr); |
| 4601 | if (heap->copy) { | 5131 | if (heap->copy) { |
| 4602 | std::unique_lock ranges(console_copy_ranges_mutex); | 5132 | std::unique_lock ranges(console_copy_ranges_mutex); |
| 4603 | console_copy_ranges.emplace_back(heap->console_va, heap->bytes); | 5133 | console_copy_ranges.emplace_back(heap->console_va, heap->bytes); |
| @@ -4742,17 +5272,15 @@ struct DeviceState { | |||
| 4742 | std::vector<std::uint32_t> gpu_queue_scratch; | 5272 | std::vector<std::uint32_t> gpu_queue_scratch; |
| 4743 | bool gpu_rescan = false, gpu_rescan_after_resolve = false; | 5273 | bool gpu_rescan = false, gpu_rescan_after_resolve = false; |
| 4744 | std::chrono::steady_clock::time_point gpu_rescan_asked{}; | 5274 | std::chrono::steady_clock::time_point gpu_rescan_asked{}; |
| 4745 | // LEONIDA_CONSOLE_GPU_FILTER=1 (default: LEONIDA_CONSOLE_RELEASE_FILTER's value): a release, an alias range that | 5275 | // LEONIDA_CONSOLE_GPU_FILTER=1 (default off): a release, an alias range that went or a word answered since asks |
| 4746 | // went or a word answered since asks for a rescan of the slots it touches (the release filter's interval rule, | 5276 | // for a rescan of the slots it touches (an interval rule, 8a22e92c8) instead of every V# slot: the GPU passes over |
| 4747 | // 8a22e92c8) instead of every V# slot: the GPU passes over the rest on its device-local metadata. | 5277 | // the rest on its device-local metadata. |
| 4748 | // gpu_filter_shader: shader-VA spans (released backings, alias copies that went); gpu_filter_title: title VAs | 5278 | // gpu_filter_shader: shader-VA spans (released backings, alias copies that went); gpu_filter_title: title VAs |
| 4749 | // (words backed since). Overflows and key resets still rescan everything. | 5279 | // (words backed since). Overflows and key resets still rescan everything. |
| 4750 | static bool gpu_filter_enabled() { | 5280 | static bool gpu_filter_enabled() { |
| 4751 | static const bool on = [] { | 5281 | static const bool on = [] { |
| 4752 | char text[8] = {}; | 5282 | char text[8] = {}; |
| 4753 | if (GetEnvironmentVariableA("LEONIDA_CONSOLE_GPU_FILTER", text, sizeof(text)) && text[0]) | 5283 | return GetEnvironmentVariableA("LEONIDA_CONSOLE_GPU_FILTER", text, sizeof(text)) && text[0] == '1'; |
| 4754 | return text[0] == '1'; | ||
| 4755 | return GetEnvironmentVariableA("LEONIDA_CONSOLE_RELEASE_FILTER", text, sizeof(text)) && text[0] == '1'; | ||
| 4756 | }(); | 5284 | }(); |
| 4757 | return on; | 5285 | return on; |
| 4758 | } | 5286 | } |
| @@ -5426,6 +5954,148 @@ struct DeviceState { | |||
| 5426 | gpu_counts.backed_ms += std::chrono::duration<double, std::milli>(std::chrono::steady_clock::now() - start).count(); | 5954 | gpu_counts.backed_ms += std::chrono::duration<double, std::milli>(std::chrono::steady_clock::now() - start).count(); |
| 5427 | } | 5955 | } |
| 5428 | 5956 | ||
| 5957 | // LEONIDA_ADDRESS_GUARD=1 (docs/d3d12_vulkan.md, "Address guard"): the page table the guarded shaders read, a | ||
| 5958 | // host-visible buffer of its own whose address minus heap_base is in the guard header at arena offset | ||
| 5959 | // kGuardHeader. Built from the same backings as the console heap pass's backed table (gpu_backings, the | ||
| 5960 | // geometry copies' blocks and the separate window buffers), but whole and at once: a backing made since the last | ||
| 5961 | // submission must not read 0. | ||
| 5962 | struct AddressGuard { | ||
| 5963 | VkBuffer buffer = VK_NULL_HANDLE; | ||
| 5964 | VkDeviceMemory memory = VK_NULL_HANDLE; | ||
| 5965 | std::uint32_t* words = nullptr; | ||
| 5966 | std::unique_ptr<leonida::address_guard::AddressGuardTable> table; | ||
| 5967 | std::uint64_t generation = ~0ull, blocks = ~0ull, heaps = ~0ull; // heaps: the console heaps' ranges, hashed | ||
| 5968 | std::uint32_t refused_logged = 0, overflow_logged = 0; | ||
| 5969 | std::uint64_t updates = 0, words_written = 0; | ||
| 5970 | std::chrono::steady_clock::time_point logged{}; | ||
| 5971 | std::mutex mutex; | ||
| 5972 | } guard; | ||
| 5973 | |||
| 5974 | // Make the page table and write the header (called once the arena is mapped). False leaves the guard off: the | ||
| 5975 | // header keeps no magic, so guarded shaders check nothing. | ||
| 5976 | bool create_address_guard() { | ||
| 5977 | namespace ag = leonida::address_guard; | ||
| 5978 | if (!context || !arena.mapped || arena.size < ag::kGuardEnd) return false; | ||
| 5979 | auto& vk = context->vk; | ||
| 5980 | guard.table = std::make_unique<ag::AddressGuardTable>(); | ||
| 5981 | VkBufferCreateInfo create{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; | ||
| 5982 | create.size = guard.table->bytes(); | ||
| 5983 | create.usage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT; | ||
| 5984 | create.sharingMode = VK_SHARING_MODE_EXCLUSIVE; | ||
| 5985 | if (vk.vkCreateBuffer(info.device, &create, nullptr, &guard.buffer) != VK_SUCCESS) { | ||
| 5986 | guard.buffer = VK_NULL_HANDLE; | ||
| 5987 | return false; | ||
| 5988 | } | ||
| 5989 | VkMemoryRequirements requirements{}; | ||
| 5990 | vk.vkGetBufferMemoryRequirements(info.device, guard.buffer, &requirements); | ||
| 5991 | guard.memory = allocate(requirements, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, | ||
| 5992 | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, nullptr, true); | ||
| 5993 | void* mapped = nullptr; | ||
| 5994 | if (!guard.memory || vk.vkBindBufferMemory(info.device, guard.buffer, guard.memory, 0) != VK_SUCCESS || | ||
| 5995 | vk.vkMapMemory(info.device, guard.memory, 0, VK_WHOLE_SIZE, 0, &mapped) != VK_SUCCESS) { | ||
| 5996 | destroy_address_guard(); | ||
| 5997 | return false; | ||
| 5998 | } | ||
| 5999 | guard.words = static_cast<std::uint32_t*>(mapped); | ||
| 6000 | std::memcpy(guard.words, guard.table->words().data(), guard.table->bytes()); | ||
| 6001 | VkBufferDeviceAddressInfo address{VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO}; | ||
| 6002 | address.buffer = guard.buffer; | ||
| 6003 | const VkDeviceAddress table = vk.vkGetBufferDeviceAddress(info.device, &address); | ||
| 6004 | auto* header = reinterpret_cast<ag::AddressGuardHeader*>(arena.mapped + ag::kGuardHeader); | ||
| 6005 | std::memset(arena.mapped + ag::kGuardHeader, 0, std::size_t(ag::kGuardEnd - ag::kGuardHeader)); | ||
| 6006 | header->limit = arena.size; | ||
| 6007 | header->table = table - arena.address; | ||
| 6008 | std::atomic_thread_fence(std::memory_order_release); | ||
| 6009 | header->magic = ag::magic(); // last: a shader that sees it sees the rest | ||
| 6010 | std::fprintf(stderr, "[rt] d3d12: address guard on (LEONIDA_ADDRESS_GUARD): %llu KiB page table, header at " | ||
| 6011 | "heap_base + 0x%llx; shaders translated with --address-guard read 0 from memory nothing " | ||
| 6012 | "backs and drop their stores there\n", | ||
| 6013 | static_cast<unsigned long long>(guard.table->bytes() >> 10), | ||
| 6014 | static_cast<unsigned long long>(ag::kGuardHeader)); | ||
| 6015 | return true; | ||
| 6016 | } | ||
| 6017 | void destroy_address_guard() { | ||
| 6018 | if (!context) return; | ||
| 6019 | auto& vk = context->vk; | ||
| 6020 | if (guard.buffer) vk.vkDestroyBuffer(info.device, guard.buffer, nullptr); | ||
| 6021 | if (guard.memory) vk.vkFreeMemory(info.device, guard.memory, nullptr); | ||
| 6022 | guard.buffer = VK_NULL_HANDLE; | ||
| 6023 | guard.memory = VK_NULL_HANDLE; | ||
| 6024 | guard.words = nullptr; | ||
| 6025 | } | ||
| 6026 | |||
| 6027 | // Before each submission: the page table says exactly what is backed now, and refusals since the last line are | ||
| 6028 | // logged (at most once a second). Rebuilt only when a backing came or went; only changed words are written. | ||
| 6029 | void update_address_guard() { | ||
| 6030 | namespace ag = leonida::address_guard; | ||
| 6031 | if (!guard.words) return; | ||
| 6032 | // A console descriptor heap whose GPU copy lies outside the arena (an import of the title's pages, which | ||
| 6033 | // shaders read at shader_va = its device address minus heap_base) is read through heap_base + VA like a | ||
| 6034 | // buffer, but no gpu_backing names it: its bytes and the null guard after them are entered here. Without | ||
| 6035 | // this the guard refused every descriptor-table load from such a heap (run 28: a 38 MB imported heap at | ||
| 6036 | // shader VA 0x87e00000, past a 2 GiB arena). Collected before guard.mutex, in console_heap_mutex's order. | ||
| 6037 | std::vector<std::pair<std::uint64_t, std::uint64_t>> heap_spans; | ||
| 6038 | std::uint64_t heap_signature = 0xcbf29ce484222325ull; | ||
| 6039 | { | ||
| 6040 | std::lock_guard heaps(console_heap_mutex); | ||
| 6041 | for (const auto& h : console_heaps) { | ||
| 6042 | if (!h || !h->bytes) continue; | ||
| 6043 | const std::uint64_t begin = h->shader_va, end = h->shader_va + h->bytes + h->guard; | ||
| 6044 | heap_signature = (heap_signature ^ begin) * 0x100000001b3ull; | ||
| 6045 | heap_signature = (heap_signature ^ end) * 0x100000001b3ull; | ||
| 6046 | if (!(begin < arena.size && end <= arena.size)) heap_spans.emplace_back(begin, end); | ||
| 6047 | } | ||
| 6048 | } | ||
| 6049 | std::lock_guard lock(guard.mutex); | ||
| 6050 | const std::uint64_t generation = backing_generation.load(std::memory_order_relaxed); | ||
| 6051 | const std::uint64_t blocks = geometry.pool().layout_generation() + external_windows.layout_generation(); | ||
| 6052 | if (generation != guard.generation || blocks != guard.blocks || heap_signature != guard.heaps) { | ||
| 6053 | guard.generation = generation; | ||
| 6054 | guard.blocks = blocks; | ||
| 6055 | guard.heaps = heap_signature; | ||
| 6056 | std::vector<std::pair<std::uint64_t, std::uint64_t>> spans = heap_spans; | ||
| 6057 | { | ||
| 6058 | std::lock_guard backing_lock(backing_mutex); | ||
| 6059 | gpu_backings.for_each([&](std::uint64_t va, std::uint64_t bytes) { | ||
| 6060 | const std::uint64_t offset = va - arena.address; | ||
| 6061 | // The arena's own ranges pass on the limit compare; only what lies outside needs pages. | ||
| 6062 | if (bytes && !(offset < arena.size && bytes <= arena.size - offset)) | ||
| 6063 | spans.emplace_back(offset, offset + bytes); | ||
| 6064 | }); | ||
| 6065 | } | ||
| 6066 | const auto block = [&](VkDeviceAddress address, VkDeviceSize bytes) { | ||
| 6067 | const std::uint64_t offset = address - arena.address; | ||
| 6068 | if (address && bytes) spans.emplace_back(offset, offset + bytes); | ||
| 6069 | }; | ||
| 6070 | geometry.pool().for_each_block(block); | ||
| 6071 | external_windows.for_each_block(block); | ||
| 6072 | guard.words_written += guard.table->assign(spans, [&](std::size_t i, std::uint32_t v) { | ||
| 6073 | std::atomic_ref(guard.words[i]).store(v, std::memory_order_relaxed); | ||
| 6074 | }); | ||
| 6075 | ++guard.updates; | ||
| 6076 | if (guard.table->overflowed() != guard.overflow_logged) { | ||
| 6077 | guard.overflow_logged = guard.table->overflowed(); | ||
| 6078 | std::fprintf(stderr, "[rt] d3d12: address guard: %u 4 GiB chunk(s) of backings past the page table's " | ||
| 6079 | "%u blocks are not checked\n", | ||
| 6080 | guard.overflow_logged, guard.table->blocks_used()); | ||
| 6081 | } | ||
| 6082 | } | ||
| 6083 | auto* header = reinterpret_cast<ag::AddressGuardHeader*>(arena.mapped + ag::kGuardHeader); | ||
| 6084 | const std::uint32_t refused = std::atomic_ref(header->refused).load(std::memory_order_relaxed); | ||
| 6085 | const auto now = std::chrono::steady_clock::now(); | ||
| 6086 | if (refused != guard.refused_logged && now - guard.logged >= std::chrono::seconds(1)) { | ||
| 6087 | guard.logged = now; | ||
| 6088 | std::fprintf(stderr, "[rt] d3d12: address guard: %u access(es) refused so far (+%u), the last at heap " | ||
| 6089 | "offset 0x%llx by module 0x%08x; %llu table update(s), %llu word(s) written\n", | ||
| 6090 | refused, refused - guard.refused_logged, | ||
| 6091 | static_cast<unsigned long long>(header->last_refused), | ||
| 6092 | std::atomic_ref(header->last_module).load(std::memory_order_relaxed), | ||
| 6093 | static_cast<unsigned long long>(guard.updates), | ||
| 6094 | static_cast<unsigned long long>(guard.words_written)); | ||
| 6095 | guard.refused_logged = refused; | ||
| 6096 | } | ||
| 6097 | } | ||
| 6098 | |||
| 5429 | // The ask table: the title's memory and both addresses of its GPU-window pairs. A V# base outside them that the | 6099 | // The ask table: the title's memory and both addresses of its GPU-window pairs. A V# base outside them that the |
| 5430 | // other tables do not answer is one vsharp_address could only answer 0 for. | 6100 | // other tables do not answer is one vsharp_address could only answer 0 for. |
| 5431 | void update_gpu_ask() { | 6101 | void update_gpu_ask() { |
| @@ -6572,7 +7242,9 @@ struct DeviceState { | |||
| 6572 | 7242 | ||
| 6573 | // Gives the T# `words` a view in set 0 and an entry in the hash table, unless it has them. `storage`: shaders | 7243 | // Gives the T# `words` a view in set 0 and an entry in the hash table, unless it has them. `storage`: shaders |
| 6574 | // write through it too (an unordered-access view), so it also goes into the storage arrays, which are | 7244 | // write through it too (an unordered-access view), so it also goes into the storage arrays, which are |
| 6575 | // shorter. False when set 0 cannot show the image; the descriptor then finds the fallback at index 0. | 7245 | // shorter. False when set 0 cannot show the image; the descriptor then finds the fallback at index 0. `why`, when |
| 7246 | // given, is set to the reason when it is that set 0 has no room (or no array) for the image's dimension, and left | ||
| 7247 | // alone otherwise (no view could be made for the T#). | ||
| 6576 | bool bind_image(const leonida::gfx10::ImageWords& words, const leonida::gfx10::Image& image, VkImage vk_image, | 7248 | bool bind_image(const leonida::gfx10::ImageWords& words, const leonida::gfx10::Image& image, VkImage vk_image, |
| 6577 | VkFormat image_format, VkImageAspectFlags aspects, bool storage, | 7249 | VkFormat image_format, VkImageAspectFlags aspects, bool storage, |
| 6578 | bool allow_channel_cast = false, VkFormat uint_backed = VK_FORMAT_UNDEFINED) { | 7250 | bool allow_channel_cast = false, VkFormat uint_backed = VK_FORMAT_UNDEFINED) { |
| @@ -6582,7 +7254,8 @@ struct DeviceState { | |||
| 6582 | } | 7254 | } |
| 6583 | bool bind_image_locked(const leonida::gfx10::ImageWords& words, const leonida::gfx10::Image& image, | 7255 | bool bind_image_locked(const leonida::gfx10::ImageWords& words, const leonida::gfx10::Image& image, |
| 6584 | VkImage vk_image, VkFormat image_format, VkImageAspectFlags aspects, bool storage, | 7256 | VkImage vk_image, VkFormat image_format, VkImageAspectFlags aspects, bool storage, |
| 6585 | bool allow_channel_cast = false, VkFormat uint_backed = VK_FORMAT_UNDEFINED) { | 7257 | bool allow_channel_cast = false, VkFormat uint_backed = VK_FORMAT_UNDEFINED, |
| 7258 | const char** why = nullptr) { | ||
| 6586 | namespace g = leonida::gfx10; | 7259 | namespace g = leonida::gfx10; |
| 6587 | if (!bindless) return false; | 7260 | if (!bindless) return false; |
| 6588 | auto pending = pending_image_keys.find(vk_image); | 7261 | auto pending = pending_image_keys.find(vk_image); |
| @@ -6627,7 +7300,7 @@ struct DeviceState { | |||
| 6627 | const bool sampled_only = uint_backed || (view_format != image_format && view_format != VK_FORMAT_UNDEFINED); | 7300 | const bool sampled_only = uint_backed || (view_format != image_format && view_format != VK_FORMAT_UNDEFINED); |
| 6628 | return bind_image_views_locked(words, image, vk_image, view_format, channels_format, | 7301 | return bind_image_views_locked(words, image, vk_image, view_format, channels_format, |
| 6629 | uint_backed ? image_format : view_format, aspects, true, storage, {}, | 7302 | uint_backed ? image_format : view_format, aspects, true, storage, {}, |
| 6630 | sampled_only); | 7303 | sampled_only, why); |
| 6631 | } | 7304 | } |
| 6632 | // The same for a view whose formats the caller has worked out: `view_format` of the sampled view (made when | 7305 | // The same for a view whose formats the caller has worked out: `view_format` of the sampled view (made when |
| 6633 | // `sampled`), `channels_format` whose channels the T#'s swizzle selects from, `storage_format` of the storage view. | 7306 | // `sampled`), `channels_format` whose channels the T#'s swizzle selects from, `storage_format` of the storage view. |
| @@ -6641,7 +7314,7 @@ struct DeviceState { | |||
| 6641 | bool bind_image_views_locked(const leonida::gfx10::ImageWords& words, const leonida::gfx10::Image& image, | 7314 | bool bind_image_views_locked(const leonida::gfx10::ImageWords& words, const leonida::gfx10::Image& image, |
| 6642 | VkImage vk_image, VkFormat view_format, VkFormat channels_format, | 7315 | VkImage vk_image, VkFormat view_format, VkFormat channels_format, |
| 6643 | VkFormat storage_format, VkImageAspectFlags aspects, bool sampled, bool storage, | 7316 | VkFormat storage_format, VkImageAspectFlags aspects, bool sampled, bool storage, |
| 6644 | VolumeSlices slices, bool sampled_only) { | 7317 | VolumeSlices slices, bool sampled_only, const char** why = nullptr) { |
| 6645 | namespace g = leonida::gfx10; | 7318 | namespace g = leonida::gfx10; |
| 6646 | if (!bindless) { | 7319 | if (!bindless) { |
| 6647 | if (storage) log_once("unordered-access view needs the Vulkan bindless set; type", int(image.type)); | 7320 | if (storage) log_once("unordered-access view needs the Vulkan bindless set; type", int(image.type)); |
| @@ -6796,24 +7469,37 @@ struct DeviceState { | |||
| 6796 | vk.vkDestroyImageView(info.device, entry.mirror_storage, nullptr); | 7469 | vk.vkDestroyImageView(info.device, entry.mirror_storage, nullptr); |
| 6797 | entry.mirror_storage = VK_NULL_HANDLE; | 7470 | entry.mirror_storage = VK_NULL_HANDLE; |
| 6798 | } | 7471 | } |
| 6799 | if (first_diagnostic("a bindless image array is full; dimension", int(dimension))) { | 7472 | using Refusal = leonida::BindlessSet::ImageRefusal; |
| 7473 | const Refusal refusal = bindless->image_refusal(dimension, entry.storage != VK_NULL_HANDLE, sampled_class); | ||
| 7474 | if (why) | ||
| 7475 | *why = refusal == Refusal::no_array ? "set 0 has no array for the T#'s dimension" | ||
| 7476 | : refusal == Refusal::storage_full ? "the bindless storage arrays of the T#'s dimension are full" | ||
| 7477 | : "the bindless array of the T#'s dimension is full"; | ||
| 7478 | if (refusal != Refusal::no_array && | ||
| 7479 | first_diagnostic("a bindless image array is full; dimension", int(dimension))) { | ||
| 6800 | // Whether the array holds live textures or stale views: the T#s it holds, the textures they name, | 7480 | // Whether the array holds live textures or stale views: the T#s it holds, the textures they name, |
| 6801 | // and the most T#s of one texture (a texture whose T#s keep changing, a streamed mip clamp say, | 7481 | // the most T#s of one texture (a texture whose T#s keep changing, a streamed mip clamp say, keeps an |
| 6802 | // keeps an index for each until it goes). | 7482 | // index for each until it goes), and how many of those textures are still the one registered at |
| 6803 | std::size_t entries = 0, replaced = 0, most = 0; | 7483 | // their address (a texture leaves the set when the one registered there goes: forget_image). |
| 7484 | std::size_t entries = 0, replaced = 0, most = 0, registered = 0; | ||
| 6804 | std::map<std::uint64_t, std::size_t> per_texture; | 7485 | std::map<std::uint64_t, std::size_t> per_texture; |
| 6805 | for (const auto& [key, held] : image_entries) | 7486 | for (const auto& [key, held] : image_entries) |
| 6806 | if (held.dimension == dimension) { | 7487 | if (held.dimension == dimension) { |
| 6807 | ++entries; | 7488 | ++entries; |
| 6808 | most = std::max(most, ++per_texture[held.address]); | 7489 | most = std::max(most, ++per_texture[held.address]); |
| 6809 | } | 7490 | } |
| 7491 | for (const auto& texture : per_texture) registered += images_by_address.count(texture.first); | ||
| 6810 | for (const auto& held : replaced_images) replaced += held.dimension == dimension; | 7492 | for (const auto& held : replaced_images) replaced += held.dimension == dimension; |
| 7493 | constexpr const char* names[] = {"2D", "2D array", "3D", "1D", "1D array", "2D MS", "2D MS array"}; | ||
| 6811 | std::fprintf(stderr, | 7494 | std::fprintf(stderr, |
| 6812 | "[rt] d3d12: a bindless image array is full; dimension %d: %u indices, %zu T#s of %zu " | 7495 | "[rt] d3d12: a bindless image array is full; dimension %d (%s)%s: %u indices, %u in the " |
| 6813 | "textures (at most %zu T#s of one), %zu replaced views kept; further T#s of this " | 7496 | "storage arrays, %zu T#s of %zu textures (%zu registered at their address, at most %zu " |
| 6814 | "dimension read the fallback\n", | 7497 | "T#s of one), %zu replaced views kept; further T#s of this dimension read the " |
| 6815 | int(dimension), bindless->image_capacity(dimension), entries, per_texture.size(), most, | 7498 | "fallback\n", |
| 6816 | replaced); | 7499 | int(dimension), names[int(dimension)], |
| 7500 | refusal == Refusal::storage_full ? ", its storage range" : "", | ||
| 7501 | bindless->image_capacity(dimension), bindless->storage_capacity(dimension), entries, | ||
| 7502 | per_texture.size(), registered, most, replaced); | ||
| 6817 | } | 7503 | } |
| 6818 | if (entry.sampled) vk.vkDestroyImageView(info.device, entry.sampled, nullptr); | 7504 | if (entry.sampled) vk.vkDestroyImageView(info.device, entry.sampled, nullptr); |
| 6819 | if (entry.storage) vk.vkDestroyImageView(info.device, entry.storage, nullptr); | 7505 | if (entry.storage) vk.vkDestroyImageView(info.device, entry.storage, nullptr); |
| @@ -7079,6 +7765,12 @@ struct DeviceState { | |||
| 7079 | return nullptr; | 7765 | return nullptr; |
| 7080 | } | 7766 | } |
| 7081 | }; | 7767 | }; |
| 7768 | // TitleBufferWindows::system_memory_types reads the memory types through these (LEONIDA_GEOMETRY_HOST): without them | ||
| 7769 | // it would leave every type allowed, the BAR included. | ||
| 7770 | static_assert(requires(const DeviceState& d) { | ||
| 7771 | d.memory.memoryTypes[0].propertyFlags; | ||
| 7772 | d.memory.memoryTypeCount; | ||
| 7773 | }); | ||
| 7082 | 7774 | ||
| 7083 | // The Vulkan format for a texture this layer can create, with the D24 fallback; VK_FORMAT_UNDEFINED, after a log | 7775 | // The Vulkan format for a texture this layer can create, with the D24 fallback; VK_FORMAT_UNDEFINED, after a log |
| 7084 | // line, when it cannot. Committed and placed textures share it so both refuse the same formats for the same reason. | 7776 | // line, when it cannot. Committed and placed textures share it so both refuse the same formats for the same reason. |
| @@ -7848,6 +8540,8 @@ public: | |||
| 7848 | if (heap_.Type == D3D12_HEAP_TYPE_READBACK) host_preferred = VK_MEMORY_PROPERTY_HOST_CACHED_BIT; | 8540 | if (heap_.Type == D3D12_HEAP_TYPE_READBACK) host_preferred = VK_MEMORY_PROPERTY_HOST_CACHED_BIT; |
| 7849 | if (heap_.Type == D3D12_HEAP_TYPE_UPLOAD && device_.upload_in_vram) | 8541 | if (heap_.Type == D3D12_HEAP_TYPE_UPLOAD && device_.upload_in_vram) |
| 7850 | host_preferred = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; | 8542 | host_preferred = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; |
| 8543 | leonida::memory_breakdown::Owner owner(host ? leonida::memory_breakdown::Consumer::upload | ||
| 8544 | : leonida::memory_breakdown::current_owner()); | ||
| 7851 | memory_ = host ? device_.allocate(requirements, | 8545 | memory_ = host ? device_.allocate(requirements, |
| 7852 | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, | 8546 | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, |
| 7853 | host_preferred, &memory_flags_, addressable || need_bda) | 8547 | host_preferred, &memory_flags_, addressable || need_bda) |
| @@ -8166,6 +8860,7 @@ public: | |||
| 8166 | vk.vkGetBufferMemoryRequirements(device_.info.device, buffer_, &requirements); | 8860 | vk.vkGetBufferMemoryRequirements(device_.info.device, buffer_, &requirements); |
| 8167 | // As an upload buffer (D3D-96): the CPU writes it at every submission and the GPU reads it, so VRAM through | 8861 | // As an upload buffer (D3D-96): the CPU writes it at every submission and the GPU reads it, so VRAM through |
| 8168 | // Resizable BAR where there is one, system memory otherwise. | 8862 | // Resizable BAR where there is one, system memory otherwise. |
| 8863 | leonida::memory_breakdown::Owner owner(leonida::memory_breakdown::Consumer::windows); | ||
| 8169 | memory_ = device_.allocate(requirements, | 8864 | memory_ = device_.allocate(requirements, |
| 8170 | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, | 8865 | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, |
| 8171 | device_.upload_in_vram ? VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT : 0, &memory_flags_, | 8866 | device_.upload_in_vram ? VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT : 0, &memory_flags_, |
| @@ -8701,6 +9396,7 @@ private: | |||
| 8701 | vk.vkBindImageMemory, vk.vkDestroyImage, vk.vkFreeMemory, [&](VkDeviceSize size, std::uint32_t& type) { | 9396 | vk.vkBindImageMemory, vk.vkDestroyImage, vk.vkFreeMemory, [&](VkDeviceSize size, std::uint32_t& type) { |
| 8702 | auto page = pool_requirements; | 9397 | auto page = pool_requirements; |
| 8703 | page.size = size; | 9398 | page.size = size; |
| 9399 | leonida::memory_breakdown::Owner owner(leonida::memory_breakdown::Consumer::image_blocks); | ||
| 8704 | return device_.allocate(page, 0, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, nullptr, false, &type); | 9400 | return device_.allocate(page, 0, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, nullptr, false, &type); |
| 8705 | }); | 9401 | }); |
| 8706 | if (pooled_image_) memory_flags_ = device_.memory.memoryTypes[pooled_image_->page->type].propertyFlags; | 9402 | if (pooled_image_) memory_flags_ = device_.memory.memoryTypes[pooled_image_->page->type].propertyFlags; |
| @@ -9303,8 +9999,12 @@ private: | |||
| 9303 | }; | 9999 | }; |
| 9304 | VkMemoryRequirements requirements{}; | 10000 | VkMemoryRequirements requirements{}; |
| 9305 | vk.vkGetBufferMemoryRequirements(dev, staging.buffer, &requirements); | 10001 | vk.vkGetBufferMemoryRequirements(dev, staging.buffer, &requirements); |
| 9306 | memory = device_.allocate(requirements, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, | 10002 | { |
| 9307 | write ? 0 : VK_MEMORY_PROPERTY_HOST_CACHED_BIT); | 10003 | leonida::memory_breakdown::Owner owner(leonida::memory_breakdown::Consumer::staging); |
| 10004 | memory = device_.allocate(requirements, | ||
| 10005 | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, | ||
| 10006 | write ? 0 : VK_MEMORY_PROPERTY_HOST_CACHED_BIT); | ||
| 10007 | } | ||
| 9308 | if (!memory || vk.vkBindBufferMemory(dev, staging.buffer, memory, 0) != VK_SUCCESS || | 10008 | if (!memory || vk.vkBindBufferMemory(dev, staging.buffer, memory, 0) != VK_SUCCESS || |
| 9309 | vk.vkMapMemory(dev, memory, 0, VK_WHOLE_SIZE, 0, &mapped) != VK_SUCCESS) | 10009 | vk.vkMapMemory(dev, memory, 0, VK_WHOLE_SIZE, 0, &mapped) != VK_SUCCESS) |
| 9310 | return release(E_OUTOFMEMORY); | 10010 | return release(E_OUTOFMEMORY); |
| @@ -10978,10 +11678,13 @@ public: | |||
| 10978 | // D24_UNORM_S8_UINT stored as D32_SFLOAT_S8_UINT (no D24 on the GPU): the pixel stage writes the depth D24 | 11678 | // D24_UNORM_S8_UINT stored as D32_SFLOAT_S8_UINT (no D24 on the GPU): the pixel stage writes the depth D24 |
| 10979 | // would hold, biased in D24 units and quantised (src/depth24_fragment.h, D3D-309), and the rasterizer's own | 11679 | // would hold, biased in D24 units and quantised (src/depth24_fragment.h, D3D-309), and the rasterizer's own |
| 10980 | // bias is turned off. Multisampled targets keep the old path: a FragDepth write is per pixel. | 11680 | // bias is turned off. Multisampled targets keep the old path: a FragDepth write is per pixel. |
| 10981 | const bool d24_as_float = desc.DSVFormat != DXGI_FORMAT_UNKNOWN && | 11681 | const VkFormat dsv_vk = desc.DSVFormat != DXGI_FORMAT_UNKNOWN |
| 10982 | vulkan_format(desc.DSVFormat, true).format == VK_FORMAT_D24_UNORM_S8_UINT && | 11682 | ? vulkan_format(desc.DSVFormat, true).format |
| 11683 | : VK_FORMAT_UNDEFINED; | ||
| 11684 | const bool d24_as_float = dsv_vk == VK_FORMAT_D24_UNORM_S8_UINT && | ||
| 10983 | !device_.depth_usable(VK_FORMAT_D24_UNORM_S8_UINT); | 11685 | !device_.depth_usable(VK_FORMAT_D24_UNORM_S8_UINT); |
| 10984 | const bool packed16_fallback=desc.DSVFormat==xbox_d16s8 && device_.depth_backing(VK_FORMAT_D16_UNORM_S8_UINT)!=VK_FORMAT_D16_UNORM_S8_UINT; | 11686 | const bool packed16_fallback = dsv_vk == VK_FORMAT_D16_UNORM_S8_UINT && |
| 11687 | device_.depth_backing(VK_FORMAT_D16_UNORM_S8_UINT) != VK_FORMAT_D16_UNORM_S8_UINT; | ||
| 10985 | if(packed16_fallback && samples>1 && desc.DepthStencilState.DepthEnable) return E_NOTIMPL; | 11688 | if(packed16_fallback && samples>1 && desc.DepthStencilState.DepthEnable) return E_NOTIMPL; |
| 10986 | bool depth24_fragment = (d24_as_float || packed16_fallback) && desc.DepthStencilState.DepthEnable; | 11689 | bool depth24_fragment = (d24_as_float || packed16_fallback) && desc.DepthStencilState.DepthEnable; |
| 10987 | if (depth24_fragment && samples > 1) { | 11690 | if (depth24_fragment && samples > 1) { |
| @@ -11298,8 +12001,11 @@ public: | |||
| 11298 | log_once("conservative rasterization needs enabled VK_EXT_conservative_rasterization and Tier 1 precision", 1); | 12001 | log_once("conservative rasterization needs enabled VK_EXT_conservative_rasterization and Tier 1 precision", 1); |
| 11299 | return E_INVALIDARG; | 12002 | return E_INVALIDARG; |
| 11300 | } | 12003 | } |
| 11301 | if (r.FillMode != D3D12_FILL_MODE_SOLID || | 12004 | // A mesh pipeline has no input assembler, so its stream need not set the topology type: what is rasterized |
| 11302 | topology_type != D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE) return E_INVALIDARG; | 12005 | // is the module's output, and it has to be triangles as well. |
| 12006 | if (r.FillMode != D3D12_FILL_MODE_SOLID) return E_INVALIDARG; | ||
| 12007 | if (mesh ? !leonida::conservative_raster::mesh_outputs_triangles(stages[0].words) | ||
| 12008 | : topology_type != D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE) return E_INVALIDARG; | ||
| 11303 | // Target-independent rasterization is a separate pipeline path; do not silently ignore its count. | 12009 | // Target-independent rasterization is a separate pipeline path; do not silently ignore its count. |
| 11304 | if (r.ForcedSampleCount) | 12010 | if (r.ForcedSampleCount) |
| 11305 | return stream_unsupported("target-independent rasterization; forced sample count", int(r.ForcedSampleCount)); | 12011 | return stream_unsupported("target-independent rasterization; forced sample count", int(r.ForcedSampleCount)); |
| @@ -12181,7 +12887,11 @@ private: | |||
| 12181 | const leonida::dev_status::Build dev_build(r.mesh ? "mesh pipeline" : "graphics pipeline"); | 12887 | const leonida::dev_status::Build dev_build(r.mesh ? "mesh pipeline" : "graphics pipeline"); |
| 12182 | const leonida::pipeline_profile::DriverCall profile(r.mesh ? "ms" : "vs", lazy_ ? "lazy" : "eager", | 12888 | const leonida::pipeline_profile::DriverCall profile(r.mesh ? "ms" : "vs", lazy_ ? "lazy" : "eager", |
| 12183 | program, fragment, unbound); | 12889 | program, fragment, unbound); |
| 12184 | const auto result = device_.context->vk.vkCreateGraphicsPipelines(device_.info.device, cache, 1, &info, nullptr, &pipeline); | 12890 | const auto result = device_.create_pipeline(flags, [&](VkPipelineCache with, VkPipelineCreateFlags f) { |
| 12891 | info.flags = f; | ||
| 12892 | pipeline = VK_NULL_HANDLE; | ||
| 12893 | return device_.context->vk.vkCreateGraphicsPipelines(device_.info.device, with, 1, &info, nullptr, &pipeline); | ||
| 12894 | }); | ||
| 12185 | if (status) *status = result; | 12895 | if (status) *status = result; |
| 12186 | profile.finish(int(result)); | 12896 | profile.finish(int(result)); |
| 12187 | trace.end(trigger, profile_shaders_.c_str(), unbound, bytes, result); | 12897 | trace.end(trigger, profile_shaders_.c_str(), unbound, bytes, result); |
| @@ -12997,6 +13707,57 @@ void DeviceState::drain_titles_gone() { | |||
| 12997 | // these words, as write_image_descriptor does. Every field the layer does not encode (tiling, compression, | 13707 | // these words, as write_image_descriptor does. Every field the layer does not encode (tiling, compression, |
| 12998 | // performance hints) only makes the key differ, so a title-built T# still finds its texture. Checked against the | 13708 | // performance hints) only makes the key differ, so a title-built T# still finds its texture. Checked against the |
| 12999 | // texture first: a view of mips, layers or a dimension it lacks would be an invalid Vulkan view. | 13709 | // texture first: a view of mips, layers or a dimension it lacks would be an invalid Vulkan view. |
| 13710 | // LEONIDA_UNKNOWN_TSHARP=1 (diagnostic): one line for each distinct base address a title-written T# names with no | ||
| 13711 | // texture there (its shape, the tiling bits SW_MODE = dword 3 bits 20..24 by the GFX10 layout, unverified, and whether | ||
| 13712 | // the address is title memory), up to 300 addresses, and every 8192 such lookups a summary by format, type and tiling. | ||
| 13713 | // What a texture made from the T# on its first read would have to create. | ||
| 13714 | void note_unknown_tsharp(const leonida::gfx10::ImageWords& words, const leonida::gfx10::Image& image) { | ||
| 13715 | static const bool on = [] { | ||
| 13716 | const char* v = std::getenv("LEONIDA_UNKNOWN_TSHARP"); | ||
| 13717 | return v && *v == '1'; | ||
| 13718 | }(); | ||
| 13719 | if (!on) return; | ||
| 13720 | struct Shape { | ||
| 13721 | std::uint32_t format, type, sw, width, height, depth, mips, layers; | ||
| 13722 | }; | ||
| 13723 | static std::mutex mutex; | ||
| 13724 | static std::unordered_map<std::uint64_t, Shape> seen; | ||
| 13725 | static std::map<std::string, std::uint64_t> by_shape; | ||
| 13726 | static std::uint64_t lookups = 0, in_title = 0; | ||
| 13727 | const Shape s{image.format, std::uint32_t(image.type), (words[3] >> 20) & 0x1f, image.width, image.height, | ||
| 13728 | image.depth, image.resource_mips, image.layer_count}; | ||
| 13729 | std::uint64_t lo = 0, hi = 0; | ||
| 13730 | const bool title = leonida::title_va_aliases().title_memory(image.address, lo, hi); | ||
| 13731 | std::lock_guard lock(mutex); | ||
| 13732 | ++lookups; | ||
| 13733 | if (seen.emplace(image.address, s).second) { | ||
| 13734 | in_title += title; | ||
| 13735 | char key[64]; | ||
| 13736 | std::snprintf(key, sizeof(key), "fmt %u type %u sw %u", s.format, s.type, s.sw); | ||
| 13737 | ++by_shape[key]; | ||
| 13738 | if (seen.size() <= 300) | ||
| 13739 | std::fprintf(stderr, | ||
| 13740 | "[rt] unknown-tsharp: #%zu base 0x%llx fmt %u type %u sw %u %ux%ux%u mips %u layers %u%s\n", | ||
| 13741 | seen.size(), static_cast<unsigned long long>(image.address), s.format, s.type, s.sw, s.width, | ||
| 13742 | s.height, s.depth, s.mips, s.layers, title ? " (title memory)" : " (not title memory)"); | ||
| 13743 | if (seen.size() <= 24) | ||
| 13744 | std::fprintf(stderr, "[rt] unknown-tsharp: #%zu words %08x %08x %08x %08x %08x %08x %08x %08x\n", seen.size(), | ||
| 13745 | words[0], words[1], words[2], words[3], words[4], words[5], words[6], words[7]); | ||
| 13746 | } | ||
| 13747 | if (!(lookups % 8192)) { | ||
| 13748 | std::vector<std::pair<std::uint64_t, std::string>> top; | ||
| 13749 | for (const auto& [k, n] : by_shape) top.emplace_back(n, k); | ||
| 13750 | std::sort(top.rbegin(), top.rend()); | ||
| 13751 | std::string text; | ||
| 13752 | for (std::size_t i = 0; i < top.size() && i < 10; ++i) | ||
| 13753 | text += (i ? "; " : "") + top[i].second + " x" + std::to_string(top[i].first); | ||
| 13754 | std::fprintf(stderr, | ||
| 13755 | "[rt] unknown-tsharp: %llu lookups, %zu distinct addresses (%llu in title memory); by shape: %s\n", | ||
| 13756 | static_cast<unsigned long long>(lookups), seen.size(), static_cast<unsigned long long>(in_title), | ||
| 13757 | text.c_str()); | ||
| 13758 | } | ||
| 13759 | } | ||
| 13760 | |||
| 13000 | TitleImage bind_title_image(DeviceState& device, const leonida::gfx10::ImageWords& words, const char** why) { | 13761 | TitleImage bind_title_image(DeviceState& device, const leonida::gfx10::ImageWords& words, const char** why) { |
| 13001 | namespace g = leonida::gfx10; | 13762 | namespace g = leonida::gfx10; |
| 13002 | const auto refuse = [why](const char* reason) { | 13763 | const auto refuse = [why](const char* reason) { |
| @@ -13030,6 +13791,7 @@ TitleImage bind_title_image(DeviceState& device, const leonida::gfx10::ImageWord | |||
| 13030 | } | 13791 | } |
| 13031 | if (!owner) { | 13792 | if (!owner) { |
| 13032 | if (why) *why = "no texture at T# address"; | 13793 | if (why) *why = "no texture at T# address"; |
| 13794 | note_unknown_tsharp(words, image); | ||
| 13033 | return TitleImage::unknown; | 13795 | return TitleImage::unknown; |
| 13034 | } | 13796 | } |
| 13035 | const Resource& r = *owner; | 13797 | const Resource& r = *owner; |
| @@ -13053,9 +13815,10 @@ TitleImage bind_title_image(DeviceState& device, const leonida::gfx10::ImageWord | |||
| 13053 | return refuse("T# names layers the texture lacks"); | 13815 | return refuse("T# names layers the texture lacks"); |
| 13054 | const bool storage = (d.Flags & D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS) && !msaa && | 13816 | const bool storage = (d.Flags & D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS) && !msaa && |
| 13055 | r.aspects() == VK_IMAGE_ASPECT_COLOR_BIT; | 13817 | r.aspects() == VK_IMAGE_ASPECT_COLOR_BIT; |
| 13818 | const char* unbound = "no view for the T#'s format or range"; // unless set 0 has no room (bind_image) | ||
| 13056 | if (!device.bind_image_locked(words, image, r.descriptor_image(), r.format(), r.aspects(), storage, | 13819 | if (!device.bind_image_locked(words, image, r.descriptor_image(), r.format(), r.aspects(), storage, |
| 13057 | r.has_view_format_list(), r.uint_backed())) | 13820 | r.has_view_format_list(), r.uint_backed(), &unbound)) |
| 13058 | return refuse("no view for the T#'s format or range"); | 13821 | return refuse(unbound); |
| 13059 | r.note_shader_view(); // Include descriptors written directly into title heaps. | 13822 | r.note_shader_view(); // Include descriptors written directly into title heaps. |
| 13060 | if (r.sparse_image()) sparse = r.id(); | 13823 | if (r.sparse_image()) sparse = r.id(); |
| 13061 | } | 13824 | } |
| @@ -13708,6 +14471,8 @@ public: | |||
| 13708 | const phases::Scope timed(phases::geometry); | 14471 | const phases::Scope timed(phases::geometry); |
| 13709 | state_.geometry.refresh(DeviceState::copy_geometry); | 14472 | state_.geometry.refresh(DeviceState::copy_geometry); |
| 13710 | } | 14473 | } |
| 14474 | // Last, once the heap refresh, the windows and the geometry copies have made what this submission reads. | ||
| 14475 | state_.update_address_guard(); | ||
| 13711 | const phases::Scope timed(phases::textures); | 14476 | const phases::Scope timed(phases::textures); |
| 13712 | if (async_texture_refresh()) { | 14477 | if (async_texture_refresh()) { |
| 13713 | if (!t_in_title_textures) { | 14478 | if (!t_in_title_textures) { |
| @@ -13750,12 +14515,18 @@ public: | |||
| 13750 | [](void* device, std::uint64_t table, std::uint32_t descriptors) { | 14515 | [](void* device, std::uint64_t table, std::uint32_t descriptors) { |
| 13751 | static_cast<DeviceState*>(device)->scan_title_table(table, descriptors); | 14516 | static_cast<DeviceState*>(device)->scan_title_table(table, descriptors); |
| 13752 | }); | 14517 | }); |
| 14518 | leonida::title_va_aliases().set_noter([](void* device, std::uint64_t va, std::uint64_t bytes) { | ||
| 14519 | static_cast<DeviceState*>(device)->note_title_write(va, bytes); | ||
| 14520 | }); | ||
| 14521 | // Every device, hooks or not: its console heaps' slot records follow the alias table's changes. | ||
| 14522 | leonida::title_va_aliases().add_listener(&state_, &DeviceState::alias_changed); | ||
| 13753 | state_.image_memory = std::make_unique<leonida::ImageMemory>( | 14523 | state_.image_memory = std::make_unique<leonida::ImageMemory>( |
| 13754 | [device = info.device, make = state_.context->vk.vkAllocateMemory](std::uint32_t type, std::uint64_t bytes) { | 14524 | [device = info.device, make = state_.context->vk.vkAllocateMemory](std::uint32_t type, std::uint64_t bytes) { |
| 13755 | VkMemoryAllocateInfo block{VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO}; | 14525 | VkMemoryAllocateInfo block{VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO}; |
| 13756 | block.allocationSize = bytes; | 14526 | block.allocationSize = bytes; |
| 13757 | block.memoryTypeIndex = type; | 14527 | block.memoryTypeIndex = type; |
| 13758 | VkDeviceMemory out = VK_NULL_HANDLE; | 14528 | VkDeviceMemory out = VK_NULL_HANDLE; |
| 14529 | leonida::memory_breakdown::Owner owner(leonida::memory_breakdown::Consumer::image_blocks); | ||
| 13759 | return make(device, &block, nullptr, &out) == VK_SUCCESS ? out : VkDeviceMemory(VK_NULL_HANDLE); | 14530 | return make(device, &block, nullptr, &out) == VK_SUCCESS ? out : VkDeviceMemory(VK_NULL_HANDLE); |
| 13760 | }, | 14531 | }, |
| 13761 | [device = info.device, free = state_.context->vk.vkFreeMemory](VkDeviceMemory block) { | 14532 | [device = info.device, free = state_.context->vk.vkFreeMemory](VkDeviceMemory block) { |
| @@ -13859,6 +14630,21 @@ public: | |||
| 13859 | (unsigned long long)shadows, leonida::fsdraw::pipeline_count()); | 14630 | (unsigned long long)shadows, leonida::fsdraw::pipeline_count()); |
| 13860 | return std::string(text); | 14631 | return std::string(text); |
| 13861 | }; | 14632 | }; |
| 14633 | facts.share = [this] { | ||
| 14634 | leonida::memory_breakdown::DeviceShare share; | ||
| 14635 | DeviceState& d = state_; | ||
| 14636 | if (d.arena.buffer) { | ||
| 14637 | share.arena = true; | ||
| 14638 | std::lock_guard lock(d.arena.mutex); | ||
| 14639 | share.arena_reserved = d.arena.size; | ||
| 14640 | share.arena_bound = d.arena.size; // one allocation behind the whole range | ||
| 14641 | share.arena_in_use = d.arena.in_use; | ||
| 14642 | for (std::size_t i = 0; i < share.arena_use.size(); ++i) share.arena_use[i] = d.arena.use_in_use[i]; | ||
| 14643 | } | ||
| 14644 | std::lock_guard lock(d.descriptor_mutex); // the bindless set's lock (ExecuteCommandLists' flush) | ||
| 14645 | if (const auto* bindless = d.bindless.get()) share.bindless_table_bytes = bindless->table_buffer_bytes(); | ||
| 14646 | return share; | ||
| 14647 | }; | ||
| 13862 | leonida::mem_probe::start(std::move(facts)); | 14648 | leonida::mem_probe::start(std::move(facts)); |
| 13863 | } | 14649 | } |
| 13864 | if (info.conditional_rendering) { | 14650 | if (info.conditional_rendering) { |
| @@ -13895,6 +14681,7 @@ public: | |||
| 13895 | state_.context->enable_copy_scratch( | 14681 | state_.context->enable_copy_scratch( |
| 13896 | get_device, | 14682 | get_device, |
| 13897 | [this, index_scratch](const VkMemoryRequirements& requirements) { | 14683 | [this, index_scratch](const VkMemoryRequirements& requirements) { |
| 14684 | leonida::memory_breakdown::Owner owner(leonida::memory_breakdown::Consumer::staging); | ||
| 13898 | return state_.allocate(requirements, 0, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, nullptr, index_scratch); | 14685 | return state_.allocate(requirements, 0, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, nullptr, index_scratch); |
| 13899 | }, | 14686 | }, |
| 13900 | scratch_extra, state_.families); | 14687 | scratch_extra, state_.families); |
| @@ -14322,8 +15109,11 @@ public: | |||
| 14322 | "device's %s\n", | 15109 | "device's %s\n", |
| 14323 | static_cast<unsigned long long>(size.bytes >> 20), | 15110 | static_cast<unsigned long long>(size.bytes >> 20), |
| 14324 | static_cast<unsigned long long>(size.requested >> 20), leonida::arena_cap_name(size.capped)); | 15111 | static_cast<unsigned long long>(size.requested >> 20), leonida::arena_cap_name(size.capped)); |
| 14325 | arena.memory = state_.allocate(requirements, leonida::kArenaRequiredMemory, leonida::kArenaPreferredMemory, | 15112 | { |
| 14326 | nullptr, true, &arena.memory_type); | 15113 | leonida::memory_breakdown::Owner owner(leonida::memory_breakdown::Consumer::arena); |
| 15114 | arena.memory = state_.allocate(requirements, leonida::kArenaRequiredMemory, | ||
| 15115 | leonida::kArenaPreferredMemory, nullptr, true, &arena.memory_type); | ||
| 15116 | } | ||
| 14327 | void* mapped = nullptr; | 15117 | void* mapped = nullptr; |
| 14328 | if (!arena.memory || vk.vkBindBufferMemory(state_.info.device, arena.buffer, arena.memory, 0) != VK_SUCCESS || | 15118 | if (!arena.memory || vk.vkBindBufferMemory(state_.info.device, arena.buffer, arena.memory, 0) != VK_SUCCESS || |
| 14329 | vk.vkMapMemory(state_.info.device, arena.memory, 0, VK_WHOLE_SIZE, 0, &mapped) != VK_SUCCESS) { | 15119 | vk.vkMapMemory(state_.info.device, arena.memory, 0, VK_WHOLE_SIZE, 0, &mapped) != VK_SUCCESS) { |
| @@ -14376,14 +15166,20 @@ public: | |||
| 14376 | // Under the arena's lock: an insert rebalances the tree and rewrites child links, which a walk on | 15166 | // Under the arena's lock: an insert rebalances the tree and rewrites child links, which a walk on |
| 14377 | // another thread must not see half done. | 15167 | // another thread must not see half done. |
| 14378 | std::lock_guard lock(arena.mutex); | 15168 | std::lock_guard lock(arena.mutex); |
| 14379 | arena.blocks.reset(null_bytes + kArenaReserved, arena.size); | 15169 | // LEONIDA_ADDRESS_GUARD: the guard header and sinks at [0x70000, 0x80000) are never handed out either |
| 14380 | arena.first = null_bytes + kArenaReserved; | 15170 | // (inside the null region when there is one, else just past the quad indices). |
| 15171 | arena.first = std::max<VkDeviceSize>(null_bytes + kArenaReserved, | ||
| 15172 | address_guard_enabled() ? leonida::address_guard::kGuardEnd : 0); | ||
| 15173 | arena.blocks.reset(arena.first, arena.size); | ||
| 14381 | char check[2] = {}; | 15174 | char check[2] = {}; |
| 14382 | size_t check_length = 0; | 15175 | size_t check_length = 0; |
| 14383 | arena.check_all = getenv_s(&check_length, check, "LEONIDA_ARENA_CHECK") == 0 && check_length > 1 && | 15176 | arena.check_all = getenv_s(&check_length, check, "LEONIDA_ARENA_CHECK") == 0 && check_length > 1 && |
| 14384 | check[0] != '0'; | 15177 | check[0] != '0'; |
| 14385 | } | 15178 | } |
| 14386 | arena.peak_end = null_bytes + kArenaReserved; | 15179 | arena.peak_end = arena.first; |
| 15180 | if (address_guard_enabled() && !state_.create_address_guard()) | ||
| 15181 | std::fprintf(stderr, "[rt] d3d12: LEONIDA_ADDRESS_GUARD=1 but the address guard could not be set up; " | ||
| 15182 | "guarded shaders check nothing\n"); | ||
| 14387 | char log[4] = {}; | 15183 | char log[4] = {}; |
| 14388 | length = 0; | 15184 | length = 0; |
| 14389 | arena.log = getenv_s(&length, log, "LEONIDA_ARENA_LOG") == 0 && length > 1 && log[0] != '0'; | 15185 | arena.log = getenv_s(&length, log, "LEONIDA_ARENA_LOG") == 0 && length > 1 && log[0] != '0'; |
| @@ -14452,6 +15248,7 @@ public: | |||
| 14452 | compiler_use_.release(); | 15248 | compiler_use_.release(); |
| 14453 | } | 15249 | } |
| 14454 | leonida::title_va_aliases().clear_hooks(&state_); | 15250 | leonida::title_va_aliases().clear_hooks(&state_); |
| 15251 | leonida::title_va_aliases().remove_listener(&state_); | ||
| 14455 | { | 15252 | { |
| 14456 | std::lock_guard lock(state_.title_window_mutex); | 15253 | std::lock_guard lock(state_.title_window_mutex); |
| 14457 | for (const auto& window : state_.title_windows) | 15254 | for (const auto& window : state_.title_windows) |
| @@ -14490,12 +15287,14 @@ public: | |||
| 14490 | state_.bindless.reset(); | 15287 | state_.bindless.reset(); |
| 14491 | } | 15288 | } |
| 14492 | state_.report_arena(); | 15289 | state_.report_arena(); |
| 15290 | state_.destroy_address_guard(); | ||
| 14493 | if (state_.context && state_.arena.buffer) { | 15291 | if (state_.context && state_.arena.buffer) { |
| 14494 | leonida::fsdraw::forget_arena(state_.arena.mapped); | 15292 | leonida::fsdraw::forget_arena(state_.arena.mapped); |
| 14495 | auto& vk = state_.context->vk; | 15293 | auto& vk = state_.context->vk; |
| 14496 | vk.vkDestroyBuffer(state_.info.device, state_.arena.buffer, nullptr); | 15294 | vk.vkDestroyBuffer(state_.info.device, state_.arena.buffer, nullptr); |
| 14497 | if (state_.arena.memory) vk.vkFreeMemory(state_.info.device, state_.arena.memory, nullptr); | 15295 | if (state_.arena.memory) vk.vkFreeMemory(state_.info.device, state_.arena.memory, nullptr); |
| 14498 | } | 15296 | } |
| 15297 | state_.finish_heavy_cache(); | ||
| 14499 | if (state_.pipeline_cache_handle) { | 15298 | if (state_.pipeline_cache_handle) { |
| 14500 | // Nothing should be building into the cache now (the compiler's jobs for this device are gone, and so | 15299 | // Nothing should be building into the cache now (the compiler's jobs for this device are gone, and so |
| 14501 | // is every PSO). If something is, its pipelines are half in the cache: keep the previous session file. | 15300 | // is every PSO). If something is, its pipelines are half in the cache: keep the previous session file. |
| @@ -15621,6 +16420,8 @@ private: | |||
| 15621 | const bool guard = check_pages_before_read(); | 16420 | const bool guard = check_pages_before_read(); |
| 15622 | if (!guard && !t.memory.pending()) return true; | 16421 | if (!guard && !t.memory.pending()) return true; |
| 15623 | const bool mapped = t.mapped && refresh_mapped_pages(); | 16422 | const bool mapped = t.mapped && refresh_mapped_pages(); |
| 16423 | if (!title_pass_ && guard && !mapped) | ||
| 16424 | t.memory.sync_map(title_map_generation_, static_cast<std::uintptr_t>(t.cpu), t.layout.layout.size); | ||
| 15624 | const auto commit = mapped ? leonida::kernel_writes::state().committer.load(std::memory_order_acquire) : nullptr; | 16425 | const auto commit = mapped ? leonida::kernel_writes::state().committer.load(std::memory_order_acquire) : nullptr; |
| 15625 | const bool waited = t.memory.pending(); | 16426 | const bool waited = t.memory.pending(); |
| 15626 | // The answer is kept (generation 0) until a map change over the texture, a write into it or the periodic | 16427 | // The answer is kept (generation 0) until a map change over the texture, a write into it or the periodic |
| @@ -17927,7 +18728,7 @@ public: | |||
| 17927 | // imported, or a shadow copied from them before every submission) and kept until the device goes, up to | 18728 | // imported, or a shadow copied from them before every submission) and kept until the device goes, up to |
| 17928 | // LEONIDA_TITLE_BUFFERS_MB (512 by default). | 18729 | // LEONIDA_TITLE_BUFFERS_MB (512 by default). |
| 17929 | void make_title_buffer(std::uint64_t va, std::uint64_t bytes) { | 18730 | void make_title_buffer(std::uint64_t va, std::uint64_t bytes) { |
| 17930 | if (!state_.context) return; | 18731 | if (!&context()) return; |
| 17931 | static const bool check_size = [] { | 18732 | static const bool check_size = [] { |
| 17932 | wchar_t flag[2]{}; | 18733 | wchar_t flag[2]{}; |
| 17933 | return !(GetEnvironmentVariableW(L"LEONIDA_TITLE_BUFFER_COVERAGE", flag, 2) == 1 && flag[0] == L'0'); | 18734 | return !(GetEnvironmentVariableW(L"LEONIDA_TITLE_BUFFER_COVERAGE", flag, 2) == 1 && flag[0] == L'0'); |
| @@ -19933,9 +20734,10 @@ bool stop_pipeline_compiles(unsigned wait_ms) { | |||
| 19933 | return idle; | 20734 | return idle; |
| 19934 | } | 20735 | } |
| 19935 | 20736 | ||
| 19936 | // How long an exit save waits for the write itself (save_session_pipeline_cache): a 77 MiB cache was measured at about | 20737 | // How long an exit save waits for the write itself (save_session_pipeline_cache). Measured fill and publish: a 77 MiB |
| 19937 | // 36 ms (fill and publish), so this only bounds a driver that blocks the read. | 20738 | // cache about 36 ms; 1.87 GB 1.4 s and 2.9 GB 1.3-1.6 s (NVIDIA, Windows 11, NVMe), so about 2.2 s at the 4 GiB |
| 19938 | constexpr unsigned kExitCacheWriteMs = 3000; | 20739 | // default limit. The wait ends with the write; the bound only covers a driver or disk that blocks. |
| 20740 | constexpr unsigned kExitCacheWriteMs = 6000; | ||
| 19939 | 20741 | ||
| 19940 | bool save_pipeline_caches_at_exit(unsigned wait_ms) { | 20742 | bool save_pipeline_caches_at_exit(unsigned wait_ms) { |
| 19941 | if (exit_cache_saved.exchange(true)) return false; // once: a crash during the normal exit's save does not redo it | 20743 | if (exit_cache_saved.exchange(true)) return false; // once: a crash during the normal exit's save does not redo it |
| @@ -21017,8 +21819,12 @@ HRESULT create_vulkan_device_standalone(REFIID riid, void** out, QueueTestSettin | |||
| 21017 | v13.compute_full_subgroups, info.subgroup); | 21819 | v13.compute_full_subgroups, info.subgroup); |
| 21018 | const char* compile_mode = std::getenv("LEONIDA_PIPELINE_COMPILE"); | 21820 | const char* compile_mode = std::getenv("LEONIDA_PIPELINE_COMPILE"); |
| 21019 | const auto mode = compile_mode ? std::string_view(compile_mode) : std::string_view{}; | 21821 | const auto mode = compile_mode ? std::string_view(compile_mode) : std::string_view{}; |
| 21020 | v13.enable_pipeline_cache_control = mode == "cache-only" && v13.core && v13.pipeline_cache_control; | 21822 | // pipelineCreationCacheControl: for LEONIDA_PIPELINE_COMPILE=cache-only, and for the heavy pipeline cache unless |
| 21021 | info.cold_graphics_compile = v13.enable_pipeline_cache_control; | 21823 | // LEONIDA_HEAVY_PIPELINE_CACHE_MS=0 turns it off. |
| 21824 | v13.enable_pipeline_cache_control = | ||
| 21825 | (mode == "cache-only" || heavy_pipeline_cache_ms()) && v13.core && v13.pipeline_cache_control; | ||
| 21826 | info.cold_graphics_compile = mode == "cache-only" && v13.enable_pipeline_cache_control; | ||
| 21827 | info.heavy_pipeline_cache = heavy_pipeline_cache_ms() && v13.enable_pipeline_cache_control; | ||
| 21022 | info.prepare_on_bind = mode == "on-demand"; | 21828 | info.prepare_on_bind = mode == "on-demand"; |
| 21023 | void* v13_chain = v13.enable(ext_chain); | 21829 | void* v13_chain = v13.enable(ext_chain); |
| 21024 | // D3D-78 uses the core robustness and format-feature flags. Leave the Vulkan 1.2 extension path unchanged. | 21830 | // D3D-78 uses the core robustness and format-feature flags. Leave the Vulkan 1.2 extension path unchanged. |
| @@ -21681,10 +22487,10 @@ public: | |||
| 21681 | DeviceState& state() { return *device_; } | 22487 | DeviceState& state() { return *device_; } |
| 21682 | const leonida::ShaderLibrary* library() const { return library_; } | 22488 | const leonida::ShaderLibrary* library() const { return library_; } |
| 21683 | 22489 | ||
| 21684 | // Why create_compute would refuse the entry, or null. | 22490 | // Why create_compute could not build the entry on this device, or null. LEONIDA_SKIP_COMPUTE is not a reason here: |
| 22491 | // it drops a program's dispatches at play, and each caller decides whether it also keeps the program unbuilt. | ||
| 21685 | const char* unbuildable(const leonida::ShaderEntry& entry, std::size_t bytes) const { | 22492 | const char* unbuildable(const leonida::ShaderEntry& entry, std::size_t bytes) const { |
| 21686 | if (!bytes) return "no .spv"; | 22493 | if (!bytes) return "no .spv"; |
| 21687 | if (skip_compute(entry.name)) return "LEONIDA_SKIP_COMPUTE"; | ||
| 21688 | if (entry.binding_count && !with_set0_) return "set-0 bindings and no bindless set"; | 22494 | if (entry.binding_count && !with_set0_) return "set-0 bindings and no bindless set"; |
| 21689 | if (entry.lds_bytes && max_shared_ && entry.lds_bytes > max_shared_) return "workgroup memory over the limit"; | 22495 | if (entry.lds_bytes && max_shared_ && entry.lds_bytes > max_shared_) return "workgroup memory over the limit"; |
| 21690 | return nullptr; | 22496 | return nullptr; |
| @@ -21716,13 +22522,15 @@ int precompile_compute_pipelines(const PrecompileOptions& options) { | |||
| 21716 | if (!host.open()) return 1; | 22522 | if (!host.open()) return 1; |
| 21717 | const leonida::ShaderLibrary* library = host.library(); | 22523 | const leonida::ShaderLibrary* library = host.library(); |
| 21718 | 22524 | ||
| 21719 | // What to build: every compute entry the runtime could create a pipeline for. | 22525 | // What to build: every compute entry the runtime could create a pipeline for. LEONIDA_SKIP_COMPUTE is a setting |
| 22526 | // for play (the game drops the listed programs' dispatches); the journal is kept for every program unless | ||
| 22527 | // --skip-listed asks to leave them out too, so a later run without the list finds them built. | ||
| 21720 | struct Job { | 22528 | struct Job { |
| 21721 | const leonida::ShaderEntry* entry; | 22529 | const leonida::ShaderEntry* entry; |
| 21722 | std::size_t bytes; | 22530 | std::size_t bytes; |
| 21723 | }; | 22531 | }; |
| 21724 | std::vector<Job> jobs; | 22532 | std::vector<Job> jobs; |
| 21725 | std::size_t not_buildable = 0, filtered = 0; | 22533 | std::size_t not_buildable = 0, filtered = 0, listed = 0, listed_left_out = 0; |
| 21726 | for (const leonida::ShaderEntry* entry : library->stage_entries("cs")) { | 22534 | for (const leonida::ShaderEntry* entry : library->stage_entries("cs")) { |
| 21727 | if (!options.filters.empty() && | 22535 | if (!options.filters.empty() && |
| 21728 | std::none_of(options.filters.begin(), options.filters.end(), | 22536 | std::none_of(options.filters.begin(), options.filters.end(), |
| @@ -21735,6 +22543,15 @@ int precompile_compute_pipelines(const PrecompileOptions& options) { | |||
| 21735 | ++filtered; | 22543 | ++filtered; |
| 21736 | continue; | 22544 | continue; |
| 21737 | } | 22545 | } |
| 22546 | if (skip_compute(entry->name)) { | ||
| 22547 | ++listed; | ||
| 22548 | if (options.skip_listed) { | ||
| 22549 | ++listed_left_out; | ||
| 22550 | std::fprintf(stderr, "[precompile] %s: not built (LEONIDA_SKIP_COMPUTE, --skip-listed)\n", | ||
| 22551 | entry->name.c_str()); | ||
| 22552 | continue; | ||
| 22553 | } | ||
| 22554 | } | ||
| 21738 | if (const char* why = host.unbuildable(*entry, bytes)) { | 22555 | if (const char* why = host.unbuildable(*entry, bytes)) { |
| 21739 | ++not_buildable; | 22556 | ++not_buildable; |
| 21740 | std::fprintf(stderr, "[precompile] %s: not built (%s)\n", entry->name.c_str(), why); | 22557 | std::fprintf(stderr, "[precompile] %s: not built (%s)\n", entry->name.c_str(), why); |
| @@ -21745,14 +22562,22 @@ int precompile_compute_pipelines(const PrecompileOptions& options) { | |||
| 21745 | std::stable_sort(jobs.begin(), jobs.end(), [&](const Job& a, const Job& b) { | 22562 | std::stable_sort(jobs.begin(), jobs.end(), [&](const Job& a, const Job& b) { |
| 21746 | return options.smallest_first ? a.bytes < b.bytes : a.bytes > b.bytes; | 22563 | return options.smallest_first ? a.bytes < b.bytes : a.bytes > b.bytes; |
| 21747 | }); | 22564 | }); |
| 21748 | if (options.limit && jobs.size() > options.limit) jobs.resize(options.limit); | 22565 | if (options.limit && jobs.size() > options.limit) { |
| 22566 | filtered += jobs.size() - options.limit; | ||
| 22567 | jobs.resize(options.limit); | ||
| 22568 | } | ||
| 21749 | std::uint64_t total_bytes = 0; | 22569 | std::uint64_t total_bytes = 0; |
| 21750 | for (const Job& job : jobs) total_bytes += job.bytes; | 22570 | for (const Job& job : jobs) total_bytes += job.bytes; |
| 21751 | const unsigned threads = (std::max)(1u, options.threads); | 22571 | const unsigned threads = (std::max)(1u, options.threads); |
| 21752 | const unsigned big_threads = options.big_threads ? (std::min)(options.big_threads, threads) : threads; | 22572 | const unsigned big_threads = options.big_threads ? (std::min)(options.big_threads, threads) : threads; |
| 21753 | std::fprintf(stderr, "[precompile] %zu compute entries to build (%.1f MB of SPIR-V; %zu filtered out, %zu not " | 22573 | if (listed && !options.skip_listed) |
| 21754 | "buildable), %s first, %u thread(s), at most %u on modules over %zu bytes; journal %ls\n", | 22574 | std::fprintf(stderr, "[precompile] LEONIDA_SKIP_COMPUTE names %zu of the entries: built anyway, since the list " |
| 21755 | jobs.size(), double(total_bytes) / 1e6, filtered, not_buildable, | 22575 | "drops their dispatches at play only (--skip-listed leaves them out of this run)\n", |
| 22576 | listed); | ||
| 22577 | std::fprintf(stderr, "[precompile] %zu compute entries to build (%.1f MB of SPIR-V; %zu filtered out, %zu left " | ||
| 22578 | "out by --skip-listed, %zu not buildable), %s first, %u thread(s), at most %u on modules over " | ||
| 22579 | "%zu bytes; journal %ls\n", | ||
| 22580 | jobs.size(), double(total_bytes) / 1e6, filtered, listed_left_out, not_buildable, | ||
| 21756 | options.smallest_first ? "smallest" : "largest", threads, big_threads, options.big_bytes, | 22581 | options.smallest_first ? "smallest" : "largest", threads, big_threads, options.big_bytes, |
| 21757 | pipeline_journal_dir().c_str()); | 22582 | pipeline_journal_dir().c_str()); |
| 21758 | if (options.dry_run) { | 22583 | if (options.dry_run) { |
| @@ -21762,7 +22587,7 @@ int precompile_compute_pipelines(const PrecompileOptions& options) { | |||
| 21762 | 22587 | ||
| 21763 | std::atomic<std::size_t> next{0}; | 22588 | std::atomic<std::size_t> next{0}; |
| 21764 | std::mutex progress_mutex; | 22589 | std::mutex progress_mutex; |
| 21765 | std::size_t done = 0, compiled = 0, skipped = 0, hits = 0, failed = 0; | 22590 | std::size_t done = 0, compiled = 0, skipped = 0, hits = 0, failed = 0, journaled = 0, elsewhere = 0; |
| 21766 | std::uint64_t done_bytes = 0; | 22591 | std::uint64_t done_bytes = 0; |
| 21767 | std::mutex big_mutex; | 22592 | std::mutex big_mutex; |
| 21768 | std::condition_variable big_free; | 22593 | std::condition_variable big_free; |
| @@ -21801,8 +22626,8 @@ int precompile_compute_pipelines(const PrecompileOptions& options) { | |||
| 21801 | ++done; | 22626 | ++done; |
| 21802 | done_bytes += job.bytes; | 22627 | done_bytes += job.bytes; |
| 21803 | const char* what = "failed"; | 22628 | const char* what = "failed"; |
| 21804 | if (build.skipped) ++skipped, what = "journaled already"; | 22629 | if (build.skipped) ++skipped, ++journaled, what = "journaled already"; |
| 21805 | else if (build.busy) ++skipped, what = "being built by another process"; | 22630 | else if (build.busy) ++skipped, ++elsewhere, what = "being built by another process"; |
| 21806 | else if (build.result != VK_SUCCESS || (!build.pipeline && !build.skipped)) ++failed; | 22631 | else if (build.result != VK_SUCCESS || (!build.pipeline && !build.skipped)) ++failed; |
| 21807 | else if (build.journal_hit || build.from_shared) ++hits, what = "found in a cache"; | 22632 | else if (build.journal_hit || build.from_shared) ++hits, what = "found in a cache"; |
| 21808 | else ++compiled, what = build.journaled ? "compiled and journaled" : "compiled (not journaled)"; | 22633 | else ++compiled, what = build.journaled ? "compiled and journaled" : "compiled (not journaled)"; |
| @@ -21819,8 +22644,12 @@ int precompile_compute_pipelines(const PrecompileOptions& options) { | |||
| 21819 | std::vector<std::thread> pool; | 22644 | std::vector<std::thread> pool; |
| 21820 | for (unsigned t = 0; t < threads; ++t) pool.emplace_back(worker); | 22645 | for (unsigned t = 0; t < threads; ++t) pool.emplace_back(worker); |
| 21821 | for (std::thread& t : pool) t.join(); | 22646 | for (std::thread& t : pool) t.join(); |
| 21822 | std::fprintf(stderr, "[precompile] done: %zu compiled, %zu from a cache, %zu journaled already, %zu failed, %zu " | 22647 | // One line for the whole run: what was built, what was there already, and what was left out and why. |
| 21823 | "not buildable, in %.0f s\n", compiled, hits, skipped, failed, not_buildable, | 22648 | std::fprintf(stderr, "[precompile] done: %zu built (%zu compiled, %zu from a cache), %zu journaled already, %zu " |
| 22649 | "being built by another process, %zu failed; left out: %zu of %zu listed in " | ||
| 22650 | "LEONIDA_SKIP_COMPUTE%s, %zu not buildable, %zu filtered out; in %.0f s\n", | ||
| 22651 | compiled + hits, compiled, hits, journaled, elsewhere, failed, listed_left_out, listed, | ||
| 22652 | options.skip_listed ? " (--skip-listed)" : "", not_buildable, filtered, | ||
| 21824 | std::chrono::duration<double>(Clock::now() - began).count()); | 22653 | std::chrono::duration<double>(Clock::now() - began).count()); |
| 21825 | return failed ? 2 : 0; | 22654 | return failed ? 2 : 0; |
| 21826 | } | 22655 | } |
| @@ -21939,6 +22768,7 @@ int compile_server(const CompileServerOptions& options) { | |||
| 21939 | const leonida::ShaderEntry* entry = it == by_name.end() ? nullptr : it->second; | 22768 | const leonida::ShaderEntry* entry = it == by_name.end() ? nullptr : it->second; |
| 21940 | const std::size_t bytes = entry ? library->spirv_bytes(*entry) : 0; | 22769 | const std::size_t bytes = entry ? library->spirv_bytes(*entry) : 0; |
| 21941 | if (!entry) failure = "no compute entry of that name in this library"; | 22770 | if (!entry) failure = "no compute entry of that name in this library"; |
| 22771 | else if (skip_compute(entry->name)) failure = "LEONIDA_SKIP_COMPUTE"; // the game drops its dispatches | ||
| 21942 | else if (const char* why = host.unbuildable(*entry, bytes)) failure = why; | 22772 | else if (const char* why = host.unbuildable(*entry, bytes)) failure = why; |
| 21943 | // LOCAL FIX (compile helper: the journal name was checked after the build): the name is hashed from the | 22773 | // LOCAL FIX (compile helper: the journal name was checked after the build): the name is hashed from the |
| 21944 | // module and this device's environment, which costs no driver call. A request from a game whose environment | 22774 | // module and this device's environment, which costs no driver call. A request from a game whose environment |
| @@ -22063,7 +22893,7 @@ int compile_server(const CompileServerOptions& options) { | |||
| 22063 | return; | 22893 | return; |
| 22064 | } | 22894 | } |
| 22065 | const leonida::ShaderEntry& entry = *fill_order[i]; | 22895 | const leonida::ShaderEntry& entry = *fill_order[i]; |
| 22066 | if (host.unbuildable(entry, fill_bytes[i])) continue; | 22896 | if (skip_compute(entry.name) || host.unbuildable(entry, fill_bytes[i])) continue; |
| 22067 | std::error_code stat; | 22897 | std::error_code stat; |
| 22068 | const auto spv = library->spirv_file(entry); | 22898 | const auto spv = library->spirv_file(entry); |
| 22069 | const long long mtime = static_cast<long long>(std::filesystem::last_write_time(spv, stat).time_since_epoch().count()); | 22899 | const long long mtime = static_cast<long long>(std::filesystem::last_write_time(spv, stat).time_since_epoch().count()); |
diff --git a/runtime/shims/d3d12_xs_device.cpp b/runtime/shims/d3d12_xs_device.cpp index 87cc26dd3..c5f12dc05 100644 --- a/runtime/shims/d3d12_xs_device.cpp +++ b/runtime/shims/d3d12_xs_device.cpp | |||
| @@ -2289,6 +2289,12 @@ HRESULT queue_copy_page_mappings(ChildProxy* self, UINT count, const xmem::PageB | |||
| 2289 | if (!map && rt::xmem::copy_page_mappings_fn) map = ©_page_mappings_default; | 2289 | if (!map && rt::xmem::copy_page_mappings_fn) map = ©_page_mappings_default; |
| 2290 | if (!map || !count) return S_OK; | 2290 | if (!map || !count) return S_OK; |
| 2291 | if (!batches || flags) return E_INVALIDARG; | 2291 | if (!batches || flags) return E_INVALIDARG; |
| 2292 | // Which implementation remaps, once: a boot's read-fault reports belong to that route's tests. | ||
| 2293 | static std::atomic<bool> route_logged{false}; | ||
| 2294 | if (!route_logged.exchange(true, std::memory_order_relaxed)) | ||
| 2295 | std::fprintf(stderr, "[rt] d3d12_xs: CopyPageMappingsBatchX remaps through %s\n", | ||
| 2296 | map == ©_page_mappings_default ? "xmem's range callback (copy_page_mappings_fn)" | ||
| 2297 | : "the installed batch hook (set_copy_page_mappings_hook)"); | ||
| 2292 | auto* queue = reinterpret_cast<ID3D12CommandQueue*>(self->real); | 2298 | auto* queue = reinterpret_cast<ID3D12CommandQueue*>(self->real); |
| 2293 | using clock = std::chrono::steady_clock; | 2299 | using clock = std::chrono::steady_clock; |
| 2294 | const auto t0 = clock::now(); | 2300 | const auto t0 = clock::now(); |
| @@ -2840,6 +2846,32 @@ struct UploadArena { | |||
| 2840 | 2846 | ||
| 2841 | constexpr std::size_t kUploadChunkMin = 8 << 20; // one chunk serves a title's whole frame of uploads | 2847 | constexpr std::size_t kUploadChunkMin = 8 << 20; // one chunk serves a title's whole frame of uploads |
| 2842 | 2848 | ||
| 2849 | // LEONIDA_UPLOAD_LOG=1 (diagnostic): each upload chunk (its CPU base, device address and size), and the first 96 and | ||
| 2850 | // then every 8192nd AllocateUploadMemory result as an offset into its chunk, so the addresses the title builds | ||
| 2851 | // descriptors from can be matched with the memory it was handed. | ||
| 2852 | inline bool upload_log() { | ||
| 2853 | static const bool on = [] { | ||
| 2854 | const char* v = std::getenv("LEONIDA_UPLOAD_LOG"); | ||
| 2855 | return v && *v == '1'; | ||
| 2856 | }(); | ||
| 2857 | return on; | ||
| 2858 | } | ||
| 2859 | inline void log_upload_result(const UploadChunk* chunk, std::uint64_t result, std::uint64_t size, | ||
| 2860 | std::uint64_t alignment) { | ||
| 2861 | if (!upload_log() || !chunk) return; | ||
| 2862 | static std::atomic<std::uint64_t> calls{0}; | ||
| 2863 | const std::uint64_t n = ++calls; | ||
| 2864 | if (n > 96 && (n % 8192)) return; | ||
| 2865 | const std::uint64_t base = reinterpret_cast<std::uint64_t>(chunk->cpu_base); | ||
| 2866 | std::fprintf(stderr, | ||
| 2867 | "[rt] upload-log: #%llu result 0x%llx = chunk 0x%llx + offset 0x%llx (size %llu, alignment %llu; " | ||
| 2868 | "chunk device address 0x%llx)\n", | ||
| 2869 | static_cast<unsigned long long>(n), static_cast<unsigned long long>(result), | ||
| 2870 | static_cast<unsigned long long>(base), static_cast<unsigned long long>(result - base), | ||
| 2871 | static_cast<unsigned long long>(size), static_cast<unsigned long long>(alignment), | ||
| 2872 | static_cast<unsigned long long>(chunk->gpu_base)); | ||
| 2873 | } | ||
| 2874 | |||
| 2843 | UploadChunk* upload_chunk_new(DeviceProxy* device, std::size_t size) { | 2875 | UploadChunk* upload_chunk_new(DeviceProxy* device, std::size_t size) { |
| 2844 | auto* chunk = new (std::nothrow) UploadChunk{}; | 2876 | auto* chunk = new (std::nothrow) UploadChunk{}; |
| 2845 | if (!chunk) return nullptr; | 2877 | if (!chunk) return nullptr; |
| @@ -2865,6 +2897,24 @@ UploadChunk* upload_chunk_new(DeviceProxy* device, std::size_t size) { | |||
| 2865 | chunk->resource = resource; | 2897 | chunk->resource = resource; |
| 2866 | chunk->cpu_base = static_cast<std::uint8_t*>(cpu); | 2898 | chunk->cpu_base = static_cast<std::uint8_t*>(cpu); |
| 2867 | chunk->gpu_base = resource->GetGPUVirtualAddress(); | 2899 | chunk->gpu_base = resource->GetGPUVirtualAddress(); |
| 2900 | // LEONIDA_UPLOAD_ALIAS=1 (experiment): the title takes the pointer AllocateUploadMemory hands it for a GPU | ||
| 2901 | // address too (the console's memory is unified) and writes it into the descriptors it builds itself. Entered in | ||
| 2902 | // the title VA table, the chunk's CPU range answers with the chunk's console VA (its device address minus | ||
| 2903 | // heap_base), so a V# the title wrote with such a pointer is rewritten to the chunk instead of left empty. A | ||
| 2904 | // chunk below the arena has a negative console VA, usable in a V# only with LEONIDA_IMPORT_BELOW_ARENA=1. | ||
| 2905 | static const bool alias = [] { | ||
| 2906 | const char* v = std::getenv("LEONIDA_UPLOAD_ALIAS"); | ||
| 2907 | return v && *v == '1'; | ||
| 2908 | }(); | ||
| 2909 | if (alias) { | ||
| 2910 | const bool added = leonida::title_va_aliases().add(reinterpret_cast<std::uint64_t>(chunk->cpu_base), | ||
| 2911 | chunk->size, chunk->gpu_base); | ||
| 2912 | std::fprintf(stderr, "[rt] d3d12_xs: upload chunk 0x%llx (%llu bytes) entered as an alias of console VA " | ||
| 2913 | "0x%llx: %s\n", | ||
| 2914 | static_cast<unsigned long long>(reinterpret_cast<std::uint64_t>(chunk->cpu_base)), | ||
| 2915 | static_cast<unsigned long long>(chunk->size), static_cast<unsigned long long>(chunk->gpu_base), | ||
| 2916 | added ? "ok" : "refused"); | ||
| 2917 | } | ||
| 2868 | return chunk; | 2918 | return chunk; |
| 2869 | } | 2919 | } |
| 2870 | if (resource) resource->Release(); | 2920 | if (resource) resource->Release(); |
| @@ -2912,7 +2962,9 @@ std::uint64_t upload_alloc(DeviceProxy* device, std::uint64_t size, std::uint64_ | |||
| 2912 | const std::size_t aligned = (chunk->used + (alignment - 1)) & ~(static_cast<std::size_t>(alignment) - 1); | 2962 | const std::size_t aligned = (chunk->used + (alignment - 1)) & ~(static_cast<std::size_t>(alignment) - 1); |
| 2913 | if (aligned >= chunk->used && aligned <= chunk->size && need <= chunk->size - aligned) { | 2963 | if (aligned >= chunk->used && aligned <= chunk->size && need <= chunk->size - aligned) { |
| 2914 | chunk->used = aligned + need; | 2964 | chunk->used = aligned + need; |
| 2915 | return reinterpret_cast<std::uint64_t>(chunk->cpu_base + aligned); | 2965 | const std::uint64_t result = reinterpret_cast<std::uint64_t>(chunk->cpu_base + aligned); |
| 2966 | log_upload_result(chunk, result, size, alignment); | ||
| 2967 | return result; | ||
| 2916 | } | 2968 | } |
| 2917 | } | 2969 | } |
| 2918 | const std::size_t chunk_size = need + alignment > kUploadChunkMin ? need + alignment : kUploadChunkMin; | 2970 | const std::size_t chunk_size = need + alignment > kUploadChunkMin ? need + alignment : kUploadChunkMin; |
| @@ -2926,7 +2978,14 @@ std::uint64_t upload_alloc(DeviceProxy* device, std::uint64_t size, std::uint64_ | |||
| 2926 | arena->chunks = chunk; | 2978 | arena->chunks = chunk; |
| 2927 | const std::size_t aligned = (alignment - 1) & ~(static_cast<std::size_t>(alignment) - 1); // 0-based | 2979 | const std::size_t aligned = (alignment - 1) & ~(static_cast<std::size_t>(alignment) - 1); // 0-based |
| 2928 | chunk->used = aligned + need; | 2980 | chunk->used = aligned + need; |
| 2929 | return reinterpret_cast<std::uint64_t>(chunk->cpu_base + aligned); | 2981 | if (upload_log()) |
| 2982 | std::fprintf(stderr, "[rt] upload-log: new chunk at 0x%llx, device address 0x%llx, %llu bytes (%s)\n", | ||
| 2983 | static_cast<unsigned long long>(reinterpret_cast<std::uint64_t>(chunk->cpu_base)), | ||
| 2984 | static_cast<unsigned long long>(chunk->gpu_base), static_cast<unsigned long long>(chunk->size), | ||
| 2985 | chunk->resource ? "mapped upload buffer" : "VirtualAlloc fallback"); | ||
| 2986 | const std::uint64_t result = reinterpret_cast<std::uint64_t>(chunk->cpu_base + aligned); | ||
| 2987 | log_upload_result(chunk, result, size, alignment); | ||
| 2988 | return result; | ||
| 2930 | } | 2989 | } |
| 2931 | 2990 | ||
| 2932 | // An address inside an upload chunk becomes the chunk's device address plus the offset; anything else — a | 2991 | // An address inside an upload chunk becomes the chunk's device address plus the offset; anything else — a |
| @@ -2949,6 +3008,9 @@ void destroy_upload_state(void* upload_state) { | |||
| 2949 | for (UploadChunk* chunk = arena->chunks; chunk;) { | 3008 | for (UploadChunk* chunk = arena->chunks; chunk;) { |
| 2950 | UploadChunk* next = chunk->next; | 3009 | UploadChunk* next = chunk->next; |
| 2951 | if (chunk->resource) { | 3010 | if (chunk->resource) { |
| 3011 | const char* alias = std::getenv("LEONIDA_UPLOAD_ALIAS"); | ||
| 3012 | if (alias && *alias == '1') | ||
| 3013 | leonida::title_va_aliases().remove(reinterpret_cast<std::uint64_t>(chunk->cpu_base), chunk->gpu_base); | ||
| 2952 | chunk->resource->Unmap(0, nullptr); | 3014 | chunk->resource->Unmap(0, nullptr); |
| 2953 | chunk->resource->Release(); | 3015 | chunk->resource->Release(); |
| 2954 | } else { | 3016 | } else { |
diff --git a/runtime/shims/d3d12_xs_list_values.h b/runtime/shims/d3d12_xs_list_values.h index e49eefa98..b4f24bbbb 100644 --- a/runtime/shims/d3d12_xs_list_values.h +++ b/runtime/shims/d3d12_xs_list_values.h | |||
| @@ -31,8 +31,10 @@ | |||
| 31 | // - The thread that signals a gate runs the work the layer held behind it (QueueHolds: the held lists' submission, | 31 | // - The thread that signals a gate runs the work the layer held behind it (QueueHolds: the held lists' submission, |
| 32 | // the shadow refresh, a deferred Present). That is the releaser, a second thread: the pump only decides, so | 32 | // the shadow refresh, a deferred Present). That is the releaser, a second thread: the pump only decides, so |
| 33 | // writes keep landing and other gates keep timing out while held work runs. | 33 | // writes keep landing and other gates keep timing out while held work runs. |
| 34 | // Bounded: a gate is signalled after LEONIDA_VALUE_WAIT_TIMEOUT_MS (default 200 ms) whatever memory holds, counted | 34 | // Bounded: a gate is signalled after LEONIDA_VALUE_WAIT_TIMEOUT_MS (default 200 ms) of idle wait time, counted from |
| 35 | // from when the gates before it on its queue opened, and logged once per address. Short timeouts (4 ms) go to an | 35 | // when the gates before it on its queue opened and paused (up to a finite cap scaled with the gate's own budget) while |
| 36 | // the releaser is running held work, while an acyclic matching producer write is in flight, or while unrelated | ||
| 37 | // unblocked GPU work is running (src/list_value_wait_budget.h); logged once per address. Short timeouts (4 ms) go to an | ||
| 36 | // address that timed out three times in a row, and, once four gates in a row timed out (the title waits for values | 38 | // address that timed out three times in a row, and, once four gates in a row timed out (the title waits for values |
| 37 | // no modelled write stores, a new address each frame), to every wait whose address was never met: a frame then pays | 39 | // no modelled write stores, a new address each frame), to every wait whose address was never met: a frame then pays |
| 38 | // a few milliseconds, not the full timeout, per such wait. A wait cut short is watched for the rest of the full | 40 | // a few milliseconds, not the full timeout, per such wait. A wait cut short is watched for the rest of the full |
| @@ -56,10 +58,12 @@ | |||
| 56 | #include <memory> | 58 | #include <memory> |
| 57 | #include <mutex> | 59 | #include <mutex> |
| 58 | #include <new> | 60 | #include <new> |
| 61 | #include <span> | ||
| 59 | #include <utility> | 62 | #include <utility> |
| 60 | #include <vector> | 63 | #include <vector> |
| 61 | 64 | ||
| 62 | #include "d3d12_xs_device.h" // console_value_met, ListValueStats | 65 | #include "d3d12_xs_device.h" // console_value_met, ListValueStats |
| 66 | #include "../src/list_value_wait_budget.h" // leonida::list_value_wait: work-aware timeout clock & producer graph | ||
| 63 | #include "../src/title_page_watch.h" // leonida::kernel_writes::store | 67 | #include "../src/title_page_watch.h" // leonida::kernel_writes::store |
| 64 | #include "../src/value_write_sink.h" // leonida::value_sink: the arena and xmem's PAGE_NOACCESS pages | 68 | #include "../src/value_write_sink.h" // leonida::value_sink: the arena and xmem's PAGE_NOACCESS pages |
| 65 | 69 | ||
| @@ -362,7 +366,8 @@ public: | |||
| 362 | if (writes.empty() || exiting_.load(std::memory_order_relaxed)) return; // stop(): see there | 366 | if (writes.empty() || exiting_.load(std::memory_order_relaxed)) return; // stop(): see there |
| 363 | { | 367 | { |
| 364 | std::lock_guard lock(mutex_); | 368 | std::lock_guard lock(mutex_); |
| 365 | writes_.push_back({std::move(queue), value, std::move(writes)}); | 369 | const std::uint64_t after_gate = max_pending_gate_locked(queue.get()); |
| 370 | writes_.push_back({std::move(queue), value, std::move(writes), after_gate}); | ||
| 366 | } | 371 | } |
| 367 | start_or_settle(); | 372 | start_or_settle(); |
| 368 | } | 373 | } |
| @@ -396,7 +401,7 @@ public: | |||
| 396 | gate.value = value; | 401 | gate.value = value; |
| 397 | gate.started = true; | 402 | gate.started = true; |
| 398 | gate.since = Clock::now(); | 403 | gate.since = Clock::now(); |
| 399 | gate.deadline = Clock::time_point::max(); | 404 | gate.last_tick = gate.since; |
| 400 | gate.after = after; | 405 | gate.after = after; |
| 401 | gate.action = std::move(action); | 406 | gate.action = std::move(action); |
| 402 | gates_.push_back(std::move(gate)); | 407 | gates_.push_back(std::move(gate)); |
| @@ -502,13 +507,15 @@ private: | |||
| 502 | std::shared_ptr<QueueValues> queue; | 507 | std::shared_ptr<QueueValues> queue; |
| 503 | std::uint64_t value; | 508 | std::uint64_t value; |
| 504 | std::vector<Write> writes; | 509 | std::vector<Write> writes; |
| 510 | std::uint64_t after_gate = 0; // highest pending gate value on `queue` ahead of this write group | ||
| 505 | }; | 511 | }; |
| 506 | struct Gate { | 512 | struct Gate { |
| 507 | std::shared_ptr<QueueValues> queue; | 513 | std::shared_ptr<QueueValues> queue; |
| 508 | std::uint64_t value = 0; | 514 | std::uint64_t value = 0; |
| 509 | std::vector<Wait> waits; | 515 | std::vector<Wait> waits; |
| 510 | Clock::time_point deadline; // set by start_gate | 516 | leonida::list_value_wait::GateTimeoutState timeout{}; // work-aware timeout clock (set by start_gate) |
| 511 | Clock::time_point since; | 517 | Clock::time_point last_tick{}; |
| 518 | Clock::time_point since{}; | ||
| 512 | bool started = false; // the gates before it on its queue have opened: its time runs | 519 | bool started = false; // the gates before it on its queue have opened: its time runs |
| 513 | bool cut_short = false; // given the short timeout | 520 | bool cut_short = false; // given the short timeout |
| 514 | std::uint64_t after = 0; // action gates: the queue's `written` value the action runs behind | 521 | std::uint64_t after = 0; // action gates: the queue's `written` value the action runs behind |
| @@ -632,12 +639,21 @@ private: | |||
| 632 | releasing_ = true; | 639 | releasing_ = true; |
| 633 | } | 640 | } |
| 634 | SetEvent(wake_); // the pump may be in an untimed wait: it watches the Signals from here on | 641 | SetEvent(wake_); // the pump may be in an untimed wait: it watches the Signals from here on |
| 642 | struct PendingReleaseGuard { | ||
| 643 | std::atomic<std::size_t>* count; | ||
| 644 | std::size_t remaining; | ||
| 645 | ~PendingReleaseGuard() { | ||
| 646 | if (remaining) count->fetch_sub(remaining, std::memory_order_release); | ||
| 647 | } | ||
| 648 | } pending_guard{&pending_releases_, batch.size()}; | ||
| 635 | for (Release& release : batch) { | 649 | for (Release& release : batch) { |
| 636 | if (stop_.load(std::memory_order_relaxed)) break; | 650 | if (stop_.load(std::memory_order_relaxed)) break; |
| 637 | signal_value_.store(release.value, std::memory_order_relaxed); | 651 | signal_value_.store(release.value, std::memory_order_relaxed); |
| 638 | signal_since_ms_.store(GetTickCount64() | 1, std::memory_order_relaxed); // never 0 while inside | 652 | signal_since_ms_.store(GetTickCount64() | 1, std::memory_order_relaxed); // never 0 while inside |
| 639 | signal(release); | 653 | signal(release); |
| 640 | signal_since_ms_.store(0, std::memory_order_relaxed); | 654 | signal_since_ms_.store(0, std::memory_order_relaxed); |
| 655 | pending_releases_.fetch_sub(1, std::memory_order_release); | ||
| 656 | --pending_guard.remaining; | ||
| 641 | } | 657 | } |
| 642 | std::lock_guard lock(release_mutex_); | 658 | std::lock_guard lock(release_mutex_); |
| 643 | releasing_ = false; | 659 | releasing_ = false; |
| @@ -721,36 +737,114 @@ private: | |||
| 721 | writes_.swap(rest); | 737 | writes_.swap(rest); |
| 722 | } | 738 | } |
| 723 | 739 | ||
| 724 | // The gates whose waits are met, whose time is up or whose action's turn has come, taken off the list in each | 740 | // Highest pending gate value currently in `gates_` for `queue` (0 if none). Called with mutex_ held. |
| 741 | std::uint64_t max_pending_gate_locked(const QueueValues* queue) const { | ||
| 742 | std::uint64_t highest = 0; | ||
| 743 | for (const Gate& g : gates_) | ||
| 744 | if (g.queue.get() == queue && g.value > highest) highest = g.value; | ||
| 745 | return highest; | ||
| 746 | } | ||
| 747 | |||
| 748 | // The gates whose waits are met, whose idle time is up or whose action's turn has come, taken off the list in each | ||
| 725 | // queue's order (a queue's gate values rise in submission order, so a later one must not be signalled first: it | 749 | // queue's order (a queue's gate values rise in submission order, so a later one must not be signalled first: it |
| 726 | // would open the earlier one too). `force` (no threads): every gate, now. Called with mutex_ held. | 750 | // would open the earlier one too). A memory gate's timeout clock pauses while held work is being released, while |
| 727 | void take_open(bool force, std::vector<Release>& opening) { | 751 | // an acyclic matching producer write is in flight, or (up to a cap) while unrelated unblocked GPU work is running |
| 728 | std::vector<const QueueValues*> blocked; | 752 | // (src/list_value_wait_budget.h). `force` (no threads): every gate, now. Called with mutex_ held. |
| 753 | void take_open(bool force, bool landed_any, std::vector<Release>& opening) { | ||
| 754 | if (gates_.empty()) return; | ||
| 729 | const auto now = Clock::now(); | 755 | const auto now = Clock::now(); |
| 730 | for (auto it = gates_.begin(); it != gates_.end();) { | 756 | namespace lvw = leonida::list_value_wait; |
| 731 | const QueueValues* queue = it->queue.get(); | 757 | |
| 732 | if (std::find(blocked.begin(), blocked.end(), queue) != blocked.end()) { | 758 | // Build the lightweight producer/gate dependency view lazily only if a started memory gate is still unmet. |
| 733 | ++it; | 759 | bool graph_built = false; |
| 734 | continue; | 760 | std::vector<lvw::PendingWrite> flat_writes; |
| 761 | std::vector<lvw::PendingWriteGroup> view_writes; | ||
| 762 | std::vector<lvw::WaitPredicate> flat_waits; | ||
| 763 | std::vector<lvw::PendingGate> view_gates; | ||
| 764 | std::vector<std::pair<std::size_t, std::size_t>> gate_wait_ranges; // (offset, count) into flat_waits | ||
| 765 | const auto ensure_graph = [&] { | ||
| 766 | if (graph_built) return; | ||
| 767 | graph_built = true; | ||
| 768 | std::size_t total_writes = 0; | ||
| 769 | for (const WriteGroup& wg : writes_) total_writes += wg.writes.size(); | ||
| 770 | flat_writes.reserve(total_writes); | ||
| 771 | view_writes.reserve(writes_.size()); | ||
| 772 | for (const WriteGroup& wg : writes_) { | ||
| 773 | const std::size_t start = flat_writes.size(); | ||
| 774 | for (const Write& w : wg.writes) | ||
| 775 | flat_writes.push_back({w.address, w.value, w.bytes, w.kind != WriteKind::value}); | ||
| 776 | view_writes.push_back({wg.queue.get(), wg.after_gate, | ||
| 777 | std::span<const lvw::PendingWrite>(flat_writes).subspan(start, wg.writes.size())}); | ||
| 778 | } | ||
| 779 | std::size_t total_waits = 0; | ||
| 780 | for (const Gate& g : gates_) | ||
| 781 | if (!g.action) total_waits += g.waits.size(); | ||
| 782 | flat_waits.reserve(total_waits); | ||
| 783 | gate_wait_ranges.reserve(gates_.size()); | ||
| 784 | for (const Gate& g : gates_) { | ||
| 785 | const std::size_t start = flat_waits.size(); | ||
| 786 | if (!g.action) { | ||
| 787 | for (const Wait& w : g.waits) | ||
| 788 | if (!met_now(w)) flat_waits.push_back({w.address, w.reference, w.comparison, w.wide}); | ||
| 789 | } | ||
| 790 | gate_wait_ranges.emplace_back(start, flat_waits.size() - start); | ||
| 791 | } | ||
| 792 | view_gates.reserve(gates_.size()); | ||
| 793 | for (std::size_t i = 0; i < gates_.size(); ++i) { | ||
| 794 | const auto [off, cnt] = gate_wait_ranges[i]; | ||
| 795 | view_gates.push_back({gates_[i].queue.get(), gates_[i].value, static_cast<bool>(gates_[i].action), | ||
| 796 | std::span<const lvw::WaitPredicate>(flat_waits).subspan(off, cnt)}); | ||
| 735 | } | 797 | } |
| 798 | }; | ||
| 799 | |||
| 800 | std::vector<const QueueValues*> blocked; | ||
| 801 | std::vector<bool> opened(gates_.size(), false); | ||
| 802 | for (std::size_t idx = 0; idx < gates_.size(); ++idx) { | ||
| 803 | Gate& gate = gates_[idx]; | ||
| 804 | const QueueValues* queue = gate.queue.get(); | ||
| 805 | if (std::find(blocked.begin(), blocked.end(), queue) != blocked.end()) continue; | ||
| 736 | bool open = force; | 806 | bool open = force; |
| 737 | if (it->action) { | 807 | if (gate.action) { |
| 738 | open = open || queue->written->GetCompletedValue() >= it->after; | 808 | open = open || queue->written->GetCompletedValue() >= gate.after; |
| 739 | } else { | 809 | } else { |
| 740 | if (!it->started) start_gate(*it, now); | 810 | if (!gate.started) start_gate(gate, now); |
| 741 | bool met = true; | 811 | bool met = true; |
| 742 | for (const Wait& wait : it->waits) met = met && met_now(wait); | 812 | for (const Wait& wait : gate.waits) met = met && met_now(wait); |
| 743 | open = open || met || now >= it->deadline; | 813 | bool timed_out = false; |
| 744 | if (open) note_outcome(*it, met || force); | 814 | if (!open && !met) { |
| 815 | const std::uint64_t dt_us = | ||
| 816 | now > gate.last_tick | ||
| 817 | ? static_cast<std::uint64_t>( | ||
| 818 | std::chrono::duration_cast<std::chrono::microseconds>(now - gate.last_tick).count()) | ||
| 819 | : 0u; | ||
| 820 | gate.last_tick = now; | ||
| 821 | const bool releaser_busy = | ||
| 822 | landed_any || !opening.empty() || pending_releases_.load(std::memory_order_acquire) != 0; | ||
| 823 | lvw::PauseReason reason = lvw::PauseReason::releaser_busy; | ||
| 824 | if (!releaser_busy) { | ||
| 825 | ensure_graph(); | ||
| 826 | reason = lvw::pause_reason(false, view_writes, view_gates, idx, console_value_met); | ||
| 827 | } | ||
| 828 | timed_out = gate.timeout.advance(dt_us, reason); | ||
| 829 | } else { | ||
| 830 | gate.last_tick = now; | ||
| 831 | } | ||
| 832 | open = open || met || timed_out; | ||
| 833 | if (open) note_outcome(gate, met || force, now); | ||
| 745 | } | 834 | } |
| 746 | if (open) { | 835 | if (open) { |
| 747 | opening.push_back({std::move(it->queue), it->value, std::move(it->action)}); | 836 | opening.push_back({std::move(gate.queue), gate.value, std::move(gate.action)}); |
| 748 | it = gates_.erase(it); | 837 | opened[idx] = true; |
| 749 | } else { | 838 | } else { |
| 750 | blocked.push_back(queue); | 839 | blocked.push_back(queue); |
| 751 | ++it; | ||
| 752 | } | 840 | } |
| 753 | } | 841 | } |
| 842 | if (!opening.empty()) { | ||
| 843 | std::deque<Gate> rest; | ||
| 844 | for (std::size_t idx = 0; idx < gates_.size(); ++idx) | ||
| 845 | if (!opened[idx]) rest.push_back(std::move(gates_[idx])); | ||
| 846 | gates_.swap(rest); | ||
| 847 | } | ||
| 754 | } | 848 | } |
| 755 | 849 | ||
| 756 | // Writes landed, then gates opened: the pump's one step. `force` runs on the caller's thread when the threads do | 850 | // Writes landed, then gates opened: the pump's one step. `force` runs on the caller's thread when the threads do |
| @@ -763,12 +857,15 @@ private: | |||
| 763 | busy_ = true; | 857 | busy_ = true; |
| 764 | take_landed(force, landing); | 858 | take_landed(force, landing); |
| 765 | } | 859 | } |
| 860 | const bool landed_any = !landing.empty(); | ||
| 766 | for (const WriteGroup& group : landing) land(group); | 861 | for (const WriteGroup& group : landing) land(group); |
| 767 | std::vector<Release> opening; | 862 | std::vector<Release> opening; |
| 768 | { | 863 | { |
| 769 | std::lock_guard lock(mutex_); | 864 | std::lock_guard lock(mutex_); |
| 770 | watch_late(); | 865 | watch_late(); |
| 771 | take_open(force, opening); | 866 | take_open(force, landed_any, opening); |
| 867 | if (!force && !opening.empty()) | ||
| 868 | pending_releases_.fetch_add(opening.size(), std::memory_order_release); | ||
| 772 | } | 869 | } |
| 773 | if (!opening.empty()) { | 870 | if (!opening.empty()) { |
| 774 | if (force) { | 871 | if (force) { |
| @@ -919,7 +1016,10 @@ private: | |||
| 919 | gate.started = true; | 1016 | gate.started = true; |
| 920 | gate.cut_short = cut_short; | 1017 | gate.cut_short = cut_short; |
| 921 | gate.since = now; | 1018 | gate.since = now; |
| 922 | gate.deadline = now + std::chrono::milliseconds(cut_short ? kDemotedTimeoutMs : full); | 1019 | gate.last_tick = now; |
| 1020 | const unsigned gate_ms = cut_short ? kDemotedTimeoutMs : full; | ||
| 1021 | const auto caps = leonida::list_value_wait::default_pause_caps(gate_ms, cut_short); | ||
| 1022 | gate.timeout.reset(static_cast<std::uint64_t>(gate_ms) * 1000u, caps.active_us, caps.max_us); | ||
| 923 | } | 1023 | } |
| 924 | 1024 | ||
| 925 | // A wait for `address` was met (in time, or late): the address has met history and its timeouts in a row end. | 1025 | // A wait for `address` was met (in time, or late): the address has met history and its timeouts in a row end. |
| @@ -961,15 +1061,15 @@ private: | |||
| 961 | } | 1061 | } |
| 962 | 1062 | ||
| 963 | // Called with mutex_ held. | 1063 | // Called with mutex_ held. |
| 964 | void note_outcome(const Gate& gate, bool met) { | 1064 | void note_outcome(const Gate& gate, bool met, Clock::time_point now) { |
| 965 | if (met) { | 1065 | if (met) { |
| 966 | bump(counters().gates_met); | 1066 | bump(counters().gates_met); |
| 967 | timeouts_in_a_row_ = 0; | 1067 | timeouts_in_a_row_ = 0; |
| 968 | for (const Wait& wait : gate.waits) note_met(wait.address); | 1068 | for (const Wait& wait : gate.waits) note_met(wait.address); |
| 969 | if (gate.cut_short && !gate.waits.empty()) lift_demotion(gate.waits.front().address); | 1069 | if (gate.cut_short && !gate.waits.empty()) lift_demotion(gate.waits.front().address); |
| 970 | if (logged_met_ < 4) { // the first few, to show the model at work in a boot log | 1070 | if (logged_met_ < 4 && !gate.waits.empty()) { // the first few, to show the model at work in a boot log |
| 971 | ++logged_met_; | 1071 | ++logged_met_; |
| 972 | const double ms = std::chrono::duration<double, std::milli>(Clock::now() - gate.since).count(); | 1072 | const double ms = std::chrono::duration<double, std::milli>(now - gate.since).count(); |
| 973 | std::fprintf(stderr, "[rt] d3d12_xs: a queue's wait for 0x%llx was met after %.2f ms\n", | 1073 | std::fprintf(stderr, "[rt] d3d12_xs: a queue's wait for 0x%llx was met after %.2f ms\n", |
| 974 | static_cast<unsigned long long>(gate.waits.front().address), ms); | 1074 | static_cast<unsigned long long>(gate.waits.front().address), ms); |
| 975 | } | 1075 | } |
| @@ -990,14 +1090,14 @@ private: | |||
| 990 | for (const Wait& wait : gate.waits) { | 1090 | for (const Wait& wait : gate.waits) { |
| 991 | if (met_now(wait)) continue; | 1091 | if (met_now(wait)) continue; |
| 992 | if (gate.cut_short && !watched && late_.size() < kMaxLate) { | 1092 | if (gate.cut_short && !watched && late_.size() < kMaxLate) { |
| 993 | late_.push_back({wait, gate.since + std::chrono::milliseconds(full)}); | 1093 | late_.push_back({wait, now + std::chrono::milliseconds(full)}); |
| 994 | watched = true; | 1094 | watched = true; |
| 995 | } | 1095 | } |
| 996 | Streak* streak = find_streak(wait.address); | 1096 | Streak* streak = find_streak(wait.address); |
| 997 | if (!streak) streak = add_streak(wait.address); | 1097 | if (!streak) streak = add_streak(wait.address); |
| 998 | ++streak->timeouts; | 1098 | ++streak->timeouts; |
| 999 | std::uint64_t now = 0; | 1099 | std::uint64_t current = 0; |
| 1000 | read_value(wait.address, wait.wide, now); | 1100 | read_value(wait.address, wait.wide, current); |
| 1001 | if (!streak->logged) { | 1101 | if (!streak->logged) { |
| 1002 | streak->logged = true; | 1102 | streak->logged = true; |
| 1003 | static std::atomic<unsigned> addresses{0}; | 1103 | static std::atomic<unsigned> addresses{0}; |
| @@ -1008,7 +1108,7 @@ private: | |||
| 1008 | gate.cut_short ? kDemotedTimeoutMs : full, | 1108 | gate.cut_short ? kDemotedTimeoutMs : full, |
| 1009 | static_cast<unsigned long long>(wait.address), wait.wide ? 64u : 32u, | 1109 | static_cast<unsigned long long>(wait.address), wait.wide ? 64u : 32u, |
| 1010 | wait.comparison, static_cast<unsigned long long>(wait.reference), | 1110 | wait.comparison, static_cast<unsigned long long>(wait.reference), |
| 1011 | static_cast<unsigned long long>(now)); | 1111 | static_cast<unsigned long long>(current)); |
| 1012 | } | 1112 | } |
| 1013 | if (streak->timeouts == kDemoteAfter) { | 1113 | if (streak->timeouts == kDemoteAfter) { |
| 1014 | static std::atomic<unsigned> demoted{0}; | 1114 | static std::atomic<unsigned> demoted{0}; |
| @@ -1041,6 +1141,7 @@ private: | |||
| 1041 | std::condition_variable release_ready_; | 1141 | std::condition_variable release_ready_; |
| 1042 | std::deque<Release> releases_; | 1142 | std::deque<Release> releases_; |
| 1043 | bool releasing_ = false; | 1143 | bool releasing_ = false; |
| 1144 | std::atomic<std::size_t> pending_releases_{0}; // queued + active releases, read lock-free in take_open() | ||
| 1044 | std::atomic<std::uint64_t> signal_since_ms_{0}; // GetTickCount64 when the releaser's current Signal began, or 0 | 1145 | std::atomic<std::uint64_t> signal_since_ms_{0}; // GetTickCount64 when the releaser's current Signal began, or 0 |
| 1045 | std::atomic<std::uint64_t> signal_value_{0}; | 1146 | std::atomic<std::uint64_t> signal_value_{0}; |
| 1046 | std::atomic<DWORD> releaser_tid_{0}; | 1147 | std::atomic<DWORD> releaser_tid_{0}; |
diff --git a/runtime/shims/dstorage.cpp b/runtime/shims/dstorage.cpp index fe800fe68..103a5c9df 100644 --- a/runtime/shims/dstorage.cpp +++ b/runtime/shims/dstorage.cpp | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | // it has. Completion is therefore in queue order, as the API guarantees. | 10 | // it has. Completion is therefore in queue order, as the API guarantees. |
| 11 | // - Compressed requests stage RFC 1950 inflate, BCPack BC block reconstruction and DirectStorage | 11 | // - Compressed requests stage RFC 1950 inflate, BCPack BC block reconstruction and DirectStorage |
| 12 | // macro-unshuffle before publishing the destination. Physical page numbers resolve in xmem at execution. | 12 | // macro-unshuffle before publishing the destination. Physical page numbers resolve in xmem at execution. |
| 13 | // - A queue half full submits itself, but a read into physical pages and everything enqueued behind it wait for | ||
| 14 | // the title's own Submit: the title may fill the page list only then (hold_pages below). | ||
| 13 | // Nothing here goes online or touches the GPU. | 15 | // Nothing here goes online or touches the GPU. |
| 14 | #include <windows.h> | 16 | #include <windows.h> |
| 15 | #include <d3d12.h> | 17 | #include <d3d12.h> |
| @@ -38,6 +40,7 @@ | |||
| 38 | #include "../src/shader_directory.h" | 40 | #include "../src/shader_directory.h" |
| 39 | #include "../src/dstorage_swizzle.h" | 41 | #include "../src/dstorage_swizzle.h" |
| 40 | #include "../src/dstorage_trace.h" | 42 | #include "../src/dstorage_trace.h" |
| 43 | #include "../src/dstorage_hold.h" | ||
| 41 | #include "dstorage_xs_abi.h" | 44 | #include "dstorage_xs_abi.h" |
| 42 | #include "dstorage_staging.h" | 45 | #include "dstorage_staging.h" |
| 43 | #include "startup_trace.h" | 46 | #include "startup_trace.h" |
| @@ -542,6 +545,47 @@ HRESULT read_file_range(HANDLE handle, uint64_t offset, void* destination, uint3 | |||
| 542 | return S_OK; | 545 | return S_OK; |
| 543 | } | 546 | } |
| 544 | 547 | ||
| 548 | // ---- Reads into physical pages wait for the title's Submit ------------------------------------------------------- | ||
| 549 | // | ||
| 550 | // A request into physical pages names them through a pointer into the title's own page-number table, and a title may | ||
| 551 | // fill that table for a batch only in its submit path, right before Submit. A queue that submits itself at half its | ||
| 552 | // capacity then starts such a read early: it finds page 0 and fails, or finds the number the slot held before and | ||
| 553 | // writes the data into a page that now belongs to something else, with no error at all. So a self-submit stops at | ||
| 554 | // the first read into physical pages: that read and every entry behind it (the queue completes in order) wait for | ||
| 555 | // the title's Submit. A full queue still submits everything, since the title cannot call Submit while it waits in an | ||
| 556 | // enqueue, and Close does as before. The idea is from VIctory (Marvisak/VIctory eddde73, carried in | ||
| 557 | // fxceless/victory-fork 79cfdd9); the code here is written anew for this queue. | ||
| 558 | // | ||
| 559 | // LEONIDA_DSTORAGE_HOLD_PAGES=0 restores the old self-submit of everything. A hold has a time limit, so that a | ||
| 560 | // title path that never calls Submit and counted on the self-submit cannot stall for good: held entries that have | ||
| 561 | // waited LEONIDA_DSTORAGE_HOLD_MS milliseconds (2000 unless set) are submitted, page lists as they are, and counted | ||
| 562 | // as a timed release. 0 is no limit: they wait for Submit, however long. Both are read when a queue is created. | ||
| 563 | constexpr uint32_t kDefaultHoldMs = 2000; | ||
| 564 | |||
| 565 | uint32_t environment_number(const wchar_t* name, uint32_t fallback) { | ||
| 566 | wchar_t value[16]{}; | ||
| 567 | const DWORD n = GetEnvironmentVariableW(name, value, 16); | ||
| 568 | if (n == 0 || n >= 16) return fallback; | ||
| 569 | wchar_t* end = nullptr; | ||
| 570 | const unsigned long parsed = std::wcstoul(value, &end, 10); | ||
| 571 | return end && *end == 0 ? static_cast<uint32_t>(parsed) : fallback; | ||
| 572 | } | ||
| 573 | |||
| 574 | // One line with every counter, at each power of two of the counter that moved: countable in a truncated log | ||
| 575 | // without a line per event. | ||
| 576 | void log_hold(const char* event, uint64_t n, unsigned capacity, size_t held_now) { | ||
| 577 | if (n & (n - 1)) return; | ||
| 578 | const auto& h = leonida::dstorage::hold_stats(); | ||
| 579 | std::lock_guard lock(log_mutex()); | ||
| 580 | std::fprintf(stderr, "[rt] ds-hold event=%s self_submits=%llu held_reads=%llu full_releases=%llu " | ||
| 581 | "timed_releases=%llu page0_entries=%llu capacity=%u held_now=%zu\n", event, | ||
| 582 | static_cast<unsigned long long>(h.self_submits.load()), | ||
| 583 | static_cast<unsigned long long>(h.held_reads.load()), | ||
| 584 | static_cast<unsigned long long>(h.full_releases.load()), | ||
| 585 | static_cast<unsigned long long>(h.timed_releases.load()), | ||
| 586 | static_cast<unsigned long long>(h.page0_entries.load()), capacity, held_now); | ||
| 587 | } | ||
| 588 | |||
| 545 | // ---- Queues ------------------------------------------------------------------------------------------------------- | 589 | // ---- Queues ------------------------------------------------------------------------------------------------------- |
| 546 | 590 | ||
| 547 | // Only sampled when request tracing is enabled. Times include work done by the file/decode worker. | 591 | // Only sampled when request tracing is enabled. Times include work done by the file/decode worker. |
| @@ -576,7 +620,10 @@ struct Entry { | |||
| 576 | 620 | ||
| 577 | class Queue final : public IDStorageQueueX2 { | 621 | class Queue final : public IDStorageQueueX2 { |
| 578 | public: | 622 | public: |
| 579 | explicit Queue(const DSTORAGE_QUEUE_DESC1& desc) : desc_(desc) { | 623 | explicit Queue(const DSTORAGE_QUEUE_DESC1& desc) |
| 624 | : desc_(desc), | ||
| 625 | hold_pages_(environment_number(L"LEONIDA_DSTORAGE_HOLD_PAGES", 1) != 0), | ||
| 626 | hold_release_ms_(environment_number(L"LEONIDA_DSTORAGE_HOLD_MS", kDefaultHoldMs)) { | ||
| 580 | error_event_ = CreateEventW(nullptr, TRUE, FALSE, nullptr); | 627 | error_event_ = CreateEventW(nullptr, TRUE, FALSE, nullptr); |
| 581 | clear_record_locked(); | 628 | clear_record_locked(); |
| 582 | std::lock_guard lock(stats().mutex); | 629 | std::lock_guard lock(stats().mutex); |
| @@ -781,15 +828,64 @@ private: | |||
| 781 | bool auto_submit() const { return !desc_.Options.AutoSubmitDisabled; } | 828 | bool auto_submit() const { return !desc_.Options.AutoSubmitDisabled; } |
| 782 | size_t used_locked() const { return entries_.size() + in_flight_; } | 829 | size_t used_locked() const { return entries_.size() + in_flight_; } |
| 783 | 830 | ||
| 831 | // A read into physical pages: its page list may not be filled before the title's Submit (hold_pages above). | ||
| 832 | static bool into_pages(const Entry& e) { | ||
| 833 | return e.type == Entry::Type::Request && (e.request.Options.AsUINT64 & options::kDestinationPages) != 0; | ||
| 834 | } | ||
| 835 | |||
| 836 | // The queue has reached half its capacity and holds nothing yet. Submits up to the first read into physical | ||
| 837 | // pages, which waits with everything behind it for the title's Submit. | ||
| 838 | void self_submit_locked() { | ||
| 839 | auto& h = leonida::dstorage::hold_stats(); | ||
| 840 | if (!hold_pages_) { | ||
| 841 | log_hold("self-submit", ++h.self_submits, desc_.Capacity, 0); | ||
| 842 | submit_locked(); | ||
| 843 | return; | ||
| 844 | } | ||
| 845 | size_t end = submitted_; | ||
| 846 | while (end < entries_.size() && !into_pages(entries_[end])) ++end; | ||
| 847 | if (end < entries_.size()) { | ||
| 848 | uint64_t reads = 0; | ||
| 849 | for (size_t i = end; i < entries_.size(); ++i) reads += into_pages(entries_[i]); | ||
| 850 | h.held_reads += reads; | ||
| 851 | holding_ = true; | ||
| 852 | hold_warned_ = false; | ||
| 853 | held_since_ = std::chrono::steady_clock::now(); | ||
| 854 | } | ||
| 855 | const size_t held_now = entries_.size() - end; | ||
| 856 | const bool hold = holding_; // submit_locked ends a hold when it submits everything | ||
| 857 | submit_locked(end); | ||
| 858 | holding_ = hold; | ||
| 859 | if (holding_) work_.notify_one(); // the worker starts timing the hold | ||
| 860 | log_hold("self-submit", ++h.self_submits, desc_.Capacity, held_now); | ||
| 861 | } | ||
| 862 | |||
| 784 | void enqueue(Entry&& e) { | 863 | void enqueue(Entry&& e) { |
| 785 | { | 864 | { |
| 786 | std::unique_lock lock(mutex_); | 865 | std::unique_lock lock(mutex_); |
| 787 | // A full queue waits for the worker to free a slot. With auto-submit on, half the queue is always | 866 | // A full queue waits for the worker to free a slot. With auto-submit on, half the queue was submitted |
| 788 | // submitted by then; with it off, only a Submit from another thread frees one (as the reference warns). | 867 | // by then, except what is held for the title's Submit: the title cannot make that call while it waits |
| 789 | space_.wait(lock, [&] { return closing_ || used_locked() < usable(); }); | 868 | // here, so a full queue submits the held entries too, page lists as they are. With auto-submit off, |
| 869 | // only a Submit from another thread frees a slot (as the reference warns). | ||
| 870 | space_.wait(lock, [&] { | ||
| 871 | if (closing_ || used_locked() < usable()) return true; | ||
| 872 | if (holding_) { | ||
| 873 | const size_t held_now = entries_.size() - submitted_; | ||
| 874 | submit_locked(); | ||
| 875 | log_hold("full-queue", ++leonida::dstorage::hold_stats().full_releases, desc_.Capacity, held_now); | ||
| 876 | log_once("full-hold", "a full queue submitted reads into physical pages before the title's " | ||
| 877 | "Submit (their page lists may not be filled yet)"); | ||
| 878 | } | ||
| 879 | return false; | ||
| 880 | }); | ||
| 790 | if (!closing_) { | 881 | if (!closing_) { |
| 791 | entries_.push_back(std::move(e)); | 882 | entries_.push_back(std::move(e)); |
| 792 | if (auto_submit() && entries_.size() - submitted_ >= half()) submit_locked(); | 883 | if (holding_) { |
| 884 | // Behind a held read: it waits with it, whatever it is. No second self-submit until the hold ends. | ||
| 885 | if (into_pages(entries_.back())) ++leonida::dstorage::hold_stats().held_reads; | ||
| 886 | } else if (auto_submit() && entries_.size() - submitted_ >= half()) { | ||
| 887 | self_submit_locked(); | ||
| 888 | } | ||
| 793 | return; | 889 | return; |
| 794 | } | 890 | } |
| 795 | } | 891 | } |
| @@ -801,10 +897,16 @@ private: | |||
| 801 | release_references(e); | 897 | release_references(e); |
| 802 | } | 898 | } |
| 803 | 899 | ||
| 804 | void submit_locked() { | 900 | // Submits the entries before "end". Without one it submits all of them and ends a hold: the title's Submit, a |
| 901 | // full queue, Close, a hold that ran out of time. | ||
| 902 | void submit_locked(size_t end = SIZE_MAX) { | ||
| 903 | if (end >= entries_.size()) { | ||
| 904 | end = entries_.size(); | ||
| 905 | holding_ = false; | ||
| 906 | } | ||
| 805 | uint32_t requests = 0; | 907 | uint32_t requests = 0; |
| 806 | uint64_t source_bytes = 0, destination_bytes = 0; | 908 | uint64_t source_bytes = 0, destination_bytes = 0; |
| 807 | for (size_t i = submitted_; i < entries_.size(); ++i) { | 909 | for (size_t i = submitted_; i < end; ++i) { |
| 808 | Entry& e = entries_[i]; | 910 | Entry& e = entries_[i]; |
| 809 | if (e.file) e.file_counted = e.file->add_pending(); | 911 | if (e.file) e.file_counted = e.file->add_pending(); |
| 810 | if (e.counted) { | 912 | if (e.counted) { |
| @@ -820,12 +922,49 @@ private: | |||
| 820 | p.TotalRequestSourceByteCount += source_bytes; | 922 | p.TotalRequestSourceByteCount += source_bytes; |
| 821 | p.TotalRequestDestinationByteCount += destination_bytes; | 923 | p.TotalRequestDestinationByteCount += destination_bytes; |
| 822 | } | 924 | } |
| 823 | if (entries_.size() > submitted_) { | 925 | if (end > submitted_) { |
| 824 | submitted_ = entries_.size(); | 926 | submitted_ = end; |
| 825 | work_.notify_one(); | 927 | work_.notify_one(); |
| 826 | } | 928 | } |
| 827 | } | 929 | } |
| 828 | 930 | ||
| 931 | // How long the worker sleeps before it looks at a hold again: until the time limit runs out, a quarter of a | ||
| 932 | // second at most (and exactly that without a limit, for the five-second line). | ||
| 933 | std::chrono::milliseconds hold_wait_locked() const { | ||
| 934 | long long ms = 250; | ||
| 935 | if (hold_release_ms_) { | ||
| 936 | const auto waited = std::chrono::duration_cast<std::chrono::milliseconds>( | ||
| 937 | std::chrono::steady_clock::now() - held_since_).count(); | ||
| 938 | ms = std::clamp<long long>(static_cast<long long>(hold_release_ms_) - waited, 1, 250); | ||
| 939 | } | ||
| 940 | return std::chrono::milliseconds(ms); | ||
| 941 | } | ||
| 942 | |||
| 943 | // On the worker while entries are held: a hold with a time limit ends when it runs out (a timed release), and | ||
| 944 | // one without says once that it has lasted five seconds (a title that never calls Submit would show up as this | ||
| 945 | // line and nothing after it). | ||
| 946 | void hold_tick_locked() { | ||
| 947 | if (!holding_) return; | ||
| 948 | const auto waited = std::chrono::duration_cast<std::chrono::milliseconds>( | ||
| 949 | std::chrono::steady_clock::now() - held_since_).count(); | ||
| 950 | const size_t held_now = entries_.size() - submitted_; | ||
| 951 | if (hold_release_ms_ && waited >= static_cast<long long>(hold_release_ms_)) { | ||
| 952 | submit_locked(); | ||
| 953 | log_hold("timed", ++leonida::dstorage::hold_stats().timed_releases, desc_.Capacity, held_now); | ||
| 954 | log_once("timed-hold", "timed release: reads into physical pages held for the title's Submit were " | ||
| 955 | "submitted after LEONIDA_DSTORAGE_HOLD_MS without one (their page lists may " | ||
| 956 | "not be filled; the ds-hold line counts these)"); | ||
| 957 | } else if (waited >= 5000 && !hold_warned_) { | ||
| 958 | hold_warned_ = true; | ||
| 959 | std::lock_guard lock(log_mutex()); | ||
| 960 | std::fprintf(stderr, "[rt] dstorage: %zu entries behind a read into physical pages have waited %lld ms " | ||
| 961 | "for the title's Submit (queue %p, capacity %u; LEONIDA_DSTORAGE_HOLD_MS=<n> " | ||
| 962 | "submits them after n ms, LEONIDA_DSTORAGE_HOLD_PAGES=0 never holds)\n", | ||
| 963 | held_now, static_cast<long long>(waited), static_cast<void*>(this), | ||
| 964 | unsigned(desc_.Capacity)); | ||
| 965 | } | ||
| 966 | } | ||
| 967 | |||
| 829 | struct Prepared { | 968 | struct Prepared { |
| 830 | Entry& entry; | 969 | Entry& entry; |
| 831 | HRESULT result = S_OK; | 970 | HRESULT result = S_OK; |
| @@ -859,7 +998,11 @@ private: | |||
| 859 | bool paired = false; | 998 | bool paired = false; |
| 860 | { | 999 | { |
| 861 | std::unique_lock lock(mutex_); | 1000 | std::unique_lock lock(mutex_); |
| 862 | work_.wait(lock, [&] { return submitted_ > 0 || closed_; }); | 1001 | while (!(submitted_ > 0 || closed_)) { |
| 1002 | if (!holding_) work_.wait(lock); | ||
| 1003 | else if (work_.wait_for(lock, hold_wait_locked()) == std::cv_status::timeout) | ||
| 1004 | hold_tick_locked(); | ||
| 1005 | } | ||
| 863 | if (submitted_ == 0) return; | 1006 | if (submitted_ == 0) return; |
| 864 | head = std::move(entries_.front()); | 1007 | head = std::move(entries_.front()); |
| 865 | entries_.pop_front(); | 1008 | entries_.pop_front(); |
| @@ -1088,6 +1231,10 @@ private: | |||
| 1088 | std::vector<uint64_t> numbers(1 + (buffer.size() - 1 + offset) / 65536); | 1231 | std::vector<uint64_t> numbers(1 + (buffer.size() - 1 + offset) / 65536); |
| 1089 | if (!guarded_move(numbers.data(), pages, numbers.size() * sizeof(numbers[0]))) | 1232 | if (!guarded_move(numbers.data(), pages, numbers.size() * sizeof(numbers[0]))) |
| 1090 | return E_DSTORAGE_ACCESS_VIOLATION; | 1233 | return E_DSTORAGE_ACCESS_VIOLATION; |
| 1234 | // Page 0 is never a title page: a destination list that names it was not filled when its request ran, and | ||
| 1235 | // the request fails below. Counted, since each one is data the title asked for and did not get. | ||
| 1236 | if (write && std::find(numbers.begin(), numbers.end(), uint64_t{0}) != numbers.end()) | ||
| 1237 | log_hold("page0", ++leonida::dstorage::hold_stats().page0_entries, 0, 0); | ||
| 1091 | if (rt::xmem::transfer_physical(numbers, offset, buffer, write)) return S_OK; | 1238 | if (rt::xmem::transfer_physical(numbers, offset, buffer, write)) return S_OK; |
| 1092 | return HRESULT_FROM_WIN32(GetLastError()); | 1239 | return HRESULT_FROM_WIN32(GetLastError()); |
| 1093 | } | 1240 | } |
| @@ -1305,6 +1452,11 @@ private: | |||
| 1305 | std::condition_variable work_, space_, idle_; | 1452 | std::condition_variable work_, space_, idle_; |
| 1306 | std::deque<Entry> entries_; | 1453 | std::deque<Entry> entries_; |
| 1307 | size_t submitted_ = 0; // the first submitted_ entries are submitted | 1454 | size_t submitted_ = 0; // the first submitted_ entries are submitted |
| 1455 | const bool hold_pages_; // LEONIDA_DSTORAGE_HOLD_PAGES | ||
| 1456 | const uint32_t hold_release_ms_; // LEONIDA_DSTORAGE_HOLD_MS (kDefaultHoldMs unless set); 0: no time limit | ||
| 1457 | bool holding_ = false; // under mutex_: a self-submit left entries for the title's Submit | ||
| 1458 | bool hold_warned_ = false; // under mutex_: this hold's five-second line was written | ||
| 1459 | std::chrono::steady_clock::time_point held_since_{}; // under mutex_ | ||
| 1308 | size_t in_flight_ = 0; | 1460 | size_t in_flight_ = 0; |
| 1309 | bool closing_ = false; | 1461 | bool closing_ = false; |
| 1310 | bool closed_ = false; | 1462 | bool closed_ = false; |
diff --git a/runtime/shims/gameinput.cpp b/runtime/shims/gameinput.cpp index fa5889d6a..c989daff4 100644 --- a/runtime/shims/gameinput.cpp +++ b/runtime/shims/gameinput.cpp | |||
| @@ -1887,7 +1887,9 @@ void update_keyboard_pad() { | |||
| 1887 | clip_cursor(active && g_raw_ready && g_cursor_pos.load() == system_cursor_pos && foreground_is_ours()); | 1887 | clip_cursor(active && g_raw_ready && g_cursor_pos.load() == system_cursor_pos && foreground_is_ours()); |
| 1888 | for (const auto& b : kKeyBindings) SDL_SetJoystickVirtualButton(g_keyboard.js, b.sdl_button, down[b.sdl_button]); | 1888 | for (const auto& b : kKeyBindings) SDL_SetJoystickVirtualButton(g_keyboard.js, b.sdl_button, down[b.sdl_button]); |
| 1889 | // LEONIDA_INPUT_SCRIPT="a@70,a@85,start@120" (with LEONIDA_KEYBOARD_PAD=always): timed presses on the keyboard | 1889 | // LEONIDA_INPUT_SCRIPT="a@70,a@85,start@120" (with LEONIDA_KEYBOARD_PAD=always): timed presses on the keyboard |
| 1890 | // pad, in seconds since the pad's first update, each held 300 ms. For unattended boots: the title's first prompt | 1890 | // pad, in seconds since the pad's first update, each held 300 ms or its own button@seconds:hold, and then until the |
| 1891 | // title has read the pads kReads times since it began (never past kMaxHold seconds, or the hold if it is longer, so | ||
| 1892 | // a title that stops reading does not keep the button). For unattended boots: the title's first prompt | ||
| 1891 | // waits for a button with no timeout (docs/re/notes/firstframe.md, step 5). The parser, the timeline and the | 1893 | // waits for a button with no timeout (docs/re/notes/firstframe.md, step 5). The parser, the timeline and the |
| 1892 | // button names are gameinput_script.h's, shared with the scripted pad of a build without SDL3. | 1894 | // button names are gameinput_script.h's, shared with the scripted pad of a build without SDL3. |
| 1893 | namespace script = rt::gameinput::script; | 1895 | namespace script = rt::gameinput::script; |
| @@ -1899,7 +1901,21 @@ void update_keyboard_pad() { | |||
| 1899 | s.presses.size(), s.rejected); | 1901 | s.presses.size(), s.rejected); |
| 1900 | return s; | 1902 | return s; |
| 1901 | }(); | 1903 | }(); |
| 1902 | if (!scripted.empty()) { | 1904 | // LEONIDA_INPUT_FILE=<path> (local, for headless runs whose display takes no keyboard input): every line appended |
| 1905 | // to the file names one button of gameinput_script.h's table ("a", "down", ...) and becomes a press at once, held | ||
| 1906 | // like a scripted one (300 ms and six readings, at most 5 s). The file is read again at most every 250 ms. | ||
| 1907 | struct FilePress { | ||
| 1908 | uint32_t bit; | ||
| 1909 | double at; | ||
| 1910 | uint64_t began; | ||
| 1911 | bool started; | ||
| 1912 | }; | ||
| 1913 | static std::vector<FilePress> file_presses; | ||
| 1914 | static const std::string input_file = [] { | ||
| 1915 | const char* v = std::getenv("LEONIDA_INPUT_FILE"); | ||
| 1916 | return std::string(v ? v : ""); | ||
| 1917 | }(); | ||
| 1918 | if (!scripted.empty() || !input_file.empty()) { | ||
| 1903 | static const ULONGLONG origin = GetTickCount64(); | 1919 | static const ULONGLONG origin = GetTickCount64(); |
| 1904 | const double now = (GetTickCount64() - origin) / 1000.0; | 1920 | const double now = (GetTickCount64() - origin) / 1000.0; |
| 1905 | script::Held held{}; | 1921 | script::Held held{}; |
| @@ -1908,15 +1924,51 @@ void update_keyboard_pad() { | |||
| 1908 | static std::vector<uint64_t> began(scripted.presses.size(), 0); | 1924 | static std::vector<uint64_t> began(scripted.presses.size(), 0); |
| 1909 | static std::vector<char> started(scripted.presses.size(), 0); | 1925 | static std::vector<char> started(scripted.presses.size(), 0); |
| 1910 | const uint64_t calls = g_reading_calls.load(std::memory_order_relaxed); | 1926 | const uint64_t calls = g_reading_calls.load(std::memory_order_relaxed); |
| 1927 | if (!input_file.empty()) { | ||
| 1928 | static ULONGLONG last_read = 0; | ||
| 1929 | static std::size_t lines_done = 0; | ||
| 1930 | const ULONGLONG tick = GetTickCount64(); | ||
| 1931 | if (tick - last_read >= 250) { | ||
| 1932 | last_read = tick; | ||
| 1933 | if (FILE* f = std::fopen(input_file.c_str(), "r")) { | ||
| 1934 | char line[64]; | ||
| 1935 | std::size_t n = 0; | ||
| 1936 | while (std::fgets(line, sizeof(line), f)) { | ||
| 1937 | if (++n <= lines_done) continue; | ||
| 1938 | lines_done = n; | ||
| 1939 | std::string name(line); | ||
| 1940 | while (!name.empty() && (name.back() == '\n' || name.back() == '\r' || name.back() == ' ')) | ||
| 1941 | name.pop_back(); | ||
| 1942 | bool known = false; | ||
| 1943 | for (const script::Button& b : script::kButtons) | ||
| 1944 | if (name == b.name) { | ||
| 1945 | file_presses.push_back({b.bit, now, 0, false}); | ||
| 1946 | known = true; | ||
| 1947 | } | ||
| 1948 | std::fprintf(stderr, "[rt] gameinput: input file line %zu \"%s\" at %.1f s%s\n", n, | ||
| 1949 | name.c_str(), now, known ? "" : " (unknown button, ignored)"); | ||
| 1950 | } | ||
| 1951 | std::fclose(f); | ||
| 1952 | } | ||
| 1953 | } | ||
| 1954 | for (auto& p : file_presses) { | ||
| 1955 | if (now < p.at || now >= p.at + kMaxHold) continue; | ||
| 1956 | if (!p.started) { | ||
| 1957 | p.started = true; | ||
| 1958 | p.began = calls; | ||
| 1959 | } | ||
| 1960 | if (now < p.at + 0.3 || calls - p.began < kReads) held.buttons |= p.bit; | ||
| 1961 | } | ||
| 1962 | } | ||
| 1911 | for (std::size_t i = 0; i < scripted.presses.size(); ++i) { | 1963 | for (std::size_t i = 0; i < scripted.presses.size(); ++i) { |
| 1912 | const auto& press = scripted.presses[i]; | 1964 | const auto& press = scripted.presses[i]; |
| 1913 | bool active = false; | 1965 | bool active = false; |
| 1914 | if (now >= press.at && now < press.at + kMaxHold) { | 1966 | if (now >= press.at && now < press.at + std::max(press.hold, kMaxHold)) { |
| 1915 | if (!started[i]) { | 1967 | if (!started[i]) { |
| 1916 | started[i] = 1; | 1968 | started[i] = 1; |
| 1917 | began[i] = calls; | 1969 | began[i] = calls; |
| 1918 | } | 1970 | } |
| 1919 | active = now < press.at + 0.3 || calls - began[i] < kReads; | 1971 | active = now < press.at + press.hold || calls - began[i] < kReads; |
| 1920 | } | 1972 | } |
| 1921 | if (!active) continue; | 1973 | if (!active) continue; |
| 1922 | if (press.stick) held.stick = press.stick; | 1974 | if (press.stick) held.stick = press.stick; |
| @@ -1924,7 +1976,7 @@ void update_keyboard_pad() { | |||
| 1924 | } | 1976 | } |
| 1925 | if (held.stick) right_y = held.stick > 0 ? -kStickFull : kStickFull; // SDL's +Y is down | 1977 | if (held.stick) right_y = held.stick > 0 ? -kStickFull : kStickFull; // SDL's +Y is down |
| 1926 | for (const script::Button& b : script::kButtons) { | 1978 | for (const script::Button& b : script::kButtons) { |
| 1927 | if (!(scripted.named & b.bit)) continue; | 1979 | if (!(scripted.named & b.bit) && input_file.empty()) continue; |
| 1928 | const auto button = static_cast<SDL_GamepadButton>(b.sdl); | 1980 | const auto button = static_cast<SDL_GamepadButton>(b.sdl); |
| 1929 | SDL_SetJoystickVirtualButton(g_keyboard.js, button, (held.buttons & b.bit) || down[button]); | 1981 | SDL_SetJoystickVirtualButton(g_keyboard.js, button, (held.buttons & b.bit) || down[button]); |
| 1930 | } | 1982 | } |
| @@ -2443,13 +2495,13 @@ public: | |||
| 2443 | struct Stats { | 2495 | struct Stats { |
| 2444 | std::mutex mu; | 2496 | std::mutex mu; |
| 2445 | uint64_t calls[3][3] = {}; // method x (null, aggregate, a device) | 2497 | uint64_t calls[3][3] = {}; // method x (null, aggregate, a device) |
| 2446 | uint64_t found[3] = {}, pressed[3] = {}; | 2498 | uint64_t found[3] = {}, pressed[3] = {}, a_pressed[3] = {}; |
| 2447 | std::map<std::string, std::pair<uint64_t, uint64_t>> by_device; // name -> (readings, with buttons) | 2499 | std::map<std::string, std::pair<uint64_t, uint64_t>> by_device; // name -> (readings, with buttons) |
| 2448 | uint64_t since = 0; | 2500 | uint64_t since = 0; |
| 2449 | }; | 2501 | }; |
| 2450 | static Stats st; | 2502 | static Stats st; |
| 2451 | std::string name; | 2503 | std::string name; |
| 2452 | bool buttons = false; | 2504 | bool buttons = false, a_button = false; |
| 2453 | if (SUCCEEDED(hr) && got) { | 2505 | if (SUCCEEDED(hr) && got) { |
| 2454 | IGameInputDevice* d = nullptr; | 2506 | IGameInputDevice* d = nullptr; |
| 2455 | got->GetDevice(&d); | 2507 | got->GetDevice(&d); |
| @@ -2458,7 +2510,10 @@ public: | |||
| 2458 | d->Release(); | 2510 | d->Release(); |
| 2459 | } | 2511 | } |
| 2460 | GameInputGamepadState g{}; | 2512 | GameInputGamepadState g{}; |
| 2461 | if (got->GetGamepadState(&g)) buttons = g.buttons != 0; | 2513 | if (got->GetGamepadState(&g)) { |
| 2514 | buttons = g.buttons != 0; | ||
| 2515 | a_button = (g.buttons & GameInputGamepadA) != 0; | ||
| 2516 | } | ||
| 2462 | } | 2517 | } |
| 2463 | const int arg = !asked ? 0 : as_device(asked)->info.deviceFamily == GameInputFamilyAggregate ? 1 : 2; | 2518 | const int arg = !asked ? 0 : as_device(asked)->info.deviceFamily == GameInputFamilyAggregate ? 1 : 2; |
| 2464 | std::lock_guard lock(st.mu); | 2519 | std::lock_guard lock(st.mu); |
| @@ -2466,6 +2521,7 @@ public: | |||
| 2466 | if (SUCCEEDED(hr) && got) { | 2521 | if (SUCCEEDED(hr) && got) { |
| 2467 | ++st.found[method]; | 2522 | ++st.found[method]; |
| 2468 | st.pressed[method] += buttons; | 2523 | st.pressed[method] += buttons; |
| 2524 | st.a_pressed[method] += a_button; | ||
| 2469 | auto& e = st.by_device[name]; | 2525 | auto& e = st.by_device[name]; |
| 2470 | ++e.first; | 2526 | ++e.first; |
| 2471 | e.second += buttons; | 2527 | e.second += buttons; |
| @@ -2477,10 +2533,10 @@ public: | |||
| 2477 | std::string line; | 2533 | std::string line; |
| 2478 | for (int m = 0; m < 3; ++m) { | 2534 | for (int m = 0; m < 3; ++m) { |
| 2479 | char t[200]; | 2535 | char t[200]; |
| 2480 | std::snprintf(t, sizeof(t), " %s %llu/%llu/%llu found %llu pressed %llu;", methods[m], | 2536 | std::snprintf(t, sizeof(t), " %s %llu/%llu/%llu found %llu pressed %llu A %llu;", methods[m], |
| 2481 | (unsigned long long)st.calls[m][0], (unsigned long long)st.calls[m][1], | 2537 | (unsigned long long)st.calls[m][0], (unsigned long long)st.calls[m][1], |
| 2482 | (unsigned long long)st.calls[m][2], (unsigned long long)st.found[m], | 2538 | (unsigned long long)st.calls[m][2], (unsigned long long)st.found[m], |
| 2483 | (unsigned long long)st.pressed[m]); | 2539 | (unsigned long long)st.pressed[m], (unsigned long long)st.a_pressed[m]); |
| 2484 | line += t; | 2540 | line += t; |
| 2485 | } | 2541 | } |
| 2486 | for (const auto& [n, c] : st.by_device) { | 2542 | for (const auto& [n, c] : st.by_device) { |
| @@ -2493,6 +2549,7 @@ public: | |||
| 2493 | std::memset(st.calls, 0, sizeof(st.calls)); | 2549 | std::memset(st.calls, 0, sizeof(st.calls)); |
| 2494 | std::memset(st.found, 0, sizeof(st.found)); | 2550 | std::memset(st.found, 0, sizeof(st.found)); |
| 2495 | std::memset(st.pressed, 0, sizeof(st.pressed)); | 2551 | std::memset(st.pressed, 0, sizeof(st.pressed)); |
| 2552 | std::memset(st.a_pressed, 0, sizeof(st.a_pressed)); | ||
| 2496 | st.by_device.clear(); | 2553 | st.by_device.clear(); |
| 2497 | st.since = now; | 2554 | st.since = now; |
| 2498 | } | 2555 | } |
diff --git a/runtime/shims/gameinput_no_sdl.cpp b/runtime/shims/gameinput_no_sdl.cpp index 77b7ebccf..7d8c7b6ee 100644 --- a/runtime/shims/gameinput_no_sdl.cpp +++ b/runtime/shims/gameinput_no_sdl.cpp | |||
| @@ -16,8 +16,10 @@ | |||
| 16 | // title waits at its first "press A" prompt forever. The pad is an Xbox One gamepad that is connected from the | 16 | // title waits at its first "press A" prompt forever. The pad is an Xbox One gamepad that is connected from the |
| 17 | // first GameInputCreate on: device enumeration through RegisterDeviceCallback (blocking, async, and through a | 17 | // first GameInputCreate on: device enumeration through RegisterDeviceCallback (blocking, async, and through a |
| 18 | // dispatcher), GetCurrentReading, GetNextReading and GetPreviousReading, and readings whose GetGamepadState and | 18 | // dispatcher), GetCurrentReading, GetNextReading and GetPreviousReading, and readings whose GetGamepadState and |
| 19 | // GetUiNavigationState follow the script. A reading is taken when the title asks for one, so no thread runs; | 19 | // GetUiNavigationState follow the script. Readings are taken when the title asks for one, so no thread runs, |
| 20 | // reading callbacks, aggregate devices, rumble and every other device still need SDL3. Controllers and the | 20 | // but each one first adds a reading for every change the script made since the last, stamped with the script's |
| 21 | // own time: a press that starts and ends between two reads still reaches the history for GetNextReading. | ||
| 22 | // Reading callbacks, aggregate devices, rumble and every other device still need SDL3. Controllers and the | ||
| 21 | // keyboard pad need SDL3 too. | 23 | // keyboard pad need SDL3 too. |
| 22 | #include <windows.h> | 24 | #include <windows.h> |
| 23 | 25 | ||
| @@ -101,6 +103,8 @@ constexpr uint32_t kAxisCount = 6; // LX, LY, RX, RY, LT, RT, as the SDL3 sh | |||
| 101 | constexpr uint32_t kButtonCount = 15; // SDL's standard gamepad buttons, numbered as the script's Button::sdl | 103 | constexpr uint32_t kButtonCount = 15; // SDL's standard gamepad buttons, numbered as the script's Button::sdl |
| 102 | constexpr size_t kHistoryCap = 64; // readings kept for GetNextReading/GetPreviousReading; one per change | 104 | constexpr size_t kHistoryCap = 64; // readings kept for GetNextReading/GetPreviousReading; one per change |
| 103 | constexpr char kPadName[] = "Scripted pad (Leonida)"; | 105 | constexpr char kPadName[] = "Scripted pad (Leonida)"; |
| 106 | std::atomic<bool> g_trace_readings{false}; | ||
| 107 | std::atomic<uint64_t> g_gamepad_state_queries{0}; | ||
| 104 | 108 | ||
| 105 | uint64_t qpc_now_us() { | 109 | uint64_t qpc_now_us() { |
| 106 | static const LARGE_INTEGER freq = [] { LARGE_INTEGER f; QueryPerformanceFrequency(&f); return f; }(); | 110 | static const LARGE_INTEGER freq = [] { LARGE_INTEGER f; QueryPerformanceFrequency(&f); return f; }(); |
| @@ -151,7 +155,14 @@ public: | |||
| 151 | return r; | 155 | return r; |
| 152 | } | 156 | } |
| 153 | 157 | ||
| 154 | uint32_t STDMETHODCALLTYPE GetInputKind() override { return kKinds; } | 158 | uint32_t STDMETHODCALLTYPE GetInputKind() override { |
| 159 | static std::atomic<uint64_t> queries{0}; | ||
| 160 | const uint64_t query = queries.fetch_add(1, std::memory_order_relaxed) + 1; | ||
| 161 | if (g_trace_readings.load(std::memory_order_relaxed) && query <= 8) | ||
| 162 | std::fprintf(stderr, "[rt] gameinput: GetInputKind #%llu seq=%llu kinds=0x%08x\n", | ||
| 163 | static_cast<unsigned long long>(query), static_cast<unsigned long long>(seq_), kKinds); | ||
| 164 | return kKinds; | ||
| 165 | } | ||
| 155 | uint64_t STDMETHODCALLTYPE GetSequenceNumber(uint32_t) override { return seq_; } | 166 | uint64_t STDMETHODCALLTYPE GetSequenceNumber(uint32_t) override { return seq_; } |
| 156 | uint64_t STDMETHODCALLTYPE GetTimestamp() override { return ts_; } | 167 | uint64_t STDMETHODCALLTYPE GetTimestamp() override { return ts_; } |
| 157 | void STDMETHODCALLTYPE GetDevice(IGameInputDevice** device) override; | 168 | void STDMETHODCALLTYPE GetDevice(IGameInputDevice** device) override; |
| @@ -168,6 +179,11 @@ public: | |||
| 168 | state_.leftTrigger, state_.rightTrigger}; | 179 | state_.leftTrigger, state_.rightTrigger}; |
| 169 | const uint32_t n = std::min(count, kAxisCount); | 180 | const uint32_t n = std::min(count, kAxisCount); |
| 170 | std::memcpy(out, axes, n * sizeof(float)); | 181 | std::memcpy(out, axes, n * sizeof(float)); |
| 182 | static std::atomic<uint64_t> queries{0}; | ||
| 183 | const uint64_t query = queries.fetch_add(1, std::memory_order_relaxed) + 1; | ||
| 184 | if (g_trace_readings.load(std::memory_order_relaxed) && query <= 8) | ||
| 185 | std::fprintf(stderr, "[rt] gameinput: GetControllerAxisState #%llu seq=%llu count=%u returned=%u\n", | ||
| 186 | static_cast<unsigned long long>(query), static_cast<unsigned long long>(seq_), count, n); | ||
| 171 | return n; | 187 | return n; |
| 172 | } | 188 | } |
| 173 | uint32_t STDMETHODCALLTYPE GetControllerButtonCount() override { return kButtonCount; } | 189 | uint32_t STDMETHODCALLTYPE GetControllerButtonCount() override { return kButtonCount; } |
| @@ -177,6 +193,12 @@ public: | |||
| 177 | for (const script::Button& b : script::kButtons) buttons[b.sdl] = (state_.buttons & b.bit) != 0; | 193 | for (const script::Button& b : script::kButtons) buttons[b.sdl] = (state_.buttons & b.bit) != 0; |
| 178 | const uint32_t n = std::min(count, kButtonCount); | 194 | const uint32_t n = std::min(count, kButtonCount); |
| 179 | std::memcpy(out, buttons, n * sizeof(bool)); | 195 | std::memcpy(out, buttons, n * sizeof(bool)); |
| 196 | static std::atomic<uint64_t> queries{0}; | ||
| 197 | const uint64_t query = queries.fetch_add(1, std::memory_order_relaxed) + 1; | ||
| 198 | if (g_trace_readings.load(std::memory_order_relaxed) && query <= 8) | ||
| 199 | std::fprintf(stderr, "[rt] gameinput: GetControllerButtonState #%llu seq=%llu count=%u returned=%u buttons=0x%08x\n", | ||
| 200 | static_cast<unsigned long long>(query), static_cast<unsigned long long>(seq_), count, n, | ||
| 201 | state_.buttons); | ||
| 180 | return n; | 202 | return n; |
| 181 | } | 203 | } |
| 182 | uint32_t STDMETHODCALLTYPE GetControllerSwitchCount() override { return 0; } | 204 | uint32_t STDMETHODCALLTYPE GetControllerSwitchCount() override { return 0; } |
| @@ -192,12 +214,21 @@ public: | |||
| 192 | bool STDMETHODCALLTYPE GetGamepadState(GameInputGamepadState* state) override { | 214 | bool STDMETHODCALLTYPE GetGamepadState(GameInputGamepadState* state) override { |
| 193 | if (!state) return false; | 215 | if (!state) return false; |
| 194 | *state = state_; | 216 | *state = state_; |
| 217 | const uint64_t query = g_gamepad_state_queries.fetch_add(1, std::memory_order_relaxed) + 1; | ||
| 218 | if (g_trace_readings.load(std::memory_order_relaxed) && (query == 1 || state_.buttons || query % 1000 == 0)) | ||
| 219 | std::fprintf(stderr, "[rt] gameinput: GetGamepadState #%llu seq=%llu buttons=0x%08x\n", | ||
| 220 | static_cast<unsigned long long>(query), static_cast<unsigned long long>(seq_), state_.buttons); | ||
| 195 | return true; | 221 | return true; |
| 196 | } | 222 | } |
| 197 | bool STDMETHODCALLTYPE GetRacingWheelState(void*) override { return false; } | 223 | bool STDMETHODCALLTYPE GetRacingWheelState(void*) override { return false; } |
| 198 | bool STDMETHODCALLTYPE GetUiNavigationState(GameInputUiNavigationState* state) override { | 224 | bool STDMETHODCALLTYPE GetUiNavigationState(GameInputUiNavigationState* state) override { |
| 199 | if (!state) return false; | 225 | if (!state) return false; |
| 200 | state->buttons = script::ui_navigation(state_); | 226 | state->buttons = script::ui_navigation(state_); |
| 227 | static std::atomic<uint64_t> queries{0}; | ||
| 228 | const uint64_t query = queries.fetch_add(1, std::memory_order_relaxed) + 1; | ||
| 229 | if (g_trace_readings.load(std::memory_order_relaxed) && query <= 8) | ||
| 230 | std::fprintf(stderr, "[rt] gameinput: GetUiNavigationState #%llu seq=%llu buttons=0x%08x\n", | ||
| 231 | static_cast<unsigned long long>(query), static_cast<unsigned long long>(seq_), state->buttons); | ||
| 201 | return true; | 232 | return true; |
| 202 | } | 233 | } |
| 203 | 234 | ||
| @@ -278,7 +309,13 @@ public: | |||
| 278 | ULONG STDMETHODCALLTYPE AddRef() override { return ++refs_; } | 309 | ULONG STDMETHODCALLTYPE AddRef() override { return ++refs_; } |
| 279 | ULONG STDMETHODCALLTYPE Release() override { return release_floor(refs_); } | 310 | ULONG STDMETHODCALLTYPE Release() override { return release_floor(refs_); } |
| 280 | 311 | ||
| 281 | const GameInputDeviceInfo* STDMETHODCALLTYPE GetDeviceInfo() override { return &info_; } | 312 | const GameInputDeviceInfo* STDMETHODCALLTYPE GetDeviceInfo() override { |
| 313 | static std::atomic<bool> logged{false}; | ||
| 314 | if (g_trace_readings.load(std::memory_order_relaxed) && !logged.exchange(true, std::memory_order_relaxed)) | ||
| 315 | std::fprintf(stderr, "[rt] gameinput: GetDeviceInfo family=%d input=0x%08x status=0x%08x\n", | ||
| 316 | info_.deviceFamily, info_.supportedInput, kConnectedStatus); | ||
| 317 | return &info_; | ||
| 318 | } | ||
| 282 | uint32_t STDMETHODCALLTYPE GetDeviceStatus() override { return kConnectedStatus; } | 319 | uint32_t STDMETHODCALLTYPE GetDeviceStatus() override { return kConnectedStatus; } |
| 283 | void STDMETHODCALLTYPE GetBatteryState(GameInputBatteryState* state) override { | 320 | void STDMETHODCALLTYPE GetBatteryState(GameInputBatteryState* state) override { |
| 284 | if (state) *state = {0, 0, 0, 0, GameInputBatteryUnknown}; | 321 | if (state) *state = {0, 0, 0, 0, GameInputBatteryUnknown}; |
| @@ -355,8 +392,11 @@ struct State { | |||
| 355 | std::atomic<DWORD> delivering_thread{0}; | 392 | std::atomic<DWORD> delivering_thread{0}; |
| 356 | script::Script script; | 393 | script::Script script; |
| 357 | uint64_t origin_us = 0; // the script's clock starts at the first GameInputCreate | 394 | uint64_t origin_us = 0; // the script's clock starts at the first GameInputCreate |
| 395 | double updated_s = -1; // the script time of the last update; its changes up to here are in the history | ||
| 358 | bool log_presses = true; // LEONIDA_INPUT_LOG | 396 | bool log_presses = true; // LEONIDA_INPUT_LOG |
| 397 | bool trace_reads = false; // LEONIDA_INPUT_TRACE | ||
| 359 | uint32_t logged_held = 0; // what log_scripted saw last | 398 | uint32_t logged_held = 0; // what log_scripted saw last |
| 399 | uint64_t reading_queries = 0; | ||
| 360 | std::deque<Reading*> history; // one reference each, oldest first; the newest is the current reading | 400 | std::deque<Reading*> history; // one reference each, oldest first; the newest is the current reading |
| 361 | uint64_t evicted_seq = 0; // sequence number of the newest reading dropped from history | 401 | uint64_t evicted_seq = 0; // sequence number of the newest reading dropped from history |
| 362 | uint64_t seq = 0; | 402 | uint64_t seq = 0; |
| @@ -372,10 +412,9 @@ State& g() { | |||
| 372 | return *s; | 412 | return *s; |
| 373 | } | 413 | } |
| 374 | 414 | ||
| 375 | // Takes a reading when the script's state at `now` differs from the current one. Under g().mu. | 415 | // Takes a reading when the script's state `seconds` into it differs from the current one. Under g().mu. |
| 376 | void update(uint64_t now) { | 416 | void take_reading(double seconds, uint64_t timestamp) { |
| 377 | State& s = g(); | 417 | State& s = g(); |
| 378 | const double seconds = now > s.origin_us ? (now - s.origin_us) / 1e6 : 0.0; | ||
| 379 | const script::Held held = script::held_at(s.script, seconds); | 418 | const script::Held held = script::held_at(s.script, seconds); |
| 380 | GameInputGamepadState state{}; | 419 | GameInputGamepadState state{}; |
| 381 | state.buttons = held.buttons; | 420 | state.buttons = held.buttons; |
| @@ -387,7 +426,7 @@ void update(uint64_t now) { | |||
| 387 | if (s.log_presses && last) | 426 | if (s.log_presses && last) |
| 388 | script::log_presses(state.buttons & ~last->state().buttons, last->state().rightThumbstickY, | 427 | script::log_presses(state.buttons & ~last->state().buttons, last->state().rightThumbstickY, |
| 389 | state.rightThumbstickY, seconds, kPadName); | 428 | state.rightThumbstickY, seconds, kPadName); |
| 390 | s.history.push_back(new Reading(state, ++s.seq, now)); | 429 | s.history.push_back(new Reading(state, ++s.seq, timestamp)); |
| 391 | while (s.history.size() > kHistoryCap) { | 430 | while (s.history.size() > kHistoryCap) { |
| 392 | s.evicted_seq = s.history.front()->seq(); | 431 | s.evicted_seq = s.history.front()->seq(); |
| 393 | s.history.front()->Release(); | 432 | s.history.front()->Release(); |
| @@ -395,7 +434,39 @@ void update(uint64_t now) { | |||
| 395 | } | 434 | } |
| 396 | } | 435 | } |
| 397 | 436 | ||
| 437 | // Brings the history up to `now`: one reading for every start and end of a press the script made since the last | ||
| 438 | // update, at the time the script made it, then the state at `now`. The title may read its pad only every few seconds | ||
| 439 | // (at world-start frame rates it does); a press that began and ended in between is still in the history, where | ||
| 440 | // GetNextReading finds it, and the readings are the same however often the title reads. Under g().mu. | ||
| 441 | void update(uint64_t now) { | ||
| 442 | State& s = g(); | ||
| 443 | const double seconds = now > s.origin_us ? (now - s.origin_us) / 1e6 : 0.0; | ||
| 444 | if (seconds > s.updated_s) { | ||
| 445 | std::vector<double> edges; | ||
| 446 | for (const script::Press& p : s.script.presses) | ||
| 447 | for (const double edge : {p.at, p.at + p.hold}) | ||
| 448 | if (edge > s.updated_s && edge < seconds) edges.push_back(edge); | ||
| 449 | std::sort(edges.begin(), edges.end()); | ||
| 450 | edges.erase(std::unique(edges.begin(), edges.end()), edges.end()); | ||
| 451 | for (const double edge : edges) take_reading(edge, s.origin_us + static_cast<uint64_t>(edge * 1e6 + 0.5)); | ||
| 452 | s.updated_s = seconds; | ||
| 453 | } | ||
| 454 | take_reading(seconds, now); | ||
| 455 | } | ||
| 456 | |||
| 457 | void trace_reading(State& s, const char* api, uint32_t kind, const Reading* reading) { | ||
| 458 | const uint64_t query = ++s.reading_queries; | ||
| 459 | const uint32_t buttons = reading ? reading->state().buttons : 0; | ||
| 460 | if (s.trace_reads && (query <= 128 || buttons || query % 1000 == 0)) | ||
| 461 | std::fprintf(stderr, "[rt] gameinput: %s #%llu kind=0x%08x seq=%llu buttons=0x%08x\n", api, | ||
| 462 | static_cast<unsigned long long>(query), kind, | ||
| 463 | static_cast<unsigned long long>(reading ? reading->seq() : 0), buttons); | ||
| 464 | } | ||
| 465 | |||
| 398 | void call_device(const Callback& c, uint64_t timestamp) { | 466 | void call_device(const Callback& c, uint64_t timestamp) { |
| 467 | if (g().trace_reads) | ||
| 468 | std::fprintf(stderr, "[rt] gameinput: device callback token=%llu timestamp=%llu status=0x%08x\n", | ||
| 469 | static_cast<unsigned long long>(c.token), static_cast<unsigned long long>(timestamp), kConnectedStatus); | ||
| 399 | reinterpret_cast<GameInputDeviceCallback>(c.fn)(c.token, c.context, &pad(), timestamp, kConnectedStatus, | 470 | reinterpret_cast<GameInputDeviceCallback>(c.fn)(c.token, c.context, &pad(), timestamp, kConnectedStatus, |
| 400 | GameInputDeviceNoStatus); | 471 | GameInputDeviceNoStatus); |
| 401 | } | 472 | } |
| @@ -504,6 +575,8 @@ HRESULT find_reading(IGameInputReading* ref, uint32_t kind, IGameInputReading** | |||
| 504 | std::lock_guard lock(s.mu); | 575 | std::lock_guard lock(s.mu); |
| 505 | update(now_us()); | 576 | update(now_us()); |
| 506 | const uint64_t r = static_cast<Reading*>(ref)->seq(); | 577 | const uint64_t r = static_cast<Reading*>(ref)->seq(); |
| 578 | trace_reading(s, forward ? "GetNextReading" : "GetPreviousReading", kind, | ||
| 579 | s.history.empty() ? nullptr : s.history.back()); | ||
| 507 | if (forward ? s.evicted_seq > r : s.evicted_seq >= r) return GAMEINPUT_E_REFERENCE_READING_TOO_OLD; | 580 | if (forward ? s.evicted_seq > r : s.evicted_seq >= r) return GAMEINPUT_E_REFERENCE_READING_TOO_OLD; |
| 508 | Reading* best = nullptr; | 581 | Reading* best = nullptr; |
| 509 | for (Reading* c : s.history) { | 582 | for (Reading* c : s.history) { |
| @@ -547,6 +620,7 @@ public: | |||
| 547 | std::lock_guard lock(s.mu); | 620 | std::lock_guard lock(s.mu); |
| 548 | update(now_us()); | 621 | update(now_us()); |
| 549 | Reading* r = s.history.back(); | 622 | Reading* r = s.history.back(); |
| 623 | trace_reading(s, "GetCurrentReading", kind, r); | ||
| 550 | r->AddRef(); | 624 | r->AddRef(); |
| 551 | *out = r; | 625 | *out = r; |
| 552 | return S_OK; | 626 | return S_OK; |
| @@ -595,6 +669,10 @@ public: | |||
| 595 | later = true; | 669 | later = true; |
| 596 | } | 670 | } |
| 597 | } | 671 | } |
| 672 | if (s.trace_reads) | ||
| 673 | std::fprintf(stderr, | ||
| 674 | "[rt] gameinput: RegisterDeviceCallback kind=0x%08x filter=0x%08x enumeration=%d report=%d\n", | ||
| 675 | kind, status_filter, static_cast<int>(enumeration), report ? 1 : 0); | ||
| 598 | if (token) *token = c.token; | 676 | if (token) *token = c.token; |
| 599 | // Blocking enumeration: the pad is reported before this returns, on the caller's thread. | 677 | // Blocking enumeration: the pad is reported before this returns, on the caller's thread. |
| 600 | if (report && enumeration == GameInputBlockingEnumeration) call_device(c, now_us()); | 678 | if (report && enumeration == GameInputBlockingEnumeration) call_device(c, now_us()); |
| @@ -683,6 +761,8 @@ ScriptedInput* scripted() { | |||
| 683 | std::lock_guard lock(s.mu); | 761 | std::lock_guard lock(s.mu); |
| 684 | s.script = script::parse(text); | 762 | s.script = script::parse(text); |
| 685 | s.log_presses = script::env_lower("LEONIDA_INPUT_LOG") != "0"; | 763 | s.log_presses = script::env_lower("LEONIDA_INPUT_LOG") != "0"; |
| 764 | s.trace_reads = script::env_lower("LEONIDA_INPUT_TRACE") == "1"; | ||
| 765 | g_trace_readings = s.trace_reads; | ||
| 686 | s.wait_event = CreateEventW(nullptr, FALSE, FALSE, nullptr); | 766 | s.wait_event = CreateEventW(nullptr, FALSE, FALSE, nullptr); |
| 687 | s.origin_us = now_us(); | 767 | s.origin_us = now_us(); |
| 688 | update(s.origin_us); // the first reading: nothing held unless the script presses at 0 s | 768 | update(s.origin_us); // the first reading: nothing held unless the script presses at 0 s |
diff --git a/runtime/shims/gameinput_script.h b/runtime/shims/gameinput_script.h index 759506750..5be554424 100644 --- a/runtime/shims/gameinput_script.h +++ b/runtime/shims/gameinput_script.h | |||
| @@ -5,10 +5,13 @@ | |||
| 5 | // | 5 | // |
| 6 | // LEONIDA_INPUT_SCRIPT="a@70,a@85,start@120" | 6 | // LEONIDA_INPUT_SCRIPT="a@70,a@85,start@120" |
| 7 | // | 7 | // |
| 8 | // Each entry is button@seconds, the seconds counted from the shim's first update. A press is held for kHoldSeconds, | 8 | // Each entry is button@seconds[:hold], the seconds counted from the shim's first update. A press is held for `hold` |
| 9 | // then released. Buttons: a b x y start back lb rb up down left right; rsup and rsdown throw the right stick fully up | 9 | // seconds (kHoldSeconds when the entry has none), then released: a longer hold reaches a title that reads its pad |
| 10 | // or down for the same time (they replay the stick throws the press log writes). Spaces around an entry are allowed; | 10 | // only every few seconds, as the retail title does at world-start frame rates. Buttons: a b x y start back lb rb |
| 11 | // empty entries, unknown buttons and invalid times (negative, non-finite, trailing text) are counted as rejected. | 11 | // up down left right; rsup and rsdown throw the right stick fully up or down for the same time (they replay the |
| 12 | // stick throws the press log writes). Spaces around an entry are allowed; empty entries, unknown buttons, invalid | ||
| 13 | // times (negative, non-finite, trailing text) and invalid holds (zero, negative, non-finite, more than | ||
| 14 | // kMaxHoldSeconds) are counted as rejected. | ||
| 12 | #pragma once | 15 | #pragma once |
| 13 | #include <algorithm> | 16 | #include <algorithm> |
| 14 | #include <cctype> | 17 | #include <cctype> |
| @@ -24,6 +27,7 @@ | |||
| 24 | namespace rt::gameinput::script { | 27 | namespace rt::gameinput::script { |
| 25 | 28 | ||
| 26 | constexpr double kHoldSeconds = 0.3; | 29 | constexpr double kHoldSeconds = 0.3; |
| 30 | constexpr double kMaxHoldSeconds = 600; // a typo such as b@10:1100 should not hold B for the whole run | ||
| 27 | 31 | ||
| 28 | // One scriptable button: its name in the script and the press log, its GameInput gamepad bit, and its SDL3 | 32 | // One scriptable button: its name in the script and the press log, its GameInput gamepad bit, and its SDL3 |
| 29 | // SDL_GamepadButton number, which the "scripted press of button <n>" line has always carried (tools/stage_timeline.py | 33 | // SDL_GamepadButton number, which the "scripted press of button <n>" line has always carried (tools/stage_timeline.py |
| @@ -46,6 +50,7 @@ struct Press { | |||
| 46 | uint32_t button = 0; // a GameInput gamepad bit, or 0 for a stick throw | 50 | uint32_t button = 0; // a GameInput gamepad bit, or 0 for a stick throw |
| 47 | int stick = 0; // +1 rsup, -1 rsdown (GameInput's +Y is up) | 51 | int stick = 0; // +1 rsup, -1 rsdown (GameInput's +Y is up) |
| 48 | double at = 0; // seconds | 52 | double at = 0; // seconds |
| 53 | double hold = kHoldSeconds; | ||
| 49 | }; | 54 | }; |
| 50 | 55 | ||
| 51 | struct Script { | 56 | struct Script { |
| @@ -72,17 +77,22 @@ inline Script parse(std::string text) { | |||
| 72 | const char* time = item.c_str() + sep + 1; | 77 | const char* time = item.c_str() + sep + 1; |
| 73 | char* tail; | 78 | char* tail; |
| 74 | const double seconds = std::strtod(time, &tail); | 79 | const double seconds = std::strtod(time, &tail); |
| 75 | if (tail == time || !std::isfinite(seconds) || seconds < 0 || | 80 | if (tail == time || !std::isfinite(seconds) || seconds < 0) continue; |
| 76 | item.find_first_not_of(whitespace, static_cast<size_t>(tail - item.c_str())) != std::string::npos) | 81 | double hold = kHoldSeconds; |
| 77 | continue; | 82 | if (*tail == ':') { |
| 83 | const char* hold_text = tail + 1; | ||
| 84 | hold = std::strtod(hold_text, &tail); | ||
| 85 | if (tail == hold_text || !std::isfinite(hold) || hold <= 0 || hold > kMaxHoldSeconds) continue; | ||
| 86 | } | ||
| 87 | if (item.find_first_not_of(whitespace, static_cast<size_t>(tail - item.c_str())) != std::string::npos) continue; | ||
| 78 | const auto is = [&](const char* name) { return item.compare(first, sep - first, name) == 0; }; | 88 | const auto is = [&](const char* name) { return item.compare(first, sep - first, name) == 0; }; |
| 79 | if (is("rsup") || is("rsdown")) { | 89 | if (is("rsup") || is("rsdown")) { |
| 80 | out.presses.push_back({0, is("rsup") ? 1 : -1, seconds}); | 90 | out.presses.push_back({0, is("rsup") ? 1 : -1, seconds, hold}); |
| 81 | continue; | 91 | continue; |
| 82 | } | 92 | } |
| 83 | for (const Button& b : kButtons) { | 93 | for (const Button& b : kButtons) { |
| 84 | if (is(b.name)) { | 94 | if (is(b.name)) { |
| 85 | out.presses.push_back({b.bit, 0, seconds}); | 95 | out.presses.push_back({b.bit, 0, seconds, hold}); |
| 86 | out.named |= b.bit; | 96 | out.named |= b.bit; |
| 87 | break; | 97 | break; |
| 88 | } | 98 | } |
| @@ -102,7 +112,7 @@ struct Held { | |||
| 102 | inline Held held_at(const Script& script, double seconds) { | 112 | inline Held held_at(const Script& script, double seconds) { |
| 103 | Held h; | 113 | Held h; |
| 104 | for (const Press& p : script.presses) { | 114 | for (const Press& p : script.presses) { |
| 105 | if (seconds < p.at || seconds >= p.at + kHoldSeconds) continue; | 115 | if (seconds < p.at || seconds >= p.at + p.hold) continue; |
| 106 | if (p.stick) h.stick = p.stick; | 116 | if (p.stick) h.stick = p.stick; |
| 107 | else h.buttons |= p.button; | 117 | else h.buttons |= p.button; |
| 108 | } | 118 | } |
diff --git a/runtime/shims/process.cpp b/runtime/shims/process.cpp index 08023ea78..2c37292e2 100644 --- a/runtime/shims/process.cpp +++ b/runtime/shims/process.cpp | |||
| @@ -11,8 +11,9 @@ | |||
| 11 | // shares with gta6rt. exit() runs it newest first, as the CRT does, before the run ends; _exit(), _Exit(), | 11 | // shares with gta6rt. exit() runs it newest first, as the CRT does, before the run ends; _exit(), _Exit(), |
| 12 | // quick_exit(), ExitProcess() and abort() do not. _cexit() runs it and returns, _c_exit() returns. A second | 12 | // quick_exit(), ExitProcess() and abort() do not. _cexit() runs it and returns, _c_exit() returns. A second |
| 13 | // thread that calls exit(), _exit(), _Exit() or quick_exit() while the first is leaving waits, as with the | 13 | // thread that calls exit(), _exit(), _Exit() or quick_exit() while the first is leaving waits, as with the |
| 14 | // CRT's exit lock. Not covered yet: at_quick_exit() handlers (quick_exit() runs none) and the thread-local | 14 | // CRT's exit lock. Not covered yet: at_quick_exit() handlers (quick_exit() runs none). |
| 15 | // destructor callback (_register_thread_local_exe_atexit_callback); both still reach the host CRT. | 15 | // - the EXE's thread-local destructor callback (_register_thread_local_exe_atexit_callback) is kept here too: |
| 16 | // exit() and _cexit() call it before the atexit handlers, as the UCRT does (see game_exit below). | ||
| 16 | // Covered CRTs: the Universal CRT (api-ms-win-crt-runtime-l1-1-0.dll / ucrtbase.dll, what MSVC links; ucrtbased.dll in Debug) and | 17 | // Covered CRTs: the Universal CRT (api-ms-win-crt-runtime-l1-1-0.dll / ucrtbase.dll, what MSVC links; ucrtbased.dll in Debug) and |
| 17 | // msvcrt.dll (MinGW). Calls made inside host DLLs, not through the game's imports, are not seen here. | 18 | // msvcrt.dll (MinGW). Calls made inside host DLLs, not through the game's imports, are not seen here. |
| 18 | // The loader matches imports by exact DLL name, so GetCommandLineA/W and ExitProcess are served under every name a | 19 | // The loader matches imports by exact DLL name, so GetCommandLineA/W and ExitProcess are served under every name a |
| @@ -142,6 +143,28 @@ OnexitFn __cdecl game_onexit(OnexitFn fn) { | |||
| 142 | return fn && register_atexit(reinterpret_cast<AtexitFn>(fn)) ? fn : nullptr; | 143 | return fn && register_atexit(reinterpret_cast<AtexitFn>(fn)) ? fn : nullptr; |
| 143 | } | 144 | } |
| 144 | 145 | ||
| 146 | // ---- the EXE's thread-local destructors | ||
| 147 | // An MSVC EXE's startup passes vcruntime's TLS destructor callback, which its TLS directory also lists, to | ||
| 148 | // _register_thread_local_exe_atexit_callback (UCRT process.h: void __cdecl (_tls_callback_type), where | ||
| 149 | // _tls_callback_type is void (__stdcall*)(void*, unsigned long, void*)). The UCRT calls it as | ||
| 150 | // (nullptr, DLL_PROCESS_DETACH, nullptr) when exit() or _cexit() starts, before the atexit table: the leaving thread's | ||
| 151 | // thread_local objects end before the static ones, as C++ requires. Other threads' end through the loader's | ||
| 152 | // thread-detach notification, which calls the same function from the TLS directory, so it is not called here then. | ||
| 153 | // The host CRT cannot take it: the UCRT accepts one per process and fast-fails the second (gta6rt's own startup | ||
| 154 | // registers the first, so the title stopped at boot on Windows), and Wine's ucrtbase replaces gta6rt's own and never | ||
| 155 | // calls the title's, because the run ends through end_run. | ||
| 156 | using TlsCallback = void(__stdcall*)(void*, unsigned long, void*); | ||
| 157 | std::atomic<TlsCallback> g_thread_local_exit_callback{nullptr}; | ||
| 158 | |||
| 159 | void __cdecl game_register_thread_local_exe_atexit_callback(TlsCallback callback) { | ||
| 160 | g_thread_local_exit_callback.store(callback); | ||
| 161 | } | ||
| 162 | // Once per run, like the UCRT's exit path: a later exit() after _cexit() finds nothing left to run. | ||
| 163 | void run_thread_local_exe_atexit_callback() { | ||
| 164 | if (const TlsCallback callback = g_thread_local_exit_callback.exchange(nullptr)) | ||
| 165 | callback(nullptr, DLL_PROCESS_DETACH, nullptr); | ||
| 166 | } | ||
| 167 | |||
| 145 | // ---- the way out | 168 | // ---- the way out |
| 146 | // The CRT's exit lock, which exit(), _exit(), _Exit() and quick_exit() all take: the first thread to leave owns it | 169 | // The CRT's exit lock, which exit(), _exit(), _Exit() and quick_exit() all take: the first thread to leave owns it |
| 147 | // and ends the run; any other thread that tries to leave waits forever. The owner may leave again from a handler | 170 | // and ends the run; any other thread that tries to leave waits forever. The owner may leave again from a handler |
| @@ -157,7 +180,10 @@ bool take_exit_lock() { | |||
| 157 | } | 180 | } |
| 158 | // exit(): the game's handlers and static destructors, then the end of the run. | 181 | // exit(): the game's handlers and static destructors, then the end of the run. |
| 159 | void __cdecl game_exit(int code) { | 182 | void __cdecl game_exit(int code) { |
| 160 | if (take_exit_lock()) run_atexit_handlers(); | 183 | if (take_exit_lock()) { |
| 184 | run_thread_local_exe_atexit_callback(); | ||
| 185 | run_atexit_handlers(); | ||
| 186 | } | ||
| 161 | end_run(code); | 187 | end_run(code); |
| 162 | } | 188 | } |
| 163 | // _exit(), _Exit(), quick_exit(): the end of the run without the atexit handlers. | 189 | // _exit(), _Exit(), quick_exit(): the end of the run without the atexit handlers. |
| @@ -167,6 +193,7 @@ void __cdecl game_quick_exit(int code) { | |||
| 167 | } | 193 | } |
| 168 | // _cexit() runs the handlers and flushes the streams, then returns; _c_exit() only returns. | 194 | // _cexit() runs the handlers and flushes the streams, then returns; _c_exit() only returns. |
| 169 | void __cdecl game_cexit() { | 195 | void __cdecl game_cexit() { |
| 196 | run_thread_local_exe_atexit_callback(); | ||
| 170 | run_atexit_handlers(); | 197 | run_atexit_handlers(); |
| 171 | std::fflush(nullptr); | 198 | std::fflush(nullptr); |
| 172 | } | 199 | } |
| @@ -493,6 +520,8 @@ using namespace rt::process; | |||
| 493 | {dll, "_crt_atexit", reinterpret_cast<void*>(&game_crt_atexit)}, \ | 520 | {dll, "_crt_atexit", reinterpret_cast<void*>(&game_crt_atexit)}, \ |
| 494 | {dll, "_cexit", reinterpret_cast<void*>(&game_cexit)}, {dll, "_c_exit", reinterpret_cast<void*>(&game_c_exit)}, \ | 521 | {dll, "_cexit", reinterpret_cast<void*>(&game_cexit)}, {dll, "_c_exit", reinterpret_cast<void*>(&game_c_exit)}, \ |
| 495 | {dll, "abort", reinterpret_cast<void*>(&game_abort)}, {dll, "__p___argc", reinterpret_cast<void*>(&game_p_argc)}, \ | 522 | {dll, "abort", reinterpret_cast<void*>(&game_abort)}, {dll, "__p___argc", reinterpret_cast<void*>(&game_p_argc)}, \ |
| 523 | {dll, "_register_thread_local_exe_atexit_callback", \ | ||
| 524 | reinterpret_cast<void*>(&game_register_thread_local_exe_atexit_callback)}, \ | ||
| 496 | {dll, "__p___argv", reinterpret_cast<void*>(&game_p_argv)}, \ | 525 | {dll, "__p___argv", reinterpret_cast<void*>(&game_p_argv)}, \ |
| 497 | {dll, "__p___wargv", reinterpret_cast<void*>(&game_p_wargv)}, \ | 526 | {dll, "__p___wargv", reinterpret_cast<void*>(&game_p_wargv)}, \ |
| 498 | {dll, "_configure_narrow_argv", reinterpret_cast<void*>(&game_configure_narrow_argv)}, \ | 527 | {dll, "_configure_narrow_argv", reinterpret_cast<void*>(&game_configure_narrow_argv)}, \ |
diff --git a/runtime/shims/xapu_chad.cpp b/runtime/shims/xapu_chad.cpp index 35bda2b72..e46a61c97 100644 --- a/runtime/shims/xapu_chad.cpp +++ b/runtime/shims/xapu_chad.cpp | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | // xapu.dll and chad.dll: the console's audio processing unit (APU) and audio DSP command queues. No PC has either, | 1 | // chad.dll: the console's audio DSP command queue. No PC has one, so this gives the title a connection whose calls |
| 2 | // so these give the title connections whose calls succeed, a zeroed shared buffer, a result for each stream open and | 2 | // succeed and zeroed DSP status: nothing the title submits is processed. xapu.dll, the APU command queue, is in |
| 3 | // close, and zeroed DSP status: the audio the APU would render stays silent, and nothing the title submits is processed. | 3 | // xapu_queue.cpp. |
| 4 | // | 4 | // |
| 5 | // Read from the executable's call sites (counts in docs/runtime_imports.md), statically, never run: | 5 | // Read from the executable's call sites (counts in docs/runtime_imports.md), statically, never run: |
| 6 | // XApuConnect(block24*, out16*, handle*) 1 site; success is SUCCEEDED(hr). The first qword of the 16-byte | ||
| 7 | // output is read later as the base of a CPU-visible buffer: per-stream | ||
| 8 | // input at base + slot * 0x280 and output at base + 0x14000 + | ||
| 9 | // slot * 0x1E00. The first argument is a 24-byte global of the title | ||
| 10 | // that other title code also addresses; whether it is an input or an | ||
| 11 | // output is not known, so it is left untouched. | ||
| 12 | // XApuEnqueueCommand(handle, cmd*, 0) 4 sites; the return value is never read. cmd's first dword is a type | ||
| 13 | // (1, 2 and 3 seen), the second a stream slot. | ||
| 14 | // XApuGetResultCount(handle, 0) 1 site; 0 skips the loop that dequeues. | ||
| 15 | // XApuDequeueResult(handle, out*) 1 site, called count times into a zeroed 0x50-byte local; a negative | ||
| 16 | // HRESULT skips that result. The loop reads a type at +0, a stream slot | ||
| 17 | // at +4 and a dword at +0x34. Its per-slot state machine takes a type 1 | ||
| 18 | // result as "opened" and returns the slot to the title's free list only | ||
| 19 | // on a type 2 result, after the title enqueued a type 2 command. | ||
| 20 | // XApuDisconnect(handle, 0x20) 1 site; the return value is never read. The constant second | ||
| 21 | // argument is not declared here: nothing reads it. | ||
| 22 | // XDspConnectWithMaximumStreamLimit(buffer, u32, u32, 0x80, 1, handle*) 1 site; success is a return of 0. The | 6 | // XDspConnectWithMaximumStreamLimit(buffer, u32, u32, 0x80, 1, handle*) 1 site; success is a return of 0. The |
| 23 | // buffer comes from the title's XMemAlloc and stays the title's. | 7 | // buffer comes from the title's XMemAlloc and stays the title's. |
| 24 | // XDspActivate(handle, desc*, out*, out*) 1 site; success is a return of 0, else the caller returns -1. The two | 8 | // XDspActivate(handle, desc*, out*, out*) 1 site; success is a return of 0, else the caller returns -1. The two |
| @@ -30,12 +14,6 @@ | |||
| 30 | // at +4 equals *id. | 14 | // at +4 equals *id. |
| 31 | // XDspDeactivate, XDspDisconnect 1 site each, tail calls: the caller returns what they return. | 15 | // XDspDeactivate, XDspDisconnect 1 site each, tail calls: the caller returns what they return. |
| 32 | // | 16 | // |
| 33 | // HYPOTHESIS: the shared buffer is 0x14000 + 128 * 0x1E00 bytes. 128 slots is what fits 0x14000 at the 0x280 input | ||
| 34 | // stride, and the DSP connect passes 0x80 as its stream limit; no call site shows a bound. The 16-byte output is | ||
| 35 | // written as {base, size}; only the base is measured. | ||
| 36 | // HYPOTHESIS: a type 1 (open) or type 2 (close) command produces one result of the same type for the same slot; the | ||
| 37 | // title's state machine fits that, the console is not measured. Without the close result the title's 256 stream ids | ||
| 38 | // run out. Only the two dwords are written; other command types are accepted with S_OK and produce no result. | ||
| 39 | // HYPOTHESIS: XDspActivate's outputs point at zeroed memory owned by the connection. XDspSubmitCommand leaves *id at | 17 | // HYPOTHESIS: XDspActivate's outputs point at zeroed memory owned by the connection. XDspSubmitCommand leaves *id at |
| 40 | // the title's 0, so the zeroed status reads as "command 0 done, no error" and the title does not wait. | 18 | // the title's 0, so the zeroed status reads as "command 0 done, no error" and the title does not wait. |
| 41 | #include <windows.h> | 19 | #include <windows.h> |
| @@ -43,7 +21,6 @@ | |||
| 43 | 21 | ||
| 44 | #include <cstdint> | 22 | #include <cstdint> |
| 45 | #include <cstring> | 23 | #include <cstring> |
| 46 | #include <deque> | ||
| 47 | #include <mutex> | 24 | #include <mutex> |
| 48 | #include <new> | 25 | #include <new> |
| 49 | #include <set> | 26 | #include <set> |
| @@ -54,30 +31,13 @@ | |||
| 54 | 31 | ||
| 55 | namespace { | 32 | namespace { |
| 56 | 33 | ||
| 57 | constexpr size_t kApuBufferSize = 0x14000 + 128 * 0x1E00; | ||
| 58 | |||
| 59 | // shortcut: results past this cap are dropped (each leaks one stream id); raise it if a title that never dequeues | ||
| 60 | // must still work. | ||
| 61 | constexpr size_t kMaxResults = 4096; | ||
| 62 | |||
| 63 | struct ApuResult { | ||
| 64 | uint32_t type; | ||
| 65 | uint32_t slot; | ||
| 66 | }; | ||
| 67 | |||
| 68 | struct ApuConnection { | ||
| 69 | void* buffer; | ||
| 70 | std::mutex mutex; | ||
| 71 | std::deque<ApuResult> results; | ||
| 72 | }; | ||
| 73 | |||
| 74 | struct DspConnection { | 34 | struct DspConnection { |
| 75 | uint8_t status[256]; | 35 | uint8_t status[256]; |
| 76 | uint8_t stream[256]; | 36 | uint8_t stream[256]; |
| 77 | }; | 37 | }; |
| 78 | 38 | ||
| 79 | // gta6rt --trace FILE: the first call of each function and the first XApuEnqueueCommand of each command type, with | 39 | // gta6rt --trace FILE: the first call of each function, with the caller, so the first boot shows what the title sends |
| 80 | // the caller, so the first boot shows what the title sends without a line per call. | 40 | // without a line per call. |
| 81 | void note(const char* api, uint64_t value, const void* caller) { | 41 | void note(const char* api, uint64_t value, const void* caller) { |
| 82 | if (!rt::startup_trace::enabled()) return; | 42 | if (!rt::startup_trace::enabled()) return; |
| 83 | static std::mutex mutex; | 43 | static std::mutex mutex; |
| @@ -92,71 +52,6 @@ void note(const char* api, uint64_t value, const void* caller) { | |||
| 92 | rt::startup_trace::quote(rt::startup_trace::where(reinterpret_cast<uint64_t>(caller)))); | 52 | rt::startup_trace::quote(rt::startup_trace::where(reinterpret_cast<uint64_t>(caller)))); |
| 93 | } | 53 | } |
| 94 | 54 | ||
| 95 | HRESULT __stdcall XApuConnect(void* block24, void* out16, void** handle) { | ||
| 96 | note("XApuConnect", 0, _ReturnAddress()); | ||
| 97 | if (!handle) return E_INVALIDARG; | ||
| 98 | *handle = nullptr; | ||
| 99 | void* buffer = VirtualAlloc(nullptr, kApuBufferSize, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); // zeroed | ||
| 100 | if (!buffer) return E_OUTOFMEMORY; | ||
| 101 | auto* c = new (std::nothrow) ApuConnection; // a throwing new would unwind into the title | ||
| 102 | if (!c) { | ||
| 103 | VirtualFree(buffer, 0, MEM_RELEASE); | ||
| 104 | return E_OUTOFMEMORY; | ||
| 105 | } | ||
| 106 | c->buffer = buffer; | ||
| 107 | *handle = c; | ||
| 108 | (void)block24; | ||
| 109 | if (out16) { | ||
| 110 | const uint64_t info[2] = {reinterpret_cast<uint64_t>(buffer), kApuBufferSize}; | ||
| 111 | std::memcpy(out16, info, sizeof info); | ||
| 112 | } | ||
| 113 | return S_OK; | ||
| 114 | } | ||
| 115 | |||
| 116 | HRESULT __stdcall XApuDisconnect(void* handle) { | ||
| 117 | note("XApuDisconnect", 0, _ReturnAddress()); | ||
| 118 | auto* c = static_cast<ApuConnection*>(handle); | ||
| 119 | if (!c) return E_INVALIDARG; | ||
| 120 | VirtualFree(c->buffer, 0, MEM_RELEASE); | ||
| 121 | delete c; | ||
| 122 | return S_OK; | ||
| 123 | } | ||
| 124 | |||
| 125 | HRESULT __stdcall XApuEnqueueCommand(void* handle, const uint32_t* command, uint64_t flags) { | ||
| 126 | note("XApuEnqueueCommand", command ? command[0] : ~0ull, _ReturnAddress()); | ||
| 127 | (void)flags; | ||
| 128 | auto* c = static_cast<ApuConnection*>(handle); | ||
| 129 | if (!c || !command) return E_INVALIDARG; | ||
| 130 | if (command[0] == 1 || command[0] == 2) { | ||
| 131 | try { | ||
| 132 | const std::lock_guard lock(c->mutex); | ||
| 133 | if (c->results.size() < kMaxResults) c->results.push_back({command[0], command[1]}); | ||
| 134 | } catch (...) { // out of memory: the result is lost, nothing may unwind into the title | ||
| 135 | } | ||
| 136 | } | ||
| 137 | return S_OK; | ||
| 138 | } | ||
| 139 | |||
| 140 | uint32_t __stdcall XApuGetResultCount(void* handle, uint64_t flags) { | ||
| 141 | note("XApuGetResultCount", 0, _ReturnAddress()); | ||
| 142 | (void)flags; | ||
| 143 | auto* c = static_cast<ApuConnection*>(handle); | ||
| 144 | if (!c) return 0; | ||
| 145 | const std::lock_guard lock(c->mutex); | ||
| 146 | return static_cast<uint32_t>(c->results.size()); | ||
| 147 | } | ||
| 148 | |||
| 149 | HRESULT __stdcall XApuDequeueResult(void* handle, void* result) { | ||
| 150 | note("XApuDequeueResult", 0, _ReturnAddress()); | ||
| 151 | auto* c = static_cast<ApuConnection*>(handle); | ||
| 152 | if (!c || !result) return E_INVALIDARG; | ||
| 153 | const std::lock_guard lock(c->mutex); | ||
| 154 | if (c->results.empty()) return E_FAIL; | ||
| 155 | std::memcpy(result, &c->results.front(), sizeof(ApuResult)); // the rest stays as the caller zeroed it | ||
| 156 | c->results.pop_front(); | ||
| 157 | return S_OK; | ||
| 158 | } | ||
| 159 | |||
| 160 | HRESULT __stdcall XDspConnectWithMaximumStreamLimit(void* buffer, uint32_t a, uint32_t b, uint32_t max_streams, | 55 | HRESULT __stdcall XDspConnectWithMaximumStreamLimit(void* buffer, uint32_t a, uint32_t b, uint32_t max_streams, |
| 161 | uint32_t flags, void** handle) { | 56 | uint32_t flags, void** handle) { |
| 162 | note("XDspConnectWithMaximumStreamLimit", max_streams, _ReturnAddress()); | 57 | note("XDspConnectWithMaximumStreamLimit", max_streams, _ReturnAddress()); |
| @@ -199,14 +94,6 @@ HRESULT __stdcall XDspSubmitCommand(void*, void*, uint32_t*) { | |||
| 199 | 94 | ||
| 200 | } // namespace | 95 | } // namespace |
| 201 | 96 | ||
| 202 | SHIM_TABLE(xapu, | ||
| 203 | {"xapu.dll", "XApuConnect", reinterpret_cast<void*>(&XApuConnect)}, | ||
| 204 | {"xapu.dll", "XApuDequeueResult", reinterpret_cast<void*>(&XApuDequeueResult)}, | ||
| 205 | {"xapu.dll", "XApuDisconnect", reinterpret_cast<void*>(&XApuDisconnect)}, | ||
| 206 | {"xapu.dll", "XApuEnqueueCommand", reinterpret_cast<void*>(&XApuEnqueueCommand)}, | ||
| 207 | {"xapu.dll", "XApuGetResultCount", reinterpret_cast<void*>(&XApuGetResultCount)}, | ||
| 208 | ); | ||
| 209 | |||
| 210 | SHIM_TABLE(chad, | 97 | SHIM_TABLE(chad, |
| 211 | {"chad.dll", "XDspActivate", reinterpret_cast<void*>(&XDspActivate)}, | 98 | {"chad.dll", "XDspActivate", reinterpret_cast<void*>(&XDspActivate)}, |
| 212 | {"chad.dll", "XDspConnectWithMaximumStreamLimit", reinterpret_cast<void*>(&XDspConnectWithMaximumStreamLimit)}, | 99 | {"chad.dll", "XDspConnectWithMaximumStreamLimit", reinterpret_cast<void*>(&XDspConnectWithMaximumStreamLimit)}, |
diff --git a/runtime/shims/xapu_queue.cpp b/runtime/shims/xapu_queue.cpp new file mode 100644 index 000000000..e754376ba --- /dev/null +++ b/runtime/shims/xapu_queue.cpp | |||
| @@ -0,0 +1,438 @@ | |||
| 1 | // xapu.dll: the console's audio processing unit (APU) command queue. No PC has one, so this keeps the queue the title | ||
| 2 | // talks to - one result per accepted command, in command order, with the console's error codes. With | ||
| 3 | // runtime/opus_decoder built (LEONIDA_HAVE_OPUS_DECODER) a process command decodes its Opus packet to PCM; without | ||
| 4 | // it the result carries the frame count its table-of-contents byte gives and silence in its output. | ||
| 5 | // | ||
| 6 | // Read from the executable's call sites (counts in docs/runtime_imports.md, shapes in docs/audio_hal_exe_calls.md), | ||
| 7 | // statically, never run: | ||
| 8 | // XApuConnect(input24*, out16*, handle*) 1 site; success is SUCCEEDED(hr). The first qword of the 16-byte | ||
| 9 | // output is read later as the base of a CPU-visible buffer: per-stream | ||
| 10 | // input at base + slot * 0x280 and output at base + 0x14000 + | ||
| 11 | // slot * 0x1E00. The first argument is a 24-byte global of the title | ||
| 12 | // that other title code also addresses. | ||
| 13 | // XApuEnqueueCommand(handle, cmd*, 0) 4 sites; the return value is never read. cmd's first dword is a type | ||
| 14 | // (1, 2 and 3 seen), the second a stream slot. | ||
| 15 | // XApuGetResultCount(handle, 0) 1 site; 0 skips the loop that dequeues. | ||
| 16 | // XApuDequeueResult(handle, out*) 1 site, called count times into a zeroed 0x50-byte local; a negative | ||
| 17 | // HRESULT skips that result. The loop reads a type at +0, a stream slot | ||
| 18 | // at +4 and a dword at +0x34. Its per-slot state machine takes a type 1 | ||
| 19 | // result as "opened" and returns the slot to the title's free list only | ||
| 20 | // on a type 2 result, after the title enqueued a type 2 command. | ||
| 21 | // XApuDisconnect(handle, 0x20) 1 site; the return value is never read. | ||
| 22 | // | ||
| 23 | // Where the layouts come from. The signatures, structure layouts, command kinds, option bits and error codes below | ||
| 24 | // are facts recorded by Marvisak/VIctory (GPL-3.0-or-later, crates/victory-hle/src/modules/apu.rs at commit ffe310e), | ||
| 25 | // whose runtime runs the retail executable through these calls; see docs/related_projects.md. Nothing of its code is | ||
| 26 | // copied; this file is written from those facts. They agree with every shape above: the first argument of | ||
| 27 | // XApuConnect is an input, the dword the title reads at +0x34 of a result is its output byte count, and a type 1 | ||
| 28 | // (activate) or type 2 (deactivate) command gives a result of the same kind for the same stream. | ||
| 29 | // HRESULT XApuConnect(const ConnectInput*, ConnectOutput*, Connection** out) | ||
| 30 | // HRESULT XApuDisconnect(Connection*, uint32_t) the second argument is not read | ||
| 31 | // HRESULT XApuEnqueueCommand(Connection*, const void* command, uint32_t* accepted_so_far) may be null | ||
| 32 | // HRESULT XApuDequeueResult(Connection*, Result* out) 0x8AC81001 while no result is ready | ||
| 33 | // uint32_t XApuGetResultCount(Connection*, uint32_t* dequeued_so_far) may be null; returns the results ready | ||
| 34 | // A connection is for one kind of processing; kind 1 is Opus decoding to 32-bit float PCM at 48 kHz, and any other | ||
| 35 | // kind is E_NOTIMPL. Every command starts with the 24-byte CommandId. A command refused at once (unknown kind, | ||
| 36 | // stream out of range, or the stream already holding `commands_per_stream` results not dequeued) gives no result; | ||
| 37 | // every other command gives one, with its error, if any, in the result. | ||
| 38 | // | ||
| 39 | // Without runtime/opus_decoder a process command's frame count comes from the Opus packet's table-of-contents byte | ||
| 40 | // (RFC 6716, section 3.1), clipped from first_frame, to frame_count and to what output_bytes holds, and that output | ||
| 41 | // range is written with zeros, so the title sees streams advance at the right rate and the audio stays silent. With | ||
| 42 | // the crate, fill() decodes the packet and writes its PCM instead. | ||
| 43 | #include <windows.h> | ||
| 44 | #include <intrin.h> | ||
| 45 | |||
| 46 | #include <cstddef> | ||
| 47 | #include <cstdint> | ||
| 48 | #include <cstdio> | ||
| 49 | #include <cstring> | ||
| 50 | #include <deque> | ||
| 51 | #include <mutex> | ||
| 52 | #include <new> | ||
| 53 | #include <set> | ||
| 54 | #include <string> | ||
| 55 | #include <vector> | ||
| 56 | |||
| 57 | #if defined(LEONIDA_HAVE_OPUS_DECODER) | ||
| 58 | #include "leonida_opus_decoder.h" | ||
| 59 | #endif | ||
| 60 | |||
| 61 | #include "shims.h" | ||
| 62 | #include "startup_trace.h" | ||
| 63 | |||
| 64 | namespace { | ||
| 65 | |||
| 66 | constexpr HRESULT kNotImpl = static_cast<HRESULT>(rt::shims::kENotImpl); | ||
| 67 | constexpr HRESULT kQueueFull = static_cast<HRESULT>(0x8AC81000u); | ||
| 68 | constexpr HRESULT kNoResult = static_cast<HRESULT>(0x8AC81001u); | ||
| 69 | constexpr HRESULT kInvalidCommand = static_cast<HRESULT>(0x8AC81002u); | ||
| 70 | constexpr HRESULT kInvalidStream = static_cast<HRESULT>(0x8AC81003u); | ||
| 71 | constexpr HRESULT kAlreadyActive = static_cast<HRESULT>(0x8AC81005u); | ||
| 72 | constexpr HRESULT kBadPacket = static_cast<HRESULT>(0x8AC81008u); | ||
| 73 | |||
| 74 | constexpr uint32_t kDecodeOpus = 1; // ConnectInput::processing | ||
| 75 | |||
| 76 | constexpr uint32_t kActivate = 1; // CommandId::kind | ||
| 77 | constexpr uint32_t kDeactivate = 2; | ||
| 78 | constexpr uint32_t kProcess = 3; | ||
| 79 | constexpr uint32_t kReset = 5; // 4 is notify; neither carries anything to do while nothing is decoded | ||
| 80 | |||
| 81 | constexpr uint32_t kSignalWhenDone = 0x1; // CommandId::options: set the result event when the result is ready | ||
| 82 | constexpr uint32_t kResultEvent = 0x8; // ConnectInput::options: create an auto-reset event and hand it out | ||
| 83 | constexpr uint32_t kDeinterleavedOutput = 0x4; // ConnectInput::options: split stereo into two planes | ||
| 84 | constexpr uint32_t kOpusSampleRate = 48000; | ||
| 85 | |||
| 86 | constexpr uint32_t kMaxStreams = 500; | ||
| 87 | constexpr uint32_t kMaxCommandsPerStream = 16; | ||
| 88 | constexpr uint32_t kMaxFrames = 5760; // 120 ms at 48 kHz, the longest Opus packet (RFC 6716, section 3.2.5) | ||
| 89 | |||
| 90 | #pragma pack(push, 1) | ||
| 91 | struct ConnectInput { | ||
| 92 | uint32_t processing; | ||
| 93 | uint32_t streams; | ||
| 94 | uint32_t commands_per_stream; | ||
| 95 | uint32_t memory_bytes; | ||
| 96 | uint32_t frames_per_output; // 0 for decoding | ||
| 97 | uint32_t options; | ||
| 98 | }; | ||
| 99 | struct ConnectOutput { | ||
| 100 | void* memory; // zeroed, for the title's packets and output | ||
| 101 | HANDLE result_event; | ||
| 102 | }; | ||
| 103 | struct CommandId { | ||
| 104 | uint32_t kind; | ||
| 105 | uint32_t stream; | ||
| 106 | uint32_t sequence; | ||
| 107 | uint32_t options; | ||
| 108 | uint64_t context; | ||
| 109 | }; | ||
| 110 | struct ActivateCommand { | ||
| 111 | CommandId id; | ||
| 112 | uint32_t channels; // 1 or 2 | ||
| 113 | uint32_t init_bytes; | ||
| 114 | const void* init; | ||
| 115 | float start_pitch; | ||
| 116 | uint32_t processing_bytes; | ||
| 117 | void* processing; | ||
| 118 | }; | ||
| 119 | struct ProcessCommand { | ||
| 120 | CommandId id; | ||
| 121 | float pitch_ramp; | ||
| 122 | float target_pitch; | ||
| 123 | uint32_t first_frame; | ||
| 124 | uint32_t frame_count; | ||
| 125 | uint32_t input_bytes; | ||
| 126 | const uint8_t* input; | ||
| 127 | uint32_t output_bytes; | ||
| 128 | uint8_t* output; | ||
| 129 | }; | ||
| 130 | struct Result { | ||
| 131 | CommandId id; | ||
| 132 | uint32_t state; | ||
| 133 | uint64_t state_data; | ||
| 134 | uint64_t usec; | ||
| 135 | HRESULT error; | ||
| 136 | uint32_t frames; | ||
| 137 | uint32_t output_bytes; | ||
| 138 | uint8_t* output; | ||
| 139 | float pitch; | ||
| 140 | uint32_t input_bytes; | ||
| 141 | const uint8_t* input; | ||
| 142 | }; | ||
| 143 | #pragma pack(pop) | ||
| 144 | static_assert(sizeof(ConnectInput) == 24, "six dwords"); | ||
| 145 | static_assert(sizeof(ConnectOutput) == 16, "memory and event"); | ||
| 146 | static_assert(sizeof(CommandId) == 24, "kind, stream, sequence, options, context"); | ||
| 147 | static_assert(sizeof(ActivateCommand) == 56, "CommandId and the activate fields"); | ||
| 148 | static_assert(sizeof(ProcessCommand) == 64, "CommandId and the process fields"); | ||
| 149 | static_assert(sizeof(Result) == 0x50, "the result the title dequeues"); | ||
| 150 | static_assert(offsetof(Result, state) == 0x18 && offsetof(Result, error) == 0x2C && | ||
| 151 | offsetof(Result, output_bytes) == 0x34 && offsetof(Result, pitch) == 0x40 && | ||
| 152 | offsetof(Result, input) == 0x48, | ||
| 153 | "the offsets the title and the layout agree on"); | ||
| 154 | |||
| 155 | struct Stream { | ||
| 156 | bool active = false; | ||
| 157 | uint32_t channels = 0; | ||
| 158 | uint32_t pending = 0; // results queued and not dequeued | ||
| 159 | #if defined(LEONIDA_HAVE_OPUS_DECODER) | ||
| 160 | LeonidaOpusDecoder* decoder = nullptr; | ||
| 161 | #endif | ||
| 162 | }; | ||
| 163 | |||
| 164 | struct Connection { | ||
| 165 | void* memory = nullptr; | ||
| 166 | HANDLE event = nullptr; | ||
| 167 | uint32_t commands_per_stream = 0; | ||
| 168 | bool deinterleaved = false; | ||
| 169 | std::mutex mutex; | ||
| 170 | std::vector<Stream> streams; | ||
| 171 | std::deque<Result> results; | ||
| 172 | uint32_t accepted = 0; | ||
| 173 | uint32_t dequeued = 0; | ||
| 174 | }; | ||
| 175 | |||
| 176 | // gta6rt --trace FILE: the first call of each function and the first XApuEnqueueCommand of each command kind, with | ||
| 177 | // the caller, so the first boot shows what the title sends without a line per call. | ||
| 178 | void note(const char* api, uint64_t value, const void* caller) { | ||
| 179 | if (!rt::startup_trace::enabled()) return; | ||
| 180 | static std::mutex mutex; | ||
| 181 | static std::set<std::pair<std::string, uint64_t>> seen; | ||
| 182 | { | ||
| 183 | const std::lock_guard lock(mutex); | ||
| 184 | if (!seen.insert({api, value}).second) return; | ||
| 185 | } | ||
| 186 | rt::startup_trace::event( | ||
| 187 | "audio_queue", std::string("\"api\":") + rt::startup_trace::quote(api) + | ||
| 188 | ",\"value\":" + rt::startup_trace::quote(rt::startup_trace::hex(value)) + ",\"caller\":" + | ||
| 189 | rt::startup_trace::quote(rt::startup_trace::where(reinterpret_cast<uint64_t>(caller)))); | ||
| 190 | } | ||
| 191 | |||
| 192 | // Samples per channel at 48 kHz in one Opus packet, from its table-of-contents byte and frame count code (RFC 6716, | ||
| 193 | // section 3.1); 0 for a packet that is not valid. The no-decoder path counts frames this way. | ||
| 194 | uint32_t opus_packet_frames(const uint8_t* packet, uint32_t bytes) { | ||
| 195 | if (!packet || bytes == 0) return 0; | ||
| 196 | static constexpr uint32_t kSilk[4] = {480, 960, 1920, 2880}; // 10, 20, 40, 60 ms | ||
| 197 | static constexpr uint32_t kHybrid[2] = {480, 960}; // 10, 20 ms | ||
| 198 | static constexpr uint32_t kCelt[4] = {120, 240, 480, 960}; // 2.5, 5, 10, 20 ms | ||
| 199 | const uint32_t config = packet[0] >> 3; | ||
| 200 | const uint32_t per_frame = config < 12 ? kSilk[config & 3] : config < 16 ? kHybrid[config & 1] : kCelt[config & 3]; | ||
| 201 | uint32_t count = 0; | ||
| 202 | switch (packet[0] & 3) { | ||
| 203 | case 0: count = 1; break; | ||
| 204 | case 1: | ||
| 205 | case 2: count = 2; break; | ||
| 206 | default: | ||
| 207 | if (bytes < 2) return 0; | ||
| 208 | count = packet[1] & 0x3F; | ||
| 209 | break; | ||
| 210 | } | ||
| 211 | if (count == 0 || count * per_frame > kMaxFrames) return 0; | ||
| 212 | return count * per_frame; | ||
| 213 | } | ||
| 214 | |||
| 215 | // Fills a process command's result: the packet's PCM when runtime/opus_decoder is built, silence (with the frame | ||
| 216 | // count from the table-of-contents byte) otherwise. | ||
| 217 | void fill(Connection& connection, Stream& stream, const ProcessCommand& c, Result& r) { | ||
| 218 | r.input = c.input; | ||
| 219 | r.input_bytes = c.input_bytes; | ||
| 220 | r.output = c.output; | ||
| 221 | if (!c.input || !c.output || c.input_bytes == 0) { | ||
| 222 | r.error = E_INVALIDARG; | ||
| 223 | return; | ||
| 224 | } | ||
| 225 | #if defined(LEONIDA_HAVE_OPUS_DECODER) | ||
| 226 | if (stream.decoder) { | ||
| 227 | const uint32_t channels = leonida_opus_decoder_channels(stream.decoder); | ||
| 228 | if (channels == 0) { | ||
| 229 | r.error = kInvalidStream; | ||
| 230 | return; | ||
| 231 | } | ||
| 232 | std::vector<float> pcm; | ||
| 233 | try { | ||
| 234 | pcm.resize(size_t(kMaxFrames) * channels); | ||
| 235 | } catch (...) { | ||
| 236 | r.error = E_OUTOFMEMORY; | ||
| 237 | return; | ||
| 238 | } | ||
| 239 | uint32_t decoded = 0; | ||
| 240 | if (leonida_opus_decode_packet(stream.decoder, c.input, c.input_bytes, pcm.data(), kMaxFrames, &decoded) != | ||
| 241 | LEONIDA_OPUS_OK) { | ||
| 242 | r.error = kBadPacket; | ||
| 243 | return; | ||
| 244 | } | ||
| 245 | const uint32_t first = c.first_frame < decoded ? c.first_frame : decoded; | ||
| 246 | uint32_t frames = decoded - first; | ||
| 247 | if (frames > c.frame_count) frames = c.frame_count; | ||
| 248 | const uint32_t room = c.output_bytes / (4 * channels); | ||
| 249 | if (frames > room) frames = room; | ||
| 250 | const uint32_t bytes = frames * channels * 4; | ||
| 251 | if (connection.deinterleaved && channels == 2) { | ||
| 252 | float* out = reinterpret_cast<float*>(c.output); | ||
| 253 | for (uint32_t i = 0; i < frames; ++i) { | ||
| 254 | out[i] = pcm[(first + i) * 2]; | ||
| 255 | out[frames + i] = pcm[(first + i) * 2 + 1]; | ||
| 256 | } | ||
| 257 | } else if (bytes != 0) { | ||
| 258 | std::memcpy(c.output, pcm.data() + first * channels, bytes); | ||
| 259 | } | ||
| 260 | r.frames = frames; | ||
| 261 | r.output_bytes = bytes; | ||
| 262 | return; | ||
| 263 | } | ||
| 264 | #endif | ||
| 265 | const uint32_t decoded = opus_packet_frames(c.input, c.input_bytes); | ||
| 266 | if (decoded == 0) { | ||
| 267 | r.error = kBadPacket; | ||
| 268 | return; | ||
| 269 | } | ||
| 270 | const uint32_t first = c.first_frame < decoded ? c.first_frame : decoded; | ||
| 271 | uint32_t frames = decoded - first; | ||
| 272 | if (frames > c.frame_count) frames = c.frame_count; | ||
| 273 | const uint32_t room = c.output_bytes / (4 * stream.channels); | ||
| 274 | if (frames > room) frames = room; | ||
| 275 | const uint32_t bytes = frames * stream.channels * 4; | ||
| 276 | std::memset(c.output, 0, bytes); // interleaved or not, silence is zeros | ||
| 277 | r.frames = frames; | ||
| 278 | r.output_bytes = bytes; | ||
| 279 | } | ||
| 280 | |||
| 281 | HRESULT __stdcall XApuConnect(const ConnectInput* input, ConnectOutput* output, Connection** out) { | ||
| 282 | note("XApuConnect", input ? input->processing : ~0ull, _ReturnAddress()); | ||
| 283 | if (!input || !output || !out) return E_INVALIDARG; | ||
| 284 | *out = nullptr; | ||
| 285 | ConnectInput in; | ||
| 286 | std::memcpy(&in, input, sizeof(in)); | ||
| 287 | if (in.streams == 0 || in.streams > kMaxStreams || in.commands_per_stream == 0 || | ||
| 288 | in.commands_per_stream > kMaxCommandsPerStream || in.memory_bytes == 0) | ||
| 289 | return E_INVALIDARG; | ||
| 290 | if (in.processing != kDecodeOpus) { | ||
| 291 | std::fprintf(stderr, "[rt] xapu: XApuConnect for processing kind %u: only Opus decoding (1); E_NOTIMPL\n", | ||
| 292 | in.processing); | ||
| 293 | return kNotImpl; | ||
| 294 | } | ||
| 295 | if (in.frames_per_output != 0) return E_INVALIDARG; | ||
| 296 | |||
| 297 | auto* c = new (std::nothrow) Connection; // a throwing new would unwind into the title | ||
| 298 | if (!c) return E_OUTOFMEMORY; | ||
| 299 | try { | ||
| 300 | c->streams.resize(in.streams); | ||
| 301 | } catch (...) { | ||
| 302 | delete c; | ||
| 303 | return E_OUTOFMEMORY; | ||
| 304 | } | ||
| 305 | c->memory = VirtualAlloc(nullptr, in.memory_bytes, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); // zeroed | ||
| 306 | if (!c->memory) { | ||
| 307 | delete c; | ||
| 308 | return E_OUTOFMEMORY; | ||
| 309 | } | ||
| 310 | if (in.options & kResultEvent) { | ||
| 311 | c->event = CreateEventW(nullptr, FALSE, FALSE, nullptr); // auto-reset | ||
| 312 | if (!c->event) { | ||
| 313 | const HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); | ||
| 314 | VirtualFree(c->memory, 0, MEM_RELEASE); | ||
| 315 | delete c; | ||
| 316 | return hr; | ||
| 317 | } | ||
| 318 | } | ||
| 319 | c->commands_per_stream = in.commands_per_stream; | ||
| 320 | c->deinterleaved = (in.options & kDeinterleavedOutput) != 0; | ||
| 321 | const ConnectOutput o{c->memory, c->event}; | ||
| 322 | std::memcpy(output, &o, sizeof(o)); | ||
| 323 | *out = c; | ||
| 324 | #if defined(LEONIDA_HAVE_OPUS_DECODER) | ||
| 325 | std::fprintf(stderr, "[rt] xapu: connected for Opus decoding, %u streams; packets decoded\n", in.streams); | ||
| 326 | #else | ||
| 327 | std::fprintf(stderr, "[rt] xapu: connected for Opus decoding, %u streams; packets counted, not decoded\n", | ||
| 328 | in.streams); | ||
| 329 | #endif | ||
| 330 | return S_OK; | ||
| 331 | } | ||
| 332 | |||
| 333 | HRESULT __stdcall XApuDisconnect(Connection* c, uint32_t /*0x20 at the measured site*/) { | ||
| 334 | note("XApuDisconnect", 0, _ReturnAddress()); | ||
| 335 | if (!c) return E_INVALIDARG; | ||
| 336 | #if defined(LEONIDA_HAVE_OPUS_DECODER) | ||
| 337 | for (Stream& s : c->streams) | ||
| 338 | if (s.decoder) leonida_opus_decoder_destroy(s.decoder); | ||
| 339 | #endif | ||
| 340 | if (c->event) CloseHandle(c->event); | ||
| 341 | VirtualFree(c->memory, 0, MEM_RELEASE); | ||
| 342 | delete c; | ||
| 343 | return S_OK; | ||
| 344 | } | ||
| 345 | |||
| 346 | HRESULT __stdcall XApuEnqueueCommand(Connection* c, const void* command, uint32_t* accepted_so_far) { | ||
| 347 | if (!c || !command) return E_INVALIDARG; | ||
| 348 | CommandId id; | ||
| 349 | std::memcpy(&id, command, sizeof(id)); | ||
| 350 | note("XApuEnqueueCommand", id.kind, _ReturnAddress()); | ||
| 351 | if (id.kind < kActivate || id.kind > kReset) return kInvalidCommand; | ||
| 352 | |||
| 353 | const std::lock_guard lock(c->mutex); | ||
| 354 | if (id.stream >= c->streams.size()) return kInvalidStream; | ||
| 355 | Stream& stream = c->streams[id.stream]; | ||
| 356 | if (stream.pending >= c->commands_per_stream) return kQueueFull; | ||
| 357 | |||
| 358 | Result r{}; | ||
| 359 | r.id = id; | ||
| 360 | r.pitch = 1.0f; | ||
| 361 | if (id.kind == kActivate) { | ||
| 362 | ActivateCommand a; | ||
| 363 | std::memcpy(&a, command, sizeof(a)); | ||
| 364 | if (stream.active) { | ||
| 365 | r.error = kAlreadyActive; | ||
| 366 | } else if (a.channels < 1 || a.channels > 2) { | ||
| 367 | r.error = E_INVALIDARG; | ||
| 368 | } else { | ||
| 369 | stream.active = true; | ||
| 370 | stream.channels = a.channels; | ||
| 371 | #if defined(LEONIDA_HAVE_OPUS_DECODER) | ||
| 372 | if (leonida_opus_decoder_create(kOpusSampleRate, a.channels, &stream.decoder) != LEONIDA_OPUS_OK) { | ||
| 373 | stream.active = false; | ||
| 374 | stream.channels = 0; | ||
| 375 | r.error = E_INVALIDARG; | ||
| 376 | } | ||
| 377 | #endif | ||
| 378 | } | ||
| 379 | } else if (id.kind == kDeactivate) { | ||
| 380 | stream.active = false; | ||
| 381 | #if defined(LEONIDA_HAVE_OPUS_DECODER) | ||
| 382 | if (stream.decoder) { | ||
| 383 | leonida_opus_decoder_destroy(stream.decoder); | ||
| 384 | stream.decoder = nullptr; | ||
| 385 | } | ||
| 386 | #endif | ||
| 387 | } else if (id.kind == kReset) { | ||
| 388 | #if defined(LEONIDA_HAVE_OPUS_DECODER) | ||
| 389 | if (stream.decoder) leonida_opus_decoder_reset(stream.decoder); | ||
| 390 | #endif | ||
| 391 | } else if (id.kind == kProcess) { | ||
| 392 | ProcessCommand p; | ||
| 393 | std::memcpy(&p, command, sizeof(p)); | ||
| 394 | if (!stream.active) r.error = kInvalidStream; | ||
| 395 | else fill(*c, stream, p, r); | ||
| 396 | } | ||
| 397 | try { | ||
| 398 | c->results.push_back(r); | ||
| 399 | } catch (...) { // out of memory: refuse the command, nothing may unwind into the title | ||
| 400 | return E_OUTOFMEMORY; | ||
| 401 | } | ||
| 402 | ++stream.pending; | ||
| 403 | ++c->accepted; | ||
| 404 | if (accepted_so_far) *accepted_so_far = c->accepted; | ||
| 405 | if ((id.options & kSignalWhenDone) && c->event) SetEvent(c->event); | ||
| 406 | return S_OK; | ||
| 407 | } | ||
| 408 | |||
| 409 | HRESULT __stdcall XApuDequeueResult(Connection* c, Result* out) { | ||
| 410 | note("XApuDequeueResult", 0, _ReturnAddress()); | ||
| 411 | if (!c || !out) return E_INVALIDARG; | ||
| 412 | const std::lock_guard lock(c->mutex); | ||
| 413 | if (c->results.empty()) return kNoResult; | ||
| 414 | const Result r = c->results.front(); | ||
| 415 | c->results.pop_front(); | ||
| 416 | --c->streams[r.id.stream].pending; | ||
| 417 | ++c->dequeued; | ||
| 418 | std::memcpy(out, &r, sizeof(r)); | ||
| 419 | return S_OK; | ||
| 420 | } | ||
| 421 | |||
| 422 | uint32_t __stdcall XApuGetResultCount(Connection* c, uint32_t* dequeued_so_far) { | ||
| 423 | note("XApuGetResultCount", 0, _ReturnAddress()); | ||
| 424 | if (!c) return 0; | ||
| 425 | const std::lock_guard lock(c->mutex); | ||
| 426 | if (dequeued_so_far) *dequeued_so_far = c->dequeued; | ||
| 427 | return static_cast<uint32_t>(c->results.size()); | ||
| 428 | } | ||
| 429 | |||
| 430 | } // namespace | ||
| 431 | |||
| 432 | SHIM_TABLE(xapu, | ||
| 433 | {"xapu.dll", "XApuConnect", reinterpret_cast<void*>(&XApuConnect)}, | ||
| 434 | {"xapu.dll", "XApuDequeueResult", reinterpret_cast<void*>(&XApuDequeueResult)}, | ||
| 435 | {"xapu.dll", "XApuDisconnect", reinterpret_cast<void*>(&XApuDisconnect)}, | ||
| 436 | {"xapu.dll", "XApuEnqueueCommand", reinterpret_cast<void*>(&XApuEnqueueCommand)}, | ||
| 437 | {"xapu.dll", "XApuGetResultCount", reinterpret_cast<void*>(&XApuGetResultCount)}, | ||
| 438 | ); | ||
diff --git a/runtime/shims/xgameruntime_gamesave.cpp b/runtime/shims/xgameruntime_gamesave.cpp index 7ba8ab645..b29475778 100644 --- a/runtime/shims/xgameruntime_gamesave.cpp +++ b/runtime/shims/xgameruntime_gamesave.cpp | |||
| @@ -326,23 +326,30 @@ struct BlobRead { | |||
| 326 | 326 | ||
| 327 | size_t align8(size_t n) { return (n + 7) & ~size_t{7}; } | 327 | size_t align8(size_t n) { return (n + 7) & ~size_t{7}; } |
| 328 | 328 | ||
| 329 | size_t packed_size(const std::vector<BlobRead>& blobs) { | 329 | // The layout the blobs are packed in: 8-byte aligned data and names when the buffer has room for that, packed back |
| 330 | size_t n = align8(blobs.size() * sizeof(XGameSaveBlob)); | 330 | // to back otherwise. A title sizes the buffer as the sum of sizeof(XGameSaveBlob), the data and the name with its NUL |
| 331 | for (const BlobRead& b : blobs) n += align8(b.data.size()) + align8(b.name.size() + 1); | 331 | // for each blob, so the minimum is the unaligned size. |
| 332 | size_t packed_size(const std::vector<BlobRead>& blobs, bool aligned) { | ||
| 333 | const auto a = [aligned](size_t n) { return aligned ? align8(n) : n; }; | ||
| 334 | size_t n = a(blobs.size() * sizeof(XGameSaveBlob)); | ||
| 335 | for (const BlobRead& b : blobs) n += a(b.data.size()) + a(b.name.size() + 1); | ||
| 332 | return n; | 336 | return n; |
| 333 | } | 337 | } |
| 338 | size_t packed_size(const std::vector<BlobRead>& blobs) { return packed_size(blobs, false); } | ||
| 334 | 339 | ||
| 335 | void pack(const std::vector<BlobRead>& blobs, void* buffer) { | 340 | void pack(const std::vector<BlobRead>& blobs, void* buffer, size_t buffer_size) { |
| 341 | const bool aligned = buffer_size >= packed_size(blobs, true); | ||
| 342 | const auto a = [aligned](size_t n) { return aligned ? align8(n) : n; }; | ||
| 336 | auto* base = static_cast<uint8_t*>(buffer); | 343 | auto* base = static_cast<uint8_t*>(buffer); |
| 337 | auto* entries = static_cast<XGameSaveBlob*>(buffer); | 344 | auto* entries = static_cast<XGameSaveBlob*>(buffer); |
| 338 | size_t at = align8(blobs.size() * sizeof(XGameSaveBlob)); | 345 | size_t at = a(blobs.size() * sizeof(XGameSaveBlob)); |
| 339 | for (size_t i = 0; i < blobs.size(); ++i) { | 346 | for (size_t i = 0; i < blobs.size(); ++i) { |
| 340 | uint8_t* data = base + at; | 347 | uint8_t* data = base + at; |
| 341 | if (!blobs[i].data.empty()) std::memcpy(data, blobs[i].data.data(), blobs[i].data.size()); | 348 | if (!blobs[i].data.empty()) std::memcpy(data, blobs[i].data.data(), blobs[i].data.size()); |
| 342 | at += align8(blobs[i].data.size()); | 349 | at += a(blobs[i].data.size()); |
| 343 | char* name = reinterpret_cast<char*>(base + at); | 350 | char* name = reinterpret_cast<char*>(base + at); |
| 344 | std::memcpy(name, blobs[i].name.c_str(), blobs[i].name.size() + 1); | 351 | std::memcpy(name, blobs[i].name.c_str(), blobs[i].name.size() + 1); |
| 345 | at += align8(blobs[i].name.size() + 1); | 352 | at += a(blobs[i].name.size() + 1); |
| 346 | entries[i].info.name = name; | 353 | entries[i].info.name = name; |
| 347 | entries[i].info.size = static_cast<uint32_t>(blobs[i].data.size()); | 354 | entries[i].info.size = static_cast<uint32_t>(blobs[i].data.size()); |
| 348 | entries[i].data = data; | 355 | entries[i].data = data; |
| @@ -642,7 +649,7 @@ HRESULT CALLBACK job_provider(XAsyncOp op, const XAsyncProviderData* data) { | |||
| 642 | } | 649 | } |
| 643 | if (job->identity == &kReadIdentity) { | 650 | if (job->identity == &kReadIdentity) { |
| 644 | if (data->bufferSize < packed_size(job->blobs)) return E_GS_PROVIDED_BUFFER_TOO_SMALL; | 651 | if (data->bufferSize < packed_size(job->blobs)) return E_GS_PROVIDED_BUFFER_TOO_SMALL; |
| 645 | pack(job->blobs, data->buffer); | 652 | pack(job->blobs, data->buffer, data->bufferSize); |
| 646 | t_read_count = static_cast<uint32_t>(job->blobs.size()); | 653 | t_read_count = static_cast<uint32_t>(job->blobs.size()); |
| 647 | return S_OK; | 654 | return S_OK; |
| 648 | } | 655 | } |
| @@ -840,7 +847,7 @@ HRESULT STDMETHODCALLTYPE save_read(void*, XGameSaveContainerHandle c, const cha | |||
| 840 | const HRESULT hr = read_blobs(c, names, names ? *count : 0, blobs); | 847 | const HRESULT hr = read_blobs(c, names, names ? *count : 0, blobs); |
| 841 | if (FAILED(hr)) return hr; | 848 | if (FAILED(hr)) return hr; |
| 842 | if (size < packed_size(blobs)) return E_GS_PROVIDED_BUFFER_TOO_SMALL; | 849 | if (size < packed_size(blobs)) return E_GS_PROVIDED_BUFFER_TOO_SMALL; |
| 843 | pack(blobs, out); | 850 | pack(blobs, out, size); |
| 844 | *count = static_cast<uint32_t>(blobs.size()); | 851 | *count = static_cast<uint32_t>(blobs.size()); |
| 845 | return S_OK; | 852 | return S_OK; |
| 846 | } | 853 | } |
diff --git a/runtime/shims/xmem.cpp b/runtime/shims/xmem.cpp index 44c6f140b..fca6f6f47 100644 --- a/runtime/shims/xmem.cpp +++ b/runtime/shims/xmem.cpp | |||
| @@ -1033,6 +1033,7 @@ constexpr size_t kUnmapRecords = 1024; | |||
| 1033 | UnmapRecord g_unmaps[kUnmapRecords]; | 1033 | UnmapRecord g_unmaps[kUnmapRecords]; |
| 1034 | uint64_t g_unmap_count = 0; | 1034 | uint64_t g_unmap_count = 0; |
| 1035 | thread_local const char* t_unmap_cause = "unmap"; | 1035 | thread_local const char* t_unmap_cause = "unmap"; |
| 1036 | |||
| 1036 | struct UnmapCause { | 1037 | struct UnmapCause { |
| 1037 | const char* was; | 1038 | const char* was; |
| 1038 | explicit UnmapCause(const char* cause) : was(std::exchange(t_unmap_cause, cause)) {} | 1039 | explicit UnmapCause(const char* cause) : was(std::exchange(t_unmap_cause, cause)) {} |
| @@ -1576,7 +1577,7 @@ LONG CALLBACK physical_page_fault(EXCEPTION_POINTERS* info) { | |||
| 1576 | MEMORY_BASIC_INFORMATION seen{}; // the page as the decision saw it | 1577 | MEMORY_BASIC_INFORMATION seen{}; // the page as the decision saw it |
| 1577 | char read_note[1024]; | 1578 | char read_note[1024]; |
| 1578 | DWORD read_note_size = 0; | 1579 | DWORD read_note_size = 0; |
| 1579 | bool plant_read = false, promote = false; | 1580 | bool plant_read = false, promote = false, from_title = false; |
| 1580 | bool queried = false; | 1581 | bool queried = false; |
| 1581 | { | 1582 | { |
| 1582 | const FaultLockShared lock; | 1583 | const FaultLockShared lock; |
| @@ -1595,7 +1596,8 @@ LONG CALLBACK physical_page_fault(EXCEPTION_POINTERS* info) { | |||
| 1595 | if (where != kNoReservation || access == 1) | 1596 | if (where != kNoReservation || access == 1) |
| 1596 | queried = VirtualQuery(reinterpret_cast<const void*>(accessed), &seen, sizeof(seen)) != 0; | 1597 | queried = VirtualQuery(reinterpret_cast<const void*>(accessed), &seen, sizeof(seen)) != 0; |
| 1597 | const auto pc = reinterpret_cast<uintptr_t>(record->ExceptionAddress); | 1598 | const auto pc = reinterpret_cast<uintptr_t>(record->ExceptionAddress); |
| 1598 | if (access == 0 && result == PageCommit::not_ours && title_code(pc)) { | 1599 | from_title = access == 0 && result == PageCommit::not_ours && title_code(pc); |
| 1600 | if (from_title) { | ||
| 1599 | if (!queried) queried = VirtualQuery(reinterpret_cast<const void*>(accessed), &seen, sizeof(seen)) != 0; | 1601 | if (!queried) queried = VirtualQuery(reinterpret_cast<const void*>(accessed), &seen, sizeof(seen)) != 0; |
| 1600 | read_note_size = describe_read(read_note, pc, accessed, seen); | 1602 | read_note_size = describe_read(read_note, pc, accessed, seen); |
| 1601 | plant_read = where == kInWindow && g_pool_zero_pages; | 1603 | plant_read = where == kInWindow && g_pool_zero_pages; |
| @@ -1671,7 +1673,8 @@ LONG CALLBACK physical_page_fault(EXCEPTION_POINTERS* info) { | |||
| 1671 | exit = FaultExit::committed; | 1673 | exit = FaultExit::committed; |
| 1672 | } else if (answered) { | 1674 | } else if (answered) { |
| 1673 | exit = FaultExit::answered; | 1675 | exit = FaultExit::answered; |
| 1674 | } else if (result == PageCommit::committed_before && !escalated) { | 1676 | } else if ((result == PageCommit::committed_before && !escalated) || |
| 1677 | (title_page && access == 0 && result == PageCommit::not_ours && !from_title)) { | ||
| 1675 | exit = FaultExit::passed_guarded; // a guard's (the D3D12 layer's), routine: not noted | 1678 | exit = FaultExit::passed_guarded; // a guard's (the D3D12 layer's), routine: not noted |
| 1676 | } else if (title_page || reserved_write) { | 1679 | } else if (title_page || reserved_write) { |
| 1677 | note_fault(kRefused, accessed, access, result, where, seen); | 1680 | note_fault(kRefused, accessed, access, result, where, seen); |
| @@ -1970,6 +1973,7 @@ BOOL WINAPI XMemMapPhysicalPagesScatter(void* const* addresses, uint32_t page_co | |||
| 1970 | return scatter_refused(ScatterFailure::unaligned, address, ERROR_INVALID_PARAMETER); | 1973 | return scatter_refused(ScatterFailure::unaligned, address, ERROR_INVALID_PARAMETER); |
| 1971 | } | 1974 | } |
| 1972 | const uint64_t page = page_array ? page_array[i] : 0; | 1975 | const uint64_t page = page_array ? page_array[i] : 0; |
| 1976 | const UnmapCause cause(page ? "XMemMapPhysicalPagesScatter (remap)" : "XMemMapPhysicalPagesScatter (unmap)"); | ||
| 1973 | if (page == 0) { | 1977 | if (page == 0) { |
| 1974 | if (!unmap_page(address)) return scatter_refused(ScatterFailure::unmap, address, GetLastError()); | 1978 | if (!unmap_page(address)) return scatter_refused(ScatterFailure::unmap, address, GetLastError()); |
| 1975 | continue; | 1979 | continue; |
| @@ -1992,6 +1996,34 @@ BOOL WINAPI XMemMapPhysicalPagesScatter(void* const* addresses, uint32_t page_co | |||
| 1992 | // calls with the same page make them. Every source page is looked up before any destination page changes, so a source | 1996 | // calls with the same page make them. Every source page is looked up before any destination page changes, so a source |
| 1993 | // range that overlaps the destination maps what was there before the call. A destination in a GPU-only range is mapped | 1997 | // range that overlaps the destination maps what was there before the call. A destination in a GPU-only range is mapped |
| 1994 | // at its paired CPU range too (title_gpu_views), and a source page missing at a GPU-only address is looked up there. | 1998 | // at its paired CPU range too (title_gpu_views), and a source page missing at a GPU-only address is looked up there. |
| 1999 | // A page of that CPU range the title mapped itself is the title's (title_mapped_twin): the copy leaves it as it is. | ||
| 2000 | |||
| 2001 | // With g_phys_mutex held. True when the paired CPU page at `address` holds a mapping of the title's own: its | ||
| 2002 | // XMemMapPhysicalPages or XMemMapPhysicalPagesScatter call, or a slot-31 copy onto that address. The console's | ||
| 2003 | // CopyPageMappingsBatchX changes only the GPU-only range's page table, so such a page keeps what the title put | ||
| 2004 | // there; only a page the copy mirrored there itself (MapOwner::mirror), a zero plant, or a page with no mapping | ||
| 2005 | // follows the GPU-only range. Each page kept is counted, and the first ones logged. | ||
| 2006 | bool title_mapped_twin(uintptr_t address, uintptr_t gpu, bool unmap) { | ||
| 2007 | MapOwner owner; | ||
| 2008 | { | ||
| 2009 | const FaultLockShared faults; | ||
| 2010 | uintptr_t base = 0; | ||
| 2011 | const View* const view = covering_view(address, base); | ||
| 2012 | if (!view || view->zero || view->owner == MapOwner::mirror) return false; | ||
| 2013 | owner = view->owner; | ||
| 2014 | } | ||
| 2015 | static std::atomic<uint64_t> kept{0}; | ||
| 2016 | const uint64_t n = kept.fetch_add(1, std::memory_order_relaxed) + 1; | ||
| 2017 | if (n <= 8 || (n & (n - 1)) == 0) | ||
| 2018 | std::fprintf(stderr, | ||
| 2019 | "[rt] xmem: slot-31 %s at 0x%llx left the title's %s mapping at its paired CPU page 0x%llx " | ||
| 2020 | "(%llu such pages so far)\n", | ||
| 2021 | unmap ? "unmap" : "copy", static_cast<unsigned long long>(gpu), | ||
| 2022 | owner == MapOwner::scatter ? "scatter" : owner == MapOwner::slot31 ? "slot-31" : "physical", | ||
| 2023 | static_cast<unsigned long long>(address), static_cast<unsigned long long>(n)); | ||
| 2024 | return true; | ||
| 2025 | } | ||
| 2026 | |||
| 1995 | bool copy_page_mappings(void* destination, const void* source, uint64_t pages, bool repeat_first) { | 2027 | bool copy_page_mappings(void* destination, const void* source, uint64_t pages, bool repeat_first) { |
| 1996 | const uintptr_t to = reinterpret_cast<uintptr_t>(destination); | 2028 | const uintptr_t to = reinterpret_cast<uintptr_t>(destination); |
| 1997 | const uintptr_t from = reinterpret_cast<uintptr_t>(source); | 2029 | const uintptr_t from = reinterpret_cast<uintptr_t>(source); |
| @@ -2012,8 +2044,14 @@ bool copy_page_mappings(void* destination, const void* source, uint64_t pages, b | |||
| 2012 | const Window* const cpu_window = cpu_to != to ? find_window(cpu_to, pages * kPhysicalPageSize) : nullptr; | 2044 | const Window* const cpu_window = cpu_to != to ? find_window(cpu_to, pages * kPhysicalPageSize) : nullptr; |
| 2013 | if (!source) { | 2045 | if (!source) { |
| 2014 | for (uint64_t i = 0; i < pages; ++i) { | 2046 | for (uint64_t i = 0; i < pages; ++i) { |
| 2015 | if (!unmap_page(to + i * kPhysicalPageSize)) return false; | 2047 | const uintptr_t gpu = to + i * kPhysicalPageSize, cpu = cpu_to + i * kPhysicalPageSize; |
| 2016 | if (cpu_window && !unmap_page(cpu_to + i * kPhysicalPageSize)) return false; | 2048 | { |
| 2049 | const UnmapCause cause("CopyPageMappingsBatchX (unmap)"); | ||
| 2050 | if (!unmap_page(gpu)) return false; | ||
| 2051 | } | ||
| 2052 | if (!cpu_window || title_mapped_twin(cpu, gpu, true)) continue; | ||
| 2053 | const UnmapCause cause("CopyPageMappingsBatchX (unmap paired CPU page)"); | ||
| 2054 | if (!unmap_page(cpu)) return false; | ||
| 2017 | } | 2055 | } |
| 2018 | return true; | 2056 | return true; |
| 2019 | } | 2057 | } |
| @@ -2036,8 +2074,11 @@ bool copy_page_mappings(void* destination, const void* source, uint64_t pages, b | |||
| 2036 | const DWORD cpu_protect = cpu_window ? view_protect(*cpu_window) : 0; | 2074 | const DWORD cpu_protect = cpu_window ? view_protect(*cpu_window) : 0; |
| 2037 | for (uint64_t i = 0; i < pages; ++i) { | 2075 | for (uint64_t i = 0; i < pages; ++i) { |
| 2038 | const uint64_t page = found[static_cast<size_t>(i)]; | 2076 | const uint64_t page = found[static_cast<size_t>(i)]; |
| 2039 | if (!map_page(to + i * kPhysicalPageSize, page, protect, MapOwner::slot31)) return false; | 2077 | const uintptr_t gpu = to + i * kPhysicalPageSize, cpu = cpu_to + i * kPhysicalPageSize; |
| 2040 | if (cpu_window && !map_page(cpu_to + i * kPhysicalPageSize, page, cpu_protect, MapOwner::mirror)) return false; | 2078 | const UnmapCause cause(page ? "CopyPageMappingsBatchX (remap)" : "CopyPageMappingsBatchX (hole)"); |
| 2079 | if (!map_page(gpu, page, protect, MapOwner::slot31)) return false; | ||
| 2080 | if (cpu_window && !title_mapped_twin(cpu, gpu, false) && !map_page(cpu, page, cpu_protect, MapOwner::mirror)) | ||
| 2081 | return false; | ||
| 2041 | } | 2082 | } |
| 2042 | return true; | 2083 | return true; |
| 2043 | } | 2084 | } |
diff --git a/runtime/shims/xmem.h b/runtime/shims/xmem.h index 96fb89e7e..6e0017f2b 100644 --- a/runtime/shims/xmem.h +++ b/runtime/shims/xmem.h | |||
| @@ -55,7 +55,7 @@ enum class FaultExit : int { | |||
| 55 | answered, // a mapped page committed, or found committed and allowed (another thread's map or commit) | 55 | answered, // a mapped page committed, or found committed and allowed (another thread's map or commit) |
| 56 | planted, // a window page the title never mapped, backed by a zero page | 56 | planted, // a window page the title never mapped, backed by a zero page |
| 57 | committed, // a section page in the title's reservation with no view of xmem's, committed | 57 | committed, // a section page in the title's reservation with no view of xmem's, committed |
| 58 | passed_guarded, // a committed page of xmem's views whose protection refuses the access: its guard's to answer | 58 | passed_guarded, // a committed page whose protection refuses the access, or a host guarded read of an unmapped page |
| 59 | passed_foreign, // memory that is not the title's reservation and not only reserved: someone else's fault | 59 | passed_foreign, // memory that is not the title's reservation and not only reserved: someone else's fault |
| 60 | left_to_title, // the title's reservation, or a write into memory that is only reserved: noted (FaultNote) | 60 | left_to_title, // the title's reservation, or a write into memory that is only reserved: noted (FaultNote) |
| 61 | count | 61 | count |
diff --git a/runtime/src/address_guard.h b/runtime/src/address_guard.h new file mode 100644 index 000000000..dab43d40a --- /dev/null +++ b/runtime/src/address_guard.h | |||
| @@ -0,0 +1,163 @@ | |||
| 1 | // The address guard's page table (docs/d3d12_vulkan.md, "Address guard"): what the runtime backs around heap_base, | ||
| 2 | // for shaders translated with `tools/rdna2spirv.py --address-guard` (LEONIDA_ADDRESS_GUARD=1). Header-only, no | ||
| 3 | // Vulkan: the device writes the words this computes into a mapped buffer. tools/address_guard.py is the Python | ||
| 4 | // reference of the same format and of the check a guarded access makes. | ||
| 5 | // | ||
| 6 | // Layout. A header at arena offset kGuardHeader (64 bytes, AddressGuardHeader), then two sinks: refused loads read | ||
| 7 | // kGuardZero, refused stores and atomics write kGuardDump, each at the access's offset within its 4 KiB page. The | ||
| 8 | // page table is its own buffer; the header holds its address minus heap_base. Table words: kGuardLevel1 level-1 | ||
| 9 | // words indexed by bits 47..32 of the 48-bit heap offset (one per 4 GiB chunk), naming the chunk's level-2 block; | ||
| 10 | // then the blocks, kGuardBlockWords words each, one bit per 4 KiB page (bits 31..12). Block 0 is empty (nothing | ||
| 11 | // backed), block 1 full (everything passes: a chunk the table has no room for), blocks 2.. are allocated. | ||
| 12 | #pragma once | ||
| 13 | |||
| 14 | #include <algorithm> | ||
| 15 | #include <cstdint> | ||
| 16 | #include <cstring> | ||
| 17 | #include <utility> | ||
| 18 | #include <vector> | ||
| 19 | |||
| 20 | namespace leonida::address_guard { | ||
| 21 | |||
| 22 | // Shared with tools/rdna2spirv.py (GUARD_*) and tools/address_guard.py; tests/semantic/test_address_guard.py reads | ||
| 23 | // these lines. | ||
| 24 | constexpr std::uint64_t kGuardHeader = 0x70000; | ||
| 25 | constexpr std::uint64_t kGuardZero = 0x71000; | ||
| 26 | constexpr std::uint64_t kGuardDump = 0x78000; | ||
| 27 | constexpr std::uint64_t kGuardEnd = 0x80000; | ||
| 28 | constexpr std::uint32_t kGuardLevel1 = 1u << 16; | ||
| 29 | constexpr std::uint32_t kGuardBlockWords = 1u << 15; | ||
| 30 | constexpr char kGuardMagicText[] = "LGUARD01"; | ||
| 31 | constexpr std::uint64_t kMask48 = (1ull << 48) - 1; | ||
| 32 | constexpr std::uint32_t kEmptyBlock = 0, kFullBlock = 1, kFirstBlock = 2; | ||
| 33 | |||
| 34 | constexpr std::uint64_t magic() { | ||
| 35 | std::uint64_t v = 0; | ||
| 36 | for (int i = 7; i >= 0; --i) v = v << 8 | std::uint8_t(kGuardMagicText[i]); | ||
| 37 | return v; | ||
| 38 | } | ||
| 39 | |||
| 40 | struct AddressGuardHeader { | ||
| 41 | std::uint64_t magic; // magic(): the shaders check only when it is there | ||
| 42 | std::uint64_t limit; // the arena's size: an access below it passes without a lookup | ||
| 43 | std::uint64_t table; // the page table's device address minus heap_base (mod 2^64) | ||
| 44 | std::uint32_t refused; // the shaders add 1 per refused access | ||
| 45 | std::uint32_t last_module; // the last refusing module's id: FNV-1a of its file stem (shaders write it; diagnostics) | ||
| 46 | std::uint64_t last_refused; // the last refused access's heap offset (written by the shaders, not atomically) | ||
| 47 | std::uint8_t pad[24]; | ||
| 48 | }; | ||
| 49 | static_assert(sizeof(AddressGuardHeader) == 64); | ||
| 50 | static_assert(kGuardHeader + sizeof(AddressGuardHeader) <= kGuardZero && kGuardZero < kGuardDump && | ||
| 51 | kGuardDump < kGuardEnd); | ||
| 52 | |||
| 53 | // The table's contents and the words that changed. Blocks are given to chunks for good: a chunk that loses its last | ||
| 54 | // backing keeps its (now empty) block, so a submission still in flight never reads a block that came to mean | ||
| 55 | // another chunk. When the blocks run out, a new chunk gets the full block (logged by the caller through | ||
| 56 | // overflowed()): its accesses then pass unchecked, as without the guard. | ||
| 57 | class AddressGuardTable { | ||
| 58 | public: | ||
| 59 | explicit AddressGuardTable(std::uint32_t blocks = 62) : blocks_(blocks) { | ||
| 60 | words_.assign(word_count(), 0); | ||
| 61 | std::fill_n(words_.begin() + kGuardLevel1 + std::size_t(kFullBlock) * kGuardBlockWords, kGuardBlockWords, | ||
| 62 | 0xFFFFFFFFu); | ||
| 63 | } | ||
| 64 | |||
| 65 | std::size_t word_count() const { return kGuardLevel1 + std::size_t(kFirstBlock + blocks_) * kGuardBlockWords; } | ||
| 66 | std::size_t bytes() const { return word_count() * sizeof(std::uint32_t); } | ||
| 67 | // The whole table, for the first upload. | ||
| 68 | const std::vector<std::uint32_t>& words() const { return words_; } | ||
| 69 | std::uint32_t blocks_used() const { return used_; } | ||
| 70 | std::uint32_t overflowed() const { return overflowed_; } | ||
| 71 | |||
| 72 | // Make the table say exactly `spans` (heap offset [start, end), 48-bit; a span may wrap through 2^48 for a | ||
| 73 | // negative offset). A page any byte of a span touches is backed: the GPU maps memory in whole pages. Each word | ||
| 74 | // that changes is passed to `write(index, value)`, level-2 words before level-1 ones, so a reader that sees a | ||
| 75 | // chunk's new block also sees its bits. Returns the number of words written. | ||
| 76 | template <class Write> | ||
| 77 | std::size_t assign(const std::vector<std::pair<std::uint64_t, std::uint64_t>>& spans, Write&& write) { | ||
| 78 | next_.assign(std::size_t(used_) * kGuardBlockWords, 0); | ||
| 79 | std::vector<std::uint32_t> level1(words_.begin(), words_.begin() + kGuardLevel1); | ||
| 80 | for (const auto& [start, end] : spans) { | ||
| 81 | if (end == start) continue; | ||
| 82 | const std::uint64_t first = (start & kMask48) >> 12; | ||
| 83 | const std::uint64_t last = ((end - 1) & kMask48) >> 12; | ||
| 84 | if (first <= last) { | ||
| 85 | mark(level1, first, last); | ||
| 86 | } else { // wraps through 2^48: two runs | ||
| 87 | mark(level1, first, (kMask48 >> 12)); | ||
| 88 | mark(level1, 0, last); | ||
| 89 | } | ||
| 90 | } | ||
| 91 | std::size_t written = 0; | ||
| 92 | const std::size_t base = kGuardLevel1 + std::size_t(kFirstBlock) * kGuardBlockWords; | ||
| 93 | for (std::size_t i = 0; i < next_.size(); ++i) { | ||
| 94 | if (words_[base + i] == next_[i]) continue; | ||
| 95 | words_[base + i] = next_[i]; | ||
| 96 | write(base + i, next_[i]); | ||
| 97 | ++written; | ||
| 98 | } | ||
| 99 | for (std::uint32_t i = 0; i < kGuardLevel1; ++i) { | ||
| 100 | if (words_[i] == level1[i]) continue; | ||
| 101 | words_[i] = level1[i]; | ||
| 102 | write(std::size_t(i), level1[i]); | ||
| 103 | ++written; | ||
| 104 | } | ||
| 105 | return written; | ||
| 106 | } | ||
| 107 | |||
| 108 | // The table's bit for the page of heap offset `offset`. | ||
| 109 | bool page_backed(std::uint64_t offset) const { | ||
| 110 | offset &= kMask48; | ||
| 111 | const std::uint32_t block = words_[(offset >> 32) & (kGuardLevel1 - 1)]; | ||
| 112 | const std::uint64_t page = (offset >> 12) & 0xFFFFF; | ||
| 113 | return (words_[kGuardLevel1 + std::size_t(block) * kGuardBlockWords + (page >> 5)] >> (page & 31)) & 1; | ||
| 114 | } | ||
| 115 | |||
| 116 | // What a guarded access of `extent` bytes at heap offset `offset` does (the shaders' %guard_fn): passes when | ||
| 117 | // its first and last byte are below `limit` or on backed pages. `offset` is sign-extended from 48 bits. | ||
| 118 | bool passes(std::uint64_t offset, std::uint64_t extent, std::uint64_t limit) const { | ||
| 119 | if (offset & (1ull << 47)) offset |= ~kMask48; | ||
| 120 | else offset &= kMask48; | ||
| 121 | const std::uint64_t end = offset + extent - 1; | ||
| 122 | if (offset < limit && end < limit) return true; | ||
| 123 | return page_backed(offset) && page_backed(end); | ||
| 124 | } | ||
| 125 | |||
| 126 | private: | ||
| 127 | // Set the bits of pages [first, last] (48-bit page numbers), giving their chunks blocks as needed. | ||
| 128 | void mark(std::vector<std::uint32_t>& level1, std::uint64_t first, std::uint64_t last) { | ||
| 129 | for (std::uint64_t chunk = first >> 20; chunk <= last >> 20; ++chunk) { | ||
| 130 | std::uint32_t& block = level1[chunk]; | ||
| 131 | if (block == kEmptyBlock) { | ||
| 132 | if (used_ < blocks_) { | ||
| 133 | block = kFirstBlock + used_++; | ||
| 134 | next_.resize(std::size_t(used_) * kGuardBlockWords, 0); | ||
| 135 | } else { | ||
| 136 | block = kFullBlock; | ||
| 137 | ++overflowed_; | ||
| 138 | } | ||
| 139 | } | ||
| 140 | if (block < kFirstBlock) continue; | ||
| 141 | std::uint32_t* bits = next_.data() + std::size_t(block - kFirstBlock) * kGuardBlockWords; | ||
| 142 | const std::uint64_t lo = std::max(first, chunk << 20) & 0xFFFFF; | ||
| 143 | const std::uint64_t hi = std::min(last, (chunk << 20) | 0xFFFFF) & 0xFFFFF; | ||
| 144 | for (std::uint64_t page = lo; page <= hi;) { | ||
| 145 | if (!(page & 31) && page + 31 <= hi) { | ||
| 146 | bits[page >> 5] = 0xFFFFFFFFu; | ||
| 147 | page += 32; | ||
| 148 | } else { | ||
| 149 | bits[page >> 5] |= 1u << (page & 31); | ||
| 150 | ++page; | ||
| 151 | } | ||
| 152 | } | ||
| 153 | } | ||
| 154 | } | ||
| 155 | |||
| 156 | std::uint32_t blocks_; | ||
| 157 | std::uint32_t used_ = 0; | ||
| 158 | std::uint32_t overflowed_ = 0; | ||
| 159 | std::vector<std::uint32_t> words_; // what the GPU's copy holds | ||
| 160 | std::vector<std::uint32_t> next_; // the allocated blocks being built by assign() | ||
| 161 | }; | ||
| 162 | |||
| 163 | } // namespace leonida::address_guard | ||
diff --git a/runtime/src/conservative_raster.h b/runtime/src/conservative_raster.h index 469066d17..82d6dfaca 100644 --- a/runtime/src/conservative_raster.h +++ b/runtime/src/conservative_raster.h | |||
| @@ -46,4 +46,21 @@ inline InnerCoverageRequirements inner_coverage_requirements(std::span<const std | |||
| 46 | result.valid = true; | 46 | result.valid = true; |
| 47 | return result; | 47 | return result; |
| 48 | } | 48 | } |
| 49 | |||
| 50 | // True when the mesh shader module outputs triangles (OutputTrianglesEXT, 5298). A module with lines (5269), points (27) | ||
| 51 | // or no output mode does not. Each mesh entry point of a valid module has exactly one of the three. | ||
| 52 | inline bool mesh_outputs_triangles(std::span<const std::uint32_t> words) { | ||
| 53 | if (words.size() < 5 || words[0] != 0x07230203) return false; | ||
| 54 | bool triangles = false; | ||
| 55 | for (std::size_t i = 5; i < words.size();) { | ||
| 56 | const auto count = words[i] >> 16, op = words[i] & 0xffff; | ||
| 57 | if (!count || count > words.size() - i) return false; | ||
| 58 | if (op == 16 && count >= 3) { // OpExecutionMode | ||
| 59 | if (words[i + 2] == 5298) triangles = true; | ||
| 60 | else if (words[i + 2] == 5269 || words[i + 2] == 27) return false; | ||
| 61 | } | ||
| 62 | i += count; | ||
| 63 | } | ||
| 64 | return triangles; | ||
| 65 | } | ||
| 49 | } // namespace leonida::conservative_raster | 66 | } // namespace leonida::conservative_raster |
diff --git a/runtime/src/console_heap_slot_records.h b/runtime/src/console_heap_slot_records.h new file mode 100644 index 000000000..4ab3c3b9d --- /dev/null +++ b/runtime/src/console_heap_slot_records.h | |||
| @@ -0,0 +1,227 @@ | |||
| 1 | #pragma once | ||
| 2 | // What each buffer V# of a console resource heap's GPU copy resolved to (docs/d3d12_vulkan.md section 3.4), kept in | ||
| 3 | // host RAM so that a change of the address space re-fixes exactly the slots it touches. | ||
| 4 | // | ||
| 5 | // A slot of the copy is the title's descriptor with its V# bases rewritten (DeviceState::fix_console_slot). What a | ||
| 6 | // base became depends on things that change after the slot was written: a buffer or window released, an alias range | ||
| 7 | // removed, a geometry copy retired, or (for a base nothing backed yet) a buffer, alias or title memory added. Without | ||
| 8 | // a record of which slot resolved into which range, a change could only be applied by walking every live slot. Here | ||
| 9 | // each V# half (the buffer V# and the UAV counter V# of a slot) records: | ||
| 10 | // - base and span: the bytes the title's V# names, [base, base + span) (the base is the V#'s 48 bits); | ||
| 11 | // - target: the device address its GPU copy names, [target, target + span); for a half that resolved to nothing, | ||
| 12 | // the device address of a copy that was found but refused (not backed yet), or 0; | ||
| 13 | // - state: resolved, waiting (written with no base and no records until something backs it) or none. | ||
| 14 | // Two indexes find the halves a change touches: by base ("source") and by target. Each holds a half once, under the | ||
| 15 | // power-of-two class of its span and the granule of its start (a granule is at least 64 KiB and at least the class), | ||
| 16 | // so a range [lo, hi) is answered by visiting, per class in use, the granules from lo - 2^class to hi: the cost is the | ||
| 17 | // halves near the range, never the heap. An entry is checked against the record when visited (a half that moved | ||
| 18 | // leaves a stale entry behind; a bucket drops its stale entries whenever it has doubled since it was last cleaned). | ||
| 19 | // Portable, standard library only: console_heap_slot_records_test exercises it without a GPU. | ||
| 20 | #include <algorithm> | ||
| 21 | #include <array> | ||
| 22 | #include <bit> | ||
| 23 | #include <cstddef> | ||
| 24 | #include <cstdint> | ||
| 25 | #include <cstdlib> | ||
| 26 | #include <memory> | ||
| 27 | #include <unordered_map> | ||
| 28 | #include <vector> | ||
| 29 | |||
| 30 | namespace leonida { | ||
| 31 | |||
| 32 | // One change since the last submission, as a range; hi is exclusive and greater than lo. | ||
| 33 | struct SlotChange { | ||
| 34 | enum Kind : std::uint8_t { | ||
| 35 | target_gone, // device addresses: a backing released, a copy's block destroyed, an alias range's copy gone | ||
| 36 | source_gone, // V# bases: an alias range removed or replaced, or a copy that answered for it gone | ||
| 37 | target_added, // device addresses: a backing added (a refused alias target may be backed now) | ||
| 38 | source_added, // V# bases: an alias range or title memory added, or a backing added at those arena offsets | ||
| 39 | }; | ||
| 40 | Kind kind; | ||
| 41 | std::uint64_t lo, hi; | ||
| 42 | }; | ||
| 43 | |||
| 44 | class ConsoleHeapSlotRecords { | ||
| 45 | public: | ||
| 46 | enum State : std::uint8_t { none = 0, resolved = 1, waiting = 2 }; | ||
| 47 | |||
| 48 | void reset(std::size_t slots) { | ||
| 49 | slots_ = slots; | ||
| 50 | // calloc: the pages of slots never written are never touched (the retail heap uses a tenth of its slots). | ||
| 51 | halves_.reset(slots ? static_cast<Half*>(std::calloc(slots * 2, sizeof(Half))) : nullptr); | ||
| 52 | if (slots && !halves_) slots_ = 0; | ||
| 53 | for (auto& index : indexes_) index = Index{}; | ||
| 54 | recorded_ = waiting_ = 0; | ||
| 55 | looked_at_ = 0; | ||
| 56 | } | ||
| 57 | std::size_t slots() const { return slots_; } | ||
| 58 | std::size_t recorded() const { return recorded_; } // halves in state resolved or waiting | ||
| 59 | std::size_t waiting_count() const { return waiting_; } // halves in state waiting | ||
| 60 | std::uint64_t looked_at() const { return looked_at_; } // index entries visited by touched(), all calls | ||
| 61 | |||
| 62 | // Half `half` (0: the buffer V#, 1: the UAV counter V#) of `slot` now names [base, base + span) and resolved as | ||
| 63 | // `state` says, its copy at `target` (see above). span 0 counts as 1. | ||
| 64 | void set(std::size_t slot, unsigned half, State state, std::uint64_t base, std::uint64_t span, | ||
| 65 | std::uint64_t target) { | ||
| 66 | if (slot >= slots_ || half > 1) return; | ||
| 67 | if (state == none) base = span = target = 0; | ||
| 68 | if (!span) span = 1; | ||
| 69 | if (span > kMaxSpan) span = kMaxSpan; | ||
| 70 | const std::size_t key = slot * 2 + half; | ||
| 71 | Half& h = halves_[key]; | ||
| 72 | const Half old = h; | ||
| 73 | count(old.state(), -1); | ||
| 74 | h.base = base; | ||
| 75 | h.target = target; | ||
| 76 | h.span_state = span | (std::uint64_t(state) << 56); | ||
| 77 | count(state, +1); | ||
| 78 | if (state == none) return; // entries left behind are stale now | ||
| 79 | const auto add = [&](int which, std::uint64_t start, std::uint64_t old_start) { | ||
| 80 | const unsigned c = span_class(span); | ||
| 81 | const std::uint64_t granule = start >> granule_shift(c); | ||
| 82 | // Unchanged key: the entry already there stands for it. | ||
| 83 | if (old.state() != none && (which == kSource || old.target) && span_class(old.span()) == c && | ||
| 84 | (old_start >> granule_shift(c)) == granule) | ||
| 85 | return; | ||
| 86 | push(which, c, granule, std::uint32_t(key)); | ||
| 87 | }; | ||
| 88 | add(kSource, base, old.base); | ||
| 89 | if (target) add(kTarget, target, old.target); | ||
| 90 | } | ||
| 91 | |||
| 92 | void clear(std::size_t slot) { | ||
| 93 | set(slot, 0, none, 0, 0, 0); | ||
| 94 | set(slot, 1, none, 0, 0, 0); | ||
| 95 | } | ||
| 96 | void clear_range(std::size_t first, std::size_t end) { | ||
| 97 | end = (std::min)(end, slots_); | ||
| 98 | for (std::size_t slot = first; slot < end; ++slot) | ||
| 99 | for (unsigned half = 0; half < 2; ++half) | ||
| 100 | if (halves_[slot * 2 + half].state() != none) set(slot, half, none, 0, 0, 0); | ||
| 101 | } | ||
| 102 | |||
| 103 | State state(std::size_t slot, unsigned half) const { | ||
| 104 | return slot < slots_ && half < 2 ? halves_[slot * 2 + half].state() : none; | ||
| 105 | } | ||
| 106 | std::uint64_t target(std::size_t slot, unsigned half) const { | ||
| 107 | return slot < slots_ && half < 2 ? halves_[slot * 2 + half].target : 0; | ||
| 108 | } | ||
| 109 | |||
| 110 | // The slots `changes` touch, each once, ascending, appended to `out` (cleared first): | ||
| 111 | // target_gone: halves whose [target, target + span) overlaps the range (whatever their state); | ||
| 112 | // source_gone: halves whose [base, base + span) overlaps it; | ||
| 113 | // target_added, source_added: the same, waiting halves only (a resolved one stays valid until something goes). | ||
| 114 | void touched(const SlotChange* changes, std::size_t count, std::vector<std::uint32_t>& out) { | ||
| 115 | out.clear(); | ||
| 116 | for (std::size_t i = 0; i < count; ++i) { | ||
| 117 | const SlotChange& change = changes[i]; | ||
| 118 | if (change.hi <= change.lo) continue; | ||
| 119 | const bool target = change.kind == SlotChange::target_gone || change.kind == SlotChange::target_added; | ||
| 120 | const bool waiting_only = change.kind == SlotChange::target_added || change.kind == SlotChange::source_added; | ||
| 121 | find(target ? kTarget : kSource, change.lo, change.hi, waiting_only, out); | ||
| 122 | } | ||
| 123 | std::sort(out.begin(), out.end()); | ||
| 124 | out.erase(std::unique(out.begin(), out.end()), out.end()); | ||
| 125 | } | ||
| 126 | |||
| 127 | private: | ||
| 128 | static constexpr int kSource = 0, kTarget = 1; | ||
| 129 | static constexpr std::uint64_t kMaxSpan = (std::uint64_t(1) << 56) - 1; | ||
| 130 | static constexpr unsigned kMinGranule = 16; // 64 KiB | ||
| 131 | static constexpr unsigned kClasses = 57; | ||
| 132 | |||
| 133 | struct Half { | ||
| 134 | std::uint64_t base, target, span_state; | ||
| 135 | std::uint64_t span() const { return span_state & kMaxSpan; } | ||
| 136 | State state() const { return State(span_state >> 56); } | ||
| 137 | }; | ||
| 138 | struct Free { | ||
| 139 | void operator()(Half* p) const { std::free(p); } | ||
| 140 | }; | ||
| 141 | struct Bucket { | ||
| 142 | std::vector<std::uint32_t> keys; | ||
| 143 | std::size_t clean = 0; // its size when it was last cleaned | ||
| 144 | }; | ||
| 145 | struct Index { | ||
| 146 | std::array<std::unordered_map<std::uint64_t, Bucket>, kClasses> classes; | ||
| 147 | std::uint64_t used = 0; // a bit per class that ever held an entry | ||
| 148 | }; | ||
| 149 | |||
| 150 | // The smallest c with span <= 2^c. | ||
| 151 | static unsigned span_class(std::uint64_t span) { | ||
| 152 | return span <= 1 ? 0u : unsigned(64 - std::countl_zero(span - 1)); | ||
| 153 | } | ||
| 154 | static unsigned granule_shift(unsigned c) { return c < kMinGranule ? kMinGranule : c; } | ||
| 155 | |||
| 156 | void count(State state, int delta) { | ||
| 157 | if (state != none) recorded_ += std::size_t(std::ptrdiff_t(delta)); | ||
| 158 | if (state == waiting) waiting_ += std::size_t(std::ptrdiff_t(delta)); | ||
| 159 | } | ||
| 160 | |||
| 161 | // Whether index `which` still holds `key` under (c, granule). | ||
| 162 | bool current(int which, std::uint32_t key, unsigned c, std::uint64_t granule) const { | ||
| 163 | const Half& h = halves_[key]; | ||
| 164 | if (h.state() == none || span_class(h.span()) != c) return false; | ||
| 165 | if (which == kTarget && !h.target) return false; | ||
| 166 | return ((which == kSource ? h.base : h.target) >> granule_shift(c)) == granule; | ||
| 167 | } | ||
| 168 | |||
| 169 | void push(int which, unsigned c, std::uint64_t granule, std::uint32_t key) { | ||
| 170 | Index& index = indexes_[which]; | ||
| 171 | index.used |= std::uint64_t(1) << c; | ||
| 172 | Bucket& bucket = index.classes[c][granule]; | ||
| 173 | bucket.keys.push_back(key); | ||
| 174 | if (bucket.keys.size() < 32 || bucket.keys.size() < 2 * bucket.clean) return; | ||
| 175 | auto& keys = bucket.keys; | ||
| 176 | keys.erase(std::remove_if(keys.begin(), keys.end(), | ||
| 177 | [&](std::uint32_t k) { return !current(which, k, c, granule); }), | ||
| 178 | keys.end()); | ||
| 179 | std::sort(keys.begin(), keys.end()); | ||
| 180 | keys.erase(std::unique(keys.begin(), keys.end()), keys.end()); | ||
| 181 | bucket.clean = keys.size(); | ||
| 182 | } | ||
| 183 | |||
| 184 | void find(int which, std::uint64_t lo, std::uint64_t hi, bool waiting_only, std::vector<std::uint32_t>& out) { | ||
| 185 | Index& index = indexes_[which]; | ||
| 186 | for (std::uint64_t used = index.used; used; used &= used - 1) { | ||
| 187 | const unsigned c = unsigned(std::countr_zero(used)); | ||
| 188 | auto& buckets = index.classes[c]; | ||
| 189 | if (buckets.empty()) continue; | ||
| 190 | const unsigned shift = granule_shift(c); | ||
| 191 | // A half of this class overlaps [lo, hi) only if it starts in (lo - 2^c, hi). | ||
| 192 | const std::uint64_t reach = std::uint64_t(1) << c; | ||
| 193 | const std::uint64_t first = (lo >= reach ? lo - reach + 1 : 0) >> shift; | ||
| 194 | const std::uint64_t last = (hi - 1) >> shift; | ||
| 195 | const auto visit = [&](std::uint64_t granule, const Bucket& bucket) { | ||
| 196 | for (const std::uint32_t key : bucket.keys) { | ||
| 197 | ++looked_at_; | ||
| 198 | if (!current(which, key, c, granule)) continue; | ||
| 199 | const Half& h = halves_[key]; | ||
| 200 | if (waiting_only && h.state() != waiting) continue; | ||
| 201 | const std::uint64_t start = which == kSource ? h.base : h.target; | ||
| 202 | const std::uint64_t span = h.span(); | ||
| 203 | const std::uint64_t end = start + span < start ? UINT64_MAX : start + span; | ||
| 204 | if (start < hi && end > lo) out.push_back(key >> 1); | ||
| 205 | } | ||
| 206 | }; | ||
| 207 | if (last - first >= buckets.size()) { | ||
| 208 | for (const auto& [granule, bucket] : buckets) | ||
| 209 | if (granule >= first && granule <= last) visit(granule, bucket); | ||
| 210 | } else { | ||
| 211 | for (std::uint64_t granule = first;; ++granule) { | ||
| 212 | const auto it = buckets.find(granule); | ||
| 213 | if (it != buckets.end()) visit(granule, it->second); | ||
| 214 | if (granule == last) break; | ||
| 215 | } | ||
| 216 | } | ||
| 217 | } | ||
| 218 | } | ||
| 219 | |||
| 220 | std::size_t slots_ = 0; | ||
| 221 | std::unique_ptr<Half[], Free> halves_; | ||
| 222 | std::array<Index, 2> indexes_; | ||
| 223 | std::size_t recorded_ = 0, waiting_ = 0; | ||
| 224 | std::uint64_t looked_at_ = 0; | ||
| 225 | }; | ||
| 226 | |||
| 227 | } // namespace leonida | ||
diff --git a/runtime/src/console_heap_vsharp_slots.h b/runtime/src/console_heap_vsharp_slots.h deleted file mode 100644 index 0b0830053..000000000 --- a/runtime/src/console_heap_vsharp_slots.h +++ /dev/null | |||
| @@ -1,115 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | // Host-RAM bitset of console resource-heap slots whose GPU copy (`heap.copy`) currently holds a live buffer V# | ||
| 3 | // (`!(w[3] >> 30) && (w[2] || w[6])`). | ||
| 4 | // | ||
| 5 | // When a buffer backing or title VA alias is released, `refresh_console_heap` must re-run `fix_console_slot` on every | ||
| 6 | // slot that might still point at the released allocation. Scanning `heap.copy` linearly reads every 32-byte slot of | ||
| 7 | // the heap (4-5.5+ MiB): when `heap.copy` sits in `arena.mapped` (uncached write-combined GPU memory), each release | ||
| 8 | // triggers ~180k uncached PCIe reads. Tracking the live V# slots in host RAM keeps invalidation scans strictly in CPU | ||
| 9 | // cache (zero reads from `heap.copy`) and skips empty and T# slots 64 at a time. | ||
| 10 | |||
| 11 | #include <algorithm> | ||
| 12 | #include <bit> | ||
| 13 | #include <cstddef> | ||
| 14 | #include <cstdint> | ||
| 15 | #include <vector> | ||
| 16 | |||
| 17 | namespace leonida { | ||
| 18 | |||
| 19 | class ConsoleHeapVsharpSlots { | ||
| 20 | public: | ||
| 21 | // Matches the descriptor predicate for a non-empty buffer V# (primary or counter half) in a 32-byte slot. | ||
| 22 | static constexpr bool is_live_vsharp(const std::uint32_t* w) noexcept { | ||
| 23 | return !(w[3] >> 30) && (w[2] || w[6]); | ||
| 24 | } | ||
| 25 | |||
| 26 | void reset(std::size_t slot_count) { | ||
| 27 | slot_count_ = slot_count; | ||
| 28 | live_count_ = 0; | ||
| 29 | words_.assign((slot_count + 63) / 64, 0); | ||
| 30 | } | ||
| 31 | |||
| 32 | void set(std::size_t slot, bool live) noexcept { | ||
| 33 | if (slot >= slot_count_) return; | ||
| 34 | std::uint64_t& word = words_[slot >> 6]; | ||
| 35 | const std::uint64_t mask = std::uint64_t{1} << (slot & 63); | ||
| 36 | const bool was = (word & mask) != 0; | ||
| 37 | if (live == was) return; | ||
| 38 | if (live) { | ||
| 39 | word |= mask; | ||
| 40 | ++live_count_; | ||
| 41 | } else { | ||
| 42 | word &= ~mask; | ||
| 43 | --live_count_; | ||
| 44 | } | ||
| 45 | } | ||
| 46 | |||
| 47 | void clear(std::size_t slot) noexcept { set(slot, false); } | ||
| 48 | |||
| 49 | // Clears every slot in [first, end), clamping to slot_count(). | ||
| 50 | void clear_range(std::size_t first, std::size_t end) noexcept { | ||
| 51 | if (first >= end || first >= slot_count_ || live_count_ == 0) return; | ||
| 52 | end = (std::min)(end, slot_count_); | ||
| 53 | std::size_t w = first >> 6; | ||
| 54 | const std::size_t last_w = (end - 1) >> 6; | ||
| 55 | const unsigned first_bit = static_cast<unsigned>(first & 63); | ||
| 56 | const unsigned end_bit = static_cast<unsigned>(end & 63); | ||
| 57 | const std::uint64_t head_mask = ~std::uint64_t{0} << first_bit; | ||
| 58 | const std::uint64_t tail_mask = end_bit ? ((std::uint64_t{1} << end_bit) - 1) : ~std::uint64_t{0}; | ||
| 59 | if (w == last_w) { | ||
| 60 | const std::uint64_t mask = head_mask & tail_mask; | ||
| 61 | const std::uint64_t cleared = words_[w] & mask; | ||
| 62 | if (cleared) { | ||
| 63 | words_[w] &= ~mask; | ||
| 64 | live_count_ -= static_cast<std::size_t>(std::popcount(cleared)); | ||
| 65 | } | ||
| 66 | return; | ||
| 67 | } | ||
| 68 | if (const std::uint64_t cleared = words_[w] & head_mask) { | ||
| 69 | words_[w] &= ~head_mask; | ||
| 70 | live_count_ -= static_cast<std::size_t>(std::popcount(cleared)); | ||
| 71 | } | ||
| 72 | for (++w; w < last_w; ++w) { | ||
| 73 | if (const std::uint64_t cleared = words_[w]) { | ||
| 74 | words_[w] = 0; | ||
| 75 | live_count_ -= static_cast<std::size_t>(std::popcount(cleared)); | ||
| 76 | } | ||
| 77 | } | ||
| 78 | if (const std::uint64_t cleared = words_[last_w] & tail_mask) { | ||
| 79 | words_[last_w] &= ~tail_mask; | ||
| 80 | live_count_ -= static_cast<std::size_t>(std::popcount(cleared)); | ||
| 81 | } | ||
| 82 | } | ||
| 83 | |||
| 84 | // Calls fn(slot) in ascending slot order for every set bit present when its 64-slot word is entered. | ||
| 85 | // Safe if fn mutates the bit for `slot` (e.g., fix_console_slot clearing an invalidated V#). | ||
| 86 | template <class F> | ||
| 87 | void for_each(F&& fn) const { | ||
| 88 | if (live_count_ == 0) return; | ||
| 89 | for (std::size_t w = 0; w < words_.size(); ++w) { | ||
| 90 | std::uint64_t bits = words_[w]; | ||
| 91 | if (!bits) continue; | ||
| 92 | const std::size_t base = w << 6; | ||
| 93 | while (bits) { | ||
| 94 | const unsigned bit = static_cast<unsigned>(std::countr_zero(bits)); | ||
| 95 | bits &= bits - 1; | ||
| 96 | fn(base + bit); | ||
| 97 | } | ||
| 98 | } | ||
| 99 | } | ||
| 100 | |||
| 101 | bool test(std::size_t slot) const noexcept { | ||
| 102 | return slot < slot_count_ && ((words_[slot >> 6] >> (slot & 63)) & 1u) != 0; | ||
| 103 | } | ||
| 104 | |||
| 105 | std::size_t slot_count() const noexcept { return slot_count_; } | ||
| 106 | std::size_t live_count() const noexcept { return live_count_; } | ||
| 107 | bool empty() const noexcept { return live_count_ == 0; } | ||
| 108 | |||
| 109 | private: | ||
| 110 | std::size_t slot_count_ = 0; | ||
| 111 | std::size_t live_count_ = 0; | ||
| 112 | std::vector<std::uint64_t> words_; | ||
| 113 | }; | ||
| 114 | |||
| 115 | } // namespace leonida | ||
diff --git a/runtime/src/depth24_fragment.h b/runtime/src/depth24_fragment.h index d32f975b2..4c212ee5c 100644 --- a/runtime/src/depth24_fragment.h +++ b/runtime/src/depth24_fragment.h | |||
| @@ -55,7 +55,8 @@ enum : std::uint32_t { | |||
| 55 | op_function = 54, op_function_end = 56, op_variable = 59, op_load = 61, op_store = 62, op_decorate = 71, | 55 | op_function = 54, op_function_end = 56, op_variable = 59, op_load = 61, op_store = 62, op_decorate = 71, |
| 56 | op_composite_extract = 81, op_convert_f_to_u = 109, op_convert_u_to_f = 112, op_bitcast = 124, op_i_add = 128, | 56 | op_composite_extract = 81, op_convert_f_to_u = 109, op_convert_u_to_f = 112, op_bitcast = 124, op_i_add = 128, |
| 57 | op_f_add = 129, op_i_sub = 130, op_f_mul = 133, op_select = 169, op_i_equal = 170, op_u_greater_than = 172, | 57 | op_f_add = 129, op_i_sub = 130, op_f_mul = 133, op_select = 169, op_i_equal = 170, op_u_greater_than = 172, |
| 58 | op_u_greater_than_equal = 174, op_shift_left_logical = 196, op_dpdx = 207, op_dpdy = 208, op_label = 248, | 58 | op_u_greater_than_equal = 174, op_shift_right_logical = 194, op_shift_left_logical = 196, op_dpdx = 207, |
| 59 | op_dpdy = 208, op_label = 248, | ||
| 59 | op_return = 253, op_no_line = 317, op_execution_mode_id = 331, | 60 | op_return = 253, op_no_line = 317, op_execution_mode_id = 331, |
| 60 | }; | 61 | }; |
| 61 | enum : std::uint32_t { storage_input = 1, storage_output = 3 }; | 62 | enum : std::uint32_t { storage_input = 1, storage_output = 3 }; |
| @@ -182,12 +183,18 @@ public: | |||
| 182 | constants_.push_back({t, value, id}); | 183 | constants_.push_back({t, value, id}); |
| 183 | return id; | 184 | return id; |
| 184 | } | 185 | } |
| 186 | bool is_depth16() const { return levels_ == 65535.0f; } | ||
| 187 | |||
| 185 | // Declares what quantise() uses, so it can run inside apply() (at returns) without adding globals. | 188 | // Declares what quantise() uses, so it can run inside apply() (at returns) without adding globals. |
| 186 | void prime_quantise() { | 189 | void prime_quantise() { |
| 187 | t_bool(); | 190 | t_bool(); |
| 188 | glsl(); | 191 | glsl(); |
| 189 | for (float f : {levels_, 0.0f}) f32(f); | 192 | for (float f : {levels_, 0.0f}) f32(f); |
| 190 | for (std::uint32_t u : {0x3f800000u, 0xffffffu, 0x7f800000u, 0u, 23u, 1u, 80u}) u32(u); | 193 | if (is_depth16()) { |
| 194 | for (std::uint32_t u : {0x3f800000u, 0xffffu, 0x7f800000u, 0u, 15u, 8u, 128u, 88u, 23u}) u32(u); | ||
| 195 | } else { | ||
| 196 | for (std::uint32_t u : {0x3f800000u, 0xffffffu, 0x7f800000u, 0u, 23u, 1u, 80u}) u32(u); | ||
| 197 | } | ||
| 191 | } | 198 | } |
| 192 | std::uint32_t f32(float f) { return constant(t_float(), bits(f)); } | 199 | std::uint32_t f32(float f) { return constant(t_float(), bits(f)); } |
| 193 | std::uint32_t u32(std::uint32_t u) { return constant(t_uint(), u); } | 200 | std::uint32_t u32(std::uint32_t u) { return constant(t_uint(), u); } |
| @@ -245,9 +252,11 @@ public: | |||
| 245 | return id; | 252 | return id; |
| 246 | } | 253 | } |
| 247 | 254 | ||
| 248 | // depth24_to_float(depth24_from_bits(z)) of depth24_convert.comp, branch-free. | 255 | // Quantise z to D24 (levels_ == 16777215.0f) or D16 (levels_ == 65535.0f) and reconstruct the nearest float |
| 256 | // to d / levels_ without floating-point division (SPIR-V OpFDiv only guarantees 2.5 ULP), branch-free. | ||
| 249 | std::uint32_t quantise(std::vector<Inst>& code, std::uint32_t z) { | 257 | std::uint32_t quantise(std::vector<Inst>& code, std::uint32_t z) { |
| 250 | const std::uint32_t tf = t_float(), tu = t_uint(), tb = t_bool(); | 258 | const std::uint32_t tf = t_float(), tu = t_uint(), tb = t_bool(); |
| 259 | const std::uint32_t max_code = is_depth16() ? 0xffffu : 0xffffffu; | ||
| 251 | const std::uint32_t b = emit(code, op_bitcast, tu, {z}); | 260 | const std::uint32_t b = emit(code, op_bitcast, tu, {z}); |
| 252 | const std::uint32_t product = emit(code, op_f_mul, tf, {z, f32(levels_)}); | 261 | const std::uint32_t product = emit(code, op_f_mul, tf, {z, f32(levels_)}); |
| 253 | const std::uint32_t rounded = ext(code, tf, glsl_round_even, {product}); | 262 | const std::uint32_t rounded = ext(code, tf, glsl_round_even, {product}); |
| @@ -256,17 +265,36 @@ public: | |||
| 256 | f32(levels_)}); | 265 | f32(levels_)}); |
| 257 | const std::uint32_t code_mid = emit(code, op_convert_f_to_u, tu, {safe}); | 266 | const std::uint32_t code_mid = emit(code, op_convert_f_to_u, tu, {safe}); |
| 258 | const std::uint32_t at_least_one = emit(code, op_u_greater_than_equal, tb, {b, u32(0x3f800000u)}); | 267 | const std::uint32_t at_least_one = emit(code, op_u_greater_than_equal, tb, {b, u32(0x3f800000u)}); |
| 259 | const std::uint32_t code_hi = emit(code, op_select, tu, {at_least_one, u32(0xffffffu), code_mid}); | 268 | const std::uint32_t code_hi = emit(code, op_select, tu, {at_least_one, u32(max_code), code_mid}); |
| 260 | const std::uint32_t negative_or_nan = emit(code, op_u_greater_than, tb, {b, u32(0x7f800000u)}); | 269 | const std::uint32_t negative_or_nan = emit(code, op_u_greater_than, tb, {b, u32(0x7f800000u)}); |
| 261 | const std::uint32_t d = emit(code, op_select, tu, {negative_or_nan, u32(0), code_hi}); | 270 | const std::uint32_t d = emit(code, op_select, tu, {negative_or_nan, u32(0), code_hi}); |
| 262 | // float(m + 1) * 2^(e - 47) with e = findMSB(d) and m = d << (23 - e); d == 0 gives 0. | ||
| 263 | const std::uint32_t e = ext(code, tu, glsl_find_umsb, {d}); | 271 | const std::uint32_t e = ext(code, tu, glsl_find_umsb, {d}); |
| 264 | const std::uint32_t m = emit(code, op_shift_left_logical, tu, {d, emit(code, op_i_sub, tu, {u32(23), e})}); | 272 | std::uint32_t value = 0; |
| 265 | const std::uint32_t mf = emit(code, op_convert_u_to_f, tf, {emit(code, op_i_add, tu, {m, u32(1)})}); | 273 | if (is_depth16()) { |
| 266 | const std::uint32_t exponent = emit(code, op_shift_left_logical, tu, {emit(code, op_i_add, tu, {e, u32(80)}), | 274 | // Nearest float to d / (2^16 - 1) for d in 1..65535: |
| 267 | u32(23)}); | 275 | // n = d << (15 - e) puts d's MSB at bit 15; repeating n in binary gives (n << 8) | (n >> 8) as the |
| 268 | const std::uint32_t scale = emit(code, op_bitcast, tf, {exponent}); | 276 | // top 24 bits, and the tail below bit 8 is strictly > 0.5 iff bit 7 of n is set (never a tie), so |
| 269 | const std::uint32_t value = emit(code, op_f_mul, tf, {mf, scale}); | 277 | // m = (n << 8) + ((n + 128) >> 8) is the exact rounded 24-bit mantissa (0x1000000 for d == 65535). |
| 278 | // Multiplying float(m) by 2^(e - 39) (biased exponent e + 88) matches float(double(d) / 65535.0) | ||
| 279 | // for every 16-bit code, and for d == 0 (e == 0xffffffff) shifts stay < 32 and zero selects 0.0f. | ||
| 280 | const std::uint32_t n = emit(code, op_shift_left_logical, tu, {d, emit(code, op_i_sub, tu, {u32(15), e})}); | ||
| 281 | const std::uint32_t n_hi = emit(code, op_shift_left_logical, tu, {n, u32(8)}); | ||
| 282 | const std::uint32_t n_lo = | ||
| 283 | emit(code, op_shift_right_logical, tu, {emit(code, op_i_add, tu, {n, u32(128)}), u32(8)}); | ||
| 284 | const std::uint32_t mf = emit(code, op_convert_u_to_f, tf, {emit(code, op_i_add, tu, {n_hi, n_lo})}); | ||
| 285 | const std::uint32_t exponent = | ||
| 286 | emit(code, op_shift_left_logical, tu, {emit(code, op_i_add, tu, {e, u32(88)}), u32(23)}); | ||
| 287 | const std::uint32_t scale = emit(code, op_bitcast, tf, {exponent}); | ||
| 288 | value = emit(code, op_f_mul, tf, {mf, scale}); | ||
| 289 | } else { | ||
| 290 | // float(m + 1) * 2^(e - 47) with e = findMSB(d) and m = d << (23 - e); d == 0 gives 0. | ||
| 291 | const std::uint32_t m = emit(code, op_shift_left_logical, tu, {d, emit(code, op_i_sub, tu, {u32(23), e})}); | ||
| 292 | const std::uint32_t mf = emit(code, op_convert_u_to_f, tf, {emit(code, op_i_add, tu, {m, u32(1)})}); | ||
| 293 | const std::uint32_t exponent = emit(code, op_shift_left_logical, tu, {emit(code, op_i_add, tu, {e, u32(80)}), | ||
| 294 | u32(23)}); | ||
| 295 | const std::uint32_t scale = emit(code, op_bitcast, tf, {exponent}); | ||
| 296 | value = emit(code, op_f_mul, tf, {mf, scale}); | ||
| 297 | } | ||
| 270 | const std::uint32_t zero = emit(code, op_i_equal, tb, {d, u32(0)}); | 298 | const std::uint32_t zero = emit(code, op_i_equal, tb, {d, u32(0)}); |
| 271 | return emit(code, op_select, tf, {zero, f32(0.0f), value}); | 299 | return emit(code, op_select, tf, {zero, f32(0.0f), value}); |
| 272 | } | 300 | } |
| @@ -328,9 +356,9 @@ public: | |||
| 328 | } | 356 | } |
| 329 | 357 | ||
| 330 | private: | 358 | private: |
| 331 | float levels_; | ||
| 332 | Module& m_; | 359 | Module& m_; |
| 333 | std::uint32_t entry_; | 360 | std::uint32_t entry_; |
| 361 | float levels_; | ||
| 334 | std::vector<Inst> existing_; | 362 | std::vector<Inst> existing_; |
| 335 | std::vector<Inst> globals_, decorations_, modes_; | 363 | std::vector<Inst> globals_, decorations_, modes_; |
| 336 | Inst import_; | 364 | Inst import_; |
| @@ -346,6 +374,10 @@ private: | |||
| 346 | inline std::vector<std::uint32_t> depth24_patch_fragment(const std::vector<std::uint32_t>& words, | 374 | inline std::vector<std::uint32_t> depth24_patch_fragment(const std::vector<std::uint32_t>& words, |
| 347 | const Depth24Bias& bias, std::string& why) { | 375 | const Depth24Bias& bias, std::string& why) { |
| 348 | using namespace spirv24; | 376 | using namespace spirv24; |
| 377 | if (bias.levels != 16777215.0f && bias.levels != 65535.0f) { | ||
| 378 | why = "unsupported depth quantisation level count"; | ||
| 379 | return {}; | ||
| 380 | } | ||
| 349 | Module m; | 381 | Module m; |
| 350 | if (!m.parse(words, why)) return {}; | 382 | if (!m.parse(words, why)) return {}; |
| 351 | std::uint32_t entry = 0; | 383 | std::uint32_t entry = 0; |
diff --git a/runtime/src/descriptor_range_changes.h b/runtime/src/descriptor_range_changes.h deleted file mode 100644 index 5a4d7717f..000000000 --- a/runtime/src/descriptor_range_changes.h +++ /dev/null | |||
| @@ -1,46 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | #include <algorithm> | ||
| 3 | #include <array> | ||
| 4 | #include <cstdint> | ||
| 5 | #include <vector> | ||
| 6 | |||
| 7 | namespace leonida { | ||
| 8 | // A separate cursor per console heap. The owning backing/alias registry locks record() and read(). | ||
| 9 | struct DescriptorRanges { | ||
| 10 | struct Range { uint64_t first, last; }; // inclusive, including UINT64_MAX | ||
| 11 | std::vector<Range> ranges; | ||
| 12 | void merge() { | ||
| 13 | std::sort(ranges.begin(), ranges.end(), [](auto a, auto b) { return a.first < b.first; }); | ||
| 14 | size_t n = 0; | ||
| 15 | for (auto r : ranges) { | ||
| 16 | if (n && r.first <= ranges[n-1].last) | ||
| 17 | ranges[n-1].last = (std::max)(ranges[n-1].last, r.last); | ||
| 18 | else ranges[n++] = r; | ||
| 19 | } | ||
| 20 | ranges.resize(n); | ||
| 21 | } | ||
| 22 | bool overlaps(uint64_t base, uint64_t bytes) const { | ||
| 23 | if (!bytes) return false; | ||
| 24 | auto it = std::lower_bound(ranges.begin(), ranges.end(), base, | ||
| 25 | [](auto r, uint64_t v) { return r.last < v; }); | ||
| 26 | return it != ranges.end() && (it->first <= base || it->first - base < bytes); | ||
| 27 | } | ||
| 28 | }; | ||
| 29 | class DescriptorRangeChanges { | ||
| 30 | std::array<DescriptorRanges::Range, 4096> ring_{}; | ||
| 31 | uint64_t serial_{}; | ||
| 32 | public: | ||
| 33 | void record(uint64_t start, uint64_t bytes) { | ||
| 34 | if (bytes) { | ||
| 35 | ring_[serial_++ % ring_.size()] = {start, start + (std::min)(UINT64_MAX-start, bytes-1)}; | ||
| 36 | } | ||
| 37 | } | ||
| 38 | bool read(uint64_t& cursor, DescriptorRanges& out) const { | ||
| 39 | const auto previous = cursor; | ||
| 40 | cursor = serial_; | ||
| 41 | if (serial_ - previous > ring_.size()) return false; | ||
| 42 | for (auto i = previous; i != serial_; ++i) out.ranges.push_back(ring_[i % ring_.size()]); | ||
| 43 | return true; | ||
| 44 | } | ||
| 45 | }; | ||
| 46 | } | ||
diff --git a/runtime/src/dstorage_hold.h b/runtime/src/dstorage_hold.h new file mode 100644 index 000000000..1695c1e7c --- /dev/null +++ b/runtime/src/dstorage_hold.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | // Counters of the DirectStorage queues' rule "reads into physical pages wait for the title's Submit" | ||
| 2 | // (shims/dstorage.cpp, docs/directstorage.md). Process-wide, so the log line and the test read the same numbers. | ||
| 3 | #pragma once | ||
| 4 | |||
| 5 | #include <atomic> | ||
| 6 | #include <cstdint> | ||
| 7 | |||
| 8 | namespace leonida::dstorage { | ||
| 9 | |||
| 10 | struct HoldStats { | ||
| 11 | std::atomic<uint64_t> self_submits{0}; // a queue half full submitted itself | ||
| 12 | std::atomic<uint64_t> held_reads{0}; // reads into physical pages such a submit left for the title's Submit | ||
| 13 | std::atomic<uint64_t> full_releases{0}; // a full queue submitted its held entries (the title waits in an enqueue) | ||
| 14 | std::atomic<uint64_t> timed_releases{0}; // LEONIDA_DSTORAGE_HOLD_MS ran out before the title's Submit | ||
| 15 | std::atomic<uint64_t> page0_entries{0}; // destination page lists that named page 0 when their data was written | ||
| 16 | }; | ||
| 17 | |||
| 18 | inline HoldStats& hold_stats() { | ||
| 19 | static HoldStats stats; | ||
| 20 | return stats; | ||
| 21 | } | ||
| 22 | |||
| 23 | } // namespace leonida::dstorage | ||
diff --git a/runtime/src/heavy_pipeline_cache.h b/runtime/src/heavy_pipeline_cache.h new file mode 100644 index 000000000..8cad10e66 --- /dev/null +++ b/runtime/src/heavy_pipeline_cache.h | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | // A pipeline cache that survives a crash, for the pipelines the offline corpus does not have (RT-HEAVY-PIPELINE-CACHE). | ||
| 2 | // | ||
| 3 | // The offline seed (pipeline_cache.bin, several GiB) covers what the `pipelines` build stage creates. A pipeline it | ||
| 4 | // misses is compiled on the spot, and some of those take the driver seconds each. pipeline_cache.session.bin cannot | ||
| 5 | // keep them across a crash: it is written at device teardown only, and a cache seeded from the corpus returns the | ||
| 6 | // whole corpus, over its write limit, so it is not written at all. | ||
| 7 | // | ||
| 8 | // So a pipeline is first created against the corpus cache with VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED. | ||
| 9 | // When the driver would have to compile, it is created again against a cache of its own, seeded from | ||
| 10 | // pipeline_cache.heavy.bin. That cache holds only the corpus's misses, so it stays small. After a compile that took | ||
| 11 | // at least LEONIDA_HEAVY_PIPELINE_CACHE_MS (default 500 ms), it is written back to disk on a thread of its own: a | ||
| 12 | // staging file renamed over the old one, so a crash at any point leaves the last complete file. | ||
| 13 | // | ||
| 14 | // This header holds the pure decisions (the threshold and when to write). Vulkan and the file live in the device. | ||
| 15 | #pragma once | ||
| 16 | |||
| 17 | #include <cstdint> | ||
| 18 | #include <cstdlib> | ||
| 19 | |||
| 20 | namespace leonida::heavy_pipeline_cache { | ||
| 21 | |||
| 22 | inline constexpr std::uint32_t default_threshold_ms = 500; | ||
| 23 | |||
| 24 | struct Threshold { | ||
| 25 | std::uint32_t ms = default_threshold_ms; // 0: off | ||
| 26 | bool valid = true; // false: the text was not a number; ms stays the default | ||
| 27 | }; | ||
| 28 | |||
| 29 | // LEONIDA_HEAVY_PIPELINE_CACHE_MS: a compile at least this long schedules a write; 0 turns the heavy cache off. | ||
| 30 | inline Threshold parse_threshold(const char* text) { | ||
| 31 | if (!text || !*text) return {}; | ||
| 32 | std::uint64_t value = 0; | ||
| 33 | for (const char* p = text; *p; ++p) { | ||
| 34 | if (*p < '0' || *p > '9') return {default_threshold_ms, false}; | ||
| 35 | value = value * 10 + std::uint64_t(*p - '0'); | ||
| 36 | if (value > 3'600'000) return {default_threshold_ms, false}; // an hour: past it the text is a mistake | ||
| 37 | } | ||
| 38 | return {std::uint32_t(value), true}; | ||
| 39 | } | ||
| 40 | |||
| 41 | // When the writer thread writes. A heavy compile marks the cache dirty; the write waits `settle_ms` after the | ||
| 42 | // newest one (heavy compiles come in bursts at a load, and each write copies the whole heavy cache) but never more | ||
| 43 | // than `max_delay_ms` after the first unwritten one, so a long burst is still saved as it goes. A write that fails | ||
| 44 | // keeps the cache dirty and is tried again `retry_ms` later, the delay doubling with each failure in a row up to | ||
| 45 | // `max_retry_ms`, so a disk that stays full or a driver that keeps failing does not make the writer spin. | ||
| 46 | class WriteSchedule { | ||
| 47 | public: | ||
| 48 | static constexpr std::uint64_t settle_ms = 3000; | ||
| 49 | static constexpr std::uint64_t max_delay_ms = 20000; | ||
| 50 | static constexpr std::uint64_t retry_ms = 5000; | ||
| 51 | static constexpr std::uint64_t max_retry_ms = 120000; | ||
| 52 | |||
| 53 | void note_heavy(std::uint64_t now_ms) { | ||
| 54 | if (!dirty_) first_ = now_ms; | ||
| 55 | dirty_ = true; | ||
| 56 | last_ = now_ms; | ||
| 57 | ++generation_; | ||
| 58 | } | ||
| 59 | bool dirty() const { return dirty_; } | ||
| 60 | // The time to write at; only meaningful while dirty. | ||
| 61 | std::uint64_t due_ms() const { | ||
| 62 | const std::uint64_t settled = last_ + settle_ms, latest = first_ + max_delay_ms; | ||
| 63 | const std::uint64_t at = settled < latest ? settled : latest; | ||
| 64 | return at > retry_at_ ? at : retry_at_; | ||
| 65 | } | ||
| 66 | bool due(std::uint64_t now_ms) const { return dirty_ && now_ms >= due_ms(); } | ||
| 67 | // Taken when a write starts; the write covers every heavy compile noted up to then. | ||
| 68 | std::uint64_t generation() const { return generation_; } | ||
| 69 | // A write that started at `generation` and `started_ms` is done. A heavy compile noted after it started, even in | ||
| 70 | // the same millisecond tick, keeps the cache dirty for the next write, due as if it were first noted then. | ||
| 71 | void written(std::uint64_t generation, std::uint64_t started_ms) { | ||
| 72 | failures_ = 0; | ||
| 73 | retry_at_ = 0; | ||
| 74 | if (generation_ == generation) dirty_ = false; | ||
| 75 | else first_ = started_ms; | ||
| 76 | } | ||
| 77 | // A write that started at `started_ms` failed: the cache stays dirty and the next try waits out the backoff. | ||
| 78 | void failed(std::uint64_t started_ms) { | ||
| 79 | std::uint64_t delay = retry_ms; | ||
| 80 | for (std::uint32_t i = 0; i < failures_ && delay < max_retry_ms; ++i) delay *= 2; | ||
| 81 | if (delay > max_retry_ms) delay = max_retry_ms; | ||
| 82 | if (failures_ < 64) ++failures_; | ||
| 83 | retry_at_ = started_ms + delay; | ||
| 84 | } | ||
| 85 | std::uint32_t failures() const { return failures_; } | ||
| 86 | |||
| 87 | private: | ||
| 88 | bool dirty_ = false; | ||
| 89 | std::uint64_t first_ = 0, last_ = 0, generation_ = 0; | ||
| 90 | std::uint32_t failures_ = 0; // failed writes in a row | ||
| 91 | std::uint64_t retry_at_ = 0; // no write before this time after a failure | ||
| 92 | }; | ||
| 93 | |||
| 94 | } // namespace leonida::heavy_pipeline_cache | ||
diff --git a/runtime/src/indirect_clamp.comp b/runtime/src/indirect_clamp.comp index 3b99da59a..37af7431f 100644 --- a/runtime/src/indirect_clamp.comp +++ b/runtime/src/indirect_clamp.comp | |||
| @@ -9,9 +9,19 @@ | |||
| 9 | // charging the list budget. The command list charges its work (vertices, indices, or groups * 64) against 2^27 units with | 9 | // charging the list budget. The command list charges its work (vertices, indices, or groups * 64) against 2^27 units with |
| 10 | // an atomic CAS, so thousands of garbage records cannot run for seconds either. | 10 | // an atomic CAS, so thousands of garbage records cannot run for seconds either. |
| 11 | // | 11 | // |
| 12 | // A draw record of 2^23 vertices (or indices) an instance or more is a slot the title has not filled, not a draw: it | ||
| 13 | // runs empty and charges nothing, so a few of them cannot use up the list budget and empty every real draw after them | ||
| 14 | // (RT-INDIRECT-DRAW-UNFILLED-COUNT; a census in codec-d/cool_fox's fork of VIctory found 90 records of 2^24 in one | ||
| 15 | // list, its docs/findings.md and crates/victory-gpu/src/indirect.rs; no code of it is used). | ||
| 16 | // | ||
| 12 | // The bounds cut legitimate work beyond them, so they are generous: 2^24 vertices (or indices), 2^26 vertex instances, | 17 | // The bounds cut legitimate work beyond them, so they are generous: 2^24 vertices (or indices), 2^26 vertex instances, |
| 13 | // 65 535 groups per dimension, 2^20 groups per dispatch, and mesh dispatches charged 128 threads per group. The | 18 | // the device's own maxComputeWorkGroupCount per dimension for a dispatch (65 535 for a mesh dispatch), 2^20 groups per |
| 14 | // console's mesh dispatch is one-dimensional; the output uses one group in y and z. | 19 | // dispatch, and mesh dispatches charged 128 threads per group. The console's mesh dispatch is one-dimensional; the |
| 20 | // output uses one group in y and z. | ||
| 21 | // | ||
| 22 | // A dispatch is bounded by the device's limit, not by Vulkan's guaranteed minimum of 65 535: NVIDIA, for one, allows | ||
| 23 | // 2^31 - 1 groups in x, and a fixed 65 535 cut a one-dimensional dispatch of more groups short, so the groups | ||
| 24 | // past it never ran and their output stayed stale (blocky patches; idea from codec-d/cool_fox docs/findings.md). | ||
| 15 | #version 460 | 25 | #version 460 |
| 16 | #extension GL_EXT_buffer_reference : require | 26 | #extension GL_EXT_buffer_reference : require |
| 17 | layout(local_size_x = 64) in; | 27 | layout(local_size_x = 64) in; |
| @@ -35,13 +45,19 @@ layout(push_constant) uniform Params { | |||
| 35 | uint first_record; // the record index this chunk starts at | 45 | uint first_record; // the record index this chunk starts at |
| 36 | uint max_records; // max_command_count of the ExecuteIndirect call | 46 | uint max_records; // max_command_count of the ExecuteIndirect call |
| 37 | uint flags; // bit 0: counted; bits 1..16: optional per-dispatch group budget | 47 | uint flags; // bit 0: counted; bits 1..16: optional per-dispatch group budget |
| 48 | uint max_x; // the device's maxComputeWorkGroupCount: a dispatch's x, y and z run up to these | ||
| 49 | uint max_y; // (three words, not a uvec3, whose 16-byte alignment would move it past the C++ struct) | ||
| 50 | uint max_z; | ||
| 51 | uint reserved; | ||
| 38 | } p; | 52 | } p; |
| 39 | 53 | ||
| 40 | // One ExecuteIndirect batch's limits. A record that asks for more runs empty instead of for seconds. | 54 | // One ExecuteIndirect batch's limits. A record that asks for more runs empty instead of for seconds. |
| 41 | const uint max_vertices = 1u << 24u; // vertices or indices in one draw | 55 | const uint max_vertices = 1u << 24u; // vertices or indices in one draw |
| 56 | const uint unfilled_draw = 1u << 23u; // vertices or indices an instance from which a draw record is unfilled | ||
| 42 | const uint max_vertex_instances = 1u << 26u; // vertex (or index) count times instance count | 57 | const uint max_vertex_instances = 1u << 26u; // vertex (or index) count times instance count |
| 43 | const uint max_group_dimension = 65535u; // groups in x, y or z | 58 | const uint max_mesh_dimension = 65535u; // groups in a mesh dispatch's x (dispatches: p.max_x, y, z) |
| 44 | const uint max_groups = 1u << 20u; // groups in one dispatch or mesh dispatch | 59 | const uint max_groups = 1u << 20u; // groups in one dispatch or mesh dispatch |
| 60 | const uint narrow_groups = 65535u; // the x a dispatch record was cut at before, for the counters | ||
| 45 | const uint budget = 1u << 27u; // work in the whole command list: vertices, indices, or groups * 64 | 61 | const uint budget = 1u << 27u; // work in the whole command list: vertices, indices, or groups * 64 |
| 46 | 62 | ||
| 47 | // Charges `cost` units to the batch's budget. Saturating: a record that no longer fits runs empty, so the batch never | 63 | // Charges `cost` units to the batch's budget. Saturating: a record that no longer fits runs empty, so the batch never |
| @@ -101,7 +117,8 @@ void main() { | |||
| 101 | // A draw or an indexed draw: count, instances, then the two (or three) locations, copied as they are. | 117 | // A draw or an indexed draw: count, instances, then the two (or three) locations, copied as they are. |
| 102 | const uint count = p.arguments.data[src]; | 118 | const uint count = p.arguments.data[src]; |
| 103 | const uint instances = p.arguments.data[src + 1u]; | 119 | const uint instances = p.arguments.data[src + 1u]; |
| 104 | uint index_count = min(count, max_vertices); | 120 | // An unfilled record (a count of 2^23 or more) runs empty, free: cost 0, so it leaves the budget alone. |
| 121 | uint index_count = count >= unfilled_draw ? 0u : min(count, max_vertices); | ||
| 105 | uint instance_count = min(instances, max_vertex_instances / max(index_count, 1u)); | 122 | uint instance_count = min(instances, max_vertex_instances / max(index_count, 1u)); |
| 106 | if (index_count == 0u) instance_count = 0u; | 123 | if (index_count == 0u) instance_count = 0u; |
| 107 | clamped = index_count != count || instance_count != instances ? 1u : 0u; | 124 | clamped = index_count != count || instance_count != instances ? 1u : 0u; |
| @@ -112,8 +129,8 @@ void main() { | |||
| 112 | words[3] = p.arguments.data[src + 3u]; | 129 | words[3] = p.arguments.data[src + 3u]; |
| 113 | if (p.kind == 1u) words[4] = p.arguments.data[src + 4u]; | 130 | if (p.kind == 1u) words[4] = p.arguments.data[src + 4u]; |
| 114 | } else { | 131 | } else { |
| 115 | // A dispatch or a mesh dispatch: three group counts. x * y fits 32 bits (each is at most 65 535); the whole | 132 | // A dispatch or a mesh dispatch: three group counts, each bounded by the device's limit. A product past |
| 116 | // group count may not, so an oversized product runs empty. | 133 | // max_groups runs empty; it is checked by division, because x alone may be up to 2^32 - 1. |
| 117 | const uint asked_x = p.arguments.data[src]; | 134 | const uint asked_x = p.arguments.data[src]; |
| 118 | const uint asked_y = p.arguments.data[src + 1u]; | 135 | const uint asked_y = p.arguments.data[src + 1u]; |
| 119 | const uint asked_z = p.arguments.data[src + 2u]; | 136 | const uint asked_z = p.arguments.data[src + 2u]; |
| @@ -127,21 +144,32 @@ void main() { | |||
| 127 | atomicMax(p.stats.data[11], asked_z); | 144 | atomicMax(p.stats.data[11], asked_z); |
| 128 | } | 145 | } |
| 129 | } | 146 | } |
| 130 | uint x = min(asked_x, max_group_dimension); | 147 | const uvec3 limit = p.kind == 3u ? uvec3(max_mesh_dimension, 1u, 1u) : max(uvec3(p.max_x, p.max_y, p.max_z), uvec3(1u)); |
| 131 | uint y = min(asked_y, max_group_dimension); | 148 | uint x = min(asked_x, limit.x); |
| 132 | uint z = min(asked_z, max_group_dimension); | 149 | uint y = min(asked_y, limit.y); |
| 150 | uint z = min(asked_z, limit.z); | ||
| 133 | if (p.kind == 3u) { y = 1u; z = 1u; } | 151 | if (p.kind == 3u) { y = 1u; z = 1u; } |
| 152 | // A dispatch past the device's limit in some dimension, cut there (stats word 14). | ||
| 153 | const bool past_device = p.kind != 3u && (x != asked_x || y != asked_y || z != asked_z); | ||
| 134 | const uint groups = p.flags >> 1u; | 154 | const uint groups = p.flags >> 1u; |
| 135 | if (groups != 0u && x != 0u && y != 0u && z != 0u) { | 155 | if (groups != 0u && x != 0u && y != 0u && z != 0u) { |
| 136 | x = min(x, groups); | 156 | x = min(x, groups); |
| 137 | y = min(y, groups / x); | 157 | y = min(y, groups / x); |
| 138 | z = min(z, groups / x / y); | 158 | z = min(z, groups / x / y); |
| 139 | } | 159 | } |
| 140 | if (z != 0u && x * y > max_groups / z) { | 160 | if (x != 0u && y != 0u && z != 0u && (x > max_groups || y > max_groups / x || z > max_groups / x / y)) { |
| 141 | x = 0u; | 161 | x = 0u; |
| 142 | y = 0u; | 162 | y = 0u; |
| 143 | z = 0u; | 163 | z = 0u; |
| 144 | } | 164 | } |
| 165 | if (p.kind != 3u) { | ||
| 166 | // Dispatch records (stats words 12-15): those that run wider than 65 535 groups in x, the widest x that | ||
| 167 | // runs, those cut at the device's limits (and still run), and all of them. | ||
| 168 | atomicAdd(p.stats.data[15], 1u); | ||
| 169 | if (x > narrow_groups) atomicAdd(p.stats.data[12], 1u); | ||
| 170 | atomicMax(p.stats.data[13], x); | ||
| 171 | if (past_device && x != 0u) atomicAdd(p.stats.data[14], 1u); | ||
| 172 | } | ||
| 145 | clamped = x != asked_x || y != asked_y || z != asked_z ? 1u : 0u; | 173 | clamped = x != asked_x || y != asked_y || z != asked_z ? 1u : 0u; |
| 146 | cost = x * y * z * (p.kind == 3u ? 128u : 64u); | 174 | cost = x * y * z * (p.kind == 3u ? 128u : 64u); |
| 147 | words[0] = x; | 175 | words[0] = x; |
diff --git a/runtime/src/indirect_clamp_spv.h b/runtime/src/indirect_clamp_spv.h index 653e0543f..36e4d9654 100644 --- a/runtime/src/indirect_clamp_spv.h +++ b/runtime/src/indirect_clamp_spv.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | #include <cstdint> | 3 | #include <cstdint> |
| 4 | namespace leonida { | 4 | namespace leonida { |
| 5 | inline constexpr std::uint32_t indirect_clamp_spirv[] = { | 5 | inline constexpr std::uint32_t indirect_clamp_spirv[] = { |
| 6 | 0x07230203u, 0x00010500u, 0x0008000bu, 0x000002fau, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u, | 6 | 0x07230203u, 0x00010500u, 0x0008000bu, 0x000003b0u, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u, |
| 7 | 0x000014e3u, 0x0006000bu, 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu, | 7 | 0x000014e3u, 0x0006000bu, 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu, |
| 8 | 0x000014e4u, 0x00000001u, 0x0007000fu, 0x00000005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00000026u, | 8 | 0x000014e4u, 0x00000001u, 0x0007000fu, 0x00000005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00000026u, |
| 9 | 0x0000005au, 0x00060010u, 0x00000004u, 0x00000011u, 0x00000040u, 0x00000001u, 0x00000001u, 0x00030003u, | 9 | 0x0000005au, 0x00060010u, 0x00000004u, 0x00000011u, 0x00000040u, 0x00000001u, 0x00000001u, 0x00030003u, |
| @@ -17,283 +17,336 @@ inline constexpr std::uint32_t indirect_clamp_spirv[] = { | |||
| 17 | 0x00070006u, 0x0000001au, 0x00000007u, 0x69727473u, 0x775f6564u, 0x7364726fu, 0x00000000u, 0x00050006u, | 17 | 0x00070006u, 0x0000001au, 0x00000007u, 0x69727473u, 0x775f6564u, 0x7364726fu, 0x00000000u, 0x00050006u, |
| 18 | 0x0000001au, 0x00000008u, 0x6f636572u, 0x00736472u, 0x00070006u, 0x0000001au, 0x00000009u, 0x73726966u, | 18 | 0x0000001au, 0x00000008u, 0x6f636572u, 0x00736472u, 0x00070006u, 0x0000001au, 0x00000009u, 0x73726966u, |
| 19 | 0x65725f74u, 0x64726f63u, 0x00000000u, 0x00060006u, 0x0000001au, 0x0000000au, 0x5f78616du, 0x6f636572u, | 19 | 0x65725f74u, 0x64726f63u, 0x00000000u, 0x00060006u, 0x0000001au, 0x0000000au, 0x5f78616du, 0x6f636572u, |
| 20 | 0x00736472u, 0x00050006u, 0x0000001au, 0x0000000bu, 0x67616c66u, 0x00000073u, 0x00040005u, 0x0000001cu, | 20 | 0x00736472u, 0x00050006u, 0x0000001au, 0x0000000bu, 0x67616c66u, 0x00000073u, 0x00050006u, 0x0000001au, |
| 21 | 0x73677241u, 0x00006e49u, 0x00050006u, 0x0000001cu, 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, | 21 | 0x0000000cu, 0x5f78616du, 0x00000078u, 0x00050006u, 0x0000001au, 0x0000000du, 0x5f78616du, 0x00000079u, |
| 22 | 0x0000001eu, 0x6e756f43u, 0x006e4974u, 0x00050006u, 0x0000001eu, 0x00000000u, 0x61746164u, 0x00000000u, | 22 | 0x00050006u, 0x0000001au, 0x0000000eu, 0x5f78616du, 0x0000007au, 0x00040005u, 0x0000001cu, 0x73677241u, |
| 23 | 0x00040005u, 0x00000020u, 0x73677241u, 0x0074754fu, 0x00050006u, 0x00000020u, 0x00000000u, 0x61746164u, | 23 | 0x00006e49u, 0x00050006u, 0x0000001cu, 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, 0x0000001eu, |
| 24 | 0x00000000u, 0x00050005u, 0x00000022u, 0x6e756f43u, 0x74754f74u, 0x00000000u, 0x00050006u, 0x00000022u, | 24 | 0x6e756f43u, 0x006e4974u, 0x00050006u, 0x0000001eu, 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, |
| 25 | 0x00000000u, 0x61746164u, 0x00000000u, 0x00040005u, 0x00000024u, 0x74617453u, 0x00000073u, 0x00050006u, | 25 | 0x00000020u, 0x73677241u, 0x0074754fu, 0x00050006u, 0x00000020u, 0x00000000u, 0x61746164u, 0x00000000u, |
| 26 | 0x00000024u, 0x00000000u, 0x61746164u, 0x00000000u, 0x00030005u, 0x00000026u, 0x00000070u, 0x00080005u, | 26 | 0x00050005u, 0x00000022u, 0x6e756f43u, 0x74754f74u, 0x00000000u, 0x00050006u, 0x00000022u, 0x00000000u, |
| 27 | 0x0000005au, 0x475f6c67u, 0x61626f6cu, 0x766e496cu, 0x7461636fu, 0x496e6f69u, 0x00000044u, 0x00040005u, | 27 | 0x61746164u, 0x00000000u, 0x00040005u, 0x00000024u, 0x74617453u, 0x00000073u, 0x00050006u, 0x00000024u, |
| 28 | 0x00000116u, 0x64726f77u, 0x00000073u, 0x00030047u, 0x0000001au, 0x00000002u, 0x00050048u, 0x0000001au, | 28 | 0x00000000u, 0x61746164u, 0x00000000u, 0x00030005u, 0x00000026u, 0x00000070u, 0x00080005u, 0x0000005au, |
| 29 | 0x00000000u, 0x00000023u, 0x00000000u, 0x00050048u, 0x0000001au, 0x00000001u, 0x00000023u, 0x00000008u, | 29 | 0x475f6c67u, 0x61626f6cu, 0x766e496cu, 0x7461636fu, 0x496e6f69u, 0x00000044u, 0x00040005u, 0x00000116u, |
| 30 | 0x00050048u, 0x0000001au, 0x00000002u, 0x00000023u, 0x00000010u, 0x00050048u, 0x0000001au, 0x00000003u, | 30 | 0x64726f77u, 0x00000073u, 0x00030047u, 0x0000001au, 0x00000002u, 0x00050048u, 0x0000001au, 0x00000000u, |
| 31 | 0x00000023u, 0x00000018u, 0x00050048u, 0x0000001au, 0x00000004u, 0x00000023u, 0x00000020u, 0x00050048u, | 31 | 0x00000023u, 0x00000000u, 0x00050048u, 0x0000001au, 0x00000001u, 0x00000023u, 0x00000008u, 0x00050048u, |
| 32 | 0x0000001au, 0x00000005u, 0x00000023u, 0x00000028u, 0x00050048u, 0x0000001au, 0x00000006u, 0x00000023u, | 32 | 0x0000001au, 0x00000002u, 0x00000023u, 0x00000010u, 0x00050048u, 0x0000001au, 0x00000003u, 0x00000023u, |
| 33 | 0x00000030u, 0x00050048u, 0x0000001au, 0x00000007u, 0x00000023u, 0x00000034u, 0x00050048u, 0x0000001au, | 33 | 0x00000018u, 0x00050048u, 0x0000001au, 0x00000004u, 0x00000023u, 0x00000020u, 0x00050048u, 0x0000001au, |
| 34 | 0x00000008u, 0x00000023u, 0x00000038u, 0x00050048u, 0x0000001au, 0x00000009u, 0x00000023u, 0x0000003cu, | 34 | 0x00000005u, 0x00000023u, 0x00000028u, 0x00050048u, 0x0000001au, 0x00000006u, 0x00000023u, 0x00000030u, |
| 35 | 0x00050048u, 0x0000001au, 0x0000000au, 0x00000023u, 0x00000040u, 0x00050048u, 0x0000001au, 0x0000000bu, | 35 | 0x00050048u, 0x0000001au, 0x00000007u, 0x00000023u, 0x00000034u, 0x00050048u, 0x0000001au, 0x00000008u, |
| 36 | 0x00000023u, 0x00000044u, 0x00040047u, 0x0000001bu, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001cu, | 36 | 0x00000023u, 0x00000038u, 0x00050048u, 0x0000001au, 0x00000009u, 0x00000023u, 0x0000003cu, 0x00050048u, |
| 37 | 0x00000002u, 0x00040048u, 0x0000001cu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001cu, 0x00000000u, | 37 | 0x0000001au, 0x0000000au, 0x00000023u, 0x00000040u, 0x00050048u, 0x0000001au, 0x0000000bu, 0x00000023u, |
| 38 | 0x00000023u, 0x00000000u, 0x00040047u, 0x0000001du, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001eu, | 38 | 0x00000044u, 0x00050048u, 0x0000001au, 0x0000000cu, 0x00000023u, 0x00000048u, 0x00050048u, 0x0000001au, |
| 39 | 0x00000002u, 0x00040048u, 0x0000001eu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001eu, 0x00000000u, | 39 | 0x0000000du, 0x00000023u, 0x0000004cu, 0x00050048u, 0x0000001au, 0x0000000eu, 0x00000023u, 0x00000050u, |
| 40 | 0x00000023u, 0x00000000u, 0x00040047u, 0x0000001fu, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000020u, | 40 | 0x00040047u, 0x0000001bu, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001cu, 0x00000002u, 0x00040048u, |
| 41 | 0x00000002u, 0x00050048u, 0x00000020u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x00000021u, | 41 | 0x0000001cu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001cu, 0x00000000u, 0x00000023u, 0x00000000u, |
| 42 | 0x00000006u, 0x00000004u, 0x00030047u, 0x00000022u, 0x00000002u, 0x00050048u, 0x00000022u, 0x00000000u, | 42 | 0x00040047u, 0x0000001du, 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001eu, 0x00000002u, 0x00040048u, |
| 43 | 0x00000023u, 0x00000000u, 0x00040047u, 0x00000023u, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000024u, | 43 | 0x0000001eu, 0x00000000u, 0x00000018u, 0x00050048u, 0x0000001eu, 0x00000000u, 0x00000023u, 0x00000000u, |
| 44 | 0x00000002u, 0x00050048u, 0x00000024u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x0000005au, | 44 | 0x00040047u, 0x0000001fu, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000020u, 0x00000002u, 0x00050048u, |
| 45 | 0x0000000bu, 0x0000001cu, 0x00040047u, 0x00000227u, 0x0000000bu, 0x00000019u, 0x00020013u, 0x00000002u, | 45 | 0x00000020u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x00000021u, 0x00000006u, 0x00000004u, |
| 46 | 0x00030021u, 0x00000003u, 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, 0x00040020u, | 46 | 0x00030047u, 0x00000022u, 0x00000002u, 0x00050048u, 0x00000022u, 0x00000000u, 0x00000023u, 0x00000000u, |
| 47 | 0x00000007u, 0x00000007u, 0x00000006u, 0x00020014u, 0x00000008u, 0x0004002bu, 0x00000006u, 0x0000000eu, | 47 | 0x00040047u, 0x00000023u, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000024u, 0x00000002u, 0x00050048u, |
| 48 | 0x00000000u, 0x00030029u, 0x00000008u, 0x00000012u, 0x00030027u, 0x00000015u, 0x000014e5u, 0x00030027u, | 48 | 0x00000024u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x0000005au, 0x0000000bu, 0x0000001cu, |
| 49 | 0x00000016u, 0x000014e5u, 0x00030027u, 0x00000017u, 0x000014e5u, 0x00030027u, 0x00000018u, 0x000014e5u, | 49 | 0x00040047u, 0x00000293u, 0x0000000bu, 0x00000019u, 0x00020013u, 0x00000002u, 0x00030021u, 0x00000003u, |
| 50 | 0x00030027u, 0x00000019u, 0x000014e5u, 0x000e001eu, 0x0000001au, 0x00000015u, 0x00000016u, 0x00000017u, | 50 | 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, 0x00040020u, 0x00000007u, 0x00000007u, |
| 51 | 0x00000018u, 0x00000019u, 0x00000019u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, | 51 | 0x00000006u, 0x00020014u, 0x00000008u, 0x0004002bu, 0x00000006u, 0x0000000eu, 0x00000000u, 0x00030029u, |
| 52 | 0x00000006u, 0x0003001du, 0x0000001bu, 0x00000006u, 0x0003001eu, 0x0000001cu, 0x0000001bu, 0x00040020u, | 52 | 0x00000008u, 0x00000012u, 0x00030027u, 0x00000015u, 0x000014e5u, 0x00030027u, 0x00000016u, 0x000014e5u, |
| 53 | 0x00000015u, 0x000014e5u, 0x0000001cu, 0x0003001du, 0x0000001du, 0x00000006u, 0x0003001eu, 0x0000001eu, | 53 | 0x00030027u, 0x00000017u, 0x000014e5u, 0x00030027u, 0x00000018u, 0x000014e5u, 0x00030027u, 0x00000019u, |
| 54 | 0x0000001du, 0x00040020u, 0x00000016u, 0x000014e5u, 0x0000001eu, 0x0003001du, 0x0000001fu, 0x00000006u, | 54 | 0x000014e5u, 0x0011001eu, 0x0000001au, 0x00000015u, 0x00000016u, 0x00000017u, 0x00000018u, 0x00000019u, |
| 55 | 0x0003001eu, 0x00000020u, 0x0000001fu, 0x00040020u, 0x00000017u, 0x000014e5u, 0x00000020u, 0x0003001du, | 55 | 0x00000019u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, 0x00000006u, |
| 56 | 0x00000021u, 0x00000006u, 0x0003001eu, 0x00000022u, 0x00000021u, 0x00040020u, 0x00000018u, 0x000014e5u, | 56 | 0x00000006u, 0x00000006u, 0x0003001du, 0x0000001bu, 0x00000006u, 0x0003001eu, 0x0000001cu, 0x0000001bu, |
| 57 | 0x00000022u, 0x0003001du, 0x00000023u, 0x00000006u, 0x0003001eu, 0x00000024u, 0x00000023u, 0x00040020u, | 57 | 0x00040020u, 0x00000015u, 0x000014e5u, 0x0000001cu, 0x0003001du, 0x0000001du, 0x00000006u, 0x0003001eu, |
| 58 | 0x00000019u, 0x000014e5u, 0x00000024u, 0x00040020u, 0x00000025u, 0x00000009u, 0x0000001au, 0x0004003bu, | 58 | 0x0000001eu, 0x0000001du, 0x00040020u, 0x00000016u, 0x000014e5u, 0x0000001eu, 0x0003001du, 0x0000001fu, |
| 59 | 0x00000025u, 0x00000026u, 0x00000009u, 0x00040015u, 0x00000027u, 0x00000020u, 0x00000001u, 0x0004002bu, | 59 | 0x00000006u, 0x0003001eu, 0x00000020u, 0x0000001fu, 0x00040020u, 0x00000017u, 0x000014e5u, 0x00000020u, |
| 60 | 0x00000027u, 0x00000028u, 0x00000005u, 0x00040020u, 0x00000029u, 0x00000009u, 0x00000019u, 0x0004002bu, | 60 | 0x0003001du, 0x00000021u, 0x00000006u, 0x0003001eu, 0x00000022u, 0x00000021u, 0x00040020u, 0x00000018u, |
| 61 | 0x00000027u, 0x0000002cu, 0x00000000u, 0x00040020u, 0x0000002du, 0x000014e5u, 0x00000006u, 0x0004002bu, | 61 | 0x000014e5u, 0x00000022u, 0x0003001du, 0x00000023u, 0x00000006u, 0x0003001eu, 0x00000024u, 0x00000023u, |
| 62 | 0x00000006u, 0x0000002fu, 0x00000001u, 0x0004002bu, 0x00000006u, 0x00000037u, 0x08000000u, 0x0003002au, | 62 | 0x00040020u, 0x00000019u, 0x000014e5u, 0x00000024u, 0x00040020u, 0x00000025u, 0x00000009u, 0x0000001au, |
| 63 | 0x00000008u, 0x00000041u, 0x00040017u, 0x00000058u, 0x00000006u, 0x00000003u, 0x00040020u, 0x00000059u, | 63 | 0x0004003bu, 0x00000025u, 0x00000026u, 0x00000009u, 0x00040015u, 0x00000027u, 0x00000020u, 0x00000001u, |
| 64 | 0x00000001u, 0x00000058u, 0x0004003bu, 0x00000059u, 0x0000005au, 0x00000001u, 0x00040020u, 0x0000005bu, | 64 | 0x0004002bu, 0x00000027u, 0x00000028u, 0x00000005u, 0x00040020u, 0x00000029u, 0x00000009u, 0x00000019u, |
| 65 | 0x00000001u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x0000005fu, 0x00000008u, 0x00040020u, 0x00000060u, | 65 | 0x0004002bu, 0x00000027u, 0x0000002cu, 0x00000000u, 0x00040020u, 0x0000002du, 0x000014e5u, 0x00000006u, |
| 66 | 0x00000009u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x00000068u, 0x00000009u, 0x0004002bu, 0x00000027u, | 66 | 0x0004002bu, 0x00000006u, 0x0000002fu, 0x00000001u, 0x0004002bu, 0x00000006u, 0x00000037u, 0x08000000u, |
| 67 | 0x0000006eu, 0x00000006u, 0x0004002bu, 0x00000006u, 0x00000078u, 0x00000004u, 0x0004002bu, 0x00000006u, | 67 | 0x0003002au, 0x00000008u, 0x00000041u, 0x00040017u, 0x00000058u, 0x00000006u, 0x00000003u, 0x00040020u, |
| 68 | 0x00000079u, 0x00000005u, 0x0004002bu, 0x00000006u, 0x0000007cu, 0x00000003u, 0x0004002bu, 0x00000027u, | 68 | 0x00000059u, 0x00000001u, 0x00000058u, 0x0004003bu, 0x00000059u, 0x0000005au, 0x00000001u, 0x00040020u, |
| 69 | 0x00000084u, 0x0000000bu, 0x0004002bu, 0x00000027u, 0x0000008au, 0x0000000au, 0x0004002bu, 0x00000027u, | 69 | 0x0000005bu, 0x00000001u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x0000005fu, 0x00000008u, 0x00040020u, |
| 70 | 0x00000091u, 0x00000001u, 0x00040020u, 0x00000092u, 0x00000009u, 0x00000016u, 0x0004002bu, 0x00000027u, | 70 | 0x00000060u, 0x00000009u, 0x00000006u, 0x0004002bu, 0x00000027u, 0x00000068u, 0x00000009u, 0x0004002bu, |
| 71 | 0x0000009eu, 0x00000003u, 0x00040020u, 0x0000009fu, 0x00000009u, 0x00000018u, 0x0004002bu, 0x00000027u, | 71 | 0x00000027u, 0x0000006eu, 0x00000006u, 0x0004002bu, 0x00000006u, 0x00000078u, 0x00000004u, 0x0004002bu, |
| 72 | 0x000000a9u, 0x00000004u, 0x0004002bu, 0x00000027u, 0x000000bcu, 0x00000002u, 0x00040020u, 0x000000bdu, | 72 | 0x00000006u, 0x00000079u, 0x00000005u, 0x0004002bu, 0x00000006u, 0x0000007cu, 0x00000003u, 0x0004002bu, |
| 73 | 0x00000009u, 0x00000017u, 0x0004002bu, 0x00000027u, 0x000000c9u, 0x00000007u, 0x00040020u, 0x000000dau, | 73 | 0x00000027u, 0x00000084u, 0x0000000bu, 0x0004002bu, 0x00000027u, 0x0000008au, 0x0000000au, 0x0004002bu, |
| 74 | 0x00000009u, 0x00000015u, 0x0004002bu, 0x00000006u, 0x000000e2u, 0xffffffffu, 0x0004001cu, 0x00000114u, | 74 | 0x00000027u, 0x00000091u, 0x00000001u, 0x00040020u, 0x00000092u, 0x00000009u, 0x00000016u, 0x0004002bu, |
| 75 | 0x00000006u, 0x00000079u, 0x00040020u, 0x00000115u, 0x00000007u, 0x00000114u, 0x0008002cu, 0x00000114u, | 75 | 0x00000027u, 0x0000009eu, 0x00000003u, 0x00040020u, 0x0000009fu, 0x00000009u, 0x00000018u, 0x0004002bu, |
| 76 | 0x00000117u, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0004002bu, 0x00000006u, | 76 | 0x00000027u, 0x000000a9u, 0x00000004u, 0x0004002bu, 0x00000027u, 0x000000bcu, 0x00000002u, 0x00040020u, |
| 77 | 0x0000012eu, 0x01000000u, 0x0004002bu, 0x00000006u, 0x00000132u, 0x04000000u, 0x0004002bu, 0x00000006u, | 77 | 0x000000bdu, 0x00000009u, 0x00000017u, 0x0004002bu, 0x00000027u, 0x000000c9u, 0x00000007u, 0x00040020u, |
| 78 | 0x0000014du, 0x00000002u, 0x0004002bu, 0x00000006u, 0x0000019au, 0x0000ffffu, 0x0004002bu, 0x00000006u, | 78 | 0x000000dau, 0x00000009u, 0x00000015u, 0x0004002bu, 0x00000006u, 0x000000e2u, 0xffffffffu, 0x0004001cu, |
| 79 | 0x000001ceu, 0x00100000u, 0x0004002bu, 0x00000006u, 0x000001e9u, 0x00000080u, 0x0004002bu, 0x00000006u, | 79 | 0x00000114u, 0x00000006u, 0x00000079u, 0x00040020u, 0x00000115u, 0x00000007u, 0x00000114u, 0x0008002cu, |
| 80 | 0x000001eau, 0x00000040u, 0x0006002cu, 0x00000058u, 0x00000227u, 0x000001eau, 0x0000002fu, 0x0000002fu, | 80 | 0x00000114u, 0x00000117u, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0000000eu, 0x0004002bu, |
| 81 | 0x00030001u, 0x00000008u, 0x000002acu, 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u, 0x00000003u, | 81 | 0x00000006u, 0x0000012eu, 0x00800000u, 0x0004002bu, 0x00000006u, 0x00000135u, 0x01000000u, 0x0004002bu, |
| 82 | 0x000200f8u, 0x00000005u, 0x0004003bu, 0x00000115u, 0x00000116u, 0x00000007u, 0x000300f7u, 0x00000228u, | 82 | 0x00000006u, 0x0000013au, 0x04000000u, 0x0004002bu, 0x00000006u, 0x00000155u, 0x00000002u, 0x0004002bu, |
| 83 | 0x00000000u, 0x000300fbu, 0x0000000eu, 0x00000229u, 0x000200f8u, 0x00000229u, 0x00050041u, 0x0000005bu, | 83 | 0x00000006u, 0x000001a8u, 0x0000ffffu, 0x0006002cu, 0x00000058u, 0x000001a9u, 0x000001a8u, 0x0000002fu, |
| 84 | 0x0000005cu, 0x0000005au, 0x0000000eu, 0x0004003du, 0x00000006u, 0x0000005du, 0x0000005cu, 0x00050041u, | 84 | 0x0000002fu, 0x0004002bu, 0x00000027u, 0x000001abu, 0x0000000cu, 0x0004002bu, 0x00000027u, 0x000001aeu, |
| 85 | 0x00000060u, 0x00000061u, 0x00000026u, 0x0000005fu, 0x0004003du, 0x00000006u, 0x00000062u, 0x00000061u, | 85 | 0x0000000du, 0x0004002bu, 0x00000027u, 0x000001b1u, 0x0000000eu, 0x0006002cu, 0x00000058u, 0x000001b5u, |
| 86 | 0x000500aeu, 0x00000008u, 0x00000063u, 0x0000005du, 0x00000062u, 0x000300f7u, 0x00000065u, 0x00000000u, | 86 | 0x0000002fu, 0x0000002fu, 0x0000002fu, 0x0004002bu, 0x00000006u, 0x00000209u, 0x00100000u, 0x0004002bu, |
| 87 | 0x000400fau, 0x00000063u, 0x00000064u, 0x00000065u, 0x000200f8u, 0x00000064u, 0x000200f9u, 0x00000228u, | 87 | 0x00000027u, 0x00000227u, 0x0000000fu, 0x0004002bu, 0x00000006u, 0x00000255u, 0x00000080u, 0x0004002bu, |
| 88 | 0x000200f8u, 0x00000065u, 0x00050041u, 0x00000060u, 0x00000069u, 0x00000026u, 0x00000068u, 0x0004003du, | 88 | 0x00000006u, 0x00000256u, 0x00000040u, 0x0006002cu, 0x00000058u, 0x00000293u, 0x00000256u, 0x0000002fu, |
| 89 | 0x00000006u, 0x0000006au, 0x00000069u, 0x00050080u, 0x00000006u, 0x0000006cu, 0x0000006au, 0x0000005du, | 89 | 0x0000002fu, 0x00030001u, 0x00000008u, 0x0000034bu, 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u, |
| 90 | 0x00050041u, 0x00000060u, 0x0000006fu, 0x00000026u, 0x0000006eu, 0x0004003du, 0x00000006u, 0x00000070u, | 90 | 0x00000003u, 0x000200f8u, 0x00000005u, 0x0004003bu, 0x00000115u, 0x00000116u, 0x00000007u, 0x000300f7u, |
| 91 | 0x0000006fu, 0x000500b2u, 0x00000008u, 0x00000071u, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x00000074u, | 91 | 0x00000294u, 0x00000000u, 0x000300fbu, 0x0000000eu, 0x00000295u, 0x000200f8u, 0x00000295u, 0x00050041u, |
| 92 | 0x00000000u, 0x000400fau, 0x00000071u, 0x00000073u, 0x0000007bu, 0x000200f8u, 0x00000073u, 0x000500aau, | 92 | 0x0000005bu, 0x0000005cu, 0x0000005au, 0x0000000eu, 0x0004003du, 0x00000006u, 0x0000005du, 0x0000005cu, |
| 93 | 0x00000008u, 0x00000077u, 0x00000070u, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x0000007au, 0x00000077u, | 93 | 0x00050041u, 0x00000060u, 0x00000061u, 0x00000026u, 0x0000005fu, 0x0004003du, 0x00000006u, 0x00000062u, |
| 94 | 0x00000078u, 0x00000079u, 0x000200f9u, 0x00000074u, 0x000200f8u, 0x0000007bu, 0x000200f9u, 0x00000074u, | 94 | 0x00000061u, 0x000500aeu, 0x00000008u, 0x00000063u, 0x0000005du, 0x00000062u, 0x000300f7u, 0x00000065u, |
| 95 | 0x000200f8u, 0x00000074u, 0x000700f5u, 0x00000006u, 0x00000264u, 0x0000007au, 0x00000073u, 0x0000007cu, | 95 | 0x00000000u, 0x000400fau, 0x00000063u, 0x00000064u, 0x00000065u, 0x000200f8u, 0x00000064u, 0x000200f9u, |
| 96 | 0x0000007bu, 0x00050084u, 0x00000006u, 0x00000081u, 0x0000005du, 0x00000264u, 0x00050041u, 0x00000060u, | 96 | 0x00000294u, 0x000200f8u, 0x00000065u, 0x00050041u, 0x00000060u, 0x00000069u, 0x00000026u, 0x00000068u, |
| 97 | 0x00000085u, 0x00000026u, 0x00000084u, 0x0004003du, 0x00000006u, 0x00000086u, 0x00000085u, 0x000500c7u, | 97 | 0x0004003du, 0x00000006u, 0x0000006au, 0x00000069u, 0x00050080u, 0x00000006u, 0x0000006cu, 0x0000006au, |
| 98 | 0x00000006u, 0x00000087u, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x00000088u, 0x00000087u, | 98 | 0x0000005du, 0x00050041u, 0x00000060u, 0x0000006fu, 0x00000026u, 0x0000006eu, 0x0004003du, 0x00000006u, |
| 99 | 0x0000000eu, 0x00050041u, 0x00000060u, 0x0000008bu, 0x00000026u, 0x0000008au, 0x0004003du, 0x00000006u, | 99 | 0x00000070u, 0x0000006fu, 0x000500b2u, 0x00000008u, 0x00000071u, 0x00000070u, 0x0000002fu, 0x000300f7u, |
| 100 | 0x0000008cu, 0x0000008bu, 0x000300f7u, 0x0000008fu, 0x00000000u, 0x000400fau, 0x00000088u, 0x0000008eu, | 100 | 0x00000074u, 0x00000000u, 0x000400fau, 0x00000071u, 0x00000073u, 0x0000007bu, 0x000200f8u, 0x00000073u, |
| 101 | 0x0000008fu, 0x000200f8u, 0x0000008eu, 0x00050041u, 0x00000092u, 0x00000093u, 0x00000026u, 0x00000091u, | 101 | 0x000500aau, 0x00000008u, 0x00000077u, 0x00000070u, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x0000007au, |
| 102 | 0x0004003du, 0x00000016u, 0x00000094u, 0x00000093u, 0x00060041u, 0x0000002du, 0x00000095u, 0x00000094u, | 102 | 0x00000077u, 0x00000078u, 0x00000079u, 0x000200f9u, 0x00000074u, 0x000200f8u, 0x0000007bu, 0x000200f9u, |
| 103 | 0x0000002cu, 0x0000002cu, 0x0006003du, 0x00000006u, 0x00000096u, 0x00000095u, 0x00000002u, 0x00000004u, | 103 | 0x00000074u, 0x000200f8u, 0x00000074u, 0x000700f5u, 0x00000006u, 0x000002d0u, 0x0000007au, 0x00000073u, |
| 104 | 0x0007000cu, 0x00000006u, 0x00000099u, 0x00000001u, 0x00000026u, 0x0000008cu, 0x00000096u, 0x000500aau, | 104 | 0x0000007cu, 0x0000007bu, 0x00050084u, 0x00000006u, 0x00000081u, 0x0000005du, 0x000002d0u, 0x00050041u, |
| 105 | 0x00000008u, 0x0000009bu, 0x0000006cu, 0x0000000eu, 0x000300f7u, 0x0000009du, 0x00000000u, 0x000400fau, | 105 | 0x00000060u, 0x00000085u, 0x00000026u, 0x00000084u, 0x0004003du, 0x00000006u, 0x00000086u, 0x00000085u, |
| 106 | 0x0000009bu, 0x0000009cu, 0x0000009du, 0x000200f8u, 0x0000009cu, 0x00050041u, 0x0000009fu, 0x000000a0u, | 106 | 0x000500c7u, 0x00000006u, 0x00000087u, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x00000088u, |
| 107 | 0x00000026u, 0x0000009eu, 0x0004003du, 0x00000018u, 0x000000a1u, 0x000000a0u, 0x00060041u, 0x0000002du, | 107 | 0x00000087u, 0x0000000eu, 0x00050041u, 0x00000060u, 0x0000008bu, 0x00000026u, 0x0000008au, 0x0004003du, |
| 108 | 0x000000a3u, 0x000000a1u, 0x0000002cu, 0x0000002cu, 0x0005003eu, 0x000000a3u, 0x00000099u, 0x00000002u, | 108 | 0x00000006u, 0x0000008cu, 0x0000008bu, 0x000300f7u, 0x0000008fu, 0x00000000u, 0x000400fau, 0x00000088u, |
| 109 | 0x00000004u, 0x000500abu, 0x00000008u, 0x000000a6u, 0x00000096u, 0x00000099u, 0x000300f7u, 0x000000a8u, | 109 | 0x0000008eu, 0x0000008fu, 0x000200f8u, 0x0000008eu, 0x00050041u, 0x00000092u, 0x00000093u, 0x00000026u, |
| 110 | 0x00000000u, 0x000400fau, 0x000000a6u, 0x000000a7u, 0x000000a8u, 0x000200f8u, 0x000000a7u, 0x00050041u, | 110 | 0x00000091u, 0x0004003du, 0x00000016u, 0x00000094u, 0x00000093u, 0x00060041u, 0x0000002du, 0x00000095u, |
| 111 | 0x00000029u, 0x000000aau, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x000000abu, 0x000000aau, | 111 | 0x00000094u, 0x0000002cu, 0x0000002cu, 0x0006003du, 0x00000006u, 0x00000096u, 0x00000095u, 0x00000002u, |
| 112 | 0x00060041u, 0x0000002du, 0x000000acu, 0x000000abu, 0x0000002cu, 0x00000091u, 0x000700eau, 0x00000006u, | 112 | 0x00000004u, 0x0007000cu, 0x00000006u, 0x00000099u, 0x00000001u, 0x00000026u, 0x0000008cu, 0x00000096u, |
| 113 | 0x000000adu, 0x000000acu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x000000a8u, 0x000200f8u, | 113 | 0x000500aau, 0x00000008u, 0x0000009bu, 0x0000006cu, 0x0000000eu, 0x000300f7u, 0x0000009du, 0x00000000u, |
| 114 | 0x000000a8u, 0x000200f9u, 0x0000009du, 0x000200f8u, 0x0000009du, 0x000200f9u, 0x0000008fu, 0x000200f8u, | 114 | 0x000400fau, 0x0000009bu, 0x0000009cu, 0x0000009du, 0x000200f8u, 0x0000009cu, 0x00050041u, 0x0000009fu, |
| 115 | 0x0000008fu, 0x000700f5u, 0x00000006u, 0x0000026au, 0x0000008cu, 0x00000074u, 0x00000099u, 0x0000009du, | 115 | 0x000000a0u, 0x00000026u, 0x0000009eu, 0x0004003du, 0x00000018u, 0x000000a1u, 0x000000a0u, 0x00060041u, |
| 116 | 0x000500aeu, 0x00000008u, 0x000000b0u, 0x0000006cu, 0x0000026au, 0x000300f7u, 0x000000b2u, 0x00000000u, | 116 | 0x0000002du, 0x000000a3u, 0x000000a1u, 0x0000002cu, 0x0000002cu, 0x0005003eu, 0x000000a3u, 0x00000099u, |
| 117 | 0x000400fau, 0x000000b0u, 0x000000b1u, 0x000000b2u, 0x000200f8u, 0x000000b1u, 0x000200f9u, 0x000000b4u, | 117 | 0x00000002u, 0x00000004u, 0x000500abu, 0x00000008u, 0x000000a6u, 0x00000096u, 0x00000099u, 0x000300f7u, |
| 118 | 0x000200f8u, 0x000000b4u, 0x000700f5u, 0x00000006u, 0x000002ecu, 0x0000000eu, 0x000000b1u, 0x000000c5u, | 118 | 0x000000a8u, 0x00000000u, 0x000400fau, 0x000000a6u, 0x000000a7u, 0x000000a8u, 0x000200f8u, 0x000000a7u, |
| 119 | 0x000000b5u, 0x000500b0u, 0x00000008u, 0x000000bbu, 0x000002ecu, 0x00000264u, 0x000400f6u, 0x000000b6u, | 119 | 0x00050041u, 0x00000029u, 0x000000aau, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x000000abu, |
| 120 | 0x000000b5u, 0x00000000u, 0x000400fau, 0x000000bbu, 0x000000b5u, 0x000000b6u, 0x000200f8u, 0x000000b5u, | 120 | 0x000000aau, 0x00060041u, 0x0000002du, 0x000000acu, 0x000000abu, 0x0000002cu, 0x00000091u, 0x000700eau, |
| 121 | 0x00050041u, 0x000000bdu, 0x000000beu, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x000000bfu, | 121 | 0x00000006u, 0x000000adu, 0x000000acu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x000000a8u, |
| 122 | 0x000000beu, 0x00050080u, 0x00000006u, 0x000000c2u, 0x00000081u, 0x000002ecu, 0x00060041u, 0x0000002du, | 122 | 0x000200f8u, 0x000000a8u, 0x000200f9u, 0x0000009du, 0x000200f8u, 0x0000009du, 0x000200f9u, 0x0000008fu, |
| 123 | 0x000000c3u, 0x000000bfu, 0x0000002cu, 0x000000c2u, 0x0005003eu, 0x000000c3u, 0x0000000eu, 0x00000002u, | 123 | 0x000200f8u, 0x0000008fu, 0x000700f5u, 0x00000006u, 0x000002d6u, 0x0000008cu, 0x00000074u, 0x00000099u, |
| 124 | 0x00000004u, 0x00050080u, 0x00000006u, 0x000000c5u, 0x000002ecu, 0x00000091u, 0x000200f9u, 0x000000b4u, | 124 | 0x0000009du, 0x000500aeu, 0x00000008u, 0x000000b0u, 0x0000006cu, 0x000002d6u, 0x000300f7u, 0x000000b2u, |
| 125 | 0x000200f8u, 0x000000b6u, 0x000200f9u, 0x00000228u, 0x000200f8u, 0x000000b2u, 0x00050041u, 0x00000060u, | 125 | 0x00000000u, 0x000400fau, 0x000000b0u, 0x000000b1u, 0x000000b2u, 0x000200f8u, 0x000000b1u, 0x000200f9u, |
| 126 | 0x000000cau, 0x00000026u, 0x000000c9u, 0x0004003du, 0x00000006u, 0x000000cbu, 0x000000cau, 0x00050084u, | 126 | 0x000000b4u, 0x000200f8u, 0x000000b4u, 0x000700f5u, 0x00000006u, 0x000003a2u, 0x0000000eu, 0x000000b1u, |
| 127 | 0x00000006u, 0x000000ccu, 0x0000005du, 0x000000cbu, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000cfu, | 127 | 0x000000c5u, 0x000000b5u, 0x000500b0u, 0x00000008u, 0x000000bbu, 0x000003a2u, 0x000002d0u, 0x000400f6u, |
| 128 | 0x000700f5u, 0x00000008u, 0x00000275u, 0x00000012u, 0x000000b2u, 0x000000e4u, 0x000000d2u, 0x000700f5u, | 128 | 0x000000b6u, 0x000000b5u, 0x00000000u, 0x000400fau, 0x000000bbu, 0x000000b5u, 0x000000b6u, 0x000200f8u, |
| 129 | 0x00000006u, 0x00000270u, 0x0000000eu, 0x000000b2u, 0x000000e6u, 0x000000d2u, 0x000500b0u, 0x00000008u, | 129 | 0x000000b5u, 0x00050041u, 0x000000bdu, 0x000000beu, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, |
| 130 | 0x000000d6u, 0x00000270u, 0x00000264u, 0x000400f6u, 0x000000d1u, 0x000000d2u, 0x00000000u, 0x000400fau, | 130 | 0x000000bfu, 0x000000beu, 0x00050080u, 0x00000006u, 0x000000c2u, 0x00000081u, 0x000003a2u, 0x00060041u, |
| 131 | 0x000000d6u, 0x000000d0u, 0x000000d1u, 0x000200f8u, 0x000000d0u, 0x000300f7u, 0x000000d9u, 0x00000000u, | 131 | 0x0000002du, 0x000000c3u, 0x000000bfu, 0x0000002cu, 0x000000c2u, 0x0005003eu, 0x000000c3u, 0x0000000eu, |
| 132 | 0x000400fau, 0x00000275u, 0x000000d8u, 0x000000d9u, 0x000200f8u, 0x000000d8u, 0x00050041u, 0x000000dau, | 132 | 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x000000c5u, 0x000003a2u, 0x00000091u, 0x000200f9u, |
| 133 | 0x000000dbu, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000dcu, 0x000000dbu, 0x00050080u, | 133 | 0x000000b4u, 0x000200f8u, 0x000000b6u, 0x000200f9u, 0x00000294u, 0x000200f8u, 0x000000b2u, 0x00050041u, |
| 134 | 0x00000006u, 0x000000dfu, 0x000000ccu, 0x00000270u, 0x00060041u, 0x0000002du, 0x000000e0u, 0x000000dcu, | 134 | 0x00000060u, 0x000000cau, 0x00000026u, 0x000000c9u, 0x0004003du, 0x00000006u, 0x000000cbu, 0x000000cau, |
| 135 | 0x0000002cu, 0x000000dfu, 0x0006003du, 0x00000006u, 0x000000e1u, 0x000000e0u, 0x00000002u, 0x00000004u, | 135 | 0x00050084u, 0x00000006u, 0x000000ccu, 0x0000005du, 0x000000cbu, 0x000200f9u, 0x000000cfu, 0x000200f8u, |
| 136 | 0x000500aau, 0x00000008u, 0x000000e3u, 0x000000e1u, 0x000000e2u, 0x000200f9u, 0x000000d9u, 0x000200f8u, | 136 | 0x000000cfu, 0x000700f5u, 0x00000008u, 0x000002e1u, 0x00000012u, 0x000000b2u, 0x000000e4u, 0x000000d2u, |
| 137 | 0x000000d9u, 0x000700f5u, 0x00000008u, 0x000000e4u, 0x00000275u, 0x000000d0u, 0x000000e3u, 0x000000d8u, | 137 | 0x000700f5u, 0x00000006u, 0x000002dcu, 0x0000000eu, 0x000000b2u, 0x000000e6u, 0x000000d2u, 0x000500b0u, |
| 138 | 0x000200f9u, 0x000000d2u, 0x000200f8u, 0x000000d2u, 0x00050080u, 0x00000006u, 0x000000e6u, 0x00000270u, | 138 | 0x00000008u, 0x000000d6u, 0x000002dcu, 0x000002d0u, 0x000400f6u, 0x000000d1u, 0x000000d2u, 0x00000000u, |
| 139 | 0x00000091u, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000d1u, 0x000400a8u, 0x00000008u, 0x000000e8u, | 139 | 0x000400fau, 0x000000d6u, 0x000000d0u, 0x000000d1u, 0x000200f8u, 0x000000d0u, 0x000300f7u, 0x000000d9u, |
| 140 | 0x00000275u, 0x000300f7u, 0x000000eau, 0x00000000u, 0x000400fau, 0x000000e8u, 0x000000e9u, 0x000000eau, | 140 | 0x00000000u, 0x000400fau, 0x000002e1u, 0x000000d8u, 0x000000d9u, 0x000200f8u, 0x000000d8u, 0x00050041u, |
| 141 | 0x000200f8u, 0x000000e9u, 0x000500aau, 0x00000008u, 0x000000edu, 0x00000070u, 0x0000007cu, 0x000300f7u, | 141 | 0x000000dau, 0x000000dbu, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000dcu, 0x000000dbu, |
| 142 | 0x000000efu, 0x00000000u, 0x000400fau, 0x000000edu, 0x000000eeu, 0x000000efu, 0x000200f8u, 0x000000eeu, | 142 | 0x00050080u, 0x00000006u, 0x000000dfu, 0x000000ccu, 0x000002dcu, 0x00060041u, 0x0000002du, 0x000000e0u, |
| 143 | 0x00050041u, 0x000000dau, 0x000000f0u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000f1u, | 143 | 0x000000dcu, 0x0000002cu, 0x000000dfu, 0x0006003du, 0x00000006u, 0x000000e1u, 0x000000e0u, 0x00000002u, |
| 144 | 0x000000f0u, 0x00060041u, 0x0000002du, 0x000000f3u, 0x000000f1u, 0x0000002cu, 0x000000ccu, 0x0006003du, | 144 | 0x00000004u, 0x000500aau, 0x00000008u, 0x000000e3u, 0x000000e1u, 0x000000e2u, 0x000200f9u, 0x000000d9u, |
| 145 | 0x00000006u, 0x000000f4u, 0x000000f3u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x000000f5u, | 145 | 0x000200f8u, 0x000000d9u, 0x000700f5u, 0x00000008u, 0x000000e4u, 0x000002e1u, 0x000000d0u, 0x000000e3u, |
| 146 | 0x000000f4u, 0x000000e2u, 0x000200f9u, 0x000000efu, 0x000200f8u, 0x000000efu, 0x000700f5u, 0x00000008u, | 146 | 0x000000d8u, 0x000200f9u, 0x000000d2u, 0x000200f8u, 0x000000d2u, 0x00050080u, 0x00000006u, 0x000000e6u, |
| 147 | 0x000000f6u, 0x000000edu, 0x000000e9u, 0x000000f5u, 0x000000eeu, 0x000200f9u, 0x000000eau, 0x000200f8u, | 147 | 0x000002dcu, 0x00000091u, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000d1u, 0x000400a8u, 0x00000008u, |
| 148 | 0x000000eau, 0x000700f5u, 0x00000008u, 0x000000f7u, 0x00000275u, 0x000000d1u, 0x000000f6u, 0x000000efu, | 148 | 0x000000e8u, 0x000002e1u, 0x000300f7u, 0x000000eau, 0x00000000u, 0x000400fau, 0x000000e8u, 0x000000e9u, |
| 149 | 0x000300f7u, 0x000000f9u, 0x00000000u, 0x000400fau, 0x000000f7u, 0x000000f8u, 0x000000f9u, 0x000200f8u, | 149 | 0x000000eau, 0x000200f8u, 0x000000e9u, 0x000500aau, 0x00000008u, 0x000000edu, 0x00000070u, 0x0000007cu, |
| 150 | 0x000000f8u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fbu, 0x000700f5u, 0x00000006u, 0x000002e8u, | 150 | 0x000300f7u, 0x000000efu, 0x00000000u, 0x000400fau, 0x000000edu, 0x000000eeu, 0x000000efu, 0x000200f8u, |
| 151 | 0x0000000eu, 0x000000f8u, 0x0000010au, 0x000000fcu, 0x000500b0u, 0x00000008u, 0x00000102u, 0x000002e8u, | 151 | 0x000000eeu, 0x00050041u, 0x000000dau, 0x000000f0u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, |
| 152 | 0x00000264u, 0x000400f6u, 0x000000fdu, 0x000000fcu, 0x00000000u, 0x000400fau, 0x00000102u, 0x000000fcu, | 152 | 0x000000f1u, 0x000000f0u, 0x00060041u, 0x0000002du, 0x000000f3u, 0x000000f1u, 0x0000002cu, 0x000000ccu, |
| 153 | 0x000000fdu, 0x000200f8u, 0x000000fcu, 0x00050041u, 0x000000bdu, 0x00000103u, 0x00000026u, 0x000000bcu, | 153 | 0x0006003du, 0x00000006u, 0x000000f4u, 0x000000f3u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, |
| 154 | 0x0004003du, 0x00000017u, 0x00000104u, 0x00000103u, 0x00050080u, 0x00000006u, 0x00000107u, 0x00000081u, | 154 | 0x000000f5u, 0x000000f4u, 0x000000e2u, 0x000200f9u, 0x000000efu, 0x000200f8u, 0x000000efu, 0x000700f5u, |
| 155 | 0x000002e8u, 0x00060041u, 0x0000002du, 0x00000108u, 0x00000104u, 0x0000002cu, 0x00000107u, 0x0005003eu, | 155 | 0x00000008u, 0x000000f6u, 0x000000edu, 0x000000e9u, 0x000000f5u, 0x000000eeu, 0x000200f9u, 0x000000eau, |
| 156 | 0x00000108u, 0x0000000eu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000010au, 0x000002e8u, | 156 | 0x000200f8u, 0x000000eau, 0x000700f5u, 0x00000008u, 0x000000f7u, 0x000002e1u, 0x000000d1u, 0x000000f6u, |
| 157 | 0x00000091u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fdu, 0x00050041u, 0x00000029u, 0x0000010bu, | 157 | 0x000000efu, 0x000300f7u, 0x000000f9u, 0x00000000u, 0x000400fau, 0x000000f7u, 0x000000f8u, 0x000000f9u, |
| 158 | 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x0000010cu, 0x0000010bu, 0x00060041u, 0x0000002du, | 158 | 0x000200f8u, 0x000000f8u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fbu, 0x000700f5u, 0x00000006u, |
| 159 | 0x0000010du, 0x0000010cu, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000010eu, 0x0000010du, | 159 | 0x0000039eu, 0x0000000eu, 0x000000f8u, 0x0000010au, 0x000000fcu, 0x000500b0u, 0x00000008u, 0x00000102u, |
| 160 | 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000111u, 0x0000010cu, 0x0000002cu, | 160 | 0x0000039eu, 0x000002d0u, 0x000400f6u, 0x000000fdu, 0x000000fcu, 0x00000000u, 0x000400fau, 0x00000102u, |
| 161 | 0x0000009eu, 0x000700eau, 0x00000006u, 0x00000112u, 0x00000111u, 0x0000002fu, 0x0000000eu, 0x0000002fu, | 161 | 0x000000fcu, 0x000000fdu, 0x000200f8u, 0x000000fcu, 0x00050041u, 0x000000bdu, 0x00000103u, 0x00000026u, |
| 162 | 0x000200f9u, 0x00000228u, 0x000200f8u, 0x000000f9u, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000300f7u, | 162 | 0x000000bcu, 0x0004003du, 0x00000017u, 0x00000104u, 0x00000103u, 0x00050080u, 0x00000006u, 0x00000107u, |
| 163 | 0x0000011eu, 0x00000000u, 0x000400fau, 0x00000071u, 0x0000011du, 0x00000165u, 0x000200f8u, 0x0000011du, | 163 | 0x00000081u, 0x0000039eu, 0x00060041u, 0x0000002du, 0x00000108u, 0x00000104u, 0x0000002cu, 0x00000107u, |
| 164 | 0x00050041u, 0x000000dau, 0x00000120u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000121u, | 164 | 0x0005003eu, 0x00000108u, 0x0000000eu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000010au, |
| 165 | 0x00000120u, 0x00060041u, 0x0000002du, 0x00000123u, 0x00000121u, 0x0000002cu, 0x000000ccu, 0x0006003du, | 165 | 0x0000039eu, 0x00000091u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fdu, 0x00050041u, 0x00000029u, |
| 166 | 0x00000006u, 0x00000124u, 0x00000123u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000129u, | 166 | 0x0000010bu, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x0000010cu, 0x0000010bu, 0x00060041u, |
| 167 | 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x0000012au, 0x00000121u, 0x0000002cu, 0x00000129u, | 167 | 0x0000002du, 0x0000010du, 0x0000010cu, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000010eu, |
| 168 | 0x0006003du, 0x00000006u, 0x0000012bu, 0x0000012au, 0x00000002u, 0x00000004u, 0x0007000cu, 0x00000006u, | 168 | 0x0000010du, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000111u, 0x0000010cu, |
| 169 | 0x0000012fu, 0x00000001u, 0x00000026u, 0x00000124u, 0x0000012eu, 0x0007000cu, 0x00000006u, 0x00000134u, | 169 | 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, 0x00000112u, 0x00000111u, 0x0000002fu, 0x0000000eu, |
| 170 | 0x00000001u, 0x00000029u, 0x0000012fu, 0x0000002fu, 0x00050086u, 0x00000006u, 0x00000135u, 0x00000132u, | 170 | 0x0000002fu, 0x000200f9u, 0x00000294u, 0x000200f8u, 0x000000f9u, 0x0003003eu, 0x00000116u, 0x00000117u, |
| 171 | 0x00000134u, 0x0007000cu, 0x00000006u, 0x00000136u, 0x00000001u, 0x00000026u, 0x0000012bu, 0x00000135u, | 171 | 0x000300f7u, 0x0000011eu, 0x00000000u, 0x000400fau, 0x00000071u, 0x0000011du, 0x0000016du, 0x000200f8u, |
| 172 | 0x000500aau, 0x00000008u, 0x00000138u, 0x0000012fu, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x000002f3u, | 172 | 0x0000011du, 0x00050041u, 0x000000dau, 0x00000120u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, |
| 173 | 0x00000138u, 0x0000000eu, 0x00000136u, 0x000500abu, 0x00000008u, 0x0000013du, 0x0000012fu, 0x00000124u, | 173 | 0x00000121u, 0x00000120u, 0x00060041u, 0x0000002du, 0x00000123u, 0x00000121u, 0x0000002cu, 0x000000ccu, |
| 174 | 0x000500abu, 0x00000008u, 0x00000140u, 0x000002f3u, 0x0000012bu, 0x000500a6u, 0x00000008u, 0x00000141u, | 174 | 0x0006003du, 0x00000006u, 0x00000124u, 0x00000123u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, |
| 175 | 0x0000013du, 0x00000140u, 0x000600a9u, 0x00000006u, 0x00000142u, 0x00000141u, 0x0000002fu, 0x0000000eu, | 175 | 0x00000129u, 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x0000012au, 0x00000121u, 0x0000002cu, |
| 176 | 0x00050084u, 0x00000006u, 0x00000145u, 0x0000012fu, 0x000002f3u, 0x00050041u, 0x00000007u, 0x00000147u, | 176 | 0x00000129u, 0x0006003du, 0x00000006u, 0x0000012bu, 0x0000012au, 0x00000002u, 0x00000004u, 0x000500aeu, |
| 177 | 0x00000116u, 0x0000002cu, 0x0003003eu, 0x00000147u, 0x0000012fu, 0x00050041u, 0x00000007u, 0x00000149u, | 177 | 0x00000008u, 0x0000012fu, 0x00000124u, 0x0000012eu, 0x000300f7u, 0x00000132u, 0x00000000u, 0x000400fau, |
| 178 | 0x00000116u, 0x00000091u, 0x0003003eu, 0x00000149u, 0x000002f3u, 0x00050080u, 0x00000006u, 0x0000014eu, | 178 | 0x0000012fu, 0x00000131u, 0x00000133u, 0x000200f8u, 0x00000131u, 0x000200f9u, 0x00000132u, 0x000200f8u, |
| 179 | 0x000000ccu, 0x0000014du, 0x00060041u, 0x0000002du, 0x0000014fu, 0x00000121u, 0x0000002cu, 0x0000014eu, | 179 | 0x00000133u, 0x0007000cu, 0x00000006u, 0x00000136u, 0x00000001u, 0x00000026u, 0x00000124u, 0x00000135u, |
| 180 | 0x0006003du, 0x00000006u, 0x00000150u, 0x0000014fu, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, | 180 | 0x000200f9u, 0x00000132u, 0x000200f8u, 0x00000132u, 0x000700f5u, 0x00000006u, 0x00000331u, 0x0000000eu, |
| 181 | 0x00000151u, 0x00000116u, 0x000000bcu, 0x0003003eu, 0x00000151u, 0x00000150u, 0x00050080u, 0x00000006u, | 181 | 0x00000131u, 0x00000136u, 0x00000133u, 0x0007000cu, 0x00000006u, 0x0000013cu, 0x00000001u, 0x00000029u, |
| 182 | 0x00000155u, 0x000000ccu, 0x0000007cu, 0x00060041u, 0x0000002du, 0x00000156u, 0x00000121u, 0x0000002cu, | 182 | 0x00000331u, 0x0000002fu, 0x00050086u, 0x00000006u, 0x0000013du, 0x0000013au, 0x0000013cu, 0x0007000cu, |
| 183 | 0x00000155u, 0x0006003du, 0x00000006u, 0x00000157u, 0x00000156u, 0x00000002u, 0x00000004u, 0x00050041u, | 183 | 0x00000006u, 0x0000013eu, 0x00000001u, 0x00000026u, 0x0000012bu, 0x0000013du, 0x000500aau, 0x00000008u, |
| 184 | 0x00000007u, 0x00000158u, 0x00000116u, 0x0000009eu, 0x0003003eu, 0x00000158u, 0x00000157u, 0x000500aau, | 184 | 0x00000140u, 0x00000331u, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x000003a9u, 0x00000140u, 0x0000000eu, |
| 185 | 0x00000008u, 0x0000015bu, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x0000015du, 0x00000000u, 0x000400fau, | 185 | 0x0000013eu, 0x000500abu, 0x00000008u, 0x00000145u, 0x00000331u, 0x00000124u, 0x000500abu, 0x00000008u, |
| 186 | 0x0000015bu, 0x0000015cu, 0x0000015du, 0x000200f8u, 0x0000015cu, 0x00050080u, 0x00000006u, 0x00000161u, | 186 | 0x00000148u, 0x000003a9u, 0x0000012bu, 0x000500a6u, 0x00000008u, 0x00000149u, 0x00000145u, 0x00000148u, |
| 187 | 0x000000ccu, 0x00000078u, 0x00060041u, 0x0000002du, 0x00000162u, 0x00000121u, 0x0000002cu, 0x00000161u, | 187 | 0x000600a9u, 0x00000006u, 0x0000014au, 0x00000149u, 0x0000002fu, 0x0000000eu, 0x00050084u, 0x00000006u, |
| 188 | 0x0006003du, 0x00000006u, 0x00000163u, 0x00000162u, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, | 188 | 0x0000014du, 0x00000331u, 0x000003a9u, 0x00050041u, 0x00000007u, 0x0000014fu, 0x00000116u, 0x0000002cu, |
| 189 | 0x00000164u, 0x00000116u, 0x000000a9u, 0x0003003eu, 0x00000164u, 0x00000163u, 0x000200f9u, 0x0000015du, | 189 | 0x0003003eu, 0x0000014fu, 0x00000331u, 0x00050041u, 0x00000007u, 0x00000151u, 0x00000116u, 0x00000091u, |
| 190 | 0x000200f8u, 0x0000015du, 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x00000165u, 0x00050041u, 0x000000dau, | 190 | 0x0003003eu, 0x00000151u, 0x000003a9u, 0x00050080u, 0x00000006u, 0x00000156u, 0x000000ccu, 0x00000155u, |
| 191 | 0x00000167u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000168u, 0x00000167u, 0x00060041u, | 191 | 0x00060041u, 0x0000002du, 0x00000157u, 0x00000121u, 0x0000002cu, 0x00000156u, 0x0006003du, 0x00000006u, |
| 192 | 0x0000002du, 0x0000016au, 0x00000168u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x0000016bu, | 192 | 0x00000158u, 0x00000157u, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 0x00000159u, 0x00000116u, |
| 193 | 0x0000016au, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000170u, 0x000000ccu, 0x0000002fu, | 193 | 0x000000bcu, 0x0003003eu, 0x00000159u, 0x00000158u, 0x00050080u, 0x00000006u, 0x0000015du, 0x000000ccu, |
| 194 | 0x00060041u, 0x0000002du, 0x00000171u, 0x00000168u, 0x0000002cu, 0x00000170u, 0x0006003du, 0x00000006u, | 194 | 0x0000007cu, 0x00060041u, 0x0000002du, 0x0000015eu, 0x00000121u, 0x0000002cu, 0x0000015du, 0x0006003du, |
| 195 | 0x00000172u, 0x00000171u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000177u, 0x000000ccu, | 195 | 0x00000006u, 0x0000015fu, 0x0000015eu, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 0x00000160u, |
| 196 | 0x0000014du, 0x00060041u, 0x0000002du, 0x00000178u, 0x00000168u, 0x0000002cu, 0x00000177u, 0x0006003du, | 196 | 0x00000116u, 0x0000009eu, 0x0003003eu, 0x00000160u, 0x0000015fu, 0x000500aau, 0x00000008u, 0x00000163u, |
| 197 | 0x00000006u, 0x00000179u, 0x00000178u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x0000017cu, | 197 | 0x00000070u, 0x0000002fu, 0x000300f7u, 0x00000165u, 0x00000000u, 0x000400fau, 0x00000163u, 0x00000164u, |
| 198 | 0x00000070u, 0x0000007cu, 0x000300f7u, 0x0000017eu, 0x00000000u, 0x000400fau, 0x0000017cu, 0x0000017du, | 198 | 0x00000165u, 0x000200f8u, 0x00000164u, 0x00050080u, 0x00000006u, 0x00000169u, 0x000000ccu, 0x00000078u, |
| 199 | 0x0000017eu, 0x000200f8u, 0x0000017du, 0x00050041u, 0x00000029u, 0x0000017fu, 0x00000026u, 0x000000a9u, | 199 | 0x00060041u, 0x0000002du, 0x0000016au, 0x00000121u, 0x0000002cu, 0x00000169u, 0x0006003du, 0x00000006u, |
| 200 | 0x0004003du, 0x00000019u, 0x00000180u, 0x0000017fu, 0x00060041u, 0x0000002du, 0x00000181u, 0x00000180u, | 200 | 0x0000016bu, 0x0000016au, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 0x0000016cu, 0x00000116u, |
| 201 | 0x0000002cu, 0x0000005fu, 0x000700eau, 0x00000006u, 0x00000182u, 0x00000181u, 0x0000002fu, 0x0000000eu, | 201 | 0x000000a9u, 0x0003003eu, 0x0000016cu, 0x0000016bu, 0x000200f9u, 0x00000165u, 0x000200f8u, 0x00000165u, |
| 202 | 0x0000002fu, 0x000500acu, 0x00000008u, 0x00000184u, 0x00000172u, 0x0000002fu, 0x000500acu, 0x00000008u, | 202 | 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x0000016du, 0x00050041u, 0x000000dau, 0x0000016fu, 0x00000026u, |
| 203 | 0x00000186u, 0x00000179u, 0x0000002fu, 0x000500a6u, 0x00000008u, 0x00000187u, 0x00000184u, 0x00000186u, | 203 | 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000170u, 0x0000016fu, 0x00060041u, 0x0000002du, 0x00000172u, |
| 204 | 0x000300f7u, 0x00000189u, 0x00000000u, 0x000400fau, 0x00000187u, 0x00000188u, 0x00000189u, 0x000200f8u, | 204 | 0x00000170u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x00000173u, 0x00000172u, 0x00000002u, |
| 205 | 0x00000188u, 0x00060041u, 0x0000002du, 0x0000018cu, 0x00000180u, 0x0000002cu, 0x00000068u, 0x000700eau, | 205 | 0x00000004u, 0x00050080u, 0x00000006u, 0x00000178u, 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du, |
| 206 | 0x00000006u, 0x0000018du, 0x0000018cu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, | 206 | 0x00000179u, 0x00000170u, 0x0000002cu, 0x00000178u, 0x0006003du, 0x00000006u, 0x0000017au, 0x00000179u, |
| 207 | 0x00000190u, 0x00000180u, 0x0000002cu, 0x0000008au, 0x000700efu, 0x00000006u, 0x00000192u, 0x00000190u, | 207 | 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000017fu, 0x000000ccu, 0x00000155u, 0x00060041u, |
| 208 | 0x0000002fu, 0x0000000eu, 0x00000172u, 0x00060041u, 0x0000002du, 0x00000195u, 0x00000180u, 0x0000002cu, | 208 | 0x0000002du, 0x00000180u, 0x00000170u, 0x0000002cu, 0x0000017fu, 0x0006003du, 0x00000006u, 0x00000181u, |
| 209 | 0x00000084u, 0x000700efu, 0x00000006u, 0x00000197u, 0x00000195u, 0x0000002fu, 0x0000000eu, 0x00000179u, | 209 | 0x00000180u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x00000184u, 0x00000070u, 0x0000007cu, |
| 210 | 0x000200f9u, 0x00000189u, 0x000200f8u, 0x00000189u, 0x000200f9u, 0x0000017eu, 0x000200f8u, 0x0000017eu, | 210 | 0x000300f7u, 0x00000186u, 0x00000000u, 0x000400fau, 0x00000184u, 0x00000185u, 0x00000186u, 0x000200f8u, |
| 211 | 0x0007000cu, 0x00000006u, 0x0000019bu, 0x00000001u, 0x00000026u, 0x0000016bu, 0x0000019au, 0x0007000cu, | 211 | 0x00000185u, 0x00050041u, 0x00000029u, 0x00000187u, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, |
| 212 | 0x00000006u, 0x0000019eu, 0x00000001u, 0x00000026u, 0x00000172u, 0x0000019au, 0x0007000cu, 0x00000006u, | 212 | 0x00000188u, 0x00000187u, 0x00060041u, 0x0000002du, 0x00000189u, 0x00000188u, 0x0000002cu, 0x0000005fu, |
| 213 | 0x000001a1u, 0x00000001u, 0x00000026u, 0x00000179u, 0x0000019au, 0x000600a9u, 0x00000006u, 0x000002f4u, | 213 | 0x000700eau, 0x00000006u, 0x0000018au, 0x00000189u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000500acu, |
| 214 | 0x0000017cu, 0x0000002fu, 0x000001a1u, 0x000600a9u, 0x00000006u, 0x000002f5u, 0x0000017cu, 0x0000002fu, | 214 | 0x00000008u, 0x0000018cu, 0x0000017au, 0x0000002fu, 0x000500acu, 0x00000008u, 0x0000018eu, 0x00000181u, |
| 215 | 0x0000019eu, 0x000500c2u, 0x00000006u, 0x000001aau, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, | 215 | 0x0000002fu, 0x000500a6u, 0x00000008u, 0x0000018fu, 0x0000018cu, 0x0000018eu, 0x000300f7u, 0x00000191u, |
| 216 | 0x000001acu, 0x000001aau, 0x0000000eu, 0x000500abu, 0x00000008u, 0x000001aeu, 0x0000019bu, 0x0000000eu, | 216 | 0x00000000u, 0x000400fau, 0x0000018fu, 0x00000190u, 0x00000191u, 0x000200f8u, 0x00000190u, 0x00060041u, |
| 217 | 0x000500a7u, 0x00000008u, 0x000001afu, 0x000001acu, 0x000001aeu, 0x000500abu, 0x00000008u, 0x000001b1u, | 217 | 0x0000002du, 0x00000194u, 0x00000188u, 0x0000002cu, 0x00000068u, 0x000700eau, 0x00000006u, 0x00000195u, |
| 218 | 0x000002f5u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001b2u, 0x000001afu, 0x000001b1u, 0x000500abu, | 218 | 0x00000194u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000198u, 0x00000188u, |
| 219 | 0x00000008u, 0x000001b4u, 0x000002f4u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001b5u, 0x000001b2u, | 219 | 0x0000002cu, 0x0000008au, 0x000700efu, 0x00000006u, 0x0000019au, 0x00000198u, 0x0000002fu, 0x0000000eu, |
| 220 | 0x000001b4u, 0x000300f7u, 0x000001b7u, 0x00000000u, 0x000400fau, 0x000001b5u, 0x000001b6u, 0x000001b7u, | 220 | 0x0000017au, 0x00060041u, 0x0000002du, 0x0000019du, 0x00000188u, 0x0000002cu, 0x00000084u, 0x000700efu, |
| 221 | 0x000200f8u, 0x000001b6u, 0x0007000cu, 0x00000006u, 0x000001bau, 0x00000001u, 0x00000026u, 0x0000019bu, | 221 | 0x00000006u, 0x0000019fu, 0x0000019du, 0x0000002fu, 0x0000000eu, 0x00000181u, 0x000200f9u, 0x00000191u, |
| 222 | 0x000001aau, 0x00050086u, 0x00000006u, 0x000001beu, 0x000001aau, 0x000001bau, 0x0007000cu, 0x00000006u, | 222 | 0x000200f8u, 0x00000191u, 0x000200f9u, 0x00000186u, 0x000200f8u, 0x00000186u, 0x000300f7u, 0x000001a7u, |
| 223 | 0x000001bfu, 0x00000001u, 0x00000026u, 0x000002f5u, 0x000001beu, 0x00050086u, 0x00000006u, 0x000001c5u, | 223 | 0x00000000u, 0x000400fau, 0x00000184u, 0x000001a6u, 0x000001aau, 0x000200f8u, 0x000001a6u, 0x000200f9u, |
| 224 | 0x000001beu, 0x000001bfu, 0x0007000cu, 0x00000006u, 0x000001c6u, 0x00000001u, 0x00000026u, 0x000002f4u, | 224 | 0x000001a7u, 0x000200f8u, 0x000001aau, 0x00050041u, 0x00000060u, 0x000001acu, 0x00000026u, 0x000001abu, |
| 225 | 0x000001c5u, 0x000200f9u, 0x000001b7u, 0x000200f8u, 0x000001b7u, 0x000700f5u, 0x00000006u, 0x00000284u, | 225 | 0x0004003du, 0x00000006u, 0x000001adu, 0x000001acu, 0x00050041u, 0x00000060u, 0x000001afu, 0x00000026u, |
| 226 | 0x000002f5u, 0x0000017eu, 0x000001bfu, 0x000001b6u, 0x000700f5u, 0x00000006u, 0x00000283u, 0x0000019bu, | 226 | 0x000001aeu, 0x0004003du, 0x00000006u, 0x000001b0u, 0x000001afu, 0x00050041u, 0x00000060u, 0x000001b2u, |
| 227 | 0x0000017eu, 0x000001bau, 0x000001b6u, 0x000700f5u, 0x00000006u, 0x00000282u, 0x000002f4u, 0x0000017eu, | 227 | 0x00000026u, 0x000001b1u, 0x0004003du, 0x00000006u, 0x000001b3u, 0x000001b2u, 0x00060050u, 0x00000058u, |
| 228 | 0x000001c6u, 0x000001b6u, 0x000500abu, 0x00000008u, 0x000001c8u, 0x00000282u, 0x0000000eu, 0x000300f7u, | 228 | 0x000001b4u, 0x000001adu, 0x000001b0u, 0x000001b3u, 0x0007000cu, 0x00000058u, 0x000001b6u, 0x00000001u, |
| 229 | 0x000001cau, 0x00000000u, 0x000400fau, 0x000001c8u, 0x000001c9u, 0x000001cau, 0x000200f8u, 0x000001c9u, | 229 | 0x00000029u, 0x000001b4u, 0x000001b5u, 0x000200f9u, 0x000001a7u, 0x000200f8u, 0x000001a7u, 0x000700f5u, |
| 230 | 0x00050084u, 0x00000006u, 0x000001cdu, 0x00000283u, 0x00000284u, 0x00050086u, 0x00000006u, 0x000001d0u, | 230 | 0x00000058u, 0x000002e5u, 0x000001a9u, 0x000001a6u, 0x000001b6u, 0x000001aau, 0x00050051u, 0x00000006u, |
| 231 | 0x000001ceu, 0x00000282u, 0x000500acu, 0x00000008u, 0x000001d1u, 0x000001cdu, 0x000001d0u, 0x000200f9u, | 231 | 0x000001bbu, 0x000002e5u, 0x00000000u, 0x0007000cu, 0x00000006u, 0x000001bcu, 0x00000001u, 0x00000026u, |
| 232 | 0x000001cau, 0x000200f8u, 0x000001cau, 0x000700f5u, 0x00000008u, 0x000001d2u, 0x000001c8u, 0x000001b7u, | 232 | 0x00000173u, 0x000001bbu, 0x00050051u, 0x00000006u, 0x000001c0u, 0x000002e5u, 0x00000001u, 0x0007000cu, |
| 233 | 0x000001d1u, 0x000001c9u, 0x000600a9u, 0x00000006u, 0x000002f6u, 0x000001d2u, 0x0000000eu, 0x00000282u, | 233 | 0x00000006u, 0x000001c1u, 0x00000001u, 0x00000026u, 0x0000017au, 0x000001c0u, 0x00050051u, 0x00000006u, |
| 234 | 0x000600a9u, 0x00000006u, 0x000002f7u, 0x000001d2u, 0x0000000eu, 0x00000284u, 0x000600a9u, 0x00000006u, | 234 | 0x000001c5u, 0x000002e5u, 0x00000002u, 0x0007000cu, 0x00000006u, 0x000001c6u, 0x00000001u, 0x00000026u, |
| 235 | 0x000002f8u, 0x000001d2u, 0x0000000eu, 0x00000283u, 0x000500abu, 0x00000008u, 0x000001d7u, 0x000002f8u, | 235 | 0x00000181u, 0x000001c5u, 0x000600a9u, 0x00000006u, 0x000003aau, 0x00000184u, 0x0000002fu, 0x000001c6u, |
| 236 | 0x0000016bu, 0x000500abu, 0x00000008u, 0x000001dau, 0x000002f7u, 0x00000172u, 0x000500a6u, 0x00000008u, | 236 | 0x000600a9u, 0x00000006u, 0x000003abu, 0x00000184u, 0x0000002fu, 0x000001c1u, 0x000500abu, 0x00000008u, |
| 237 | 0x000001dbu, 0x000001d7u, 0x000001dau, 0x000500abu, 0x00000008u, 0x000001deu, 0x000002f6u, 0x00000179u, | 237 | 0x000001cfu, 0x00000070u, 0x0000007cu, 0x000300f7u, 0x000001d1u, 0x00000000u, 0x000400fau, 0x000001cfu, |
| 238 | 0x000500a6u, 0x00000008u, 0x000001dfu, 0x000001dbu, 0x000001deu, 0x000600a9u, 0x00000006u, 0x000001e0u, | 238 | 0x000001d0u, 0x000001d1u, 0x000200f8u, 0x000001d0u, 0x000500abu, 0x00000008u, 0x000001d4u, 0x000001bcu, |
| 239 | 0x000001dfu, 0x0000002fu, 0x0000000eu, 0x00050084u, 0x00000006u, 0x000001e3u, 0x000002f8u, 0x000002f7u, | 239 | 0x00000173u, 0x000500abu, 0x00000008u, 0x000001d7u, 0x000003abu, 0x0000017au, 0x000500a6u, 0x00000008u, |
| 240 | 0x00050084u, 0x00000006u, 0x000001e5u, 0x000001e3u, 0x000002f6u, 0x000600a9u, 0x00000006u, 0x000001ebu, | 240 | 0x000001d8u, 0x000001d4u, 0x000001d7u, 0x000500abu, 0x00000008u, 0x000001dbu, 0x000003aau, 0x00000181u, |
| 241 | 0x0000017cu, 0x000001e9u, 0x000001eau, 0x00050084u, 0x00000006u, 0x000001ecu, 0x000001e5u, 0x000001ebu, | 241 | 0x000500a6u, 0x00000008u, 0x000001dcu, 0x000001d8u, 0x000001dbu, 0x000200f9u, 0x000001d1u, 0x000200f8u, |
| 242 | 0x00050041u, 0x00000007u, 0x000001eeu, 0x00000116u, 0x0000002cu, 0x0003003eu, 0x000001eeu, 0x000002f8u, | 242 | 0x000001d1u, 0x000700f5u, 0x00000008u, 0x000001ddu, 0x000001cfu, 0x000001a7u, 0x000001dcu, 0x000001d0u, |
| 243 | 0x00050041u, 0x00000007u, 0x000001f0u, 0x00000116u, 0x00000091u, 0x0003003eu, 0x000001f0u, 0x000002f7u, | 243 | 0x000500c2u, 0x00000006u, 0x000001e1u, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x000001e3u, |
| 244 | 0x00050041u, 0x00000007u, 0x000001f2u, 0x00000116u, 0x000000bcu, 0x0003003eu, 0x000001f2u, 0x000002f6u, | 244 | 0x000001e1u, 0x0000000eu, 0x000500abu, 0x00000008u, 0x000001e5u, 0x000001bcu, 0x0000000eu, 0x000500a7u, |
| 245 | 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x0000011eu, 0x000700f5u, 0x00000006u, 0x000002b8u, 0x00000142u, | 245 | 0x00000008u, 0x000001e6u, 0x000001e3u, 0x000001e5u, 0x000500abu, 0x00000008u, 0x000001e8u, 0x000003abu, |
| 246 | 0x0000015du, 0x000001e0u, 0x000001cau, 0x000700f5u, 0x00000006u, 0x0000029cu, 0x00000145u, 0x0000015du, | 246 | 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001e9u, 0x000001e6u, 0x000001e8u, 0x000500abu, 0x00000008u, |
| 247 | 0x000001ecu, 0x000001cau, 0x000500abu, 0x00000008u, 0x000001f4u, 0x0000029cu, 0x0000000eu, 0x000300f7u, | 247 | 0x000001ebu, 0x000003aau, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001ecu, 0x000001e9u, 0x000001ebu, |
| 248 | 0x000001f6u, 0x00000000u, 0x000400fau, 0x000001f4u, 0x000001f5u, 0x000001f6u, 0x000200f8u, 0x000001f5u, | 248 | 0x000300f7u, 0x000001eeu, 0x00000000u, 0x000400fau, 0x000001ecu, 0x000001edu, 0x000001eeu, 0x000200f8u, |
| 249 | 0x000300f7u, 0x00000262u, 0x00000000u, 0x000300fbu, 0x0000000eu, 0x0000023au, 0x000200f8u, 0x0000023au, | 249 | 0x000001edu, 0x0007000cu, 0x00000006u, 0x000001f1u, 0x00000001u, 0x00000026u, 0x000001bcu, 0x000001e1u, |
| 250 | 0x000500aau, 0x00000008u, 0x0000023cu, 0x0000029cu, 0x0000000eu, 0x000300f7u, 0x0000023eu, 0x00000000u, | 250 | 0x00050086u, 0x00000006u, 0x000001f5u, 0x000001e1u, 0x000001f1u, 0x0007000cu, 0x00000006u, 0x000001f6u, |
| 251 | 0x000400fau, 0x0000023cu, 0x0000023du, 0x0000023eu, 0x000200f8u, 0x0000023du, 0x000200f9u, 0x00000262u, | 251 | 0x00000001u, 0x00000026u, 0x000003abu, 0x000001f5u, 0x00050086u, 0x00000006u, 0x000001fcu, 0x000001f5u, |
| 252 | 0x000200f8u, 0x0000023eu, 0x00050041u, 0x00000029u, 0x0000023fu, 0x00000026u, 0x00000028u, 0x0004003du, | 252 | 0x000001f6u, 0x0007000cu, 0x00000006u, 0x000001fdu, 0x00000001u, 0x00000026u, 0x000003aau, 0x000001fcu, |
| 253 | 0x00000019u, 0x00000240u, 0x0000023fu, 0x00060041u, 0x0000002du, 0x00000241u, 0x00000240u, 0x0000002cu, | 253 | 0x000200f9u, 0x000001eeu, 0x000200f8u, 0x000001eeu, 0x000700f5u, 0x00000006u, 0x000002fau, 0x000003aau, |
| 254 | 0x0000002cu, 0x000700eau, 0x00000006u, 0x00000242u, 0x00000241u, 0x0000002fu, 0x0000000eu, 0x0000000eu, | 254 | 0x000001d1u, 0x000001fdu, 0x000001edu, 0x000700f5u, 0x00000006u, 0x000002f9u, 0x000003abu, 0x000001d1u, |
| 255 | 0x000200f9u, 0x00000243u, 0x000200f8u, 0x00000243u, 0x000700f5u, 0x00000006u, 0x0000029eu, 0x00000242u, | 255 | 0x000001f6u, 0x000001edu, 0x000700f5u, 0x00000006u, 0x000002f8u, 0x000001bcu, 0x000001d1u, 0x000001f1u, |
| 256 | 0x0000023eu, 0x00000257u, 0x0000025eu, 0x000500b0u, 0x00000008u, 0x00000246u, 0x0000029eu, 0x00000037u, | 256 | 0x000001edu, 0x000500abu, 0x00000008u, 0x000001ffu, 0x000002f8u, 0x0000000eu, 0x000500abu, 0x00000008u, |
| 257 | 0x000400f6u, 0x0000025fu, 0x0000025eu, 0x00000000u, 0x000400fau, 0x00000246u, 0x00000247u, 0x0000025fu, | 257 | 0x00000201u, 0x000002f9u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x00000202u, 0x000001ffu, 0x00000201u, |
| 258 | 0x000200f8u, 0x00000247u, 0x00050082u, 0x00000006u, 0x00000249u, 0x00000037u, 0x0000029eu, 0x000500acu, | 258 | 0x000500abu, 0x00000008u, 0x00000204u, 0x000002fau, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x00000205u, |
| 259 | 0x00000008u, 0x0000024cu, 0x0000029cu, 0x00000249u, 0x000300f7u, 0x0000024eu, 0x00000000u, 0x000400fau, | 259 | 0x00000202u, 0x00000204u, 0x000300f7u, 0x00000207u, 0x00000000u, 0x000400fau, 0x00000205u, 0x00000206u, |
| 260 | 0x0000024cu, 0x0000024du, 0x0000024eu, 0x000200f8u, 0x0000024du, 0x000200f9u, 0x0000025fu, 0x000200f8u, | 260 | 0x00000207u, 0x000200f8u, 0x00000206u, 0x000500acu, 0x00000008u, 0x0000020au, 0x000002f8u, 0x00000209u, |
| 261 | 0x0000024eu, 0x00050080u, 0x00000006u, 0x00000251u, 0x0000029eu, 0x0000029cu, 0x000900e6u, 0x00000006u, | 261 | 0x000400a8u, 0x00000008u, 0x0000020bu, 0x0000020au, 0x000300f7u, 0x0000020du, 0x00000000u, 0x000400fau, |
| 262 | 0x00000257u, 0x00000241u, 0x0000002fu, 0x0000000eu, 0x0000000eu, 0x00000251u, 0x0000029eu, 0x000500aau, | 262 | 0x0000020bu, 0x0000020cu, 0x0000020du, 0x000200f8u, 0x0000020cu, 0x00050086u, 0x00000006u, 0x00000210u, |
| 263 | 0x00000008u, 0x0000025au, 0x00000257u, 0x0000029eu, 0x000300f7u, 0x0000025cu, 0x00000000u, 0x000400fau, | 263 | 0x00000209u, 0x000002f8u, 0x000500acu, 0x00000008u, 0x00000211u, 0x000002f9u, 0x00000210u, 0x000200f9u, |
| 264 | 0x0000025au, 0x0000025bu, 0x0000025cu, 0x000200f8u, 0x0000025bu, 0x000200f9u, 0x0000025fu, 0x000200f8u, | 264 | 0x0000020du, 0x000200f8u, 0x0000020du, 0x000700f5u, 0x00000008u, 0x00000212u, 0x0000020au, 0x00000206u, |
| 265 | 0x0000025cu, 0x000200f9u, 0x0000025eu, 0x000200f8u, 0x0000025eu, 0x000200f9u, 0x00000243u, 0x000200f8u, | 265 | 0x00000211u, 0x0000020cu, 0x000400a8u, 0x00000008u, 0x00000213u, 0x00000212u, 0x000300f7u, 0x00000215u, |
| 266 | 0x0000025fu, 0x000900f5u, 0x00000008u, 0x000002a3u, 0x000002acu, 0x00000243u, 0x00000041u, 0x0000024du, | 266 | 0x00000000u, 0x000400fau, 0x00000213u, 0x00000214u, 0x00000215u, 0x000200f8u, 0x00000214u, 0x00050086u, |
| 267 | 0x00000012u, 0x0000025bu, 0x000900f5u, 0x00000008u, 0x000002a0u, 0x00000041u, 0x00000243u, 0x00000012u, | 267 | 0x00000006u, 0x00000218u, 0x00000209u, 0x000002f8u, 0x00050086u, 0x00000006u, 0x0000021au, 0x00000218u, |
| 268 | 0x0000024du, 0x00000012u, 0x0000025bu, 0x000300f7u, 0x00000261u, 0x00000000u, 0x000400fau, 0x000002a0u, | 268 | 0x000002f9u, 0x000500acu, 0x00000008u, 0x0000021bu, 0x000002fau, 0x0000021au, 0x000200f9u, 0x00000215u, |
| 269 | 0x00000262u, 0x00000261u, 0x000200f8u, 0x00000261u, 0x000200f9u, 0x00000262u, 0x000200f8u, 0x00000262u, | 269 | 0x000200f8u, 0x00000215u, 0x000700f5u, 0x00000008u, 0x0000021cu, 0x00000212u, 0x0000020du, 0x0000021bu, |
| 270 | 0x000900f5u, 0x00000008u, 0x000002a2u, 0x00000012u, 0x0000023du, 0x000002a3u, 0x0000025fu, 0x00000041u, | 270 | 0x00000214u, 0x000200f9u, 0x00000207u, 0x000200f8u, 0x00000207u, 0x000700f5u, 0x00000008u, 0x0000021du, |
| 271 | 0x00000261u, 0x000400a8u, 0x00000008u, 0x000001fau, 0x000002a2u, 0x000200f9u, 0x000001f6u, 0x000200f8u, | 271 | 0x00000205u, 0x000001eeu, 0x0000021cu, 0x00000215u, 0x000600a9u, 0x00000006u, 0x000003acu, 0x0000021du, |
| 272 | 0x000001f6u, 0x000700f5u, 0x00000008u, 0x000001fbu, 0x000001f4u, 0x0000011eu, 0x000001fau, 0x00000262u, | 272 | 0x0000000eu, 0x000002fau, 0x000600a9u, 0x00000006u, 0x000003adu, 0x0000021du, 0x0000000eu, 0x000002f9u, |
| 273 | 0x000300f7u, 0x000001fdu, 0x00000000u, 0x000400fau, 0x000001fbu, 0x000001fcu, 0x000001fdu, 0x000200f8u, | 273 | 0x000600a9u, 0x00000006u, 0x000003aeu, 0x0000021du, 0x0000000eu, 0x000002f8u, 0x000300f7u, 0x00000224u, |
| 274 | 0x000001fcu, 0x00050041u, 0x00000029u, 0x000001feu, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, | 274 | 0x00000000u, 0x000400fau, 0x000001cfu, 0x00000223u, 0x00000224u, 0x000200f8u, 0x00000223u, 0x00050041u, |
| 275 | 0x000001ffu, 0x000001feu, 0x00060041u, 0x0000002du, 0x00000200u, 0x000001ffu, 0x0000002cu, 0x000000bcu, | 275 | 0x00000029u, 0x00000225u, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000226u, 0x00000225u, |
| 276 | 0x000700eau, 0x00000006u, 0x00000201u, 0x00000200u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x0003003eu, | 276 | 0x00060041u, 0x0000002du, 0x00000228u, 0x00000226u, 0x0000002cu, 0x00000227u, 0x000700eau, 0x00000006u, |
| 277 | 0x00000116u, 0x00000117u, 0x000200f9u, 0x000001fdu, 0x000200f8u, 0x000001fdu, 0x000600a9u, 0x00000006u, | 277 | 0x00000229u, 0x00000228u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000500acu, 0x00000008u, 0x0000022bu, |
| 278 | 0x000002f9u, 0x000001fbu, 0x0000002fu, 0x000002b8u, 0x000500abu, 0x00000008u, 0x00000203u, 0x000002f9u, | 278 | 0x000003aeu, 0x000001a8u, 0x000300f7u, 0x0000022du, 0x00000000u, 0x000400fau, 0x0000022bu, 0x0000022cu, |
| 279 | 0x0000000eu, 0x000300f7u, 0x00000205u, 0x00000000u, 0x000400fau, 0x00000203u, 0x00000204u, 0x00000205u, | 279 | 0x0000022du, 0x000200f8u, 0x0000022cu, 0x00060041u, 0x0000002du, 0x00000230u, 0x00000226u, 0x0000002cu, |
| 280 | 0x000200f8u, 0x00000204u, 0x00050041u, 0x00000029u, 0x00000206u, 0x00000026u, 0x000000a9u, 0x0004003du, | 280 | 0x000001abu, 0x000700eau, 0x00000006u, 0x00000231u, 0x00000230u, 0x0000002fu, 0x0000000eu, 0x0000002fu, |
| 281 | 0x00000019u, 0x00000207u, 0x00000206u, 0x00060041u, 0x0000002du, 0x00000208u, 0x00000207u, 0x0000002cu, | 281 | 0x000200f9u, 0x0000022du, 0x000200f8u, 0x0000022du, 0x00060041u, 0x0000002du, 0x00000234u, 0x00000226u, |
| 282 | 0x0000002cu, 0x000700eau, 0x00000006u, 0x00000209u, 0x00000208u, 0x0000002fu, 0x0000000eu, 0x0000002fu, | 282 | 0x0000002cu, 0x000001aeu, 0x000700efu, 0x00000006u, 0x00000236u, 0x00000234u, 0x0000002fu, 0x0000000eu, |
| 283 | 0x00050041u, 0x00000007u, 0x0000020au, 0x00000116u, 0x0000002cu, 0x0004003du, 0x00000006u, 0x0000020bu, | 283 | 0x000003aeu, 0x000500abu, 0x00000008u, 0x00000239u, 0x000003aeu, 0x0000000eu, 0x000500a7u, 0x00000008u, |
| 284 | 0x0000020au, 0x000500aau, 0x00000008u, 0x0000020cu, 0x0000020bu, 0x0000000eu, 0x000300f7u, 0x0000020eu, | 284 | 0x0000023au, 0x000001ddu, 0x00000239u, 0x000300f7u, 0x0000023cu, 0x00000000u, 0x000400fau, 0x0000023au, |
| 285 | 0x00000000u, 0x000400fau, 0x0000020cu, 0x0000020du, 0x0000020eu, 0x000200f8u, 0x0000020du, 0x00060041u, | 285 | 0x0000023bu, 0x0000023cu, 0x000200f8u, 0x0000023bu, 0x00060041u, 0x0000002du, 0x0000023fu, 0x00000226u, |
| 286 | 0x0000002du, 0x00000211u, 0x00000207u, 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, 0x00000212u, | 286 | 0x0000002cu, 0x000001b1u, 0x000700eau, 0x00000006u, 0x00000240u, 0x0000023fu, 0x0000002fu, 0x0000000eu, |
| 287 | 0x00000211u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x0000020eu, 0x000200f8u, 0x0000020eu, | 287 | 0x0000002fu, 0x000200f9u, 0x0000023cu, 0x000200f8u, 0x0000023cu, 0x000200f9u, 0x00000224u, 0x000200f8u, |
| 288 | 0x000200f9u, 0x00000205u, 0x000200f8u, 0x00000205u, 0x000200f9u, 0x00000214u, 0x000200f8u, 0x00000214u, | 288 | 0x00000224u, 0x000500abu, 0x00000008u, 0x00000243u, 0x000003aeu, 0x00000173u, 0x000500abu, 0x00000008u, |
| 289 | 0x000700f5u, 0x00000006u, 0x000002bdu, 0x0000000eu, 0x00000205u, 0x00000226u, 0x00000215u, 0x000500b0u, | 289 | 0x00000246u, 0x000003adu, 0x0000017au, 0x000500a6u, 0x00000008u, 0x00000247u, 0x00000243u, 0x00000246u, |
| 290 | 0x00000008u, 0x0000021bu, 0x000002bdu, 0x00000264u, 0x000400f6u, 0x00000216u, 0x00000215u, 0x00000000u, | 290 | 0x000500abu, 0x00000008u, 0x0000024au, 0x000003acu, 0x00000181u, 0x000500a6u, 0x00000008u, 0x0000024bu, |
| 291 | 0x000400fau, 0x0000021bu, 0x00000215u, 0x00000216u, 0x000200f8u, 0x00000215u, 0x00050041u, 0x000000bdu, | 291 | 0x00000247u, 0x0000024au, 0x000600a9u, 0x00000006u, 0x0000024cu, 0x0000024bu, 0x0000002fu, 0x0000000eu, |
| 292 | 0x0000021cu, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x0000021du, 0x0000021cu, 0x00050080u, | 292 | 0x00050084u, 0x00000006u, 0x0000024fu, 0x000003aeu, 0x000003adu, 0x00050084u, 0x00000006u, 0x00000251u, |
| 293 | 0x00000006u, 0x00000220u, 0x00000081u, 0x000002bdu, 0x00050041u, 0x00000007u, 0x00000222u, 0x00000116u, | 293 | 0x0000024fu, 0x000003acu, 0x000600a9u, 0x00000006u, 0x00000257u, 0x00000184u, 0x00000255u, 0x00000256u, |
| 294 | 0x000002bdu, 0x0004003du, 0x00000006u, 0x00000223u, 0x00000222u, 0x00060041u, 0x0000002du, 0x00000224u, | 294 | 0x00050084u, 0x00000006u, 0x00000258u, 0x00000251u, 0x00000257u, 0x00050041u, 0x00000007u, 0x0000025au, |
| 295 | 0x0000021du, 0x0000002cu, 0x00000220u, 0x0005003eu, 0x00000224u, 0x00000223u, 0x00000002u, 0x00000004u, | 295 | 0x00000116u, 0x0000002cu, 0x0003003eu, 0x0000025au, 0x000003aeu, 0x00050041u, 0x00000007u, 0x0000025cu, |
| 296 | 0x00050080u, 0x00000006u, 0x00000226u, 0x000002bdu, 0x00000091u, 0x000200f9u, 0x00000214u, 0x000200f8u, | 296 | 0x00000116u, 0x00000091u, 0x0003003eu, 0x0000025cu, 0x000003adu, 0x00050041u, 0x00000007u, 0x0000025eu, |
| 297 | 0x00000216u, 0x000200f9u, 0x00000228u, 0x000200f8u, 0x00000228u, 0x000100fdu, 0x00010038u, | 297 | 0x00000116u, 0x000000bcu, 0x0003003eu, 0x0000025eu, 0x000003acu, 0x000200f9u, 0x0000011eu, 0x000200f8u, |
| 298 | 0x0000011eu, 0x000700f5u, 0x00000006u, 0x0000035eu, 0x0000014au, 0x00000165u, 0x0000024cu, 0x00000224u, | ||
| 299 | 0x000700f5u, 0x00000006u, 0x0000033au, 0x0000014du, 0x00000165u, 0x00000258u, 0x00000224u, 0x000500abu, | ||
| 300 | 0x00000008u, 0x00000260u, 0x0000033au, 0x0000000eu, 0x000300f7u, 0x00000262u, 0x00000000u, 0x000400fau, | ||
| 301 | 0x00000260u, 0x00000261u, 0x00000262u, 0x000200f8u, 0x00000261u, 0x000300f7u, 0x000002ceu, 0x00000000u, | ||
| 302 | 0x000300fbu, 0x0000000eu, 0x000002a6u, 0x000200f8u, 0x000002a6u, 0x000500aau, 0x00000008u, 0x000002a8u, | ||
| 303 | 0x0000033au, 0x0000000eu, 0x000300f7u, 0x000002aau, 0x00000000u, 0x000400fau, 0x000002a8u, 0x000002a9u, | ||
| 304 | 0x000002aau, 0x000200f8u, 0x000002a9u, 0x000200f9u, 0x000002ceu, 0x000200f8u, 0x000002aau, 0x00050041u, | ||
| 305 | 0x00000029u, 0x000002abu, 0x00000026u, 0x00000028u, 0x0004003du, 0x00000019u, 0x000002acu, 0x000002abu, | ||
| 306 | 0x00060041u, 0x0000002du, 0x000002adu, 0x000002acu, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, | ||
| 307 | 0x000002aeu, 0x000002adu, 0x0000002fu, 0x0000000eu, 0x0000000eu, 0x000200f9u, 0x000002afu, 0x000200f8u, | ||
| 308 | 0x000002afu, 0x000700f5u, 0x00000006u, 0x0000033cu, 0x000002aeu, 0x000002aau, 0x000002c3u, 0x000002cau, | ||
| 309 | 0x000500b0u, 0x00000008u, 0x000002b2u, 0x0000033cu, 0x00000037u, 0x000400f6u, 0x000002cbu, 0x000002cau, | ||
| 310 | 0x00000000u, 0x000400fau, 0x000002b2u, 0x000002b3u, 0x000002cbu, 0x000200f8u, 0x000002b3u, 0x00050082u, | ||
| 311 | 0x00000006u, 0x000002b5u, 0x00000037u, 0x0000033cu, 0x000500acu, 0x00000008u, 0x000002b8u, 0x0000033au, | ||
| 312 | 0x000002b5u, 0x000300f7u, 0x000002bau, 0x00000000u, 0x000400fau, 0x000002b8u, 0x000002b9u, 0x000002bau, | ||
| 313 | 0x000200f8u, 0x000002b9u, 0x000200f9u, 0x000002cbu, 0x000200f8u, 0x000002bau, 0x00050080u, 0x00000006u, | ||
| 314 | 0x000002bdu, 0x0000033cu, 0x0000033au, 0x000900e6u, 0x00000006u, 0x000002c3u, 0x000002adu, 0x0000002fu, | ||
| 315 | 0x0000000eu, 0x0000000eu, 0x000002bdu, 0x0000033cu, 0x000500aau, 0x00000008u, 0x000002c6u, 0x000002c3u, | ||
| 316 | 0x0000033cu, 0x000300f7u, 0x000002c8u, 0x00000000u, 0x000400fau, 0x000002c6u, 0x000002c7u, 0x000002c8u, | ||
| 317 | 0x000200f8u, 0x000002c7u, 0x000200f9u, 0x000002cbu, 0x000200f8u, 0x000002c8u, 0x000200f9u, 0x000002cau, | ||
| 318 | 0x000200f8u, 0x000002cau, 0x000200f9u, 0x000002afu, 0x000200f8u, 0x000002cbu, 0x000900f5u, 0x00000008u, | ||
| 319 | 0x00000341u, 0x0000034bu, 0x000002afu, 0x00000041u, 0x000002b9u, 0x00000012u, 0x000002c7u, 0x000900f5u, | ||
| 320 | 0x00000008u, 0x0000033eu, 0x00000041u, 0x000002afu, 0x00000012u, 0x000002b9u, 0x00000012u, 0x000002c7u, | ||
| 321 | 0x000300f7u, 0x000002cdu, 0x00000000u, 0x000400fau, 0x0000033eu, 0x000002ceu, 0x000002cdu, 0x000200f8u, | ||
| 322 | 0x000002cdu, 0x000200f9u, 0x000002ceu, 0x000200f8u, 0x000002ceu, 0x000900f5u, 0x00000008u, 0x00000340u, | ||
| 323 | 0x00000012u, 0x000002a9u, 0x00000341u, 0x000002cbu, 0x00000041u, 0x000002cdu, 0x000400a8u, 0x00000008u, | ||
| 324 | 0x00000266u, 0x00000340u, 0x000200f9u, 0x00000262u, 0x000200f8u, 0x00000262u, 0x000700f5u, 0x00000008u, | ||
| 325 | 0x00000267u, 0x00000260u, 0x0000011eu, 0x00000266u, 0x000002ceu, 0x000300f7u, 0x00000269u, 0x00000000u, | ||
| 326 | 0x000400fau, 0x00000267u, 0x00000268u, 0x00000269u, 0x000200f8u, 0x00000268u, 0x00050041u, 0x00000029u, | ||
| 327 | 0x0000026au, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x0000026bu, 0x0000026au, 0x00060041u, | ||
| 328 | 0x0000002du, 0x0000026cu, 0x0000026bu, 0x0000002cu, 0x000000bcu, 0x000700eau, 0x00000006u, 0x0000026du, | ||
| 329 | 0x0000026cu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000200f9u, | ||
| 330 | 0x00000269u, 0x000200f8u, 0x00000269u, 0x000600a9u, 0x00000006u, 0x000003afu, 0x00000267u, 0x0000002fu, | ||
| 331 | 0x0000035eu, 0x000500abu, 0x00000008u, 0x0000026fu, 0x000003afu, 0x0000000eu, 0x000300f7u, 0x00000271u, | ||
| 332 | 0x00000000u, 0x000400fau, 0x0000026fu, 0x00000270u, 0x00000271u, 0x000200f8u, 0x00000270u, 0x00050041u, | ||
| 333 | 0x00000029u, 0x00000272u, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000273u, 0x00000272u, | ||
| 334 | 0x00060041u, 0x0000002du, 0x00000274u, 0x00000273u, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, | ||
| 335 | 0x00000275u, 0x00000274u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00050041u, 0x00000007u, 0x00000276u, | ||
| 336 | 0x00000116u, 0x0000002cu, 0x0004003du, 0x00000006u, 0x00000277u, 0x00000276u, 0x000500aau, 0x00000008u, | ||
| 337 | 0x00000278u, 0x00000277u, 0x0000000eu, 0x000300f7u, 0x0000027au, 0x00000000u, 0x000400fau, 0x00000278u, | ||
| 338 | 0x00000279u, 0x0000027au, 0x000200f8u, 0x00000279u, 0x00060041u, 0x0000002du, 0x0000027du, 0x00000273u, | ||
| 339 | 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, 0x0000027eu, 0x0000027du, 0x0000002fu, 0x0000000eu, | ||
| 340 | 0x0000002fu, 0x000200f9u, 0x0000027au, 0x000200f8u, 0x0000027au, 0x000200f9u, 0x00000271u, 0x000200f8u, | ||
| 341 | 0x00000271u, 0x000200f9u, 0x00000280u, 0x000200f8u, 0x00000280u, 0x000700f5u, 0x00000006u, 0x00000363u, | ||
| 342 | 0x0000000eu, 0x00000271u, 0x00000292u, 0x00000281u, 0x000500b0u, 0x00000008u, 0x00000287u, 0x00000363u, | ||
| 343 | 0x000002d0u, 0x000400f6u, 0x00000282u, 0x00000281u, 0x00000000u, 0x000400fau, 0x00000287u, 0x00000281u, | ||
| 344 | 0x00000282u, 0x000200f8u, 0x00000281u, 0x00050041u, 0x000000bdu, 0x00000288u, 0x00000026u, 0x000000bcu, | ||
| 345 | 0x0004003du, 0x00000017u, 0x00000289u, 0x00000288u, 0x00050080u, 0x00000006u, 0x0000028cu, 0x00000081u, | ||
| 346 | 0x00000363u, 0x00050041u, 0x00000007u, 0x0000028eu, 0x00000116u, 0x00000363u, 0x0004003du, 0x00000006u, | ||
| 347 | 0x0000028fu, 0x0000028eu, 0x00060041u, 0x0000002du, 0x00000290u, 0x00000289u, 0x0000002cu, 0x0000028cu, | ||
| 348 | 0x0005003eu, 0x00000290u, 0x0000028fu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000292u, | ||
| 349 | 0x00000363u, 0x00000091u, 0x000200f9u, 0x00000280u, 0x000200f8u, 0x00000282u, 0x000200f9u, 0x00000294u, | ||
| 350 | 0x000200f8u, 0x00000294u, 0x000100fdu, 0x00010038u, | ||
| 298 | }; | 351 | }; |
| 299 | } // namespace leonida | 352 | } // namespace leonida |
diff --git a/runtime/src/list_value_wait_budget.h b/runtime/src/list_value_wait_budget.h new file mode 100644 index 000000000..8e1fd5219 --- /dev/null +++ b/runtime/src/list_value_wait_budget.h | |||
| @@ -0,0 +1,251 @@ | |||
| 1 | #pragma once | ||
| 2 | // Work-aware timeout clock and cycle-safe producer dependency analysis for console command-list memory waits | ||
| 3 | // (runtime/shims/d3d12_xs_list_values.h, docs/d3d12_xs_console_abi.md §5.5). | ||
| 4 | // | ||
| 5 | // A memory wait gate needs a bounded timeout so an unmodelled write (one the runtime never lands) cannot hang a queue | ||
| 6 | // forever. Counting wall-clock time blindly cuts waits short whenever the runtime is busy running held work (e.g. | ||
| 7 | // multi-second CPU shadow/texture copies inside the releaser) or while an in-flight producer write has not finished on | ||
| 8 | // the GPU yet, running dependent queues out of order. | ||
| 9 | // | ||
| 10 | // This header separates the policy from Windows/D3D12 handles so it can be verified portably under sanitizers: | ||
| 11 | // - `pause_reason()` decides whether submitted or held work can still satisfy a gate without creating a deadlock cycle: | ||
| 12 | // 1. `releaser_busy`: held work from an already-opened gate is currently being released/submitted; | ||
| 13 | // 2. `matching_producer`: an in-flight WriteGroup whose final write to a waited address can satisfy an unmet wait, and | ||
| 14 | // every pending gate preceding that WriteGroup is cycle-free with respect to the waiting queue; | ||
| 15 | // 3. `active_work`: unrelated unblocked GPU work (a WriteGroup or action gate with no pending gate ahead of it) is | ||
| 16 | // still executing, paused only up to `active_pause_cap_us` so a continuously streaming queue cannot starve an | ||
| 17 | // unmodelled wait. | ||
| 18 | // - `GateTimeoutState` tracks idle wait time (`elapsed_us`) separately from paused time, expiring once `elapsed_us` | ||
| 19 | // reaches `budget_us`. Every pause reason (`releaser_busy` and `matching_producer` included) is bounded by a finite | ||
| 20 | // `max_pause_cap_us` so a producer stuck behind an untracked dependency (e.g. a title fence wait or a hung Signal) | ||
| 21 | // still expires instead of hanging forever, and demoted (`cut_short`) gates scale both caps with their short budget. | ||
| 22 | // | ||
| 23 | // Pure C++20 standard library only. | ||
| 24 | |||
| 25 | #include <algorithm> | ||
| 26 | #include <cstddef> | ||
| 27 | #include <cstdint> | ||
| 28 | #include <span> | ||
| 29 | #include <vector> | ||
| 30 | |||
| 31 | namespace leonida::list_value_wait { | ||
| 32 | |||
| 33 | enum class PauseReason : std::uint8_t { | ||
| 34 | none = 0, // no submitted or held work can still satisfy this gate -> timeout clock ticks | ||
| 35 | releaser_busy = 1, // releaser thread is executing or draining opened gates | ||
| 36 | matching_producer = 2, // an acyclic in-flight WriteGroup can satisfy an unmet wait of this gate | ||
| 37 | active_work = 3, // unrelated unblocked submitted work is still executing (bounded by active_pause_cap_us) | ||
| 38 | }; | ||
| 39 | |||
| 40 | struct WaitPredicate { | ||
| 41 | std::uint64_t address = 0; | ||
| 42 | std::uint64_t reference = 0; | ||
| 43 | std::uint32_t comparison = 0; | ||
| 44 | bool wide = false; | ||
| 45 | }; | ||
| 46 | |||
| 47 | struct PendingWrite { | ||
| 48 | std::uint64_t address = 0; | ||
| 49 | std::uint64_t value = 0; | ||
| 50 | std::uint8_t bytes = 0; | ||
| 51 | bool timestamp = false; // GPU/system timestamp: final value is unknown until landing | ||
| 52 | }; | ||
| 53 | |||
| 54 | struct PendingWriteGroup { | ||
| 55 | const void* queue = nullptr; | ||
| 56 | std::uint64_t after_gate = 0; // highest pending gate value on `queue` ahead of this group when submitted (0: none) | ||
| 57 | std::span<const PendingWrite> writes; | ||
| 58 | }; | ||
| 59 | |||
| 60 | struct PendingGate { | ||
| 61 | const void* queue = nullptr; | ||
| 62 | std::uint64_t value = 0; | ||
| 63 | bool is_action = false; // waits only on earlier GPU work on `queue`, never on memory | ||
| 64 | std::span<const WaitPredicate> unmet_waits; // waits not currently satisfied in memory (empty for action gates) | ||
| 65 | }; | ||
| 66 | |||
| 67 | struct PauseCaps { | ||
| 68 | std::uint64_t active_us = 0; // cap on pausing solely for unrelated active_work | ||
| 69 | std::uint64_t max_us = 0; // hard finite cap across ALL pause reasons (releaser_busy, matching_producer, active_work) | ||
| 70 | }; | ||
| 71 | |||
| 72 | // Pause caps scaled with the gate's own timeout budget (`gate_timeout_ms`) and demotion state (`cut_short`): | ||
| 73 | // - Normal gates: `active_us = 300x` and `max_us = 1500x` of `gate_timeout_ms`, capped at 10 min. At the default | ||
| 74 | // 200 ms timeout this allows up to 60 s for unrelated GPU work and up to 300 s (5 min) while the releaser or an | ||
| 75 | // acyclic matching producer is working (covering multi-minute world-phase pipeline builds), while guaranteeing a | ||
| 76 | // finite exit if a producer is held behind an untracked dependency (title fence wait or stuck Signal). | ||
| 77 | // - Demoted (`cut_short`) gates: `active_us = 1x` and `max_us = 4x` of `gate_timeout_ms` (4 ms / 16 ms at the 4 ms | ||
| 78 | // demoted budget), so an unmodelled wait only pays a few milliseconds instead of inheriting the full timeout's cap. | ||
| 79 | inline constexpr PauseCaps default_pause_caps(unsigned gate_timeout_ms, bool cut_short = false) { | ||
| 80 | constexpr std::uint64_t kMaxCapMs = 600000u; // 10 min hard ceiling | ||
| 81 | const std::uint64_t base_ms = gate_timeout_ms ? std::uint64_t{gate_timeout_ms} : 1u; | ||
| 82 | const auto scale_ms = [base_ms](std::uint64_t mult) -> std::uint64_t { | ||
| 83 | return base_ms > kMaxCapMs / mult ? kMaxCapMs : base_ms * mult; | ||
| 84 | }; | ||
| 85 | const std::uint64_t active_ms = cut_short ? (base_ms < kMaxCapMs ? base_ms : kMaxCapMs) : scale_ms(300u); | ||
| 86 | const std::uint64_t max_ms = cut_short ? scale_ms(4u) : scale_ms(1500u); | ||
| 87 | return {active_ms * 1000u, max_ms * 1000u}; | ||
| 88 | } | ||
| 89 | |||
| 90 | inline constexpr std::uint64_t default_active_pause_cap_us(unsigned gate_timeout_ms, bool cut_short = false) { | ||
| 91 | return default_pause_caps(gate_timeout_ms, cut_short).active_us; | ||
| 92 | } | ||
| 93 | |||
| 94 | inline constexpr std::uint64_t default_max_pause_cap_us(unsigned gate_timeout_ms, bool cut_short = false) { | ||
| 95 | return default_pause_caps(gate_timeout_ms, cut_short).max_us; | ||
| 96 | } | ||
| 97 | |||
| 98 | struct GateTimeoutState { | ||
| 99 | std::uint64_t budget_us = 0; | ||
| 100 | std::uint64_t elapsed_us = 0; | ||
| 101 | std::uint64_t active_paused_us = 0; | ||
| 102 | std::uint64_t active_pause_cap_us = 0; | ||
| 103 | std::uint64_t total_paused_us = 0; | ||
| 104 | std::uint64_t max_pause_cap_us = 0; | ||
| 105 | bool paused_ever = false; | ||
| 106 | |||
| 107 | void reset(std::uint64_t budget, std::uint64_t active_cap, std::uint64_t max_cap) { | ||
| 108 | budget_us = budget; | ||
| 109 | elapsed_us = 0; | ||
| 110 | active_paused_us = 0; | ||
| 111 | total_paused_us = 0; | ||
| 112 | max_pause_cap_us = max_cap; | ||
| 113 | active_pause_cap_us = active_cap < max_cap ? active_cap : max_cap; | ||
| 114 | paused_ever = false; | ||
| 115 | } | ||
| 116 | |||
| 117 | // Advances the gate by `dt_us` under `reason`. Returns true once the idle timeout budget is exhausted. | ||
| 118 | // Every pause reason is bounded by `max_pause_cap_us`; unrelated `active_work` is additionally bounded by | ||
| 119 | // `active_pause_cap_us`. | ||
| 120 | bool advance(std::uint64_t dt_us, PauseReason reason) { | ||
| 121 | std::uint64_t room = 0; | ||
| 122 | if (reason == PauseReason::releaser_busy || reason == PauseReason::matching_producer) { | ||
| 123 | room = total_paused_us < max_pause_cap_us ? max_pause_cap_us - total_paused_us : 0u; | ||
| 124 | } else if (reason == PauseReason::active_work) { | ||
| 125 | const std::uint64_t total_room = | ||
| 126 | total_paused_us < max_pause_cap_us ? max_pause_cap_us - total_paused_us : 0u; | ||
| 127 | const std::uint64_t active_room = | ||
| 128 | active_paused_us < active_pause_cap_us ? active_pause_cap_us - active_paused_us : 0u; | ||
| 129 | room = total_room < active_room ? total_room : active_room; | ||
| 130 | } | ||
| 131 | if (room > 0) { | ||
| 132 | if (dt_us == 0) return false; | ||
| 133 | paused_ever = true; | ||
| 134 | const std::uint64_t absorb = dt_us < room ? dt_us : room; | ||
| 135 | total_paused_us += absorb; | ||
| 136 | if (reason == PauseReason::active_work) active_paused_us += absorb; | ||
| 137 | dt_us -= absorb; | ||
| 138 | } | ||
| 139 | if (dt_us > UINT64_MAX - elapsed_us) | ||
| 140 | elapsed_us = UINT64_MAX; | ||
| 141 | else | ||
| 142 | elapsed_us += dt_us; | ||
| 143 | return elapsed_us >= budget_us; | ||
| 144 | } | ||
| 145 | }; | ||
| 146 | |||
| 147 | namespace detail { | ||
| 148 | |||
| 149 | // True when `group`'s final write touching [wait.address, wait.address + need) lands a value that meets `wait` | ||
| 150 | // (or is a timestamp write to the exact address whose runtime value is unknown until landing). | ||
| 151 | template <class MetFn> | ||
| 152 | inline bool write_group_matches_wait(const PendingWriteGroup& group, const WaitPredicate& wait, MetFn&& met) { | ||
| 153 | const std::uint64_t need = wait.wide ? 8u : 4u; | ||
| 154 | if (!wait.address || wait.address > UINT64_MAX - need) return false; | ||
| 155 | const std::uint64_t wait_end = wait.address + need; | ||
| 156 | for (std::size_t i = group.writes.size(); i-- > 0;) { | ||
| 157 | const PendingWrite& w = group.writes[i]; | ||
| 158 | if (!w.bytes || w.address > UINT64_MAX - w.bytes) continue; | ||
| 159 | const std::uint64_t write_end = w.address + w.bytes; | ||
| 160 | if (w.address >= wait_end || wait.address >= write_end) continue; | ||
| 161 | if (w.address == wait.address && w.bytes >= need && | ||
| 162 | (w.timestamp || met(wait.comparison, w.value, wait.reference, wait.wide))) | ||
| 163 | return true; | ||
| 164 | // A later write in the same group overwrote or partially overlapped the waited range with a non-matching value. | ||
| 165 | return false; | ||
| 166 | } | ||
| 167 | return false; | ||
| 168 | } | ||
| 169 | |||
| 170 | // True when no pending gate in `gates` precedes `(queue, after_gate)`. | ||
| 171 | inline bool is_unblocked(std::span<const PendingGate> gates, const void* queue, std::uint64_t after_gate) { | ||
| 172 | if (!after_gate) return true; | ||
| 173 | for (const PendingGate& g : gates) | ||
| 174 | if (g.queue == queue && g.value <= after_gate) return false; | ||
| 175 | return true; | ||
| 176 | } | ||
| 177 | |||
| 178 | // True when `gate_idx` (directly or transitively via matching in-flight writes) depends on a gate on `target_queue`. | ||
| 179 | template <class MetFn> | ||
| 180 | inline bool gate_can_reach_queue(std::size_t gate_idx, const void* target_queue, | ||
| 181 | std::span<const PendingWriteGroup> writes, std::span<const PendingGate> gates, | ||
| 182 | MetFn&& met, std::vector<std::size_t>& visiting) { | ||
| 183 | const PendingGate& g = gates[gate_idx]; | ||
| 184 | if (g.queue == target_queue) return true; | ||
| 185 | if (g.is_action) return false; | ||
| 186 | if (std::find(visiting.begin(), visiting.end(), gate_idx) != visiting.end()) return false; | ||
| 187 | visiting.push_back(gate_idx); | ||
| 188 | for (const WaitPredicate& wait : g.unmet_waits) { | ||
| 189 | for (const PendingWriteGroup& w : writes) { | ||
| 190 | if (!write_group_matches_wait(w, wait, met)) continue; | ||
| 191 | if (!w.after_gate) continue; | ||
| 192 | for (std::size_t b = 0; b < gates.size(); ++b) { | ||
| 193 | if (gates[b].queue != w.queue || gates[b].value > w.after_gate) continue; | ||
| 194 | if (gates[b].queue == target_queue || | ||
| 195 | gate_can_reach_queue(b, target_queue, writes, gates, met, visiting)) { | ||
| 196 | visiting.pop_back(); | ||
| 197 | return true; | ||
| 198 | } | ||
| 199 | } | ||
| 200 | } | ||
| 201 | } | ||
| 202 | visiting.pop_back(); | ||
| 203 | return false; | ||
| 204 | } | ||
| 205 | |||
| 206 | } // namespace detail | ||
| 207 | |||
| 208 | // Decides whether the timeout clock of `gates[target_idx]` should pause on this pump pass. | ||
| 209 | // `met(comparison, value, reference, wide)` must implement the same predicate as `console_value_met`. | ||
| 210 | template <class MetFn> | ||
| 211 | inline PauseReason pause_reason(bool releaser_busy, std::span<const PendingWriteGroup> writes, | ||
| 212 | std::span<const PendingGate> gates, std::size_t target_idx, MetFn&& met) { | ||
| 213 | if (releaser_busy) return PauseReason::releaser_busy; | ||
| 214 | if (target_idx >= gates.size()) return PauseReason::none; | ||
| 215 | const PendingGate& target = gates[target_idx]; | ||
| 216 | if (target.is_action) return PauseReason::none; | ||
| 217 | |||
| 218 | // 1. A matching in-flight WriteGroup whose preceding gates (if any) do not cycle back to `target.queue`. | ||
| 219 | std::vector<std::size_t> visiting; | ||
| 220 | for (const WaitPredicate& wait : target.unmet_waits) { | ||
| 221 | for (const PendingWriteGroup& w : writes) { | ||
| 222 | if (!detail::write_group_matches_wait(w, wait, met)) continue; | ||
| 223 | bool cyclic = false; | ||
| 224 | if (w.after_gate) { | ||
| 225 | for (std::size_t b = 0; b < gates.size(); ++b) { | ||
| 226 | if (gates[b].queue != w.queue || gates[b].value > w.after_gate) continue; | ||
| 227 | visiting.clear(); | ||
| 228 | if (gates[b].queue == target.queue || | ||
| 229 | detail::gate_can_reach_queue(b, target.queue, writes, gates, met, visiting)) { | ||
| 230 | cyclic = true; | ||
| 231 | break; | ||
| 232 | } | ||
| 233 | } | ||
| 234 | } | ||
| 235 | if (!cyclic) return PauseReason::matching_producer; | ||
| 236 | } | ||
| 237 | } | ||
| 238 | |||
| 239 | // 2. Unrelated unblocked submitted GPU work (an unblocked WriteGroup on any queue, or an unblocked action gate on | ||
| 240 | // another queue) that could still write memory via a shader/copy or unblock a CPU producer. | ||
| 241 | for (const PendingWriteGroup& w : writes) { | ||
| 242 | if (detail::is_unblocked(gates, w.queue, w.after_gate)) return PauseReason::active_work; | ||
| 243 | } | ||
| 244 | for (const PendingGate& g : gates) { | ||
| 245 | if (!g.is_action || g.queue == target.queue) continue; | ||
| 246 | if (g.value == 0 || detail::is_unblocked(gates, g.queue, g.value - 1)) return PauseReason::active_work; | ||
| 247 | } | ||
| 248 | return PauseReason::none; | ||
| 249 | } | ||
| 250 | |||
| 251 | } // namespace leonida::list_value_wait | ||
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp index 21551e948..6f7039099 100644 --- a/runtime/src/main.cpp +++ b/runtime/src/main.cpp | |||
| @@ -10,11 +10,11 @@ | |||
| 10 | // The same mapping, then each loaded DLL's TLS callbacks and DllMain(DLL_PROCESS_ATTACH) are run. | 10 | // The same mapping, then each loaded DLL's TLS callbacks and DllMain(DLL_PROCESS_ATTACH) are run. |
| 11 | // | 11 | // |
| 12 | // gta6rt --precompile-pipelines [--threads N] [--big-threads N] [--big-bytes N] [--all] [--smallest-first] | 12 | // gta6rt --precompile-pipelines [--threads N] [--big-threads N] [--big-bytes N] [--all] [--smallest-first] |
| 13 | // [--limit N] [--min-bytes N] [--max-bytes N] [--filter PART]... [--list] | 13 | // [--limit N] [--min-bytes N] [--max-bytes N] [--filter PART]... [--skip-listed] [--list] |
| 14 | // No game: creates the Vulkan device as --run does and builds every compute pipeline of the shader library | 14 | // No game: creates the Vulkan device as --run does and builds every compute pipeline of the shader library |
| 15 | // (LEONIDA_SHADERS) into the pipeline journal and the driver's cache, so a title's first dispatch of a large one | 15 | // (LEONIDA_SHADERS) into the pipeline journal and the driver's cache, so a title's first dispatch of a large one |
| 16 | // does not stall it. Resumable: entries already journaled are skipped (--all: built anyway). See | 16 | // does not stall it. Resumable: entries already journaled are skipped (--all: built anyway). Programs named by |
| 17 | // shims/d3d12_precompile.h. | 17 | // LEONIDA_SKIP_COMPUTE are built too unless --skip-listed is given. See shims/d3d12_precompile.h. |
| 18 | // | 18 | // |
| 19 | // gta6rt --run <exe> [--game-dir DIR] [--overlay DIR] [--trace-d3d12] [--trace FILE] [-- game arguments...] | 19 | // gta6rt --run <exe> [--game-dir DIR] [--overlay DIR] [--trace-d3d12] [--trace FILE] [-- game arguments...] |
| 20 | // The same, then the EXE's own TLS callbacks and its entry point, on a game thread. The game's argv and | 20 | // The same, then the EXE's own TLS callbacks and its entry point, on a game thread. The game's argv and |
| @@ -262,7 +262,7 @@ int usage() { | |||
| 262 | " gta6rt --init <image> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace-d3d12] [--trace FILE]\n" | 262 | " gta6rt --init <image> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace-d3d12] [--trace FILE]\n" |
| 263 | " gta6rt --first-run-ui <exe> [--game-dir DIR] [--overlay DIR] [--trace FILE]\n" | 263 | " gta6rt --first-run-ui <exe> [--game-dir DIR] [--overlay DIR] [--trace FILE]\n" |
| 264 | " gta6rt --run <exe> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace-d3d12] [--trace FILE] [-- game arguments...]\n" | 264 | " gta6rt --run <exe> [--game-dir DIR] [--overlay DIR] [--mods DIR] [--archetype-lookup RVA[,ARG]] [--view-mode-getter RVA] [--trace-d3d12] [--trace FILE] [-- game arguments...]\n" |
| 265 | " gta6rt --precompile-pipelines [--threads N] [--big-threads N] [--big-bytes N] [--all] [--smallest-first] [--limit N] [--min-bytes N] [--max-bytes N] [--filter PART]... [--list] [--via-helper]\n" | 265 | " gta6rt --precompile-pipelines [--threads N] [--big-threads N] [--big-bytes N] [--all] [--smallest-first] [--limit N] [--min-bytes N] [--max-bytes N] [--filter PART]... [--skip-listed] [--list] [--via-helper]\n" |
| 266 | " gta6rt --compile-server [--parent PID] [--threads N] [--idle-threads N] [--idle-exit SECONDS]\n"); | 266 | " gta6rt --compile-server [--parent PID] [--threads N] [--idle-threads N] [--idle-exit SECONDS]\n"); |
| 267 | return 2; | 267 | return 2; |
| 268 | } | 268 | } |
| @@ -290,6 +290,7 @@ int precompile_main(int argc, wchar_t** argv) { | |||
| 290 | else if (a == L"--max-bytes") ok = number(i, options.max_bytes); | 290 | else if (a == L"--max-bytes") ok = number(i, options.max_bytes); |
| 291 | else if (a == L"--all") options.rebuild = true; | 291 | else if (a == L"--all") options.rebuild = true; |
| 292 | else if (a == L"--smallest-first") options.smallest_first = true; | 292 | else if (a == L"--smallest-first") options.smallest_first = true; |
| 293 | else if (a == L"--skip-listed") options.skip_listed = true; | ||
| 293 | else if (a == L"--list") options.dry_run = true; | 294 | else if (a == L"--list") options.dry_run = true; |
| 294 | else if (a == L"--via-helper") options.via_helper = true; | 295 | else if (a == L"--via-helper") options.via_helper = true; |
| 295 | else if (a == L"--filter" && i + 1 < argc) { | 296 | else if (a == L"--filter" && i + 1 < argc) { |
diff --git a/runtime/src/mem_probe.h b/runtime/src/mem_probe.h index a36d38bfe..f8c573da4 100644 --- a/runtime/src/mem_probe.h +++ b/runtime/src/mem_probe.h | |||
| @@ -9,12 +9,18 @@ | |||
| 9 | // other PE private memory (runtime + title heaps), PE images, PE sections, memory the Vulkan | 9 | // other PE private memory (runtime + title heaps), PE images, PE sections, memory the Vulkan |
| 10 | // driver mapped for us, /dev/nvidia* mappings, other native (Unix-side) anonymous memory | 10 | // driver mapped for us, /dev/nvidia* mappings, other native (Unix-side) anonymous memory |
| 11 | // (driver heaps, glibc arenas), and files. | 11 | // (driver heaps, glibc arenas), and files. |
| 12 | // [rt] mem-probe breakdown: the same allocations by consumer (src/memory_breakdown.h): the arena with its reserved, | ||
| 13 | // bound and in-use bytes, geometry copies, title windows and shadows, upload heaps, staging, | ||
| 14 | // texture blocks, sampled textures, render targets and depth, and other, which add up to the | ||
| 15 | // allocated bytes of the t= line. | ||
| 12 | // The Vulkan counts come from wrapping the runtime's own function table (install()); helpers that load their own | 16 | // The Vulkan counts come from wrapping the runtime's own function table (install()); helpers that load their own |
| 13 | // pointers (depth24, predicate, xdxr, swapchain) are not counted: they create a handful of objects. | 17 | // pointers (depth24, predicate, xdxr, swapchain) are not counted: they create a handful of objects. |
| 14 | 18 | ||
| 15 | #include <windows.h> | 19 | #include <windows.h> |
| 16 | #include <vulkan/vulkan.h> | 20 | #include <vulkan/vulkan.h> |
| 17 | 21 | ||
| 22 | #include "memory_breakdown.h" | ||
| 23 | |||
| 18 | #include <algorithm> | 24 | #include <algorithm> |
| 19 | #include <atomic> | 25 | #include <atomic> |
| 20 | #include <cctype> | 26 | #include <cctype> |
| @@ -40,6 +46,8 @@ struct Allocation { | |||
| 40 | bool imported = false; | 46 | bool imported = false; |
| 41 | std::uintptr_t mapped = 0; | 47 | std::uintptr_t mapped = 0; |
| 42 | std::uint64_t mapped_bytes = 0; | 48 | std::uint64_t mapped_bytes = 0; |
| 49 | // Who asked for it (an Owner scope at the allocation), or what was bound to it later (bind_image_memory). | ||
| 50 | memory_breakdown::Consumer consumer = memory_breakdown::Consumer::other; | ||
| 43 | }; | 51 | }; |
| 44 | 52 | ||
| 45 | struct State { | 53 | struct State { |
| @@ -52,11 +60,15 @@ struct State { | |||
| 52 | PFN_vkCreateGraphicsPipelines create_graphics = nullptr; | 60 | PFN_vkCreateGraphicsPipelines create_graphics = nullptr; |
| 53 | PFN_vkCreateComputePipelines create_compute = nullptr; | 61 | PFN_vkCreateComputePipelines create_compute = nullptr; |
| 54 | PFN_vkDestroyPipeline destroy_pipeline = nullptr; | 62 | PFN_vkDestroyPipeline destroy_pipeline = nullptr; |
| 63 | PFN_vkCreateImage create_image = nullptr; | ||
| 64 | PFN_vkDestroyImage destroy_image = nullptr; | ||
| 65 | PFN_vkBindImageMemory bind_image = nullptr; | ||
| 55 | 66 | ||
| 56 | std::mutex mutex; | 67 | std::mutex mutex; |
| 57 | std::unordered_map<VkDeviceMemory, Allocation> allocations; | 68 | std::unordered_map<VkDeviceMemory, Allocation> allocations; |
| 58 | std::unordered_map<VkShaderModule, std::uint64_t> modules; | 69 | std::unordered_map<VkShaderModule, std::uint64_t> modules; |
| 59 | std::unordered_map<VkPipeline, std::uint8_t> pipelines; // 0 graphics, 1 compute | 70 | std::unordered_map<VkPipeline, std::uint8_t> pipelines; // 0 graphics, 1 compute |
| 71 | std::unordered_map<VkImage, std::uint32_t> image_usage; // VkImageUsageFlags of each live image | ||
| 60 | std::uint64_t module_bytes = 0, modules_made = 0, module_bytes_made = 0; | 72 | std::uint64_t module_bytes = 0, modules_made = 0, module_bytes_made = 0; |
| 61 | std::uint64_t graphics_live = 0, compute_live = 0, graphics_made = 0, compute_made = 0; | 73 | std::uint64_t graphics_live = 0, compute_live = 0, graphics_made = 0, compute_made = 0; |
| 62 | std::uint64_t graphics_ns = 0, compute_ns = 0; // time inside vkCreate*Pipelines | 74 | std::uint64_t graphics_ns = 0, compute_ns = 0; // time inside vkCreate*Pipelines |
| @@ -94,7 +106,8 @@ inline VKAPI_ATTR VkResult VKAPI_CALL allocate_memory(VkDevice device, const VkM | |||
| 94 | const VkResult result = s.allocate(device, info, callbacks, out); | 106 | const VkResult result = s.allocate(device, info, callbacks, out); |
| 95 | if (result == VK_SUCCESS && out && *out) { | 107 | if (result == VK_SUCCESS && out && *out) { |
| 96 | std::lock_guard lock(s.mutex); | 108 | std::lock_guard lock(s.mutex); |
| 97 | s.allocations[*out] = {info->memoryTypeIndex, info->allocationSize, imported_memory(info), 0, 0}; | 109 | s.allocations[*out] = {info->memoryTypeIndex, info->allocationSize, imported_memory(info), 0, 0, |
| 110 | memory_breakdown::current_owner()}; | ||
| 98 | } | 111 | } |
| 99 | return result; | 112 | return result; |
| 100 | } | 113 | } |
| @@ -132,6 +145,43 @@ inline VKAPI_ATTR void VKAPI_CALL unmap_memory(VkDevice device, VkDeviceMemory m | |||
| 132 | s.unmap(device, memory); | 145 | s.unmap(device, memory); |
| 133 | } | 146 | } |
| 134 | 147 | ||
| 148 | inline VKAPI_ATTR VkResult VKAPI_CALL create_image(VkDevice device, const VkImageCreateInfo* info, | ||
| 149 | const VkAllocationCallbacks* callbacks, VkImage* out) { | ||
| 150 | State& s = state(); | ||
| 151 | const VkResult result = s.create_image(device, info, callbacks, out); | ||
| 152 | if (result == VK_SUCCESS && out && *out) { | ||
| 153 | std::lock_guard lock(s.mutex); | ||
| 154 | s.image_usage[*out] = info->usage; | ||
| 155 | } | ||
| 156 | return result; | ||
| 157 | } | ||
| 158 | |||
| 159 | inline VKAPI_ATTR void VKAPI_CALL destroy_image(VkDevice device, VkImage image, const VkAllocationCallbacks* callbacks) { | ||
| 160 | State& s = state(); | ||
| 161 | if (image) { | ||
| 162 | std::lock_guard lock(s.mutex); | ||
| 163 | s.image_usage.erase(image); | ||
| 164 | } | ||
| 165 | s.destroy_image(device, image, callbacks); | ||
| 166 | } | ||
| 167 | |||
| 168 | // Memory nobody named that an image is bound to is that image's: a render target or depth buffer, or a sampled | ||
| 169 | // texture. A named block (the texture blocks) keeps its name, whatever is bound into it. | ||
| 170 | inline VKAPI_ATTR VkResult VKAPI_CALL bind_image_memory(VkDevice device, VkImage image, VkDeviceMemory memory, | ||
| 171 | VkDeviceSize offset) { | ||
| 172 | State& s = state(); | ||
| 173 | const VkResult result = s.bind_image(device, image, memory, offset); | ||
| 174 | if (result == VK_SUCCESS) { | ||
| 175 | std::lock_guard lock(s.mutex); | ||
| 176 | const auto a = s.allocations.find(memory); | ||
| 177 | const auto u = s.image_usage.find(image); | ||
| 178 | if (a != s.allocations.end() && u != s.image_usage.end() && | ||
| 179 | a->second.consumer == memory_breakdown::Consumer::other) | ||
| 180 | a->second.consumer = memory_breakdown::image_consumer(u->second); | ||
| 181 | } | ||
| 182 | return result; | ||
| 183 | } | ||
| 184 | |||
| 135 | inline VKAPI_ATTR VkResult VKAPI_CALL create_shader_module(VkDevice device, const VkShaderModuleCreateInfo* info, | 185 | inline VKAPI_ATTR VkResult VKAPI_CALL create_shader_module(VkDevice device, const VkShaderModuleCreateInfo* info, |
| 136 | const VkAllocationCallbacks* callbacks, | 186 | const VkAllocationCallbacks* callbacks, |
| 137 | VkShaderModule* out) { | 187 | VkShaderModule* out) { |
| @@ -246,7 +296,8 @@ void install(Functions& vk) { | |||
| 246 | if (s.installed++) return; | 296 | if (s.installed++) return; |
| 247 | if (!vk.vkAllocateMemory || !vk.vkFreeMemory || !vk.vkMapMemory || !vk.vkUnmapMemory || | 297 | if (!vk.vkAllocateMemory || !vk.vkFreeMemory || !vk.vkMapMemory || !vk.vkUnmapMemory || |
| 248 | !vk.vkCreateShaderModule || !vk.vkDestroyShaderModule || !vk.vkCreateGraphicsPipelines || | 298 | !vk.vkCreateShaderModule || !vk.vkDestroyShaderModule || !vk.vkCreateGraphicsPipelines || |
| 249 | !vk.vkCreateComputePipelines || !vk.vkDestroyPipeline) | 299 | !vk.vkCreateComputePipelines || !vk.vkDestroyPipeline || !vk.vkCreateImage || !vk.vkDestroyImage || |
| 300 | !vk.vkBindImageMemory) | ||
| 250 | return; | 301 | return; |
| 251 | s.started = GetTickCount64(); | 302 | s.started = GetTickCount64(); |
| 252 | s.allocate = vk.vkAllocateMemory, vk.vkAllocateMemory = allocate_memory; | 303 | s.allocate = vk.vkAllocateMemory, vk.vkAllocateMemory = allocate_memory; |
| @@ -258,6 +309,9 @@ void install(Functions& vk) { | |||
| 258 | s.create_graphics = vk.vkCreateGraphicsPipelines, vk.vkCreateGraphicsPipelines = create_graphics_pipelines; | 309 | s.create_graphics = vk.vkCreateGraphicsPipelines, vk.vkCreateGraphicsPipelines = create_graphics_pipelines; |
| 259 | s.create_compute = vk.vkCreateComputePipelines, vk.vkCreateComputePipelines = create_compute_pipelines; | 310 | s.create_compute = vk.vkCreateComputePipelines, vk.vkCreateComputePipelines = create_compute_pipelines; |
| 260 | s.destroy_pipeline = vk.vkDestroyPipeline, vk.vkDestroyPipeline = destroy_pipeline; | 311 | s.destroy_pipeline = vk.vkDestroyPipeline, vk.vkDestroyPipeline = destroy_pipeline; |
| 312 | s.create_image = vk.vkCreateImage, vk.vkCreateImage = create_image; | ||
| 313 | s.destroy_image = vk.vkDestroyImage, vk.vkDestroyImage = destroy_image; | ||
| 314 | s.bind_image = vk.vkBindImageMemory, vk.vkBindImageMemory = bind_image_memory; | ||
| 261 | std::fprintf(stderr, "[rt] mem-probe: installed, every %u s\n", interval_seconds()); | 315 | std::fprintf(stderr, "[rt] mem-probe: installed, every %u s\n", interval_seconds()); |
| 262 | } | 316 | } |
| 263 | 317 | ||
| @@ -451,6 +505,7 @@ inline std::string read_rollup() { | |||
| 451 | struct DeviceFacts { | 505 | struct DeviceFacts { |
| 452 | std::function<std::string()> describe; // one text fragment | 506 | std::function<std::string()> describe; // one text fragment |
| 453 | std::function<Ranges()> title_ranges; // the title's memory | 507 | std::function<Ranges()> title_ranges; // the title's memory |
| 508 | std::function<memory_breakdown::DeviceShare()> share; // the arena and the bindless tables, for the breakdown | ||
| 454 | VkPhysicalDeviceMemoryProperties memory{}; | 509 | VkPhysicalDeviceMemoryProperties memory{}; |
| 455 | }; | 510 | }; |
| 456 | 511 | ||
| @@ -477,6 +532,7 @@ inline void sample(const DeviceFacts& facts) { | |||
| 477 | std::uint64_t type_count[VK_MAX_MEMORY_TYPES] = {}, type_bytes[VK_MAX_MEMORY_TYPES] = {}; | 532 | std::uint64_t type_count[VK_MAX_MEMORY_TYPES] = {}, type_bytes[VK_MAX_MEMORY_TYPES] = {}; |
| 478 | std::uint64_t import_count[VK_MAX_MEMORY_TYPES] = {}, import_bytes[VK_MAX_MEMORY_TYPES] = {}; | 533 | std::uint64_t import_count[VK_MAX_MEMORY_TYPES] = {}, import_bytes[VK_MAX_MEMORY_TYPES] = {}; |
| 479 | Ranges vk_mapped; | 534 | Ranges vk_mapped; |
| 535 | memory_breakdown::Tally tally; | ||
| 480 | std::uint64_t modules = 0, module_bytes = 0, modules_made = 0, module_bytes_made = 0; | 536 | std::uint64_t modules = 0, module_bytes = 0, modules_made = 0, module_bytes_made = 0; |
| 481 | std::uint64_t graphics = 0, compute = 0, graphics_made = 0, compute_made = 0, graphics_ns = 0, compute_ns = 0; | 537 | std::uint64_t graphics = 0, compute = 0, graphics_made = 0, compute_made = 0, graphics_ns = 0, compute_ns = 0; |
| 482 | { | 538 | { |
| @@ -491,6 +547,7 @@ inline void sample(const DeviceFacts& facts) { | |||
| 491 | type_bytes[i] += a.bytes; | 547 | type_bytes[i] += a.bytes; |
| 492 | } | 548 | } |
| 493 | if (a.mapped && !a.imported) vk_mapped.push_back({a.mapped, a.mapped + a.mapped_bytes}); | 549 | if (a.mapped && !a.imported) vk_mapped.push_back({a.mapped, a.mapped + a.mapped_bytes}); |
| 550 | tally.add(a.consumer, a.bytes, a.imported); | ||
| 494 | } | 551 | } |
| 495 | modules = s.modules.size(); | 552 | modules = s.modules.size(); |
| 496 | module_bytes = s.module_bytes; | 553 | module_bytes = s.module_bytes; |
| @@ -527,6 +584,10 @@ inline void sample(const DeviceFacts& facts) { | |||
| 527 | (unsigned long long)compute_made, double(graphics_ns) / 1e9, double(compute_ns) / 1e9, | 584 | (unsigned long long)compute_made, double(graphics_ns) / 1e9, double(compute_ns) / 1e9, |
| 528 | (unsigned long long)modules, mib(module_bytes), (unsigned long long)modules_made, | 585 | (unsigned long long)modules, mib(module_bytes), (unsigned long long)modules_made, |
| 529 | mib(module_bytes_made), memory_text.c_str(), facts.describe ? facts.describe().c_str() : ""); | 586 | mib(module_bytes_made), memory_text.c_str(), facts.describe ? facts.describe().c_str() : ""); |
| 587 | std::fprintf(stderr, "[rt] mem-probe breakdown t=%.0fs: %s\n", t, | ||
| 588 | memory_breakdown::format(tally, facts.share ? facts.share() : memory_breakdown::DeviceShare{}, | ||
| 589 | module_bytes) | ||
| 590 | .c_str()); | ||
| 530 | Ranges title = facts.title_ranges ? facts.title_ranges() : Ranges{}; | 591 | Ranges title = facts.title_ranges ? facts.title_ranges() : Ranges{}; |
| 531 | std::sort(title.begin(), title.end()); | 592 | std::sort(title.begin(), title.end()); |
| 532 | Usage usage[b_count]; | 593 | Usage usage[b_count]; |
diff --git a/runtime/src/memory_breakdown.h b/runtime/src/memory_breakdown.h new file mode 100644 index 000000000..7e2ae7057 --- /dev/null +++ b/runtime/src/memory_breakdown.h | |||
| @@ -0,0 +1,152 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | // The mem probe's breakdown line (src/mem_probe.h, LEONIDA_MEM_PROBE=<seconds>): the runtime's own vkAllocateMemory | ||
| 4 | // bytes split by the consumer that asked for them, so the parts add up to the total the probe's `mem-probe t=` line | ||
| 5 | // prints per memory type. Diagnostic only: nothing here changes what is allocated or where. | ||
| 6 | // | ||
| 7 | // A consumer is named in one of two ways: | ||
| 8 | // - by the caller: an Owner scope around the call that allocates (the arena, the geometry copies' and title | ||
| 9 | // windows' 4 MiB blocks, upload heaps, staging, the texture blocks). The probe's vkAllocateMemory wrapper reads | ||
| 10 | // the scope of the thread it runs on; | ||
| 11 | // - by what is bound to it: memory nobody named that a dedicated image is bound to is a render target or depth | ||
| 12 | // buffer when the image is an attachment, else a sampled texture (image_consumer()). | ||
| 13 | // Memory named neither way is "other", so the parts always sum to the total. | ||
| 14 | // | ||
| 15 | // Pure standard library (the usage bits are passed in as plain integers), so the tally and the text are tested | ||
| 16 | // without a GPU or Windows (memory_breakdown_test). | ||
| 17 | |||
| 18 | #include <array> | ||
| 19 | #include <cstdint> | ||
| 20 | #include <cstdio> | ||
| 21 | #include <string> | ||
| 22 | |||
| 23 | namespace leonida::memory_breakdown { | ||
| 24 | |||
| 25 | enum class Consumer : std::uint8_t { | ||
| 26 | other, // nobody named it and no image is bound to it | ||
| 27 | arena, // the GPU address arena's memory (docs/d3d12_vulkan.md section 3.3) | ||
| 28 | geometry, // geometry copies: GeometryViews' 4 MiB blocks (shims/d3d12_geometry_views.h) | ||
| 29 | windows, // title windows outside the arena and slot-133 shadow buffers with their own memory | ||
| 30 | upload, // upload and readback heap buffers with their own memory | ||
| 31 | staging, // texture staging and copy scratch | ||
| 32 | image_blocks, // blocks that hold many textures (ImageMemory, TitleImagePool) | ||
| 33 | sampled, // dedicated memory of a texture that is not an attachment | ||
| 34 | render_target, // dedicated memory of a colour or depth/stencil attachment | ||
| 35 | count | ||
| 36 | }; | ||
| 37 | |||
| 38 | constexpr std::size_t kConsumers = std::size_t(Consumer::count); | ||
| 39 | |||
| 40 | inline const char* consumer_name(Consumer c) { | ||
| 41 | switch (c) { | ||
| 42 | case Consumer::other: return "other"; | ||
| 43 | case Consumer::arena: return "arena"; | ||
| 44 | case Consumer::geometry: return "geometry copies"; | ||
| 45 | case Consumer::windows: return "title windows and shadows"; | ||
| 46 | case Consumer::upload: return "upload heaps"; | ||
| 47 | case Consumer::staging: return "staging"; | ||
| 48 | case Consumer::image_blocks: return "texture blocks"; | ||
| 49 | case Consumer::sampled: return "sampled textures"; | ||
| 50 | case Consumer::render_target: return "render targets and depth"; | ||
| 51 | default: return "?"; | ||
| 52 | } | ||
| 53 | } | ||
| 54 | |||
| 55 | // VkImageUsageFlagBits values, as plain integers so this header needs no Vulkan headers. | ||
| 56 | constexpr std::uint32_t kColorAttachment = 0x10; // VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | ||
| 57 | constexpr std::uint32_t kDepthStencilAttachment = 0x20; // VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT | ||
| 58 | |||
| 59 | // The consumer of memory an image of `usage` is bound to, when nobody named the memory. | ||
| 60 | inline Consumer image_consumer(std::uint32_t usage) { | ||
| 61 | return usage & (kColorAttachment | kDepthStencilAttachment) ? Consumer::render_target : Consumer::sampled; | ||
| 62 | } | ||
| 63 | |||
| 64 | // The consumer the calling thread allocates for. Set by an Owner scope; Consumer::other outside one. | ||
| 65 | inline Consumer& current_owner() { | ||
| 66 | thread_local Consumer owner = Consumer::other; | ||
| 67 | return owner; | ||
| 68 | } | ||
| 69 | |||
| 70 | // Names the consumer of the allocations this thread makes while the scope lives. Scopes nest: the inner one wins | ||
| 71 | // and the outer one is back when it ends. | ||
| 72 | class Owner { | ||
| 73 | public: | ||
| 74 | explicit Owner(Consumer consumer) : previous_(current_owner()) { current_owner() = consumer; } | ||
| 75 | ~Owner() { current_owner() = previous_; } | ||
| 76 | Owner(const Owner&) = delete; | ||
| 77 | Owner& operator=(const Owner&) = delete; | ||
| 78 | |||
| 79 | private: | ||
| 80 | Consumer previous_; | ||
| 81 | }; | ||
| 82 | |||
| 83 | // Live allocations per consumer. Imported memory (host pointers, the title's own pages) is system memory the runtime | ||
| 84 | // did not allocate, so it is kept apart, as the probe's total keeps it apart. | ||
| 85 | struct Tally { | ||
| 86 | std::array<std::uint64_t, kConsumers> bytes{}, count{}; | ||
| 87 | std::uint64_t imported_bytes = 0, imported_count = 0; | ||
| 88 | |||
| 89 | void add(Consumer consumer, std::uint64_t size, bool imported) { | ||
| 90 | if (imported) { | ||
| 91 | imported_bytes += size; | ||
| 92 | ++imported_count; | ||
| 93 | return; | ||
| 94 | } | ||
| 95 | const std::size_t i = std::size_t(consumer) < kConsumers ? std::size_t(consumer) : 0; | ||
| 96 | bytes[i] += size; | ||
| 97 | ++count[i]; | ||
| 98 | } | ||
| 99 | std::uint64_t total() const { | ||
| 100 | std::uint64_t sum = 0; | ||
| 101 | for (const std::uint64_t b : bytes) sum += b; | ||
| 102 | return sum; | ||
| 103 | } | ||
| 104 | }; | ||
| 105 | |||
| 106 | // What the device knows about the arena and the tables outside the probe's wrapped allocations. | ||
| 107 | struct DeviceShare { | ||
| 108 | bool arena = false; | ||
| 109 | std::uint64_t arena_reserved = 0; // the arena's size: the address range shaders may name | ||
| 110 | std::uint64_t arena_bound = 0; // bytes of memory behind it | ||
| 111 | std::uint64_t arena_in_use = 0; // bytes allocations hold | ||
| 112 | // arena_in_use by kind, as DeviceState::ArenaUse: buffers, descriptor heaps, shader code, heaps | ||
| 113 | std::array<std::uint64_t, 4> arena_use{}; | ||
| 114 | std::uint64_t bindless_table_bytes = 0; // allocated by BindlessSet through its own function table | ||
| 115 | }; | ||
| 116 | |||
| 117 | inline double mib(std::uint64_t bytes) { return double(bytes) / 1048576.0; } | ||
| 118 | |||
| 119 | // The breakdown line's text after "[rt] mem-probe breakdown t=<s>: ". Every consumer is printed, zero or not, so a | ||
| 120 | // reader can line up two ticks; the figures are whole MiB. | ||
| 121 | inline std::string format(const Tally& tally, const DeviceShare& device, std::uint64_t module_bytes) { | ||
| 122 | std::string out; | ||
| 123 | char item[256]; | ||
| 124 | std::snprintf(item, sizeof item, "allocated %.0f MiB =", mib(tally.total())); | ||
| 125 | out += item; | ||
| 126 | bool first = true; | ||
| 127 | for (std::size_t i = 1; i <= kConsumers; ++i) { | ||
| 128 | const std::size_t c = i % kConsumers; // "other" last | ||
| 129 | std::snprintf(item, sizeof item, "%s %s %.0f (%llu)", first ? "" : " +", consumer_name(Consumer(c)), | ||
| 130 | mib(tally.bytes[c]), (unsigned long long)tally.count[c]); | ||
| 131 | out += item; | ||
| 132 | first = false; | ||
| 133 | if (Consumer(c) == Consumer::arena && device.arena) { | ||
| 134 | std::snprintf(item, sizeof item, | ||
| 135 | " [reserved %.0f, bound %.0f, in use %.0f: buffers %.0f, descriptor heaps %.0f, shader code " | ||
| 136 | "%.0f, heaps %.0f]", | ||
| 137 | mib(device.arena_reserved), mib(device.arena_bound), mib(device.arena_in_use), | ||
| 138 | mib(device.arena_use[0]), mib(device.arena_use[1]), mib(device.arena_use[2]), | ||
| 139 | mib(device.arena_use[3])); | ||
| 140 | out += item; | ||
| 141 | } | ||
| 142 | } | ||
| 143 | std::snprintf(item, sizeof item, | ||
| 144 | "; imported %.0f MiB (%llu); not in the total: bindless tables %.0f MiB (own function table), shader " | ||
| 145 | "modules %.0f MiB SPIR-V, pipelines and swapchain images (the driver's)", | ||
| 146 | mib(tally.imported_bytes), (unsigned long long)tally.imported_count, | ||
| 147 | mib(device.bindless_table_bytes), mib(module_bytes)); | ||
| 148 | out += item; | ||
| 149 | return out; | ||
| 150 | } | ||
| 151 | |||
| 152 | } // namespace leonida::memory_breakdown | ||
diff --git a/runtime/src/pipeline_cache_store.h b/runtime/src/pipeline_cache_store.h index 6d519d99b..5b93d93f0 100644 --- a/runtime/src/pipeline_cache_store.h +++ b/runtime/src/pipeline_cache_store.h | |||
| @@ -23,11 +23,18 @@ | |||
| 23 | 23 | ||
| 24 | namespace leonida::pipeline_cache_store { | 24 | namespace leonida::pipeline_cache_store { |
| 25 | 25 | ||
| 26 | // A session cache normally holds what one boot compiled (a few MB to a few hundred MB). The cap is what keeps a | 26 | // A session cache holds what the boots so far compiled: 1.28 GB after a few world frames on NVIDIA and still growing, |
| 27 | // cache seeded from the multi-GB corpus file -- whose data comes back as the whole union -- from being rewritten | 27 | // where a 256 MiB cap kept every later build from being saved. The limit applies to what the session adds: a cache |
| 28 | // at every exit. Past it the previous session file is left alone; raise the limit with | 28 | // seeded from the offline corpus file comes back from the driver as the whole union, so the seed's size is not |
| 29 | // LEONIDA_PIPELINE_CACHE_BYTES when a session really compiles that much. | 29 | // counted (over_save_limit), and a 9.7 GB seed plus a few hundred MB of new builds is still saved. Past the limit the |
| 30 | inline constexpr std::size_t default_save_limit = std::size_t{256} << 20; // 256 MiB | 30 | // previous session file is left alone; raise it with LEONIDA_PIPELINE_CACHE_BYTES when a session really compiles that |
| 31 | // much. | ||
| 32 | inline constexpr std::size_t default_save_limit = std::size_t{4096} << 20; // 4 GiB | ||
| 33 | |||
| 34 | // Whether a cache of `size` bytes, created from an offline seed of `seed` bytes (0: none), adds more than `limit`. | ||
| 35 | inline bool over_save_limit(std::size_t size, std::size_t seed, std::size_t limit) { | ||
| 36 | return size - (seed < size ? seed : size) > limit; | ||
| 37 | } | ||
| 31 | 38 | ||
| 32 | struct SaveLimit { | 39 | struct SaveLimit { |
| 33 | std::size_t bytes = default_save_limit; | 40 | std::size_t bytes = default_save_limit; |
diff --git a/runtime/src/shadow_keep.h b/runtime/src/shadow_keep.h new file mode 100644 index 000000000..a59752b49 --- /dev/null +++ b/runtime/src/shadow_keep.h | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | // What a shadow copy of the title's pages keeps of the GPU's writes (LEONIDA_SHADOW_KEEP, shims/ | ||
| 2 | // d3d12_vulkan_device.cpp ShadowPages). Some pages are copied at every refresh without a sign that the title wrote | ||
| 3 | // them (mapped at two addresses, unguarded, reopened with the 64 KiB block around a written page, write-watched or | ||
| 4 | // pinned): copied whole, their unchanged bytes overwrote what a shader had stored in the copy since. Here the title's | ||
| 5 | // bytes are compared, per 256-byte piece of the title's address space, with a 64-bit sum of those copied last, and | ||
| 6 | // only a piece that differs is copied. Portable: no Windows headers, no Vulkan. | ||
| 7 | #pragma once | ||
| 8 | |||
| 9 | #include <algorithm> | ||
| 10 | #include <cstddef> | ||
| 11 | #include <cstdint> | ||
| 12 | #include <cstring> | ||
| 13 | |||
| 14 | namespace leonida::shadow_keep { | ||
| 15 | |||
| 16 | inline constexpr std::size_t kPiece = 256; | ||
| 17 | |||
| 18 | // The sum of `n` bytes, never 0 (0 is "not known": the piece is copied at its next look). | ||
| 19 | // Four independent lanes over 32 bytes a step, so the multiplies do not wait on each other: about the speed of a | ||
| 20 | // copy (one chained lane read about 3.6 GB/s on an RTX 5080 machine's CPU, a copy about 18 GB/s). | ||
| 21 | inline std::uint64_t sum_of(const std::uint8_t* bytes, std::size_t n) { | ||
| 22 | constexpr std::uint64_t k = 0xff51afd7ed558ccdull; | ||
| 23 | const auto rotl = [](std::uint64_t x, int r) { return (x << r) | (x >> (64 - r)); }; | ||
| 24 | std::uint64_t a0 = 0x9e3779b97f4a7c15ull ^ n, a1 = 0xc2b2ae3d27d4eb4full, a2 = 0x165667b19e3779f9ull, | ||
| 25 | a3 = 0x27d4eb2f165667c5ull; | ||
| 26 | std::size_t i = 0; | ||
| 27 | for (; i + 32 <= n; i += 32) { | ||
| 28 | std::uint64_t v[4]; | ||
| 29 | std::memcpy(v, bytes + i, 32); | ||
| 30 | a0 = rotl(a0 ^ v[0], 31) * k; | ||
| 31 | a1 = rotl(a1 ^ v[1], 31) * k; | ||
| 32 | a2 = rotl(a2 ^ v[2], 31) * k; | ||
| 33 | a3 = rotl(a3 ^ v[3], 31) * k; | ||
| 34 | } | ||
| 35 | for (; i < n; i += 8) { | ||
| 36 | std::uint64_t v = 0; | ||
| 37 | std::memcpy(&v, bytes + i, n - i < 8 ? n - i : 8); | ||
| 38 | a0 = rotl(a0 ^ v, 31) * k; | ||
| 39 | } | ||
| 40 | std::uint64_t h = a0 ^ rotl(a1, 17) ^ rotl(a2, 29) ^ rotl(a3, 47); | ||
| 41 | h ^= h >> 33; | ||
| 42 | h *= 0xc4ceb9fe1a85ec53ull; | ||
| 43 | h ^= h >> 29; | ||
| 44 | return h | 1; // 0: not known | ||
| 45 | } | ||
| 46 | |||
| 47 | // `bytes` holds the title's bytes [va, va + n) as read now. sums[k] is the sum of the piece at base + k * kPiece | ||
| 48 | // (base kPiece-aligned) as last copied. Each piece, cut at kPiece boundaries of the address (the first and last may be | ||
| 49 | // partial), whose bytes differ from its sum takes the new sum and is handed to copy(from, to, source). | ||
| 50 | template <class Copy> | ||
| 51 | void copy_changed(const std::uint8_t* bytes, std::uintptr_t va, std::size_t n, std::uint64_t* sums, | ||
| 52 | std::uintptr_t base, Copy&& copy) { | ||
| 53 | for (std::size_t off = 0; off < n;) { | ||
| 54 | const std::size_t piece = std::min<std::size_t>(n - off, kPiece - ((va + off) & (kPiece - 1))); | ||
| 55 | std::uint64_t& known = sums[(va + off - base) / kPiece]; | ||
| 56 | const std::uint64_t sum = sum_of(bytes + off, piece); | ||
| 57 | if (sum != known) { | ||
| 58 | known = sum; | ||
| 59 | copy(va + off, va + off + piece, bytes + off); | ||
| 60 | } | ||
| 61 | off += piece; | ||
| 62 | } | ||
| 63 | } | ||
| 64 | |||
| 65 | // The pieces over [from, to) are not known any more (the copies were changed another way, as zeroed): each is copied | ||
| 66 | // at its next look. | ||
| 67 | inline void forget(std::uint64_t* sums, std::uintptr_t base, std::uintptr_t from, std::uintptr_t to) { | ||
| 68 | if (from >= to) return; | ||
| 69 | std::fill(sums + (from - base) / kPiece, sums + (to - base + kPiece - 1) / kPiece, std::uint64_t(0)); | ||
| 70 | } | ||
| 71 | |||
| 72 | } // namespace leonida::shadow_keep | ||
diff --git a/runtime/src/title_geometry_watch.h b/runtime/src/title_geometry_watch.h index ca600fb9b..7283eccd8 100644 --- a/runtime/src/title_geometry_watch.h +++ b/runtime/src/title_geometry_watch.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #include "title_page_watch.h" | 3 | #include "title_page_watch.h" |
| 4 | #include <algorithm> | ||
| 4 | #include <array> | 5 | #include <array> |
| 5 | #include <cstdint> | 6 | #include <cstdint> |
| 6 | #include <vector> | 7 | #include <vector> |
| @@ -72,7 +73,22 @@ inline void note_released(std::uintptr_t begin, std::uintptr_t end) { | |||
| 72 | std::lock_guard subscribers_lock(s.subscribers_mutex); | 73 | std::lock_guard subscribers_lock(s.subscribers_mutex); |
| 73 | for (ReleaseQueue* q : s.subscribers) { | 74 | for (ReleaseQueue* q : s.subscribers) { |
| 74 | std::lock_guard lock(q->mutex); | 75 | std::lock_guard lock(q->mutex); |
| 75 | if (q->ranges.size() < 65536) { | 76 | bool room = q->ranges.size() < 65536; |
| 77 | if (!room) { | ||
| 78 | // Full: first the ranges that overlap or touch become one (unmaps report page runs, often neighbours), and | ||
| 79 | // only when that leaves it more than half full does it all become one covering range. | ||
| 80 | std::sort(q->ranges.begin(), q->ranges.end()); | ||
| 81 | std::size_t kept = 0; | ||
| 82 | for (std::size_t i = 1; i < q->ranges.size(); ++i) { | ||
| 83 | if (q->ranges[i].first <= q->ranges[kept].second) | ||
| 84 | q->ranges[kept].second = (std::max)(q->ranges[kept].second, q->ranges[i].second); | ||
| 85 | else | ||
| 86 | q->ranges[++kept] = q->ranges[i]; | ||
| 87 | } | ||
| 88 | q->ranges.resize(kept + 1); | ||
| 89 | room = q->ranges.size() <= 32768; | ||
| 90 | } | ||
| 91 | if (room) { | ||
| 76 | q->ranges.emplace_back(begin, end); | 92 | q->ranges.emplace_back(begin, end); |
| 77 | } else { | 93 | } else { |
| 78 | std::uintptr_t merged_lo = begin; | 94 | std::uintptr_t merged_lo = begin; |
diff --git a/runtime/src/title_texture_memory.h b/runtime/src/title_texture_memory.h index a97e5bed6..ff9f004e0 100644 --- a/runtime/src/title_texture_memory.h +++ b/runtime/src/title_texture_memory.h | |||
| @@ -1,14 +1,17 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | #include <windows.h> | 2 | #include <windows.h> |
| 3 | #include <algorithm> | ||
| 3 | #include <cstddef> | 4 | #include <cstddef> |
| 4 | #include <cstdint> | 5 | #include <cstdint> |
| 5 | #include <limits> | 6 | #include <limits> |
| 6 | 7 | ||
| 8 | #include "title_page_watch.h" | ||
| 9 | |||
| 7 | namespace leonida { | 10 | namespace leonida { |
| 8 | 11 | ||
| 9 | // Keep negative probes until the title changes the map or a writer reports this footprint. With cache_success, | 12 | // Keep negative probes until the title changes the map or a writer reports this footprint. With cache_success, |
| 10 | // positive ones too: a caller that is told of every map change over the footprint (retry) and reads it under a guard | 13 | // positive ones too: a caller that is told of every map change over the footprint (retry or sync_map) and reads it |
| 11 | // (a page gone since faults into a defer) need not walk the pages before every read. | 14 | // under a guard (a page gone since faults into a defer) need not walk the pages before every read. |
| 12 | class TextureReadability { | 15 | class TextureReadability { |
| 13 | public: | 16 | public: |
| 14 | template<class Probe> | 17 | template<class Probe> |
| @@ -16,16 +19,37 @@ public: | |||
| 16 | if (cache_failure && pending_ && !retry_ && generation_ == generation) return false; | 19 | if (cache_failure && pending_ && !retry_ && generation_ == generation) return false; |
| 17 | if (cache_success && probed_ && !pending_ && !retry_ && generation_ == generation) return true; | 20 | if (cache_success && probed_ && !pending_ && !retry_ && generation_ == generation) return true; |
| 18 | generation_ = generation; // snapshot before the probe so a concurrent map change is noticed | 21 | generation_ = generation; // snapshot before the probe so a concurrent map change is noticed |
| 22 | map_generation_ = title_memory_map::generation(); | ||
| 19 | retry_ = false; | 23 | retry_ = false; |
| 20 | probed_ = true; | 24 | probed_ = true; |
| 21 | pending_ = !probe(); | 25 | pending_ = !probe(); |
| 22 | return !pending_; | 26 | return !pending_; |
| 23 | } | 27 | } |
| 28 | // Between refresh passes, check whether the map journal recorded a change over [cpu, cpu + size) since both | ||
| 29 | // this texture's last probe and the last pass's sweep. | ||
| 30 | void sync_map(std::uint64_t pass_generation, std::uintptr_t cpu, std::uint64_t size) { | ||
| 31 | if (!probed_ || retry_) return; | ||
| 32 | const std::uint64_t since = (std::max)(map_generation_, pass_generation); | ||
| 33 | if (title_memory_map::generation() == since) return; | ||
| 34 | const std::uintptr_t end = size > (std::numeric_limits<std::uintptr_t>::max)() - cpu | ||
| 35 | ? (std::numeric_limits<std::uintptr_t>::max)() | ||
| 36 | : cpu + static_cast<std::uintptr_t>(size); | ||
| 37 | std::uint64_t now = 0; | ||
| 38 | bool overlapped = false; | ||
| 39 | if (!title_memory_map::changes_since( | ||
| 40 | since, now, cpu, end, [&](std::uintptr_t, std::uintptr_t) { overlapped = true; }) || | ||
| 41 | overlapped) { | ||
| 42 | retry_ = true; | ||
| 43 | } else { | ||
| 44 | map_generation_ = now; | ||
| 45 | } | ||
| 46 | } | ||
| 24 | void defer() { pending_ = true; } // mapping disappeared between the probe and the read | 47 | void defer() { pending_ = true; } // mapping disappeared between the probe and the read |
| 25 | void retry() { retry_ = true; } | 48 | void retry() { retry_ = true; } |
| 26 | bool pending() const { return pending_; } | 49 | bool pending() const { return pending_; } |
| 27 | private: | 50 | private: |
| 28 | std::uint64_t generation_ = 0; | 51 | std::uint64_t generation_ = 0; |
| 52 | std::uint64_t map_generation_ = 0; | ||
| 29 | bool pending_ = false, retry_ = false, probed_ = false; | 53 | bool pending_ = false, retry_ = false, probed_ = false; |
| 30 | }; | 54 | }; |
| 31 | 55 | ||
diff --git a/runtime/src/title_va_alias.h b/runtime/src/title_va_alias.h index f3fd2b410..c49880d92 100644 --- a/runtime/src/title_va_alias.h +++ b/runtime/src/title_va_alias.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | // that makes a GPU copy for an address in the title's memory that has none yet, and a scanner that rewrites the | 16 | // that makes a GPU copy for an address in the title's memory that has none yet, and a scanner that rewrites the |
| 17 | // buffer V#s of a bound descriptor table before a submission. Without hooks the table only translates what was | 17 | // buffer V#s of a bound descriptor table before a submission. Without hooks the table only translates what was |
| 18 | // added to it, so it is tested without a GPU (title_va_alias_test). | 18 | // added to it, so it is tested without a GPU (title_va_alias_test). |
| 19 | #include "descriptor_range_changes.h" | ||
| 20 | #include <algorithm> | 19 | #include <algorithm> |
| 21 | #include "buffer_va_index.h" | 20 | #include "buffer_va_index.h" |
| 22 | 21 | ||
| @@ -45,6 +44,9 @@ public: | |||
| 45 | // memory (an arena VA, a buffer of the layer's). | 44 | // memory (an arena VA, a buffer of the layer's). |
| 46 | using Resolver = bool (*)(void* context, std::uint64_t va, std::uint64_t bytes, std::uint64_t& shader_va); | 45 | using Resolver = bool (*)(void* context, std::uint64_t va, std::uint64_t bytes, std::uint64_t& shader_va); |
| 47 | using TableScanner = void (*)(void* context, std::uint64_t table_va, std::uint32_t descriptors); | 46 | using TableScanner = void (*)(void* context, std::uint64_t table_va, std::uint32_t descriptors); |
| 47 | // Every binding resolved to a copy of the title's memory: [va, va + bytes) as they are reached at (the device keeps | ||
| 48 | // them for the copy back after the submission, see DeviceState::write_back_titles). | ||
| 49 | using Noter = void (*)(void* context, std::uint64_t va, std::uint64_t bytes); | ||
| 48 | 50 | ||
| 49 | // [title_va, title_va + bytes) is reached as [shader_va, shader_va + bytes). A range that overlaps a live one | 51 | // [title_va, title_va + bytes) is reached as [shader_va, shader_va + bytes). A range that overlaps a live one |
| 50 | // replaces it (the title has placed a new buffer over pages it released). False for an empty or wrapping range. | 52 | // replaces it (the title has placed a new buffer over pages it released). False for an empty or wrapping range. |
| @@ -52,7 +54,7 @@ public: | |||
| 52 | if (!bytes || title_va > UINT64_MAX - bytes) return false; | 54 | if (!bytes || title_va > UINT64_MAX - bytes) return false; |
| 53 | std::unique_lock lock(mutex_); | 55 | std::unique_lock lock(mutex_); |
| 54 | erase_overlapping(title_va, title_va + bytes); | 56 | erase_overlapping(title_va, title_va + bytes); |
| 55 | changes_.record(title_va, bytes); | 57 | notify(Change::added, title_va, bytes, shader_va); |
| 56 | ranges_[title_va] = {title_va + bytes, shader_va}; | 58 | ranges_[title_va] = {title_va + bytes, shader_va}; |
| 57 | by_shader_.insert(shader_va, bytes, title_va); | 59 | by_shader_.insert(shader_va, bytes, title_va); |
| 58 | count_.store(ranges_.size(), std::memory_order_release); | 60 | count_.store(ranges_.size(), std::memory_order_release); |
| @@ -74,11 +76,10 @@ public: | |||
| 74 | std::unique_lock lock(mutex_); | 76 | std::unique_lock lock(mutex_); |
| 75 | const auto it = ranges_.find(title_va); | 77 | const auto it = ranges_.find(title_va); |
| 76 | if (it != ranges_.end() && it->second.shader_va == shader_va) { | 78 | if (it != ranges_.end() && it->second.shader_va == shader_va) { |
| 77 | changes_.record(it->first, it->second.end - it->first); | 79 | notify(Change::removed, it->first, it->second.end - it->first, shader_va); |
| 78 | by_shader_.erase(shader_va, title_va); | 80 | by_shader_.erase(shader_va, title_va); |
| 79 | note_removed(it->second.shader_va, it->second.end - it->first); | 81 | note_removed(it->second.shader_va, it->second.end - it->first); |
| 80 | ranges_.erase(it); | 82 | ranges_.erase(it); |
| 81 | invalidations_.fetch_add(1, std::memory_order_release); | ||
| 82 | generation_.fetch_add(1, std::memory_order_release); | 83 | generation_.fetch_add(1, std::memory_order_release); |
| 83 | } | 84 | } |
| 84 | count_.store(ranges_.size(), std::memory_order_release); | 85 | count_.store(ranges_.size(), std::memory_order_release); |
| @@ -86,14 +87,13 @@ public: | |||
| 86 | 87 | ||
| 87 | // A copy that answered for [title_va, title_va + bytes) at shader_va went, whether or not it had a range here (a | 88 | // A copy that answered for [title_va, title_va + bytes) at shader_va went, whether or not it had a range here (a |
| 88 | // geometry copy that vsharp_address or a placed view reached through GeometryViews directly has none): what was | 89 | // geometry copy that vsharp_address or a placed view reached through GeometryViews directly has none): what was |
| 89 | // translated through it is stale. Recorded as a removal would be: the console heaps translate the slots in the | 90 | // translated through it is stale. Told as a removal is: the console heaps fix the slots that resolved through |
| 90 | // range again (invalidations, changed_ranges), and the GPU key table drops answers into shader_va (take_removed). | 91 | // either side of it again (the listeners), and the GPU key table drops answers into shader_va (take_removed). |
| 91 | void forget_copy(std::uint64_t title_va, std::uint64_t bytes, std::uint64_t shader_va) { | 92 | void forget_copy(std::uint64_t title_va, std::uint64_t bytes, std::uint64_t shader_va) { |
| 92 | if (!bytes) return; | 93 | if (!bytes) return; |
| 93 | std::unique_lock lock(mutex_); | 94 | std::unique_lock lock(mutex_); |
| 94 | changes_.record(title_va, bytes); | 95 | notify(Change::removed, title_va, bytes, shader_va); |
| 95 | note_removed(shader_va, bytes); | 96 | note_removed(shader_va, bytes); |
| 96 | invalidations_.fetch_add(1, std::memory_order_release); | ||
| 97 | generation_.fetch_add(1, std::memory_order_release); | 97 | generation_.fetch_add(1, std::memory_order_release); |
| 98 | } | 98 | } |
| 99 | 99 | ||
| @@ -180,6 +180,7 @@ public: | |||
| 180 | std::uint64_t to = shader_va(va); | 180 | std::uint64_t to = shader_va(va); |
| 181 | if (to != va) { | 181 | if (to != va) { |
| 182 | translated_[kind].fetch_add(1, std::memory_order_relaxed); | 182 | translated_[kind].fetch_add(1, std::memory_order_relaxed); |
| 183 | note_reached(va, bytes); | ||
| 183 | return to; | 184 | return to; |
| 184 | } | 185 | } |
| 185 | Resolver resolver; | 186 | Resolver resolver; |
| @@ -191,6 +192,7 @@ public: | |||
| 191 | } | 192 | } |
| 192 | if (!resolver || !resolver(context, va, bytes, to)) return va; | 193 | if (!resolver || !resolver(context, va, bytes, to)) return va; |
| 193 | (to != va ? translated_ : untranslated_)[kind].fetch_add(1, std::memory_order_relaxed); | 194 | (to != va ? translated_ : untranslated_)[kind].fetch_add(1, std::memory_order_relaxed); |
| 195 | if (to != va) note_reached(va, bytes); | ||
| 194 | return to; | 196 | return to; |
| 195 | } | 197 | } |
| 196 | 198 | ||
| @@ -200,6 +202,18 @@ public: | |||
| 200 | if (va && shader_va(va) != va) untranslated_[kind].fetch_add(1, std::memory_order_relaxed); | 202 | if (va && shader_va(va) != va) untranslated_[kind].fetch_add(1, std::memory_order_relaxed); |
| 201 | } | 203 | } |
| 202 | 204 | ||
| 205 | // [va, va + bytes) is reached as a copy of the title's memory: the device keeps it for the copy back. | ||
| 206 | void note_reached(std::uint64_t va, std::uint64_t bytes) { | ||
| 207 | Noter noter; | ||
| 208 | void* context; | ||
| 209 | { | ||
| 210 | std::lock_guard lock(hook_mutex_); | ||
| 211 | noter = noter_; | ||
| 212 | context = hook_context_; | ||
| 213 | } | ||
| 214 | if (noter) noter(context, va, bytes); | ||
| 215 | } | ||
| 216 | |||
| 203 | // Before a submission: the device rewrites the buffer V#s of the `descriptors` slots the root signature declares | 217 | // Before a submission: the device rewrites the buffer V#s of the `descriptors` slots the root signature declares |
| 204 | // for the table at `table_va` (a console VA in one of its shader-visible CBV/SRV/UAV heaps). | 218 | // for the table at `table_va` (a console VA in one of its shader-visible CBV/SRV/UAV heaps). |
| 205 | void scan_table(std::uint64_t table_va, std::uint32_t descriptors) { | 219 | void scan_table(std::uint64_t table_va, std::uint32_t descriptors) { |
| @@ -242,6 +256,7 @@ public: | |||
| 242 | } | 256 | } |
| 243 | memory_[begin] = end; | 257 | memory_[begin] = end; |
| 244 | memory_generation_.fetch_add(1, std::memory_order_release); | 258 | memory_generation_.fetch_add(1, std::memory_order_release); |
| 259 | notify(Change::memory_added, base, bytes, 0); | ||
| 245 | } | 260 | } |
| 246 | void remove_title_memory(std::uint64_t base) { | 261 | void remove_title_memory(std::uint64_t base) { |
| 247 | std::unique_lock lock(memory_mutex_); | 262 | std::unique_lock lock(memory_mutex_); |
| @@ -344,16 +359,35 @@ public: | |||
| 344 | hook_context_ = nullptr; | 359 | hook_context_ = nullptr; |
| 345 | resolver_ = nullptr; | 360 | resolver_ = nullptr; |
| 346 | scanner_ = nullptr; | 361 | scanner_ = nullptr; |
| 362 | noter_ = nullptr; | ||
| 347 | } | 363 | } |
| 348 | // The resolver alone, for a device that scans its descriptor tables itself. | 364 | // The resolver alone, for a device that scans its descriptor tables itself. |
| 349 | void set_resolver(void* context, Resolver resolver) { set_hooks(context, resolver, nullptr); } | 365 | void set_resolver(void* context, Resolver resolver) { set_hooks(context, resolver, nullptr); } |
| 350 | void clear_resolver(void* context) { clear_hooks(context); } | 366 | void clear_resolver(void* context) { clear_hooks(context); } |
| 367 | // Set after set_hooks, so the hook (and its context) stays the device's: what reached a copy of the title's memory. | ||
| 368 | void set_noter(Noter noter) { | ||
| 369 | std::lock_guard lock(hook_mutex_); | ||
| 370 | noter_ = noter; | ||
| 371 | } | ||
| 351 | 372 | ||
| 352 | std::size_t size() const { return count_.load(std::memory_order_acquire); } | 373 | std::size_t size() const { return count_.load(std::memory_order_acquire); } |
| 353 | std::uint64_t invalidations() const { return invalidations_.load(std::memory_order_acquire); } | 374 | |
| 354 | bool changed_ranges(uint64_t& cursor, DescriptorRanges& ranges) const { | 375 | // What changed, told as it happens to every listener (a device whose console heaps record what each descriptor |
| 355 | std::shared_lock lock(mutex_); | 376 | // resolved to, src/console_heap_slot_records.h): [title_va, title_va + bytes) reached at shader_va was added, or |
| 356 | return changes_.read(cursor, ranges); | 377 | // was removed or replaced (remove, an overlapping add, forget_copy: what resolved through it is stale), or title |
| 378 | // memory was added (shader_va 0: a copy may now be made for an address that had none). Called with the table's | ||
| 379 | // lock held, so a listener only records and never calls back into the table. remove_listener returns once no call | ||
| 380 | // to that listener is in progress. | ||
| 381 | enum class Change : unsigned { added, removed, memory_added }; | ||
| 382 | using Listener = void (*)(void* context, Change change, std::uint64_t title_va, std::uint64_t bytes, | ||
| 383 | std::uint64_t shader_va); | ||
| 384 | void add_listener(void* context, Listener listener) { | ||
| 385 | std::unique_lock lock(listener_mutex_); | ||
| 386 | listeners_.emplace_back(context, listener); | ||
| 387 | } | ||
| 388 | void remove_listener(void* context) { | ||
| 389 | std::unique_lock lock(listener_mutex_); | ||
| 390 | std::erase_if(listeners_, [context](const auto& l) { return l.first == context; }); | ||
| 357 | } | 391 | } |
| 358 | // Bumped by every add and every removal: a copy of mappings() is current while it has not moved. | 392 | // Bumped by every add and every removal: a copy of mappings() is current while it has not moved. |
| 359 | std::uint64_t generation() const { return generation_.load(std::memory_order_acquire); } | 393 | std::uint64_t generation() const { return generation_.load(std::memory_order_acquire); } |
| @@ -395,9 +429,8 @@ private: | |||
| 395 | auto previous = std::prev(it); | 429 | auto previous = std::prev(it); |
| 396 | if (previous->second.end > begin) it = previous; | 430 | if (previous->second.end > begin) it = previous; |
| 397 | } | 431 | } |
| 398 | if (it != ranges_.end() && it->first < end) invalidations_.fetch_add(1, std::memory_order_release); | ||
| 399 | while (it != ranges_.end() && it->first < end) { | 432 | while (it != ranges_.end() && it->first < end) { |
| 400 | changes_.record(it->first, it->second.end - it->first); | 433 | notify(Change::removed, it->first, it->second.end - it->first, it->second.shader_va); |
| 401 | by_shader_.erase(it->second.shader_va, it->first); | 434 | by_shader_.erase(it->second.shader_va, it->first); |
| 402 | note_removed(it->second.shader_va, it->second.end - it->first); | 435 | note_removed(it->second.shader_va, it->second.end - it->first); |
| 403 | it = ranges_.erase(it); | 436 | it = ranges_.erase(it); |
| @@ -409,12 +442,17 @@ private: | |||
| 409 | if (record_removals_.load(std::memory_order_relaxed)) removed_.push_back({shader_va, bytes}); | 442 | if (record_removals_.load(std::memory_order_relaxed)) removed_.push_back({shader_va, bytes}); |
| 410 | } | 443 | } |
| 411 | 444 | ||
| 412 | DescriptorRangeChanges changes_; | 445 | void notify(Change change, std::uint64_t title_va, std::uint64_t bytes, std::uint64_t shader_va) const { |
| 446 | std::shared_lock lock(listener_mutex_); | ||
| 447 | for (const auto& [context, listener] : listeners_) listener(context, change, title_va, bytes, shader_va); | ||
| 448 | } | ||
| 449 | |||
| 450 | mutable std::shared_mutex listener_mutex_; // taken inside mutex_ and memory_mutex_, never the other way | ||
| 451 | std::vector<std::pair<void*, Listener>> listeners_; | ||
| 413 | mutable std::shared_mutex mutex_; | 452 | mutable std::shared_mutex mutex_; |
| 414 | std::map<std::uint64_t, Range> ranges_; // by title VA | 453 | std::map<std::uint64_t, Range> ranges_; // by title VA |
| 415 | BufferVaIndex<std::uint64_t> by_shader_; // the same ranges by shader VA (id: the title VA); copies may overlap | 454 | BufferVaIndex<std::uint64_t> by_shader_; // the same ranges by shader VA (id: the title VA); copies may overlap |
| 416 | std::atomic<std::size_t> count_{0}; | 455 | std::atomic<std::size_t> count_{0}; |
| 417 | std::atomic<std::uint64_t> invalidations_{}; | ||
| 418 | std::atomic<std::uint64_t> generation_{}; | 456 | std::atomic<std::uint64_t> generation_{}; |
| 419 | std::atomic<bool> record_removals_{false}; | 457 | std::atomic<bool> record_removals_{false}; |
| 420 | std::vector<std::pair<std::uint64_t, std::uint64_t>> removed_; // (shader VA, bytes), when recorded | 458 | std::vector<std::pair<std::uint64_t, std::uint64_t>> removed_; // (shader VA, bytes), when recorded |
| @@ -424,6 +462,7 @@ private: | |||
| 424 | BufferMaker maker_ = nullptr; | 462 | BufferMaker maker_ = nullptr; |
| 425 | Resolver resolver_ = nullptr; | 463 | Resolver resolver_ = nullptr; |
| 426 | TableScanner scanner_ = nullptr; | 464 | TableScanner scanner_ = nullptr; |
| 465 | Noter noter_ = nullptr; | ||
| 427 | void* source_context_ = nullptr; | 466 | void* source_context_ = nullptr; |
| 428 | DescriptorSource source_ = nullptr; | 467 | DescriptorSource source_ = nullptr; |
| 429 | std::atomic<std::uint64_t> pulled_{0}; | 468 | std::atomic<std::uint64_t> pulled_{0}; |
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h index 9fdb29640..bf970aa28 100644 --- a/runtime/src/vulkan_backend.h +++ b/runtime/src/vulkan_backend.h | |||
| @@ -1807,6 +1807,7 @@ public: | |||
| 1807 | XdxrTriangles g; | 1807 | XdxrTriangles g; |
| 1808 | g.vertices = t.vertex_va ? base + t.vertex_va : 0; | 1808 | g.vertices = t.vertex_va ? base + t.vertex_va : 0; |
| 1809 | g.vertex_stride = t.vertex_stride; | 1809 | g.vertex_stride = t.vertex_stride; |
| 1810 | g.vertex_count = t.vertex_count; | ||
| 1810 | g.xy_only = t.vertex_format == VK_FORMAT_R32G32_SFLOAT; | 1811 | g.xy_only = t.vertex_format == VK_FORMAT_R32G32_SFLOAT; |
| 1811 | g.indices = t.index_type && t.index_va ? base + t.index_va : 0; | 1812 | g.indices = t.index_type && t.index_va ? base + t.index_va : 0; |
| 1812 | g.index_type = t.index_type; | 1813 | g.index_type = t.index_type; |
diff --git a/runtime/src/vulkan_bindless.h b/runtime/src/vulkan_bindless.h index da6d680f0..fc1b2f555 100644 --- a/runtime/src/vulkan_bindless.h +++ b/runtime/src/vulkan_bindless.h | |||
| @@ -239,14 +239,15 @@ struct SetLayout { | |||
| 239 | SetLayout& operator=(const SetLayout&) = delete; | 239 | SetLayout& operator=(const SetLayout&) = delete; |
| 240 | }; | 240 | }; |
| 241 | 241 | ||
| 242 | // What size_bindings() grows to where the device's limits allow. At 32-64 bytes a descriptor the whole set is then | 242 | // What size_bindings() grows the sampled array of every single-sample dimension (2D, 2D array, 3D and 1D) to where |
| 243 | // 5-10 MiB with 153697 descriptors when all MS classes and array bindings reach their limits (an RTX 5070). | 243 | // the device's limits allow: one size for all of them. Which dimensions its textures have is the title's choice, and |
| 244 | inline constexpr std::uint32_t max_2d_images = 65536; | 244 | // an image keeps its index (one for each distinct T# of it) for as long as the texture lives, so no dimension gets |
| 245 | // The other single-sample dimensions: a title streams far more cube maps and texture arrays (and 1D lookup | 245 | // less room than another: a world run kept 4090 live 1D textures, the whole of the 4096 1D indices the set once |
| 246 | // textures) than the 1024 and 256 of the defaults, each distinct T# of one taking its own index. | 246 | // stopped at, while the 2D arrays had room to spare. The bound is the set's memory, not the device's descriptor |
| 247 | inline constexpr std::uint32_t max_2d_array_images = 16384; | 247 | // limits (8388606 sampled images on RADV): every element of every array is in each generation's descriptor pool, |
| 248 | inline constexpr std::uint32_t max_3d_images = 4096; | 248 | // used or not. At 32-64 bytes a descriptor the whole set is 10-20 MiB with 325729 descriptors when all MS classes |
| 249 | inline constexpr std::uint32_t max_1d_images = 4096; | 249 | // and arrays reach their limits (an RTX 5070). |
| 250 | inline constexpr std::uint32_t max_images = 65536; | ||
| 250 | inline constexpr std::uint32_t max_storage_indices = 4096; // in each storage array, at most its dimension's images | 251 | inline constexpr std::uint32_t max_storage_indices = 4096; // in each storage array, at most its dimension's images |
| 251 | // A full D3D12 shader-visible sampler heap (2048) and room for literal and static S#s, within what the device can | 252 | // A full D3D12 shader-visible sampler heap (2048) and room for literal and static S#s, within what the device can |
| 252 | // create (maxSamplerAllocationCount, at least 4000) less the samplers that are not in the set. | 253 | // create (maxSamplerAllocationCount, at least 4000) less the samplers that are not in the set. |
| @@ -261,7 +262,8 @@ inline constexpr std::uint32_t growth_headroom = 64; | |||
| 261 | // standalone samplers do not, though they count in an update-after-bind pool. | 262 | // standalone samplers do not, though they count in an update-after-bind pool. |
| 262 | // 1. The default counts, or as much of them as the device holds: samplers, then storage, then 2D images. | 263 | // 1. The default counts, or as much of them as the device holds: samplers, then storage, then 2D images. |
| 263 | // 2. The MS pairs that fit beside them (limit_ms_bindings, which may turn classes off). | 264 | // 2. The MS pairs that fit beside them (limit_ms_bindings, which may turn classes off). |
| 264 | // 3. Growth towards the maximums above, in the same order, then the 2D-array, 3D and 1D images, within | 265 | // 3. Growth towards the maximums above, in the same order, then the 2D-array, 3D and 1D images together (one |
| 266 | // count for the three, so a device whose limits stop growth short of max_images favours none of them), within | ||
| 265 | // maxPerSetDescriptors. That limit only says what is sure to work (vkGetDescriptorSetLayoutSupport may allow | 267 | // maxPerSetDescriptors. That limit only says what is sure to work (vkGetDescriptorSetLayoutSupport may allow |
| 266 | // more), so it never shrinks step 1. | 268 | // more), so it never shrinks step 1. |
| 267 | // A storage array holds the smaller of the storage count and its dimension's sampled count: add_image never | 269 | // A storage array holds the smaller of the storage count and its dimension's sampled count: add_image never |
| @@ -363,11 +365,23 @@ inline bool size_bindings(BindlessFeatures& features, const VkPhysicalDeviceLimi | |||
| 363 | const std::uint32_t creatable = | 365 | const std::uint32_t creatable = |
| 364 | limits.maxSamplerAllocationCount - std::min(limits.maxSamplerAllocationCount, reserved_samplers); | 366 | limits.maxSamplerAllocationCount - std::min(limits.maxSamplerAllocationCount, reserved_samplers); |
| 365 | grow(samplers, std::max(samplers, std::min(max_samplers, creatable)), growth_headroom, set_limit); | 367 | grow(samplers, std::max(samplers, std::min(max_samplers, creatable)), growth_headroom, set_limit); |
| 366 | grow(images, std::max(images, max_2d_images), growth_headroom, set_limit); | 368 | grow(images, std::max(images, max_images), growth_headroom, set_limit); |
| 367 | grow(storage, std::max(storage, max_storage_indices), growth_headroom, set_limit); | 369 | grow(storage, std::max(storage, max_storage_indices), growth_headroom, set_limit); |
| 368 | grow(arrays, std::max(arrays, max_2d_array_images), growth_headroom, set_limit); | 370 | // The other three dimensions grow as one: each gets the larger of its count so far and the shared one. |
| 369 | grow(volumes, std::max(volumes, max_3d_images), growth_headroom, set_limit); | 371 | const std::uint32_t arrays_before = arrays, volumes_before = volumes, lines_before = lines; |
| 370 | grow(lines, std::max(lines, max_1d_images), growth_headroom, set_limit); | 372 | std::uint32_t together = 0; |
| 373 | const auto set_together = [&](std::uint32_t n) { | ||
| 374 | arrays = std::max(arrays_before, n); | ||
| 375 | volumes = std::max(volumes_before, n); | ||
| 376 | lines = std::max(lines_before, n); | ||
| 377 | }; | ||
| 378 | for (std::uint32_t high = max_images; together < high;) { | ||
| 379 | const std::uint32_t n = together + (high - together + 1) / 2; | ||
| 380 | set_together(n); | ||
| 381 | if (fits(growth_headroom, set_limit)) together = n; | ||
| 382 | else high = n - 1; | ||
| 383 | } | ||
| 384 | set_together(together); | ||
| 371 | apply(true); | 385 | apply(true); |
| 372 | return full; | 386 | return full; |
| 373 | } | 387 | } |
| @@ -484,7 +498,7 @@ public: | |||
| 484 | StorageViews storage{}; | 498 | StorageViews storage{}; |
| 485 | }; | 499 | }; |
| 486 | 500 | ||
| 487 | // Gives an image an index in its dimension's bindings: 0 when the dimension is full. `sampled` goes to the | 501 | // Gives an image an index in its dimension's bindings: 0 when the dimension is full (image_refusal says why). `sampled` goes to the |
| 488 | // sampled array in `sampled_layout` (the layout the image is in when shaders read it); the storage views go to | 502 | // sampled array in `sampled_layout` (the layout the image is in when shaders read it); the storage views go to |
| 489 | // the storage arrays in GENERAL. For MS views, sampled_class selects the float, uint or sint sampled array. | 503 | // the storage arrays in GENERAL. For MS views, sampled_class selects the float, uint or sint sampled array. |
| 490 | // `mirror` adds the same index in the 2D arrays (a 2D-array or cube image's slice 0): the slot must then be free | 504 | // `mirror` adds the same index in the 2D arrays (a 2D-array or cube image's slice 0): the slot must then be free |
| @@ -553,6 +567,23 @@ public: | |||
| 553 | return index; | 567 | return index; |
| 554 | } | 568 | } |
| 555 | 569 | ||
| 570 | // Why add_image returned 0 for an image of `dimension` (with storage views when `stores`; sampled_class for the | ||
| 571 | // MS dimensions): the set has no array for it; every index of its dimension is taken (array_full: in use, or | ||
| 572 | // removed and held until the next flush that brings the table up to date); or only the storage arrays' shorter | ||
| 573 | // range is, which an image with storage views needs an index in (storage_full). | ||
| 574 | enum class ImageRefusal { no_array, array_full, storage_full }; | ||
| 575 | ImageRefusal image_refusal(ImageDimension dimension, bool stores, std::uint32_t sampled_class = 0) const { | ||
| 576 | if (!stores && bindless::sampled_binding(dimension) == bindless::no_binding) return ImageRefusal::no_array; | ||
| 577 | if (bindless::multisampled(dimension) && (stores || !supports_ms_class(sampled_class))) | ||
| 578 | return ImageRefusal::no_array; | ||
| 579 | const auto& used = image_used_[std::uint32_t(dimension)]; | ||
| 580 | const std::size_t low_end = std::min<std::size_t>(used.size(), storage_capacity(dimension)); | ||
| 581 | const auto storage_end = used.begin() + std::ptrdiff_t(low_end); | ||
| 582 | const bool storage_free = low_end > 1 && std::find(used.begin() + 1, storage_end, std::uint8_t(0)) != storage_end; | ||
| 583 | return stores && !storage_free && free_images(dimension) ? ImageRefusal::storage_full | ||
| 584 | : ImageRefusal::array_full; | ||
| 585 | } | ||
| 586 | |||
| 556 | // New views or a new layout for an index add_image returned (a texture's state changed, say). `mirror` is | 587 | // New views or a new layout for an index add_image returned (a texture's state changed, say). `mirror` is |
| 557 | // refreshed too when the image was added with one (mirror_of says whose 2D slot it is). The slot bookkeeping | 588 | // refreshed too when the image was added with one (mirror_of says whose 2D slot it is). The slot bookkeeping |
| 558 | // follows what was written, and `kind_out`, when given, receives the index's kind word afterwards for a | 589 | // follows what was written, and `kind_out`, when given, receives the index's kind word afterwards for a |
diff --git a/runtime/src/vulkan_indirect_clamp.h b/runtime/src/vulkan_indirect_clamp.h index 1822d9614..fcf5cd76b 100644 --- a/runtime/src/vulkan_indirect_clamp.h +++ b/runtime/src/vulkan_indirect_clamp.h | |||
| @@ -5,9 +5,10 @@ | |||
| 5 | // or garbage record makes a dispatch of billions of groups or a draw of four billion vertices run until the host | 5 | // or garbage record makes a dispatch of billions of groups or a draw of four billion vertices run until the host |
| 6 | // resets the display driver (TDR, device loss). So, just before the indirect command, one tiny compute pass copies | 6 | // resets the display driver (TDR, device loss). So, just before the indirect command, one tiny compute pass copies |
| 7 | // the active records into device-local scratch with their values bounded - 2^24 vertices or indices, 2^26 vertex | 7 | // the active records into device-local scratch with their values bounded - 2^24 vertices or indices, 2^26 vertex |
| 8 | // instances, 65 535 groups per dimension, 2^20 groups per dispatch, and a 2^27-unit work budget per command | 8 | // instances, the device's maxComputeWorkGroupCount per dimension (65 535 for a mesh dispatch), 2^20 groups per |
| 9 | // list (the shader is indirect_clamp.comp) - and the indirect command reads that scratch. The application's argument | 9 | // dispatch, and a 2^27-unit work budget per command list (the shader is indirect_clamp.comp) - and the indirect |
| 10 | // and count buffers are left untouched, so values within the limits replay bit-identically. | 10 | // command reads that scratch. The application's argument and count buffers are left untouched, so values within the |
| 11 | // limits replay bit-identically. | ||
| 11 | // | 12 | // |
| 12 | // One pass covers all four argument kinds the layer can emit (draw, draw indexed, dispatch, mesh dispatch) and the | 13 | // One pass covers all four argument kinds the layer can emit (draw, draw indexed, dispatch, mesh dispatch) and the |
| 13 | // counted variants, whose count is clamped to max_command_count as well (a *Count draw then reads a count the scratch | 14 | // counted variants, whose count is clamped to max_command_count as well (a *Count draw then reads a count the scratch |
| @@ -61,11 +62,27 @@ inline constexpr std::uint32_t indirect_clamp_mesh = 3; | |||
| 61 | 62 | ||
| 62 | // What the pass bounds, as indirect_clamp.comp states them. | 63 | // What the pass bounds, as indirect_clamp.comp states them. |
| 63 | inline constexpr std::uint32_t indirect_clamp_max_vertices = 1u << 24; | 64 | inline constexpr std::uint32_t indirect_clamp_max_vertices = 1u << 24; |
| 65 | // A draw record of this many vertices or indices an instance, or more, is unfilled: it runs empty and charges nothing | ||
| 66 | // (RT-INDIRECT-DRAW-UNFILLED-COUNT), so garbage counts cannot use up the list budget ahead of the real draws. | ||
| 67 | inline constexpr std::uint32_t indirect_clamp_unfilled_draw = 1u << 23; | ||
| 64 | inline constexpr std::uint32_t indirect_clamp_max_vertex_instances = 1u << 26; | 68 | inline constexpr std::uint32_t indirect_clamp_max_vertex_instances = 1u << 26; |
| 69 | // Groups in a mesh dispatch's x. A compute dispatch is bounded by the device's maxComputeWorkGroupCount instead | ||
| 70 | // (indirect_clamp_dispatch_limit), which on NVIDIA, for one, is far above Vulkan's guaranteed 65 535 in x. | ||
| 65 | inline constexpr std::uint32_t indirect_clamp_max_group_dimension = 65535u; | 71 | inline constexpr std::uint32_t indirect_clamp_max_group_dimension = 65535u; |
| 66 | inline constexpr std::uint32_t indirect_clamp_max_groups = 1u << 20; | 72 | inline constexpr std::uint32_t indirect_clamp_max_groups = 1u << 20; |
| 73 | // The x a dispatch record was cut at before the device's limit applied, which the dispatch counters compare with. | ||
| 74 | inline constexpr std::uint32_t indirect_clamp_narrow_groups = 65535u; | ||
| 67 | inline constexpr std::uint32_t indirect_clamp_budget = 1u << 27; | 75 | inline constexpr std::uint32_t indirect_clamp_budget = 1u << 27; |
| 68 | 76 | ||
| 77 | // What the pass lets a dispatch record ask for in x, y and z: the device's own maxComputeWorkGroupCount. A fixed | ||
| 78 | // 65 535 cut a dispatch of more groups in x short on a device that runs them, and the groups past the cut never wrote | ||
| 79 | // their output (blocky patches; the idea is from codec-d/cool_fox docs/findings.md). A limit the device reports as 0 | ||
| 80 | // is taken as Vulkan's guaranteed minimum. | ||
| 81 | inline std::uint32_t indirect_clamp_dispatch_limit(const VkPhysicalDeviceLimits& limits, int axis) { | ||
| 82 | const std::uint32_t limit = limits.maxComputeWorkGroupCount[axis]; | ||
| 83 | return limit ? limit : indirect_clamp_max_group_dimension; | ||
| 84 | } | ||
| 85 | |||
| 69 | // The largest scratch allocation accepted for one ExecuteIndirect call. | 86 | // The largest scratch allocation accepted for one ExecuteIndirect call. |
| 70 | inline constexpr std::uint64_t indirect_clamp_max_scratch_bytes = std::uint64_t(64) << 20; | 87 | inline constexpr std::uint64_t indirect_clamp_max_scratch_bytes = std::uint64_t(64) << 20; |
| 71 | 88 | ||
| @@ -167,6 +184,12 @@ public: | |||
| 167 | std::uint64_t mesh_yz_records = 0; | 184 | std::uint64_t mesh_yz_records = 0; |
| 168 | std::uint32_t mesh_max_y = 0; | 185 | std::uint32_t mesh_max_y = 0; |
| 169 | std::uint32_t mesh_max_z = 0; | 186 | std::uint32_t mesh_max_z = 0; |
| 187 | // Dispatch records after the clamp: all of them, those that run wider than 65 535 groups in x (the old cut), | ||
| 188 | // the widest x that runs, and those cut at the device's own limits. | ||
| 189 | std::uint64_t dispatch_records = 0; | ||
| 190 | std::uint64_t dispatch_wide = 0; | ||
| 191 | std::uint32_t dispatch_widest = 0; | ||
| 192 | std::uint64_t dispatch_cut = 0; | ||
| 170 | }; | 193 | }; |
| 171 | 194 | ||
| 172 | // One submission's clamp state: the counter slots its calls claimed, read and released together once that | 195 | // One submission's clamp state: the counter slots its calls claimed, read and released together once that |
| @@ -232,7 +255,7 @@ private: | |||
| 232 | VkDeviceMemory memory = VK_NULL_HANDLE; | 255 | VkDeviceMemory memory = VK_NULL_HANDLE; |
| 233 | std::uint8_t* host = nullptr; | 256 | std::uint8_t* host = nullptr; |
| 234 | std::uint32_t slots = 0; | 257 | std::uint32_t slots = 0; |
| 235 | static constexpr std::uint32_t slot_bytes = 64; // 48 bytes of counters (words 4-7 unused), 16 of padding | 258 | static constexpr std::uint32_t slot_bytes = 64; // 16 words of counters (words 4-7 unused) |
| 236 | }; | 259 | }; |
| 237 | static constexpr std::uint32_t slots_per_area = 64; | 260 | static constexpr std::uint32_t slots_per_area = 64; |
| 238 | // 4,096 slots (128 KiB of host memory): enough for a submission's ExecuteIndirect calls after the load, and the | 261 | // 4,096 slots (128 KiB of host memory): enough for a submission's ExecuteIndirect calls after the load, and the |
| @@ -265,11 +288,12 @@ private: | |||
| 265 | Counters counters_{}; | 288 | Counters counters_{}; |
| 266 | std::uint64_t next_report_frame_ = 0; | 289 | std::uint64_t next_report_frame_ = 0; |
| 267 | std::chrono::steady_clock::time_point next_mesh_report_{}; | 290 | std::chrono::steady_clock::time_point next_mesh_report_{}; |
| 291 | std::chrono::steady_clock::time_point next_dispatch_report_{}; | ||
| 268 | }; | 292 | }; |
| 269 | 293 | ||
| 270 | namespace detail { | 294 | namespace detail { |
| 271 | 295 | ||
| 272 | // One clamp pass's push-constant block. The shader's block is the same: five device addresses, then the six words. | 296 | // One clamp pass's push-constant block. The shader's block is the same: six device addresses, then the ten words. |
| 273 | struct IndirectClampPush { | 297 | struct IndirectClampPush { |
| 274 | VkDeviceAddress arguments; | 298 | VkDeviceAddress arguments; |
| 275 | VkDeviceAddress count; | 299 | VkDeviceAddress count; |
| @@ -283,8 +307,12 @@ struct IndirectClampPush { | |||
| 283 | std::uint32_t first_record; | 307 | std::uint32_t first_record; |
| 284 | std::uint32_t max_records; | 308 | std::uint32_t max_records; |
| 285 | std::uint32_t flags; | 309 | std::uint32_t flags; |
| 310 | std::uint32_t max_x; // indirect_clamp_dispatch_limit per axis | ||
| 311 | std::uint32_t max_y; | ||
| 312 | std::uint32_t max_z; | ||
| 313 | std::uint32_t reserved; | ||
| 286 | }; | 314 | }; |
| 287 | static_assert(sizeof(IndirectClampPush) == 72); | 315 | static_assert(sizeof(IndirectClampPush) == 88); |
| 288 | 316 | ||
| 289 | inline constexpr VkBufferUsageFlags indirect_clamp_scratch_usage = | 317 | inline constexpr VkBufferUsageFlags indirect_clamp_scratch_usage = |
| 290 | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT | | 318 | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT | |
| @@ -451,6 +479,10 @@ inline void IndirectArgumentClamp::release(std::vector<Slot>& slots, bool read) | |||
| 451 | delta.mesh_yz_records += words[9]; | 479 | delta.mesh_yz_records += words[9]; |
| 452 | delta.mesh_max_y = std::max(delta.mesh_max_y, words[10]); | 480 | delta.mesh_max_y = std::max(delta.mesh_max_y, words[10]); |
| 453 | delta.mesh_max_z = std::max(delta.mesh_max_z, words[11]); | 481 | delta.mesh_max_z = std::max(delta.mesh_max_z, words[11]); |
| 482 | delta.dispatch_wide += words[12]; | ||
| 483 | delta.dispatch_widest = std::max(delta.dispatch_widest, words[13]); | ||
| 484 | delta.dispatch_cut += words[14]; | ||
| 485 | delta.dispatch_records += words[15]; | ||
| 454 | // Clear after reading so a later aborted batch that reuses this slot without submitting never | 486 | // Clear after reading so a later aborted batch that reuses this slot without submitting never |
| 455 | // double-counts a previous submission's counters. | 487 | // double-counts a previous submission's counters. |
| 456 | std::memset(words, 0, HostArea::slot_bytes); | 488 | std::memset(words, 0, HostArea::slot_bytes); |
| @@ -465,6 +497,10 @@ inline void IndirectArgumentClamp::release(std::vector<Slot>& slots, bool read) | |||
| 465 | counters_.mesh_yz_records += delta.mesh_yz_records; | 497 | counters_.mesh_yz_records += delta.mesh_yz_records; |
| 466 | counters_.mesh_max_y = std::max(counters_.mesh_max_y, delta.mesh_max_y); | 498 | counters_.mesh_max_y = std::max(counters_.mesh_max_y, delta.mesh_max_y); |
| 467 | counters_.mesh_max_z = std::max(counters_.mesh_max_z, delta.mesh_max_z); | 499 | counters_.mesh_max_z = std::max(counters_.mesh_max_z, delta.mesh_max_z); |
| 500 | counters_.dispatch_records += delta.dispatch_records; | ||
| 501 | counters_.dispatch_wide += delta.dispatch_wide; | ||
| 502 | counters_.dispatch_widest = std::max(counters_.dispatch_widest, delta.dispatch_widest); | ||
| 503 | counters_.dispatch_cut += delta.dispatch_cut; | ||
| 468 | // One line every 10 s while mesh records are clamped: does the console's mesh dispatch use y or z? | 504 | // One line every 10 s while mesh records are clamped: does the console's mesh dispatch use y or z? |
| 469 | const auto now = std::chrono::steady_clock::now(); | 505 | const auto now = std::chrono::steady_clock::now(); |
| 470 | if (read && counters_.mesh_records && now >= next_mesh_report_) { | 506 | if (read && counters_.mesh_records && now >= next_mesh_report_) { |
| @@ -475,6 +511,18 @@ inline void IndirectArgumentClamp::release(std::vector<Slot>& slots, bool read) | |||
| 475 | static_cast<unsigned long long>(counters_.mesh_yz_records), counters_.mesh_max_y, | 511 | static_cast<unsigned long long>(counters_.mesh_yz_records), counters_.mesh_max_y, |
| 476 | counters_.mesh_max_z); | 512 | counters_.mesh_max_z); |
| 477 | } | 513 | } |
| 514 | // One line every 10 s while dispatch records are clamped: how wide the title's dispatches are, and whether | ||
| 515 | // the device's limits cut any (a device whose x limit is 65 535 still cuts a wider record). | ||
| 516 | if (read && counters_.dispatch_records && now >= next_dispatch_report_) { | ||
| 517 | next_dispatch_report_ = now + std::chrono::seconds(10); | ||
| 518 | std::fprintf(stderr, "[rt] indirect clamp dispatch: %llu records, %llu wider than %u groups in x, widest x %u, " | ||
| 519 | "%llu cut at the device's limits (%u x %u x %u)\n", | ||
| 520 | static_cast<unsigned long long>(counters_.dispatch_records), | ||
| 521 | static_cast<unsigned long long>(counters_.dispatch_wide), indirect_clamp_narrow_groups, | ||
| 522 | counters_.dispatch_widest, static_cast<unsigned long long>(counters_.dispatch_cut), | ||
| 523 | indirect_clamp_dispatch_limit(limits_, 0), indirect_clamp_dispatch_limit(limits_, 1), | ||
| 524 | indirect_clamp_dispatch_limit(limits_, 2)); | ||
| 525 | } | ||
| 478 | const auto frame = submit_phases::totals().present_serial.load(std::memory_order_relaxed); | 526 | const auto frame = submit_phases::totals().present_serial.load(std::memory_order_relaxed); |
| 479 | if (read && calls && frame >= next_report_frame_) { | 527 | if (read && calls && frame >= next_report_frame_) { |
| 480 | next_report_frame_ = frame + 60; | 528 | next_report_frame_ = frame + 60; |
| @@ -587,7 +635,8 @@ inline void IndirectArgumentClamp::emit(VkCommandBuffer cb, const ClampedIndirec | |||
| 587 | // The counters start at zero: the budget's compare-and-swap and the record counts accumulate into them. A | 635 | // The counters start at zero: the budget's compare-and-swap and the record counts accumulate into them. A |
| 588 | // transfer write, ordered to the compute stage by the barrier below, like the arguments' own writes. | 636 | // transfer write, ordered to the compute stage by the barrier below, like the arguments' own writes. |
| 589 | fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset, job.list_budget == job.stats + 16 ? 20 : 16, 0); | 637 | fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset, job.list_budget == job.stats + 16 ? 20 : 16, 0); |
| 590 | fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset + 32, 16, 0); // mesh words 8-11 | 638 | // Words 8-15: the mesh and dispatch counters. |
| 639 | fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset + 32, 32, 0); | ||
| 591 | VkMemoryBarrier before{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; | 640 | VkMemoryBarrier before{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; |
| 592 | before.srcAccessMask = VK_ACCESS_MEMORY_WRITE_BIT; // every earlier write: the compute that wrote these arguments | 641 | before.srcAccessMask = VK_ACCESS_MEMORY_WRITE_BIT; // every earlier write: the compute that wrote these arguments |
| 593 | before.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT; | 642 | before.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT; |
| @@ -615,7 +664,11 @@ inline void IndirectArgumentClamp::emit(VkCommandBuffer cb, const ClampedIndirec | |||
| 615 | std::uint32_t(first), | 664 | std::uint32_t(first), |
| 616 | job.max_records, | 665 | job.max_records, |
| 617 | (job.kind == indirect_clamp_dispatch ? indirect_group_budget() << 1 : 0u) | | 666 | (job.kind == indirect_clamp_dispatch ? indirect_group_budget() << 1 : 0u) | |
| 618 | (job.counted ? 1u : 0u)}; | 667 | (job.counted ? 1u : 0u), |
| 668 | indirect_clamp_dispatch_limit(limits_, 0), | ||
| 669 | indirect_clamp_dispatch_limit(limits_, 1), | ||
| 670 | indirect_clamp_dispatch_limit(limits_, 2), | ||
| 671 | 0u}; | ||
| 619 | push(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(constants), &constants); | 672 | push(cb, layout_, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(constants), &constants); |
| 620 | dispatch(cb, (records - 1u) / 64u + 1u, 1, 1); | 673 | dispatch(cb, (records - 1u) / 64u + 1u, 1, 1); |
| 621 | first += records; | 674 | first += records; |
| @@ -626,7 +679,7 @@ inline void IndirectArgumentClamp::emit(VkCommandBuffer cb, const ClampedIndirec | |||
| 626 | after_copy.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT; | 679 | after_copy.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT; |
| 627 | barrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 1, &after_copy, 0, nullptr, | 680 | barrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 1, &after_copy, 0, nullptr, |
| 628 | 0, nullptr); | 681 | 0, nullptr); |
| 629 | VkBufferCopy copy{job.stats_scratch_offset, job.stats_offset, 12 * sizeof(std::uint32_t)}; | 682 | VkBufferCopy copy{job.stats_scratch_offset, job.stats_offset, 16 * sizeof(std::uint32_t)}; |
| 630 | fn<PFN_vkCmdCopyBuffer>("vkCmdCopyBuffer")(cb, job.buffer, job.stats_buffer, 1, ©); | 683 | fn<PFN_vkCmdCopyBuffer>("vkCmdCopyBuffer")(cb, job.buffer, job.stats_buffer, 1, ©); |
| 631 | } | 684 | } |
| 632 | // The indirect command reads the records, and nothing else may read them while it does. | 685 | // The indirect command reads the records, and nothing else may read them while it does. |
diff --git a/runtime/src/vulkan_replay.h b/runtime/src/vulkan_replay.h index 8889560e9..548fb4c17 100644 --- a/runtime/src/vulkan_replay.h +++ b/runtime/src/vulkan_replay.h | |||
| @@ -1559,6 +1559,15 @@ inline float quantize_unorm(float value, double maximum) { | |||
| 1559 | return static_cast<float>(round_half_even(double(value) * maximum) / maximum); | 1559 | return static_cast<float>(round_half_even(double(value) * maximum) / maximum); |
| 1560 | } | 1560 | } |
| 1561 | 1561 | ||
| 1562 | // 16-bit UNORM depth clear quantisation matching depth24_fragment.h's Patch::quantise(levels = 65535.0f): | ||
| 1563 | // float multiply by 65535.0f, round-half-even, and nearest float to d / 65535, with NaN and negatives -> 0.0f. | ||
| 1564 | inline float quantize_depth16(float value) { | ||
| 1565 | if (!(value > 0.0f)) return 0.0f; | ||
| 1566 | if (value >= 1.0f) return 1.0f; | ||
| 1567 | const float product = value * 65535.0f; | ||
| 1568 | return static_cast<float>(round_half_even(double(product)) / 65535.0); | ||
| 1569 | } | ||
| 1570 | |||
| 1562 | // The same for a signed normalised format: -1..1 on a scale of 127 (8 bits) or 32767 (16 bits), where D3D writes -1.0 | 1571 | // The same for a signed normalised format: -1..1 on a scale of 127 (8 bits) or 32767 (16 bits), where D3D writes -1.0 |
| 1563 | // as -127 and ties go to the even neighbour. | 1572 | // as -127 and ties go to the even neighbour. |
| 1564 | inline float quantize_snorm(float value, double maximum) { | 1573 | inline float quantize_snorm(float value, double maximum) { |
| @@ -4880,7 +4889,8 @@ inline void emit_commands(const PreparedList& prepared, VkCommandBuffer command_ | |||
| 4880 | const VulkanAccess state = vulkan_access(d3d12_state::depth_write, false); | 4889 | const VulkanAccess state = vulkan_access(d3d12_state::depth_write, false); |
| 4881 | auto pieces = detail::current(tracker, id, range, image_layout(p.binding, state.layout)); | 4890 | auto pieces = detail::current(tracker, id, range, image_layout(p.binding, state.layout)); |
| 4882 | detail::initialize(vk, command_buffer, p.binding, id, pieces, image_layout(p.binding, state.layout), tracker); | 4891 | detail::initialize(vk, command_buffer, p.binding, id, pieces, image_layout(p.binding, state.layout), tracker); |
| 4883 | float depth = p.binding.xbox_depth16_stencil8 ? std::round(std::clamp(depth_clear->depth,0.0f,1.0f)*65535.0f)/65535.0f : p.binding.depth24 ? depth24_clear_value(depth_clear->depth) // see depth24.h | 4892 | float depth = p.binding.xbox_depth16_stencil8 ? detail::quantize_depth16(depth_clear->depth) |
| 4893 | : p.binding.depth24 ? depth24_clear_value(depth_clear->depth) // see depth24.h | ||
| 4884 | : p.binding.format == VK_FORMAT_D16_UNORM | 4894 | : p.binding.format == VK_FORMAT_D16_UNORM |
| 4885 | ? detail::quantize_unorm(depth_clear->depth, 65535.0) // see quantize_unorm | 4895 | ? detail::quantize_unorm(depth_clear->depth, 65535.0) // see quantize_unorm |
| 4886 | : depth_clear->depth; | 4896 | : depth_clear->depth; |
diff --git a/runtime/src/xdxr_build.comp b/runtime/src/xdxr_build.comp index dcbeca14d..d033afca3 100644 --- a/runtime/src/xdxr_build.comp +++ b/runtime/src/xdxr_build.comp | |||
| @@ -76,7 +76,7 @@ layout(buffer_reference, std430, buffer_reference_align = 4) buffer Words { uint | |||
| 76 | const uint MODE_INIT = 0u, MODE_TRIANGLES = 1u, MODE_INSTANCES = 2u, MODE_MORTON = 3u, MODE_KARRAS = 4u, | 76 | const uint MODE_INIT = 0u, MODE_TRIANGLES = 1u, MODE_INSTANCES = 2u, MODE_MORTON = 3u, MODE_KARRAS = 4u, |
| 77 | MODE_NODES = 5u, MODE_HEADER = 6u, MODE_RADIX_COUNT = 7u, MODE_RADIX_SCAN = 8u, MODE_RADIX_SCATTER = 9u, | 77 | MODE_NODES = 5u, MODE_HEADER = 6u, MODE_RADIX_COUNT = 7u, MODE_RADIX_SCAN = 8u, MODE_RADIX_SCATTER = 9u, |
| 78 | MODE_SMALL_SORT = 10u, MODE_COPY_AS = 12u, MODE_POSTBUILD = 13u, MODE_KEPT = 14u, | 78 | MODE_SMALL_SORT = 10u, MODE_COPY_AS = 12u, MODE_POSTBUILD = 13u, MODE_KEPT = 14u, |
| 79 | MODE_KEPT_SCAN = 15u, MODE_KEPT_INDEX = 16u, MODE_PROPAGATE = 17u, MODE_CLEAR = 18u; | 79 | MODE_KEPT_SCAN = 15u, MODE_KEPT_INDEX = 16u, MODE_PROPAGATE = 17u, MODE_CLEAR = 18u, MODE_CHECK = 19u; |
| 80 | const uint SMALL_SORT_MAX = 1024u; // xdxr_build.h XdxrLayout::small_sort_max | 80 | const uint SMALL_SORT_MAX = 1024u; // xdxr_build.h XdxrLayout::small_sort_max |
| 81 | const uint RADIX_BITS = 4u, RADIX_BINS = 16u, RADIX_PASSES = 8u; | 81 | const uint RADIX_BITS = 4u, RADIX_BINS = 16u, RADIX_PASSES = 8u; |
| 82 | const uint RADIX_TILE = 256u; // elements per workgroup in count and scatter: 4 chunks of 64 | 82 | const uint RADIX_TILE = 256u; // elements per workgroup in count and scatter: 4 chunks of 64 |
| @@ -85,6 +85,9 @@ const uint TRI0 = 0u, TRI1 = 1u, BOX16 = 4u, BOX32 = 5u, INSTANCE = 6u; | |||
| 85 | const uint LEAF = 0x80000000u; // a binary child that is a sorted element, not an inner node | 85 | const uint LEAF = 0x80000000u; // a binary child that is a sorted element, not an inner node |
| 86 | const uint REMAP_IDENTITY = 0x09u; | 86 | const uint REMAP_IDENTITY = 0x09u; |
| 87 | const uint FLAG_TLAS = 1u, FLAG_BOX16 = 2u, FLAG_PAIR = 4u, FLAG_TRANSLATE = 8u; // pc.flags; xdxr_build.h flag_* | 87 | const uint FLAG_TLAS = 1u, FLAG_BOX16 = 2u, FLAG_PAIR = 4u, FLAG_TRANSLATE = 8u; // pc.flags; xdxr_build.h flag_* |
| 88 | // An update records both tails: FLAG_IF_REFIT steps run only when MODE_CHECK found the source a structure of this | ||
| 89 | // layout (scratch word SCRATCH_REFIT = 1), FLAG_IF_BUILD steps (a full build) only when it did not. | ||
| 90 | const uint FLAG_IF_REFIT = 16u, FLAG_IF_BUILD = 32u; | ||
| 88 | const uint FLAG_BOTTOM_LEVEL = 0x80000000u, VERSION_2403 = 6u, INST_IDENTITY_ROTATION = 0x80000000u, | 91 | const uint FLAG_BOTTOM_LEVEL = 0x80000000u, VERSION_2403 = 6u, INST_IDENTITY_ROTATION = 0x80000000u, |
| 89 | INST_FLAGS_MASK = 0xc0000000u; | 92 | INST_FLAGS_MASK = 0xc0000000u; |
| 90 | 93 | ||
| @@ -111,6 +114,7 @@ layout(push_constant) uniform Push { | |||
| 111 | uint flags; // FLAG_TLAS: elements are 128-byte instances; FLAG_BOX16: inner nodes are 64-byte BOX16; | 114 | uint flags; // FLAG_TLAS: elements are 128-byte instances; FLAG_BOX16: inner nodes are 64-byte BOX16; |
| 112 | // FLAG_PAIR: pair sibling triangles that share an edge into TRI0/TRI1 leaves; | 115 | // FLAG_PAIR: pair sibling triangles that share an edge into TRI0/TRI1 leaves; |
| 113 | // FLAG_TRANSLATE (instances): BLAS addresses go through blas_address | 116 | // FLAG_TRANSLATE (instances): BLAS addresses go through blas_address |
| 117 | uint vertex_count; // triangles: the desc's VertexCount; a vertex index at or past it reads nothing | ||
| 114 | } pc; | 118 | } pc; |
| 115 | 119 | ||
| 116 | // ---- 64-bit addresses as uvec2 ---- | 120 | // ---- 64-bit addresses as uvec2 ---- |
| @@ -141,6 +145,7 @@ uvec2 sub64(uvec2 a, uvec2 b) { | |||
| 141 | // counts, their exclusive prefix sums, element boxes, a box accumulator per node, the binary tree ---- | 145 | // counts, their exclusive prefix sums, element boxes, a box accumulator per node, the binary tree ---- |
| 142 | const uint SCRATCH_KEYS = 64u; | 146 | const uint SCRATCH_KEYS = 64u; |
| 143 | const uint SCRATCH_NODE_COUNT = 24u; | 147 | const uint SCRATCH_NODE_COUNT = 24u; |
| 148 | const uint SCRATCH_REFIT = 28u; // MODE_CHECK's verdict for an update | ||
| 144 | uint radix_tiles() { return (pc.sort_size + RADIX_TILE - 1u) / RADIX_TILE; } | 149 | uint radix_tiles() { return (pc.sort_size + RADIX_TILE - 1u) / RADIX_TILE; } |
| 145 | uint keys_off() { return SCRATCH_KEYS; } | 150 | uint keys_off() { return SCRATCH_KEYS; } |
| 146 | uint vals_off() { return SCRATCH_KEYS + 4u * pc.sort_size; } | 151 | uint vals_off() { return SCRATCH_KEYS + 4u * pc.sort_size; } |
| @@ -201,6 +206,21 @@ uint element_ptr(uint e) { return ((pc.elements_off + e * element_size()) >> 6) | |||
| 201 | uint node_ptr(uint n) { return ((pc.nodes_off + n * node_size()) >> 6) << 3 | (is_box16() ? BOX16 : BOX32); } | 206 | uint node_ptr(uint n) { return ((pc.nodes_off + n * node_size()) >> 6) << 3 | (is_box16() ? BOX16 : BOX32); } |
| 202 | uint ptr_unit(uint p) { return p >> 3; } | 207 | uint ptr_unit(uint p) { return p >> 3; } |
| 203 | bool ptr_is_node(uint p) { return (p & 7u) == BOX16 || (p & 7u) == BOX32; } | 208 | bool ptr_is_node(uint p) { return (p & 7u) == BOX16 || (p & 7u) == BOX32; } |
| 209 | // A pointer read from the structure (an update's source is the title's, possibly garbage) that names one of this | ||
| 210 | // layout's nodes: the layout's node type, on a node boundary, below the node count. Nothing else is followed. | ||
| 211 | bool layout_node(uint p) { | ||
| 212 | if ((p & 7u) != (is_box16() ? BOX16 : BOX32)) return false; | ||
| 213 | uint o = ptr_unit(p) * 64u; | ||
| 214 | if (ptr_unit(p) >= (1u << 26) || o < pc.nodes_off) return false; | ||
| 215 | uint rel = o - pc.nodes_off; | ||
| 216 | return rel % node_size() == 0u && rel / node_size() < pc.arg0; | ||
| 217 | } | ||
| 218 | // The parent-table slot of a record pointer, or INVALID when its unit is outside the body the table covers. | ||
| 219 | uint parent_slot(uint p) { | ||
| 220 | uint first = pc.elements_off / 64u, unit = ptr_unit(p); | ||
| 221 | if (unit < first || unit >= pc.total_size / 64u) return INVALID; | ||
| 222 | return pc.parents_off + 4u * (unit - first); | ||
| 223 | } | ||
| 204 | 224 | ||
| 205 | // ---- BOX16 bounds: six IEEE halves in three words (min.x | min.y << 16, min.z | max.x << 16, max.y | max.z << 16; | 225 | // ---- BOX16 bounds: six IEEE halves in three words (min.x | min.y << 16, min.z | max.x << 16, max.y | max.z << 16; |
| 206 | // docs/bvh.md 3.1, XdxrDecompressBox16) ---- | 226 | // docs/bvh.md 3.1, XdxrDecompressBox16) ---- |
| @@ -232,7 +252,10 @@ void store_box16(uint o, vec3 lo, vec3 hi) { | |||
| 232 | } | 252 | } |
| 233 | 253 | ||
| 234 | // ---- MODE_TRIANGLES ---- | 254 | // ---- MODE_TRIANGLES ---- |
| 255 | // An index at or past VertexCount (garbage in the index buffer, or VertexCount 0) would read past the vertex buffer, | ||
| 256 | // possibly gigabytes past it: the vertex is NaN instead, which makes its triangle inactive (build_triangle). | ||
| 235 | vec3 vertex(uint v) { | 257 | vec3 vertex(uint v) { |
| 258 | if (v >= pc.vertex_count) return vec3(uintBitsToFloat(0x7fc00000u)); | ||
| 236 | uvec2 a = add(pc.src0, v * pc.arg0); | 259 | uvec2 a = add(pc.src0, v * pc.arg0); |
| 237 | float x = uintBitsToFloat(load(a, 0u)), y = uintBitsToFloat(load(a, 4u)); | 260 | float x = uintBitsToFloat(load(a, 0u)), y = uintBitsToFloat(load(a, 4u)); |
| 238 | float z = pc.arg1 == 1u ? 0.0 : uintBitsToFloat(load(a, 8u)); | 261 | float z = pc.arg1 == 1u ? 0.0 : uintBitsToFloat(load(a, 8u)); |
| @@ -732,7 +755,13 @@ void build_node(uint i) { | |||
| 732 | } | 755 | } |
| 733 | 756 | ||
| 734 | // ---- MODE_PROPAGATE ---- | 757 | // ---- MODE_PROPAGATE ---- |
| 735 | uint parent_of(uint p) { return load(pc.dst, pc.parents_off + 4u * (ptr_unit(p) - pc.elements_off / 64u)); } | 758 | // INVALID (the walk ends) for anything but one of the layout's nodes: an update reads the source's parent table. |
| 759 | uint parent_of(uint p) { | ||
| 760 | uint slot = parent_slot(p); | ||
| 761 | if (slot == INVALID) return INVALID; | ||
| 762 | uint parent = load(pc.dst, slot); | ||
| 763 | return layout_node(parent) ? parent : INVALID; | ||
| 764 | } | ||
| 736 | bool ptr_box16(uint p) { return (p & 7u) == BOX16; } | 765 | bool ptr_box16(uint p) { return (p & 7u) == BOX16; } |
| 737 | uint node_index(uint p) { return (ptr_unit(p) * 64u - pc.nodes_off) / (ptr_box16(p) ? 64u : 128u); } | 766 | uint node_index(uint p) { return (ptr_unit(p) * 64u - pc.nodes_off) / (ptr_box16(p) ? 64u : 128u); } |
| 738 | void accum_box(uint node, out vec3 lo, out vec3 hi) { | 767 | void accum_box(uint node, out vec3 lo, out vec3 hi) { |
| @@ -802,8 +831,26 @@ void build_header() { | |||
| 802 | store(pc.dst, 60u, 0u); // compressionParams: uncompressed | 831 | store(pc.dst, 60u, 0u); // compressionParams: uncompressed |
| 803 | } | 832 | } |
| 804 | 833 | ||
| 834 | // ---- MODE_CHECK: is the structure an update refits (already copied to dst) one this layout's build wrote? The | ||
| 835 | // header words build_header writes that the layout fixes, and a size within the layout. A title may pass a source it | ||
| 836 | // never built (D3D12 leaves that undefined); then the update is a full build instead and reads nothing of it. ---- | ||
| 837 | bool refit_source_ok() { | ||
| 838 | uint size = (load(pc.dst, 4u) + 1u) * 64u; | ||
| 839 | return load(pc.dst, 0u) == ((is_tlas() ? 0u : FLAG_BOTTOM_LEVEL) | VERSION_2403) && | ||
| 840 | load(pc.dst, 12u) == pc.elements && load(pc.dst, 40u) == pc.nodes_off && load(pc.dst, 48u) == node_ptr(0u) && | ||
| 841 | load(pc.dst, 52u) == pc.elements_off && load(pc.dst, 56u) == pc.parents_off && load(pc.dst, 4u) < (1u << 26) && | ||
| 842 | size > pc.nodes_off && size <= pc.total_size; | ||
| 843 | } | ||
| 844 | |||
| 805 | void main() { | 845 | void main() { |
| 806 | uint i = gl_GlobalInvocationID.x; | 846 | uint i = gl_GlobalInvocationID.x; |
| 847 | // uniform across the dispatch, so a workgroup that uses barriers leaves as a whole | ||
| 848 | if ((pc.flags & (FLAG_IF_REFIT | FLAG_IF_BUILD)) != 0u && | ||
| 849 | (load(pc.scratch, SCRATCH_REFIT) == 1u) != ((pc.flags & FLAG_IF_REFIT) != 0u)) return; | ||
| 850 | if (pc.mode == MODE_CHECK) { | ||
| 851 | if (i == 0u) store(pc.scratch, SCRATCH_REFIT, refit_source_ok() ? 1u : 0u); | ||
| 852 | return; | ||
| 853 | } | ||
| 807 | // the radix and kept modes use shared memory and barriers: every invocation of a workgroup takes part | 854 | // the radix and kept modes use shared memory and barriers: every invocation of a workgroup takes part |
| 808 | if (pc.mode == MODE_RADIX_COUNT) { radix_count(gl_WorkGroupID.x, gl_LocalInvocationID.x); return; } | 855 | if (pc.mode == MODE_RADIX_COUNT) { radix_count(gl_WorkGroupID.x, gl_LocalInvocationID.x); return; } |
| 809 | if (pc.mode == MODE_RADIX_SCAN) { | 856 | if (pc.mode == MODE_RADIX_SCAN) { |
diff --git a/runtime/src/xdxr_build.h b/runtime/src/xdxr_build.h index 08623f52a..401b7095a 100644 --- a/runtime/src/xdxr_build.h +++ b/runtime/src/xdxr_build.h | |||
| @@ -104,6 +104,9 @@ struct XdxrTriangles { | |||
| 104 | std::uint32_t triangle_count = 0; | 104 | std::uint32_t triangle_count = 0; |
| 105 | std::uint64_t transform = 0; // device address of a 3x4 row-major float matrix, 0 = none | 105 | std::uint64_t transform = 0; // device address of a 3x4 row-major float matrix, 0 = none |
| 106 | std::uint32_t flags = 0; // D3D12_RAYTRACING_GEOMETRY_FLAGS (bit 0 opaque) | 106 | std::uint32_t flags = 0; // D3D12_RAYTRACING_GEOMETRY_FLAGS (bit 0 opaque) |
| 107 | // VertexCount: a triangle with a vertex index at or past it is inactive and reads no vertex (0: every triangle); | ||
| 108 | // the default bounds nothing, for callers with no desc. | ||
| 109 | std::uint32_t vertex_count = 0xffffffffu; | ||
| 107 | }; | 110 | }; |
| 108 | 111 | ||
| 109 | // How a top-level build reaches the BLAS addresses its instance descs hold (xdxr_build.comp blas_address). They are | 112 | // How a top-level build reaches the BLAS addresses its instance descs hold (xdxr_build.comp blas_address). They are |
| @@ -172,11 +175,12 @@ public: | |||
| 172 | t.arg0 = geo.vertex_stride; | 175 | t.arg0 = geo.vertex_stride; |
| 173 | t.arg1 = geo.xy_only ? 1u : 0u; | 176 | t.arg1 = geo.xy_only ? 1u : 0u; |
| 174 | t.arg2 = geo.index_type; | 177 | t.arg2 = geo.index_type; |
| 178 | t.vertex_count = geo.vertex_count; | ||
| 175 | t.geometry = std::uint32_t(g) << 8 | (geo.flags & 0xffu); | 179 | t.geometry = std::uint32_t(g) << 8 | (geo.flags & 0xffu); |
| 176 | dispatch(cb, t, t.count); | 180 | dispatch(cb, t, t.count); |
| 177 | first += geo.triangle_count; | 181 | first += geo.triangle_count; |
| 178 | } | 182 | } |
| 179 | if (update_from) refit_finish(cb, layout, p); else finish(cb, layout, p); | 183 | if (update_from) update_finish(cb, layout, p); else finish(cb, layout, p); |
| 180 | return true; | 184 | return true; |
| 181 | } | 185 | } |
| 182 | 186 | ||
| @@ -204,7 +208,7 @@ public: | |||
| 204 | } | 208 | } |
| 205 | dispatch(cb, t, t.count); | 209 | dispatch(cb, t, t.count); |
| 206 | } | 210 | } |
| 207 | if (update_from) refit_finish(cb, layout, p); else finish(cb, layout, p); | 211 | if (update_from) update_finish(cb, layout, p); else finish(cb, layout, p); |
| 208 | return true; | 212 | return true; |
| 209 | } | 213 | } |
| 210 | 214 | ||
| @@ -246,16 +250,19 @@ private: | |||
| 246 | mode_init = 0, mode_triangles = 1, mode_instances = 2, mode_morton = 3, mode_karras = 4, mode_nodes = 5, | 250 | mode_init = 0, mode_triangles = 1, mode_instances = 2, mode_morton = 3, mode_karras = 4, mode_nodes = 5, |
| 247 | mode_header = 6, mode_radix_count = 7, mode_radix_scan = 8, mode_radix_scatter = 9, mode_small_sort = 10, | 251 | mode_header = 6, mode_radix_count = 7, mode_radix_scan = 8, mode_radix_scatter = 9, mode_small_sort = 10, |
| 248 | mode_copy_as = 12, mode_postbuild = 13, mode_kept = 14, mode_kept_scan = 15, | 252 | mode_copy_as = 12, mode_postbuild = 13, mode_kept = 14, mode_kept_scan = 15, |
| 249 | mode_kept_index = 16, mode_propagate = 17, mode_clear = 18 | 253 | mode_kept_index = 16, mode_propagate = 17, mode_clear = 18, mode_check = 19 |
| 250 | }; | 254 | }; |
| 251 | struct Addr { std::uint32_t lo = 0, hi = 0; }; | 255 | struct Addr { std::uint32_t lo = 0, hi = 0; }; |
| 252 | struct Push { // xdxr_build.comp `Push`, std430 push-constant layout | 256 | struct Push { // xdxr_build.comp `Push`, std430 push-constant layout |
| 253 | Addr dst, scratch, src0, src1, src2, bias; | 257 | Addr dst, scratch, src0, src1, src2, bias; |
| 254 | std::uint32_t mode = 0, count = 0, first = 0, arg0 = 0, arg1 = 0, arg2 = 0, geometry = 0, elements = 0, | 258 | std::uint32_t mode = 0, count = 0, first = 0, arg0 = 0, arg1 = 0, arg2 = 0, geometry = 0, elements = 0, |
| 255 | sort_size = 0, elements_off = 0, nodes_off = 0, parents_off = 0, total_size = 0, flags = 0; | 259 | sort_size = 0, elements_off = 0, nodes_off = 0, parents_off = 0, total_size = 0, flags = 0, |
| 260 | vertex_count = 0; | ||
| 256 | }; | 261 | }; |
| 257 | enum : std::uint32_t { flag_tlas = 1, flag_box16 = 2, flag_pair = 4, flag_translate = 8 }; // xdxr_build.comp FLAG_* | 262 | enum : std::uint32_t { // xdxr_build.comp FLAG_* |
| 258 | static_assert(sizeof(Push) == 104, "push constants must match xdxr_build.comp"); | 263 | flag_tlas = 1, flag_box16 = 2, flag_pair = 4, flag_translate = 8, flag_if_refit = 16, flag_if_build = 32 |
| 264 | }; | ||
| 265 | static_assert(sizeof(Push) == 108, "push constants must match xdxr_build.comp"); | ||
| 259 | 266 | ||
| 260 | static Addr split(std::uint64_t a) { return {std::uint32_t(a), std::uint32_t(a >> 32)}; } | 267 | static Addr split(std::uint64_t a) { return {std::uint32_t(a), std::uint32_t(a >> 32)}; } |
| 261 | 268 | ||
| @@ -284,19 +291,43 @@ private: | |||
| 284 | 291 | ||
| 285 | // An update: the source's tree is copied unless it is the destination, as many bytes as its header says (a | 292 | // An update: the source's tree is copied unless it is the destination, as many bytes as its header says (a |
| 286 | // compacted source is shorter than the layout). Its parent table stays as it is, so there is no MODE_INIT. | 293 | // compacted source is shorter than the layout). Its parent table stays as it is, so there is no MODE_INIT. |
| 294 | // | ||
| 295 | // Then MODE_CHECK: the source may not be a structure of this layout at all (a title passing one it never built, | ||
| 296 | // which D3D12 leaves undefined), and its pointers would send the refit anywhere. The full build's MODE_INIT runs | ||
| 297 | // only when the check fails (flag_if_build), and refit_finish / finish are both recorded with the flag that picks | ||
| 298 | // one of them (update_finish). | ||
| 287 | void refit_begin(VkCommandBuffer cb, const XdxrLayout& l, const Push& p, std::uint64_t source) { | 299 | void refit_begin(VkCommandBuffer cb, const XdxrLayout& l, const Push& p, std::uint64_t source) { |
| 288 | vk_.vkCmdBindPipeline(cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline_); | 300 | vk_.vkCmdBindPipeline(cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline_); |
| 289 | const std::uint64_t dst = std::uint64_t(p.dst.hi) << 32 | p.dst.lo; | 301 | const std::uint64_t dst = std::uint64_t(p.dst.hi) << 32 | p.dst.lo; |
| 290 | if (source == dst) return; | 302 | if (source != dst) { |
| 291 | Push c = p; | 303 | Push c = p; |
| 292 | c.mode = mode_copy_as; | 304 | c.mode = mode_copy_as; |
| 293 | c.count = l.size / 4; | 305 | c.count = l.size / 4; |
| 294 | c.src0 = split(source); | 306 | c.src0 = split(source); |
| 295 | dispatch(cb, c, c.count); | 307 | dispatch(cb, c, c.count); |
| 308 | } | ||
| 309 | Push k = p; | ||
| 310 | k.mode = mode_check; | ||
| 311 | k.count = 1; | ||
| 312 | dispatch(cb, k, 1); | ||
| 313 | Push init = p; | ||
| 314 | init.flags |= flag_if_build; | ||
| 315 | init.mode = mode_init; | ||
| 316 | init.count = l.parent_entries > 16 ? l.parent_entries : 16; | ||
| 317 | dispatch(cb, init, init.count); | ||
| 318 | } | ||
| 319 | |||
| 320 | void update_finish(VkCommandBuffer cb, const XdxrLayout& l, const Push& p) { | ||
| 321 | Push r = p; | ||
| 322 | r.flags |= flag_if_refit; | ||
| 323 | refit_finish(cb, l, r, true); | ||
| 324 | Push b = p; | ||
| 325 | b.flags |= flag_if_build; | ||
| 326 | finish(cb, l, b); | ||
| 296 | } | 327 | } |
| 297 | 328 | ||
| 298 | // Boxes bottom-up through the existing nodes, then the header (its bounds change; nothing else does). | 329 | // Boxes bottom-up through the existing nodes, then the header (its bounds change; nothing else does). |
| 299 | void refit_finish(VkCommandBuffer cb, const XdxrLayout& l, const Push& p) { | 330 | void refit_finish(VkCommandBuffer cb, const XdxrLayout& l, const Push& p, bool barrier_after = false) { |
| 300 | Push c = p; | 331 | Push c = p; |
| 301 | c.mode = mode_clear; | 332 | c.mode = mode_clear; |
| 302 | c.count = l.nodes; | 333 | c.count = l.nodes; |
| @@ -306,7 +337,7 @@ private: | |||
| 306 | h.mode = mode_header; | 337 | h.mode = mode_header; |
| 307 | h.count = 1; | 338 | h.count = 1; |
| 308 | h.arg2 = 1; // an update: the bounds only | 339 | h.arg2 = 1; // an update: the bounds only |
| 309 | dispatch(cb, h, 1, false); | 340 | dispatch(cb, h, 1, barrier_after); |
| 310 | } | 341 | } |
| 311 | 342 | ||
| 312 | // `update`: the elements' pointers are their own (an update never pairs), not the ones MODE_NODES recorded. | 343 | // `update`: the elements' pointers are their own (an update never pairs), not the ones MODE_NODES recorded. |
diff --git a/runtime/src/xdxr_build.inc b/runtime/src/xdxr_build.inc index e17aecfea..b4d159074 100644 --- a/runtime/src/xdxr_build.inc +++ b/runtime/src/xdxr_build.inc | |||
| @@ -1,7899 +1,8287 @@ | |||
| 1 | {0x07230203,0x00010500,0x000d000b,0x00006129, | 1 | {0x07230203,0x00010500,0x000d000b,0x0000655f, |
| 2 | 0x00000000,0x00020011,0x00000001,0x00020011, | 2 | 0x00000000,0x00020011,0x00000001,0x00020011, |
| 3 | 0x000014e3,0x0006000b,0x00000001,0x4c534c47, | 3 | 0x000014e3,0x0006000b,0x00000001,0x4c534c47, |
| 4 | 0x6474732e,0x3035342e,0x00000000,0x0003000e, | 4 | 0x6474732e,0x3035342e,0x00000000,0x0003000e, |
| 5 | 0x000014e4,0x00000001,0x0011000f,0x00000005, | 5 | 0x000014e4,0x00000001,0x0011000f,0x00000005, |
| 6 | 0x00000004,0x6e69616d,0x00000000,0x000001b9, | 6 | 0x00000004,0x6e69616d,0x00000000,0x000001c1, |
| 7 | 0x00000924,0x00000939,0x00000a18,0x00000a7f, | 7 | 0x0000098a,0x0000099f,0x00000a7e,0x00000ae5, |
| 8 | 0x00000ad4,0x00000b2d,0x00000e6f,0x00000eff, | 8 | 0x00000b3a,0x00000b93,0x00000ed4,0x00000f64, |
| 9 | 0x000012da,0x000012e3,0x000012e4,0x00060010, | 9 | 0x000013a4,0x000013d5,0x000013d6,0x00060010, |
| 10 | 0x00000004,0x00000011,0x00000040,0x00000001, | 10 | 0x00000004,0x00000011,0x00000040,0x00000001, |
| 11 | 0x00000001,0x00040047,0x00000015,0x00000006, | 11 | 0x00000001,0x00040047,0x00000015,0x00000006, |
| 12 | 0x00000004,0x00030047,0x00000016,0x00000002, | 12 | 0x00000004,0x00030047,0x00000016,0x00000002, |
| 13 | 0x00050048,0x00000016,0x00000000,0x00000023, | 13 | 0x00050048,0x00000016,0x00000000,0x00000023, |
| 14 | 0x00000000,0x00030047,0x000001b7,0x00000002, | 14 | 0x00000000,0x00030047,0x000001bf,0x00000002, |
| 15 | 0x00050048,0x000001b7,0x00000000,0x00000023, | 15 | 0x00050048,0x000001bf,0x00000000,0x00000023, |
| 16 | 0x00000000,0x00050048,0x000001b7,0x00000001, | 16 | 0x00000000,0x00050048,0x000001bf,0x00000001, |
| 17 | 0x00000023,0x00000008,0x00050048,0x000001b7, | 17 | 0x00000023,0x00000008,0x00050048,0x000001bf, |
| 18 | 0x00000002,0x00000023,0x00000010,0x00050048, | 18 | 0x00000002,0x00000023,0x00000010,0x00050048, |
| 19 | 0x000001b7,0x00000003,0x00000023,0x00000018, | 19 | 0x000001bf,0x00000003,0x00000023,0x00000018, |
| 20 | 0x00050048,0x000001b7,0x00000004,0x00000023, | 20 | 0x00050048,0x000001bf,0x00000004,0x00000023, |
| 21 | 0x00000020,0x00050048,0x000001b7,0x00000005, | 21 | 0x00000020,0x00050048,0x000001bf,0x00000005, |
| 22 | 0x00000023,0x00000028,0x00050048,0x000001b7, | 22 | 0x00000023,0x00000028,0x00050048,0x000001bf, |
| 23 | 0x00000006,0x00000023,0x00000030,0x00050048, | 23 | 0x00000006,0x00000023,0x00000030,0x00050048, |
| 24 | 0x000001b7,0x00000007,0x00000023,0x00000034, | 24 | 0x000001bf,0x00000007,0x00000023,0x00000034, |
| 25 | 0x00050048,0x000001b7,0x00000008,0x00000023, | 25 | 0x00050048,0x000001bf,0x00000008,0x00000023, |
| 26 | 0x00000038,0x00050048,0x000001b7,0x00000009, | 26 | 0x00000038,0x00050048,0x000001bf,0x00000009, |
| 27 | 0x00000023,0x0000003c,0x00050048,0x000001b7, | 27 | 0x00000023,0x0000003c,0x00050048,0x000001bf, |
| 28 | 0x0000000a,0x00000023,0x00000040,0x00050048, | 28 | 0x0000000a,0x00000023,0x00000040,0x00050048, |
| 29 | 0x000001b7,0x0000000b,0x00000023,0x00000044, | 29 | 0x000001bf,0x0000000b,0x00000023,0x00000044, |
| 30 | 0x00050048,0x000001b7,0x0000000c,0x00000023, | 30 | 0x00050048,0x000001bf,0x0000000c,0x00000023, |
| 31 | 0x00000048,0x00050048,0x000001b7,0x0000000d, | 31 | 0x00000048,0x00050048,0x000001bf,0x0000000d, |
| 32 | 0x00000023,0x0000004c,0x00050048,0x000001b7, | 32 | 0x00000023,0x0000004c,0x00050048,0x000001bf, |
| 33 | 0x0000000e,0x00000023,0x00000050,0x00050048, | 33 | 0x0000000e,0x00000023,0x00000050,0x00050048, |
| 34 | 0x000001b7,0x0000000f,0x00000023,0x00000054, | 34 | 0x000001bf,0x0000000f,0x00000023,0x00000054, |
| 35 | 0x00050048,0x000001b7,0x00000010,0x00000023, | 35 | 0x00050048,0x000001bf,0x00000010,0x00000023, |
| 36 | 0x00000058,0x00050048,0x000001b7,0x00000011, | 36 | 0x00000058,0x00050048,0x000001bf,0x00000011, |
| 37 | 0x00000023,0x0000005c,0x00050048,0x000001b7, | 37 | 0x00000023,0x0000005c,0x00050048,0x000001bf, |
| 38 | 0x00000012,0x00000023,0x00000060,0x00050048, | 38 | 0x00000012,0x00000023,0x00000060,0x00050048, |
| 39 | 0x000001b7,0x00000013,0x00000023,0x00000064, | 39 | 0x000001bf,0x00000013,0x00000023,0x00000064, |
| 40 | 0x00040047,0x000012da,0x0000000b,0x0000001c, | 40 | 0x00050048,0x000001bf,0x00000014,0x00000023, |
| 41 | 0x00040047,0x000012e3,0x0000000b,0x0000001a, | 41 | 0x00000068,0x00040047,0x000013a4,0x0000000b, |
| 42 | 0x00040047,0x000012e4,0x0000000b,0x0000001b, | 42 | 0x0000001c,0x00040047,0x000013d5,0x0000000b, |
| 43 | 0x00040047,0x000013fb,0x0000000b,0x00000019, | 43 | 0x0000001a,0x00040047,0x000013d6,0x0000000b, |
| 44 | 0x00020013,0x00000002,0x00030021,0x00000003, | 44 | 0x0000001b,0x00040047,0x000014ed,0x0000000b, |
| 45 | 0x00000002,0x00040015,0x00000006,0x00000020, | 45 | 0x00000019,0x00020013,0x00000002,0x00030021, |
| 46 | 0x00000000,0x00040017,0x00000007,0x00000006, | 46 | 0x00000003,0x00000002,0x00040015,0x00000006, |
| 47 | 0x00000002,0x00040020,0x00000009,0x00000007, | 47 | 0x00000020,0x00000000,0x00040017,0x00000007, |
| 48 | 0x00000006,0x00030027,0x00000014,0x000014e5, | 48 | 0x00000006,0x00000002,0x00040020,0x00000009, |
| 49 | 0x0003001d,0x00000015,0x00000006,0x0003001e, | 49 | 0x00000007,0x00000006,0x00030027,0x00000014, |
| 50 | 0x00000016,0x00000015,0x00040020,0x00000014, | 50 | 0x000014e5,0x0003001d,0x00000015,0x00000006, |
| 51 | 0x000014e5,0x00000016,0x00030016,0x00000027, | 51 | 0x0003001e,0x00000016,0x00000015,0x00040020, |
| 52 | 0x00000020,0x00040020,0x00000028,0x00000007, | 52 | 0x00000014,0x000014e5,0x00000016,0x00030016, |
| 53 | 0x00000027,0x00020014,0x0000002f,0x00040017, | 53 | 0x00000027,0x00000020,0x00040020,0x00000028, |
| 54 | 0x0000006c,0x00000027,0x00000003,0x00040020, | 54 | 0x00000007,0x00000027,0x00020014,0x0000002f, |
| 55 | 0x0000006d,0x00000007,0x0000006c,0x00040020, | 55 | 0x00040017,0x0000006c,0x00000027,0x00000003, |
| 56 | 0x00000096,0x00000007,0x0000002f,0x00040017, | 56 | 0x00040020,0x0000006d,0x00000007,0x0000006c, |
| 57 | 0x000000df,0x00000006,0x00000003,0x00040020, | 57 | 0x00040020,0x0000009d,0x00000007,0x0000002f, |
| 58 | 0x000000e5,0x00000007,0x000000df,0x0004002b, | 58 | 0x00040017,0x000000e6,0x00000006,0x00000003, |
| 59 | 0x00000006,0x000000ec,0x00000004,0x0004001c, | 59 | 0x00040020,0x000000ec,0x00000007,0x000000e6, |
| 60 | 0x000000ed,0x00000006,0x000000ec,0x00040020, | 60 | 0x0004002b,0x00000006,0x000000f3,0x00000004, |
| 61 | 0x000000ee,0x00000007,0x000000ed,0x00040015, | 61 | 0x0004001c,0x000000f4,0x00000006,0x000000f3, |
| 62 | 0x000000f4,0x00000020,0x00000001,0x0004002b, | 62 | 0x00040020,0x000000f5,0x00000007,0x000000f4, |
| 63 | 0x00000006,0x00000138,0x00000000,0x0004001e, | 63 | 0x00040015,0x000000fb,0x00000020,0x00000001, |
| 64 | 0x0000013d,0x00000006,0x00000006,0x0004002b, | 64 | 0x0004002b,0x00000006,0x00000140,0x00000000, |
| 65 | 0x00000006,0x00000142,0x00000001,0x0004002b, | 65 | 0x0004001e,0x00000145,0x00000006,0x00000006, |
| 66 | 0x000000f4,0x0000016b,0x00000000,0x00040020, | 66 | 0x0004002b,0x00000006,0x0000014a,0x00000001, |
| 67 | 0x0000016c,0x000014e5,0x00000006,0x0016001e, | 67 | 0x0004002b,0x000000fb,0x00000173,0x00000000, |
| 68 | 0x000001b7,0x00000007,0x00000007,0x00000007, | 68 | 0x00040020,0x00000174,0x000014e5,0x00000006, |
| 69 | 0x00000007,0x00000007,0x00000007,0x00000006, | 69 | 0x0017001e,0x000001bf,0x00000007,0x00000007, |
| 70 | 0x00000007,0x00000007,0x00000007,0x00000007, | ||
| 70 | 0x00000006,0x00000006,0x00000006,0x00000006, | 71 | 0x00000006,0x00000006,0x00000006,0x00000006, |
| 71 | 0x00000006,0x00000006,0x00000006,0x00000006, | 72 | 0x00000006,0x00000006,0x00000006,0x00000006, |
| 72 | 0x00000006,0x00000006,0x00000006,0x00000006, | 73 | 0x00000006,0x00000006,0x00000006,0x00000006, |
| 73 | 0x00000006,0x00040020,0x000001b8,0x00000009, | 74 | 0x00000006,0x00000006,0x00000006,0x00040020, |
| 74 | 0x000001b7,0x0004003b,0x000001b8,0x000001b9, | 75 | 0x000001c0,0x00000009,0x000001bf,0x0004003b, |
| 75 | 0x00000009,0x0004002b,0x000000f4,0x000001ba, | 76 | 0x000001c0,0x000001c1,0x00000009,0x0004002b, |
| 76 | 0x0000000e,0x00040020,0x000001bb,0x00000009, | 77 | 0x000000fb,0x000001c2,0x0000000e,0x00040020, |
| 77 | 0x00000006,0x0004002b,0x00000006,0x000001be, | 78 | 0x000001c3,0x00000009,0x00000006,0x0004002b, |
| 78 | 0x00000100,0x0004002b,0x00000006,0x000001c4, | 79 | 0x00000006,0x000001c6,0x00000100,0x0004002b, |
| 79 | 0x00000040,0x0004002b,0x00000006,0x000001cd, | 80 | 0x00000006,0x000001cc,0x00000040,0x0004002b, |
| 80 | 0x00000008,0x0004002b,0x00000006,0x000001d4, | 81 | 0x00000006,0x000001d5,0x00000008,0x0004002b, |
| 81 | 0x0000000c,0x0004002b,0x00000006,0x000001db, | 82 | 0x00000006,0x000001dc,0x0000000c,0x0004002b, |
| 82 | 0x00000010,0x0004002b,0x00000006,0x000001ef, | 83 | 0x00000006,0x000001e3,0x00000010,0x0004002b, |
| 83 | 0x00000018,0x0004002b,0x000000f4,0x000001f0, | 84 | 0x00000006,0x000001f7,0x00000018,0x0004002b, |
| 84 | 0x0000000d,0x0004002b,0x00000006,0x00000205, | 85 | 0x000000fb,0x000001f8,0x0000000d,0x0004002b, |
| 85 | 0x00000020,0x0004002b,0x000000f4,0x00000206, | 86 | 0x00000006,0x0000020d,0x00000020,0x0004002b, |
| 86 | 0x00000009,0x0004002b,0x00000006,0x00000241, | 87 | 0x000000fb,0x0000020e,0x00000009,0x0004002b, |
| 87 | 0x80000000,0x0004002b,0x00000006,0x00000256, | 88 | 0x00000006,0x00000249,0x80000000,0x0004002b, |
| 88 | 0x7fffffff,0x0004002b,0x000000f4,0x00000264, | 89 | 0x00000006,0x0000025e,0x7fffffff,0x0004002b, |
| 89 | 0x00000001,0x00040020,0x00000266,0x00000009, | 90 | 0x000000fb,0x0000026c,0x00000001,0x00040020, |
| 90 | 0x00000007,0x0004002b,0x00000006,0x00000280, | 91 | 0x0000026e,0x00000009,0x00000007,0x0004002b, |
| 91 | 0x00000002,0x0004002b,0x00000006,0x00000299, | 92 | 0x00000006,0x00000288,0x00000002,0x0004002b, |
| 92 | 0x00000014,0x0004002b,0x00000027,0x000002fd, | 93 | 0x00000006,0x000002a1,0x00000014,0x0004002b, |
| 93 | 0x3f000000,0x0004002b,0x000000f4,0x00000315, | 94 | 0x00000027,0x00000305,0x3f000000,0x0004002b, |
| 94 | 0x00000002,0x0004002b,0x000000f4,0x0000031d, | 95 | 0x000000fb,0x0000031d,0x00000002,0x0004002b, |
| 95 | 0x00000003,0x0004002b,0x000000f4,0x00000325, | 96 | 0x000000fb,0x00000325,0x00000003,0x0004002b, |
| 96 | 0x00000004,0x0004002b,0x000000f4,0x0000032d, | 97 | 0x000000fb,0x0000032d,0x00000004,0x0004002b, |
| 97 | 0x00000005,0x0004002b,0x000000f4,0x00000334, | 98 | 0x000000fb,0x00000335,0x00000005,0x0004002b, |
| 98 | 0x00000013,0x0004002b,0x00000006,0x00000342, | 99 | 0x000000fb,0x0000033c,0x00000013,0x0004002b, |
| 99 | 0x00000080,0x0004002b,0x000000f4,0x0000034a, | 100 | 0x00000006,0x0000034a,0x00000080,0x0004002b, |
| 100 | 0x0000000f,0x0004002b,0x000000f4,0x00000351, | 101 | 0x000000fb,0x00000352,0x0000000f,0x0004002b, |
| 101 | 0x00000006,0x0004002b,0x00000006,0x00000355, | 102 | 0x000000fb,0x00000359,0x00000006,0x0004002b, |
| 102 | 0x00000006,0x0004002b,0x000000f4,0x0000035a, | 103 | 0x00000006,0x0000035d,0x00000006,0x0004002b, |
| 103 | 0x00000010,0x0004002b,0x00000006,0x00000364, | 104 | 0x000000fb,0x00000362,0x00000010,0x0004002b, |
| 104 | 0x00000005,0x0004002b,0x00000006,0x00000373, | 105 | 0x00000006,0x0000036c,0x00000005,0x0004002b, |
| 105 | 0x00008000,0x0004002b,0x00000006,0x0000037e, | 106 | 0x00000006,0x00000376,0x00000007,0x0003002a, |
| 106 | 0x7f800000,0x0004002b,0x00000006,0x00000383, | 107 | 0x0000002f,0x0000037d,0x0004002b,0x00000006, |
| 107 | 0x00007e00,0x0004002b,0x000000f4,0x0000038e, | 108 | 0x00000387,0x04000000,0x0004002b,0x000000fb, |
| 108 | 0x00000017,0x0004002b,0x000000f4,0x00000391, | 109 | 0x000003b7,0x00000012,0x0004002b,0x00000006, |
| 109 | 0x0000007f,0x0004002b,0x00000006,0x00000399, | 110 | 0x000003bf,0xffffffff,0x0004002b,0x000000fb, |
| 110 | 0x00007c00,0x0004002b,0x00000006,0x0000039a, | 111 | 0x000003c1,0x00000011,0x0004002b,0x00000006, |
| 111 | 0x00007bff,0x0004002b,0x000000f4,0x0000039f, | 112 | 0x000003d1,0x00008000,0x0004002b,0x00000006, |
| 112 | 0xfffffff2,0x0004002b,0x00000006,0x000003a8, | 113 | 0x000003dc,0x7f800000,0x0004002b,0x00000006, |
| 113 | 0x00000400,0x0004002b,0x00000006,0x000003b0, | 114 | 0x000003e1,0x00007e00,0x0004002b,0x000000fb, |
| 114 | 0x007fffff,0x0004002b,0x000000f4,0x000003b6, | 115 | 0x000003ec,0x00000017,0x0004002b,0x000000fb, |
| 115 | 0x0000000a,0x0004002b,0x00000006,0x000003bf, | 116 | 0x000003ef,0x0000007f,0x0004002b,0x00000006, |
| 116 | 0x00001fff,0x0003002a,0x0000002f,0x000003cc, | 117 | 0x000003f7,0x00007c00,0x0004002b,0x00000006, |
| 117 | 0x00030029,0x0000002f,0x000003e7,0x0004002b, | 118 | 0x000003f8,0x00007bff,0x0004002b,0x000000fb, |
| 118 | 0x00000027,0x00000426,0x00000000,0x0004002b, | 119 | 0x000003fd,0xfffffff2,0x0004002b,0x00000006, |
| 119 | 0x000000f4,0x00000434,0x0000000b,0x0004002b, | 120 | 0x00000406,0x00000400,0x0004002b,0x00000006, |
| 120 | 0x00000006,0x0000045c,0x0000ffff,0x0004002b, | 121 | 0x0000040e,0x007fffff,0x0004002b,0x000000fb, |
| 121 | 0x00000006,0x00000470,0x00000003,0x00040017, | 122 | 0x00000414,0x0000000a,0x0004002b,0x00000006, |
| 122 | 0x00000475,0x00000027,0x00000004,0x0004001c, | 123 | 0x0000041d,0x00001fff,0x00030029,0x0000002f, |
| 123 | 0x000004af,0x0000006c,0x00000470,0x00040020, | 124 | 0x00000444,0x0004002b,0x000000fb,0x00000467, |
| 124 | 0x000004b0,0x00000007,0x000004af,0x0004002b, | 125 | 0x00000014,0x0004002b,0x00000027,0x0000046d, |
| 125 | 0x000000f4,0x000004c1,0x00000008,0x0004002b, | 126 | 0x7fc00000,0x0006002c,0x0000006c,0x0000046e, |
| 126 | 0x00000006,0x00000500,0x00000024,0x0004002b, | 127 | 0x0000046d,0x0000046d,0x0000046d,0x0004002b, |
| 127 | 0x00000006,0x0000050b,0x00000028,0x0004002b, | 128 | 0x00000027,0x0000048d,0x00000000,0x0004002b, |
| 128 | 0x00000006,0x00000516,0x0000002c,0x0004002b, | 129 | 0x000000fb,0x0000049b,0x0000000b,0x0004002b, |
| 129 | 0x00000006,0x00000521,0x00000030,0x0004002b, | 130 | 0x00000006,0x000004c3,0x0000ffff,0x0004002b, |
| 130 | 0x000000f4,0x00000523,0x0000000c,0x0004002b, | 131 | 0x00000006,0x000004d7,0x00000003,0x00040017, |
| 131 | 0x00000006,0x0000052d,0x00000034,0x0004002b, | 132 | 0x000004dc,0x00000027,0x00000004,0x0004001c, |
| 132 | 0x00000006,0x00000537,0x00000038,0x0004002b, | 133 | 0x00000516,0x0000006c,0x000004d7,0x00040020, |
| 133 | 0x00000006,0x00000539,0xffffffff,0x0004002b, | 134 | 0x00000517,0x00000007,0x00000516,0x0004002b, |
| 134 | 0x00000006,0x00000541,0x0000003c,0x0004002b, | 135 | 0x000000fb,0x00000528,0x00000008,0x0004002b, |
| 135 | 0x00000006,0x00000543,0x00000009,0x00040017, | 136 | 0x00000006,0x00000567,0x00000024,0x0004002b, |
| 136 | 0x0000054d,0x0000002f,0x00000003,0x0004002b, | 137 | 0x00000006,0x00000572,0x00000028,0x0004002b, |
| 137 | 0x00000027,0x00000575,0x7f800000,0x0006002c, | 138 | 0x00000006,0x0000057d,0x0000002c,0x0004002b, |
| 138 | 0x0000006c,0x00000576,0x00000575,0x00000575, | 139 | 0x00000006,0x00000588,0x00000030,0x0004002b, |
| 139 | 0x00000575,0x0004002b,0x00000006,0x0000062f, | 140 | 0x000000fb,0x0000058a,0x0000000c,0x0004002b, |
| 140 | 0x000000ff,0x0004001c,0x00000645,0x00000027, | 141 | 0x00000006,0x00000594,0x00000034,0x0004002b, |
| 141 | 0x000001d4,0x00040020,0x00000646,0x00000007, | 142 | 0x00000006,0x0000059e,0x00000038,0x0004002b, |
| 142 | 0x00000645,0x0004002b,0x00000006,0x000006d9, | 143 | 0x00000006,0x000005a7,0x0000003c,0x0004002b, |
| 143 | 0x0000001c,0x0004002b,0x000000f4,0x000006f3, | 144 | 0x00000006,0x000005a9,0x00000009,0x00040017, |
| 144 | 0x00000018,0x0004002b,0x000000f4,0x0000074d, | 145 | 0x000005b3,0x0000002f,0x00000003,0x0004002b, |
| 145 | 0x00000007,0x0004002b,0x00000027,0x00000771, | 146 | 0x00000027,0x000005db,0x7f800000,0x0006002c, |
| 146 | 0x3f800000,0x0004002b,0x00000006,0x000007a6, | 147 | 0x0000006c,0x000005dc,0x000005db,0x000005db, |
| 147 | 0x3fffffff,0x0005002c,0x00000007,0x000007b5, | 148 | 0x000005db,0x0004002b,0x00000006,0x00000695, |
| 148 | 0x00000138,0x00000138,0x00040018,0x000007c5, | 149 | 0x000000ff,0x0004001c,0x000006ab,0x00000027, |
| 149 | 0x0000006c,0x00000003,0x00040020,0x000007c6, | 150 | 0x000001dc,0x00040020,0x000006ac,0x00000007, |
| 150 | 0x00000007,0x000007c5,0x0006002c,0x0000006c, | 151 | 0x000006ab,0x0004002b,0x00000006,0x0000073f, |
| 151 | 0x000007ea,0x00000426,0x00000426,0x00000426, | 152 | 0x0000001c,0x0004002b,0x000000fb,0x00000759, |
| 152 | 0x0006002c,0x000007c5,0x000007eb,0x000007ea, | 153 | 0x00000018,0x0004002b,0x000000fb,0x000007b3, |
| 153 | 0x000007ea,0x000007ea,0x0004002b,0x00000006, | 154 | 0x00000007,0x0004002b,0x00000027,0x000007d7, |
| 154 | 0x00000811,0x00000044,0x0004002b,0x00000006, | 155 | 0x3f800000,0x0004002b,0x00000006,0x0000080c, |
| 155 | 0x00000820,0x00000048,0x0004002b,0x00000006, | 156 | 0x3fffffff,0x0005002c,0x00000007,0x0000081b, |
| 156 | 0x0000082f,0x0000004c,0x0004002b,0x00000006, | 157 | 0x00000140,0x00000140,0x00040018,0x0000082b, |
| 157 | 0x00000840,0x00000070,0x0004002b,0x00000006, | 158 | 0x0000006c,0x00000003,0x00040020,0x0000082c, |
| 158 | 0x0000084a,0x00000074,0x0004002b,0x00000006, | 159 | 0x00000007,0x0000082b,0x0006002c,0x0000006c, |
| 159 | 0x00000853,0x00000078,0x0004002b,0x00000006, | 160 | 0x00000850,0x0000048d,0x0000048d,0x0000048d, |
| 160 | 0x0000085c,0x0000007c,0x0004002b,0x00000006, | 161 | 0x0006002c,0x0000082b,0x00000851,0x00000850, |
| 161 | 0x00000876,0x000003ff,0x0004002b,0x00000006, | 162 | 0x00000850,0x00000850,0x0004002b,0x00000006, |
| 162 | 0x0000087d,0x030000ff,0x0004002b,0x00000006, | 163 | 0x00000877,0x00000044,0x0004002b,0x00000006, |
| 163 | 0x00000883,0x0300f00f,0x0004002b,0x00000006, | 164 | 0x00000886,0x00000048,0x0004002b,0x00000006, |
| 164 | 0x00000889,0x030c30c3,0x0004002b,0x00000006, | 165 | 0x00000895,0x0000004c,0x0004002b,0x00000006, |
| 165 | 0x0000088f,0x09249249,0x0004002b,0x00000027, | 166 | 0x000008a6,0x00000070,0x0004002b,0x00000006, |
| 166 | 0x000008d2,0x0da24260,0x0006002c,0x0000006c, | 167 | 0x000008b0,0x00000074,0x0004002b,0x00000006, |
| 167 | 0x000008d3,0x000008d2,0x000008d2,0x000008d2, | 168 | 0x000008b9,0x00000078,0x0004002b,0x00000006, |
| 168 | 0x0004002b,0x00000027,0x000008e1,0x447fc000, | 169 | 0x000008c2,0x0000007c,0x0004002b,0x00000006, |
| 169 | 0x0004001c,0x00000922,0x00000006,0x000003a8, | 170 | 0x000008dc,0x000003ff,0x0004002b,0x00000006, |
| 170 | 0x00040020,0x00000923,0x00000004,0x00000922, | 171 | 0x000008e3,0x030000ff,0x0004002b,0x00000006, |
| 171 | 0x0004003b,0x00000923,0x00000924,0x00000004, | 172 | 0x000008e9,0x0300f00f,0x0004002b,0x00000006, |
| 172 | 0x00040020,0x00000937,0x00000004,0x00000006, | 173 | 0x000008ef,0x030c30c3,0x0004002b,0x00000006, |
| 173 | 0x0004003b,0x00000923,0x00000939,0x00000004, | 174 | 0x000008f5,0x09249249,0x0004002b,0x00000027, |
| 174 | 0x0004002b,0x00000006,0x0000094f,0x00000108, | 175 | 0x00000938,0x0da24260,0x0006002c,0x0000006c, |
| 175 | 0x0004002b,0x00000006,0x00000a0e,0x0000000f, | 176 | 0x00000939,0x00000938,0x00000938,0x00000938, |
| 176 | 0x0004001c,0x00000a16,0x00000006,0x000001db, | 177 | 0x0004002b,0x00000027,0x00000947,0x447fc000, |
| 177 | 0x00040020,0x00000a17,0x00000004,0x00000a16, | 178 | 0x0004001c,0x00000988,0x00000006,0x00000406, |
| 178 | 0x0004003b,0x00000a17,0x00000a18,0x00000004, | 179 | 0x00040020,0x00000989,0x00000004,0x00000988, |
| 179 | 0x0004002b,0x00000006,0x00000a56,0x0000003f, | 180 | 0x0004003b,0x00000989,0x0000098a,0x00000004, |
| 180 | 0x0004001c,0x00000a7d,0x00000006,0x000001c4, | 181 | 0x00040020,0x0000099d,0x00000004,0x00000006, |
| 181 | 0x00040020,0x00000a7e,0x00000004,0x00000a7d, | 182 | 0x0004003b,0x00000989,0x0000099f,0x00000004, |
| 182 | 0x0004003b,0x00000a7e,0x00000a7f,0x00000004, | 183 | 0x0004002b,0x00000006,0x000009b5,0x00000108, |
| 183 | 0x0004003b,0x00000a17,0x00000ad4,0x00000004, | 184 | 0x0004002b,0x00000006,0x00000a74,0x0000000f, |
| 184 | 0x0004001c,0x00000b2b,0x00000a7d,0x000001db, | 185 | 0x0004001c,0x00000a7c,0x00000006,0x000001e3, |
| 185 | 0x00040020,0x00000b2c,0x00000004,0x00000b2b, | 186 | 0x00040020,0x00000a7d,0x00000004,0x00000a7c, |
| 186 | 0x0004003b,0x00000b2c,0x00000b2d,0x00000004, | 187 | 0x0004003b,0x00000a7d,0x00000a7e,0x00000004, |
| 187 | 0x00040020,0x00000b49,0x00000007,0x00000a16, | 188 | 0x0004002b,0x00000006,0x00000abc,0x0000003f, |
| 188 | 0x0004002b,0x000000f4,0x00000b9b,0x0000003f, | 189 | 0x0004001c,0x00000ae3,0x00000006,0x000001cc, |
| 189 | 0x0004001c,0x00000bf5,0x0000002f,0x000000ec, | 190 | 0x00040020,0x00000ae4,0x00000004,0x00000ae3, |
| 190 | 0x00040020,0x00000bf6,0x00000007,0x00000bf5, | 191 | 0x0004003b,0x00000ae4,0x00000ae5,0x00000004, |
| 191 | 0x0004001c,0x00000c08,0x000000df,0x00000470, | 192 | 0x0004003b,0x00000a7d,0x00000b3a,0x00000004, |
| 192 | 0x0004001c,0x00000c09,0x00000c08,0x000000ec, | 193 | 0x0004001c,0x00000b91,0x00000ae3,0x000001e3, |
| 193 | 0x00040020,0x00000c0a,0x00000007,0x00000c09, | 194 | 0x00040020,0x00000b92,0x00000004,0x00000b91, |
| 194 | 0x0006002c,0x000000df,0x00000c0e,0x00000138, | 195 | 0x0004003b,0x00000b92,0x00000b93,0x00000004, |
| 195 | 0x00000138,0x00000138,0x0004002b,0x00000006, | 196 | 0x00040020,0x00000baf,0x00000007,0x00000a7c, |
| 196 | 0x00000d2b,0x00000007,0x0004002b,0x00000006, | 197 | 0x0004002b,0x000000fb,0x00000c01,0x0000003f, |
| 197 | 0x00000d45,0xfffffff8,0x0004002b,0x000000f4, | 198 | 0x0004001c,0x00000c5b,0x0000002f,0x000000f3, |
| 198 | 0x00000d67,0xffffffff,0x0004002b,0x000000f4, | 199 | 0x00040020,0x00000c5c,0x00000007,0x00000c5b, |
| 199 | 0x00000d76,0x00000040,0x0004002b,0x000000f4, | 200 | 0x0004001c,0x00000c6e,0x000000e6,0x000004d7, |
| 200 | 0x00000d7e,0x0000001f,0x0004003b,0x00000937, | 201 | 0x0004001c,0x00000c6f,0x00000c6e,0x000000f3, |
| 201 | 0x00000e6f,0x00000004,0x0004003b,0x00000a7e, | 202 | 0x00040020,0x00000c70,0x00000007,0x00000c6f, |
| 202 | 0x00000eff,0x00000004,0x0007002c,0x000000ed, | 203 | 0x0006002c,0x000000e6,0x00000c74,0x00000140, |
| 203 | 0x00000fd5,0x00000539,0x00000539,0x00000539, | 204 | 0x00000140,0x00000140,0x0004002b,0x00000006, |
| 204 | 0x00000539,0x0004001c,0x0000100d,0x00000006, | 205 | 0x00000daa,0xfffffff8,0x0004002b,0x000000fb, |
| 205 | 0x00000280,0x00040020,0x0000100e,0x00000007, | 206 | 0x00000dcc,0xffffffff,0x0004002b,0x000000fb, |
| 206 | 0x0000100d,0x0004002b,0x000000f4,0x000010be, | 207 | 0x00000ddb,0x00000040,0x0004002b,0x000000fb, |
| 207 | 0x00000011,0x0004001c,0x00001130,0x00000006, | 208 | 0x00000de3,0x0000001f,0x0004003b,0x0000099d, |
| 208 | 0x00000355,0x00040020,0x00001131,0x00000007, | 209 | 0x00000ed4,0x00000004,0x0004003b,0x00000ae4, |
| 209 | 0x00001130,0x00040020,0x000012d9,0x00000001, | 210 | 0x00000f64,0x00000004,0x0007002c,0x000000f4, |
| 210 | 0x000000df,0x0004003b,0x000012d9,0x000012da, | 211 | 0x0000103a,0x000003bf,0x000003bf,0x000003bf, |
| 211 | 0x00000001,0x00040020,0x000012db,0x00000001, | 212 | 0x000003bf,0x0004001c,0x00001072,0x00000006, |
| 212 | 0x00000006,0x0004003b,0x000012d9,0x000012e3, | 213 | 0x00000288,0x00040020,0x00001073,0x00000007, |
| 213 | 0x00000001,0x0004003b,0x000012d9,0x000012e4, | 214 | 0x00001072,0x0004001c,0x00001199,0x00000006, |
| 214 | 0x00000001,0x0004002b,0x00000006,0x0000130e, | 215 | 0x0000035d,0x00040020,0x0000119a,0x00000007, |
| 215 | 0x0000000a,0x0004002b,0x00000006,0x00001319, | 216 | 0x00001199,0x00040020,0x000013a3,0x00000001, |
| 216 | 0x0000000e,0x0004002b,0x00000006,0x00001357, | 217 | 0x000000e6,0x0004003b,0x000013a3,0x000013a4, |
| 217 | 0x0000000d,0x0004002b,0x00000006,0x000013ea, | 218 | 0x00000001,0x00040020,0x000013a5,0x00000001, |
| 218 | 0x00000011,0x0004002b,0x00000006,0x000013f4, | 219 | 0x00000006,0x0004002b,0x00000006,0x000013bf, |
| 219 | 0x00000012,0x0006002c,0x000000df,0x000013fb, | 220 | 0x00000013,0x0004003b,0x000013a3,0x000013d5, |
| 220 | 0x000001c4,0x00000142,0x00000142,0x0006002c, | 221 | 0x00000001,0x0004003b,0x000013a3,0x000013d6, |
| 221 | 0x0000006c,0x000060fc,0x00000771,0x00000771, | 222 | 0x00000001,0x0004002b,0x00000006,0x00001400, |
| 222 | 0x00000771,0x0004002b,0x00000027,0x000060fd, | 223 | 0x0000000a,0x0004002b,0x00000006,0x0000140b, |
| 223 | 0xff800000,0x0006002c,0x0000006c,0x000060fe, | 224 | 0x0000000e,0x0004002b,0x00000006,0x00001449, |
| 224 | 0x000060fd,0x000060fd,0x000060fd,0x0004002b, | 225 | 0x0000000d,0x0004002b,0x00000006,0x000014dc, |
| 225 | 0x000000f4,0x000060ff,0xffffff90,0x0004002b, | 226 | 0x00000011,0x0004002b,0x00000006,0x000014e6, |
| 226 | 0x00000006,0x00006100,0xff800000,0x0004002b, | 227 | 0x00000012,0x0006002c,0x000000e6,0x000014ed, |
| 227 | 0x00000006,0x0000610e,0x80000006,0x0004002b, | 228 | 0x000001cc,0x0000014a,0x0000014a,0x0006002c, |
| 228 | 0x00000006,0x00006112,0x7bff7bff,0x0004002b, | 229 | 0x0000006c,0x00006530,0x000007d7,0x000007d7, |
| 229 | 0x00000006,0x00006114,0xfbff7bff,0x0004002b, | 230 | 0x000007d7,0x0004002b,0x00000027,0x00006531, |
| 230 | 0x00000006,0x00006115,0xfbfffbff,0x00040017, | 231 | 0xff800000,0x0006002c,0x0000006c,0x00006532, |
| 231 | 0x0000611e,0x0000002f,0x00000002,0x00050036, | 232 | 0x00006531,0x00006531,0x00006531,0x0004002b, |
| 233 | 0x000000fb,0x00006533,0xffffff90,0x0004002b, | ||
| 234 | 0x00000006,0x00006534,0xff800000,0x0004002b, | ||
| 235 | 0x00000006,0x00006542,0x80000006,0x0004002b, | ||
| 236 | 0x00000006,0x00006548,0x7bff7bff,0x0004002b, | ||
| 237 | 0x00000006,0x0000654a,0xfbff7bff,0x0004002b, | ||
| 238 | 0x00000006,0x0000654b,0xfbfffbff,0x00040017, | ||
| 239 | 0x00006554,0x0000002f,0x00000002,0x00050036, | ||
| 232 | 0x00000002,0x00000004,0x00000000,0x00000003, | 240 | 0x00000002,0x00000004,0x00000000,0x00000003, |
| 233 | 0x000200f8,0x00000005,0x0004003b,0x00001131, | 241 | 0x000200f8,0x00000005,0x0004003b,0x0000119a, |
| 234 | 0x00005905,0x00000007,0x0004003b,0x00000bf6, | 242 | 0x00005c65,0x00000007,0x0004003b,0x00000c5c, |
| 235 | 0x00004551,0x00000007,0x0004003b,0x00000bf6, | 243 | 0x0000482f,0x00000007,0x0004003b,0x00000c5c, |
| 236 | 0x00004552,0x00000007,0x0004003b,0x000000ee, | 244 | 0x00004830,0x00000007,0x0004003b,0x000000f5, |
| 237 | 0x00004553,0x00000007,0x0004003b,0x00000c0a, | 245 | 0x00004831,0x00000007,0x0004003b,0x00000c70, |
| 238 | 0x00004555,0x00000007,0x0004003b,0x000000ee, | 246 | 0x00004833,0x00000007,0x0004003b,0x000000f5, |
| 239 | 0x00003ff3,0x00000007,0x0004003b,0x000000ee, | 247 | 0x000042d1,0x00000007,0x0004003b,0x000000f5, |
| 240 | 0x00003ff4,0x00000007,0x0004003b,0x0000100e, | 248 | 0x000042d2,0x00000007,0x0004003b,0x00001073, |
| 241 | 0x00003ffe,0x00000007,0x0004003b,0x0000100e, | 249 | 0x000042dc,0x00000007,0x0004003b,0x00001073, |
| 242 | 0x00004005,0x00000007,0x0004003b,0x000000ee, | 250 | 0x000042e3,0x00000007,0x0004003b,0x000000f5, |
| 243 | 0x0000400e,0x00000007,0x0004003b,0x000000ee, | 251 | 0x000042ec,0x00000007,0x0004003b,0x000000f5, |
| 244 | 0x0000400f,0x00000007,0x0004003b,0x00000646, | 252 | 0x000042ed,0x00000007,0x0004003b,0x000006ac, |
| 245 | 0x00002c30,0x00000007,0x0004003b,0x000007c6, | 253 | 0x00002f0e,0x00000007,0x0004003b,0x0000082c, |
| 246 | 0x00002c75,0x00000007,0x0004003b,0x0000006d, | 254 | 0x00002f53,0x00000007,0x0004003b,0x0000006d, |
| 247 | 0x00002c78,0x00000007,0x0004003b,0x0000006d, | 255 | 0x00002f56,0x00000007,0x0004003b,0x0000006d, |
| 248 | 0x000027c3,0x00000007,0x0004003b,0x000004b0, | 256 | 0x00002aa1,0x00000007,0x0004003b,0x00000517, |
| 249 | 0x000025da,0x00000007,0x0004003b,0x00001131, | 257 | 0x000028ad,0x00000007,0x0004003b,0x0000119a, |
| 250 | 0x00002131,0x00000007,0x0004003b,0x00000b49, | 258 | 0x00002404,0x00000007,0x0004003b,0x00000baf, |
| 251 | 0x0000160c,0x00000007,0x000300f7,0x000013fd, | 259 | 0x000018df,0x00000007,0x000300f7,0x000014ef, |
| 252 | 0x00000000,0x000300fb,0x00000138,0x000013fe, | 260 | 0x00000000,0x000300fb,0x00000140,0x000014f0, |
| 253 | 0x000200f8,0x000013fe,0x00050041,0x000012db, | 261 | 0x000200f8,0x000014f0,0x00050041,0x000013a5, |
| 254 | 0x000012dc,0x000012da,0x00000138,0x0004003d, | 262 | 0x000013a6,0x000013a4,0x00000140,0x0004003d, |
| 255 | 0x00000006,0x000012dd,0x000012dc,0x00050041, | 263 | 0x00000006,0x000013a7,0x000013a6,0x00050041, |
| 256 | 0x000001bb,0x000012de,0x000001b9,0x00000351, | 264 | 0x000001c3,0x000013a8,0x000001c1,0x0000033c, |
| 257 | 0x0004003d,0x00000006,0x000012df,0x000012de, | 265 | 0x0004003d,0x00000006,0x000013a9,0x000013a8, |
| 258 | 0x000500aa,0x0000002f,0x000012e0,0x000012df, | 266 | 0x000500c7,0x00000006,0x000013aa,0x000013a9, |
| 259 | 0x00000d2b,0x000300f7,0x000012e2,0x00000000, | 267 | 0x00000588,0x000500ab,0x0000002f,0x000013ab, |
| 260 | 0x000400fa,0x000012e0,0x000012e1,0x000012e2, | 268 | 0x000013aa,0x00000140,0x000300f7,0x000013ad, |
| 261 | 0x000200f8,0x000012e1,0x00050041,0x000012db, | 269 | 0x00000000,0x000400fa,0x000013ab,0x000013ac, |
| 262 | 0x000012e6,0x000012e3,0x00000138,0x0004003d, | 270 | 0x000013ad,0x000200f8,0x000013ac,0x00050041, |
| 263 | 0x00000006,0x000012e7,0x000012e6,0x00050041, | 271 | 0x0000026e,0x000013af,0x000001c1,0x0000026c, |
| 264 | 0x000012db,0x000012e9,0x000012e4,0x00000138, | 272 | 0x0004003d,0x00000007,0x000013b0,0x000013af, |
| 265 | 0x0004003d,0x00000006,0x000012ea,0x000012e9, | 273 | 0x00050051,0x00000006,0x0000154e,0x000013b0, |
| 266 | 0x000500b0,0x0000002f,0x0000143d,0x000012ea, | 274 | 0x00000000,0x00050095,0x00000145,0x00001550, |
| 267 | 0x000001db,0x000300f7,0x00001441,0x00000000, | 275 | 0x0000154e,0x0000073f,0x00050051,0x00000006, |
| 268 | 0x000400fa,0x0000143d,0x0000143e,0x00001441, | 276 | 0x00001551,0x00001550,0x00000001,0x00050051, |
| 269 | 0x000200f8,0x0000143e,0x00050041,0x00000937, | 277 | 0x00000006,0x00001552,0x00001550,0x00000000, |
| 270 | 0x00001440,0x00000a18,0x000012ea,0x0003003e, | 278 | 0x00050051,0x00000006,0x00001555,0x000013b0, |
| 271 | 0x00001440,0x00000138,0x000200f9,0x00001441, | 279 | 0x00000001,0x00050080,0x00000006,0x00001557, |
| 272 | 0x000200f8,0x00001441,0x000400e0,0x00000280, | 280 | 0x00001555,0x00001551,0x00050050,0x00000007, |
| 273 | 0x00000280,0x0000094f,0x00050084,0x00000006, | 281 | 0x00001558,0x00001552,0x00001557,0x0004007c, |
| 274 | 0x00001443,0x000012e7,0x000001be,0x00050080, | 282 | 0x00000014,0x00001548,0x00001558,0x00060041, |
| 275 | 0x00000006,0x00001445,0x00001443,0x000001be, | 283 | 0x00000174,0x0000153f,0x00001548,0x00000173, |
| 276 | 0x00050041,0x000001bb,0x00001446,0x000001b9, | 284 | 0x00000173,0x0006003d,0x00000006,0x00001540, |
| 277 | 0x000001ba,0x0004003d,0x00000006,0x00001447, | 285 | 0x0000153f,0x00000002,0x00000004,0x000500aa, |
| 278 | 0x00001446,0x0007000c,0x00000006,0x00001448, | 286 | 0x0000002f,0x000013b3,0x00001540,0x0000014a, |
| 279 | 0x00000001,0x00000026,0x00001445,0x00001447, | 287 | 0x000500c7,0x00000006,0x000013b6,0x000013a9, |
| 280 | 0x00050080,0x00000006,0x0000144b,0x00001443, | 288 | 0x000001e3,0x000500ab,0x0000002f,0x000013b7, |
| 281 | 0x000012ea,0x000200f9,0x0000144c,0x000200f8, | 289 | 0x000013b6,0x00000140,0x000500a5,0x0000002f, |
| 282 | 0x0000144c,0x000700f5,0x00000006,0x00005fd2, | 290 | 0x000013b8,0x000013b3,0x000013b7,0x000200f9, |
| 283 | 0x0000144b,0x00001441,0x0000145e,0x0000145c, | 291 | 0x000013ad,0x000200f8,0x000013ad,0x000700f5, |
| 284 | 0x000500b0,0x0000002f,0x00001450,0x00005fd2, | 292 | 0x0000002f,0x000013b9,0x000013ab,0x000014f0, |
| 285 | 0x00001448,0x000400f6,0x0000145f,0x0000145c, | 293 | 0x000013b8,0x000013ac,0x000300f7,0x000013bb, |
| 286 | 0x00000000,0x000400fa,0x00001450,0x00001451, | 294 | 0x00000000,0x000400fa,0x000013b9,0x000013ba, |
| 287 | 0x0000145f,0x000200f8,0x00001451,0x00050041, | 295 | 0x000013bb,0x000200f8,0x000013ba,0x000200f9, |
| 288 | 0x000001bb,0x00001475,0x000001b9,0x000004c1, | 296 | 0x000014ef,0x000200f8,0x000013bb,0x00050041, |
| 289 | 0x0004003d,0x00000006,0x00001476,0x00001475, | 297 | 0x000001c3,0x000013bd,0x000001c1,0x00000359, |
| 290 | 0x000500c7,0x00000006,0x00001477,0x00001476, | 298 | 0x0004003d,0x00000006,0x000013be,0x000013bd, |
| 291 | 0x00000142,0x000500aa,0x0000002f,0x00001478, | 299 | 0x000500aa,0x0000002f,0x000013c0,0x000013be, |
| 292 | 0x00001477,0x00000138,0x000300f7,0x0000147d, | 300 | 0x000013bf,0x000300f7,0x000013c2,0x00000000, |
| 293 | 0x00000000,0x000400fa,0x00001478,0x00001479, | 301 | 0x000400fa,0x000013c0,0x000013c1,0x000013c2, |
| 294 | 0x0000147b,0x000200f8,0x0000147b,0x00050084, | 302 | 0x000200f8,0x000013c1,0x000500aa,0x0000002f, |
| 295 | 0x00000006,0x00001485,0x000001cd,0x00001447, | 303 | 0x000013c4,0x000013a7,0x00000140,0x000300f7, |
| 296 | 0x00050080,0x00000006,0x00001486,0x000001c4, | 304 | 0x000013c6,0x00000000,0x000400fa,0x000013c4, |
| 297 | 0x00001485,0x000200f9,0x0000147d,0x000200f8, | 305 | 0x000013c5,0x000013c6,0x000200f8,0x000013c5, |
| 298 | 0x00001479,0x000200f9,0x0000147d,0x000200f8, | 306 | 0x00050041,0x0000026e,0x0000156d,0x000001c1, |
| 299 | 0x0000147d,0x000700f5,0x00000006,0x00005fd3, | 307 | 0x00000173,0x0004003d,0x00000007,0x0000156e, |
| 300 | 0x000001c4,0x00001479,0x00001486,0x0000147b, | 308 | 0x0000156d,0x00050051,0x00000006,0x000015d0, |
| 301 | 0x00050084,0x00000006,0x00001454,0x000000ec, | 309 | 0x0000156e,0x00000000,0x00050095,0x00000145, |
| 302 | 0x00005fd2,0x00050080,0x00000006,0x00001455, | 310 | 0x000015d2,0x000015d0,0x000000f3,0x00050051, |
| 303 | 0x00005fd3,0x00001454,0x00050041,0x00000266, | 311 | 0x00000006,0x000015d3,0x000015d2,0x00000001, |
| 304 | 0x00001456,0x000001b9,0x00000264,0x0004003d, | 312 | 0x00050051,0x00000006,0x000015d4,0x000015d2, |
| 305 | 0x00000007,0x00001457,0x00001456,0x00050051, | 313 | 0x00000000,0x00050051,0x00000006,0x000015d7, |
| 306 | 0x00000006,0x0000149d,0x00001457,0x00000000, | 314 | 0x0000156e,0x00000001,0x00050080,0x00000006, |
| 307 | 0x00050095,0x0000013d,0x0000149f,0x0000149d, | 315 | 0x000015d9,0x000015d7,0x000015d3,0x00050050, |
| 308 | 0x00001455,0x00050051,0x00000006,0x000014a0, | 316 | 0x00000007,0x000015da,0x000015d4,0x000015d9, |
| 309 | 0x0000149f,0x00000001,0x00050051,0x00000006, | 317 | 0x0004007c,0x00000014,0x000015ca,0x000015da, |
| 310 | 0x000014a1,0x0000149f,0x00000000,0x00050051, | 318 | 0x00060041,0x00000174,0x000015c1,0x000015ca, |
| 311 | 0x00000006,0x000014a4,0x00001457,0x00000001, | 319 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 312 | 0x00050080,0x00000006,0x000014a6,0x000014a4, | 320 | 0x000015c2,0x000015c1,0x00000002,0x00000004, |
| 313 | 0x000014a0,0x00050050,0x00000007,0x000014a7, | 321 | 0x00050080,0x00000006,0x00001570,0x000015c2, |
| 314 | 0x000014a1,0x000014a6,0x0004007c,0x00000014, | 322 | 0x0000014a,0x00050084,0x00000006,0x00001571, |
| 315 | 0x00001497,0x000014a7,0x00060041,0x0000016c, | 323 | 0x00001570,0x000001cc,0x00050095,0x00000145, |
| 316 | 0x0000148e,0x00001497,0x0000016b,0x0000016b, | 324 | 0x000015f3,0x000015d0,0x00000140,0x00050051, |
| 317 | 0x0006003d,0x00000006,0x0000148f,0x0000148e, | 325 | 0x00000006,0x000015f4,0x000015f3,0x00000001, |
| 318 | 0x00000002,0x00000004,0x00050084,0x00000006, | 326 | 0x00050051,0x00000006,0x000015f5,0x000015f3, |
| 319 | 0x000014ad,0x000000ec,0x00001476,0x000500c2, | 327 | 0x00000000,0x00050080,0x00000006,0x000015fa, |
| 320 | 0x00000006,0x000014ae,0x0000148f,0x000014ad, | 328 | 0x000015d7,0x000015f4,0x00050050,0x00000007, |
| 321 | 0x000500c7,0x00000006,0x000014af,0x000014ae, | 329 | 0x000015fb,0x000015f5,0x000015fa,0x0004007c, |
| 322 | 0x00000a0e,0x00050041,0x00000937,0x0000145a, | 330 | 0x00000014,0x000015eb,0x000015fb,0x00060041, |
| 323 | 0x00000a18,0x000014af,0x000700ea,0x00000006, | 331 | 0x00000174,0x000015e2,0x000015eb,0x00000173, |
| 324 | 0x0000145b,0x0000145a,0x00000142,0x00000138, | 332 | 0x00000173,0x0006003d,0x00000006,0x000015e3, |
| 325 | 0x00000142,0x000200f9,0x0000145c,0x000200f8, | 333 | 0x000015e2,0x00000002,0x00000004,0x000500c7, |
| 326 | 0x0000145c,0x00050080,0x00000006,0x0000145e, | 334 | 0x00000006,0x00001600,0x000013a9,0x0000014a, |
| 327 | 0x00005fd2,0x000001c4,0x000200f9,0x0000144c, | 335 | 0x000500ab,0x0000002f,0x00001601,0x00001600, |
| 328 | 0x000200f8,0x0000145f,0x000400e0,0x00000280, | 336 | 0x00000140,0x000600a9,0x00000006,0x00001577, |
| 329 | 0x00000280,0x0000094f,0x000300f7,0x00001471, | 337 | 0x00001601,0x0000035d,0x00006542,0x000500aa, |
| 330 | 0x00000000,0x000400fa,0x0000143d,0x00001462, | 338 | 0x0000002f,0x00001578,0x000015e3,0x00001577, |
| 331 | 0x00001471,0x000200f8,0x00001462,0x00050084, | 339 | 0x000300f7,0x00001580,0x00000000,0x000400fa, |
| 332 | 0x00000006,0x000014b4,0x000001db,0x00001447, | 340 | 0x00001578,0x00001579,0x00001580,0x000200f8, |
| 333 | 0x00050080,0x00000006,0x000014b5,0x000001c4, | 341 | 0x00001579,0x00050095,0x00000145,0x0000161a, |
| 334 | 0x000014b4,0x00050080,0x00000006,0x000014bb, | 342 | 0x000015d0,0x000001dc,0x00050051,0x00000006, |
| 335 | 0x00001447,0x0000062f,0x00050086,0x00000006, | 343 | 0x0000161b,0x0000161a,0x00000001,0x00050051, |
| 336 | 0x000014bc,0x000014bb,0x000001be,0x00050084, | 344 | 0x00000006,0x0000161c,0x0000161a,0x00000000, |
| 337 | 0x00000006,0x00001466,0x000012ea,0x000014bc, | 345 | 0x00050080,0x00000006,0x00001621,0x000015d7, |
| 338 | 0x00050080,0x00000006,0x00001468,0x00001466, | 346 | 0x0000161b,0x00050050,0x00000007,0x00001622, |
| 339 | 0x000012e7,0x00050084,0x00000006,0x00001469, | 347 | 0x0000161c,0x00001621,0x0004007c,0x00000014, |
| 340 | 0x000000ec,0x00001468,0x00050080,0x00000006, | 348 | 0x00001612,0x00001622,0x00060041,0x00000174, |
| 341 | 0x0000146a,0x000014b5,0x00001469,0x00050041, | 349 | 0x00001609,0x00001612,0x00000173,0x00000173, |
| 342 | 0x00000266,0x0000146c,0x000001b9,0x00000264, | 350 | 0x0006003d,0x00000006,0x0000160a,0x00001609, |
| 343 | 0x0004003d,0x00000007,0x0000146d,0x0000146c, | 351 | 0x00000002,0x00000004,0x00050041,0x000001c3, |
| 344 | 0x00050041,0x00000937,0x0000146e,0x00000a18, | 352 | 0x0000157d,0x000001c1,0x000001f8,0x0004003d, |
| 345 | 0x000012ea,0x0004003d,0x00000006,0x0000146f, | 353 | 0x00000006,0x0000157e,0x0000157d,0x000500aa, |
| 346 | 0x0000146e,0x00050051,0x00000006,0x000014d2, | 354 | 0x0000002f,0x0000157f,0x0000160a,0x0000157e, |
| 347 | 0x0000146d,0x00000000,0x00050095,0x0000013d, | 355 | 0x000200f9,0x00001580,0x000200f8,0x00001580, |
| 348 | 0x000014d4,0x000014d2,0x0000146a,0x00050051, | 356 | 0x000700f5,0x0000002f,0x00001581,0x00001578, |
| 349 | 0x00000006,0x000014d5,0x000014d4,0x00000001, | 357 | 0x000013c5,0x0000157f,0x00001579,0x000300f7, |
| 350 | 0x00050051,0x00000006,0x000014d6,0x000014d4, | 358 | 0x00001589,0x00000000,0x000400fa,0x00001581, |
| 351 | 0x00000000,0x00050051,0x00000006,0x000014d9, | 359 | 0x00001582,0x00001589,0x000200f8,0x00001582, |
| 352 | 0x0000146d,0x00000001,0x00050080,0x00000006, | 360 | 0x00050095,0x00000145,0x0000163b,0x000015d0, |
| 353 | 0x000014db,0x000014d9,0x000014d5,0x00050050, | 361 | 0x00000572,0x00050051,0x00000006,0x0000163c, |
| 354 | 0x00000007,0x000014dc,0x000014d6,0x000014db, | 362 | 0x0000163b,0x00000001,0x00050051,0x00000006, |
| 355 | 0x0004007c,0x00000014,0x000014cc,0x000014dc, | 363 | 0x0000163d,0x0000163b,0x00000000,0x00050080, |
| 356 | 0x00060041,0x0000016c,0x000014c4,0x000014cc, | 364 | 0x00000006,0x00001642,0x000015d7,0x0000163c, |
| 357 | 0x0000016b,0x0000016b,0x0005003e,0x000014c4, | 365 | 0x00050050,0x00000007,0x00001643,0x0000163d, |
| 358 | 0x0000146f,0x00000002,0x00000004,0x000200f9, | 366 | 0x00001642,0x0004007c,0x00000014,0x00001633, |
| 359 | 0x00001471,0x000200f8,0x00001471,0x000200f9, | 367 | 0x00001643,0x00060041,0x00000174,0x0000162a, |
| 360 | 0x000013fd,0x000200f8,0x000012e2,0x000500aa, | 368 | 0x00001633,0x00000173,0x00000173,0x0006003d, |
| 361 | 0x0000002f,0x000012ef,0x000012df,0x000001cd, | 369 | 0x00000006,0x0000162b,0x0000162a,0x00000002, |
| 362 | 0x000300f7,0x000012f1,0x00000000,0x000400fa, | 370 | 0x00000004,0x00050041,0x000001c3,0x00001586, |
| 363 | 0x000012ef,0x000012f0,0x000012f1,0x000200f8, | 371 | 0x000001c1,0x00000362,0x0004003d,0x00000006, |
| 364 | 0x000012f0,0x00050041,0x000001bb,0x000014df, | 372 | 0x00001587,0x00001586,0x000500aa,0x0000002f, |
| 365 | 0x000001b9,0x000001ba,0x0004003d,0x00000006, | 373 | 0x00001588,0x0000162b,0x00001587,0x000200f9, |
| 366 | 0x000014e0,0x000014df,0x00050084,0x00000006, | 374 | 0x00001589,0x000200f8,0x00001589,0x000700f5, |
| 367 | 0x000014e1,0x000001db,0x000014e0,0x00050080, | 375 | 0x0000002f,0x0000158a,0x00001581,0x00001580, |
| 368 | 0x00000006,0x000014e2,0x000001c4,0x000014e1, | 376 | 0x00001588,0x00001582,0x000300f7,0x00001591, |
| 369 | 0x00050080,0x00000006,0x000014f4,0x000014e0, | 377 | 0x00000000,0x000400fa,0x0000158a,0x0000158b, |
| 370 | 0x0000062f,0x00050086,0x00000006,0x000014f5, | 378 | 0x00001591,0x000200f8,0x0000158b,0x00050095, |
| 371 | 0x000014f4,0x000001be,0x00050084,0x00000006, | 379 | 0x00000145,0x0000165c,0x000015d0,0x00000588, |
| 372 | 0x000014e7,0x000001c4,0x000014f5,0x00050080, | 380 | 0x00050051,0x00000006,0x0000165d,0x0000165c, |
| 373 | 0x00000006,0x000014e8,0x000014e2,0x000014e7, | 381 | 0x00000001,0x00050051,0x00000006,0x0000165e, |
| 374 | 0x00050084,0x00000006,0x000012f5,0x000001db, | 382 | 0x0000165c,0x00000000,0x00050080,0x00000006, |
| 375 | 0x000014f5,0x00050041,0x000012db,0x000012f7, | 383 | 0x00001663,0x000015d7,0x0000165d,0x00050050, |
| 376 | 0x000012e4,0x00000138,0x0004003d,0x00000006, | 384 | 0x00000007,0x00001664,0x0000165e,0x00001663, |
| 377 | 0x000012f8,0x000012f7,0x00050080,0x00000006, | 385 | 0x0004007c,0x00000014,0x00001654,0x00001664, |
| 378 | 0x00001514,0x000012f5,0x00000a56,0x00050086, | 386 | 0x00060041,0x00000174,0x0000164b,0x00001654, |
| 379 | 0x00000006,0x00001515,0x00001514,0x000001c4, | 387 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 380 | 0x00050084,0x00000006,0x00001518,0x000012f8, | 388 | 0x0000164c,0x0000164b,0x00000002,0x00000004, |
| 381 | 0x00001515,0x0007000c,0x00000006,0x0000151a, | 389 | 0x00050041,0x000001c3,0x00001667,0x000001c1, |
| 382 | 0x00000001,0x00000026,0x00001518,0x000012f5, | 390 | 0x00000362,0x0004003d,0x00000006,0x00001668, |
| 383 | 0x00050080,0x00000006,0x0000151d,0x0000151a, | 391 | 0x00001667,0x000500c2,0x00000006,0x0000166d, |
| 384 | 0x00001515,0x0007000c,0x00000006,0x0000151f, | 392 | 0x00001668,0x00000359,0x000500c4,0x00000006, |
| 385 | 0x00000001,0x00000026,0x0000151d,0x000012f5, | 393 | 0x0000166e,0x0000166d,0x00000325,0x000500c7, |
| 386 | 0x000200f9,0x00001521,0x000200f8,0x00001521, | 394 | 0x00000006,0x00001680,0x000013a9,0x00000288, |
| 387 | 0x000700f5,0x00000006,0x00005fcd,0x00000138, | 395 | 0x000500ab,0x0000002f,0x00001681,0x00001680, |
| 388 | 0x000012f0,0x0000152f,0x00001526,0x000700f5, | 396 | 0x00000140,0x000600a9,0x00000006,0x00001670, |
| 389 | 0x00000006,0x00005fcc,0x0000151a,0x000012f0, | 397 | 0x00001681,0x000000f3,0x0000036c,0x000500c5, |
| 390 | 0x00001532,0x00001526,0x000500b0,0x0000002f, | 398 | 0x00000006,0x00001671,0x0000166e,0x00001670, |
| 391 | 0x00001525,0x00005fcc,0x0000151f,0x000400f6, | 399 | 0x000500aa,0x0000002f,0x00001590,0x0000164c, |
| 392 | 0x00001533,0x00001526,0x00000000,0x000400fa, | 400 | 0x00001671,0x000200f9,0x00001591,0x000200f8, |
| 393 | 0x00001525,0x00001526,0x00001533,0x000200f8, | 401 | 0x00001591,0x000700f5,0x0000002f,0x00001592, |
| 394 | 0x00001526,0x00050084,0x00000006,0x00001529, | 402 | 0x0000158a,0x00001589,0x00001590,0x0000158b, |
| 395 | 0x000000ec,0x00005fcc,0x00050080,0x00000006, | 403 | 0x000300f7,0x0000159a,0x00000000,0x000400fa, |
| 396 | 0x0000152a,0x000014e2,0x00001529,0x00050041, | 404 | 0x00001592,0x00001593,0x0000159a,0x000200f8, |
| 397 | 0x00000266,0x0000152b,0x000001b9,0x00000264, | 405 | 0x00001593,0x00050095,0x00000145,0x0000169a, |
| 398 | 0x0004003d,0x00000007,0x0000152c,0x0000152b, | 406 | 0x000015d0,0x00000594,0x00050051,0x00000006, |
| 399 | 0x00050051,0x00000006,0x0000158c,0x0000152c, | 407 | 0x0000169b,0x0000169a,0x00000001,0x00050051, |
| 400 | 0x00000000,0x00050095,0x0000013d,0x0000158e, | 408 | 0x00000006,0x0000169c,0x0000169a,0x00000000, |
| 401 | 0x0000158c,0x0000152a,0x00050051,0x00000006, | 409 | 0x00050080,0x00000006,0x000016a1,0x000015d7, |
| 402 | 0x0000158f,0x0000158e,0x00000001,0x00050051, | 410 | 0x0000169b,0x00050050,0x00000007,0x000016a2, |
| 403 | 0x00000006,0x00001590,0x0000158e,0x00000000, | 411 | 0x0000169c,0x000016a1,0x0004007c,0x00000014, |
| 404 | 0x00050051,0x00000006,0x00001593,0x0000152c, | 412 | 0x00001692,0x000016a2,0x00060041,0x00000174, |
| 405 | 0x00000001,0x00050080,0x00000006,0x00001595, | 413 | 0x00001689,0x00001692,0x00000173,0x00000173, |
| 406 | 0x00001593,0x0000158f,0x00050050,0x00000007, | 414 | 0x0006003d,0x00000006,0x0000168a,0x00001689, |
| 407 | 0x00001596,0x00001590,0x00001595,0x0004007c, | 415 | 0x00000002,0x00000004,0x00050041,0x000001c3, |
| 408 | 0x00000014,0x00001586,0x00001596,0x00060041, | 416 | 0x00001597,0x000001c1,0x00000352,0x0004003d, |
| 409 | 0x0000016c,0x0000157d,0x00001586,0x0000016b, | 417 | 0x00000006,0x00001598,0x00001597,0x000500aa, |
| 410 | 0x0000016b,0x0006003d,0x00000006,0x0000157e, | 418 | 0x0000002f,0x00001599,0x0000168a,0x00001598, |
| 411 | 0x0000157d,0x00000002,0x00000004,0x00050080, | 419 | 0x000200f9,0x0000159a,0x000200f8,0x0000159a, |
| 412 | 0x00000006,0x0000152f,0x00005fcd,0x0000157e, | 420 | 0x000700f5,0x0000002f,0x0000159b,0x00001592, |
| 413 | 0x00050080,0x00000006,0x00001532,0x00005fcc, | 421 | 0x00001591,0x00001599,0x00001593,0x000300f7, |
| 414 | 0x00000264,0x000200f9,0x00001521,0x000200f8, | 422 | 0x000015a3,0x00000000,0x000400fa,0x0000159b, |
| 415 | 0x00001533,0x00050041,0x00000937,0x00001536, | 423 | 0x0000159c,0x000015a3,0x000200f8,0x0000159c, |
| 416 | 0x00000a7f,0x000012f8,0x0003003e,0x00001536, | 424 | 0x00050095,0x00000145,0x000016bb,0x000015d0, |
| 417 | 0x00005fcd,0x000400e0,0x00000280,0x00000280, | 425 | 0x0000059e,0x00050051,0x00000006,0x000016bc, |
| 418 | 0x0000094f,0x000500aa,0x0000002f,0x00001538, | 426 | 0x000016bb,0x00000001,0x00050051,0x00000006, |
| 419 | 0x000012f8,0x00000138,0x000300f7,0x00001555, | 427 | 0x000016bd,0x000016bb,0x00000000,0x00050080, |
| 420 | 0x00000000,0x000400fa,0x00001538,0x00001539, | 428 | 0x00000006,0x000016c2,0x000015d7,0x000016bc, |
| 421 | 0x00001555,0x000200f8,0x00001539,0x000200f9, | 429 | 0x00050050,0x00000007,0x000016c3,0x000016bd, |
| 422 | 0x0000153a,0x000200f8,0x0000153a,0x000700f5, | 430 | 0x000016c2,0x0004007c,0x00000014,0x000016b3, |
| 423 | 0x00000006,0x00005fcf,0x00000138,0x00001539, | 431 | 0x000016c3,0x00060041,0x00000174,0x000016aa, |
| 424 | 0x00001547,0x0000153e,0x000700f5,0x00000006, | 432 | 0x000016b3,0x00000173,0x00000173,0x0006003d, |
| 425 | 0x00005fce,0x00000138,0x00001539,0x0000154a, | 433 | 0x00000006,0x000016ab,0x000016aa,0x00000002, |
| 426 | 0x0000153e,0x000500b0,0x0000002f,0x0000153d, | 434 | 0x00000004,0x00050041,0x000001c3,0x000015a0, |
| 427 | 0x00005fce,0x000001c4,0x000400f6,0x0000154b, | 435 | 0x000001c1,0x000003c1,0x0004003d,0x00000006, |
| 428 | 0x0000153e,0x00000000,0x000400fa,0x0000153d, | 436 | 0x000015a1,0x000015a0,0x000500aa,0x0000002f, |
| 429 | 0x0000153e,0x0000154b,0x000200f8,0x0000153e, | 437 | 0x000015a2,0x000016ab,0x000015a1,0x000200f9, |
| 430 | 0x00050041,0x00000937,0x00001540,0x00000a7f, | 438 | 0x000015a3,0x000200f8,0x000015a3,0x000700f5, |
| 431 | 0x00005fce,0x0004003d,0x00000006,0x00001541, | 439 | 0x0000002f,0x000015a4,0x0000159b,0x0000159a, |
| 432 | 0x00001540,0x0003003e,0x00001540,0x00005fcf, | 440 | 0x000015a2,0x0000159c,0x000300f7,0x000015aa, |
| 433 | 0x00050080,0x00000006,0x00001547,0x00005fcf, | 441 | 0x00000000,0x000400fa,0x000015a4,0x000015a5, |
| 434 | 0x00001541,0x00050080,0x00000006,0x0000154a, | 442 | 0x000015aa,0x000200f8,0x000015a5,0x0006003d, |
| 435 | 0x00005fce,0x00000264,0x000200f9,0x0000153a, | 443 | 0x00000006,0x000016cc,0x000015c1,0x00000002, |
| 436 | 0x000200f8,0x0000154b,0x000200f9,0x00001555, | 444 | 0x00000004,0x000500b0,0x0000002f,0x000015a9, |
| 437 | 0x000200f8,0x00001555,0x000400e0,0x00000280, | 445 | 0x000016cc,0x00000387,0x000200f9,0x000015aa, |
| 438 | 0x00000280,0x0000094f,0x0004003d,0x00000006, | 446 | 0x000200f8,0x000015aa,0x000700f5,0x0000002f, |
| 439 | 0x00001558,0x00001536,0x000200f9,0x0000155a, | 447 | 0x000015ab,0x000015a4,0x000015a3,0x000015a9, |
| 440 | 0x000200f8,0x0000155a,0x000700f5,0x00000006, | 448 | 0x000015a5,0x000300f7,0x000015b1,0x00000000, |
| 441 | 0x00005fd1,0x00001558,0x00001555,0x00001571, | 449 | 0x000400fa,0x000015ab,0x000015ac,0x000015b1, |
| 442 | 0x0000155f,0x000700f5,0x00000006,0x00005fd0, | 450 | 0x000200f8,0x000015ac,0x00050041,0x000001c3, |
| 443 | 0x0000151a,0x00001555,0x00001574,0x0000155f, | 451 | 0x000015ae,0x000001c1,0x00000362,0x0004003d, |
| 444 | 0x000500b0,0x0000002f,0x0000155e,0x00005fd0, | 452 | 0x00000006,0x000015af,0x000015ae,0x000500ac, |
| 445 | 0x0000151f,0x000400f6,0x00001575,0x0000155f, | 453 | 0x0000002f,0x000015b0,0x00001571,0x000015af, |
| 446 | 0x00000000,0x000400fa,0x0000155e,0x0000155f, | 454 | 0x000200f9,0x000015b1,0x000200f8,0x000015b1, |
| 447 | 0x00001575,0x000200f8,0x0000155f,0x00050084, | 455 | 0x000700f5,0x0000002f,0x000015b2,0x000015ab, |
| 448 | 0x00000006,0x00001562,0x000000ec,0x00005fd0, | 456 | 0x000015aa,0x000015b0,0x000015ac,0x000300f7, |
| 449 | 0x00050080,0x00000006,0x00001563,0x000014e2, | 457 | 0x000015b8,0x00000000,0x000400fa,0x000015b2, |
| 450 | 0x00001562,0x00050041,0x00000266,0x00001564, | 458 | 0x000015b3,0x000015b8,0x000200f8,0x000015b3, |
| 451 | 0x000001b9,0x00000264,0x0004003d,0x00000007, | 459 | 0x00050041,0x000001c3,0x000015b5,0x000001c1, |
| 452 | 0x00001565,0x00001564,0x00050051,0x00000006, | 460 | 0x000003b7,0x0004003d,0x00000006,0x000015b6, |
| 453 | 0x000015cd,0x00001565,0x00000000,0x00050095, | 461 | 0x000015b5,0x000500b2,0x0000002f,0x000015b7, |
| 454 | 0x0000013d,0x000015cf,0x000015cd,0x00001563, | 462 | 0x00001571,0x000015b6,0x000200f9,0x000015b8, |
| 455 | 0x00050051,0x00000006,0x000015d0,0x000015cf, | 463 | 0x000200f8,0x000015b8,0x000700f5,0x0000002f, |
| 456 | 0x00000001,0x00050051,0x00000006,0x000015d1, | 464 | 0x000015b9,0x000015b2,0x000015b1,0x000015b7, |
| 457 | 0x000015cf,0x00000000,0x00050051,0x00000006, | 465 | 0x000015b3,0x000600a9,0x00000006,0x000013c8, |
| 458 | 0x000015d4,0x00001565,0x00000001,0x00050080, | 466 | 0x000015b9,0x0000014a,0x00000140,0x00050041, |
| 459 | 0x00000006,0x000015d6,0x000015d4,0x000015d0, | 467 | 0x0000026e,0x000013ca,0x000001c1,0x0000026c, |
| 460 | 0x00050050,0x00000007,0x000015d7,0x000015d1, | 468 | 0x0004003d,0x00000007,0x000013cb,0x000013ca, |
| 461 | 0x000015d6,0x0004007c,0x00000014,0x000015c7, | 469 | 0x00050051,0x00000006,0x000016fa,0x000013cb, |
| 462 | 0x000015d7,0x00060041,0x0000016c,0x000015be, | 470 | 0x00000000,0x00050095,0x00000145,0x000016fc, |
| 463 | 0x000015c7,0x0000016b,0x0000016b,0x0006003d, | 471 | 0x000016fa,0x0000073f,0x00050051,0x00000006, |
| 464 | 0x00000006,0x000015bf,0x000015be,0x00000002, | 472 | 0x000016fd,0x000016fc,0x00000001,0x00050051, |
| 465 | 0x00000004,0x00050080,0x00000006,0x0000156a, | 473 | 0x00000006,0x000016fe,0x000016fc,0x00000000, |
| 466 | 0x000014e8,0x00001562,0x00050095,0x0000013d, | 474 | 0x00050051,0x00000006,0x00001701,0x000013cb, |
| 467 | 0x000015ef,0x000015cd,0x0000156a,0x00050051, | 475 | 0x00000001,0x00050080,0x00000006,0x00001703, |
| 468 | 0x00000006,0x000015f0,0x000015ef,0x00000001, | 476 | 0x00001701,0x000016fd,0x00050050,0x00000007, |
| 469 | 0x00050051,0x00000006,0x000015f1,0x000015ef, | 477 | 0x00001704,0x000016fe,0x00001703,0x0004007c, |
| 470 | 0x00000000,0x00050080,0x00000006,0x000015f6, | 478 | 0x00000014,0x000016f4,0x00001704,0x00060041, |
| 471 | 0x000015d4,0x000015f0,0x00050050,0x00000007, | 479 | 0x00000174,0x000016ec,0x000016f4,0x00000173, |
| 472 | 0x000015f7,0x000015f1,0x000015f6,0x0004007c, | 480 | 0x00000173,0x0005003e,0x000016ec,0x000013c8, |
| 473 | 0x00000014,0x000015e7,0x000015f7,0x00060041, | 481 | 0x00000002,0x00000004,0x000200f9,0x000013c6, |
| 474 | 0x0000016c,0x000015df,0x000015e7,0x0000016b, | 482 | 0x000200f8,0x000013c6,0x000200f9,0x000014ef, |
| 475 | 0x0000016b,0x0005003e,0x000015df,0x00005fd1, | 483 | 0x000200f8,0x000013c2,0x000500aa,0x0000002f, |
| 476 | 0x00000002,0x00000004,0x00050080,0x00000006, | 484 | 0x000013d2,0x000013be,0x00000376,0x000300f7, |
| 477 | 0x00001571,0x00005fd1,0x000015bf,0x00050080, | 485 | 0x000013d4,0x00000000,0x000400fa,0x000013d2, |
| 478 | 0x00000006,0x00001574,0x00005fd0,0x00000264, | 486 | 0x000013d3,0x000013d4,0x000200f8,0x000013d3, |
| 479 | 0x000200f9,0x0000155a,0x000200f8,0x00001575, | 487 | 0x00050041,0x000013a5,0x000013d8,0x000013d5, |
| 480 | 0x000200f9,0x000013fd,0x000200f8,0x000012f1, | 488 | 0x00000140,0x0004003d,0x00000006,0x000013d9, |
| 481 | 0x000500aa,0x0000002f,0x00001301,0x000012df, | 489 | 0x000013d8,0x00050041,0x000013a5,0x000013db, |
| 482 | 0x00000543,0x000300f7,0x00001303,0x00000000, | 490 | 0x000013d6,0x00000140,0x0004003d,0x00000006, |
| 483 | 0x000400fa,0x00001301,0x00001302,0x00001303, | 491 | 0x000013dc,0x000013db,0x000500b0,0x0000002f, |
| 484 | 0x000200f8,0x00001302,0x00050041,0x000012db, | 492 | 0x00001710,0x000013dc,0x000001e3,0x000300f7, |
| 485 | 0x00001305,0x000012e3,0x00000138,0x0004003d, | 493 | 0x00001714,0x00000000,0x000400fa,0x00001710, |
| 486 | 0x00000006,0x00001306,0x00001305,0x00050041, | 494 | 0x00001711,0x00001714,0x000200f8,0x00001711, |
| 487 | 0x000012db,0x00001308,0x000012e4,0x00000138, | 495 | 0x00050041,0x0000099d,0x00001713,0x00000a7e, |
| 488 | 0x0004003d,0x00000006,0x00001309,0x00001308, | 496 | 0x000013dc,0x0003003e,0x00001713,0x00000140, |
| 489 | 0x000500b0,0x0000002f,0x00001618,0x00001309, | 497 | 0x000200f9,0x00001714,0x000200f8,0x00001714, |
| 490 | 0x000001db,0x000300f7,0x00001627,0x00000000, | 498 | 0x000400e0,0x00000288,0x00000288,0x000009b5, |
| 491 | 0x000400fa,0x00001618,0x00001619,0x00001627, | 499 | 0x00050084,0x00000006,0x00001716,0x000013d9, |
| 492 | 0x000200f8,0x00001619,0x00050041,0x000001bb, | 500 | 0x000001c6,0x00050080,0x00000006,0x00001718, |
| 493 | 0x000016cf,0x000001b9,0x000001ba,0x0004003d, | 501 | 0x00001716,0x000001c6,0x00050041,0x000001c3, |
| 494 | 0x00000006,0x000016d0,0x000016cf,0x00050084, | 502 | 0x00001719,0x000001c1,0x000001c2,0x0004003d, |
| 495 | 0x00000006,0x000016d1,0x000001db,0x000016d0, | 503 | 0x00000006,0x0000171a,0x00001719,0x0007000c, |
| 496 | 0x00050080,0x00000006,0x000016d2,0x000001c4, | 504 | 0x00000006,0x0000171b,0x00000001,0x00000026, |
| 497 | 0x000016d1,0x00050080,0x00000006,0x000016d8, | 505 | 0x00001718,0x0000171a,0x00050080,0x00000006, |
| 498 | 0x000016d0,0x0000062f,0x00050086,0x00000006, | 506 | 0x0000171e,0x00001716,0x000013dc,0x000200f9, |
| 499 | 0x000016d9,0x000016d8,0x000001be,0x00050084, | 507 | 0x0000171f,0x000200f8,0x0000171f,0x000700f5, |
| 500 | 0x00000006,0x000016cb,0x000001c4,0x000016d9, | 508 | 0x00000006,0x000063fa,0x0000171e,0x00001714, |
| 501 | 0x00050080,0x00000006,0x000016cc,0x000016d2, | 509 | 0x00001731,0x0000172f,0x000500b0,0x0000002f, |
| 502 | 0x000016cb,0x00050084,0x00000006,0x0000161e, | 510 | 0x00001723,0x000063fa,0x0000171b,0x000400f6, |
| 503 | 0x00001309,0x000016d9,0x00050080,0x00000006, | 511 | 0x00001732,0x0000172f,0x00000000,0x000400fa, |
| 504 | 0x00001620,0x0000161e,0x00001306,0x00050084, | 512 | 0x00001723,0x00001724,0x00001732,0x000200f8, |
| 505 | 0x00000006,0x00001621,0x000000ec,0x00001620, | 513 | 0x00001724,0x00050041,0x000001c3,0x00001748, |
| 506 | 0x00050080,0x00000006,0x00001622,0x000016cc, | 514 | 0x000001c1,0x00000528,0x0004003d,0x00000006, |
| 507 | 0x00001621,0x00050041,0x00000266,0x00001623, | 515 | 0x00001749,0x00001748,0x000500c7,0x00000006, |
| 508 | 0x000001b9,0x00000264,0x0004003d,0x00000007, | 516 | 0x0000174a,0x00001749,0x0000014a,0x000500aa, |
| 509 | 0x00001624,0x00001623,0x00050051,0x00000006, | 517 | 0x0000002f,0x0000174b,0x0000174a,0x00000140, |
| 510 | 0x000016f7,0x00001624,0x00000000,0x00050095, | 518 | 0x000300f7,0x00001750,0x00000000,0x000400fa, |
| 511 | 0x0000013d,0x000016f9,0x000016f7,0x00001622, | 519 | 0x0000174b,0x0000174c,0x0000174e,0x000200f8, |
| 512 | 0x00050051,0x00000006,0x000016fa,0x000016f9, | 520 | 0x0000174e,0x00050084,0x00000006,0x00001758, |
| 513 | 0x00000001,0x00050051,0x00000006,0x000016fb, | 521 | 0x000001d5,0x0000171a,0x00050080,0x00000006, |
| 514 | 0x000016f9,0x00000000,0x00050051,0x00000006, | 522 | 0x00001759,0x000001cc,0x00001758,0x000200f9, |
| 515 | 0x000016fe,0x00001624,0x00000001,0x00050080, | 523 | 0x00001750,0x000200f8,0x0000174c,0x000200f9, |
| 516 | 0x00000006,0x00001700,0x000016fe,0x000016fa, | 524 | 0x00001750,0x000200f8,0x00001750,0x000700f5, |
| 517 | 0x00050050,0x00000007,0x00001701,0x000016fb, | 525 | 0x00000006,0x000063fb,0x000001cc,0x0000174c, |
| 518 | 0x00001700,0x0004007c,0x00000014,0x000016f1, | 526 | 0x00001759,0x0000174e,0x00050084,0x00000006, |
| 519 | 0x00001701,0x00060041,0x0000016c,0x000016e8, | 527 | 0x00001727,0x000000f3,0x000063fa,0x00050080, |
| 520 | 0x000016f1,0x0000016b,0x0000016b,0x0006003d, | 528 | 0x00000006,0x00001728,0x000063fb,0x00001727, |
| 521 | 0x00000006,0x000016e9,0x000016e8,0x00000002, | 529 | 0x00050041,0x0000026e,0x00001729,0x000001c1, |
| 522 | 0x00000004,0x00050041,0x00000937,0x00001626, | 530 | 0x0000026c,0x0004003d,0x00000007,0x0000172a, |
| 523 | 0x00000ad4,0x00001309,0x0003003e,0x00001626, | 531 | 0x00001729,0x00050051,0x00000006,0x00001770, |
| 524 | 0x000016e9,0x000200f9,0x00001627,0x000200f8, | 532 | 0x0000172a,0x00000000,0x00050095,0x00000145, |
| 525 | 0x00001627,0x00050084,0x00000006,0x00001629, | 533 | 0x00001772,0x00001770,0x00001728,0x00050051, |
| 526 | 0x00001306,0x000001be,0x00050080,0x00000006, | 534 | 0x00000006,0x00001773,0x00001772,0x00000001, |
| 527 | 0x0000162b,0x00001629,0x000001be,0x00050041, | 535 | 0x00050051,0x00000006,0x00001774,0x00001772, |
| 528 | 0x000001bb,0x0000162c,0x000001b9,0x000001ba, | 536 | 0x00000000,0x00050051,0x00000006,0x00001777, |
| 529 | 0x0004003d,0x00000006,0x0000162d,0x0000162c, | 537 | 0x0000172a,0x00000001,0x00050080,0x00000006, |
| 530 | 0x0007000c,0x00000006,0x0000162e,0x00000001, | 538 | 0x00001779,0x00001777,0x00001773,0x00050050, |
| 531 | 0x00000026,0x0000162b,0x0000162d,0x000200f9, | 539 | 0x00000007,0x0000177a,0x00001774,0x00001779, |
| 532 | 0x00001630,0x000200f8,0x00001630,0x000700f5, | 540 | 0x0004007c,0x00000014,0x0000176a,0x0000177a, |
| 533 | 0x00000006,0x00005fb3,0x00001629,0x00001627, | 541 | 0x00060041,0x00000174,0x00001761,0x0000176a, |
| 534 | 0x000016c5,0x000016c3,0x000500b0,0x0000002f, | 542 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 535 | 0x00001634,0x00005fb3,0x0000162e,0x000400f6, | 543 | 0x00001762,0x00001761,0x00000002,0x00000004, |
| 536 | 0x000016c6,0x000016c3,0x00000000,0x000400fa, | 544 | 0x00050084,0x00000006,0x00001780,0x000000f3, |
| 537 | 0x00001634,0x00001635,0x000016c6,0x000200f8, | 545 | 0x00001749,0x000500c2,0x00000006,0x00001781, |
| 538 | 0x00001635,0x00050080,0x00000006,0x00001638, | 546 | 0x00001762,0x00001780,0x000500c7,0x00000006, |
| 539 | 0x00005fb3,0x00001309,0x000500b0,0x0000002f, | 547 | 0x00001782,0x00001781,0x00000a74,0x00050041, |
| 540 | 0x0000163b,0x00001638,0x0000162e,0x000300f7, | 548 | 0x0000099d,0x0000172d,0x00000a7e,0x00001782, |
| 541 | 0x00001646,0x00000000,0x000400fa,0x0000163b, | 549 | 0x000700ea,0x00000006,0x0000172e,0x0000172d, |
| 542 | 0x0000163d,0x00001645,0x000200f8,0x00001645, | 550 | 0x0000014a,0x00000140,0x0000014a,0x000200f9, |
| 543 | 0x000200f9,0x00001646,0x000200f8,0x0000163d, | 551 | 0x0000172f,0x000200f8,0x0000172f,0x00050080, |
| 544 | 0x00050041,0x000001bb,0x00001705,0x000001b9, | 552 | 0x00000006,0x00001731,0x000063fa,0x000001cc, |
| 545 | 0x000004c1,0x0004003d,0x00000006,0x00001706, | 553 | 0x000200f9,0x0000171f,0x000200f8,0x00001732, |
| 546 | 0x00001705,0x000500c7,0x00000006,0x00001707, | 554 | 0x000400e0,0x00000288,0x00000288,0x000009b5, |
| 547 | 0x00001706,0x00000142,0x000500aa,0x0000002f, | 555 | 0x000300f7,0x00001744,0x00000000,0x000400fa, |
| 548 | 0x00001708,0x00001707,0x00000138,0x000300f7, | 556 | 0x00001710,0x00001735,0x00001744,0x000200f8, |
| 549 | 0x0000170d,0x00000000,0x000400fa,0x00001708, | 557 | 0x00001735,0x00050084,0x00000006,0x00001787, |
| 550 | 0x00001709,0x0000170b,0x000200f8,0x0000170b, | 558 | 0x000001e3,0x0000171a,0x00050080,0x00000006, |
| 551 | 0x00050084,0x00000006,0x00001715,0x000001cd, | 559 | 0x00001788,0x000001cc,0x00001787,0x00050080, |
| 552 | 0x0000162d,0x00050080,0x00000006,0x00001716, | 560 | 0x00000006,0x0000178e,0x0000171a,0x00000695, |
| 553 | 0x000001c4,0x00001715,0x000200f9,0x0000170d, | 561 | 0x00050086,0x00000006,0x0000178f,0x0000178e, |
| 554 | 0x000200f8,0x00001709,0x000200f9,0x0000170d, | 562 | 0x000001c6,0x00050084,0x00000006,0x00001739, |
| 555 | 0x000200f8,0x0000170d,0x000700f5,0x00000006, | 563 | 0x000013dc,0x0000178f,0x00050080,0x00000006, |
| 556 | 0x00005fb4,0x000001c4,0x00001709,0x00001716, | 564 | 0x0000173b,0x00001739,0x000013d9,0x00050084, |
| 557 | 0x0000170b,0x00050084,0x00000006,0x00001640, | 565 | 0x00000006,0x0000173c,0x000000f3,0x0000173b, |
| 558 | 0x000000ec,0x00001638,0x00050080,0x00000006, | 566 | 0x00050080,0x00000006,0x0000173d,0x00001788, |
| 559 | 0x00001641,0x00005fb4,0x00001640,0x00050041, | 567 | 0x0000173c,0x00050041,0x0000026e,0x0000173f, |
| 560 | 0x00000266,0x00001642,0x000001b9,0x00000264, | 568 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, |
| 561 | 0x0004003d,0x00000007,0x00001643,0x00001642, | 569 | 0x00001740,0x0000173f,0x00050041,0x0000099d, |
| 562 | 0x00050051,0x00000006,0x0000172d,0x00001643, | 570 | 0x00001741,0x00000a7e,0x000013dc,0x0004003d, |
| 563 | 0x00000000,0x00050095,0x0000013d,0x0000172f, | 571 | 0x00000006,0x00001742,0x00001741,0x00050051, |
| 564 | 0x0000172d,0x00001641,0x00050051,0x00000006, | 572 | 0x00000006,0x000017a5,0x00001740,0x00000000, |
| 565 | 0x00001730,0x0000172f,0x00000001,0x00050051, | 573 | 0x00050095,0x00000145,0x000017a7,0x000017a5, |
| 566 | 0x00000006,0x00001731,0x0000172f,0x00000000, | 574 | 0x0000173d,0x00050051,0x00000006,0x000017a8, |
| 567 | 0x00050051,0x00000006,0x00001734,0x00001643, | 575 | 0x000017a7,0x00000001,0x00050051,0x00000006, |
| 568 | 0x00000001,0x00050080,0x00000006,0x00001736, | 576 | 0x000017a9,0x000017a7,0x00000000,0x00050051, |
| 569 | 0x00001734,0x00001730,0x00050050,0x00000007, | 577 | 0x00000006,0x000017ac,0x00001740,0x00000001, |
| 570 | 0x00001737,0x00001731,0x00001736,0x0004007c, | 578 | 0x00050080,0x00000006,0x000017ae,0x000017ac, |
| 571 | 0x00000014,0x00001727,0x00001737,0x00060041, | 579 | 0x000017a8,0x00050050,0x00000007,0x000017af, |
| 572 | 0x0000016c,0x0000171e,0x00001727,0x0000016b, | 580 | 0x000017a9,0x000017ae,0x0004007c,0x00000014, |
| 573 | 0x0000016b,0x0006003d,0x00000006,0x0000171f, | 581 | 0x0000179f,0x000017af,0x00060041,0x00000174, |
| 574 | 0x0000171e,0x00000002,0x00000004,0x000200f9, | 582 | 0x00001797,0x0000179f,0x00000173,0x00000173, |
| 575 | 0x00001646,0x000200f8,0x00001646,0x000700f5, | 583 | 0x0005003e,0x00001797,0x00001742,0x00000002, |
| 576 | 0x00000006,0x00005fb5,0x0000171f,0x0000170d, | 584 | 0x00000004,0x000200f9,0x00001744,0x000200f8, |
| 577 | 0x00000138,0x00001645,0x000300f7,0x00001652, | 585 | 0x00001744,0x000200f9,0x000014ef,0x000200f8, |
| 578 | 0x00000000,0x000400fa,0x0000163b,0x00001649, | 586 | 0x000013d4,0x000500aa,0x0000002f,0x000013e1, |
| 579 | 0x00001651,0x000200f8,0x00001651,0x000200f9, | 587 | 0x000013be,0x000001d5,0x000300f7,0x000013e3, |
| 580 | 0x00001652,0x000200f8,0x00001649,0x00050041, | 588 | 0x00000000,0x000400fa,0x000013e1,0x000013e2, |
| 581 | 0x000001bb,0x0000173b,0x000001b9,0x000004c1, | 589 | 0x000013e3,0x000200f8,0x000013e2,0x00050041, |
| 582 | 0x0004003d,0x00000006,0x0000173c,0x0000173b, | 590 | 0x000001c3,0x000017b2,0x000001c1,0x000001c2, |
| 583 | 0x000500c7,0x00000006,0x0000173d,0x0000173c, | 591 | 0x0004003d,0x00000006,0x000017b3,0x000017b2, |
| 584 | 0x00000142,0x000500aa,0x0000002f,0x0000173e, | 592 | 0x00050084,0x00000006,0x000017b4,0x000001e3, |
| 585 | 0x0000173d,0x00000138,0x000300f7,0x00001743, | 593 | 0x000017b3,0x00050080,0x00000006,0x000017b5, |
| 586 | 0x00000000,0x000400fa,0x0000173e,0x0000173f, | 594 | 0x000001cc,0x000017b4,0x00050080,0x00000006, |
| 587 | 0x00001741,0x000200f8,0x00001741,0x00050084, | 595 | 0x000017c7,0x000017b3,0x00000695,0x00050086, |
| 588 | 0x00000006,0x0000174f,0x000001d4,0x0000162d, | 596 | 0x00000006,0x000017c8,0x000017c7,0x000001c6, |
| 589 | 0x00050080,0x00000006,0x00001750,0x000001c4, | 597 | 0x00050084,0x00000006,0x000017ba,0x000001cc, |
| 590 | 0x0000174f,0x000200f9,0x00001743,0x000200f8, | 598 | 0x000017c8,0x00050080,0x00000006,0x000017bb, |
| 591 | 0x0000173f,0x00050084,0x00000006,0x00001749, | 599 | 0x000017b5,0x000017ba,0x00050084,0x00000006, |
| 592 | 0x000000ec,0x0000162d,0x00050080,0x00000006, | 600 | 0x000013e7,0x000001e3,0x000017c8,0x00050041, |
| 593 | 0x0000174a,0x000001c4,0x00001749,0x000200f9, | 601 | 0x000013a5,0x000013e9,0x000013d6,0x00000140, |
| 594 | 0x00001743,0x000200f8,0x00001743,0x000700f5, | 602 | 0x0004003d,0x00000006,0x000013ea,0x000013e9, |
| 595 | 0x00000006,0x00005fb6,0x0000174a,0x0000173f, | 603 | 0x00050080,0x00000006,0x000017e7,0x000013e7, |
| 596 | 0x00001750,0x00001741,0x00050084,0x00000006, | 604 | 0x00000abc,0x00050086,0x00000006,0x000017e8, |
| 597 | 0x0000164c,0x000000ec,0x00001638,0x00050080, | 605 | 0x000017e7,0x000001cc,0x00050084,0x00000006, |
| 598 | 0x00000006,0x0000164d,0x00005fb6,0x0000164c, | 606 | 0x000017eb,0x000013ea,0x000017e8,0x0007000c, |
| 599 | 0x00050041,0x00000266,0x0000164e,0x000001b9, | 607 | 0x00000006,0x000017ed,0x00000001,0x00000026, |
| 600 | 0x00000264,0x0004003d,0x00000007,0x0000164f, | 608 | 0x000017eb,0x000013e7,0x00050080,0x00000006, |
| 601 | 0x0000164e,0x00050051,0x00000006,0x00001767, | 609 | 0x000017f0,0x000017ed,0x000017e8,0x0007000c, |
| 602 | 0x0000164f,0x00000000,0x00050095,0x0000013d, | 610 | 0x00000006,0x000017f2,0x00000001,0x00000026, |
| 603 | 0x00001769,0x00001767,0x0000164d,0x00050051, | 611 | 0x000017f0,0x000013e7,0x000200f9,0x000017f4, |
| 604 | 0x00000006,0x0000176a,0x00001769,0x00000001, | 612 | 0x000200f8,0x000017f4,0x000700f5,0x00000006, |
| 605 | 0x00050051,0x00000006,0x0000176b,0x00001769, | 613 | 0x000063f5,0x00000140,0x000013e2,0x00001802, |
| 606 | 0x00000000,0x00050051,0x00000006,0x0000176e, | 614 | 0x000017f9,0x000700f5,0x00000006,0x000063f4, |
| 607 | 0x0000164f,0x00000001,0x00050080,0x00000006, | 615 | 0x000017ed,0x000013e2,0x00001805,0x000017f9, |
| 608 | 0x00001770,0x0000176e,0x0000176a,0x00050050, | 616 | 0x000500b0,0x0000002f,0x000017f8,0x000063f4, |
| 609 | 0x00000007,0x00001771,0x0000176b,0x00001770, | 617 | 0x000017f2,0x000400f6,0x00001806,0x000017f9, |
| 610 | 0x0004007c,0x00000014,0x00001761,0x00001771, | 618 | 0x00000000,0x000400fa,0x000017f8,0x000017f9, |
| 611 | 0x00060041,0x0000016c,0x00001758,0x00001761, | 619 | 0x00001806,0x000200f8,0x000017f9,0x00050084, |
| 612 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 620 | 0x00000006,0x000017fc,0x000000f3,0x000063f4, |
| 613 | 0x00001759,0x00001758,0x00000002,0x00000004, | 621 | 0x00050080,0x00000006,0x000017fd,0x000017b5, |
| 614 | 0x000200f9,0x00001652,0x000200f8,0x00001652, | 622 | 0x000017fc,0x00050041,0x0000026e,0x000017fe, |
| 615 | 0x000700f5,0x00000006,0x00005fb7,0x00001759, | 623 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, |
| 616 | 0x00001743,0x00000138,0x00001651,0x00050041, | 624 | 0x000017ff,0x000017fe,0x00050051,0x00000006, |
| 617 | 0x000001bb,0x00001775,0x000001b9,0x000004c1, | 625 | 0x0000185f,0x000017ff,0x00000000,0x00050095, |
| 618 | 0x0004003d,0x00000006,0x00001776,0x00001775, | 626 | 0x00000145,0x00001861,0x0000185f,0x000017fd, |
| 619 | 0x00050084,0x00000006,0x00001777,0x000000ec, | 627 | 0x00050051,0x00000006,0x00001862,0x00001861, |
| 620 | 0x00001776,0x000500c2,0x00000006,0x00001778, | 628 | 0x00000001,0x00050051,0x00000006,0x00001863, |
| 621 | 0x00005fb5,0x00001777,0x000500c7,0x00000006, | 629 | 0x00001861,0x00000000,0x00050051,0x00000006, |
| 622 | 0x00001779,0x00001778,0x00000a0e,0x000200f9, | 630 | 0x00001866,0x000017ff,0x00000001,0x00050080, |
| 623 | 0x00001656,0x000200f8,0x00001656,0x000700f5, | 631 | 0x00000006,0x00001868,0x00001866,0x00001862, |
| 624 | 0x00000006,0x00005fb8,0x00000138,0x00001652, | 632 | 0x00050050,0x00000007,0x00001869,0x00001863, |
| 625 | 0x00001666,0x0000165a,0x000500b0,0x0000002f, | 633 | 0x00001868,0x0004007c,0x00000014,0x00001859, |
| 626 | 0x00001659,0x00005fb8,0x000001db,0x000400f6, | 634 | 0x00001869,0x00060041,0x00000174,0x00001850, |
| 627 | 0x00001667,0x0000165a,0x00000000,0x000400fa, | 635 | 0x00001859,0x00000173,0x00000173,0x0006003d, |
| 628 | 0x00001659,0x0000165a,0x00001667,0x000200f8, | 636 | 0x00000006,0x00001851,0x00001850,0x00000002, |
| 629 | 0x0000165a,0x000500aa,0x0000002f,0x00001660, | 637 | 0x00000004,0x00050080,0x00000006,0x00001802, |
| 630 | 0x00005fb8,0x00001779,0x000500a7,0x0000002f, | 638 | 0x000063f5,0x00001851,0x00050080,0x00000006, |
| 631 | 0x00001661,0x0000163b,0x00001660,0x000600a9, | 639 | 0x00001805,0x000063f4,0x0000026c,0x000200f9, |
| 632 | 0x00000006,0x00001662,0x00001661,0x00000142, | 640 | 0x000017f4,0x000200f8,0x00001806,0x00050041, |
| 633 | 0x00000138,0x00060041,0x00000937,0x00001663, | 641 | 0x0000099d,0x00001809,0x00000ae5,0x000013ea, |
| 634 | 0x00000b2d,0x00005fb8,0x00001309,0x0003003e, | 642 | 0x0003003e,0x00001809,0x000063f5,0x000400e0, |
| 635 | 0x00001663,0x00001662,0x00050080,0x00000006, | 643 | 0x00000288,0x00000288,0x000009b5,0x000500aa, |
| 636 | 0x00001666,0x00005fb8,0x00000264,0x000200f9, | 644 | 0x0000002f,0x0000180b,0x000013ea,0x00000140, |
| 637 | 0x00001656,0x000200f8,0x00001667,0x000400e0, | 645 | 0x000300f7,0x00001828,0x00000000,0x000400fa, |
| 638 | 0x00000280,0x00000280,0x0000094f,0x000200f9, | 646 | 0x0000180b,0x0000180c,0x00001828,0x000200f8, |
| 639 | 0x00001668,0x000200f8,0x00001668,0x000700f5, | 647 | 0x0000180c,0x000200f9,0x0000180d,0x000200f8, |
| 640 | 0x00000006,0x00005fb9,0x00000142,0x00001667, | 648 | 0x0000180d,0x000700f5,0x00000006,0x000063f7, |
| 641 | 0x00001699,0x00001697,0x000500b0,0x0000002f, | 649 | 0x00000140,0x0000180c,0x0000181a,0x00001811, |
| 642 | 0x0000166b,0x00005fb9,0x000001c4,0x000400f6, | 650 | 0x000700f5,0x00000006,0x000063f6,0x00000140, |
| 643 | 0x0000169a,0x00001697,0x00000000,0x000400fa, | 651 | 0x0000180c,0x0000181d,0x00001811,0x000500b0, |
| 644 | 0x0000166b,0x0000166c,0x0000169a,0x000200f8, | 652 | 0x0000002f,0x00001810,0x000063f6,0x000001cc, |
| 645 | 0x0000166c,0x000200f9,0x0000166d,0x000200f8, | 653 | 0x000400f6,0x0000181e,0x00001811,0x00000000, |
| 646 | 0x0000166d,0x000700f5,0x00000006,0x00005fc6, | 654 | 0x000400fa,0x00001810,0x00001811,0x0000181e, |
| 647 | 0x00000138,0x0000166c,0x00001683,0x00001681, | 655 | 0x000200f8,0x00001811,0x00050041,0x0000099d, |
| 648 | 0x000500b0,0x0000002f,0x00001670,0x00005fc6, | 656 | 0x00001813,0x00000ae5,0x000063f6,0x0004003d, |
| 649 | 0x000001db,0x000400f6,0x00001684,0x00001681, | 657 | 0x00000006,0x00001814,0x00001813,0x0003003e, |
| 650 | 0x00000000,0x000400fa,0x00001670,0x00001671, | 658 | 0x00001813,0x000063f7,0x00050080,0x00000006, |
| 651 | 0x00001684,0x000200f8,0x00001671,0x000500ae, | 659 | 0x0000181a,0x000063f7,0x00001814,0x00050080, |
| 652 | 0x0000002f,0x00001675,0x00001309,0x00005fb9, | 660 | 0x00000006,0x0000181d,0x000063f6,0x0000026c, |
| 653 | 0x000300f7,0x0000167e,0x00000000,0x000400fa, | 661 | 0x000200f9,0x0000180d,0x000200f8,0x0000181e, |
| 654 | 0x00001675,0x00001676,0x0000167d,0x000200f8, | 662 | 0x000200f9,0x00001828,0x000200f8,0x00001828, |
| 655 | 0x0000167d,0x000200f9,0x0000167e,0x000200f8, | 663 | 0x000400e0,0x00000288,0x00000288,0x000009b5, |
| 656 | 0x00001676,0x00050082,0x00000006,0x0000167a, | 664 | 0x0004003d,0x00000006,0x0000182b,0x00001809, |
| 657 | 0x00001309,0x00005fb9,0x00060041,0x00000937, | 665 | 0x000200f9,0x0000182d,0x000200f8,0x0000182d, |
| 658 | 0x0000167b,0x00000b2d,0x00005fc6,0x0000167a, | 666 | 0x000700f5,0x00000006,0x000063f9,0x0000182b, |
| 659 | 0x0004003d,0x00000006,0x0000167c,0x0000167b, | 667 | 0x00001828,0x00001844,0x00001832,0x000700f5, |
| 660 | 0x000200f9,0x0000167e,0x000200f8,0x0000167e, | 668 | 0x00000006,0x000063f8,0x000017ed,0x00001828, |
| 661 | 0x000700f5,0x00000006,0x00005fca,0x0000167c, | 669 | 0x00001847,0x00001832,0x000500b0,0x0000002f, |
| 662 | 0x00001676,0x00000138,0x0000167d,0x00050041, | 670 | 0x00001831,0x000063f8,0x000017f2,0x000400f6, |
| 663 | 0x00000009,0x00001680,0x0000160c,0x00005fc6, | 671 | 0x00001848,0x00001832,0x00000000,0x000400fa, |
| 664 | 0x0003003e,0x00001680,0x00005fca,0x000200f9, | 672 | 0x00001831,0x00001832,0x00001848,0x000200f8, |
| 665 | 0x00001681,0x000200f8,0x00001681,0x00050080, | 673 | 0x00001832,0x00050084,0x00000006,0x00001835, |
| 666 | 0x00000006,0x00001683,0x00005fc6,0x00000264, | 674 | 0x000000f3,0x000063f8,0x00050080,0x00000006, |
| 667 | 0x000200f9,0x0000166d,0x000200f8,0x00001684, | 675 | 0x00001836,0x000017b5,0x00001835,0x00050041, |
| 668 | 0x000400e0,0x00000280,0x00000280,0x0000094f, | 676 | 0x0000026e,0x00001837,0x000001c1,0x0000026c, |
| 669 | 0x000200f9,0x00001685,0x000200f8,0x00001685, | 677 | 0x0004003d,0x00000007,0x00001838,0x00001837, |
| 670 | 0x000700f5,0x00000006,0x00005fc7,0x00000138, | 678 | 0x00050051,0x00000006,0x000018a0,0x00001838, |
| 671 | 0x00001684,0x00001695,0x00001689,0x000500b0, | 679 | 0x00000000,0x00050095,0x00000145,0x000018a2, |
| 672 | 0x0000002f,0x00001688,0x00005fc7,0x000001db, | 680 | 0x000018a0,0x00001836,0x00050051,0x00000006, |
| 673 | 0x000400f6,0x00001696,0x00001689,0x00000000, | 681 | 0x000018a3,0x000018a2,0x00000001,0x00050051, |
| 674 | 0x000400fa,0x00001688,0x00001689,0x00001696, | 682 | 0x00000006,0x000018a4,0x000018a2,0x00000000, |
| 675 | 0x000200f8,0x00001689,0x00050041,0x00000009, | 683 | 0x00050051,0x00000006,0x000018a7,0x00001838, |
| 676 | 0x0000168d,0x0000160c,0x00005fc7,0x0004003d, | 684 | 0x00000001,0x00050080,0x00000006,0x000018a9, |
| 677 | 0x00000006,0x0000168e,0x0000168d,0x00060041, | 685 | 0x000018a7,0x000018a3,0x00050050,0x00000007, |
| 678 | 0x00000937,0x0000168f,0x00000b2d,0x00005fc7, | 686 | 0x000018aa,0x000018a4,0x000018a9,0x0004007c, |
| 679 | 0x00001309,0x0004003d,0x00000006,0x00001690, | 687 | 0x00000014,0x0000189a,0x000018aa,0x00060041, |
| 680 | 0x0000168f,0x00050080,0x00000006,0x00001691, | 688 | 0x00000174,0x00001891,0x0000189a,0x00000173, |
| 681 | 0x00001690,0x0000168e,0x0003003e,0x0000168f, | 689 | 0x00000173,0x0006003d,0x00000006,0x00001892, |
| 682 | 0x00001691,0x00050080,0x00000006,0x00001695, | 690 | 0x00001891,0x00000002,0x00000004,0x00050080, |
| 683 | 0x00005fc7,0x00000264,0x000200f9,0x00001685, | 691 | 0x00000006,0x0000183d,0x000017bb,0x00001835, |
| 684 | 0x000200f8,0x00001696,0x000400e0,0x00000280, | 692 | 0x00050095,0x00000145,0x000018c2,0x000018a0, |
| 685 | 0x00000280,0x0000094f,0x000200f9,0x00001697, | 693 | 0x0000183d,0x00050051,0x00000006,0x000018c3, |
| 686 | 0x000200f8,0x00001697,0x000500c4,0x00000006, | 694 | 0x000018c2,0x00000001,0x00050051,0x00000006, |
| 687 | 0x00001699,0x00005fb9,0x00000264,0x000200f9, | 695 | 0x000018c4,0x000018c2,0x00000000,0x00050080, |
| 688 | 0x00001668,0x000200f8,0x0000169a,0x000300f7, | 696 | 0x00000006,0x000018c9,0x000018a7,0x000018c3, |
| 689 | 0x000016b6,0x00000000,0x000400fa,0x0000163b, | 697 | 0x00050050,0x00000007,0x000018ca,0x000018c4, |
| 690 | 0x0000169c,0x000016b6,0x000200f8,0x0000169c, | 698 | 0x000018c9,0x0004007c,0x00000014,0x000018ba, |
| 691 | 0x00050041,0x00000937,0x0000169e,0x00000ad4, | 699 | 0x000018ca,0x00060041,0x00000174,0x000018b2, |
| 692 | 0x00001779,0x0004003d,0x00000006,0x0000169f, | 700 | 0x000018ba,0x00000173,0x00000173,0x0005003e, |
| 693 | 0x0000169e,0x00060041,0x00000937,0x000016a2, | 701 | 0x000018b2,0x000063f9,0x00000002,0x00000004, |
| 694 | 0x00000b2d,0x00001779,0x00001309,0x0004003d, | 702 | 0x00050080,0x00000006,0x00001844,0x000063f9, |
| 695 | 0x00000006,0x000016a3,0x000016a2,0x00050080, | 703 | 0x00001892,0x00050080,0x00000006,0x00001847, |
| 696 | 0x00000006,0x000016a4,0x0000169f,0x000016a3, | 704 | 0x000063f8,0x0000026c,0x000200f9,0x0000182d, |
| 697 | 0x00050082,0x00000006,0x000016a5,0x000016a4, | 705 | 0x000200f8,0x00001848,0x000200f9,0x000014ef, |
| 698 | 0x00000142,0x000500c7,0x00000006,0x0000177f, | 706 | 0x000200f8,0x000013e3,0x000500aa,0x0000002f, |
| 699 | 0x00001776,0x00000142,0x000500aa,0x0000002f, | 707 | 0x000013f3,0x000013be,0x000005a9,0x000300f7, |
| 700 | 0x00001780,0x0000177f,0x00000138,0x000300f7, | 708 | 0x000013f5,0x00000000,0x000400fa,0x000013f3, |
| 701 | 0x00001785,0x00000000,0x000400fa,0x00001780, | 709 | 0x000013f4,0x000013f5,0x000200f8,0x000013f4, |
| 702 | 0x00001781,0x00001783,0x000200f8,0x00001783, | 710 | 0x00050041,0x000013a5,0x000013f7,0x000013d5, |
| 703 | 0x000200f9,0x00001785,0x000200f8,0x00001781, | 711 | 0x00000140,0x0004003d,0x00000006,0x000013f8, |
| 704 | 0x00050084,0x00000006,0x0000178b,0x000001cd, | 712 | 0x000013f7,0x00050041,0x000013a5,0x000013fa, |
| 705 | 0x0000162d,0x00050080,0x00000006,0x0000178c, | 713 | 0x000013d6,0x00000140,0x0004003d,0x00000006, |
| 706 | 0x000001c4,0x0000178b,0x000200f9,0x00001785, | 714 | 0x000013fb,0x000013fa,0x000500b0,0x0000002f, |
| 707 | 0x000200f8,0x00001785,0x000700f5,0x00000006, | 715 | 0x000018eb,0x000013fb,0x000001e3,0x000300f7, |
| 708 | 0x00005fba,0x0000178c,0x00001781,0x000001c4, | 716 | 0x000018fa,0x00000000,0x000400fa,0x000018eb, |
| 709 | 0x00001783,0x00050084,0x00000006,0x000016a8, | 717 | 0x000018ec,0x000018fa,0x000200f8,0x000018ec, |
| 710 | 0x000000ec,0x000016a5,0x00050080,0x00000006, | 718 | 0x00050041,0x000001c3,0x000019a2,0x000001c1, |
| 711 | 0x000016a9,0x00005fba,0x000016a8,0x00050041, | 719 | 0x000001c2,0x0004003d,0x00000006,0x000019a3, |
| 712 | 0x00000266,0x000016aa,0x000001b9,0x00000264, | 720 | 0x000019a2,0x00050084,0x00000006,0x000019a4, |
| 713 | 0x0004003d,0x00000007,0x000016ab,0x000016aa, | 721 | 0x000001e3,0x000019a3,0x00050080,0x00000006, |
| 714 | 0x00050051,0x00000006,0x000017a4,0x000016ab, | 722 | 0x000019a5,0x000001cc,0x000019a4,0x00050080, |
| 715 | 0x00000000,0x00050095,0x0000013d,0x000017a6, | 723 | 0x00000006,0x000019ab,0x000019a3,0x00000695, |
| 716 | 0x000017a4,0x000016a9,0x00050051,0x00000006, | 724 | 0x00050086,0x00000006,0x000019ac,0x000019ab, |
| 717 | 0x000017a7,0x000017a6,0x00000001,0x00050051, | 725 | 0x000001c6,0x00050084,0x00000006,0x0000199e, |
| 718 | 0x00000006,0x000017a8,0x000017a6,0x00000000, | 726 | 0x000001cc,0x000019ac,0x00050080,0x00000006, |
| 719 | 0x00050051,0x00000006,0x000017ab,0x000016ab, | 727 | 0x0000199f,0x000019a5,0x0000199e,0x00050084, |
| 720 | 0x00000001,0x00050080,0x00000006,0x000017ad, | 728 | 0x00000006,0x000018f1,0x000013fb,0x000019ac, |
| 721 | 0x000017ab,0x000017a7,0x00050050,0x00000007, | 729 | 0x00050080,0x00000006,0x000018f3,0x000018f1, |
| 722 | 0x000017ae,0x000017a8,0x000017ad,0x0004007c, | 730 | 0x000013f8,0x00050084,0x00000006,0x000018f4, |
| 723 | 0x00000014,0x0000179e,0x000017ae,0x00060041, | 731 | 0x000000f3,0x000018f3,0x00050080,0x00000006, |
| 724 | 0x0000016c,0x00001796,0x0000179e,0x0000016b, | 732 | 0x000018f5,0x0000199f,0x000018f4,0x00050041, |
| 725 | 0x0000016b,0x0005003e,0x00001796,0x00005fb5, | 733 | 0x0000026e,0x000018f6,0x000001c1,0x0000026c, |
| 726 | 0x00000002,0x00000004,0x000300f7,0x000017ba, | 734 | 0x0004003d,0x00000007,0x000018f7,0x000018f6, |
| 727 | 0x00000000,0x000400fa,0x00001780,0x000017b6, | 735 | 0x00050051,0x00000006,0x000019ca,0x000018f7, |
| 728 | 0x000017b8,0x000200f8,0x000017b8,0x00050084, | 736 | 0x00000000,0x00050095,0x00000145,0x000019cc, |
| 729 | 0x00000006,0x000017c6,0x000000ec,0x0000162d, | 737 | 0x000019ca,0x000018f5,0x00050051,0x00000006, |
| 730 | 0x00050080,0x00000006,0x000017c7,0x000001c4, | 738 | 0x000019cd,0x000019cc,0x00000001,0x00050051, |
| 731 | 0x000017c6,0x000200f9,0x000017ba,0x000200f8, | 739 | 0x00000006,0x000019ce,0x000019cc,0x00000000, |
| 732 | 0x000017b6,0x00050084,0x00000006,0x000017c0, | 740 | 0x00050051,0x00000006,0x000019d1,0x000018f7, |
| 733 | 0x000001d4,0x0000162d,0x00050080,0x00000006, | 741 | 0x00000001,0x00050080,0x00000006,0x000019d3, |
| 734 | 0x000017c1,0x000001c4,0x000017c0,0x000200f9, | 742 | 0x000019d1,0x000019cd,0x00050050,0x00000007, |
| 735 | 0x000017ba,0x000200f8,0x000017ba,0x000700f5, | 743 | 0x000019d4,0x000019ce,0x000019d3,0x0004007c, |
| 736 | 0x00000006,0x00005fbb,0x000017c1,0x000017b6, | 744 | 0x00000014,0x000019c4,0x000019d4,0x00060041, |
| 737 | 0x000017c7,0x000017b8,0x00050080,0x00000006, | 745 | 0x00000174,0x000019bb,0x000019c4,0x00000173, |
| 738 | 0x000016b1,0x00005fbb,0x000016a8,0x00050095, | 746 | 0x00000173,0x0006003d,0x00000006,0x000019bc, |
| 739 | 0x0000013d,0x000017df,0x000017a4,0x000016b1, | 747 | 0x000019bb,0x00000002,0x00000004,0x00050041, |
| 740 | 0x00050051,0x00000006,0x000017e0,0x000017df, | 748 | 0x0000099d,0x000018f9,0x00000b3a,0x000013fb, |
| 741 | 0x00000001,0x00050051,0x00000006,0x000017e1, | 749 | 0x0003003e,0x000018f9,0x000019bc,0x000200f9, |
| 742 | 0x000017df,0x00000000,0x00050080,0x00000006, | 750 | 0x000018fa,0x000200f8,0x000018fa,0x00050084, |
| 743 | 0x000017e6,0x000017ab,0x000017e0,0x00050050, | 751 | 0x00000006,0x000018fc,0x000013f8,0x000001c6, |
| 744 | 0x00000007,0x000017e7,0x000017e1,0x000017e6, | 752 | 0x00050080,0x00000006,0x000018fe,0x000018fc, |
| 745 | 0x0004007c,0x00000014,0x000017d7,0x000017e7, | 753 | 0x000001c6,0x00050041,0x000001c3,0x000018ff, |
| 746 | 0x00060041,0x0000016c,0x000017cf,0x000017d7, | 754 | 0x000001c1,0x000001c2,0x0004003d,0x00000006, |
| 747 | 0x0000016b,0x0000016b,0x0005003e,0x000017cf, | 755 | 0x00001900,0x000018ff,0x0007000c,0x00000006, |
| 748 | 0x00005fb7,0x00000002,0x00000004,0x000200f9, | 756 | 0x00001901,0x00000001,0x00000026,0x000018fe, |
| 749 | 0x000016b6,0x000200f8,0x000016b6,0x000400e0, | 757 | 0x00001900,0x000200f9,0x00001903,0x000200f8, |
| 750 | 0x00000280,0x00000280,0x0000094f,0x000300f7, | 758 | 0x00001903,0x000700f5,0x00000006,0x000063db, |
| 751 | 0x000016c2,0x00000000,0x000400fa,0x00001618, | 759 | 0x000018fc,0x000018fa,0x00001998,0x00001996, |
| 752 | 0x000016b9,0x000016c2,0x000200f8,0x000016b9, | 760 | 0x000500b0,0x0000002f,0x00001907,0x000063db, |
| 753 | 0x00060041,0x00000937,0x000016bc,0x00000b2d, | 761 | 0x00001901,0x000400f6,0x00001999,0x00001996, |
| 754 | 0x00001309,0x00000b9b,0x0004003d,0x00000006, | 762 | 0x00000000,0x000400fa,0x00001907,0x00001908, |
| 755 | 0x000016bd,0x000016bc,0x00050041,0x00000937, | 763 | 0x00001999,0x000200f8,0x00001908,0x00050080, |
| 756 | 0x000016be,0x00000ad4,0x00001309,0x0004003d, | 764 | 0x00000006,0x0000190b,0x000063db,0x000013fb, |
| 757 | 0x00000006,0x000016bf,0x000016be,0x00050080, | 765 | 0x000500b0,0x0000002f,0x0000190e,0x0000190b, |
| 758 | 0x00000006,0x000016c0,0x000016bf,0x000016bd, | 766 | 0x00001901,0x000300f7,0x00001919,0x00000000, |
| 759 | 0x0003003e,0x000016be,0x000016c0,0x000200f9, | 767 | 0x000400fa,0x0000190e,0x00001910,0x00001918, |
| 760 | 0x000016c2,0x000200f8,0x000016c2,0x000400e0, | 768 | 0x000200f8,0x00001918,0x000200f9,0x00001919, |
| 761 | 0x00000280,0x00000280,0x0000094f,0x000200f9, | 769 | 0x000200f8,0x00001910,0x00050041,0x000001c3, |
| 762 | 0x000016c3,0x000200f8,0x000016c3,0x00050080, | 770 | 0x000019d8,0x000001c1,0x00000528,0x0004003d, |
| 763 | 0x00000006,0x000016c5,0x00005fb3,0x000001c4, | 771 | 0x00000006,0x000019d9,0x000019d8,0x000500c7, |
| 764 | 0x000200f9,0x00001630,0x000200f8,0x000016c6, | 772 | 0x00000006,0x000019da,0x000019d9,0x0000014a, |
| 765 | 0x000200f9,0x000013fd,0x000200f8,0x00001303, | 773 | 0x000500aa,0x0000002f,0x000019db,0x000019da, |
| 766 | 0x000500aa,0x0000002f,0x0000130f,0x000012df, | 774 | 0x00000140,0x000300f7,0x000019e0,0x00000000, |
| 767 | 0x0000130e,0x000300f7,0x00001311,0x00000000, | 775 | 0x000400fa,0x000019db,0x000019dc,0x000019de, |
| 768 | 0x000400fa,0x0000130f,0x00001310,0x00001311, | 776 | 0x000200f8,0x000019de,0x00050084,0x00000006, |
| 769 | 0x000200f8,0x00001310,0x00050041,0x000012db, | 777 | 0x000019e8,0x000001d5,0x00001900,0x00050080, |
| 770 | 0x00001313,0x000012e4,0x00000138,0x0004003d, | 778 | 0x00000006,0x000019e9,0x000001cc,0x000019e8, |
| 771 | 0x00000006,0x00001314,0x00001313,0x00050041, | 779 | 0x000200f9,0x000019e0,0x000200f8,0x000019dc, |
| 772 | 0x000001bb,0x00001802,0x000001b9,0x000001ba, | 780 | 0x000200f9,0x000019e0,0x000200f8,0x000019e0, |
| 773 | 0x0004003d,0x00000006,0x00001803,0x00001802, | 781 | 0x000700f5,0x00000006,0x000063dc,0x000001cc, |
| 774 | 0x000200f9,0x00001804,0x000200f8,0x00001804, | 782 | 0x000019dc,0x000019e9,0x000019de,0x00050084, |
| 775 | 0x000700f5,0x00000006,0x00005f9e,0x00000142, | 783 | 0x00000006,0x00001913,0x000000f3,0x0000190b, |
| 776 | 0x00001310,0x0000180b,0x00001809,0x000500b0, | 784 | 0x00050080,0x00000006,0x00001914,0x000063dc, |
| 777 | 0x0000002f,0x00001808,0x00005f9e,0x00001803, | 785 | 0x00001913,0x00050041,0x0000026e,0x00001915, |
| 778 | 0x000400f6,0x0000180d,0x00001809,0x00000000, | 786 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, |
| 779 | 0x000400fa,0x00001808,0x00001809,0x0000180d, | 787 | 0x00001916,0x00001915,0x00050051,0x00000006, |
| 780 | 0x000200f8,0x00001809,0x000500c4,0x00000006, | 788 | 0x00001a00,0x00001916,0x00000000,0x00050095, |
| 781 | 0x0000180b,0x00005f9e,0x00000264,0x000200f9, | 789 | 0x00000145,0x00001a02,0x00001a00,0x00001914, |
| 782 | 0x00001804,0x000200f8,0x0000180d,0x000200f9, | 790 | 0x00050051,0x00000006,0x00001a03,0x00001a02, |
| 783 | 0x0000180f,0x000200f8,0x0000180f,0x000700f5, | 791 | 0x00000001,0x00050051,0x00000006,0x00001a04, |
| 784 | 0x00000006,0x00005f9f,0x00001314,0x0000180d, | 792 | 0x00001a02,0x00000000,0x00050051,0x00000006, |
| 785 | 0x00001837,0x00001835,0x000500b0,0x0000002f, | 793 | 0x00001a07,0x00001916,0x00000001,0x00050080, |
| 786 | 0x00001813,0x00005f9f,0x00005f9e,0x000400f6, | 794 | 0x00000006,0x00001a09,0x00001a07,0x00001a03, |
| 787 | 0x00001838,0x00001835,0x00000000,0x000400fa, | 795 | 0x00050050,0x00000007,0x00001a0a,0x00001a04, |
| 788 | 0x00001813,0x00001814,0x00001838,0x000200f8, | 796 | 0x00001a09,0x0004007c,0x00000014,0x000019fa, |
| 789 | 0x00001814,0x000500b0,0x0000002f,0x00001818, | 797 | 0x00001a0a,0x00060041,0x00000174,0x000019f1, |
| 790 | 0x00005f9f,0x00001803,0x000300f7,0x00001822, | 798 | 0x000019fa,0x00000173,0x00000173,0x0006003d, |
| 791 | 0x00000000,0x000400fa,0x00001818,0x00001819, | 799 | 0x00000006,0x000019f2,0x000019f1,0x00000002, |
| 792 | 0x00001821,0x000200f8,0x00001821,0x000200f9, | 800 | 0x00000004,0x000200f9,0x00001919,0x000200f8, |
| 793 | 0x00001822,0x000200f8,0x00001819,0x00050084, | 801 | 0x00001919,0x000700f5,0x00000006,0x000063dd, |
| 794 | 0x00000006,0x0000181c,0x000000ec,0x00005f9f, | 802 | 0x000019f2,0x000019e0,0x00000140,0x00001918, |
| 795 | 0x00050080,0x00000006,0x0000181d,0x000001c4, | 803 | 0x000300f7,0x00001925,0x00000000,0x000400fa, |
| 796 | 0x0000181c,0x00050041,0x00000266,0x0000181e, | 804 | 0x0000190e,0x0000191c,0x00001924,0x000200f8, |
| 797 | 0x000001b9,0x00000264,0x0004003d,0x00000007, | 805 | 0x00001924,0x000200f9,0x00001925,0x000200f8, |
| 798 | 0x0000181f,0x0000181e,0x00050051,0x00000006, | 806 | 0x0000191c,0x00050041,0x000001c3,0x00001a0e, |
| 799 | 0x000018c6,0x0000181f,0x00000000,0x00050095, | 807 | 0x000001c1,0x00000528,0x0004003d,0x00000006, |
| 800 | 0x0000013d,0x000018c8,0x000018c6,0x0000181d, | 808 | 0x00001a0f,0x00001a0e,0x000500c7,0x00000006, |
| 801 | 0x00050051,0x00000006,0x000018c9,0x000018c8, | 809 | 0x00001a10,0x00001a0f,0x0000014a,0x000500aa, |
| 802 | 0x00000001,0x00050051,0x00000006,0x000018ca, | 810 | 0x0000002f,0x00001a11,0x00001a10,0x00000140, |
| 803 | 0x000018c8,0x00000000,0x00050051,0x00000006, | 811 | 0x000300f7,0x00001a16,0x00000000,0x000400fa, |
| 804 | 0x000018cd,0x0000181f,0x00000001,0x00050080, | 812 | 0x00001a11,0x00001a12,0x00001a14,0x000200f8, |
| 805 | 0x00000006,0x000018cf,0x000018cd,0x000018c9, | 813 | 0x00001a14,0x00050084,0x00000006,0x00001a22, |
| 806 | 0x00050050,0x00000007,0x000018d0,0x000018ca, | 814 | 0x000001dc,0x00001900,0x00050080,0x00000006, |
| 807 | 0x000018cf,0x0004007c,0x00000014,0x000018c0, | 815 | 0x00001a23,0x000001cc,0x00001a22,0x000200f9, |
| 808 | 0x000018d0,0x00060041,0x0000016c,0x000018b7, | 816 | 0x00001a16,0x000200f8,0x00001a12,0x00050084, |
| 809 | 0x000018c0,0x0000016b,0x0000016b,0x0006003d, | 817 | 0x00000006,0x00001a1c,0x000000f3,0x00001900, |
| 810 | 0x00000006,0x000018b8,0x000018b7,0x00000002, | 818 | 0x00050080,0x00000006,0x00001a1d,0x000001cc, |
| 811 | 0x00000004,0x000200f9,0x00001822,0x000200f8, | 819 | 0x00001a1c,0x000200f9,0x00001a16,0x000200f8, |
| 812 | 0x00001822,0x000700f5,0x00000006,0x00005faf, | 820 | 0x00001a16,0x000700f5,0x00000006,0x000063de, |
| 813 | 0x000018b8,0x00001819,0x00000539,0x00001821, | 821 | 0x00001a1d,0x00001a12,0x00001a23,0x00001a14, |
| 814 | 0x00050041,0x00000937,0x00001824,0x00000924, | 822 | 0x00050084,0x00000006,0x0000191f,0x000000f3, |
| 815 | 0x00005f9f,0x0003003e,0x00001824,0x00005faf, | 823 | 0x0000190b,0x00050080,0x00000006,0x00001920, |
| 816 | 0x000300f7,0x00001832,0x00000000,0x000400fa, | 824 | 0x000063de,0x0000191f,0x00050041,0x0000026e, |
| 817 | 0x00001818,0x00001829,0x00001831,0x000200f8, | 825 | 0x00001921,0x000001c1,0x0000026c,0x0004003d, |
| 818 | 0x00001831,0x000200f9,0x00001832,0x000200f8, | 826 | 0x00000007,0x00001922,0x00001921,0x00050051, |
| 819 | 0x00001829,0x00050084,0x00000006,0x000018d5, | 827 | 0x00000006,0x00001a3a,0x00001922,0x00000000, |
| 820 | 0x000000ec,0x00001803,0x00050080,0x00000006, | 828 | 0x00050095,0x00000145,0x00001a3c,0x00001a3a, |
| 821 | 0x000018d6,0x000001c4,0x000018d5,0x00050084, | 829 | 0x00001920,0x00050051,0x00000006,0x00001a3d, |
| 822 | 0x00000006,0x0000182c,0x000000ec,0x00005f9f, | 830 | 0x00001a3c,0x00000001,0x00050051,0x00000006, |
| 823 | 0x00050080,0x00000006,0x0000182d,0x000018d6, | 831 | 0x00001a3e,0x00001a3c,0x00000000,0x00050051, |
| 824 | 0x0000182c,0x00050041,0x00000266,0x0000182e, | 832 | 0x00000006,0x00001a41,0x00001922,0x00000001, |
| 825 | 0x000001b9,0x00000264,0x0004003d,0x00000007, | 833 | 0x00050080,0x00000006,0x00001a43,0x00001a41, |
| 826 | 0x0000182f,0x0000182e,0x00050051,0x00000006, | 834 | 0x00001a3d,0x00050050,0x00000007,0x00001a44, |
| 827 | 0x000018ed,0x0000182f,0x00000000,0x00050095, | 835 | 0x00001a3e,0x00001a43,0x0004007c,0x00000014, |
| 828 | 0x0000013d,0x000018ef,0x000018ed,0x0000182d, | 836 | 0x00001a34,0x00001a44,0x00060041,0x00000174, |
| 829 | 0x00050051,0x00000006,0x000018f0,0x000018ef, | 837 | 0x00001a2b,0x00001a34,0x00000173,0x00000173, |
| 830 | 0x00000001,0x00050051,0x00000006,0x000018f1, | 838 | 0x0006003d,0x00000006,0x00001a2c,0x00001a2b, |
| 831 | 0x000018ef,0x00000000,0x00050051,0x00000006, | 839 | 0x00000002,0x00000004,0x000200f9,0x00001925, |
| 832 | 0x000018f4,0x0000182f,0x00000001,0x00050080, | 840 | 0x000200f8,0x00001925,0x000700f5,0x00000006, |
| 833 | 0x00000006,0x000018f6,0x000018f4,0x000018f0, | 841 | 0x000063df,0x00001a2c,0x00001a16,0x00000140, |
| 834 | 0x00050050,0x00000007,0x000018f7,0x000018f1, | 842 | 0x00001924,0x00050041,0x000001c3,0x00001a48, |
| 835 | 0x000018f6,0x0004007c,0x00000014,0x000018e7, | 843 | 0x000001c1,0x00000528,0x0004003d,0x00000006, |
| 836 | 0x000018f7,0x00060041,0x0000016c,0x000018de, | 844 | 0x00001a49,0x00001a48,0x00050084,0x00000006, |
| 837 | 0x000018e7,0x0000016b,0x0000016b,0x0006003d, | 845 | 0x00001a4a,0x000000f3,0x00001a49,0x000500c2, |
| 838 | 0x00000006,0x000018df,0x000018de,0x00000002, | 846 | 0x00000006,0x00001a4b,0x000063dd,0x00001a4a, |
| 839 | 0x00000004,0x000200f9,0x00001832,0x000200f8, | 847 | 0x000500c7,0x00000006,0x00001a4c,0x00001a4b, |
| 840 | 0x00001832,0x000700f5,0x00000006,0x00005fb1, | 848 | 0x00000a74,0x000200f9,0x00001929,0x000200f8, |
| 841 | 0x000018df,0x00001829,0x00000539,0x00001831, | 849 | 0x00001929,0x000700f5,0x00000006,0x000063e0, |
| 842 | 0x00050041,0x00000937,0x00001834,0x00000939, | 850 | 0x00000140,0x00001925,0x00001939,0x0000192d, |
| 843 | 0x00005f9f,0x0003003e,0x00001834,0x00005fb1, | 851 | 0x000500b0,0x0000002f,0x0000192c,0x000063e0, |
| 844 | 0x000200f9,0x00001835,0x000200f8,0x00001835, | 852 | 0x000001e3,0x000400f6,0x0000193a,0x0000192d, |
| 845 | 0x00050080,0x00000006,0x00001837,0x00005f9f, | 853 | 0x00000000,0x000400fa,0x0000192c,0x0000192d, |
| 846 | 0x000001c4,0x000200f9,0x0000180f,0x000200f8, | 854 | 0x0000193a,0x000200f8,0x0000192d,0x000500aa, |
| 847 | 0x00001838,0x000400e0,0x00000280,0x00000280, | 855 | 0x0000002f,0x00001933,0x000063e0,0x00001a4c, |
| 848 | 0x0000094f,0x000200f9,0x00001839,0x000200f8, | 856 | 0x000500a7,0x0000002f,0x00001934,0x0000190e, |
| 849 | 0x00001839,0x000700f5,0x00000006,0x00005fa1, | 857 | 0x00001933,0x000600a9,0x00000006,0x00001935, |
| 850 | 0x00000280,0x00001838,0x0000188d,0x0000188b, | 858 | 0x00001934,0x0000014a,0x00000140,0x00060041, |
| 851 | 0x000500b2,0x0000002f,0x0000183d,0x00005fa1, | 859 | 0x0000099d,0x00001936,0x00000b93,0x000063e0, |
| 852 | 0x00005f9e,0x000400f6,0x0000188e,0x0000188b, | 860 | 0x000013fb,0x0003003e,0x00001936,0x00001935, |
| 853 | 0x00000000,0x000400fa,0x0000183d,0x0000183e, | 861 | 0x00050080,0x00000006,0x00001939,0x000063e0, |
| 854 | 0x0000188e,0x000200f8,0x0000183e,0x000500c2, | 862 | 0x0000026c,0x000200f9,0x00001929,0x000200f8, |
| 855 | 0x00000006,0x00001840,0x00005fa1,0x00000264, | 863 | 0x0000193a,0x000400e0,0x00000288,0x00000288, |
| 856 | 0x000200f9,0x00001841,0x000200f8,0x00001841, | 864 | 0x000009b5,0x000200f9,0x0000193b,0x000200f8, |
| 857 | 0x000700f5,0x00000006,0x00005fa4,0x00001840, | 865 | 0x0000193b,0x000700f5,0x00000006,0x000063e1, |
| 858 | 0x0000183e,0x00001889,0x00001887,0x000500ac, | 866 | 0x0000014a,0x0000193a,0x0000196c,0x0000196a, |
| 859 | 0x0000002f,0x00001844,0x00005fa4,0x00000138, | 867 | 0x000500b0,0x0000002f,0x0000193e,0x000063e1, |
| 860 | 0x000400f6,0x0000188a,0x00001887,0x00000000, | 868 | 0x000001cc,0x000400f6,0x0000196d,0x0000196a, |
| 861 | 0x000400fa,0x00001844,0x00001845,0x0000188a, | 869 | 0x00000000,0x000400fa,0x0000193e,0x0000193f, |
| 862 | 0x000200f8,0x00001845,0x000200f9,0x00001847, | 870 | 0x0000196d,0x000200f8,0x0000193f,0x000200f9, |
| 863 | 0x000200f8,0x00001847,0x000700f5,0x00000006, | 871 | 0x00001940,0x000200f8,0x00001940,0x000700f5, |
| 864 | 0x00005fa6,0x00001314,0x00001845,0x00001885, | 872 | 0x00000006,0x000063ee,0x00000140,0x0000193f, |
| 865 | 0x00001883,0x000500b0,0x0000002f,0x0000184b, | 873 | 0x00001956,0x00001954,0x000500b0,0x0000002f, |
| 866 | 0x00005fa6,0x00005f9e,0x000400f6,0x00001886, | 874 | 0x00001943,0x000063ee,0x000001e3,0x000400f6, |
| 867 | 0x00001883,0x00000000,0x000400fa,0x0000184b, | 875 | 0x00001957,0x00001954,0x00000000,0x000400fa, |
| 868 | 0x0000184c,0x00001886,0x000200f8,0x0000184c, | 876 | 0x00001943,0x00001944,0x00001957,0x000200f8, |
| 869 | 0x000500c6,0x00000006,0x0000184f,0x00005fa6, | 877 | 0x00001944,0x000500ae,0x0000002f,0x00001948, |
| 870 | 0x00005fa4,0x000500ac,0x0000002f,0x00001852, | 878 | 0x000013fb,0x000063e1,0x000300f7,0x00001951, |
| 871 | 0x0000184f,0x00005fa6,0x000300f7,0x00001882, | 879 | 0x00000000,0x000400fa,0x00001948,0x00001949, |
| 872 | 0x00000000,0x000400fa,0x00001852,0x00001853, | 880 | 0x00001950,0x000200f8,0x00001950,0x000200f9, |
| 873 | 0x00001882,0x000200f8,0x00001853,0x00050041, | 881 | 0x00001951,0x000200f8,0x00001949,0x00050082, |
| 874 | 0x00000937,0x00001855,0x00000924,0x00005fa6, | 882 | 0x00000006,0x0000194d,0x000013fb,0x000063e1, |
| 875 | 0x0004003d,0x00000006,0x00001856,0x00001855, | 883 | 0x00060041,0x0000099d,0x0000194e,0x00000b93, |
| 876 | 0x00050041,0x00000937,0x00001858,0x00000924, | 884 | 0x000063ee,0x0000194d,0x0004003d,0x00000006, |
| 877 | 0x0000184f,0x0004003d,0x00000006,0x00001859, | 885 | 0x0000194f,0x0000194e,0x000200f9,0x00001951, |
| 878 | 0x00001858,0x00050041,0x00000937,0x0000185b, | 886 | 0x000200f8,0x00001951,0x000700f5,0x00000006, |
| 879 | 0x00000939,0x00005fa6,0x0004003d,0x00000006, | 887 | 0x000063f2,0x0000194f,0x00001949,0x00000140, |
| 880 | 0x0000185c,0x0000185b,0x00050041,0x00000937, | 888 | 0x00001950,0x00050041,0x00000009,0x00001953, |
| 881 | 0x0000185e,0x00000939,0x0000184f,0x0004003d, | 889 | 0x000018df,0x000063ee,0x0003003e,0x00001953, |
| 882 | 0x00000006,0x0000185f,0x0000185e,0x000500ac, | 890 | 0x000063f2,0x000200f9,0x00001954,0x000200f8, |
| 883 | 0x0000002f,0x00001862,0x00001856,0x00001859, | 891 | 0x00001954,0x00050080,0x00000006,0x00001956, |
| 884 | 0x000400a8,0x0000002f,0x00001863,0x00001862, | 892 | 0x000063ee,0x0000026c,0x000200f9,0x00001940, |
| 885 | 0x000300f7,0x0000186c,0x00000000,0x000400fa, | 893 | 0x000200f8,0x00001957,0x000400e0,0x00000288, |
| 886 | 0x00001863,0x00001864,0x0000186c,0x000200f8, | 894 | 0x00000288,0x000009b5,0x000200f9,0x00001958, |
| 887 | 0x00001864,0x000500aa,0x0000002f,0x00001867, | 895 | 0x000200f8,0x00001958,0x000700f5,0x00000006, |
| 888 | 0x00001856,0x00001859,0x000500ac,0x0000002f, | 896 | 0x000063ef,0x00000140,0x00001957,0x00001968, |
| 889 | 0x0000186a,0x0000185c,0x0000185f,0x000500a7, | 897 | 0x0000195c,0x000500b0,0x0000002f,0x0000195b, |
| 890 | 0x0000002f,0x0000186b,0x00001867,0x0000186a, | 898 | 0x000063ef,0x000001e3,0x000400f6,0x00001969, |
| 891 | 0x000200f9,0x0000186c,0x000200f8,0x0000186c, | 899 | 0x0000195c,0x00000000,0x000400fa,0x0000195b, |
| 892 | 0x000700f5,0x0000002f,0x0000186d,0x00001862, | 900 | 0x0000195c,0x00001969,0x000200f8,0x0000195c, |
| 893 | 0x00001853,0x0000186b,0x00001864,0x000500c7, | 901 | 0x00050041,0x00000009,0x00001960,0x000018df, |
| 894 | 0x00000006,0x00001871,0x00005fa6,0x00005fa1, | 902 | 0x000063ef,0x0004003d,0x00000006,0x00001961, |
| 895 | 0x000500aa,0x0000002f,0x00001872,0x00001871, | 903 | 0x00001960,0x00060041,0x0000099d,0x00001962, |
| 896 | 0x00000138,0x000500a4,0x0000002f,0x00001873, | 904 | 0x00000b93,0x000063ef,0x000013fb,0x0004003d, |
| 897 | 0x0000186d,0x00001872,0x000300f7,0x00001881, | 905 | 0x00000006,0x00001963,0x00001962,0x00050080, |
| 898 | 0x00000000,0x000400fa,0x00001873,0x00001874, | 906 | 0x00000006,0x00001964,0x00001963,0x00001961, |
| 899 | 0x00001881,0x000200f8,0x00001874,0x0003003e, | 907 | 0x0003003e,0x00001962,0x00001964,0x00050080, |
| 900 | 0x00001855,0x00001859,0x0003003e,0x00001858, | 908 | 0x00000006,0x00001968,0x000063ef,0x0000026c, |
| 901 | 0x00001856,0x0003003e,0x0000185b,0x0000185f, | 909 | 0x000200f9,0x00001958,0x000200f8,0x00001969, |
| 902 | 0x0003003e,0x0000185e,0x0000185c,0x000200f9, | 910 | 0x000400e0,0x00000288,0x00000288,0x000009b5, |
| 903 | 0x00001881,0x000200f8,0x00001881,0x000200f9, | 911 | 0x000200f9,0x0000196a,0x000200f8,0x0000196a, |
| 904 | 0x00001882,0x000200f8,0x00001882,0x000200f9, | 912 | 0x000500c4,0x00000006,0x0000196c,0x000063e1, |
| 905 | 0x00001883,0x000200f8,0x00001883,0x00050080, | 913 | 0x0000026c,0x000200f9,0x0000193b,0x000200f8, |
| 906 | 0x00000006,0x00001885,0x00005fa6,0x000001c4, | 914 | 0x0000196d,0x000300f7,0x00001989,0x00000000, |
| 907 | 0x000200f9,0x00001847,0x000200f8,0x00001886, | 915 | 0x000400fa,0x0000190e,0x0000196f,0x00001989, |
| 908 | 0x000400e0,0x00000280,0x00000280,0x0000094f, | 916 | 0x000200f8,0x0000196f,0x00050041,0x0000099d, |
| 909 | 0x000200f9,0x00001887,0x000200f8,0x00001887, | 917 | 0x00001971,0x00000b3a,0x00001a4c,0x0004003d, |
| 910 | 0x000500c2,0x00000006,0x00001889,0x00005fa4, | 918 | 0x00000006,0x00001972,0x00001971,0x00060041, |
| 911 | 0x00000264,0x000200f9,0x00001841,0x000200f8, | 919 | 0x0000099d,0x00001975,0x00000b93,0x00001a4c, |
| 912 | 0x0000188a,0x000200f9,0x0000188b,0x000200f8, | 920 | 0x000013fb,0x0004003d,0x00000006,0x00001976, |
| 913 | 0x0000188b,0x000500c4,0x00000006,0x0000188d, | 921 | 0x00001975,0x00050080,0x00000006,0x00001977, |
| 914 | 0x00005fa1,0x00000264,0x000200f9,0x00001839, | 922 | 0x00001972,0x00001976,0x00050082,0x00000006, |
| 915 | 0x000200f8,0x0000188e,0x000200f9,0x00001890, | 923 | 0x00001978,0x00001977,0x0000014a,0x000500c7, |
| 916 | 0x000200f8,0x00001890,0x000700f5,0x00000006, | 924 | 0x00000006,0x00001a52,0x00001a49,0x0000014a, |
| 917 | 0x00005fa3,0x00001314,0x0000188e,0x000018ac, | 925 | 0x000500aa,0x0000002f,0x00001a53,0x00001a52, |
| 918 | 0x00001895,0x000500b0,0x0000002f,0x00001894, | 926 | 0x00000140,0x000300f7,0x00001a58,0x00000000, |
| 919 | 0x00005fa3,0x00001803,0x000400f6,0x000018ad, | 927 | 0x000400fa,0x00001a53,0x00001a54,0x00001a56, |
| 920 | 0x00001895,0x00000000,0x000400fa,0x00001894, | 928 | 0x000200f8,0x00001a56,0x000200f9,0x00001a58, |
| 921 | 0x00001895,0x000018ad,0x000200f8,0x00001895, | 929 | 0x000200f8,0x00001a54,0x00050084,0x00000006, |
| 922 | 0x00050084,0x00000006,0x00001898,0x000000ec, | 930 | 0x00001a5e,0x000001d5,0x00001900,0x00050080, |
| 923 | 0x00005fa3,0x00050080,0x00000006,0x00001899, | 931 | 0x00000006,0x00001a5f,0x000001cc,0x00001a5e, |
| 924 | 0x000001c4,0x00001898,0x00050041,0x00000266, | 932 | 0x000200f9,0x00001a58,0x000200f8,0x00001a58, |
| 925 | 0x0000189b,0x000001b9,0x00000264,0x0004003d, | 933 | 0x000700f5,0x00000006,0x000063e2,0x00001a5f, |
| 926 | 0x00000007,0x0000189c,0x0000189b,0x00050041, | 934 | 0x00001a54,0x000001cc,0x00001a56,0x00050084, |
| 927 | 0x00000937,0x0000189d,0x00000924,0x00005fa3, | 935 | 0x00000006,0x0000197b,0x000000f3,0x00001978, |
| 928 | 0x0004003d,0x00000006,0x0000189e,0x0000189d, | 936 | 0x00050080,0x00000006,0x0000197c,0x000063e2, |
| 929 | 0x00050051,0x00000006,0x0000190f,0x0000189c, | 937 | 0x0000197b,0x00050041,0x0000026e,0x0000197d, |
| 930 | 0x00000000,0x00050095,0x0000013d,0x00001911, | 938 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, |
| 931 | 0x0000190f,0x00001899,0x00050051,0x00000006, | 939 | 0x0000197e,0x0000197d,0x00050051,0x00000006, |
| 932 | 0x00001912,0x00001911,0x00000001,0x00050051, | 940 | 0x00001a77,0x0000197e,0x00000000,0x00050095, |
| 933 | 0x00000006,0x00001913,0x00001911,0x00000000, | 941 | 0x00000145,0x00001a79,0x00001a77,0x0000197c, |
| 934 | 0x00050051,0x00000006,0x00001916,0x0000189c, | 942 | 0x00050051,0x00000006,0x00001a7a,0x00001a79, |
| 935 | 0x00000001,0x00050080,0x00000006,0x00001918, | 943 | 0x00000001,0x00050051,0x00000006,0x00001a7b, |
| 936 | 0x00001916,0x00001912,0x00050050,0x00000007, | 944 | 0x00001a79,0x00000000,0x00050051,0x00000006, |
| 937 | 0x00001919,0x00001913,0x00001918,0x0004007c, | 945 | 0x00001a7e,0x0000197e,0x00000001,0x00050080, |
| 938 | 0x00000014,0x00001909,0x00001919,0x00060041, | 946 | 0x00000006,0x00001a80,0x00001a7e,0x00001a7a, |
| 939 | 0x0000016c,0x00001901,0x00001909,0x0000016b, | 947 | 0x00050050,0x00000007,0x00001a81,0x00001a7b, |
| 940 | 0x0000016b,0x0005003e,0x00001901,0x0000189e, | 948 | 0x00001a80,0x0004007c,0x00000014,0x00001a71, |
| 941 | 0x00000002,0x00000004,0x00050084,0x00000006, | 949 | 0x00001a81,0x00060041,0x00000174,0x00001a69, |
| 942 | 0x0000191e,0x000000ec,0x00001803,0x00050080, | 950 | 0x00001a71,0x00000173,0x00000173,0x0005003e, |
| 943 | 0x00000006,0x0000191f,0x000001c4,0x0000191e, | 951 | 0x00001a69,0x000063dd,0x00000002,0x00000004, |
| 944 | 0x00050080,0x00000006,0x000018a3,0x0000191f, | 952 | 0x000300f7,0x00001a8d,0x00000000,0x000400fa, |
| 945 | 0x00001898,0x00050041,0x00000937,0x000018a7, | 953 | 0x00001a53,0x00001a89,0x00001a8b,0x000200f8, |
| 946 | 0x00000939,0x00005fa3,0x0004003d,0x00000006, | 954 | 0x00001a8b,0x00050084,0x00000006,0x00001a99, |
| 947 | 0x000018a8,0x000018a7,0x00050095,0x0000013d, | 955 | 0x000000f3,0x00001900,0x00050080,0x00000006, |
| 948 | 0x00001937,0x0000190f,0x000018a3,0x00050051, | 956 | 0x00001a9a,0x000001cc,0x00001a99,0x000200f9, |
| 949 | 0x00000006,0x00001938,0x00001937,0x00000001, | 957 | 0x00001a8d,0x000200f8,0x00001a89,0x00050084, |
| 950 | 0x00050051,0x00000006,0x00001939,0x00001937, | 958 | 0x00000006,0x00001a93,0x000001dc,0x00001900, |
| 951 | 0x00000000,0x00050080,0x00000006,0x0000193e, | 959 | 0x00050080,0x00000006,0x00001a94,0x000001cc, |
| 952 | 0x00001916,0x00001938,0x00050050,0x00000007, | 960 | 0x00001a93,0x000200f9,0x00001a8d,0x000200f8, |
| 953 | 0x0000193f,0x00001939,0x0000193e,0x0004007c, | 961 | 0x00001a8d,0x000700f5,0x00000006,0x000063e3, |
| 954 | 0x00000014,0x0000192f,0x0000193f,0x00060041, | 962 | 0x00001a94,0x00001a89,0x00001a9a,0x00001a8b, |
| 955 | 0x0000016c,0x00001927,0x0000192f,0x0000016b, | 963 | 0x00050080,0x00000006,0x00001984,0x000063e3, |
| 956 | 0x0000016b,0x0005003e,0x00001927,0x000018a8, | 964 | 0x0000197b,0x00050095,0x00000145,0x00001ab2, |
| 965 | 0x00001a77,0x00001984,0x00050051,0x00000006, | ||
| 966 | 0x00001ab3,0x00001ab2,0x00000001,0x00050051, | ||
| 967 | 0x00000006,0x00001ab4,0x00001ab2,0x00000000, | ||
| 968 | 0x00050080,0x00000006,0x00001ab9,0x00001a7e, | ||
| 969 | 0x00001ab3,0x00050050,0x00000007,0x00001aba, | ||
| 970 | 0x00001ab4,0x00001ab9,0x0004007c,0x00000014, | ||
| 971 | 0x00001aaa,0x00001aba,0x00060041,0x00000174, | ||
| 972 | 0x00001aa2,0x00001aaa,0x00000173,0x00000173, | ||
| 973 | 0x0005003e,0x00001aa2,0x000063df,0x00000002, | ||
| 974 | 0x00000004,0x000200f9,0x00001989,0x000200f8, | ||
| 975 | 0x00001989,0x000400e0,0x00000288,0x00000288, | ||
| 976 | 0x000009b5,0x000300f7,0x00001995,0x00000000, | ||
| 977 | 0x000400fa,0x000018eb,0x0000198c,0x00001995, | ||
| 978 | 0x000200f8,0x0000198c,0x00060041,0x0000099d, | ||
| 979 | 0x0000198f,0x00000b93,0x000013fb,0x00000c01, | ||
| 980 | 0x0004003d,0x00000006,0x00001990,0x0000198f, | ||
| 981 | 0x00050041,0x0000099d,0x00001991,0x00000b3a, | ||
| 982 | 0x000013fb,0x0004003d,0x00000006,0x00001992, | ||
| 983 | 0x00001991,0x00050080,0x00000006,0x00001993, | ||
| 984 | 0x00001992,0x00001990,0x0003003e,0x00001991, | ||
| 985 | 0x00001993,0x000200f9,0x00001995,0x000200f8, | ||
| 986 | 0x00001995,0x000400e0,0x00000288,0x00000288, | ||
| 987 | 0x000009b5,0x000200f9,0x00001996,0x000200f8, | ||
| 988 | 0x00001996,0x00050080,0x00000006,0x00001998, | ||
| 989 | 0x000063db,0x000001cc,0x000200f9,0x00001903, | ||
| 990 | 0x000200f8,0x00001999,0x000200f9,0x000014ef, | ||
| 991 | 0x000200f8,0x000013f5,0x000500aa,0x0000002f, | ||
| 992 | 0x00001401,0x000013be,0x00001400,0x000300f7, | ||
| 993 | 0x00001403,0x00000000,0x000400fa,0x00001401, | ||
| 994 | 0x00001402,0x00001403,0x000200f8,0x00001402, | ||
| 995 | 0x00050041,0x000013a5,0x00001405,0x000013d6, | ||
| 996 | 0x00000140,0x0004003d,0x00000006,0x00001406, | ||
| 997 | 0x00001405,0x00050041,0x000001c3,0x00001ad5, | ||
| 998 | 0x000001c1,0x000001c2,0x0004003d,0x00000006, | ||
| 999 | 0x00001ad6,0x00001ad5,0x000200f9,0x00001ad7, | ||
| 1000 | 0x000200f8,0x00001ad7,0x000700f5,0x00000006, | ||
| 1001 | 0x000063c6,0x0000014a,0x00001402,0x00001ade, | ||
| 1002 | 0x00001adc,0x000500b0,0x0000002f,0x00001adb, | ||
| 1003 | 0x000063c6,0x00001ad6,0x000400f6,0x00001ae0, | ||
| 1004 | 0x00001adc,0x00000000,0x000400fa,0x00001adb, | ||
| 1005 | 0x00001adc,0x00001ae0,0x000200f8,0x00001adc, | ||
| 1006 | 0x000500c4,0x00000006,0x00001ade,0x000063c6, | ||
| 1007 | 0x0000026c,0x000200f9,0x00001ad7,0x000200f8, | ||
| 1008 | 0x00001ae0,0x000200f9,0x00001ae2,0x000200f8, | ||
| 1009 | 0x00001ae2,0x000700f5,0x00000006,0x000063c7, | ||
| 1010 | 0x00001406,0x00001ae0,0x00001b0a,0x00001b08, | ||
| 1011 | 0x000500b0,0x0000002f,0x00001ae6,0x000063c7, | ||
| 1012 | 0x000063c6,0x000400f6,0x00001b0b,0x00001b08, | ||
| 1013 | 0x00000000,0x000400fa,0x00001ae6,0x00001ae7, | ||
| 1014 | 0x00001b0b,0x000200f8,0x00001ae7,0x000500b0, | ||
| 1015 | 0x0000002f,0x00001aeb,0x000063c7,0x00001ad6, | ||
| 1016 | 0x000300f7,0x00001af5,0x00000000,0x000400fa, | ||
| 1017 | 0x00001aeb,0x00001aec,0x00001af4,0x000200f8, | ||
| 1018 | 0x00001af4,0x000200f9,0x00001af5,0x000200f8, | ||
| 1019 | 0x00001aec,0x00050084,0x00000006,0x00001aef, | ||
| 1020 | 0x000000f3,0x000063c7,0x00050080,0x00000006, | ||
| 1021 | 0x00001af0,0x000001cc,0x00001aef,0x00050041, | ||
| 1022 | 0x0000026e,0x00001af1,0x000001c1,0x0000026c, | ||
| 1023 | 0x0004003d,0x00000007,0x00001af2,0x00001af1, | ||
| 1024 | 0x00050051,0x00000006,0x00001b99,0x00001af2, | ||
| 1025 | 0x00000000,0x00050095,0x00000145,0x00001b9b, | ||
| 1026 | 0x00001b99,0x00001af0,0x00050051,0x00000006, | ||
| 1027 | 0x00001b9c,0x00001b9b,0x00000001,0x00050051, | ||
| 1028 | 0x00000006,0x00001b9d,0x00001b9b,0x00000000, | ||
| 1029 | 0x00050051,0x00000006,0x00001ba0,0x00001af2, | ||
| 1030 | 0x00000001,0x00050080,0x00000006,0x00001ba2, | ||
| 1031 | 0x00001ba0,0x00001b9c,0x00050050,0x00000007, | ||
| 1032 | 0x00001ba3,0x00001b9d,0x00001ba2,0x0004007c, | ||
| 1033 | 0x00000014,0x00001b93,0x00001ba3,0x00060041, | ||
| 1034 | 0x00000174,0x00001b8a,0x00001b93,0x00000173, | ||
| 1035 | 0x00000173,0x0006003d,0x00000006,0x00001b8b, | ||
| 1036 | 0x00001b8a,0x00000002,0x00000004,0x000200f9, | ||
| 1037 | 0x00001af5,0x000200f8,0x00001af5,0x000700f5, | ||
| 1038 | 0x00000006,0x000063d7,0x00001b8b,0x00001aec, | ||
| 1039 | 0x000003bf,0x00001af4,0x00050041,0x0000099d, | ||
| 1040 | 0x00001af7,0x0000098a,0x000063c7,0x0003003e, | ||
| 1041 | 0x00001af7,0x000063d7,0x000300f7,0x00001b05, | ||
| 1042 | 0x00000000,0x000400fa,0x00001aeb,0x00001afc, | ||
| 1043 | 0x00001b04,0x000200f8,0x00001b04,0x000200f9, | ||
| 1044 | 0x00001b05,0x000200f8,0x00001afc,0x00050084, | ||
| 1045 | 0x00000006,0x00001ba8,0x000000f3,0x00001ad6, | ||
| 1046 | 0x00050080,0x00000006,0x00001ba9,0x000001cc, | ||
| 1047 | 0x00001ba8,0x00050084,0x00000006,0x00001aff, | ||
| 1048 | 0x000000f3,0x000063c7,0x00050080,0x00000006, | ||
| 1049 | 0x00001b00,0x00001ba9,0x00001aff,0x00050041, | ||
| 1050 | 0x0000026e,0x00001b01,0x000001c1,0x0000026c, | ||
| 1051 | 0x0004003d,0x00000007,0x00001b02,0x00001b01, | ||
| 1052 | 0x00050051,0x00000006,0x00001bc0,0x00001b02, | ||
| 1053 | 0x00000000,0x00050095,0x00000145,0x00001bc2, | ||
| 1054 | 0x00001bc0,0x00001b00,0x00050051,0x00000006, | ||
| 1055 | 0x00001bc3,0x00001bc2,0x00000001,0x00050051, | ||
| 1056 | 0x00000006,0x00001bc4,0x00001bc2,0x00000000, | ||
| 1057 | 0x00050051,0x00000006,0x00001bc7,0x00001b02, | ||
| 1058 | 0x00000001,0x00050080,0x00000006,0x00001bc9, | ||
| 1059 | 0x00001bc7,0x00001bc3,0x00050050,0x00000007, | ||
| 1060 | 0x00001bca,0x00001bc4,0x00001bc9,0x0004007c, | ||
| 1061 | 0x00000014,0x00001bba,0x00001bca,0x00060041, | ||
| 1062 | 0x00000174,0x00001bb1,0x00001bba,0x00000173, | ||
| 1063 | 0x00000173,0x0006003d,0x00000006,0x00001bb2, | ||
| 1064 | 0x00001bb1,0x00000002,0x00000004,0x000200f9, | ||
| 1065 | 0x00001b05,0x000200f8,0x00001b05,0x000700f5, | ||
| 1066 | 0x00000006,0x000063d9,0x00001bb2,0x00001afc, | ||
| 1067 | 0x000003bf,0x00001b04,0x00050041,0x0000099d, | ||
| 1068 | 0x00001b07,0x0000099f,0x000063c7,0x0003003e, | ||
| 1069 | 0x00001b07,0x000063d9,0x000200f9,0x00001b08, | ||
| 1070 | 0x000200f8,0x00001b08,0x00050080,0x00000006, | ||
| 1071 | 0x00001b0a,0x000063c7,0x000001cc,0x000200f9, | ||
| 1072 | 0x00001ae2,0x000200f8,0x00001b0b,0x000400e0, | ||
| 1073 | 0x00000288,0x00000288,0x000009b5,0x000200f9, | ||
| 1074 | 0x00001b0c,0x000200f8,0x00001b0c,0x000700f5, | ||
| 1075 | 0x00000006,0x000063c9,0x00000288,0x00001b0b, | ||
| 1076 | 0x00001b60,0x00001b5e,0x000500b2,0x0000002f, | ||
| 1077 | 0x00001b10,0x000063c9,0x000063c6,0x000400f6, | ||
| 1078 | 0x00001b61,0x00001b5e,0x00000000,0x000400fa, | ||
| 1079 | 0x00001b10,0x00001b11,0x00001b61,0x000200f8, | ||
| 1080 | 0x00001b11,0x000500c2,0x00000006,0x00001b13, | ||
| 1081 | 0x000063c9,0x0000026c,0x000200f9,0x00001b14, | ||
| 1082 | 0x000200f8,0x00001b14,0x000700f5,0x00000006, | ||
| 1083 | 0x000063cc,0x00001b13,0x00001b11,0x00001b5c, | ||
| 1084 | 0x00001b5a,0x000500ac,0x0000002f,0x00001b17, | ||
| 1085 | 0x000063cc,0x00000140,0x000400f6,0x00001b5d, | ||
| 1086 | 0x00001b5a,0x00000000,0x000400fa,0x00001b17, | ||
| 1087 | 0x00001b18,0x00001b5d,0x000200f8,0x00001b18, | ||
| 1088 | 0x000200f9,0x00001b1a,0x000200f8,0x00001b1a, | ||
| 1089 | 0x000700f5,0x00000006,0x000063ce,0x00001406, | ||
| 1090 | 0x00001b18,0x00001b58,0x00001b56,0x000500b0, | ||
| 1091 | 0x0000002f,0x00001b1e,0x000063ce,0x000063c6, | ||
| 1092 | 0x000400f6,0x00001b59,0x00001b56,0x00000000, | ||
| 1093 | 0x000400fa,0x00001b1e,0x00001b1f,0x00001b59, | ||
| 1094 | 0x000200f8,0x00001b1f,0x000500c6,0x00000006, | ||
| 1095 | 0x00001b22,0x000063ce,0x000063cc,0x000500ac, | ||
| 1096 | 0x0000002f,0x00001b25,0x00001b22,0x000063ce, | ||
| 1097 | 0x000300f7,0x00001b55,0x00000000,0x000400fa, | ||
| 1098 | 0x00001b25,0x00001b26,0x00001b55,0x000200f8, | ||
| 1099 | 0x00001b26,0x00050041,0x0000099d,0x00001b28, | ||
| 1100 | 0x0000098a,0x000063ce,0x0004003d,0x00000006, | ||
| 1101 | 0x00001b29,0x00001b28,0x00050041,0x0000099d, | ||
| 1102 | 0x00001b2b,0x0000098a,0x00001b22,0x0004003d, | ||
| 1103 | 0x00000006,0x00001b2c,0x00001b2b,0x00050041, | ||
| 1104 | 0x0000099d,0x00001b2e,0x0000099f,0x000063ce, | ||
| 1105 | 0x0004003d,0x00000006,0x00001b2f,0x00001b2e, | ||
| 1106 | 0x00050041,0x0000099d,0x00001b31,0x0000099f, | ||
| 1107 | 0x00001b22,0x0004003d,0x00000006,0x00001b32, | ||
| 1108 | 0x00001b31,0x000500ac,0x0000002f,0x00001b35, | ||
| 1109 | 0x00001b29,0x00001b2c,0x000400a8,0x0000002f, | ||
| 1110 | 0x00001b36,0x00001b35,0x000300f7,0x00001b3f, | ||
| 1111 | 0x00000000,0x000400fa,0x00001b36,0x00001b37, | ||
| 1112 | 0x00001b3f,0x000200f8,0x00001b37,0x000500aa, | ||
| 1113 | 0x0000002f,0x00001b3a,0x00001b29,0x00001b2c, | ||
| 1114 | 0x000500ac,0x0000002f,0x00001b3d,0x00001b2f, | ||
| 1115 | 0x00001b32,0x000500a7,0x0000002f,0x00001b3e, | ||
| 1116 | 0x00001b3a,0x00001b3d,0x000200f9,0x00001b3f, | ||
| 1117 | 0x000200f8,0x00001b3f,0x000700f5,0x0000002f, | ||
| 1118 | 0x00001b40,0x00001b35,0x00001b26,0x00001b3e, | ||
| 1119 | 0x00001b37,0x000500c7,0x00000006,0x00001b44, | ||
| 1120 | 0x000063ce,0x000063c9,0x000500aa,0x0000002f, | ||
| 1121 | 0x00001b45,0x00001b44,0x00000140,0x000500a4, | ||
| 1122 | 0x0000002f,0x00001b46,0x00001b40,0x00001b45, | ||
| 1123 | 0x000300f7,0x00001b54,0x00000000,0x000400fa, | ||
| 1124 | 0x00001b46,0x00001b47,0x00001b54,0x000200f8, | ||
| 1125 | 0x00001b47,0x0003003e,0x00001b28,0x00001b2c, | ||
| 1126 | 0x0003003e,0x00001b2b,0x00001b29,0x0003003e, | ||
| 1127 | 0x00001b2e,0x00001b32,0x0003003e,0x00001b31, | ||
| 1128 | 0x00001b2f,0x000200f9,0x00001b54,0x000200f8, | ||
| 1129 | 0x00001b54,0x000200f9,0x00001b55,0x000200f8, | ||
| 1130 | 0x00001b55,0x000200f9,0x00001b56,0x000200f8, | ||
| 1131 | 0x00001b56,0x00050080,0x00000006,0x00001b58, | ||
| 1132 | 0x000063ce,0x000001cc,0x000200f9,0x00001b1a, | ||
| 1133 | 0x000200f8,0x00001b59,0x000400e0,0x00000288, | ||
| 1134 | 0x00000288,0x000009b5,0x000200f9,0x00001b5a, | ||
| 1135 | 0x000200f8,0x00001b5a,0x000500c2,0x00000006, | ||
| 1136 | 0x00001b5c,0x000063cc,0x0000026c,0x000200f9, | ||
| 1137 | 0x00001b14,0x000200f8,0x00001b5d,0x000200f9, | ||
| 1138 | 0x00001b5e,0x000200f8,0x00001b5e,0x000500c4, | ||
| 1139 | 0x00000006,0x00001b60,0x000063c9,0x0000026c, | ||
| 1140 | 0x000200f9,0x00001b0c,0x000200f8,0x00001b61, | ||
| 1141 | 0x000200f9,0x00001b63,0x000200f8,0x00001b63, | ||
| 1142 | 0x000700f5,0x00000006,0x000063cb,0x00001406, | ||
| 1143 | 0x00001b61,0x00001b7f,0x00001b68,0x000500b0, | ||
| 1144 | 0x0000002f,0x00001b67,0x000063cb,0x00001ad6, | ||
| 1145 | 0x000400f6,0x00001b80,0x00001b68,0x00000000, | ||
| 1146 | 0x000400fa,0x00001b67,0x00001b68,0x00001b80, | ||
| 1147 | 0x000200f8,0x00001b68,0x00050084,0x00000006, | ||
| 1148 | 0x00001b6b,0x000000f3,0x000063cb,0x00050080, | ||
| 1149 | 0x00000006,0x00001b6c,0x000001cc,0x00001b6b, | ||
| 1150 | 0x00050041,0x0000026e,0x00001b6e,0x000001c1, | ||
| 1151 | 0x0000026c,0x0004003d,0x00000007,0x00001b6f, | ||
| 1152 | 0x00001b6e,0x00050041,0x0000099d,0x00001b70, | ||
| 1153 | 0x0000098a,0x000063cb,0x0004003d,0x00000006, | ||
| 1154 | 0x00001b71,0x00001b70,0x00050051,0x00000006, | ||
| 1155 | 0x00001be2,0x00001b6f,0x00000000,0x00050095, | ||
| 1156 | 0x00000145,0x00001be4,0x00001be2,0x00001b6c, | ||
| 1157 | 0x00050051,0x00000006,0x00001be5,0x00001be4, | ||
| 1158 | 0x00000001,0x00050051,0x00000006,0x00001be6, | ||
| 1159 | 0x00001be4,0x00000000,0x00050051,0x00000006, | ||
| 1160 | 0x00001be9,0x00001b6f,0x00000001,0x00050080, | ||
| 1161 | 0x00000006,0x00001beb,0x00001be9,0x00001be5, | ||
| 1162 | 0x00050050,0x00000007,0x00001bec,0x00001be6, | ||
| 1163 | 0x00001beb,0x0004007c,0x00000014,0x00001bdc, | ||
| 1164 | 0x00001bec,0x00060041,0x00000174,0x00001bd4, | ||
| 1165 | 0x00001bdc,0x00000173,0x00000173,0x0005003e, | ||
| 1166 | 0x00001bd4,0x00001b71,0x00000002,0x00000004, | ||
| 1167 | 0x00050084,0x00000006,0x00001bf1,0x000000f3, | ||
| 1168 | 0x00001ad6,0x00050080,0x00000006,0x00001bf2, | ||
| 1169 | 0x000001cc,0x00001bf1,0x00050080,0x00000006, | ||
| 1170 | 0x00001b76,0x00001bf2,0x00001b6b,0x00050041, | ||
| 1171 | 0x0000099d,0x00001b7a,0x0000099f,0x000063cb, | ||
| 1172 | 0x0004003d,0x00000006,0x00001b7b,0x00001b7a, | ||
| 1173 | 0x00050095,0x00000145,0x00001c0a,0x00001be2, | ||
| 1174 | 0x00001b76,0x00050051,0x00000006,0x00001c0b, | ||
| 1175 | 0x00001c0a,0x00000001,0x00050051,0x00000006, | ||
| 1176 | 0x00001c0c,0x00001c0a,0x00000000,0x00050080, | ||
| 1177 | 0x00000006,0x00001c11,0x00001be9,0x00001c0b, | ||
| 1178 | 0x00050050,0x00000007,0x00001c12,0x00001c0c, | ||
| 1179 | 0x00001c11,0x0004007c,0x00000014,0x00001c02, | ||
| 1180 | 0x00001c12,0x00060041,0x00000174,0x00001bfa, | ||
| 1181 | 0x00001c02,0x00000173,0x00000173,0x0005003e, | ||
| 1182 | 0x00001bfa,0x00001b7b,0x00000002,0x00000004, | ||
| 1183 | 0x00050080,0x00000006,0x00001b7f,0x000063cb, | ||
| 1184 | 0x000001cc,0x000200f9,0x00001b63,0x000200f8, | ||
| 1185 | 0x00001b80,0x000200f9,0x000014ef,0x000200f8, | ||
| 1186 | 0x00001403,0x000500aa,0x0000002f,0x0000140c, | ||
| 1187 | 0x000013be,0x0000140b,0x000300f7,0x0000140e, | ||
| 1188 | 0x00000000,0x000400fa,0x0000140c,0x0000140d, | ||
| 1189 | 0x0000140e,0x000200f8,0x0000140d,0x00050041, | ||
| 1190 | 0x000013a5,0x00001410,0x000013d5,0x00000140, | ||
| 1191 | 0x0004003d,0x00000006,0x00001411,0x00001410, | ||
| 1192 | 0x00050041,0x000013a5,0x00001413,0x000013d6, | ||
| 1193 | 0x00000140,0x0004003d,0x00000006,0x00001414, | ||
| 1194 | 0x00001413,0x000500aa,0x0000002f,0x00001c26, | ||
| 1195 | 0x00001414,0x00000140,0x000300f7,0x00001c28, | ||
| 1196 | 0x00000000,0x000400fa,0x00001c26,0x00001c27, | ||
| 1197 | 0x00001c28,0x000200f8,0x00001c27,0x0003003e, | ||
| 1198 | 0x00000ed4,0x00000140,0x000200f9,0x00001c28, | ||
| 1199 | 0x000200f8,0x00001c28,0x000400e0,0x00000288, | ||
| 1200 | 0x00000288,0x000009b5,0x00050084,0x00000006, | ||
| 1201 | 0x00001c2a,0x00001411,0x000001c6,0x00050080, | ||
| 1202 | 0x00000006,0x00001c2c,0x00001c2a,0x000001c6, | ||
| 1203 | 0x00050041,0x000001c3,0x00001c78,0x000001c1, | ||
| 1204 | 0x000001f8,0x0004003d,0x00000006,0x00001c79, | ||
| 1205 | 0x00001c78,0x000500ac,0x0000002f,0x00001c7a, | ||
| 1206 | 0x00001c79,0x0000014a,0x000300f7,0x00001c80, | ||
| 1207 | 0x00000000,0x000400fa,0x00001c7a,0x00001c7b, | ||
| 1208 | 0x00001c7f,0x000200f8,0x00001c7f,0x000200f9, | ||
| 1209 | 0x00001c80,0x000200f8,0x00001c7b,0x00050082, | ||
| 1210 | 0x00000006,0x00001c7e,0x00001c79,0x0000014a, | ||
| 1211 | 0x000200f9,0x00001c80,0x000200f8,0x00001c80, | ||
| 1212 | 0x000700f5,0x00000006,0x000063a8,0x00001c7e, | ||
| 1213 | 0x00001c7b,0x00000140,0x00001c7f,0x0007000c, | ||
| 1214 | 0x00000006,0x00001c2e,0x00000001,0x00000026, | ||
| 1215 | 0x00001c2c,0x000063a8,0x00050080,0x00000006, | ||
| 1216 | 0x00001c31,0x00001c2a,0x00001414,0x000200f9, | ||
| 1217 | 0x00001c32,0x000200f8,0x00001c32,0x000700f5, | ||
| 1218 | 0x00000006,0x000063a9,0x00001c31,0x00001c80, | ||
| 1219 | 0x00001c67,0x00001c65,0x000500b0,0x0000002f, | ||
| 1220 | 0x00001c36,0x000063a9,0x00001c2e,0x000400f6, | ||
| 1221 | 0x00001c68,0x00001c65,0x00000000,0x000400fa, | ||
| 1222 | 0x00001c36,0x00001c37,0x00001c68,0x000200f8, | ||
| 1223 | 0x00001c37,0x00050041,0x000001c3,0x00001caa, | ||
| 1224 | 0x000001c1,0x000001c2,0x0004003d,0x00000006, | ||
| 1225 | 0x00001cab,0x00001caa,0x00050084,0x00000006, | ||
| 1226 | 0x00001cac,0x000001e3,0x00001cab,0x00050080, | ||
| 1227 | 0x00000006,0x00001cad,0x000001cc,0x00001cac, | ||
| 1228 | 0x00050080,0x00000006,0x00001cb3,0x00001cab, | ||
| 1229 | 0x00000695,0x00050086,0x00000006,0x00001cb4, | ||
| 1230 | 0x00001cb3,0x000001c6,0x00050084,0x00000006, | ||
| 1231 | 0x00001ca6,0x000001cc,0x00001cb4,0x00050080, | ||
| 1232 | 0x00000006,0x00001ca7,0x00001cad,0x00001ca6, | ||
| 1233 | 0x00050080,0x00000006,0x00001ca1,0x00001ca7, | ||
| 1234 | 0x00001ca6,0x00050084,0x00000006,0x00001c9a, | ||
| 1235 | 0x000001f7,0x00001c79,0x00050080,0x00000006, | ||
| 1236 | 0x00001c9b,0x00001ca1,0x00001c9a,0x00050041, | ||
| 1237 | 0x000001c3,0x00001c91,0x000001c1,0x0000020e, | ||
| 1238 | 0x0004003d,0x00000006,0x00001c92,0x00001c91, | ||
| 1239 | 0x00050084,0x00000006,0x00001c93,0x0000020d, | ||
| 1240 | 0x00001c92,0x00050080,0x00000006,0x00001c94, | ||
| 1241 | 0x00001c9b,0x00001c93,0x000300f7,0x00001cc7, | ||
| 1242 | 0x00000000,0x000400fa,0x00001c7a,0x00001cc2, | ||
| 1243 | 0x00001cc6,0x000200f8,0x00001cc6,0x000200f9, | ||
| 1244 | 0x00001cc7,0x000200f8,0x00001cc2,0x00050082, | ||
| 1245 | 0x00000006,0x00001cc5,0x00001c79,0x0000014a, | ||
| 1246 | 0x000200f9,0x00001cc7,0x000200f8,0x00001cc7, | ||
| 1247 | 0x000700f5,0x00000006,0x000063af,0x00001cc5, | ||
| 1248 | 0x00001cc2,0x00000140,0x00001cc6,0x00050084, | ||
| 1249 | 0x00000006,0x00001c8c,0x000000f3,0x000063af, | ||
| 1250 | 0x00050080,0x00000006,0x00001c8d,0x00001c94, | ||
| 1251 | 0x00001c8c,0x000300f7,0x00001cd4,0x00000000, | ||
| 1252 | 0x000400fa,0x00001c7a,0x00001ccf,0x00001cd3, | ||
| 1253 | 0x000200f8,0x00001cd3,0x000200f9,0x00001cd4, | ||
| 1254 | 0x000200f8,0x00001ccf,0x00050082,0x00000006, | ||
| 1255 | 0x00001cd2,0x00001c79,0x0000014a,0x000200f9, | ||
| 1256 | 0x00001cd4,0x000200f8,0x00001cd4,0x000700f5, | ||
| 1257 | 0x00000006,0x000063b0,0x00001cd2,0x00001ccf, | ||
| 1258 | 0x00000140,0x00001cd3,0x00050084,0x00000006, | ||
| 1259 | 0x00001c86,0x000000f3,0x000063b0,0x00050080, | ||
| 1260 | 0x00000006,0x00001c87,0x00001c8d,0x00001c86, | ||
| 1261 | 0x00050084,0x00000006,0x00001c3a,0x000000f3, | ||
| 1262 | 0x000063a9,0x00050080,0x00000006,0x00001c3b, | ||
| 1263 | 0x00001c87,0x00001c3a,0x00050041,0x0000026e, | ||
| 1264 | 0x00001c3c,0x000001c1,0x0000026c,0x0004003d, | ||
| 1265 | 0x00000007,0x00001c3d,0x00001c3c,0x00050051, | ||
| 1266 | 0x00000006,0x00001cec,0x00001c3d,0x00000000, | ||
| 1267 | 0x00050095,0x00000145,0x00001cee,0x00001cec, | ||
| 1268 | 0x00001c3b,0x00050051,0x00000006,0x00001cef, | ||
| 1269 | 0x00001cee,0x00000001,0x00050051,0x00000006, | ||
| 1270 | 0x00001cf0,0x00001cee,0x00000000,0x00050051, | ||
| 1271 | 0x00000006,0x00001cf3,0x00001c3d,0x00000001, | ||
| 1272 | 0x00050080,0x00000006,0x00001cf5,0x00001cf3, | ||
| 1273 | 0x00001cef,0x00050050,0x00000007,0x00001cf6, | ||
| 1274 | 0x00001cf0,0x00001cf5,0x0004007c,0x00000014, | ||
| 1275 | 0x00001ce6,0x00001cf6,0x00060041,0x00000174, | ||
| 1276 | 0x00001cdd,0x00001ce6,0x00000173,0x00000173, | ||
| 1277 | 0x0006003d,0x00000006,0x00001cde,0x00001cdd, | ||
| 1278 | 0x00000002,0x00000004,0x000200f9,0x00001c3f, | ||
| 1279 | 0x000200f8,0x00001c3f,0x000700f5,0x00000006, | ||
| 1280 | 0x000063b5,0x00000140,0x00001cd4,0x00001c48, | ||
| 1281 | 0x00001c50,0x000700f5,0x00000006,0x000063b4, | ||
| 1282 | 0x00000140,0x00001cd4,0x00001c52,0x00001c50, | ||
| 1283 | 0x000700f5,0x00000006,0x000063b3,0x00001cde, | ||
| 1284 | 0x00001cd4,0x00001d53,0x00001c50,0x000500ab, | ||
| 1285 | 0x0000002f,0x00001c42,0x000063b3,0x000003bf, | ||
| 1286 | 0x000500b0,0x0000002f,0x00001c44,0x000063b4, | ||
| 1287 | 0x0000034a,0x000500a7,0x0000002f,0x00001c45, | ||
| 1288 | 0x00001c42,0x00001c44,0x000400f6,0x00001c53, | ||
| 1289 | 0x00001c50,0x00000000,0x000400fa,0x00001c45, | ||
| 1290 | 0x00001c46,0x00001c53,0x000200f8,0x00001c46, | ||
| 1291 | 0x00050080,0x00000006,0x00001c48,0x000063b5, | ||
| 1292 | 0x0000026c,0x000300f7,0x00001d3c,0x00000000, | ||
| 1293 | 0x000400fa,0x00001c7a,0x00001d37,0x00001d3b, | ||
| 1294 | 0x000200f8,0x00001d3b,0x000200f9,0x00001d3c, | ||
| 1295 | 0x000200f8,0x00001d37,0x00050082,0x00000006, | ||
| 1296 | 0x00001d3a,0x00001c79,0x0000014a,0x000200f9, | ||
| 1297 | 0x00001d3c,0x000200f8,0x00001d3c,0x000700f5, | ||
| 1298 | 0x00000006,0x000063c0,0x00001d3a,0x00001d37, | ||
| 1299 | 0x00000140,0x00001d3b,0x00050084,0x00000006, | ||
| 1300 | 0x00001d01,0x000000f3,0x000063c0,0x00050080, | ||
| 1301 | 0x00000006,0x00001d02,0x00001c94,0x00001d01, | ||
| 1302 | 0x000300f7,0x00001d49,0x00000000,0x000400fa, | ||
| 1303 | 0x00001c7a,0x00001d44,0x00001d48,0x000200f8, | ||
| 1304 | 0x00001d48,0x000200f9,0x00001d49,0x000200f8, | ||
| 1305 | 0x00001d44,0x00050082,0x00000006,0x00001d47, | ||
| 1306 | 0x00001c79,0x0000014a,0x000200f9,0x00001d49, | ||
| 1307 | 0x000200f8,0x00001d49,0x000700f5,0x00000006, | ||
| 1308 | 0x000063c1,0x00001d47,0x00001d44,0x00000140, | ||
| 1309 | 0x00001d48,0x00050084,0x00000006,0x00001cfb, | ||
| 1310 | 0x000000f3,0x000063c1,0x00050080,0x00000006, | ||
| 1311 | 0x00001cfc,0x00001d02,0x00001cfb,0x00050084, | ||
| 1312 | 0x00000006,0x00001c4b,0x000000f3,0x000063b3, | ||
| 1313 | 0x00050080,0x00000006,0x00001c4c,0x00001cfc, | ||
| 1314 | 0x00001c4b,0x00050095,0x00000145,0x00001d63, | ||
| 1315 | 0x00001cec,0x00001c4c,0x00050051,0x00000006, | ||
| 1316 | 0x00001d64,0x00001d63,0x00000001,0x00050051, | ||
| 1317 | 0x00000006,0x00001d65,0x00001d63,0x00000000, | ||
| 1318 | 0x00050080,0x00000006,0x00001d6a,0x00001cf3, | ||
| 1319 | 0x00001d64,0x00050050,0x00000007,0x00001d6b, | ||
| 1320 | 0x00001d65,0x00001d6a,0x0004007c,0x00000014, | ||
| 1321 | 0x00001d5b,0x00001d6b,0x00060041,0x00000174, | ||
| 1322 | 0x00001d52,0x00001d5b,0x00000173,0x00000173, | ||
| 1323 | 0x0006003d,0x00000006,0x00001d53,0x00001d52, | ||
| 1324 | 0x00000002,0x00000004,0x000200f9,0x00001c50, | ||
| 1325 | 0x000200f8,0x00001c50,0x00050080,0x00000006, | ||
| 1326 | 0x00001c52,0x000063b4,0x0000026c,0x000200f9, | ||
| 1327 | 0x00001c3f,0x000200f8,0x00001c53,0x000500c7, | ||
| 1328 | 0x00000006,0x00001c55,0x000063b5,0x0000014a, | ||
| 1329 | 0x000500aa,0x0000002f,0x00001c56,0x00001c55, | ||
| 1330 | 0x00000140,0x000600a9,0x00000006,0x00001c57, | ||
| 1331 | 0x00001c56,0x0000014a,0x00000140,0x000300f7, | ||
| 1332 | 0x00001db7,0x00000000,0x000400fa,0x00001c7a, | ||
| 1333 | 0x00001db2,0x00001db6,0x000200f8,0x00001db6, | ||
| 1334 | 0x000200f9,0x00001db7,0x000200f8,0x00001db2, | ||
| 1335 | 0x00050082,0x00000006,0x00001db5,0x00001c79, | ||
| 1336 | 0x0000014a,0x000200f9,0x00001db7,0x000200f8, | ||
| 1337 | 0x00001db7,0x000700f5,0x00000006,0x000063b8, | ||
| 1338 | 0x00001db5,0x00001db2,0x00000140,0x00001db6, | ||
| 1339 | 0x00050084,0x00000006,0x00001d7c,0x000000f3, | ||
| 1340 | 0x000063b8,0x00050080,0x00000006,0x00001d7d, | ||
| 1341 | 0x00001c94,0x00001d7c,0x000300f7,0x00001dc4, | ||
| 1342 | 0x00000000,0x000400fa,0x00001c7a,0x00001dbf, | ||
| 1343 | 0x00001dc3,0x000200f8,0x00001dc3,0x000200f9, | ||
| 1344 | 0x00001dc4,0x000200f8,0x00001dbf,0x00050082, | ||
| 1345 | 0x00000006,0x00001dc2,0x00001c79,0x0000014a, | ||
| 1346 | 0x000200f9,0x00001dc4,0x000200f8,0x00001dc4, | ||
| 1347 | 0x000700f5,0x00000006,0x000063b9,0x00001dc2, | ||
| 1348 | 0x00001dbf,0x00000140,0x00001dc3,0x00050084, | ||
| 1349 | 0x00000006,0x00001d76,0x000000f3,0x000063b9, | ||
| 1350 | 0x00050080,0x00000006,0x00001d77,0x00001d7d, | ||
| 1351 | 0x00001d76,0x000300f7,0x00001dd1,0x00000000, | ||
| 1352 | 0x000400fa,0x00001c7a,0x00001dcc,0x00001dd0, | ||
| 1353 | 0x000200f8,0x00001dd0,0x000200f9,0x00001dd1, | ||
| 1354 | 0x000200f8,0x00001dcc,0x00050082,0x00000006, | ||
| 1355 | 0x00001dcf,0x00001c79,0x0000014a,0x000200f9, | ||
| 1356 | 0x00001dd1,0x000200f8,0x00001dd1,0x000700f5, | ||
| 1357 | 0x00000006,0x000063ba,0x00001dcf,0x00001dcc, | ||
| 1358 | 0x00000140,0x00001dd0,0x00050084,0x00000006, | ||
| 1359 | 0x00001d70,0x000000f3,0x000063ba,0x00050080, | ||
| 1360 | 0x00000006,0x00001d71,0x00001d77,0x00001d70, | ||
| 1361 | 0x00050080,0x00000006,0x00001c5b,0x00001d71, | ||
| 1362 | 0x00001c3a,0x00050095,0x00000145,0x00001dea, | ||
| 1363 | 0x00001cec,0x00001c5b,0x00050051,0x00000006, | ||
| 1364 | 0x00001deb,0x00001dea,0x00000001,0x00050051, | ||
| 1365 | 0x00000006,0x00001dec,0x00001dea,0x00000000, | ||
| 1366 | 0x00050080,0x00000006,0x00001df1,0x00001cf3, | ||
| 1367 | 0x00001deb,0x00050050,0x00000007,0x00001df2, | ||
| 1368 | 0x00001dec,0x00001df1,0x0004007c,0x00000014, | ||
| 1369 | 0x00001de2,0x00001df2,0x00060041,0x00000174, | ||
| 1370 | 0x00001dda,0x00001de2,0x00000173,0x00000173, | ||
| 1371 | 0x0005003e,0x00001dda,0x00001c57,0x00000002, | ||
| 1372 | 0x00000004,0x000300f7,0x00001c64,0x00000000, | ||
| 1373 | 0x000400fa,0x00001c56,0x00001c62,0x00001c64, | ||
| 1374 | 0x000200f8,0x00001c62,0x000700ea,0x00000006, | ||
| 1375 | 0x00001c63,0x00000ed4,0x0000014a,0x00000140, | ||
| 1376 | 0x0000014a,0x000200f9,0x00001c64,0x000200f8, | ||
| 1377 | 0x00001c64,0x000200f9,0x00001c65,0x000200f8, | ||
| 1378 | 0x00001c65,0x00050080,0x00000006,0x00001c67, | ||
| 1379 | 0x000063a9,0x000001cc,0x000200f9,0x00001c32, | ||
| 1380 | 0x000200f8,0x00001c68,0x000400e0,0x00000288, | ||
| 1381 | 0x00000288,0x000009b5,0x000300f7,0x00001c74, | ||
| 1382 | 0x00000000,0x000400fa,0x00001c26,0x00001c6b, | ||
| 1383 | 0x00001c74,0x000200f8,0x00001c6b,0x00050041, | ||
| 1384 | 0x000001c3,0x00001e2d,0x000001c1,0x000001c2, | ||
| 1385 | 0x0004003d,0x00000006,0x00001e2e,0x00001e2d, | ||
| 1386 | 0x00050084,0x00000006,0x00001e2f,0x000001e3, | ||
| 1387 | 0x00001e2e,0x00050080,0x00000006,0x00001e30, | ||
| 1388 | 0x000001cc,0x00001e2f,0x00050080,0x00000006, | ||
| 1389 | 0x00001e36,0x00001e2e,0x00000695,0x00050086, | ||
| 1390 | 0x00000006,0x00001e37,0x00001e36,0x000001c6, | ||
| 1391 | 0x00050084,0x00000006,0x00001e29,0x000001cc, | ||
| 1392 | 0x00001e37,0x00050080,0x00000006,0x00001e2a, | ||
| 1393 | 0x00001e30,0x00001e29,0x00050080,0x00000006, | ||
| 1394 | 0x00001e24,0x00001e2a,0x00001e29,0x00050084, | ||
| 1395 | 0x00000006,0x00001e1d,0x000001f7,0x00001c79, | ||
| 1396 | 0x00050080,0x00000006,0x00001e1e,0x00001e24, | ||
| 1397 | 0x00001e1d,0x00050041,0x000001c3,0x00001e14, | ||
| 1398 | 0x000001c1,0x0000020e,0x0004003d,0x00000006, | ||
| 1399 | 0x00001e15,0x00001e14,0x00050084,0x00000006, | ||
| 1400 | 0x00001e16,0x0000020d,0x00001e15,0x00050080, | ||
| 1401 | 0x00000006,0x00001e17,0x00001e1e,0x00001e16, | ||
| 1402 | 0x000300f7,0x00001e4a,0x00000000,0x000400fa, | ||
| 1403 | 0x00001c7a,0x00001e45,0x00001e49,0x000200f8, | ||
| 1404 | 0x00001e49,0x000200f9,0x00001e4a,0x000200f8, | ||
| 1405 | 0x00001e45,0x00050082,0x00000006,0x00001e48, | ||
| 1406 | 0x00001c79,0x0000014a,0x000200f9,0x00001e4a, | ||
| 1407 | 0x000200f8,0x00001e4a,0x000700f5,0x00000006, | ||
| 1408 | 0x000063aa,0x00001e48,0x00001e45,0x00000140, | ||
| 1409 | 0x00001e49,0x00050084,0x00000006,0x00001e0f, | ||
| 1410 | 0x000000f3,0x000063aa,0x00050080,0x00000006, | ||
| 1411 | 0x00001e10,0x00001e17,0x00001e0f,0x000300f7, | ||
| 1412 | 0x00001e57,0x00000000,0x000400fa,0x00001c7a, | ||
| 1413 | 0x00001e52,0x00001e56,0x000200f8,0x00001e56, | ||
| 1414 | 0x000200f9,0x00001e57,0x000200f8,0x00001e52, | ||
| 1415 | 0x00050082,0x00000006,0x00001e55,0x00001c79, | ||
| 1416 | 0x0000014a,0x000200f9,0x00001e57,0x000200f8, | ||
| 1417 | 0x00001e57,0x000700f5,0x00000006,0x000063ab, | ||
| 1418 | 0x00001e55,0x00001e52,0x00000140,0x00001e56, | ||
| 1419 | 0x00050084,0x00000006,0x00001e09,0x000000f3, | ||
| 1420 | 0x000063ab,0x00050080,0x00000006,0x00001e0a, | ||
| 1421 | 0x00001e10,0x00001e09,0x000300f7,0x00001e64, | ||
| 1422 | 0x00000000,0x000400fa,0x00001c7a,0x00001e5f, | ||
| 1423 | 0x00001e63,0x000200f8,0x00001e63,0x000200f9, | ||
| 1424 | 0x00001e64,0x000200f8,0x00001e5f,0x00050082, | ||
| 1425 | 0x00000006,0x00001e62,0x00001c79,0x0000014a, | ||
| 1426 | 0x000200f9,0x00001e64,0x000200f8,0x00001e64, | ||
| 1427 | 0x000700f5,0x00000006,0x000063ac,0x00001e62, | ||
| 1428 | 0x00001e5f,0x00000140,0x00001e63,0x00050084, | ||
| 1429 | 0x00000006,0x00001e03,0x000000f3,0x000063ac, | ||
| 1430 | 0x00050080,0x00000006,0x00001e04,0x00001e0a, | ||
| 1431 | 0x00001e03,0x000300f7,0x00001e71,0x00000000, | ||
| 1432 | 0x000400fa,0x00001c7a,0x00001e6c,0x00001e70, | ||
| 1433 | 0x000200f8,0x00001e70,0x000200f9,0x00001e71, | ||
| 1434 | 0x000200f8,0x00001e6c,0x00050082,0x00000006, | ||
| 1435 | 0x00001e6f,0x00001c79,0x0000014a,0x000200f9, | ||
| 1436 | 0x00001e71,0x000200f8,0x00001e71,0x000700f5, | ||
| 1437 | 0x00000006,0x000063ad,0x00001e6f,0x00001e6c, | ||
| 1438 | 0x00000140,0x00001e70,0x00050084,0x00000006, | ||
| 1439 | 0x00001dfd,0x000000f3,0x000063ad,0x00050080, | ||
| 1440 | 0x00000006,0x00001dfe,0x00001e04,0x00001dfd, | ||
| 1441 | 0x000300f7,0x00001e7e,0x00000000,0x000400fa, | ||
| 1442 | 0x00001c7a,0x00001e79,0x00001e7d,0x000200f8, | ||
| 1443 | 0x00001e7d,0x000200f9,0x00001e7e,0x000200f8, | ||
| 1444 | 0x00001e79,0x00050082,0x00000006,0x00001e7c, | ||
| 1445 | 0x00001c79,0x0000014a,0x000200f9,0x00001e7e, | ||
| 1446 | 0x000200f8,0x00001e7e,0x000700f5,0x00000006, | ||
| 1447 | 0x000063ae,0x00001e7c,0x00001e79,0x00000140, | ||
| 1448 | 0x00001e7d,0x00050084,0x00000006,0x00001df7, | ||
| 1449 | 0x000000f3,0x000063ae,0x00050080,0x00000006, | ||
| 1450 | 0x00001df8,0x00001dfe,0x00001df7,0x00050084, | ||
| 1451 | 0x00000006,0x00001c6e,0x000000f3,0x00001411, | ||
| 1452 | 0x00050080,0x00000006,0x00001c6f,0x00001df8, | ||
| 1453 | 0x00001c6e,0x00050041,0x0000026e,0x00001c70, | ||
| 1454 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, | ||
| 1455 | 0x00001c71,0x00001c70,0x0004003d,0x00000006, | ||
| 1456 | 0x00001c72,0x00000ed4,0x00050051,0x00000006, | ||
| 1457 | 0x00001e95,0x00001c71,0x00000000,0x00050095, | ||
| 1458 | 0x00000145,0x00001e97,0x00001e95,0x00001c6f, | ||
| 1459 | 0x00050051,0x00000006,0x00001e98,0x00001e97, | ||
| 1460 | 0x00000001,0x00050051,0x00000006,0x00001e99, | ||
| 1461 | 0x00001e97,0x00000000,0x00050051,0x00000006, | ||
| 1462 | 0x00001e9c,0x00001c71,0x00000001,0x00050080, | ||
| 1463 | 0x00000006,0x00001e9e,0x00001e9c,0x00001e98, | ||
| 1464 | 0x00050050,0x00000007,0x00001e9f,0x00001e99, | ||
| 1465 | 0x00001e9e,0x0004007c,0x00000014,0x00001e8f, | ||
| 1466 | 0x00001e9f,0x00060041,0x00000174,0x00001e87, | ||
| 1467 | 0x00001e8f,0x00000173,0x00000173,0x0005003e, | ||
| 1468 | 0x00001e87,0x00001c72,0x00000002,0x00000004, | ||
| 1469 | 0x000200f9,0x00001c74,0x000200f8,0x00001c74, | ||
| 1470 | 0x000200f9,0x000014ef,0x000200f8,0x0000140e, | ||
| 1471 | 0x000500aa,0x0000002f,0x00001419,0x000013be, | ||
| 1472 | 0x00000a74,0x000300f7,0x0000141b,0x00000000, | ||
| 1473 | 0x000400fa,0x00001419,0x0000141a,0x0000141b, | ||
| 1474 | 0x000200f8,0x0000141a,0x00050041,0x000001c3, | ||
| 1475 | 0x00001eda,0x000001c1,0x000001c2,0x0004003d, | ||
| 1476 | 0x00000006,0x00001edb,0x00001eda,0x00050084, | ||
| 1477 | 0x00000006,0x00001edc,0x000001e3,0x00001edb, | ||
| 1478 | 0x00050080,0x00000006,0x00001edd,0x000001cc, | ||
| 1479 | 0x00001edc,0x00050080,0x00000006,0x00001ee3, | ||
| 1480 | 0x00001edb,0x00000695,0x00050086,0x00000006, | ||
| 1481 | 0x00001ee4,0x00001ee3,0x000001c6,0x00050084, | ||
| 1482 | 0x00000006,0x00001ed6,0x000001cc,0x00001ee4, | ||
| 1483 | 0x00050080,0x00000006,0x00001ed7,0x00001edd, | ||
| 1484 | 0x00001ed6,0x00050080,0x00000006,0x00001ed1, | ||
| 1485 | 0x00001ed7,0x00001ed6,0x00050041,0x000001c3, | ||
| 1486 | 0x00001ec8,0x000001c1,0x000001f8,0x0004003d, | ||
| 1487 | 0x00000006,0x00001ec9,0x00001ec8,0x00050084, | ||
| 1488 | 0x00000006,0x00001eca,0x000001f7,0x00001ec9, | ||
| 1489 | 0x00050080,0x00000006,0x00001ecb,0x00001ed1, | ||
| 1490 | 0x00001eca,0x00050041,0x000001c3,0x00001ec1, | ||
| 1491 | 0x000001c1,0x0000020e,0x0004003d,0x00000006, | ||
| 1492 | 0x00001ec2,0x00001ec1,0x00050084,0x00000006, | ||
| 1493 | 0x00001ec3,0x0000020d,0x00001ec2,0x00050080, | ||
| 1494 | 0x00000006,0x00001ec4,0x00001ecb,0x00001ec3, | ||
| 1495 | 0x000500ac,0x0000002f,0x00001ef1,0x00001ec9, | ||
| 1496 | 0x0000014a,0x000300f7,0x00001ef7,0x00000000, | ||
| 1497 | 0x000400fa,0x00001ef1,0x00001ef2,0x00001ef6, | ||
| 1498 | 0x000200f8,0x00001ef6,0x000200f9,0x00001ef7, | ||
| 1499 | 0x000200f8,0x00001ef2,0x00050082,0x00000006, | ||
| 1500 | 0x00001ef5,0x00001ec9,0x0000014a,0x000200f9, | ||
| 1501 | 0x00001ef7,0x000200f8,0x00001ef7,0x000700f5, | ||
| 1502 | 0x00000006,0x00006396,0x00001ef5,0x00001ef2, | ||
| 1503 | 0x00000140,0x00001ef6,0x00050084,0x00000006, | ||
| 1504 | 0x00001ebc,0x000000f3,0x00006396,0x00050080, | ||
| 1505 | 0x00000006,0x00001ebd,0x00001ec4,0x00001ebc, | ||
| 1506 | 0x000300f7,0x00001f04,0x00000000,0x000400fa, | ||
| 1507 | 0x00001ef1,0x00001eff,0x00001f03,0x000200f8, | ||
| 1508 | 0x00001f03,0x000200f9,0x00001f04,0x000200f8, | ||
| 1509 | 0x00001eff,0x00050082,0x00000006,0x00001f02, | ||
| 1510 | 0x00001ec9,0x0000014a,0x000200f9,0x00001f04, | ||
| 1511 | 0x000200f8,0x00001f04,0x000700f5,0x00000006, | ||
| 1512 | 0x00006397,0x00001f02,0x00001eff,0x00000140, | ||
| 1513 | 0x00001f03,0x00050084,0x00000006,0x00001eb6, | ||
| 1514 | 0x000000f3,0x00006397,0x00050080,0x00000006, | ||
| 1515 | 0x00001eb7,0x00001ebd,0x00001eb6,0x000300f7, | ||
| 1516 | 0x00001f11,0x00000000,0x000400fa,0x00001ef1, | ||
| 1517 | 0x00001f0c,0x00001f10,0x000200f8,0x00001f10, | ||
| 1518 | 0x000200f9,0x00001f11,0x000200f8,0x00001f0c, | ||
| 1519 | 0x00050082,0x00000006,0x00001f0f,0x00001ec9, | ||
| 1520 | 0x0000014a,0x000200f9,0x00001f11,0x000200f8, | ||
| 1521 | 0x00001f11,0x000700f5,0x00000006,0x00006398, | ||
| 1522 | 0x00001f0f,0x00001f0c,0x00000140,0x00001f10, | ||
| 1523 | 0x00050084,0x00000006,0x00001eb0,0x000000f3, | ||
| 1524 | 0x00006398,0x00050080,0x00000006,0x00001eb1, | ||
| 1525 | 0x00001eb7,0x00001eb0,0x000300f7,0x00001f1e, | ||
| 1526 | 0x00000000,0x000400fa,0x00001ef1,0x00001f19, | ||
| 1527 | 0x00001f1d,0x000200f8,0x00001f1d,0x000200f9, | ||
| 1528 | 0x00001f1e,0x000200f8,0x00001f19,0x00050082, | ||
| 1529 | 0x00000006,0x00001f1c,0x00001ec9,0x0000014a, | ||
| 1530 | 0x000200f9,0x00001f1e,0x000200f8,0x00001f1e, | ||
| 1531 | 0x000700f5,0x00000006,0x00006399,0x00001f1c, | ||
| 1532 | 0x00001f19,0x00000140,0x00001f1d,0x00050084, | ||
| 1533 | 0x00000006,0x00001eaa,0x000000f3,0x00006399, | ||
| 1534 | 0x00050080,0x00000006,0x00001eab,0x00001eb1, | ||
| 1535 | 0x00001eaa,0x000300f7,0x00001f2b,0x00000000, | ||
| 1536 | 0x000400fa,0x00001ef1,0x00001f26,0x00001f2a, | ||
| 1537 | 0x000200f8,0x00001f2a,0x000200f9,0x00001f2b, | ||
| 1538 | 0x000200f8,0x00001f26,0x00050082,0x00000006, | ||
| 1539 | 0x00001f29,0x00001ec9,0x0000014a,0x000200f9, | ||
| 1540 | 0x00001f2b,0x000200f8,0x00001f2b,0x000700f5, | ||
| 1541 | 0x00000006,0x0000639a,0x00001f29,0x00001f26, | ||
| 1542 | 0x00000140,0x00001f2a,0x00050084,0x00000006, | ||
| 1543 | 0x00001ea4,0x000000f3,0x0000639a,0x00050080, | ||
| 1544 | 0x00000006,0x00001ea5,0x00001eab,0x00001ea4, | ||
| 1545 | 0x000300f7,0x00001f8a,0x00000000,0x000400fa, | ||
| 1546 | 0x00001ef1,0x00001f85,0x00001f89,0x000200f8, | ||
| 1547 | 0x00001f89,0x000200f9,0x00001f8a,0x000200f8, | ||
| 1548 | 0x00001f85,0x00050082,0x00000006,0x00001f88, | ||
| 1549 | 0x00001ec9,0x0000014a,0x000200f9,0x00001f8a, | ||
| 1550 | 0x000200f8,0x00001f8a,0x000700f5,0x00000006, | ||
| 1551 | 0x0000639b,0x00001f88,0x00001f85,0x00000140, | ||
| 1552 | 0x00001f89,0x00050084,0x00000006,0x00001f4f, | ||
| 1553 | 0x000000f3,0x0000639b,0x00050080,0x00000006, | ||
| 1554 | 0x00001f50,0x00001ec4,0x00001f4f,0x000300f7, | ||
| 1555 | 0x00001f97,0x00000000,0x000400fa,0x00001ef1, | ||
| 1556 | 0x00001f92,0x00001f96,0x000200f8,0x00001f96, | ||
| 1557 | 0x000200f9,0x00001f97,0x000200f8,0x00001f92, | ||
| 1558 | 0x00050082,0x00000006,0x00001f95,0x00001ec9, | ||
| 1559 | 0x0000014a,0x000200f9,0x00001f97,0x000200f8, | ||
| 1560 | 0x00001f97,0x000700f5,0x00000006,0x0000639c, | ||
| 1561 | 0x00001f95,0x00001f92,0x00000140,0x00001f96, | ||
| 1562 | 0x00050084,0x00000006,0x00001f49,0x000000f3, | ||
| 1563 | 0x0000639c,0x00050080,0x00000006,0x00001f4a, | ||
| 1564 | 0x00001f50,0x00001f49,0x000300f7,0x00001fa4, | ||
| 1565 | 0x00000000,0x000400fa,0x00001ef1,0x00001f9f, | ||
| 1566 | 0x00001fa3,0x000200f8,0x00001fa3,0x000200f9, | ||
| 1567 | 0x00001fa4,0x000200f8,0x00001f9f,0x00050082, | ||
| 1568 | 0x00000006,0x00001fa2,0x00001ec9,0x0000014a, | ||
| 1569 | 0x000200f9,0x00001fa4,0x000200f8,0x00001fa4, | ||
| 1570 | 0x000700f5,0x00000006,0x0000639d,0x00001fa2, | ||
| 1571 | 0x00001f9f,0x00000140,0x00001fa3,0x00050084, | ||
| 1572 | 0x00000006,0x00001f43,0x000000f3,0x0000639d, | ||
| 1573 | 0x00050080,0x00000006,0x00001f44,0x00001f4a, | ||
| 1574 | 0x00001f43,0x000300f7,0x00001fb1,0x00000000, | ||
| 1575 | 0x000400fa,0x00001ef1,0x00001fac,0x00001fb0, | ||
| 1576 | 0x000200f8,0x00001fb0,0x000200f9,0x00001fb1, | ||
| 1577 | 0x000200f8,0x00001fac,0x00050082,0x00000006, | ||
| 1578 | 0x00001faf,0x00001ec9,0x0000014a,0x000200f9, | ||
| 1579 | 0x00001fb1,0x000200f8,0x00001fb1,0x000700f5, | ||
| 1580 | 0x00000006,0x0000639e,0x00001faf,0x00001fac, | ||
| 1581 | 0x00000140,0x00001fb0,0x00050084,0x00000006, | ||
| 1582 | 0x00001f3d,0x000000f3,0x0000639e,0x00050080, | ||
| 1583 | 0x00000006,0x00001f3e,0x00001f44,0x00001f3d, | ||
| 1584 | 0x000300f7,0x00001fbe,0x00000000,0x000400fa, | ||
| 1585 | 0x00001ef1,0x00001fb9,0x00001fbd,0x000200f8, | ||
| 1586 | 0x00001fbd,0x000200f9,0x00001fbe,0x000200f8, | ||
| 1587 | 0x00001fb9,0x00050082,0x00000006,0x00001fbc, | ||
| 1588 | 0x00001ec9,0x0000014a,0x000200f9,0x00001fbe, | ||
| 1589 | 0x000200f8,0x00001fbe,0x000700f5,0x00000006, | ||
| 1590 | 0x0000639f,0x00001fbc,0x00001fb9,0x00000140, | ||
| 1591 | 0x00001fbd,0x00050084,0x00000006,0x00001f37, | ||
| 1592 | 0x000000f3,0x0000639f,0x00050080,0x00000006, | ||
| 1593 | 0x00001f38,0x00001f3e,0x00001f37,0x000300f7, | ||
| 1594 | 0x00001fd1,0x00000000,0x000400fa,0x00001ef1, | ||
| 1595 | 0x00001fcc,0x00001fd0,0x000200f8,0x00001fd0, | ||
| 1596 | 0x000200f9,0x00001fd1,0x000200f8,0x00001fcc, | ||
| 1597 | 0x00050082,0x00000006,0x00001fcf,0x00001ec9, | ||
| 1598 | 0x0000014a,0x000200f9,0x00001fd1,0x000200f8, | ||
| 1599 | 0x00001fd1,0x000700f5,0x00000006,0x000063a0, | ||
| 1600 | 0x00001fcf,0x00001fcc,0x00000140,0x00001fd0, | ||
| 1601 | 0x00050080,0x00000006,0x00001fc4,0x000063a0, | ||
| 1602 | 0x00000695,0x00050086,0x00000006,0x00001fc5, | ||
| 1603 | 0x00001fc4,0x000001c6,0x00050084,0x00000006, | ||
| 1604 | 0x00001f31,0x000000f3,0x00001fc5,0x00050080, | ||
| 1605 | 0x00000006,0x00001f32,0x00001f38,0x00001f31, | ||
| 1606 | 0x000300f7,0x00001fe4,0x00000000,0x000400fa, | ||
| 1607 | 0x00001ef1,0x00001fdf,0x00001fe3,0x000200f8, | ||
| 1608 | 0x00001fe3,0x000200f9,0x00001fe4,0x000200f8, | ||
| 1609 | 0x00001fdf,0x00050082,0x00000006,0x00001fe2, | ||
| 1610 | 0x00001ec9,0x0000014a,0x000200f9,0x00001fe4, | ||
| 1611 | 0x000200f8,0x00001fe4,0x000700f5,0x00000006, | ||
| 1612 | 0x000063a1,0x00001fe2,0x00001fdf,0x00000140, | ||
| 1613 | 0x00001fe3,0x00050080,0x00000006,0x00001fd7, | ||
| 1614 | 0x000063a1,0x00000695,0x00050086,0x00000006, | ||
| 1615 | 0x00001fd8,0x00001fd7,0x000001c6,0x00050041, | ||
| 1616 | 0x000013a5,0x00001420,0x000013d6,0x00000140, | ||
| 1617 | 0x0004003d,0x00000006,0x00001421,0x00001420, | ||
| 1618 | 0x00050080,0x00000006,0x00001ffd,0x00001fd8, | ||
| 1619 | 0x00000abc,0x00050086,0x00000006,0x00001ffe, | ||
| 1620 | 0x00001ffd,0x000001cc,0x00050084,0x00000006, | ||
| 1621 | 0x00002001,0x00001421,0x00001ffe,0x0007000c, | ||
| 1622 | 0x00000006,0x00002003,0x00000001,0x00000026, | ||
| 1623 | 0x00002001,0x00001fd8,0x00050080,0x00000006, | ||
| 1624 | 0x00002006,0x00002003,0x00001ffe,0x0007000c, | ||
| 1625 | 0x00000006,0x00002008,0x00000001,0x00000026, | ||
| 1626 | 0x00002006,0x00001fd8,0x000200f9,0x0000200a, | ||
| 1627 | 0x000200f8,0x0000200a,0x000700f5,0x00000006, | ||
| 1628 | 0x000063a3,0x00000140,0x00001fe4,0x00002018, | ||
| 1629 | 0x0000200f,0x000700f5,0x00000006,0x000063a2, | ||
| 1630 | 0x00002003,0x00001fe4,0x0000201b,0x0000200f, | ||
| 1631 | 0x000500b0,0x0000002f,0x0000200e,0x000063a2, | ||
| 1632 | 0x00002008,0x000400f6,0x0000201c,0x0000200f, | ||
| 1633 | 0x00000000,0x000400fa,0x0000200e,0x0000200f, | ||
| 1634 | 0x0000201c,0x000200f8,0x0000200f,0x00050084, | ||
| 1635 | 0x00000006,0x00002012,0x000000f3,0x000063a2, | ||
| 1636 | 0x00050080,0x00000006,0x00002013,0x00001ea5, | ||
| 1637 | 0x00002012,0x00050041,0x0000026e,0x00002014, | ||
| 1638 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, | ||
| 1639 | 0x00002015,0x00002014,0x00050051,0x00000006, | ||
| 1640 | 0x00002075,0x00002015,0x00000000,0x00050095, | ||
| 1641 | 0x00000145,0x00002077,0x00002075,0x00002013, | ||
| 1642 | 0x00050051,0x00000006,0x00002078,0x00002077, | ||
| 1643 | 0x00000001,0x00050051,0x00000006,0x00002079, | ||
| 1644 | 0x00002077,0x00000000,0x00050051,0x00000006, | ||
| 1645 | 0x0000207c,0x00002015,0x00000001,0x00050080, | ||
| 1646 | 0x00000006,0x0000207e,0x0000207c,0x00002078, | ||
| 1647 | 0x00050050,0x00000007,0x0000207f,0x00002079, | ||
| 1648 | 0x0000207e,0x0004007c,0x00000014,0x0000206f, | ||
| 1649 | 0x0000207f,0x00060041,0x00000174,0x00002066, | ||
| 1650 | 0x0000206f,0x00000173,0x00000173,0x0006003d, | ||
| 1651 | 0x00000006,0x00002067,0x00002066,0x00000002, | ||
| 1652 | 0x00000004,0x00050080,0x00000006,0x00002018, | ||
| 1653 | 0x000063a3,0x00002067,0x00050080,0x00000006, | ||
| 1654 | 0x0000201b,0x000063a2,0x0000026c,0x000200f9, | ||
| 1655 | 0x0000200a,0x000200f8,0x0000201c,0x00050041, | ||
| 1656 | 0x0000099d,0x0000201f,0x00000ae5,0x00001421, | ||
| 1657 | 0x0003003e,0x0000201f,0x000063a3,0x000400e0, | ||
| 1658 | 0x00000288,0x00000288,0x000009b5,0x000500aa, | ||
| 1659 | 0x0000002f,0x00002021,0x00001421,0x00000140, | ||
| 1660 | 0x000300f7,0x0000203e,0x00000000,0x000400fa, | ||
| 1661 | 0x00002021,0x00002022,0x0000203e,0x000200f8, | ||
| 1662 | 0x00002022,0x000200f9,0x00002023,0x000200f8, | ||
| 1663 | 0x00002023,0x000700f5,0x00000006,0x000063a5, | ||
| 1664 | 0x00000140,0x00002022,0x00002030,0x00002027, | ||
| 1665 | 0x000700f5,0x00000006,0x000063a4,0x00000140, | ||
| 1666 | 0x00002022,0x00002033,0x00002027,0x000500b0, | ||
| 1667 | 0x0000002f,0x00002026,0x000063a4,0x000001cc, | ||
| 1668 | 0x000400f6,0x00002034,0x00002027,0x00000000, | ||
| 1669 | 0x000400fa,0x00002026,0x00002027,0x00002034, | ||
| 1670 | 0x000200f8,0x00002027,0x00050041,0x0000099d, | ||
| 1671 | 0x00002029,0x00000ae5,0x000063a4,0x0004003d, | ||
| 1672 | 0x00000006,0x0000202a,0x00002029,0x0003003e, | ||
| 1673 | 0x00002029,0x000063a5,0x00050080,0x00000006, | ||
| 1674 | 0x00002030,0x000063a5,0x0000202a,0x00050080, | ||
| 1675 | 0x00000006,0x00002033,0x000063a4,0x0000026c, | ||
| 1676 | 0x000200f9,0x00002023,0x000200f8,0x00002034, | ||
| 1677 | 0x00050041,0x0000026e,0x00002038,0x000001c1, | ||
| 1678 | 0x0000026c,0x0004003d,0x00000007,0x00002039, | ||
| 1679 | 0x00002038,0x00050051,0x00000006,0x00002095, | ||
| 1680 | 0x00002039,0x00000000,0x00050095,0x00000145, | ||
| 1681 | 0x00002097,0x00002095,0x000001f7,0x00050051, | ||
| 1682 | 0x00000006,0x00002098,0x00002097,0x00000001, | ||
| 1683 | 0x00050051,0x00000006,0x00002099,0x00002097, | ||
| 1684 | 0x00000000,0x00050051,0x00000006,0x0000209c, | ||
| 1685 | 0x00002039,0x00000001,0x00050080,0x00000006, | ||
| 1686 | 0x0000209e,0x0000209c,0x00002098,0x00050050, | ||
| 1687 | 0x00000007,0x0000209f,0x00002099,0x0000209e, | ||
| 1688 | 0x0004007c,0x00000014,0x0000208f,0x0000209f, | ||
| 1689 | 0x00060041,0x00000174,0x00002087,0x0000208f, | ||
| 1690 | 0x00000173,0x00000173,0x0005003e,0x00002087, | ||
| 1691 | 0x000063a5,0x00000002,0x00000004,0x000200f9, | ||
| 1692 | 0x0000203e,0x000200f8,0x0000203e,0x000400e0, | ||
| 1693 | 0x00000288,0x00000288,0x000009b5,0x0004003d, | ||
| 1694 | 0x00000006,0x00002041,0x0000201f,0x000200f9, | ||
| 1695 | 0x00002043,0x000200f8,0x00002043,0x000700f5, | ||
| 1696 | 0x00000006,0x000063a7,0x00002041,0x0000203e, | ||
| 1697 | 0x0000205a,0x00002048,0x000700f5,0x00000006, | ||
| 1698 | 0x000063a6,0x00002003,0x0000203e,0x0000205d, | ||
| 1699 | 0x00002048,0x000500b0,0x0000002f,0x00002047, | ||
| 1700 | 0x000063a6,0x00002008,0x000400f6,0x0000205e, | ||
| 1701 | 0x00002048,0x00000000,0x000400fa,0x00002047, | ||
| 1702 | 0x00002048,0x0000205e,0x000200f8,0x00002048, | ||
| 1703 | 0x00050084,0x00000006,0x0000204b,0x000000f3, | ||
| 1704 | 0x000063a6,0x00050080,0x00000006,0x0000204c, | ||
| 1705 | 0x00001ea5,0x0000204b,0x00050041,0x0000026e, | ||
| 1706 | 0x0000204d,0x000001c1,0x0000026c,0x0004003d, | ||
| 1707 | 0x00000007,0x0000204e,0x0000204d,0x00050051, | ||
| 1708 | 0x00000006,0x000020b6,0x0000204e,0x00000000, | ||
| 1709 | 0x00050095,0x00000145,0x000020b8,0x000020b6, | ||
| 1710 | 0x0000204c,0x00050051,0x00000006,0x000020b9, | ||
| 1711 | 0x000020b8,0x00000001,0x00050051,0x00000006, | ||
| 1712 | 0x000020ba,0x000020b8,0x00000000,0x00050051, | ||
| 1713 | 0x00000006,0x000020bd,0x0000204e,0x00000001, | ||
| 1714 | 0x00050080,0x00000006,0x000020bf,0x000020bd, | ||
| 1715 | 0x000020b9,0x00050050,0x00000007,0x000020c0, | ||
| 1716 | 0x000020ba,0x000020bf,0x0004007c,0x00000014, | ||
| 1717 | 0x000020b0,0x000020c0,0x00060041,0x00000174, | ||
| 1718 | 0x000020a7,0x000020b0,0x00000173,0x00000173, | ||
| 1719 | 0x0006003d,0x00000006,0x000020a8,0x000020a7, | ||
| 957 | 0x00000002,0x00000004,0x00050080,0x00000006, | 1720 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 958 | 0x000018ac,0x00005fa3,0x000001c4,0x000200f9, | 1721 | 0x00002053,0x00001f32,0x0000204b,0x00050095, |
| 959 | 0x00001890,0x000200f8,0x000018ad,0x000200f9, | 1722 | 0x00000145,0x000020d8,0x000020b6,0x00002053, |
| 960 | 0x000013fd,0x000200f8,0x00001311,0x000500aa, | 1723 | 0x00050051,0x00000006,0x000020d9,0x000020d8, |
| 961 | 0x0000002f,0x0000131a,0x000012df,0x00001319, | 1724 | 0x00000001,0x00050051,0x00000006,0x000020da, |
| 962 | 0x000300f7,0x0000131c,0x00000000,0x000400fa, | 1725 | 0x000020d8,0x00000000,0x00050080,0x00000006, |
| 963 | 0x0000131a,0x0000131b,0x0000131c,0x000200f8, | 1726 | 0x000020df,0x000020bd,0x000020d9,0x00050050, |
| 964 | 0x0000131b,0x00050041,0x000012db,0x0000131e, | 1727 | 0x00000007,0x000020e0,0x000020da,0x000020df, |
| 965 | 0x000012e3,0x00000138,0x0004003d,0x00000006, | 1728 | 0x0004007c,0x00000014,0x000020d0,0x000020e0, |
| 966 | 0x0000131f,0x0000131e,0x00050041,0x000012db, | 1729 | 0x00060041,0x00000174,0x000020c8,0x000020d0, |
| 967 | 0x00001321,0x000012e4,0x00000138,0x0004003d, | 1730 | 0x00000173,0x00000173,0x0005003e,0x000020c8, |
| 968 | 0x00000006,0x00001322,0x00001321,0x000500aa, | 1731 | 0x000063a7,0x00000002,0x00000004,0x00050080, |
| 969 | 0x0000002f,0x00001953,0x00001322,0x00000138, | 1732 | 0x00000006,0x0000205a,0x000063a7,0x000020a8, |
| 970 | 0x000300f7,0x00001955,0x00000000,0x000400fa, | 1733 | 0x00050080,0x00000006,0x0000205d,0x000063a6, |
| 971 | 0x00001953,0x00001954,0x00001955,0x000200f8, | 1734 | 0x0000026c,0x000200f9,0x00002043,0x000200f8, |
| 972 | 0x00001954,0x0003003e,0x00000e6f,0x00000138, | 1735 | 0x0000205e,0x000200f9,0x000014ef,0x000200f8, |
| 973 | 0x000200f9,0x00001955,0x000200f8,0x00001955, | 1736 | 0x0000141b,0x000500aa,0x0000002f,0x0000142a, |
| 974 | 0x000400e0,0x00000280,0x00000280,0x0000094f, | 1737 | 0x000013be,0x000001e3,0x000300f7,0x0000142c, |
| 975 | 0x00050084,0x00000006,0x00001957,0x0000131f, | 1738 | 0x00000000,0x000400fa,0x0000142a,0x0000142b, |
| 976 | 0x000001be,0x00050080,0x00000006,0x00001959, | 1739 | 0x0000142c,0x000200f8,0x0000142b,0x00050041, |
| 977 | 0x00001957,0x000001be,0x00050041,0x000001bb, | 1740 | 0x000013a5,0x0000142e,0x000013d5,0x00000140, |
| 978 | 0x000019a5,0x000001b9,0x000001f0,0x0004003d, | 1741 | 0x0004003d,0x00000006,0x0000142f,0x0000142e, |
| 979 | 0x00000006,0x000019a6,0x000019a5,0x000500ac, | 1742 | 0x00050041,0x000013a5,0x00001431,0x000013d6, |
| 980 | 0x0000002f,0x000019a7,0x000019a6,0x00000142, | 1743 | 0x00000140,0x0004003d,0x00000006,0x00001432, |
| 981 | 0x000300f7,0x000019ad,0x00000000,0x000400fa, | 1744 | 0x00001431,0x00050041,0x000001c3,0x0000218f, |
| 982 | 0x000019a7,0x000019a8,0x000019ac,0x000200f8, | 1745 | 0x000001c1,0x000001c2,0x0004003d,0x00000006, |
| 983 | 0x000019ac,0x000200f9,0x000019ad,0x000200f8, | 1746 | 0x00002190,0x0000218f,0x00050084,0x00000006, |
| 984 | 0x000019a8,0x00050082,0x00000006,0x000019ab, | 1747 | 0x00002191,0x000001e3,0x00002190,0x00050080, |
| 985 | 0x000019a6,0x00000142,0x000200f9,0x000019ad, | 1748 | 0x00000006,0x00002192,0x000001cc,0x00002191, |
| 986 | 0x000200f8,0x000019ad,0x000700f5,0x00000006, | 1749 | 0x00050080,0x00000006,0x00002198,0x00002190, |
| 987 | 0x00005f80,0x000019ab,0x000019a8,0x00000138, | 1750 | 0x00000695,0x00050086,0x00000006,0x00002199, |
| 988 | 0x000019ac,0x0007000c,0x00000006,0x0000195b, | 1751 | 0x00002198,0x000001c6,0x00050084,0x00000006, |
| 989 | 0x00000001,0x00000026,0x00001959,0x00005f80, | 1752 | 0x0000218b,0x000001cc,0x00002199,0x00050080, |
| 990 | 0x00050080,0x00000006,0x0000195e,0x00001957, | 1753 | 0x00000006,0x0000218c,0x00002192,0x0000218b, |
| 991 | 0x00001322,0x000200f9,0x0000195f,0x000200f8, | 1754 | 0x00050080,0x00000006,0x00002186,0x0000218c, |
| 992 | 0x0000195f,0x000700f5,0x00000006,0x00005f81, | 1755 | 0x0000218b,0x00050041,0x000001c3,0x0000217d, |
| 993 | 0x0000195e,0x000019ad,0x00001994,0x00001992, | 1756 | 0x000001c1,0x000001f8,0x0004003d,0x00000006, |
| 994 | 0x000500b0,0x0000002f,0x00001963,0x00005f81, | 1757 | 0x0000217e,0x0000217d,0x00050084,0x00000006, |
| 995 | 0x0000195b,0x000400f6,0x00001995,0x00001992, | 1758 | 0x0000217f,0x000001f7,0x0000217e,0x00050080, |
| 996 | 0x00000000,0x000400fa,0x00001963,0x00001964, | 1759 | 0x00000006,0x00002180,0x00002186,0x0000217f, |
| 997 | 0x00001995,0x000200f8,0x00001964,0x00050041, | 1760 | 0x00050041,0x000001c3,0x00002176,0x000001c1, |
| 998 | 0x000001bb,0x000019d7,0x000001b9,0x000001ba, | 1761 | 0x0000020e,0x0004003d,0x00000006,0x00002177, |
| 999 | 0x0004003d,0x00000006,0x000019d8,0x000019d7, | ||
| 1000 | 0x00050084,0x00000006,0x000019d9,0x000001db, | ||
| 1001 | 0x000019d8,0x00050080,0x00000006,0x000019da, | ||
| 1002 | 0x000001c4,0x000019d9,0x00050080,0x00000006, | ||
| 1003 | 0x000019e0,0x000019d8,0x0000062f,0x00050086, | ||
| 1004 | 0x00000006,0x000019e1,0x000019e0,0x000001be, | ||
| 1005 | 0x00050084,0x00000006,0x000019d3,0x000001c4, | ||
| 1006 | 0x000019e1,0x00050080,0x00000006,0x000019d4, | ||
| 1007 | 0x000019da,0x000019d3,0x00050080,0x00000006, | ||
| 1008 | 0x000019ce,0x000019d4,0x000019d3,0x00050084, | ||
| 1009 | 0x00000006,0x000019c7,0x000001ef,0x000019a6, | ||
| 1010 | 0x00050080,0x00000006,0x000019c8,0x000019ce, | ||
| 1011 | 0x000019c7,0x00050041,0x000001bb,0x000019be, | ||
| 1012 | 0x000001b9,0x00000206,0x0004003d,0x00000006, | ||
| 1013 | 0x000019bf,0x000019be,0x00050084,0x00000006, | ||
| 1014 | 0x000019c0,0x00000205,0x000019bf,0x00050080, | ||
| 1015 | 0x00000006,0x000019c1,0x000019c8,0x000019c0, | ||
| 1016 | 0x000300f7,0x000019f4,0x00000000,0x000400fa, | ||
| 1017 | 0x000019a7,0x000019ef,0x000019f3,0x000200f8, | ||
| 1018 | 0x000019f3,0x000200f9,0x000019f4,0x000200f8, | ||
| 1019 | 0x000019ef,0x00050082,0x00000006,0x000019f2, | ||
| 1020 | 0x000019a6,0x00000142,0x000200f9,0x000019f4, | ||
| 1021 | 0x000200f8,0x000019f4,0x000700f5,0x00000006, | ||
| 1022 | 0x00005f87,0x000019f2,0x000019ef,0x00000138, | ||
| 1023 | 0x000019f3,0x00050084,0x00000006,0x000019b9, | ||
| 1024 | 0x000000ec,0x00005f87,0x00050080,0x00000006, | ||
| 1025 | 0x000019ba,0x000019c1,0x000019b9,0x000300f7, | ||
| 1026 | 0x00001a01,0x00000000,0x000400fa,0x000019a7, | ||
| 1027 | 0x000019fc,0x00001a00,0x000200f8,0x00001a00, | ||
| 1028 | 0x000200f9,0x00001a01,0x000200f8,0x000019fc, | ||
| 1029 | 0x00050082,0x00000006,0x000019ff,0x000019a6, | ||
| 1030 | 0x00000142,0x000200f9,0x00001a01,0x000200f8, | ||
| 1031 | 0x00001a01,0x000700f5,0x00000006,0x00005f88, | ||
| 1032 | 0x000019ff,0x000019fc,0x00000138,0x00001a00, | ||
| 1033 | 0x00050084,0x00000006,0x000019b3,0x000000ec, | ||
| 1034 | 0x00005f88,0x00050080,0x00000006,0x000019b4, | ||
| 1035 | 0x000019ba,0x000019b3,0x00050084,0x00000006, | ||
| 1036 | 0x00001967,0x000000ec,0x00005f81,0x00050080, | ||
| 1037 | 0x00000006,0x00001968,0x000019b4,0x00001967, | ||
| 1038 | 0x00050041,0x00000266,0x00001969,0x000001b9, | ||
| 1039 | 0x00000264,0x0004003d,0x00000007,0x0000196a, | ||
| 1040 | 0x00001969,0x00050051,0x00000006,0x00001a19, | ||
| 1041 | 0x0000196a,0x00000000,0x00050095,0x0000013d, | ||
| 1042 | 0x00001a1b,0x00001a19,0x00001968,0x00050051, | ||
| 1043 | 0x00000006,0x00001a1c,0x00001a1b,0x00000001, | ||
| 1044 | 0x00050051,0x00000006,0x00001a1d,0x00001a1b, | ||
| 1045 | 0x00000000,0x00050051,0x00000006,0x00001a20, | ||
| 1046 | 0x0000196a,0x00000001,0x00050080,0x00000006, | ||
| 1047 | 0x00001a22,0x00001a20,0x00001a1c,0x00050050, | ||
| 1048 | 0x00000007,0x00001a23,0x00001a1d,0x00001a22, | ||
| 1049 | 0x0004007c,0x00000014,0x00001a13,0x00001a23, | ||
| 1050 | 0x00060041,0x0000016c,0x00001a0a,0x00001a13, | ||
| 1051 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | ||
| 1052 | 0x00001a0b,0x00001a0a,0x00000002,0x00000004, | ||
| 1053 | 0x000200f9,0x0000196c,0x000200f8,0x0000196c, | ||
| 1054 | 0x000700f5,0x00000006,0x00005f8d,0x00000138, | ||
| 1055 | 0x00001a01,0x00001975,0x0000197d,0x000700f5, | ||
| 1056 | 0x00000006,0x00005f8c,0x00000138,0x00001a01, | ||
| 1057 | 0x0000197f,0x0000197d,0x000700f5,0x00000006, | ||
| 1058 | 0x00005f8b,0x00001a0b,0x00001a01,0x00001a80, | ||
| 1059 | 0x0000197d,0x000500ab,0x0000002f,0x0000196f, | ||
| 1060 | 0x00005f8b,0x00000539,0x000500b0,0x0000002f, | ||
| 1061 | 0x00001971,0x00005f8c,0x00000342,0x000500a7, | ||
| 1062 | 0x0000002f,0x00001972,0x0000196f,0x00001971, | ||
| 1063 | 0x000400f6,0x00001980,0x0000197d,0x00000000, | ||
| 1064 | 0x000400fa,0x00001972,0x00001973,0x00001980, | ||
| 1065 | 0x000200f8,0x00001973,0x00050080,0x00000006, | ||
| 1066 | 0x00001975,0x00005f8d,0x00000264,0x000300f7, | ||
| 1067 | 0x00001a69,0x00000000,0x000400fa,0x000019a7, | ||
| 1068 | 0x00001a64,0x00001a68,0x000200f8,0x00001a68, | ||
| 1069 | 0x000200f9,0x00001a69,0x000200f8,0x00001a64, | ||
| 1070 | 0x00050082,0x00000006,0x00001a67,0x000019a6, | ||
| 1071 | 0x00000142,0x000200f9,0x00001a69,0x000200f8, | ||
| 1072 | 0x00001a69,0x000700f5,0x00000006,0x00005f98, | ||
| 1073 | 0x00001a67,0x00001a64,0x00000138,0x00001a68, | ||
| 1074 | 0x00050084,0x00000006,0x00001a2e,0x000000ec, | ||
| 1075 | 0x00005f98,0x00050080,0x00000006,0x00001a2f, | ||
| 1076 | 0x000019c1,0x00001a2e,0x000300f7,0x00001a76, | ||
| 1077 | 0x00000000,0x000400fa,0x000019a7,0x00001a71, | ||
| 1078 | 0x00001a75,0x000200f8,0x00001a75,0x000200f9, | ||
| 1079 | 0x00001a76,0x000200f8,0x00001a71,0x00050082, | ||
| 1080 | 0x00000006,0x00001a74,0x000019a6,0x00000142, | ||
| 1081 | 0x000200f9,0x00001a76,0x000200f8,0x00001a76, | ||
| 1082 | 0x000700f5,0x00000006,0x00005f99,0x00001a74, | ||
| 1083 | 0x00001a71,0x00000138,0x00001a75,0x00050084, | ||
| 1084 | 0x00000006,0x00001a28,0x000000ec,0x00005f99, | ||
| 1085 | 0x00050080,0x00000006,0x00001a29,0x00001a2f, | ||
| 1086 | 0x00001a28,0x00050084,0x00000006,0x00001978, | ||
| 1087 | 0x000000ec,0x00005f8b,0x00050080,0x00000006, | ||
| 1088 | 0x00001979,0x00001a29,0x00001978,0x00050095, | ||
| 1089 | 0x0000013d,0x00001a90,0x00001a19,0x00001979, | ||
| 1090 | 0x00050051,0x00000006,0x00001a91,0x00001a90, | ||
| 1091 | 0x00000001,0x00050051,0x00000006,0x00001a92, | ||
| 1092 | 0x00001a90,0x00000000,0x00050080,0x00000006, | ||
| 1093 | 0x00001a97,0x00001a20,0x00001a91,0x00050050, | ||
| 1094 | 0x00000007,0x00001a98,0x00001a92,0x00001a97, | ||
| 1095 | 0x0004007c,0x00000014,0x00001a88,0x00001a98, | ||
| 1096 | 0x00060041,0x0000016c,0x00001a7f,0x00001a88, | ||
| 1097 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | ||
| 1098 | 0x00001a80,0x00001a7f,0x00000002,0x00000004, | ||
| 1099 | 0x000200f9,0x0000197d,0x000200f8,0x0000197d, | ||
| 1100 | 0x00050080,0x00000006,0x0000197f,0x00005f8c, | ||
| 1101 | 0x00000264,0x000200f9,0x0000196c,0x000200f8, | ||
| 1102 | 0x00001980,0x000500c7,0x00000006,0x00001982, | ||
| 1103 | 0x00005f8d,0x00000142,0x000500aa,0x0000002f, | ||
| 1104 | 0x00001983,0x00001982,0x00000138,0x000600a9, | ||
| 1105 | 0x00000006,0x00001984,0x00001983,0x00000142, | ||
| 1106 | 0x00000138,0x000300f7,0x00001ae4,0x00000000, | ||
| 1107 | 0x000400fa,0x000019a7,0x00001adf,0x00001ae3, | ||
| 1108 | 0x000200f8,0x00001ae3,0x000200f9,0x00001ae4, | ||
| 1109 | 0x000200f8,0x00001adf,0x00050082,0x00000006, | ||
| 1110 | 0x00001ae2,0x000019a6,0x00000142,0x000200f9, | ||
| 1111 | 0x00001ae4,0x000200f8,0x00001ae4,0x000700f5, | ||
| 1112 | 0x00000006,0x00005f90,0x00001ae2,0x00001adf, | ||
| 1113 | 0x00000138,0x00001ae3,0x00050084,0x00000006, | ||
| 1114 | 0x00001aa9,0x000000ec,0x00005f90,0x00050080, | ||
| 1115 | 0x00000006,0x00001aaa,0x000019c1,0x00001aa9, | ||
| 1116 | 0x000300f7,0x00001af1,0x00000000,0x000400fa, | ||
| 1117 | 0x000019a7,0x00001aec,0x00001af0,0x000200f8, | ||
| 1118 | 0x00001af0,0x000200f9,0x00001af1,0x000200f8, | ||
| 1119 | 0x00001aec,0x00050082,0x00000006,0x00001aef, | ||
| 1120 | 0x000019a6,0x00000142,0x000200f9,0x00001af1, | ||
| 1121 | 0x000200f8,0x00001af1,0x000700f5,0x00000006, | ||
| 1122 | 0x00005f91,0x00001aef,0x00001aec,0x00000138, | ||
| 1123 | 0x00001af0,0x00050084,0x00000006,0x00001aa3, | ||
| 1124 | 0x000000ec,0x00005f91,0x00050080,0x00000006, | ||
| 1125 | 0x00001aa4,0x00001aaa,0x00001aa3,0x000300f7, | ||
| 1126 | 0x00001afe,0x00000000,0x000400fa,0x000019a7, | ||
| 1127 | 0x00001af9,0x00001afd,0x000200f8,0x00001afd, | ||
| 1128 | 0x000200f9,0x00001afe,0x000200f8,0x00001af9, | ||
| 1129 | 0x00050082,0x00000006,0x00001afc,0x000019a6, | ||
| 1130 | 0x00000142,0x000200f9,0x00001afe,0x000200f8, | ||
| 1131 | 0x00001afe,0x000700f5,0x00000006,0x00005f92, | ||
| 1132 | 0x00001afc,0x00001af9,0x00000138,0x00001afd, | ||
| 1133 | 0x00050084,0x00000006,0x00001a9d,0x000000ec, | ||
| 1134 | 0x00005f92,0x00050080,0x00000006,0x00001a9e, | ||
| 1135 | 0x00001aa4,0x00001a9d,0x00050080,0x00000006, | ||
| 1136 | 0x00001988,0x00001a9e,0x00001967,0x00050095, | ||
| 1137 | 0x0000013d,0x00001b17,0x00001a19,0x00001988, | ||
| 1138 | 0x00050051,0x00000006,0x00001b18,0x00001b17, | ||
| 1139 | 0x00000001,0x00050051,0x00000006,0x00001b19, | ||
| 1140 | 0x00001b17,0x00000000,0x00050080,0x00000006, | ||
| 1141 | 0x00001b1e,0x00001a20,0x00001b18,0x00050050, | ||
| 1142 | 0x00000007,0x00001b1f,0x00001b19,0x00001b1e, | ||
| 1143 | 0x0004007c,0x00000014,0x00001b0f,0x00001b1f, | ||
| 1144 | 0x00060041,0x0000016c,0x00001b07,0x00001b0f, | ||
| 1145 | 0x0000016b,0x0000016b,0x0005003e,0x00001b07, | ||
| 1146 | 0x00001984,0x00000002,0x00000004,0x000300f7, | ||
| 1147 | 0x00001991,0x00000000,0x000400fa,0x00001983, | ||
| 1148 | 0x0000198f,0x00001991,0x000200f8,0x0000198f, | ||
| 1149 | 0x000700ea,0x00000006,0x00001990,0x00000e6f, | ||
| 1150 | 0x00000142,0x00000138,0x00000142,0x000200f9, | ||
| 1151 | 0x00001991,0x000200f8,0x00001991,0x000200f9, | ||
| 1152 | 0x00001992,0x000200f8,0x00001992,0x00050080, | ||
| 1153 | 0x00000006,0x00001994,0x00005f81,0x000001c4, | ||
| 1154 | 0x000200f9,0x0000195f,0x000200f8,0x00001995, | ||
| 1155 | 0x000400e0,0x00000280,0x00000280,0x0000094f, | ||
| 1156 | 0x000300f7,0x000019a1,0x00000000,0x000400fa, | ||
| 1157 | 0x00001953,0x00001998,0x000019a1,0x000200f8, | ||
| 1158 | 0x00001998,0x00050041,0x000001bb,0x00001b5a, | ||
| 1159 | 0x000001b9,0x000001ba,0x0004003d,0x00000006, | ||
| 1160 | 0x00001b5b,0x00001b5a,0x00050084,0x00000006, | ||
| 1161 | 0x00001b5c,0x000001db,0x00001b5b,0x00050080, | ||
| 1162 | 0x00000006,0x00001b5d,0x000001c4,0x00001b5c, | ||
| 1163 | 0x00050080,0x00000006,0x00001b63,0x00001b5b, | ||
| 1164 | 0x0000062f,0x00050086,0x00000006,0x00001b64, | ||
| 1165 | 0x00001b63,0x000001be,0x00050084,0x00000006, | ||
| 1166 | 0x00001b56,0x000001c4,0x00001b64,0x00050080, | ||
| 1167 | 0x00000006,0x00001b57,0x00001b5d,0x00001b56, | ||
| 1168 | 0x00050080,0x00000006,0x00001b51,0x00001b57, | ||
| 1169 | 0x00001b56,0x00050084,0x00000006,0x00001b4a, | ||
| 1170 | 0x000001ef,0x000019a6,0x00050080,0x00000006, | ||
| 1171 | 0x00001b4b,0x00001b51,0x00001b4a,0x00050041, | ||
| 1172 | 0x000001bb,0x00001b41,0x000001b9,0x00000206, | ||
| 1173 | 0x0004003d,0x00000006,0x00001b42,0x00001b41, | ||
| 1174 | 0x00050084,0x00000006,0x00001b43,0x00000205, | ||
| 1175 | 0x00001b42,0x00050080,0x00000006,0x00001b44, | ||
| 1176 | 0x00001b4b,0x00001b43,0x000300f7,0x00001b77, | ||
| 1177 | 0x00000000,0x000400fa,0x000019a7,0x00001b72, | ||
| 1178 | 0x00001b76,0x000200f8,0x00001b76,0x000200f9, | ||
| 1179 | 0x00001b77,0x000200f8,0x00001b72,0x00050082, | ||
| 1180 | 0x00000006,0x00001b75,0x000019a6,0x00000142, | ||
| 1181 | 0x000200f9,0x00001b77,0x000200f8,0x00001b77, | ||
| 1182 | 0x000700f5,0x00000006,0x00005f82,0x00001b75, | ||
| 1183 | 0x00001b72,0x00000138,0x00001b76,0x00050084, | ||
| 1184 | 0x00000006,0x00001b3c,0x000000ec,0x00005f82, | ||
| 1185 | 0x00050080,0x00000006,0x00001b3d,0x00001b44, | ||
| 1186 | 0x00001b3c,0x000300f7,0x00001b84,0x00000000, | ||
| 1187 | 0x000400fa,0x000019a7,0x00001b7f,0x00001b83, | ||
| 1188 | 0x000200f8,0x00001b83,0x000200f9,0x00001b84, | ||
| 1189 | 0x000200f8,0x00001b7f,0x00050082,0x00000006, | ||
| 1190 | 0x00001b82,0x000019a6,0x00000142,0x000200f9, | ||
| 1191 | 0x00001b84,0x000200f8,0x00001b84,0x000700f5, | ||
| 1192 | 0x00000006,0x00005f83,0x00001b82,0x00001b7f, | ||
| 1193 | 0x00000138,0x00001b83,0x00050084,0x00000006, | ||
| 1194 | 0x00001b36,0x000000ec,0x00005f83,0x00050080, | ||
| 1195 | 0x00000006,0x00001b37,0x00001b3d,0x00001b36, | ||
| 1196 | 0x000300f7,0x00001b91,0x00000000,0x000400fa, | ||
| 1197 | 0x000019a7,0x00001b8c,0x00001b90,0x000200f8, | ||
| 1198 | 0x00001b90,0x000200f9,0x00001b91,0x000200f8, | ||
| 1199 | 0x00001b8c,0x00050082,0x00000006,0x00001b8f, | ||
| 1200 | 0x000019a6,0x00000142,0x000200f9,0x00001b91, | ||
| 1201 | 0x000200f8,0x00001b91,0x000700f5,0x00000006, | ||
| 1202 | 0x00005f84,0x00001b8f,0x00001b8c,0x00000138, | ||
| 1203 | 0x00001b90,0x00050084,0x00000006,0x00001b30, | ||
| 1204 | 0x000000ec,0x00005f84,0x00050080,0x00000006, | ||
| 1205 | 0x00001b31,0x00001b37,0x00001b30,0x000300f7, | ||
| 1206 | 0x00001b9e,0x00000000,0x000400fa,0x000019a7, | ||
| 1207 | 0x00001b99,0x00001b9d,0x000200f8,0x00001b9d, | ||
| 1208 | 0x000200f9,0x00001b9e,0x000200f8,0x00001b99, | ||
| 1209 | 0x00050082,0x00000006,0x00001b9c,0x000019a6, | ||
| 1210 | 0x00000142,0x000200f9,0x00001b9e,0x000200f8, | ||
| 1211 | 0x00001b9e,0x000700f5,0x00000006,0x00005f85, | ||
| 1212 | 0x00001b9c,0x00001b99,0x00000138,0x00001b9d, | ||
| 1213 | 0x00050084,0x00000006,0x00001b2a,0x000000ec, | ||
| 1214 | 0x00005f85,0x00050080,0x00000006,0x00001b2b, | ||
| 1215 | 0x00001b31,0x00001b2a,0x000300f7,0x00001bab, | ||
| 1216 | 0x00000000,0x000400fa,0x000019a7,0x00001ba6, | ||
| 1217 | 0x00001baa,0x000200f8,0x00001baa,0x000200f9, | ||
| 1218 | 0x00001bab,0x000200f8,0x00001ba6,0x00050082, | ||
| 1219 | 0x00000006,0x00001ba9,0x000019a6,0x00000142, | ||
| 1220 | 0x000200f9,0x00001bab,0x000200f8,0x00001bab, | ||
| 1221 | 0x000700f5,0x00000006,0x00005f86,0x00001ba9, | ||
| 1222 | 0x00001ba6,0x00000138,0x00001baa,0x00050084, | ||
| 1223 | 0x00000006,0x00001b24,0x000000ec,0x00005f86, | ||
| 1224 | 0x00050080,0x00000006,0x00001b25,0x00001b2b, | ||
| 1225 | 0x00001b24,0x00050084,0x00000006,0x0000199b, | ||
| 1226 | 0x000000ec,0x0000131f,0x00050080,0x00000006, | ||
| 1227 | 0x0000199c,0x00001b25,0x0000199b,0x00050041, | ||
| 1228 | 0x00000266,0x0000199d,0x000001b9,0x00000264, | ||
| 1229 | 0x0004003d,0x00000007,0x0000199e,0x0000199d, | ||
| 1230 | 0x0004003d,0x00000006,0x0000199f,0x00000e6f, | ||
| 1231 | 0x00050051,0x00000006,0x00001bc2,0x0000199e, | ||
| 1232 | 0x00000000,0x00050095,0x0000013d,0x00001bc4, | ||
| 1233 | 0x00001bc2,0x0000199c,0x00050051,0x00000006, | ||
| 1234 | 0x00001bc5,0x00001bc4,0x00000001,0x00050051, | ||
| 1235 | 0x00000006,0x00001bc6,0x00001bc4,0x00000000, | ||
| 1236 | 0x00050051,0x00000006,0x00001bc9,0x0000199e, | ||
| 1237 | 0x00000001,0x00050080,0x00000006,0x00001bcb, | ||
| 1238 | 0x00001bc9,0x00001bc5,0x00050050,0x00000007, | ||
| 1239 | 0x00001bcc,0x00001bc6,0x00001bcb,0x0004007c, | ||
| 1240 | 0x00000014,0x00001bbc,0x00001bcc,0x00060041, | ||
| 1241 | 0x0000016c,0x00001bb4,0x00001bbc,0x0000016b, | ||
| 1242 | 0x0000016b,0x0005003e,0x00001bb4,0x0000199f, | ||
| 1243 | 0x00000002,0x00000004,0x000200f9,0x000019a1, | ||
| 1244 | 0x000200f8,0x000019a1,0x000200f9,0x000013fd, | ||
| 1245 | 0x000200f8,0x0000131c,0x000500aa,0x0000002f, | ||
| 1246 | 0x00001327,0x000012df,0x00000a0e,0x000300f7, | ||
| 1247 | 0x00001329,0x00000000,0x000400fa,0x00001327, | ||
| 1248 | 0x00001328,0x00001329,0x000200f8,0x00001328, | ||
| 1249 | 0x00050041,0x000001bb,0x00001c07,0x000001b9, | ||
| 1250 | 0x000001ba,0x0004003d,0x00000006,0x00001c08, | ||
| 1251 | 0x00001c07,0x00050084,0x00000006,0x00001c09, | ||
| 1252 | 0x000001db,0x00001c08,0x00050080,0x00000006, | ||
| 1253 | 0x00001c0a,0x000001c4,0x00001c09,0x00050080, | ||
| 1254 | 0x00000006,0x00001c10,0x00001c08,0x0000062f, | ||
| 1255 | 0x00050086,0x00000006,0x00001c11,0x00001c10, | ||
| 1256 | 0x000001be,0x00050084,0x00000006,0x00001c03, | ||
| 1257 | 0x000001c4,0x00001c11,0x00050080,0x00000006, | ||
| 1258 | 0x00001c04,0x00001c0a,0x00001c03,0x00050080, | ||
| 1259 | 0x00000006,0x00001bfe,0x00001c04,0x00001c03, | ||
| 1260 | 0x00050041,0x000001bb,0x00001bf5,0x000001b9, | ||
| 1261 | 0x000001f0,0x0004003d,0x00000006,0x00001bf6, | ||
| 1262 | 0x00001bf5,0x00050084,0x00000006,0x00001bf7, | ||
| 1263 | 0x000001ef,0x00001bf6,0x00050080,0x00000006, | ||
| 1264 | 0x00001bf8,0x00001bfe,0x00001bf7,0x00050041, | ||
| 1265 | 0x000001bb,0x00001bee,0x000001b9,0x00000206, | ||
| 1266 | 0x0004003d,0x00000006,0x00001bef,0x00001bee, | ||
| 1267 | 0x00050084,0x00000006,0x00001bf0,0x00000205, | ||
| 1268 | 0x00001bef,0x00050080,0x00000006,0x00001bf1, | ||
| 1269 | 0x00001bf8,0x00001bf0,0x000500ac,0x0000002f, | ||
| 1270 | 0x00001c1e,0x00001bf6,0x00000142,0x000300f7, | ||
| 1271 | 0x00001c24,0x00000000,0x000400fa,0x00001c1e, | ||
| 1272 | 0x00001c1f,0x00001c23,0x000200f8,0x00001c23, | ||
| 1273 | 0x000200f9,0x00001c24,0x000200f8,0x00001c1f, | ||
| 1274 | 0x00050082,0x00000006,0x00001c22,0x00001bf6, | ||
| 1275 | 0x00000142,0x000200f9,0x00001c24,0x000200f8, | ||
| 1276 | 0x00001c24,0x000700f5,0x00000006,0x00005f6e, | ||
| 1277 | 0x00001c22,0x00001c1f,0x00000138,0x00001c23, | ||
| 1278 | 0x00050084,0x00000006,0x00001be9,0x000000ec, | ||
| 1279 | 0x00005f6e,0x00050080,0x00000006,0x00001bea, | ||
| 1280 | 0x00001bf1,0x00001be9,0x000300f7,0x00001c31, | ||
| 1281 | 0x00000000,0x000400fa,0x00001c1e,0x00001c2c, | ||
| 1282 | 0x00001c30,0x000200f8,0x00001c30,0x000200f9, | ||
| 1283 | 0x00001c31,0x000200f8,0x00001c2c,0x00050082, | ||
| 1284 | 0x00000006,0x00001c2f,0x00001bf6,0x00000142, | ||
| 1285 | 0x000200f9,0x00001c31,0x000200f8,0x00001c31, | ||
| 1286 | 0x000700f5,0x00000006,0x00005f6f,0x00001c2f, | ||
| 1287 | 0x00001c2c,0x00000138,0x00001c30,0x00050084, | ||
| 1288 | 0x00000006,0x00001be3,0x000000ec,0x00005f6f, | ||
| 1289 | 0x00050080,0x00000006,0x00001be4,0x00001bea, | ||
| 1290 | 0x00001be3,0x000300f7,0x00001c3e,0x00000000, | ||
| 1291 | 0x000400fa,0x00001c1e,0x00001c39,0x00001c3d, | ||
| 1292 | 0x000200f8,0x00001c3d,0x000200f9,0x00001c3e, | ||
| 1293 | 0x000200f8,0x00001c39,0x00050082,0x00000006, | ||
| 1294 | 0x00001c3c,0x00001bf6,0x00000142,0x000200f9, | ||
| 1295 | 0x00001c3e,0x000200f8,0x00001c3e,0x000700f5, | ||
| 1296 | 0x00000006,0x00005f70,0x00001c3c,0x00001c39, | ||
| 1297 | 0x00000138,0x00001c3d,0x00050084,0x00000006, | ||
| 1298 | 0x00001bdd,0x000000ec,0x00005f70,0x00050080, | ||
| 1299 | 0x00000006,0x00001bde,0x00001be4,0x00001bdd, | ||
| 1300 | 0x000300f7,0x00001c4b,0x00000000,0x000400fa, | ||
| 1301 | 0x00001c1e,0x00001c46,0x00001c4a,0x000200f8, | ||
| 1302 | 0x00001c4a,0x000200f9,0x00001c4b,0x000200f8, | ||
| 1303 | 0x00001c46,0x00050082,0x00000006,0x00001c49, | ||
| 1304 | 0x00001bf6,0x00000142,0x000200f9,0x00001c4b, | ||
| 1305 | 0x000200f8,0x00001c4b,0x000700f5,0x00000006, | ||
| 1306 | 0x00005f71,0x00001c49,0x00001c46,0x00000138, | ||
| 1307 | 0x00001c4a,0x00050084,0x00000006,0x00001bd7, | ||
| 1308 | 0x000000ec,0x00005f71,0x00050080,0x00000006, | ||
| 1309 | 0x00001bd8,0x00001bde,0x00001bd7,0x000300f7, | ||
| 1310 | 0x00001c58,0x00000000,0x000400fa,0x00001c1e, | ||
| 1311 | 0x00001c53,0x00001c57,0x000200f8,0x00001c57, | ||
| 1312 | 0x000200f9,0x00001c58,0x000200f8,0x00001c53, | ||
| 1313 | 0x00050082,0x00000006,0x00001c56,0x00001bf6, | ||
| 1314 | 0x00000142,0x000200f9,0x00001c58,0x000200f8, | ||
| 1315 | 0x00001c58,0x000700f5,0x00000006,0x00005f72, | ||
| 1316 | 0x00001c56,0x00001c53,0x00000138,0x00001c57, | ||
| 1317 | 0x00050084,0x00000006,0x00001bd1,0x000000ec, | ||
| 1318 | 0x00005f72,0x00050080,0x00000006,0x00001bd2, | ||
| 1319 | 0x00001bd8,0x00001bd1,0x000300f7,0x00001cb7, | ||
| 1320 | 0x00000000,0x000400fa,0x00001c1e,0x00001cb2, | ||
| 1321 | 0x00001cb6,0x000200f8,0x00001cb6,0x000200f9, | ||
| 1322 | 0x00001cb7,0x000200f8,0x00001cb2,0x00050082, | ||
| 1323 | 0x00000006,0x00001cb5,0x00001bf6,0x00000142, | ||
| 1324 | 0x000200f9,0x00001cb7,0x000200f8,0x00001cb7, | ||
| 1325 | 0x000700f5,0x00000006,0x00005f73,0x00001cb5, | ||
| 1326 | 0x00001cb2,0x00000138,0x00001cb6,0x00050084, | ||
| 1327 | 0x00000006,0x00001c7c,0x000000ec,0x00005f73, | ||
| 1328 | 0x00050080,0x00000006,0x00001c7d,0x00001bf1, | ||
| 1329 | 0x00001c7c,0x000300f7,0x00001cc4,0x00000000, | ||
| 1330 | 0x000400fa,0x00001c1e,0x00001cbf,0x00001cc3, | ||
| 1331 | 0x000200f8,0x00001cc3,0x000200f9,0x00001cc4, | ||
| 1332 | 0x000200f8,0x00001cbf,0x00050082,0x00000006, | ||
| 1333 | 0x00001cc2,0x00001bf6,0x00000142,0x000200f9, | ||
| 1334 | 0x00001cc4,0x000200f8,0x00001cc4,0x000700f5, | ||
| 1335 | 0x00000006,0x00005f74,0x00001cc2,0x00001cbf, | ||
| 1336 | 0x00000138,0x00001cc3,0x00050084,0x00000006, | ||
| 1337 | 0x00001c76,0x000000ec,0x00005f74,0x00050080, | ||
| 1338 | 0x00000006,0x00001c77,0x00001c7d,0x00001c76, | ||
| 1339 | 0x000300f7,0x00001cd1,0x00000000,0x000400fa, | ||
| 1340 | 0x00001c1e,0x00001ccc,0x00001cd0,0x000200f8, | ||
| 1341 | 0x00001cd0,0x000200f9,0x00001cd1,0x000200f8, | ||
| 1342 | 0x00001ccc,0x00050082,0x00000006,0x00001ccf, | ||
| 1343 | 0x00001bf6,0x00000142,0x000200f9,0x00001cd1, | ||
| 1344 | 0x000200f8,0x00001cd1,0x000700f5,0x00000006, | ||
| 1345 | 0x00005f75,0x00001ccf,0x00001ccc,0x00000138, | ||
| 1346 | 0x00001cd0,0x00050084,0x00000006,0x00001c70, | ||
| 1347 | 0x000000ec,0x00005f75,0x00050080,0x00000006, | ||
| 1348 | 0x00001c71,0x00001c77,0x00001c70,0x000300f7, | ||
| 1349 | 0x00001cde,0x00000000,0x000400fa,0x00001c1e, | ||
| 1350 | 0x00001cd9,0x00001cdd,0x000200f8,0x00001cdd, | ||
| 1351 | 0x000200f9,0x00001cde,0x000200f8,0x00001cd9, | ||
| 1352 | 0x00050082,0x00000006,0x00001cdc,0x00001bf6, | ||
| 1353 | 0x00000142,0x000200f9,0x00001cde,0x000200f8, | ||
| 1354 | 0x00001cde,0x000700f5,0x00000006,0x00005f76, | ||
| 1355 | 0x00001cdc,0x00001cd9,0x00000138,0x00001cdd, | ||
| 1356 | 0x00050084,0x00000006,0x00001c6a,0x000000ec, | ||
| 1357 | 0x00005f76,0x00050080,0x00000006,0x00001c6b, | ||
| 1358 | 0x00001c71,0x00001c6a,0x000300f7,0x00001ceb, | ||
| 1359 | 0x00000000,0x000400fa,0x00001c1e,0x00001ce6, | ||
| 1360 | 0x00001cea,0x000200f8,0x00001cea,0x000200f9, | ||
| 1361 | 0x00001ceb,0x000200f8,0x00001ce6,0x00050082, | ||
| 1362 | 0x00000006,0x00001ce9,0x00001bf6,0x00000142, | ||
| 1363 | 0x000200f9,0x00001ceb,0x000200f8,0x00001ceb, | ||
| 1364 | 0x000700f5,0x00000006,0x00005f77,0x00001ce9, | ||
| 1365 | 0x00001ce6,0x00000138,0x00001cea,0x00050084, | ||
| 1366 | 0x00000006,0x00001c64,0x000000ec,0x00005f77, | ||
| 1367 | 0x00050080,0x00000006,0x00001c65,0x00001c6b, | ||
| 1368 | 0x00001c64,0x000300f7,0x00001cfe,0x00000000, | ||
| 1369 | 0x000400fa,0x00001c1e,0x00001cf9,0x00001cfd, | ||
| 1370 | 0x000200f8,0x00001cfd,0x000200f9,0x00001cfe, | ||
| 1371 | 0x000200f8,0x00001cf9,0x00050082,0x00000006, | ||
| 1372 | 0x00001cfc,0x00001bf6,0x00000142,0x000200f9, | ||
| 1373 | 0x00001cfe,0x000200f8,0x00001cfe,0x000700f5, | ||
| 1374 | 0x00000006,0x00005f78,0x00001cfc,0x00001cf9, | ||
| 1375 | 0x00000138,0x00001cfd,0x00050080,0x00000006, | ||
| 1376 | 0x00001cf1,0x00005f78,0x0000062f,0x00050086, | ||
| 1377 | 0x00000006,0x00001cf2,0x00001cf1,0x000001be, | ||
| 1378 | 0x00050084,0x00000006,0x00001c5e,0x000000ec, | ||
| 1379 | 0x00001cf2,0x00050080,0x00000006,0x00001c5f, | ||
| 1380 | 0x00001c65,0x00001c5e,0x000300f7,0x00001d11, | ||
| 1381 | 0x00000000,0x000400fa,0x00001c1e,0x00001d0c, | ||
| 1382 | 0x00001d10,0x000200f8,0x00001d10,0x000200f9, | ||
| 1383 | 0x00001d11,0x000200f8,0x00001d0c,0x00050082, | ||
| 1384 | 0x00000006,0x00001d0f,0x00001bf6,0x00000142, | ||
| 1385 | 0x000200f9,0x00001d11,0x000200f8,0x00001d11, | ||
| 1386 | 0x000700f5,0x00000006,0x00005f79,0x00001d0f, | ||
| 1387 | 0x00001d0c,0x00000138,0x00001d10,0x00050080, | ||
| 1388 | 0x00000006,0x00001d04,0x00005f79,0x0000062f, | ||
| 1389 | 0x00050086,0x00000006,0x00001d05,0x00001d04, | ||
| 1390 | 0x000001be,0x00050041,0x000012db,0x0000132e, | ||
| 1391 | 0x000012e4,0x00000138,0x0004003d,0x00000006, | ||
| 1392 | 0x0000132f,0x0000132e,0x00050080,0x00000006, | ||
| 1393 | 0x00001d2a,0x00001d05,0x00000a56,0x00050086, | ||
| 1394 | 0x00000006,0x00001d2b,0x00001d2a,0x000001c4, | ||
| 1395 | 0x00050084,0x00000006,0x00001d2e,0x0000132f, | ||
| 1396 | 0x00001d2b,0x0007000c,0x00000006,0x00001d30, | ||
| 1397 | 0x00000001,0x00000026,0x00001d2e,0x00001d05, | ||
| 1398 | 0x00050080,0x00000006,0x00001d33,0x00001d30, | ||
| 1399 | 0x00001d2b,0x0007000c,0x00000006,0x00001d35, | ||
| 1400 | 0x00000001,0x00000026,0x00001d33,0x00001d05, | ||
| 1401 | 0x000200f9,0x00001d37,0x000200f8,0x00001d37, | ||
| 1402 | 0x000700f5,0x00000006,0x00005f7b,0x00000138, | ||
| 1403 | 0x00001d11,0x00001d45,0x00001d3c,0x000700f5, | ||
| 1404 | 0x00000006,0x00005f7a,0x00001d30,0x00001d11, | ||
| 1405 | 0x00001d48,0x00001d3c,0x000500b0,0x0000002f, | ||
| 1406 | 0x00001d3b,0x00005f7a,0x00001d35,0x000400f6, | ||
| 1407 | 0x00001d49,0x00001d3c,0x00000000,0x000400fa, | ||
| 1408 | 0x00001d3b,0x00001d3c,0x00001d49,0x000200f8, | ||
| 1409 | 0x00001d3c,0x00050084,0x00000006,0x00001d3f, | ||
| 1410 | 0x000000ec,0x00005f7a,0x00050080,0x00000006, | ||
| 1411 | 0x00001d40,0x00001bd2,0x00001d3f,0x00050041, | ||
| 1412 | 0x00000266,0x00001d41,0x000001b9,0x00000264, | ||
| 1413 | 0x0004003d,0x00000007,0x00001d42,0x00001d41, | ||
| 1414 | 0x00050051,0x00000006,0x00001da2,0x00001d42, | ||
| 1415 | 0x00000000,0x00050095,0x0000013d,0x00001da4, | ||
| 1416 | 0x00001da2,0x00001d40,0x00050051,0x00000006, | ||
| 1417 | 0x00001da5,0x00001da4,0x00000001,0x00050051, | ||
| 1418 | 0x00000006,0x00001da6,0x00001da4,0x00000000, | ||
| 1419 | 0x00050051,0x00000006,0x00001da9,0x00001d42, | ||
| 1420 | 0x00000001,0x00050080,0x00000006,0x00001dab, | ||
| 1421 | 0x00001da9,0x00001da5,0x00050050,0x00000007, | ||
| 1422 | 0x00001dac,0x00001da6,0x00001dab,0x0004007c, | ||
| 1423 | 0x00000014,0x00001d9c,0x00001dac,0x00060041, | ||
| 1424 | 0x0000016c,0x00001d93,0x00001d9c,0x0000016b, | ||
| 1425 | 0x0000016b,0x0006003d,0x00000006,0x00001d94, | ||
| 1426 | 0x00001d93,0x00000002,0x00000004,0x00050080, | ||
| 1427 | 0x00000006,0x00001d45,0x00005f7b,0x00001d94, | ||
| 1428 | 0x00050080,0x00000006,0x00001d48,0x00005f7a, | ||
| 1429 | 0x00000264,0x000200f9,0x00001d37,0x000200f8, | ||
| 1430 | 0x00001d49,0x00050041,0x00000937,0x00001d4c, | ||
| 1431 | 0x00000a7f,0x0000132f,0x0003003e,0x00001d4c, | ||
| 1432 | 0x00005f7b,0x000400e0,0x00000280,0x00000280, | ||
| 1433 | 0x0000094f,0x000500aa,0x0000002f,0x00001d4e, | ||
| 1434 | 0x0000132f,0x00000138,0x000300f7,0x00001d6b, | ||
| 1435 | 0x00000000,0x000400fa,0x00001d4e,0x00001d4f, | ||
| 1436 | 0x00001d6b,0x000200f8,0x00001d4f,0x000200f9, | ||
| 1437 | 0x00001d50,0x000200f8,0x00001d50,0x000700f5, | ||
| 1438 | 0x00000006,0x00005f7d,0x00000138,0x00001d4f, | ||
| 1439 | 0x00001d5d,0x00001d54,0x000700f5,0x00000006, | ||
| 1440 | 0x00005f7c,0x00000138,0x00001d4f,0x00001d60, | ||
| 1441 | 0x00001d54,0x000500b0,0x0000002f,0x00001d53, | ||
| 1442 | 0x00005f7c,0x000001c4,0x000400f6,0x00001d61, | ||
| 1443 | 0x00001d54,0x00000000,0x000400fa,0x00001d53, | ||
| 1444 | 0x00001d54,0x00001d61,0x000200f8,0x00001d54, | ||
| 1445 | 0x00050041,0x00000937,0x00001d56,0x00000a7f, | ||
| 1446 | 0x00005f7c,0x0004003d,0x00000006,0x00001d57, | ||
| 1447 | 0x00001d56,0x0003003e,0x00001d56,0x00005f7d, | ||
| 1448 | 0x00050080,0x00000006,0x00001d5d,0x00005f7d, | ||
| 1449 | 0x00001d57,0x00050080,0x00000006,0x00001d60, | ||
| 1450 | 0x00005f7c,0x00000264,0x000200f9,0x00001d50, | ||
| 1451 | 0x000200f8,0x00001d61,0x00050041,0x00000266, | ||
| 1452 | 0x00001d65,0x000001b9,0x00000264,0x0004003d, | ||
| 1453 | 0x00000007,0x00001d66,0x00001d65,0x00050051, | ||
| 1454 | 0x00000006,0x00001dc2,0x00001d66,0x00000000, | ||
| 1455 | 0x00050095,0x0000013d,0x00001dc4,0x00001dc2, | ||
| 1456 | 0x000001ef,0x00050051,0x00000006,0x00001dc5, | ||
| 1457 | 0x00001dc4,0x00000001,0x00050051,0x00000006, | ||
| 1458 | 0x00001dc6,0x00001dc4,0x00000000,0x00050051, | ||
| 1459 | 0x00000006,0x00001dc9,0x00001d66,0x00000001, | ||
| 1460 | 0x00050080,0x00000006,0x00001dcb,0x00001dc9, | ||
| 1461 | 0x00001dc5,0x00050050,0x00000007,0x00001dcc, | ||
| 1462 | 0x00001dc6,0x00001dcb,0x0004007c,0x00000014, | ||
| 1463 | 0x00001dbc,0x00001dcc,0x00060041,0x0000016c, | ||
| 1464 | 0x00001db4,0x00001dbc,0x0000016b,0x0000016b, | ||
| 1465 | 0x0005003e,0x00001db4,0x00005f7d,0x00000002, | ||
| 1466 | 0x00000004,0x000200f9,0x00001d6b,0x000200f8, | ||
| 1467 | 0x00001d6b,0x000400e0,0x00000280,0x00000280, | ||
| 1468 | 0x0000094f,0x0004003d,0x00000006,0x00001d6e, | ||
| 1469 | 0x00001d4c,0x000200f9,0x00001d70,0x000200f8, | ||
| 1470 | 0x00001d70,0x000700f5,0x00000006,0x00005f7f, | ||
| 1471 | 0x00001d6e,0x00001d6b,0x00001d87,0x00001d75, | ||
| 1472 | 0x000700f5,0x00000006,0x00005f7e,0x00001d30, | ||
| 1473 | 0x00001d6b,0x00001d8a,0x00001d75,0x000500b0, | ||
| 1474 | 0x0000002f,0x00001d74,0x00005f7e,0x00001d35, | ||
| 1475 | 0x000400f6,0x00001d8b,0x00001d75,0x00000000, | ||
| 1476 | 0x000400fa,0x00001d74,0x00001d75,0x00001d8b, | ||
| 1477 | 0x000200f8,0x00001d75,0x00050084,0x00000006, | ||
| 1478 | 0x00001d78,0x000000ec,0x00005f7e,0x00050080, | ||
| 1479 | 0x00000006,0x00001d79,0x00001bd2,0x00001d78, | ||
| 1480 | 0x00050041,0x00000266,0x00001d7a,0x000001b9, | ||
| 1481 | 0x00000264,0x0004003d,0x00000007,0x00001d7b, | ||
| 1482 | 0x00001d7a,0x00050051,0x00000006,0x00001de3, | ||
| 1483 | 0x00001d7b,0x00000000,0x00050095,0x0000013d, | ||
| 1484 | 0x00001de5,0x00001de3,0x00001d79,0x00050051, | ||
| 1485 | 0x00000006,0x00001de6,0x00001de5,0x00000001, | ||
| 1486 | 0x00050051,0x00000006,0x00001de7,0x00001de5, | ||
| 1487 | 0x00000000,0x00050051,0x00000006,0x00001dea, | ||
| 1488 | 0x00001d7b,0x00000001,0x00050080,0x00000006, | ||
| 1489 | 0x00001dec,0x00001dea,0x00001de6,0x00050050, | ||
| 1490 | 0x00000007,0x00001ded,0x00001de7,0x00001dec, | ||
| 1491 | 0x0004007c,0x00000014,0x00001ddd,0x00001ded, | ||
| 1492 | 0x00060041,0x0000016c,0x00001dd4,0x00001ddd, | ||
| 1493 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | ||
| 1494 | 0x00001dd5,0x00001dd4,0x00000002,0x00000004, | ||
| 1495 | 0x00050080,0x00000006,0x00001d80,0x00001c5f, | ||
| 1496 | 0x00001d78,0x00050095,0x0000013d,0x00001e05, | ||
| 1497 | 0x00001de3,0x00001d80,0x00050051,0x00000006, | ||
| 1498 | 0x00001e06,0x00001e05,0x00000001,0x00050051, | ||
| 1499 | 0x00000006,0x00001e07,0x00001e05,0x00000000, | ||
| 1500 | 0x00050080,0x00000006,0x00001e0c,0x00001dea, | ||
| 1501 | 0x00001e06,0x00050050,0x00000007,0x00001e0d, | ||
| 1502 | 0x00001e07,0x00001e0c,0x0004007c,0x00000014, | ||
| 1503 | 0x00001dfd,0x00001e0d,0x00060041,0x0000016c, | ||
| 1504 | 0x00001df5,0x00001dfd,0x0000016b,0x0000016b, | ||
| 1505 | 0x0005003e,0x00001df5,0x00005f7f,0x00000002, | ||
| 1506 | 0x00000004,0x00050080,0x00000006,0x00001d87, | ||
| 1507 | 0x00005f7f,0x00001dd5,0x00050080,0x00000006, | ||
| 1508 | 0x00001d8a,0x00005f7e,0x00000264,0x000200f9, | ||
| 1509 | 0x00001d70,0x000200f8,0x00001d8b,0x000200f9, | ||
| 1510 | 0x000013fd,0x000200f8,0x00001329,0x000500aa, | ||
| 1511 | 0x0000002f,0x00001338,0x000012df,0x000001db, | ||
| 1512 | 0x000300f7,0x0000133a,0x00000000,0x000400fa, | ||
| 1513 | 0x00001338,0x00001339,0x0000133a,0x000200f8, | ||
| 1514 | 0x00001339,0x00050041,0x000012db,0x0000133c, | ||
| 1515 | 0x000012e3,0x00000138,0x0004003d,0x00000006, | ||
| 1516 | 0x0000133d,0x0000133c,0x00050041,0x000012db, | ||
| 1517 | 0x0000133f,0x000012e4,0x00000138,0x0004003d, | ||
| 1518 | 0x00000006,0x00001340,0x0000133f,0x00050041, | ||
| 1519 | 0x000001bb,0x00001ebc,0x000001b9,0x000001ba, | ||
| 1520 | 0x0004003d,0x00000006,0x00001ebd,0x00001ebc, | ||
| 1521 | 0x00050084,0x00000006,0x00001ebe,0x000001db, | ||
| 1522 | 0x00001ebd,0x00050080,0x00000006,0x00001ebf, | ||
| 1523 | 0x000001c4,0x00001ebe,0x00050080,0x00000006, | ||
| 1524 | 0x00001ec5,0x00001ebd,0x0000062f,0x00050086, | ||
| 1525 | 0x00000006,0x00001ec6,0x00001ec5,0x000001be, | ||
| 1526 | 0x00050084,0x00000006,0x00001eb8,0x000001c4, | ||
| 1527 | 0x00001ec6,0x00050080,0x00000006,0x00001eb9, | ||
| 1528 | 0x00001ebf,0x00001eb8,0x00050080,0x00000006, | ||
| 1529 | 0x00001eb3,0x00001eb9,0x00001eb8,0x00050041, | ||
| 1530 | 0x000001bb,0x00001eaa,0x000001b9,0x000001f0, | ||
| 1531 | 0x0004003d,0x00000006,0x00001eab,0x00001eaa, | ||
| 1532 | 0x00050084,0x00000006,0x00001eac,0x000001ef, | ||
| 1533 | 0x00001eab,0x00050080,0x00000006,0x00001ead, | ||
| 1534 | 0x00001eb3,0x00001eac,0x00050041,0x000001bb, | ||
| 1535 | 0x00001ea3,0x000001b9,0x00000206,0x0004003d, | ||
| 1536 | 0x00000006,0x00001ea4,0x00001ea3,0x00050084, | ||
| 1537 | 0x00000006,0x00001ea5,0x00000205,0x00001ea4, | ||
| 1538 | 0x00050080,0x00000006,0x00001ea6,0x00001ead, | ||
| 1539 | 0x00001ea5,0x000500ac,0x0000002f,0x00001ed3, | ||
| 1540 | 0x00001eab,0x00000142,0x000300f7,0x00001ed9, | ||
| 1541 | 0x00000000,0x000400fa,0x00001ed3,0x00001ed4, | ||
| 1542 | 0x00001ed8,0x000200f8,0x00001ed8,0x000200f9, | ||
| 1543 | 0x00001ed9,0x000200f8,0x00001ed4,0x00050082, | ||
| 1544 | 0x00000006,0x00001ed7,0x00001eab,0x00000142, | ||
| 1545 | 0x000200f9,0x00001ed9,0x000200f8,0x00001ed9, | ||
| 1546 | 0x000700f5,0x00000006,0x00005f45,0x00001ed7, | ||
| 1547 | 0x00001ed4,0x00000138,0x00001ed8,0x00050084, | ||
| 1548 | 0x00000006,0x00001e9e,0x000000ec,0x00005f45, | ||
| 1549 | 0x00050080,0x00000006,0x00001e9f,0x00001ea6, | ||
| 1550 | 0x00001e9e,0x000300f7,0x00001ee6,0x00000000, | ||
| 1551 | 0x000400fa,0x00001ed3,0x00001ee1,0x00001ee5, | ||
| 1552 | 0x000200f8,0x00001ee5,0x000200f9,0x00001ee6, | ||
| 1553 | 0x000200f8,0x00001ee1,0x00050082,0x00000006, | ||
| 1554 | 0x00001ee4,0x00001eab,0x00000142,0x000200f9, | ||
| 1555 | 0x00001ee6,0x000200f8,0x00001ee6,0x000700f5, | ||
| 1556 | 0x00000006,0x00005f46,0x00001ee4,0x00001ee1, | ||
| 1557 | 0x00000138,0x00001ee5,0x00050084,0x00000006, | ||
| 1558 | 0x00001e98,0x000000ec,0x00005f46,0x00050080, | ||
| 1559 | 0x00000006,0x00001e99,0x00001e9f,0x00001e98, | ||
| 1560 | 0x000300f7,0x00001ef3,0x00000000,0x000400fa, | ||
| 1561 | 0x00001ed3,0x00001eee,0x00001ef2,0x000200f8, | ||
| 1562 | 0x00001ef2,0x000200f9,0x00001ef3,0x000200f8, | ||
| 1563 | 0x00001eee,0x00050082,0x00000006,0x00001ef1, | ||
| 1564 | 0x00001eab,0x00000142,0x000200f9,0x00001ef3, | ||
| 1565 | 0x000200f8,0x00001ef3,0x000700f5,0x00000006, | ||
| 1566 | 0x00005f47,0x00001ef1,0x00001eee,0x00000138, | ||
| 1567 | 0x00001ef2,0x00050084,0x00000006,0x00001e92, | ||
| 1568 | 0x000000ec,0x00005f47,0x00050080,0x00000006, | ||
| 1569 | 0x00001e93,0x00001e99,0x00001e92,0x000300f7, | ||
| 1570 | 0x00001f00,0x00000000,0x000400fa,0x00001ed3, | ||
| 1571 | 0x00001efb,0x00001eff,0x000200f8,0x00001eff, | ||
| 1572 | 0x000200f9,0x00001f00,0x000200f8,0x00001efb, | ||
| 1573 | 0x00050082,0x00000006,0x00001efe,0x00001eab, | ||
| 1574 | 0x00000142,0x000200f9,0x00001f00,0x000200f8, | ||
| 1575 | 0x00001f00,0x000700f5,0x00000006,0x00005f48, | ||
| 1576 | 0x00001efe,0x00001efb,0x00000138,0x00001eff, | ||
| 1577 | 0x00050084,0x00000006,0x00001e8c,0x000000ec, | ||
| 1578 | 0x00005f48,0x00050080,0x00000006,0x00001e8d, | ||
| 1579 | 0x00001e93,0x00001e8c,0x000300f7,0x00001f0d, | ||
| 1580 | 0x00000000,0x000400fa,0x00001ed3,0x00001f08, | ||
| 1581 | 0x00001f0c,0x000200f8,0x00001f0c,0x000200f9, | ||
| 1582 | 0x00001f0d,0x000200f8,0x00001f08,0x00050082, | ||
| 1583 | 0x00000006,0x00001f0b,0x00001eab,0x00000142, | ||
| 1584 | 0x000200f9,0x00001f0d,0x000200f8,0x00001f0d, | ||
| 1585 | 0x000700f5,0x00000006,0x00005f49,0x00001f0b, | ||
| 1586 | 0x00001f08,0x00000138,0x00001f0c,0x00050084, | ||
| 1587 | 0x00000006,0x00001e86,0x000000ec,0x00005f49, | ||
| 1588 | 0x00050080,0x00000006,0x00001e87,0x00001e8d, | ||
| 1589 | 0x00001e86,0x000300f7,0x00001f20,0x00000000, | ||
| 1590 | 0x000400fa,0x00001ed3,0x00001f1b,0x00001f1f, | ||
| 1591 | 0x000200f8,0x00001f1f,0x000200f9,0x00001f20, | ||
| 1592 | 0x000200f8,0x00001f1b,0x00050082,0x00000006, | ||
| 1593 | 0x00001f1e,0x00001eab,0x00000142,0x000200f9, | ||
| 1594 | 0x00001f20,0x000200f8,0x00001f20,0x000700f5, | ||
| 1595 | 0x00000006,0x00005f4a,0x00001f1e,0x00001f1b, | ||
| 1596 | 0x00000138,0x00001f1f,0x00050080,0x00000006, | ||
| 1597 | 0x00001f13,0x00005f4a,0x0000062f,0x00050086, | ||
| 1598 | 0x00000006,0x00001f14,0x00001f13,0x000001be, | ||
| 1599 | 0x00050084,0x00000006,0x00001e80,0x000000ec, | ||
| 1600 | 0x00001f14,0x00050080,0x00000006,0x00001e81, | ||
| 1601 | 0x00001e87,0x00001e80,0x00050084,0x00000006, | ||
| 1602 | 0x00001e22,0x000000ec,0x0000133d,0x00050080, | ||
| 1603 | 0x00000006,0x00001e23,0x00001e81,0x00001e22, | ||
| 1604 | 0x00050041,0x00000266,0x00001e24,0x000001b9, | ||
| 1605 | 0x00000264,0x0004003d,0x00000007,0x00001e25, | ||
| 1606 | 0x00001e24,0x00050051,0x00000006,0x00001f38, | ||
| 1607 | 0x00001e25,0x00000000,0x00050095,0x0000013d, | ||
| 1608 | 0x00001f3a,0x00001f38,0x00001e23,0x00050051, | ||
| 1609 | 0x00000006,0x00001f3b,0x00001f3a,0x00000001, | ||
| 1610 | 0x00050051,0x00000006,0x00001f3c,0x00001f3a, | ||
| 1611 | 0x00000000,0x00050051,0x00000006,0x00001f3f, | ||
| 1612 | 0x00001e25,0x00000001,0x00050080,0x00000006, | ||
| 1613 | 0x00001f41,0x00001f3f,0x00001f3b,0x00050050, | ||
| 1614 | 0x00000007,0x00001f42,0x00001f3c,0x00001f41, | ||
| 1615 | 0x0004007c,0x00000014,0x00001f32,0x00001f42, | ||
| 1616 | 0x00060041,0x0000016c,0x00001f29,0x00001f32, | ||
| 1617 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | ||
| 1618 | 0x00001f2a,0x00001f29,0x00000002,0x00000004, | ||
| 1619 | 0x00050084,0x00000006,0x00001e28,0x0000133d, | ||
| 1620 | 0x000001be,0x00050080,0x00000006,0x00001e2a, | ||
| 1621 | 0x00001e28,0x000001be,0x000300f7,0x00001f4e, | ||
| 1622 | 0x00000000,0x000400fa,0x00001ed3,0x00001f49, | ||
| 1623 | 0x00001f4d,0x000200f8,0x00001f4d,0x000200f9, | ||
| 1624 | 0x00001f4e,0x000200f8,0x00001f49,0x00050082, | ||
| 1625 | 0x00000006,0x00001f4c,0x00001eab,0x00000142, | ||
| 1626 | 0x000200f9,0x00001f4e,0x000200f8,0x00001f4e, | ||
| 1627 | 0x000700f5,0x00000006,0x00005f4b,0x00001f4c, | ||
| 1628 | 0x00001f49,0x00000138,0x00001f4d,0x0007000c, | ||
| 1629 | 0x00000006,0x00001e2c,0x00000001,0x00000026, | ||
| 1630 | 0x00001e2a,0x00005f4b,0x000200f9,0x00001e2e, | ||
| 1631 | 0x000200f8,0x00001e2e,0x000700f5,0x00000006, | ||
| 1632 | 0x00005f5f,0x00001f2a,0x00001f4e,0x00001e77, | ||
| 1633 | 0x00001e78,0x000700f5,0x00000006,0x00005f4c, | ||
| 1634 | 0x00001e28,0x00001f4e,0x00001e7a,0x00001e78, | ||
| 1635 | 0x000500b0,0x0000002f,0x00001e32,0x00005f4c, | ||
| 1636 | 0x00001e2c,0x000400f6,0x00001e7b,0x00001e78, | ||
| 1637 | 0x00000000,0x000400fa,0x00001e32,0x00001e33, | ||
| 1638 | 0x00001e7b,0x000200f8,0x00001e33,0x00050080, | ||
| 1639 | 0x00000006,0x00001e36,0x00005f4c,0x00001340, | ||
| 1640 | 0x000500b0,0x0000002f,0x00001e39,0x00001e36, | ||
| 1641 | 0x00001e2c,0x000300f7,0x00001e43,0x00000000, | ||
| 1642 | 0x000400fa,0x00001e39,0x00001e3a,0x00001e42, | ||
| 1643 | 0x000200f8,0x00001e42,0x000200f9,0x00001e43, | ||
| 1644 | 0x000200f8,0x00001e3a,0x000300f7,0x00001f9b, | ||
| 1645 | 0x00000000,0x000400fa,0x00001ed3,0x00001f96, | ||
| 1646 | 0x00001f9a,0x000200f8,0x00001f9a,0x000200f9, | ||
| 1647 | 0x00001f9b,0x000200f8,0x00001f96,0x00050082, | ||
| 1648 | 0x00000006,0x00001f99,0x00001eab,0x00000142, | ||
| 1649 | 0x000200f9,0x00001f9b,0x000200f8,0x00001f9b, | ||
| 1650 | 0x000700f5,0x00000006,0x00005f4d,0x00001f99, | ||
| 1651 | 0x00001f96,0x00000138,0x00001f9a,0x00050084, | ||
| 1652 | 0x00000006,0x00001f60,0x000000ec,0x00005f4d, | ||
| 1653 | 0x00050080,0x00000006,0x00001f61,0x00001ea6, | ||
| 1654 | 0x00001f60,0x000300f7,0x00001fa8,0x00000000, | ||
| 1655 | 0x000400fa,0x00001ed3,0x00001fa3,0x00001fa7, | ||
| 1656 | 0x000200f8,0x00001fa7,0x000200f9,0x00001fa8, | ||
| 1657 | 0x000200f8,0x00001fa3,0x00050082,0x00000006, | ||
| 1658 | 0x00001fa6,0x00001eab,0x00000142,0x000200f9, | ||
| 1659 | 0x00001fa8,0x000200f8,0x00001fa8,0x000700f5, | ||
| 1660 | 0x00000006,0x00005f4e,0x00001fa6,0x00001fa3, | ||
| 1661 | 0x00000138,0x00001fa7,0x00050084,0x00000006, | ||
| 1662 | 0x00001f5a,0x000000ec,0x00005f4e,0x00050080, | ||
| 1663 | 0x00000006,0x00001f5b,0x00001f61,0x00001f5a, | ||
| 1664 | 0x000300f7,0x00001fb5,0x00000000,0x000400fa, | ||
| 1665 | 0x00001ed3,0x00001fb0,0x00001fb4,0x000200f8, | ||
| 1666 | 0x00001fb4,0x000200f9,0x00001fb5,0x000200f8, | ||
| 1667 | 0x00001fb0,0x00050082,0x00000006,0x00001fb3, | ||
| 1668 | 0x00001eab,0x00000142,0x000200f9,0x00001fb5, | ||
| 1669 | 0x000200f8,0x00001fb5,0x000700f5,0x00000006, | ||
| 1670 | 0x00005f4f,0x00001fb3,0x00001fb0,0x00000138, | ||
| 1671 | 0x00001fb4,0x00050084,0x00000006,0x00001f54, | ||
| 1672 | 0x000000ec,0x00005f4f,0x00050080,0x00000006, | ||
| 1673 | 0x00001f55,0x00001f5b,0x00001f54,0x00050084, | ||
| 1674 | 0x00000006,0x00001e3d,0x000000ec,0x00001e36, | ||
| 1675 | 0x00050080,0x00000006,0x00001e3e,0x00001f55, | ||
| 1676 | 0x00001e3d,0x00050095,0x0000013d,0x00001fcf, | ||
| 1677 | 0x00001f38,0x00001e3e,0x00050051,0x00000006, | ||
| 1678 | 0x00001fd0,0x00001fcf,0x00000001,0x00050051, | ||
| 1679 | 0x00000006,0x00001fd1,0x00001fcf,0x00000000, | ||
| 1680 | 0x00050080,0x00000006,0x00001fd6,0x00001f3f, | ||
| 1681 | 0x00001fd0,0x00050050,0x00000007,0x00001fd7, | ||
| 1682 | 0x00001fd1,0x00001fd6,0x0004007c,0x00000014, | ||
| 1683 | 0x00001fc7,0x00001fd7,0x00060041,0x0000016c, | ||
| 1684 | 0x00001fbe,0x00001fc7,0x0000016b,0x0000016b, | ||
| 1685 | 0x0006003d,0x00000006,0x00001fbf,0x00001fbe, | ||
| 1686 | 0x00000002,0x00000004,0x000200f9,0x00001e43, | ||
| 1687 | 0x000200f8,0x00001e43,0x000700f5,0x00000006, | ||
| 1688 | 0x00005f50,0x00001fbf,0x00001fb5,0x00000138, | ||
| 1689 | 0x00001e42,0x00050041,0x00000937,0x00001e47, | ||
| 1690 | 0x00000eff,0x00001340,0x0003003e,0x00001e47, | ||
| 1691 | 0x00005f50,0x000400e0,0x00000280,0x00000280, | ||
| 1692 | 0x0000094f,0x000200f9,0x00001e48,0x000200f8, | ||
| 1693 | 0x00001e48,0x000700f5,0x00000006,0x00005f51, | ||
| 1694 | 0x00000142,0x00001e43,0x00001e61,0x00001e5f, | ||
| 1695 | 0x000500b0,0x0000002f,0x00001e4b,0x00005f51, | ||
| 1696 | 0x000001c4,0x000400f6,0x00001e62,0x00001e5f, | ||
| 1697 | 0x00000000,0x000400fa,0x00001e4b,0x00001e4c, | ||
| 1698 | 0x00001e62,0x000200f8,0x00001e4c,0x000500ae, | ||
| 1699 | 0x0000002f,0x00001e4f,0x00001340,0x00005f51, | ||
| 1700 | 0x000300f7,0x00001e57,0x00000000,0x000400fa, | ||
| 1701 | 0x00001e4f,0x00001e50,0x00001e56,0x000200f8, | ||
| 1702 | 0x00001e56,0x000200f9,0x00001e57,0x000200f8, | ||
| 1703 | 0x00001e50,0x00050082,0x00000006,0x00001e53, | ||
| 1704 | 0x00001340,0x00005f51,0x00050041,0x00000937, | ||
| 1705 | 0x00001e54,0x00000eff,0x00001e53,0x0004003d, | ||
| 1706 | 0x00000006,0x00001e55,0x00001e54,0x000200f9, | ||
| 1707 | 0x00001e57,0x000200f8,0x00001e57,0x000700f5, | ||
| 1708 | 0x00000006,0x00005f6c,0x00001e55,0x00001e50, | ||
| 1709 | 0x00000138,0x00001e56,0x000400e0,0x00000280, | ||
| 1710 | 0x00000280,0x0000094f,0x0004003d,0x00000006, | ||
| 1711 | 0x00001e5c,0x00001e47,0x00050080,0x00000006, | ||
| 1712 | 0x00001e5d,0x00001e5c,0x00005f6c,0x0003003e, | ||
| 1713 | 0x00001e47,0x00001e5d,0x000400e0,0x00000280, | ||
| 1714 | 0x00000280,0x0000094f,0x000200f9,0x00001e5f, | ||
| 1715 | 0x000200f8,0x00001e5f,0x000500c4,0x00000006, | ||
| 1716 | 0x00001e61,0x00005f51,0x00000264,0x000200f9, | ||
| 1717 | 0x00001e48,0x000200f8,0x00001e62,0x000500ab, | ||
| 1718 | 0x0000002f,0x00001e64,0x00005f50,0x00000138, | ||
| 1719 | 0x000300f7,0x00001e73,0x00000000,0x000400fa, | ||
| 1720 | 0x00001e64,0x00001e65,0x00001e73,0x000200f8, | ||
| 1721 | 0x00001e65,0x000300f7,0x00002029,0x00000000, | ||
| 1722 | 0x000400fa,0x00001ed3,0x00002024,0x00002028, | ||
| 1723 | 0x000200f8,0x00002028,0x000200f9,0x00002029, | ||
| 1724 | 0x000200f8,0x00002024,0x00050082,0x00000006, | ||
| 1725 | 0x00002027,0x00001eab,0x00000142,0x000200f9, | ||
| 1726 | 0x00002029,0x000200f8,0x00002029,0x000700f5, | ||
| 1727 | 0x00000006,0x00005f52,0x00002027,0x00002024, | ||
| 1728 | 0x00000138,0x00002028,0x00050084,0x00000006, | ||
| 1729 | 0x00001fee,0x000000ec,0x00005f52,0x00050080, | ||
| 1730 | 0x00000006,0x00001fef,0x00001ea6,0x00001fee, | ||
| 1731 | 0x000300f7,0x00002036,0x00000000,0x000400fa, | ||
| 1732 | 0x00001ed3,0x00002031,0x00002035,0x000200f8, | ||
| 1733 | 0x00002035,0x000200f9,0x00002036,0x000200f8, | ||
| 1734 | 0x00002031,0x00050082,0x00000006,0x00002034, | ||
| 1735 | 0x00001eab,0x00000142,0x000200f9,0x00002036, | ||
| 1736 | 0x000200f8,0x00002036,0x000700f5,0x00000006, | ||
| 1737 | 0x00005f53,0x00002034,0x00002031,0x00000138, | ||
| 1738 | 0x00002035,0x00050084,0x00000006,0x00001fe8, | ||
| 1739 | 0x000000ec,0x00005f53,0x00050080,0x00000006, | ||
| 1740 | 0x00001fe9,0x00001fef,0x00001fe8,0x000300f7, | ||
| 1741 | 0x00002043,0x00000000,0x000400fa,0x00001ed3, | ||
| 1742 | 0x0000203e,0x00002042,0x000200f8,0x00002042, | ||
| 1743 | 0x000200f9,0x00002043,0x000200f8,0x0000203e, | ||
| 1744 | 0x00050082,0x00000006,0x00002041,0x00001eab, | ||
| 1745 | 0x00000142,0x000200f9,0x00002043,0x000200f8, | ||
| 1746 | 0x00002043,0x000700f5,0x00000006,0x00005f54, | ||
| 1747 | 0x00002041,0x0000203e,0x00000138,0x00002042, | ||
| 1748 | 0x00050084,0x00000006,0x00001fe2,0x000000ec, | ||
| 1749 | 0x00005f54,0x00050080,0x00000006,0x00001fe3, | ||
| 1750 | 0x00001fe9,0x00001fe2,0x000300f7,0x00002050, | ||
| 1751 | 0x00000000,0x000400fa,0x00001ed3,0x0000204b, | ||
| 1752 | 0x0000204f,0x000200f8,0x0000204f,0x000200f9, | ||
| 1753 | 0x00002050,0x000200f8,0x0000204b,0x00050082, | ||
| 1754 | 0x00000006,0x0000204e,0x00001eab,0x00000142, | ||
| 1755 | 0x000200f9,0x00002050,0x000200f8,0x00002050, | ||
| 1756 | 0x000700f5,0x00000006,0x00005f55,0x0000204e, | ||
| 1757 | 0x0000204b,0x00000138,0x0000204f,0x00050084, | ||
| 1758 | 0x00000006,0x00001fdc,0x000000ec,0x00005f55, | ||
| 1759 | 0x00050080,0x00000006,0x00001fdd,0x00001fe3, | ||
| 1760 | 0x00001fdc,0x00050084,0x00000006,0x00001e68, | ||
| 1761 | 0x000000ec,0x00001e36,0x00050080,0x00000006, | ||
| 1762 | 0x00001e69,0x00001fdd,0x00001e68,0x0004003d, | ||
| 1763 | 0x00000006,0x00001e6d,0x00001e47,0x00050080, | ||
| 1764 | 0x00000006,0x00001e6e,0x00005f5f,0x00001e6d, | ||
| 1765 | 0x00050082,0x00000006,0x00001e6f,0x00001e6e, | ||
| 1766 | 0x00000142,0x00050095,0x0000013d,0x00002069, | ||
| 1767 | 0x00001f38,0x00001e69,0x00050051,0x00000006, | ||
| 1768 | 0x0000206a,0x00002069,0x00000001,0x00050051, | ||
| 1769 | 0x00000006,0x0000206b,0x00002069,0x00000000, | ||
| 1770 | 0x00050080,0x00000006,0x00002070,0x00001f3f, | ||
| 1771 | 0x0000206a,0x00050050,0x00000007,0x00002071, | ||
| 1772 | 0x0000206b,0x00002070,0x0004007c,0x00000014, | ||
| 1773 | 0x00002061,0x00002071,0x00060041,0x0000016c, | ||
| 1774 | 0x00002059,0x00002061,0x0000016b,0x0000016b, | ||
| 1775 | 0x0005003e,0x00002059,0x00001e6f,0x00000002, | ||
| 1776 | 0x00000004,0x000200f9,0x00001e73,0x000200f8, | ||
| 1777 | 0x00001e73,0x00050041,0x00000937,0x00001e74, | ||
| 1778 | 0x00000eff,0x00000b9b,0x0004003d,0x00000006, | ||
| 1779 | 0x00001e75,0x00001e74,0x00050080,0x00000006, | ||
| 1780 | 0x00001e77,0x00005f5f,0x00001e75,0x000400e0, | ||
| 1781 | 0x00000280,0x00000280,0x0000094f,0x000200f9, | ||
| 1782 | 0x00001e78,0x000200f8,0x00001e78,0x00050080, | ||
| 1783 | 0x00000006,0x00001e7a,0x00005f4c,0x000001c4, | ||
| 1784 | 0x000200f9,0x00001e2e,0x000200f8,0x00001e7b, | ||
| 1785 | 0x000200f9,0x000013fd,0x000200f8,0x0000133a, | ||
| 1786 | 0x000500aa,0x0000002f,0x00001345,0x000012df, | ||
| 1787 | 0x00000355,0x000300f7,0x00001347,0x00000000, | ||
| 1788 | 0x000400fa,0x00001345,0x00001346,0x00001347, | ||
| 1789 | 0x000200f8,0x00001346,0x000500aa,0x0000002f, | ||
| 1790 | 0x00001349,0x000012dd,0x00000138,0x000300f7, | ||
| 1791 | 0x0000134b,0x00000000,0x000400fa,0x00001349, | ||
| 1792 | 0x0000134a,0x0000134b,0x000200f8,0x0000134a, | ||
| 1793 | 0x000300f7,0x0000212c,0x00000000,0x000300fb, | ||
| 1794 | 0x00000138,0x000020b3,0x000200f8,0x000020b3, | ||
| 1795 | 0x000300f7,0x00002167,0x00000000,0x000300fb, | ||
| 1796 | 0x00000138,0x00002139,0x000200f8,0x00002139, | ||
| 1797 | 0x00050041,0x000001bb,0x00002188,0x000001b9, | ||
| 1798 | 0x000001ba,0x0004003d,0x00000006,0x00002189, | ||
| 1799 | 0x00002188,0x00050084,0x00000006,0x0000218a, | ||
| 1800 | 0x000001db,0x00002189,0x00050080,0x00000006, | ||
| 1801 | 0x0000218b,0x000001c4,0x0000218a,0x00050080, | ||
| 1802 | 0x00000006,0x00002191,0x00002189,0x0000062f, | ||
| 1803 | 0x00050086,0x00000006,0x00002192,0x00002191, | ||
| 1804 | 0x000001be,0x00050084,0x00000006,0x00002184, | ||
| 1805 | 0x000001c4,0x00002192,0x00050080,0x00000006, | ||
| 1806 | 0x00002185,0x0000218b,0x00002184,0x00050080, | ||
| 1807 | 0x00000006,0x0000217f,0x00002185,0x00002184, | ||
| 1808 | 0x00050041,0x000001bb,0x00002176,0x000001b9, | ||
| 1809 | 0x000001f0,0x0004003d,0x00000006,0x00002177, | ||
| 1810 | 0x00002176,0x00050084,0x00000006,0x00002178, | 1762 | 0x00002176,0x00050084,0x00000006,0x00002178, |
| 1811 | 0x000001ef,0x00002177,0x00050080,0x00000006, | 1763 | 0x0000020d,0x00002177,0x00050080,0x00000006, |
| 1812 | 0x00002179,0x0000217f,0x00002178,0x00050041, | 1764 | 0x00002179,0x00002180,0x00002178,0x000500ac, |
| 1813 | 0x00000266,0x00002170,0x000001b9,0x00000264, | 1765 | 0x0000002f,0x000021a6,0x0000217e,0x0000014a, |
| 1814 | 0x0004003d,0x00000007,0x00002171,0x00002170, | 1766 | 0x000300f7,0x000021ac,0x00000000,0x000400fa, |
| 1815 | 0x00050051,0x00000006,0x000021a7,0x00002171, | 1767 | 0x000021a6,0x000021a7,0x000021ab,0x000200f8, |
| 1816 | 0x00000000,0x00050095,0x0000013d,0x000021a9, | 1768 | 0x000021ab,0x000200f9,0x000021ac,0x000200f8, |
| 1817 | 0x000021a7,0x00002179,0x00050051,0x00000006, | 1769 | 0x000021a7,0x00050082,0x00000006,0x000021aa, |
| 1818 | 0x000021aa,0x000021a9,0x00000001,0x00050051, | 1770 | 0x0000217e,0x0000014a,0x000200f9,0x000021ac, |
| 1819 | 0x00000006,0x000021ab,0x000021a9,0x00000000, | 1771 | 0x000200f8,0x000021ac,0x000700f5,0x00000006, |
| 1820 | 0x00050051,0x00000006,0x000021ae,0x00002171, | 1772 | 0x0000636d,0x000021aa,0x000021a7,0x00000140, |
| 1821 | 0x00000001,0x00050080,0x00000006,0x000021b0, | 1773 | 0x000021ab,0x00050084,0x00000006,0x00002171, |
| 1822 | 0x000021ae,0x000021aa,0x00050050,0x00000007, | 1774 | 0x000000f3,0x0000636d,0x00050080,0x00000006, |
| 1823 | 0x000021b1,0x000021ab,0x000021b0,0x0004007c, | 1775 | 0x00002172,0x00002179,0x00002171,0x000300f7, |
| 1824 | 0x00000014,0x000021a1,0x000021b1,0x000200f9, | 1776 | 0x000021b9,0x00000000,0x000400fa,0x000021a6, |
| 1825 | 0x0000213c,0x000200f8,0x0000213c,0x000700f5, | 1777 | 0x000021b4,0x000021b8,0x000200f8,0x000021b8, |
| 1826 | 0x00000006,0x00005f35,0x00000138,0x00002139, | 1778 | 0x000200f9,0x000021b9,0x000200f8,0x000021b4, |
| 1827 | 0x0000214a,0x00002140,0x000500b0,0x0000002f, | 1779 | 0x00050082,0x00000006,0x000021b7,0x0000217e, |
| 1828 | 0x0000213f,0x00005f35,0x00000355,0x000400f6, | 1780 | 0x0000014a,0x000200f9,0x000021b9,0x000200f8, |
| 1829 | 0x0000214b,0x00002140,0x00000000,0x000400fa, | 1781 | 0x000021b9,0x000700f5,0x00000006,0x0000636e, |
| 1830 | 0x0000213f,0x00002140,0x0000214b,0x000200f8, | 1782 | 0x000021b7,0x000021b4,0x00000140,0x000021b8, |
| 1831 | 0x00002140,0x00050080,0x00000006,0x00002144, | 1783 | 0x00050084,0x00000006,0x0000216b,0x000000f3, |
| 1832 | 0x00000142,0x00005f35,0x00060041,0x0000016c, | 1784 | 0x0000636e,0x00050080,0x00000006,0x0000216c, |
| 1833 | 0x00002145,0x000021a1,0x0000016b,0x00002144, | 1785 | 0x00002172,0x0000216b,0x000300f7,0x000021c6, |
| 1834 | 0x000700f1,0x00000006,0x00002146,0x00002145, | 1786 | 0x00000000,0x000400fa,0x000021a6,0x000021c1, |
| 1835 | 0x00000142,0x00000138,0x00000138,0x00050041, | 1787 | 0x000021c5,0x000200f8,0x000021c5,0x000200f9, |
| 1836 | 0x00000009,0x00002147,0x00002131,0x00005f35, | 1788 | 0x000021c6,0x000200f8,0x000021c1,0x00050082, |
| 1837 | 0x0003003e,0x00002147,0x00002146,0x00050080, | 1789 | 0x00000006,0x000021c4,0x0000217e,0x0000014a, |
| 1838 | 0x00000006,0x0000214a,0x00005f35,0x00000264, | 1790 | 0x000200f9,0x000021c6,0x000200f8,0x000021c6, |
| 1839 | 0x000200f9,0x0000213c,0x000200f8,0x0000214b, | 1791 | 0x000700f5,0x00000006,0x0000636f,0x000021c4, |
| 1840 | 0x00050041,0x00000009,0x0000214c,0x00002131, | 1792 | 0x000021c1,0x00000140,0x000021c5,0x00050084, |
| 1841 | 0x0000016b,0x0004003d,0x00000006,0x0000214d, | 1793 | 0x00000006,0x00002165,0x000000f3,0x0000636f, |
| 1842 | 0x0000214c,0x000500aa,0x0000002f,0x0000214e, | 1794 | 0x00050080,0x00000006,0x00002166,0x0000216c, |
| 1843 | 0x0000214d,0x00000539,0x000300f7,0x00002152, | 1795 | 0x00002165,0x000300f7,0x000021d3,0x00000000, |
| 1844 | 0x00000000,0x000400fa,0x0000214e,0x0000214f, | 1796 | 0x000400fa,0x000021a6,0x000021ce,0x000021d2, |
| 1845 | 0x00002152,0x000200f8,0x0000214f,0x000200f9, | 1797 | 0x000200f8,0x000021d2,0x000200f9,0x000021d3, |
| 1846 | 0x00002167,0x000200f8,0x00002152,0x0004003d, | 1798 | 0x000200f8,0x000021ce,0x00050082,0x00000006, |
| 1847 | 0x00000006,0x00002154,0x0000214c,0x000500c7, | 1799 | 0x000021d1,0x0000217e,0x0000014a,0x000200f9, |
| 1848 | 0x00000006,0x000021b6,0x00002154,0x00000241, | 1800 | 0x000021d3,0x000200f8,0x000021d3,0x000700f5, |
| 1849 | 0x000500ab,0x0000002f,0x000021b7,0x000021b6, | 1801 | 0x00000006,0x00006370,0x000021d1,0x000021ce, |
| 1850 | 0x00000138,0x000300f7,0x000021be,0x00000000, | 1802 | 0x00000140,0x000021d2,0x00050084,0x00000006, |
| 1851 | 0x000400fa,0x000021b7,0x000021b8,0x000021bb, | 1803 | 0x0000215f,0x000000f3,0x00006370,0x00050080, |
| 1852 | 0x000200f8,0x000021bb,0x000400c8,0x00000006, | 1804 | 0x00000006,0x00002160,0x00002166,0x0000215f, |
| 1853 | 0x000021bd,0x00002154,0x000200f9,0x000021be, | 1805 | 0x000300f7,0x000021e0,0x00000000,0x000400fa, |
| 1854 | 0x000200f8,0x000021b8,0x000500c7,0x00000006, | 1806 | 0x000021a6,0x000021db,0x000021df,0x000200f8, |
| 1855 | 0x000021ba,0x00002154,0x00000256,0x000200f9, | 1807 | 0x000021df,0x000200f9,0x000021e0,0x000200f8, |
| 1856 | 0x000021be,0x000200f8,0x000021be,0x000700f5, | 1808 | 0x000021db,0x00050082,0x00000006,0x000021de, |
| 1857 | 0x00000006,0x00005f36,0x000021ba,0x000021b8, | 1809 | 0x0000217e,0x0000014a,0x000200f9,0x000021e0, |
| 1858 | 0x000021bd,0x000021bb,0x0004007c,0x00000027, | 1810 | 0x000200f8,0x000021e0,0x000700f5,0x00000006, |
| 1859 | 0x000021c0,0x00005f36,0x00050041,0x00000009, | 1811 | 0x00006371,0x000021de,0x000021db,0x00000140, |
| 1860 | 0x00002156,0x00002131,0x00000264,0x0004003d, | 1812 | 0x000021df,0x00050084,0x00000006,0x00002159, |
| 1861 | 0x00000006,0x00002157,0x00002156,0x000500c7, | 1813 | 0x000000f3,0x00006371,0x00050080,0x00000006, |
| 1862 | 0x00000006,0x000021c5,0x00002157,0x00000241, | 1814 | 0x0000215a,0x00002160,0x00002159,0x000300f7, |
| 1863 | 0x000500ab,0x0000002f,0x000021c6,0x000021c5, | 1815 | 0x000021f3,0x00000000,0x000400fa,0x000021a6, |
| 1864 | 0x00000138,0x000300f7,0x000021cd,0x00000000, | 1816 | 0x000021ee,0x000021f2,0x000200f8,0x000021f2, |
| 1865 | 0x000400fa,0x000021c6,0x000021c7,0x000021ca, | 1817 | 0x000200f9,0x000021f3,0x000200f8,0x000021ee, |
| 1866 | 0x000200f8,0x000021ca,0x000400c8,0x00000006, | 1818 | 0x00050082,0x00000006,0x000021f1,0x0000217e, |
| 1867 | 0x000021cc,0x00002157,0x000200f9,0x000021cd, | 1819 | 0x0000014a,0x000200f9,0x000021f3,0x000200f8, |
| 1868 | 0x000200f8,0x000021c7,0x000500c7,0x00000006, | 1820 | 0x000021f3,0x000700f5,0x00000006,0x00006372, |
| 1869 | 0x000021c9,0x00002157,0x00000256,0x000200f9, | 1821 | 0x000021f1,0x000021ee,0x00000140,0x000021f2, |
| 1870 | 0x000021cd,0x000200f8,0x000021cd,0x000700f5, | 1822 | 0x00050080,0x00000006,0x000021e6,0x00006372, |
| 1871 | 0x00000006,0x00005f37,0x000021c9,0x000021c7, | 1823 | 0x00000695,0x00050086,0x00000006,0x000021e7, |
| 1872 | 0x000021cc,0x000021ca,0x0004007c,0x00000027, | 1824 | 0x000021e6,0x000001c6,0x00050084,0x00000006, |
| 1873 | 0x000021cf,0x00005f37,0x00050041,0x00000009, | 1825 | 0x00002153,0x000000f3,0x000021e7,0x00050080, |
| 1874 | 0x00002159,0x00002131,0x00000315,0x0004003d, | 1826 | 0x00000006,0x00002154,0x0000215a,0x00002153, |
| 1875 | 0x00000006,0x0000215a,0x00002159,0x000500c7, | 1827 | 0x00050084,0x00000006,0x000020f5,0x000000f3, |
| 1876 | 0x00000006,0x000021d4,0x0000215a,0x00000241, | 1828 | 0x0000142f,0x00050080,0x00000006,0x000020f6, |
| 1877 | 0x000500ab,0x0000002f,0x000021d5,0x000021d4, | 1829 | 0x00002154,0x000020f5,0x00050041,0x0000026e, |
| 1878 | 0x00000138,0x000300f7,0x000021dc,0x00000000, | 1830 | 0x000020f7,0x000001c1,0x0000026c,0x0004003d, |
| 1879 | 0x000400fa,0x000021d5,0x000021d6,0x000021d9, | 1831 | 0x00000007,0x000020f8,0x000020f7,0x00050051, |
| 1880 | 0x000200f8,0x000021d9,0x000400c8,0x00000006, | 1832 | 0x00000006,0x0000220b,0x000020f8,0x00000000, |
| 1881 | 0x000021db,0x0000215a,0x000200f9,0x000021dc, | 1833 | 0x00050095,0x00000145,0x0000220d,0x0000220b, |
| 1882 | 0x000200f8,0x000021d6,0x000500c7,0x00000006, | 1834 | 0x000020f6,0x00050051,0x00000006,0x0000220e, |
| 1883 | 0x000021d8,0x0000215a,0x00000256,0x000200f9, | 1835 | 0x0000220d,0x00000001,0x00050051,0x00000006, |
| 1884 | 0x000021dc,0x000200f8,0x000021dc,0x000700f5, | 1836 | 0x0000220f,0x0000220d,0x00000000,0x00050051, |
| 1885 | 0x00000006,0x00005f38,0x000021d8,0x000021d6, | 1837 | 0x00000006,0x00002212,0x000020f8,0x00000001, |
| 1886 | 0x000021db,0x000021d9,0x0004007c,0x00000027, | 1838 | 0x00050080,0x00000006,0x00002214,0x00002212, |
| 1887 | 0x000021de,0x00005f38,0x00060050,0x0000006c, | 1839 | 0x0000220e,0x00050050,0x00000007,0x00002215, |
| 1888 | 0x0000215c,0x000021c0,0x000021cf,0x000021de, | 1840 | 0x0000220f,0x00002214,0x0004007c,0x00000014, |
| 1889 | 0x00050041,0x00000009,0x0000215d,0x00002131, | 1841 | 0x00002205,0x00002215,0x00060041,0x00000174, |
| 1890 | 0x0000031d,0x0004003d,0x00000006,0x0000215e, | 1842 | 0x000021fc,0x00002205,0x00000173,0x00000173, |
| 1891 | 0x0000215d,0x000500c7,0x00000006,0x000021e3, | 1843 | 0x0006003d,0x00000006,0x000021fd,0x000021fc, |
| 1892 | 0x0000215e,0x00000241,0x000500ab,0x0000002f, | 1844 | 0x00000002,0x00000004,0x00050084,0x00000006, |
| 1893 | 0x000021e4,0x000021e3,0x00000138,0x000300f7, | 1845 | 0x000020fb,0x0000142f,0x000001c6,0x00050080, |
| 1894 | 0x000021eb,0x00000000,0x000400fa,0x000021e4, | 1846 | 0x00000006,0x000020fd,0x000020fb,0x000001c6, |
| 1895 | 0x000021e5,0x000021e8,0x000200f8,0x000021e8, | 1847 | 0x000300f7,0x00002221,0x00000000,0x000400fa, |
| 1896 | 0x000400c8,0x00000006,0x000021ea,0x0000215e, | 1848 | 0x000021a6,0x0000221c,0x00002220,0x000200f8, |
| 1897 | 0x000200f9,0x000021eb,0x000200f8,0x000021e5, | 1849 | 0x00002220,0x000200f9,0x00002221,0x000200f8, |
| 1898 | 0x000500c7,0x00000006,0x000021e7,0x0000215e, | 1850 | 0x0000221c,0x00050082,0x00000006,0x0000221f, |
| 1899 | 0x00000256,0x000200f9,0x000021eb,0x000200f8, | 1851 | 0x0000217e,0x0000014a,0x000200f9,0x00002221, |
| 1900 | 0x000021eb,0x000700f5,0x00000006,0x00005f39, | 1852 | 0x000200f8,0x00002221,0x000700f5,0x00000006, |
| 1901 | 0x000021e7,0x000021e5,0x000021ea,0x000021e8, | 1853 | 0x00006373,0x0000221f,0x0000221c,0x00000140, |
| 1902 | 0x0004007c,0x00000027,0x000021ed,0x00005f39, | 1854 | 0x00002220,0x0007000c,0x00000006,0x000020ff, |
| 1903 | 0x00050041,0x00000009,0x00002160,0x00002131, | 1855 | 0x00000001,0x00000026,0x000020fd,0x00006373, |
| 1904 | 0x00000325,0x0004003d,0x00000006,0x00002161, | 1856 | 0x000200f9,0x00002101,0x000200f8,0x00002101, |
| 1905 | 0x00002160,0x000500c7,0x00000006,0x000021f2, | 1857 | 0x000700f5,0x00000006,0x00006387,0x000021fd, |
| 1906 | 0x00002161,0x00000241,0x000500ab,0x0000002f, | 1858 | 0x00002221,0x0000214a,0x0000214b,0x000700f5, |
| 1907 | 0x000021f3,0x000021f2,0x00000138,0x000300f7, | 1859 | 0x00000006,0x00006374,0x000020fb,0x00002221, |
| 1908 | 0x000021fa,0x00000000,0x000400fa,0x000021f3, | 1860 | 0x0000214d,0x0000214b,0x000500b0,0x0000002f, |
| 1909 | 0x000021f4,0x000021f7,0x000200f8,0x000021f7, | 1861 | 0x00002105,0x00006374,0x000020ff,0x000400f6, |
| 1910 | 0x000400c8,0x00000006,0x000021f9,0x00002161, | 1862 | 0x0000214e,0x0000214b,0x00000000,0x000400fa, |
| 1911 | 0x000200f9,0x000021fa,0x000200f8,0x000021f4, | 1863 | 0x00002105,0x00002106,0x0000214e,0x000200f8, |
| 1912 | 0x000500c7,0x00000006,0x000021f6,0x00002161, | 1864 | 0x00002106,0x00050080,0x00000006,0x00002109, |
| 1913 | 0x00000256,0x000200f9,0x000021fa,0x000200f8, | 1865 | 0x00006374,0x00001432,0x000500b0,0x0000002f, |
| 1914 | 0x000021fa,0x000700f5,0x00000006,0x00005f3a, | 1866 | 0x0000210c,0x00002109,0x000020ff,0x000300f7, |
| 1915 | 0x000021f6,0x000021f4,0x000021f9,0x000021f7, | 1867 | 0x00002116,0x00000000,0x000400fa,0x0000210c, |
| 1916 | 0x0004007c,0x00000027,0x000021fc,0x00005f3a, | 1868 | 0x0000210d,0x00002115,0x000200f8,0x00002115, |
| 1917 | 0x00050041,0x00000009,0x00002163,0x00002131, | 1869 | 0x000200f9,0x00002116,0x000200f8,0x0000210d, |
| 1918 | 0x0000032d,0x0004003d,0x00000006,0x00002164, | 1870 | 0x000300f7,0x0000226e,0x00000000,0x000400fa, |
| 1919 | 0x00002163,0x000500c7,0x00000006,0x00002201, | 1871 | 0x000021a6,0x00002269,0x0000226d,0x000200f8, |
| 1920 | 0x00002164,0x00000241,0x000500ab,0x0000002f, | 1872 | 0x0000226d,0x000200f9,0x0000226e,0x000200f8, |
| 1921 | 0x00002202,0x00002201,0x00000138,0x000300f7, | 1873 | 0x00002269,0x00050082,0x00000006,0x0000226c, |
| 1922 | 0x00002209,0x00000000,0x000400fa,0x00002202, | 1874 | 0x0000217e,0x0000014a,0x000200f9,0x0000226e, |
| 1923 | 0x00002203,0x00002206,0x000200f8,0x00002206, | 1875 | 0x000200f8,0x0000226e,0x000700f5,0x00000006, |
| 1924 | 0x000400c8,0x00000006,0x00002208,0x00002164, | 1876 | 0x00006375,0x0000226c,0x00002269,0x00000140, |
| 1925 | 0x000200f9,0x00002209,0x000200f8,0x00002203, | 1877 | 0x0000226d,0x00050084,0x00000006,0x00002233, |
| 1926 | 0x000500c7,0x00000006,0x00002205,0x00002164, | 1878 | 0x000000f3,0x00006375,0x00050080,0x00000006, |
| 1927 | 0x00000256,0x000200f9,0x00002209,0x000200f8, | 1879 | 0x00002234,0x00002179,0x00002233,0x000300f7, |
| 1928 | 0x00002209,0x000700f5,0x00000006,0x00005f3b, | 1880 | 0x0000227b,0x00000000,0x000400fa,0x000021a6, |
| 1929 | 0x00002205,0x00002203,0x00002208,0x00002206, | 1881 | 0x00002276,0x0000227a,0x000200f8,0x0000227a, |
| 1930 | 0x0004007c,0x00000027,0x0000220b,0x00005f3b, | 1882 | 0x000200f9,0x0000227b,0x000200f8,0x00002276, |
| 1931 | 0x00060050,0x0000006c,0x00002166,0x000021ed, | 1883 | 0x00050082,0x00000006,0x00002279,0x0000217e, |
| 1932 | 0x000021fc,0x0000220b,0x000200f9,0x00002167, | 1884 | 0x0000014a,0x000200f9,0x0000227b,0x000200f8, |
| 1933 | 0x000200f8,0x00002167,0x000700f5,0x0000006c, | 1885 | 0x0000227b,0x000700f5,0x00000006,0x00006376, |
| 1934 | 0x00005f40,0x000060fe,0x0000214f,0x00002166, | 1886 | 0x00002279,0x00002276,0x00000140,0x0000227a, |
| 1935 | 0x00002209,0x000700f5,0x0000006c,0x00005f3c, | 1887 | 0x00050084,0x00000006,0x0000222d,0x000000f3, |
| 1936 | 0x00000576,0x0000214f,0x0000215c,0x00002209, | 1888 | 0x00006376,0x00050080,0x00000006,0x0000222e, |
| 1937 | 0x00050041,0x00000266,0x000020b7,0x000001b9, | 1889 | 0x00002234,0x0000222d,0x000300f7,0x00002288, |
| 1938 | 0x0000016b,0x0004003d,0x00000007,0x000020b8, | 1890 | 0x00000000,0x000400fa,0x000021a6,0x00002283, |
| 1939 | 0x000020b7,0x00050051,0x00000027,0x000020ba, | 1891 | 0x00002287,0x000200f8,0x00002287,0x000200f9, |
| 1940 | 0x00005f3c,0x00000000,0x0004007c,0x00000006, | 1892 | 0x00002288,0x000200f8,0x00002283,0x00050082, |
| 1941 | 0x00002211,0x000020ba,0x00050051,0x00000006, | 1893 | 0x00000006,0x00002286,0x0000217e,0x0000014a, |
| 1942 | 0x0000222a,0x000020b8,0x00000000,0x00050095, | 1894 | 0x000200f9,0x00002288,0x000200f8,0x00002288, |
| 1943 | 0x0000013d,0x0000222c,0x0000222a,0x000001db, | 1895 | 0x000700f5,0x00000006,0x00006377,0x00002286, |
| 1944 | 0x00050051,0x00000006,0x0000222d,0x0000222c, | 1896 | 0x00002283,0x00000140,0x00002287,0x00050084, |
| 1945 | 0x00000001,0x00050051,0x00000006,0x0000222e, | 1897 | 0x00000006,0x00002227,0x000000f3,0x00006377, |
| 1946 | 0x0000222c,0x00000000,0x00050051,0x00000006, | 1898 | 0x00050080,0x00000006,0x00002228,0x0000222e, |
| 1947 | 0x00002231,0x000020b8,0x00000001,0x00050080, | 1899 | 0x00002227,0x00050084,0x00000006,0x00002110, |
| 1948 | 0x00000006,0x00002233,0x00002231,0x0000222d, | 1900 | 0x000000f3,0x00002109,0x00050080,0x00000006, |
| 1949 | 0x00050050,0x00000007,0x00002234,0x0000222e, | 1901 | 0x00002111,0x00002228,0x00002110,0x00050095, |
| 1950 | 0x00002233,0x0004007c,0x00000014,0x00002224, | 1902 | 0x00000145,0x000022a2,0x0000220b,0x00002111, |
| 1951 | 0x00002234,0x00060041,0x0000016c,0x0000221c, | 1903 | 0x00050051,0x00000006,0x000022a3,0x000022a2, |
| 1952 | 0x00002224,0x0000016b,0x0000016b,0x0005003e, | 1904 | 0x00000001,0x00050051,0x00000006,0x000022a4, |
| 1953 | 0x0000221c,0x00002211,0x00000002,0x00000004, | 1905 | 0x000022a2,0x00000000,0x00050080,0x00000006, |
| 1954 | 0x00050051,0x00000027,0x000020bf,0x00005f3c, | 1906 | 0x000022a9,0x00002212,0x000022a3,0x00050050, |
| 1955 | 0x00000001,0x0004007c,0x00000006,0x0000223a, | 1907 | 0x00000007,0x000022aa,0x000022a4,0x000022a9, |
| 1956 | 0x000020bf,0x00050095,0x0000013d,0x00002255, | 1908 | 0x0004007c,0x00000014,0x0000229a,0x000022aa, |
| 1957 | 0x0000222a,0x00000299,0x00050051,0x00000006, | 1909 | 0x00060041,0x00000174,0x00002291,0x0000229a, |
| 1958 | 0x00002256,0x00002255,0x00000001,0x00050051, | 1910 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 1959 | 0x00000006,0x00002257,0x00002255,0x00000000, | 1911 | 0x00002292,0x00002291,0x00000002,0x00000004, |
| 1960 | 0x00050080,0x00000006,0x0000225c,0x00002231, | 1912 | 0x000200f9,0x00002116,0x000200f8,0x00002116, |
| 1961 | 0x00002256,0x00050050,0x00000007,0x0000225d, | 1913 | 0x000700f5,0x00000006,0x00006378,0x00002292, |
| 1962 | 0x00002257,0x0000225c,0x0004007c,0x00000014, | 1914 | 0x00002288,0x00000140,0x00002115,0x00050041, |
| 1963 | 0x0000224d,0x0000225d,0x00060041,0x0000016c, | 1915 | 0x0000099d,0x0000211a,0x00000f64,0x00001432, |
| 1964 | 0x00002245,0x0000224d,0x0000016b,0x0000016b, | 1916 | 0x0003003e,0x0000211a,0x00006378,0x000400e0, |
| 1965 | 0x0005003e,0x00002245,0x0000223a,0x00000002, | 1917 | 0x00000288,0x00000288,0x000009b5,0x000200f9, |
| 1966 | 0x00000004,0x00050051,0x00000027,0x000020c4, | 1918 | 0x0000211b,0x000200f8,0x0000211b,0x000700f5, |
| 1967 | 0x00005f3c,0x00000002,0x0004007c,0x00000006, | 1919 | 0x00000006,0x00006379,0x0000014a,0x00002116, |
| 1968 | 0x00002263,0x000020c4,0x00050095,0x0000013d, | 1920 | 0x00002134,0x00002132,0x000500b0,0x0000002f, |
| 1969 | 0x0000227e,0x0000222a,0x000001ef,0x00050051, | 1921 | 0x0000211e,0x00006379,0x000001cc,0x000400f6, |
| 1970 | 0x00000006,0x0000227f,0x0000227e,0x00000001, | 1922 | 0x00002135,0x00002132,0x00000000,0x000400fa, |
| 1971 | 0x00050051,0x00000006,0x00002280,0x0000227e, | 1923 | 0x0000211e,0x0000211f,0x00002135,0x000200f8, |
| 1972 | 0x00000000,0x00050080,0x00000006,0x00002285, | 1924 | 0x0000211f,0x000500ae,0x0000002f,0x00002122, |
| 1973 | 0x00002231,0x0000227f,0x00050050,0x00000007, | 1925 | 0x00001432,0x00006379,0x000300f7,0x0000212a, |
| 1974 | 0x00002286,0x00002280,0x00002285,0x0004007c, | 1926 | 0x00000000,0x000400fa,0x00002122,0x00002123, |
| 1975 | 0x00000014,0x00002276,0x00002286,0x00060041, | 1927 | 0x00002129,0x000200f8,0x00002129,0x000200f9, |
| 1976 | 0x0000016c,0x0000226e,0x00002276,0x0000016b, | 1928 | 0x0000212a,0x000200f8,0x00002123,0x00050082, |
| 1977 | 0x0000016b,0x0005003e,0x0000226e,0x00002263, | 1929 | 0x00000006,0x00002126,0x00001432,0x00006379, |
| 1930 | 0x00050041,0x0000099d,0x00002127,0x00000f64, | ||
| 1931 | 0x00002126,0x0004003d,0x00000006,0x00002128, | ||
| 1932 | 0x00002127,0x000200f9,0x0000212a,0x000200f8, | ||
| 1933 | 0x0000212a,0x000700f5,0x00000006,0x00006394, | ||
| 1934 | 0x00002128,0x00002123,0x00000140,0x00002129, | ||
| 1935 | 0x000400e0,0x00000288,0x00000288,0x000009b5, | ||
| 1936 | 0x0004003d,0x00000006,0x0000212f,0x0000211a, | ||
| 1937 | 0x00050080,0x00000006,0x00002130,0x0000212f, | ||
| 1938 | 0x00006394,0x0003003e,0x0000211a,0x00002130, | ||
| 1939 | 0x000400e0,0x00000288,0x00000288,0x000009b5, | ||
| 1940 | 0x000200f9,0x00002132,0x000200f8,0x00002132, | ||
| 1941 | 0x000500c4,0x00000006,0x00002134,0x00006379, | ||
| 1942 | 0x0000026c,0x000200f9,0x0000211b,0x000200f8, | ||
| 1943 | 0x00002135,0x000500ab,0x0000002f,0x00002137, | ||
| 1944 | 0x00006378,0x00000140,0x000300f7,0x00002146, | ||
| 1945 | 0x00000000,0x000400fa,0x00002137,0x00002138, | ||
| 1946 | 0x00002146,0x000200f8,0x00002138,0x000300f7, | ||
| 1947 | 0x000022fc,0x00000000,0x000400fa,0x000021a6, | ||
| 1948 | 0x000022f7,0x000022fb,0x000200f8,0x000022fb, | ||
| 1949 | 0x000200f9,0x000022fc,0x000200f8,0x000022f7, | ||
| 1950 | 0x00050082,0x00000006,0x000022fa,0x0000217e, | ||
| 1951 | 0x0000014a,0x000200f9,0x000022fc,0x000200f8, | ||
| 1952 | 0x000022fc,0x000700f5,0x00000006,0x0000637a, | ||
| 1953 | 0x000022fa,0x000022f7,0x00000140,0x000022fb, | ||
| 1954 | 0x00050084,0x00000006,0x000022c1,0x000000f3, | ||
| 1955 | 0x0000637a,0x00050080,0x00000006,0x000022c2, | ||
| 1956 | 0x00002179,0x000022c1,0x000300f7,0x00002309, | ||
| 1957 | 0x00000000,0x000400fa,0x000021a6,0x00002304, | ||
| 1958 | 0x00002308,0x000200f8,0x00002308,0x000200f9, | ||
| 1959 | 0x00002309,0x000200f8,0x00002304,0x00050082, | ||
| 1960 | 0x00000006,0x00002307,0x0000217e,0x0000014a, | ||
| 1961 | 0x000200f9,0x00002309,0x000200f8,0x00002309, | ||
| 1962 | 0x000700f5,0x00000006,0x0000637b,0x00002307, | ||
| 1963 | 0x00002304,0x00000140,0x00002308,0x00050084, | ||
| 1964 | 0x00000006,0x000022bb,0x000000f3,0x0000637b, | ||
| 1965 | 0x00050080,0x00000006,0x000022bc,0x000022c2, | ||
| 1966 | 0x000022bb,0x000300f7,0x00002316,0x00000000, | ||
| 1967 | 0x000400fa,0x000021a6,0x00002311,0x00002315, | ||
| 1968 | 0x000200f8,0x00002315,0x000200f9,0x00002316, | ||
| 1969 | 0x000200f8,0x00002311,0x00050082,0x00000006, | ||
| 1970 | 0x00002314,0x0000217e,0x0000014a,0x000200f9, | ||
| 1971 | 0x00002316,0x000200f8,0x00002316,0x000700f5, | ||
| 1972 | 0x00000006,0x0000637c,0x00002314,0x00002311, | ||
| 1973 | 0x00000140,0x00002315,0x00050084,0x00000006, | ||
| 1974 | 0x000022b5,0x000000f3,0x0000637c,0x00050080, | ||
| 1975 | 0x00000006,0x000022b6,0x000022bc,0x000022b5, | ||
| 1976 | 0x000300f7,0x00002323,0x00000000,0x000400fa, | ||
| 1977 | 0x000021a6,0x0000231e,0x00002322,0x000200f8, | ||
| 1978 | 0x00002322,0x000200f9,0x00002323,0x000200f8, | ||
| 1979 | 0x0000231e,0x00050082,0x00000006,0x00002321, | ||
| 1980 | 0x0000217e,0x0000014a,0x000200f9,0x00002323, | ||
| 1981 | 0x000200f8,0x00002323,0x000700f5,0x00000006, | ||
| 1982 | 0x0000637d,0x00002321,0x0000231e,0x00000140, | ||
| 1983 | 0x00002322,0x00050084,0x00000006,0x000022af, | ||
| 1984 | 0x000000f3,0x0000637d,0x00050080,0x00000006, | ||
| 1985 | 0x000022b0,0x000022b6,0x000022af,0x00050084, | ||
| 1986 | 0x00000006,0x0000213b,0x000000f3,0x00002109, | ||
| 1987 | 0x00050080,0x00000006,0x0000213c,0x000022b0, | ||
| 1988 | 0x0000213b,0x0004003d,0x00000006,0x00002140, | ||
| 1989 | 0x0000211a,0x00050080,0x00000006,0x00002141, | ||
| 1990 | 0x00006387,0x00002140,0x00050082,0x00000006, | ||
| 1991 | 0x00002142,0x00002141,0x0000014a,0x00050095, | ||
| 1992 | 0x00000145,0x0000233c,0x0000220b,0x0000213c, | ||
| 1993 | 0x00050051,0x00000006,0x0000233d,0x0000233c, | ||
| 1994 | 0x00000001,0x00050051,0x00000006,0x0000233e, | ||
| 1995 | 0x0000233c,0x00000000,0x00050080,0x00000006, | ||
| 1996 | 0x00002343,0x00002212,0x0000233d,0x00050050, | ||
| 1997 | 0x00000007,0x00002344,0x0000233e,0x00002343, | ||
| 1998 | 0x0004007c,0x00000014,0x00002334,0x00002344, | ||
| 1999 | 0x00060041,0x00000174,0x0000232c,0x00002334, | ||
| 2000 | 0x00000173,0x00000173,0x0005003e,0x0000232c, | ||
| 2001 | 0x00002142,0x00000002,0x00000004,0x000200f9, | ||
| 2002 | 0x00002146,0x000200f8,0x00002146,0x00050041, | ||
| 2003 | 0x0000099d,0x00002147,0x00000f64,0x00000c01, | ||
| 2004 | 0x0004003d,0x00000006,0x00002148,0x00002147, | ||
| 2005 | 0x00050080,0x00000006,0x0000214a,0x00006387, | ||
| 2006 | 0x00002148,0x000400e0,0x00000288,0x00000288, | ||
| 2007 | 0x000009b5,0x000200f9,0x0000214b,0x000200f8, | ||
| 2008 | 0x0000214b,0x00050080,0x00000006,0x0000214d, | ||
| 2009 | 0x00006374,0x000001cc,0x000200f9,0x00002101, | ||
| 2010 | 0x000200f8,0x0000214e,0x000200f9,0x000014ef, | ||
| 2011 | 0x000200f8,0x0000142c,0x000500aa,0x0000002f, | ||
| 2012 | 0x00001437,0x000013be,0x0000035d,0x000300f7, | ||
| 2013 | 0x00001439,0x00000000,0x000400fa,0x00001437, | ||
| 2014 | 0x00001438,0x00001439,0x000200f8,0x00001438, | ||
| 2015 | 0x000500aa,0x0000002f,0x0000143b,0x000013a7, | ||
| 2016 | 0x00000140,0x000300f7,0x0000143d,0x00000000, | ||
| 2017 | 0x000400fa,0x0000143b,0x0000143c,0x0000143d, | ||
| 2018 | 0x000200f8,0x0000143c,0x000300f7,0x000023ff, | ||
| 2019 | 0x00000000,0x000300fb,0x00000140,0x00002386, | ||
| 2020 | 0x000200f8,0x00002386,0x000300f7,0x0000243a, | ||
| 2021 | 0x00000000,0x000300fb,0x00000140,0x0000240c, | ||
| 2022 | 0x000200f8,0x0000240c,0x00050041,0x000001c3, | ||
| 2023 | 0x0000245b,0x000001c1,0x000001c2,0x0004003d, | ||
| 2024 | 0x00000006,0x0000245c,0x0000245b,0x00050084, | ||
| 2025 | 0x00000006,0x0000245d,0x000001e3,0x0000245c, | ||
| 2026 | 0x00050080,0x00000006,0x0000245e,0x000001cc, | ||
| 2027 | 0x0000245d,0x00050080,0x00000006,0x00002464, | ||
| 2028 | 0x0000245c,0x00000695,0x00050086,0x00000006, | ||
| 2029 | 0x00002465,0x00002464,0x000001c6,0x00050084, | ||
| 2030 | 0x00000006,0x00002457,0x000001cc,0x00002465, | ||
| 2031 | 0x00050080,0x00000006,0x00002458,0x0000245e, | ||
| 2032 | 0x00002457,0x00050080,0x00000006,0x00002452, | ||
| 2033 | 0x00002458,0x00002457,0x00050041,0x000001c3, | ||
| 2034 | 0x00002449,0x000001c1,0x000001f8,0x0004003d, | ||
| 2035 | 0x00000006,0x0000244a,0x00002449,0x00050084, | ||
| 2036 | 0x00000006,0x0000244b,0x000001f7,0x0000244a, | ||
| 2037 | 0x00050080,0x00000006,0x0000244c,0x00002452, | ||
| 2038 | 0x0000244b,0x00050041,0x0000026e,0x00002443, | ||
| 2039 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, | ||
| 2040 | 0x00002444,0x00002443,0x00050051,0x00000006, | ||
| 2041 | 0x0000247a,0x00002444,0x00000000,0x00050095, | ||
| 2042 | 0x00000145,0x0000247c,0x0000247a,0x0000244c, | ||
| 2043 | 0x00050051,0x00000006,0x0000247d,0x0000247c, | ||
| 2044 | 0x00000001,0x00050051,0x00000006,0x0000247e, | ||
| 2045 | 0x0000247c,0x00000000,0x00050051,0x00000006, | ||
| 2046 | 0x00002481,0x00002444,0x00000001,0x00050080, | ||
| 2047 | 0x00000006,0x00002483,0x00002481,0x0000247d, | ||
| 2048 | 0x00050050,0x00000007,0x00002484,0x0000247e, | ||
| 2049 | 0x00002483,0x0004007c,0x00000014,0x00002474, | ||
| 2050 | 0x00002484,0x000200f9,0x0000240f,0x000200f8, | ||
| 2051 | 0x0000240f,0x000700f5,0x00000006,0x0000635d, | ||
| 2052 | 0x00000140,0x0000240c,0x0000241d,0x00002413, | ||
| 2053 | 0x000500b0,0x0000002f,0x00002412,0x0000635d, | ||
| 2054 | 0x0000035d,0x000400f6,0x0000241e,0x00002413, | ||
| 2055 | 0x00000000,0x000400fa,0x00002412,0x00002413, | ||
| 2056 | 0x0000241e,0x000200f8,0x00002413,0x00050080, | ||
| 2057 | 0x00000006,0x00002417,0x0000014a,0x0000635d, | ||
| 2058 | 0x00060041,0x00000174,0x00002418,0x00002474, | ||
| 2059 | 0x00000173,0x00002417,0x000700f1,0x00000006, | ||
| 2060 | 0x00002419,0x00002418,0x0000014a,0x00000140, | ||
| 2061 | 0x00000140,0x00050041,0x00000009,0x0000241a, | ||
| 2062 | 0x00002404,0x0000635d,0x0003003e,0x0000241a, | ||
| 2063 | 0x00002419,0x00050080,0x00000006,0x0000241d, | ||
| 2064 | 0x0000635d,0x0000026c,0x000200f9,0x0000240f, | ||
| 2065 | 0x000200f8,0x0000241e,0x00050041,0x00000009, | ||
| 2066 | 0x0000241f,0x00002404,0x00000173,0x0004003d, | ||
| 2067 | 0x00000006,0x00002420,0x0000241f,0x000500aa, | ||
| 2068 | 0x0000002f,0x00002421,0x00002420,0x000003bf, | ||
| 2069 | 0x000300f7,0x00002425,0x00000000,0x000400fa, | ||
| 2070 | 0x00002421,0x00002422,0x00002425,0x000200f8, | ||
| 2071 | 0x00002422,0x000200f9,0x0000243a,0x000200f8, | ||
| 2072 | 0x00002425,0x0004003d,0x00000006,0x00002427, | ||
| 2073 | 0x0000241f,0x000500c7,0x00000006,0x00002489, | ||
| 2074 | 0x00002427,0x00000249,0x000500ab,0x0000002f, | ||
| 2075 | 0x0000248a,0x00002489,0x00000140,0x000300f7, | ||
| 2076 | 0x00002491,0x00000000,0x000400fa,0x0000248a, | ||
| 2077 | 0x0000248b,0x0000248e,0x000200f8,0x0000248e, | ||
| 2078 | 0x000400c8,0x00000006,0x00002490,0x00002427, | ||
| 2079 | 0x000200f9,0x00002491,0x000200f8,0x0000248b, | ||
| 2080 | 0x000500c7,0x00000006,0x0000248d,0x00002427, | ||
| 2081 | 0x0000025e,0x000200f9,0x00002491,0x000200f8, | ||
| 2082 | 0x00002491,0x000700f5,0x00000006,0x0000635e, | ||
| 2083 | 0x0000248d,0x0000248b,0x00002490,0x0000248e, | ||
| 2084 | 0x0004007c,0x00000027,0x00002493,0x0000635e, | ||
| 2085 | 0x00050041,0x00000009,0x00002429,0x00002404, | ||
| 2086 | 0x0000026c,0x0004003d,0x00000006,0x0000242a, | ||
| 2087 | 0x00002429,0x000500c7,0x00000006,0x00002498, | ||
| 2088 | 0x0000242a,0x00000249,0x000500ab,0x0000002f, | ||
| 2089 | 0x00002499,0x00002498,0x00000140,0x000300f7, | ||
| 2090 | 0x000024a0,0x00000000,0x000400fa,0x00002499, | ||
| 2091 | 0x0000249a,0x0000249d,0x000200f8,0x0000249d, | ||
| 2092 | 0x000400c8,0x00000006,0x0000249f,0x0000242a, | ||
| 2093 | 0x000200f9,0x000024a0,0x000200f8,0x0000249a, | ||
| 2094 | 0x000500c7,0x00000006,0x0000249c,0x0000242a, | ||
| 2095 | 0x0000025e,0x000200f9,0x000024a0,0x000200f8, | ||
| 2096 | 0x000024a0,0x000700f5,0x00000006,0x0000635f, | ||
| 2097 | 0x0000249c,0x0000249a,0x0000249f,0x0000249d, | ||
| 2098 | 0x0004007c,0x00000027,0x000024a2,0x0000635f, | ||
| 2099 | 0x00050041,0x00000009,0x0000242c,0x00002404, | ||
| 2100 | 0x0000031d,0x0004003d,0x00000006,0x0000242d, | ||
| 2101 | 0x0000242c,0x000500c7,0x00000006,0x000024a7, | ||
| 2102 | 0x0000242d,0x00000249,0x000500ab,0x0000002f, | ||
| 2103 | 0x000024a8,0x000024a7,0x00000140,0x000300f7, | ||
| 2104 | 0x000024af,0x00000000,0x000400fa,0x000024a8, | ||
| 2105 | 0x000024a9,0x000024ac,0x000200f8,0x000024ac, | ||
| 2106 | 0x000400c8,0x00000006,0x000024ae,0x0000242d, | ||
| 2107 | 0x000200f9,0x000024af,0x000200f8,0x000024a9, | ||
| 2108 | 0x000500c7,0x00000006,0x000024ab,0x0000242d, | ||
| 2109 | 0x0000025e,0x000200f9,0x000024af,0x000200f8, | ||
| 2110 | 0x000024af,0x000700f5,0x00000006,0x00006360, | ||
| 2111 | 0x000024ab,0x000024a9,0x000024ae,0x000024ac, | ||
| 2112 | 0x0004007c,0x00000027,0x000024b1,0x00006360, | ||
| 2113 | 0x00060050,0x0000006c,0x0000242f,0x00002493, | ||
| 2114 | 0x000024a2,0x000024b1,0x00050041,0x00000009, | ||
| 2115 | 0x00002430,0x00002404,0x00000325,0x0004003d, | ||
| 2116 | 0x00000006,0x00002431,0x00002430,0x000500c7, | ||
| 2117 | 0x00000006,0x000024b6,0x00002431,0x00000249, | ||
| 2118 | 0x000500ab,0x0000002f,0x000024b7,0x000024b6, | ||
| 2119 | 0x00000140,0x000300f7,0x000024be,0x00000000, | ||
| 2120 | 0x000400fa,0x000024b7,0x000024b8,0x000024bb, | ||
| 2121 | 0x000200f8,0x000024bb,0x000400c8,0x00000006, | ||
| 2122 | 0x000024bd,0x00002431,0x000200f9,0x000024be, | ||
| 2123 | 0x000200f8,0x000024b8,0x000500c7,0x00000006, | ||
| 2124 | 0x000024ba,0x00002431,0x0000025e,0x000200f9, | ||
| 2125 | 0x000024be,0x000200f8,0x000024be,0x000700f5, | ||
| 2126 | 0x00000006,0x00006361,0x000024ba,0x000024b8, | ||
| 2127 | 0x000024bd,0x000024bb,0x0004007c,0x00000027, | ||
| 2128 | 0x000024c0,0x00006361,0x00050041,0x00000009, | ||
| 2129 | 0x00002433,0x00002404,0x0000032d,0x0004003d, | ||
| 2130 | 0x00000006,0x00002434,0x00002433,0x000500c7, | ||
| 2131 | 0x00000006,0x000024c5,0x00002434,0x00000249, | ||
| 2132 | 0x000500ab,0x0000002f,0x000024c6,0x000024c5, | ||
| 2133 | 0x00000140,0x000300f7,0x000024cd,0x00000000, | ||
| 2134 | 0x000400fa,0x000024c6,0x000024c7,0x000024ca, | ||
| 2135 | 0x000200f8,0x000024ca,0x000400c8,0x00000006, | ||
| 2136 | 0x000024cc,0x00002434,0x000200f9,0x000024cd, | ||
| 2137 | 0x000200f8,0x000024c7,0x000500c7,0x00000006, | ||
| 2138 | 0x000024c9,0x00002434,0x0000025e,0x000200f9, | ||
| 2139 | 0x000024cd,0x000200f8,0x000024cd,0x000700f5, | ||
| 2140 | 0x00000006,0x00006362,0x000024c9,0x000024c7, | ||
| 2141 | 0x000024cc,0x000024ca,0x0004007c,0x00000027, | ||
| 2142 | 0x000024cf,0x00006362,0x00050041,0x00000009, | ||
| 2143 | 0x00002436,0x00002404,0x00000335,0x0004003d, | ||
| 2144 | 0x00000006,0x00002437,0x00002436,0x000500c7, | ||
| 2145 | 0x00000006,0x000024d4,0x00002437,0x00000249, | ||
| 2146 | 0x000500ab,0x0000002f,0x000024d5,0x000024d4, | ||
| 2147 | 0x00000140,0x000300f7,0x000024dc,0x00000000, | ||
| 2148 | 0x000400fa,0x000024d5,0x000024d6,0x000024d9, | ||
| 2149 | 0x000200f8,0x000024d9,0x000400c8,0x00000006, | ||
| 2150 | 0x000024db,0x00002437,0x000200f9,0x000024dc, | ||
| 2151 | 0x000200f8,0x000024d6,0x000500c7,0x00000006, | ||
| 2152 | 0x000024d8,0x00002437,0x0000025e,0x000200f9, | ||
| 2153 | 0x000024dc,0x000200f8,0x000024dc,0x000700f5, | ||
| 2154 | 0x00000006,0x00006363,0x000024d8,0x000024d6, | ||
| 2155 | 0x000024db,0x000024d9,0x0004007c,0x00000027, | ||
| 2156 | 0x000024de,0x00006363,0x00060050,0x0000006c, | ||
| 2157 | 0x00002439,0x000024c0,0x000024cf,0x000024de, | ||
| 2158 | 0x000200f9,0x0000243a,0x000200f8,0x0000243a, | ||
| 2159 | 0x000700f5,0x0000006c,0x00006368,0x00006532, | ||
| 2160 | 0x00002422,0x00002439,0x000024dc,0x000700f5, | ||
| 2161 | 0x0000006c,0x00006364,0x000005dc,0x00002422, | ||
| 2162 | 0x0000242f,0x000024dc,0x00050041,0x0000026e, | ||
| 2163 | 0x0000238a,0x000001c1,0x00000173,0x0004003d, | ||
| 2164 | 0x00000007,0x0000238b,0x0000238a,0x00050051, | ||
| 2165 | 0x00000027,0x0000238d,0x00006364,0x00000000, | ||
| 2166 | 0x0004007c,0x00000006,0x000024e4,0x0000238d, | ||
| 2167 | 0x00050051,0x00000006,0x000024fd,0x0000238b, | ||
| 2168 | 0x00000000,0x00050095,0x00000145,0x000024ff, | ||
| 2169 | 0x000024fd,0x000001e3,0x00050051,0x00000006, | ||
| 2170 | 0x00002500,0x000024ff,0x00000001,0x00050051, | ||
| 2171 | 0x00000006,0x00002501,0x000024ff,0x00000000, | ||
| 2172 | 0x00050051,0x00000006,0x00002504,0x0000238b, | ||
| 2173 | 0x00000001,0x00050080,0x00000006,0x00002506, | ||
| 2174 | 0x00002504,0x00002500,0x00050050,0x00000007, | ||
| 2175 | 0x00002507,0x00002501,0x00002506,0x0004007c, | ||
| 2176 | 0x00000014,0x000024f7,0x00002507,0x00060041, | ||
| 2177 | 0x00000174,0x000024ef,0x000024f7,0x00000173, | ||
| 2178 | 0x00000173,0x0005003e,0x000024ef,0x000024e4, | ||
| 1978 | 0x00000002,0x00000004,0x00050051,0x00000027, | 2179 | 0x00000002,0x00000004,0x00050051,0x00000027, |
| 1979 | 0x000020c9,0x00005f40,0x00000000,0x0004007c, | 2180 | 0x00002392,0x00006364,0x00000001,0x0004007c, |
| 1980 | 0x00000006,0x0000228c,0x000020c9,0x00050095, | 2181 | 0x00000006,0x0000250d,0x00002392,0x00050095, |
| 1981 | 0x0000013d,0x000022a7,0x0000222a,0x000006d9, | 2182 | 0x00000145,0x00002528,0x000024fd,0x000002a1, |
| 1982 | 0x00050051,0x00000006,0x000022a8,0x000022a7, | 2183 | 0x00050051,0x00000006,0x00002529,0x00002528, |
| 1983 | 0x00000001,0x00050051,0x00000006,0x000022a9, | 2184 | 0x00000001,0x00050051,0x00000006,0x0000252a, |
| 1984 | 0x000022a7,0x00000000,0x00050080,0x00000006, | 2185 | 0x00002528,0x00000000,0x00050080,0x00000006, |
| 1985 | 0x000022ae,0x00002231,0x000022a8,0x00050050, | 2186 | 0x0000252f,0x00002504,0x00002529,0x00050050, |
| 1986 | 0x00000007,0x000022af,0x000022a9,0x000022ae, | 2187 | 0x00000007,0x00002530,0x0000252a,0x0000252f, |
| 1987 | 0x0004007c,0x00000014,0x0000229f,0x000022af, | 2188 | 0x0004007c,0x00000014,0x00002520,0x00002530, |
| 1988 | 0x00060041,0x0000016c,0x00002297,0x0000229f, | 2189 | 0x00060041,0x00000174,0x00002518,0x00002520, |
| 1989 | 0x0000016b,0x0000016b,0x0005003e,0x00002297, | 2190 | 0x00000173,0x00000173,0x0005003e,0x00002518, |
| 1990 | 0x0000228c,0x00000002,0x00000004,0x00050051, | 2191 | 0x0000250d,0x00000002,0x00000004,0x00050051, |
| 1991 | 0x00000027,0x000020ce,0x00005f40,0x00000001, | 2192 | 0x00000027,0x00002397,0x00006364,0x00000002, |
| 1992 | 0x0004007c,0x00000006,0x000022b5,0x000020ce, | 2193 | 0x0004007c,0x00000006,0x00002536,0x00002397, |
| 1993 | 0x00050095,0x0000013d,0x000022d0,0x0000222a, | 2194 | 0x00050095,0x00000145,0x00002551,0x000024fd, |
| 1994 | 0x00000205,0x00050051,0x00000006,0x000022d1, | 2195 | 0x000001f7,0x00050051,0x00000006,0x00002552, |
| 1995 | 0x000022d0,0x00000001,0x00050051,0x00000006, | 2196 | 0x00002551,0x00000001,0x00050051,0x00000006, |
| 1996 | 0x000022d2,0x000022d0,0x00000000,0x00050080, | 2197 | 0x00002553,0x00002551,0x00000000,0x00050080, |
| 1997 | 0x00000006,0x000022d7,0x00002231,0x000022d1, | 2198 | 0x00000006,0x00002558,0x00002504,0x00002552, |
| 1998 | 0x00050050,0x00000007,0x000022d8,0x000022d2, | 2199 | 0x00050050,0x00000007,0x00002559,0x00002553, |
| 1999 | 0x000022d7,0x0004007c,0x00000014,0x000022c8, | 2200 | 0x00002558,0x0004007c,0x00000014,0x00002549, |
| 2000 | 0x000022d8,0x00060041,0x0000016c,0x000022c0, | 2201 | 0x00002559,0x00060041,0x00000174,0x00002541, |
| 2001 | 0x000022c8,0x0000016b,0x0000016b,0x0005003e, | 2202 | 0x00002549,0x00000173,0x00000173,0x0005003e, |
| 2002 | 0x000022c0,0x000022b5,0x00000002,0x00000004, | 2203 | 0x00002541,0x00002536,0x00000002,0x00000004, |
| 2003 | 0x00050051,0x00000027,0x000020d3,0x00005f40, | 2204 | 0x00050051,0x00000027,0x0000239c,0x00006368, |
| 2004 | 0x00000002,0x0004007c,0x00000006,0x000022de, | 2205 | 0x00000000,0x0004007c,0x00000006,0x0000255f, |
| 2005 | 0x000020d3,0x00050095,0x0000013d,0x000022f9, | 2206 | 0x0000239c,0x00050095,0x00000145,0x0000257a, |
| 2006 | 0x0000222a,0x00000500,0x00050051,0x00000006, | 2207 | 0x000024fd,0x0000073f,0x00050051,0x00000006, |
| 2007 | 0x000022fa,0x000022f9,0x00000001,0x00050051, | 2208 | 0x0000257b,0x0000257a,0x00000001,0x00050051, |
| 2008 | 0x00000006,0x000022fb,0x000022f9,0x00000000, | 2209 | 0x00000006,0x0000257c,0x0000257a,0x00000000, |
| 2009 | 0x00050080,0x00000006,0x00002300,0x00002231, | 2210 | 0x00050080,0x00000006,0x00002581,0x00002504, |
| 2010 | 0x000022fa,0x00050050,0x00000007,0x00002301, | 2211 | 0x0000257b,0x00050050,0x00000007,0x00002582, |
| 2011 | 0x000022fb,0x00002300,0x0004007c,0x00000014, | 2212 | 0x0000257c,0x00002581,0x0004007c,0x00000014, |
| 2012 | 0x000022f1,0x00002301,0x00060041,0x0000016c, | 2213 | 0x00002572,0x00002582,0x00060041,0x00000174, |
| 2013 | 0x000022e9,0x000022f1,0x0000016b,0x0000016b, | 2214 | 0x0000256a,0x00002572,0x00000173,0x00000173, |
| 2014 | 0x0005003e,0x000022e9,0x000022de,0x00000002, | 2215 | 0x0005003e,0x0000256a,0x0000255f,0x00000002, |
| 2015 | 0x00000004,0x00050041,0x000001bb,0x000020d5, | 2216 | 0x00000004,0x00050051,0x00000027,0x000023a1, |
| 2016 | 0x000001b9,0x00000434,0x0004003d,0x00000006, | 2217 | 0x00006368,0x00000001,0x0004007c,0x00000006, |
| 2017 | 0x000020d6,0x000020d5,0x000500aa,0x0000002f, | 2218 | 0x00002588,0x000023a1,0x00050095,0x00000145, |
| 2018 | 0x000020d7,0x000020d6,0x00000142,0x000300f7, | 2219 | 0x000025a3,0x000024fd,0x0000020d,0x00050051, |
| 2019 | 0x000020d9,0x00000000,0x000400fa,0x000020d7, | 2220 | 0x00000006,0x000025a4,0x000025a3,0x00000001, |
| 2020 | 0x000020d8,0x000020d9,0x000200f8,0x000020d8, | 2221 | 0x00050051,0x00000006,0x000025a5,0x000025a3, |
| 2021 | 0x000200f9,0x0000212c,0x000200f8,0x000020d9, | 2222 | 0x00000000,0x00050080,0x00000006,0x000025aa, |
| 2022 | 0x000500b2,0x0000002f,0x000020dc,0x00002177, | 2223 | 0x00002504,0x000025a4,0x00050050,0x00000007, |
| 2023 | 0x00000142,0x000300f7,0x000020e2,0x00000000, | 2224 | 0x000025ab,0x000025a5,0x000025aa,0x0004007c, |
| 2024 | 0x000400fa,0x000020dc,0x000020dd,0x000020de, | 2225 | 0x00000014,0x0000259b,0x000025ab,0x00060041, |
| 2025 | 0x000200f8,0x000020de,0x00050095,0x0000013d, | 2226 | 0x00000174,0x00002593,0x0000259b,0x00000173, |
| 2026 | 0x0000231a,0x000021a7,0x000001ef,0x00050051, | 2227 | 0x00000173,0x0005003e,0x00002593,0x00002588, |
| 2027 | 0x00000006,0x0000231b,0x0000231a,0x00000001, | 2228 | 0x00000002,0x00000004,0x00050051,0x00000027, |
| 2028 | 0x00050051,0x00000006,0x0000231c,0x0000231a, | 2229 | 0x000023a6,0x00006368,0x00000002,0x0004007c, |
| 2029 | 0x00000000,0x00050080,0x00000006,0x00002321, | 2230 | 0x00000006,0x000025b1,0x000023a6,0x00050095, |
| 2030 | 0x000021ae,0x0000231b,0x00050050,0x00000007, | 2231 | 0x00000145,0x000025cc,0x000024fd,0x00000567, |
| 2031 | 0x00002322,0x0000231c,0x00002321,0x0004007c, | 2232 | 0x00050051,0x00000006,0x000025cd,0x000025cc, |
| 2032 | 0x00000014,0x00002312,0x00002322,0x00060041, | 2233 | 0x00000001,0x00050051,0x00000006,0x000025ce, |
| 2033 | 0x0000016c,0x00002309,0x00002312,0x0000016b, | 2234 | 0x000025cc,0x00000000,0x00050080,0x00000006, |
| 2034 | 0x0000016b,0x0006003d,0x00000006,0x0000230a, | 2235 | 0x000025d3,0x00002504,0x000025cd,0x00050050, |
| 2035 | 0x00002309,0x00000002,0x00000004,0x000200f9, | 2236 | 0x00000007,0x000025d4,0x000025ce,0x000025d3, |
| 2036 | 0x000020e2,0x000200f8,0x000020dd,0x000200f9, | 2237 | 0x0004007c,0x00000014,0x000025c4,0x000025d4, |
| 2037 | 0x000020e2,0x000200f8,0x000020e2,0x000700f5, | 2238 | 0x00060041,0x00000174,0x000025bc,0x000025c4, |
| 2038 | 0x00000006,0x00005f41,0x00000142,0x000020dd, | 2239 | 0x00000173,0x00000173,0x0005003e,0x000025bc, |
| 2039 | 0x0000230a,0x000020de,0x00050041,0x000001bb, | 2240 | 0x000025b1,0x00000002,0x00000004,0x00050041, |
| 2040 | 0x000020e4,0x000001b9,0x0000035a,0x0004003d, | 2241 | 0x000001c3,0x000023a8,0x000001c1,0x0000049b, |
| 2041 | 0x00000006,0x000020e5,0x000020e4,0x00050041, | 2242 | 0x0004003d,0x00000006,0x000023a9,0x000023a8, |
| 2042 | 0x000001bb,0x00002329,0x000001b9,0x00000334, | 2243 | 0x000500aa,0x0000002f,0x000023aa,0x000023a9, |
| 2043 | 0x0004003d,0x00000006,0x0000232a,0x00002329, | 2244 | 0x0000014a,0x000300f7,0x000023ac,0x00000000, |
| 2044 | 0x000500c7,0x00000006,0x0000232b,0x0000232a, | 2245 | 0x000400fa,0x000023aa,0x000023ab,0x000023ac, |
| 2045 | 0x00000280,0x000500ab,0x0000002f,0x0000232c, | 2246 | 0x000200f8,0x000023ab,0x000200f9,0x000023ff, |
| 2046 | 0x0000232b,0x00000138,0x000600a9,0x00000006, | 2247 | 0x000200f8,0x000023ac,0x000500b2,0x0000002f, |
| 2047 | 0x00002326,0x0000232c,0x000001c4,0x00000342, | 2248 | 0x000023af,0x0000244a,0x0000014a,0x000300f7, |
| 2048 | 0x00050084,0x00000006,0x000020e8,0x00002326, | 2249 | 0x000023b5,0x00000000,0x000400fa,0x000023af, |
| 2049 | 0x00005f41,0x00050080,0x00000006,0x000020e9, | 2250 | 0x000023b0,0x000023b1,0x000200f8,0x000023b1, |
| 2050 | 0x000020e5,0x000020e8,0x000300f7,0x000020fe, | 2251 | 0x00050095,0x00000145,0x000025ed,0x0000247a, |
| 2051 | 0x00000000,0x000400fa,0x0000232c,0x000020eb, | 2252 | 0x000001f7,0x00050051,0x00000006,0x000025ee, |
| 2052 | 0x000020fe,0x000200f8,0x000020eb,0x000200f9, | 2253 | 0x000025ed,0x00000001,0x00050051,0x00000006, |
| 2053 | 0x000020ec,0x000200f8,0x000020ec,0x000700f5, | 2254 | 0x000025ef,0x000025ed,0x00000000,0x00050080, |
| 2054 | 0x00000006,0x00005f42,0x00000138,0x000020eb, | 2255 | 0x00000006,0x000025f4,0x00002481,0x000025ee, |
| 2055 | 0x000020fa,0x000020f0,0x000500b0,0x0000002f, | 2256 | 0x00050050,0x00000007,0x000025f5,0x000025ef, |
| 2056 | 0x000020ef,0x00005f42,0x000001db,0x000400f6, | 2257 | 0x000025f4,0x0004007c,0x00000014,0x000025e5, |
| 2057 | 0x000020fb,0x000020f0,0x00000000,0x000400fa, | 2258 | 0x000025f5,0x00060041,0x00000174,0x000025dc, |
| 2058 | 0x000020ef,0x000020f0,0x000020fb,0x000200f8, | 2259 | 0x000025e5,0x00000173,0x00000173,0x0006003d, |
| 2059 | 0x000020f0,0x00050084,0x00000006,0x000020f3, | 2260 | 0x00000006,0x000025dd,0x000025dc,0x00000002, |
| 2060 | 0x000000ec,0x00005f42,0x00050080,0x00000006, | 2261 | 0x00000004,0x000200f9,0x000023b5,0x000200f8, |
| 2061 | 0x000020f4,0x000020e9,0x000020f3,0x00050095, | 2262 | 0x000023b0,0x000200f9,0x000023b5,0x000200f8, |
| 2062 | 0x0000013d,0x0000234a,0x0000222a,0x000020f4, | 2263 | 0x000023b5,0x000700f5,0x00000006,0x00006369, |
| 2063 | 0x00050051,0x00000006,0x0000234b,0x0000234a, | 2264 | 0x0000014a,0x000023b0,0x000025dd,0x000023b1, |
| 2064 | 0x00000001,0x00050051,0x00000006,0x0000234c, | 2265 | 0x00050041,0x000001c3,0x000023b7,0x000001c1, |
| 2065 | 0x0000234a,0x00000000,0x00050080,0x00000006, | 2266 | 0x00000362,0x0004003d,0x00000006,0x000023b8, |
| 2066 | 0x00002351,0x00002231,0x0000234b,0x00050050, | 2267 | 0x000023b7,0x000500c7,0x00000006,0x000025fe, |
| 2067 | 0x00000007,0x00002352,0x0000234c,0x00002351, | 2268 | 0x000013a9,0x00000288,0x000500ab,0x0000002f, |
| 2068 | 0x0004007c,0x00000014,0x00002342,0x00002352, | 2269 | 0x000025ff,0x000025fe,0x00000140,0x000600a9, |
| 2069 | 0x00060041,0x0000016c,0x0000233a,0x00002342, | 2270 | 0x00000006,0x000025f9,0x000025ff,0x000001cc, |
| 2070 | 0x0000016b,0x0000016b,0x0005003e,0x0000233a, | 2271 | 0x0000034a,0x00050084,0x00000006,0x000023bb, |
| 2071 | 0x00000138,0x00000002,0x00000004,0x00050080, | 2272 | 0x000025f9,0x00006369,0x00050080,0x00000006, |
| 2072 | 0x00000006,0x000020fa,0x00005f42,0x00000264, | 2273 | 0x000023bc,0x000023b8,0x000023bb,0x000300f7, |
| 2073 | 0x000200f9,0x000020ec,0x000200f8,0x000020fb, | 2274 | 0x000023d1,0x00000000,0x000400fa,0x000025ff, |
| 2074 | 0x00050080,0x00000006,0x000020fd,0x000020e9, | 2275 | 0x000023be,0x000023d1,0x000200f8,0x000023be, |
| 2075 | 0x000001c4,0x000200f9,0x000020fe,0x000200f8, | 2276 | 0x000200f9,0x000023bf,0x000200f8,0x000023bf, |
| 2076 | 0x000020fe,0x000700f5,0x00000006,0x00005f44, | 2277 | 0x000700f5,0x00000006,0x0000636a,0x00000140, |
| 2077 | 0x000020e9,0x000020e2,0x000020fd,0x000020fb, | 2278 | 0x000023be,0x000023cd,0x000023c3,0x000500b0, |
| 2078 | 0x000500c7,0x00000006,0x00002357,0x0000232a, | 2279 | 0x0000002f,0x000023c2,0x0000636a,0x000001e3, |
| 2079 | 0x00000142,0x000500ab,0x0000002f,0x00002358, | 2280 | 0x000400f6,0x000023ce,0x000023c3,0x00000000, |
| 2080 | 0x00002357,0x00000138,0x000600a9,0x00000006, | 2281 | 0x000400fa,0x000023c2,0x000023c3,0x000023ce, |
| 2081 | 0x00002101,0x00002358,0x00000355,0x0000610e, | 2282 | 0x000200f8,0x000023c3,0x00050084,0x00000006, |
| 2082 | 0x00050095,0x0000013d,0x00002370,0x0000222a, | 2283 | 0x000023c6,0x000000f3,0x0000636a,0x00050080, |
| 2083 | 0x00000138,0x00050051,0x00000006,0x00002371, | 2284 | 0x00000006,0x000023c7,0x000023bc,0x000023c6, |
| 2084 | 0x00002370,0x00000001,0x00050051,0x00000006, | 2285 | 0x00050095,0x00000145,0x0000261d,0x000024fd, |
| 2085 | 0x00002372,0x00002370,0x00000000,0x00050080, | 2286 | 0x000023c7,0x00050051,0x00000006,0x0000261e, |
| 2086 | 0x00000006,0x00002377,0x00002231,0x00002371, | 2287 | 0x0000261d,0x00000001,0x00050051,0x00000006, |
| 2087 | 0x00050050,0x00000007,0x00002378,0x00002372, | 2288 | 0x0000261f,0x0000261d,0x00000000,0x00050080, |
| 2088 | 0x00002377,0x0004007c,0x00000014,0x00002368, | 2289 | 0x00000006,0x00002624,0x00002504,0x0000261e, |
| 2089 | 0x00002378,0x00060041,0x0000016c,0x00002360, | 2290 | 0x00050050,0x00000007,0x00002625,0x0000261f, |
| 2090 | 0x00002368,0x0000016b,0x0000016b,0x0005003e, | 2291 | 0x00002624,0x0004007c,0x00000014,0x00002615, |
| 2091 | 0x00002360,0x00002101,0x00000002,0x00000004, | 2292 | 0x00002625,0x00060041,0x00000174,0x0000260d, |
| 2092 | 0x00050086,0x00000006,0x00002106,0x00005f44, | 2293 | 0x00002615,0x00000173,0x00000173,0x0005003e, |
| 2093 | 0x000001c4,0x00050082,0x00000006,0x00002107, | 2294 | 0x0000260d,0x00000140,0x00000002,0x00000004, |
| 2094 | 0x00002106,0x00000142,0x00050095,0x0000013d, | 2295 | 0x00050080,0x00000006,0x000023cd,0x0000636a, |
| 2095 | 0x00002390,0x0000222a,0x000000ec,0x00050051, | 2296 | 0x0000026c,0x000200f9,0x000023bf,0x000200f8, |
| 2096 | 0x00000006,0x00002391,0x00002390,0x00000001, | 2297 | 0x000023ce,0x00050080,0x00000006,0x000023d0, |
| 2097 | 0x00050051,0x00000006,0x00002392,0x00002390, | 2298 | 0x000023bc,0x000001cc,0x000200f9,0x000023d1, |
| 2098 | 0x00000000,0x00050080,0x00000006,0x00002397, | 2299 | 0x000200f8,0x000023d1,0x000700f5,0x00000006, |
| 2099 | 0x00002231,0x00002391,0x00050050,0x00000007, | 2300 | 0x0000636c,0x000023bc,0x000023b5,0x000023d0, |
| 2100 | 0x00002398,0x00002392,0x00002397,0x0004007c, | 2301 | 0x000023ce,0x000500c7,0x00000006,0x0000262a, |
| 2101 | 0x00000014,0x00002388,0x00002398,0x00060041, | 2302 | 0x000013a9,0x0000014a,0x000500ab,0x0000002f, |
| 2102 | 0x0000016c,0x00002380,0x00002388,0x0000016b, | 2303 | 0x0000262b,0x0000262a,0x00000140,0x000600a9, |
| 2103 | 0x0000016b,0x0005003e,0x00002380,0x00002107, | 2304 | 0x00000006,0x000023d4,0x0000262b,0x0000035d, |
| 2104 | 0x00000002,0x00000004,0x00050095,0x0000013d, | 2305 | 0x00006542,0x00050095,0x00000145,0x00002643, |
| 2105 | 0x000023b0,0x0000222a,0x000001cd,0x00050051, | 2306 | 0x000024fd,0x00000140,0x00050051,0x00000006, |
| 2106 | 0x00000006,0x000023b1,0x000023b0,0x00000001, | 2307 | 0x00002644,0x00002643,0x00000001,0x00050051, |
| 2107 | 0x00050051,0x00000006,0x000023b2,0x000023b0, | 2308 | 0x00000006,0x00002645,0x00002643,0x00000000, |
| 2108 | 0x00000000,0x00050080,0x00000006,0x000023b7, | 2309 | 0x00050080,0x00000006,0x0000264a,0x00002504, |
| 2109 | 0x00002231,0x000023b1,0x00050050,0x00000007, | 2310 | 0x00002644,0x00050050,0x00000007,0x0000264b, |
| 2110 | 0x000023b8,0x000023b2,0x000023b7,0x0004007c, | 2311 | 0x00002645,0x0000264a,0x0004007c,0x00000014, |
| 2111 | 0x00000014,0x000023a8,0x000023b8,0x00060041, | 2312 | 0x0000263b,0x0000264b,0x00060041,0x00000174, |
| 2112 | 0x0000016c,0x000023a0,0x000023a8,0x0000016b, | 2313 | 0x00002633,0x0000263b,0x00000173,0x00000173, |
| 2113 | 0x0000016b,0x0005003e,0x000023a0,0x00000138, | 2314 | 0x0005003e,0x00002633,0x000023d4,0x00000002, |
| 2114 | 0x00000002,0x00000004,0x00050095,0x0000013d, | 2315 | 0x00000004,0x00050086,0x00000006,0x000023d9, |
| 2115 | 0x000023d0,0x0000222a,0x000001d4,0x00050051, | 2316 | 0x0000636c,0x000001cc,0x00050082,0x00000006, |
| 2116 | 0x00000006,0x000023d1,0x000023d0,0x00000001, | 2317 | 0x000023da,0x000023d9,0x0000014a,0x00050095, |
| 2117 | 0x00050051,0x00000006,0x000023d2,0x000023d0, | 2318 | 0x00000145,0x00002663,0x000024fd,0x000000f3, |
| 2118 | 0x00000000,0x00050080,0x00000006,0x000023d7, | 2319 | 0x00050051,0x00000006,0x00002664,0x00002663, |
| 2119 | 0x00002231,0x000023d1,0x00050050,0x00000007, | 2320 | 0x00000001,0x00050051,0x00000006,0x00002665, |
| 2120 | 0x000023d8,0x000023d2,0x000023d7,0x0004007c, | 2321 | 0x00002663,0x00000000,0x00050080,0x00000006, |
| 2121 | 0x00000014,0x000023c8,0x000023d8,0x00060041, | 2322 | 0x0000266a,0x00002504,0x00002664,0x00050050, |
| 2122 | 0x0000016c,0x000023c0,0x000023c8,0x0000016b, | 2323 | 0x00000007,0x0000266b,0x00002665,0x0000266a, |
| 2123 | 0x0000016b,0x0005003e,0x000023c0,0x00002177, | 2324 | 0x0004007c,0x00000014,0x0000265b,0x0000266b, |
| 2124 | 0x00000002,0x00000004,0x00050095,0x0000013d, | 2325 | 0x00060041,0x00000174,0x00002653,0x0000265b, |
| 2125 | 0x000023f0,0x0000222a,0x0000050b,0x00050051, | 2326 | 0x00000173,0x00000173,0x0005003e,0x00002653, |
| 2126 | 0x00000006,0x000023f1,0x000023f0,0x00000001, | 2327 | 0x000023da,0x00000002,0x00000004,0x00050095, |
| 2127 | 0x00050051,0x00000006,0x000023f2,0x000023f0, | 2328 | 0x00000145,0x00002683,0x000024fd,0x000001d5, |
| 2128 | 0x00000000,0x00050080,0x00000006,0x000023f7, | 2329 | 0x00050051,0x00000006,0x00002684,0x00002683, |
| 2129 | 0x00002231,0x000023f1,0x00050050,0x00000007, | 2330 | 0x00000001,0x00050051,0x00000006,0x00002685, |
| 2130 | 0x000023f8,0x000023f2,0x000023f7,0x0004007c, | 2331 | 0x00002683,0x00000000,0x00050080,0x00000006, |
| 2131 | 0x00000014,0x000023e8,0x000023f8,0x00060041, | 2332 | 0x0000268a,0x00002504,0x00002684,0x00050050, |
| 2132 | 0x0000016c,0x000023e0,0x000023e8,0x0000016b, | 2333 | 0x00000007,0x0000268b,0x00002685,0x0000268a, |
| 2133 | 0x0000016b,0x0005003e,0x000023e0,0x000020e5, | 2334 | 0x0004007c,0x00000014,0x0000267b,0x0000268b, |
| 2134 | 0x00000002,0x00000004,0x00050095,0x0000013d, | 2335 | 0x00060041,0x00000174,0x00002673,0x0000267b, |
| 2135 | 0x00002410,0x0000222a,0x00000516,0x00050051, | 2336 | 0x00000173,0x00000173,0x0005003e,0x00002673, |
| 2136 | 0x00000006,0x00002411,0x00002410,0x00000001, | 2337 | 0x00000140,0x00000002,0x00000004,0x00050095, |
| 2137 | 0x00050051,0x00000006,0x00002412,0x00002410, | 2338 | 0x00000145,0x000026a3,0x000024fd,0x000001dc, |
| 2138 | 0x00000000,0x00050080,0x00000006,0x00002417, | 2339 | 0x00050051,0x00000006,0x000026a4,0x000026a3, |
| 2139 | 0x00002231,0x00002411,0x00050050,0x00000007, | 2340 | 0x00000001,0x00050051,0x00000006,0x000026a5, |
| 2140 | 0x00002418,0x00002412,0x00002417,0x0004007c, | 2341 | 0x000026a3,0x00000000,0x00050080,0x00000006, |
| 2141 | 0x00000014,0x00002408,0x00002418,0x00060041, | 2342 | 0x000026aa,0x00002504,0x000026a4,0x00050050, |
| 2142 | 0x0000016c,0x00002400,0x00002408,0x0000016b, | 2343 | 0x00000007,0x000026ab,0x000026a5,0x000026aa, |
| 2143 | 0x0000016b,0x0005003e,0x00002400,0x00000138, | 2344 | 0x0004007c,0x00000014,0x0000269b,0x000026ab, |
| 2144 | 0x00000002,0x00000004,0x000500c2,0x00000006, | 2345 | 0x00060041,0x00000174,0x00002693,0x0000269b, |
| 2145 | 0x00002421,0x000020e5,0x00000351,0x000500c4, | 2346 | 0x00000173,0x00000173,0x0005003e,0x00002693, |
| 2146 | 0x00000006,0x00002422,0x00002421,0x0000031d, | 2347 | 0x0000244a,0x00000002,0x00000004,0x00050095, |
| 2147 | 0x000600a9,0x00000006,0x00002424,0x0000232c, | 2348 | 0x00000145,0x000026c3,0x000024fd,0x00000572, |
| 2148 | 0x000000ec,0x00000364,0x000500c5,0x00000006, | 2349 | 0x00050051,0x00000006,0x000026c4,0x000026c3, |
| 2149 | 0x00002425,0x00002422,0x00002424,0x00050095, | 2350 | 0x00000001,0x00050051,0x00000006,0x000026c5, |
| 2150 | 0x0000013d,0x0000244d,0x0000222a,0x00000521, | 2351 | 0x000026c3,0x00000000,0x00050080,0x00000006, |
| 2151 | 0x00050051,0x00000006,0x0000244e,0x0000244d, | 2352 | 0x000026ca,0x00002504,0x000026c4,0x00050050, |
| 2152 | 0x00000001,0x00050051,0x00000006,0x0000244f, | 2353 | 0x00000007,0x000026cb,0x000026c5,0x000026ca, |
| 2153 | 0x0000244d,0x00000000,0x00050080,0x00000006, | 2354 | 0x0004007c,0x00000014,0x000026bb,0x000026cb, |
| 2154 | 0x00002454,0x00002231,0x0000244e,0x00050050, | 2355 | 0x00060041,0x00000174,0x000026b3,0x000026bb, |
| 2155 | 0x00000007,0x00002455,0x0000244f,0x00002454, | 2356 | 0x00000173,0x00000173,0x0005003e,0x000026b3, |
| 2156 | 0x0004007c,0x00000014,0x00002445,0x00002455, | 2357 | 0x000023b8,0x00000002,0x00000004,0x00050095, |
| 2157 | 0x00060041,0x0000016c,0x0000243d,0x00002445, | 2358 | 0x00000145,0x000026e3,0x000024fd,0x0000057d, |
| 2158 | 0x0000016b,0x0000016b,0x0005003e,0x0000243d, | 2359 | 0x00050051,0x00000006,0x000026e4,0x000026e3, |
| 2159 | 0x00002425,0x00000002,0x00000004,0x00050041, | 2360 | 0x00000001,0x00050051,0x00000006,0x000026e5, |
| 2160 | 0x000001bb,0x00002121,0x000001b9,0x0000034a, | 2361 | 0x000026e3,0x00000000,0x00050080,0x00000006, |
| 2161 | 0x0004003d,0x00000006,0x00002122,0x00002121, | 2362 | 0x000026ea,0x00002504,0x000026e4,0x00050050, |
| 2162 | 0x00050095,0x0000013d,0x0000246d,0x0000222a, | 2363 | 0x00000007,0x000026eb,0x000026e5,0x000026ea, |
| 2163 | 0x0000052d,0x00050051,0x00000006,0x0000246e, | 2364 | 0x0004007c,0x00000014,0x000026db,0x000026eb, |
| 2164 | 0x0000246d,0x00000001,0x00050051,0x00000006, | 2365 | 0x00060041,0x00000174,0x000026d3,0x000026db, |
| 2165 | 0x0000246f,0x0000246d,0x00000000,0x00050080, | 2366 | 0x00000173,0x00000173,0x0005003e,0x000026d3, |
| 2166 | 0x00000006,0x00002474,0x00002231,0x0000246e, | 2367 | 0x00000140,0x00000002,0x00000004,0x000500c2, |
| 2167 | 0x00050050,0x00000007,0x00002475,0x0000246f, | 2368 | 0x00000006,0x000026f4,0x000023b8,0x00000359, |
| 2168 | 0x00002474,0x0004007c,0x00000014,0x00002465, | 2369 | 0x000500c4,0x00000006,0x000026f5,0x000026f4, |
| 2169 | 0x00002475,0x00060041,0x0000016c,0x0000245d, | 2370 | 0x00000325,0x000600a9,0x00000006,0x000026f7, |
| 2170 | 0x00002465,0x0000016b,0x0000016b,0x0005003e, | 2371 | 0x000025ff,0x000000f3,0x0000036c,0x000500c5, |
| 2171 | 0x0000245d,0x00002122,0x00000002,0x00000004, | 2372 | 0x00000006,0x000026f8,0x000026f5,0x000026f7, |
| 2172 | 0x00050041,0x000001bb,0x00002126,0x000001b9, | 2373 | 0x00050095,0x00000145,0x00002720,0x000024fd, |
| 2173 | 0x000010be,0x0004003d,0x00000006,0x00002127, | 2374 | 0x00000588,0x00050051,0x00000006,0x00002721, |
| 2174 | 0x00002126,0x00050095,0x0000013d,0x0000248d, | 2375 | 0x00002720,0x00000001,0x00050051,0x00000006, |
| 2175 | 0x0000222a,0x00000537,0x00050051,0x00000006, | 2376 | 0x00002722,0x00002720,0x00000000,0x00050080, |
| 2176 | 0x0000248e,0x0000248d,0x00000001,0x00050051, | 2377 | 0x00000006,0x00002727,0x00002504,0x00002721, |
| 2177 | 0x00000006,0x0000248f,0x0000248d,0x00000000, | 2378 | 0x00050050,0x00000007,0x00002728,0x00002722, |
| 2178 | 0x00050080,0x00000006,0x00002494,0x00002231, | 2379 | 0x00002727,0x0004007c,0x00000014,0x00002718, |
| 2179 | 0x0000248e,0x00050050,0x00000007,0x00002495, | 2380 | 0x00002728,0x00060041,0x00000174,0x00002710, |
| 2180 | 0x0000248f,0x00002494,0x0004007c,0x00000014, | 2381 | 0x00002718,0x00000173,0x00000173,0x0005003e, |
| 2181 | 0x00002485,0x00002495,0x00060041,0x0000016c, | 2382 | 0x00002710,0x000026f8,0x00000002,0x00000004, |
| 2182 | 0x0000247d,0x00002485,0x0000016b,0x0000016b, | 2383 | 0x00050041,0x000001c3,0x000023f4,0x000001c1, |
| 2183 | 0x0005003e,0x0000247d,0x00002127,0x00000002, | 2384 | 0x00000352,0x0004003d,0x00000006,0x000023f5, |
| 2184 | 0x00000004,0x00050095,0x0000013d,0x000024ad, | 2385 | 0x000023f4,0x00050095,0x00000145,0x00002740, |
| 2185 | 0x0000222a,0x00000541,0x00050051,0x00000006, | 2386 | 0x000024fd,0x00000594,0x00050051,0x00000006, |
| 2186 | 0x000024ae,0x000024ad,0x00000001,0x00050051, | 2387 | 0x00002741,0x00002740,0x00000001,0x00050051, |
| 2187 | 0x00000006,0x000024af,0x000024ad,0x00000000, | 2388 | 0x00000006,0x00002742,0x00002740,0x00000000, |
| 2188 | 0x00050080,0x00000006,0x000024b4,0x00002231, | 2389 | 0x00050080,0x00000006,0x00002747,0x00002504, |
| 2189 | 0x000024ae,0x00050050,0x00000007,0x000024b5, | 2390 | 0x00002741,0x00050050,0x00000007,0x00002748, |
| 2190 | 0x000024af,0x000024b4,0x0004007c,0x00000014, | 2391 | 0x00002742,0x00002747,0x0004007c,0x00000014, |
| 2191 | 0x000024a5,0x000024b5,0x00060041,0x0000016c, | 2392 | 0x00002738,0x00002748,0x00060041,0x00000174, |
| 2192 | 0x0000249d,0x000024a5,0x0000016b,0x0000016b, | 2393 | 0x00002730,0x00002738,0x00000173,0x00000173, |
| 2193 | 0x0005003e,0x0000249d,0x00000138,0x00000002, | 2394 | 0x0005003e,0x00002730,0x000023f5,0x00000002, |
| 2194 | 0x00000004,0x000200f9,0x0000212c,0x000200f8, | 2395 | 0x00000004,0x00050041,0x000001c3,0x000023f9, |
| 2195 | 0x0000212c,0x000200f9,0x0000134b,0x000200f8, | 2396 | 0x000001c1,0x000003c1,0x0004003d,0x00000006, |
| 2196 | 0x0000134b,0x000200f9,0x000013fd,0x000200f8, | 2397 | 0x000023fa,0x000023f9,0x00050095,0x00000145, |
| 2197 | 0x00001347,0x00050041,0x000001bb,0x0000134f, | 2398 | 0x00002760,0x000024fd,0x0000059e,0x00050051, |
| 2198 | 0x000001b9,0x0000074d,0x0004003d,0x00000006, | 2399 | 0x00000006,0x00002761,0x00002760,0x00000001, |
| 2199 | 0x00001350,0x0000134f,0x000500ae,0x0000002f, | 2400 | 0x00050051,0x00000006,0x00002762,0x00002760, |
| 2200 | 0x00001351,0x000012dd,0x00001350,0x000300f7, | 2401 | 0x00000000,0x00050080,0x00000006,0x00002767, |
| 2201 | 0x00001353,0x00000000,0x000400fa,0x00001351, | 2402 | 0x00002504,0x00002761,0x00050050,0x00000007, |
| 2202 | 0x00001352,0x00001353,0x000200f8,0x00001352, | 2403 | 0x00002768,0x00002762,0x00002767,0x0004007c, |
| 2203 | 0x000200f9,0x000013fd,0x000200f8,0x00001353, | 2404 | 0x00000014,0x00002758,0x00002768,0x00060041, |
| 2204 | 0x000500aa,0x0000002f,0x00001358,0x000012df, | 2405 | 0x00000174,0x00002750,0x00002758,0x00000173, |
| 2205 | 0x00001357,0x000300f7,0x0000135a,0x00000000, | 2406 | 0x00000173,0x0005003e,0x00002750,0x000023fa, |
| 2206 | 0x000400fa,0x00001358,0x00001359,0x0000135a, | 2407 | 0x00000002,0x00000004,0x00050095,0x00000145, |
| 2207 | 0x000200f8,0x00001359,0x000500aa,0x0000002f, | 2408 | 0x00002780,0x000024fd,0x000005a7,0x00050051, |
| 2208 | 0x0000135c,0x000012dd,0x00000138,0x000300f7, | 2409 | 0x00000006,0x00002781,0x00002780,0x00000001, |
| 2209 | 0x0000135e,0x00000000,0x000400fa,0x0000135c, | 2410 | 0x00050051,0x00000006,0x00002782,0x00002780, |
| 2210 | 0x0000135d,0x0000135e,0x000200f8,0x0000135d, | 2411 | 0x00000000,0x00050080,0x00000006,0x00002787, |
| 2211 | 0x00050041,0x00000266,0x00001360,0x000001b9, | 2412 | 0x00002504,0x00002781,0x00050050,0x00000007, |
| 2212 | 0x00000315,0x0004003d,0x00000007,0x00001361, | 2413 | 0x00002788,0x00002782,0x00002787,0x0004007c, |
| 2213 | 0x00001360,0x00050051,0x00000006,0x000024cc, | 2414 | 0x00000014,0x00002778,0x00002788,0x00060041, |
| 2214 | 0x00001361,0x00000000,0x00050095,0x0000013d, | 2415 | 0x00000174,0x00002770,0x00002778,0x00000173, |
| 2215 | 0x000024ce,0x000024cc,0x000000ec,0x00050051, | 2416 | 0x00000173,0x0005003e,0x00002770,0x00000140, |
| 2216 | 0x00000006,0x000024cf,0x000024ce,0x00000001, | 2417 | 0x00000002,0x00000004,0x000200f9,0x000023ff, |
| 2217 | 0x00050051,0x00000006,0x000024d0,0x000024ce, | 2418 | 0x000200f8,0x000023ff,0x000200f9,0x0000143d, |
| 2218 | 0x00000000,0x00050051,0x00000006,0x000024d3, | 2419 | 0x000200f8,0x0000143d,0x000200f9,0x000014ef, |
| 2219 | 0x00001361,0x00000001,0x00050080,0x00000006, | 2420 | 0x000200f8,0x00001439,0x00050041,0x000001c3, |
| 2220 | 0x000024d5,0x000024d3,0x000024cf,0x00050050, | 2421 | 0x00001441,0x000001c1,0x000007b3,0x0004003d, |
| 2221 | 0x00000007,0x000024d6,0x000024d0,0x000024d5, | 2422 | 0x00000006,0x00001442,0x00001441,0x000500ae, |
| 2222 | 0x0004007c,0x00000014,0x000024c6,0x000024d6, | 2423 | 0x0000002f,0x00001443,0x000013a7,0x00001442, |
| 2223 | 0x00060041,0x0000016c,0x000024bd,0x000024c6, | 2424 | 0x000300f7,0x00001445,0x00000000,0x000400fa, |
| 2224 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 2425 | 0x00001443,0x00001444,0x00001445,0x000200f8, |
| 2225 | 0x000024be,0x000024bd,0x00000002,0x00000004, | 2426 | 0x00001444,0x000200f9,0x000014ef,0x000200f8, |
| 2226 | 0x00050080,0x00000006,0x00001364,0x000024be, | 2427 | 0x00001445,0x000500aa,0x0000002f,0x0000144a, |
| 2227 | 0x00000142,0x00050084,0x00000006,0x00001365, | 2428 | 0x000013be,0x00001449,0x000300f7,0x0000144c, |
| 2228 | 0x00001364,0x000001c4,0x00050041,0x00000266, | 2429 | 0x00000000,0x000400fa,0x0000144a,0x0000144b, |
| 2229 | 0x00001367,0x000001b9,0x0000016b,0x0004003d, | 2430 | 0x0000144c,0x000200f8,0x0000144b,0x000500aa, |
| 2230 | 0x00000007,0x00001368,0x00001367,0x00050051, | 2431 | 0x0000002f,0x0000144e,0x000013a7,0x00000140, |
| 2231 | 0x00000006,0x000024ec,0x00001368,0x00000000, | 2432 | 0x000300f7,0x00001450,0x00000000,0x000400fa, |
| 2232 | 0x00050095,0x0000013d,0x000024ee,0x000024ec, | 2433 | 0x0000144e,0x0000144f,0x00001450,0x000200f8, |
| 2233 | 0x00000138,0x00050051,0x00000006,0x000024ef, | 2434 | 0x0000144f,0x00050041,0x0000026e,0x00001452, |
| 2234 | 0x000024ee,0x00000001,0x00050051,0x00000006, | 2435 | 0x000001c1,0x0000031d,0x0004003d,0x00000007, |
| 2235 | 0x000024f0,0x000024ee,0x00000000,0x00050051, | 2436 | 0x00001453,0x00001452,0x00050051,0x00000006, |
| 2236 | 0x00000006,0x000024f3,0x00001368,0x00000001, | 2437 | 0x0000279f,0x00001453,0x00000000,0x00050095, |
| 2237 | 0x00050080,0x00000006,0x000024f5,0x000024f3, | 2438 | 0x00000145,0x000027a1,0x0000279f,0x000000f3, |
| 2238 | 0x000024ef,0x00050050,0x00000007,0x000024f6, | 2439 | 0x00050051,0x00000006,0x000027a2,0x000027a1, |
| 2239 | 0x000024f0,0x000024f5,0x0004007c,0x00000014, | 2440 | 0x00000001,0x00050051,0x00000006,0x000027a3, |
| 2240 | 0x000024e6,0x000024f6,0x00060041,0x0000016c, | 2441 | 0x000027a1,0x00000000,0x00050051,0x00000006, |
| 2241 | 0x000024de,0x000024e6,0x0000016b,0x0000016b, | 2442 | 0x000027a6,0x00001453,0x00000001,0x00050080, |
| 2242 | 0x0005003e,0x000024de,0x00001365,0x00000002, | 2443 | 0x00000006,0x000027a8,0x000027a6,0x000027a2, |
| 2243 | 0x00000004,0x00050095,0x0000013d,0x0000250e, | 2444 | 0x00050050,0x00000007,0x000027a9,0x000027a3, |
| 2244 | 0x000024ec,0x000000ec,0x00050051,0x00000006, | 2445 | 0x000027a8,0x0004007c,0x00000014,0x00002799, |
| 2245 | 0x0000250f,0x0000250e,0x00000001,0x00050051, | 2446 | 0x000027a9,0x00060041,0x00000174,0x00002790, |
| 2246 | 0x00000006,0x00002510,0x0000250e,0x00000000, | 2447 | 0x00002799,0x00000173,0x00000173,0x0006003d, |
| 2247 | 0x00050080,0x00000006,0x00002515,0x000024f3, | 2448 | 0x00000006,0x00002791,0x00002790,0x00000002, |
| 2248 | 0x0000250f,0x00050050,0x00000007,0x00002516, | 2449 | 0x00000004,0x00050080,0x00000006,0x00001456, |
| 2249 | 0x00002510,0x00002515,0x0004007c,0x00000014, | 2450 | 0x00002791,0x0000014a,0x00050084,0x00000006, |
| 2250 | 0x00002506,0x00002516,0x00060041,0x0000016c, | 2451 | 0x00001457,0x00001456,0x000001cc,0x00050041, |
| 2251 | 0x000024fe,0x00002506,0x0000016b,0x0000016b, | 2452 | 0x0000026e,0x00001459,0x000001c1,0x00000173, |
| 2252 | 0x0005003e,0x000024fe,0x00000138,0x00000002, | 2453 | 0x0004003d,0x00000007,0x0000145a,0x00001459, |
| 2253 | 0x00000004,0x000200f9,0x0000135e,0x000200f8, | 2454 | 0x00050051,0x00000006,0x000027bf,0x0000145a, |
| 2254 | 0x0000135e,0x000200f9,0x000013fd,0x000200f8, | 2455 | 0x00000000,0x00050095,0x00000145,0x000027c1, |
| 2255 | 0x0000135a,0x000500aa,0x0000002f,0x00001375, | 2456 | 0x000027bf,0x00000140,0x00050051,0x00000006, |
| 2256 | 0x000012df,0x000001d4,0x000300f7,0x00001377, | 2457 | 0x000027c2,0x000027c1,0x00000001,0x00050051, |
| 2257 | 0x00000000,0x000400fa,0x00001375,0x00001376, | 2458 | 0x00000006,0x000027c3,0x000027c1,0x00000000, |
| 2258 | 0x00001377,0x000200f8,0x00001376,0x00050084, | 2459 | 0x00050051,0x00000006,0x000027c6,0x0000145a, |
| 2259 | 0x00000006,0x00001379,0x000000ec,0x000012dd, | 2460 | 0x00000001,0x00050080,0x00000006,0x000027c8, |
| 2260 | 0x00050041,0x00000266,0x0000137b,0x000001b9, | 2461 | 0x000027c6,0x000027c2,0x00050050,0x00000007, |
| 2261 | 0x00000315,0x0004003d,0x00000007,0x0000137c, | 2462 | 0x000027c9,0x000027c3,0x000027c8,0x0004007c, |
| 2262 | 0x0000137b,0x00050051,0x00000006,0x0000252d, | 2463 | 0x00000014,0x000027b9,0x000027c9,0x00060041, |
| 2263 | 0x0000137c,0x00000000,0x00050095,0x0000013d, | 2464 | 0x00000174,0x000027b1,0x000027b9,0x00000173, |
| 2264 | 0x0000252f,0x0000252d,0x000000ec,0x00050051, | 2465 | 0x00000173,0x0005003e,0x000027b1,0x00001457, |
| 2265 | 0x00000006,0x00002530,0x0000252f,0x00000001, | 2466 | 0x00000002,0x00000004,0x00050095,0x00000145, |
| 2266 | 0x00050051,0x00000006,0x00002531,0x0000252f, | 2467 | 0x000027e1,0x000027bf,0x000000f3,0x00050051, |
| 2267 | 0x00000000,0x00050051,0x00000006,0x00002534, | 2468 | 0x00000006,0x000027e2,0x000027e1,0x00000001, |
| 2268 | 0x0000137c,0x00000001,0x00050080,0x00000006, | 2469 | 0x00050051,0x00000006,0x000027e3,0x000027e1, |
| 2269 | 0x00002536,0x00002534,0x00002530,0x00050050, | 2470 | 0x00000000,0x00050080,0x00000006,0x000027e8, |
| 2270 | 0x00000007,0x00002537,0x00002531,0x00002536, | 2471 | 0x000027c6,0x000027e2,0x00050050,0x00000007, |
| 2271 | 0x0004007c,0x00000014,0x00002527,0x00002537, | 2472 | 0x000027e9,0x000027e3,0x000027e8,0x0004007c, |
| 2272 | 0x00060041,0x0000016c,0x0000251e,0x00002527, | 2473 | 0x00000014,0x000027d9,0x000027e9,0x00060041, |
| 2273 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 2474 | 0x00000174,0x000027d1,0x000027d9,0x00000173, |
| 2274 | 0x0000251f,0x0000251e,0x00000002,0x00000004, | 2475 | 0x00000173,0x0005003e,0x000027d1,0x00000140, |
| 2275 | 0x00050080,0x00000006,0x0000137f,0x0000251f, | 2476 | 0x00000002,0x00000004,0x000200f9,0x00001450, |
| 2276 | 0x00000142,0x00050084,0x00000006,0x00001380, | 2477 | 0x000200f8,0x00001450,0x000200f9,0x000014ef, |
| 2277 | 0x0000137f,0x000001c4,0x000500b0,0x0000002f, | 2478 | 0x000200f8,0x0000144c,0x000500aa,0x0000002f, |
| 2278 | 0x00001381,0x00001379,0x00001380,0x000300f7, | 2479 | 0x00001467,0x000013be,0x000001dc,0x000300f7, |
| 2279 | 0x00001383,0x00000000,0x000400fa,0x00001381, | 2480 | 0x00001469,0x00000000,0x000400fa,0x00001467, |
| 2280 | 0x00001382,0x00001383,0x000200f8,0x00001382, | 2481 | 0x00001468,0x00001469,0x000200f8,0x00001468, |
| 2281 | 0x00050095,0x0000013d,0x00002550,0x0000252d, | 2482 | 0x00050084,0x00000006,0x0000146b,0x000000f3, |
| 2282 | 0x00001379,0x00050051,0x00000006,0x00002551, | 2483 | 0x000013a7,0x00050041,0x0000026e,0x0000146d, |
| 2283 | 0x00002550,0x00000001,0x00050051,0x00000006, | 2484 | 0x000001c1,0x0000031d,0x0004003d,0x00000007, |
| 2284 | 0x00002552,0x00002550,0x00000000,0x00050080, | 2485 | 0x0000146e,0x0000146d,0x00050051,0x00000006, |
| 2285 | 0x00000006,0x00002557,0x00002534,0x00002551, | 2486 | 0x00002800,0x0000146e,0x00000000,0x00050095, |
| 2286 | 0x00050050,0x00000007,0x00002558,0x00002552, | 2487 | 0x00000145,0x00002802,0x00002800,0x000000f3, |
| 2287 | 0x00002557,0x0004007c,0x00000014,0x00002548, | 2488 | 0x00050051,0x00000006,0x00002803,0x00002802, |
| 2288 | 0x00002558,0x00060041,0x0000016c,0x0000253f, | 2489 | 0x00000001,0x00050051,0x00000006,0x00002804, |
| 2289 | 0x00002548,0x0000016b,0x0000016b,0x0006003d, | 2490 | 0x00002802,0x00000000,0x00050051,0x00000006, |
| 2290 | 0x00000006,0x00002540,0x0000253f,0x00000002, | 2491 | 0x00002807,0x0000146e,0x00000001,0x00050080, |
| 2291 | 0x00000004,0x00050041,0x00000266,0x0000138e, | 2492 | 0x00000006,0x00002809,0x00002807,0x00002803, |
| 2292 | 0x000001b9,0x0000016b,0x0004003d,0x00000007, | 2493 | 0x00050050,0x00000007,0x0000280a,0x00002804, |
| 2293 | 0x0000138f,0x0000138e,0x00050051,0x00000006, | 2494 | 0x00002809,0x0004007c,0x00000014,0x000027fa, |
| 2294 | 0x0000256e,0x0000138f,0x00000000,0x00050095, | 2495 | 0x0000280a,0x00060041,0x00000174,0x000027f1, |
| 2295 | 0x0000013d,0x00002570,0x0000256e,0x00001379, | 2496 | 0x000027fa,0x00000173,0x00000173,0x0006003d, |
| 2296 | 0x00050051,0x00000006,0x00002571,0x00002570, | 2497 | 0x00000006,0x000027f2,0x000027f1,0x00000002, |
| 2297 | 0x00000001,0x00050051,0x00000006,0x00002572, | 2498 | 0x00000004,0x00050080,0x00000006,0x00001471, |
| 2298 | 0x00002570,0x00000000,0x00050051,0x00000006, | 2499 | 0x000027f2,0x0000014a,0x00050084,0x00000006, |
| 2299 | 0x00002575,0x0000138f,0x00000001,0x00050080, | 2500 | 0x00001472,0x00001471,0x000001cc,0x000500b0, |
| 2300 | 0x00000006,0x00002577,0x00002575,0x00002571, | 2501 | 0x0000002f,0x00001473,0x0000146b,0x00001472, |
| 2301 | 0x00050050,0x00000007,0x00002578,0x00002572, | 2502 | 0x000300f7,0x00001475,0x00000000,0x000400fa, |
| 2302 | 0x00002577,0x0004007c,0x00000014,0x00002568, | 2503 | 0x00001473,0x00001474,0x00001475,0x000200f8, |
| 2303 | 0x00002578,0x00060041,0x0000016c,0x00002560, | 2504 | 0x00001474,0x00050095,0x00000145,0x00002823, |
| 2304 | 0x00002568,0x0000016b,0x0000016b,0x0005003e, | 2505 | 0x00002800,0x0000146b,0x00050051,0x00000006, |
| 2305 | 0x00002560,0x00002540,0x00000002,0x00000004, | 2506 | 0x00002824,0x00002823,0x00000001,0x00050051, |
| 2306 | 0x000200f9,0x00001383,0x000200f8,0x00001383, | 2507 | 0x00000006,0x00002825,0x00002823,0x00000000, |
| 2307 | 0x000200f9,0x000013fd,0x000200f8,0x00001377, | 2508 | 0x00050080,0x00000006,0x0000282a,0x00002807, |
| 2308 | 0x000500aa,0x0000002f,0x00001396,0x000012df, | 2509 | 0x00002824,0x00050050,0x00000007,0x0000282b, |
| 2309 | 0x00000138,0x000300f7,0x00001398,0x00000000, | 2510 | 0x00002825,0x0000282a,0x0004007c,0x00000014, |
| 2310 | 0x000400fa,0x00001396,0x00001397,0x000013b9, | 2511 | 0x0000281b,0x0000282b,0x00060041,0x00000174, |
| 2311 | 0x000200f8,0x000013b9,0x000500aa,0x0000002f, | 2512 | 0x00002812,0x0000281b,0x00000173,0x00000173, |
| 2312 | 0x000013bc,0x000012df,0x00000142,0x000300f7, | 2513 | 0x0006003d,0x00000006,0x00002813,0x00002812, |
| 2313 | 0x000013be,0x00000000,0x000400fa,0x000013bc, | 2514 | 0x00000002,0x00000004,0x00050041,0x0000026e, |
| 2314 | 0x000013bd,0x000013c2,0x000200f8,0x000013c2, | 2515 | 0x00001480,0x000001c1,0x00000173,0x0004003d, |
| 2315 | 0x000500aa,0x0000002f,0x000013c5,0x000012df, | 2516 | 0x00000007,0x00001481,0x00001480,0x00050051, |
| 2316 | 0x00000280,0x000300f7,0x000013c7,0x00000000, | 2517 | 0x00000006,0x00002841,0x00001481,0x00000000, |
| 2317 | 0x000400fa,0x000013c5,0x000013c6,0x000013cb, | 2518 | 0x00050095,0x00000145,0x00002843,0x00002841, |
| 2318 | 0x000200f8,0x000013cb,0x000500aa,0x0000002f, | 2519 | 0x0000146b,0x00050051,0x00000006,0x00002844, |
| 2319 | 0x000013ce,0x000012df,0x00000470,0x000300f7, | 2520 | 0x00002843,0x00000001,0x00050051,0x00000006, |
| 2320 | 0x000013d0,0x00000000,0x000400fa,0x000013ce, | 2521 | 0x00002845,0x00002843,0x00000000,0x00050051, |
| 2321 | 0x000013cf,0x000013d4,0x000200f8,0x000013d4, | 2522 | 0x00000006,0x00002848,0x00001481,0x00000001, |
| 2322 | 0x000500aa,0x0000002f,0x000013d7,0x000012df, | 2523 | 0x00050080,0x00000006,0x0000284a,0x00002848, |
| 2323 | 0x000000ec,0x000300f7,0x000013d9,0x00000000, | 2524 | 0x00002844,0x00050050,0x00000007,0x0000284b, |
| 2324 | 0x000400fa,0x000013d7,0x000013d8,0x000013de, | 2525 | 0x00002845,0x0000284a,0x0004007c,0x00000014, |
| 2325 | 0x000200f8,0x000013de,0x000500aa,0x0000002f, | 2526 | 0x0000283b,0x0000284b,0x00060041,0x00000174, |
| 2326 | 0x000013e1,0x000012df,0x00000364,0x000300f7, | 2527 | 0x00002833,0x0000283b,0x00000173,0x00000173, |
| 2327 | 0x000013e3,0x00000000,0x000400fa,0x000013e1, | 2528 | 0x0005003e,0x00002833,0x00002813,0x00000002, |
| 2328 | 0x000013e2,0x000013e7,0x000200f8,0x000013e7, | 2529 | 0x00000004,0x000200f9,0x00001475,0x000200f8, |
| 2329 | 0x000500aa,0x0000002f,0x000013eb,0x000012df, | 2530 | 0x00001475,0x000200f9,0x000014ef,0x000200f8, |
| 2330 | 0x000013ea,0x000300f7,0x000013ed,0x00000000, | 2531 | 0x00001469,0x000500aa,0x0000002f,0x00001488, |
| 2331 | 0x000400fa,0x000013eb,0x000013ec,0x000013f1, | 2532 | 0x000013be,0x00000140,0x000300f7,0x0000148a, |
| 2332 | 0x000200f8,0x000013f1,0x000500aa,0x0000002f, | 2533 | 0x00000000,0x000400fa,0x00001488,0x00001489, |
| 2333 | 0x000013f5,0x000012df,0x000013f4,0x000300f7, | 2534 | 0x000014ab,0x000200f8,0x000014ab,0x000500aa, |
| 2334 | 0x000013f7,0x00000000,0x000400fa,0x000013f5, | 2535 | 0x0000002f,0x000014ae,0x000013be,0x0000014a, |
| 2335 | 0x000013f6,0x000013f7,0x000200f8,0x000013f6, | 2536 | 0x000300f7,0x000014b0,0x00000000,0x000400fa, |
| 2336 | 0x00050041,0x000001bb,0x00005a4a,0x000001b9, | 2537 | 0x000014ae,0x000014af,0x000014b4,0x000200f8, |
| 2337 | 0x000001ba,0x0004003d,0x00000006,0x00005a4b, | 2538 | 0x000014b4,0x000500aa,0x0000002f,0x000014b7, |
| 2338 | 0x00005a4a,0x00050084,0x00000006,0x00005a4c, | 2539 | 0x000013be,0x00000288,0x000300f7,0x000014b9, |
| 2339 | 0x000001db,0x00005a4b,0x00050080,0x00000006, | 2540 | 0x00000000,0x000400fa,0x000014b7,0x000014b8, |
| 2340 | 0x00005a4d,0x000001c4,0x00005a4c,0x00050080, | 2541 | 0x000014bd,0x000200f8,0x000014bd,0x000500aa, |
| 2341 | 0x00000006,0x00005a53,0x00005a4b,0x0000062f, | 2542 | 0x0000002f,0x000014c0,0x000013be,0x000004d7, |
| 2342 | 0x00050086,0x00000006,0x00005a54,0x00005a53, | 2543 | 0x000300f7,0x000014c2,0x00000000,0x000400fa, |
| 2343 | 0x000001be,0x00050084,0x00000006,0x00005a46, | 2544 | 0x000014c0,0x000014c1,0x000014c6,0x000200f8, |
| 2344 | 0x000001c4,0x00005a54,0x00050080,0x00000006, | 2545 | 0x000014c6,0x000500aa,0x0000002f,0x000014c9, |
| 2345 | 0x00005a47,0x00005a4d,0x00005a46,0x00050080, | 2546 | 0x000013be,0x000000f3,0x000300f7,0x000014cb, |
| 2346 | 0x00000006,0x00005a41,0x00005a47,0x00005a46, | 2547 | 0x00000000,0x000400fa,0x000014c9,0x000014ca, |
| 2347 | 0x00050041,0x000001bb,0x00005a38,0x000001b9, | 2548 | 0x000014d0,0x000200f8,0x000014d0,0x000500aa, |
| 2348 | 0x000001f0,0x0004003d,0x00000006,0x00005a39, | 2549 | 0x0000002f,0x000014d3,0x000013be,0x0000036c, |
| 2349 | 0x00005a38,0x00050084,0x00000006,0x00005a3a, | 2550 | 0x000300f7,0x000014d5,0x00000000,0x000400fa, |
| 2350 | 0x000001ef,0x00005a39,0x00050080,0x00000006, | 2551 | 0x000014d3,0x000014d4,0x000014d9,0x000200f8, |
| 2351 | 0x00005a3b,0x00005a41,0x00005a3a,0x00050084, | 2552 | 0x000014d9,0x000500aa,0x0000002f,0x000014dd, |
| 2352 | 0x00000006,0x00005a30,0x00000205,0x000012dd, | 2553 | 0x000013be,0x000014dc,0x000300f7,0x000014df, |
| 2353 | 0x00050080,0x00000006,0x00005a31,0x00005a3b, | 2554 | 0x00000000,0x000400fa,0x000014dd,0x000014de, |
| 2354 | 0x00005a30,0x00050041,0x00000266,0x00005a32, | 2555 | 0x000014e3,0x000200f8,0x000014e3,0x000500aa, |
| 2355 | 0x000001b9,0x00000264,0x0004003d,0x00000007, | 2556 | 0x0000002f,0x000014e7,0x000013be,0x000014e6, |
| 2356 | 0x00005a33,0x00005a32,0x00050051,0x00000006, | 2557 | 0x000300f7,0x000014e9,0x00000000,0x000400fa, |
| 2357 | 0x00005a69,0x00005a33,0x00000000,0x00050095, | 2558 | 0x000014e7,0x000014e8,0x000014e9,0x000200f8, |
| 2358 | 0x0000013d,0x00005a6b,0x00005a69,0x00005a31, | 2559 | 0x000014e8,0x00050041,0x000001c3,0x00005e2c, |
| 2359 | 0x00050051,0x00000006,0x00005a6c,0x00005a6b, | 2560 | 0x000001c1,0x000001c2,0x0004003d,0x00000006, |
| 2360 | 0x00000001,0x00050051,0x00000006,0x00005a6d, | 2561 | 0x00005e2d,0x00005e2c,0x00050084,0x00000006, |
| 2361 | 0x00005a6b,0x00000000,0x00050051,0x00000006, | 2562 | 0x00005e2e,0x000001e3,0x00005e2d,0x00050080, |
| 2362 | 0x00005a70,0x00005a33,0x00000001,0x00050080, | 2563 | 0x00000006,0x00005e2f,0x000001cc,0x00005e2e, |
| 2363 | 0x00000006,0x00005a72,0x00005a70,0x00005a6c, | 2564 | 0x00050080,0x00000006,0x00005e35,0x00005e2d, |
| 2364 | 0x00050050,0x00000007,0x00005a73,0x00005a6d, | 2565 | 0x00000695,0x00050086,0x00000006,0x00005e36, |
| 2365 | 0x00005a72,0x0004007c,0x00000014,0x00005a63, | 2566 | 0x00005e35,0x000001c6,0x00050084,0x00000006, |
| 2366 | 0x00005a73,0x00060041,0x0000016c,0x00005a1d, | 2567 | 0x00005e28,0x000001cc,0x00005e36,0x00050080, |
| 2367 | 0x00005a63,0x0000016b,0x0000016b,0x0005003e, | 2568 | 0x00000006,0x00005e29,0x00005e2f,0x00005e28, |
| 2368 | 0x00005a1d,0x00000138,0x00000002,0x00000004, | 2569 | 0x00050080,0x00000006,0x00005e23,0x00005e29, |
| 2369 | 0x00060041,0x0000016c,0x00005a1f,0x00005a63, | 2570 | 0x00005e28,0x00050041,0x000001c3,0x00005e1a, |
| 2370 | 0x0000016b,0x00000264,0x0005003e,0x00005a1f, | 2571 | 0x000001c1,0x000001f8,0x0004003d,0x00000006, |
| 2371 | 0x00000539,0x00000002,0x00000004,0x00060041, | 2572 | 0x00005e1b,0x00005e1a,0x00050084,0x00000006, |
| 2372 | 0x0000016c,0x00005a21,0x00005a63,0x0000016b, | 2573 | 0x00005e1c,0x000001f7,0x00005e1b,0x00050080, |
| 2373 | 0x00000315,0x0005003e,0x00005a21,0x00000539, | 2574 | 0x00000006,0x00005e1d,0x00005e23,0x00005e1c, |
| 2374 | 0x00000002,0x00000004,0x00060041,0x0000016c, | 2575 | 0x00050084,0x00000006,0x00005e12,0x0000020d, |
| 2375 | 0x00005a23,0x00005a63,0x0000016b,0x0000031d, | 2576 | 0x000013a7,0x00050080,0x00000006,0x00005e13, |
| 2376 | 0x0005003e,0x00005a23,0x00000539,0x00000002, | 2577 | 0x00005e1d,0x00005e12,0x00050041,0x0000026e, |
| 2377 | 0x00000004,0x00060041,0x0000016c,0x00005a25, | 2578 | 0x00005e14,0x000001c1,0x0000026c,0x0004003d, |
| 2378 | 0x00005a63,0x0000016b,0x00000325,0x0005003e, | 2579 | 0x00000007,0x00005e15,0x00005e14,0x00050051, |
| 2379 | 0x00005a25,0x00000138,0x00000002,0x00000004, | 2580 | 0x00000006,0x00005e4b,0x00005e15,0x00000000, |
| 2380 | 0x00060041,0x0000016c,0x00005a27,0x00005a63, | 2581 | 0x00050095,0x00000145,0x00005e4d,0x00005e4b, |
| 2381 | 0x0000016b,0x0000032d,0x0005003e,0x00005a27, | 2582 | 0x00005e13,0x00050051,0x00000006,0x00005e4e, |
| 2382 | 0x00000138,0x00000002,0x00000004,0x00060041, | 2583 | 0x00005e4d,0x00000001,0x00050051,0x00000006, |
| 2383 | 0x0000016c,0x00005a29,0x00005a63,0x0000016b, | 2584 | 0x00005e4f,0x00005e4d,0x00000000,0x00050051, |
| 2384 | 0x00000351,0x0005003e,0x00005a29,0x00000138, | 2585 | 0x00000006,0x00005e52,0x00005e15,0x00000001, |
| 2385 | 0x00000002,0x00000004,0x000200f9,0x000013f7, | 2586 | 0x00050080,0x00000006,0x00005e54,0x00005e52, |
| 2386 | 0x000200f8,0x000013f7,0x000200f9,0x000013ed, | 2587 | 0x00005e4e,0x00050050,0x00000007,0x00005e55, |
| 2387 | 0x000200f8,0x000013ec,0x000300f7,0x000051a3, | 2588 | 0x00005e4f,0x00005e54,0x0004007c,0x00000014, |
| 2388 | 0x00000000,0x000300fb,0x00000138,0x0000510e, | 2589 | 0x00005e45,0x00005e55,0x00060041,0x00000174, |
| 2389 | 0x000200f8,0x0000510e,0x00050041,0x000001bb, | 2590 | 0x00005dff,0x00005e45,0x00000173,0x00000173, |
| 2390 | 0x0000510f,0x000001b9,0x00000434,0x0004003d, | 2591 | 0x0005003e,0x00005dff,0x00000140,0x00000002, |
| 2391 | 0x00000006,0x00005110,0x0000510f,0x000500aa, | 2592 | 0x00000004,0x00060041,0x00000174,0x00005e01, |
| 2392 | 0x0000002f,0x00005111,0x00005110,0x00000142, | 2593 | 0x00005e45,0x00000173,0x0000026c,0x0005003e, |
| 2393 | 0x000300f7,0x0000511d,0x00000000,0x000400fa, | 2594 | 0x00005e01,0x000003bf,0x00000002,0x00000004, |
| 2394 | 0x00005111,0x00005112,0x00005115,0x000200f8, | 2595 | 0x00060041,0x00000174,0x00005e03,0x00005e45, |
| 2395 | 0x00005115,0x00050041,0x000001bb,0x00005207, | 2596 | 0x00000173,0x0000031d,0x0005003e,0x00005e03, |
| 2396 | 0x000001b9,0x000001ba,0x0004003d,0x00000006, | 2597 | 0x000003bf,0x00000002,0x00000004,0x00060041, |
| 2397 | 0x00005208,0x00005207,0x00050084,0x00000006, | 2598 | 0x00000174,0x00005e05,0x00005e45,0x00000173, |
| 2398 | 0x00005209,0x000001db,0x00005208,0x00050080, | 2599 | 0x00000325,0x0005003e,0x00005e05,0x000003bf, |
| 2399 | 0x00000006,0x0000520a,0x000001c4,0x00005209, | 2600 | 0x00000002,0x00000004,0x00060041,0x00000174, |
| 2400 | 0x00050080,0x00000006,0x00005210,0x00005208, | 2601 | 0x00005e07,0x00005e45,0x00000173,0x0000032d, |
| 2401 | 0x0000062f,0x00050086,0x00000006,0x00005211, | 2602 | 0x0005003e,0x00005e07,0x00000140,0x00000002, |
| 2402 | 0x00005210,0x000001be,0x00050084,0x00000006, | 2603 | 0x00000004,0x00060041,0x00000174,0x00005e09, |
| 2403 | 0x00005203,0x000001c4,0x00005211,0x00050080, | 2604 | 0x00005e45,0x00000173,0x00000335,0x0005003e, |
| 2404 | 0x00000006,0x00005204,0x0000520a,0x00005203, | 2605 | 0x00005e09,0x00000140,0x00000002,0x00000004, |
| 2405 | 0x00050080,0x00000006,0x000051fe,0x00005204, | 2606 | 0x00060041,0x00000174,0x00005e0b,0x00005e45, |
| 2406 | 0x00005203,0x00050041,0x000001bb,0x000051f5, | 2607 | 0x00000173,0x00000359,0x0005003e,0x00005e0b, |
| 2407 | 0x000001b9,0x000001f0,0x0004003d,0x00000006, | 2608 | 0x00000140,0x00000002,0x00000004,0x000200f9, |
| 2408 | 0x000051f6,0x000051f5,0x00050084,0x00000006, | 2609 | 0x000014e9,0x000200f8,0x000014e9,0x000200f9, |
| 2409 | 0x000051f7,0x000001ef,0x000051f6,0x00050080, | 2610 | 0x000014df,0x000200f8,0x000014de,0x000300f7, |
| 2410 | 0x00000006,0x000051f8,0x000051fe,0x000051f7, | 2611 | 0x00005481,0x00000000,0x000300fb,0x00000140, |
| 2411 | 0x00050041,0x000001bb,0x000051ee,0x000001b9, | 2612 | 0x000053ec,0x000200f8,0x000053ec,0x00050041, |
| 2412 | 0x00000206,0x0004003d,0x00000006,0x000051ef, | 2613 | 0x000001c3,0x000053ed,0x000001c1,0x0000049b, |
| 2413 | 0x000051ee,0x00050084,0x00000006,0x000051f0, | 2614 | 0x0004003d,0x00000006,0x000053ee,0x000053ed, |
| 2414 | 0x00000205,0x000051ef,0x00050080,0x00000006, | 2615 | 0x000500aa,0x0000002f,0x000053ef,0x000053ee, |
| 2415 | 0x000051f1,0x000051f8,0x000051f0,0x000500ac, | 2616 | 0x0000014a,0x000300f7,0x000053fb,0x00000000, |
| 2416 | 0x0000002f,0x0000521e,0x000051f6,0x00000142, | 2617 | 0x000400fa,0x000053ef,0x000053f0,0x000053f3, |
| 2417 | 0x000300f7,0x00005224,0x00000000,0x000400fa, | 2618 | 0x000200f8,0x000053f3,0x00050041,0x000001c3, |
| 2418 | 0x0000521e,0x0000521f,0x00005223,0x000200f8, | 2619 | 0x000054e5,0x000001c1,0x000001c2,0x0004003d, |
| 2419 | 0x00005223,0x000200f9,0x00005224,0x000200f8, | 2620 | 0x00000006,0x000054e6,0x000054e5,0x00050084, |
| 2420 | 0x0000521f,0x00050082,0x00000006,0x00005222, | 2621 | 0x00000006,0x000054e7,0x000001e3,0x000054e6, |
| 2421 | 0x000051f6,0x00000142,0x000200f9,0x00005224, | 2622 | 0x00050080,0x00000006,0x000054e8,0x000001cc, |
| 2422 | 0x000200f8,0x00005224,0x000700f5,0x00000006, | 2623 | 0x000054e7,0x00050080,0x00000006,0x000054ee, |
| 2423 | 0x00005ce3,0x00005222,0x0000521f,0x00000138, | 2624 | 0x000054e6,0x00000695,0x00050086,0x00000006, |
| 2424 | 0x00005223,0x00050084,0x00000006,0x000051e9, | 2625 | 0x000054ef,0x000054ee,0x000001c6,0x00050084, |
| 2425 | 0x000000ec,0x00005ce3,0x00050080,0x00000006, | 2626 | 0x00000006,0x000054e1,0x000001cc,0x000054ef, |
| 2426 | 0x000051ea,0x000051f1,0x000051e9,0x000300f7, | 2627 | 0x00050080,0x00000006,0x000054e2,0x000054e8, |
| 2427 | 0x00005231,0x00000000,0x000400fa,0x0000521e, | 2628 | 0x000054e1,0x00050080,0x00000006,0x000054dc, |
| 2428 | 0x0000522c,0x00005230,0x000200f8,0x00005230, | 2629 | 0x000054e2,0x000054e1,0x00050041,0x000001c3, |
| 2429 | 0x000200f9,0x00005231,0x000200f8,0x0000522c, | 2630 | 0x000054d3,0x000001c1,0x000001f8,0x0004003d, |
| 2430 | 0x00050082,0x00000006,0x0000522f,0x000051f6, | 2631 | 0x00000006,0x000054d4,0x000054d3,0x00050084, |
| 2431 | 0x00000142,0x000200f9,0x00005231,0x000200f8, | 2632 | 0x00000006,0x000054d5,0x000001f7,0x000054d4, |
| 2432 | 0x00005231,0x000700f5,0x00000006,0x00005ce4, | 2633 | 0x00050080,0x00000006,0x000054d6,0x000054dc, |
| 2433 | 0x0000522f,0x0000522c,0x00000138,0x00005230, | 2634 | 0x000054d5,0x00050041,0x000001c3,0x000054cc, |
| 2434 | 0x00050084,0x00000006,0x000051e3,0x000000ec, | 2635 | 0x000001c1,0x0000020e,0x0004003d,0x00000006, |
| 2435 | 0x00005ce4,0x00050080,0x00000006,0x000051e4, | 2636 | 0x000054cd,0x000054cc,0x00050084,0x00000006, |
| 2436 | 0x000051ea,0x000051e3,0x000300f7,0x0000523e, | 2637 | 0x000054ce,0x0000020d,0x000054cd,0x00050080, |
| 2437 | 0x00000000,0x000400fa,0x0000521e,0x00005239, | 2638 | 0x00000006,0x000054cf,0x000054d6,0x000054ce, |
| 2438 | 0x0000523d,0x000200f8,0x0000523d,0x000200f9, | 2639 | 0x000500ac,0x0000002f,0x000054fc,0x000054d4, |
| 2439 | 0x0000523e,0x000200f8,0x00005239,0x00050082, | 2640 | 0x0000014a,0x000300f7,0x00005502,0x00000000, |
| 2440 | 0x00000006,0x0000523c,0x000051f6,0x00000142, | 2641 | 0x000400fa,0x000054fc,0x000054fd,0x00005501, |
| 2441 | 0x000200f9,0x0000523e,0x000200f8,0x0000523e, | 2642 | 0x000200f8,0x00005501,0x000200f9,0x00005502, |
| 2442 | 0x000700f5,0x00000006,0x00005ce5,0x0000523c, | 2643 | 0x000200f8,0x000054fd,0x00050082,0x00000006, |
| 2443 | 0x00005239,0x00000138,0x0000523d,0x00050084, | 2644 | 0x00005500,0x000054d4,0x0000014a,0x000200f9, |
| 2444 | 0x00000006,0x000051dd,0x000000ec,0x00005ce5, | 2645 | 0x00005502,0x000200f8,0x00005502,0x000700f5, |
| 2445 | 0x00050080,0x00000006,0x000051de,0x000051e4, | 2646 | 0x00000006,0x000060d9,0x00005500,0x000054fd, |
| 2446 | 0x000051dd,0x000300f7,0x0000524b,0x00000000, | 2647 | 0x00000140,0x00005501,0x00050084,0x00000006, |
| 2447 | 0x000400fa,0x0000521e,0x00005246,0x0000524a, | 2648 | 0x000054c7,0x000000f3,0x000060d9,0x00050080, |
| 2448 | 0x000200f8,0x0000524a,0x000200f9,0x0000524b, | 2649 | 0x00000006,0x000054c8,0x000054cf,0x000054c7, |
| 2449 | 0x000200f8,0x00005246,0x00050082,0x00000006, | 2650 | 0x000300f7,0x0000550f,0x00000000,0x000400fa, |
| 2450 | 0x00005249,0x000051f6,0x00000142,0x000200f9, | 2651 | 0x000054fc,0x0000550a,0x0000550e,0x000200f8, |
| 2451 | 0x0000524b,0x000200f8,0x0000524b,0x000700f5, | 2652 | 0x0000550e,0x000200f9,0x0000550f,0x000200f8, |
| 2452 | 0x00000006,0x00005ce6,0x00005249,0x00005246, | 2653 | 0x0000550a,0x00050082,0x00000006,0x0000550d, |
| 2453 | 0x00000138,0x0000524a,0x00050084,0x00000006, | 2654 | 0x000054d4,0x0000014a,0x000200f9,0x0000550f, |
| 2454 | 0x000051d7,0x000000ec,0x00005ce6,0x00050080, | 2655 | 0x000200f8,0x0000550f,0x000700f5,0x00000006, |
| 2455 | 0x00000006,0x000051d8,0x000051de,0x000051d7, | 2656 | 0x000060da,0x0000550d,0x0000550a,0x00000140, |
| 2456 | 0x000300f7,0x00005258,0x00000000,0x000400fa, | 2657 | 0x0000550e,0x00050084,0x00000006,0x000054c1, |
| 2457 | 0x0000521e,0x00005253,0x00005257,0x000200f8, | 2658 | 0x000000f3,0x000060da,0x00050080,0x00000006, |
| 2458 | 0x00005257,0x000200f9,0x00005258,0x000200f8, | 2659 | 0x000054c2,0x000054c8,0x000054c1,0x000300f7, |
| 2459 | 0x00005253,0x00050082,0x00000006,0x00005256, | 2660 | 0x0000551c,0x00000000,0x000400fa,0x000054fc, |
| 2460 | 0x000051f6,0x00000142,0x000200f9,0x00005258, | 2661 | 0x00005517,0x0000551b,0x000200f8,0x0000551b, |
| 2461 | 0x000200f8,0x00005258,0x000700f5,0x00000006, | 2662 | 0x000200f9,0x0000551c,0x000200f8,0x00005517, |
| 2462 | 0x00005ce7,0x00005256,0x00005253,0x00000138, | 2663 | 0x00050082,0x00000006,0x0000551a,0x000054d4, |
| 2463 | 0x00005257,0x00050084,0x00000006,0x000051d1, | 2664 | 0x0000014a,0x000200f9,0x0000551c,0x000200f8, |
| 2464 | 0x000000ec,0x00005ce7,0x00050080,0x00000006, | 2665 | 0x0000551c,0x000700f5,0x00000006,0x000060db, |
| 2465 | 0x000051d2,0x000051d8,0x000051d1,0x000300f7, | 2666 | 0x0000551a,0x00005517,0x00000140,0x0000551b, |
| 2466 | 0x0000526b,0x00000000,0x000400fa,0x0000521e, | 2667 | 0x00050084,0x00000006,0x000054bb,0x000000f3, |
| 2467 | 0x00005266,0x0000526a,0x000200f8,0x0000526a, | 2668 | 0x000060db,0x00050080,0x00000006,0x000054bc, |
| 2468 | 0x000200f9,0x0000526b,0x000200f8,0x00005266, | 2669 | 0x000054c2,0x000054bb,0x000300f7,0x00005529, |
| 2469 | 0x00050082,0x00000006,0x00005269,0x000051f6, | 2670 | 0x00000000,0x000400fa,0x000054fc,0x00005524, |
| 2470 | 0x00000142,0x000200f9,0x0000526b,0x000200f8, | 2671 | 0x00005528,0x000200f8,0x00005528,0x000200f9, |
| 2471 | 0x0000526b,0x000700f5,0x00000006,0x00005ce8, | 2672 | 0x00005529,0x000200f8,0x00005524,0x00050082, |
| 2472 | 0x00005269,0x00005266,0x00000138,0x0000526a, | 2673 | 0x00000006,0x00005527,0x000054d4,0x0000014a, |
| 2473 | 0x00050080,0x00000006,0x0000525e,0x00005ce8, | 2674 | 0x000200f9,0x00005529,0x000200f8,0x00005529, |
| 2474 | 0x0000062f,0x00050086,0x00000006,0x0000525f, | 2675 | 0x000700f5,0x00000006,0x000060dc,0x00005527, |
| 2475 | 0x0000525e,0x000001be,0x00050084,0x00000006, | 2676 | 0x00005524,0x00000140,0x00005528,0x00050084, |
| 2476 | 0x000051cb,0x000000ec,0x0000525f,0x00050080, | 2677 | 0x00000006,0x000054b5,0x000000f3,0x000060dc, |
| 2477 | 0x00000006,0x000051cc,0x000051d2,0x000051cb, | 2678 | 0x00050080,0x00000006,0x000054b6,0x000054bc, |
| 2478 | 0x000300f7,0x0000527e,0x00000000,0x000400fa, | 2679 | 0x000054b5,0x000300f7,0x00005536,0x00000000, |
| 2479 | 0x0000521e,0x00005279,0x0000527d,0x000200f8, | 2680 | 0x000400fa,0x000054fc,0x00005531,0x00005535, |
| 2480 | 0x0000527d,0x000200f9,0x0000527e,0x000200f8, | 2681 | 0x000200f8,0x00005535,0x000200f9,0x00005536, |
| 2481 | 0x00005279,0x00050082,0x00000006,0x0000527c, | 2682 | 0x000200f8,0x00005531,0x00050082,0x00000006, |
| 2482 | 0x000051f6,0x00000142,0x000200f9,0x0000527e, | 2683 | 0x00005534,0x000054d4,0x0000014a,0x000200f9, |
| 2483 | 0x000200f8,0x0000527e,0x000700f5,0x00000006, | 2684 | 0x00005536,0x000200f8,0x00005536,0x000700f5, |
| 2484 | 0x00005ce9,0x0000527c,0x00005279,0x00000138, | 2685 | 0x00000006,0x000060dd,0x00005534,0x00005531, |
| 2485 | 0x0000527d,0x00050080,0x00000006,0x00005271, | 2686 | 0x00000140,0x00005535,0x00050084,0x00000006, |
| 2486 | 0x00005ce9,0x0000062f,0x00050086,0x00000006, | 2687 | 0x000054af,0x000000f3,0x000060dd,0x00050080, |
| 2487 | 0x00005272,0x00005271,0x000001be,0x00050084, | 2688 | 0x00000006,0x000054b0,0x000054b6,0x000054af, |
| 2488 | 0x00000006,0x000051c5,0x000000ec,0x00005272, | 2689 | 0x000300f7,0x00005549,0x00000000,0x000400fa, |
| 2489 | 0x00050080,0x00000006,0x000051c6,0x000051cc, | 2690 | 0x000054fc,0x00005544,0x00005548,0x000200f8, |
| 2490 | 0x000051c5,0x00050084,0x00000006,0x00005118, | 2691 | 0x00005548,0x000200f9,0x00005549,0x000200f8, |
| 2491 | 0x000000ec,0x000012dd,0x00050080,0x00000006, | 2692 | 0x00005544,0x00050082,0x00000006,0x00005547, |
| 2492 | 0x00005119,0x000051c6,0x00005118,0x00050041, | 2693 | 0x000054d4,0x0000014a,0x000200f9,0x00005549, |
| 2493 | 0x00000266,0x0000511a,0x000001b9,0x00000264, | 2694 | 0x000200f8,0x00005549,0x000700f5,0x00000006, |
| 2494 | 0x0004003d,0x00000007,0x0000511b,0x0000511a, | 2695 | 0x000060de,0x00005547,0x00005544,0x00000140, |
| 2495 | 0x00050051,0x00000006,0x00005296,0x0000511b, | 2696 | 0x00005548,0x00050080,0x00000006,0x0000553c, |
| 2496 | 0x00000000,0x00050095,0x0000013d,0x00005298, | 2697 | 0x000060de,0x00000695,0x00050086,0x00000006, |
| 2497 | 0x00005296,0x00005119,0x00050051,0x00000006, | 2698 | 0x0000553d,0x0000553c,0x000001c6,0x00050084, |
| 2498 | 0x00005299,0x00005298,0x00000001,0x00050051, | 2699 | 0x00000006,0x000054a9,0x000000f3,0x0000553d, |
| 2499 | 0x00000006,0x0000529a,0x00005298,0x00000000, | 2700 | 0x00050080,0x00000006,0x000054aa,0x000054b0, |
| 2500 | 0x00050051,0x00000006,0x0000529d,0x0000511b, | 2701 | 0x000054a9,0x000300f7,0x0000555c,0x00000000, |
| 2501 | 0x00000001,0x00050080,0x00000006,0x0000529f, | 2702 | 0x000400fa,0x000054fc,0x00005557,0x0000555b, |
| 2502 | 0x0000529d,0x00005299,0x00050050,0x00000007, | 2703 | 0x000200f8,0x0000555b,0x000200f9,0x0000555c, |
| 2503 | 0x000052a0,0x0000529a,0x0000529f,0x0004007c, | 2704 | 0x000200f8,0x00005557,0x00050082,0x00000006, |
| 2504 | 0x00000014,0x00005290,0x000052a0,0x00060041, | 2705 | 0x0000555a,0x000054d4,0x0000014a,0x000200f9, |
| 2505 | 0x0000016c,0x00005287,0x00005290,0x0000016b, | 2706 | 0x0000555c,0x000200f8,0x0000555c,0x000700f5, |
| 2506 | 0x0000016b,0x0006003d,0x00000006,0x00005288, | 2707 | 0x00000006,0x000060df,0x0000555a,0x00005557, |
| 2507 | 0x00005287,0x00000002,0x00000004,0x000200f9, | 2708 | 0x00000140,0x0000555b,0x00050080,0x00000006, |
| 2508 | 0x0000511d,0x000200f8,0x00005112,0x00050041, | 2709 | 0x0000554f,0x000060df,0x00000695,0x00050086, |
| 2509 | 0x000001bb,0x000051a6,0x000001b9,0x0000034a, | 2710 | 0x00000006,0x00005550,0x0000554f,0x000001c6, |
| 2510 | 0x0004003d,0x00000006,0x000051a7,0x000051a6, | 2711 | 0x00050084,0x00000006,0x000054a3,0x000000f3, |
| 2511 | 0x00050041,0x000001bb,0x000051b7,0x000001b9, | 2712 | 0x00005550,0x00050080,0x00000006,0x000054a4, |
| 2512 | 0x00000334,0x0004003d,0x00000006,0x000051b8, | 2713 | 0x000054aa,0x000054a3,0x00050084,0x00000006, |
| 2513 | 0x000051b7,0x000500c7,0x00000006,0x000051b9, | 2714 | 0x000053f6,0x000000f3,0x000013a7,0x00050080, |
| 2514 | 0x000051b8,0x00000142,0x000500ab,0x0000002f, | 2715 | 0x00000006,0x000053f7,0x000054a4,0x000053f6, |
| 2515 | 0x000051ba,0x000051b9,0x00000138,0x000600a9, | 2716 | 0x00050041,0x0000026e,0x000053f8,0x000001c1, |
| 2516 | 0x00000006,0x000051b4,0x000051ba,0x00000342, | 2717 | 0x0000026c,0x0004003d,0x00000007,0x000053f9, |
| 2517 | 0x000001c4,0x00050084,0x00000006,0x000051aa, | 2718 | 0x000053f8,0x00050051,0x00000006,0x00005574, |
| 2518 | 0x000012dd,0x000051b4,0x00050080,0x00000006, | 2719 | 0x000053f9,0x00000000,0x00050095,0x00000145, |
| 2519 | 0x000051ab,0x000051a7,0x000051aa,0x000500c2, | 2720 | 0x00005576,0x00005574,0x000053f7,0x00050051, |
| 2520 | 0x00000006,0x000051ac,0x000051ab,0x00000351, | 2721 | 0x00000006,0x00005577,0x00005576,0x00000001, |
| 2521 | 0x000500c4,0x00000006,0x000051ad,0x000051ac, | 2722 | 0x00050051,0x00000006,0x00005578,0x00005576, |
| 2522 | 0x0000031d,0x000600a9,0x00000006,0x000051af, | 2723 | 0x00000000,0x00050051,0x00000006,0x0000557b, |
| 2523 | 0x000051ba,0x00000355,0x00000138,0x000500c5, | 2724 | 0x000053f9,0x00000001,0x00050080,0x00000006, |
| 2524 | 0x00000006,0x000051b0,0x000051ad,0x000051af, | 2725 | 0x0000557d,0x0000557b,0x00005577,0x00050050, |
| 2525 | 0x000200f9,0x0000511d,0x000200f8,0x0000511d, | 2726 | 0x00000007,0x0000557e,0x00005578,0x0000557d, |
| 2526 | 0x000700f5,0x00000006,0x00005cea,0x000051b0, | 2727 | 0x0004007c,0x00000014,0x0000556e,0x0000557e, |
| 2527 | 0x00005112,0x00005288,0x0000527e,0x00050041, | 2728 | 0x00060041,0x00000174,0x00005565,0x0000556e, |
| 2528 | 0x000001bb,0x000052e6,0x000001b9,0x000001ba, | 2729 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 2529 | 0x0004003d,0x00000006,0x000052e7,0x000052e6, | 2730 | 0x00005566,0x00005565,0x00000002,0x00000004, |
| 2530 | 0x00050084,0x00000006,0x000052e8,0x000001db, | 2731 | 0x000200f9,0x000053fb,0x000200f8,0x000053f0, |
| 2531 | 0x000052e7,0x00050080,0x00000006,0x000052e9, | 2732 | 0x00050041,0x000001c3,0x00005484,0x000001c1, |
| 2532 | 0x000001c4,0x000052e8,0x00050080,0x00000006, | 2733 | 0x00000352,0x0004003d,0x00000006,0x00005485, |
| 2533 | 0x000052ef,0x000052e7,0x0000062f,0x00050086, | 2734 | 0x00005484,0x000500c7,0x00000006,0x00005497, |
| 2534 | 0x00000006,0x000052f0,0x000052ef,0x000001be, | 2735 | 0x000013a9,0x0000014a,0x000500ab,0x0000002f, |
| 2535 | 0x00050084,0x00000006,0x000052e2,0x000001c4, | 2736 | 0x00005498,0x00005497,0x00000140,0x000600a9, |
| 2536 | 0x000052f0,0x00050080,0x00000006,0x000052e3, | 2737 | 0x00000006,0x00005492,0x00005498,0x0000034a, |
| 2537 | 0x000052e9,0x000052e2,0x00050080,0x00000006, | 2738 | 0x000001cc,0x00050084,0x00000006,0x00005488, |
| 2538 | 0x000052dd,0x000052e3,0x000052e2,0x00050084, | 2739 | 0x000013a7,0x00005492,0x00050080,0x00000006, |
| 2539 | 0x00000006,0x000052b1,0x000001ef,0x000012dd, | 2740 | 0x00005489,0x00005485,0x00005488,0x000500c2, |
| 2540 | 0x00050080,0x00000006,0x000052b2,0x000052dd, | 2741 | 0x00000006,0x0000548a,0x00005489,0x00000359, |
| 2541 | 0x000052b1,0x00050041,0x00000266,0x000052b3, | 2742 | 0x000500c4,0x00000006,0x0000548b,0x0000548a, |
| 2542 | 0x000001b9,0x00000264,0x0004003d,0x00000007, | 2743 | 0x00000325,0x000600a9,0x00000006,0x0000548d, |
| 2543 | 0x000052b4,0x000052b3,0x00050051,0x00000006, | 2744 | 0x00005498,0x0000035d,0x00000140,0x000500c5, |
| 2544 | 0x0000530e,0x000052b4,0x00000000,0x00050095, | 2745 | 0x00000006,0x0000548e,0x0000548b,0x0000548d, |
| 2545 | 0x0000013d,0x00005310,0x0000530e,0x000052b2, | 2746 | 0x000200f9,0x000053fb,0x000200f8,0x000053fb, |
| 2546 | 0x00050051,0x00000006,0x00005311,0x00005310, | 2747 | 0x000700f5,0x00000006,0x000060e0,0x0000548e, |
| 2547 | 0x00000001,0x00050051,0x00000006,0x00005312, | 2748 | 0x000053f0,0x00005566,0x0000555c,0x00050041, |
| 2548 | 0x00005310,0x00000000,0x00050051,0x00000006, | 2749 | 0x000001c3,0x000055c4,0x000001c1,0x000001c2, |
| 2549 | 0x00005315,0x000052b4,0x00000001,0x00050080, | 2750 | 0x0004003d,0x00000006,0x000055c5,0x000055c4, |
| 2550 | 0x00000006,0x00005317,0x00005315,0x00005311, | 2751 | 0x00050084,0x00000006,0x000055c6,0x000001e3, |
| 2551 | 0x00050050,0x00000007,0x00005318,0x00005312, | 2752 | 0x000055c5,0x00050080,0x00000006,0x000055c7, |
| 2552 | 0x00005317,0x0004007c,0x00000014,0x00005308, | 2753 | 0x000001cc,0x000055c6,0x00050080,0x00000006, |
| 2553 | 0x00005318,0x00060041,0x0000016c,0x000052ff, | 2754 | 0x000055cd,0x000055c5,0x00000695,0x00050086, |
| 2554 | 0x00005308,0x0000016b,0x0000016b,0x0006003d, | 2755 | 0x00000006,0x000055ce,0x000055cd,0x000001c6, |
| 2555 | 0x00000006,0x00005300,0x000052ff,0x00000002, | 2756 | 0x00050084,0x00000006,0x000055c0,0x000001cc, |
| 2556 | 0x00000004,0x0004007c,0x00000027,0x000052b7, | 2757 | 0x000055ce,0x00050080,0x00000006,0x000055c1, |
| 2557 | 0x00005300,0x00050080,0x00000006,0x000052b9, | 2758 | 0x000055c7,0x000055c0,0x00050080,0x00000006, |
| 2558 | 0x000052b2,0x000000ec,0x00050095,0x0000013d, | 2759 | 0x000055bb,0x000055c1,0x000055c0,0x00050084, |
| 2559 | 0x00005331,0x0000530e,0x000052b9,0x00050051, | 2760 | 0x00000006,0x0000558f,0x000001f7,0x000013a7, |
| 2560 | 0x00000006,0x00005332,0x00005331,0x00000001, | 2761 | 0x00050080,0x00000006,0x00005590,0x000055bb, |
| 2561 | 0x00050051,0x00000006,0x00005333,0x00005331, | 2762 | 0x0000558f,0x00050041,0x0000026e,0x00005591, |
| 2562 | 0x00000000,0x00050080,0x00000006,0x00005338, | 2763 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, |
| 2563 | 0x00005315,0x00005332,0x00050050,0x00000007, | 2764 | 0x00005592,0x00005591,0x00050051,0x00000006, |
| 2564 | 0x00005339,0x00005333,0x00005338,0x0004007c, | 2765 | 0x000055ec,0x00005592,0x00000000,0x00050095, |
| 2565 | 0x00000014,0x00005329,0x00005339,0x00060041, | 2766 | 0x00000145,0x000055ee,0x000055ec,0x00005590, |
| 2566 | 0x0000016c,0x00005320,0x00005329,0x0000016b, | 2767 | 0x00050051,0x00000006,0x000055ef,0x000055ee, |
| 2567 | 0x0000016b,0x0006003d,0x00000006,0x00005321, | 2768 | 0x00000001,0x00050051,0x00000006,0x000055f0, |
| 2568 | 0x00005320,0x00000002,0x00000004,0x0004007c, | 2769 | 0x000055ee,0x00000000,0x00050051,0x00000006, |
| 2569 | 0x00000027,0x000052bd,0x00005321,0x00050080, | 2770 | 0x000055f3,0x00005592,0x00000001,0x00050080, |
| 2570 | 0x00000006,0x000052bf,0x000052b2,0x000001cd, | 2771 | 0x00000006,0x000055f5,0x000055f3,0x000055ef, |
| 2571 | 0x00050095,0x0000013d,0x00005352,0x0000530e, | 2772 | 0x00050050,0x00000007,0x000055f6,0x000055f0, |
| 2572 | 0x000052bf,0x00050051,0x00000006,0x00005353, | 2773 | 0x000055f5,0x0004007c,0x00000014,0x000055e6, |
| 2573 | 0x00005352,0x00000001,0x00050051,0x00000006, | 2774 | 0x000055f6,0x00060041,0x00000174,0x000055dd, |
| 2574 | 0x00005354,0x00005352,0x00000000,0x00050080, | 2775 | 0x000055e6,0x00000173,0x00000173,0x0006003d, |
| 2575 | 0x00000006,0x00005359,0x00005315,0x00005353, | 2776 | 0x00000006,0x000055de,0x000055dd,0x00000002, |
| 2576 | 0x00050050,0x00000007,0x0000535a,0x00005354, | 2777 | 0x00000004,0x0004007c,0x00000027,0x00005595, |
| 2577 | 0x00005359,0x0004007c,0x00000014,0x0000534a, | 2778 | 0x000055de,0x00050080,0x00000006,0x00005597, |
| 2578 | 0x0000535a,0x00060041,0x0000016c,0x00005341, | 2779 | 0x00005590,0x000000f3,0x00050095,0x00000145, |
| 2579 | 0x0000534a,0x0000016b,0x0000016b,0x0006003d, | 2780 | 0x0000560f,0x000055ec,0x00005597,0x00050051, |
| 2580 | 0x00000006,0x00005342,0x00005341,0x00000002, | 2781 | 0x00000006,0x00005610,0x0000560f,0x00000001, |
| 2581 | 0x00000004,0x0004007c,0x00000027,0x000052c3, | 2782 | 0x00050051,0x00000006,0x00005611,0x0000560f, |
| 2582 | 0x00005342,0x00060050,0x0000006c,0x000052c4, | 2783 | 0x00000000,0x00050080,0x00000006,0x00005616, |
| 2583 | 0x000052b7,0x000052bd,0x000052c3,0x00050080, | 2784 | 0x000055f3,0x00005610,0x00050050,0x00000007, |
| 2584 | 0x00000006,0x000052c6,0x000052b2,0x000001d4, | 2785 | 0x00005617,0x00005611,0x00005616,0x0004007c, |
| 2585 | 0x00050095,0x0000013d,0x00005373,0x0000530e, | 2786 | 0x00000014,0x00005607,0x00005617,0x00060041, |
| 2586 | 0x000052c6,0x00050051,0x00000006,0x00005374, | 2787 | 0x00000174,0x000055fe,0x00005607,0x00000173, |
| 2587 | 0x00005373,0x00000001,0x00050051,0x00000006, | 2788 | 0x00000173,0x0006003d,0x00000006,0x000055ff, |
| 2588 | 0x00005375,0x00005373,0x00000000,0x00050080, | 2789 | 0x000055fe,0x00000002,0x00000004,0x0004007c, |
| 2589 | 0x00000006,0x0000537a,0x00005315,0x00005374, | 2790 | 0x00000027,0x0000559b,0x000055ff,0x00050080, |
| 2590 | 0x00050050,0x00000007,0x0000537b,0x00005375, | 2791 | 0x00000006,0x0000559d,0x00005590,0x000001d5, |
| 2591 | 0x0000537a,0x0004007c,0x00000014,0x0000536b, | 2792 | 0x00050095,0x00000145,0x00005630,0x000055ec, |
| 2592 | 0x0000537b,0x00060041,0x0000016c,0x00005362, | 2793 | 0x0000559d,0x00050051,0x00000006,0x00005631, |
| 2593 | 0x0000536b,0x0000016b,0x0000016b,0x0006003d, | 2794 | 0x00005630,0x00000001,0x00050051,0x00000006, |
| 2594 | 0x00000006,0x00005363,0x00005362,0x00000002, | 2795 | 0x00005632,0x00005630,0x00000000,0x00050080, |
| 2595 | 0x00000004,0x0004007c,0x00000027,0x000052ca, | 2796 | 0x00000006,0x00005637,0x000055f3,0x00005631, |
| 2596 | 0x00005363,0x00050080,0x00000006,0x000052cc, | 2797 | 0x00050050,0x00000007,0x00005638,0x00005632, |
| 2597 | 0x000052b2,0x000001db,0x00050095,0x0000013d, | 2798 | 0x00005637,0x0004007c,0x00000014,0x00005628, |
| 2598 | 0x00005394,0x0000530e,0x000052cc,0x00050051, | 2799 | 0x00005638,0x00060041,0x00000174,0x0000561f, |
| 2599 | 0x00000006,0x00005395,0x00005394,0x00000001, | 2800 | 0x00005628,0x00000173,0x00000173,0x0006003d, |
| 2600 | 0x00050051,0x00000006,0x00005396,0x00005394, | 2801 | 0x00000006,0x00005620,0x0000561f,0x00000002, |
| 2601 | 0x00000000,0x00050080,0x00000006,0x0000539b, | 2802 | 0x00000004,0x0004007c,0x00000027,0x000055a1, |
| 2602 | 0x00005315,0x00005395,0x00050050,0x00000007, | 2803 | 0x00005620,0x00060050,0x0000006c,0x000055a2, |
| 2603 | 0x0000539c,0x00005396,0x0000539b,0x0004007c, | 2804 | 0x00005595,0x0000559b,0x000055a1,0x00050080, |
| 2604 | 0x00000014,0x0000538c,0x0000539c,0x00060041, | 2805 | 0x00000006,0x000055a4,0x00005590,0x000001dc, |
| 2605 | 0x0000016c,0x00005383,0x0000538c,0x0000016b, | 2806 | 0x00050095,0x00000145,0x00005651,0x000055ec, |
| 2606 | 0x0000016b,0x0006003d,0x00000006,0x00005384, | 2807 | 0x000055a4,0x00050051,0x00000006,0x00005652, |
| 2607 | 0x00005383,0x00000002,0x00000004,0x0004007c, | 2808 | 0x00005651,0x00000001,0x00050051,0x00000006, |
| 2608 | 0x00000027,0x000052d0,0x00005384,0x00050080, | 2809 | 0x00005653,0x00005651,0x00000000,0x00050080, |
| 2609 | 0x00000006,0x000052d2,0x000052b2,0x00000299, | 2810 | 0x00000006,0x00005658,0x000055f3,0x00005652, |
| 2610 | 0x00050095,0x0000013d,0x000053b5,0x0000530e, | 2811 | 0x00050050,0x00000007,0x00005659,0x00005653, |
| 2611 | 0x000052d2,0x00050051,0x00000006,0x000053b6, | 2812 | 0x00005658,0x0004007c,0x00000014,0x00005649, |
| 2612 | 0x000053b5,0x00000001,0x00050051,0x00000006, | 2813 | 0x00005659,0x00060041,0x00000174,0x00005640, |
| 2613 | 0x000053b7,0x000053b5,0x00000000,0x00050080, | 2814 | 0x00005649,0x00000173,0x00000173,0x0006003d, |
| 2614 | 0x00000006,0x000053bc,0x00005315,0x000053b6, | 2815 | 0x00000006,0x00005641,0x00005640,0x00000002, |
| 2615 | 0x00050050,0x00000007,0x000053bd,0x000053b7, | 2816 | 0x00000004,0x0004007c,0x00000027,0x000055a8, |
| 2616 | 0x000053bc,0x0004007c,0x00000014,0x000053ad, | 2817 | 0x00005641,0x00050080,0x00000006,0x000055aa, |
| 2617 | 0x000053bd,0x00060041,0x0000016c,0x000053a4, | 2818 | 0x00005590,0x000001e3,0x00050095,0x00000145, |
| 2618 | 0x000053ad,0x0000016b,0x0000016b,0x0006003d, | 2819 | 0x00005672,0x000055ec,0x000055aa,0x00050051, |
| 2619 | 0x00000006,0x000053a5,0x000053a4,0x00000002, | 2820 | 0x00000006,0x00005673,0x00005672,0x00000001, |
| 2620 | 0x00000004,0x0004007c,0x00000027,0x000052d6, | 2821 | 0x00050051,0x00000006,0x00005674,0x00005672, |
| 2621 | 0x000053a5,0x00060050,0x0000006c,0x000052d7, | 2822 | 0x00000000,0x00050080,0x00000006,0x00005679, |
| 2622 | 0x000052ca,0x000052d0,0x000052d6,0x00050041, | 2823 | 0x000055f3,0x00005673,0x00050050,0x00000007, |
| 2623 | 0x000001bb,0x000053c3,0x000001b9,0x000010be, | 2824 | 0x0000567a,0x00005674,0x00005679,0x0004007c, |
| 2624 | 0x0004003d,0x00000006,0x000053c4,0x000053c3, | 2825 | 0x00000014,0x0000566a,0x0000567a,0x00060041, |
| 2625 | 0x000500c2,0x00000006,0x000053d3,0x00005cea, | 2826 | 0x00000174,0x00005661,0x0000566a,0x00000173, |
| 2626 | 0x0000031d,0x00050041,0x000001bb,0x000053c7, | 2827 | 0x00000173,0x0006003d,0x00000006,0x00005662, |
| 2627 | 0x000001b9,0x0000034a,0x0004003d,0x00000006, | 2828 | 0x00005661,0x00000002,0x00000004,0x0004007c, |
| 2628 | 0x000053c8,0x000053c7,0x00050086,0x00000006, | 2829 | 0x00000027,0x000055ae,0x00005662,0x00050080, |
| 2629 | 0x000053c9,0x000053c8,0x000001c4,0x00050082, | 2830 | 0x00000006,0x000055b0,0x00005590,0x000002a1, |
| 2630 | 0x00000006,0x000053ca,0x000053d3,0x000053c9, | 2831 | 0x00050095,0x00000145,0x00005693,0x000055ec, |
| 2631 | 0x00050084,0x00000006,0x000053cb,0x000000ec, | 2832 | 0x000055b0,0x00050051,0x00000006,0x00005694, |
| 2632 | 0x000053ca,0x00050080,0x00000006,0x000053cc, | 2833 | 0x00005693,0x00000001,0x00050051,0x00000006, |
| 2633 | 0x000053c4,0x000053cb,0x00050041,0x00000266, | 2834 | 0x00005695,0x00005693,0x00000000,0x00050080, |
| 2634 | 0x000053cd,0x000001b9,0x0000016b,0x0004003d, | 2835 | 0x00000006,0x0000569a,0x000055f3,0x00005694, |
| 2635 | 0x00000007,0x000053ce,0x000053cd,0x00050051, | 2836 | 0x00050050,0x00000007,0x0000569b,0x00005695, |
| 2636 | 0x00000006,0x000053ea,0x000053ce,0x00000000, | 2837 | 0x0000569a,0x0004007c,0x00000014,0x0000568b, |
| 2637 | 0x00050095,0x0000013d,0x000053ec,0x000053ea, | 2838 | 0x0000569b,0x00060041,0x00000174,0x00005682, |
| 2638 | 0x000053cc,0x00050051,0x00000006,0x000053ed, | 2839 | 0x0000568b,0x00000173,0x00000173,0x0006003d, |
| 2639 | 0x000053ec,0x00000001,0x00050051,0x00000006, | 2840 | 0x00000006,0x00005683,0x00005682,0x00000002, |
| 2640 | 0x000053ee,0x000053ec,0x00000000,0x00050051, | 2841 | 0x00000004,0x0004007c,0x00000027,0x000055b4, |
| 2641 | 0x00000006,0x000053f1,0x000053ce,0x00000001, | 2842 | 0x00005683,0x00060050,0x0000006c,0x000055b5, |
| 2642 | 0x00050080,0x00000006,0x000053f3,0x000053f1, | 2843 | 0x000055a8,0x000055ae,0x000055b4,0x000300f7, |
| 2643 | 0x000053ed,0x00050050,0x00000007,0x000053f4, | 2844 | 0x000056b5,0x00000000,0x000300fb,0x00000140, |
| 2644 | 0x000053ee,0x000053f3,0x0004007c,0x00000014, | 2845 | 0x000056a6,0x000200f8,0x000056a6,0x000300f7, |
| 2645 | 0x000053e4,0x000053f4,0x00060041,0x0000016c, | 2846 | 0x000056d9,0x00000000,0x000300fb,0x00000140, |
| 2646 | 0x000053db,0x000053e4,0x0000016b,0x0000016b, | 2847 | 0x000056be,0x000200f8,0x000056be,0x00050041, |
| 2647 | 0x0006003d,0x00000006,0x000053dc,0x000053db, | 2848 | 0x000001c3,0x000056bf,0x000001c1,0x00000352, |
| 2648 | 0x00000002,0x00000004,0x00050041,0x000001bb, | 2849 | 0x0004003d,0x00000006,0x000056c0,0x000056bf, |
| 2649 | 0x000053f7,0x000001b9,0x00000334,0x0004003d, | 2850 | 0x00050086,0x00000006,0x000056c1,0x000056c0, |
| 2650 | 0x00000006,0x000053f8,0x000053f7,0x000500c7, | 2851 | 0x000001cc,0x000500c2,0x00000006,0x000056de, |
| 2651 | 0x00000006,0x000053f9,0x000053f8,0x00000142, | 2852 | 0x000060e0,0x00000325,0x000500b0,0x0000002f, |
| 2652 | 0x000500ab,0x0000002f,0x000053fa,0x000053f9, | 2853 | 0x000056c6,0x000056de,0x000056c1,0x000400a8, |
| 2653 | 0x00000138,0x000300f7,0x00005131,0x00000000, | 2854 | 0x0000002f,0x000056c7,0x000056c6,0x000300f7, |
| 2654 | 0x000400fa,0x000053fa,0x00005126,0x00005131, | 2855 | 0x000056ce,0x00000000,0x000400fa,0x000056c7, |
| 2655 | 0x000200f8,0x00005126,0x00050084,0x00000006, | 2856 | 0x000056c8,0x000056ce,0x000200f8,0x000056c8, |
| 2656 | 0x0000512a,0x00000342,0x000012dd,0x00050080, | 2857 | 0x00050041,0x000001c3,0x000056ca,0x000001c1, |
| 2657 | 0x00000006,0x0000512b,0x000053c8,0x0000512a, | 2858 | 0x000003b7,0x0004003d,0x00000006,0x000056cb, |
| 2658 | 0x00050080,0x00000006,0x0000512c,0x0000512b, | 2859 | 0x000056ca,0x00050086,0x00000006,0x000056cc, |
| 2659 | 0x0000084a,0x00050095,0x0000013d,0x00005412, | 2860 | 0x000056cb,0x000001cc,0x000500ae,0x0000002f, |
| 2660 | 0x000053ea,0x0000512c,0x00050051,0x00000006, | 2861 | 0x000056cd,0x000056de,0x000056cc,0x000200f9, |
| 2661 | 0x00005413,0x00005412,0x00000001,0x00050051, | 2862 | 0x000056ce,0x000200f8,0x000056ce,0x000700f5, |
| 2662 | 0x00000006,0x00005414,0x00005412,0x00000000, | 2863 | 0x0000002f,0x000056cf,0x000056c6,0x000056be, |
| 2663 | 0x00050080,0x00000006,0x00005419,0x000053f1, | 2864 | 0x000056cd,0x000056c8,0x000300f7,0x000056d1, |
| 2664 | 0x00005413,0x00050050,0x00000007,0x0000541a, | 2865 | 0x00000000,0x000400fa,0x000056cf,0x000056d0, |
| 2665 | 0x00005414,0x00005419,0x0004007c,0x00000014, | 2866 | 0x000056d1,0x000200f8,0x000056d0,0x000200f9, |
| 2666 | 0x0000540a,0x0000541a,0x00060041,0x0000016c, | 2867 | 0x000056d9,0x000200f8,0x000056d1,0x00050041, |
| 2667 | 0x00005402,0x0000540a,0x0000016b,0x0000016b, | 2868 | 0x000001c3,0x000056d2,0x000001c1,0x000003c1, |
| 2668 | 0x0005003e,0x00005402,0x000053dc,0x00000002, | 2869 | 0x0004003d,0x00000006,0x000056d3,0x000056d2, |
| 2669 | 0x00000004,0x000200f9,0x00005131,0x000200f8, | 2870 | 0x00050082,0x00000006,0x000056d6,0x000056de, |
| 2670 | 0x00005131,0x000200f9,0x00005132,0x000200f8, | 2871 | 0x000056c1,0x00050084,0x00000006,0x000056d7, |
| 2671 | 0x00005132,0x000700f5,0x0000006c,0x00005cf4, | 2872 | 0x000000f3,0x000056d6,0x00050080,0x00000006, |
| 2672 | 0x000052d7,0x00005131,0x00005d1c,0x0000519d, | 2873 | 0x000056d8,0x000056d3,0x000056d7,0x000200f9, |
| 2673 | 0x000700f5,0x0000006c,0x00005cf1,0x000052c4, | 2874 | 0x000056d9,0x000200f8,0x000056d9,0x000700f5, |
| 2674 | 0x00005131,0x00005d18,0x0000519d,0x000700f5, | 2875 | 0x00000006,0x000060e1,0x000003bf,0x000056d0, |
| 2675 | 0x00000006,0x00005ced,0x00000138,0x00005131, | 2876 | 0x000056d8,0x000056d1,0x000500aa,0x0000002f, |
| 2676 | 0x0000519f,0x0000519d,0x000700f5,0x00000006, | 2877 | 0x000056aa,0x000060e1,0x000003bf,0x000300f7, |
| 2677 | 0x00005ceb,0x000053dc,0x00005131,0x000059fe, | 2878 | 0x000056ac,0x00000000,0x000400fa,0x000056aa, |
| 2678 | 0x0000519d,0x000700f5,0x00000006,0x00005d5e, | 2879 | 0x000056ab,0x000056ac,0x000200f8,0x000056ab, |
| 2679 | 0x00005cea,0x00005131,0x00005ceb,0x0000519d, | 2880 | 0x000200f9,0x000056b5,0x000200f8,0x000056ac, |
| 2680 | 0x000500ab,0x0000002f,0x00005135,0x00005ceb, | 2881 | 0x00050041,0x0000026e,0x000056ad,0x000001c1, |
| 2681 | 0x00000539,0x000500b0,0x0000002f,0x00005137, | 2882 | 0x00000173,0x0004003d,0x00000007,0x000056ae, |
| 2682 | 0x00005ced,0x00000342,0x000500a7,0x0000002f, | 2883 | 0x000056ad,0x00050051,0x00000006,0x000056f5, |
| 2683 | 0x00005138,0x00005135,0x00005137,0x000400f6, | 2884 | 0x000056ae,0x00000000,0x00050095,0x00000145, |
| 2684 | 0x000051a0,0x0000519d,0x00000000,0x000400fa, | 2885 | 0x000056f7,0x000056f5,0x000060e1,0x00050051, |
| 2685 | 0x00005138,0x00005139,0x000051a0,0x000200f8, | 2886 | 0x00000006,0x000056f8,0x000056f7,0x00000001, |
| 2686 | 0x00005139,0x000500c2,0x00000006,0x0000541e, | 2887 | 0x00050051,0x00000006,0x000056f9,0x000056f7, |
| 2687 | 0x00005ceb,0x0000031d,0x00050084,0x00000006, | 2888 | 0x00000000,0x00050051,0x00000006,0x000056fc, |
| 2688 | 0x0000513c,0x0000541e,0x000001c4,0x000200f9, | 2889 | 0x000056ae,0x00000001,0x00050080,0x00000006, |
| 2689 | 0x0000513d,0x000200f8,0x0000513d,0x000700f5, | 2890 | 0x000056fe,0x000056fc,0x000056f8,0x00050050, |
| 2690 | 0x00000006,0x00005d0a,0x00000138,0x00005139, | 2891 | 0x00000007,0x000056ff,0x000056f9,0x000056fe, |
| 2691 | 0x00006026,0x0000515b,0x000700f5,0x00000006, | 2892 | 0x0004007c,0x00000014,0x000056ef,0x000056ff, |
| 2692 | 0x00005cee,0x00000138,0x00005139,0x0000515d, | 2893 | 0x00060041,0x00000174,0x000056e6,0x000056ef, |
| 2693 | 0x0000515b,0x000500b0,0x0000002f,0x00005140, | 2894 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 2694 | 0x00005cee,0x000000ec,0x000400f6,0x0000515e, | 2895 | 0x000056e7,0x000056e6,0x00000002,0x00000004, |
| 2695 | 0x0000515b,0x00000000,0x000400fa,0x00005140, | 2896 | 0x000300f7,0x00005731,0x00000000,0x000300fb, |
| 2696 | 0x00005141,0x0000515e,0x000200f8,0x00005141, | 2897 | 0x00000140,0x00005708,0x000200f8,0x00005708, |
| 2697 | 0x00050084,0x00000006,0x00005144,0x000000ec, | 2898 | 0x000500c7,0x00000006,0x0000570a,0x000056e7, |
| 2698 | 0x00005cee,0x00050080,0x00000006,0x00005145, | 2899 | 0x00000376,0x000500c7,0x00000006,0x00005737, |
| 2699 | 0x0000513c,0x00005144,0x00050095,0x0000013d, | 2900 | 0x000013a9,0x00000288,0x000500ab,0x0000002f, |
| 2700 | 0x00005437,0x000053ea,0x00005145,0x00050051, | 2901 | 0x00005738,0x00005737,0x00000140,0x000600a9, |
| 2701 | 0x00000006,0x00005438,0x00005437,0x00000001, | 2902 | 0x00000006,0x0000570c,0x00005738,0x000000f3, |
| 2702 | 0x00050051,0x00000006,0x00005439,0x00005437, | 2903 | 0x0000036c,0x000500ab,0x0000002f,0x0000570d, |
| 2703 | 0x00000000,0x00050080,0x00000006,0x0000543e, | 2904 | 0x0000570a,0x0000570c,0x000300f7,0x0000570f, |
| 2704 | 0x000053f1,0x00005438,0x00050050,0x00000007, | 2905 | 0x00000000,0x000400fa,0x0000570d,0x0000570e, |
| 2705 | 0x0000543f,0x00005439,0x0000543e,0x0004007c, | 2906 | 0x0000570f,0x000200f8,0x0000570e,0x000200f9, |
| 2706 | 0x00000014,0x0000542f,0x0000543f,0x00060041, | 2907 | 0x00005731,0x000200f8,0x0000570f,0x000500c2, |
| 2707 | 0x0000016c,0x00005426,0x0000542f,0x0000016b, | 2908 | 0x00000006,0x0000573c,0x000056e7,0x00000325, |
| 2708 | 0x0000016b,0x0006003d,0x00000006,0x00005427, | 2909 | 0x00050084,0x00000006,0x00005712,0x0000573c, |
| 2709 | 0x00005426,0x00000002,0x00000004,0x000500aa, | 2910 | 0x000001cc,0x000500ae,0x0000002f,0x00005715, |
| 2710 | 0x0000002f,0x0000514a,0x00005427,0x00000539, | 2911 | 0x0000573c,0x00000387,0x000400a8,0x0000002f, |
| 2711 | 0x000300f7,0x0000514c,0x00000000,0x000400fa, | 2912 | 0x00005716,0x00005715,0x000300f7,0x0000571c, |
| 2712 | 0x0000514a,0x0000514b,0x0000514c,0x000200f8, | 2913 | 0x00000000,0x000400fa,0x00005716,0x00005717, |
| 2713 | 0x0000514b,0x000200f9,0x0000515b,0x000200f8, | 2914 | 0x0000571c,0x000200f8,0x00005717,0x00050041, |
| 2714 | 0x0000514c,0x00050080,0x00000006,0x0000514e, | 2915 | 0x000001c3,0x00005719,0x000001c1,0x00000362, |
| 2715 | 0x00005d0a,0x00000264,0x000500aa,0x0000002f, | 2916 | 0x0004003d,0x00000006,0x0000571a,0x00005719, |
| 2716 | 0x00005151,0x00005427,0x00005d5e,0x000300f7, | 2917 | 0x000500b0,0x0000002f,0x0000571b,0x00005712, |
| 2717 | 0x0000515a,0x00000000,0x000400fa,0x00005151, | 2918 | 0x0000571a,0x000200f9,0x0000571c,0x000200f8, |
| 2718 | 0x00005152,0x0000515a,0x000200f8,0x00005152, | 2919 | 0x0000571c,0x000700f5,0x0000002f,0x0000571d, |
| 2719 | 0x000500c7,0x00000006,0x00005443,0x00005ceb, | 2920 | 0x00005715,0x0000570f,0x0000571b,0x00005717, |
| 2720 | 0x00000d2b,0x000500aa,0x0000002f,0x00005444, | 2921 | 0x000300f7,0x0000571f,0x00000000,0x000400fa, |
| 2721 | 0x00005443,0x000000ec,0x000300f7,0x00005497, | 2922 | 0x0000571d,0x0000571e,0x0000571f,0x000200f8, |
| 2722 | 0x00000000,0x000300fb,0x00000138,0x0000545d, | 2923 | 0x0000571e,0x000200f9,0x00005731,0x000200f8, |
| 2723 | 0x000200f8,0x0000545d,0x000300f7,0x00005468, | 2924 | 0x0000571f,0x00050041,0x000001c3,0x00005721, |
| 2724 | 0x00000000,0x000400fa,0x00005444,0x0000545f, | 2925 | 0x000001c1,0x00000362,0x0004003d,0x00000006, |
| 2725 | 0x00005468,0x000200f8,0x0000545f,0x00050080, | 2926 | 0x00005722,0x00005721,0x00050082,0x00000006, |
| 2726 | 0x00000006,0x00005461,0x0000513c,0x000001db, | 2927 | 0x00005723,0x00005712,0x00005722,0x000600a9, |
| 2727 | 0x00050084,0x00000006,0x00005463,0x000001d4, | 2928 | 0x00000006,0x00005744,0x00005738,0x000001cc, |
| 2728 | 0x00005cee,0x00050080,0x00000006,0x00005464, | 2929 | 0x0000034a,0x00050089,0x00000006,0x00005726, |
| 2729 | 0x00005461,0x00005463,0x00050051,0x00000027, | 2930 | 0x00005723,0x00005744,0x000500aa,0x0000002f, |
| 2730 | 0x000054af,0x00005cf1,0x00000000,0x000300f7, | 2931 | 0x00005727,0x00005726,0x00000140,0x000300f7, |
| 2731 | 0x00005526,0x00000000,0x000300fb,0x00000138, | 2932 | 0x0000572f,0x00000000,0x000400fa,0x00005727, |
| 2732 | 0x000054e0,0x000200f8,0x000054e0,0x0004007c, | 2933 | 0x00005728,0x0000572f,0x000200f8,0x00005728, |
| 2733 | 0x00000006,0x000054e2,0x000054af,0x000500c2, | 2934 | 0x00050086,0x00000006,0x0000572b,0x00005723, |
| 2734 | 0x00000006,0x000054e4,0x000054e2,0x0000035a, | 2935 | 0x00005744,0x00050041,0x000001c3,0x0000572c, |
| 2735 | 0x000500c7,0x00000006,0x000054e5,0x000054e4, | 2936 | 0x000001c1,0x0000020e,0x0004003d,0x00000006, |
| 2736 | 0x00000373,0x000500c7,0x00000006,0x000054e7, | 2937 | 0x0000572d,0x0000572c,0x000500b0,0x0000002f, |
| 2737 | 0x000054e2,0x00000256,0x000500ab,0x0000002f, | 2938 | 0x0000572e,0x0000572b,0x0000572d,0x000200f9, |
| 2738 | 0x000054ea,0x000054e5,0x00000138,0x000500ac, | 2939 | 0x0000572f,0x000200f8,0x0000572f,0x000700f5, |
| 2739 | 0x0000002f,0x000054ed,0x000054e7,0x0000037e, | 2940 | 0x0000002f,0x00005730,0x00005727,0x0000571f, |
| 2740 | 0x000300f7,0x000054f1,0x00000000,0x000400fa, | 2941 | 0x0000572e,0x00005728,0x000200f9,0x00005731, |
| 2741 | 0x000054ed,0x000054ee,0x000054f1,0x000200f8, | 2942 | 0x000200f8,0x00005731,0x000900f5,0x0000002f, |
| 2742 | 0x000054ee,0x000500c5,0x00000006,0x000054f0, | 2943 | 0x000060e2,0x0000037d,0x0000570e,0x0000037d, |
| 2743 | 0x000054e5,0x00000383,0x000200f9,0x00005526, | 2944 | 0x0000571e,0x00005730,0x0000572f,0x000600a9, |
| 2744 | 0x000200f8,0x000054f1,0x000500aa,0x0000002f, | 2945 | 0x00000006,0x000056b4,0x000060e2,0x000056e7, |
| 2745 | 0x000054f3,0x000054e7,0x00000138,0x000300f7, | 2946 | 0x000003bf,0x000200f9,0x000056b5,0x000200f8, |
| 2746 | 0x000054f6,0x00000000,0x000400fa,0x000054f3, | 2947 | 0x000056b5,0x000700f5,0x00000006,0x000060e3, |
| 2747 | 0x000054f4,0x000054f6,0x000200f8,0x000054f4, | 2948 | 0x000003bf,0x000056ab,0x000056b4,0x00005731, |
| 2748 | 0x000200f9,0x00005526,0x000200f8,0x000054f6, | 2949 | 0x000500c7,0x00000006,0x00005759,0x000013a9, |
| 2749 | 0x000500c2,0x00000006,0x000054f8,0x000054e7, | 2950 | 0x0000014a,0x000500ab,0x0000002f,0x0000575a, |
| 2750 | 0x0000038e,0x0004007c,0x000000f4,0x000054f9, | 2951 | 0x00005759,0x00000140,0x000300f7,0x0000540f, |
| 2751 | 0x000054f8,0x00050082,0x000000f4,0x000054fa, | 2952 | 0x00000000,0x000400fa,0x0000575a,0x00005404, |
| 2752 | 0x000054f9,0x00000391,0x000500af,0x0000002f, | 2953 | 0x0000540f,0x000200f8,0x00005404,0x00050084, |
| 2753 | 0x000054fc,0x000054fa,0x0000035a,0x000300f7, | 2954 | 0x00000006,0x00005408,0x0000034a,0x000013a7, |
| 2754 | 0x00005502,0x00000000,0x000400fa,0x000054fc, | 2955 | 0x00050080,0x00000006,0x00005409,0x000056c0, |
| 2755 | 0x000054fd,0x00005502,0x000200f8,0x000054fd, | 2956 | 0x00005408,0x00050080,0x00000006,0x0000540a, |
| 2756 | 0x000600a9,0x00000006,0x00005500,0x000054ea, | 2957 | 0x00005409,0x000008b0,0x00050041,0x0000026e, |
| 2757 | 0x00000399,0x0000039a,0x000500c5,0x00000006, | 2958 | 0x0000540b,0x000001c1,0x00000173,0x0004003d, |
| 2758 | 0x00005501,0x000054e5,0x00005500,0x000200f9, | 2959 | 0x00000007,0x0000540c,0x0000540b,0x00050051, |
| 2759 | 0x00005526,0x000200f8,0x00005502,0x000500b1, | 2960 | 0x00000006,0x00005770,0x0000540c,0x00000000, |
| 2760 | 0x0000002f,0x00005504,0x000054fa,0x0000039f, | 2961 | 0x00050095,0x00000145,0x00005772,0x00005770, |
| 2761 | 0x000300f7,0x0000550e,0x00000000,0x000400fa, | 2962 | 0x0000540a,0x00050051,0x00000006,0x00005773, |
| 2762 | 0x00005504,0x00005505,0x0000550e,0x000200f8, | 2963 | 0x00005772,0x00000001,0x00050051,0x00000006, |
| 2763 | 0x00005505,0x000300f7,0x0000550c,0x00000000, | 2964 | 0x00005774,0x00005772,0x00000000,0x00050051, |
| 2764 | 0x000400fa,0x000054ea,0x00005507,0x0000550a, | 2965 | 0x00000006,0x00005777,0x0000540c,0x00000001, |
| 2765 | 0x000200f8,0x0000550a,0x000200f9,0x0000550c, | 2966 | 0x00050080,0x00000006,0x00005779,0x00005777, |
| 2766 | 0x000200f8,0x00005507,0x000500c5,0x00000006, | 2967 | 0x00005773,0x00050050,0x00000007,0x0000577a, |
| 2767 | 0x00005509,0x000054e5,0x000003a8,0x000200f9, | 2968 | 0x00005774,0x00005779,0x0004007c,0x00000014, |
| 2768 | 0x0000550c,0x000200f8,0x0000550c,0x000700f5, | 2969 | 0x0000576a,0x0000577a,0x00060041,0x00000174, |
| 2769 | 0x00000006,0x00005d62,0x00005509,0x00005507, | 2970 | 0x00005762,0x0000576a,0x00000173,0x00000173, |
| 2770 | 0x000054e5,0x0000550a,0x000200f9,0x00005526, | 2971 | 0x0005003e,0x00005762,0x000060e3,0x00000002, |
| 2771 | 0x000200f8,0x0000550e,0x000500c7,0x00000006, | 2972 | 0x00000004,0x000200f9,0x0000540f,0x000200f8, |
| 2772 | 0x00005510,0x000054e2,0x000003b0,0x00050080, | 2973 | 0x0000540f,0x000200f9,0x00005410,0x000200f8, |
| 2773 | 0x000000f4,0x00005512,0x000054f9,0x000060ff, | 2974 | 0x00005410,0x000700f5,0x0000006c,0x000060f3, |
| 2774 | 0x0004007c,0x00000006,0x00005513,0x00005512, | 2975 | 0x000055b5,0x0000540f,0x00006121,0x0000547b, |
| 2775 | 0x000500c4,0x00000006,0x00005514,0x00005513, | 2976 | 0x000700f5,0x0000006c,0x000060ea,0x000055a2, |
| 2776 | 0x000003b6,0x000500c2,0x00000006,0x00005516, | 2977 | 0x0000540f,0x0000611d,0x0000547b,0x000700f5, |
| 2777 | 0x00005510,0x000001f0,0x000500c5,0x00000006, | 2978 | 0x00000006,0x000060e6,0x00000140,0x0000540f, |
| 2778 | 0x00005517,0x00005514,0x00005516,0x000300f7, | 2979 | 0x0000547d,0x0000547b,0x000700f5,0x00000006, |
| 2779 | 0x0000551d,0x00000000,0x000400fa,0x000054ea, | 2980 | 0x000060e4,0x000060e3,0x0000540f,0x00006135, |
| 2780 | 0x00005519,0x0000551d,0x000200f8,0x00005519, | 2981 | 0x0000547b,0x000700f5,0x00000006,0x00006178, |
| 2781 | 0x000500c7,0x00000006,0x0000551b,0x000054e2, | 2982 | 0x000060e0,0x0000540f,0x000060e4,0x0000547b, |
| 2782 | 0x000003bf,0x000500ab,0x0000002f,0x0000551c, | 2983 | 0x000500ab,0x0000002f,0x00005413,0x000060e4, |
| 2783 | 0x0000551b,0x00000138,0x000200f9,0x0000551d, | 2984 | 0x000003bf,0x000500b0,0x0000002f,0x00005415, |
| 2784 | 0x000200f8,0x0000551d,0x000700f5,0x0000002f, | 2985 | 0x000060e6,0x0000034a,0x000500a7,0x0000002f, |
| 2785 | 0x0000551e,0x000054ea,0x0000550e,0x0000551c, | 2986 | 0x00005416,0x00005413,0x00005415,0x000400f6, |
| 2786 | 0x00005519,0x000300f7,0x00005522,0x00000000, | 2987 | 0x0000547e,0x0000547b,0x00000000,0x000400fa, |
| 2787 | 0x000400fa,0x0000551e,0x0000551f,0x00005522, | 2988 | 0x00005416,0x00005417,0x0000547e,0x000200f8, |
| 2788 | 0x000200f8,0x0000551f,0x00050080,0x00000006, | 2989 | 0x00005417,0x000500c2,0x00000006,0x0000577e, |
| 2789 | 0x00005521,0x00005517,0x00000142,0x000200f9, | 2990 | 0x000060e4,0x00000325,0x00050084,0x00000006, |
| 2790 | 0x00005522,0x000200f8,0x00005522,0x000700f5, | 2991 | 0x0000541a,0x0000577e,0x000001cc,0x000200f9, |
| 2791 | 0x00000006,0x00005d61,0x00005517,0x0000551d, | 2992 | 0x0000541b,0x000200f8,0x0000541b,0x000700f5, |
| 2792 | 0x00005521,0x0000551f,0x000500c5,0x00000006, | 2993 | 0x00000006,0x0000610f,0x00000140,0x00005417, |
| 2793 | 0x00005525,0x000054e5,0x00005d61,0x000200f9, | 2994 | 0x0000645a,0x00005439,0x000700f5,0x00000006, |
| 2794 | 0x00005526,0x000200f8,0x00005526,0x000d00f5, | 2995 | 0x000060e7,0x00000140,0x00005417,0x0000543b, |
| 2795 | 0x00000006,0x00005d63,0x000054f0,0x000054ee, | 2996 | 0x00005439,0x000500b0,0x0000002f,0x0000541e, |
| 2796 | 0x000054e5,0x000054f4,0x00005501,0x000054fd, | 2997 | 0x000060e7,0x000000f3,0x000400f6,0x0000543c, |
| 2797 | 0x00005d62,0x0000550c,0x00005525,0x00005522, | 2998 | 0x00005439,0x00000000,0x000400fa,0x0000541e, |
| 2798 | 0x00050051,0x00000027,0x000054b2,0x00005cf1, | 2999 | 0x0000541f,0x0000543c,0x000200f8,0x0000541f, |
| 2799 | 0x00000001,0x000300f7,0x0000557a,0x00000000, | 3000 | 0x00050084,0x00000006,0x00005422,0x000000f3, |
| 2800 | 0x000300fb,0x00000138,0x00005534,0x000200f8, | 3001 | 0x000060e7,0x00050080,0x00000006,0x00005423, |
| 2801 | 0x00005534,0x0004007c,0x00000006,0x00005536, | 3002 | 0x0000541a,0x00005422,0x00050041,0x0000026e, |
| 2802 | 0x000054b2,0x000500c2,0x00000006,0x00005538, | 3003 | 0x00005424,0x000001c1,0x00000173,0x0004003d, |
| 2803 | 0x00005536,0x0000035a,0x000500c7,0x00000006, | 3004 | 0x00000007,0x00005425,0x00005424,0x00050051, |
| 2804 | 0x00005539,0x00005538,0x00000373,0x000500c7, | 3005 | 0x00000006,0x00005795,0x00005425,0x00000000, |
| 2805 | 0x00000006,0x0000553b,0x00005536,0x00000256, | 3006 | 0x00050095,0x00000145,0x00005797,0x00005795, |
| 2806 | 0x000500ab,0x0000002f,0x0000553e,0x00005539, | 3007 | 0x00005423,0x00050051,0x00000006,0x00005798, |
| 2807 | 0x00000138,0x000500ac,0x0000002f,0x00005541, | 3008 | 0x00005797,0x00000001,0x00050051,0x00000006, |
| 2808 | 0x0000553b,0x0000037e,0x000300f7,0x00005545, | 3009 | 0x00005799,0x00005797,0x00000000,0x00050051, |
| 2809 | 0x00000000,0x000400fa,0x00005541,0x00005542, | 3010 | 0x00000006,0x0000579c,0x00005425,0x00000001, |
| 2810 | 0x00005545,0x000200f8,0x00005542,0x000500c5, | 3011 | 0x00050080,0x00000006,0x0000579e,0x0000579c, |
| 2811 | 0x00000006,0x00005544,0x00005539,0x00000383, | 3012 | 0x00005798,0x00050050,0x00000007,0x0000579f, |
| 2812 | 0x000200f9,0x0000557a,0x000200f8,0x00005545, | 3013 | 0x00005799,0x0000579e,0x0004007c,0x00000014, |
| 2813 | 0x000500aa,0x0000002f,0x00005547,0x0000553b, | 3014 | 0x0000578f,0x0000579f,0x00060041,0x00000174, |
| 2814 | 0x00000138,0x000300f7,0x0000554a,0x00000000, | 3015 | 0x00005786,0x0000578f,0x00000173,0x00000173, |
| 2815 | 0x000400fa,0x00005547,0x00005548,0x0000554a, | 3016 | 0x0006003d,0x00000006,0x00005787,0x00005786, |
| 2816 | 0x000200f8,0x00005548,0x000200f9,0x0000557a, | 3017 | 0x00000002,0x00000004,0x000500aa,0x0000002f, |
| 2817 | 0x000200f8,0x0000554a,0x000500c2,0x00000006, | 3018 | 0x00005428,0x00005787,0x000003bf,0x000300f7, |
| 2818 | 0x0000554c,0x0000553b,0x0000038e,0x0004007c, | 3019 | 0x0000542a,0x00000000,0x000400fa,0x00005428, |
| 2819 | 0x000000f4,0x0000554d,0x0000554c,0x00050082, | 3020 | 0x00005429,0x0000542a,0x000200f8,0x00005429, |
| 2820 | 0x000000f4,0x0000554e,0x0000554d,0x00000391, | 3021 | 0x000200f9,0x00005439,0x000200f8,0x0000542a, |
| 2821 | 0x000500af,0x0000002f,0x00005550,0x0000554e, | 3022 | 0x00050080,0x00000006,0x0000542c,0x0000610f, |
| 2822 | 0x0000035a,0x000300f7,0x00005556,0x00000000, | 3023 | 0x0000026c,0x000500aa,0x0000002f,0x0000542f, |
| 2823 | 0x000400fa,0x00005550,0x00005551,0x00005556, | 3024 | 0x00005787,0x00006178,0x000300f7,0x00005438, |
| 2824 | 0x000200f8,0x00005551,0x000600a9,0x00000006, | 3025 | 0x00000000,0x000400fa,0x0000542f,0x00005430, |
| 2825 | 0x00005554,0x0000553e,0x00000399,0x0000039a, | 3026 | 0x00005438,0x000200f8,0x00005430,0x000500c7, |
| 2826 | 0x000500c5,0x00000006,0x00005555,0x00005539, | 3027 | 0x00000006,0x000057a3,0x000060e4,0x00000376, |
| 2827 | 0x00005554,0x000200f9,0x0000557a,0x000200f8, | 3028 | 0x000500aa,0x0000002f,0x000057a4,0x000057a3, |
| 2828 | 0x00005556,0x000500b1,0x0000002f,0x00005558, | 3029 | 0x000000f3,0x000300f7,0x000057f7,0x00000000, |
| 2829 | 0x0000554e,0x0000039f,0x000300f7,0x00005562, | 3030 | 0x000300fb,0x00000140,0x000057bd,0x000200f8, |
| 2830 | 0x00000000,0x000400fa,0x00005558,0x00005559, | 3031 | 0x000057bd,0x000300f7,0x000057c8,0x00000000, |
| 2831 | 0x00005562,0x000200f8,0x00005559,0x000300f7, | 3032 | 0x000400fa,0x000057a4,0x000057bf,0x000057c8, |
| 2832 | 0x00005560,0x00000000,0x000400fa,0x0000553e, | 3033 | 0x000200f8,0x000057bf,0x00050080,0x00000006, |
| 2833 | 0x0000555b,0x0000555e,0x000200f8,0x0000555e, | 3034 | 0x000057c1,0x0000541a,0x000001e3,0x00050084, |
| 2834 | 0x000200f9,0x00005560,0x000200f8,0x0000555b, | 3035 | 0x00000006,0x000057c3,0x000001dc,0x000060e7, |
| 2835 | 0x000500c5,0x00000006,0x0000555d,0x00005539, | 3036 | 0x00050080,0x00000006,0x000057c4,0x000057c1, |
| 2836 | 0x000003a8,0x000200f9,0x00005560,0x000200f8, | 3037 | 0x000057c3,0x00050051,0x00000027,0x0000580f, |
| 2837 | 0x00005560,0x000700f5,0x00000006,0x00005d66, | 3038 | 0x000060ea,0x00000000,0x000300f7,0x00005886, |
| 2838 | 0x0000555d,0x0000555b,0x00005539,0x0000555e, | 3039 | 0x00000000,0x000300fb,0x00000140,0x00005840, |
| 2839 | 0x000200f9,0x0000557a,0x000200f8,0x00005562, | 3040 | 0x000200f8,0x00005840,0x0004007c,0x00000006, |
| 2840 | 0x000500c7,0x00000006,0x00005564,0x00005536, | 3041 | 0x00005842,0x0000580f,0x000500c2,0x00000006, |
| 2841 | 0x000003b0,0x00050080,0x000000f4,0x00005566, | 3042 | 0x00005844,0x00005842,0x00000362,0x000500c7, |
| 2842 | 0x0000554d,0x000060ff,0x0004007c,0x00000006, | 3043 | 0x00000006,0x00005845,0x00005844,0x000003d1, |
| 2843 | 0x00005567,0x00005566,0x000500c4,0x00000006, | 3044 | 0x000500c7,0x00000006,0x00005847,0x00005842, |
| 2844 | 0x00005568,0x00005567,0x000003b6,0x000500c2, | 3045 | 0x0000025e,0x000500ab,0x0000002f,0x0000584a, |
| 2845 | 0x00000006,0x0000556a,0x00005564,0x000001f0, | 3046 | 0x00005845,0x00000140,0x000500ac,0x0000002f, |
| 2846 | 0x000500c5,0x00000006,0x0000556b,0x00005568, | 3047 | 0x0000584d,0x00005847,0x000003dc,0x000300f7, |
| 2847 | 0x0000556a,0x000300f7,0x00005571,0x00000000, | 3048 | 0x00005851,0x00000000,0x000400fa,0x0000584d, |
| 2848 | 0x000400fa,0x0000553e,0x0000556d,0x00005571, | 3049 | 0x0000584e,0x00005851,0x000200f8,0x0000584e, |
| 2849 | 0x000200f8,0x0000556d,0x000500c7,0x00000006, | 3050 | 0x000500c5,0x00000006,0x00005850,0x00005845, |
| 2850 | 0x0000556f,0x00005536,0x000003bf,0x000500ab, | 3051 | 0x000003e1,0x000200f9,0x00005886,0x000200f8, |
| 2851 | 0x0000002f,0x00005570,0x0000556f,0x00000138, | 3052 | 0x00005851,0x000500aa,0x0000002f,0x00005853, |
| 2852 | 0x000200f9,0x00005571,0x000200f8,0x00005571, | 3053 | 0x00005847,0x00000140,0x000300f7,0x00005856, |
| 2853 | 0x000700f5,0x0000002f,0x00005572,0x0000553e, | 3054 | 0x00000000,0x000400fa,0x00005853,0x00005854, |
| 2854 | 0x00005562,0x00005570,0x0000556d,0x000300f7, | 3055 | 0x00005856,0x000200f8,0x00005854,0x000200f9, |
| 2855 | 0x00005576,0x00000000,0x000400fa,0x00005572, | 3056 | 0x00005886,0x000200f8,0x00005856,0x000500c2, |
| 2856 | 0x00005573,0x00005576,0x000200f8,0x00005573, | 3057 | 0x00000006,0x00005858,0x00005847,0x000003ec, |
| 2857 | 0x00050080,0x00000006,0x00005575,0x0000556b, | 3058 | 0x0004007c,0x000000fb,0x00005859,0x00005858, |
| 2858 | 0x00000142,0x000200f9,0x00005576,0x000200f8, | 3059 | 0x00050082,0x000000fb,0x0000585a,0x00005859, |
| 2859 | 0x00005576,0x000700f5,0x00000006,0x00005d65, | 3060 | 0x000003ef,0x000500af,0x0000002f,0x0000585c, |
| 2860 | 0x0000556b,0x00005571,0x00005575,0x00005573, | 3061 | 0x0000585a,0x00000362,0x000300f7,0x00005862, |
| 2861 | 0x000500c5,0x00000006,0x00005579,0x00005539, | 3062 | 0x00000000,0x000400fa,0x0000585c,0x0000585d, |
| 2862 | 0x00005d65,0x000200f9,0x0000557a,0x000200f8, | 3063 | 0x00005862,0x000200f8,0x0000585d,0x000600a9, |
| 2863 | 0x0000557a,0x000d00f5,0x00000006,0x00005d67, | 3064 | 0x00000006,0x00005860,0x0000584a,0x000003f7, |
| 2864 | 0x00005544,0x00005542,0x00005539,0x00005548, | 3065 | 0x000003f8,0x000500c5,0x00000006,0x00005861, |
| 2865 | 0x00005555,0x00005551,0x00005d66,0x00005560, | 3066 | 0x00005845,0x00005860,0x000200f9,0x00005886, |
| 2866 | 0x00005579,0x00005576,0x000500c4,0x00000006, | 3067 | 0x000200f8,0x00005862,0x000500b1,0x0000002f, |
| 2867 | 0x000054b4,0x00005d67,0x0000035a,0x000500c5, | 3068 | 0x00005864,0x0000585a,0x000003fd,0x000300f7, |
| 2868 | 0x00000006,0x000054b5,0x00005d63,0x000054b4, | 3069 | 0x0000586e,0x00000000,0x000400fa,0x00005864, |
| 2869 | 0x00050095,0x0000013d,0x00005593,0x000053ea, | 3070 | 0x00005865,0x0000586e,0x000200f8,0x00005865, |
| 2870 | 0x00005464,0x00050051,0x00000006,0x00005594, | 3071 | 0x000300f7,0x0000586c,0x00000000,0x000400fa, |
| 2871 | 0x00005593,0x00000001,0x00050051,0x00000006, | 3072 | 0x0000584a,0x00005867,0x0000586a,0x000200f8, |
| 2872 | 0x00005595,0x00005593,0x00000000,0x00050080, | 3073 | 0x0000586a,0x000200f9,0x0000586c,0x000200f8, |
| 2873 | 0x00000006,0x0000559a,0x000053f1,0x00005594, | 3074 | 0x00005867,0x000500c5,0x00000006,0x00005869, |
| 2874 | 0x00050050,0x00000007,0x0000559b,0x00005595, | 3075 | 0x00005845,0x00000406,0x000200f9,0x0000586c, |
| 2875 | 0x0000559a,0x0004007c,0x00000014,0x0000558b, | 3076 | 0x000200f8,0x0000586c,0x000700f5,0x00000006, |
| 2876 | 0x0000559b,0x00060041,0x0000016c,0x00005583, | 3077 | 0x00006188,0x00005869,0x00005867,0x00005845, |
| 2877 | 0x0000558b,0x0000016b,0x0000016b,0x0005003e, | 3078 | 0x0000586a,0x000200f9,0x00005886,0x000200f8, |
| 2878 | 0x00005583,0x000054b5,0x00000002,0x00000004, | 3079 | 0x0000586e,0x000500c7,0x00000006,0x00005870, |
| 2879 | 0x00050080,0x00000006,0x000054bb,0x00005464, | 3080 | 0x00005842,0x0000040e,0x00050080,0x000000fb, |
| 2880 | 0x000000ec,0x00050051,0x00000027,0x000054bd, | 3081 | 0x00005872,0x00005859,0x00006533,0x0004007c, |
| 2881 | 0x00005cf1,0x00000002,0x000300f7,0x000055ee, | 3082 | 0x00000006,0x00005873,0x00005872,0x000500c4, |
| 2882 | 0x00000000,0x000300fb,0x00000138,0x000055a8, | 3083 | 0x00000006,0x00005874,0x00005873,0x00000414, |
| 2883 | 0x000200f8,0x000055a8,0x0004007c,0x00000006, | 3084 | 0x000500c2,0x00000006,0x00005876,0x00005870, |
| 2884 | 0x000055aa,0x000054bd,0x000500c2,0x00000006, | 3085 | 0x000001f8,0x000500c5,0x00000006,0x00005877, |
| 2885 | 0x000055ac,0x000055aa,0x0000035a,0x000500c7, | 3086 | 0x00005874,0x00005876,0x000300f7,0x0000587d, |
| 2886 | 0x00000006,0x000055ad,0x000055ac,0x00000373, | 3087 | 0x00000000,0x000400fa,0x0000584a,0x00005879, |
| 2887 | 0x000500c7,0x00000006,0x000055af,0x000055aa, | 3088 | 0x0000587d,0x000200f8,0x00005879,0x000500c7, |
| 2888 | 0x00000256,0x000500ab,0x0000002f,0x000055b2, | 3089 | 0x00000006,0x0000587b,0x00005842,0x0000041d, |
| 2889 | 0x000055ad,0x00000138,0x000500ac,0x0000002f, | 3090 | 0x000500ab,0x0000002f,0x0000587c,0x0000587b, |
| 2890 | 0x000055b5,0x000055af,0x0000037e,0x000300f7, | 3091 | 0x00000140,0x000200f9,0x0000587d,0x000200f8, |
| 2891 | 0x000055b9,0x00000000,0x000400fa,0x000055b5, | 3092 | 0x0000587d,0x000700f5,0x0000002f,0x0000587e, |
| 2892 | 0x000055b6,0x000055b9,0x000200f8,0x000055b6, | 3093 | 0x0000584a,0x0000586e,0x0000587c,0x00005879, |
| 2893 | 0x000500c5,0x00000006,0x000055b8,0x000055ad, | 3094 | 0x000300f7,0x00005882,0x00000000,0x000400fa, |
| 2894 | 0x00000383,0x000200f9,0x000055ee,0x000200f8, | 3095 | 0x0000587e,0x0000587f,0x00005882,0x000200f8, |
| 2895 | 0x000055b9,0x000500aa,0x0000002f,0x000055bb, | 3096 | 0x0000587f,0x00050080,0x00000006,0x00005881, |
| 2896 | 0x000055af,0x00000138,0x000300f7,0x000055be, | 3097 | 0x00005877,0x0000014a,0x000200f9,0x00005882, |
| 2897 | 0x00000000,0x000400fa,0x000055bb,0x000055bc, | 3098 | 0x000200f8,0x00005882,0x000700f5,0x00000006, |
| 2898 | 0x000055be,0x000200f8,0x000055bc,0x000200f9, | 3099 | 0x00006187,0x00005877,0x0000587d,0x00005881, |
| 2899 | 0x000055ee,0x000200f8,0x000055be,0x000500c2, | 3100 | 0x0000587f,0x000500c5,0x00000006,0x00005885, |
| 2900 | 0x00000006,0x000055c0,0x000055af,0x0000038e, | 3101 | 0x00005845,0x00006187,0x000200f9,0x00005886, |
| 2901 | 0x0004007c,0x000000f4,0x000055c1,0x000055c0, | 3102 | 0x000200f8,0x00005886,0x000d00f5,0x00000006, |
| 2902 | 0x00050082,0x000000f4,0x000055c2,0x000055c1, | 3103 | 0x00006189,0x00005850,0x0000584e,0x00005845, |
| 2903 | 0x00000391,0x000500af,0x0000002f,0x000055c4, | 3104 | 0x00005854,0x00005861,0x0000585d,0x00006188, |
| 2904 | 0x000055c2,0x0000035a,0x000300f7,0x000055ca, | 3105 | 0x0000586c,0x00005885,0x00005882,0x00050051, |
| 2905 | 0x00000000,0x000400fa,0x000055c4,0x000055c5, | 3106 | 0x00000027,0x00005812,0x000060ea,0x00000001, |
| 2906 | 0x000055ca,0x000200f8,0x000055c5,0x000600a9, | 3107 | 0x000300f7,0x000058da,0x00000000,0x000300fb, |
| 2907 | 0x00000006,0x000055c8,0x000055b2,0x00000399, | 3108 | 0x00000140,0x00005894,0x000200f8,0x00005894, |
| 2908 | 0x0000039a,0x000500c5,0x00000006,0x000055c9, | 3109 | 0x0004007c,0x00000006,0x00005896,0x00005812, |
| 2909 | 0x000055ad,0x000055c8,0x000200f9,0x000055ee, | 3110 | 0x000500c2,0x00000006,0x00005898,0x00005896, |
| 2910 | 0x000200f8,0x000055ca,0x000500b1,0x0000002f, | 3111 | 0x00000362,0x000500c7,0x00000006,0x00005899, |
| 2911 | 0x000055cc,0x000055c2,0x0000039f,0x000300f7, | 3112 | 0x00005898,0x000003d1,0x000500c7,0x00000006, |
| 2912 | 0x000055d6,0x00000000,0x000400fa,0x000055cc, | 3113 | 0x0000589b,0x00005896,0x0000025e,0x000500ab, |
| 2913 | 0x000055cd,0x000055d6,0x000200f8,0x000055cd, | 3114 | 0x0000002f,0x0000589e,0x00005899,0x00000140, |
| 2914 | 0x000300f7,0x000055d4,0x00000000,0x000400fa, | 3115 | 0x000500ac,0x0000002f,0x000058a1,0x0000589b, |
| 2915 | 0x000055b2,0x000055cf,0x000055d2,0x000200f8, | 3116 | 0x000003dc,0x000300f7,0x000058a5,0x00000000, |
| 2916 | 0x000055d2,0x000200f9,0x000055d4,0x000200f8, | 3117 | 0x000400fa,0x000058a1,0x000058a2,0x000058a5, |
| 2917 | 0x000055cf,0x000500c5,0x00000006,0x000055d1, | 3118 | 0x000200f8,0x000058a2,0x000500c5,0x00000006, |
| 2918 | 0x000055ad,0x000003a8,0x000200f9,0x000055d4, | 3119 | 0x000058a4,0x00005899,0x000003e1,0x000200f9, |
| 2919 | 0x000200f8,0x000055d4,0x000700f5,0x00000006, | 3120 | 0x000058da,0x000200f8,0x000058a5,0x000500aa, |
| 2920 | 0x00005d6a,0x000055d1,0x000055cf,0x000055ad, | 3121 | 0x0000002f,0x000058a7,0x0000589b,0x00000140, |
| 2921 | 0x000055d2,0x000200f9,0x000055ee,0x000200f8, | 3122 | 0x000300f7,0x000058aa,0x00000000,0x000400fa, |
| 2922 | 0x000055d6,0x000500c7,0x00000006,0x000055d8, | 3123 | 0x000058a7,0x000058a8,0x000058aa,0x000200f8, |
| 2923 | 0x000055aa,0x000003b0,0x00050080,0x000000f4, | 3124 | 0x000058a8,0x000200f9,0x000058da,0x000200f8, |
| 2924 | 0x000055da,0x000055c1,0x000060ff,0x0004007c, | 3125 | 0x000058aa,0x000500c2,0x00000006,0x000058ac, |
| 2925 | 0x00000006,0x000055db,0x000055da,0x000500c4, | 3126 | 0x0000589b,0x000003ec,0x0004007c,0x000000fb, |
| 2926 | 0x00000006,0x000055dc,0x000055db,0x000003b6, | 3127 | 0x000058ad,0x000058ac,0x00050082,0x000000fb, |
| 2927 | 0x000500c2,0x00000006,0x000055de,0x000055d8, | 3128 | 0x000058ae,0x000058ad,0x000003ef,0x000500af, |
| 2928 | 0x000001f0,0x000500c5,0x00000006,0x000055df, | 3129 | 0x0000002f,0x000058b0,0x000058ae,0x00000362, |
| 2929 | 0x000055dc,0x000055de,0x000300f7,0x000055e5, | 3130 | 0x000300f7,0x000058b6,0x00000000,0x000400fa, |
| 2930 | 0x00000000,0x000400fa,0x000055b2,0x000055e1, | 3131 | 0x000058b0,0x000058b1,0x000058b6,0x000200f8, |
| 2931 | 0x000055e5,0x000200f8,0x000055e1,0x000500c7, | 3132 | 0x000058b1,0x000600a9,0x00000006,0x000058b4, |
| 2932 | 0x00000006,0x000055e3,0x000055aa,0x000003bf, | 3133 | 0x0000589e,0x000003f7,0x000003f8,0x000500c5, |
| 2933 | 0x000500ab,0x0000002f,0x000055e4,0x000055e3, | 3134 | 0x00000006,0x000058b5,0x00005899,0x000058b4, |
| 2934 | 0x00000138,0x000200f9,0x000055e5,0x000200f8, | 3135 | 0x000200f9,0x000058da,0x000200f8,0x000058b6, |
| 2935 | 0x000055e5,0x000700f5,0x0000002f,0x000055e6, | 3136 | 0x000500b1,0x0000002f,0x000058b8,0x000058ae, |
| 2936 | 0x000055b2,0x000055d6,0x000055e4,0x000055e1, | 3137 | 0x000003fd,0x000300f7,0x000058c2,0x00000000, |
| 2937 | 0x000300f7,0x000055ea,0x00000000,0x000400fa, | 3138 | 0x000400fa,0x000058b8,0x000058b9,0x000058c2, |
| 2938 | 0x000055e6,0x000055e7,0x000055ea,0x000200f8, | 3139 | 0x000200f8,0x000058b9,0x000300f7,0x000058c0, |
| 2939 | 0x000055e7,0x00050080,0x00000006,0x000055e9, | 3140 | 0x00000000,0x000400fa,0x0000589e,0x000058bb, |
| 2940 | 0x000055df,0x00000142,0x000200f9,0x000055ea, | 3141 | 0x000058be,0x000200f8,0x000058be,0x000200f9, |
| 2941 | 0x000200f8,0x000055ea,0x000700f5,0x00000006, | 3142 | 0x000058c0,0x000200f8,0x000058bb,0x000500c5, |
| 2942 | 0x00005d69,0x000055df,0x000055e5,0x000055e9, | 3143 | 0x00000006,0x000058bd,0x00005899,0x00000406, |
| 2943 | 0x000055e7,0x000500c5,0x00000006,0x000055ed, | 3144 | 0x000200f9,0x000058c0,0x000200f8,0x000058c0, |
| 2944 | 0x000055ad,0x00005d69,0x000200f9,0x000055ee, | 3145 | 0x000700f5,0x00000006,0x0000618c,0x000058bd, |
| 2945 | 0x000200f8,0x000055ee,0x000d00f5,0x00000006, | 3146 | 0x000058bb,0x00005899,0x000058be,0x000200f9, |
| 2946 | 0x00005d6b,0x000055b8,0x000055b6,0x000055ad, | 3147 | 0x000058da,0x000200f8,0x000058c2,0x000500c7, |
| 2947 | 0x000055bc,0x000055c9,0x000055c5,0x00005d6a, | 3148 | 0x00000006,0x000058c4,0x00005896,0x0000040e, |
| 2948 | 0x000055d4,0x000055ed,0x000055ea,0x00050051, | 3149 | 0x00050080,0x000000fb,0x000058c6,0x000058ad, |
| 2949 | 0x00000027,0x000054c0,0x00005cf4,0x00000000, | 3150 | 0x00006533,0x0004007c,0x00000006,0x000058c7, |
| 2950 | 0x000300f7,0x00005642,0x00000000,0x000300fb, | 3151 | 0x000058c6,0x000500c4,0x00000006,0x000058c8, |
| 2951 | 0x00000138,0x000055fc,0x000200f8,0x000055fc, | 3152 | 0x000058c7,0x00000414,0x000500c2,0x00000006, |
| 2952 | 0x0004007c,0x00000006,0x000055fe,0x000054c0, | 3153 | 0x000058ca,0x000058c4,0x000001f8,0x000500c5, |
| 2953 | 0x000500c2,0x00000006,0x00005600,0x000055fe, | 3154 | 0x00000006,0x000058cb,0x000058c8,0x000058ca, |
| 2954 | 0x0000035a,0x000500c7,0x00000006,0x00005601, | 3155 | 0x000300f7,0x000058d1,0x00000000,0x000400fa, |
| 2955 | 0x00005600,0x00000373,0x000500c7,0x00000006, | 3156 | 0x0000589e,0x000058cd,0x000058d1,0x000200f8, |
| 2956 | 0x00005603,0x000055fe,0x00000256,0x000500aa, | 3157 | 0x000058cd,0x000500c7,0x00000006,0x000058cf, |
| 2957 | 0x0000002f,0x00005607,0x00005601,0x00000138, | 3158 | 0x00005896,0x0000041d,0x000500ab,0x0000002f, |
| 2958 | 0x000500ac,0x0000002f,0x00005609,0x00005603, | 3159 | 0x000058d0,0x000058cf,0x00000140,0x000200f9, |
| 2959 | 0x0000037e,0x000300f7,0x0000560d,0x00000000, | 3160 | 0x000058d1,0x000200f8,0x000058d1,0x000700f5, |
| 2960 | 0x000400fa,0x00005609,0x0000560a,0x0000560d, | 3161 | 0x0000002f,0x000058d2,0x0000589e,0x000058c2, |
| 2961 | 0x000200f8,0x0000560a,0x000500c5,0x00000006, | 3162 | 0x000058d0,0x000058cd,0x000300f7,0x000058d6, |
| 2962 | 0x0000560c,0x00005601,0x00000383,0x000200f9, | 3163 | 0x00000000,0x000400fa,0x000058d2,0x000058d3, |
| 2963 | 0x00005642,0x000200f8,0x0000560d,0x000500aa, | 3164 | 0x000058d6,0x000200f8,0x000058d3,0x00050080, |
| 2964 | 0x0000002f,0x0000560f,0x00005603,0x00000138, | 3165 | 0x00000006,0x000058d5,0x000058cb,0x0000014a, |
| 2965 | 0x000300f7,0x00005612,0x00000000,0x000400fa, | 3166 | 0x000200f9,0x000058d6,0x000200f8,0x000058d6, |
| 2966 | 0x0000560f,0x00005610,0x00005612,0x000200f8, | 3167 | 0x000700f5,0x00000006,0x0000618b,0x000058cb, |
| 2967 | 0x00005610,0x000200f9,0x00005642,0x000200f8, | 3168 | 0x000058d1,0x000058d5,0x000058d3,0x000500c5, |
| 2968 | 0x00005612,0x000500c2,0x00000006,0x00005614, | 3169 | 0x00000006,0x000058d9,0x00005899,0x0000618b, |
| 2969 | 0x00005603,0x0000038e,0x0004007c,0x000000f4, | 3170 | 0x000200f9,0x000058da,0x000200f8,0x000058da, |
| 2970 | 0x00005615,0x00005614,0x00050082,0x000000f4, | 3171 | 0x000d00f5,0x00000006,0x0000618d,0x000058a4, |
| 2971 | 0x00005616,0x00005615,0x00000391,0x000500af, | 3172 | 0x000058a2,0x00005899,0x000058a8,0x000058b5, |
| 2972 | 0x0000002f,0x00005618,0x00005616,0x0000035a, | 3173 | 0x000058b1,0x0000618c,0x000058c0,0x000058d9, |
| 2973 | 0x000300f7,0x0000561e,0x00000000,0x000400fa, | 3174 | 0x000058d6,0x000500c4,0x00000006,0x00005814, |
| 2974 | 0x00005618,0x00005619,0x0000561e,0x000200f8, | 3175 | 0x0000618d,0x00000362,0x000500c5,0x00000006, |
| 2975 | 0x00005619,0x000600a9,0x00000006,0x0000561c, | 3176 | 0x00005815,0x00006189,0x00005814,0x00050095, |
| 2976 | 0x00005607,0x00000399,0x0000039a,0x000500c5, | 3177 | 0x00000145,0x000058f3,0x00005795,0x000057c4, |
| 2977 | 0x00000006,0x0000561d,0x00005601,0x0000561c, | 3178 | 0x00050051,0x00000006,0x000058f4,0x000058f3, |
| 2978 | 0x000200f9,0x00005642,0x000200f8,0x0000561e, | 3179 | 0x00000001,0x00050051,0x00000006,0x000058f5, |
| 2979 | 0x000500b1,0x0000002f,0x00005620,0x00005616, | 3180 | 0x000058f3,0x00000000,0x00050080,0x00000006, |
| 2980 | 0x0000039f,0x000300f7,0x0000562a,0x00000000, | 3181 | 0x000058fa,0x0000579c,0x000058f4,0x00050050, |
| 2981 | 0x000400fa,0x00005620,0x00005621,0x0000562a, | 3182 | 0x00000007,0x000058fb,0x000058f5,0x000058fa, |
| 2982 | 0x000200f8,0x00005621,0x000300f7,0x00005628, | 3183 | 0x0004007c,0x00000014,0x000058eb,0x000058fb, |
| 2983 | 0x00000000,0x000400fa,0x00005607,0x00005623, | 3184 | 0x00060041,0x00000174,0x000058e3,0x000058eb, |
| 2984 | 0x00005626,0x000200f8,0x00005626,0x000200f9, | 3185 | 0x00000173,0x00000173,0x0005003e,0x000058e3, |
| 2985 | 0x00005628,0x000200f8,0x00005623,0x000500c5, | 3186 | 0x00005815,0x00000002,0x00000004,0x00050080, |
| 2986 | 0x00000006,0x00005625,0x00005601,0x000003a8, | 3187 | 0x00000006,0x0000581b,0x000057c4,0x000000f3, |
| 2987 | 0x000200f9,0x00005628,0x000200f8,0x00005628, | 3188 | 0x00050051,0x00000027,0x0000581d,0x000060ea, |
| 2988 | 0x000700f5,0x00000006,0x00005d6e,0x00005625, | 3189 | 0x00000002,0x000300f7,0x0000594e,0x00000000, |
| 2989 | 0x00005623,0x00005601,0x00005626,0x000200f9, | 3190 | 0x000300fb,0x00000140,0x00005908,0x000200f8, |
| 2990 | 0x00005642,0x000200f8,0x0000562a,0x000500c7, | 3191 | 0x00005908,0x0004007c,0x00000006,0x0000590a, |
| 2991 | 0x00000006,0x0000562c,0x000055fe,0x000003b0, | 3192 | 0x0000581d,0x000500c2,0x00000006,0x0000590c, |
| 2992 | 0x00050080,0x000000f4,0x0000562e,0x00005615, | 3193 | 0x0000590a,0x00000362,0x000500c7,0x00000006, |
| 2993 | 0x000060ff,0x0004007c,0x00000006,0x0000562f, | 3194 | 0x0000590d,0x0000590c,0x000003d1,0x000500c7, |
| 2994 | 0x0000562e,0x000500c4,0x00000006,0x00005630, | 3195 | 0x00000006,0x0000590f,0x0000590a,0x0000025e, |
| 2995 | 0x0000562f,0x000003b6,0x000500c2,0x00000006, | 3196 | 0x000500ab,0x0000002f,0x00005912,0x0000590d, |
| 2996 | 0x00005632,0x0000562c,0x000001f0,0x000500c5, | 3197 | 0x00000140,0x000500ac,0x0000002f,0x00005915, |
| 2997 | 0x00000006,0x00005633,0x00005630,0x00005632, | 3198 | 0x0000590f,0x000003dc,0x000300f7,0x00005919, |
| 2998 | 0x000300f7,0x00005639,0x00000000,0x000400fa, | 3199 | 0x00000000,0x000400fa,0x00005915,0x00005916, |
| 2999 | 0x00005607,0x00005635,0x00005639,0x000200f8, | 3200 | 0x00005919,0x000200f8,0x00005916,0x000500c5, |
| 3000 | 0x00005635,0x000500c7,0x00000006,0x00005637, | 3201 | 0x00000006,0x00005918,0x0000590d,0x000003e1, |
| 3001 | 0x000055fe,0x000003bf,0x000500ab,0x0000002f, | 3202 | 0x000200f9,0x0000594e,0x000200f8,0x00005919, |
| 3002 | 0x00005638,0x00005637,0x00000138,0x000200f9, | 3203 | 0x000500aa,0x0000002f,0x0000591b,0x0000590f, |
| 3003 | 0x00005639,0x000200f8,0x00005639,0x000700f5, | 3204 | 0x00000140,0x000300f7,0x0000591e,0x00000000, |
| 3004 | 0x0000002f,0x0000563a,0x00005607,0x0000562a, | 3205 | 0x000400fa,0x0000591b,0x0000591c,0x0000591e, |
| 3005 | 0x00005638,0x00005635,0x000300f7,0x0000563e, | 3206 | 0x000200f8,0x0000591c,0x000200f9,0x0000594e, |
| 3006 | 0x00000000,0x000400fa,0x0000563a,0x0000563b, | 3207 | 0x000200f8,0x0000591e,0x000500c2,0x00000006, |
| 3007 | 0x0000563e,0x000200f8,0x0000563b,0x00050080, | 3208 | 0x00005920,0x0000590f,0x000003ec,0x0004007c, |
| 3008 | 0x00000006,0x0000563d,0x00005633,0x00000142, | 3209 | 0x000000fb,0x00005921,0x00005920,0x00050082, |
| 3009 | 0x000200f9,0x0000563e,0x000200f8,0x0000563e, | 3210 | 0x000000fb,0x00005922,0x00005921,0x000003ef, |
| 3010 | 0x000700f5,0x00000006,0x00005d6d,0x00005633, | 3211 | 0x000500af,0x0000002f,0x00005924,0x00005922, |
| 3011 | 0x00005639,0x0000563d,0x0000563b,0x000500c5, | 3212 | 0x00000362,0x000300f7,0x0000592a,0x00000000, |
| 3012 | 0x00000006,0x00005641,0x00005601,0x00005d6d, | 3213 | 0x000400fa,0x00005924,0x00005925,0x0000592a, |
| 3013 | 0x000200f9,0x00005642,0x000200f8,0x00005642, | 3214 | 0x000200f8,0x00005925,0x000600a9,0x00000006, |
| 3014 | 0x000d00f5,0x00000006,0x00005d6f,0x0000560c, | 3215 | 0x00005928,0x00005912,0x000003f7,0x000003f8, |
| 3015 | 0x0000560a,0x00005601,0x00005610,0x0000561d, | 3216 | 0x000500c5,0x00000006,0x00005929,0x0000590d, |
| 3016 | 0x00005619,0x00005d6e,0x00005628,0x00005641, | 3217 | 0x00005928,0x000200f9,0x0000594e,0x000200f8, |
| 3017 | 0x0000563e,0x000500c4,0x00000006,0x000054c2, | 3218 | 0x0000592a,0x000500b1,0x0000002f,0x0000592c, |
| 3018 | 0x00005d6f,0x0000035a,0x000500c5,0x00000006, | 3219 | 0x00005922,0x000003fd,0x000300f7,0x00005936, |
| 3019 | 0x000054c3,0x00005d6b,0x000054c2,0x00050095, | 3220 | 0x00000000,0x000400fa,0x0000592c,0x0000592d, |
| 3020 | 0x0000013d,0x0000565b,0x000053ea,0x000054bb, | 3221 | 0x00005936,0x000200f8,0x0000592d,0x000300f7, |
| 3021 | 0x00050051,0x00000006,0x0000565c,0x0000565b, | 3222 | 0x00005934,0x00000000,0x000400fa,0x00005912, |
| 3022 | 0x00000001,0x00050051,0x00000006,0x0000565d, | 3223 | 0x0000592f,0x00005932,0x000200f8,0x00005932, |
| 3023 | 0x0000565b,0x00000000,0x00050080,0x00000006, | 3224 | 0x000200f9,0x00005934,0x000200f8,0x0000592f, |
| 3024 | 0x00005662,0x000053f1,0x0000565c,0x00050050, | 3225 | 0x000500c5,0x00000006,0x00005931,0x0000590d, |
| 3025 | 0x00000007,0x00005663,0x0000565d,0x00005662, | 3226 | 0x00000406,0x000200f9,0x00005934,0x000200f8, |
| 3026 | 0x0004007c,0x00000014,0x00005653,0x00005663, | 3227 | 0x00005934,0x000700f5,0x00000006,0x00006190, |
| 3027 | 0x00060041,0x0000016c,0x0000564b,0x00005653, | 3228 | 0x00005931,0x0000592f,0x0000590d,0x00005932, |
| 3028 | 0x0000016b,0x0000016b,0x0005003e,0x0000564b, | 3229 | 0x000200f9,0x0000594e,0x000200f8,0x00005936, |
| 3029 | 0x000054c3,0x00000002,0x00000004,0x00050080, | 3230 | 0x000500c7,0x00000006,0x00005938,0x0000590a, |
| 3030 | 0x00000006,0x000054c8,0x00005464,0x000001cd, | 3231 | 0x0000040e,0x00050080,0x000000fb,0x0000593a, |
| 3031 | 0x00050051,0x00000027,0x000054ca,0x00005cf4, | 3232 | 0x00005921,0x00006533,0x0004007c,0x00000006, |
| 3032 | 0x00000001,0x000300f7,0x000056b6,0x00000000, | 3233 | 0x0000593b,0x0000593a,0x000500c4,0x00000006, |
| 3033 | 0x000300fb,0x00000138,0x00005670,0x000200f8, | 3234 | 0x0000593c,0x0000593b,0x00000414,0x000500c2, |
| 3034 | 0x00005670,0x0004007c,0x00000006,0x00005672, | 3235 | 0x00000006,0x0000593e,0x00005938,0x000001f8, |
| 3035 | 0x000054ca,0x000500c2,0x00000006,0x00005674, | 3236 | 0x000500c5,0x00000006,0x0000593f,0x0000593c, |
| 3036 | 0x00005672,0x0000035a,0x000500c7,0x00000006, | 3237 | 0x0000593e,0x000300f7,0x00005945,0x00000000, |
| 3037 | 0x00005675,0x00005674,0x00000373,0x000500c7, | 3238 | 0x000400fa,0x00005912,0x00005941,0x00005945, |
| 3038 | 0x00000006,0x00005677,0x00005672,0x00000256, | 3239 | 0x000200f8,0x00005941,0x000500c7,0x00000006, |
| 3039 | 0x000500aa,0x0000002f,0x0000567b,0x00005675, | 3240 | 0x00005943,0x0000590a,0x0000041d,0x000500ab, |
| 3040 | 0x00000138,0x000500ac,0x0000002f,0x0000567d, | 3241 | 0x0000002f,0x00005944,0x00005943,0x00000140, |
| 3041 | 0x00005677,0x0000037e,0x000300f7,0x00005681, | 3242 | 0x000200f9,0x00005945,0x000200f8,0x00005945, |
| 3042 | 0x00000000,0x000400fa,0x0000567d,0x0000567e, | 3243 | 0x000700f5,0x0000002f,0x00005946,0x00005912, |
| 3043 | 0x00005681,0x000200f8,0x0000567e,0x000500c5, | 3244 | 0x00005936,0x00005944,0x00005941,0x000300f7, |
| 3044 | 0x00000006,0x00005680,0x00005675,0x00000383, | 3245 | 0x0000594a,0x00000000,0x000400fa,0x00005946, |
| 3045 | 0x000200f9,0x000056b6,0x000200f8,0x00005681, | 3246 | 0x00005947,0x0000594a,0x000200f8,0x00005947, |
| 3046 | 0x000500aa,0x0000002f,0x00005683,0x00005677, | 3247 | 0x00050080,0x00000006,0x00005949,0x0000593f, |
| 3047 | 0x00000138,0x000300f7,0x00005686,0x00000000, | 3248 | 0x0000014a,0x000200f9,0x0000594a,0x000200f8, |
| 3048 | 0x000400fa,0x00005683,0x00005684,0x00005686, | 3249 | 0x0000594a,0x000700f5,0x00000006,0x0000618f, |
| 3049 | 0x000200f8,0x00005684,0x000200f9,0x000056b6, | 3250 | 0x0000593f,0x00005945,0x00005949,0x00005947, |
| 3050 | 0x000200f8,0x00005686,0x000500c2,0x00000006, | 3251 | 0x000500c5,0x00000006,0x0000594d,0x0000590d, |
| 3051 | 0x00005688,0x00005677,0x0000038e,0x0004007c, | 3252 | 0x0000618f,0x000200f9,0x0000594e,0x000200f8, |
| 3052 | 0x000000f4,0x00005689,0x00005688,0x00050082, | 3253 | 0x0000594e,0x000d00f5,0x00000006,0x00006191, |
| 3053 | 0x000000f4,0x0000568a,0x00005689,0x00000391, | 3254 | 0x00005918,0x00005916,0x0000590d,0x0000591c, |
| 3054 | 0x000500af,0x0000002f,0x0000568c,0x0000568a, | 3255 | 0x00005929,0x00005925,0x00006190,0x00005934, |
| 3055 | 0x0000035a,0x000300f7,0x00005692,0x00000000, | 3256 | 0x0000594d,0x0000594a,0x00050051,0x00000027, |
| 3056 | 0x000400fa,0x0000568c,0x0000568d,0x00005692, | 3257 | 0x00005820,0x000060f3,0x00000000,0x000300f7, |
| 3057 | 0x000200f8,0x0000568d,0x000600a9,0x00000006, | 3258 | 0x000059a2,0x00000000,0x000300fb,0x00000140, |
| 3058 | 0x00005690,0x0000567b,0x00000399,0x0000039a, | 3259 | 0x0000595c,0x000200f8,0x0000595c,0x0004007c, |
| 3059 | 0x000500c5,0x00000006,0x00005691,0x00005675, | 3260 | 0x00000006,0x0000595e,0x00005820,0x000500c2, |
| 3060 | 0x00005690,0x000200f9,0x000056b6,0x000200f8, | 3261 | 0x00000006,0x00005960,0x0000595e,0x00000362, |
| 3061 | 0x00005692,0x000500b1,0x0000002f,0x00005694, | 3262 | 0x000500c7,0x00000006,0x00005961,0x00005960, |
| 3062 | 0x0000568a,0x0000039f,0x000300f7,0x0000569e, | 3263 | 0x000003d1,0x000500c7,0x00000006,0x00005963, |
| 3063 | 0x00000000,0x000400fa,0x00005694,0x00005695, | 3264 | 0x0000595e,0x0000025e,0x000500aa,0x0000002f, |
| 3064 | 0x0000569e,0x000200f8,0x00005695,0x000300f7, | 3265 | 0x00005967,0x00005961,0x00000140,0x000500ac, |
| 3065 | 0x0000569c,0x00000000,0x000400fa,0x0000567b, | 3266 | 0x0000002f,0x00005969,0x00005963,0x000003dc, |
| 3066 | 0x00005697,0x0000569a,0x000200f8,0x0000569a, | 3267 | 0x000300f7,0x0000596d,0x00000000,0x000400fa, |
| 3067 | 0x000200f9,0x0000569c,0x000200f8,0x00005697, | 3268 | 0x00005969,0x0000596a,0x0000596d,0x000200f8, |
| 3068 | 0x000500c5,0x00000006,0x00005699,0x00005675, | 3269 | 0x0000596a,0x000500c5,0x00000006,0x0000596c, |
| 3069 | 0x000003a8,0x000200f9,0x0000569c,0x000200f8, | 3270 | 0x00005961,0x000003e1,0x000200f9,0x000059a2, |
| 3070 | 0x0000569c,0x000700f5,0x00000006,0x00005d72, | 3271 | 0x000200f8,0x0000596d,0x000500aa,0x0000002f, |
| 3071 | 0x00005699,0x00005697,0x00005675,0x0000569a, | 3272 | 0x0000596f,0x00005963,0x00000140,0x000300f7, |
| 3072 | 0x000200f9,0x000056b6,0x000200f8,0x0000569e, | 3273 | 0x00005972,0x00000000,0x000400fa,0x0000596f, |
| 3073 | 0x000500c7,0x00000006,0x000056a0,0x00005672, | 3274 | 0x00005970,0x00005972,0x000200f8,0x00005970, |
| 3074 | 0x000003b0,0x00050080,0x000000f4,0x000056a2, | 3275 | 0x000200f9,0x000059a2,0x000200f8,0x00005972, |
| 3075 | 0x00005689,0x000060ff,0x0004007c,0x00000006, | 3276 | 0x000500c2,0x00000006,0x00005974,0x00005963, |
| 3076 | 0x000056a3,0x000056a2,0x000500c4,0x00000006, | 3277 | 0x000003ec,0x0004007c,0x000000fb,0x00005975, |
| 3077 | 0x000056a4,0x000056a3,0x000003b6,0x000500c2, | 3278 | 0x00005974,0x00050082,0x000000fb,0x00005976, |
| 3078 | 0x00000006,0x000056a6,0x000056a0,0x000001f0, | 3279 | 0x00005975,0x000003ef,0x000500af,0x0000002f, |
| 3079 | 0x000500c5,0x00000006,0x000056a7,0x000056a4, | 3280 | 0x00005978,0x00005976,0x00000362,0x000300f7, |
| 3080 | 0x000056a6,0x000300f7,0x000056ad,0x00000000, | 3281 | 0x0000597e,0x00000000,0x000400fa,0x00005978, |
| 3081 | 0x000400fa,0x0000567b,0x000056a9,0x000056ad, | 3282 | 0x00005979,0x0000597e,0x000200f8,0x00005979, |
| 3082 | 0x000200f8,0x000056a9,0x000500c7,0x00000006, | 3283 | 0x000600a9,0x00000006,0x0000597c,0x00005967, |
| 3083 | 0x000056ab,0x00005672,0x000003bf,0x000500ab, | 3284 | 0x000003f7,0x000003f8,0x000500c5,0x00000006, |
| 3084 | 0x0000002f,0x000056ac,0x000056ab,0x00000138, | 3285 | 0x0000597d,0x00005961,0x0000597c,0x000200f9, |
| 3085 | 0x000200f9,0x000056ad,0x000200f8,0x000056ad, | 3286 | 0x000059a2,0x000200f8,0x0000597e,0x000500b1, |
| 3086 | 0x000700f5,0x0000002f,0x000056ae,0x0000567b, | 3287 | 0x0000002f,0x00005980,0x00005976,0x000003fd, |
| 3087 | 0x0000569e,0x000056ac,0x000056a9,0x000300f7, | 3288 | 0x000300f7,0x0000598a,0x00000000,0x000400fa, |
| 3088 | 0x000056b2,0x00000000,0x000400fa,0x000056ae, | 3289 | 0x00005980,0x00005981,0x0000598a,0x000200f8, |
| 3089 | 0x000056af,0x000056b2,0x000200f8,0x000056af, | 3290 | 0x00005981,0x000300f7,0x00005988,0x00000000, |
| 3090 | 0x00050080,0x00000006,0x000056b1,0x000056a7, | 3291 | 0x000400fa,0x00005967,0x00005983,0x00005986, |
| 3091 | 0x00000142,0x000200f9,0x000056b2,0x000200f8, | 3292 | 0x000200f8,0x00005986,0x000200f9,0x00005988, |
| 3092 | 0x000056b2,0x000700f5,0x00000006,0x00005d71, | 3293 | 0x000200f8,0x00005983,0x000500c5,0x00000006, |
| 3093 | 0x000056a7,0x000056ad,0x000056b1,0x000056af, | 3294 | 0x00005985,0x00005961,0x00000406,0x000200f9, |
| 3094 | 0x000500c5,0x00000006,0x000056b5,0x00005675, | 3295 | 0x00005988,0x000200f8,0x00005988,0x000700f5, |
| 3095 | 0x00005d71,0x000200f9,0x000056b6,0x000200f8, | 3296 | 0x00000006,0x00006194,0x00005985,0x00005983, |
| 3096 | 0x000056b6,0x000d00f5,0x00000006,0x00005d73, | 3297 | 0x00005961,0x00005986,0x000200f9,0x000059a2, |
| 3097 | 0x00005680,0x0000567e,0x00005675,0x00005684, | 3298 | 0x000200f8,0x0000598a,0x000500c7,0x00000006, |
| 3098 | 0x00005691,0x0000568d,0x00005d72,0x0000569c, | 3299 | 0x0000598c,0x0000595e,0x0000040e,0x00050080, |
| 3099 | 0x000056b5,0x000056b2,0x00050051,0x00000027, | 3300 | 0x000000fb,0x0000598e,0x00005975,0x00006533, |
| 3100 | 0x000054cd,0x00005cf4,0x00000002,0x000300f7, | 3301 | 0x0004007c,0x00000006,0x0000598f,0x0000598e, |
| 3101 | 0x0000570a,0x00000000,0x000300fb,0x00000138, | 3302 | 0x000500c4,0x00000006,0x00005990,0x0000598f, |
| 3102 | 0x000056c4,0x000200f8,0x000056c4,0x0004007c, | 3303 | 0x00000414,0x000500c2,0x00000006,0x00005992, |
| 3103 | 0x00000006,0x000056c6,0x000054cd,0x000500c2, | 3304 | 0x0000598c,0x000001f8,0x000500c5,0x00000006, |
| 3104 | 0x00000006,0x000056c8,0x000056c6,0x0000035a, | 3305 | 0x00005993,0x00005990,0x00005992,0x000300f7, |
| 3105 | 0x000500c7,0x00000006,0x000056c9,0x000056c8, | 3306 | 0x00005999,0x00000000,0x000400fa,0x00005967, |
| 3106 | 0x00000373,0x000500c7,0x00000006,0x000056cb, | 3307 | 0x00005995,0x00005999,0x000200f8,0x00005995, |
| 3107 | 0x000056c6,0x00000256,0x000500aa,0x0000002f, | 3308 | 0x000500c7,0x00000006,0x00005997,0x0000595e, |
| 3108 | 0x000056cf,0x000056c9,0x00000138,0x000500ac, | 3309 | 0x0000041d,0x000500ab,0x0000002f,0x00005998, |
| 3109 | 0x0000002f,0x000056d1,0x000056cb,0x0000037e, | 3310 | 0x00005997,0x00000140,0x000200f9,0x00005999, |
| 3110 | 0x000300f7,0x000056d5,0x00000000,0x000400fa, | 3311 | 0x000200f8,0x00005999,0x000700f5,0x0000002f, |
| 3111 | 0x000056d1,0x000056d2,0x000056d5,0x000200f8, | 3312 | 0x0000599a,0x00005967,0x0000598a,0x00005998, |
| 3112 | 0x000056d2,0x000500c5,0x00000006,0x000056d4, | 3313 | 0x00005995,0x000300f7,0x0000599e,0x00000000, |
| 3113 | 0x000056c9,0x00000383,0x000200f9,0x0000570a, | ||
| 3114 | 0x000200f8,0x000056d5,0x000500aa,0x0000002f, | ||
| 3115 | 0x000056d7,0x000056cb,0x00000138,0x000300f7, | ||
| 3116 | 0x000056da,0x00000000,0x000400fa,0x000056d7, | ||
| 3117 | 0x000056d8,0x000056da,0x000200f8,0x000056d8, | ||
| 3118 | 0x000200f9,0x0000570a,0x000200f8,0x000056da, | ||
| 3119 | 0x000500c2,0x00000006,0x000056dc,0x000056cb, | ||
| 3120 | 0x0000038e,0x0004007c,0x000000f4,0x000056dd, | ||
| 3121 | 0x000056dc,0x00050082,0x000000f4,0x000056de, | ||
| 3122 | 0x000056dd,0x00000391,0x000500af,0x0000002f, | ||
| 3123 | 0x000056e0,0x000056de,0x0000035a,0x000300f7, | ||
| 3124 | 0x000056e6,0x00000000,0x000400fa,0x000056e0, | ||
| 3125 | 0x000056e1,0x000056e6,0x000200f8,0x000056e1, | ||
| 3126 | 0x000600a9,0x00000006,0x000056e4,0x000056cf, | ||
| 3127 | 0x00000399,0x0000039a,0x000500c5,0x00000006, | ||
| 3128 | 0x000056e5,0x000056c9,0x000056e4,0x000200f9, | ||
| 3129 | 0x0000570a,0x000200f8,0x000056e6,0x000500b1, | ||
| 3130 | 0x0000002f,0x000056e8,0x000056de,0x0000039f, | ||
| 3131 | 0x000300f7,0x000056f2,0x00000000,0x000400fa, | ||
| 3132 | 0x000056e8,0x000056e9,0x000056f2,0x000200f8, | ||
| 3133 | 0x000056e9,0x000300f7,0x000056f0,0x00000000, | ||
| 3134 | 0x000400fa,0x000056cf,0x000056eb,0x000056ee, | ||
| 3135 | 0x000200f8,0x000056ee,0x000200f9,0x000056f0, | ||
| 3136 | 0x000200f8,0x000056eb,0x000500c5,0x00000006, | ||
| 3137 | 0x000056ed,0x000056c9,0x000003a8,0x000200f9, | ||
| 3138 | 0x000056f0,0x000200f8,0x000056f0,0x000700f5, | ||
| 3139 | 0x00000006,0x00005d76,0x000056ed,0x000056eb, | ||
| 3140 | 0x000056c9,0x000056ee,0x000200f9,0x0000570a, | ||
| 3141 | 0x000200f8,0x000056f2,0x000500c7,0x00000006, | ||
| 3142 | 0x000056f4,0x000056c6,0x000003b0,0x00050080, | ||
| 3143 | 0x000000f4,0x000056f6,0x000056dd,0x000060ff, | ||
| 3144 | 0x0004007c,0x00000006,0x000056f7,0x000056f6, | ||
| 3145 | 0x000500c4,0x00000006,0x000056f8,0x000056f7, | ||
| 3146 | 0x000003b6,0x000500c2,0x00000006,0x000056fa, | ||
| 3147 | 0x000056f4,0x000001f0,0x000500c5,0x00000006, | ||
| 3148 | 0x000056fb,0x000056f8,0x000056fa,0x000300f7, | ||
| 3149 | 0x00005701,0x00000000,0x000400fa,0x000056cf, | ||
| 3150 | 0x000056fd,0x00005701,0x000200f8,0x000056fd, | ||
| 3151 | 0x000500c7,0x00000006,0x000056ff,0x000056c6, | ||
| 3152 | 0x000003bf,0x000500ab,0x0000002f,0x00005700, | ||
| 3153 | 0x000056ff,0x00000138,0x000200f9,0x00005701, | ||
| 3154 | 0x000200f8,0x00005701,0x000700f5,0x0000002f, | ||
| 3155 | 0x00005702,0x000056cf,0x000056f2,0x00005700, | ||
| 3156 | 0x000056fd,0x000300f7,0x00005706,0x00000000, | ||
| 3157 | 0x000400fa,0x00005702,0x00005703,0x00005706, | ||
| 3158 | 0x000200f8,0x00005703,0x00050080,0x00000006, | ||
| 3159 | 0x00005705,0x000056fb,0x00000142,0x000200f9, | ||
| 3160 | 0x00005706,0x000200f8,0x00005706,0x000700f5, | ||
| 3161 | 0x00000006,0x00005d75,0x000056fb,0x00005701, | ||
| 3162 | 0x00005705,0x00005703,0x000500c5,0x00000006, | ||
| 3163 | 0x00005709,0x000056c9,0x00005d75,0x000200f9, | ||
| 3164 | 0x0000570a,0x000200f8,0x0000570a,0x000d00f5, | ||
| 3165 | 0x00000006,0x00005d77,0x000056d4,0x000056d2, | ||
| 3166 | 0x000056c9,0x000056d8,0x000056e5,0x000056e1, | ||
| 3167 | 0x00005d76,0x000056f0,0x00005709,0x00005706, | ||
| 3168 | 0x000500c4,0x00000006,0x000054cf,0x00005d77, | ||
| 3169 | 0x0000035a,0x000500c5,0x00000006,0x000054d0, | ||
| 3170 | 0x00005d73,0x000054cf,0x00050095,0x0000013d, | ||
| 3171 | 0x00005723,0x000053ea,0x000054c8,0x00050051, | ||
| 3172 | 0x00000006,0x00005724,0x00005723,0x00000001, | ||
| 3173 | 0x00050051,0x00000006,0x00005725,0x00005723, | ||
| 3174 | 0x00000000,0x00050080,0x00000006,0x0000572a, | ||
| 3175 | 0x000053f1,0x00005724,0x00050050,0x00000007, | ||
| 3176 | 0x0000572b,0x00005725,0x0000572a,0x0004007c, | ||
| 3177 | 0x00000014,0x0000571b,0x0000572b,0x00060041, | ||
| 3178 | 0x0000016c,0x00005713,0x0000571b,0x0000016b, | ||
| 3179 | 0x0000016b,0x0005003e,0x00005713,0x000054d0, | ||
| 3180 | 0x00000002,0x00000004,0x000200f9,0x00005497, | ||
| 3181 | 0x000200f8,0x00005468,0x00050080,0x00000006, | ||
| 3182 | 0x0000546a,0x0000513c,0x000001db,0x00050084, | ||
| 3183 | 0x00000006,0x0000546c,0x000001ef,0x00005cee, | ||
| 3184 | 0x00050080,0x00000006,0x0000546d,0x0000546a, | ||
| 3185 | 0x0000546c,0x00050051,0x00000027,0x00005472, | ||
| 3186 | 0x00005cf1,0x00000000,0x0004007c,0x00000006, | ||
| 3187 | 0x00005731,0x00005472,0x00050095,0x0000013d, | ||
| 3188 | 0x0000574c,0x000053ea,0x0000546d,0x00050051, | ||
| 3189 | 0x00000006,0x0000574d,0x0000574c,0x00000001, | ||
| 3190 | 0x00050051,0x00000006,0x0000574e,0x0000574c, | ||
| 3191 | 0x00000000,0x00050080,0x00000006,0x00005753, | ||
| 3192 | 0x000053f1,0x0000574d,0x00050050,0x00000007, | ||
| 3193 | 0x00005754,0x0000574e,0x00005753,0x0004007c, | ||
| 3194 | 0x00000014,0x00005744,0x00005754,0x00060041, | ||
| 3195 | 0x0000016c,0x0000573c,0x00005744,0x0000016b, | ||
| 3196 | 0x0000016b,0x0005003e,0x0000573c,0x00005731, | ||
| 3197 | 0x00000002,0x00000004,0x00050080,0x00000006, | ||
| 3198 | 0x00005475,0x0000546d,0x000000ec,0x00050051, | ||
| 3199 | 0x00000027,0x00005479,0x00005cf1,0x00000001, | ||
| 3200 | 0x0004007c,0x00000006,0x0000575a,0x00005479, | ||
| 3201 | 0x00050095,0x0000013d,0x00005775,0x000053ea, | ||
| 3202 | 0x00005475,0x00050051,0x00000006,0x00005776, | ||
| 3203 | 0x00005775,0x00000001,0x00050051,0x00000006, | ||
| 3204 | 0x00005777,0x00005775,0x00000000,0x00050080, | ||
| 3205 | 0x00000006,0x0000577c,0x000053f1,0x00005776, | ||
| 3206 | 0x00050050,0x00000007,0x0000577d,0x00005777, | ||
| 3207 | 0x0000577c,0x0004007c,0x00000014,0x0000576d, | ||
| 3208 | 0x0000577d,0x00060041,0x0000016c,0x00005765, | ||
| 3209 | 0x0000576d,0x0000016b,0x0000016b,0x0005003e, | ||
| 3210 | 0x00005765,0x0000575a,0x00000002,0x00000004, | ||
| 3211 | 0x00050080,0x00000006,0x0000547c,0x0000546d, | ||
| 3212 | 0x000001cd,0x00050051,0x00000027,0x00005480, | ||
| 3213 | 0x00005cf1,0x00000002,0x0004007c,0x00000006, | ||
| 3214 | 0x00005783,0x00005480,0x00050095,0x0000013d, | ||
| 3215 | 0x0000579e,0x000053ea,0x0000547c,0x00050051, | ||
| 3216 | 0x00000006,0x0000579f,0x0000579e,0x00000001, | ||
| 3217 | 0x00050051,0x00000006,0x000057a0,0x0000579e, | ||
| 3218 | 0x00000000,0x00050080,0x00000006,0x000057a5, | ||
| 3219 | 0x000053f1,0x0000579f,0x00050050,0x00000007, | ||
| 3220 | 0x000057a6,0x000057a0,0x000057a5,0x0004007c, | ||
| 3221 | 0x00000014,0x00005796,0x000057a6,0x00060041, | ||
| 3222 | 0x0000016c,0x0000578e,0x00005796,0x0000016b, | ||
| 3223 | 0x0000016b,0x0005003e,0x0000578e,0x00005783, | ||
| 3224 | 0x00000002,0x00000004,0x00050080,0x00000006, | ||
| 3225 | 0x00005483,0x0000546d,0x000001d4,0x00050051, | ||
| 3226 | 0x00000027,0x00005487,0x00005cf4,0x00000000, | ||
| 3227 | 0x0004007c,0x00000006,0x000057ac,0x00005487, | ||
| 3228 | 0x00050095,0x0000013d,0x000057c7,0x000053ea, | ||
| 3229 | 0x00005483,0x00050051,0x00000006,0x000057c8, | ||
| 3230 | 0x000057c7,0x00000001,0x00050051,0x00000006, | ||
| 3231 | 0x000057c9,0x000057c7,0x00000000,0x00050080, | ||
| 3232 | 0x00000006,0x000057ce,0x000053f1,0x000057c8, | ||
| 3233 | 0x00050050,0x00000007,0x000057cf,0x000057c9, | ||
| 3234 | 0x000057ce,0x0004007c,0x00000014,0x000057bf, | ||
| 3235 | 0x000057cf,0x00060041,0x0000016c,0x000057b7, | ||
| 3236 | 0x000057bf,0x0000016b,0x0000016b,0x0005003e, | ||
| 3237 | 0x000057b7,0x000057ac,0x00000002,0x00000004, | ||
| 3238 | 0x00050080,0x00000006,0x0000548a,0x0000546d, | ||
| 3239 | 0x000001db,0x00050051,0x00000027,0x0000548e, | ||
| 3240 | 0x00005cf4,0x00000001,0x0004007c,0x00000006, | ||
| 3241 | 0x000057d5,0x0000548e,0x00050095,0x0000013d, | ||
| 3242 | 0x000057f0,0x000053ea,0x0000548a,0x00050051, | ||
| 3243 | 0x00000006,0x000057f1,0x000057f0,0x00000001, | ||
| 3244 | 0x00050051,0x00000006,0x000057f2,0x000057f0, | ||
| 3245 | 0x00000000,0x00050080,0x00000006,0x000057f7, | ||
| 3246 | 0x000053f1,0x000057f1,0x00050050,0x00000007, | ||
| 3247 | 0x000057f8,0x000057f2,0x000057f7,0x0004007c, | ||
| 3248 | 0x00000014,0x000057e8,0x000057f8,0x00060041, | ||
| 3249 | 0x0000016c,0x000057e0,0x000057e8,0x0000016b, | ||
| 3250 | 0x0000016b,0x0005003e,0x000057e0,0x000057d5, | ||
| 3251 | 0x00000002,0x00000004,0x00050080,0x00000006, | ||
| 3252 | 0x00005491,0x0000546d,0x00000299,0x00050051, | ||
| 3253 | 0x00000027,0x00005495,0x00005cf4,0x00000002, | ||
| 3254 | 0x0004007c,0x00000006,0x000057fe,0x00005495, | ||
| 3255 | 0x00050095,0x0000013d,0x00005819,0x000053ea, | ||
| 3256 | 0x00005491,0x00050051,0x00000006,0x0000581a, | ||
| 3257 | 0x00005819,0x00000001,0x00050051,0x00000006, | ||
| 3258 | 0x0000581b,0x00005819,0x00000000,0x00050080, | ||
| 3259 | 0x00000006,0x00005820,0x000053f1,0x0000581a, | ||
| 3260 | 0x00050050,0x00000007,0x00005821,0x0000581b, | ||
| 3261 | 0x00005820,0x0004007c,0x00000014,0x00005811, | ||
| 3262 | 0x00005821,0x00060041,0x0000016c,0x00005809, | ||
| 3263 | 0x00005811,0x0000016b,0x0000016b,0x0005003e, | ||
| 3264 | 0x00005809,0x000057fe,0x00000002,0x00000004, | ||
| 3265 | 0x000200f9,0x00005497,0x000200f8,0x00005497, | ||
| 3266 | 0x000200f9,0x0000515a,0x000200f8,0x0000515a, | ||
| 3267 | 0x000200f9,0x0000515b,0x000200f8,0x0000515b, | ||
| 3268 | 0x000700f5,0x00000006,0x00006026,0x00005d0a, | ||
| 3269 | 0x0000514b,0x0000514e,0x0000515a,0x00050080, | ||
| 3270 | 0x00000006,0x0000515d,0x00005cee,0x00000264, | ||
| 3271 | 0x000200f9,0x0000513d,0x000200f8,0x0000515e, | ||
| 3272 | 0x00050041,0x000001bb,0x00005829,0x000001b9, | ||
| 3273 | 0x0000035a,0x0004003d,0x00000006,0x0000582a, | ||
| 3274 | 0x00005829,0x00050082,0x00000006,0x0000582b, | ||
| 3275 | 0x0000513c,0x0000582a,0x000500c7,0x00000006, | ||
| 3276 | 0x00005837,0x00005ceb,0x00000d2b,0x000500aa, | ||
| 3277 | 0x0000002f,0x00005838,0x00005837,0x000000ec, | ||
| 3278 | 0x000600a9,0x00000006,0x0000582e,0x00005838, | ||
| 3279 | 0x000001c4,0x00000342,0x00050086,0x00000006, | ||
| 3280 | 0x0000582f,0x0000582b,0x0000582e,0x00050041, | ||
| 3281 | 0x000001bb,0x00005847,0x000001b9,0x000001f0, | ||
| 3282 | 0x0004003d,0x00000006,0x00005848,0x00005847, | ||
| 3283 | 0x00050084,0x00000006,0x00005849,0x000001ef, | ||
| 3284 | 0x00005848,0x00050080,0x00000006,0x0000584a, | ||
| 3285 | 0x000052dd,0x00005849,0x00050084,0x00000006, | ||
| 3286 | 0x0000583f,0x00000205,0x0000582f,0x00050080, | ||
| 3287 | 0x00000006,0x00005840,0x0000584a,0x0000583f, | ||
| 3288 | 0x00050095,0x0000013d,0x0000587a,0x0000530e, | ||
| 3289 | 0x00005840,0x00050051,0x00000006,0x0000587b, | ||
| 3290 | 0x0000587a,0x00000001,0x00050051,0x00000006, | ||
| 3291 | 0x0000587c,0x0000587a,0x00000000,0x00050080, | ||
| 3292 | 0x00000006,0x00005881,0x00005315,0x0000587b, | ||
| 3293 | 0x00050050,0x00000007,0x00005882,0x0000587c, | ||
| 3294 | 0x00005881,0x0004007c,0x00000014,0x00005872, | ||
| 3295 | 0x00005882,0x00050051,0x00000027,0x00005886, | ||
| 3296 | 0x00005cf1,0x00000000,0x00050051,0x00000027, | ||
| 3297 | 0x00005888,0x00005cf4,0x00000000,0x000500bc, | ||
| 3298 | 0x0000002f,0x00005889,0x00005886,0x00005888, | ||
| 3299 | 0x000300f7,0x00005890,0x00000000,0x000400fa, | ||
| 3300 | 0x00005889,0x0000588a,0x00005890,0x000200f8, | ||
| 3301 | 0x0000588a,0x00050051,0x00000027,0x0000588c, | ||
| 3302 | 0x00005cf1,0x00000001,0x00050051,0x00000027, | ||
| 3303 | 0x0000588e,0x00005cf4,0x00000001,0x000500bc, | ||
| 3304 | 0x0000002f,0x0000588f,0x0000588c,0x0000588e, | ||
| 3305 | 0x000200f9,0x00005890,0x000200f8,0x00005890, | ||
| 3306 | 0x000700f5,0x0000002f,0x00005891,0x00005889, | ||
| 3307 | 0x0000515e,0x0000588f,0x0000588a,0x000300f7, | ||
| 3308 | 0x00005898,0x00000000,0x000400fa,0x00005891, | ||
| 3309 | 0x00005892,0x00005898,0x000200f8,0x00005892, | ||
| 3310 | 0x00050051,0x00000027,0x00005894,0x00005cf1, | ||
| 3311 | 0x00000002,0x00050051,0x00000027,0x00005896, | ||
| 3312 | 0x00005cf4,0x00000002,0x000500bc,0x0000002f, | ||
| 3313 | 0x00005897,0x00005894,0x00005896,0x000200f9, | ||
| 3314 | 0x00005898,0x000200f8,0x00005898,0x000700f5, | ||
| 3315 | 0x0000002f,0x00005899,0x00005891,0x00005890, | ||
| 3316 | 0x00005897,0x00005892,0x000300f7,0x0000518c, | ||
| 3317 | 0x00000000,0x000400fa,0x00005899,0x00005167, | ||
| 3318 | 0x0000518c,0x000200f8,0x00005167,0x00060041, | ||
| 3319 | 0x0000016c,0x00005169,0x00005872,0x0000016b, | ||
| 3320 | 0x00000264,0x0004007c,0x00000006,0x000058a0, | ||
| 3321 | 0x00005886,0x000500c7,0x00000006,0x000058a2, | ||
| 3322 | 0x000058a0,0x00000241,0x000500ab,0x0000002f, | ||
| 3323 | 0x000058a3,0x000058a2,0x00000138,0x000300f7, | ||
| 3324 | 0x000058aa,0x00000000,0x000400fa,0x000058a3, | ||
| 3325 | 0x000058a4,0x000058a7,0x000200f8,0x000058a7, | ||
| 3326 | 0x000500c5,0x00000006,0x000058a9,0x000058a0, | ||
| 3327 | 0x00000241,0x000200f9,0x000058aa,0x000200f8, | ||
| 3328 | 0x000058a4,0x000400c8,0x00000006,0x000058a6, | ||
| 3329 | 0x000058a0,0x000200f9,0x000058aa,0x000200f8, | ||
| 3330 | 0x000058aa,0x000700f5,0x00000006,0x00005cf8, | ||
| 3331 | 0x000058a6,0x000058a4,0x000058a9,0x000058a7, | ||
| 3332 | 0x000700ed,0x00000006,0x0000516d,0x00005169, | ||
| 3333 | 0x00000142,0x00000138,0x00005cf8,0x00060041, | ||
| 3334 | 0x0000016c,0x0000516f,0x00005872,0x0000016b, | ||
| 3335 | 0x00000315,0x00050051,0x00000027,0x00005171, | ||
| 3336 | 0x00005cf1,0x00000001,0x0004007c,0x00000006, | ||
| 3337 | 0x000058b1,0x00005171,0x000500c7,0x00000006, | ||
| 3338 | 0x000058b3,0x000058b1,0x00000241,0x000500ab, | ||
| 3339 | 0x0000002f,0x000058b4,0x000058b3,0x00000138, | ||
| 3340 | 0x000300f7,0x000058bb,0x00000000,0x000400fa, | ||
| 3341 | 0x000058b4,0x000058b5,0x000058b8,0x000200f8, | ||
| 3342 | 0x000058b8,0x000500c5,0x00000006,0x000058ba, | ||
| 3343 | 0x000058b1,0x00000241,0x000200f9,0x000058bb, | ||
| 3344 | 0x000200f8,0x000058b5,0x000400c8,0x00000006, | ||
| 3345 | 0x000058b7,0x000058b1,0x000200f9,0x000058bb, | ||
| 3346 | 0x000200f8,0x000058bb,0x000700f5,0x00000006, | ||
| 3347 | 0x00005cfa,0x000058b7,0x000058b5,0x000058ba, | ||
| 3348 | 0x000058b8,0x000700ed,0x00000006,0x00005173, | ||
| 3349 | 0x0000516f,0x00000142,0x00000138,0x00005cfa, | ||
| 3350 | 0x00060041,0x0000016c,0x00005175,0x00005872, | ||
| 3351 | 0x0000016b,0x0000031d,0x00050051,0x00000027, | ||
| 3352 | 0x00005177,0x00005cf1,0x00000002,0x0004007c, | ||
| 3353 | 0x00000006,0x000058c2,0x00005177,0x000500c7, | ||
| 3354 | 0x00000006,0x000058c4,0x000058c2,0x00000241, | ||
| 3355 | 0x000500ab,0x0000002f,0x000058c5,0x000058c4, | ||
| 3356 | 0x00000138,0x000300f7,0x000058cc,0x00000000, | ||
| 3357 | 0x000400fa,0x000058c5,0x000058c6,0x000058c9, | ||
| 3358 | 0x000200f8,0x000058c9,0x000500c5,0x00000006, | ||
| 3359 | 0x000058cb,0x000058c2,0x00000241,0x000200f9, | ||
| 3360 | 0x000058cc,0x000200f8,0x000058c6,0x000400c8, | ||
| 3361 | 0x00000006,0x000058c8,0x000058c2,0x000200f9, | ||
| 3362 | 0x000058cc,0x000200f8,0x000058cc,0x000700f5, | ||
| 3363 | 0x00000006,0x00005cfc,0x000058c8,0x000058c6, | ||
| 3364 | 0x000058cb,0x000058c9,0x000700ed,0x00000006, | ||
| 3365 | 0x00005179,0x00005175,0x00000142,0x00000138, | ||
| 3366 | 0x00005cfc,0x00060041,0x0000016c,0x0000517b, | ||
| 3367 | 0x00005872,0x0000016b,0x00000325,0x0004007c, | ||
| 3368 | 0x00000006,0x000058d3,0x00005888,0x000500c7, | ||
| 3369 | 0x00000006,0x000058d5,0x000058d3,0x00000241, | ||
| 3370 | 0x000500ab,0x0000002f,0x000058d6,0x000058d5, | ||
| 3371 | 0x00000138,0x000300f7,0x000058dd,0x00000000, | ||
| 3372 | 0x000400fa,0x000058d6,0x000058d7,0x000058da, | ||
| 3373 | 0x000200f8,0x000058da,0x000500c5,0x00000006, | ||
| 3374 | 0x000058dc,0x000058d3,0x00000241,0x000200f9, | ||
| 3375 | 0x000058dd,0x000200f8,0x000058d7,0x000400c8, | ||
| 3376 | 0x00000006,0x000058d9,0x000058d3,0x000200f9, | ||
| 3377 | 0x000058dd,0x000200f8,0x000058dd,0x000700f5, | ||
| 3378 | 0x00000006,0x00005d02,0x000058d9,0x000058d7, | ||
| 3379 | 0x000058dc,0x000058da,0x000700ef,0x00000006, | ||
| 3380 | 0x0000517f,0x0000517b,0x00000142,0x00000138, | ||
| 3381 | 0x00005d02,0x00060041,0x0000016c,0x00005181, | ||
| 3382 | 0x00005872,0x0000016b,0x0000032d,0x00050051, | ||
| 3383 | 0x00000027,0x00005183,0x00005cf4,0x00000001, | ||
| 3384 | 0x0004007c,0x00000006,0x000058e4,0x00005183, | ||
| 3385 | 0x000500c7,0x00000006,0x000058e6,0x000058e4, | ||
| 3386 | 0x00000241,0x000500ab,0x0000002f,0x000058e7, | ||
| 3387 | 0x000058e6,0x00000138,0x000300f7,0x000058ee, | ||
| 3388 | 0x00000000,0x000400fa,0x000058e7,0x000058e8, | ||
| 3389 | 0x000058eb,0x000200f8,0x000058eb,0x000500c5, | ||
| 3390 | 0x00000006,0x000058ed,0x000058e4,0x00000241, | ||
| 3391 | 0x000200f9,0x000058ee,0x000200f8,0x000058e8, | ||
| 3392 | 0x000400c8,0x00000006,0x000058ea,0x000058e4, | ||
| 3393 | 0x000200f9,0x000058ee,0x000200f8,0x000058ee, | ||
| 3394 | 0x000700f5,0x00000006,0x00005d04,0x000058ea, | ||
| 3395 | 0x000058e8,0x000058ed,0x000058eb,0x000700ef, | ||
| 3396 | 0x00000006,0x00005185,0x00005181,0x00000142, | ||
| 3397 | 0x00000138,0x00005d04,0x00060041,0x0000016c, | ||
| 3398 | 0x00005187,0x00005872,0x0000016b,0x00000351, | ||
| 3399 | 0x00050051,0x00000027,0x00005189,0x00005cf4, | ||
| 3400 | 0x00000002,0x0004007c,0x00000006,0x000058f5, | ||
| 3401 | 0x00005189,0x000500c7,0x00000006,0x000058f7, | ||
| 3402 | 0x000058f5,0x00000241,0x000500ab,0x0000002f, | ||
| 3403 | 0x000058f8,0x000058f7,0x00000138,0x000300f7, | ||
| 3404 | 0x000058ff,0x00000000,0x000400fa,0x000058f8, | ||
| 3405 | 0x000058f9,0x000058fc,0x000200f8,0x000058fc, | ||
| 3406 | 0x000500c5,0x00000006,0x000058fe,0x000058f5, | ||
| 3407 | 0x00000241,0x000200f9,0x000058ff,0x000200f8, | ||
| 3408 | 0x000058f9,0x000400c8,0x00000006,0x000058fb, | ||
| 3409 | 0x000058f5,0x000200f9,0x000058ff,0x000200f8, | ||
| 3410 | 0x000058ff,0x000700f5,0x00000006,0x00005d06, | ||
| 3411 | 0x000058fb,0x000058f9,0x000058fe,0x000058fc, | ||
| 3412 | 0x000700ef,0x00000006,0x0000518b,0x00005187, | ||
| 3413 | 0x00000142,0x00000138,0x00005d06,0x000200f9, | ||
| 3414 | 0x0000518c,0x000200f8,0x0000518c,0x00060041, | ||
| 3415 | 0x0000016c,0x0000518e,0x00005872,0x0000016b, | ||
| 3416 | 0x0000016b,0x000700ea,0x00000006,0x0000518f, | ||
| 3417 | 0x0000518e,0x00000264,0x00000820,0x00000142, | ||
| 3418 | 0x00050080,0x00000006,0x00005191,0x0000518f, | ||
| 3419 | 0x00000142,0x000500ab,0x0000002f,0x00005193, | ||
| 3420 | 0x00005191,0x00005d0a,0x000300f7,0x00005195, | ||
| 3421 | 0x00000000,0x000400fa,0x00005193,0x00005194, | ||
| 3422 | 0x00005195,0x000200f8,0x00005194,0x000200f9, | ||
| 3423 | 0x000051a0,0x000200f8,0x00005195,0x000300f7, | ||
| 3424 | 0x0000593b,0x00000000,0x000300fb,0x00000138, | ||
| 3425 | 0x0000590d,0x000200f8,0x0000590d,0x000200f9, | ||
| 3426 | 0x00005910,0x000200f8,0x00005910,0x000700f5, | ||
| 3427 | 0x00000006,0x00005d11,0x00000138,0x0000590d, | ||
| 3428 | 0x0000591e,0x00005914,0x000500b0,0x0000002f, | ||
| 3429 | 0x00005913,0x00005d11,0x00000355,0x000400f6, | ||
| 3430 | 0x0000591f,0x00005914,0x00000000,0x000400fa, | ||
| 3431 | 0x00005913,0x00005914,0x0000591f,0x000200f8, | ||
| 3432 | 0x00005914,0x00050080,0x00000006,0x00005918, | ||
| 3433 | 0x00000142,0x00005d11,0x00060041,0x0000016c, | ||
| 3434 | 0x00005919,0x00005872,0x0000016b,0x00005918, | ||
| 3435 | 0x000700f1,0x00000006,0x0000591a,0x00005919, | ||
| 3436 | 0x00000142,0x00000138,0x00000138,0x00050041, | ||
| 3437 | 0x00000009,0x0000591b,0x00005905,0x00005d11, | ||
| 3438 | 0x0003003e,0x0000591b,0x0000591a,0x00050080, | ||
| 3439 | 0x00000006,0x0000591e,0x00005d11,0x00000264, | ||
| 3440 | 0x000200f9,0x00005910,0x000200f8,0x0000591f, | ||
| 3441 | 0x00050041,0x00000009,0x00005920,0x00005905, | ||
| 3442 | 0x0000016b,0x0004003d,0x00000006,0x00005921, | ||
| 3443 | 0x00005920,0x000500aa,0x0000002f,0x00005922, | ||
| 3444 | 0x00005921,0x00000539,0x000300f7,0x00005926, | ||
| 3445 | 0x00000000,0x000400fa,0x00005922,0x00005923, | ||
| 3446 | 0x00005926,0x000200f8,0x00005923,0x000200f9, | ||
| 3447 | 0x0000593b,0x000200f8,0x00005926,0x0004003d, | ||
| 3448 | 0x00000006,0x00005928,0x00005920,0x000500c7, | ||
| 3449 | 0x00000006,0x0000598a,0x00005928,0x00000241, | ||
| 3450 | 0x000500ab,0x0000002f,0x0000598b,0x0000598a, | ||
| 3451 | 0x00000138,0x000300f7,0x00005992,0x00000000, | ||
| 3452 | 0x000400fa,0x0000598b,0x0000598c,0x0000598f, | ||
| 3453 | 0x000200f8,0x0000598f,0x000400c8,0x00000006, | ||
| 3454 | 0x00005991,0x00005928,0x000200f9,0x00005992, | ||
| 3455 | 0x000200f8,0x0000598c,0x000500c7,0x00000006, | ||
| 3456 | 0x0000598e,0x00005928,0x00000256,0x000200f9, | ||
| 3457 | 0x00005992,0x000200f8,0x00005992,0x000700f5, | ||
| 3458 | 0x00000006,0x00005d12,0x0000598e,0x0000598c, | ||
| 3459 | 0x00005991,0x0000598f,0x0004007c,0x00000027, | ||
| 3460 | 0x00005994,0x00005d12,0x00050041,0x00000009, | ||
| 3461 | 0x0000592a,0x00005905,0x00000264,0x0004003d, | ||
| 3462 | 0x00000006,0x0000592b,0x0000592a,0x000500c7, | ||
| 3463 | 0x00000006,0x00005999,0x0000592b,0x00000241, | ||
| 3464 | 0x000500ab,0x0000002f,0x0000599a,0x00005999, | ||
| 3465 | 0x00000138,0x000300f7,0x000059a1,0x00000000, | ||
| 3466 | 0x000400fa,0x0000599a,0x0000599b,0x0000599e, | 3314 | 0x000400fa,0x0000599a,0x0000599b,0x0000599e, |
| 3467 | 0x000200f8,0x0000599e,0x000400c8,0x00000006, | 3315 | 0x000200f8,0x0000599b,0x00050080,0x00000006, |
| 3468 | 0x000059a0,0x0000592b,0x000200f9,0x000059a1, | 3316 | 0x0000599d,0x00005993,0x0000014a,0x000200f9, |
| 3469 | 0x000200f8,0x0000599b,0x000500c7,0x00000006, | 3317 | 0x0000599e,0x000200f8,0x0000599e,0x000700f5, |
| 3470 | 0x0000599d,0x0000592b,0x00000256,0x000200f9, | 3318 | 0x00000006,0x00006193,0x00005993,0x00005999, |
| 3471 | 0x000059a1,0x000200f8,0x000059a1,0x000700f5, | 3319 | 0x0000599d,0x0000599b,0x000500c5,0x00000006, |
| 3472 | 0x00000006,0x00005d13,0x0000599d,0x0000599b, | 3320 | 0x000059a1,0x00005961,0x00006193,0x000200f9, |
| 3473 | 0x000059a0,0x0000599e,0x0004007c,0x00000027, | 3321 | 0x000059a2,0x000200f8,0x000059a2,0x000d00f5, |
| 3474 | 0x000059a3,0x00005d13,0x00050041,0x00000009, | 3322 | 0x00000006,0x00006195,0x0000596c,0x0000596a, |
| 3475 | 0x0000592d,0x00005905,0x00000315,0x0004003d, | 3323 | 0x00005961,0x00005970,0x0000597d,0x00005979, |
| 3476 | 0x00000006,0x0000592e,0x0000592d,0x000500c7, | 3324 | 0x00006194,0x00005988,0x000059a1,0x0000599e, |
| 3477 | 0x00000006,0x000059a8,0x0000592e,0x00000241, | 3325 | 0x000500c4,0x00000006,0x00005822,0x00006195, |
| 3478 | 0x000500ab,0x0000002f,0x000059a9,0x000059a8, | 3326 | 0x00000362,0x000500c5,0x00000006,0x00005823, |
| 3479 | 0x00000138,0x000300f7,0x000059b0,0x00000000, | 3327 | 0x00006191,0x00005822,0x00050095,0x00000145, |
| 3480 | 0x000400fa,0x000059a9,0x000059aa,0x000059ad, | 3328 | 0x000059bb,0x00005795,0x0000581b,0x00050051, |
| 3481 | 0x000200f8,0x000059ad,0x000400c8,0x00000006, | 3329 | 0x00000006,0x000059bc,0x000059bb,0x00000001, |
| 3482 | 0x000059af,0x0000592e,0x000200f9,0x000059b0, | 3330 | 0x00050051,0x00000006,0x000059bd,0x000059bb, |
| 3483 | 0x000200f8,0x000059aa,0x000500c7,0x00000006, | 3331 | 0x00000000,0x00050080,0x00000006,0x000059c2, |
| 3484 | 0x000059ac,0x0000592e,0x00000256,0x000200f9, | 3332 | 0x0000579c,0x000059bc,0x00050050,0x00000007, |
| 3485 | 0x000059b0,0x000200f8,0x000059b0,0x000700f5, | 3333 | 0x000059c3,0x000059bd,0x000059c2,0x0004007c, |
| 3486 | 0x00000006,0x00005d14,0x000059ac,0x000059aa, | 3334 | 0x00000014,0x000059b3,0x000059c3,0x00060041, |
| 3487 | 0x000059af,0x000059ad,0x0004007c,0x00000027, | 3335 | 0x00000174,0x000059ab,0x000059b3,0x00000173, |
| 3488 | 0x000059b2,0x00005d14,0x00060050,0x0000006c, | 3336 | 0x00000173,0x0005003e,0x000059ab,0x00005823, |
| 3489 | 0x00005930,0x00005994,0x000059a3,0x000059b2, | 3337 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 3490 | 0x00050041,0x00000009,0x00005931,0x00005905, | 3338 | 0x00005828,0x000057c4,0x000001d5,0x00050051, |
| 3491 | 0x0000031d,0x0004003d,0x00000006,0x00005932, | 3339 | 0x00000027,0x0000582a,0x000060f3,0x00000001, |
| 3492 | 0x00005931,0x000500c7,0x00000006,0x000059b7, | 3340 | 0x000300f7,0x00005a16,0x00000000,0x000300fb, |
| 3493 | 0x00005932,0x00000241,0x000500ab,0x0000002f, | 3341 | 0x00000140,0x000059d0,0x000200f8,0x000059d0, |
| 3494 | 0x000059b8,0x000059b7,0x00000138,0x000300f7, | 3342 | 0x0004007c,0x00000006,0x000059d2,0x0000582a, |
| 3495 | 0x000059bf,0x00000000,0x000400fa,0x000059b8, | 3343 | 0x000500c2,0x00000006,0x000059d4,0x000059d2, |
| 3496 | 0x000059b9,0x000059bc,0x000200f8,0x000059bc, | 3344 | 0x00000362,0x000500c7,0x00000006,0x000059d5, |
| 3497 | 0x000400c8,0x00000006,0x000059be,0x00005932, | 3345 | 0x000059d4,0x000003d1,0x000500c7,0x00000006, |
| 3498 | 0x000200f9,0x000059bf,0x000200f8,0x000059b9, | 3346 | 0x000059d7,0x000059d2,0x0000025e,0x000500aa, |
| 3499 | 0x000500c7,0x00000006,0x000059bb,0x00005932, | 3347 | 0x0000002f,0x000059db,0x000059d5,0x00000140, |
| 3500 | 0x00000256,0x000200f9,0x000059bf,0x000200f8, | 3348 | 0x000500ac,0x0000002f,0x000059dd,0x000059d7, |
| 3501 | 0x000059bf,0x000700f5,0x00000006,0x00005d15, | 3349 | 0x000003dc,0x000300f7,0x000059e1,0x00000000, |
| 3502 | 0x000059bb,0x000059b9,0x000059be,0x000059bc, | 3350 | 0x000400fa,0x000059dd,0x000059de,0x000059e1, |
| 3503 | 0x0004007c,0x00000027,0x000059c1,0x00005d15, | 3351 | 0x000200f8,0x000059de,0x000500c5,0x00000006, |
| 3504 | 0x00050041,0x00000009,0x00005934,0x00005905, | 3352 | 0x000059e0,0x000059d5,0x000003e1,0x000200f9, |
| 3505 | 0x00000325,0x0004003d,0x00000006,0x00005935, | 3353 | 0x00005a16,0x000200f8,0x000059e1,0x000500aa, |
| 3506 | 0x00005934,0x000500c7,0x00000006,0x000059c6, | 3354 | 0x0000002f,0x000059e3,0x000059d7,0x00000140, |
| 3507 | 0x00005935,0x00000241,0x000500ab,0x0000002f, | 3355 | 0x000300f7,0x000059e6,0x00000000,0x000400fa, |
| 3508 | 0x000059c7,0x000059c6,0x00000138,0x000300f7, | 3356 | 0x000059e3,0x000059e4,0x000059e6,0x000200f8, |
| 3509 | 0x000059ce,0x00000000,0x000400fa,0x000059c7, | 3357 | 0x000059e4,0x000200f9,0x00005a16,0x000200f8, |
| 3510 | 0x000059c8,0x000059cb,0x000200f8,0x000059cb, | 3358 | 0x000059e6,0x000500c2,0x00000006,0x000059e8, |
| 3511 | 0x000400c8,0x00000006,0x000059cd,0x00005935, | 3359 | 0x000059d7,0x000003ec,0x0004007c,0x000000fb, |
| 3512 | 0x000200f9,0x000059ce,0x000200f8,0x000059c8, | 3360 | 0x000059e9,0x000059e8,0x00050082,0x000000fb, |
| 3513 | 0x000500c7,0x00000006,0x000059ca,0x00005935, | 3361 | 0x000059ea,0x000059e9,0x000003ef,0x000500af, |
| 3514 | 0x00000256,0x000200f9,0x000059ce,0x000200f8, | 3362 | 0x0000002f,0x000059ec,0x000059ea,0x00000362, |
| 3515 | 0x000059ce,0x000700f5,0x00000006,0x00005d16, | 3363 | 0x000300f7,0x000059f2,0x00000000,0x000400fa, |
| 3516 | 0x000059ca,0x000059c8,0x000059cd,0x000059cb, | 3364 | 0x000059ec,0x000059ed,0x000059f2,0x000200f8, |
| 3517 | 0x0004007c,0x00000027,0x000059d0,0x00005d16, | 3365 | 0x000059ed,0x000600a9,0x00000006,0x000059f0, |
| 3518 | 0x00050041,0x00000009,0x00005937,0x00005905, | 3366 | 0x000059db,0x000003f7,0x000003f8,0x000500c5, |
| 3519 | 0x0000032d,0x0004003d,0x00000006,0x00005938, | 3367 | 0x00000006,0x000059f1,0x000059d5,0x000059f0, |
| 3520 | 0x00005937,0x000500c7,0x00000006,0x000059d5, | 3368 | 0x000200f9,0x00005a16,0x000200f8,0x000059f2, |
| 3521 | 0x00005938,0x00000241,0x000500ab,0x0000002f, | 3369 | 0x000500b1,0x0000002f,0x000059f4,0x000059ea, |
| 3522 | 0x000059d6,0x000059d5,0x00000138,0x000300f7, | 3370 | 0x000003fd,0x000300f7,0x000059fe,0x00000000, |
| 3523 | 0x000059dd,0x00000000,0x000400fa,0x000059d6, | 3371 | 0x000400fa,0x000059f4,0x000059f5,0x000059fe, |
| 3524 | 0x000059d7,0x000059da,0x000200f8,0x000059da, | 3372 | 0x000200f8,0x000059f5,0x000300f7,0x000059fc, |
| 3525 | 0x000400c8,0x00000006,0x000059dc,0x00005938, | 3373 | 0x00000000,0x000400fa,0x000059db,0x000059f7, |
| 3526 | 0x000200f9,0x000059dd,0x000200f8,0x000059d7, | 3374 | 0x000059fa,0x000200f8,0x000059fa,0x000200f9, |
| 3527 | 0x000500c7,0x00000006,0x000059d9,0x00005938, | 3375 | 0x000059fc,0x000200f8,0x000059f7,0x000500c5, |
| 3528 | 0x00000256,0x000200f9,0x000059dd,0x000200f8, | 3376 | 0x00000006,0x000059f9,0x000059d5,0x00000406, |
| 3529 | 0x000059dd,0x000700f5,0x00000006,0x00005d17, | 3377 | 0x000200f9,0x000059fc,0x000200f8,0x000059fc, |
| 3530 | 0x000059d9,0x000059d7,0x000059dc,0x000059da, | 3378 | 0x000700f5,0x00000006,0x00006198,0x000059f9, |
| 3531 | 0x0004007c,0x00000027,0x000059df,0x00005d17, | 3379 | 0x000059f7,0x000059d5,0x000059fa,0x000200f9, |
| 3532 | 0x00060050,0x0000006c,0x0000593a,0x000059c1, | 3380 | 0x00005a16,0x000200f8,0x000059fe,0x000500c7, |
| 3533 | 0x000059d0,0x000059df,0x000200f9,0x0000593b, | 3381 | 0x00000006,0x00005a00,0x000059d2,0x0000040e, |
| 3534 | 0x000200f8,0x0000593b,0x000700f5,0x0000006c, | 3382 | 0x00050080,0x000000fb,0x00005a02,0x000059e9, |
| 3535 | 0x00005d1c,0x000060fe,0x00005923,0x0000593a, | 3383 | 0x00006533,0x0004007c,0x00000006,0x00005a03, |
| 3536 | 0x000059dd,0x000700f5,0x0000006c,0x00005d18, | 3384 | 0x00005a02,0x000500c4,0x00000006,0x00005a04, |
| 3537 | 0x00000576,0x00005923,0x00005930,0x000059dd, | 3385 | 0x00005a03,0x00000414,0x000500c2,0x00000006, |
| 3538 | 0x00050082,0x00000006,0x000059ec,0x0000541e, | 3386 | 0x00005a06,0x00005a00,0x000001f8,0x000500c5, |
| 3539 | 0x000053c9,0x00050084,0x00000006,0x000059ed, | 3387 | 0x00000006,0x00005a07,0x00005a04,0x00005a06, |
| 3540 | 0x000000ec,0x000059ec,0x00050080,0x00000006, | 3388 | 0x000300f7,0x00005a0d,0x00000000,0x000400fa, |
| 3541 | 0x000059ee,0x000053c4,0x000059ed,0x00050095, | 3389 | 0x000059db,0x00005a09,0x00005a0d,0x000200f8, |
| 3542 | 0x0000013d,0x00005a0e,0x000053ea,0x000059ee, | 3390 | 0x00005a09,0x000500c7,0x00000006,0x00005a0b, |
| 3543 | 0x00050051,0x00000006,0x00005a0f,0x00005a0e, | 3391 | 0x000059d2,0x0000041d,0x000500ab,0x0000002f, |
| 3544 | 0x00000001,0x00050051,0x00000006,0x00005a10, | 3392 | 0x00005a0c,0x00005a0b,0x00000140,0x000200f9, |
| 3545 | 0x00005a0e,0x00000000,0x00050080,0x00000006, | 3393 | 0x00005a0d,0x000200f8,0x00005a0d,0x000700f5, |
| 3546 | 0x00005a15,0x000053f1,0x00005a0f,0x00050050, | 3394 | 0x0000002f,0x00005a0e,0x000059db,0x000059fe, |
| 3547 | 0x00000007,0x00005a16,0x00005a10,0x00005a15, | 3395 | 0x00005a0c,0x00005a09,0x000300f7,0x00005a12, |
| 3548 | 0x0004007c,0x00000014,0x00005a06,0x00005a16, | 3396 | 0x00000000,0x000400fa,0x00005a0e,0x00005a0f, |
| 3549 | 0x00060041,0x0000016c,0x000059fd,0x00005a06, | 3397 | 0x00005a12,0x000200f8,0x00005a0f,0x00050080, |
| 3550 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 3398 | 0x00000006,0x00005a11,0x00005a07,0x0000014a, |
| 3551 | 0x000059fe,0x000059fd,0x00000002,0x00000004, | 3399 | 0x000200f9,0x00005a12,0x000200f8,0x00005a12, |
| 3552 | 0x000200f9,0x0000519d,0x000200f8,0x0000519d, | 3400 | 0x000700f5,0x00000006,0x00006197,0x00005a07, |
| 3553 | 0x00050080,0x00000006,0x0000519f,0x00005ced, | 3401 | 0x00005a0d,0x00005a11,0x00005a0f,0x000500c5, |
| 3554 | 0x00000264,0x000200f9,0x00005132,0x000200f8, | 3402 | 0x00000006,0x00005a15,0x000059d5,0x00006197, |
| 3555 | 0x000051a0,0x000700f5,0x0000002f,0x00005d40, | 3403 | 0x000200f9,0x00005a16,0x000200f8,0x00005a16, |
| 3556 | 0x000003cc,0x00005132,0x000003e7,0x00005194, | 3404 | 0x000d00f5,0x00000006,0x00006199,0x000059e0, |
| 3557 | 0x000300f7,0x000051a2,0x00000000,0x000400fa, | 3405 | 0x000059de,0x000059d5,0x000059e4,0x000059f1, |
| 3558 | 0x00005d40,0x000051a3,0x000051a2,0x000200f8, | 3406 | 0x000059ed,0x00006198,0x000059fc,0x00005a15, |
| 3559 | 0x000051a2,0x000200f9,0x000051a3,0x000200f8, | 3407 | 0x00005a12,0x00050051,0x00000027,0x0000582d, |
| 3560 | 0x000051a3,0x000200f9,0x000013ed,0x000200f8, | 3408 | 0x000060f3,0x00000002,0x000300f7,0x00005a6a, |
| 3561 | 0x000013ed,0x000200f9,0x000013e3,0x000200f8, | 3409 | 0x00000000,0x000300fb,0x00000140,0x00005a24, |
| 3562 | 0x000013e2,0x000300f7,0x00004119,0x00000000, | 3410 | 0x000200f8,0x00005a24,0x0004007c,0x00000006, |
| 3563 | 0x000300fb,0x00000138,0x0000402b,0x000200f8, | 3411 | 0x00005a26,0x0000582d,0x000500c2,0x00000006, |
| 3564 | 0x0000402b,0x0003003e,0x00003ff3,0x00000fd5, | 3412 | 0x00005a28,0x00005a26,0x00000362,0x000500c7, |
| 3565 | 0x0003003e,0x00003ff4,0x00000fd5,0x00050041, | 3413 | 0x00000006,0x00005a29,0x00005a28,0x000003d1, |
| 3566 | 0x000001bb,0x0000402c,0x000001b9,0x000001f0, | 3414 | 0x000500c7,0x00000006,0x00005a2b,0x00005a26, |
| 3567 | 0x0004003d,0x00000006,0x0000402d,0x0000402c, | 3415 | 0x0000025e,0x000500aa,0x0000002f,0x00005a2f, |
| 3568 | 0x000500b2,0x0000002f,0x0000402e,0x0000402d, | 3416 | 0x00005a29,0x00000140,0x000500ac,0x0000002f, |
| 3569 | 0x00000142,0x000300f7,0x000040ae,0x00000000, | 3417 | 0x00005a31,0x00005a2b,0x000003dc,0x000300f7, |
| 3570 | 0x000400fa,0x0000402e,0x0000402f,0x0000403e, | 3418 | 0x00005a35,0x00000000,0x000400fa,0x00005a31, |
| 3571 | 0x000200f8,0x0000403e,0x00050041,0x000001bb, | 3419 | 0x00005a32,0x00005a35,0x000200f8,0x00005a32, |
| 3572 | 0x0000418c,0x000001b9,0x000001ba,0x0004003d, | 3420 | 0x000500c5,0x00000006,0x00005a34,0x00005a29, |
| 3573 | 0x00000006,0x0000418d,0x0000418c,0x00050084, | 3421 | 0x000003e1,0x000200f9,0x00005a6a,0x000200f8, |
| 3574 | 0x00000006,0x0000418e,0x000001db,0x0000418d, | 3422 | 0x00005a35,0x000500aa,0x0000002f,0x00005a37, |
| 3575 | 0x00050080,0x00000006,0x0000418f,0x000001c4, | 3423 | 0x00005a2b,0x00000140,0x000300f7,0x00005a3a, |
| 3576 | 0x0000418e,0x00050080,0x00000006,0x00004195, | 3424 | 0x00000000,0x000400fa,0x00005a37,0x00005a38, |
| 3577 | 0x0000418d,0x0000062f,0x00050086,0x00000006, | 3425 | 0x00005a3a,0x000200f8,0x00005a38,0x000200f9, |
| 3578 | 0x00004196,0x00004195,0x000001be,0x00050084, | 3426 | 0x00005a6a,0x000200f8,0x00005a3a,0x000500c2, |
| 3579 | 0x00000006,0x00004188,0x000001c4,0x00004196, | 3427 | 0x00000006,0x00005a3c,0x00005a2b,0x000003ec, |
| 3580 | 0x00050080,0x00000006,0x00004189,0x0000418f, | 3428 | 0x0004007c,0x000000fb,0x00005a3d,0x00005a3c, |
| 3581 | 0x00004188,0x00050080,0x00000006,0x00004183, | 3429 | 0x00050082,0x000000fb,0x00005a3e,0x00005a3d, |
| 3582 | 0x00004189,0x00004188,0x00050084,0x00000006, | 3430 | 0x000003ef,0x000500af,0x0000002f,0x00005a40, |
| 3583 | 0x0000417c,0x000001ef,0x0000402d,0x00050080, | 3431 | 0x00005a3e,0x00000362,0x000300f7,0x00005a46, |
| 3584 | 0x00000006,0x0000417d,0x00004183,0x0000417c, | 3432 | 0x00000000,0x000400fa,0x00005a40,0x00005a41, |
| 3585 | 0x00050041,0x000001bb,0x00004173,0x000001b9, | 3433 | 0x00005a46,0x000200f8,0x00005a41,0x000600a9, |
| 3586 | 0x00000206,0x0004003d,0x00000006,0x00004174, | 3434 | 0x00000006,0x00005a44,0x00005a2f,0x000003f7, |
| 3587 | 0x00004173,0x00050084,0x00000006,0x00004175, | 3435 | 0x000003f8,0x000500c5,0x00000006,0x00005a45, |
| 3588 | 0x00000205,0x00004174,0x00050080,0x00000006, | 3436 | 0x00005a29,0x00005a44,0x000200f9,0x00005a6a, |
| 3589 | 0x00004176,0x0000417d,0x00004175,0x000500ac, | 3437 | 0x000200f8,0x00005a46,0x000500b1,0x0000002f, |
| 3590 | 0x0000002f,0x000041a3,0x0000402d,0x00000142, | 3438 | 0x00005a48,0x00005a3e,0x000003fd,0x000300f7, |
| 3591 | 0x000300f7,0x000041a9,0x00000000,0x000400fa, | 3439 | 0x00005a52,0x00000000,0x000400fa,0x00005a48, |
| 3592 | 0x000041a3,0x000041a4,0x000041a8,0x000200f8, | 3440 | 0x00005a49,0x00005a52,0x000200f8,0x00005a49, |
| 3593 | 0x000041a8,0x000200f9,0x000041a9,0x000200f8, | 3441 | 0x000300f7,0x00005a50,0x00000000,0x000400fa, |
| 3594 | 0x000041a4,0x00050082,0x00000006,0x000041a7, | 3442 | 0x00005a2f,0x00005a4b,0x00005a4e,0x000200f8, |
| 3595 | 0x0000402d,0x00000142,0x000200f9,0x000041a9, | 3443 | 0x00005a4e,0x000200f9,0x00005a50,0x000200f8, |
| 3596 | 0x000200f8,0x000041a9,0x000700f5,0x00000006, | 3444 | 0x00005a4b,0x000500c5,0x00000006,0x00005a4d, |
| 3597 | 0x00005d93,0x000041a7,0x000041a4,0x00000138, | 3445 | 0x00005a29,0x00000406,0x000200f9,0x00005a50, |
| 3598 | 0x000041a8,0x00050084,0x00000006,0x0000416e, | 3446 | 0x000200f8,0x00005a50,0x000700f5,0x00000006, |
| 3599 | 0x000000ec,0x00005d93,0x00050080,0x00000006, | 3447 | 0x0000619c,0x00005a4d,0x00005a4b,0x00005a29, |
| 3600 | 0x0000416f,0x00004176,0x0000416e,0x000300f7, | 3448 | 0x00005a4e,0x000200f9,0x00005a6a,0x000200f8, |
| 3601 | 0x000041b6,0x00000000,0x000400fa,0x000041a3, | 3449 | 0x00005a52,0x000500c7,0x00000006,0x00005a54, |
| 3602 | 0x000041b1,0x000041b5,0x000200f8,0x000041b5, | 3450 | 0x00005a26,0x0000040e,0x00050080,0x000000fb, |
| 3603 | 0x000200f9,0x000041b6,0x000200f8,0x000041b1, | 3451 | 0x00005a56,0x00005a3d,0x00006533,0x0004007c, |
| 3604 | 0x00050082,0x00000006,0x000041b4,0x0000402d, | 3452 | 0x00000006,0x00005a57,0x00005a56,0x000500c4, |
| 3605 | 0x00000142,0x000200f9,0x000041b6,0x000200f8, | 3453 | 0x00000006,0x00005a58,0x00005a57,0x00000414, |
| 3606 | 0x000041b6,0x000700f5,0x00000006,0x00005d94, | 3454 | 0x000500c2,0x00000006,0x00005a5a,0x00005a54, |
| 3607 | 0x000041b4,0x000041b1,0x00000138,0x000041b5, | 3455 | 0x000001f8,0x000500c5,0x00000006,0x00005a5b, |
| 3608 | 0x00050084,0x00000006,0x00004168,0x000000ec, | 3456 | 0x00005a58,0x00005a5a,0x000300f7,0x00005a61, |
| 3609 | 0x00005d94,0x00050080,0x00000006,0x00004169, | 3457 | 0x00000000,0x000400fa,0x00005a2f,0x00005a5d, |
| 3610 | 0x0000416f,0x00004168,0x000300f7,0x000041c3, | 3458 | 0x00005a61,0x000200f8,0x00005a5d,0x000500c7, |
| 3611 | 0x00000000,0x000400fa,0x000041a3,0x000041be, | 3459 | 0x00000006,0x00005a5f,0x00005a26,0x0000041d, |
| 3612 | 0x000041c2,0x000200f8,0x000041c2,0x000200f9, | 3460 | 0x000500ab,0x0000002f,0x00005a60,0x00005a5f, |
| 3613 | 0x000041c3,0x000200f8,0x000041be,0x00050082, | 3461 | 0x00000140,0x000200f9,0x00005a61,0x000200f8, |
| 3614 | 0x00000006,0x000041c1,0x0000402d,0x00000142, | 3462 | 0x00005a61,0x000700f5,0x0000002f,0x00005a62, |
| 3615 | 0x000200f9,0x000041c3,0x000200f8,0x000041c3, | 3463 | 0x00005a2f,0x00005a52,0x00005a60,0x00005a5d, |
| 3616 | 0x000700f5,0x00000006,0x00005d95,0x000041c1, | 3464 | 0x000300f7,0x00005a66,0x00000000,0x000400fa, |
| 3617 | 0x000041be,0x00000138,0x000041c2,0x00050084, | 3465 | 0x00005a62,0x00005a63,0x00005a66,0x000200f8, |
| 3618 | 0x00000006,0x00004162,0x000000ec,0x00005d95, | 3466 | 0x00005a63,0x00050080,0x00000006,0x00005a65, |
| 3619 | 0x00050080,0x00000006,0x00004163,0x00004169, | 3467 | 0x00005a5b,0x0000014a,0x000200f9,0x00005a66, |
| 3620 | 0x00004162,0x00050084,0x00000006,0x00004041, | 3468 | 0x000200f8,0x00005a66,0x000700f5,0x00000006, |
| 3621 | 0x000000ec,0x000012dd,0x00050080,0x00000006, | 3469 | 0x0000619b,0x00005a5b,0x00005a61,0x00005a65, |
| 3622 | 0x00004042,0x00004163,0x00004041,0x00050041, | 3470 | 0x00005a63,0x000500c5,0x00000006,0x00005a69, |
| 3623 | 0x00000266,0x00004043,0x000001b9,0x00000264, | 3471 | 0x00005a29,0x0000619b,0x000200f9,0x00005a6a, |
| 3624 | 0x0004003d,0x00000007,0x00004044,0x00004043, | 3472 | 0x000200f8,0x00005a6a,0x000d00f5,0x00000006, |
| 3625 | 0x00050051,0x00000006,0x000041db,0x00004044, | 3473 | 0x0000619d,0x00005a34,0x00005a32,0x00005a29, |
| 3626 | 0x00000000,0x00050095,0x0000013d,0x000041dd, | 3474 | 0x00005a38,0x00005a45,0x00005a41,0x0000619c, |
| 3627 | 0x000041db,0x00004042,0x00050051,0x00000006, | 3475 | 0x00005a50,0x00005a69,0x00005a66,0x000500c4, |
| 3628 | 0x000041de,0x000041dd,0x00000001,0x00050051, | 3476 | 0x00000006,0x0000582f,0x0000619d,0x00000362, |
| 3629 | 0x00000006,0x000041df,0x000041dd,0x00000000, | 3477 | 0x000500c5,0x00000006,0x00005830,0x00006199, |
| 3630 | 0x00050051,0x00000006,0x000041e2,0x00004044, | 3478 | 0x0000582f,0x00050095,0x00000145,0x00005a83, |
| 3631 | 0x00000001,0x00050080,0x00000006,0x000041e4, | 3479 | 0x00005795,0x00005828,0x00050051,0x00000006, |
| 3632 | 0x000041e2,0x000041de,0x00050050,0x00000007, | 3480 | 0x00005a84,0x00005a83,0x00000001,0x00050051, |
| 3633 | 0x000041e5,0x000041df,0x000041e4,0x0004007c, | 3481 | 0x00000006,0x00005a85,0x00005a83,0x00000000, |
| 3634 | 0x00000014,0x000041d5,0x000041e5,0x00060041, | 3482 | 0x00050080,0x00000006,0x00005a8a,0x0000579c, |
| 3635 | 0x0000016c,0x000041cc,0x000041d5,0x0000016b, | 3483 | 0x00005a84,0x00050050,0x00000007,0x00005a8b, |
| 3636 | 0x0000016b,0x0006003d,0x00000006,0x000041cd, | 3484 | 0x00005a85,0x00005a8a,0x0004007c,0x00000014, |
| 3637 | 0x000041cc,0x00000002,0x00000004,0x000500aa, | 3485 | 0x00005a7b,0x00005a8b,0x00060041,0x00000174, |
| 3638 | 0x0000002f,0x00004046,0x000041cd,0x00000138, | 3486 | 0x00005a73,0x00005a7b,0x00000173,0x00000173, |
| 3639 | 0x000300f7,0x00004048,0x00000000,0x000400fa, | 3487 | 0x0005003e,0x00005a73,0x00005830,0x00000002, |
| 3640 | 0x00004046,0x00004047,0x00004048,0x000200f8, | 3488 | 0x00000004,0x000200f9,0x000057f7,0x000200f8, |
| 3641 | 0x00004047,0x000200f9,0x00004119,0x000200f8, | 3489 | 0x000057c8,0x00050080,0x00000006,0x000057ca, |
| 3642 | 0x00004048,0x000300f7,0x00004237,0x00000000, | 3490 | 0x0000541a,0x000001e3,0x00050084,0x00000006, |
| 3643 | 0x000400fa,0x000041a3,0x00004232,0x00004236, | 3491 | 0x000057cc,0x000001f7,0x000060e7,0x00050080, |
| 3644 | 0x000200f8,0x00004236,0x000200f9,0x00004237, | 3492 | 0x00000006,0x000057cd,0x000057ca,0x000057cc, |
| 3645 | 0x000200f8,0x00004232,0x00050082,0x00000006, | 3493 | 0x00050051,0x00000027,0x000057d2,0x000060ea, |
| 3646 | 0x00004235,0x0000402d,0x00000142,0x000200f9, | 3494 | 0x00000000,0x0004007c,0x00000006,0x00005a91, |
| 3647 | 0x00004237,0x000200f8,0x00004237,0x000700f5, | 3495 | 0x000057d2,0x00050095,0x00000145,0x00005aac, |
| 3648 | 0x00000006,0x00005d96,0x00004235,0x00004232, | 3496 | 0x00005795,0x000057cd,0x00050051,0x00000006, |
| 3649 | 0x00000138,0x00004236,0x00050084,0x00000006, | 3497 | 0x00005aad,0x00005aac,0x00000001,0x00050051, |
| 3650 | 0x000041fc,0x000000ec,0x00005d96,0x00050080, | 3498 | 0x00000006,0x00005aae,0x00005aac,0x00000000, |
| 3651 | 0x00000006,0x000041fd,0x00004176,0x000041fc, | 3499 | 0x00050080,0x00000006,0x00005ab3,0x0000579c, |
| 3652 | 0x000300f7,0x00004244,0x00000000,0x000400fa, | 3500 | 0x00005aad,0x00050050,0x00000007,0x00005ab4, |
| 3653 | 0x000041a3,0x0000423f,0x00004243,0x000200f8, | 3501 | 0x00005aae,0x00005ab3,0x0004007c,0x00000014, |
| 3654 | 0x00004243,0x000200f9,0x00004244,0x000200f8, | 3502 | 0x00005aa4,0x00005ab4,0x00060041,0x00000174, |
| 3655 | 0x0000423f,0x00050082,0x00000006,0x00004242, | 3503 | 0x00005a9c,0x00005aa4,0x00000173,0x00000173, |
| 3656 | 0x0000402d,0x00000142,0x000200f9,0x00004244, | 3504 | 0x0005003e,0x00005a9c,0x00005a91,0x00000002, |
| 3657 | 0x000200f8,0x00004244,0x000700f5,0x00000006, | 3505 | 0x00000004,0x00050080,0x00000006,0x000057d5, |
| 3658 | 0x00005d97,0x00004242,0x0000423f,0x00000138, | 3506 | 0x000057cd,0x000000f3,0x00050051,0x00000027, |
| 3659 | 0x00004243,0x00050084,0x00000006,0x000041f6, | 3507 | 0x000057d9,0x000060ea,0x00000001,0x0004007c, |
| 3660 | 0x000000ec,0x00005d97,0x00050080,0x00000006, | 3508 | 0x00000006,0x00005aba,0x000057d9,0x00050095, |
| 3661 | 0x000041f7,0x000041fd,0x000041f6,0x000300f7, | 3509 | 0x00000145,0x00005ad5,0x00005795,0x000057d5, |
| 3662 | 0x00004251,0x00000000,0x000400fa,0x000041a3, | 3510 | 0x00050051,0x00000006,0x00005ad6,0x00005ad5, |
| 3663 | 0x0000424c,0x00004250,0x000200f8,0x00004250, | 3511 | 0x00000001,0x00050051,0x00000006,0x00005ad7, |
| 3664 | 0x000200f9,0x00004251,0x000200f8,0x0000424c, | 3512 | 0x00005ad5,0x00000000,0x00050080,0x00000006, |
| 3665 | 0x00050082,0x00000006,0x0000424f,0x0000402d, | 3513 | 0x00005adc,0x0000579c,0x00005ad6,0x00050050, |
| 3666 | 0x00000142,0x000200f9,0x00004251,0x000200f8, | 3514 | 0x00000007,0x00005add,0x00005ad7,0x00005adc, |
| 3667 | 0x00004251,0x000700f5,0x00000006,0x00005d98, | 3515 | 0x0004007c,0x00000014,0x00005acd,0x00005add, |
| 3668 | 0x0000424f,0x0000424c,0x00000138,0x00004250, | 3516 | 0x00060041,0x00000174,0x00005ac5,0x00005acd, |
| 3669 | 0x00050084,0x00000006,0x000041f0,0x000000ec, | 3517 | 0x00000173,0x00000173,0x0005003e,0x00005ac5, |
| 3670 | 0x00005d98,0x00050080,0x00000006,0x000041f1, | 3518 | 0x00005aba,0x00000002,0x00000004,0x00050080, |
| 3671 | 0x000041f7,0x000041f0,0x000300f7,0x0000425e, | 3519 | 0x00000006,0x000057dc,0x000057cd,0x000001d5, |
| 3672 | 0x00000000,0x000400fa,0x000041a3,0x00004259, | 3520 | 0x00050051,0x00000027,0x000057e0,0x000060ea, |
| 3673 | 0x0000425d,0x000200f8,0x0000425d,0x000200f9, | 3521 | 0x00000002,0x0004007c,0x00000006,0x00005ae3, |
| 3674 | 0x0000425e,0x000200f8,0x00004259,0x00050082, | 3522 | 0x000057e0,0x00050095,0x00000145,0x00005afe, |
| 3675 | 0x00000006,0x0000425c,0x0000402d,0x00000142, | 3523 | 0x00005795,0x000057dc,0x00050051,0x00000006, |
| 3676 | 0x000200f9,0x0000425e,0x000200f8,0x0000425e, | 3524 | 0x00005aff,0x00005afe,0x00000001,0x00050051, |
| 3677 | 0x000700f5,0x00000006,0x00005d99,0x0000425c, | 3525 | 0x00000006,0x00005b00,0x00005afe,0x00000000, |
| 3678 | 0x00004259,0x00000138,0x0000425d,0x00050084, | 3526 | 0x00050080,0x00000006,0x00005b05,0x0000579c, |
| 3679 | 0x00000006,0x000041ea,0x000000ec,0x00005d99, | 3527 | 0x00005aff,0x00050050,0x00000007,0x00005b06, |
| 3680 | 0x00050080,0x00000006,0x000041eb,0x000041f1, | 3528 | 0x00005b00,0x00005b05,0x0004007c,0x00000014, |
| 3681 | 0x000041ea,0x00050080,0x00000006,0x0000404c, | 3529 | 0x00005af6,0x00005b06,0x00060041,0x00000174, |
| 3682 | 0x000041eb,0x00004041,0x00050095,0x0000013d, | 3530 | 0x00005aee,0x00005af6,0x00000173,0x00000173, |
| 3683 | 0x00004278,0x000041db,0x0000404c,0x00050051, | 3531 | 0x0005003e,0x00005aee,0x00005ae3,0x00000002, |
| 3684 | 0x00000006,0x00004279,0x00004278,0x00000001, | 3532 | 0x00000004,0x00050080,0x00000006,0x000057e3, |
| 3685 | 0x00050051,0x00000006,0x0000427a,0x00004278, | 3533 | 0x000057cd,0x000001dc,0x00050051,0x00000027, |
| 3686 | 0x00000000,0x00050080,0x00000006,0x0000427f, | 3534 | 0x000057e7,0x000060f3,0x00000000,0x0004007c, |
| 3687 | 0x000041e2,0x00004279,0x00050050,0x00000007, | 3535 | 0x00000006,0x00005b0c,0x000057e7,0x00050095, |
| 3688 | 0x00004280,0x0000427a,0x0000427f,0x0004007c, | 3536 | 0x00000145,0x00005b27,0x00005795,0x000057e3, |
| 3689 | 0x00000014,0x00004270,0x00004280,0x00060041, | 3537 | 0x00050051,0x00000006,0x00005b28,0x00005b27, |
| 3690 | 0x0000016c,0x00004267,0x00004270,0x0000016b, | 3538 | 0x00000001,0x00050051,0x00000006,0x00005b29, |
| 3691 | 0x0000016b,0x0006003d,0x00000006,0x00004268, | 3539 | 0x00005b27,0x00000000,0x00050080,0x00000006, |
| 3692 | 0x00004267,0x00000002,0x00000004,0x000500ae, | 3540 | 0x00005b2e,0x0000579c,0x00005b28,0x00050050, |
| 3693 | 0x0000002f,0x00004053,0x00004268,0x00004174, | 3541 | 0x00000007,0x00005b2f,0x00005b29,0x00005b2e, |
| 3694 | 0x000300f7,0x00004055,0x00000000,0x000400fa, | 3542 | 0x0004007c,0x00000014,0x00005b1f,0x00005b2f, |
| 3695 | 0x00004053,0x00004054,0x00004055,0x000200f8, | 3543 | 0x00060041,0x00000174,0x00005b17,0x00005b1f, |
| 3696 | 0x00004054,0x000200f9,0x00004119,0x000200f8, | 3544 | 0x00000173,0x00000173,0x0005003e,0x00005b17, |
| 3697 | 0x00004055,0x00050080,0x00000006,0x00004059, | 3545 | 0x00005b0c,0x00000002,0x00000004,0x00050080, |
| 3698 | 0x00004176,0x00004041,0x00050095,0x0000013d, | 3546 | 0x00000006,0x000057ea,0x000057cd,0x000001e3, |
| 3699 | 0x000042c7,0x000041db,0x00004059,0x00050051, | 3547 | 0x00050051,0x00000027,0x000057ee,0x000060f3, |
| 3700 | 0x00000006,0x000042c8,0x000042c7,0x00000001, | 3548 | 0x00000001,0x0004007c,0x00000006,0x00005b35, |
| 3701 | 0x00050051,0x00000006,0x000042c9,0x000042c7, | 3549 | 0x000057ee,0x00050095,0x00000145,0x00005b50, |
| 3702 | 0x00000000,0x00050080,0x00000006,0x000042ce, | 3550 | 0x00005795,0x000057ea,0x00050051,0x00000006, |
| 3703 | 0x000041e2,0x000042c8,0x00050050,0x00000007, | 3551 | 0x00005b51,0x00005b50,0x00000001,0x00050051, |
| 3704 | 0x000042cf,0x000042c9,0x000042ce,0x0004007c, | 3552 | 0x00000006,0x00005b52,0x00005b50,0x00000000, |
| 3705 | 0x00000014,0x000042bf,0x000042cf,0x00060041, | 3553 | 0x00050080,0x00000006,0x00005b57,0x0000579c, |
| 3706 | 0x0000016c,0x000042b6,0x000042bf,0x0000016b, | 3554 | 0x00005b51,0x00050050,0x00000007,0x00005b58, |
| 3707 | 0x0000016b,0x0006003d,0x00000006,0x000042b7, | 3555 | 0x00005b52,0x00005b57,0x0004007c,0x00000014, |
| 3708 | 0x000042b6,0x00000002,0x00000004,0x000300f7, | 3556 | 0x00005b48,0x00005b58,0x00060041,0x00000174, |
| 3709 | 0x0000430f,0x00000000,0x000400fa,0x000041a3, | 3557 | 0x00005b40,0x00005b48,0x00000173,0x00000173, |
| 3710 | 0x0000430a,0x0000430e,0x000200f8,0x0000430e, | 3558 | 0x0005003e,0x00005b40,0x00005b35,0x00000002, |
| 3711 | 0x000200f9,0x0000430f,0x000200f8,0x0000430a, | 3559 | 0x00000004,0x00050080,0x00000006,0x000057f1, |
| 3712 | 0x00050082,0x00000006,0x0000430d,0x0000402d, | 3560 | 0x000057cd,0x000002a1,0x00050051,0x00000027, |
| 3713 | 0x00000142,0x000200f9,0x0000430f,0x000200f8, | 3561 | 0x000057f5,0x000060f3,0x00000002,0x0004007c, |
| 3714 | 0x0000430f,0x000700f5,0x00000006,0x00005d9a, | 3562 | 0x00000006,0x00005b5e,0x000057f5,0x00050095, |
| 3715 | 0x0000430d,0x0000430a,0x00000138,0x0000430e, | 3563 | 0x00000145,0x00005b79,0x00005795,0x000057f1, |
| 3716 | 0x00050084,0x00000006,0x000042d4,0x000000ec, | 3564 | 0x00050051,0x00000006,0x00005b7a,0x00005b79, |
| 3717 | 0x00005d9a,0x00050080,0x00000006,0x000042d5, | 3565 | 0x00000001,0x00050051,0x00000006,0x00005b7b, |
| 3718 | 0x00004176,0x000042d4,0x00050080,0x00000006, | 3566 | 0x00005b79,0x00000000,0x00050080,0x00000006, |
| 3719 | 0x00004060,0x000042d5,0x00004041,0x00050095, | 3567 | 0x00005b80,0x0000579c,0x00005b7a,0x00050050, |
| 3720 | 0x0000013d,0x00004329,0x000041db,0x00004060, | 3568 | 0x00000007,0x00005b81,0x00005b7b,0x00005b80, |
| 3721 | 0x00050051,0x00000006,0x0000432a,0x00004329, | 3569 | 0x0004007c,0x00000014,0x00005b71,0x00005b81, |
| 3722 | 0x00000001,0x00050051,0x00000006,0x0000432b, | 3570 | 0x00060041,0x00000174,0x00005b69,0x00005b71, |
| 3723 | 0x00004329,0x00000000,0x00050080,0x00000006, | 3571 | 0x00000173,0x00000173,0x0005003e,0x00005b69, |
| 3724 | 0x00004330,0x000041e2,0x0000432a,0x00050050, | 3572 | 0x00005b5e,0x00000002,0x00000004,0x000200f9, |
| 3725 | 0x00000007,0x00004331,0x0000432b,0x00004330, | 3573 | 0x000057f7,0x000200f8,0x000057f7,0x000200f9, |
| 3726 | 0x0004007c,0x00000014,0x00004321,0x00004331, | 3574 | 0x00005438,0x000200f8,0x00005438,0x000200f9, |
| 3727 | 0x00060041,0x0000016c,0x00004318,0x00004321, | 3575 | 0x00005439,0x000200f8,0x00005439,0x000700f5, |
| 3728 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 3576 | 0x00000006,0x0000645a,0x0000610f,0x00005429, |
| 3729 | 0x00004319,0x00004318,0x00000002,0x00000004, | 3577 | 0x0000542c,0x00005438,0x00050080,0x00000006, |
| 3730 | 0x00050050,0x0000100d,0x00004064,0x000042b7, | 3578 | 0x0000543b,0x000060e7,0x0000026c,0x000200f9, |
| 3731 | 0x00004319,0x0003003e,0x00003ffe,0x00004064, | 3579 | 0x0000541b,0x000200f8,0x0000543c,0x00050041, |
| 3732 | 0x000200f9,0x00004065,0x000200f8,0x00004065, | 3580 | 0x000001c3,0x00005b89,0x000001c1,0x00000362, |
| 3733 | 0x000700f5,0x00000006,0x00005d9b,0x00000138, | 3581 | 0x0004003d,0x00000006,0x00005b8a,0x00005b89, |
| 3734 | 0x0000430f,0x0000409d,0x0000409b,0x000700f5, | 3582 | 0x00050082,0x00000006,0x00005b8b,0x0000541a, |
| 3735 | 0x00000006,0x00005dc4,0x00000138,0x0000430f, | 3583 | 0x00005b8a,0x000500c7,0x00000006,0x00005b97, |
| 3736 | 0x00005dc2,0x0000409b,0x000500b0,0x0000002f, | 3584 | 0x000060e4,0x00000376,0x000500aa,0x0000002f, |
| 3737 | 0x00004068,0x00005d9b,0x00000280,0x000400f6, | 3585 | 0x00005b98,0x00005b97,0x000000f3,0x000600a9, |
| 3738 | 0x0000409e,0x0000409b,0x00000000,0x000400fa, | 3586 | 0x00000006,0x00005b8e,0x00005b98,0x000001cc, |
| 3739 | 0x00004068,0x00004069,0x0000409e,0x000200f8, | 3587 | 0x0000034a,0x00050086,0x00000006,0x00005b8f, |
| 3740 | 0x00004069,0x00050041,0x00000009,0x0000406b, | 3588 | 0x00005b8b,0x00005b8e,0x00050041,0x000001c3, |
| 3741 | 0x00003ffe,0x00005d9b,0x0004003d,0x00000006, | 3589 | 0x00005ba7,0x000001c1,0x000001f8,0x0004003d, |
| 3742 | 0x0000406c,0x0000406b,0x00050050,0x0000100d, | 3590 | 0x00000006,0x00005ba8,0x00005ba7,0x00050084, |
| 3743 | 0x0000406e,0x0000406c,0x0000406c,0x0003003e, | 3591 | 0x00000006,0x00005ba9,0x000001f7,0x00005ba8, |
| 3744 | 0x00004005,0x0000406e,0x000500c7,0x00000006, | 3592 | 0x00050080,0x00000006,0x00005baa,0x000055bb, |
| 3745 | 0x00004070,0x0000406c,0x00000241,0x000500aa, | 3593 | 0x00005ba9,0x00050084,0x00000006,0x00005b9f, |
| 3746 | 0x0000002f,0x00004071,0x00004070,0x00000138, | 3594 | 0x0000020d,0x00005b8f,0x00050080,0x00000006, |
| 3747 | 0x000300f7,0x00004083,0x00000000,0x000400fa, | 3595 | 0x00005ba0,0x00005baa,0x00005b9f,0x00050095, |
| 3748 | 0x00004071,0x00004072,0x00004083,0x000200f8, | 3596 | 0x00000145,0x00005bda,0x000055ec,0x00005ba0, |
| 3749 | 0x00004072,0x00050084,0x00000006,0x00004075, | 3597 | 0x00050051,0x00000006,0x00005bdb,0x00005bda, |
| 3750 | 0x000000ec,0x0000406c,0x00050080,0x00000006, | 3598 | 0x00000001,0x00050051,0x00000006,0x00005bdc, |
| 3751 | 0x00004076,0x00004176,0x00004075,0x00050095, | 3599 | 0x00005bda,0x00000000,0x00050080,0x00000006, |
| 3752 | 0x0000013d,0x00004378,0x000041db,0x00004076, | 3600 | 0x00005be1,0x000055f3,0x00005bdb,0x00050050, |
| 3753 | 0x00050051,0x00000006,0x00004379,0x00004378, | 3601 | 0x00000007,0x00005be2,0x00005bdc,0x00005be1, |
| 3754 | 0x00000001,0x00050051,0x00000006,0x0000437a, | 3602 | 0x0004007c,0x00000014,0x00005bd2,0x00005be2, |
| 3755 | 0x00004378,0x00000000,0x00050080,0x00000006, | 3603 | 0x00050051,0x00000027,0x00005be6,0x000060ea, |
| 3756 | 0x0000437f,0x000041e2,0x00004379,0x00050050, | 3604 | 0x00000000,0x00050051,0x00000027,0x00005be8, |
| 3757 | 0x00000007,0x00004380,0x0000437a,0x0000437f, | 3605 | 0x000060f3,0x00000000,0x000500bc,0x0000002f, |
| 3758 | 0x0004007c,0x00000014,0x00004370,0x00004380, | 3606 | 0x00005be9,0x00005be6,0x00005be8,0x000300f7, |
| 3759 | 0x00060041,0x0000016c,0x00004367,0x00004370, | 3607 | 0x00005bf0,0x00000000,0x000400fa,0x00005be9, |
| 3760 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 3608 | 0x00005bea,0x00005bf0,0x000200f8,0x00005bea, |
| 3761 | 0x00004368,0x00004367,0x00000002,0x00000004, | 3609 | 0x00050051,0x00000027,0x00005bec,0x000060ea, |
| 3762 | 0x00050041,0x00000009,0x0000407a,0x00004005, | 3610 | 0x00000001,0x00050051,0x00000027,0x00005bee, |
| 3763 | 0x0000016b,0x0003003e,0x0000407a,0x00004368, | 3611 | 0x000060f3,0x00000001,0x000500bc,0x0000002f, |
| 3764 | 0x000300f7,0x000043c0,0x00000000,0x000400fa, | 3612 | 0x00005bef,0x00005bec,0x00005bee,0x000200f9, |
| 3765 | 0x000041a3,0x000043bb,0x000043bf,0x000200f8, | 3613 | 0x00005bf0,0x000200f8,0x00005bf0,0x000700f5, |
| 3766 | 0x000043bf,0x000200f9,0x000043c0,0x000200f8, | 3614 | 0x0000002f,0x00005bf1,0x00005be9,0x0000543c, |
| 3767 | 0x000043bb,0x00050082,0x00000006,0x000043be, | 3615 | 0x00005bef,0x00005bea,0x000300f7,0x00005bf8, |
| 3768 | 0x0000402d,0x00000142,0x000200f9,0x000043c0, | 3616 | 0x00000000,0x000400fa,0x00005bf1,0x00005bf2, |
| 3769 | 0x000200f8,0x000043c0,0x000700f5,0x00000006, | 3617 | 0x00005bf8,0x000200f8,0x00005bf2,0x00050051, |
| 3770 | 0x00005dbb,0x000043be,0x000043bb,0x00000138, | 3618 | 0x00000027,0x00005bf4,0x000060ea,0x00000002, |
| 3771 | 0x000043bf,0x00050084,0x00000006,0x00004385, | 3619 | 0x00050051,0x00000027,0x00005bf6,0x000060f3, |
| 3772 | 0x000000ec,0x00005dbb,0x00050080,0x00000006, | 3620 | 0x00000002,0x000500bc,0x0000002f,0x00005bf7, |
| 3773 | 0x00004386,0x00004176,0x00004385,0x00050080, | 3621 | 0x00005bf4,0x00005bf6,0x000200f9,0x00005bf8, |
| 3774 | 0x00000006,0x0000407e,0x00004386,0x00004075, | 3622 | 0x000200f8,0x00005bf8,0x000700f5,0x0000002f, |
| 3775 | 0x00050095,0x0000013d,0x000043da,0x000041db, | 3623 | 0x00005bf9,0x00005bf1,0x00005bf0,0x00005bf7, |
| 3776 | 0x0000407e,0x00050051,0x00000006,0x000043db, | 3624 | 0x00005bf2,0x000300f7,0x0000546a,0x00000000, |
| 3777 | 0x000043da,0x00000001,0x00050051,0x00000006, | 3625 | 0x000400fa,0x00005bf9,0x00005445,0x0000546a, |
| 3778 | 0x000043dc,0x000043da,0x00000000,0x00050080, | 3626 | 0x000200f8,0x00005445,0x00060041,0x00000174, |
| 3779 | 0x00000006,0x000043e1,0x000041e2,0x000043db, | 3627 | 0x00005447,0x00005bd2,0x00000173,0x0000026c, |
| 3780 | 0x00050050,0x00000007,0x000043e2,0x000043dc, | 3628 | 0x0004007c,0x00000006,0x00005c00,0x00005be6, |
| 3781 | 0x000043e1,0x0004007c,0x00000014,0x000043d2, | 3629 | 0x000500c7,0x00000006,0x00005c02,0x00005c00, |
| 3782 | 0x000043e2,0x00060041,0x0000016c,0x000043c9, | 3630 | 0x00000249,0x000500ab,0x0000002f,0x00005c03, |
| 3783 | 0x000043d2,0x0000016b,0x0000016b,0x0006003d, | 3631 | 0x00005c02,0x00000140,0x000300f7,0x00005c0a, |
| 3784 | 0x00000006,0x000043ca,0x000043c9,0x00000002, | 3632 | 0x00000000,0x000400fa,0x00005c03,0x00005c04, |
| 3785 | 0x00000004,0x00050041,0x00000009,0x00004082, | 3633 | 0x00005c07,0x000200f8,0x00005c07,0x000500c5, |
| 3786 | 0x00004005,0x00000264,0x0003003e,0x00004082, | 3634 | 0x00000006,0x00005c09,0x00005c00,0x00000249, |
| 3787 | 0x000043ca,0x000200f9,0x00004083,0x000200f8, | 3635 | 0x000200f9,0x00005c0a,0x000200f8,0x00005c04, |
| 3788 | 0x00004083,0x000600a9,0x00000006,0x00006116, | 3636 | 0x000400c8,0x00000006,0x00005c06,0x00005c00, |
| 3789 | 0x00004071,0x00000280,0x00000142,0x000200f9, | 3637 | 0x000200f9,0x00005c0a,0x000200f8,0x00005c0a, |
| 3790 | 0x00004084,0x000200f8,0x00004084,0x000700f5, | 3638 | 0x000700f5,0x00000006,0x000060fd,0x00005c06, |
| 3791 | 0x00000006,0x00005dc2,0x00005dc4,0x00004083, | 3639 | 0x00005c04,0x00005c09,0x00005c07,0x000700ed, |
| 3792 | 0x00004091,0x00004097,0x000700f5,0x00000006, | 3640 | 0x00000006,0x0000544b,0x00005447,0x0000014a, |
| 3793 | 0x00005dbc,0x00000138,0x00004083,0x00004099, | 3641 | 0x00000140,0x000060fd,0x00060041,0x00000174, |
| 3794 | 0x00004097,0x000500b0,0x0000002f,0x00004088, | 3642 | 0x0000544d,0x00005bd2,0x00000173,0x0000031d, |
| 3795 | 0x00005dbc,0x00006116,0x000400f6,0x0000409a, | 3643 | 0x00050051,0x00000027,0x0000544f,0x000060ea, |
| 3796 | 0x00004097,0x00000000,0x000400fa,0x00004088, | 3644 | 0x00000001,0x0004007c,0x00000006,0x00005c11, |
| 3797 | 0x00004089,0x0000409a,0x000200f8,0x00004089, | 3645 | 0x0000544f,0x000500c7,0x00000006,0x00005c13, |
| 3798 | 0x00050041,0x00000009,0x0000408c,0x00004005, | 3646 | 0x00005c11,0x00000249,0x000500ab,0x0000002f, |
| 3799 | 0x00005dbc,0x0004003d,0x00000006,0x0000408d, | 3647 | 0x00005c14,0x00005c13,0x00000140,0x000300f7, |
| 3800 | 0x0000408c,0x000500c7,0x00000006,0x000043e9, | 3648 | 0x00005c1b,0x00000000,0x000400fa,0x00005c14, |
| 3801 | 0x0000408d,0x00000241,0x000500ab,0x0000002f, | 3649 | 0x00005c15,0x00005c18,0x000200f8,0x00005c18, |
| 3802 | 0x000043ea,0x000043e9,0x00000138,0x000300f7, | 3650 | 0x000500c5,0x00000006,0x00005c1a,0x00005c11, |
| 3803 | 0x000043f5,0x00000000,0x000400fa,0x000043ea, | 3651 | 0x00000249,0x000200f9,0x00005c1b,0x000200f8, |
| 3804 | 0x000043eb,0x000043f4,0x000200f8,0x000043f4, | 3652 | 0x00005c15,0x000400c8,0x00000006,0x00005c17, |
| 3805 | 0x000200f9,0x000043f5,0x000200f8,0x000043eb, | 3653 | 0x00005c11,0x000200f9,0x00005c1b,0x000200f8, |
| 3806 | 0x00050084,0x00000006,0x000043fb,0x000000ec, | 3654 | 0x00005c1b,0x000700f5,0x00000006,0x000060ff, |
| 3807 | 0x0000418d,0x00050080,0x00000006,0x000043fc, | 3655 | 0x00005c17,0x00005c15,0x00005c1a,0x00005c18, |
| 3808 | 0x000001c4,0x000043fb,0x000500c7,0x00000006, | 3656 | 0x000700ed,0x00000006,0x00005451,0x0000544d, |
| 3809 | 0x000043ee,0x0000408d,0x00000256,0x00050084, | 3657 | 0x0000014a,0x00000140,0x000060ff,0x00060041, |
| 3810 | 0x00000006,0x000043ef,0x000000ec,0x000043ee, | 3658 | 0x00000174,0x00005453,0x00005bd2,0x00000173, |
| 3811 | 0x00050080,0x00000006,0x000043f0,0x000043fc, | 3659 | 0x00000325,0x00050051,0x00000027,0x00005455, |
| 3812 | 0x000043ef,0x00050095,0x0000013d,0x00004415, | 3660 | 0x000060ea,0x00000002,0x0004007c,0x00000006, |
| 3813 | 0x000041db,0x000043f0,0x00050051,0x00000006, | 3661 | 0x00005c22,0x00005455,0x000500c7,0x00000006, |
| 3814 | 0x00004416,0x00004415,0x00000001,0x00050051, | 3662 | 0x00005c24,0x00005c22,0x00000249,0x000500ab, |
| 3815 | 0x00000006,0x00004417,0x00004415,0x00000000, | 3663 | 0x0000002f,0x00005c25,0x00005c24,0x00000140, |
| 3816 | 0x00050080,0x00000006,0x0000441c,0x000041e2, | 3664 | 0x000300f7,0x00005c2c,0x00000000,0x000400fa, |
| 3817 | 0x00004416,0x00050050,0x00000007,0x0000441d, | 3665 | 0x00005c25,0x00005c26,0x00005c29,0x000200f8, |
| 3818 | 0x00004417,0x0000441c,0x0004007c,0x00000014, | 3666 | 0x00005c29,0x000500c5,0x00000006,0x00005c2b, |
| 3819 | 0x0000440d,0x0000441d,0x00060041,0x0000016c, | 3667 | 0x00005c22,0x00000249,0x000200f9,0x00005c2c, |
| 3820 | 0x00004404,0x0000440d,0x0000016b,0x0000016b, | 3668 | 0x000200f8,0x00005c26,0x000400c8,0x00000006, |
| 3821 | 0x0006003d,0x00000006,0x00004405,0x00004404, | 3669 | 0x00005c28,0x00005c22,0x000200f9,0x00005c2c, |
| 3822 | 0x00000002,0x00000004,0x000200f9,0x000043f5, | 3670 | 0x000200f8,0x00005c2c,0x000700f5,0x00000006, |
| 3823 | 0x000200f8,0x000043f5,0x000700f5,0x00000006, | 3671 | 0x00006101,0x00005c28,0x00005c26,0x00005c2b, |
| 3824 | 0x00005dc7,0x00004405,0x000043eb,0x00000539, | 3672 | 0x00005c29,0x000700ed,0x00000006,0x00005457, |
| 3825 | 0x000043f4,0x00050041,0x00000009,0x0000408f, | 3673 | 0x00005453,0x0000014a,0x00000140,0x00006101, |
| 3826 | 0x00003ff4,0x00005dc2,0x0003003e,0x0000408f, | 3674 | 0x00060041,0x00000174,0x00005459,0x00005bd2, |
| 3827 | 0x00005dc7,0x00050080,0x00000006,0x00004091, | 3675 | 0x00000173,0x0000032d,0x0004007c,0x00000006, |
| 3828 | 0x00005dc2,0x00000264,0x0004003d,0x00000006, | 3676 | 0x00005c33,0x00005be8,0x000500c7,0x00000006, |
| 3829 | 0x00004094,0x0000408c,0x000300f7,0x00004438, | 3677 | 0x00005c35,0x00005c33,0x00000249,0x000500ab, |
| 3830 | 0x00000000,0x000300fb,0x00000138,0x00004427, | 3678 | 0x0000002f,0x00005c36,0x00005c35,0x00000140, |
| 3831 | 0x000200f8,0x00004427,0x000500c7,0x00000006, | 3679 | 0x000300f7,0x00005c3d,0x00000000,0x000400fa, |
| 3832 | 0x00004429,0x00004094,0x00000241,0x000500ab, | 3680 | 0x00005c36,0x00005c37,0x00005c3a,0x000200f8, |
| 3833 | 0x0000002f,0x0000442a,0x00004429,0x00000138, | 3681 | 0x00005c3a,0x000500c5,0x00000006,0x00005c3c, |
| 3834 | 0x000300f7,0x0000442f,0x00000000,0x000400fa, | 3682 | 0x00005c33,0x00000249,0x000200f9,0x00005c3d, |
| 3835 | 0x0000442a,0x0000442b,0x0000442f,0x000200f8, | 3683 | 0x000200f8,0x00005c37,0x000400c8,0x00000006, |
| 3836 | 0x0000442b,0x000300f7,0x0000444c,0x00000000, | 3684 | 0x00005c39,0x00005c33,0x000200f9,0x00005c3d, |
| 3837 | 0x000400fa,0x0000442a,0x00004442,0x0000444b, | 3685 | 0x000200f8,0x00005c3d,0x000700f5,0x00000006, |
| 3838 | 0x000200f8,0x0000444b,0x000200f9,0x0000444c, | 3686 | 0x00006107,0x00005c39,0x00005c37,0x00005c3c, |
| 3839 | 0x000200f8,0x00004442,0x00050084,0x00000006, | 3687 | 0x00005c3a,0x000700ef,0x00000006,0x0000545d, |
| 3840 | 0x00004452,0x000000ec,0x0000418d,0x00050080, | 3688 | 0x00005459,0x0000014a,0x00000140,0x00006107, |
| 3841 | 0x00000006,0x00004453,0x000001c4,0x00004452, | 3689 | 0x00060041,0x00000174,0x0000545f,0x00005bd2, |
| 3842 | 0x000500c7,0x00000006,0x00004445,0x00004094, | 3690 | 0x00000173,0x00000335,0x00050051,0x00000027, |
| 3843 | 0x00000256,0x00050084,0x00000006,0x00004446, | 3691 | 0x00005461,0x000060f3,0x00000001,0x0004007c, |
| 3844 | 0x000000ec,0x00004445,0x00050080,0x00000006, | 3692 | 0x00000006,0x00005c44,0x00005461,0x000500c7, |
| 3845 | 0x00004447,0x00004453,0x00004446,0x00050095, | 3693 | 0x00000006,0x00005c46,0x00005c44,0x00000249, |
| 3846 | 0x0000013d,0x0000446c,0x000041db,0x00004447, | 3694 | 0x000500ab,0x0000002f,0x00005c47,0x00005c46, |
| 3847 | 0x00050051,0x00000006,0x0000446d,0x0000446c, | 3695 | 0x00000140,0x000300f7,0x00005c4e,0x00000000, |
| 3848 | 0x00000001,0x00050051,0x00000006,0x0000446e, | 3696 | 0x000400fa,0x00005c47,0x00005c48,0x00005c4b, |
| 3849 | 0x0000446c,0x00000000,0x00050080,0x00000006, | 3697 | 0x000200f8,0x00005c4b,0x000500c5,0x00000006, |
| 3850 | 0x00004473,0x000041e2,0x0000446d,0x00050050, | 3698 | 0x00005c4d,0x00005c44,0x00000249,0x000200f9, |
| 3851 | 0x00000007,0x00004474,0x0000446e,0x00004473, | 3699 | 0x00005c4e,0x000200f8,0x00005c48,0x000400c8, |
| 3852 | 0x0004007c,0x00000014,0x00004464,0x00004474, | 3700 | 0x00000006,0x00005c4a,0x00005c44,0x000200f9, |
| 3853 | 0x00060041,0x0000016c,0x0000445b,0x00004464, | 3701 | 0x00005c4e,0x000200f8,0x00005c4e,0x000700f5, |
| 3854 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 3702 | 0x00000006,0x00006109,0x00005c4a,0x00005c48, |
| 3855 | 0x0000445c,0x0000445b,0x00000002,0x00000004, | 3703 | 0x00005c4d,0x00005c4b,0x000700ef,0x00000006, |
| 3856 | 0x000200f9,0x0000444c,0x000200f8,0x0000444c, | 3704 | 0x00005463,0x0000545f,0x0000014a,0x00000140, |
| 3857 | 0x000700f5,0x00000006,0x00005dce,0x0000445c, | 3705 | 0x00006109,0x00060041,0x00000174,0x00005465, |
| 3858 | 0x00004442,0x00000539,0x0000444b,0x00050041, | 3706 | 0x00005bd2,0x00000173,0x00000359,0x00050051, |
| 3859 | 0x000001bb,0x00004477,0x000001b9,0x0000034a, | 3707 | 0x00000027,0x00005467,0x000060f3,0x00000002, |
| 3860 | 0x0004003d,0x00000006,0x00004478,0x00004477, | 3708 | 0x0004007c,0x00000006,0x00005c55,0x00005467, |
| 3861 | 0x00050041,0x000001bb,0x00004488,0x000001b9, | 3709 | 0x000500c7,0x00000006,0x00005c57,0x00005c55, |
| 3862 | 0x00000334,0x0004003d,0x00000006,0x00004489, | 3710 | 0x00000249,0x000500ab,0x0000002f,0x00005c58, |
| 3863 | 0x00004488,0x000500c7,0x00000006,0x0000448a, | 3711 | 0x00005c57,0x00000140,0x000300f7,0x00005c5f, |
| 3864 | 0x00004489,0x00000142,0x000500ab,0x0000002f, | 3712 | 0x00000000,0x000400fa,0x00005c58,0x00005c59, |
| 3865 | 0x0000448b,0x0000448a,0x00000138,0x000600a9, | 3713 | 0x00005c5c,0x000200f8,0x00005c5c,0x000500c5, |
| 3866 | 0x00000006,0x00004485,0x0000448b,0x00000342, | 3714 | 0x00000006,0x00005c5e,0x00005c55,0x00000249, |
| 3867 | 0x000001c4,0x00050084,0x00000006,0x0000447b, | 3715 | 0x000200f9,0x00005c5f,0x000200f8,0x00005c59, |
| 3868 | 0x00005dce,0x00004485,0x00050080,0x00000006, | 3716 | 0x000400c8,0x00000006,0x00005c5b,0x00005c55, |
| 3869 | 0x0000447c,0x00004478,0x0000447b,0x000500c2, | 3717 | 0x000200f9,0x00005c5f,0x000200f8,0x00005c5f, |
| 3870 | 0x00000006,0x0000447d,0x0000447c,0x00000351, | 3718 | 0x000700f5,0x00000006,0x0000610b,0x00005c5b, |
| 3871 | 0x000500c4,0x00000006,0x0000447e,0x0000447d, | 3719 | 0x00005c59,0x00005c5e,0x00005c5c,0x000700ef, |
| 3872 | 0x0000031d,0x000600a9,0x00000006,0x00004480, | 3720 | 0x00000006,0x00005469,0x00005465,0x0000014a, |
| 3873 | 0x0000448b,0x00000355,0x00000138,0x000500c5, | 3721 | 0x00000140,0x0000610b,0x000200f9,0x0000546a, |
| 3874 | 0x00000006,0x00004481,0x0000447e,0x00004480, | 3722 | 0x000200f8,0x0000546a,0x00060041,0x00000174, |
| 3875 | 0x000200f9,0x00004438,0x000200f8,0x0000442f, | 3723 | 0x0000546c,0x00005bd2,0x00000173,0x00000173, |
| 3876 | 0x000300f7,0x000044e3,0x00000000,0x000400fa, | 3724 | 0x000700ea,0x00000006,0x0000546d,0x0000546c, |
| 3877 | 0x000041a3,0x000044de,0x000044e2,0x000200f8, | 3725 | 0x0000026c,0x00000886,0x0000014a,0x00050080, |
| 3878 | 0x000044e2,0x000200f9,0x000044e3,0x000200f8, | 3726 | 0x00000006,0x0000546f,0x0000546d,0x0000014a, |
| 3879 | 0x000044de,0x00050082,0x00000006,0x000044e1, | 3727 | 0x000500ab,0x0000002f,0x00005471,0x0000546f, |
| 3880 | 0x0000402d,0x00000142,0x000200f9,0x000044e3, | 3728 | 0x0000610f,0x000300f7,0x00005473,0x00000000, |
| 3881 | 0x000200f8,0x000044e3,0x000700f5,0x00000006, | 3729 | 0x000400fa,0x00005471,0x00005472,0x00005473, |
| 3882 | 0x00005dca,0x000044e1,0x000044de,0x00000138, | 3730 | 0x000200f8,0x00005472,0x000200f9,0x0000547e, |
| 3883 | 0x000044e2,0x00050084,0x00000006,0x000044a8, | 3731 | 0x000200f8,0x00005473,0x000300f7,0x00005c9b, |
| 3884 | 0x000000ec,0x00005dca,0x00050080,0x00000006, | 3732 | 0x00000000,0x000300fb,0x00000140,0x00005c6d, |
| 3885 | 0x000044a9,0x00004176,0x000044a8,0x000300f7, | 3733 | 0x000200f8,0x00005c6d,0x000200f9,0x00005c70, |
| 3886 | 0x000044f0,0x00000000,0x000400fa,0x000041a3, | 3734 | 0x000200f8,0x00005c70,0x000700f5,0x00000006, |
| 3887 | 0x000044eb,0x000044ef,0x000200f8,0x000044ef, | 3735 | 0x00006116,0x00000140,0x00005c6d,0x00005c7e, |
| 3888 | 0x000200f9,0x000044f0,0x000200f8,0x000044eb, | 3736 | 0x00005c74,0x000500b0,0x0000002f,0x00005c73, |
| 3889 | 0x00050082,0x00000006,0x000044ee,0x0000402d, | 3737 | 0x00006116,0x0000035d,0x000400f6,0x00005c7f, |
| 3890 | 0x00000142,0x000200f9,0x000044f0,0x000200f8, | 3738 | 0x00005c74,0x00000000,0x000400fa,0x00005c73, |
| 3891 | 0x000044f0,0x000700f5,0x00000006,0x00005dcb, | 3739 | 0x00005c74,0x00005c7f,0x000200f8,0x00005c74, |
| 3892 | 0x000044ee,0x000044eb,0x00000138,0x000044ef, | 3740 | 0x00050080,0x00000006,0x00005c78,0x0000014a, |
| 3893 | 0x00050084,0x00000006,0x000044a2,0x000000ec, | 3741 | 0x00006116,0x00060041,0x00000174,0x00005c79, |
| 3894 | 0x00005dcb,0x00050080,0x00000006,0x000044a3, | 3742 | 0x00005bd2,0x00000173,0x00005c78,0x000700f1, |
| 3895 | 0x000044a9,0x000044a2,0x000300f7,0x000044fd, | 3743 | 0x00000006,0x00005c7a,0x00005c79,0x0000014a, |
| 3896 | 0x00000000,0x000400fa,0x000041a3,0x000044f8, | 3744 | 0x00000140,0x00000140,0x00050041,0x00000009, |
| 3897 | 0x000044fc,0x000200f8,0x000044fc,0x000200f9, | 3745 | 0x00005c7b,0x00005c65,0x00006116,0x0003003e, |
| 3898 | 0x000044fd,0x000200f8,0x000044f8,0x00050082, | 3746 | 0x00005c7b,0x00005c7a,0x00050080,0x00000006, |
| 3899 | 0x00000006,0x000044fb,0x0000402d,0x00000142, | 3747 | 0x00005c7e,0x00006116,0x0000026c,0x000200f9, |
| 3900 | 0x000200f9,0x000044fd,0x000200f8,0x000044fd, | 3748 | 0x00005c70,0x000200f8,0x00005c7f,0x00050041, |
| 3901 | 0x000700f5,0x00000006,0x00005dcc,0x000044fb, | 3749 | 0x00000009,0x00005c80,0x00005c65,0x00000173, |
| 3902 | 0x000044f8,0x00000138,0x000044fc,0x00050084, | 3750 | 0x0004003d,0x00000006,0x00005c81,0x00005c80, |
| 3903 | 0x00000006,0x0000449c,0x000000ec,0x00005dcc, | 3751 | 0x000500aa,0x0000002f,0x00005c82,0x00005c81, |
| 3904 | 0x00050080,0x00000006,0x0000449d,0x000044a3, | 3752 | 0x000003bf,0x000300f7,0x00005c86,0x00000000, |
| 3905 | 0x0000449c,0x000300f7,0x0000450a,0x00000000, | 3753 | 0x000400fa,0x00005c82,0x00005c83,0x00005c86, |
| 3906 | 0x000400fa,0x000041a3,0x00004505,0x00004509, | 3754 | 0x000200f8,0x00005c83,0x000200f9,0x00005c9b, |
| 3907 | 0x000200f8,0x00004509,0x000200f9,0x0000450a, | 3755 | 0x000200f8,0x00005c86,0x0004003d,0x00000006, |
| 3908 | 0x000200f8,0x00004505,0x00050082,0x00000006, | 3756 | 0x00005c88,0x00005c80,0x000500c7,0x00000006, |
| 3909 | 0x00004508,0x0000402d,0x00000142,0x000200f9, | 3757 | 0x00005cea,0x00005c88,0x00000249,0x000500ab, |
| 3910 | 0x0000450a,0x000200f8,0x0000450a,0x000700f5, | 3758 | 0x0000002f,0x00005ceb,0x00005cea,0x00000140, |
| 3911 | 0x00000006,0x00005dcd,0x00004508,0x00004505, | 3759 | 0x000300f7,0x00005cf2,0x00000000,0x000400fa, |
| 3912 | 0x00000138,0x00004509,0x00050084,0x00000006, | 3760 | 0x00005ceb,0x00005cec,0x00005cef,0x000200f8, |
| 3913 | 0x00004496,0x000000ec,0x00005dcd,0x00050080, | 3761 | 0x00005cef,0x000400c8,0x00000006,0x00005cf1, |
| 3914 | 0x00000006,0x00004497,0x0000449d,0x00004496, | 3762 | 0x00005c88,0x000200f9,0x00005cf2,0x000200f8, |
| 3915 | 0x00050084,0x00000006,0x00004432,0x000000ec, | 3763 | 0x00005cec,0x000500c7,0x00000006,0x00005cee, |
| 3916 | 0x00004094,0x00050080,0x00000006,0x00004433, | 3764 | 0x00005c88,0x0000025e,0x000200f9,0x00005cf2, |
| 3917 | 0x00004497,0x00004432,0x00050095,0x0000013d, | 3765 | 0x000200f8,0x00005cf2,0x000700f5,0x00000006, |
| 3918 | 0x00004524,0x000041db,0x00004433,0x00050051, | 3766 | 0x00006117,0x00005cee,0x00005cec,0x00005cf1, |
| 3919 | 0x00000006,0x00004525,0x00004524,0x00000001, | 3767 | 0x00005cef,0x0004007c,0x00000027,0x00005cf4, |
| 3920 | 0x00050051,0x00000006,0x00004526,0x00004524, | 3768 | 0x00006117,0x00050041,0x00000009,0x00005c8a, |
| 3921 | 0x00000000,0x00050080,0x00000006,0x0000452b, | 3769 | 0x00005c65,0x0000026c,0x0004003d,0x00000006, |
| 3922 | 0x000041e2,0x00004525,0x00050050,0x00000007, | 3770 | 0x00005c8b,0x00005c8a,0x000500c7,0x00000006, |
| 3923 | 0x0000452c,0x00004526,0x0000452b,0x0004007c, | 3771 | 0x00005cf9,0x00005c8b,0x00000249,0x000500ab, |
| 3924 | 0x00000014,0x0000451c,0x0000452c,0x00060041, | 3772 | 0x0000002f,0x00005cfa,0x00005cf9,0x00000140, |
| 3925 | 0x0000016c,0x00004513,0x0000451c,0x0000016b, | 3773 | 0x000300f7,0x00005d01,0x00000000,0x000400fa, |
| 3926 | 0x0000016b,0x0006003d,0x00000006,0x00004514, | 3774 | 0x00005cfa,0x00005cfb,0x00005cfe,0x000200f8, |
| 3927 | 0x00004513,0x00000002,0x00000004,0x00050041, | 3775 | 0x00005cfe,0x000400c8,0x00000006,0x00005d00, |
| 3928 | 0x000001bb,0x0000452f,0x000001b9,0x0000035a, | 3776 | 0x00005c8b,0x000200f9,0x00005d01,0x000200f8, |
| 3929 | 0x0004003d,0x00000006,0x00004530,0x0000452f, | 3777 | 0x00005cfb,0x000500c7,0x00000006,0x00005cfd, |
| 3930 | 0x00050041,0x000001bb,0x00004540,0x000001b9, | 3778 | 0x00005c8b,0x0000025e,0x000200f9,0x00005d01, |
| 3931 | 0x00000334,0x0004003d,0x00000006,0x00004541, | 3779 | 0x000200f8,0x00005d01,0x000700f5,0x00000006, |
| 3932 | 0x00004540,0x000500c7,0x00000006,0x00004542, | 3780 | 0x00006118,0x00005cfd,0x00005cfb,0x00005d00, |
| 3933 | 0x00004541,0x00000280,0x000500ab,0x0000002f, | 3781 | 0x00005cfe,0x0004007c,0x00000027,0x00005d03, |
| 3934 | 0x00004543,0x00004542,0x00000138,0x000600a9, | 3782 | 0x00006118,0x00050041,0x00000009,0x00005c8d, |
| 3935 | 0x00000006,0x0000453d,0x00004543,0x000001c4, | 3783 | 0x00005c65,0x0000031d,0x0004003d,0x00000006, |
| 3936 | 0x00000342,0x00050084,0x00000006,0x00004533, | 3784 | 0x00005c8e,0x00005c8d,0x000500c7,0x00000006, |
| 3937 | 0x00004514,0x0000453d,0x00050080,0x00000006, | 3785 | 0x00005d08,0x00005c8e,0x00000249,0x000500ab, |
| 3938 | 0x00004534,0x00004530,0x00004533,0x000500c2, | 3786 | 0x0000002f,0x00005d09,0x00005d08,0x00000140, |
| 3939 | 0x00000006,0x00004535,0x00004534,0x00000351, | 3787 | 0x000300f7,0x00005d10,0x00000000,0x000400fa, |
| 3940 | 0x000500c4,0x00000006,0x00004536,0x00004535, | 3788 | 0x00005d09,0x00005d0a,0x00005d0d,0x000200f8, |
| 3941 | 0x0000031d,0x000600a9,0x00000006,0x00004538, | 3789 | 0x00005d0d,0x000400c8,0x00000006,0x00005d0f, |
| 3942 | 0x00004543,0x000000ec,0x00000364,0x000500c5, | 3790 | 0x00005c8e,0x000200f9,0x00005d10,0x000200f8, |
| 3943 | 0x00000006,0x00004539,0x00004536,0x00004538, | 3791 | 0x00005d0a,0x000500c7,0x00000006,0x00005d0c, |
| 3944 | 0x000200f9,0x00004438,0x000200f8,0x00004438, | 3792 | 0x00005c8e,0x0000025e,0x000200f9,0x00005d10, |
| 3945 | 0x000700f5,0x00000006,0x00005dcf,0x00004481, | 3793 | 0x000200f8,0x00005d10,0x000700f5,0x00000006, |
| 3946 | 0x0000444c,0x00004539,0x0000450a,0x00050041, | 3794 | 0x00006119,0x00005d0c,0x00005d0a,0x00005d0f, |
| 3947 | 0x00000009,0x00004096,0x00003ff3,0x00005dc2, | 3795 | 0x00005d0d,0x0004007c,0x00000027,0x00005d12, |
| 3948 | 0x0003003e,0x00004096,0x00005dcf,0x000200f9, | 3796 | 0x00006119,0x00060050,0x0000006c,0x00005c90, |
| 3949 | 0x00004097,0x000200f8,0x00004097,0x00050080, | 3797 | 0x00005cf4,0x00005d03,0x00005d12,0x00050041, |
| 3950 | 0x00000006,0x00004099,0x00005dbc,0x00000264, | 3798 | 0x00000009,0x00005c91,0x00005c65,0x00000325, |
| 3951 | 0x000200f9,0x00004084,0x000200f8,0x0000409a, | 3799 | 0x0004003d,0x00000006,0x00005c92,0x00005c91, |
| 3952 | 0x000200f9,0x0000409b,0x000200f8,0x0000409b, | 3800 | 0x000500c7,0x00000006,0x00005d17,0x00005c92, |
| 3953 | 0x00050080,0x00000006,0x0000409d,0x00005d9b, | 3801 | 0x00000249,0x000500ab,0x0000002f,0x00005d18, |
| 3954 | 0x00000264,0x000200f9,0x00004065,0x000200f8, | 3802 | 0x00005d17,0x00000140,0x000300f7,0x00005d1f, |
| 3955 | 0x0000409e,0x00050041,0x000001bb,0x0000454c, | 3803 | 0x00000000,0x000400fa,0x00005d18,0x00005d19, |
| 3956 | 0x000001b9,0x00000334,0x0004003d,0x00000006, | 3804 | 0x00005d1c,0x000200f8,0x00005d1c,0x000400c8, |
| 3957 | 0x0000454d,0x0000454c,0x000500c7,0x00000006, | 3805 | 0x00000006,0x00005d1e,0x00005c92,0x000200f9, |
| 3958 | 0x0000454e,0x0000454d,0x00000142,0x000500aa, | 3806 | 0x00005d1f,0x000200f8,0x00005d19,0x000500c7, |
| 3959 | 0x0000002f,0x000040a0,0x0000454e,0x00000138, | 3807 | 0x00000006,0x00005d1b,0x00005c92,0x0000025e, |
| 3960 | 0x000300f7,0x000040a6,0x00000000,0x000400fa, | 3808 | 0x000200f9,0x00005d1f,0x000200f8,0x00005d1f, |
| 3961 | 0x000040a0,0x000040a1,0x000040a6,0x000200f8, | 3809 | 0x000700f5,0x00000006,0x0000611a,0x00005d1b, |
| 3962 | 0x000040a1,0x000500c7,0x00000006,0x000040a4, | 3810 | 0x00005d19,0x00005d1e,0x00005d1c,0x0004007c, |
| 3963 | 0x0000454d,0x000000ec,0x000500ab,0x0000002f, | 3811 | 0x00000027,0x00005d21,0x0000611a,0x00050041, |
| 3964 | 0x000040a5,0x000040a4,0x00000138,0x000200f9, | 3812 | 0x00000009,0x00005c94,0x00005c65,0x0000032d, |
| 3965 | 0x000040a6,0x000200f8,0x000040a6,0x000700f5, | 3813 | 0x0004003d,0x00000006,0x00005c95,0x00005c94, |
| 3966 | 0x0000002f,0x000040a7,0x000040a0,0x0000409e, | 3814 | 0x000500c7,0x00000006,0x00005d26,0x00005c95, |
| 3967 | 0x000040a5,0x000040a1,0x000300f7,0x000040ad, | 3815 | 0x00000249,0x000500ab,0x0000002f,0x00005d27, |
| 3968 | 0x00000000,0x000400fa,0x000040a7,0x000040a8, | 3816 | 0x00005d26,0x00000140,0x000300f7,0x00005d2e, |
| 3969 | 0x000040ad,0x000200f8,0x000040a8,0x0004003d, | 3817 | 0x00000000,0x000400fa,0x00005d27,0x00005d28, |
| 3970 | 0x000000ed,0x000040a9,0x00003ff4,0x0003003e, | 3818 | 0x00005d2b,0x000200f8,0x00005d2b,0x000400c8, |
| 3971 | 0x0000400e,0x000040a9,0x0004003d,0x000000ed, | 3819 | 0x00000006,0x00005d2d,0x00005c95,0x000200f9, |
| 3972 | 0x000040aa,0x00003ff3,0x0003003e,0x0000400f, | 3820 | 0x00005d2e,0x000200f8,0x00005d28,0x000500c7, |
| 3973 | 0x000040aa,0x000200f9,0x00004585,0x000200f8, | 3821 | 0x00000006,0x00005d2a,0x00005c95,0x0000025e, |
| 3974 | 0x00004585,0x000700f5,0x00000006,0x00005d9c, | 3822 | 0x000200f9,0x00005d2e,0x000200f8,0x00005d2e, |
| 3975 | 0x00000138,0x000040a8,0x000045cb,0x000045c9, | 3823 | 0x000700f5,0x00000006,0x0000611b,0x00005d2a, |
| 3976 | 0x000500b0,0x0000002f,0x00004588,0x00005d9c, | 3824 | 0x00005d28,0x00005d2d,0x00005d2b,0x0004007c, |
| 3977 | 0x000000ec,0x000400f6,0x000045cc,0x000045c9, | 3825 | 0x00000027,0x00005d30,0x0000611b,0x00050041, |
| 3978 | 0x00000000,0x000400fa,0x00004588,0x00004589, | 3826 | 0x00000009,0x00005c97,0x00005c65,0x00000335, |
| 3979 | 0x000045cc,0x000200f8,0x00004589,0x00050041, | 3827 | 0x0004003d,0x00000006,0x00005c98,0x00005c97, |
| 3980 | 0x00000096,0x0000458b,0x00004551,0x00005d9c, | 3828 | 0x000500c7,0x00000006,0x00005d35,0x00005c98, |
| 3981 | 0x0003003e,0x0000458b,0x000003cc,0x00050041, | 3829 | 0x00000249,0x000500ab,0x0000002f,0x00005d36, |
| 3982 | 0x00000096,0x0000458d,0x00004552,0x00005d9c, | 3830 | 0x00005d35,0x00000140,0x000300f7,0x00005d3d, |
| 3983 | 0x0003003e,0x0000458d,0x000003cc,0x00050041, | 3831 | 0x00000000,0x000400fa,0x00005d36,0x00005d37, |
| 3984 | 0x00000009,0x0000458f,0x00004553,0x00005d9c, | 3832 | 0x00005d3a,0x000200f8,0x00005d3a,0x000400c8, |
| 3985 | 0x0003003e,0x0000458f,0x00000138,0x000200f9, | 3833 | 0x00000006,0x00005d3c,0x00005c98,0x000200f9, |
| 3986 | 0x00004590,0x000200f8,0x00004590,0x000700f5, | 3834 | 0x00005d3d,0x000200f8,0x00005d37,0x000500c7, |
| 3987 | 0x00000006,0x00005db4,0x00000138,0x00004589, | 3835 | 0x00000006,0x00005d39,0x00005c98,0x0000025e, |
| 3988 | 0x0000459a,0x00004594,0x000500b0,0x0000002f, | 3836 | 0x000200f9,0x00005d3d,0x000200f8,0x00005d3d, |
| 3989 | 0x00004593,0x00005db4,0x00000470,0x000400f6, | 3837 | 0x000700f5,0x00000006,0x0000611c,0x00005d39, |
| 3990 | 0x0000459b,0x00004594,0x00000000,0x000400fa, | 3838 | 0x00005d37,0x00005d3c,0x00005d3a,0x0004007c, |
| 3991 | 0x00004593,0x00004594,0x0000459b,0x000200f8, | 3839 | 0x00000027,0x00005d3f,0x0000611c,0x00060050, |
| 3992 | 0x00004594,0x00060041,0x000000e5,0x00004597, | 3840 | 0x0000006c,0x00005c9a,0x00005d21,0x00005d30, |
| 3993 | 0x00004555,0x00005d9c,0x00005db4,0x0003003e, | 3841 | 0x00005d3f,0x000200f9,0x00005c9b,0x000200f8, |
| 3994 | 0x00004597,0x00000c0e,0x00050080,0x00000006, | 3842 | 0x00005c9b,0x000700f5,0x0000006c,0x00006121, |
| 3995 | 0x0000459a,0x00005db4,0x00000264,0x000200f9, | 3843 | 0x00006532,0x00005c83,0x00005c9a,0x00005d3d, |
| 3996 | 0x00004590,0x000200f8,0x0000459b,0x00050041, | 3844 | 0x000700f5,0x0000006c,0x0000611d,0x000005dc, |
| 3997 | 0x00000009,0x0000459d,0x0000400e,0x00005d9c, | 3845 | 0x00005c83,0x00005c90,0x00005d3d,0x000300f7, |
| 3998 | 0x0004003d,0x00000006,0x0000459e,0x0000459d, | 3846 | 0x00005d59,0x00000000,0x000300fb,0x00000140, |
| 3999 | 0x000500aa,0x0000002f,0x0000459f,0x0000459e, | 3847 | 0x00005d4a,0x000200f8,0x00005d4a,0x000300f7, |
| 4000 | 0x00000539,0x000300f7,0x000045a1,0x00000000, | 3848 | 0x00005d7d,0x00000000,0x000300fb,0x00000140, |
| 4001 | 0x000400fa,0x0000459f,0x000045a0,0x000045a1, | 3849 | 0x00005d62,0x000200f8,0x00005d62,0x000500b0, |
| 4002 | 0x000200f8,0x000045a0,0x000200f9,0x000045c9, | 3850 | 0x0000002f,0x00005d6a,0x0000577e,0x000056c1, |
| 4003 | 0x000200f8,0x000045a1,0x0004003d,0x00000006, | 3851 | 0x000400a8,0x0000002f,0x00005d6b,0x00005d6a, |
| 4004 | 0x000045a5,0x0000459d,0x00050041,0x000001bb, | 3852 | 0x000300f7,0x00005d72,0x00000000,0x000400fa, |
| 4005 | 0x000046a5,0x000001b9,0x0000034a,0x0004003d, | 3853 | 0x00005d6b,0x00005d6c,0x00005d72,0x000200f8, |
| 4006 | 0x00000006,0x000046a6,0x000046a5,0x00050084, | 3854 | 0x00005d6c,0x00050041,0x000001c3,0x00005d6e, |
| 4007 | 0x00000006,0x000046a8,0x000001c4,0x000045a5, | 3855 | 0x000001c1,0x000003b7,0x0004003d,0x00000006, |
| 4008 | 0x00050080,0x00000006,0x000046a9,0x000046a6, | 3856 | 0x00005d6f,0x00005d6e,0x00050086,0x00000006, |
| 4009 | 0x000046a8,0x00050080,0x00000006,0x000045a7, | 3857 | 0x00005d70,0x00005d6f,0x000001cc,0x000500ae, |
| 4010 | 0x000046a9,0x00000521,0x00050041,0x00000266, | 3858 | 0x0000002f,0x00005d71,0x0000577e,0x00005d70, |
| 4011 | 0x000045a8,0x000001b9,0x0000016b,0x0004003d, | 3859 | 0x000200f9,0x00005d72,0x000200f8,0x00005d72, |
| 4012 | 0x00000007,0x000045a9,0x000045a8,0x00050051, | 3860 | 0x000700f5,0x0000002f,0x00005d73,0x00005d6a, |
| 4013 | 0x00000006,0x000046c0,0x000045a9,0x00000000, | 3861 | 0x00005d62,0x00005d71,0x00005d6c,0x000300f7, |
| 4014 | 0x00050095,0x0000013d,0x000046c2,0x000046c0, | 3862 | 0x00005d75,0x00000000,0x000400fa,0x00005d73, |
| 4015 | 0x000045a7,0x00050051,0x00000006,0x000046c3, | 3863 | 0x00005d74,0x00005d75,0x000200f8,0x00005d74, |
| 4016 | 0x000046c2,0x00000001,0x00050051,0x00000006, | 3864 | 0x000200f9,0x00005d7d,0x000200f8,0x00005d75, |
| 4017 | 0x000046c4,0x000046c2,0x00000000,0x00050051, | 3865 | 0x00050041,0x000001c3,0x00005d76,0x000001c1, |
| 4018 | 0x00000006,0x000046c7,0x000045a9,0x00000001, | 3866 | 0x000003c1,0x0004003d,0x00000006,0x00005d77, |
| 4019 | 0x00050080,0x00000006,0x000046c9,0x000046c7, | 3867 | 0x00005d76,0x00050082,0x00000006,0x00005d7a, |
| 4020 | 0x000046c3,0x00050050,0x00000007,0x000046ca, | 3868 | 0x0000577e,0x000056c1,0x00050084,0x00000006, |
| 4021 | 0x000046c4,0x000046c9,0x0004007c,0x00000014, | 3869 | 0x00005d7b,0x000000f3,0x00005d7a,0x00050080, |
| 4022 | 0x000046ba,0x000046ca,0x00060041,0x0000016c, | 3870 | 0x00000006,0x00005d7c,0x00005d77,0x00005d7b, |
| 4023 | 0x000046b1,0x000046ba,0x0000016b,0x0000016b, | 3871 | 0x000200f9,0x00005d7d,0x000200f8,0x00005d7d, |
| 4024 | 0x0006003d,0x00000006,0x000046b2,0x000046b1, | 3872 | 0x000700f5,0x00000006,0x00006133,0x000003bf, |
| 4025 | 0x00000002,0x00000004,0x0003003e,0x0000458f, | 3873 | 0x00005d74,0x00005d7c,0x00005d75,0x000500aa, |
| 4026 | 0x000046b2,0x000200f9,0x000045ac,0x000200f8, | 3874 | 0x0000002f,0x00005d4e,0x00006133,0x000003bf, |
| 4027 | 0x000045ac,0x000700f5,0x00000006,0x00005db6, | 3875 | 0x000300f7,0x00005d50,0x00000000,0x000400fa, |
| 4028 | 0x00000138,0x000045a1,0x000045bb,0x000045b0, | 3876 | 0x00005d4e,0x00005d4f,0x00005d50,0x000200f8, |
| 4029 | 0x000500b0,0x0000002f,0x000045af,0x00005db6, | 3877 | 0x00005d4f,0x000200f9,0x00005d59,0x000200f8, |
| 4030 | 0x00000470,0x000400f6,0x000045bc,0x000045b0, | 3878 | 0x00005d50,0x00050041,0x0000026e,0x00005d51, |
| 4031 | 0x00000000,0x000400fa,0x000045af,0x000045b0, | 3879 | 0x000001c1,0x00000173,0x0004003d,0x00000007, |
| 4032 | 0x000045bc,0x000200f8,0x000045b0,0x0004003d, | 3880 | 0x00005d52,0x00005d51,0x00050051,0x00000006, |
| 4033 | 0x00000006,0x000045b5,0x0000459d,0x00050084, | 3881 | 0x00005d99,0x00005d52,0x00000000,0x00050095, |
| 4034 | 0x00000006,0x000046ee,0x000001c4,0x000045b5, | 3882 | 0x00000145,0x00005d9b,0x00005d99,0x00006133, |
| 4035 | 0x00050080,0x00000006,0x000046ef,0x000046a6, | 3883 | 0x00050051,0x00000006,0x00005d9c,0x00005d9b, |
| 4036 | 0x000046ee,0x00050084,0x00000006,0x000046d8, | 3884 | 0x00000001,0x00050051,0x00000006,0x00005d9d, |
| 4037 | 0x000001d4,0x00005db6,0x00050080,0x00000006, | 3885 | 0x00005d9b,0x00000000,0x00050051,0x00000006, |
| 4038 | 0x000046d9,0x000046ef,0x000046d8,0x00050095, | 3886 | 0x00005da0,0x00005d52,0x00000001,0x00050080, |
| 4039 | 0x0000013d,0x00004708,0x000046c0,0x000046d9, | 3887 | 0x00000006,0x00005da2,0x00005da0,0x00005d9c, |
| 4040 | 0x00050051,0x00000006,0x00004709,0x00004708, | 3888 | 0x00050050,0x00000007,0x00005da3,0x00005d9d, |
| 4041 | 0x00000001,0x00050051,0x00000006,0x0000470a, | 3889 | 0x00005da2,0x0004007c,0x00000014,0x00005d93, |
| 4042 | 0x00004708,0x00000000,0x00050080,0x00000006, | 3890 | 0x00005da3,0x00060041,0x00000174,0x00005d8a, |
| 4043 | 0x0000470f,0x000046c7,0x00004709,0x00050050, | 3891 | 0x00005d93,0x00000173,0x00000173,0x0006003d, |
| 4044 | 0x00000007,0x00004710,0x0000470a,0x0000470f, | 3892 | 0x00000006,0x00005d8b,0x00005d8a,0x00000002, |
| 4045 | 0x0004007c,0x00000014,0x00004700,0x00004710, | 3893 | 0x00000004,0x000300f7,0x00005dd5,0x00000000, |
| 4046 | 0x00060041,0x0000016c,0x000046f7,0x00004700, | 3894 | 0x000300fb,0x00000140,0x00005dac,0x000200f8, |
| 4047 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 3895 | 0x00005dac,0x000500c7,0x00000006,0x00005dae, |
| 4048 | 0x000046f8,0x000046f7,0x00000002,0x00000004, | 3896 | 0x00005d8b,0x00000376,0x000500c7,0x00000006, |
| 4049 | 0x00050080,0x00000006,0x000046df,0x000046d9, | 3897 | 0x00005ddb,0x000013a9,0x00000288,0x000500ab, |
| 4050 | 0x000000ec,0x00050095,0x0000013d,0x00004729, | 3898 | 0x0000002f,0x00005ddc,0x00005ddb,0x00000140, |
| 4051 | 0x000046c0,0x000046df,0x00050051,0x00000006, | 3899 | 0x000600a9,0x00000006,0x00005db0,0x00005ddc, |
| 4052 | 0x0000472a,0x00004729,0x00000001,0x00050051, | 3900 | 0x000000f3,0x0000036c,0x000500ab,0x0000002f, |
| 4053 | 0x00000006,0x0000472b,0x00004729,0x00000000, | 3901 | 0x00005db1,0x00005dae,0x00005db0,0x000300f7, |
| 4054 | 0x00050080,0x00000006,0x00004730,0x000046c7, | 3902 | 0x00005db3,0x00000000,0x000400fa,0x00005db1, |
| 4055 | 0x0000472a,0x00050050,0x00000007,0x00004731, | 3903 | 0x00005db2,0x00005db3,0x000200f8,0x00005db2, |
| 4056 | 0x0000472b,0x00004730,0x0004007c,0x00000014, | 3904 | 0x000200f9,0x00005dd5,0x000200f8,0x00005db3, |
| 4057 | 0x00004721,0x00004731,0x00060041,0x0000016c, | 3905 | 0x000500c2,0x00000006,0x00005de0,0x00005d8b, |
| 4058 | 0x00004718,0x00004721,0x0000016b,0x0000016b, | 3906 | 0x00000325,0x00050084,0x00000006,0x00005db6, |
| 4059 | 0x0006003d,0x00000006,0x00004719,0x00004718, | 3907 | 0x00005de0,0x000001cc,0x000500ae,0x0000002f, |
| 3908 | 0x00005db9,0x00005de0,0x00000387,0x000400a8, | ||
| 3909 | 0x0000002f,0x00005dba,0x00005db9,0x000300f7, | ||
| 3910 | 0x00005dc0,0x00000000,0x000400fa,0x00005dba, | ||
| 3911 | 0x00005dbb,0x00005dc0,0x000200f8,0x00005dbb, | ||
| 3912 | 0x000500b0,0x0000002f,0x00005dbf,0x00005db6, | ||
| 3913 | 0x00005b8a,0x000200f9,0x00005dc0,0x000200f8, | ||
| 3914 | 0x00005dc0,0x000700f5,0x0000002f,0x00005dc1, | ||
| 3915 | 0x00005db9,0x00005db3,0x00005dbf,0x00005dbb, | ||
| 3916 | 0x000300f7,0x00005dc3,0x00000000,0x000400fa, | ||
| 3917 | 0x00005dc1,0x00005dc2,0x00005dc3,0x000200f8, | ||
| 3918 | 0x00005dc2,0x000200f9,0x00005dd5,0x000200f8, | ||
| 3919 | 0x00005dc3,0x00050082,0x00000006,0x00005dc7, | ||
| 3920 | 0x00005db6,0x00005b8a,0x000600a9,0x00000006, | ||
| 3921 | 0x00005de8,0x00005ddc,0x000001cc,0x0000034a, | ||
| 3922 | 0x00050089,0x00000006,0x00005dca,0x00005dc7, | ||
| 3923 | 0x00005de8,0x000500aa,0x0000002f,0x00005dcb, | ||
| 3924 | 0x00005dca,0x00000140,0x000300f7,0x00005dd3, | ||
| 3925 | 0x00000000,0x000400fa,0x00005dcb,0x00005dcc, | ||
| 3926 | 0x00005dd3,0x000200f8,0x00005dcc,0x00050086, | ||
| 3927 | 0x00000006,0x00005dcf,0x00005dc7,0x00005de8, | ||
| 3928 | 0x00050041,0x000001c3,0x00005dd0,0x000001c1, | ||
| 3929 | 0x0000020e,0x0004003d,0x00000006,0x00005dd1, | ||
| 3930 | 0x00005dd0,0x000500b0,0x0000002f,0x00005dd2, | ||
| 3931 | 0x00005dcf,0x00005dd1,0x000200f9,0x00005dd3, | ||
| 3932 | 0x000200f8,0x00005dd3,0x000700f5,0x0000002f, | ||
| 3933 | 0x00005dd4,0x00005dcb,0x00005dc3,0x00005dd2, | ||
| 3934 | 0x00005dcc,0x000200f9,0x00005dd5,0x000200f8, | ||
| 3935 | 0x00005dd5,0x000900f5,0x0000002f,0x00006134, | ||
| 3936 | 0x0000037d,0x00005db2,0x0000037d,0x00005dc2, | ||
| 3937 | 0x00005dd4,0x00005dd3,0x000600a9,0x00000006, | ||
| 3938 | 0x00005d58,0x00006134,0x00005d8b,0x000003bf, | ||
| 3939 | 0x000200f9,0x00005d59,0x000200f8,0x00005d59, | ||
| 3940 | 0x000700f5,0x00000006,0x00006135,0x000003bf, | ||
| 3941 | 0x00005d4f,0x00005d58,0x00005dd5,0x000200f9, | ||
| 3942 | 0x0000547b,0x000200f8,0x0000547b,0x00050080, | ||
| 3943 | 0x00000006,0x0000547d,0x000060e6,0x0000026c, | ||
| 3944 | 0x000200f9,0x00005410,0x000200f8,0x0000547e, | ||
| 3945 | 0x000700f5,0x0000002f,0x0000614e,0x0000037d, | ||
| 3946 | 0x00005410,0x00000444,0x00005472,0x000300f7, | ||
| 3947 | 0x00005480,0x00000000,0x000400fa,0x0000614e, | ||
| 3948 | 0x00005481,0x00005480,0x000200f8,0x00005480, | ||
| 3949 | 0x000200f9,0x00005481,0x000200f8,0x00005481, | ||
| 3950 | 0x000200f9,0x000014df,0x000200f8,0x000014df, | ||
| 3951 | 0x000200f9,0x000014d5,0x000200f8,0x000014d4, | ||
| 3952 | 0x000300f7,0x000043f7,0x00000000,0x000300fb, | ||
| 3953 | 0x00000140,0x00004309,0x000200f8,0x00004309, | ||
| 3954 | 0x0003003e,0x000042d1,0x0000103a,0x0003003e, | ||
| 3955 | 0x000042d2,0x0000103a,0x00050041,0x000001c3, | ||
| 3956 | 0x0000430a,0x000001c1,0x000001f8,0x0004003d, | ||
| 3957 | 0x00000006,0x0000430b,0x0000430a,0x000500b2, | ||
| 3958 | 0x0000002f,0x0000430c,0x0000430b,0x0000014a, | ||
| 3959 | 0x000300f7,0x0000438c,0x00000000,0x000400fa, | ||
| 3960 | 0x0000430c,0x0000430d,0x0000431c,0x000200f8, | ||
| 3961 | 0x0000431c,0x00050041,0x000001c3,0x0000446a, | ||
| 3962 | 0x000001c1,0x000001c2,0x0004003d,0x00000006, | ||
| 3963 | 0x0000446b,0x0000446a,0x00050084,0x00000006, | ||
| 3964 | 0x0000446c,0x000001e3,0x0000446b,0x00050080, | ||
| 3965 | 0x00000006,0x0000446d,0x000001cc,0x0000446c, | ||
| 3966 | 0x00050080,0x00000006,0x00004473,0x0000446b, | ||
| 3967 | 0x00000695,0x00050086,0x00000006,0x00004474, | ||
| 3968 | 0x00004473,0x000001c6,0x00050084,0x00000006, | ||
| 3969 | 0x00004466,0x000001cc,0x00004474,0x00050080, | ||
| 3970 | 0x00000006,0x00004467,0x0000446d,0x00004466, | ||
| 3971 | 0x00050080,0x00000006,0x00004461,0x00004467, | ||
| 3972 | 0x00004466,0x00050084,0x00000006,0x0000445a, | ||
| 3973 | 0x000001f7,0x0000430b,0x00050080,0x00000006, | ||
| 3974 | 0x0000445b,0x00004461,0x0000445a,0x00050041, | ||
| 3975 | 0x000001c3,0x00004451,0x000001c1,0x0000020e, | ||
| 3976 | 0x0004003d,0x00000006,0x00004452,0x00004451, | ||
| 3977 | 0x00050084,0x00000006,0x00004453,0x0000020d, | ||
| 3978 | 0x00004452,0x00050080,0x00000006,0x00004454, | ||
| 3979 | 0x0000445b,0x00004453,0x000500ac,0x0000002f, | ||
| 3980 | 0x00004481,0x0000430b,0x0000014a,0x000300f7, | ||
| 3981 | 0x00004487,0x00000000,0x000400fa,0x00004481, | ||
| 3982 | 0x00004482,0x00004486,0x000200f8,0x00004486, | ||
| 3983 | 0x000200f9,0x00004487,0x000200f8,0x00004482, | ||
| 3984 | 0x00050082,0x00000006,0x00004485,0x0000430b, | ||
| 3985 | 0x0000014a,0x000200f9,0x00004487,0x000200f8, | ||
| 3986 | 0x00004487,0x000700f5,0x00000006,0x000061b9, | ||
| 3987 | 0x00004485,0x00004482,0x00000140,0x00004486, | ||
| 3988 | 0x00050084,0x00000006,0x0000444c,0x000000f3, | ||
| 3989 | 0x000061b9,0x00050080,0x00000006,0x0000444d, | ||
| 3990 | 0x00004454,0x0000444c,0x000300f7,0x00004494, | ||
| 3991 | 0x00000000,0x000400fa,0x00004481,0x0000448f, | ||
| 3992 | 0x00004493,0x000200f8,0x00004493,0x000200f9, | ||
| 3993 | 0x00004494,0x000200f8,0x0000448f,0x00050082, | ||
| 3994 | 0x00000006,0x00004492,0x0000430b,0x0000014a, | ||
| 3995 | 0x000200f9,0x00004494,0x000200f8,0x00004494, | ||
| 3996 | 0x000700f5,0x00000006,0x000061ba,0x00004492, | ||
| 3997 | 0x0000448f,0x00000140,0x00004493,0x00050084, | ||
| 3998 | 0x00000006,0x00004446,0x000000f3,0x000061ba, | ||
| 3999 | 0x00050080,0x00000006,0x00004447,0x0000444d, | ||
| 4000 | 0x00004446,0x000300f7,0x000044a1,0x00000000, | ||
| 4001 | 0x000400fa,0x00004481,0x0000449c,0x000044a0, | ||
| 4002 | 0x000200f8,0x000044a0,0x000200f9,0x000044a1, | ||
| 4003 | 0x000200f8,0x0000449c,0x00050082,0x00000006, | ||
| 4004 | 0x0000449f,0x0000430b,0x0000014a,0x000200f9, | ||
| 4005 | 0x000044a1,0x000200f8,0x000044a1,0x000700f5, | ||
| 4006 | 0x00000006,0x000061bb,0x0000449f,0x0000449c, | ||
| 4007 | 0x00000140,0x000044a0,0x00050084,0x00000006, | ||
| 4008 | 0x00004440,0x000000f3,0x000061bb,0x00050080, | ||
| 4009 | 0x00000006,0x00004441,0x00004447,0x00004440, | ||
| 4010 | 0x00050084,0x00000006,0x0000431f,0x000000f3, | ||
| 4011 | 0x000013a7,0x00050080,0x00000006,0x00004320, | ||
| 4012 | 0x00004441,0x0000431f,0x00050041,0x0000026e, | ||
| 4013 | 0x00004321,0x000001c1,0x0000026c,0x0004003d, | ||
| 4014 | 0x00000007,0x00004322,0x00004321,0x00050051, | ||
| 4015 | 0x00000006,0x000044b9,0x00004322,0x00000000, | ||
| 4016 | 0x00050095,0x00000145,0x000044bb,0x000044b9, | ||
| 4017 | 0x00004320,0x00050051,0x00000006,0x000044bc, | ||
| 4018 | 0x000044bb,0x00000001,0x00050051,0x00000006, | ||
| 4019 | 0x000044bd,0x000044bb,0x00000000,0x00050051, | ||
| 4020 | 0x00000006,0x000044c0,0x00004322,0x00000001, | ||
| 4021 | 0x00050080,0x00000006,0x000044c2,0x000044c0, | ||
| 4022 | 0x000044bc,0x00050050,0x00000007,0x000044c3, | ||
| 4023 | 0x000044bd,0x000044c2,0x0004007c,0x00000014, | ||
| 4024 | 0x000044b3,0x000044c3,0x00060041,0x00000174, | ||
| 4025 | 0x000044aa,0x000044b3,0x00000173,0x00000173, | ||
| 4026 | 0x0006003d,0x00000006,0x000044ab,0x000044aa, | ||
| 4027 | 0x00000002,0x00000004,0x000500aa,0x0000002f, | ||
| 4028 | 0x00004324,0x000044ab,0x00000140,0x000300f7, | ||
| 4029 | 0x00004326,0x00000000,0x000400fa,0x00004324, | ||
| 4030 | 0x00004325,0x00004326,0x000200f8,0x00004325, | ||
| 4031 | 0x000200f9,0x000043f7,0x000200f8,0x00004326, | ||
| 4032 | 0x000300f7,0x00004515,0x00000000,0x000400fa, | ||
| 4033 | 0x00004481,0x00004510,0x00004514,0x000200f8, | ||
| 4034 | 0x00004514,0x000200f9,0x00004515,0x000200f8, | ||
| 4035 | 0x00004510,0x00050082,0x00000006,0x00004513, | ||
| 4036 | 0x0000430b,0x0000014a,0x000200f9,0x00004515, | ||
| 4037 | 0x000200f8,0x00004515,0x000700f5,0x00000006, | ||
| 4038 | 0x000061bc,0x00004513,0x00004510,0x00000140, | ||
| 4039 | 0x00004514,0x00050084,0x00000006,0x000044da, | ||
| 4040 | 0x000000f3,0x000061bc,0x00050080,0x00000006, | ||
| 4041 | 0x000044db,0x00004454,0x000044da,0x000300f7, | ||
| 4042 | 0x00004522,0x00000000,0x000400fa,0x00004481, | ||
| 4043 | 0x0000451d,0x00004521,0x000200f8,0x00004521, | ||
| 4044 | 0x000200f9,0x00004522,0x000200f8,0x0000451d, | ||
| 4045 | 0x00050082,0x00000006,0x00004520,0x0000430b, | ||
| 4046 | 0x0000014a,0x000200f9,0x00004522,0x000200f8, | ||
| 4047 | 0x00004522,0x000700f5,0x00000006,0x000061bd, | ||
| 4048 | 0x00004520,0x0000451d,0x00000140,0x00004521, | ||
| 4049 | 0x00050084,0x00000006,0x000044d4,0x000000f3, | ||
| 4050 | 0x000061bd,0x00050080,0x00000006,0x000044d5, | ||
| 4051 | 0x000044db,0x000044d4,0x000300f7,0x0000452f, | ||
| 4052 | 0x00000000,0x000400fa,0x00004481,0x0000452a, | ||
| 4053 | 0x0000452e,0x000200f8,0x0000452e,0x000200f9, | ||
| 4054 | 0x0000452f,0x000200f8,0x0000452a,0x00050082, | ||
| 4055 | 0x00000006,0x0000452d,0x0000430b,0x0000014a, | ||
| 4056 | 0x000200f9,0x0000452f,0x000200f8,0x0000452f, | ||
| 4057 | 0x000700f5,0x00000006,0x000061be,0x0000452d, | ||
| 4058 | 0x0000452a,0x00000140,0x0000452e,0x00050084, | ||
| 4059 | 0x00000006,0x000044ce,0x000000f3,0x000061be, | ||
| 4060 | 0x00050080,0x00000006,0x000044cf,0x000044d5, | ||
| 4061 | 0x000044ce,0x000300f7,0x0000453c,0x00000000, | ||
| 4062 | 0x000400fa,0x00004481,0x00004537,0x0000453b, | ||
| 4063 | 0x000200f8,0x0000453b,0x000200f9,0x0000453c, | ||
| 4064 | 0x000200f8,0x00004537,0x00050082,0x00000006, | ||
| 4065 | 0x0000453a,0x0000430b,0x0000014a,0x000200f9, | ||
| 4066 | 0x0000453c,0x000200f8,0x0000453c,0x000700f5, | ||
| 4067 | 0x00000006,0x000061bf,0x0000453a,0x00004537, | ||
| 4068 | 0x00000140,0x0000453b,0x00050084,0x00000006, | ||
| 4069 | 0x000044c8,0x000000f3,0x000061bf,0x00050080, | ||
| 4070 | 0x00000006,0x000044c9,0x000044cf,0x000044c8, | ||
| 4071 | 0x00050080,0x00000006,0x0000432a,0x000044c9, | ||
| 4072 | 0x0000431f,0x00050095,0x00000145,0x00004556, | ||
| 4073 | 0x000044b9,0x0000432a,0x00050051,0x00000006, | ||
| 4074 | 0x00004557,0x00004556,0x00000001,0x00050051, | ||
| 4075 | 0x00000006,0x00004558,0x00004556,0x00000000, | ||
| 4076 | 0x00050080,0x00000006,0x0000455d,0x000044c0, | ||
| 4077 | 0x00004557,0x00050050,0x00000007,0x0000455e, | ||
| 4078 | 0x00004558,0x0000455d,0x0004007c,0x00000014, | ||
| 4079 | 0x0000454e,0x0000455e,0x00060041,0x00000174, | ||
| 4080 | 0x00004545,0x0000454e,0x00000173,0x00000173, | ||
| 4081 | 0x0006003d,0x00000006,0x00004546,0x00004545, | ||
| 4082 | 0x00000002,0x00000004,0x000500ae,0x0000002f, | ||
| 4083 | 0x00004331,0x00004546,0x00004452,0x000300f7, | ||
| 4084 | 0x00004333,0x00000000,0x000400fa,0x00004331, | ||
| 4085 | 0x00004332,0x00004333,0x000200f8,0x00004332, | ||
| 4086 | 0x000200f9,0x000043f7,0x000200f8,0x00004333, | ||
| 4087 | 0x00050080,0x00000006,0x00004337,0x00004454, | ||
| 4088 | 0x0000431f,0x00050095,0x00000145,0x000045a5, | ||
| 4089 | 0x000044b9,0x00004337,0x00050051,0x00000006, | ||
| 4090 | 0x000045a6,0x000045a5,0x00000001,0x00050051, | ||
| 4091 | 0x00000006,0x000045a7,0x000045a5,0x00000000, | ||
| 4092 | 0x00050080,0x00000006,0x000045ac,0x000044c0, | ||
| 4093 | 0x000045a6,0x00050050,0x00000007,0x000045ad, | ||
| 4094 | 0x000045a7,0x000045ac,0x0004007c,0x00000014, | ||
| 4095 | 0x0000459d,0x000045ad,0x00060041,0x00000174, | ||
| 4096 | 0x00004594,0x0000459d,0x00000173,0x00000173, | ||
| 4097 | 0x0006003d,0x00000006,0x00004595,0x00004594, | ||
| 4098 | 0x00000002,0x00000004,0x000300f7,0x000045ed, | ||
| 4099 | 0x00000000,0x000400fa,0x00004481,0x000045e8, | ||
| 4100 | 0x000045ec,0x000200f8,0x000045ec,0x000200f9, | ||
| 4101 | 0x000045ed,0x000200f8,0x000045e8,0x00050082, | ||
| 4102 | 0x00000006,0x000045eb,0x0000430b,0x0000014a, | ||
| 4103 | 0x000200f9,0x000045ed,0x000200f8,0x000045ed, | ||
| 4104 | 0x000700f5,0x00000006,0x000061c0,0x000045eb, | ||
| 4105 | 0x000045e8,0x00000140,0x000045ec,0x00050084, | ||
| 4106 | 0x00000006,0x000045b2,0x000000f3,0x000061c0, | ||
| 4107 | 0x00050080,0x00000006,0x000045b3,0x00004454, | ||
| 4108 | 0x000045b2,0x00050080,0x00000006,0x0000433e, | ||
| 4109 | 0x000045b3,0x0000431f,0x00050095,0x00000145, | ||
| 4110 | 0x00004607,0x000044b9,0x0000433e,0x00050051, | ||
| 4111 | 0x00000006,0x00004608,0x00004607,0x00000001, | ||
| 4112 | 0x00050051,0x00000006,0x00004609,0x00004607, | ||
| 4113 | 0x00000000,0x00050080,0x00000006,0x0000460e, | ||
| 4114 | 0x000044c0,0x00004608,0x00050050,0x00000007, | ||
| 4115 | 0x0000460f,0x00004609,0x0000460e,0x0004007c, | ||
| 4116 | 0x00000014,0x000045ff,0x0000460f,0x00060041, | ||
| 4117 | 0x00000174,0x000045f6,0x000045ff,0x00000173, | ||
| 4118 | 0x00000173,0x0006003d,0x00000006,0x000045f7, | ||
| 4119 | 0x000045f6,0x00000002,0x00000004,0x00050050, | ||
| 4120 | 0x00001072,0x00004342,0x00004595,0x000045f7, | ||
| 4121 | 0x0003003e,0x000042dc,0x00004342,0x000200f9, | ||
| 4122 | 0x00004343,0x000200f8,0x00004343,0x000700f5, | ||
| 4123 | 0x00000006,0x000061c1,0x00000140,0x000045ed, | ||
| 4124 | 0x0000437b,0x00004379,0x000700f5,0x00000006, | ||
| 4125 | 0x000061ea,0x00000140,0x000045ed,0x000061e8, | ||
| 4126 | 0x00004379,0x000500b0,0x0000002f,0x00004346, | ||
| 4127 | 0x000061c1,0x00000288,0x000400f6,0x0000437c, | ||
| 4128 | 0x00004379,0x00000000,0x000400fa,0x00004346, | ||
| 4129 | 0x00004347,0x0000437c,0x000200f8,0x00004347, | ||
| 4130 | 0x00050041,0x00000009,0x00004349,0x000042dc, | ||
| 4131 | 0x000061c1,0x0004003d,0x00000006,0x0000434a, | ||
| 4132 | 0x00004349,0x00050050,0x00001072,0x0000434c, | ||
| 4133 | 0x0000434a,0x0000434a,0x0003003e,0x000042e3, | ||
| 4134 | 0x0000434c,0x000500c7,0x00000006,0x0000434e, | ||
| 4135 | 0x0000434a,0x00000249,0x000500aa,0x0000002f, | ||
| 4136 | 0x0000434f,0x0000434e,0x00000140,0x000300f7, | ||
| 4137 | 0x00004361,0x00000000,0x000400fa,0x0000434f, | ||
| 4138 | 0x00004350,0x00004361,0x000200f8,0x00004350, | ||
| 4139 | 0x00050084,0x00000006,0x00004353,0x000000f3, | ||
| 4140 | 0x0000434a,0x00050080,0x00000006,0x00004354, | ||
| 4141 | 0x00004454,0x00004353,0x00050095,0x00000145, | ||
| 4142 | 0x00004656,0x000044b9,0x00004354,0x00050051, | ||
| 4143 | 0x00000006,0x00004657,0x00004656,0x00000001, | ||
| 4144 | 0x00050051,0x00000006,0x00004658,0x00004656, | ||
| 4145 | 0x00000000,0x00050080,0x00000006,0x0000465d, | ||
| 4146 | 0x000044c0,0x00004657,0x00050050,0x00000007, | ||
| 4147 | 0x0000465e,0x00004658,0x0000465d,0x0004007c, | ||
| 4148 | 0x00000014,0x0000464e,0x0000465e,0x00060041, | ||
| 4149 | 0x00000174,0x00004645,0x0000464e,0x00000173, | ||
| 4150 | 0x00000173,0x0006003d,0x00000006,0x00004646, | ||
| 4151 | 0x00004645,0x00000002,0x00000004,0x00050041, | ||
| 4152 | 0x00000009,0x00004358,0x000042e3,0x00000173, | ||
| 4153 | 0x0003003e,0x00004358,0x00004646,0x000300f7, | ||
| 4154 | 0x0000469e,0x00000000,0x000400fa,0x00004481, | ||
| 4155 | 0x00004699,0x0000469d,0x000200f8,0x0000469d, | ||
| 4156 | 0x000200f9,0x0000469e,0x000200f8,0x00004699, | ||
| 4157 | 0x00050082,0x00000006,0x0000469c,0x0000430b, | ||
| 4158 | 0x0000014a,0x000200f9,0x0000469e,0x000200f8, | ||
| 4159 | 0x0000469e,0x000700f5,0x00000006,0x000061e1, | ||
| 4160 | 0x0000469c,0x00004699,0x00000140,0x0000469d, | ||
| 4161 | 0x00050084,0x00000006,0x00004663,0x000000f3, | ||
| 4162 | 0x000061e1,0x00050080,0x00000006,0x00004664, | ||
| 4163 | 0x00004454,0x00004663,0x00050080,0x00000006, | ||
| 4164 | 0x0000435c,0x00004664,0x00004353,0x00050095, | ||
| 4165 | 0x00000145,0x000046b8,0x000044b9,0x0000435c, | ||
| 4166 | 0x00050051,0x00000006,0x000046b9,0x000046b8, | ||
| 4167 | 0x00000001,0x00050051,0x00000006,0x000046ba, | ||
| 4168 | 0x000046b8,0x00000000,0x00050080,0x00000006, | ||
| 4169 | 0x000046bf,0x000044c0,0x000046b9,0x00050050, | ||
| 4170 | 0x00000007,0x000046c0,0x000046ba,0x000046bf, | ||
| 4171 | 0x0004007c,0x00000014,0x000046b0,0x000046c0, | ||
| 4172 | 0x00060041,0x00000174,0x000046a7,0x000046b0, | ||
| 4173 | 0x00000173,0x00000173,0x0006003d,0x00000006, | ||
| 4174 | 0x000046a8,0x000046a7,0x00000002,0x00000004, | ||
| 4175 | 0x00050041,0x00000009,0x00004360,0x000042e3, | ||
| 4176 | 0x0000026c,0x0003003e,0x00004360,0x000046a8, | ||
| 4177 | 0x000200f9,0x00004361,0x000200f8,0x00004361, | ||
| 4178 | 0x000600a9,0x00000006,0x0000654c,0x0000434f, | ||
| 4179 | 0x00000288,0x0000014a,0x000200f9,0x00004362, | ||
| 4180 | 0x000200f8,0x00004362,0x000700f5,0x00000006, | ||
| 4181 | 0x000061e8,0x000061ea,0x00004361,0x0000436f, | ||
| 4182 | 0x00004375,0x000700f5,0x00000006,0x000061e2, | ||
| 4183 | 0x00000140,0x00004361,0x00004377,0x00004375, | ||
| 4184 | 0x000500b0,0x0000002f,0x00004366,0x000061e2, | ||
| 4185 | 0x0000654c,0x000400f6,0x00004378,0x00004375, | ||
| 4186 | 0x00000000,0x000400fa,0x00004366,0x00004367, | ||
| 4187 | 0x00004378,0x000200f8,0x00004367,0x00050041, | ||
| 4188 | 0x00000009,0x0000436a,0x000042e3,0x000061e2, | ||
| 4189 | 0x0004003d,0x00000006,0x0000436b,0x0000436a, | ||
| 4190 | 0x000500c7,0x00000006,0x000046c7,0x0000436b, | ||
| 4191 | 0x00000249,0x000500ab,0x0000002f,0x000046c8, | ||
| 4192 | 0x000046c7,0x00000140,0x000300f7,0x000046d3, | ||
| 4193 | 0x00000000,0x000400fa,0x000046c8,0x000046c9, | ||
| 4194 | 0x000046d2,0x000200f8,0x000046d2,0x000200f9, | ||
| 4195 | 0x000046d3,0x000200f8,0x000046c9,0x00050084, | ||
| 4196 | 0x00000006,0x000046d9,0x000000f3,0x0000446b, | ||
| 4197 | 0x00050080,0x00000006,0x000046da,0x000001cc, | ||
| 4198 | 0x000046d9,0x000500c7,0x00000006,0x000046cc, | ||
| 4199 | 0x0000436b,0x0000025e,0x00050084,0x00000006, | ||
| 4200 | 0x000046cd,0x000000f3,0x000046cc,0x00050080, | ||
| 4201 | 0x00000006,0x000046ce,0x000046da,0x000046cd, | ||
| 4202 | 0x00050095,0x00000145,0x000046f3,0x000044b9, | ||
| 4203 | 0x000046ce,0x00050051,0x00000006,0x000046f4, | ||
| 4204 | 0x000046f3,0x00000001,0x00050051,0x00000006, | ||
| 4205 | 0x000046f5,0x000046f3,0x00000000,0x00050080, | ||
| 4206 | 0x00000006,0x000046fa,0x000044c0,0x000046f4, | ||
| 4207 | 0x00050050,0x00000007,0x000046fb,0x000046f5, | ||
| 4208 | 0x000046fa,0x0004007c,0x00000014,0x000046eb, | ||
| 4209 | 0x000046fb,0x00060041,0x00000174,0x000046e2, | ||
| 4210 | 0x000046eb,0x00000173,0x00000173,0x0006003d, | ||
| 4211 | 0x00000006,0x000046e3,0x000046e2,0x00000002, | ||
| 4212 | 0x00000004,0x000200f9,0x000046d3,0x000200f8, | ||
| 4213 | 0x000046d3,0x000700f5,0x00000006,0x000061ed, | ||
| 4214 | 0x000046e3,0x000046c9,0x000003bf,0x000046d2, | ||
| 4215 | 0x00050041,0x00000009,0x0000436d,0x000042d2, | ||
| 4216 | 0x000061e8,0x0003003e,0x0000436d,0x000061ed, | ||
| 4217 | 0x00050080,0x00000006,0x0000436f,0x000061e8, | ||
| 4218 | 0x0000026c,0x0004003d,0x00000006,0x00004372, | ||
| 4219 | 0x0000436a,0x000300f7,0x00004716,0x00000000, | ||
| 4220 | 0x000300fb,0x00000140,0x00004705,0x000200f8, | ||
| 4221 | 0x00004705,0x000500c7,0x00000006,0x00004707, | ||
| 4222 | 0x00004372,0x00000249,0x000500ab,0x0000002f, | ||
| 4223 | 0x00004708,0x00004707,0x00000140,0x000300f7, | ||
| 4224 | 0x0000470d,0x00000000,0x000400fa,0x00004708, | ||
| 4225 | 0x00004709,0x0000470d,0x000200f8,0x00004709, | ||
| 4226 | 0x000300f7,0x0000472a,0x00000000,0x000400fa, | ||
| 4227 | 0x00004708,0x00004720,0x00004729,0x000200f8, | ||
| 4228 | 0x00004729,0x000200f9,0x0000472a,0x000200f8, | ||
| 4229 | 0x00004720,0x00050084,0x00000006,0x00004730, | ||
| 4230 | 0x000000f3,0x0000446b,0x00050080,0x00000006, | ||
| 4231 | 0x00004731,0x000001cc,0x00004730,0x000500c7, | ||
| 4232 | 0x00000006,0x00004723,0x00004372,0x0000025e, | ||
| 4233 | 0x00050084,0x00000006,0x00004724,0x000000f3, | ||
| 4234 | 0x00004723,0x00050080,0x00000006,0x00004725, | ||
| 4235 | 0x00004731,0x00004724,0x00050095,0x00000145, | ||
| 4236 | 0x0000474a,0x000044b9,0x00004725,0x00050051, | ||
| 4237 | 0x00000006,0x0000474b,0x0000474a,0x00000001, | ||
| 4238 | 0x00050051,0x00000006,0x0000474c,0x0000474a, | ||
| 4239 | 0x00000000,0x00050080,0x00000006,0x00004751, | ||
| 4240 | 0x000044c0,0x0000474b,0x00050050,0x00000007, | ||
| 4241 | 0x00004752,0x0000474c,0x00004751,0x0004007c, | ||
| 4242 | 0x00000014,0x00004742,0x00004752,0x00060041, | ||
| 4243 | 0x00000174,0x00004739,0x00004742,0x00000173, | ||
| 4244 | 0x00000173,0x0006003d,0x00000006,0x0000473a, | ||
| 4245 | 0x00004739,0x00000002,0x00000004,0x000200f9, | ||
| 4246 | 0x0000472a,0x000200f8,0x0000472a,0x000700f5, | ||
| 4247 | 0x00000006,0x000061f4,0x0000473a,0x00004720, | ||
| 4248 | 0x000003bf,0x00004729,0x00050041,0x000001c3, | ||
| 4249 | 0x00004755,0x000001c1,0x00000352,0x0004003d, | ||
| 4250 | 0x00000006,0x00004756,0x00004755,0x000500c7, | ||
| 4251 | 0x00000006,0x00004768,0x000013a9,0x0000014a, | ||
| 4252 | 0x000500ab,0x0000002f,0x00004769,0x00004768, | ||
| 4253 | 0x00000140,0x000600a9,0x00000006,0x00004763, | ||
| 4254 | 0x00004769,0x0000034a,0x000001cc,0x00050084, | ||
| 4255 | 0x00000006,0x00004759,0x000061f4,0x00004763, | ||
| 4256 | 0x00050080,0x00000006,0x0000475a,0x00004756, | ||
| 4257 | 0x00004759,0x000500c2,0x00000006,0x0000475b, | ||
| 4258 | 0x0000475a,0x00000359,0x000500c4,0x00000006, | ||
| 4259 | 0x0000475c,0x0000475b,0x00000325,0x000600a9, | ||
| 4260 | 0x00000006,0x0000475e,0x00004769,0x0000035d, | ||
| 4261 | 0x00000140,0x000500c5,0x00000006,0x0000475f, | ||
| 4262 | 0x0000475c,0x0000475e,0x000200f9,0x00004716, | ||
| 4263 | 0x000200f8,0x0000470d,0x000300f7,0x000047c1, | ||
| 4264 | 0x00000000,0x000400fa,0x00004481,0x000047bc, | ||
| 4265 | 0x000047c0,0x000200f8,0x000047c0,0x000200f9, | ||
| 4266 | 0x000047c1,0x000200f8,0x000047bc,0x00050082, | ||
| 4267 | 0x00000006,0x000047bf,0x0000430b,0x0000014a, | ||
| 4268 | 0x000200f9,0x000047c1,0x000200f8,0x000047c1, | ||
| 4269 | 0x000700f5,0x00000006,0x000061f0,0x000047bf, | ||
| 4270 | 0x000047bc,0x00000140,0x000047c0,0x00050084, | ||
| 4271 | 0x00000006,0x00004786,0x000000f3,0x000061f0, | ||
| 4272 | 0x00050080,0x00000006,0x00004787,0x00004454, | ||
| 4273 | 0x00004786,0x000300f7,0x000047ce,0x00000000, | ||
| 4274 | 0x000400fa,0x00004481,0x000047c9,0x000047cd, | ||
| 4275 | 0x000200f8,0x000047cd,0x000200f9,0x000047ce, | ||
| 4276 | 0x000200f8,0x000047c9,0x00050082,0x00000006, | ||
| 4277 | 0x000047cc,0x0000430b,0x0000014a,0x000200f9, | ||
| 4278 | 0x000047ce,0x000200f8,0x000047ce,0x000700f5, | ||
| 4279 | 0x00000006,0x000061f1,0x000047cc,0x000047c9, | ||
| 4280 | 0x00000140,0x000047cd,0x00050084,0x00000006, | ||
| 4281 | 0x00004780,0x000000f3,0x000061f1,0x00050080, | ||
| 4282 | 0x00000006,0x00004781,0x00004787,0x00004780, | ||
| 4283 | 0x000300f7,0x000047db,0x00000000,0x000400fa, | ||
| 4284 | 0x00004481,0x000047d6,0x000047da,0x000200f8, | ||
| 4285 | 0x000047da,0x000200f9,0x000047db,0x000200f8, | ||
| 4286 | 0x000047d6,0x00050082,0x00000006,0x000047d9, | ||
| 4287 | 0x0000430b,0x0000014a,0x000200f9,0x000047db, | ||
| 4288 | 0x000200f8,0x000047db,0x000700f5,0x00000006, | ||
| 4289 | 0x000061f2,0x000047d9,0x000047d6,0x00000140, | ||
| 4290 | 0x000047da,0x00050084,0x00000006,0x0000477a, | ||
| 4291 | 0x000000f3,0x000061f2,0x00050080,0x00000006, | ||
| 4292 | 0x0000477b,0x00004781,0x0000477a,0x000300f7, | ||
| 4293 | 0x000047e8,0x00000000,0x000400fa,0x00004481, | ||
| 4294 | 0x000047e3,0x000047e7,0x000200f8,0x000047e7, | ||
| 4295 | 0x000200f9,0x000047e8,0x000200f8,0x000047e3, | ||
| 4296 | 0x00050082,0x00000006,0x000047e6,0x0000430b, | ||
| 4297 | 0x0000014a,0x000200f9,0x000047e8,0x000200f8, | ||
| 4298 | 0x000047e8,0x000700f5,0x00000006,0x000061f3, | ||
| 4299 | 0x000047e6,0x000047e3,0x00000140,0x000047e7, | ||
| 4300 | 0x00050084,0x00000006,0x00004774,0x000000f3, | ||
| 4301 | 0x000061f3,0x00050080,0x00000006,0x00004775, | ||
| 4302 | 0x0000477b,0x00004774,0x00050084,0x00000006, | ||
| 4303 | 0x00004710,0x000000f3,0x00004372,0x00050080, | ||
| 4304 | 0x00000006,0x00004711,0x00004775,0x00004710, | ||
| 4305 | 0x00050095,0x00000145,0x00004802,0x000044b9, | ||
| 4306 | 0x00004711,0x00050051,0x00000006,0x00004803, | ||
| 4307 | 0x00004802,0x00000001,0x00050051,0x00000006, | ||
| 4308 | 0x00004804,0x00004802,0x00000000,0x00050080, | ||
| 4309 | 0x00000006,0x00004809,0x000044c0,0x00004803, | ||
| 4310 | 0x00050050,0x00000007,0x0000480a,0x00004804, | ||
| 4311 | 0x00004809,0x0004007c,0x00000014,0x000047fa, | ||
| 4312 | 0x0000480a,0x00060041,0x00000174,0x000047f1, | ||
| 4313 | 0x000047fa,0x00000173,0x00000173,0x0006003d, | ||
| 4314 | 0x00000006,0x000047f2,0x000047f1,0x00000002, | ||
| 4315 | 0x00000004,0x00050041,0x000001c3,0x0000480d, | ||
| 4316 | 0x000001c1,0x00000362,0x0004003d,0x00000006, | ||
| 4317 | 0x0000480e,0x0000480d,0x000500c7,0x00000006, | ||
| 4318 | 0x00004820,0x000013a9,0x00000288,0x000500ab, | ||
| 4319 | 0x0000002f,0x00004821,0x00004820,0x00000140, | ||
| 4320 | 0x000600a9,0x00000006,0x0000481b,0x00004821, | ||
| 4321 | 0x000001cc,0x0000034a,0x00050084,0x00000006, | ||
| 4322 | 0x00004811,0x000047f2,0x0000481b,0x00050080, | ||
| 4323 | 0x00000006,0x00004812,0x0000480e,0x00004811, | ||
| 4324 | 0x000500c2,0x00000006,0x00004813,0x00004812, | ||
| 4325 | 0x00000359,0x000500c4,0x00000006,0x00004814, | ||
| 4326 | 0x00004813,0x00000325,0x000600a9,0x00000006, | ||
| 4327 | 0x00004816,0x00004821,0x000000f3,0x0000036c, | ||
| 4328 | 0x000500c5,0x00000006,0x00004817,0x00004814, | ||
| 4329 | 0x00004816,0x000200f9,0x00004716,0x000200f8, | ||
| 4330 | 0x00004716,0x000700f5,0x00000006,0x000061f5, | ||
| 4331 | 0x0000475f,0x0000472a,0x00004817,0x000047e8, | ||
| 4332 | 0x00050041,0x00000009,0x00004374,0x000042d1, | ||
| 4333 | 0x000061e8,0x0003003e,0x00004374,0x000061f5, | ||
| 4334 | 0x000200f9,0x00004375,0x000200f8,0x00004375, | ||
| 4335 | 0x00050080,0x00000006,0x00004377,0x000061e2, | ||
| 4336 | 0x0000026c,0x000200f9,0x00004362,0x000200f8, | ||
| 4337 | 0x00004378,0x000200f9,0x00004379,0x000200f8, | ||
| 4338 | 0x00004379,0x00050080,0x00000006,0x0000437b, | ||
| 4339 | 0x000061c1,0x0000026c,0x000200f9,0x00004343, | ||
| 4340 | 0x000200f8,0x0000437c,0x000500c7,0x00000006, | ||
| 4341 | 0x0000482c,0x000013a9,0x0000014a,0x000500aa, | ||
| 4342 | 0x0000002f,0x0000437e,0x0000482c,0x00000140, | ||
| 4343 | 0x000300f7,0x00004384,0x00000000,0x000400fa, | ||
| 4344 | 0x0000437e,0x0000437f,0x00004384,0x000200f8, | ||
| 4345 | 0x0000437f,0x000500c7,0x00000006,0x00004382, | ||
| 4346 | 0x000013a9,0x000000f3,0x000500ab,0x0000002f, | ||
| 4347 | 0x00004383,0x00004382,0x00000140,0x000200f9, | ||
| 4348 | 0x00004384,0x000200f8,0x00004384,0x000700f5, | ||
| 4349 | 0x0000002f,0x00004385,0x0000437e,0x0000437c, | ||
| 4350 | 0x00004383,0x0000437f,0x000300f7,0x0000438b, | ||
| 4351 | 0x00000000,0x000400fa,0x00004385,0x00004386, | ||
| 4352 | 0x0000438b,0x000200f8,0x00004386,0x0004003d, | ||
| 4353 | 0x000000f4,0x00004387,0x000042d2,0x0003003e, | ||
| 4354 | 0x000042ec,0x00004387,0x0004003d,0x000000f4, | ||
| 4355 | 0x00004388,0x000042d1,0x0003003e,0x000042ed, | ||
| 4356 | 0x00004388,0x000200f9,0x00004863,0x000200f8, | ||
| 4357 | 0x00004863,0x000700f5,0x00000006,0x000061c2, | ||
| 4358 | 0x00000140,0x00004386,0x000048a9,0x000048a7, | ||
| 4359 | 0x000500b0,0x0000002f,0x00004866,0x000061c2, | ||
| 4360 | 0x000000f3,0x000400f6,0x000048aa,0x000048a7, | ||
| 4361 | 0x00000000,0x000400fa,0x00004866,0x00004867, | ||
| 4362 | 0x000048aa,0x000200f8,0x00004867,0x00050041, | ||
| 4363 | 0x0000009d,0x00004869,0x0000482f,0x000061c2, | ||
| 4364 | 0x0003003e,0x00004869,0x0000037d,0x00050041, | ||
| 4365 | 0x0000009d,0x0000486b,0x00004830,0x000061c2, | ||
| 4366 | 0x0003003e,0x0000486b,0x0000037d,0x00050041, | ||
| 4367 | 0x00000009,0x0000486d,0x00004831,0x000061c2, | ||
| 4368 | 0x0003003e,0x0000486d,0x00000140,0x000200f9, | ||
| 4369 | 0x0000486e,0x000200f8,0x0000486e,0x000700f5, | ||
| 4370 | 0x00000006,0x000061da,0x00000140,0x00004867, | ||
| 4371 | 0x00004878,0x00004872,0x000500b0,0x0000002f, | ||
| 4372 | 0x00004871,0x000061da,0x000004d7,0x000400f6, | ||
| 4373 | 0x00004879,0x00004872,0x00000000,0x000400fa, | ||
| 4374 | 0x00004871,0x00004872,0x00004879,0x000200f8, | ||
| 4375 | 0x00004872,0x00060041,0x000000ec,0x00004875, | ||
| 4376 | 0x00004833,0x000061c2,0x000061da,0x0003003e, | ||
| 4377 | 0x00004875,0x00000c74,0x00050080,0x00000006, | ||
| 4378 | 0x00004878,0x000061da,0x0000026c,0x000200f9, | ||
| 4379 | 0x0000486e,0x000200f8,0x00004879,0x00050041, | ||
| 4380 | 0x00000009,0x0000487b,0x000042ec,0x000061c2, | ||
| 4381 | 0x0004003d,0x00000006,0x0000487c,0x0000487b, | ||
| 4382 | 0x000500aa,0x0000002f,0x0000487d,0x0000487c, | ||
| 4383 | 0x000003bf,0x000300f7,0x0000487f,0x00000000, | ||
| 4384 | 0x000400fa,0x0000487d,0x0000487e,0x0000487f, | ||
| 4385 | 0x000200f8,0x0000487e,0x000200f9,0x000048a7, | ||
| 4386 | 0x000200f8,0x0000487f,0x0004003d,0x00000006, | ||
| 4387 | 0x00004883,0x0000487b,0x00050041,0x000001c3, | ||
| 4388 | 0x00004983,0x000001c1,0x00000352,0x0004003d, | ||
| 4389 | 0x00000006,0x00004984,0x00004983,0x00050084, | ||
| 4390 | 0x00000006,0x00004986,0x000001cc,0x00004883, | ||
| 4391 | 0x00050080,0x00000006,0x00004987,0x00004984, | ||
| 4392 | 0x00004986,0x00050080,0x00000006,0x00004885, | ||
| 4393 | 0x00004987,0x00000588,0x00050041,0x0000026e, | ||
| 4394 | 0x00004886,0x000001c1,0x00000173,0x0004003d, | ||
| 4395 | 0x00000007,0x00004887,0x00004886,0x00050051, | ||
| 4396 | 0x00000006,0x0000499e,0x00004887,0x00000000, | ||
| 4397 | 0x00050095,0x00000145,0x000049a0,0x0000499e, | ||
| 4398 | 0x00004885,0x00050051,0x00000006,0x000049a1, | ||
| 4399 | 0x000049a0,0x00000001,0x00050051,0x00000006, | ||
| 4400 | 0x000049a2,0x000049a0,0x00000000,0x00050051, | ||
| 4401 | 0x00000006,0x000049a5,0x00004887,0x00000001, | ||
| 4402 | 0x00050080,0x00000006,0x000049a7,0x000049a5, | ||
| 4403 | 0x000049a1,0x00050050,0x00000007,0x000049a8, | ||
| 4404 | 0x000049a2,0x000049a7,0x0004007c,0x00000014, | ||
| 4405 | 0x00004998,0x000049a8,0x00060041,0x00000174, | ||
| 4406 | 0x0000498f,0x00004998,0x00000173,0x00000173, | ||
| 4407 | 0x0006003d,0x00000006,0x00004990,0x0000498f, | ||
| 4408 | 0x00000002,0x00000004,0x0003003e,0x0000486d, | ||
| 4409 | 0x00004990,0x000200f9,0x0000488a,0x000200f8, | ||
| 4410 | 0x0000488a,0x000700f5,0x00000006,0x000061dc, | ||
| 4411 | 0x00000140,0x0000487f,0x00004899,0x0000488e, | ||
| 4412 | 0x000500b0,0x0000002f,0x0000488d,0x000061dc, | ||
| 4413 | 0x000004d7,0x000400f6,0x0000489a,0x0000488e, | ||
| 4414 | 0x00000000,0x000400fa,0x0000488d,0x0000488e, | ||
| 4415 | 0x0000489a,0x000200f8,0x0000488e,0x0004003d, | ||
| 4416 | 0x00000006,0x00004893,0x0000487b,0x00050084, | ||
| 4417 | 0x00000006,0x000049cc,0x000001cc,0x00004893, | ||
| 4418 | 0x00050080,0x00000006,0x000049cd,0x00004984, | ||
| 4419 | 0x000049cc,0x00050084,0x00000006,0x000049b6, | ||
| 4420 | 0x000001dc,0x000061dc,0x00050080,0x00000006, | ||
| 4421 | 0x000049b7,0x000049cd,0x000049b6,0x00050095, | ||
| 4422 | 0x00000145,0x000049e6,0x0000499e,0x000049b7, | ||
| 4423 | 0x00050051,0x00000006,0x000049e7,0x000049e6, | ||
| 4424 | 0x00000001,0x00050051,0x00000006,0x000049e8, | ||
| 4425 | 0x000049e6,0x00000000,0x00050080,0x00000006, | ||
| 4426 | 0x000049ed,0x000049a5,0x000049e7,0x00050050, | ||
| 4427 | 0x00000007,0x000049ee,0x000049e8,0x000049ed, | ||
| 4428 | 0x0004007c,0x00000014,0x000049de,0x000049ee, | ||
| 4429 | 0x00060041,0x00000174,0x000049d5,0x000049de, | ||
| 4430 | 0x00000173,0x00000173,0x0006003d,0x00000006, | ||
| 4431 | 0x000049d6,0x000049d5,0x00000002,0x00000004, | ||
| 4432 | 0x00050080,0x00000006,0x000049bd,0x000049b7, | ||
| 4433 | 0x000000f3,0x00050095,0x00000145,0x00004a07, | ||
| 4434 | 0x0000499e,0x000049bd,0x00050051,0x00000006, | ||
| 4435 | 0x00004a08,0x00004a07,0x00000001,0x00050051, | ||
| 4436 | 0x00000006,0x00004a09,0x00004a07,0x00000000, | ||
| 4437 | 0x00050080,0x00000006,0x00004a0e,0x000049a5, | ||
| 4438 | 0x00004a08,0x00050050,0x00000007,0x00004a0f, | ||
| 4439 | 0x00004a09,0x00004a0e,0x0004007c,0x00000014, | ||
| 4440 | 0x000049ff,0x00004a0f,0x00060041,0x00000174, | ||
| 4441 | 0x000049f6,0x000049ff,0x00000173,0x00000173, | ||
| 4442 | 0x0006003d,0x00000006,0x000049f7,0x000049f6, | ||
| 4060 | 0x00000002,0x00000004,0x00050080,0x00000006, | 4443 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 4061 | 0x000046e4,0x000046d9,0x000001cd,0x00050095, | 4444 | 0x000049c2,0x000049b7,0x000001d5,0x00050095, |
| 4062 | 0x0000013d,0x0000474a,0x000046c0,0x000046e4, | 4445 | 0x00000145,0x00004a28,0x0000499e,0x000049c2, |
| 4063 | 0x00050051,0x00000006,0x0000474b,0x0000474a, | 4446 | 0x00050051,0x00000006,0x00004a29,0x00004a28, |
| 4064 | 0x00000001,0x00050051,0x00000006,0x0000474c, | 4447 | 0x00000001,0x00050051,0x00000006,0x00004a2a, |
| 4065 | 0x0000474a,0x00000000,0x00050080,0x00000006, | 4448 | 0x00004a28,0x00000000,0x00050080,0x00000006, |
| 4066 | 0x00004751,0x000046c7,0x0000474b,0x00050050, | 4449 | 0x00004a2f,0x000049a5,0x00004a29,0x00050050, |
| 4067 | 0x00000007,0x00004752,0x0000474c,0x00004751, | 4450 | 0x00000007,0x00004a30,0x00004a2a,0x00004a2f, |
| 4068 | 0x0004007c,0x00000014,0x00004742,0x00004752, | 4451 | 0x0004007c,0x00000014,0x00004a20,0x00004a30, |
| 4069 | 0x00060041,0x0000016c,0x00004739,0x00004742, | 4452 | 0x00060041,0x00000174,0x00004a17,0x00004a20, |
| 4070 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 4453 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 4071 | 0x0000473a,0x00004739,0x00000002,0x00000004, | 4454 | 0x00004a18,0x00004a17,0x00000002,0x00000004, |
| 4072 | 0x00060050,0x000000df,0x000046e8,0x000046f8, | 4455 | 0x00060050,0x000000e6,0x000049c6,0x000049d6, |
| 4073 | 0x00004719,0x0000473a,0x00060041,0x000000e5, | 4456 | 0x000049f7,0x00004a18,0x00060041,0x000000ec, |
| 4074 | 0x000045b8,0x00004555,0x00005d9c,0x00005db6, | 4457 | 0x00004896,0x00004833,0x000061c2,0x000061dc, |
| 4075 | 0x0003003e,0x000045b8,0x000046e8,0x00050080, | 4458 | 0x0003003e,0x00004896,0x000049c6,0x00050080, |
| 4076 | 0x00000006,0x000045bb,0x00005db6,0x00000264, | 4459 | 0x00000006,0x00004899,0x000061dc,0x0000026c, |
| 4077 | 0x000200f9,0x000045ac,0x000200f8,0x000045bc, | 4460 | 0x000200f9,0x0000488a,0x000200f8,0x0000489a, |
| 4078 | 0x0004003d,0x00000006,0x000045bf,0x0000459d, | 4461 | 0x0004003d,0x00000006,0x0000489d,0x0000487b, |
| 4079 | 0x00050084,0x00000006,0x00004763,0x000001ef, | 4462 | 0x00050084,0x00000006,0x00004a41,0x000001f7, |
| 4080 | 0x000045bf,0x00050080,0x00000006,0x00004764, | 4463 | 0x0000489d,0x00050080,0x00000006,0x00004a42, |
| 4081 | 0x00004183,0x00004763,0x00050095,0x0000013d, | 4464 | 0x00004461,0x00004a41,0x00050095,0x00000145, |
| 4082 | 0x000047c2,0x000041db,0x00004764,0x00050051, | 4465 | 0x00004aa0,0x000044b9,0x00004a42,0x00050051, |
| 4083 | 0x00000006,0x000047c3,0x000047c2,0x00000001, | 4466 | 0x00000006,0x00004aa1,0x00004aa0,0x00000001, |
| 4084 | 0x00050051,0x00000006,0x000047c4,0x000047c2, | 4467 | 0x00050051,0x00000006,0x00004aa2,0x00004aa0, |
| 4085 | 0x00000000,0x00050080,0x00000006,0x000047c9, | 4468 | 0x00000000,0x00050080,0x00000006,0x00004aa7, |
| 4086 | 0x000041e2,0x000047c3,0x00050050,0x00000007, | 4469 | 0x000044c0,0x00004aa1,0x00050050,0x00000007, |
| 4087 | 0x000047ca,0x000047c4,0x000047c9,0x0004007c, | 4470 | 0x00004aa8,0x00004aa2,0x00004aa7,0x0004007c, |
| 4088 | 0x00000014,0x000047ba,0x000047ca,0x00060041, | 4471 | 0x00000014,0x00004a98,0x00004aa8,0x00060041, |
| 4089 | 0x0000016c,0x000047b1,0x000047ba,0x0000016b, | 4472 | 0x00000174,0x00004a8f,0x00004a98,0x00000173, |
| 4090 | 0x0000016b,0x0006003d,0x00000006,0x000047b2, | 4473 | 0x00000173,0x0006003d,0x00000006,0x00004a90, |
| 4091 | 0x000047b1,0x00000002,0x00000004,0x0004007c, | 4474 | 0x00004a8f,0x00000002,0x00000004,0x0004007c, |
| 4092 | 0x00000027,0x00004769,0x000047b2,0x00050080, | 4475 | 0x00000027,0x00004a47,0x00004a90,0x00050080, |
| 4093 | 0x00000006,0x0000476b,0x00004764,0x000000ec, | 4476 | 0x00000006,0x00004a49,0x00004a42,0x000000f3, |
| 4094 | 0x00050095,0x0000013d,0x000047e3,0x000041db, | 4477 | 0x00050095,0x00000145,0x00004ac1,0x000044b9, |
| 4095 | 0x0000476b,0x00050051,0x00000006,0x000047e4, | 4478 | 0x00004a49,0x00050051,0x00000006,0x00004ac2, |
| 4096 | 0x000047e3,0x00000001,0x00050051,0x00000006, | 4479 | 0x00004ac1,0x00000001,0x00050051,0x00000006, |
| 4097 | 0x000047e5,0x000047e3,0x00000000,0x00050080, | 4480 | 0x00004ac3,0x00004ac1,0x00000000,0x00050080, |
| 4098 | 0x00000006,0x000047ea,0x000041e2,0x000047e4, | 4481 | 0x00000006,0x00004ac8,0x000044c0,0x00004ac2, |
| 4099 | 0x00050050,0x00000007,0x000047eb,0x000047e5, | 4482 | 0x00050050,0x00000007,0x00004ac9,0x00004ac3, |
| 4100 | 0x000047ea,0x0004007c,0x00000014,0x000047db, | 4483 | 0x00004ac8,0x0004007c,0x00000014,0x00004ab9, |
| 4101 | 0x000047eb,0x00060041,0x0000016c,0x000047d2, | 4484 | 0x00004ac9,0x00060041,0x00000174,0x00004ab0, |
| 4102 | 0x000047db,0x0000016b,0x0000016b,0x0006003d, | 4485 | 0x00004ab9,0x00000173,0x00000173,0x0006003d, |
| 4103 | 0x00000006,0x000047d3,0x000047d2,0x00000002, | 4486 | 0x00000006,0x00004ab1,0x00004ab0,0x00000002, |
| 4104 | 0x00000004,0x0004007c,0x00000027,0x0000476f, | 4487 | 0x00000004,0x0004007c,0x00000027,0x00004a4d, |
| 4105 | 0x000047d3,0x00050080,0x00000006,0x00004771, | 4488 | 0x00004ab1,0x00050080,0x00000006,0x00004a4f, |
| 4106 | 0x00004764,0x000001cd,0x00050095,0x0000013d, | 4489 | 0x00004a42,0x000001d5,0x00050095,0x00000145, |
| 4107 | 0x00004804,0x000041db,0x00004771,0x00050051, | 4490 | 0x00004ae2,0x000044b9,0x00004a4f,0x00050051, |
| 4108 | 0x00000006,0x00004805,0x00004804,0x00000001, | 4491 | 0x00000006,0x00004ae3,0x00004ae2,0x00000001, |
| 4109 | 0x00050051,0x00000006,0x00004806,0x00004804, | 4492 | 0x00050051,0x00000006,0x00004ae4,0x00004ae2, |
| 4110 | 0x00000000,0x00050080,0x00000006,0x0000480b, | 4493 | 0x00000000,0x00050080,0x00000006,0x00004ae9, |
| 4111 | 0x000041e2,0x00004805,0x00050050,0x00000007, | 4494 | 0x000044c0,0x00004ae3,0x00050050,0x00000007, |
| 4112 | 0x0000480c,0x00004806,0x0000480b,0x0004007c, | 4495 | 0x00004aea,0x00004ae4,0x00004ae9,0x0004007c, |
| 4113 | 0x00000014,0x000047fc,0x0000480c,0x00060041, | 4496 | 0x00000014,0x00004ada,0x00004aea,0x00060041, |
| 4114 | 0x0000016c,0x000047f3,0x000047fc,0x0000016b, | 4497 | 0x00000174,0x00004ad1,0x00004ada,0x00000173, |
| 4115 | 0x0000016b,0x0006003d,0x00000006,0x000047f4, | 4498 | 0x00000173,0x0006003d,0x00000006,0x00004ad2, |
| 4116 | 0x000047f3,0x00000002,0x00000004,0x0004007c, | 4499 | 0x00004ad1,0x00000002,0x00000004,0x0004007c, |
| 4117 | 0x00000027,0x00004775,0x000047f4,0x00050080, | 4500 | 0x00000027,0x00004a53,0x00004ad2,0x00050080, |
| 4118 | 0x00000006,0x00004778,0x00004764,0x000001d4, | 4501 | 0x00000006,0x00004a56,0x00004a42,0x000001dc, |
| 4119 | 0x00050095,0x0000013d,0x00004825,0x000041db, | 4502 | 0x00050095,0x00000145,0x00004b03,0x000044b9, |
| 4120 | 0x00004778,0x00050051,0x00000006,0x00004826, | 4503 | 0x00004a56,0x00050051,0x00000006,0x00004b04, |
| 4121 | 0x00004825,0x00000001,0x00050051,0x00000006, | 4504 | 0x00004b03,0x00000001,0x00050051,0x00000006, |
| 4122 | 0x00004827,0x00004825,0x00000000,0x00050080, | 4505 | 0x00004b05,0x00004b03,0x00000000,0x00050080, |
| 4123 | 0x00000006,0x0000482c,0x000041e2,0x00004826, | 4506 | 0x00000006,0x00004b0a,0x000044c0,0x00004b04, |
| 4124 | 0x00050050,0x00000007,0x0000482d,0x00004827, | 4507 | 0x00050050,0x00000007,0x00004b0b,0x00004b05, |
| 4125 | 0x0000482c,0x0004007c,0x00000014,0x0000481d, | 4508 | 0x00004b0a,0x0004007c,0x00000014,0x00004afb, |
| 4126 | 0x0000482d,0x00060041,0x0000016c,0x00004814, | 4509 | 0x00004b0b,0x00060041,0x00000174,0x00004af2, |
| 4127 | 0x0000481d,0x0000016b,0x0000016b,0x0006003d, | 4510 | 0x00004afb,0x00000173,0x00000173,0x0006003d, |
| 4128 | 0x00000006,0x00004815,0x00004814,0x00000002, | 4511 | 0x00000006,0x00004af3,0x00004af2,0x00000002, |
| 4129 | 0x00000004,0x0004007c,0x00000027,0x0000477c, | 4512 | 0x00000004,0x0004007c,0x00000027,0x00004a5a, |
| 4130 | 0x00004815,0x00050080,0x00000006,0x0000477e, | 4513 | 0x00004af3,0x00050080,0x00000006,0x00004a5c, |
| 4131 | 0x00004764,0x000001db,0x00050095,0x0000013d, | 4514 | 0x00004a42,0x000001e3,0x00050095,0x00000145, |
| 4132 | 0x00004846,0x000041db,0x0000477e,0x00050051, | 4515 | 0x00004b24,0x000044b9,0x00004a5c,0x00050051, |
| 4133 | 0x00000006,0x00004847,0x00004846,0x00000001, | 4516 | 0x00000006,0x00004b25,0x00004b24,0x00000001, |
| 4134 | 0x00050051,0x00000006,0x00004848,0x00004846, | 4517 | 0x00050051,0x00000006,0x00004b26,0x00004b24, |
| 4135 | 0x00000000,0x00050080,0x00000006,0x0000484d, | 4518 | 0x00000000,0x00050080,0x00000006,0x00004b2b, |
| 4136 | 0x000041e2,0x00004847,0x00050050,0x00000007, | 4519 | 0x000044c0,0x00004b25,0x00050050,0x00000007, |
| 4137 | 0x0000484e,0x00004848,0x0000484d,0x0004007c, | 4520 | 0x00004b2c,0x00004b26,0x00004b2b,0x0004007c, |
| 4138 | 0x00000014,0x0000483e,0x0000484e,0x00060041, | 4521 | 0x00000014,0x00004b1c,0x00004b2c,0x00060041, |
| 4139 | 0x0000016c,0x00004835,0x0000483e,0x0000016b, | 4522 | 0x00000174,0x00004b13,0x00004b1c,0x00000173, |
| 4140 | 0x0000016b,0x0006003d,0x00000006,0x00004836, | 4523 | 0x00000173,0x0006003d,0x00000006,0x00004b14, |
| 4141 | 0x00004835,0x00000002,0x00000004,0x0004007c, | 4524 | 0x00004b13,0x00000002,0x00000004,0x0004007c, |
| 4142 | 0x00000027,0x00004782,0x00004836,0x00050080, | 4525 | 0x00000027,0x00004a60,0x00004b14,0x00050080, |
| 4143 | 0x00000006,0x00004784,0x00004764,0x00000299, | 4526 | 0x00000006,0x00004a62,0x00004a42,0x000002a1, |
| 4144 | 0x00050095,0x0000013d,0x00004867,0x000041db, | 4527 | 0x00050095,0x00000145,0x00004b45,0x000044b9, |
| 4145 | 0x00004784,0x00050051,0x00000006,0x00004868, | 4528 | 0x00004a62,0x00050051,0x00000006,0x00004b46, |
| 4146 | 0x00004867,0x00000001,0x00050051,0x00000006, | 4529 | 0x00004b45,0x00000001,0x00050051,0x00000006, |
| 4147 | 0x00004869,0x00004867,0x00000000,0x00050080, | 4530 | 0x00004b47,0x00004b45,0x00000000,0x00050080, |
| 4148 | 0x00000006,0x0000486e,0x000041e2,0x00004868, | 4531 | 0x00000006,0x00004b4c,0x000044c0,0x00004b46, |
| 4149 | 0x00050050,0x00000007,0x0000486f,0x00004869, | 4532 | 0x00050050,0x00000007,0x00004b4d,0x00004b47, |
| 4150 | 0x0000486e,0x0004007c,0x00000014,0x0000485f, | 4533 | 0x00004b4c,0x0004007c,0x00000014,0x00004b3d, |
| 4151 | 0x0000486f,0x00060041,0x0000016c,0x00004856, | 4534 | 0x00004b4d,0x00060041,0x00000174,0x00004b34, |
| 4152 | 0x0000485f,0x0000016b,0x0000016b,0x0006003d, | 4535 | 0x00004b3d,0x00000173,0x00000173,0x0006003d, |
| 4153 | 0x00000006,0x00004857,0x00004856,0x00000002, | 4536 | 0x00000006,0x00004b35,0x00004b34,0x00000002, |
| 4154 | 0x00000004,0x0004007c,0x00000027,0x00004788, | 4537 | 0x00000004,0x0004007c,0x00000027,0x00004a66, |
| 4155 | 0x00004857,0x000500bc,0x0000002f,0x00004876, | 4538 | 0x00004b35,0x000500bc,0x0000002f,0x00004b54, |
| 4156 | 0x00004769,0x0000477c,0x000300f7,0x0000487d, | 4539 | 0x00004a47,0x00004a5a,0x000300f7,0x00004b5b, |
| 4157 | 0x00000000,0x000400fa,0x00004876,0x00004877, | 4540 | 0x00000000,0x000400fa,0x00004b54,0x00004b55, |
| 4158 | 0x0000487d,0x000200f8,0x00004877,0x000500bc, | 4541 | 0x00004b5b,0x000200f8,0x00004b55,0x000500bc, |
| 4159 | 0x0000002f,0x0000487c,0x0000476f,0x00004782, | 4542 | 0x0000002f,0x00004b5a,0x00004a4d,0x00004a60, |
| 4160 | 0x000200f9,0x0000487d,0x000200f8,0x0000487d, | 4543 | 0x000200f9,0x00004b5b,0x000200f8,0x00004b5b, |
| 4161 | 0x000700f5,0x0000002f,0x0000487e,0x00004876, | 4544 | 0x000700f5,0x0000002f,0x00004b5c,0x00004b54, |
| 4162 | 0x000045bc,0x0000487c,0x00004877,0x000300f7, | 4545 | 0x0000489a,0x00004b5a,0x00004b55,0x000300f7, |
| 4163 | 0x00004885,0x00000000,0x000400fa,0x0000487e, | 4546 | 0x00004b63,0x00000000,0x000400fa,0x00004b5c, |
| 4164 | 0x0000487f,0x00004885,0x000200f8,0x0000487f, | 4547 | 0x00004b5d,0x00004b63,0x000200f8,0x00004b5d, |
| 4165 | 0x000500bc,0x0000002f,0x00004884,0x00004775, | 4548 | 0x000500bc,0x0000002f,0x00004b62,0x00004a53, |
| 4166 | 0x00004788,0x000200f9,0x00004885,0x000200f8, | 4549 | 0x00004a66,0x000200f9,0x00004b63,0x000200f8, |
| 4167 | 0x00004885,0x000700f5,0x0000002f,0x00004886, | 4550 | 0x00004b63,0x000700f5,0x0000002f,0x00004b64, |
| 4168 | 0x0000487e,0x0000487d,0x00004884,0x0000487f, | 4551 | 0x00004b5c,0x00004b5b,0x00004b62,0x00004b5d, |
| 4169 | 0x0003003e,0x0000458b,0x00004886,0x000200f9, | 4552 | 0x0003003e,0x00004869,0x00004b64,0x000200f9, |
| 4170 | 0x000045c9,0x000200f8,0x000045c9,0x00050080, | 4553 | 0x000048a7,0x000200f8,0x000048a7,0x00050080, |
| 4171 | 0x00000006,0x000045cb,0x00005d9c,0x00000264, | 4554 | 0x00000006,0x000048a9,0x000061c2,0x0000026c, |
| 4172 | 0x000200f9,0x00004585,0x000200f8,0x000045cc, | 4555 | 0x000200f9,0x00004863,0x000200f8,0x000048aa, |
| 4173 | 0x000200f9,0x000045cd,0x000200f8,0x000045cd, | 4556 | 0x000200f9,0x000048ab,0x000200f8,0x000048ab, |
| 4174 | 0x000700f5,0x00000006,0x00005d9d,0x00000138, | 4557 | 0x000700f5,0x00000006,0x000061c3,0x00000140, |
| 4175 | 0x000045cc,0x000046a1,0x0000469f,0x000500b0, | 4558 | 0x000048aa,0x0000497f,0x0000497d,0x000500b0, |
| 4176 | 0x0000002f,0x000045d0,0x00005d9d,0x000000ec, | 4559 | 0x0000002f,0x000048ae,0x000061c3,0x000000f3, |
| 4177 | 0x000400f6,0x000046a2,0x0000469f,0x00000000, | 4560 | 0x000400f6,0x00004980,0x0000497d,0x00000000, |
| 4178 | 0x000400fa,0x000045d0,0x000045d1,0x000046a2, | 4561 | 0x000400fa,0x000048ae,0x000048af,0x00004980, |
| 4179 | 0x000200f8,0x000045d1,0x00050041,0x00000096, | 4562 | 0x000200f8,0x000048af,0x00050041,0x0000009d, |
| 4180 | 0x000045d3,0x00004552,0x00005d9d,0x0004003d, | 4563 | 0x000048b1,0x00004830,0x000061c3,0x0004003d, |
| 4181 | 0x0000002f,0x000045d4,0x000045d3,0x000400a8, | 4564 | 0x0000002f,0x000048b2,0x000048b1,0x000400a8, |
| 4182 | 0x0000002f,0x000045d5,0x000045d4,0x000300f7, | 4565 | 0x0000002f,0x000048b3,0x000048b2,0x000300f7, |
| 4183 | 0x000045db,0x00000000,0x000400fa,0x000045d5, | 4566 | 0x000048b9,0x00000000,0x000400fa,0x000048b3, |
| 4184 | 0x000045d6,0x000045db,0x000200f8,0x000045d6, | 4567 | 0x000048b4,0x000048b9,0x000200f8,0x000048b4, |
| 4185 | 0x00050041,0x00000096,0x000045d8,0x00004551, | 4568 | 0x00050041,0x0000009d,0x000048b6,0x0000482f, |
| 4186 | 0x00005d9d,0x0004003d,0x0000002f,0x000045d9, | 4569 | 0x000061c3,0x0004003d,0x0000002f,0x000048b7, |
| 4187 | 0x000045d8,0x000400a8,0x0000002f,0x000045da, | 4570 | 0x000048b6,0x000400a8,0x0000002f,0x000048b8, |
| 4188 | 0x000045d9,0x000200f9,0x000045db,0x000200f8, | 4571 | 0x000048b7,0x000200f9,0x000048b9,0x000200f8, |
| 4189 | 0x000045db,0x000700f5,0x0000002f,0x000045dc, | 4572 | 0x000048b9,0x000700f5,0x0000002f,0x000048ba, |
| 4190 | 0x000045d4,0x000045d1,0x000045da,0x000045d6, | 4573 | 0x000048b2,0x000048af,0x000048b8,0x000048b4, |
| 4191 | 0x000300f7,0x000045de,0x00000000,0x000400fa, | 4574 | 0x000300f7,0x000048bc,0x00000000,0x000400fa, |
| 4192 | 0x000045dc,0x000045dd,0x000045de,0x000200f8, | 4575 | 0x000048ba,0x000048bb,0x000048bc,0x000200f8, |
| 4193 | 0x000045dd,0x000200f9,0x0000469f,0x000200f8, | 4576 | 0x000048bb,0x000200f9,0x0000497d,0x000200f8, |
| 4194 | 0x000045de,0x0003003e,0x000045d3,0x000003e7, | 4577 | 0x000048bc,0x0003003e,0x000048b1,0x00000444, |
| 4195 | 0x00050080,0x00000006,0x000045e2,0x00005d9d, | 4578 | 0x00050080,0x00000006,0x000048c0,0x000061c3, |
| 4196 | 0x00000142,0x000200f9,0x000045e3,0x000200f8, | 4579 | 0x0000014a,0x000200f9,0x000048c1,0x000200f8, |
| 4197 | 0x000045e3,0x000700f5,0x00000006,0x00005d9f, | 4580 | 0x000048c1,0x000700f5,0x00000006,0x000061c5, |
| 4198 | 0x000045e2,0x000045de,0x0000469d,0x0000469b, | 4581 | 0x000048c0,0x000048bc,0x0000497b,0x00004979, |
| 4199 | 0x000500b0,0x0000002f,0x000045e6,0x00005d9f, | 4582 | 0x000500b0,0x0000002f,0x000048c4,0x000061c5, |
| 4200 | 0x000000ec,0x000400f6,0x0000469e,0x0000469b, | 4583 | 0x000000f3,0x000400f6,0x0000497c,0x00004979, |
| 4201 | 0x00000000,0x000400fa,0x000045e6,0x000045e7, | 4584 | 0x00000000,0x000400fa,0x000048c4,0x000048c5, |
| 4202 | 0x0000469e,0x000200f8,0x000045e7,0x00050041, | 4585 | 0x0000497c,0x000200f8,0x000048c5,0x00050041, |
| 4203 | 0x00000096,0x000045e9,0x00004552,0x00005d9f, | 4586 | 0x0000009d,0x000048c7,0x00004830,0x000061c5, |
| 4204 | 0x0004003d,0x0000002f,0x000045ea,0x000045e9, | 4587 | 0x0004003d,0x0000002f,0x000048c8,0x000048c7, |
| 4205 | 0x000400a8,0x0000002f,0x000045eb,0x000045ea, | 4588 | 0x000400a8,0x0000002f,0x000048c9,0x000048c8, |
| 4206 | 0x000300f7,0x000045f1,0x00000000,0x000400fa, | 4589 | 0x000300f7,0x000048cf,0x00000000,0x000400fa, |
| 4207 | 0x000045eb,0x000045ec,0x000045f1,0x000200f8, | 4590 | 0x000048c9,0x000048ca,0x000048cf,0x000200f8, |
| 4208 | 0x000045ec,0x00050041,0x00000096,0x000045ee, | 4591 | 0x000048ca,0x00050041,0x0000009d,0x000048cc, |
| 4209 | 0x00004551,0x00005d9f,0x0004003d,0x0000002f, | 4592 | 0x0000482f,0x000061c5,0x0004003d,0x0000002f, |
| 4210 | 0x000045ef,0x000045ee,0x000400a8,0x0000002f, | 4593 | 0x000048cd,0x000048cc,0x000400a8,0x0000002f, |
| 4211 | 0x000045f0,0x000045ef,0x000200f9,0x000045f1, | 4594 | 0x000048ce,0x000048cd,0x000200f9,0x000048cf, |
| 4212 | 0x000200f8,0x000045f1,0x000700f5,0x0000002f, | 4595 | 0x000200f8,0x000048cf,0x000700f5,0x0000002f, |
| 4213 | 0x000045f2,0x000045ea,0x000045e7,0x000045f0, | 4596 | 0x000048d0,0x000048c8,0x000048c5,0x000048ce, |
| 4214 | 0x000045ec,0x000400a8,0x0000002f,0x000045f3, | 4597 | 0x000048ca,0x000400a8,0x0000002f,0x000048d1, |
| 4215 | 0x000045f2,0x000300f7,0x000045fc,0x00000000, | 4598 | 0x000048d0,0x000300f7,0x000048da,0x00000000, |
| 4216 | 0x000400fa,0x000045f3,0x000045f4,0x000045fc, | 4599 | 0x000400fa,0x000048d1,0x000048d2,0x000048da, |
| 4217 | 0x000200f8,0x000045f4,0x00050041,0x00000009, | 4600 | 0x000200f8,0x000048d2,0x00050041,0x00000009, |
| 4218 | 0x000045f6,0x00004553,0x00005d9f,0x0004003d, | 4601 | 0x000048d4,0x00004831,0x000061c5,0x0004003d, |
| 4219 | 0x00000006,0x000045f7,0x000045f6,0x00050041, | 4602 | 0x00000006,0x000048d5,0x000048d4,0x00050041, |
| 4220 | 0x00000009,0x000045f9,0x00004553,0x00005d9d, | 4603 | 0x00000009,0x000048d7,0x00004831,0x000061c3, |
| 4221 | 0x0004003d,0x00000006,0x000045fa,0x000045f9, | 4604 | 0x0004003d,0x00000006,0x000048d8,0x000048d7, |
| 4222 | 0x000500ab,0x0000002f,0x000045fb,0x000045f7, | 4605 | 0x000500ab,0x0000002f,0x000048d9,0x000048d5, |
| 4223 | 0x000045fa,0x000200f9,0x000045fc,0x000200f8, | 4606 | 0x000048d8,0x000200f9,0x000048da,0x000200f8, |
| 4224 | 0x000045fc,0x000700f5,0x0000002f,0x000045fd, | 4607 | 0x000048da,0x000700f5,0x0000002f,0x000048db, |
| 4225 | 0x000045f2,0x000045f1,0x000045fb,0x000045f4, | 4608 | 0x000048d0,0x000048cf,0x000048d9,0x000048d2, |
| 4226 | 0x000300f7,0x000045ff,0x00000000,0x000400fa, | 4609 | 0x000300f7,0x000048dd,0x00000000,0x000400fa, |
| 4227 | 0x000045fd,0x000045fe,0x000045ff,0x000200f8, | 4610 | 0x000048db,0x000048dc,0x000048dd,0x000200f8, |
| 4228 | 0x000045fe,0x000200f9,0x0000469b,0x000200f8, | 4611 | 0x000048dc,0x000200f9,0x00004979,0x000200f8, |
| 4229 | 0x000045ff,0x000200f9,0x00004600,0x000200f8, | 4612 | 0x000048dd,0x000200f9,0x000048de,0x000200f8, |
| 4230 | 0x00004600,0x000700f5,0x00000006,0x00005da9, | 4613 | 0x000048de,0x000700f5,0x00000006,0x000061cf, |
| 4231 | 0x00000470,0x000045ff,0x0000609e,0x00004638, | 4614 | 0x000004d7,0x000048dd,0x000064d2,0x00004916, |
| 4232 | 0x000700f5,0x00000006,0x00005da4,0x00000470, | 4615 | 0x000700f5,0x00000006,0x000061ca,0x000004d7, |
| 4233 | 0x000045ff,0x00006093,0x00004638,0x000700f5, | 4616 | 0x000048dd,0x000064c7,0x00004916,0x000700f5, |
| 4234 | 0x00000006,0x00005da3,0x00000138,0x000045ff, | 4617 | 0x00000006,0x000061c9,0x00000140,0x000048dd, |
| 4235 | 0x0000463a,0x00004638,0x000500b0,0x0000002f, | 4618 | 0x00004918,0x00004916,0x000500b0,0x0000002f, |
| 4236 | 0x00004603,0x00005da3,0x00000470,0x000500aa, | 4619 | 0x000048e1,0x000061c9,0x000004d7,0x000500aa, |
| 4237 | 0x0000002f,0x00004605,0x00005da4,0x00000470, | 4620 | 0x0000002f,0x000048e3,0x000061ca,0x000004d7, |
| 4238 | 0x000500a7,0x0000002f,0x00004606,0x00004603, | 4621 | 0x000500a7,0x0000002f,0x000048e4,0x000048e1, |
| 4239 | 0x00004605,0x000400f6,0x0000463b,0x00004638, | 4622 | 0x000048e3,0x000400f6,0x00004919,0x00004916, |
| 4240 | 0x00000000,0x000400fa,0x00004606,0x00004607, | 4623 | 0x00000000,0x000400fa,0x000048e4,0x000048e5, |
| 4241 | 0x0000463b,0x000200f8,0x00004607,0x00060041, | 4624 | 0x00004919,0x000200f8,0x000048e5,0x00060041, |
| 4242 | 0x000000e5,0x0000460a,0x00004555,0x00005d9d, | 4625 | 0x000000ec,0x000048e8,0x00004833,0x000061c3, |
| 4243 | 0x00005da3,0x0004003d,0x000000df,0x0000460b, | 4626 | 0x000061c9,0x0004003d,0x000000e6,0x000048e9, |
| 4244 | 0x0000460a,0x00050080,0x00000006,0x0000460e, | 4627 | 0x000048e8,0x00050080,0x00000006,0x000048ec, |
| 4245 | 0x00005da3,0x00000142,0x00050089,0x00000006, | 4628 | 0x000061c9,0x0000014a,0x00050089,0x00000006, |
| 4246 | 0x0000460f,0x0000460e,0x00000470,0x00060041, | 4629 | 0x000048ed,0x000048ec,0x000004d7,0x00060041, |
| 4247 | 0x000000e5,0x00004610,0x00004555,0x00005d9d, | 4630 | 0x000000ec,0x000048ee,0x00004833,0x000061c3, |
| 4248 | 0x0000460f,0x0004003d,0x000000df,0x00004611, | 4631 | 0x000048ed,0x0004003d,0x000000e6,0x000048ef, |
| 4249 | 0x00004610,0x000500aa,0x0000054d,0x00004614, | 4632 | 0x000048ee,0x000500aa,0x000005b3,0x000048f2, |
| 4250 | 0x0000460b,0x00004611,0x0004009b,0x0000002f, | 4633 | 0x000048e9,0x000048ef,0x0004009b,0x0000002f, |
| 4251 | 0x00004615,0x00004614,0x000300f7,0x00004617, | 4634 | 0x000048f3,0x000048f2,0x000300f7,0x000048f5, |
| 4252 | 0x00000000,0x000400fa,0x00004615,0x00004616, | 4635 | 0x00000000,0x000400fa,0x000048f3,0x000048f4, |
| 4253 | 0x00004617,0x000200f8,0x00004616,0x000200f9, | 4636 | 0x000048f5,0x000200f8,0x000048f4,0x000200f9, |
| 4254 | 0x00004638,0x000200f8,0x00004617,0x000200f9, | 4637 | 0x00004916,0x000200f8,0x000048f5,0x000200f9, |
| 4255 | 0x00004618,0x000200f8,0x00004618,0x000700f5, | 4638 | 0x000048f6,0x000200f8,0x000048f6,0x000700f5, |
| 4256 | 0x00000006,0x00005daa,0x00000138,0x00004617, | 4639 | 0x00000006,0x000061d0,0x00000140,0x000048f5, |
| 4257 | 0x00004636,0x00004634,0x000500b0,0x0000002f, | 4640 | 0x00004914,0x00004912,0x000500b0,0x0000002f, |
| 4258 | 0x0000461b,0x00005daa,0x00000470,0x000400f6, | 4641 | 0x000048f9,0x000061d0,0x000004d7,0x000400f6, |
| 4259 | 0x00004637,0x00004634,0x00000000,0x000400fa, | 4642 | 0x00004915,0x00004912,0x00000000,0x000400fa, |
| 4260 | 0x0000461b,0x0000461c,0x00004637,0x000200f8, | 4643 | 0x000048f9,0x000048fa,0x00004915,0x000200f8, |
| 4261 | 0x0000461c,0x00060041,0x000000e5,0x0000461f, | 4644 | 0x000048fa,0x00060041,0x000000ec,0x000048fd, |
| 4262 | 0x00004555,0x00005d9f,0x00005daa,0x0004003d, | 4645 | 0x00004833,0x000061c5,0x000061d0,0x0004003d, |
| 4263 | 0x000000df,0x00004620,0x0000461f,0x000500aa, | 4646 | 0x000000e6,0x000048fe,0x000048fd,0x000500aa, |
| 4264 | 0x0000054d,0x00004622,0x00004620,0x00004611, | 4647 | 0x000005b3,0x00004900,0x000048fe,0x000048ef, |
| 4265 | 0x0004009b,0x0000002f,0x00004623,0x00004622, | 4648 | 0x0004009b,0x0000002f,0x00004901,0x00004900, |
| 4266 | 0x000300f7,0x0000462e,0x00000000,0x000400fa, | 4649 | 0x000300f7,0x0000490c,0x00000000,0x000400fa, |
| 4267 | 0x00004623,0x00004624,0x0000462e,0x000200f8, | 4650 | 0x00004901,0x00004902,0x0000490c,0x000200f8, |
| 4268 | 0x00004624,0x00050080,0x00000006,0x00004627, | 4651 | 0x00004902,0x00050080,0x00000006,0x00004905, |
| 4269 | 0x00005daa,0x00000142,0x00050089,0x00000006, | 4652 | 0x000061d0,0x0000014a,0x00050089,0x00000006, |
| 4270 | 0x00004628,0x00004627,0x00000470,0x00060041, | 4653 | 0x00004906,0x00004905,0x000004d7,0x00060041, |
| 4271 | 0x000000e5,0x00004629,0x00004555,0x00005d9f, | 4654 | 0x000000ec,0x00004907,0x00004833,0x000061c5, |
| 4272 | 0x00004628,0x0004003d,0x000000df,0x0000462a, | 4655 | 0x00004906,0x0004003d,0x000000e6,0x00004908, |
| 4273 | 0x00004629,0x000500aa,0x0000054d,0x0000462c, | 4656 | 0x00004907,0x000500aa,0x000005b3,0x0000490a, |
| 4274 | 0x0000462a,0x0000460b,0x0004009b,0x0000002f, | 4657 | 0x00004908,0x000048e9,0x0004009b,0x0000002f, |
| 4275 | 0x0000462d,0x0000462c,0x000200f9,0x0000462e, | 4658 | 0x0000490b,0x0000490a,0x000200f9,0x0000490c, |
| 4276 | 0x000200f8,0x0000462e,0x000700f5,0x0000002f, | 4659 | 0x000200f8,0x0000490c,0x000700f5,0x0000002f, |
| 4277 | 0x0000462f,0x00004623,0x0000461c,0x0000462d, | 4660 | 0x0000490d,0x00004901,0x000048fa,0x0000490b, |
| 4278 | 0x00004624,0x000300f7,0x00004633,0x00000000, | 4661 | 0x00004902,0x000300f7,0x00004911,0x00000000, |
| 4279 | 0x000400fa,0x0000462f,0x00004630,0x00004633, | 4662 | 0x000400fa,0x0000490d,0x0000490e,0x00004911, |
| 4280 | 0x000200f8,0x00004630,0x000200f9,0x00004637, | 4663 | 0x000200f8,0x0000490e,0x000200f9,0x00004915, |
| 4281 | 0x000200f8,0x00004633,0x000200f9,0x00004634, | 4664 | 0x000200f8,0x00004911,0x000200f9,0x00004912, |
| 4282 | 0x000200f8,0x00004634,0x00050080,0x00000006, | 4665 | 0x000200f8,0x00004912,0x00050080,0x00000006, |
| 4283 | 0x00004636,0x00005daa,0x00000264,0x000200f9, | 4666 | 0x00004914,0x000061d0,0x0000026c,0x000200f9, |
| 4284 | 0x00004618,0x000200f8,0x00004637,0x000700f5, | 4667 | 0x000048f6,0x000200f8,0x00004915,0x000700f5, |
| 4285 | 0x00000006,0x0000609f,0x00005da9,0x00004618, | 4668 | 0x00000006,0x000064d3,0x000061cf,0x000048f6, |
| 4286 | 0x00005daa,0x00004630,0x000700f5,0x00000006, | 4669 | 0x000061d0,0x0000490e,0x000700f5,0x00000006, |
| 4287 | 0x00006094,0x00005da4,0x00004618,0x00005da3, | 4670 | 0x000064c8,0x000061ca,0x000048f6,0x000061c9, |
| 4288 | 0x00004630,0x000200f9,0x00004638,0x000200f8, | 4671 | 0x0000490e,0x000200f9,0x00004916,0x000200f8, |
| 4289 | 0x00004638,0x000700f5,0x00000006,0x0000609e, | 4672 | 0x00004916,0x000700f5,0x00000006,0x000064d2, |
| 4290 | 0x00005da9,0x00004616,0x0000609f,0x00004637, | 4673 | 0x000061cf,0x000048f4,0x000064d3,0x00004915, |
| 4291 | 0x000700f5,0x00000006,0x00006093,0x00005da4, | 4674 | 0x000700f5,0x00000006,0x000064c7,0x000061ca, |
| 4292 | 0x00004616,0x00006094,0x00004637,0x00050080, | 4675 | 0x000048f4,0x000064c8,0x00004915,0x00050080, |
| 4293 | 0x00000006,0x0000463a,0x00005da3,0x00000264, | 4676 | 0x00000006,0x00004918,0x000061c9,0x0000026c, |
| 4294 | 0x000200f9,0x00004600,0x000200f8,0x0000463b, | 4677 | 0x000200f9,0x000048de,0x000200f8,0x00004919, |
| 4295 | 0x000300f7,0x0000463f,0x00000000,0x000400fa, | 4678 | 0x000300f7,0x0000491d,0x00000000,0x000400fa, |
| 4296 | 0x00004605,0x0000463e,0x0000463f,0x000200f8, | 4679 | 0x000048e3,0x0000491c,0x0000491d,0x000200f8, |
| 4297 | 0x0000463e,0x000200f9,0x0000469b,0x000200f8, | 4680 | 0x0000491c,0x000200f9,0x00004979,0x000200f8, |
| 4298 | 0x0000463f,0x0003003e,0x000045e9,0x000003e7, | 4681 | 0x0000491d,0x0003003e,0x000048c7,0x00000444, |
| 4299 | 0x00050080,0x00000006,0x00004645,0x00005da4, | 4682 | 0x00050080,0x00000006,0x00004923,0x000061ca, |
| 4300 | 0x00000280,0x00050089,0x00000006,0x00004646, | 4683 | 0x00000288,0x00050089,0x00000006,0x00004924, |
| 4301 | 0x00004645,0x00000470,0x00050041,0x00000009, | 4684 | 0x00004923,0x000004d7,0x00050041,0x00000009, |
| 4302 | 0x00004647,0x0000400e,0x00005d9d,0x0004003d, | 4685 | 0x00004925,0x000042ec,0x000061c3,0x0004003d, |
| 4303 | 0x00000006,0x00004648,0x00004647,0x00060041, | 4686 | 0x00000006,0x00004926,0x00004925,0x00060041, |
| 4304 | 0x000000e5,0x00004649,0x00004555,0x00005d9d, | 4687 | 0x000000ec,0x00004927,0x00004833,0x000061c3, |
| 4305 | 0x00004646,0x0004003d,0x000000df,0x0000464a, | 4688 | 0x00004924,0x0004003d,0x000000e6,0x00004928, |
| 4306 | 0x00004649,0x00050041,0x000001bb,0x000048af, | 4689 | 0x00004927,0x00050041,0x000001c3,0x00004b8d, |
| 4307 | 0x000001b9,0x0000034a,0x0004003d,0x00000006, | 4690 | 0x000001c1,0x00000352,0x0004003d,0x00000006, |
| 4308 | 0x000048b0,0x000048af,0x00050084,0x00000006, | 4691 | 0x00004b8e,0x00004b8d,0x00050084,0x00000006, |
| 4309 | 0x000048b2,0x000001c4,0x00004648,0x00050080, | 4692 | 0x00004b90,0x000001cc,0x00004926,0x00050080, |
| 4310 | 0x00000006,0x000048b3,0x000048b0,0x000048b2, | 4693 | 0x00000006,0x00004b91,0x00004b8e,0x00004b90, |
| 4311 | 0x00050041,0x00000266,0x00004899,0x000001b9, | 4694 | 0x00050041,0x0000026e,0x00004b77,0x000001c1, |
| 4312 | 0x0000016b,0x0004003d,0x00000007,0x0000489a, | 4695 | 0x00000173,0x0004003d,0x00000007,0x00004b78, |
| 4313 | 0x00004899,0x00050051,0x00000006,0x0000489d, | 4696 | 0x00004b77,0x00050051,0x00000006,0x00004b7b, |
| 4314 | 0x0000464a,0x00000000,0x00050051,0x00000006, | 4697 | 0x00004928,0x00000000,0x00050051,0x00000006, |
| 4315 | 0x000048c9,0x0000489a,0x00000000,0x00050095, | 4698 | 0x00004ba7,0x00004b78,0x00000000,0x00050095, |
| 4316 | 0x0000013d,0x000048cb,0x000048c9,0x000048b3, | 4699 | 0x00000145,0x00004ba9,0x00004ba7,0x00004b91, |
| 4317 | 0x00050051,0x00000006,0x000048cc,0x000048cb, | 4700 | 0x00050051,0x00000006,0x00004baa,0x00004ba9, |
| 4318 | 0x00000001,0x00050051,0x00000006,0x000048cd, | 4701 | 0x00000001,0x00050051,0x00000006,0x00004bab, |
| 4319 | 0x000048cb,0x00000000,0x00050051,0x00000006, | 4702 | 0x00004ba9,0x00000000,0x00050051,0x00000006, |
| 4320 | 0x000048d0,0x0000489a,0x00000001,0x00050080, | 4703 | 0x00004bae,0x00004b78,0x00000001,0x00050080, |
| 4321 | 0x00000006,0x000048d2,0x000048d0,0x000048cc, | 4704 | 0x00000006,0x00004bb0,0x00004bae,0x00004baa, |
| 4322 | 0x00050050,0x00000007,0x000048d3,0x000048cd, | 4705 | 0x00050050,0x00000007,0x00004bb1,0x00004bab, |
| 4323 | 0x000048d2,0x0004007c,0x00000014,0x000048c3, | 4706 | 0x00004bb0,0x0004007c,0x00000014,0x00004ba1, |
| 4324 | 0x000048d3,0x00060041,0x0000016c,0x000048bb, | 4707 | 0x00004bb1,0x00060041,0x00000174,0x00004b99, |
| 4325 | 0x000048c3,0x0000016b,0x0000016b,0x0005003e, | 4708 | 0x00004ba1,0x00000173,0x00000173,0x0005003e, |
| 4326 | 0x000048bb,0x0000489d,0x00000002,0x00000004, | 4709 | 0x00004b99,0x00004b7b,0x00000002,0x00000004, |
| 4327 | 0x00050080,0x00000006,0x000048a0,0x000048b3, | 4710 | 0x00050080,0x00000006,0x00004b7e,0x00004b91, |
| 4328 | 0x000000ec,0x00050051,0x00000006,0x000048a4, | 4711 | 0x000000f3,0x00050051,0x00000006,0x00004b82, |
| 4329 | 0x0000464a,0x00000001,0x00050095,0x0000013d, | 4712 | 0x00004928,0x00000001,0x00050095,0x00000145, |
| 4330 | 0x000048eb,0x000048c9,0x000048a0,0x00050051, | 4713 | 0x00004bc9,0x00004ba7,0x00004b7e,0x00050051, |
| 4331 | 0x00000006,0x000048ec,0x000048eb,0x00000001, | 4714 | 0x00000006,0x00004bca,0x00004bc9,0x00000001, |
| 4332 | 0x00050051,0x00000006,0x000048ed,0x000048eb, | 4715 | 0x00050051,0x00000006,0x00004bcb,0x00004bc9, |
| 4333 | 0x00000000,0x00050080,0x00000006,0x000048f2, | 4716 | 0x00000000,0x00050080,0x00000006,0x00004bd0, |
| 4334 | 0x000048d0,0x000048ec,0x00050050,0x00000007, | 4717 | 0x00004bae,0x00004bca,0x00050050,0x00000007, |
| 4335 | 0x000048f3,0x000048ed,0x000048f2,0x0004007c, | 4718 | 0x00004bd1,0x00004bcb,0x00004bd0,0x0004007c, |
| 4336 | 0x00000014,0x000048e3,0x000048f3,0x00060041, | 4719 | 0x00000014,0x00004bc1,0x00004bd1,0x00060041, |
| 4337 | 0x0000016c,0x000048db,0x000048e3,0x0000016b, | 4720 | 0x00000174,0x00004bb9,0x00004bc1,0x00000173, |
| 4338 | 0x0000016b,0x0005003e,0x000048db,0x000048a4, | 4721 | 0x00000173,0x0005003e,0x00004bb9,0x00004b82, |
| 4339 | 0x00000002,0x00000004,0x00050080,0x00000006, | 4722 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 4340 | 0x000048a7,0x000048b3,0x000001cd,0x00050051, | 4723 | 0x00004b85,0x00004b91,0x000001d5,0x00050051, |
| 4341 | 0x00000006,0x000048ab,0x0000464a,0x00000002, | 4724 | 0x00000006,0x00004b89,0x00004928,0x00000002, |
| 4342 | 0x00050095,0x0000013d,0x0000490b,0x000048c9, | 4725 | 0x00050095,0x00000145,0x00004be9,0x00004ba7, |
| 4343 | 0x000048a7,0x00050051,0x00000006,0x0000490c, | 4726 | 0x00004b85,0x00050051,0x00000006,0x00004bea, |
| 4344 | 0x0000490b,0x00000001,0x00050051,0x00000006, | 4727 | 0x00004be9,0x00000001,0x00050051,0x00000006, |
| 4345 | 0x0000490d,0x0000490b,0x00000000,0x00050080, | 4728 | 0x00004beb,0x00004be9,0x00000000,0x00050080, |
| 4346 | 0x00000006,0x00004912,0x000048d0,0x0000490c, | 4729 | 0x00000006,0x00004bf0,0x00004bae,0x00004bea, |
| 4347 | 0x00050050,0x00000007,0x00004913,0x0000490d, | 4730 | 0x00050050,0x00000007,0x00004bf1,0x00004beb, |
| 4348 | 0x00004912,0x0004007c,0x00000014,0x00004903, | 4731 | 0x00004bf0,0x0004007c,0x00000014,0x00004be1, |
| 4349 | 0x00004913,0x00060041,0x0000016c,0x000048fb, | 4732 | 0x00004bf1,0x00060041,0x00000174,0x00004bd9, |
| 4350 | 0x00004903,0x0000016b,0x0000016b,0x0005003e, | 4733 | 0x00004be1,0x00000173,0x00000173,0x0005003e, |
| 4351 | 0x000048fb,0x000048ab,0x00000002,0x00000004, | 4734 | 0x00004bd9,0x00004b89,0x00000002,0x00000004, |
| 4352 | 0x0004003d,0x00000006,0x00004650,0x00004647, | 4735 | 0x0004003d,0x00000006,0x0000492e,0x00004925, |
| 4353 | 0x00060041,0x000000e5,0x00004651,0x00004555, | 4736 | 0x00060041,0x000000ec,0x0000492f,0x00004833, |
| 4354 | 0x00005d9d,0x00005da4,0x0004003d,0x000000df, | 4737 | 0x000061c3,0x000061ca,0x0004003d,0x000000e6, |
| 4355 | 0x00004652,0x00004651,0x00050084,0x00000006, | 4738 | 0x00004930,0x0000492f,0x00050084,0x00000006, |
| 4356 | 0x0000493e,0x000001c4,0x00004650,0x00050080, | 4739 | 0x00004c1c,0x000001cc,0x0000492e,0x00050080, |
| 4357 | 0x00000006,0x0000493f,0x000048b0,0x0000493e, | 4740 | 0x00000006,0x00004c1d,0x00004b8e,0x00004c1c, |
| 4358 | 0x00050080,0x00000006,0x00004924,0x0000493f, | 4741 | 0x00050080,0x00000006,0x00004c02,0x00004c1d, |
| 4359 | 0x000001d4,0x00050051,0x00000006,0x00004929, | 4742 | 0x000001dc,0x00050051,0x00000006,0x00004c07, |
| 4360 | 0x00004652,0x00000000,0x00050095,0x0000013d, | 4743 | 0x00004930,0x00000000,0x00050095,0x00000145, |
| 4361 | 0x00004957,0x000048c9,0x00004924,0x00050051, | 4744 | 0x00004c35,0x00004ba7,0x00004c02,0x00050051, |
| 4362 | 0x00000006,0x00004958,0x00004957,0x00000001, | 4745 | 0x00000006,0x00004c36,0x00004c35,0x00000001, |
| 4363 | 0x00050051,0x00000006,0x00004959,0x00004957, | 4746 | 0x00050051,0x00000006,0x00004c37,0x00004c35, |
| 4364 | 0x00000000,0x00050080,0x00000006,0x0000495e, | 4747 | 0x00000000,0x00050080,0x00000006,0x00004c3c, |
| 4365 | 0x000048d0,0x00004958,0x00050050,0x00000007, | 4748 | 0x00004bae,0x00004c36,0x00050050,0x00000007, |
| 4366 | 0x0000495f,0x00004959,0x0000495e,0x0004007c, | 4749 | 0x00004c3d,0x00004c37,0x00004c3c,0x0004007c, |
| 4367 | 0x00000014,0x0000494f,0x0000495f,0x00060041, | 4750 | 0x00000014,0x00004c2d,0x00004c3d,0x00060041, |
| 4368 | 0x0000016c,0x00004947,0x0000494f,0x0000016b, | 4751 | 0x00000174,0x00004c25,0x00004c2d,0x00000173, |
| 4369 | 0x0000016b,0x0005003e,0x00004947,0x00004929, | 4752 | 0x00000173,0x0005003e,0x00004c25,0x00004c07, |
| 4370 | 0x00000002,0x00000004,0x00050080,0x00000006, | 4753 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 4371 | 0x0000492c,0x0000493f,0x000001db,0x00050051, | 4754 | 0x00004c0a,0x00004c1d,0x000001e3,0x00050051, |
| 4372 | 0x00000006,0x00004930,0x00004652,0x00000001, | 4755 | 0x00000006,0x00004c0e,0x00004930,0x00000001, |
| 4373 | 0x00050095,0x0000013d,0x00004977,0x000048c9, | 4756 | 0x00050095,0x00000145,0x00004c55,0x00004ba7, |
| 4374 | 0x0000492c,0x00050051,0x00000006,0x00004978, | 4757 | 0x00004c0a,0x00050051,0x00000006,0x00004c56, |
| 4375 | 0x00004977,0x00000001,0x00050051,0x00000006, | 4758 | 0x00004c55,0x00000001,0x00050051,0x00000006, |
| 4376 | 0x00004979,0x00004977,0x00000000,0x00050080, | 4759 | 0x00004c57,0x00004c55,0x00000000,0x00050080, |
| 4377 | 0x00000006,0x0000497e,0x000048d0,0x00004978, | 4760 | 0x00000006,0x00004c5c,0x00004bae,0x00004c56, |
| 4378 | 0x00050050,0x00000007,0x0000497f,0x00004979, | 4761 | 0x00050050,0x00000007,0x00004c5d,0x00004c57, |
| 4379 | 0x0000497e,0x0004007c,0x00000014,0x0000496f, | 4762 | 0x00004c5c,0x0004007c,0x00000014,0x00004c4d, |
| 4380 | 0x0000497f,0x00060041,0x0000016c,0x00004967, | 4763 | 0x00004c5d,0x00060041,0x00000174,0x00004c45, |
| 4381 | 0x0000496f,0x0000016b,0x0000016b,0x0005003e, | 4764 | 0x00004c4d,0x00000173,0x00000173,0x0005003e, |
| 4382 | 0x00004967,0x00004930,0x00000002,0x00000004, | 4765 | 0x00004c45,0x00004c0e,0x00000002,0x00000004, |
| 4383 | 0x00050080,0x00000006,0x00004933,0x0000493f, | 4766 | 0x00050080,0x00000006,0x00004c11,0x00004c1d, |
| 4384 | 0x00000299,0x00050051,0x00000006,0x00004937, | 4767 | 0x000002a1,0x00050051,0x00000006,0x00004c15, |
| 4385 | 0x00004652,0x00000002,0x00050095,0x0000013d, | 4768 | 0x00004930,0x00000002,0x00050095,0x00000145, |
| 4386 | 0x00004997,0x000048c9,0x00004933,0x00050051, | 4769 | 0x00004c75,0x00004ba7,0x00004c11,0x00050051, |
| 4387 | 0x00000006,0x00004998,0x00004997,0x00000001, | 4770 | 0x00000006,0x00004c76,0x00004c75,0x00000001, |
| 4388 | 0x00050051,0x00000006,0x00004999,0x00004997, | 4771 | 0x00050051,0x00000006,0x00004c77,0x00004c75, |
| 4389 | 0x00000000,0x00050080,0x00000006,0x0000499e, | 4772 | 0x00000000,0x00050080,0x00000006,0x00004c7c, |
| 4390 | 0x000048d0,0x00004998,0x00050050,0x00000007, | 4773 | 0x00004bae,0x00004c76,0x00050050,0x00000007, |
| 4391 | 0x0000499f,0x00004999,0x0000499e,0x0004007c, | 4774 | 0x00004c7d,0x00004c77,0x00004c7c,0x0004007c, |
| 4392 | 0x00000014,0x0000498f,0x0000499f,0x00060041, | 4775 | 0x00000014,0x00004c6d,0x00004c7d,0x00060041, |
| 4393 | 0x0000016c,0x00004987,0x0000498f,0x0000016b, | 4776 | 0x00000174,0x00004c65,0x00004c6d,0x00000173, |
| 4394 | 0x0000016b,0x0005003e,0x00004987,0x00004937, | 4777 | 0x00000173,0x0005003e,0x00004c65,0x00004c15, |
| 4395 | 0x00000002,0x00000004,0x00050080,0x00000006, | 4778 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 4396 | 0x00004657,0x00005da4,0x00000142,0x00050089, | 4779 | 0x00004935,0x000061ca,0x0000014a,0x00050089, |
| 4397 | 0x00000006,0x00004658,0x00004657,0x00000470, | 4780 | 0x00000006,0x00004936,0x00004935,0x000004d7, |
| 4398 | 0x0004003d,0x00000006,0x0000465a,0x00004647, | 4781 | 0x0004003d,0x00000006,0x00004938,0x00004925, |
| 4399 | 0x00060041,0x000000e5,0x0000465b,0x00004555, | 4782 | 0x00060041,0x000000ec,0x00004939,0x00004833, |
| 4400 | 0x00005d9d,0x00004658,0x0004003d,0x000000df, | 4783 | 0x000061c3,0x00004936,0x0004003d,0x000000e6, |
| 4401 | 0x0000465c,0x0000465b,0x00050084,0x00000006, | 4784 | 0x0000493a,0x00004939,0x00050084,0x00000006, |
| 4402 | 0x000049ca,0x000001c4,0x0000465a,0x00050080, | 4785 | 0x00004ca8,0x000001cc,0x00004938,0x00050080, |
| 4403 | 0x00000006,0x000049cb,0x000048b0,0x000049ca, | 4786 | 0x00000006,0x00004ca9,0x00004b8e,0x00004ca8, |
| 4404 | 0x00050080,0x00000006,0x000049b0,0x000049cb, | 4787 | 0x00050080,0x00000006,0x00004c8e,0x00004ca9, |
| 4405 | 0x000001ef,0x00050051,0x00000006,0x000049b5, | 4788 | 0x000001f7,0x00050051,0x00000006,0x00004c93, |
| 4406 | 0x0000465c,0x00000000,0x00050095,0x0000013d, | 4789 | 0x0000493a,0x00000000,0x00050095,0x00000145, |
| 4407 | 0x000049e3,0x000048c9,0x000049b0,0x00050051, | 4790 | 0x00004cc1,0x00004ba7,0x00004c8e,0x00050051, |
| 4408 | 0x00000006,0x000049e4,0x000049e3,0x00000001, | 4791 | 0x00000006,0x00004cc2,0x00004cc1,0x00000001, |
| 4409 | 0x00050051,0x00000006,0x000049e5,0x000049e3, | 4792 | 0x00050051,0x00000006,0x00004cc3,0x00004cc1, |
| 4410 | 0x00000000,0x00050080,0x00000006,0x000049ea, | 4793 | 0x00000000,0x00050080,0x00000006,0x00004cc8, |
| 4411 | 0x000048d0,0x000049e4,0x00050050,0x00000007, | 4794 | 0x00004bae,0x00004cc2,0x00050050,0x00000007, |
| 4412 | 0x000049eb,0x000049e5,0x000049ea,0x0004007c, | 4795 | 0x00004cc9,0x00004cc3,0x00004cc8,0x0004007c, |
| 4413 | 0x00000014,0x000049db,0x000049eb,0x00060041, | 4796 | 0x00000014,0x00004cb9,0x00004cc9,0x00060041, |
| 4414 | 0x0000016c,0x000049d3,0x000049db,0x0000016b, | 4797 | 0x00000174,0x00004cb1,0x00004cb9,0x00000173, |
| 4415 | 0x0000016b,0x0005003e,0x000049d3,0x000049b5, | 4798 | 0x00000173,0x0005003e,0x00004cb1,0x00004c93, |
| 4416 | 0x00000002,0x00000004,0x00050080,0x00000006, | 4799 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 4417 | 0x000049b8,0x000049cb,0x000006d9,0x00050051, | 4800 | 0x00004c96,0x00004ca9,0x0000073f,0x00050051, |
| 4418 | 0x00000006,0x000049bc,0x0000465c,0x00000001, | 4801 | 0x00000006,0x00004c9a,0x0000493a,0x00000001, |
| 4419 | 0x00050095,0x0000013d,0x00004a03,0x000048c9, | 4802 | 0x00050095,0x00000145,0x00004ce1,0x00004ba7, |
| 4420 | 0x000049b8,0x00050051,0x00000006,0x00004a04, | 4803 | 0x00004c96,0x00050051,0x00000006,0x00004ce2, |
| 4421 | 0x00004a03,0x00000001,0x00050051,0x00000006, | 4804 | 0x00004ce1,0x00000001,0x00050051,0x00000006, |
| 4422 | 0x00004a05,0x00004a03,0x00000000,0x00050080, | 4805 | 0x00004ce3,0x00004ce1,0x00000000,0x00050080, |
| 4423 | 0x00000006,0x00004a0a,0x000048d0,0x00004a04, | 4806 | 0x00000006,0x00004ce8,0x00004bae,0x00004ce2, |
| 4424 | 0x00050050,0x00000007,0x00004a0b,0x00004a05, | 4807 | 0x00050050,0x00000007,0x00004ce9,0x00004ce3, |
| 4425 | 0x00004a0a,0x0004007c,0x00000014,0x000049fb, | 4808 | 0x00004ce8,0x0004007c,0x00000014,0x00004cd9, |
| 4426 | 0x00004a0b,0x00060041,0x0000016c,0x000049f3, | 4809 | 0x00004ce9,0x00060041,0x00000174,0x00004cd1, |
| 4427 | 0x000049fb,0x0000016b,0x0000016b,0x0005003e, | 4810 | 0x00004cd9,0x00000173,0x00000173,0x0005003e, |
| 4428 | 0x000049f3,0x000049bc,0x00000002,0x00000004, | 4811 | 0x00004cd1,0x00004c9a,0x00000002,0x00000004, |
| 4429 | 0x00050080,0x00000006,0x000049bf,0x000049cb, | 4812 | 0x00050080,0x00000006,0x00004c9d,0x00004ca9, |
| 4430 | 0x00000205,0x00050051,0x00000006,0x000049c3, | 4813 | 0x0000020d,0x00050051,0x00000006,0x00004ca1, |
| 4431 | 0x0000465c,0x00000002,0x00050095,0x0000013d, | 4814 | 0x0000493a,0x00000002,0x00050095,0x00000145, |
| 4432 | 0x00004a23,0x000048c9,0x000049bf,0x00050051, | 4815 | 0x00004d01,0x00004ba7,0x00004c9d,0x00050051, |
| 4433 | 0x00000006,0x00004a24,0x00004a23,0x00000001, | 4816 | 0x00000006,0x00004d02,0x00004d01,0x00000001, |
| 4434 | 0x00050051,0x00000006,0x00004a25,0x00004a23, | 4817 | 0x00050051,0x00000006,0x00004d03,0x00004d01, |
| 4435 | 0x00000000,0x00050080,0x00000006,0x00004a2a, | 4818 | 0x00000000,0x00050080,0x00000006,0x00004d08, |
| 4436 | 0x000048d0,0x00004a24,0x00050050,0x00000007, | 4819 | 0x00004bae,0x00004d02,0x00050050,0x00000007, |
| 4437 | 0x00004a2b,0x00004a25,0x00004a2a,0x0004007c, | 4820 | 0x00004d09,0x00004d03,0x00004d08,0x0004007c, |
| 4438 | 0x00000014,0x00004a1b,0x00004a2b,0x00060041, | 4821 | 0x00000014,0x00004cf9,0x00004d09,0x00060041, |
| 4439 | 0x0000016c,0x00004a13,0x00004a1b,0x0000016b, | 4822 | 0x00000174,0x00004cf1,0x00004cf9,0x00000173, |
| 4440 | 0x0000016b,0x0005003e,0x00004a13,0x000049c3, | 4823 | 0x00000173,0x0005003e,0x00004cf1,0x00004ca1, |
| 4441 | 0x00000002,0x00000004,0x00050080,0x00000006, | 4824 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 4442 | 0x00004661,0x00005da9,0x00000280,0x00050089, | 4825 | 0x0000493f,0x000061cf,0x00000288,0x00050089, |
| 4443 | 0x00000006,0x00004662,0x00004661,0x00000470, | 4826 | 0x00000006,0x00004940,0x0000493f,0x000004d7, |
| 4444 | 0x0004003d,0x00000006,0x00004664,0x00004647, | 4827 | 0x0004003d,0x00000006,0x00004942,0x00004925, |
| 4445 | 0x00060041,0x000000e5,0x00004665,0x00004555, | 4828 | 0x00060041,0x000000ec,0x00004943,0x00004833, |
| 4446 | 0x00005d9f,0x00004662,0x0004003d,0x000000df, | 4829 | 0x000061c5,0x00004940,0x0004003d,0x000000e6, |
| 4447 | 0x00004666,0x00004665,0x00050084,0x00000006, | 4830 | 0x00004944,0x00004943,0x00050084,0x00000006, |
| 4448 | 0x00004a56,0x000001c4,0x00004664,0x00050080, | 4831 | 0x00004d34,0x000001cc,0x00004942,0x00050080, |
| 4449 | 0x00000006,0x00004a57,0x000048b0,0x00004a56, | 4832 | 0x00000006,0x00004d35,0x00004b8e,0x00004d34, |
| 4450 | 0x00050080,0x00000006,0x00004a3c,0x00004a57, | 4833 | 0x00050080,0x00000006,0x00004d1a,0x00004d35, |
| 4451 | 0x00000500,0x00050051,0x00000006,0x00004a41, | 4834 | 0x00000567,0x00050051,0x00000006,0x00004d1f, |
| 4452 | 0x00004666,0x00000000,0x00050095,0x0000013d, | 4835 | 0x00004944,0x00000000,0x00050095,0x00000145, |
| 4453 | 0x00004a6f,0x000048c9,0x00004a3c,0x00050051, | 4836 | 0x00004d4d,0x00004ba7,0x00004d1a,0x00050051, |
| 4454 | 0x00000006,0x00004a70,0x00004a6f,0x00000001, | 4837 | 0x00000006,0x00004d4e,0x00004d4d,0x00000001, |
| 4455 | 0x00050051,0x00000006,0x00004a71,0x00004a6f, | 4838 | 0x00050051,0x00000006,0x00004d4f,0x00004d4d, |
| 4456 | 0x00000000,0x00050080,0x00000006,0x00004a76, | 4839 | 0x00000000,0x00050080,0x00000006,0x00004d54, |
| 4457 | 0x000048d0,0x00004a70,0x00050050,0x00000007, | 4840 | 0x00004bae,0x00004d4e,0x00050050,0x00000007, |
| 4458 | 0x00004a77,0x00004a71,0x00004a76,0x0004007c, | 4841 | 0x00004d55,0x00004d4f,0x00004d54,0x0004007c, |
| 4459 | 0x00000014,0x00004a67,0x00004a77,0x00060041, | 4842 | 0x00000014,0x00004d45,0x00004d55,0x00060041, |
| 4460 | 0x0000016c,0x00004a5f,0x00004a67,0x0000016b, | 4843 | 0x00000174,0x00004d3d,0x00004d45,0x00000173, |
| 4461 | 0x0000016b,0x0005003e,0x00004a5f,0x00004a41, | 4844 | 0x00000173,0x0005003e,0x00004d3d,0x00004d1f, |
| 4462 | 0x00000002,0x00000004,0x00050080,0x00000006, | 4845 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 4463 | 0x00004a44,0x00004a57,0x0000050b,0x00050051, | 4846 | 0x00004d22,0x00004d35,0x00000572,0x00050051, |
| 4464 | 0x00000006,0x00004a48,0x00004666,0x00000001, | 4847 | 0x00000006,0x00004d26,0x00004944,0x00000001, |
| 4465 | 0x00050095,0x0000013d,0x00004a8f,0x000048c9, | 4848 | 0x00050095,0x00000145,0x00004d6d,0x00004ba7, |
| 4466 | 0x00004a44,0x00050051,0x00000006,0x00004a90, | 4849 | 0x00004d22,0x00050051,0x00000006,0x00004d6e, |
| 4467 | 0x00004a8f,0x00000001,0x00050051,0x00000006, | 4850 | 0x00004d6d,0x00000001,0x00050051,0x00000006, |
| 4468 | 0x00004a91,0x00004a8f,0x00000000,0x00050080, | 4851 | 0x00004d6f,0x00004d6d,0x00000000,0x00050080, |
| 4469 | 0x00000006,0x00004a96,0x000048d0,0x00004a90, | 4852 | 0x00000006,0x00004d74,0x00004bae,0x00004d6e, |
| 4470 | 0x00050050,0x00000007,0x00004a97,0x00004a91, | 4853 | 0x00050050,0x00000007,0x00004d75,0x00004d6f, |
| 4471 | 0x00004a96,0x0004007c,0x00000014,0x00004a87, | 4854 | 0x00004d74,0x0004007c,0x00000014,0x00004d65, |
| 4472 | 0x00004a97,0x00060041,0x0000016c,0x00004a7f, | 4855 | 0x00004d75,0x00060041,0x00000174,0x00004d5d, |
| 4473 | 0x00004a87,0x0000016b,0x0000016b,0x0005003e, | 4856 | 0x00004d65,0x00000173,0x00000173,0x0005003e, |
| 4474 | 0x00004a7f,0x00004a48,0x00000002,0x00000004, | 4857 | 0x00004d5d,0x00004d26,0x00000002,0x00000004, |
| 4475 | 0x00050080,0x00000006,0x00004a4b,0x00004a57, | 4858 | 0x00050080,0x00000006,0x00004d29,0x00004d35, |
| 4476 | 0x00000516,0x00050051,0x00000006,0x00004a4f, | 4859 | 0x0000057d,0x00050051,0x00000006,0x00004d2d, |
| 4477 | 0x00004666,0x00000002,0x00050095,0x0000013d, | 4860 | 0x00004944,0x00000002,0x00050095,0x00000145, |
| 4478 | 0x00004aaf,0x000048c9,0x00004a4b,0x00050051, | 4861 | 0x00004d8d,0x00004ba7,0x00004d29,0x00050051, |
| 4479 | 0x00000006,0x00004ab0,0x00004aaf,0x00000001, | 4862 | 0x00000006,0x00004d8e,0x00004d8d,0x00000001, |
| 4480 | 0x00050051,0x00000006,0x00004ab1,0x00004aaf, | 4863 | 0x00050051,0x00000006,0x00004d8f,0x00004d8d, |
| 4481 | 0x00000000,0x00050080,0x00000006,0x00004ab6, | 4864 | 0x00000000,0x00050080,0x00000006,0x00004d94, |
| 4482 | 0x000048d0,0x00004ab0,0x00050050,0x00000007, | 4865 | 0x00004bae,0x00004d8e,0x00050050,0x00000007, |
| 4483 | 0x00004ab7,0x00004ab1,0x00004ab6,0x0004007c, | 4866 | 0x00004d95,0x00004d8f,0x00004d94,0x0004007c, |
| 4484 | 0x00000014,0x00004aa7,0x00004ab7,0x00060041, | 4867 | 0x00000014,0x00004d85,0x00004d95,0x00060041, |
| 4485 | 0x0000016c,0x00004a9f,0x00004aa7,0x0000016b, | 4868 | 0x00000174,0x00004d7d,0x00004d85,0x00000173, |
| 4486 | 0x0000016b,0x0005003e,0x00004a9f,0x00004a4f, | 4869 | 0x00000173,0x0005003e,0x00004d7d,0x00004d2d, |
| 4487 | 0x00000002,0x00000004,0x0004003d,0x00000006, | 4870 | 0x00000002,0x00000004,0x0004003d,0x00000006, |
| 4488 | 0x0000466a,0x00004647,0x00050084,0x00000006, | 4871 | 0x00004948,0x00004925,0x00050084,0x00000006, |
| 4489 | 0x00004abd,0x000001c4,0x0000466a,0x00050080, | 4872 | 0x00004d9b,0x000001cc,0x00004948,0x00050080, |
| 4490 | 0x00000006,0x00004abe,0x000048b0,0x00004abd, | 4873 | 0x00000006,0x00004d9c,0x00004b8e,0x00004d9b, |
| 4491 | 0x00050080,0x00000006,0x0000466c,0x00004abe, | 4874 | 0x00050080,0x00000006,0x0000494a,0x00004d9c, |
| 4492 | 0x00000537,0x00050041,0x00000009,0x0000466e, | 4875 | 0x0000059e,0x00050041,0x00000009,0x0000494c, |
| 4493 | 0x0000400e,0x00005d9f,0x0004003d,0x00000006, | 4876 | 0x000042ec,0x000061c5,0x0004003d,0x00000006, |
| 4494 | 0x0000466f,0x0000466e,0x00050084,0x00000006, | 4877 | 0x0000494d,0x0000494c,0x00050084,0x00000006, |
| 4495 | 0x00004ac4,0x000001c4,0x0000466f,0x00050080, | 4878 | 0x00004da2,0x000001cc,0x0000494d,0x00050080, |
| 4496 | 0x00000006,0x00004ac5,0x000048b0,0x00004ac4, | 4879 | 0x00000006,0x00004da3,0x00004b8e,0x00004da2, |
| 4497 | 0x00050080,0x00000006,0x00004671,0x00004ac5, | 4880 | 0x00050080,0x00000006,0x0000494f,0x00004da3, |
| 4498 | 0x0000052d,0x00050095,0x0000013d,0x00004ade, | 4881 | 0x00000594,0x00050095,0x00000145,0x00004dbc, |
| 4499 | 0x000048c9,0x00004671,0x00050051,0x00000006, | 4882 | 0x00004ba7,0x0000494f,0x00050051,0x00000006, |
| 4500 | 0x00004adf,0x00004ade,0x00000001,0x00050051, | 4883 | 0x00004dbd,0x00004dbc,0x00000001,0x00050051, |
| 4501 | 0x00000006,0x00004ae0,0x00004ade,0x00000000, | 4884 | 0x00000006,0x00004dbe,0x00004dbc,0x00000000, |
| 4502 | 0x00050080,0x00000006,0x00004ae5,0x000048d0, | 4885 | 0x00050080,0x00000006,0x00004dc3,0x00004bae, |
| 4503 | 0x00004adf,0x00050050,0x00000007,0x00004ae6, | 4886 | 0x00004dbd,0x00050050,0x00000007,0x00004dc4, |
| 4504 | 0x00004ae0,0x00004ae5,0x0004007c,0x00000014, | 4887 | 0x00004dbe,0x00004dc3,0x0004007c,0x00000014, |
| 4505 | 0x00004ad6,0x00004ae6,0x00060041,0x0000016c, | 4888 | 0x00004db4,0x00004dc4,0x00060041,0x00000174, |
| 4506 | 0x00004acd,0x00004ad6,0x0000016b,0x0000016b, | 4889 | 0x00004dab,0x00004db4,0x00000173,0x00000173, |
| 4507 | 0x0006003d,0x00000006,0x00004ace,0x00004acd, | 4890 | 0x0006003d,0x00000006,0x00004dac,0x00004dab, |
| 4508 | 0x00000002,0x00000004,0x00050095,0x0000013d, | 4891 | 0x00000002,0x00000004,0x00050095,0x00000145, |
| 4509 | 0x00004afe,0x000048c9,0x0000466c,0x00050051, | 4892 | 0x00004ddc,0x00004ba7,0x0000494a,0x00050051, |
| 4510 | 0x00000006,0x00004aff,0x00004afe,0x00000001, | 4893 | 0x00000006,0x00004ddd,0x00004ddc,0x00000001, |
| 4511 | 0x00050051,0x00000006,0x00004b00,0x00004afe, | 4894 | 0x00050051,0x00000006,0x00004dde,0x00004ddc, |
| 4512 | 0x00000000,0x00050080,0x00000006,0x00004b05, | 4895 | 0x00000000,0x00050080,0x00000006,0x00004de3, |
| 4513 | 0x000048d0,0x00004aff,0x00050050,0x00000007, | 4896 | 0x00004bae,0x00004ddd,0x00050050,0x00000007, |
| 4514 | 0x00004b06,0x00004b00,0x00004b05,0x0004007c, | 4897 | 0x00004de4,0x00004dde,0x00004de3,0x0004007c, |
| 4515 | 0x00000014,0x00004af6,0x00004b06,0x00060041, | 4898 | 0x00000014,0x00004dd4,0x00004de4,0x00060041, |
| 4516 | 0x0000016c,0x00004aee,0x00004af6,0x0000016b, | 4899 | 0x00000174,0x00004dcc,0x00004dd4,0x00000173, |
| 4517 | 0x0000016b,0x0005003e,0x00004aee,0x00004ace, | 4900 | 0x00000173,0x0005003e,0x00004dcc,0x00004dac, |
| 4518 | 0x00000002,0x00000004,0x00050082,0x00000006, | 4901 | 0x00000002,0x00000004,0x00050082,0x00000006, |
| 4519 | 0x00004679,0x00000364,0x00005da4,0x00050089, | 4902 | 0x00004957,0x0000036c,0x000061ca,0x00050089, |
| 4520 | 0x00000006,0x0000467a,0x00004679,0x00000470, | 4903 | 0x00000006,0x00004958,0x00004957,0x000004d7, |
| 4521 | 0x00050082,0x00000006,0x0000467c,0x00000355, | 4904 | 0x00050082,0x00000006,0x0000495a,0x0000035d, |
| 4522 | 0x00005da4,0x00050089,0x00000006,0x0000467d, | 4905 | 0x000061ca,0x00050089,0x00000006,0x0000495b, |
| 4523 | 0x0000467c,0x00000470,0x000500c4,0x00000006, | 4906 | 0x0000495a,0x000004d7,0x000500c4,0x00000006, |
| 4524 | 0x0000467e,0x0000467d,0x00000315,0x000500c5, | 4907 | 0x0000495c,0x0000495b,0x0000031d,0x000500c5, |
| 4525 | 0x00000006,0x0000467f,0x0000467a,0x0000467e, | 4908 | 0x00000006,0x0000495d,0x00004958,0x0000495c, |
| 4526 | 0x00050082,0x00000006,0x00004681,0x00000355, | 4909 | 0x00050082,0x00000006,0x0000495f,0x0000035d, |
| 4527 | 0x00005da9,0x00050089,0x00000006,0x00004682, | 4910 | 0x000061cf,0x00050089,0x00000006,0x00004960, |
| 4528 | 0x00004681,0x00000470,0x00050082,0x00000006, | 4911 | 0x0000495f,0x000004d7,0x00050082,0x00000006, |
| 4529 | 0x00004684,0x00000d2b,0x00005da9,0x00050089, | 4912 | 0x00004962,0x00000376,0x000061cf,0x00050089, |
| 4530 | 0x00000006,0x00004685,0x00004684,0x00000470, | 4913 | 0x00000006,0x00004963,0x00004962,0x000004d7, |
| 4531 | 0x000500c4,0x00000006,0x00004686,0x00004685, | 4914 | 0x000500c4,0x00000006,0x00004964,0x00004963, |
| 4532 | 0x00000315,0x000500c5,0x00000006,0x00004687, | 4915 | 0x0000031d,0x000500c5,0x00000006,0x00004965, |
| 4533 | 0x00004682,0x00004686,0x0004003d,0x00000006, | 4916 | 0x00004960,0x00004964,0x0004003d,0x00000006, |
| 4534 | 0x0000468a,0x00004647,0x00050084,0x00000006, | 4917 | 0x00004968,0x00004925,0x00050084,0x00000006, |
| 4535 | 0x00004b0c,0x000001c4,0x0000468a,0x00050080, | 4918 | 0x00004dea,0x000001cc,0x00004968,0x00050080, |
| 4536 | 0x00000006,0x00004b0d,0x000048b0,0x00004b0c, | 4919 | 0x00000006,0x00004deb,0x00004b8e,0x00004dea, |
| 4537 | 0x00050080,0x00000006,0x0000468c,0x00004b0d, | 4920 | 0x00050080,0x00000006,0x0000496a,0x00004deb, |
| 4538 | 0x00000541,0x000500c4,0x00000006,0x0000468f, | 4921 | 0x000005a7,0x000500c4,0x00000006,0x0000496d, |
| 4539 | 0x00004687,0x000004c1,0x000500c5,0x00000006, | 4922 | 0x00004965,0x00000528,0x000500c5,0x00000006, |
| 4540 | 0x00004690,0x0000467f,0x0000468f,0x00050095, | 4923 | 0x0000496e,0x0000495d,0x0000496d,0x00050095, |
| 4541 | 0x0000013d,0x00004b25,0x000048c9,0x0000468c, | 4924 | 0x00000145,0x00004e03,0x00004ba7,0x0000496a, |
| 4542 | 0x00050051,0x00000006,0x00004b26,0x00004b25, | 4925 | 0x00050051,0x00000006,0x00004e04,0x00004e03, |
| 4543 | 0x00000001,0x00050051,0x00000006,0x00004b27, | 4926 | 0x00000001,0x00050051,0x00000006,0x00004e05, |
| 4544 | 0x00004b25,0x00000000,0x00050080,0x00000006, | 4927 | 0x00004e03,0x00000000,0x00050080,0x00000006, |
| 4545 | 0x00004b2c,0x000048d0,0x00004b26,0x00050050, | 4928 | 0x00004e0a,0x00004bae,0x00004e04,0x00050050, |
| 4546 | 0x00000007,0x00004b2d,0x00004b27,0x00004b2c, | 4929 | 0x00000007,0x00004e0b,0x00004e05,0x00004e0a, |
| 4547 | 0x0004007c,0x00000014,0x00004b1d,0x00004b2d, | 4930 | 0x0004007c,0x00000014,0x00004dfb,0x00004e0b, |
| 4548 | 0x00060041,0x0000016c,0x00004b15,0x00004b1d, | 4931 | 0x00060041,0x00000174,0x00004df3,0x00004dfb, |
| 4549 | 0x0000016b,0x0000016b,0x0005003e,0x00004b15, | 4932 | 0x00000173,0x00000173,0x0005003e,0x00004df3, |
| 4550 | 0x00004690,0x00000002,0x00000004,0x00050041, | 4933 | 0x0000496e,0x00000002,0x00000004,0x00050041, |
| 4551 | 0x00000009,0x00004696,0x0000400f,0x00005d9d, | 4934 | 0x00000009,0x00004974,0x000042ed,0x000061c3, |
| 4552 | 0x0004003d,0x00000006,0x00004697,0x00004696, | 4935 | 0x0004003d,0x00000006,0x00004975,0x00004974, |
| 4553 | 0x000500c7,0x00000006,0x00004698,0x00004697, | 4936 | 0x000500c7,0x00000006,0x00004976,0x00004975, |
| 4554 | 0x00000d45,0x000500c5,0x00000006,0x00004699, | 4937 | 0x00000daa,0x000500c5,0x00000006,0x00004977, |
| 4555 | 0x00004698,0x00000142,0x00050041,0x00000009, | 4938 | 0x00004976,0x0000014a,0x00050041,0x00000009, |
| 4556 | 0x0000469a,0x0000400f,0x00005d9f,0x0003003e, | 4939 | 0x00004978,0x000042ed,0x000061c5,0x0003003e, |
| 4557 | 0x0000469a,0x00004699,0x000200f9,0x0000469e, | 4940 | 0x00004978,0x00004977,0x000200f9,0x0000497c, |
| 4558 | 0x000200f8,0x0000469b,0x00050080,0x00000006, | 4941 | 0x000200f8,0x00004979,0x00050080,0x00000006, |
| 4559 | 0x0000469d,0x00005d9f,0x00000264,0x000200f9, | 4942 | 0x0000497b,0x000061c5,0x0000026c,0x000200f9, |
| 4560 | 0x000045e3,0x000200f8,0x0000469e,0x000200f9, | 4943 | 0x000048c1,0x000200f8,0x0000497c,0x000200f9, |
| 4561 | 0x0000469f,0x000200f8,0x0000469f,0x00050080, | 4944 | 0x0000497d,0x000200f8,0x0000497d,0x00050080, |
| 4562 | 0x00000006,0x000046a1,0x00005d9d,0x00000264, | 4945 | 0x00000006,0x0000497f,0x000061c3,0x0000026c, |
| 4563 | 0x000200f9,0x000045cd,0x000200f8,0x000046a2, | 4946 | 0x000200f9,0x000048ab,0x000200f8,0x00004980, |
| 4564 | 0x0004003d,0x000000ed,0x000040ac,0x0000400f, | 4947 | 0x0004003d,0x000000f4,0x0000438a,0x000042ed, |
| 4565 | 0x0003003e,0x00003ff3,0x000040ac,0x000200f9, | 4948 | 0x0003003e,0x000042d1,0x0000438a,0x000200f9, |
| 4566 | 0x000040ad,0x000200f8,0x000040ad,0x000200f9, | 4949 | 0x0000438b,0x000200f8,0x0000438b,0x000200f9, |
| 4567 | 0x000040ae,0x000200f8,0x0000402f,0x000500aa, | 4950 | 0x0000438c,0x000200f8,0x0000430d,0x000500aa, |
| 4568 | 0x0000002f,0x00004032,0x0000402d,0x00000142, | 4951 | 0x0000002f,0x00004310,0x0000430b,0x0000014a, |
| 4569 | 0x000300f7,0x0000403d,0x00000000,0x000400fa, | 4952 | 0x000300f7,0x0000431b,0x00000000,0x000400fa, |
| 4570 | 0x00004032,0x00004033,0x0000403d,0x000200f8, | 4953 | 0x00004310,0x00004311,0x0000431b,0x000200f8, |
| 4571 | 0x00004033,0x00050041,0x000001bb,0x0000411c, | 4954 | 0x00004311,0x00050041,0x000001c3,0x000043fa, |
| 4572 | 0x000001b9,0x000001ba,0x0004003d,0x00000006, | 4955 | 0x000001c1,0x000001c2,0x0004003d,0x00000006, |
| 4573 | 0x0000411d,0x0000411c,0x00050084,0x00000006, | 4956 | 0x000043fb,0x000043fa,0x00050084,0x00000006, |
| 4574 | 0x0000411e,0x000000ec,0x0000411d,0x00050080, | 4957 | 0x000043fc,0x000000f3,0x000043fb,0x00050080, |
| 4575 | 0x00000006,0x0000411f,0x000001c4,0x0000411e, | 4958 | 0x00000006,0x000043fd,0x000001cc,0x000043fc, |
| 4576 | 0x00050041,0x00000266,0x00004035,0x000001b9, | 4959 | 0x00050041,0x0000026e,0x00004313,0x000001c1, |
| 4577 | 0x00000264,0x0004003d,0x00000007,0x00004036, | 4960 | 0x0000026c,0x0004003d,0x00000007,0x00004314, |
| 4578 | 0x00004035,0x00050051,0x00000006,0x00004136, | 4961 | 0x00004313,0x00050051,0x00000006,0x00004414, |
| 4579 | 0x00004036,0x00000000,0x00050095,0x0000013d, | 4962 | 0x00004314,0x00000000,0x00050095,0x00000145, |
| 4580 | 0x00004138,0x00004136,0x0000411f,0x00050051, | 4963 | 0x00004416,0x00004414,0x000043fd,0x00050051, |
| 4581 | 0x00000006,0x00004139,0x00004138,0x00000001, | 4964 | 0x00000006,0x00004417,0x00004416,0x00000001, |
| 4582 | 0x00050051,0x00000006,0x0000413a,0x00004138, | 4965 | 0x00050051,0x00000006,0x00004418,0x00004416, |
| 4583 | 0x00000000,0x00050051,0x00000006,0x0000413d, | 4966 | 0x00000000,0x00050051,0x00000006,0x0000441b, |
| 4584 | 0x00004036,0x00000001,0x00050080,0x00000006, | 4967 | 0x00004314,0x00000001,0x00050080,0x00000006, |
| 4585 | 0x0000413f,0x0000413d,0x00004139,0x00050050, | 4968 | 0x0000441d,0x0000441b,0x00004417,0x00050050, |
| 4586 | 0x00000007,0x00004140,0x0000413a,0x0000413f, | 4969 | 0x00000007,0x0000441e,0x00004418,0x0000441d, |
| 4587 | 0x0004007c,0x00000014,0x00004130,0x00004140, | 4970 | 0x0004007c,0x00000014,0x0000440e,0x0000441e, |
| 4588 | 0x00060041,0x0000016c,0x00004127,0x00004130, | 4971 | 0x00060041,0x00000174,0x00004405,0x0000440e, |
| 4589 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 4972 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 4590 | 0x00004128,0x00004127,0x00000002,0x00000004, | 4973 | 0x00004406,0x00004405,0x00000002,0x00000004, |
| 4591 | 0x00050041,0x00000009,0x00004038,0x00003ff4, | 4974 | 0x00050041,0x00000009,0x00004316,0x000042d2, |
| 4592 | 0x0000016b,0x0003003e,0x00004038,0x00004128, | 4975 | 0x00000173,0x0003003e,0x00004316,0x00004406, |
| 4593 | 0x0004003d,0x00000006,0x0000403a,0x00004038, | 4976 | 0x0004003d,0x00000006,0x00004318,0x00004316, |
| 4594 | 0x00050041,0x000001bb,0x00004143,0x000001b9, | 4977 | 0x00050041,0x000001c3,0x00004421,0x000001c1, |
| 4595 | 0x0000034a,0x0004003d,0x00000006,0x00004144, | 4978 | 0x00000352,0x0004003d,0x00000006,0x00004422, |
| 4596 | 0x00004143,0x00050041,0x000001bb,0x00004154, | 4979 | 0x00004421,0x000500c7,0x00000006,0x00004434, |
| 4597 | 0x000001b9,0x00000334,0x0004003d,0x00000006, | 4980 | 0x000013a9,0x0000014a,0x000500ab,0x0000002f, |
| 4598 | 0x00004155,0x00004154,0x000500c7,0x00000006, | 4981 | 0x00004435,0x00004434,0x00000140,0x000600a9, |
| 4599 | 0x00004156,0x00004155,0x00000142,0x000500ab, | 4982 | 0x00000006,0x0000442f,0x00004435,0x0000034a, |
| 4600 | 0x0000002f,0x00004157,0x00004156,0x00000138, | 4983 | 0x000001cc,0x00050084,0x00000006,0x00004425, |
| 4601 | 0x000600a9,0x00000006,0x00004151,0x00004157, | 4984 | 0x00004318,0x0000442f,0x00050080,0x00000006, |
| 4602 | 0x00000342,0x000001c4,0x00050084,0x00000006, | 4985 | 0x00004426,0x00004422,0x00004425,0x000500c2, |
| 4603 | 0x00004147,0x0000403a,0x00004151,0x00050080, | 4986 | 0x00000006,0x00004427,0x00004426,0x00000359, |
| 4604 | 0x00000006,0x00004148,0x00004144,0x00004147, | 4987 | 0x000500c4,0x00000006,0x00004428,0x00004427, |
| 4605 | 0x000500c2,0x00000006,0x00004149,0x00004148, | 4988 | 0x00000325,0x000600a9,0x00000006,0x0000442a, |
| 4606 | 0x00000351,0x000500c4,0x00000006,0x0000414a, | 4989 | 0x00004435,0x0000035d,0x00000140,0x000500c5, |
| 4607 | 0x00004149,0x0000031d,0x000600a9,0x00000006, | 4990 | 0x00000006,0x0000442b,0x00004428,0x0000442a, |
| 4608 | 0x0000414c,0x00004157,0x00000355,0x00000138, | 4991 | 0x00050041,0x00000009,0x0000431a,0x000042d1, |
| 4609 | 0x000500c5,0x00000006,0x0000414d,0x0000414a, | 4992 | 0x00000173,0x0003003e,0x0000431a,0x0000442b, |
| 4610 | 0x0000414c,0x00050041,0x00000009,0x0000403c, | 4993 | 0x000200f9,0x0000431b,0x000200f8,0x0000431b, |
| 4611 | 0x00003ff3,0x0000016b,0x0003003e,0x0000403c, | 4994 | 0x000200f9,0x0000438c,0x000200f8,0x0000438c, |
| 4612 | 0x0000414d,0x000200f9,0x0000403d,0x000200f8, | 4995 | 0x000700f5,0x00000006,0x000061fe,0x00000140, |
| 4613 | 0x0000403d,0x000200f9,0x000040ae,0x000200f8, | 4996 | 0x0000431b,0x00004546,0x0000438b,0x000200f9, |
| 4614 | 0x000040ae,0x000700f5,0x00000006,0x00005dd8, | 4997 | 0x0000438d,0x000200f8,0x0000438d,0x000700f5, |
| 4615 | 0x00000138,0x0000403d,0x00004268,0x000040ad, | 4998 | 0x00000006,0x000061fc,0x00000140,0x0000438c, |
| 4616 | 0x000200f9,0x000040af,0x000200f8,0x000040af, | 4999 | 0x000043a6,0x000043a4,0x000500b0,0x0000002f, |
| 4617 | 0x000700f5,0x00000006,0x00005dd6,0x00000138, | 5000 | 0x00004390,0x000061fc,0x000000f3,0x000400f6, |
| 4618 | 0x000040ae,0x000040c8,0x000040c6,0x000500b0, | 5001 | 0x000043a7,0x000043a4,0x00000000,0x000400fa, |
| 4619 | 0x0000002f,0x000040b2,0x00005dd6,0x000000ec, | 5002 | 0x00004390,0x00004391,0x000043a7,0x000200f8, |
| 4620 | 0x000400f6,0x000040c9,0x000040c6,0x00000000, | 5003 | 0x00004391,0x00050041,0x00000009,0x00004393, |
| 4621 | 0x000400fa,0x000040b2,0x000040b3,0x000040c9, | 5004 | 0x000042d2,0x000061fc,0x0004003d,0x00000006, |
| 4622 | 0x000200f8,0x000040b3,0x00050041,0x00000009, | 5005 | 0x00004394,0x00004393,0x000500ab,0x0000002f, |
| 4623 | 0x000040b5,0x00003ff4,0x00005dd6,0x0004003d, | 5006 | 0x00004395,0x00004394,0x000003bf,0x000300f7, |
| 4624 | 0x00000006,0x000040b6,0x000040b5,0x000500ab, | 5007 | 0x000043a3,0x00000000,0x000400fa,0x00004395, |
| 4625 | 0x0000002f,0x000040b7,0x000040b6,0x00000539, | 5008 | 0x00004396,0x000043a3,0x000200f8,0x00004396, |
| 4626 | 0x000300f7,0x000040c5,0x00000000,0x000400fa, | 5009 | 0x00050041,0x000001c3,0x00004e52,0x000001c1, |
| 4627 | 0x000040b7,0x000040b8,0x000040c5,0x000200f8, | 5010 | 0x000001c2,0x0004003d,0x00000006,0x00004e53, |
| 4628 | 0x000040b8,0x00050041,0x000001bb,0x00004b74, | 5011 | 0x00004e52,0x00050084,0x00000006,0x00004e54, |
| 4629 | 0x000001b9,0x000001ba,0x0004003d,0x00000006, | 5012 | 0x000001e3,0x00004e53,0x00050080,0x00000006, |
| 4630 | 0x00004b75,0x00004b74,0x00050084,0x00000006, | 5013 | 0x00004e55,0x000001cc,0x00004e54,0x00050080, |
| 4631 | 0x00004b76,0x000001db,0x00004b75,0x00050080, | 5014 | 0x00000006,0x00004e5b,0x00004e53,0x00000695, |
| 4632 | 0x00000006,0x00004b77,0x000001c4,0x00004b76, | 5015 | 0x00050086,0x00000006,0x00004e5c,0x00004e5b, |
| 4633 | 0x00050080,0x00000006,0x00004b7d,0x00004b75, | 5016 | 0x000001c6,0x00050084,0x00000006,0x00004e4e, |
| 4634 | 0x0000062f,0x00050086,0x00000006,0x00004b7e, | 5017 | 0x000001cc,0x00004e5c,0x00050080,0x00000006, |
| 4635 | 0x00004b7d,0x000001be,0x00050084,0x00000006, | 5018 | 0x00004e4f,0x00004e55,0x00004e4e,0x00050080, |
| 4636 | 0x00004b70,0x000001c4,0x00004b7e,0x00050080, | 5019 | 0x00000006,0x00004e49,0x00004e4f,0x00004e4e, |
| 4637 | 0x00000006,0x00004b71,0x00004b77,0x00004b70, | 5020 | 0x00050084,0x00000006,0x00004e42,0x000001f7, |
| 4638 | 0x00050080,0x00000006,0x00004b6b,0x00004b71, | 5021 | 0x0000430b,0x00050080,0x00000006,0x00004e43, |
| 4639 | 0x00004b70,0x00050084,0x00000006,0x00004b64, | 5022 | 0x00004e49,0x00004e42,0x00050041,0x000001c3, |
| 4640 | 0x000001ef,0x0000402d,0x00050080,0x00000006, | 5023 | 0x00004e39,0x000001c1,0x0000020e,0x0004003d, |
| 4641 | 0x00004b65,0x00004b6b,0x00004b64,0x00050041, | 5024 | 0x00000006,0x00004e3a,0x00004e39,0x00050084, |
| 4642 | 0x000001bb,0x00004b5b,0x000001b9,0x00000206, | 5025 | 0x00000006,0x00004e3b,0x0000020d,0x00004e3a, |
| 4643 | 0x0004003d,0x00000006,0x00004b5c,0x00004b5b, | 5026 | 0x00050080,0x00000006,0x00004e3c,0x00004e43, |
| 4644 | 0x00050084,0x00000006,0x00004b5d,0x00000205, | 5027 | 0x00004e3b,0x000500ac,0x0000002f,0x00004e69, |
| 4645 | 0x00004b5c,0x00050080,0x00000006,0x00004b5e, | 5028 | 0x0000430b,0x0000014a,0x000300f7,0x00004e6f, |
| 4646 | 0x00004b65,0x00004b5d,0x000500ac,0x0000002f, | 5029 | 0x00000000,0x000400fa,0x00004e69,0x00004e6a, |
| 4647 | 0x00004b8b,0x0000402d,0x00000142,0x000300f7, | 5030 | 0x00004e6e,0x000200f8,0x00004e6e,0x000200f9, |
| 4648 | 0x00004b91,0x00000000,0x000400fa,0x00004b8b, | 5031 | 0x00004e6f,0x000200f8,0x00004e6a,0x00050082, |
| 4649 | 0x00004b8c,0x00004b90,0x000200f8,0x00004b90, | 5032 | 0x00000006,0x00004e6d,0x0000430b,0x0000014a, |
| 4650 | 0x000200f9,0x00004b91,0x000200f8,0x00004b8c, | 5033 | 0x000200f9,0x00004e6f,0x000200f8,0x00004e6f, |
| 4651 | 0x00050082,0x00000006,0x00004b8f,0x0000402d, | 5034 | 0x000700f5,0x00000006,0x00006258,0x00004e6d, |
| 4652 | 0x00000142,0x000200f9,0x00004b91,0x000200f8, | 5035 | 0x00004e6a,0x00000140,0x00004e6e,0x00050084, |
| 4653 | 0x00004b91,0x000700f5,0x00000006,0x00005e32, | 5036 | 0x00000006,0x00004e34,0x000000f3,0x00006258, |
| 4654 | 0x00004b8f,0x00004b8c,0x00000138,0x00004b90, | 5037 | 0x00050080,0x00000006,0x00004e35,0x00004e3c, |
| 4655 | 0x00050084,0x00000006,0x00004b56,0x000000ec, | 5038 | 0x00004e34,0x000300f7,0x00004e7c,0x00000000, |
| 4656 | 0x00005e32,0x00050080,0x00000006,0x00004b57, | 5039 | 0x000400fa,0x00004e69,0x00004e77,0x00004e7b, |
| 4657 | 0x00004b5e,0x00004b56,0x000300f7,0x00004b9e, | 5040 | 0x000200f8,0x00004e7b,0x000200f9,0x00004e7c, |
| 4658 | 0x00000000,0x000400fa,0x00004b8b,0x00004b99, | 5041 | 0x000200f8,0x00004e77,0x00050082,0x00000006, |
| 4659 | 0x00004b9d,0x000200f8,0x00004b9d,0x000200f9, | 5042 | 0x00004e7a,0x0000430b,0x0000014a,0x000200f9, |
| 4660 | 0x00004b9e,0x000200f8,0x00004b99,0x00050082, | 5043 | 0x00004e7c,0x000200f8,0x00004e7c,0x000700f5, |
| 4661 | 0x00000006,0x00004b9c,0x0000402d,0x00000142, | 5044 | 0x00000006,0x00006259,0x00004e7a,0x00004e77, |
| 4662 | 0x000200f9,0x00004b9e,0x000200f8,0x00004b9e, | 5045 | 0x00000140,0x00004e7b,0x00050084,0x00000006, |
| 4663 | 0x000700f5,0x00000006,0x00005e33,0x00004b9c, | 5046 | 0x00004e2e,0x000000f3,0x00006259,0x00050080, |
| 4664 | 0x00004b99,0x00000138,0x00004b9d,0x00050084, | 5047 | 0x00000006,0x00004e2f,0x00004e35,0x00004e2e, |
| 4665 | 0x00000006,0x00004b50,0x000000ec,0x00005e33, | 5048 | 0x000300f7,0x00004e89,0x00000000,0x000400fa, |
| 4666 | 0x00050080,0x00000006,0x00004b51,0x00004b57, | 5049 | 0x00004e69,0x00004e84,0x00004e88,0x000200f8, |
| 4667 | 0x00004b50,0x000300f7,0x00004bab,0x00000000, | 5050 | 0x00004e88,0x000200f9,0x00004e89,0x000200f8, |
| 4668 | 0x000400fa,0x00004b8b,0x00004ba6,0x00004baa, | 5051 | 0x00004e84,0x00050082,0x00000006,0x00004e87, |
| 4669 | 0x000200f8,0x00004baa,0x000200f9,0x00004bab, | 5052 | 0x0000430b,0x0000014a,0x000200f9,0x00004e89, |
| 4670 | 0x000200f8,0x00004ba6,0x00050082,0x00000006, | 5053 | 0x000200f8,0x00004e89,0x000700f5,0x00000006, |
| 4671 | 0x00004ba9,0x0000402d,0x00000142,0x000200f9, | 5054 | 0x0000625a,0x00004e87,0x00004e84,0x00000140, |
| 4672 | 0x00004bab,0x000200f8,0x00004bab,0x000700f5, | 5055 | 0x00004e88,0x00050084,0x00000006,0x00004e28, |
| 4673 | 0x00000006,0x00005e34,0x00004ba9,0x00004ba6, | 5056 | 0x000000f3,0x0000625a,0x00050080,0x00000006, |
| 4674 | 0x00000138,0x00004baa,0x00050084,0x00000006, | 5057 | 0x00004e29,0x00004e2f,0x00004e28,0x000300f7, |
| 4675 | 0x00004b4a,0x000000ec,0x00005e34,0x00050080, | 5058 | 0x00004e96,0x00000000,0x000400fa,0x00004e69, |
| 4676 | 0x00000006,0x00004b4b,0x00004b51,0x00004b4a, | 5059 | 0x00004e91,0x00004e95,0x000200f8,0x00004e95, |
| 4677 | 0x000300f7,0x00004bb8,0x00000000,0x000400fa, | 5060 | 0x000200f9,0x00004e96,0x000200f8,0x00004e91, |
| 4678 | 0x00004b8b,0x00004bb3,0x00004bb7,0x000200f8, | 5061 | 0x00050082,0x00000006,0x00004e94,0x0000430b, |
| 4679 | 0x00004bb7,0x000200f9,0x00004bb8,0x000200f8, | 5062 | 0x0000014a,0x000200f9,0x00004e96,0x000200f8, |
| 4680 | 0x00004bb3,0x00050082,0x00000006,0x00004bb6, | 5063 | 0x00004e96,0x000700f5,0x00000006,0x0000625b, |
| 4681 | 0x0000402d,0x00000142,0x000200f9,0x00004bb8, | 5064 | 0x00004e94,0x00004e91,0x00000140,0x00004e95, |
| 4682 | 0x000200f8,0x00004bb8,0x000700f5,0x00000006, | 5065 | 0x00050084,0x00000006,0x00004e22,0x000000f3, |
| 4683 | 0x00005e35,0x00004bb6,0x00004bb3,0x00000138, | 5066 | 0x0000625b,0x00050080,0x00000006,0x00004e23, |
| 4684 | 0x00004bb7,0x00050084,0x00000006,0x00004b44, | 5067 | 0x00004e29,0x00004e22,0x000300f7,0x00004ea3, |
| 4685 | 0x000000ec,0x00005e35,0x00050080,0x00000006, | 5068 | 0x00000000,0x000400fa,0x00004e69,0x00004e9e, |
| 4686 | 0x00004b45,0x00004b4b,0x00004b44,0x000300f7, | 5069 | 0x00004ea2,0x000200f8,0x00004ea2,0x000200f9, |
| 4687 | 0x00004bc5,0x00000000,0x000400fa,0x00004b8b, | 5070 | 0x00004ea3,0x000200f8,0x00004e9e,0x00050082, |
| 4688 | 0x00004bc0,0x00004bc4,0x000200f8,0x00004bc4, | 5071 | 0x00000006,0x00004ea1,0x0000430b,0x0000014a, |
| 4689 | 0x000200f9,0x00004bc5,0x000200f8,0x00004bc0, | 5072 | 0x000200f9,0x00004ea3,0x000200f8,0x00004ea3, |
| 4690 | 0x00050082,0x00000006,0x00004bc3,0x0000402d, | 5073 | 0x000700f5,0x00000006,0x0000625c,0x00004ea1, |
| 4691 | 0x00000142,0x000200f9,0x00004bc5,0x000200f8, | 5074 | 0x00004e9e,0x00000140,0x00004ea2,0x00050084, |
| 4692 | 0x00004bc5,0x000700f5,0x00000006,0x00005e36, | 5075 | 0x00000006,0x00004e1c,0x000000f3,0x0000625c, |
| 4693 | 0x00004bc3,0x00004bc0,0x00000138,0x00004bc4, | 5076 | 0x00050080,0x00000006,0x00004e1d,0x00004e23, |
| 4694 | 0x00050084,0x00000006,0x00004b3e,0x000000ec, | 5077 | 0x00004e1c,0x000300f7,0x00004eb6,0x00000000, |
| 4695 | 0x00005e36,0x00050080,0x00000006,0x00004b3f, | 5078 | 0x000400fa,0x00004e69,0x00004eb1,0x00004eb5, |
| 4696 | 0x00004b45,0x00004b3e,0x000300f7,0x00004bd8, | 5079 | 0x000200f8,0x00004eb5,0x000200f9,0x00004eb6, |
| 4697 | 0x00000000,0x000400fa,0x00004b8b,0x00004bd3, | 5080 | 0x000200f8,0x00004eb1,0x00050082,0x00000006, |
| 4698 | 0x00004bd7,0x000200f8,0x00004bd7,0x000200f9, | 5081 | 0x00004eb4,0x0000430b,0x0000014a,0x000200f9, |
| 4699 | 0x00004bd8,0x000200f8,0x00004bd3,0x00050082, | 5082 | 0x00004eb6,0x000200f8,0x00004eb6,0x000700f5, |
| 4700 | 0x00000006,0x00004bd6,0x0000402d,0x00000142, | 5083 | 0x00000006,0x0000625d,0x00004eb4,0x00004eb1, |
| 4701 | 0x000200f9,0x00004bd8,0x000200f8,0x00004bd8, | 5084 | 0x00000140,0x00004eb5,0x00050080,0x00000006, |
| 4702 | 0x000700f5,0x00000006,0x00005e37,0x00004bd6, | 5085 | 0x00004ea9,0x0000625d,0x00000695,0x00050086, |
| 4703 | 0x00004bd3,0x00000138,0x00004bd7,0x00050080, | 5086 | 0x00000006,0x00004eaa,0x00004ea9,0x000001c6, |
| 4704 | 0x00000006,0x00004bcb,0x00005e37,0x0000062f, | 5087 | 0x00050084,0x00000006,0x00004e16,0x000000f3, |
| 4705 | 0x00050086,0x00000006,0x00004bcc,0x00004bcb, | 5088 | 0x00004eaa,0x00050080,0x00000006,0x00004e17, |
| 4706 | 0x000001be,0x00050084,0x00000006,0x00004b38, | 5089 | 0x00004e1d,0x00004e16,0x000300f7,0x00004ec9, |
| 4707 | 0x000000ec,0x00004bcc,0x00050080,0x00000006, | 5090 | 0x00000000,0x000400fa,0x00004e69,0x00004ec4, |
| 4708 | 0x00004b39,0x00004b3f,0x00004b38,0x000300f7, | 5091 | 0x00004ec8,0x000200f8,0x00004ec8,0x000200f9, |
| 4709 | 0x00004beb,0x00000000,0x000400fa,0x00004b8b, | 5092 | 0x00004ec9,0x000200f8,0x00004ec4,0x00050082, |
| 4710 | 0x00004be6,0x00004bea,0x000200f8,0x00004bea, | 5093 | 0x00000006,0x00004ec7,0x0000430b,0x0000014a, |
| 4711 | 0x000200f9,0x00004beb,0x000200f8,0x00004be6, | 5094 | 0x000200f9,0x00004ec9,0x000200f8,0x00004ec9, |
| 4712 | 0x00050082,0x00000006,0x00004be9,0x0000402d, | 5095 | 0x000700f5,0x00000006,0x0000625e,0x00004ec7, |
| 4713 | 0x00000142,0x000200f9,0x00004beb,0x000200f8, | 5096 | 0x00004ec4,0x00000140,0x00004ec8,0x00050080, |
| 4714 | 0x00004beb,0x000700f5,0x00000006,0x00005e38, | 5097 | 0x00000006,0x00004ebc,0x0000625e,0x00000695, |
| 4715 | 0x00004be9,0x00004be6,0x00000138,0x00004bea, | 5098 | 0x00050086,0x00000006,0x00004ebd,0x00004ebc, |
| 4716 | 0x00050080,0x00000006,0x00004bde,0x00005e38, | 5099 | 0x000001c6,0x00050084,0x00000006,0x00004e10, |
| 4717 | 0x0000062f,0x00050086,0x00000006,0x00004bdf, | 5100 | 0x000000f3,0x00004ebd,0x00050080,0x00000006, |
| 4718 | 0x00004bde,0x000001be,0x00050084,0x00000006, | 5101 | 0x00004e11,0x00004e17,0x00004e10,0x0004003d, |
| 4719 | 0x00004b32,0x000000ec,0x00004bdf,0x00050080, | 5102 | 0x00000006,0x0000439a,0x00004393,0x00050084, |
| 4720 | 0x00000006,0x00004b33,0x00004b39,0x00004b32, | 5103 | 0x00000006,0x0000439b,0x000000f3,0x0000439a, |
| 4721 | 0x0004003d,0x00000006,0x000040bc,0x000040b5, | 5104 | 0x00050080,0x00000006,0x0000439c,0x00004e11, |
| 4722 | 0x00050084,0x00000006,0x000040bd,0x000000ec, | 5105 | 0x0000439b,0x00050041,0x0000026e,0x0000439e, |
| 4723 | 0x000040bc,0x00050080,0x00000006,0x000040be, | 5106 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, |
| 4724 | 0x00004b33,0x000040bd,0x00050041,0x00000266, | 5107 | 0x0000439f,0x0000439e,0x00050041,0x00000009, |
| 4725 | 0x000040c0,0x000001b9,0x00000264,0x0004003d, | 5108 | 0x000043a0,0x000042d1,0x000061fc,0x0004003d, |
| 4726 | 0x00000007,0x000040c1,0x000040c0,0x00050041, | 5109 | 0x00000006,0x000043a1,0x000043a0,0x00050051, |
| 4727 | 0x00000009,0x000040c2,0x00003ff3,0x00005dd6, | 5110 | 0x00000006,0x00004ee0,0x0000439f,0x00000000, |
| 4728 | 0x0004003d,0x00000006,0x000040c3,0x000040c2, | 5111 | 0x00050095,0x00000145,0x00004ee2,0x00004ee0, |
| 4729 | 0x00050051,0x00000006,0x00004c02,0x000040c1, | 5112 | 0x0000439c,0x00050051,0x00000006,0x00004ee3, |
| 4730 | 0x00000000,0x00050095,0x0000013d,0x00004c04, | 5113 | 0x00004ee2,0x00000001,0x00050051,0x00000006, |
| 4731 | 0x00004c02,0x000040be,0x00050051,0x00000006, | 5114 | 0x00004ee4,0x00004ee2,0x00000000,0x00050051, |
| 4732 | 0x00004c05,0x00004c04,0x00000001,0x00050051, | 5115 | 0x00000006,0x00004ee7,0x0000439f,0x00000001, |
| 4733 | 0x00000006,0x00004c06,0x00004c04,0x00000000, | 5116 | 0x00050080,0x00000006,0x00004ee9,0x00004ee7, |
| 4734 | 0x00050051,0x00000006,0x00004c09,0x000040c1, | 5117 | 0x00004ee3,0x00050050,0x00000007,0x00004eea, |
| 4735 | 0x00000001,0x00050080,0x00000006,0x00004c0b, | 5118 | 0x00004ee4,0x00004ee9,0x0004007c,0x00000014, |
| 4736 | 0x00004c09,0x00004c05,0x00050050,0x00000007, | 5119 | 0x00004eda,0x00004eea,0x00060041,0x00000174, |
| 4737 | 0x00004c0c,0x00004c06,0x00004c0b,0x0004007c, | 5120 | 0x00004ed2,0x00004eda,0x00000173,0x00000173, |
| 4738 | 0x00000014,0x00004bfc,0x00004c0c,0x00060041, | 5121 | 0x0005003e,0x00004ed2,0x000043a1,0x00000002, |
| 4739 | 0x0000016c,0x00004bf4,0x00004bfc,0x0000016b, | 5122 | 0x00000004,0x000200f9,0x000043a3,0x000200f8, |
| 4740 | 0x0000016b,0x0005003e,0x00004bf4,0x000040c3, | 5123 | 0x000043a3,0x000200f9,0x000043a4,0x000200f8, |
| 4741 | 0x00000002,0x00000004,0x000200f9,0x000040c5, | 5124 | 0x000043a4,0x00050080,0x00000006,0x000043a6, |
| 4742 | 0x000200f8,0x000040c5,0x000200f9,0x000040c6, | 5125 | 0x000061fc,0x0000026c,0x000200f9,0x0000438d, |
| 4743 | 0x000200f8,0x000040c6,0x00050080,0x00000006, | 5126 | 0x000200f8,0x000043a7,0x00050041,0x000001c3, |
| 4744 | 0x000040c8,0x00005dd6,0x00000264,0x000200f9, | 5127 | 0x00004eed,0x000001c1,0x00000362,0x0004003d, |
| 4745 | 0x000040af,0x000200f8,0x000040c9,0x00050041, | 5128 | 0x00000006,0x00004eee,0x00004eed,0x000500c7, |
| 4746 | 0x000001bb,0x00004c0f,0x000001b9,0x0000035a, | 5129 | 0x00000006,0x00004f00,0x000013a9,0x00000288, |
| 4747 | 0x0004003d,0x00000006,0x00004c10,0x00004c0f, | 5130 | 0x000500ab,0x0000002f,0x00004f01,0x00004f00, |
| 4748 | 0x00050041,0x000001bb,0x00004c20,0x000001b9, | 5131 | 0x00000140,0x000600a9,0x00000006,0x00004efb, |
| 4749 | 0x00000334,0x0004003d,0x00000006,0x00004c21, | 5132 | 0x00004f01,0x000001cc,0x0000034a,0x00050084, |
| 4750 | 0x00004c20,0x000500c7,0x00000006,0x00004c22, | 5133 | 0x00000006,0x00004ef1,0x000061fe,0x00004efb, |
| 4751 | 0x00004c21,0x00000280,0x000500ab,0x0000002f, | 5134 | 0x00050080,0x00000006,0x00004ef2,0x00004eee, |
| 4752 | 0x00004c23,0x00004c22,0x00000138,0x000600a9, | 5135 | 0x00004ef1,0x000500c2,0x00000006,0x00004ef3, |
| 4753 | 0x00000006,0x00004c1d,0x00004c23,0x000001c4, | 5136 | 0x00004ef2,0x00000359,0x000500c4,0x00000006, |
| 4754 | 0x00000342,0x00050084,0x00000006,0x00004c13, | 5137 | 0x00004ef4,0x00004ef3,0x00000325,0x000600a9, |
| 4755 | 0x00005dd8,0x00004c1d,0x00050080,0x00000006, | 5138 | 0x00000006,0x00004ef6,0x00004f01,0x000000f3, |
| 4756 | 0x00004c14,0x00004c10,0x00004c13,0x000500c2, | 5139 | 0x0000036c,0x000500c5,0x00000006,0x00004ef7, |
| 4757 | 0x00000006,0x00004c15,0x00004c14,0x00000351, | 5140 | 0x00004ef4,0x00004ef6,0x000200f9,0x000043b0, |
| 4758 | 0x000500c4,0x00000006,0x00004c16,0x00004c15, | 5141 | 0x000200f8,0x000043b0,0x000700f5,0x00000006, |
| 4759 | 0x0000031d,0x000600a9,0x00000006,0x00004c18, | 5142 | 0x00006221,0x00000140,0x000043a7,0x000043de, |
| 4760 | 0x00004c23,0x000000ec,0x00000364,0x000500c5, | 5143 | 0x000043dc,0x000500b0,0x0000002f,0x000043b3, |
| 4761 | 0x00000006,0x00004c19,0x00004c16,0x00004c18, | 5144 | 0x00006221,0x000000f3,0x000400f6,0x000043df, |
| 4762 | 0x000200f9,0x000040d2,0x000200f8,0x000040d2, | 5145 | 0x000043dc,0x00000000,0x000400fa,0x000043b3, |
| 4763 | 0x000700f5,0x00000006,0x00005dfb,0x00000138, | 5146 | 0x000043b4,0x000043df,0x000200f8,0x000043b4, |
| 4764 | 0x000040c9,0x00004100,0x000040fe,0x000500b0, | 5147 | 0x00050084,0x00000006,0x000043b7,0x000000f3, |
| 4765 | 0x0000002f,0x000040d5,0x00005dfb,0x000000ec, | 5148 | 0x00006221,0x00050080,0x00000006,0x000043b8, |
| 4766 | 0x000400f6,0x00004101,0x000040fe,0x00000000, | 5149 | 0x00004ef2,0x000043b7,0x00050041,0x0000026e, |
| 4767 | 0x000400fa,0x000040d5,0x000040d6,0x00004101, | 5150 | 0x000043ba,0x000001c1,0x00000173,0x0004003d, |
| 4768 | 0x000200f8,0x000040d6,0x00050084,0x00000006, | 5151 | 0x00000007,0x000043bb,0x000043ba,0x00050041, |
| 4769 | 0x000040d9,0x000000ec,0x00005dfb,0x00050080, | 5152 | 0x00000009,0x000043bc,0x000042d1,0x00006221, |
| 4770 | 0x00000006,0x000040da,0x00004c14,0x000040d9, | 5153 | 0x0004003d,0x00000006,0x000043bd,0x000043bc, |
| 4771 | 0x00050041,0x00000266,0x000040dc,0x000001b9, | 5154 | 0x00050051,0x00000006,0x00004f27,0x000043bb, |
| 4772 | 0x0000016b,0x0004003d,0x00000007,0x000040dd, | 5155 | 0x00000000,0x00050095,0x00000145,0x00004f29, |
| 4773 | 0x000040dc,0x00050041,0x00000009,0x000040de, | 5156 | 0x00004f27,0x000043b8,0x00050051,0x00000006, |
| 4774 | 0x00003ff3,0x00005dfb,0x0004003d,0x00000006, | 5157 | 0x00004f2a,0x00004f29,0x00000001,0x00050051, |
| 4775 | 0x000040df,0x000040de,0x00050051,0x00000006, | 5158 | 0x00000006,0x00004f2b,0x00004f29,0x00000000, |
| 4776 | 0x00004c49,0x000040dd,0x00000000,0x00050095, | 5159 | 0x00050051,0x00000006,0x00004f2e,0x000043bb, |
| 4777 | 0x0000013d,0x00004c4b,0x00004c49,0x000040da, | 5160 | 0x00000001,0x00050080,0x00000006,0x00004f30, |
| 4778 | 0x00050051,0x00000006,0x00004c4c,0x00004c4b, | 5161 | 0x00004f2e,0x00004f2a,0x00050050,0x00000007, |
| 4779 | 0x00000001,0x00050051,0x00000006,0x00004c4d, | 5162 | 0x00004f31,0x00004f2b,0x00004f30,0x0004007c, |
| 4780 | 0x00004c4b,0x00000000,0x00050051,0x00000006, | 5163 | 0x00000014,0x00004f21,0x00004f31,0x00060041, |
| 4781 | 0x00004c50,0x000040dd,0x00000001,0x00050080, | 5164 | 0x00000174,0x00004f19,0x00004f21,0x00000173, |
| 4782 | 0x00000006,0x00004c52,0x00004c50,0x00004c4c, | 5165 | 0x00000173,0x0005003e,0x00004f19,0x000043bd, |
| 4783 | 0x00050050,0x00000007,0x00004c53,0x00004c4d, | 5166 | 0x00000002,0x00000004,0x0004003d,0x00000006, |
| 4784 | 0x00004c52,0x0004007c,0x00000014,0x00004c43, | 5167 | 0x000043c1,0x000043bc,0x000500ab,0x0000002f, |
| 4785 | 0x00004c53,0x00060041,0x0000016c,0x00004c3b, | 5168 | 0x000043c2,0x000043c1,0x000003bf,0x000300f7, |
| 4786 | 0x00004c43,0x0000016b,0x0000016b,0x0005003e, | 5169 | 0x000043d4,0x00000000,0x000400fa,0x000043c2, |
| 4787 | 0x00004c3b,0x000040df,0x00000002,0x00000004, | 5170 | 0x000043c3,0x000043d4,0x000200f8,0x000043c3, |
| 4788 | 0x0004003d,0x00000006,0x000040e3,0x000040de, | 5171 | 0x00050041,0x000001c3,0x000043c4,0x000001c1, |
| 4789 | 0x000500ab,0x0000002f,0x000040e4,0x000040e3, | 5172 | 0x000003c1,0x0004003d,0x00000006,0x000043c5, |
| 4790 | 0x00000539,0x000300f7,0x000040f6,0x00000000, | 5173 | 0x000043c4,0x0004003d,0x00000006,0x000043c8, |
| 4791 | 0x000400fa,0x000040e4,0x000040e5,0x000040f6, | 5174 | 0x000043bc,0x000500c2,0x00000006,0x00004f35, |
| 4792 | 0x000200f8,0x000040e5,0x00050041,0x000001bb, | 5175 | 0x000043c8,0x00000325,0x00050041,0x000001c3, |
| 4793 | 0x000040e6,0x000001b9,0x000010be,0x0004003d, | 5176 | 0x000043ca,0x000001c1,0x00000352,0x0004003d, |
| 4794 | 0x00000006,0x000040e7,0x000040e6,0x0004003d, | 5177 | 0x00000006,0x000043cb,0x000043ca,0x00050086, |
| 4795 | 0x00000006,0x000040ea,0x000040de,0x000500c2, | 5178 | 0x00000006,0x000043cc,0x000043cb,0x000001cc, |
| 4796 | 0x00000006,0x00004c57,0x000040ea,0x0000031d, | 5179 | 0x00050082,0x00000006,0x000043cd,0x00004f35, |
| 4797 | 0x00050041,0x000001bb,0x000040ec,0x000001b9, | 5180 | 0x000043cc,0x00050084,0x00000006,0x000043ce, |
| 4798 | 0x0000034a,0x0004003d,0x00000006,0x000040ed, | 5181 | 0x000000f3,0x000043cd,0x00050080,0x00000006, |
| 4799 | 0x000040ec,0x00050086,0x00000006,0x000040ee, | 5182 | 0x000043cf,0x000043c5,0x000043ce,0x00050095, |
| 4800 | 0x000040ed,0x000001c4,0x00050082,0x00000006, | 5183 | 0x00000145,0x00004f4d,0x00004f27,0x000043cf, |
| 4801 | 0x000040ef,0x00004c57,0x000040ee,0x00050084, | 5184 | 0x00050051,0x00000006,0x00004f4e,0x00004f4d, |
| 4802 | 0x00000006,0x000040f0,0x000000ec,0x000040ef, | 5185 | 0x00000001,0x00050051,0x00000006,0x00004f4f, |
| 4803 | 0x00050080,0x00000006,0x000040f1,0x000040e7, | 5186 | 0x00004f4d,0x00000000,0x00050080,0x00000006, |
| 4804 | 0x000040f0,0x00050095,0x0000013d,0x00004c6f, | 5187 | 0x00004f54,0x00004f2e,0x00004f4e,0x00050050, |
| 4805 | 0x00004c49,0x000040f1,0x00050051,0x00000006, | 5188 | 0x00000007,0x00004f55,0x00004f4f,0x00004f54, |
| 4806 | 0x00004c70,0x00004c6f,0x00000001,0x00050051, | 5189 | 0x0004007c,0x00000014,0x00004f45,0x00004f55, |
| 4807 | 0x00000006,0x00004c71,0x00004c6f,0x00000000, | 5190 | 0x00060041,0x00000174,0x00004f3d,0x00004f45, |
| 4808 | 0x00050080,0x00000006,0x00004c76,0x00004c50, | 5191 | 0x00000173,0x00000173,0x0005003e,0x00004f3d, |
| 4809 | 0x00004c70,0x00050050,0x00000007,0x00004c77, | 5192 | 0x00004ef7,0x00000002,0x00000004,0x000200f9, |
| 4810 | 0x00004c71,0x00004c76,0x0004007c,0x00000014, | 5193 | 0x000043dc,0x000200f8,0x000043d4,0x000300f7, |
| 4811 | 0x00004c67,0x00004c77,0x00060041,0x0000016c, | 5194 | 0x00004fae,0x00000000,0x000300fb,0x00000140, |
| 4812 | 0x00004c5f,0x00004c67,0x0000016b,0x0000016b, | 5195 | 0x00004f74,0x000200f8,0x00004f74,0x000300f7, |
| 4813 | 0x0005003e,0x00004c5f,0x00004c19,0x00000002, | 5196 | 0x00004f7f,0x00000000,0x000400fa,0x00004f01, |
| 4814 | 0x00000004,0x000200f9,0x000040fe,0x000200f8, | 5197 | 0x00004f76,0x00004f7f,0x000200f8,0x00004f76, |
| 4815 | 0x000040f6,0x000300f7,0x00004cd0,0x00000000, | 5198 | 0x00050080,0x00000006,0x00004f78,0x00004ef2, |
| 4816 | 0x000300fb,0x00000138,0x00004c96,0x000200f8, | 5199 | 0x000001e3,0x00050084,0x00000006,0x00004f7a, |
| 4817 | 0x00004c96,0x000300f7,0x00004ca1,0x00000000, | 5200 | 0x000001dc,0x00006221,0x00050080,0x00000006, |
| 4818 | 0x000400fa,0x00004c23,0x00004c98,0x00004ca1, | 5201 | 0x00004f7b,0x00004f78,0x00004f7a,0x00050095, |
| 4819 | 0x000200f8,0x00004c98,0x00050080,0x00000006, | 5202 | 0x00000145,0x000050aa,0x00004f27,0x00004f7b, |
| 4820 | 0x00004c9a,0x00004c14,0x000001db,0x00050084, | 5203 | 0x00050051,0x00000006,0x000050ab,0x000050aa, |
| 4821 | 0x00000006,0x00004c9c,0x000001d4,0x00005dfb, | 5204 | 0x00000001,0x00050051,0x00000006,0x000050ac, |
| 4822 | 0x00050080,0x00000006,0x00004c9d,0x00004c9a, | 5205 | 0x000050aa,0x00000000,0x00050080,0x00000006, |
| 4823 | 0x00004c9c,0x00050095,0x0000013d,0x00004dcc, | 5206 | 0x000050b1,0x00004f2e,0x000050ab,0x00050050, |
| 4824 | 0x00004c49,0x00004c9d,0x00050051,0x00000006, | 5207 | 0x00000007,0x000050b2,0x000050ac,0x000050b1, |
| 4825 | 0x00004dcd,0x00004dcc,0x00000001,0x00050051, | 5208 | 0x0004007c,0x00000014,0x000050a2,0x000050b2, |
| 4826 | 0x00000006,0x00004dce,0x00004dcc,0x00000000, | 5209 | 0x00060041,0x00000174,0x0000509a,0x000050a2, |
| 4827 | 0x00050080,0x00000006,0x00004dd3,0x00004c50, | 5210 | 0x00000173,0x00000173,0x0005003e,0x0000509a, |
| 4828 | 0x00004dcd,0x00050050,0x00000007,0x00004dd4, | 5211 | 0x00006548,0x00000002,0x00000004,0x00050080, |
| 4829 | 0x00004dce,0x00004dd3,0x0004007c,0x00000014, | 5212 | 0x00000006,0x00004fd2,0x00004f7b,0x000000f3, |
| 4830 | 0x00004dc4,0x00004dd4,0x00060041,0x0000016c, | 5213 | 0x00050095,0x00000145,0x00005172,0x00004f27, |
| 4831 | 0x00004dbc,0x00004dc4,0x0000016b,0x0000016b, | 5214 | 0x00004fd2,0x00050051,0x00000006,0x00005173, |
| 4832 | 0x0005003e,0x00004dbc,0x00006112,0x00000002, | 5215 | 0x00005172,0x00000001,0x00050051,0x00000006, |
| 4833 | 0x00000004,0x00050080,0x00000006,0x00004cf4, | 5216 | 0x00005174,0x00005172,0x00000000,0x00050080, |
| 4834 | 0x00004c9d,0x000000ec,0x00050095,0x0000013d, | 5217 | 0x00000006,0x00005179,0x00004f2e,0x00005173, |
| 4835 | 0x00004e94,0x00004c49,0x00004cf4,0x00050051, | 5218 | 0x00050050,0x00000007,0x0000517a,0x00005174, |
| 4836 | 0x00000006,0x00004e95,0x00004e94,0x00000001, | 5219 | 0x00005179,0x0004007c,0x00000014,0x0000516a, |
| 4837 | 0x00050051,0x00000006,0x00004e96,0x00004e94, | 5220 | 0x0000517a,0x00060041,0x00000174,0x00005162, |
| 4838 | 0x00000000,0x00050080,0x00000006,0x00004e9b, | 5221 | 0x0000516a,0x00000173,0x00000173,0x0005003e, |
| 4839 | 0x00004c50,0x00004e95,0x00050050,0x00000007, | 5222 | 0x00005162,0x0000654a,0x00000002,0x00000004, |
| 4840 | 0x00004e9c,0x00004e96,0x00004e9b,0x0004007c, | 5223 | 0x00050080,0x00000006,0x00004fdf,0x00004f7b, |
| 4841 | 0x00000014,0x00004e8c,0x00004e9c,0x00060041, | 5224 | 0x000001d5,0x00050095,0x00000145,0x0000523a, |
| 4842 | 0x0000016c,0x00004e84,0x00004e8c,0x0000016b, | 5225 | 0x00004f27,0x00004fdf,0x00050051,0x00000006, |
| 4843 | 0x0000016b,0x0005003e,0x00004e84,0x00006114, | 5226 | 0x0000523b,0x0000523a,0x00000001,0x00050051, |
| 4844 | 0x00000002,0x00000004,0x00050080,0x00000006, | 5227 | 0x00000006,0x0000523c,0x0000523a,0x00000000, |
| 4845 | 0x00004d01,0x00004c9d,0x000001cd,0x00050095, | 5228 | 0x00050080,0x00000006,0x00005241,0x00004f2e, |
| 4846 | 0x0000013d,0x00004f5c,0x00004c49,0x00004d01, | 5229 | 0x0000523b,0x00050050,0x00000007,0x00005242, |
| 4847 | 0x00050051,0x00000006,0x00004f5d,0x00004f5c, | 5230 | 0x0000523c,0x00005241,0x0004007c,0x00000014, |
| 4848 | 0x00000001,0x00050051,0x00000006,0x00004f5e, | 5231 | 0x00005232,0x00005242,0x00060041,0x00000174, |
| 4849 | 0x00004f5c,0x00000000,0x00050080,0x00000006, | 5232 | 0x0000522a,0x00005232,0x00000173,0x00000173, |
| 4850 | 0x00004f63,0x00004c50,0x00004f5d,0x00050050, | 5233 | 0x0005003e,0x0000522a,0x0000654b,0x00000002, |
| 4851 | 0x00000007,0x00004f64,0x00004f5e,0x00004f63, | 5234 | 0x00000004,0x000200f9,0x00004fae,0x000200f8, |
| 4852 | 0x0004007c,0x00000014,0x00004f54,0x00004f64, | 5235 | 0x00004f7f,0x00050080,0x00000006,0x00004f81, |
| 4853 | 0x00060041,0x0000016c,0x00004f4c,0x00004f54, | 5236 | 0x00004ef2,0x000001e3,0x00050084,0x00000006, |
| 4854 | 0x0000016b,0x0000016b,0x0005003e,0x00004f4c, | 5237 | 0x00004f83,0x000001f7,0x00006221,0x00050080, |
| 4855 | 0x00006115,0x00000002,0x00000004,0x000200f9, | 5238 | 0x00000006,0x00004f84,0x00004f81,0x00004f83, |
| 4856 | 0x00004cd0,0x000200f8,0x00004ca1,0x00050080, | 5239 | 0x00050095,0x00000145,0x00005263,0x00004f27, |
| 4857 | 0x00000006,0x00004ca3,0x00004c14,0x000001db, | 5240 | 0x00004f84,0x00050051,0x00000006,0x00005264, |
| 4858 | 0x00050084,0x00000006,0x00004ca5,0x000001ef, | 5241 | 0x00005263,0x00000001,0x00050051,0x00000006, |
| 4859 | 0x00005dfb,0x00050080,0x00000006,0x00004ca6, | 5242 | 0x00005265,0x00005263,0x00000000,0x00050080, |
| 4860 | 0x00004ca3,0x00004ca5,0x00050095,0x0000013d, | 5243 | 0x00000006,0x0000526a,0x00004f2e,0x00005264, |
| 4861 | 0x00004f85,0x00004c49,0x00004ca6,0x00050051, | 5244 | 0x00050050,0x00000007,0x0000526b,0x00005265, |
| 4862 | 0x00000006,0x00004f86,0x00004f85,0x00000001, | 5245 | 0x0000526a,0x0004007c,0x00000014,0x0000525b, |
| 4863 | 0x00050051,0x00000006,0x00004f87,0x00004f85, | 5246 | 0x0000526b,0x00060041,0x00000174,0x00005253, |
| 4864 | 0x00000000,0x00050080,0x00000006,0x00004f8c, | 5247 | 0x0000525b,0x00000173,0x00000173,0x0005003e, |
| 4865 | 0x00004c50,0x00004f86,0x00050050,0x00000007, | 5248 | 0x00005253,0x000003dc,0x00000002,0x00000004, |
| 4866 | 0x00004f8d,0x00004f87,0x00004f8c,0x0004007c, | 5249 | 0x00050080,0x00000006,0x00004f8c,0x00004f84, |
| 4867 | 0x00000014,0x00004f7d,0x00004f8d,0x00060041, | 5250 | 0x000000f3,0x00050095,0x00000145,0x0000528c, |
| 4868 | 0x0000016c,0x00004f75,0x00004f7d,0x0000016b, | 5251 | 0x00004f27,0x00004f8c,0x00050051,0x00000006, |
| 4869 | 0x0000016b,0x0005003e,0x00004f75,0x0000037e, | 5252 | 0x0000528d,0x0000528c,0x00000001,0x00050051, |
| 4870 | 0x00000002,0x00000004,0x00050080,0x00000006, | 5253 | 0x00000006,0x0000528e,0x0000528c,0x00000000, |
| 4871 | 0x00004cae,0x00004ca6,0x000000ec,0x00050095, | 5254 | 0x00050080,0x00000006,0x00005293,0x00004f2e, |
| 4872 | 0x0000013d,0x00004fae,0x00004c49,0x00004cae, | 5255 | 0x0000528d,0x00050050,0x00000007,0x00005294, |
| 4873 | 0x00050051,0x00000006,0x00004faf,0x00004fae, | 5256 | 0x0000528e,0x00005293,0x0004007c,0x00000014, |
| 4874 | 0x00000001,0x00050051,0x00000006,0x00004fb0, | 5257 | 0x00005284,0x00005294,0x00060041,0x00000174, |
| 4875 | 0x00004fae,0x00000000,0x00050080,0x00000006, | 5258 | 0x0000527c,0x00005284,0x00000173,0x00000173, |
| 4876 | 0x00004fb5,0x00004c50,0x00004faf,0x00050050, | 5259 | 0x0005003e,0x0000527c,0x000003dc,0x00000002, |
| 4877 | 0x00000007,0x00004fb6,0x00004fb0,0x00004fb5, | 5260 | 0x00000004,0x00050080,0x00000006,0x00004f93, |
| 4878 | 0x0004007c,0x00000014,0x00004fa6,0x00004fb6, | 5261 | 0x00004f84,0x000001d5,0x00050095,0x00000145, |
| 4879 | 0x00060041,0x0000016c,0x00004f9e,0x00004fa6, | 5262 | 0x000052b5,0x00004f27,0x00004f93,0x00050051, |
| 4880 | 0x0000016b,0x0000016b,0x0005003e,0x00004f9e, | 5263 | 0x00000006,0x000052b6,0x000052b5,0x00000001, |
| 4881 | 0x0000037e,0x00000002,0x00000004,0x00050080, | 5264 | 0x00050051,0x00000006,0x000052b7,0x000052b5, |
| 4882 | 0x00000006,0x00004cb5,0x00004ca6,0x000001cd, | 5265 | 0x00000000,0x00050080,0x00000006,0x000052bc, |
| 4883 | 0x00050095,0x0000013d,0x00004fd7,0x00004c49, | 5266 | 0x00004f2e,0x000052b6,0x00050050,0x00000007, |
| 4884 | 0x00004cb5,0x00050051,0x00000006,0x00004fd8, | 5267 | 0x000052bd,0x000052b7,0x000052bc,0x0004007c, |
| 4885 | 0x00004fd7,0x00000001,0x00050051,0x00000006, | 5268 | 0x00000014,0x000052ad,0x000052bd,0x00060041, |
| 4886 | 0x00004fd9,0x00004fd7,0x00000000,0x00050080, | 5269 | 0x00000174,0x000052a5,0x000052ad,0x00000173, |
| 4887 | 0x00000006,0x00004fde,0x00004c50,0x00004fd8, | 5270 | 0x00000173,0x0005003e,0x000052a5,0x000003dc, |
| 4888 | 0x00050050,0x00000007,0x00004fdf,0x00004fd9, | ||
| 4889 | 0x00004fde,0x0004007c,0x00000014,0x00004fcf, | ||
| 4890 | 0x00004fdf,0x00060041,0x0000016c,0x00004fc7, | ||
| 4891 | 0x00004fcf,0x0000016b,0x0000016b,0x0005003e, | ||
| 4892 | 0x00004fc7,0x0000037e,0x00000002,0x00000004, | ||
| 4893 | 0x00050080,0x00000006,0x00004cbc,0x00004ca6, | ||
| 4894 | 0x000001d4,0x00050095,0x0000013d,0x00005000, | ||
| 4895 | 0x00004c49,0x00004cbc,0x00050051,0x00000006, | ||
| 4896 | 0x00005001,0x00005000,0x00000001,0x00050051, | ||
| 4897 | 0x00000006,0x00005002,0x00005000,0x00000000, | ||
| 4898 | 0x00050080,0x00000006,0x00005007,0x00004c50, | ||
| 4899 | 0x00005001,0x00050050,0x00000007,0x00005008, | ||
| 4900 | 0x00005002,0x00005007,0x0004007c,0x00000014, | ||
| 4901 | 0x00004ff8,0x00005008,0x00060041,0x0000016c, | ||
| 4902 | 0x00004ff0,0x00004ff8,0x0000016b,0x0000016b, | ||
| 4903 | 0x0005003e,0x00004ff0,0x00006100,0x00000002, | ||
| 4904 | 0x00000004,0x00050080,0x00000006,0x00004cc3, | ||
| 4905 | 0x00004ca6,0x000001db,0x00050095,0x0000013d, | ||
| 4906 | 0x00005029,0x00004c49,0x00004cc3,0x00050051, | ||
| 4907 | 0x00000006,0x0000502a,0x00005029,0x00000001, | ||
| 4908 | 0x00050051,0x00000006,0x0000502b,0x00005029, | ||
| 4909 | 0x00000000,0x00050080,0x00000006,0x00005030, | ||
| 4910 | 0x00004c50,0x0000502a,0x00050050,0x00000007, | ||
| 4911 | 0x00005031,0x0000502b,0x00005030,0x0004007c, | ||
| 4912 | 0x00000014,0x00005021,0x00005031,0x00060041, | ||
| 4913 | 0x0000016c,0x00005019,0x00005021,0x0000016b, | ||
| 4914 | 0x0000016b,0x0005003e,0x00005019,0x00006100, | ||
| 4915 | 0x00000002,0x00000004,0x00050080,0x00000006, | 5271 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 4916 | 0x00004cca,0x00004ca6,0x00000299,0x00050095, | 5272 | 0x00004f9a,0x00004f84,0x000001dc,0x00050095, |
| 4917 | 0x0000013d,0x00005052,0x00004c49,0x00004cca, | 5273 | 0x00000145,0x000052de,0x00004f27,0x00004f9a, |
| 4918 | 0x00050051,0x00000006,0x00005053,0x00005052, | 5274 | 0x00050051,0x00000006,0x000052df,0x000052de, |
| 4919 | 0x00000001,0x00050051,0x00000006,0x00005054, | 5275 | 0x00000001,0x00050051,0x00000006,0x000052e0, |
| 4920 | 0x00005052,0x00000000,0x00050080,0x00000006, | 5276 | 0x000052de,0x00000000,0x00050080,0x00000006, |
| 4921 | 0x00005059,0x00004c50,0x00005053,0x00050050, | 5277 | 0x000052e5,0x00004f2e,0x000052df,0x00050050, |
| 4922 | 0x00000007,0x0000505a,0x00005054,0x00005059, | 5278 | 0x00000007,0x000052e6,0x000052e0,0x000052e5, |
| 4923 | 0x0004007c,0x00000014,0x0000504a,0x0000505a, | 5279 | 0x0004007c,0x00000014,0x000052d6,0x000052e6, |
| 4924 | 0x00060041,0x0000016c,0x00005042,0x0000504a, | 5280 | 0x00060041,0x00000174,0x000052ce,0x000052d6, |
| 4925 | 0x0000016b,0x0000016b,0x0005003e,0x00005042, | 5281 | 0x00000173,0x00000173,0x0005003e,0x000052ce, |
| 4926 | 0x00006100,0x00000002,0x00000004,0x000200f9, | 5282 | 0x00006534,0x00000002,0x00000004,0x00050080, |
| 4927 | 0x00004cd0,0x000200f8,0x00004cd0,0x000200f9, | 5283 | 0x00000006,0x00004fa1,0x00004f84,0x000001e3, |
| 4928 | 0x000040fe,0x000200f8,0x000040fe,0x00050080, | 5284 | 0x00050095,0x00000145,0x00005307,0x00004f27, |
| 4929 | 0x00000006,0x00004100,0x00005dfb,0x00000264, | 5285 | 0x00004fa1,0x00050051,0x00000006,0x00005308, |
| 4930 | 0x000200f9,0x000040d2,0x000200f8,0x00004101, | 5286 | 0x00005307,0x00000001,0x00050051,0x00000006, |
| 4931 | 0x000400a8,0x0000002f,0x00004103,0x00004c23, | 5287 | 0x00005309,0x00005307,0x00000000,0x00050080, |
| 4932 | 0x000300f7,0x00004116,0x00000000,0x000400fa, | 5288 | 0x00000006,0x0000530e,0x00004f2e,0x00005308, |
| 4933 | 0x00004103,0x00004104,0x00004116,0x000200f8, | 5289 | 0x00050050,0x00000007,0x0000530f,0x00005309, |
| 4934 | 0x00004104,0x000200f9,0x00004105,0x000200f8, | 5290 | 0x0000530e,0x0004007c,0x00000014,0x000052ff, |
| 4935 | 0x00004105,0x000700f5,0x00000006,0x00005dfc, | 5291 | 0x0000530f,0x00060041,0x00000174,0x000052f7, |
| 4936 | 0x00000138,0x00004104,0x00004114,0x00004109, | 5292 | 0x000052ff,0x00000173,0x00000173,0x0005003e, |
| 4937 | 0x000500b0,0x0000002f,0x00004108,0x00005dfc, | 5293 | 0x000052f7,0x00006534,0x00000002,0x00000004, |
| 4938 | 0x000000ec,0x000400f6,0x00004115,0x00004109, | 5294 | 0x00050080,0x00000006,0x00004fa8,0x00004f84, |
| 4939 | 0x00000000,0x000400fa,0x00004108,0x00004109, | 5295 | 0x000002a1,0x00050095,0x00000145,0x00005330, |
| 4940 | 0x00004115,0x000200f8,0x00004109,0x00050080, | 5296 | 0x00004f27,0x00004fa8,0x00050051,0x00000006, |
| 4941 | 0x00000006,0x0000410b,0x00004c14,0x00000840, | 5297 | 0x00005331,0x00005330,0x00000001,0x00050051, |
| 4942 | 0x00050084,0x00000006,0x0000410d,0x000000ec, | 5298 | 0x00000006,0x00005332,0x00005330,0x00000000, |
| 4943 | 0x00005dfc,0x00050080,0x00000006,0x0000410e, | 5299 | 0x00050080,0x00000006,0x00005337,0x00004f2e, |
| 4944 | 0x0000410b,0x0000410d,0x00050041,0x00000266, | 5300 | 0x00005331,0x00050050,0x00000007,0x00005338, |
| 4945 | 0x0000410f,0x000001b9,0x0000016b,0x0004003d, | 5301 | 0x00005332,0x00005337,0x0004007c,0x00000014, |
| 4946 | 0x00000007,0x00004110,0x0000410f,0x00050051, | 5302 | 0x00005328,0x00005338,0x00060041,0x00000174, |
| 4947 | 0x00000006,0x00005076,0x00004110,0x00000000, | 5303 | 0x00005320,0x00005328,0x00000173,0x00000173, |
| 4948 | 0x00050095,0x0000013d,0x00005078,0x00005076, | 5304 | 0x0005003e,0x00005320,0x00006534,0x00000002, |
| 4949 | 0x0000410e,0x00050051,0x00000006,0x00005079, | 5305 | 0x00000004,0x000200f9,0x00004fae,0x000200f8, |
| 4950 | 0x00005078,0x00000001,0x00050051,0x00000006, | 5306 | 0x00004fae,0x000200f9,0x000043dc,0x000200f8, |
| 4951 | 0x0000507a,0x00005078,0x00000000,0x00050051, | 5307 | 0x000043dc,0x00050080,0x00000006,0x000043de, |
| 4952 | 0x00000006,0x0000507d,0x00004110,0x00000001, | 5308 | 0x00006221,0x0000026c,0x000200f9,0x000043b0, |
| 4953 | 0x00050080,0x00000006,0x0000507f,0x0000507d, | 5309 | 0x000200f8,0x000043df,0x000400a8,0x0000002f, |
| 4954 | 0x00005079,0x00050050,0x00000007,0x00005080, | 5310 | 0x000043e1,0x00004f01,0x000300f7,0x000043f4, |
| 4955 | 0x0000507a,0x0000507f,0x0004007c,0x00000014, | 5311 | 0x00000000,0x000400fa,0x000043e1,0x000043e2, |
| 4956 | 0x00005070,0x00005080,0x00060041,0x0000016c, | 5312 | 0x000043f4,0x000200f8,0x000043e2,0x000200f9, |
| 4957 | 0x00005068,0x00005070,0x0000016b,0x0000016b, | 5313 | 0x000043e3,0x000200f8,0x000043e3,0x000700f5, |
| 4958 | 0x0005003e,0x00005068,0x00000138,0x00000002, | 5314 | 0x00000006,0x00006222,0x00000140,0x000043e2, |
| 4959 | 0x00000004,0x00050080,0x00000006,0x00004114, | 5315 | 0x000043f2,0x000043e7,0x000500b0,0x0000002f, |
| 4960 | 0x00005dfc,0x00000264,0x000200f9,0x00004105, | 5316 | 0x000043e6,0x00006222,0x000000f3,0x000400f6, |
| 4961 | 0x000200f8,0x00004115,0x000200f9,0x00004116, | 5317 | 0x000043f3,0x000043e7,0x00000000,0x000400fa, |
| 4962 | 0x000200f8,0x00004116,0x00050041,0x000001bb, | 5318 | 0x000043e6,0x000043e7,0x000043f3,0x000200f8, |
| 4963 | 0x000050b4,0x000001b9,0x000001ba,0x0004003d, | 5319 | 0x000043e7,0x00050080,0x00000006,0x000043e9, |
| 4964 | 0x00000006,0x000050b5,0x000050b4,0x00050084, | 5320 | 0x00004ef2,0x000008a6,0x00050084,0x00000006, |
| 4965 | 0x00000006,0x000050b6,0x000001db,0x000050b5, | 5321 | 0x000043eb,0x000000f3,0x00006222,0x00050080, |
| 4966 | 0x00050080,0x00000006,0x000050b7,0x000001c4, | 5322 | 0x00000006,0x000043ec,0x000043e9,0x000043eb, |
| 4967 | 0x000050b6,0x00050080,0x00000006,0x000050bd, | 5323 | 0x00050041,0x0000026e,0x000043ed,0x000001c1, |
| 4968 | 0x000050b5,0x0000062f,0x00050086,0x00000006, | 5324 | 0x00000173,0x0004003d,0x00000007,0x000043ee, |
| 4969 | 0x000050be,0x000050bd,0x000001be,0x00050084, | 5325 | 0x000043ed,0x00050051,0x00000006,0x00005354, |
| 4970 | 0x00000006,0x000050b0,0x000001c4,0x000050be, | 5326 | 0x000043ee,0x00000000,0x00050095,0x00000145, |
| 4971 | 0x00050080,0x00000006,0x000050b1,0x000050b7, | 5327 | 0x00005356,0x00005354,0x000043ec,0x00050051, |
| 4972 | 0x000050b0,0x00050080,0x00000006,0x000050ab, | 5328 | 0x00000006,0x00005357,0x00005356,0x00000001, |
| 4973 | 0x000050b1,0x000050b0,0x00050084,0x00000006, | 5329 | 0x00050051,0x00000006,0x00005358,0x00005356, |
| 4974 | 0x000050a4,0x000001ef,0x0000402d,0x00050080, | 5330 | 0x00000000,0x00050051,0x00000006,0x0000535b, |
| 4975 | 0x00000006,0x000050a5,0x000050ab,0x000050a4, | 5331 | 0x000043ee,0x00000001,0x00050080,0x00000006, |
| 4976 | 0x00050084,0x00000006,0x0000509a,0x00000205, | 5332 | 0x0000535d,0x0000535b,0x00005357,0x00050050, |
| 4977 | 0x00005dd8,0x00050080,0x00000006,0x0000509b, | 5333 | 0x00000007,0x0000535e,0x00005358,0x0000535d, |
| 4978 | 0x000050a5,0x0000509a,0x00050041,0x00000266, | 5334 | 0x0004007c,0x00000014,0x0000534e,0x0000535e, |
| 4979 | 0x0000509c,0x000001b9,0x00000264,0x0004003d, | 5335 | 0x00060041,0x00000174,0x00005346,0x0000534e, |
| 4980 | 0x00000007,0x0000509d,0x0000509c,0x00050051, | 5336 | 0x00000173,0x00000173,0x0005003e,0x00005346, |
| 4981 | 0x00000006,0x000050d3,0x0000509d,0x00000000, | 5337 | 0x00000140,0x00000002,0x00000004,0x00050080, |
| 4982 | 0x00050095,0x0000013d,0x000050d5,0x000050d3, | 5338 | 0x00000006,0x000043f2,0x00006222,0x0000026c, |
| 4983 | 0x0000509b,0x00050051,0x00000006,0x000050d6, | 5339 | 0x000200f9,0x000043e3,0x000200f8,0x000043f3, |
| 4984 | 0x000050d5,0x00000001,0x00050051,0x00000006, | 5340 | 0x000200f9,0x000043f4,0x000200f8,0x000043f4, |
| 4985 | 0x000050d7,0x000050d5,0x00000000,0x00050051, | 5341 | 0x00050041,0x000001c3,0x00005392,0x000001c1, |
| 4986 | 0x00000006,0x000050da,0x0000509d,0x00000001, | 5342 | 0x000001c2,0x0004003d,0x00000006,0x00005393, |
| 4987 | 0x00050080,0x00000006,0x000050dc,0x000050da, | 5343 | 0x00005392,0x00050084,0x00000006,0x00005394, |
| 4988 | 0x000050d6,0x00050050,0x00000007,0x000050dd, | 5344 | 0x000001e3,0x00005393,0x00050080,0x00000006, |
| 4989 | 0x000050d7,0x000050dc,0x0004007c,0x00000014, | 5345 | 0x00005395,0x000001cc,0x00005394,0x00050080, |
| 4990 | 0x000050cd,0x000050dd,0x00060041,0x0000016c, | 5346 | 0x00000006,0x0000539b,0x00005393,0x00000695, |
| 4991 | 0x00005087,0x000050cd,0x0000016b,0x0000016b, | 5347 | 0x00050086,0x00000006,0x0000539c,0x0000539b, |
| 4992 | 0x0005003e,0x00005087,0x00000138,0x00000002, | 5348 | 0x000001c6,0x00050084,0x00000006,0x0000538e, |
| 4993 | 0x00000004,0x00060041,0x0000016c,0x00005089, | 5349 | 0x000001cc,0x0000539c,0x00050080,0x00000006, |
| 4994 | 0x000050cd,0x0000016b,0x00000264,0x0005003e, | 5350 | 0x0000538f,0x00005395,0x0000538e,0x00050080, |
| 4995 | 0x00005089,0x00000539,0x00000002,0x00000004, | 5351 | 0x00000006,0x00005389,0x0000538f,0x0000538e, |
| 4996 | 0x00060041,0x0000016c,0x0000508b,0x000050cd, | 5352 | 0x00050084,0x00000006,0x00005382,0x000001f7, |
| 4997 | 0x0000016b,0x00000315,0x0005003e,0x0000508b, | 5353 | 0x0000430b,0x00050080,0x00000006,0x00005383, |
| 4998 | 0x00000539,0x00000002,0x00000004,0x00060041, | 5354 | 0x00005389,0x00005382,0x00050084,0x00000006, |
| 4999 | 0x0000016c,0x0000508d,0x000050cd,0x0000016b, | 5355 | 0x00005378,0x0000020d,0x000061fe,0x00050080, |
| 5000 | 0x0000031d,0x0005003e,0x0000508d,0x00000539, | 5356 | 0x00000006,0x00005379,0x00005383,0x00005378, |
| 5001 | 0x00000002,0x00000004,0x00060041,0x0000016c, | 5357 | 0x00050041,0x0000026e,0x0000537a,0x000001c1, |
| 5002 | 0x0000508f,0x000050cd,0x0000016b,0x00000325, | 5358 | 0x0000026c,0x0004003d,0x00000007,0x0000537b, |
| 5003 | 0x0005003e,0x0000508f,0x00000138,0x00000002, | 5359 | 0x0000537a,0x00050051,0x00000006,0x000053b1, |
| 5004 | 0x00000004,0x00060041,0x0000016c,0x00005091, | 5360 | 0x0000537b,0x00000000,0x00050095,0x00000145, |
| 5005 | 0x000050cd,0x0000016b,0x0000032d,0x0005003e, | 5361 | 0x000053b3,0x000053b1,0x00005379,0x00050051, |
| 5006 | 0x00005091,0x00000138,0x00000002,0x00000004, | 5362 | 0x00000006,0x000053b4,0x000053b3,0x00000001, |
| 5007 | 0x00060041,0x0000016c,0x00005093,0x000050cd, | 5363 | 0x00050051,0x00000006,0x000053b5,0x000053b3, |
| 5008 | 0x0000016b,0x00000351,0x0005003e,0x00005093, | 5364 | 0x00000000,0x00050051,0x00000006,0x000053b8, |
| 5009 | 0x00000138,0x00000002,0x00000004,0x000200f9, | 5365 | 0x0000537b,0x00000001,0x00050080,0x00000006, |
| 5010 | 0x00004119,0x000200f8,0x00004119,0x000200f9, | 5366 | 0x000053ba,0x000053b8,0x000053b4,0x00050050, |
| 5011 | 0x000013e3,0x000200f8,0x000013e3,0x000200f9, | 5367 | 0x00000007,0x000053bb,0x000053b5,0x000053ba, |
| 5012 | 0x000013d9,0x000200f8,0x000013d8,0x0004007c, | 5368 | 0x0004007c,0x00000014,0x000053ab,0x000053bb, |
| 5013 | 0x000000f4,0x000013db,0x000012dd,0x00050080, | 5369 | 0x00060041,0x00000174,0x00005365,0x000053ab, |
| 5014 | 0x000000f4,0x00003968,0x000013db,0x00000264, | 5370 | 0x00000173,0x00000173,0x0005003e,0x00005365, |
| 5015 | 0x000300f7,0x00003a4b,0x00000000,0x000300fb, | 5371 | 0x00000140,0x00000002,0x00000004,0x00060041, |
| 5016 | 0x00000138,0x00003a29,0x000200f8,0x00003a29, | 5372 | 0x00000174,0x00005367,0x000053ab,0x00000173, |
| 5017 | 0x000500b1,0x0000002f,0x00003a2b,0x00003968, | 5373 | 0x0000026c,0x0005003e,0x00005367,0x000003bf, |
| 5018 | 0x0000016b,0x000400a8,0x0000002f,0x00003a2c, | 5374 | 0x00000002,0x00000004,0x00060041,0x00000174, |
| 5019 | 0x00003a2b,0x000300f7,0x00003a33,0x00000000, | 5375 | 0x00005369,0x000053ab,0x00000173,0x0000031d, |
| 5020 | 0x000400fa,0x00003a2c,0x00003a2d,0x00003a33, | 5376 | 0x0005003e,0x00005369,0x000003bf,0x00000002, |
| 5021 | 0x000200f8,0x00003a2d,0x00050041,0x000001bb, | 5377 | 0x00000004,0x00060041,0x00000174,0x0000536b, |
| 5022 | 0x00003a2f,0x000001b9,0x000001f0,0x0004003d, | 5378 | 0x000053ab,0x00000173,0x00000325,0x0005003e, |
| 5023 | 0x00000006,0x00003a30,0x00003a2f,0x0004007c, | 5379 | 0x0000536b,0x000003bf,0x00000002,0x00000004, |
| 5024 | 0x000000f4,0x00003a31,0x00003a30,0x000500af, | 5380 | 0x00060041,0x00000174,0x0000536d,0x000053ab, |
| 5025 | 0x0000002f,0x00003a32,0x00003968,0x00003a31, | 5381 | 0x00000173,0x0000032d,0x0005003e,0x0000536d, |
| 5026 | 0x000200f9,0x00003a33,0x000200f8,0x00003a33, | 5382 | 0x00000140,0x00000002,0x00000004,0x00060041, |
| 5027 | 0x000700f5,0x0000002f,0x00003a34,0x00003a2b, | 5383 | 0x00000174,0x0000536f,0x000053ab,0x00000173, |
| 5028 | 0x00003a29,0x00003a32,0x00003a2d,0x000300f7, | 5384 | 0x00000335,0x0005003e,0x0000536f,0x00000140, |
| 5029 | 0x00003a36,0x00000000,0x000400fa,0x00003a34, | 5385 | 0x00000002,0x00000004,0x00060041,0x00000174, |
| 5030 | 0x00003a35,0x00003a36,0x000200f8,0x00003a35, | 5386 | 0x00005371,0x000053ab,0x00000173,0x00000359, |
| 5031 | 0x000200f9,0x00003a4b,0x000200f8,0x00003a36, | 5387 | 0x0005003e,0x00005371,0x00000140,0x00000002, |
| 5032 | 0x00050084,0x00000006,0x00003a54,0x000000ec, | 5388 | 0x00000004,0x000200f9,0x000043f7,0x000200f8, |
| 5033 | 0x000012dd,0x00050080,0x00000006,0x00003a55, | 5389 | 0x000043f7,0x000200f9,0x000014d5,0x000200f8, |
| 5034 | 0x000001c4,0x00003a54,0x00050041,0x00000266, | 5390 | 0x000014d5,0x000200f9,0x000014cb,0x000200f8, |
| 5035 | 0x00003a56,0x000001b9,0x00000264,0x0004003d, | 5391 | 0x000014ca,0x0004007c,0x000000fb,0x000014cd, |
| 5036 | 0x00000007,0x00003a57,0x00003a56,0x00050051, | 5392 | 0x000013a7,0x00050080,0x000000fb,0x00003c46, |
| 5037 | 0x00000006,0x00003a71,0x00003a57,0x00000000, | 5393 | 0x000014cd,0x0000026c,0x000300f7,0x00003d29, |
| 5038 | 0x00050095,0x0000013d,0x00003a73,0x00003a71, | 5394 | 0x00000000,0x000300fb,0x00000140,0x00003d07, |
| 5039 | 0x00003a55,0x00050051,0x00000006,0x00003a74, | 5395 | 0x000200f8,0x00003d07,0x000500b1,0x0000002f, |
| 5040 | 0x00003a73,0x00000001,0x00050051,0x00000006, | 5396 | 0x00003d09,0x00003c46,0x00000173,0x000400a8, |
| 5041 | 0x00003a75,0x00003a73,0x00000000,0x00050051, | 5397 | 0x0000002f,0x00003d0a,0x00003d09,0x000300f7, |
| 5042 | 0x00000006,0x00003a78,0x00003a57,0x00000001, | 5398 | 0x00003d11,0x00000000,0x000400fa,0x00003d0a, |
| 5043 | 0x00050080,0x00000006,0x00003a7a,0x00003a78, | 5399 | 0x00003d0b,0x00003d11,0x000200f8,0x00003d0b, |
| 5044 | 0x00003a74,0x00050050,0x00000007,0x00003a7b, | 5400 | 0x00050041,0x000001c3,0x00003d0d,0x000001c1, |
| 5045 | 0x00003a75,0x00003a7a,0x0004007c,0x00000014, | 5401 | 0x000001f8,0x0004003d,0x00000006,0x00003d0e, |
| 5046 | 0x00003a6b,0x00003a7b,0x00060041,0x0000016c, | 5402 | 0x00003d0d,0x0004007c,0x000000fb,0x00003d0f, |
| 5047 | 0x00003a62,0x00003a6b,0x0000016b,0x0000016b, | 5403 | 0x00003d0e,0x000500af,0x0000002f,0x00003d10, |
| 5048 | 0x0006003d,0x00000006,0x00003a63,0x00003a62, | 5404 | 0x00003c46,0x00003d0f,0x000200f9,0x00003d11, |
| 5405 | 0x000200f8,0x00003d11,0x000700f5,0x0000002f, | ||
| 5406 | 0x00003d12,0x00003d09,0x00003d07,0x00003d10, | ||
| 5407 | 0x00003d0b,0x000300f7,0x00003d14,0x00000000, | ||
| 5408 | 0x000400fa,0x00003d12,0x00003d13,0x00003d14, | ||
| 5409 | 0x000200f8,0x00003d13,0x000200f9,0x00003d29, | ||
| 5410 | 0x000200f8,0x00003d14,0x00050084,0x00000006, | ||
| 5411 | 0x00003d32,0x000000f3,0x000013a7,0x00050080, | ||
| 5412 | 0x00000006,0x00003d33,0x000001cc,0x00003d32, | ||
| 5413 | 0x00050041,0x0000026e,0x00003d34,0x000001c1, | ||
| 5414 | 0x0000026c,0x0004003d,0x00000007,0x00003d35, | ||
| 5415 | 0x00003d34,0x00050051,0x00000006,0x00003d4f, | ||
| 5416 | 0x00003d35,0x00000000,0x00050095,0x00000145, | ||
| 5417 | 0x00003d51,0x00003d4f,0x00003d33,0x00050051, | ||
| 5418 | 0x00000006,0x00003d52,0x00003d51,0x00000001, | ||
| 5419 | 0x00050051,0x00000006,0x00003d53,0x00003d51, | ||
| 5420 | 0x00000000,0x00050051,0x00000006,0x00003d56, | ||
| 5421 | 0x00003d35,0x00000001,0x00050080,0x00000006, | ||
| 5422 | 0x00003d58,0x00003d56,0x00003d52,0x00050050, | ||
| 5423 | 0x00000007,0x00003d59,0x00003d53,0x00003d58, | ||
| 5424 | 0x0004007c,0x00000014,0x00003d49,0x00003d59, | ||
| 5425 | 0x00060041,0x00000174,0x00003d40,0x00003d49, | ||
| 5426 | 0x00000173,0x00000173,0x0006003d,0x00000006, | ||
| 5427 | 0x00003d41,0x00003d40,0x00000002,0x00000004, | ||
| 5428 | 0x0004007c,0x00000006,0x00003d60,0x00003c46, | ||
| 5429 | 0x00050084,0x00000006,0x00003d61,0x000000f3, | ||
| 5430 | 0x00003d60,0x00050080,0x00000006,0x00003d62, | ||
| 5431 | 0x000001cc,0x00003d61,0x00050095,0x00000145, | ||
| 5432 | 0x00003d80,0x00003d4f,0x00003d62,0x00050051, | ||
| 5433 | 0x00000006,0x00003d81,0x00003d80,0x00000001, | ||
| 5434 | 0x00050051,0x00000006,0x00003d82,0x00003d80, | ||
| 5435 | 0x00000000,0x00050080,0x00000006,0x00003d87, | ||
| 5436 | 0x00003d56,0x00003d81,0x00050050,0x00000007, | ||
| 5437 | 0x00003d88,0x00003d82,0x00003d87,0x0004007c, | ||
| 5438 | 0x00000014,0x00003d78,0x00003d88,0x00060041, | ||
| 5439 | 0x00000174,0x00003d6f,0x00003d78,0x00000173, | ||
| 5440 | 0x00000173,0x0006003d,0x00000006,0x00003d70, | ||
| 5441 | 0x00003d6f,0x00000002,0x00000004,0x000500aa, | ||
| 5442 | 0x0000002f,0x00003d1b,0x00003d41,0x00003d70, | ||
| 5443 | 0x000300f7,0x00003d23,0x00000000,0x000400fa, | ||
| 5444 | 0x00003d1b,0x00003d1c,0x00003d23,0x000200f8, | ||
| 5445 | 0x00003d1c,0x000500c6,0x000000fb,0x00003d1f, | ||
| 5446 | 0x000014cd,0x00003c46,0x0004007c,0x00000006, | ||
| 5447 | 0x00003d20,0x00003d1f,0x0006000c,0x000000fb, | ||
| 5448 | 0x00003d21,0x00000001,0x0000004b,0x00003d20, | ||
| 5449 | 0x00050082,0x000000fb,0x00003d22,0x00000ddb, | ||
| 5450 | 0x00003d21,0x000200f9,0x00003d29,0x000200f8, | ||
| 5451 | 0x00003d23,0x000500c6,0x00000006,0x00003d26, | ||
| 5452 | 0x00003d41,0x00003d70,0x0006000c,0x000000fb, | ||
| 5453 | 0x00003d27,0x00000001,0x0000004b,0x00003d26, | ||
| 5454 | 0x00050082,0x000000fb,0x00003d28,0x00000de3, | ||
| 5455 | 0x00003d27,0x000200f9,0x00003d29,0x000200f8, | ||
| 5456 | 0x00003d29,0x000900f5,0x000000fb,0x00006267, | ||
| 5457 | 0x00000dcc,0x00003d13,0x00003d22,0x00003d1c, | ||
| 5458 | 0x00003d28,0x00003d23,0x00050082,0x000000fb, | ||
| 5459 | 0x00003c4a,0x000014cd,0x0000026c,0x000300f7, | ||
| 5460 | 0x00003db3,0x00000000,0x000300fb,0x00000140, | ||
| 5461 | 0x00003d91,0x000200f8,0x00003d91,0x000500b1, | ||
| 5462 | 0x0000002f,0x00003d93,0x00003c4a,0x00000173, | ||
| 5463 | 0x000400a8,0x0000002f,0x00003d94,0x00003d93, | ||
| 5464 | 0x000300f7,0x00003d9b,0x00000000,0x000400fa, | ||
| 5465 | 0x00003d94,0x00003d95,0x00003d9b,0x000200f8, | ||
| 5466 | 0x00003d95,0x00050041,0x000001c3,0x00003d97, | ||
| 5467 | 0x000001c1,0x000001f8,0x0004003d,0x00000006, | ||
| 5468 | 0x00003d98,0x00003d97,0x0004007c,0x000000fb, | ||
| 5469 | 0x00003d99,0x00003d98,0x000500af,0x0000002f, | ||
| 5470 | 0x00003d9a,0x00003c4a,0x00003d99,0x000200f9, | ||
| 5471 | 0x00003d9b,0x000200f8,0x00003d9b,0x000700f5, | ||
| 5472 | 0x0000002f,0x00003d9c,0x00003d93,0x00003d91, | ||
| 5473 | 0x00003d9a,0x00003d95,0x000300f7,0x00003d9e, | ||
| 5474 | 0x00000000,0x000400fa,0x00003d9c,0x00003d9d, | ||
| 5475 | 0x00003d9e,0x000200f8,0x00003d9d,0x000200f9, | ||
| 5476 | 0x00003db3,0x000200f8,0x00003d9e,0x00050084, | ||
| 5477 | 0x00000006,0x00003dbc,0x000000f3,0x000013a7, | ||
| 5478 | 0x00050080,0x00000006,0x00003dbd,0x000001cc, | ||
| 5479 | 0x00003dbc,0x00050041,0x0000026e,0x00003dbe, | ||
| 5480 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, | ||
| 5481 | 0x00003dbf,0x00003dbe,0x00050051,0x00000006, | ||
| 5482 | 0x00003dd9,0x00003dbf,0x00000000,0x00050095, | ||
| 5483 | 0x00000145,0x00003ddb,0x00003dd9,0x00003dbd, | ||
| 5484 | 0x00050051,0x00000006,0x00003ddc,0x00003ddb, | ||
| 5485 | 0x00000001,0x00050051,0x00000006,0x00003ddd, | ||
| 5486 | 0x00003ddb,0x00000000,0x00050051,0x00000006, | ||
| 5487 | 0x00003de0,0x00003dbf,0x00000001,0x00050080, | ||
| 5488 | 0x00000006,0x00003de2,0x00003de0,0x00003ddc, | ||
| 5489 | 0x00050050,0x00000007,0x00003de3,0x00003ddd, | ||
| 5490 | 0x00003de2,0x0004007c,0x00000014,0x00003dd3, | ||
| 5491 | 0x00003de3,0x00060041,0x00000174,0x00003dca, | ||
| 5492 | 0x00003dd3,0x00000173,0x00000173,0x0006003d, | ||
| 5493 | 0x00000006,0x00003dcb,0x00003dca,0x00000002, | ||
| 5494 | 0x00000004,0x0004007c,0x00000006,0x00003dea, | ||
| 5495 | 0x00003c4a,0x00050084,0x00000006,0x00003deb, | ||
| 5496 | 0x000000f3,0x00003dea,0x00050080,0x00000006, | ||
| 5497 | 0x00003dec,0x000001cc,0x00003deb,0x00050095, | ||
| 5498 | 0x00000145,0x00003e0a,0x00003dd9,0x00003dec, | ||
| 5499 | 0x00050051,0x00000006,0x00003e0b,0x00003e0a, | ||
| 5500 | 0x00000001,0x00050051,0x00000006,0x00003e0c, | ||
| 5501 | 0x00003e0a,0x00000000,0x00050080,0x00000006, | ||
| 5502 | 0x00003e11,0x00003de0,0x00003e0b,0x00050050, | ||
| 5503 | 0x00000007,0x00003e12,0x00003e0c,0x00003e11, | ||
| 5504 | 0x0004007c,0x00000014,0x00003e02,0x00003e12, | ||
| 5505 | 0x00060041,0x00000174,0x00003df9,0x00003e02, | ||
| 5506 | 0x00000173,0x00000173,0x0006003d,0x00000006, | ||
| 5507 | 0x00003dfa,0x00003df9,0x00000002,0x00000004, | ||
| 5508 | 0x000500aa,0x0000002f,0x00003da5,0x00003dcb, | ||
| 5509 | 0x00003dfa,0x000300f7,0x00003dad,0x00000000, | ||
| 5510 | 0x000400fa,0x00003da5,0x00003da6,0x00003dad, | ||
| 5511 | 0x000200f8,0x00003da6,0x000500c6,0x000000fb, | ||
| 5512 | 0x00003da9,0x000014cd,0x00003c4a,0x0004007c, | ||
| 5513 | 0x00000006,0x00003daa,0x00003da9,0x0006000c, | ||
| 5514 | 0x000000fb,0x00003dab,0x00000001,0x0000004b, | ||
| 5515 | 0x00003daa,0x00050082,0x000000fb,0x00003dac, | ||
| 5516 | 0x00000ddb,0x00003dab,0x000200f9,0x00003db3, | ||
| 5517 | 0x000200f8,0x00003dad,0x000500c6,0x00000006, | ||
| 5518 | 0x00003db0,0x00003dcb,0x00003dfa,0x0006000c, | ||
| 5519 | 0x000000fb,0x00003db1,0x00000001,0x0000004b, | ||
| 5520 | 0x00003db0,0x00050082,0x000000fb,0x00003db2, | ||
| 5521 | 0x00000de3,0x00003db1,0x000200f9,0x00003db3, | ||
| 5522 | 0x000200f8,0x00003db3,0x000900f5,0x000000fb, | ||
| 5523 | 0x00006268,0x00000dcc,0x00003d9d,0x00003dac, | ||
| 5524 | 0x00003da6,0x00003db2,0x00003dad,0x00050082, | ||
| 5525 | 0x000000fb,0x00003c4d,0x00006267,0x00006268, | ||
| 5526 | 0x000500ad,0x0000002f,0x00003c4e,0x00003c4d, | ||
| 5527 | 0x00000173,0x000600a9,0x000000fb,0x00003c4f, | ||
| 5528 | 0x00003c4e,0x0000026c,0x00000dcc,0x00050082, | ||
| 5529 | 0x000000fb,0x00003c52,0x000014cd,0x00003c4f, | ||
| 5530 | 0x000300f7,0x00003e3d,0x00000000,0x000300fb, | ||
| 5531 | 0x00000140,0x00003e1b,0x000200f8,0x00003e1b, | ||
| 5532 | 0x000500b1,0x0000002f,0x00003e1d,0x00003c52, | ||
| 5533 | 0x00000173,0x000400a8,0x0000002f,0x00003e1e, | ||
| 5534 | 0x00003e1d,0x000300f7,0x00003e25,0x00000000, | ||
| 5535 | 0x000400fa,0x00003e1e,0x00003e1f,0x00003e25, | ||
| 5536 | 0x000200f8,0x00003e1f,0x00050041,0x000001c3, | ||
| 5537 | 0x00003e21,0x000001c1,0x000001f8,0x0004003d, | ||
| 5538 | 0x00000006,0x00003e22,0x00003e21,0x0004007c, | ||
| 5539 | 0x000000fb,0x00003e23,0x00003e22,0x000500af, | ||
| 5540 | 0x0000002f,0x00003e24,0x00003c52,0x00003e23, | ||
| 5541 | 0x000200f9,0x00003e25,0x000200f8,0x00003e25, | ||
| 5542 | 0x000700f5,0x0000002f,0x00003e26,0x00003e1d, | ||
| 5543 | 0x00003e1b,0x00003e24,0x00003e1f,0x000300f7, | ||
| 5544 | 0x00003e28,0x00000000,0x000400fa,0x00003e26, | ||
| 5545 | 0x00003e27,0x00003e28,0x000200f8,0x00003e27, | ||
| 5546 | 0x000200f9,0x00003e3d,0x000200f8,0x00003e28, | ||
| 5547 | 0x00050084,0x00000006,0x00003e46,0x000000f3, | ||
| 5548 | 0x000013a7,0x00050080,0x00000006,0x00003e47, | ||
| 5549 | 0x000001cc,0x00003e46,0x00050041,0x0000026e, | ||
| 5550 | 0x00003e48,0x000001c1,0x0000026c,0x0004003d, | ||
| 5551 | 0x00000007,0x00003e49,0x00003e48,0x00050051, | ||
| 5552 | 0x00000006,0x00003e63,0x00003e49,0x00000000, | ||
| 5553 | 0x00050095,0x00000145,0x00003e65,0x00003e63, | ||
| 5554 | 0x00003e47,0x00050051,0x00000006,0x00003e66, | ||
| 5555 | 0x00003e65,0x00000001,0x00050051,0x00000006, | ||
| 5556 | 0x00003e67,0x00003e65,0x00000000,0x00050051, | ||
| 5557 | 0x00000006,0x00003e6a,0x00003e49,0x00000001, | ||
| 5558 | 0x00050080,0x00000006,0x00003e6c,0x00003e6a, | ||
| 5559 | 0x00003e66,0x00050050,0x00000007,0x00003e6d, | ||
| 5560 | 0x00003e67,0x00003e6c,0x0004007c,0x00000014, | ||
| 5561 | 0x00003e5d,0x00003e6d,0x00060041,0x00000174, | ||
| 5562 | 0x00003e54,0x00003e5d,0x00000173,0x00000173, | ||
| 5563 | 0x0006003d,0x00000006,0x00003e55,0x00003e54, | ||
| 5049 | 0x00000002,0x00000004,0x0004007c,0x00000006, | 5564 | 0x00000002,0x00000004,0x0004007c,0x00000006, |
| 5050 | 0x00003a82,0x00003968,0x00050084,0x00000006, | 5565 | 0x00003e74,0x00003c52,0x00050084,0x00000006, |
| 5051 | 0x00003a83,0x000000ec,0x00003a82,0x00050080, | 5566 | 0x00003e75,0x000000f3,0x00003e74,0x00050080, |
| 5052 | 0x00000006,0x00003a84,0x000001c4,0x00003a83, | 5567 | 0x00000006,0x00003e76,0x000001cc,0x00003e75, |
| 5053 | 0x00050095,0x0000013d,0x00003aa2,0x00003a71, | 5568 | 0x00050095,0x00000145,0x00003e94,0x00003e63, |
| 5054 | 0x00003a84,0x00050051,0x00000006,0x00003aa3, | 5569 | 0x00003e76,0x00050051,0x00000006,0x00003e95, |
| 5055 | 0x00003aa2,0x00000001,0x00050051,0x00000006, | 5570 | 0x00003e94,0x00000001,0x00050051,0x00000006, |
| 5056 | 0x00003aa4,0x00003aa2,0x00000000,0x00050080, | 5571 | 0x00003e96,0x00003e94,0x00000000,0x00050080, |
| 5057 | 0x00000006,0x00003aa9,0x00003a78,0x00003aa3, | 5572 | 0x00000006,0x00003e9b,0x00003e6a,0x00003e95, |
| 5058 | 0x00050050,0x00000007,0x00003aaa,0x00003aa4, | 5573 | 0x00050050,0x00000007,0x00003e9c,0x00003e96, |
| 5059 | 0x00003aa9,0x0004007c,0x00000014,0x00003a9a, | 5574 | 0x00003e9b,0x0004007c,0x00000014,0x00003e8c, |
| 5060 | 0x00003aaa,0x00060041,0x0000016c,0x00003a91, | 5575 | 0x00003e9c,0x00060041,0x00000174,0x00003e83, |
| 5061 | 0x00003a9a,0x0000016b,0x0000016b,0x0006003d, | 5576 | 0x00003e8c,0x00000173,0x00000173,0x0006003d, |
| 5062 | 0x00000006,0x00003a92,0x00003a91,0x00000002, | 5577 | 0x00000006,0x00003e84,0x00003e83,0x00000002, |
| 5063 | 0x00000004,0x000500aa,0x0000002f,0x00003a3d, | 5578 | 0x00000004,0x000500aa,0x0000002f,0x00003e2f, |
| 5064 | 0x00003a63,0x00003a92,0x000300f7,0x00003a45, | 5579 | 0x00003e55,0x00003e84,0x000300f7,0x00003e37, |
| 5065 | 0x00000000,0x000400fa,0x00003a3d,0x00003a3e, | 5580 | 0x00000000,0x000400fa,0x00003e2f,0x00003e30, |
| 5066 | 0x00003a45,0x000200f8,0x00003a3e,0x000500c6, | 5581 | 0x00003e37,0x000200f8,0x00003e30,0x000500c6, |
| 5067 | 0x000000f4,0x00003a41,0x000013db,0x00003968, | 5582 | 0x000000fb,0x00003e33,0x000014cd,0x00003c52, |
| 5068 | 0x0004007c,0x00000006,0x00003a42,0x00003a41, | 5583 | 0x0004007c,0x00000006,0x00003e34,0x00003e33, |
| 5069 | 0x0006000c,0x000000f4,0x00003a43,0x00000001, | 5584 | 0x0006000c,0x000000fb,0x00003e35,0x00000001, |
| 5070 | 0x0000004b,0x00003a42,0x00050082,0x000000f4, | 5585 | 0x0000004b,0x00003e34,0x00050082,0x000000fb, |
| 5071 | 0x00003a44,0x00000d76,0x00003a43,0x000200f9, | 5586 | 0x00003e36,0x00000ddb,0x00003e35,0x000200f9, |
| 5072 | 0x00003a4b,0x000200f8,0x00003a45,0x000500c6, | 5587 | 0x00003e3d,0x000200f8,0x00003e37,0x000500c6, |
| 5073 | 0x00000006,0x00003a48,0x00003a63,0x00003a92, | 5588 | 0x00000006,0x00003e3a,0x00003e55,0x00003e84, |
| 5074 | 0x0006000c,0x000000f4,0x00003a49,0x00000001, | 5589 | 0x0006000c,0x000000fb,0x00003e3b,0x00000001, |
| 5075 | 0x0000004b,0x00003a48,0x00050082,0x000000f4, | 5590 | 0x0000004b,0x00003e3a,0x00050082,0x000000fb, |
| 5076 | 0x00003a4a,0x00000d7e,0x00003a49,0x000200f9, | 5591 | 0x00003e3c,0x00000de3,0x00003e3b,0x000200f9, |
| 5077 | 0x00003a4b,0x000200f8,0x00003a4b,0x000900f5, | 5592 | 0x00003e3d,0x000200f8,0x00003e3d,0x000900f5, |
| 5078 | 0x000000f4,0x00005e41,0x00000d67,0x00003a35, | 5593 | 0x000000fb,0x00006269,0x00000dcc,0x00003e27, |
| 5079 | 0x00003a44,0x00003a3e,0x00003a4a,0x00003a45, | 5594 | 0x00003e36,0x00003e30,0x00003e3c,0x00003e37, |
| 5080 | 0x00050082,0x000000f4,0x0000396c,0x000013db, | 5595 | 0x000200f9,0x00003c55,0x000200f8,0x00003c55, |
| 5081 | 0x00000264,0x000300f7,0x00003ad5,0x00000000, | 5596 | 0x000700f5,0x000000fb,0x0000626a,0x0000031d, |
| 5082 | 0x000300fb,0x00000138,0x00003ab3,0x000200f8, | 5597 | 0x00003e3d,0x00003c62,0x00003c60,0x000400f6, |
| 5083 | 0x00003ab3,0x000500b1,0x0000002f,0x00003ab5, | 5598 | 0x00003c64,0x00003c60,0x00000000,0x000200f9, |
| 5084 | 0x0000396c,0x0000016b,0x000400a8,0x0000002f, | 5599 | 0x00003c56,0x000200f8,0x00003c56,0x00050084, |
| 5085 | 0x00003ab6,0x00003ab5,0x000300f7,0x00003abd, | 5600 | 0x000000fb,0x00003c5a,0x0000626a,0x00003c4f, |
| 5086 | 0x00000000,0x000400fa,0x00003ab6,0x00003ab7, | 5601 | 0x00050080,0x000000fb,0x00003c5b,0x000014cd, |
| 5087 | 0x00003abd,0x000200f8,0x00003ab7,0x00050041, | 5602 | 0x00003c5a,0x000300f7,0x00003ec7,0x00000000, |
| 5088 | 0x000001bb,0x00003ab9,0x000001b9,0x000001f0, | 5603 | 0x000300fb,0x00000140,0x00003ea5,0x000200f8, |
| 5089 | 0x0004003d,0x00000006,0x00003aba,0x00003ab9, | 5604 | 0x00003ea5,0x000500b1,0x0000002f,0x00003ea7, |
| 5090 | 0x0004007c,0x000000f4,0x00003abb,0x00003aba, | 5605 | 0x00003c5b,0x00000173,0x000400a8,0x0000002f, |
| 5091 | 0x000500af,0x0000002f,0x00003abc,0x0000396c, | 5606 | 0x00003ea8,0x00003ea7,0x000300f7,0x00003eaf, |
| 5092 | 0x00003abb,0x000200f9,0x00003abd,0x000200f8, | 5607 | 0x00000000,0x000400fa,0x00003ea8,0x00003ea9, |
| 5093 | 0x00003abd,0x000700f5,0x0000002f,0x00003abe, | 5608 | 0x00003eaf,0x000200f8,0x00003ea9,0x00050041, |
| 5094 | 0x00003ab5,0x00003ab3,0x00003abc,0x00003ab7, | 5609 | 0x000001c3,0x00003eab,0x000001c1,0x000001f8, |
| 5095 | 0x000300f7,0x00003ac0,0x00000000,0x000400fa, | 5610 | 0x0004003d,0x00000006,0x00003eac,0x00003eab, |
| 5096 | 0x00003abe,0x00003abf,0x00003ac0,0x000200f8, | 5611 | 0x0004007c,0x000000fb,0x00003ead,0x00003eac, |
| 5097 | 0x00003abf,0x000200f9,0x00003ad5,0x000200f8, | 5612 | 0x000500af,0x0000002f,0x00003eae,0x00003c5b, |
| 5098 | 0x00003ac0,0x00050084,0x00000006,0x00003ade, | 5613 | 0x00003ead,0x000200f9,0x00003eaf,0x000200f8, |
| 5099 | 0x000000ec,0x000012dd,0x00050080,0x00000006, | 5614 | 0x00003eaf,0x000700f5,0x0000002f,0x00003eb0, |
| 5100 | 0x00003adf,0x000001c4,0x00003ade,0x00050041, | 5615 | 0x00003ea7,0x00003ea5,0x00003eae,0x00003ea9, |
| 5101 | 0x00000266,0x00003ae0,0x000001b9,0x00000264, | 5616 | 0x000300f7,0x00003eb2,0x00000000,0x000400fa, |
| 5102 | 0x0004003d,0x00000007,0x00003ae1,0x00003ae0, | 5617 | 0x00003eb0,0x00003eb1,0x00003eb2,0x000200f8, |
| 5103 | 0x00050051,0x00000006,0x00003afb,0x00003ae1, | 5618 | 0x00003eb1,0x000200f9,0x00003ec7,0x000200f8, |
| 5104 | 0x00000000,0x00050095,0x0000013d,0x00003afd, | 5619 | 0x00003eb2,0x00050084,0x00000006,0x00003ed0, |
| 5105 | 0x00003afb,0x00003adf,0x00050051,0x00000006, | 5620 | 0x000000f3,0x000013a7,0x00050080,0x00000006, |
| 5106 | 0x00003afe,0x00003afd,0x00000001,0x00050051, | 5621 | 0x00003ed1,0x000001cc,0x00003ed0,0x00050041, |
| 5107 | 0x00000006,0x00003aff,0x00003afd,0x00000000, | 5622 | 0x0000026e,0x00003ed2,0x000001c1,0x0000026c, |
| 5108 | 0x00050051,0x00000006,0x00003b02,0x00003ae1, | 5623 | 0x0004003d,0x00000007,0x00003ed3,0x00003ed2, |
| 5109 | 0x00000001,0x00050080,0x00000006,0x00003b04, | 5624 | 0x00050051,0x00000006,0x00003eed,0x00003ed3, |
| 5110 | 0x00003b02,0x00003afe,0x00050050,0x00000007, | 5625 | 0x00000000,0x00050095,0x00000145,0x00003eef, |
| 5111 | 0x00003b05,0x00003aff,0x00003b04,0x0004007c, | 5626 | 0x00003eed,0x00003ed1,0x00050051,0x00000006, |
| 5112 | 0x00000014,0x00003af5,0x00003b05,0x00060041, | 5627 | 0x00003ef0,0x00003eef,0x00000001,0x00050051, |
| 5113 | 0x0000016c,0x00003aec,0x00003af5,0x0000016b, | 5628 | 0x00000006,0x00003ef1,0x00003eef,0x00000000, |
| 5114 | 0x0000016b,0x0006003d,0x00000006,0x00003aed, | 5629 | 0x00050051,0x00000006,0x00003ef4,0x00003ed3, |
| 5115 | 0x00003aec,0x00000002,0x00000004,0x0004007c, | 5630 | 0x00000001,0x00050080,0x00000006,0x00003ef6, |
| 5116 | 0x00000006,0x00003b0c,0x0000396c,0x00050084, | 5631 | 0x00003ef4,0x00003ef0,0x00050050,0x00000007, |
| 5117 | 0x00000006,0x00003b0d,0x000000ec,0x00003b0c, | 5632 | 0x00003ef7,0x00003ef1,0x00003ef6,0x0004007c, |
| 5118 | 0x00050080,0x00000006,0x00003b0e,0x000001c4, | 5633 | 0x00000014,0x00003ee7,0x00003ef7,0x00060041, |
| 5119 | 0x00003b0d,0x00050095,0x0000013d,0x00003b2c, | 5634 | 0x00000174,0x00003ede,0x00003ee7,0x00000173, |
| 5120 | 0x00003afb,0x00003b0e,0x00050051,0x00000006, | 5635 | 0x00000173,0x0006003d,0x00000006,0x00003edf, |
| 5121 | 0x00003b2d,0x00003b2c,0x00000001,0x00050051, | 5636 | 0x00003ede,0x00000002,0x00000004,0x0004007c, |
| 5122 | 0x00000006,0x00003b2e,0x00003b2c,0x00000000, | 5637 | 0x00000006,0x00003efe,0x00003c5b,0x00050084, |
| 5123 | 0x00050080,0x00000006,0x00003b33,0x00003b02, | 5638 | 0x00000006,0x00003eff,0x000000f3,0x00003efe, |
| 5124 | 0x00003b2d,0x00050050,0x00000007,0x00003b34, | 5639 | 0x00050080,0x00000006,0x00003f00,0x000001cc, |
| 5125 | 0x00003b2e,0x00003b33,0x0004007c,0x00000014, | 5640 | 0x00003eff,0x00050095,0x00000145,0x00003f1e, |
| 5126 | 0x00003b24,0x00003b34,0x00060041,0x0000016c, | 5641 | 0x00003eed,0x00003f00,0x00050051,0x00000006, |
| 5127 | 0x00003b1b,0x00003b24,0x0000016b,0x0000016b, | 5642 | 0x00003f1f,0x00003f1e,0x00000001,0x00050051, |
| 5128 | 0x0006003d,0x00000006,0x00003b1c,0x00003b1b, | 5643 | 0x00000006,0x00003f20,0x00003f1e,0x00000000, |
| 5644 | 0x00050080,0x00000006,0x00003f25,0x00003ef4, | ||
| 5645 | 0x00003f1f,0x00050050,0x00000007,0x00003f26, | ||
| 5646 | 0x00003f20,0x00003f25,0x0004007c,0x00000014, | ||
| 5647 | 0x00003f16,0x00003f26,0x00060041,0x00000174, | ||
| 5648 | 0x00003f0d,0x00003f16,0x00000173,0x00000173, | ||
| 5649 | 0x0006003d,0x00000006,0x00003f0e,0x00003f0d, | ||
| 5129 | 0x00000002,0x00000004,0x000500aa,0x0000002f, | 5650 | 0x00000002,0x00000004,0x000500aa,0x0000002f, |
| 5130 | 0x00003ac7,0x00003aed,0x00003b1c,0x000300f7, | 5651 | 0x00003eb9,0x00003edf,0x00003f0e,0x000300f7, |
| 5131 | 0x00003acf,0x00000000,0x000400fa,0x00003ac7, | 5652 | 0x00003ec1,0x00000000,0x000400fa,0x00003eb9, |
| 5132 | 0x00003ac8,0x00003acf,0x000200f8,0x00003ac8, | 5653 | 0x00003eba,0x00003ec1,0x000200f8,0x00003eba, |
| 5133 | 0x000500c6,0x000000f4,0x00003acb,0x000013db, | 5654 | 0x000500c6,0x000000fb,0x00003ebd,0x000014cd, |
| 5134 | 0x0000396c,0x0004007c,0x00000006,0x00003acc, | 5655 | 0x00003c5b,0x0004007c,0x00000006,0x00003ebe, |
| 5135 | 0x00003acb,0x0006000c,0x000000f4,0x00003acd, | 5656 | 0x00003ebd,0x0006000c,0x000000fb,0x00003ebf, |
| 5136 | 0x00000001,0x0000004b,0x00003acc,0x00050082, | 5657 | 0x00000001,0x0000004b,0x00003ebe,0x00050082, |
| 5137 | 0x000000f4,0x00003ace,0x00000d76,0x00003acd, | 5658 | 0x000000fb,0x00003ec0,0x00000ddb,0x00003ebf, |
| 5138 | 0x000200f9,0x00003ad5,0x000200f8,0x00003acf, | 5659 | 0x000200f9,0x00003ec7,0x000200f8,0x00003ec1, |
| 5139 | 0x000500c6,0x00000006,0x00003ad2,0x00003aed, | 5660 | 0x000500c6,0x00000006,0x00003ec4,0x00003edf, |
| 5140 | 0x00003b1c,0x0006000c,0x000000f4,0x00003ad3, | 5661 | 0x00003f0e,0x0006000c,0x000000fb,0x00003ec5, |
| 5141 | 0x00000001,0x0000004b,0x00003ad2,0x00050082, | 5662 | 0x00000001,0x0000004b,0x00003ec4,0x00050082, |
| 5142 | 0x000000f4,0x00003ad4,0x00000d7e,0x00003ad3, | 5663 | 0x000000fb,0x00003ec6,0x00000de3,0x00003ec5, |
| 5143 | 0x000200f9,0x00003ad5,0x000200f8,0x00003ad5, | 5664 | 0x000200f9,0x00003ec7,0x000200f8,0x00003ec7, |
| 5144 | 0x000900f5,0x000000f4,0x00005e42,0x00000d67, | 5665 | 0x000900f5,0x000000fb,0x0000626b,0x00000dcc, |
| 5145 | 0x00003abf,0x00003ace,0x00003ac8,0x00003ad4, | 5666 | 0x00003eb1,0x00003ec0,0x00003eba,0x00003ec6, |
| 5146 | 0x00003acf,0x00050082,0x000000f4,0x0000396f, | 5667 | 0x00003ec1,0x000500ad,0x0000002f,0x00003c5f, |
| 5147 | 0x00005e41,0x00005e42,0x000500ad,0x0000002f, | 5668 | 0x0000626b,0x00006269,0x000400fa,0x00003c5f, |
| 5148 | 0x00003970,0x0000396f,0x0000016b,0x000600a9, | 5669 | 0x00003c60,0x00003c64,0x000200f8,0x00003c60, |
| 5149 | 0x000000f4,0x00003971,0x00003970,0x00000264, | 5670 | 0x000500c4,0x000000fb,0x00003c62,0x0000626a, |
| 5150 | 0x00000d67,0x00050082,0x000000f4,0x00003974, | 5671 | 0x0000026c,0x000200f9,0x00003c55,0x000200f8, |
| 5151 | 0x000013db,0x00003971,0x000300f7,0x00003b5f, | 5672 | 0x00003c64,0x000500c3,0x000000fb,0x00003c66, |
| 5152 | 0x00000000,0x000300fb,0x00000138,0x00003b3d, | 5673 | 0x0000626a,0x0000026c,0x000200f9,0x00003c67, |
| 5153 | 0x000200f8,0x00003b3d,0x000500b1,0x0000002f, | 5674 | 0x000200f8,0x00003c67,0x000700f5,0x000000fb, |
| 5154 | 0x00003b3f,0x00003974,0x0000016b,0x000400a8, | 5675 | 0x0000626f,0x00000173,0x00003c64,0x0000654d, |
| 5155 | 0x0000002f,0x00003b40,0x00003b3f,0x000300f7, | 5676 | 0x00003c7c,0x000700f5,0x000000fb,0x0000626e, |
| 5156 | 0x00003b47,0x00000000,0x000400fa,0x00003b40, | 5677 | 0x00003c66,0x00003c64,0x00003c7e,0x00003c7c, |
| 5157 | 0x00003b41,0x00003b47,0x000200f8,0x00003b41, | 5678 | 0x000500af,0x0000002f,0x00003c6a,0x0000626e, |
| 5158 | 0x00050041,0x000001bb,0x00003b43,0x000001b9, | 5679 | 0x0000026c,0x000400f6,0x00003c7f,0x00003c7c, |
| 5159 | 0x000001f0,0x0004003d,0x00000006,0x00003b44, | 5680 | 0x00000000,0x000400fa,0x00003c6a,0x00003c6b, |
| 5160 | 0x00003b43,0x0004007c,0x000000f4,0x00003b45, | 5681 | 0x00003c7f,0x000200f8,0x00003c6b,0x00050080, |
| 5161 | 0x00003b44,0x000500af,0x0000002f,0x00003b46, | 5682 | 0x000000fb,0x00003c6f,0x0000626f,0x0000626e, |
| 5162 | 0x00003974,0x00003b45,0x000200f9,0x00003b47, | 5683 | 0x00050084,0x000000fb,0x00003c71,0x00003c6f, |
| 5163 | 0x000200f8,0x00003b47,0x000700f5,0x0000002f, | 5684 | 0x00003c4f,0x00050080,0x000000fb,0x00003c72, |
| 5164 | 0x00003b48,0x00003b3f,0x00003b3d,0x00003b46, | 5685 | 0x000014cd,0x00003c71,0x000300f7,0x00003f51, |
| 5165 | 0x00003b41,0x000300f7,0x00003b4a,0x00000000, | 5686 | 0x00000000,0x000300fb,0x00000140,0x00003f2f, |
| 5166 | 0x000400fa,0x00003b48,0x00003b49,0x00003b4a, | 5687 | 0x000200f8,0x00003f2f,0x000500b1,0x0000002f, |
| 5167 | 0x000200f8,0x00003b49,0x000200f9,0x00003b5f, | 5688 | 0x00003f31,0x00003c72,0x00000173,0x000400a8, |
| 5168 | 0x000200f8,0x00003b4a,0x00050084,0x00000006, | 5689 | 0x0000002f,0x00003f32,0x00003f31,0x000300f7, |
| 5169 | 0x00003b68,0x000000ec,0x000012dd,0x00050080, | 5690 | 0x00003f39,0x00000000,0x000400fa,0x00003f32, |
| 5170 | 0x00000006,0x00003b69,0x000001c4,0x00003b68, | 5691 | 0x00003f33,0x00003f39,0x000200f8,0x00003f33, |
| 5171 | 0x00050041,0x00000266,0x00003b6a,0x000001b9, | 5692 | 0x00050041,0x000001c3,0x00003f35,0x000001c1, |
| 5172 | 0x00000264,0x0004003d,0x00000007,0x00003b6b, | 5693 | 0x000001f8,0x0004003d,0x00000006,0x00003f36, |
| 5173 | 0x00003b6a,0x00050051,0x00000006,0x00003b85, | 5694 | 0x00003f35,0x0004007c,0x000000fb,0x00003f37, |
| 5174 | 0x00003b6b,0x00000000,0x00050095,0x0000013d, | 5695 | 0x00003f36,0x000500af,0x0000002f,0x00003f38, |
| 5175 | 0x00003b87,0x00003b85,0x00003b69,0x00050051, | 5696 | 0x00003c72,0x00003f37,0x000200f9,0x00003f39, |
| 5176 | 0x00000006,0x00003b88,0x00003b87,0x00000001, | 5697 | 0x000200f8,0x00003f39,0x000700f5,0x0000002f, |
| 5177 | 0x00050051,0x00000006,0x00003b89,0x00003b87, | 5698 | 0x00003f3a,0x00003f31,0x00003f2f,0x00003f38, |
| 5178 | 0x00000000,0x00050051,0x00000006,0x00003b8c, | 5699 | 0x00003f33,0x000300f7,0x00003f3c,0x00000000, |
| 5179 | 0x00003b6b,0x00000001,0x00050080,0x00000006, | 5700 | 0x000400fa,0x00003f3a,0x00003f3b,0x00003f3c, |
| 5180 | 0x00003b8e,0x00003b8c,0x00003b88,0x00050050, | 5701 | 0x000200f8,0x00003f3b,0x000200f9,0x00003f51, |
| 5181 | 0x00000007,0x00003b8f,0x00003b89,0x00003b8e, | 5702 | 0x000200f8,0x00003f3c,0x00050084,0x00000006, |
| 5182 | 0x0004007c,0x00000014,0x00003b7f,0x00003b8f, | 5703 | 0x00003f5a,0x000000f3,0x000013a7,0x00050080, |
| 5183 | 0x00060041,0x0000016c,0x00003b76,0x00003b7f, | 5704 | 0x00000006,0x00003f5b,0x000001cc,0x00003f5a, |
| 5184 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 5705 | 0x00050041,0x0000026e,0x00003f5c,0x000001c1, |
| 5185 | 0x00003b77,0x00003b76,0x00000002,0x00000004, | 5706 | 0x0000026c,0x0004003d,0x00000007,0x00003f5d, |
| 5186 | 0x0004007c,0x00000006,0x00003b96,0x00003974, | 5707 | 0x00003f5c,0x00050051,0x00000006,0x00003f77, |
| 5187 | 0x00050084,0x00000006,0x00003b97,0x000000ec, | 5708 | 0x00003f5d,0x00000000,0x00050095,0x00000145, |
| 5188 | 0x00003b96,0x00050080,0x00000006,0x00003b98, | 5709 | 0x00003f79,0x00003f77,0x00003f5b,0x00050051, |
| 5189 | 0x000001c4,0x00003b97,0x00050095,0x0000013d, | 5710 | 0x00000006,0x00003f7a,0x00003f79,0x00000001, |
| 5190 | 0x00003bb6,0x00003b85,0x00003b98,0x00050051, | 5711 | 0x00050051,0x00000006,0x00003f7b,0x00003f79, |
| 5191 | 0x00000006,0x00003bb7,0x00003bb6,0x00000001, | 5712 | 0x00000000,0x00050051,0x00000006,0x00003f7e, |
| 5192 | 0x00050051,0x00000006,0x00003bb8,0x00003bb6, | 5713 | 0x00003f5d,0x00000001,0x00050080,0x00000006, |
| 5193 | 0x00000000,0x00050080,0x00000006,0x00003bbd, | 5714 | 0x00003f80,0x00003f7e,0x00003f7a,0x00050050, |
| 5194 | 0x00003b8c,0x00003bb7,0x00050050,0x00000007, | 5715 | 0x00000007,0x00003f81,0x00003f7b,0x00003f80, |
| 5195 | 0x00003bbe,0x00003bb8,0x00003bbd,0x0004007c, | 5716 | 0x0004007c,0x00000014,0x00003f71,0x00003f81, |
| 5196 | 0x00000014,0x00003bae,0x00003bbe,0x00060041, | 5717 | 0x00060041,0x00000174,0x00003f68,0x00003f71, |
| 5197 | 0x0000016c,0x00003ba5,0x00003bae,0x0000016b, | 5718 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 5198 | 0x0000016b,0x0006003d,0x00000006,0x00003ba6, | 5719 | 0x00003f69,0x00003f68,0x00000002,0x00000004, |
| 5199 | 0x00003ba5,0x00000002,0x00000004,0x000500aa, | 5720 | 0x0004007c,0x00000006,0x00003f88,0x00003c72, |
| 5200 | 0x0000002f,0x00003b51,0x00003b77,0x00003ba6, | 5721 | 0x00050084,0x00000006,0x00003f89,0x000000f3, |
| 5201 | 0x000300f7,0x00003b59,0x00000000,0x000400fa, | 5722 | 0x00003f88,0x00050080,0x00000006,0x00003f8a, |
| 5202 | 0x00003b51,0x00003b52,0x00003b59,0x000200f8, | 5723 | 0x000001cc,0x00003f89,0x00050095,0x00000145, |
| 5203 | 0x00003b52,0x000500c6,0x000000f4,0x00003b55, | 5724 | 0x00003fa8,0x00003f77,0x00003f8a,0x00050051, |
| 5204 | 0x000013db,0x00003974,0x0004007c,0x00000006, | 5725 | 0x00000006,0x00003fa9,0x00003fa8,0x00000001, |
| 5205 | 0x00003b56,0x00003b55,0x0006000c,0x000000f4, | 5726 | 0x00050051,0x00000006,0x00003faa,0x00003fa8, |
| 5206 | 0x00003b57,0x00000001,0x0000004b,0x00003b56, | 5727 | 0x00000000,0x00050080,0x00000006,0x00003faf, |
| 5207 | 0x00050082,0x000000f4,0x00003b58,0x00000d76, | 5728 | 0x00003f7e,0x00003fa9,0x00050050,0x00000007, |
| 5208 | 0x00003b57,0x000200f9,0x00003b5f,0x000200f8, | 5729 | 0x00003fb0,0x00003faa,0x00003faf,0x0004007c, |
| 5209 | 0x00003b59,0x000500c6,0x00000006,0x00003b5c, | 5730 | 0x00000014,0x00003fa0,0x00003fb0,0x00060041, |
| 5210 | 0x00003b77,0x00003ba6,0x0006000c,0x000000f4, | 5731 | 0x00000174,0x00003f97,0x00003fa0,0x00000173, |
| 5211 | 0x00003b5d,0x00000001,0x0000004b,0x00003b5c, | 5732 | 0x00000173,0x0006003d,0x00000006,0x00003f98, |
| 5212 | 0x00050082,0x000000f4,0x00003b5e,0x00000d7e, | 5733 | 0x00003f97,0x00000002,0x00000004,0x000500aa, |
| 5213 | 0x00003b5d,0x000200f9,0x00003b5f,0x000200f8, | 5734 | 0x0000002f,0x00003f43,0x00003f69,0x00003f98, |
| 5214 | 0x00003b5f,0x000900f5,0x000000f4,0x00005e43, | 5735 | 0x000300f7,0x00003f4b,0x00000000,0x000400fa, |
| 5215 | 0x00000d67,0x00003b49,0x00003b58,0x00003b52, | 5736 | 0x00003f43,0x00003f44,0x00003f4b,0x000200f8, |
| 5216 | 0x00003b5e,0x00003b59,0x000200f9,0x00003977, | 5737 | 0x00003f44,0x000500c6,0x000000fb,0x00003f47, |
| 5217 | 0x000200f8,0x00003977,0x000700f5,0x000000f4, | 5738 | 0x000014cd,0x00003c72,0x0004007c,0x00000006, |
| 5218 | 0x00005e44,0x00000315,0x00003b5f,0x00003984, | 5739 | 0x00003f48,0x00003f47,0x0006000c,0x000000fb, |
| 5219 | 0x00003982,0x000400f6,0x00003986,0x00003982, | 5740 | 0x00003f49,0x00000001,0x0000004b,0x00003f48, |
| 5220 | 0x00000000,0x000200f9,0x00003978,0x000200f8, | 5741 | 0x00050082,0x000000fb,0x00003f4a,0x00000ddb, |
| 5221 | 0x00003978,0x00050084,0x000000f4,0x0000397c, | 5742 | 0x00003f49,0x000200f9,0x00003f51,0x000200f8, |
| 5222 | 0x00005e44,0x00003971,0x00050080,0x000000f4, | 5743 | 0x00003f4b,0x000500c6,0x00000006,0x00003f4e, |
| 5223 | 0x0000397d,0x000013db,0x0000397c,0x000300f7, | 5744 | 0x00003f69,0x00003f98,0x0006000c,0x000000fb, |
| 5224 | 0x00003be9,0x00000000,0x000300fb,0x00000138, | 5745 | 0x00003f4f,0x00000001,0x0000004b,0x00003f4e, |
| 5225 | 0x00003bc7,0x000200f8,0x00003bc7,0x000500b1, | 5746 | 0x00050082,0x000000fb,0x00003f50,0x00000de3, |
| 5226 | 0x0000002f,0x00003bc9,0x0000397d,0x0000016b, | 5747 | 0x00003f4f,0x000200f9,0x00003f51,0x000200f8, |
| 5227 | 0x000400a8,0x0000002f,0x00003bca,0x00003bc9, | 5748 | 0x00003f51,0x000900f5,0x000000fb,0x00006285, |
| 5228 | 0x000300f7,0x00003bd1,0x00000000,0x000400fa, | 5749 | 0x00000dcc,0x00003f3b,0x00003f4a,0x00003f44, |
| 5229 | 0x00003bca,0x00003bcb,0x00003bd1,0x000200f8, | 5750 | 0x00003f50,0x00003f4b,0x000500ad,0x0000002f, |
| 5230 | 0x00003bcb,0x00050041,0x000001bb,0x00003bcd, | 5751 | 0x00003c76,0x00006285,0x00006269,0x000600a9, |
| 5231 | 0x000001b9,0x000001f0,0x0004003d,0x00000006, | 5752 | 0x000000fb,0x0000654d,0x00003c76,0x00003c6f, |
| 5232 | 0x00003bce,0x00003bcd,0x0004007c,0x000000f4, | 5753 | 0x0000626f,0x000200f9,0x00003c7c,0x000200f8, |
| 5233 | 0x00003bcf,0x00003bce,0x000500af,0x0000002f, | 5754 | 0x00003c7c,0x000500c3,0x000000fb,0x00003c7e, |
| 5234 | 0x00003bd0,0x0000397d,0x00003bcf,0x000200f9, | 5755 | 0x0000626e,0x0000026c,0x000200f9,0x00003c67, |
| 5235 | 0x00003bd1,0x000200f8,0x00003bd1,0x000700f5, | 5756 | 0x000200f8,0x00003c7f,0x00050084,0x000000fb, |
| 5236 | 0x0000002f,0x00003bd2,0x00003bc9,0x00003bc7, | 5757 | 0x00003c83,0x0000626f,0x00003c4f,0x00050080, |
| 5237 | 0x00003bd0,0x00003bcb,0x000300f7,0x00003bd4, | 5758 | 0x000000fb,0x00003c84,0x000014cd,0x00003c83, |
| 5238 | 0x00000000,0x000400fa,0x00003bd2,0x00003bd3, | 5759 | 0x000300f7,0x00003fdb,0x00000000,0x000300fb, |
| 5239 | 0x00003bd4,0x000200f8,0x00003bd3,0x000200f9, | 5760 | 0x00000140,0x00003fb9,0x000200f8,0x00003fb9, |
| 5240 | 0x00003be9,0x000200f8,0x00003bd4,0x00050084, | 5761 | 0x000500b1,0x0000002f,0x00003fbb,0x00003c84, |
| 5241 | 0x00000006,0x00003bf2,0x000000ec,0x000012dd, | 5762 | 0x00000173,0x000400a8,0x0000002f,0x00003fbc, |
| 5242 | 0x00050080,0x00000006,0x00003bf3,0x000001c4, | 5763 | 0x00003fbb,0x000300f7,0x00003fc3,0x00000000, |
| 5243 | 0x00003bf2,0x00050041,0x00000266,0x00003bf4, | 5764 | 0x000400fa,0x00003fbc,0x00003fbd,0x00003fc3, |
| 5244 | 0x000001b9,0x00000264,0x0004003d,0x00000007, | 5765 | 0x000200f8,0x00003fbd,0x00050041,0x000001c3, |
| 5245 | 0x00003bf5,0x00003bf4,0x00050051,0x00000006, | 5766 | 0x00003fbf,0x000001c1,0x000001f8,0x0004003d, |
| 5246 | 0x00003c0f,0x00003bf5,0x00000000,0x00050095, | 5767 | 0x00000006,0x00003fc0,0x00003fbf,0x0004007c, |
| 5247 | 0x0000013d,0x00003c11,0x00003c0f,0x00003bf3, | 5768 | 0x000000fb,0x00003fc1,0x00003fc0,0x000500af, |
| 5248 | 0x00050051,0x00000006,0x00003c12,0x00003c11, | 5769 | 0x0000002f,0x00003fc2,0x00003c84,0x00003fc1, |
| 5249 | 0x00000001,0x00050051,0x00000006,0x00003c13, | 5770 | 0x000200f9,0x00003fc3,0x000200f8,0x00003fc3, |
| 5250 | 0x00003c11,0x00000000,0x00050051,0x00000006, | 5771 | 0x000700f5,0x0000002f,0x00003fc4,0x00003fbb, |
| 5251 | 0x00003c16,0x00003bf5,0x00000001,0x00050080, | 5772 | 0x00003fb9,0x00003fc2,0x00003fbd,0x000300f7, |
| 5252 | 0x00000006,0x00003c18,0x00003c16,0x00003c12, | 5773 | 0x00003fc6,0x00000000,0x000400fa,0x00003fc4, |
| 5253 | 0x00050050,0x00000007,0x00003c19,0x00003c13, | 5774 | 0x00003fc5,0x00003fc6,0x000200f8,0x00003fc5, |
| 5254 | 0x00003c18,0x0004007c,0x00000014,0x00003c09, | 5775 | 0x000200f9,0x00003fdb,0x000200f8,0x00003fc6, |
| 5255 | 0x00003c19,0x00060041,0x0000016c,0x00003c00, | 5776 | 0x00050084,0x00000006,0x00003fe4,0x000000f3, |
| 5256 | 0x00003c09,0x0000016b,0x0000016b,0x0006003d, | 5777 | 0x000013a7,0x00050080,0x00000006,0x00003fe5, |
| 5257 | 0x00000006,0x00003c01,0x00003c00,0x00000002, | 5778 | 0x000001cc,0x00003fe4,0x00050041,0x0000026e, |
| 5258 | 0x00000004,0x0004007c,0x00000006,0x00003c20, | 5779 | 0x00003fe6,0x000001c1,0x0000026c,0x0004003d, |
| 5259 | 0x0000397d,0x00050084,0x00000006,0x00003c21, | 5780 | 0x00000007,0x00003fe7,0x00003fe6,0x00050051, |
| 5260 | 0x000000ec,0x00003c20,0x00050080,0x00000006, | 5781 | 0x00000006,0x00004001,0x00003fe7,0x00000000, |
| 5261 | 0x00003c22,0x000001c4,0x00003c21,0x00050095, | 5782 | 0x00050095,0x00000145,0x00004003,0x00004001, |
| 5262 | 0x0000013d,0x00003c40,0x00003c0f,0x00003c22, | 5783 | 0x00003fe5,0x00050051,0x00000006,0x00004004, |
| 5263 | 0x00050051,0x00000006,0x00003c41,0x00003c40, | 5784 | 0x00004003,0x00000001,0x00050051,0x00000006, |
| 5264 | 0x00000001,0x00050051,0x00000006,0x00003c42, | 5785 | 0x00004005,0x00004003,0x00000000,0x00050051, |
| 5265 | 0x00003c40,0x00000000,0x00050080,0x00000006, | 5786 | 0x00000006,0x00004008,0x00003fe7,0x00000001, |
| 5266 | 0x00003c47,0x00003c16,0x00003c41,0x00050050, | 5787 | 0x00050080,0x00000006,0x0000400a,0x00004008, |
| 5267 | 0x00000007,0x00003c48,0x00003c42,0x00003c47, | 5788 | 0x00004004,0x00050050,0x00000007,0x0000400b, |
| 5268 | 0x0004007c,0x00000014,0x00003c38,0x00003c48, | 5789 | 0x00004005,0x0000400a,0x0004007c,0x00000014, |
| 5269 | 0x00060041,0x0000016c,0x00003c2f,0x00003c38, | 5790 | 0x00003ffb,0x0000400b,0x00060041,0x00000174, |
| 5270 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 5791 | 0x00003ff2,0x00003ffb,0x00000173,0x00000173, |
| 5271 | 0x00003c30,0x00003c2f,0x00000002,0x00000004, | 5792 | 0x0006003d,0x00000006,0x00003ff3,0x00003ff2, |
| 5272 | 0x000500aa,0x0000002f,0x00003bdb,0x00003c01, | ||
| 5273 | 0x00003c30,0x000300f7,0x00003be3,0x00000000, | ||
| 5274 | 0x000400fa,0x00003bdb,0x00003bdc,0x00003be3, | ||
| 5275 | 0x000200f8,0x00003bdc,0x000500c6,0x000000f4, | ||
| 5276 | 0x00003bdf,0x000013db,0x0000397d,0x0004007c, | ||
| 5277 | 0x00000006,0x00003be0,0x00003bdf,0x0006000c, | ||
| 5278 | 0x000000f4,0x00003be1,0x00000001,0x0000004b, | ||
| 5279 | 0x00003be0,0x00050082,0x000000f4,0x00003be2, | ||
| 5280 | 0x00000d76,0x00003be1,0x000200f9,0x00003be9, | ||
| 5281 | 0x000200f8,0x00003be3,0x000500c6,0x00000006, | ||
| 5282 | 0x00003be6,0x00003c01,0x00003c30,0x0006000c, | ||
| 5283 | 0x000000f4,0x00003be7,0x00000001,0x0000004b, | ||
| 5284 | 0x00003be6,0x00050082,0x000000f4,0x00003be8, | ||
| 5285 | 0x00000d7e,0x00003be7,0x000200f9,0x00003be9, | ||
| 5286 | 0x000200f8,0x00003be9,0x000900f5,0x000000f4, | ||
| 5287 | 0x00005e45,0x00000d67,0x00003bd3,0x00003be2, | ||
| 5288 | 0x00003bdc,0x00003be8,0x00003be3,0x000500ad, | ||
| 5289 | 0x0000002f,0x00003981,0x00005e45,0x00005e43, | ||
| 5290 | 0x000400fa,0x00003981,0x00003982,0x00003986, | ||
| 5291 | 0x000200f8,0x00003982,0x000500c4,0x000000f4, | ||
| 5292 | 0x00003984,0x00005e44,0x00000264,0x000200f9, | ||
| 5293 | 0x00003977,0x000200f8,0x00003986,0x000500c3, | ||
| 5294 | 0x000000f4,0x00003988,0x00005e44,0x00000264, | ||
| 5295 | 0x000200f9,0x00003989,0x000200f8,0x00003989, | ||
| 5296 | 0x000700f5,0x000000f4,0x00005e49,0x0000016b, | ||
| 5297 | 0x00003986,0x00006117,0x0000399e,0x000700f5, | ||
| 5298 | 0x000000f4,0x00005e48,0x00003988,0x00003986, | ||
| 5299 | 0x000039a0,0x0000399e,0x000500af,0x0000002f, | ||
| 5300 | 0x0000398c,0x00005e48,0x00000264,0x000400f6, | ||
| 5301 | 0x000039a1,0x0000399e,0x00000000,0x000400fa, | ||
| 5302 | 0x0000398c,0x0000398d,0x000039a1,0x000200f8, | ||
| 5303 | 0x0000398d,0x00050080,0x000000f4,0x00003991, | ||
| 5304 | 0x00005e49,0x00005e48,0x00050084,0x000000f4, | ||
| 5305 | 0x00003993,0x00003991,0x00003971,0x00050080, | ||
| 5306 | 0x000000f4,0x00003994,0x000013db,0x00003993, | ||
| 5307 | 0x000300f7,0x00003c73,0x00000000,0x000300fb, | ||
| 5308 | 0x00000138,0x00003c51,0x000200f8,0x00003c51, | ||
| 5309 | 0x000500b1,0x0000002f,0x00003c53,0x00003994, | ||
| 5310 | 0x0000016b,0x000400a8,0x0000002f,0x00003c54, | ||
| 5311 | 0x00003c53,0x000300f7,0x00003c5b,0x00000000, | ||
| 5312 | 0x000400fa,0x00003c54,0x00003c55,0x00003c5b, | ||
| 5313 | 0x000200f8,0x00003c55,0x00050041,0x000001bb, | ||
| 5314 | 0x00003c57,0x000001b9,0x000001f0,0x0004003d, | ||
| 5315 | 0x00000006,0x00003c58,0x00003c57,0x0004007c, | ||
| 5316 | 0x000000f4,0x00003c59,0x00003c58,0x000500af, | ||
| 5317 | 0x0000002f,0x00003c5a,0x00003994,0x00003c59, | ||
| 5318 | 0x000200f9,0x00003c5b,0x000200f8,0x00003c5b, | ||
| 5319 | 0x000700f5,0x0000002f,0x00003c5c,0x00003c53, | ||
| 5320 | 0x00003c51,0x00003c5a,0x00003c55,0x000300f7, | ||
| 5321 | 0x00003c5e,0x00000000,0x000400fa,0x00003c5c, | ||
| 5322 | 0x00003c5d,0x00003c5e,0x000200f8,0x00003c5d, | ||
| 5323 | 0x000200f9,0x00003c73,0x000200f8,0x00003c5e, | ||
| 5324 | 0x00050084,0x00000006,0x00003c7c,0x000000ec, | ||
| 5325 | 0x000012dd,0x00050080,0x00000006,0x00003c7d, | ||
| 5326 | 0x000001c4,0x00003c7c,0x00050041,0x00000266, | ||
| 5327 | 0x00003c7e,0x000001b9,0x00000264,0x0004003d, | ||
| 5328 | 0x00000007,0x00003c7f,0x00003c7e,0x00050051, | ||
| 5329 | 0x00000006,0x00003c99,0x00003c7f,0x00000000, | ||
| 5330 | 0x00050095,0x0000013d,0x00003c9b,0x00003c99, | ||
| 5331 | 0x00003c7d,0x00050051,0x00000006,0x00003c9c, | ||
| 5332 | 0x00003c9b,0x00000001,0x00050051,0x00000006, | ||
| 5333 | 0x00003c9d,0x00003c9b,0x00000000,0x00050051, | ||
| 5334 | 0x00000006,0x00003ca0,0x00003c7f,0x00000001, | ||
| 5335 | 0x00050080,0x00000006,0x00003ca2,0x00003ca0, | ||
| 5336 | 0x00003c9c,0x00050050,0x00000007,0x00003ca3, | ||
| 5337 | 0x00003c9d,0x00003ca2,0x0004007c,0x00000014, | ||
| 5338 | 0x00003c93,0x00003ca3,0x00060041,0x0000016c, | ||
| 5339 | 0x00003c8a,0x00003c93,0x0000016b,0x0000016b, | ||
| 5340 | 0x0006003d,0x00000006,0x00003c8b,0x00003c8a, | ||
| 5341 | 0x00000002,0x00000004,0x0004007c,0x00000006, | 5793 | 0x00000002,0x00000004,0x0004007c,0x00000006, |
| 5342 | 0x00003caa,0x00003994,0x00050084,0x00000006, | 5794 | 0x00004012,0x00003c84,0x00050084,0x00000006, |
| 5343 | 0x00003cab,0x000000ec,0x00003caa,0x00050080, | 5795 | 0x00004013,0x000000f3,0x00004012,0x00050080, |
| 5344 | 0x00000006,0x00003cac,0x000001c4,0x00003cab, | 5796 | 0x00000006,0x00004014,0x000001cc,0x00004013, |
| 5345 | 0x00050095,0x0000013d,0x00003cca,0x00003c99, | 5797 | 0x00050095,0x00000145,0x00004032,0x00004001, |
| 5346 | 0x00003cac,0x00050051,0x00000006,0x00003ccb, | 5798 | 0x00004014,0x00050051,0x00000006,0x00004033, |
| 5347 | 0x00003cca,0x00000001,0x00050051,0x00000006, | 5799 | 0x00004032,0x00000001,0x00050051,0x00000006, |
| 5348 | 0x00003ccc,0x00003cca,0x00000000,0x00050080, | 5800 | 0x00004034,0x00004032,0x00000000,0x00050080, |
| 5349 | 0x00000006,0x00003cd1,0x00003ca0,0x00003ccb, | 5801 | 0x00000006,0x00004039,0x00004008,0x00004033, |
| 5350 | 0x00050050,0x00000007,0x00003cd2,0x00003ccc, | 5802 | 0x00050050,0x00000007,0x0000403a,0x00004034, |
| 5351 | 0x00003cd1,0x0004007c,0x00000014,0x00003cc2, | 5803 | 0x00004039,0x0004007c,0x00000014,0x0000402a, |
| 5352 | 0x00003cd2,0x00060041,0x0000016c,0x00003cb9, | 5804 | 0x0000403a,0x00060041,0x00000174,0x00004021, |
| 5353 | 0x00003cc2,0x0000016b,0x0000016b,0x0006003d, | 5805 | 0x0000402a,0x00000173,0x00000173,0x0006003d, |
| 5354 | 0x00000006,0x00003cba,0x00003cb9,0x00000002, | 5806 | 0x00000006,0x00004022,0x00004021,0x00000002, |
| 5355 | 0x00000004,0x000500aa,0x0000002f,0x00003c65, | 5807 | 0x00000004,0x000500aa,0x0000002f,0x00003fcd, |
| 5356 | 0x00003c8b,0x00003cba,0x000300f7,0x00003c6d, | 5808 | 0x00003ff3,0x00004022,0x000300f7,0x00003fd5, |
| 5357 | 0x00000000,0x000400fa,0x00003c65,0x00003c66, | 5809 | 0x00000000,0x000400fa,0x00003fcd,0x00003fce, |
| 5358 | 0x00003c6d,0x000200f8,0x00003c66,0x000500c6, | 5810 | 0x00003fd5,0x000200f8,0x00003fce,0x000500c6, |
| 5359 | 0x000000f4,0x00003c69,0x000013db,0x00003994, | 5811 | 0x000000fb,0x00003fd1,0x000014cd,0x00003c84, |
| 5360 | 0x0004007c,0x00000006,0x00003c6a,0x00003c69, | 5812 | 0x0004007c,0x00000006,0x00003fd2,0x00003fd1, |
| 5361 | 0x0006000c,0x000000f4,0x00003c6b,0x00000001, | 5813 | 0x0006000c,0x000000fb,0x00003fd3,0x00000001, |
| 5362 | 0x0000004b,0x00003c6a,0x00050082,0x000000f4, | 5814 | 0x0000004b,0x00003fd2,0x00050082,0x000000fb, |
| 5363 | 0x00003c6c,0x00000d76,0x00003c6b,0x000200f9, | 5815 | 0x00003fd4,0x00000ddb,0x00003fd3,0x000200f9, |
| 5364 | 0x00003c73,0x000200f8,0x00003c6d,0x000500c6, | 5816 | 0x00003fdb,0x000200f8,0x00003fd5,0x000500c6, |
| 5365 | 0x00000006,0x00003c70,0x00003c8b,0x00003cba, | 5817 | 0x00000006,0x00003fd8,0x00003ff3,0x00004022, |
| 5366 | 0x0006000c,0x000000f4,0x00003c71,0x00000001, | 5818 | 0x0006000c,0x000000fb,0x00003fd9,0x00000001, |
| 5367 | 0x0000004b,0x00003c70,0x00050082,0x000000f4, | 5819 | 0x0000004b,0x00003fd8,0x00050082,0x000000fb, |
| 5368 | 0x00003c72,0x00000d7e,0x00003c71,0x000200f9, | 5820 | 0x00003fda,0x00000de3,0x00003fd9,0x000200f9, |
| 5369 | 0x00003c73,0x000200f8,0x00003c73,0x000900f5, | 5821 | 0x00003fdb,0x000200f8,0x00003fdb,0x000900f5, |
| 5370 | 0x000000f4,0x00005e5f,0x00000d67,0x00003c5d, | 5822 | 0x000000fb,0x00006270,0x00000dcc,0x00003fc5, |
| 5371 | 0x00003c6c,0x00003c66,0x00003c72,0x00003c6d, | 5823 | 0x00003fd4,0x00003fce,0x00003fda,0x00003fd5, |
| 5372 | 0x000500ad,0x0000002f,0x00003998,0x00005e5f, | 5824 | 0x000200f9,0x00003c89,0x000200f8,0x00003c89, |
| 5373 | 0x00005e43,0x000600a9,0x000000f4,0x00006117, | 5825 | 0x000700f5,0x000000fb,0x00006274,0x00000173, |
| 5374 | 0x00003998,0x00003991,0x00005e49,0x000200f9, | 5826 | 0x00003fdb,0x0000654e,0x00003c9e,0x000700f5, |
| 5375 | 0x0000399e,0x000200f8,0x0000399e,0x000500c3, | 5827 | 0x000000fb,0x00006273,0x0000626f,0x00003fdb, |
| 5376 | 0x000000f4,0x000039a0,0x00005e48,0x00000264, | 5828 | 0x00003c8d,0x00003c9e,0x000400f6,0x00003ca1, |
| 5377 | 0x000200f9,0x00003989,0x000200f8,0x000039a1, | 5829 | 0x00003c9e,0x00000000,0x000200f9,0x00003c8a, |
| 5378 | 0x00050084,0x000000f4,0x000039a5,0x00005e49, | 5830 | 0x000200f8,0x00003c8a,0x00050080,0x000000fb, |
| 5379 | 0x00003971,0x00050080,0x000000f4,0x000039a6, | 5831 | 0x00003c8c,0x00006273,0x0000026c,0x000500c3, |
| 5380 | 0x000013db,0x000039a5,0x000300f7,0x00003cfd, | 5832 | 0x000000fb,0x00003c8d,0x00003c8c,0x0000026c, |
| 5381 | 0x00000000,0x000300fb,0x00000138,0x00003cdb, | 5833 | 0x00050080,0x000000fb,0x00003c91,0x00006274, |
| 5382 | 0x000200f8,0x00003cdb,0x000500b1,0x0000002f, | 5834 | 0x00003c8d,0x00050084,0x000000fb,0x00003c93, |
| 5383 | 0x00003cdd,0x000039a6,0x0000016b,0x000400a8, | 5835 | 0x00003c91,0x00003c4f,0x00050080,0x000000fb, |
| 5384 | 0x0000002f,0x00003cde,0x00003cdd,0x000300f7, | 5836 | 0x00003c94,0x000014cd,0x00003c93,0x000300f7, |
| 5385 | 0x00003ce5,0x00000000,0x000400fa,0x00003cde, | 5837 | 0x00004065,0x00000000,0x000300fb,0x00000140, |
| 5386 | 0x00003cdf,0x00003ce5,0x000200f8,0x00003cdf, | 5838 | 0x00004043,0x000200f8,0x00004043,0x000500b1, |
| 5387 | 0x00050041,0x000001bb,0x00003ce1,0x000001b9, | 5839 | 0x0000002f,0x00004045,0x00003c94,0x00000173, |
| 5388 | 0x000001f0,0x0004003d,0x00000006,0x00003ce2, | 5840 | 0x000400a8,0x0000002f,0x00004046,0x00004045, |
| 5389 | 0x00003ce1,0x0004007c,0x000000f4,0x00003ce3, | 5841 | 0x000300f7,0x0000404d,0x00000000,0x000400fa, |
| 5390 | 0x00003ce2,0x000500af,0x0000002f,0x00003ce4, | 5842 | 0x00004046,0x00004047,0x0000404d,0x000200f8, |
| 5391 | 0x000039a6,0x00003ce3,0x000200f9,0x00003ce5, | 5843 | 0x00004047,0x00050041,0x000001c3,0x00004049, |
| 5392 | 0x000200f8,0x00003ce5,0x000700f5,0x0000002f, | 5844 | 0x000001c1,0x000001f8,0x0004003d,0x00000006, |
| 5393 | 0x00003ce6,0x00003cdd,0x00003cdb,0x00003ce4, | 5845 | 0x0000404a,0x00004049,0x0004007c,0x000000fb, |
| 5394 | 0x00003cdf,0x000300f7,0x00003ce8,0x00000000, | 5846 | 0x0000404b,0x0000404a,0x000500af,0x0000002f, |
| 5395 | 0x000400fa,0x00003ce6,0x00003ce7,0x00003ce8, | 5847 | 0x0000404c,0x00003c94,0x0000404b,0x000200f9, |
| 5396 | 0x000200f8,0x00003ce7,0x000200f9,0x00003cfd, | 5848 | 0x0000404d,0x000200f8,0x0000404d,0x000700f5, |
| 5397 | 0x000200f8,0x00003ce8,0x00050084,0x00000006, | 5849 | 0x0000002f,0x0000404e,0x00004045,0x00004043, |
| 5398 | 0x00003d06,0x000000ec,0x000012dd,0x00050080, | 5850 | 0x0000404c,0x00004047,0x000300f7,0x00004050, |
| 5399 | 0x00000006,0x00003d07,0x000001c4,0x00003d06, | 5851 | 0x00000000,0x000400fa,0x0000404e,0x0000404f, |
| 5400 | 0x00050041,0x00000266,0x00003d08,0x000001b9, | 5852 | 0x00004050,0x000200f8,0x0000404f,0x000200f9, |
| 5401 | 0x00000264,0x0004003d,0x00000007,0x00003d09, | 5853 | 0x00004065,0x000200f8,0x00004050,0x00050084, |
| 5402 | 0x00003d08,0x00050051,0x00000006,0x00003d23, | 5854 | 0x00000006,0x0000406e,0x000000f3,0x000013a7, |
| 5403 | 0x00003d09,0x00000000,0x00050095,0x0000013d, | 5855 | 0x00050080,0x00000006,0x0000406f,0x000001cc, |
| 5404 | 0x00003d25,0x00003d23,0x00003d07,0x00050051, | 5856 | 0x0000406e,0x00050041,0x0000026e,0x00004070, |
| 5405 | 0x00000006,0x00003d26,0x00003d25,0x00000001, | 5857 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, |
| 5406 | 0x00050051,0x00000006,0x00003d27,0x00003d25, | 5858 | 0x00004071,0x00004070,0x00050051,0x00000006, |
| 5407 | 0x00000000,0x00050051,0x00000006,0x00003d2a, | 5859 | 0x0000408b,0x00004071,0x00000000,0x00050095, |
| 5408 | 0x00003d09,0x00000001,0x00050080,0x00000006, | 5860 | 0x00000145,0x0000408d,0x0000408b,0x0000406f, |
| 5409 | 0x00003d2c,0x00003d2a,0x00003d26,0x00050050, | 5861 | 0x00050051,0x00000006,0x0000408e,0x0000408d, |
| 5410 | 0x00000007,0x00003d2d,0x00003d27,0x00003d2c, | 5862 | 0x00000001,0x00050051,0x00000006,0x0000408f, |
| 5411 | 0x0004007c,0x00000014,0x00003d1d,0x00003d2d, | 5863 | 0x0000408d,0x00000000,0x00050051,0x00000006, |
| 5412 | 0x00060041,0x0000016c,0x00003d14,0x00003d1d, | 5864 | 0x00004092,0x00004071,0x00000001,0x00050080, |
| 5413 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 5865 | 0x00000006,0x00004094,0x00004092,0x0000408e, |
| 5414 | 0x00003d15,0x00003d14,0x00000002,0x00000004, | 5866 | 0x00050050,0x00000007,0x00004095,0x0000408f, |
| 5415 | 0x0004007c,0x00000006,0x00003d34,0x000039a6, | 5867 | 0x00004094,0x0004007c,0x00000014,0x00004085, |
| 5416 | 0x00050084,0x00000006,0x00003d35,0x000000ec, | 5868 | 0x00004095,0x00060041,0x00000174,0x0000407c, |
| 5417 | 0x00003d34,0x00050080,0x00000006,0x00003d36, | 5869 | 0x00004085,0x00000173,0x00000173,0x0006003d, |
| 5418 | 0x000001c4,0x00003d35,0x00050095,0x0000013d, | 5870 | 0x00000006,0x0000407d,0x0000407c,0x00000002, |
| 5419 | 0x00003d54,0x00003d23,0x00003d36,0x00050051, | 5871 | 0x00000004,0x0004007c,0x00000006,0x0000409c, |
| 5420 | 0x00000006,0x00003d55,0x00003d54,0x00000001, | 5872 | 0x00003c94,0x00050084,0x00000006,0x0000409d, |
| 5421 | 0x00050051,0x00000006,0x00003d56,0x00003d54, | 5873 | 0x000000f3,0x0000409c,0x00050080,0x00000006, |
| 5422 | 0x00000000,0x00050080,0x00000006,0x00003d5b, | 5874 | 0x0000409e,0x000001cc,0x0000409d,0x00050095, |
| 5423 | 0x00003d2a,0x00003d55,0x00050050,0x00000007, | 5875 | 0x00000145,0x000040bc,0x0000408b,0x0000409e, |
| 5424 | 0x00003d5c,0x00003d56,0x00003d5b,0x0004007c, | 5876 | 0x00050051,0x00000006,0x000040bd,0x000040bc, |
| 5425 | 0x00000014,0x00003d4c,0x00003d5c,0x00060041, | 5877 | 0x00000001,0x00050051,0x00000006,0x000040be, |
| 5426 | 0x0000016c,0x00003d43,0x00003d4c,0x0000016b, | 5878 | 0x000040bc,0x00000000,0x00050080,0x00000006, |
| 5427 | 0x0000016b,0x0006003d,0x00000006,0x00003d44, | 5879 | 0x000040c3,0x00004092,0x000040bd,0x00050050, |
| 5428 | 0x00003d43,0x00000002,0x00000004,0x000500aa, | 5880 | 0x00000007,0x000040c4,0x000040be,0x000040c3, |
| 5429 | 0x0000002f,0x00003cef,0x00003d15,0x00003d44, | 5881 | 0x0004007c,0x00000014,0x000040b4,0x000040c4, |
| 5430 | 0x000300f7,0x00003cf7,0x00000000,0x000400fa, | 5882 | 0x00060041,0x00000174,0x000040ab,0x000040b4, |
| 5431 | 0x00003cef,0x00003cf0,0x00003cf7,0x000200f8, | 5883 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 5432 | 0x00003cf0,0x000500c6,0x000000f4,0x00003cf3, | 5884 | 0x000040ac,0x000040ab,0x00000002,0x00000004, |
| 5433 | 0x000013db,0x000039a6,0x0004007c,0x00000006, | 5885 | 0x000500aa,0x0000002f,0x00004057,0x0000407d, |
| 5434 | 0x00003cf4,0x00003cf3,0x0006000c,0x000000f4, | 5886 | 0x000040ac,0x000300f7,0x0000405f,0x00000000, |
| 5435 | 0x00003cf5,0x00000001,0x0000004b,0x00003cf4, | 5887 | 0x000400fa,0x00004057,0x00004058,0x0000405f, |
| 5436 | 0x00050082,0x000000f4,0x00003cf6,0x00000d76, | 5888 | 0x000200f8,0x00004058,0x000500c6,0x000000fb, |
| 5437 | 0x00003cf5,0x000200f9,0x00003cfd,0x000200f8, | 5889 | 0x0000405b,0x000014cd,0x00003c94,0x0004007c, |
| 5438 | 0x00003cf7,0x000500c6,0x00000006,0x00003cfa, | 5890 | 0x00000006,0x0000405c,0x0000405b,0x0006000c, |
| 5439 | 0x00003d15,0x00003d44,0x0006000c,0x000000f4, | 5891 | 0x000000fb,0x0000405d,0x00000001,0x0000004b, |
| 5440 | 0x00003cfb,0x00000001,0x0000004b,0x00003cfa, | 5892 | 0x0000405c,0x00050082,0x000000fb,0x0000405e, |
| 5441 | 0x00050082,0x000000f4,0x00003cfc,0x00000d7e, | 5893 | 0x00000ddb,0x0000405d,0x000200f9,0x00004065, |
| 5442 | 0x00003cfb,0x000200f9,0x00003cfd,0x000200f8, | 5894 | 0x000200f8,0x0000405f,0x000500c6,0x00000006, |
| 5443 | 0x00003cfd,0x000900f5,0x000000f4,0x00005e4a, | 5895 | 0x00004062,0x0000407d,0x000040ac,0x0006000c, |
| 5444 | 0x00000d67,0x00003ce7,0x00003cf6,0x00003cf0, | 5896 | 0x000000fb,0x00004063,0x00000001,0x0000004b, |
| 5445 | 0x00003cfc,0x00003cf7,0x000200f9,0x000039ab, | 5897 | 0x00004062,0x00050082,0x000000fb,0x00004064, |
| 5446 | 0x000200f8,0x000039ab,0x000700f5,0x000000f4, | 5898 | 0x00000de3,0x00004063,0x000200f9,0x00004065, |
| 5447 | 0x00005e4e,0x0000016b,0x00003cfd,0x00006118, | 5899 | 0x000200f8,0x00004065,0x000900f5,0x000000fb, |
| 5448 | 0x000039c0,0x000700f5,0x000000f4,0x00005e4d, | 5900 | 0x00006275,0x00000dcc,0x0000404f,0x0000405e, |
| 5449 | 0x00005e49,0x00003cfd,0x000039af,0x000039c0, | 5901 | 0x00004058,0x00004064,0x0000405f,0x000500ad, |
| 5450 | 0x000400f6,0x000039c3,0x000039c0,0x00000000, | 5902 | 0x0000002f,0x00003c98,0x00006275,0x00006270, |
| 5451 | 0x000200f9,0x000039ac,0x000200f8,0x000039ac, | 5903 | 0x000600a9,0x000000fb,0x0000654e,0x00003c98, |
| 5452 | 0x00050080,0x000000f4,0x000039ae,0x00005e4d, | 5904 | 0x00003c91,0x00006274,0x000200f9,0x00003c9e, |
| 5453 | 0x00000264,0x000500c3,0x000000f4,0x000039af, | 5905 | 0x000200f8,0x00003c9e,0x000500ad,0x0000002f, |
| 5454 | 0x000039ae,0x00000264,0x00050080,0x000000f4, | 5906 | 0x00003ca0,0x00003c8d,0x0000026c,0x000400fa, |
| 5455 | 0x000039b3,0x00005e4e,0x000039af,0x00050084, | 5907 | 0x00003ca0,0x00003c89,0x00003ca1,0x000200f8, |
| 5456 | 0x000000f4,0x000039b5,0x000039b3,0x00003971, | 5908 | 0x00003ca1,0x00050084,0x000000fb,0x00003ca5, |
| 5457 | 0x00050080,0x000000f4,0x000039b6,0x000013db, | 5909 | 0x0000654e,0x00003c4f,0x00050080,0x000000fb, |
| 5458 | 0x000039b5,0x000300f7,0x00003d87,0x00000000, | 5910 | 0x00003ca6,0x000014cd,0x00003ca5,0x0007000c, |
| 5459 | 0x000300fb,0x00000138,0x00003d65,0x000200f8, | 5911 | 0x000000fb,0x00003ca8,0x00000001,0x00000027, |
| 5460 | 0x00003d65,0x000500b1,0x0000002f,0x00003d67, | 5912 | 0x00003c4f,0x00000173,0x00050080,0x000000fb, |
| 5461 | 0x000039b6,0x0000016b,0x000400a8,0x0000002f, | 5913 | 0x00003ca9,0x00003ca6,0x00003ca8,0x0007000c, |
| 5462 | 0x00003d68,0x00003d67,0x000300f7,0x00003d6f, | 5914 | 0x000000fb,0x00003cac,0x00000001,0x00000027, |
| 5463 | 0x00000000,0x000400fa,0x00003d68,0x00003d69, | 5915 | 0x000014cd,0x00003c84,0x000500aa,0x0000002f, |
| 5464 | 0x00003d6f,0x000200f8,0x00003d69,0x00050041, | 5916 | 0x00003cae,0x00003cac,0x00003ca9,0x000300f7, |
| 5465 | 0x000001bb,0x00003d6b,0x000001b9,0x000001f0, | 5917 | 0x00003cb6,0x00000000,0x000400fa,0x00003cae, |
| 5466 | 0x0004003d,0x00000006,0x00003d6c,0x00003d6b, | 5918 | 0x00003caf,0x00003cb3,0x000200f8,0x00003cb3, |
| 5467 | 0x0004007c,0x000000f4,0x00003d6d,0x00003d6c, | 5919 | 0x0004007c,0x00000006,0x00003cb5,0x00003ca9, |
| 5468 | 0x000500af,0x0000002f,0x00003d6e,0x000039b6, | 5920 | 0x000200f9,0x00003cb6,0x000200f8,0x00003caf, |
| 5469 | 0x00003d6d,0x000200f9,0x00003d6f,0x000200f8, | 5921 | 0x0004007c,0x00000006,0x00003cb1,0x00003ca9, |
| 5470 | 0x00003d6f,0x000700f5,0x0000002f,0x00003d70, | 5922 | 0x000500c5,0x00000006,0x00003cb2,0x00000249, |
| 5471 | 0x00003d67,0x00003d65,0x00003d6e,0x00003d69, | 5923 | 0x00003cb1,0x000200f9,0x00003cb6,0x000200f8, |
| 5472 | 0x000300f7,0x00003d72,0x00000000,0x000400fa, | 5924 | 0x00003cb6,0x000700f5,0x00000006,0x0000627c, |
| 5473 | 0x00003d70,0x00003d71,0x00003d72,0x000200f8, | 5925 | 0x00003cb2,0x00003caf,0x00003cb5,0x00003cb3, |
| 5474 | 0x00003d71,0x000200f9,0x00003d87,0x000200f8, | 5926 | 0x0007000c,0x000000fb,0x00003cba,0x00000001, |
| 5475 | 0x00003d72,0x00050084,0x00000006,0x00003d90, | 5927 | 0x0000002a,0x000014cd,0x00003c84,0x00050080, |
| 5476 | 0x000000ec,0x000012dd,0x00050080,0x00000006, | 5928 | 0x000000fb,0x00003cbc,0x00003ca9,0x0000026c, |
| 5477 | 0x00003d91,0x000001c4,0x00003d90,0x00050041, | 5929 | 0x000500aa,0x0000002f,0x00003cbd,0x00003cba, |
| 5478 | 0x00000266,0x00003d92,0x000001b9,0x00000264, | 5930 | 0x00003cbc,0x000300f7,0x00003cc7,0x00000000, |
| 5479 | 0x0004003d,0x00000007,0x00003d93,0x00003d92, | 5931 | 0x000400fa,0x00003cbd,0x00003cbe,0x00003cc3, |
| 5480 | 0x00050051,0x00000006,0x00003dad,0x00003d93, | 5932 | 0x000200f8,0x00003cc3,0x0004007c,0x00000006, |
| 5481 | 0x00000000,0x00050095,0x0000013d,0x00003daf, | 5933 | 0x00003cc6,0x00003cbc,0x000200f9,0x00003cc7, |
| 5482 | 0x00003dad,0x00003d91,0x00050051,0x00000006, | 5934 | 0x000200f8,0x00003cbe,0x0004007c,0x00000006, |
| 5483 | 0x00003db0,0x00003daf,0x00000001,0x00050051, | 5935 | 0x00003cc1,0x00003cbc,0x000500c5,0x00000006, |
| 5484 | 0x00000006,0x00003db1,0x00003daf,0x00000000, | 5936 | 0x00003cc2,0x00000249,0x00003cc1,0x000200f9, |
| 5485 | 0x00050051,0x00000006,0x00003db4,0x00003d93, | 5937 | 0x00003cc7,0x000200f8,0x00003cc7,0x000700f5, |
| 5486 | 0x00000001,0x00050080,0x00000006,0x00003db6, | 5938 | 0x00000006,0x0000627d,0x00003cc2,0x00003cbe, |
| 5487 | 0x00003db4,0x00003db0,0x00050050,0x00000007, | 5939 | 0x00003cc6,0x00003cc3,0x00050041,0x000001c3, |
| 5488 | 0x00003db7,0x00003db1,0x00003db6,0x0004007c, | 5940 | 0x000040e1,0x000001c1,0x000001c2,0x0004003d, |
| 5489 | 0x00000014,0x00003da7,0x00003db7,0x00060041, | 5941 | 0x00000006,0x000040e2,0x000040e1,0x00050084, |
| 5490 | 0x0000016c,0x00003d9e,0x00003da7,0x0000016b, | 5942 | 0x00000006,0x000040e3,0x000001e3,0x000040e2, |
| 5491 | 0x0000016b,0x0006003d,0x00000006,0x00003d9f, | 5943 | 0x00050080,0x00000006,0x000040e4,0x000001cc, |
| 5492 | 0x00003d9e,0x00000002,0x00000004,0x0004007c, | 5944 | 0x000040e3,0x00050080,0x00000006,0x000040ea, |
| 5493 | 0x00000006,0x00003dbe,0x000039b6,0x00050084, | 5945 | 0x000040e2,0x00000695,0x00050086,0x00000006, |
| 5494 | 0x00000006,0x00003dbf,0x000000ec,0x00003dbe, | 5946 | 0x000040eb,0x000040ea,0x000001c6,0x00050084, |
| 5495 | 0x00050080,0x00000006,0x00003dc0,0x000001c4, | 5947 | 0x00000006,0x000040dd,0x000001cc,0x000040eb, |
| 5496 | 0x00003dbf,0x00050095,0x0000013d,0x00003dde, | 5948 | 0x00050080,0x00000006,0x000040de,0x000040e4, |
| 5497 | 0x00003dad,0x00003dc0,0x00050051,0x00000006, | 5949 | 0x000040dd,0x00050080,0x00000006,0x000040d8, |
| 5498 | 0x00003ddf,0x00003dde,0x00000001,0x00050051, | 5950 | 0x000040de,0x000040dd,0x00050041,0x000001c3, |
| 5499 | 0x00000006,0x00003de0,0x00003dde,0x00000000, | 5951 | 0x000040cf,0x000001c1,0x000001f8,0x0004003d, |
| 5500 | 0x00050080,0x00000006,0x00003de5,0x00003db4, | 5952 | 0x00000006,0x000040d0,0x000040cf,0x00050084, |
| 5501 | 0x00003ddf,0x00050050,0x00000007,0x00003de6, | 5953 | 0x00000006,0x000040d1,0x000001f7,0x000040d0, |
| 5502 | 0x00003de0,0x00003de5,0x0004007c,0x00000014, | 5954 | 0x00050080,0x00000006,0x000040d2,0x000040d8, |
| 5503 | 0x00003dd6,0x00003de6,0x00060041,0x0000016c, | 5955 | 0x000040d1,0x00050041,0x000001c3,0x000040c8, |
| 5504 | 0x00003dcd,0x00003dd6,0x0000016b,0x0000016b, | 5956 | 0x000001c1,0x0000020e,0x0004003d,0x00000006, |
| 5505 | 0x0006003d,0x00000006,0x00003dce,0x00003dcd, | 5957 | 0x000040c9,0x000040c8,0x00050084,0x00000006, |
| 5506 | 0x00000002,0x00000004,0x000500aa,0x0000002f, | 5958 | 0x000040ca,0x0000020d,0x000040c9,0x00050080, |
| 5507 | 0x00003d79,0x00003d9f,0x00003dce,0x000300f7, | 5959 | 0x00000006,0x000040cb,0x000040d2,0x000040ca, |
| 5508 | 0x00003d81,0x00000000,0x000400fa,0x00003d79, | 5960 | 0x00050084,0x00000006,0x00003ccc,0x000000f3, |
| 5509 | 0x00003d7a,0x00003d81,0x000200f8,0x00003d7a, | 5961 | 0x000013a7,0x00050080,0x00000006,0x00003ccd, |
| 5510 | 0x000500c6,0x000000f4,0x00003d7d,0x000013db, | 5962 | 0x000040cb,0x00003ccc,0x00050041,0x0000026e, |
| 5511 | 0x000039b6,0x0004007c,0x00000006,0x00003d7e, | 5963 | 0x00003cce,0x000001c1,0x0000026c,0x0004003d, |
| 5512 | 0x00003d7d,0x0006000c,0x000000f4,0x00003d7f, | 5964 | 0x00000007,0x00003ccf,0x00003cce,0x00050051, |
| 5513 | 0x00000001,0x0000004b,0x00003d7e,0x00050082, | 5965 | 0x00000006,0x00004108,0x00003ccf,0x00000000, |
| 5514 | 0x000000f4,0x00003d80,0x00000d76,0x00003d7f, | 5966 | 0x00050095,0x00000145,0x0000410a,0x00004108, |
| 5515 | 0x000200f9,0x00003d87,0x000200f8,0x00003d81, | 5967 | 0x00003ccd,0x00050051,0x00000006,0x0000410b, |
| 5516 | 0x000500c6,0x00000006,0x00003d84,0x00003d9f, | 5968 | 0x0000410a,0x00000001,0x00050051,0x00000006, |
| 5517 | 0x00003dce,0x0006000c,0x000000f4,0x00003d85, | 5969 | 0x0000410c,0x0000410a,0x00000000,0x00050051, |
| 5518 | 0x00000001,0x0000004b,0x00003d84,0x00050082, | 5970 | 0x00000006,0x0000410f,0x00003ccf,0x00000001, |
| 5519 | 0x000000f4,0x00003d86,0x00000d7e,0x00003d85, | 5971 | 0x00050080,0x00000006,0x00004111,0x0000410f, |
| 5520 | 0x000200f9,0x00003d87,0x000200f8,0x00003d87, | 5972 | 0x0000410b,0x00050050,0x00000007,0x00004112, |
| 5521 | 0x000900f5,0x000000f4,0x00005e4f,0x00000d67, | 5973 | 0x0000410c,0x00004111,0x0004007c,0x00000014, |
| 5522 | 0x00003d71,0x00003d80,0x00003d7a,0x00003d86, | 5974 | 0x00004102,0x00004112,0x00060041,0x00000174, |
| 5523 | 0x00003d81,0x000500ad,0x0000002f,0x000039ba, | 5975 | 0x000040fa,0x00004102,0x00000173,0x00000173, |
| 5524 | 0x00005e4f,0x00005e4a,0x000600a9,0x000000f4, | 5976 | 0x0005003e,0x000040fa,0x0000627c,0x00000002, |
| 5525 | 0x00006118,0x000039ba,0x000039b3,0x00005e4e, | 5977 | 0x00000004,0x000500ac,0x0000002f,0x0000414c, |
| 5526 | 0x000200f9,0x000039c0,0x000200f8,0x000039c0, | 5978 | 0x000040d0,0x0000014a,0x000300f7,0x00004152, |
| 5527 | 0x000500ad,0x0000002f,0x000039c2,0x000039af, | 5979 | 0x00000000,0x000400fa,0x0000414c,0x0000414d, |
| 5528 | 0x00000264,0x000400fa,0x000039c2,0x000039ab, | 5980 | 0x00004151,0x000200f8,0x00004151,0x000200f9, |
| 5529 | 0x000039c3,0x000200f8,0x000039c3,0x00050084, | 5981 | 0x00004152,0x000200f8,0x0000414d,0x00050082, |
| 5530 | 0x000000f4,0x000039c7,0x00006118,0x00003971, | 5982 | 0x00000006,0x00004150,0x000040d0,0x0000014a, |
| 5531 | 0x00050080,0x000000f4,0x000039c8,0x000013db, | 5983 | 0x000200f9,0x00004152,0x000200f8,0x00004152, |
| 5532 | 0x000039c7,0x0007000c,0x000000f4,0x000039ca, | 5984 | 0x000700f5,0x00000006,0x0000627e,0x00004150, |
| 5533 | 0x00000001,0x00000027,0x00003971,0x0000016b, | 5985 | 0x0000414d,0x00000140,0x00004151,0x00050084, |
| 5534 | 0x00050080,0x000000f4,0x000039cb,0x000039c8, | 5986 | 0x00000006,0x00004117,0x000000f3,0x0000627e, |
| 5535 | 0x000039ca,0x0007000c,0x000000f4,0x000039ce, | 5987 | 0x00050080,0x00000006,0x00004118,0x000040cb, |
| 5536 | 0x00000001,0x00000027,0x000013db,0x000039a6, | 5988 | 0x00004117,0x00050080,0x00000006,0x00003cd6, |
| 5537 | 0x000500aa,0x0000002f,0x000039d0,0x000039ce, | 5989 | 0x00004118,0x00003ccc,0x00050095,0x00000145, |
| 5538 | 0x000039cb,0x000300f7,0x000039d8,0x00000000, | 5990 | 0x0000416b,0x00004108,0x00003cd6,0x00050051, |
| 5539 | 0x000400fa,0x000039d0,0x000039d1,0x000039d5, | 5991 | 0x00000006,0x0000416c,0x0000416b,0x00000001, |
| 5540 | 0x000200f8,0x000039d5,0x0004007c,0x00000006, | 5992 | 0x00050051,0x00000006,0x0000416d,0x0000416b, |
| 5541 | 0x000039d7,0x000039cb,0x000200f9,0x000039d8, | 5993 | 0x00000000,0x00050080,0x00000006,0x00004172, |
| 5542 | 0x000200f8,0x000039d1,0x0004007c,0x00000006, | 5994 | 0x0000410f,0x0000416c,0x00050050,0x00000007, |
| 5543 | 0x000039d3,0x000039cb,0x000500c5,0x00000006, | 5995 | 0x00004173,0x0000416d,0x00004172,0x0004007c, |
| 5544 | 0x000039d4,0x00000241,0x000039d3,0x000200f9, | 5996 | 0x00000014,0x00004163,0x00004173,0x00060041, |
| 5545 | 0x000039d8,0x000200f8,0x000039d8,0x000700f5, | 5997 | 0x00000174,0x0000415b,0x00004163,0x00000173, |
| 5546 | 0x00000006,0x00005e56,0x000039d4,0x000039d1, | 5998 | 0x00000173,0x0005003e,0x0000415b,0x0000627d, |
| 5547 | 0x000039d7,0x000039d5,0x0007000c,0x000000f4, | 5999 | 0x00000002,0x00000004,0x000500c7,0x00000006, |
| 5548 | 0x000039dc,0x00000001,0x0000002a,0x000013db, | 6000 | 0x00003cdc,0x0000627c,0x00000249,0x000500aa, |
| 5549 | 0x000039a6,0x00050080,0x000000f4,0x000039de, | 6001 | 0x0000002f,0x00003cdd,0x00003cdc,0x00000140, |
| 5550 | 0x000039cb,0x00000264,0x000500aa,0x0000002f, | 6002 | 0x000300f7,0x00003ce8,0x00000000,0x000400fa, |
| 5551 | 0x000039df,0x000039dc,0x000039de,0x000300f7, | 6003 | 0x00003cdd,0x00003cde,0x00003ce8,0x000200f8, |
| 5552 | 0x000039e9,0x00000000,0x000400fa,0x000039df, | 6004 | 0x00003cde,0x000300f7,0x000041b9,0x00000000, |
| 5553 | 0x000039e0,0x000039e5,0x000200f8,0x000039e5, | 6005 | 0x000400fa,0x0000414c,0x000041b4,0x000041b8, |
| 5554 | 0x0004007c,0x00000006,0x000039e8,0x000039de, | 6006 | 0x000200f8,0x000041b8,0x000200f9,0x000041b9, |
| 5555 | 0x000200f9,0x000039e9,0x000200f8,0x000039e0, | 6007 | 0x000200f8,0x000041b4,0x00050082,0x00000006, |
| 5556 | 0x0004007c,0x00000006,0x000039e3,0x000039de, | 6008 | 0x000041b7,0x000040d0,0x0000014a,0x000200f9, |
| 5557 | 0x000500c5,0x00000006,0x000039e4,0x00000241, | 6009 | 0x000041b9,0x000200f8,0x000041b9,0x000700f5, |
| 5558 | 0x000039e3,0x000200f9,0x000039e9,0x000200f8, | 6010 | 0x00000006,0x0000627f,0x000041b7,0x000041b4, |
| 5559 | 0x000039e9,0x000700f5,0x00000006,0x00005e57, | 6011 | 0x00000140,0x000041b8,0x00050084,0x00000006, |
| 5560 | 0x000039e4,0x000039e0,0x000039e8,0x000039e5, | 6012 | 0x0000417e,0x000000f3,0x0000627f,0x00050080, |
| 5561 | 0x00050041,0x000001bb,0x00003e03,0x000001b9, | 6013 | 0x00000006,0x0000417f,0x000040cb,0x0000417e, |
| 5562 | 0x000001ba,0x0004003d,0x00000006,0x00003e04, | 6014 | 0x000300f7,0x000041c6,0x00000000,0x000400fa, |
| 5563 | 0x00003e03,0x00050084,0x00000006,0x00003e05, | 6015 | 0x0000414c,0x000041c1,0x000041c5,0x000200f8, |
| 5564 | 0x000001db,0x00003e04,0x00050080,0x00000006, | 6016 | 0x000041c5,0x000200f9,0x000041c6,0x000200f8, |
| 5565 | 0x00003e06,0x000001c4,0x00003e05,0x00050080, | 6017 | 0x000041c1,0x00050082,0x00000006,0x000041c4, |
| 5566 | 0x00000006,0x00003e0c,0x00003e04,0x0000062f, | 6018 | 0x000040d0,0x0000014a,0x000200f9,0x000041c6, |
| 5567 | 0x00050086,0x00000006,0x00003e0d,0x00003e0c, | 6019 | 0x000200f8,0x000041c6,0x000700f5,0x00000006, |
| 5568 | 0x000001be,0x00050084,0x00000006,0x00003dff, | 6020 | 0x00006280,0x000041c4,0x000041c1,0x00000140, |
| 5569 | 0x000001c4,0x00003e0d,0x00050080,0x00000006, | 6021 | 0x000041c5,0x00050084,0x00000006,0x00004178, |
| 5570 | 0x00003e00,0x00003e06,0x00003dff,0x00050080, | 6022 | 0x000000f3,0x00006280,0x00050080,0x00000006, |
| 5571 | 0x00000006,0x00003dfa,0x00003e00,0x00003dff, | 6023 | 0x00004179,0x0000417f,0x00004178,0x00050084, |
| 5572 | 0x00050041,0x000001bb,0x00003df1,0x000001b9, | 6024 | 0x00000006,0x00003ce1,0x000000f3,0x0000627c, |
| 5573 | 0x000001f0,0x0004003d,0x00000006,0x00003df2, | 6025 | 0x00050080,0x00000006,0x00003ce2,0x00004179, |
| 5574 | 0x00003df1,0x00050084,0x00000006,0x00003df3, | 6026 | 0x00003ce1,0x00050095,0x00000145,0x000041df, |
| 5575 | 0x000001ef,0x00003df2,0x00050080,0x00000006, | 6027 | 0x00004108,0x00003ce2,0x00050051,0x00000006, |
| 5576 | 0x00003df4,0x00003dfa,0x00003df3,0x00050041, | 6028 | 0x000041e0,0x000041df,0x00000001,0x00050051, |
| 5577 | 0x000001bb,0x00003dea,0x000001b9,0x00000206, | 6029 | 0x00000006,0x000041e1,0x000041df,0x00000000, |
| 5578 | 0x0004003d,0x00000006,0x00003deb,0x00003dea, | 6030 | 0x00050080,0x00000006,0x000041e6,0x0000410f, |
| 5579 | 0x00050084,0x00000006,0x00003dec,0x00000205, | 6031 | 0x000041e0,0x00050050,0x00000007,0x000041e7, |
| 5580 | 0x00003deb,0x00050080,0x00000006,0x00003ded, | 6032 | 0x000041e1,0x000041e6,0x0004007c,0x00000014, |
| 5581 | 0x00003df4,0x00003dec,0x00050084,0x00000006, | 6033 | 0x000041d7,0x000041e7,0x00060041,0x00000174, |
| 5582 | 0x000039ee,0x000000ec,0x000012dd,0x00050080, | 6034 | 0x000041cf,0x000041d7,0x00000173,0x00000173, |
| 5583 | 0x00000006,0x000039ef,0x00003ded,0x000039ee, | 6035 | 0x0005003e,0x000041cf,0x000013a7,0x00000002, |
| 5584 | 0x00050041,0x00000266,0x000039f0,0x000001b9, | 6036 | 0x00000004,0x000200f9,0x00003ce8,0x000200f8, |
| 5585 | 0x00000264,0x0004003d,0x00000007,0x000039f1, | 6037 | 0x00003ce8,0x000500c7,0x00000006,0x00003cea, |
| 5586 | 0x000039f0,0x00050051,0x00000006,0x00003e2a, | 6038 | 0x0000627d,0x00000249,0x000500aa,0x0000002f, |
| 5587 | 0x000039f1,0x00000000,0x00050095,0x0000013d, | 6039 | 0x00003ceb,0x00003cea,0x00000140,0x000300f7, |
| 5588 | 0x00003e2c,0x00003e2a,0x000039ef,0x00050051, | 6040 | 0x00003cf6,0x00000000,0x000400fa,0x00003ceb, |
| 5589 | 0x00000006,0x00003e2d,0x00003e2c,0x00000001, | 6041 | 0x00003cec,0x00003cf6,0x000200f8,0x00003cec, |
| 5590 | 0x00050051,0x00000006,0x00003e2e,0x00003e2c, | 6042 | 0x000300f7,0x0000422d,0x00000000,0x000400fa, |
| 5591 | 0x00000000,0x00050051,0x00000006,0x00003e31, | 6043 | 0x0000414c,0x00004228,0x0000422c,0x000200f8, |
| 5592 | 0x000039f1,0x00000001,0x00050080,0x00000006, | 6044 | 0x0000422c,0x000200f9,0x0000422d,0x000200f8, |
| 5593 | 0x00003e33,0x00003e31,0x00003e2d,0x00050050, | 6045 | 0x00004228,0x00050082,0x00000006,0x0000422b, |
| 5594 | 0x00000007,0x00003e34,0x00003e2e,0x00003e33, | 6046 | 0x000040d0,0x0000014a,0x000200f9,0x0000422d, |
| 5595 | 0x0004007c,0x00000014,0x00003e24,0x00003e34, | 6047 | 0x000200f8,0x0000422d,0x000700f5,0x00000006, |
| 5596 | 0x00060041,0x0000016c,0x00003e1c,0x00003e24, | 6048 | 0x00006281,0x0000422b,0x00004228,0x00000140, |
| 5597 | 0x0000016b,0x0000016b,0x0005003e,0x00003e1c, | 6049 | 0x0000422c,0x00050084,0x00000006,0x000041f2, |
| 5598 | 0x00005e56,0x00000002,0x00000004,0x000500ac, | 6050 | 0x000000f3,0x00006281,0x00050080,0x00000006, |
| 5599 | 0x0000002f,0x00003e6e,0x00003df2,0x00000142, | 6051 | 0x000041f3,0x000040cb,0x000041f2,0x000300f7, |
| 5600 | 0x000300f7,0x00003e74,0x00000000,0x000400fa, | 6052 | 0x0000423a,0x00000000,0x000400fa,0x0000414c, |
| 5601 | 0x00003e6e,0x00003e6f,0x00003e73,0x000200f8, | 6053 | 0x00004235,0x00004239,0x000200f8,0x00004239, |
| 5602 | 0x00003e73,0x000200f9,0x00003e74,0x000200f8, | 6054 | 0x000200f9,0x0000423a,0x000200f8,0x00004235, |
| 5603 | 0x00003e6f,0x00050082,0x00000006,0x00003e72, | 6055 | 0x00050082,0x00000006,0x00004238,0x000040d0, |
| 5604 | 0x00003df2,0x00000142,0x000200f9,0x00003e74, | 6056 | 0x0000014a,0x000200f9,0x0000423a,0x000200f8, |
| 5605 | 0x000200f8,0x00003e74,0x000700f5,0x00000006, | 6057 | 0x0000423a,0x000700f5,0x00000006,0x00006282, |
| 5606 | 0x00005e58,0x00003e72,0x00003e6f,0x00000138, | 6058 | 0x00004238,0x00004235,0x00000140,0x00004239, |
| 5607 | 0x00003e73,0x00050084,0x00000006,0x00003e39, | 6059 | 0x00050084,0x00000006,0x000041ec,0x000000f3, |
| 5608 | 0x000000ec,0x00005e58,0x00050080,0x00000006, | 6060 | 0x00006282,0x00050080,0x00000006,0x000041ed, |
| 5609 | 0x00003e3a,0x00003ded,0x00003e39,0x00050080, | 6061 | 0x000041f3,0x000041ec,0x00050084,0x00000006, |
| 5610 | 0x00000006,0x000039f8,0x00003e3a,0x000039ee, | 6062 | 0x00003cef,0x000000f3,0x0000627d,0x00050080, |
| 5611 | 0x00050095,0x0000013d,0x00003e8d,0x00003e2a, | 6063 | 0x00000006,0x00003cf0,0x000041ed,0x00003cef, |
| 5612 | 0x000039f8,0x00050051,0x00000006,0x00003e8e, | 6064 | 0x00050095,0x00000145,0x00004253,0x00004108, |
| 5613 | 0x00003e8d,0x00000001,0x00050051,0x00000006, | 6065 | 0x00003cf0,0x00050051,0x00000006,0x00004254, |
| 5614 | 0x00003e8f,0x00003e8d,0x00000000,0x00050080, | 6066 | 0x00004253,0x00000001,0x00050051,0x00000006, |
| 5615 | 0x00000006,0x00003e94,0x00003e31,0x00003e8e, | 6067 | 0x00004255,0x00004253,0x00000000,0x00050080, |
| 5616 | 0x00050050,0x00000007,0x00003e95,0x00003e8f, | 6068 | 0x00000006,0x0000425a,0x0000410f,0x00004254, |
| 5617 | 0x00003e94,0x0004007c,0x00000014,0x00003e85, | 6069 | 0x00050050,0x00000007,0x0000425b,0x00004255, |
| 5618 | 0x00003e95,0x00060041,0x0000016c,0x00003e7d, | 6070 | 0x0000425a,0x0004007c,0x00000014,0x0000424b, |
| 5619 | 0x00003e85,0x0000016b,0x0000016b,0x0005003e, | 6071 | 0x0000425b,0x00060041,0x00000174,0x00004243, |
| 5620 | 0x00003e7d,0x00005e57,0x00000002,0x00000004, | 6072 | 0x0000424b,0x00000173,0x00000173,0x0005003e, |
| 5621 | 0x000500c7,0x00000006,0x000039fe,0x00005e56, | 6073 | 0x00004243,0x000013a7,0x00000002,0x00000004, |
| 5622 | 0x00000241,0x000500aa,0x0000002f,0x000039ff, | 6074 | 0x000200f9,0x00003cf6,0x000200f8,0x00003cf6, |
| 5623 | 0x000039fe,0x00000138,0x000300f7,0x00003a0a, | 6075 | 0x000500aa,0x0000002f,0x00003cf8,0x000014cd, |
| 5624 | 0x00000000,0x000400fa,0x000039ff,0x00003a00, | 6076 | 0x00000173,0x000300f7,0x00003cfe,0x00000000, |
| 5625 | 0x00003a0a,0x000200f8,0x00003a00,0x000300f7, | 6077 | 0x000400fa,0x00003cf8,0x00003cf9,0x00003cfe, |
| 5626 | 0x00003edb,0x00000000,0x000400fa,0x00003e6e, | 6078 | 0x000200f8,0x00003cf9,0x000300f7,0x000042a1, |
| 5627 | 0x00003ed6,0x00003eda,0x000200f8,0x00003eda, | 6079 | 0x00000000,0x000400fa,0x0000414c,0x0000429c, |
| 5628 | 0x000200f9,0x00003edb,0x000200f8,0x00003ed6, | 6080 | 0x000042a0,0x000200f8,0x000042a0,0x000200f9, |
| 5629 | 0x00050082,0x00000006,0x00003ed9,0x00003df2, | 6081 | 0x000042a1,0x000200f8,0x0000429c,0x00050082, |
| 5630 | 0x00000142,0x000200f9,0x00003edb,0x000200f8, | 6082 | 0x00000006,0x0000429f,0x000040d0,0x0000014a, |
| 5631 | 0x00003edb,0x000700f5,0x00000006,0x00005e59, | 6083 | 0x000200f9,0x000042a1,0x000200f8,0x000042a1, |
| 5632 | 0x00003ed9,0x00003ed6,0x00000138,0x00003eda, | 6084 | 0x000700f5,0x00000006,0x00006283,0x0000429f, |
| 5633 | 0x00050084,0x00000006,0x00003ea0,0x000000ec, | 6085 | 0x0000429c,0x00000140,0x000042a0,0x00050084, |
| 5634 | 0x00005e59,0x00050080,0x00000006,0x00003ea1, | 6086 | 0x00000006,0x00004266,0x000000f3,0x00006283, |
| 5635 | 0x00003ded,0x00003ea0,0x000300f7,0x00003ee8, | 6087 | 0x00050080,0x00000006,0x00004267,0x000040cb, |
| 5636 | 0x00000000,0x000400fa,0x00003e6e,0x00003ee3, | 6088 | 0x00004266,0x000300f7,0x000042ae,0x00000000, |
| 5637 | 0x00003ee7,0x000200f8,0x00003ee7,0x000200f9, | 6089 | 0x000400fa,0x0000414c,0x000042a9,0x000042ad, |
| 5638 | 0x00003ee8,0x000200f8,0x00003ee3,0x00050082, | 6090 | 0x000200f8,0x000042ad,0x000200f9,0x000042ae, |
| 5639 | 0x00000006,0x00003ee6,0x00003df2,0x00000142, | 6091 | 0x000200f8,0x000042a9,0x00050082,0x00000006, |
| 5640 | 0x000200f9,0x00003ee8,0x000200f8,0x00003ee8, | 6092 | 0x000042ac,0x000040d0,0x0000014a,0x000200f9, |
| 5641 | 0x000700f5,0x00000006,0x00005e5a,0x00003ee6, | 6093 | 0x000042ae,0x000200f8,0x000042ae,0x000700f5, |
| 5642 | 0x00003ee3,0x00000138,0x00003ee7,0x00050084, | 6094 | 0x00000006,0x00006284,0x000042ac,0x000042a9, |
| 5643 | 0x00000006,0x00003e9a,0x000000ec,0x00005e5a, | 6095 | 0x00000140,0x000042ad,0x00050084,0x00000006, |
| 5644 | 0x00050080,0x00000006,0x00003e9b,0x00003ea1, | 6096 | 0x00004260,0x000000f3,0x00006284,0x00050080, |
| 5645 | 0x00003e9a,0x00050084,0x00000006,0x00003a03, | 6097 | 0x00000006,0x00004261,0x00004267,0x00004260, |
| 5646 | 0x000000ec,0x00005e56,0x00050080,0x00000006, | 6098 | 0x00050095,0x00000145,0x000042c7,0x00004108, |
| 5647 | 0x00003a04,0x00003e9b,0x00003a03,0x00050095, | 6099 | 0x00004261,0x00050051,0x00000006,0x000042c8, |
| 5648 | 0x0000013d,0x00003f01,0x00003e2a,0x00003a04, | 6100 | 0x000042c7,0x00000001,0x00050051,0x00000006, |
| 5649 | 0x00050051,0x00000006,0x00003f02,0x00003f01, | 6101 | 0x000042c9,0x000042c7,0x00000000,0x00050080, |
| 5650 | 0x00000001,0x00050051,0x00000006,0x00003f03, | 6102 | 0x00000006,0x000042ce,0x0000410f,0x000042c8, |
| 5651 | 0x00003f01,0x00000000,0x00050080,0x00000006, | 6103 | 0x00050050,0x00000007,0x000042cf,0x000042c9, |
| 5652 | 0x00003f08,0x00003e31,0x00003f02,0x00050050, | 6104 | 0x000042ce,0x0004007c,0x00000014,0x000042bf, |
| 5653 | 0x00000007,0x00003f09,0x00003f03,0x00003f08, | 6105 | 0x000042cf,0x00060041,0x00000174,0x000042b7, |
| 5654 | 0x0004007c,0x00000014,0x00003ef9,0x00003f09, | 6106 | 0x000042bf,0x00000173,0x00000173,0x0005003e, |
| 5655 | 0x00060041,0x0000016c,0x00003ef1,0x00003ef9, | 6107 | 0x000042b7,0x000003bf,0x00000002,0x00000004, |
| 5656 | 0x0000016b,0x0000016b,0x0005003e,0x00003ef1, | 6108 | 0x000200f9,0x00003cfe,0x000200f8,0x00003cfe, |
| 5657 | 0x000012dd,0x00000002,0x00000004,0x000200f9, | 6109 | 0x000200f9,0x000014cb,0x000200f8,0x000014cb, |
| 5658 | 0x00003a0a,0x000200f8,0x00003a0a,0x000500c7, | 6110 | 0x000200f9,0x000014c2,0x000200f8,0x000014c1, |
| 5659 | 0x00000006,0x00003a0c,0x00005e57,0x00000241, | 6111 | 0x00050041,0x000001c3,0x00003a24,0x000001c1, |
| 5660 | 0x000500aa,0x0000002f,0x00003a0d,0x00003a0c, | 6112 | 0x000001c2,0x0004003d,0x00000006,0x00003a25, |
| 5661 | 0x00000138,0x000300f7,0x00003a18,0x00000000, | 6113 | 0x00003a24,0x00050084,0x00000006,0x00003a26, |
| 5662 | 0x000400fa,0x00003a0d,0x00003a0e,0x00003a18, | 6114 | 0x000001e3,0x00003a25,0x00050080,0x00000006, |
| 5663 | 0x000200f8,0x00003a0e,0x000300f7,0x00003f4f, | 6115 | 0x00003a27,0x000001cc,0x00003a26,0x00050080, |
| 5664 | 0x00000000,0x000400fa,0x00003e6e,0x00003f4a, | 6116 | 0x00000006,0x00003a2d,0x00003a25,0x00000695, |
| 5665 | 0x00003f4e,0x000200f8,0x00003f4e,0x000200f9, | 6117 | 0x00050086,0x00000006,0x00003a2e,0x00003a2d, |
| 5666 | 0x00003f4f,0x000200f8,0x00003f4a,0x00050082, | 6118 | 0x000001c6,0x00050084,0x00000006,0x00003a20, |
| 5667 | 0x00000006,0x00003f4d,0x00003df2,0x00000142, | 6119 | 0x000001cc,0x00003a2e,0x00050080,0x00000006, |
| 5668 | 0x000200f9,0x00003f4f,0x000200f8,0x00003f4f, | 6120 | 0x00003a21,0x00003a27,0x00003a20,0x00050080, |
| 5669 | 0x000700f5,0x00000006,0x00005e5b,0x00003f4d, | 6121 | 0x00000006,0x00003a1b,0x00003a21,0x00003a20, |
| 5670 | 0x00003f4a,0x00000138,0x00003f4e,0x00050084, | 6122 | 0x00050084,0x00000006,0x000039ef,0x000001f7, |
| 5671 | 0x00000006,0x00003f14,0x000000ec,0x00005e5b, | 6123 | 0x000013a7,0x00050080,0x00000006,0x000039f0, |
| 5672 | 0x00050080,0x00000006,0x00003f15,0x00003ded, | 6124 | 0x00003a1b,0x000039ef,0x00050041,0x0000026e, |
| 5673 | 0x00003f14,0x000300f7,0x00003f5c,0x00000000, | 6125 | 0x000039f1,0x000001c1,0x0000026c,0x0004003d, |
| 5674 | 0x000400fa,0x00003e6e,0x00003f57,0x00003f5b, | 6126 | 0x00000007,0x000039f2,0x000039f1,0x00050051, |
| 5675 | 0x000200f8,0x00003f5b,0x000200f9,0x00003f5c, | 6127 | 0x00000006,0x00003a4c,0x000039f2,0x00000000, |
| 5676 | 0x000200f8,0x00003f57,0x00050082,0x00000006, | 6128 | 0x00050095,0x00000145,0x00003a4e,0x00003a4c, |
| 5677 | 0x00003f5a,0x00003df2,0x00000142,0x000200f9, | 6129 | 0x000039f0,0x00050051,0x00000006,0x00003a4f, |
| 5678 | 0x00003f5c,0x000200f8,0x00003f5c,0x000700f5, | 6130 | 0x00003a4e,0x00000001,0x00050051,0x00000006, |
| 5679 | 0x00000006,0x00005e5c,0x00003f5a,0x00003f57, | 6131 | 0x00003a50,0x00003a4e,0x00000000,0x00050051, |
| 5680 | 0x00000138,0x00003f5b,0x00050084,0x00000006, | 6132 | 0x00000006,0x00003a53,0x000039f2,0x00000001, |
| 5681 | 0x00003f0e,0x000000ec,0x00005e5c,0x00050080, | 6133 | 0x00050080,0x00000006,0x00003a55,0x00003a53, |
| 5682 | 0x00000006,0x00003f0f,0x00003f15,0x00003f0e, | 6134 | 0x00003a4f,0x00050050,0x00000007,0x00003a56, |
| 5683 | 0x00050084,0x00000006,0x00003a11,0x000000ec, | 6135 | 0x00003a50,0x00003a55,0x0004007c,0x00000014, |
| 5684 | 0x00005e57,0x00050080,0x00000006,0x00003a12, | 6136 | 0x00003a46,0x00003a56,0x00060041,0x00000174, |
| 5685 | 0x00003f0f,0x00003a11,0x00050095,0x0000013d, | 6137 | 0x00003a3d,0x00003a46,0x00000173,0x00000173, |
| 5686 | 0x00003f75,0x00003e2a,0x00003a12,0x00050051, | 6138 | 0x0006003d,0x00000006,0x00003a3e,0x00003a3d, |
| 5687 | 0x00000006,0x00003f76,0x00003f75,0x00000001, | ||
| 5688 | 0x00050051,0x00000006,0x00003f77,0x00003f75, | ||
| 5689 | 0x00000000,0x00050080,0x00000006,0x00003f7c, | ||
| 5690 | 0x00003e31,0x00003f76,0x00050050,0x00000007, | ||
| 5691 | 0x00003f7d,0x00003f77,0x00003f7c,0x0004007c, | ||
| 5692 | 0x00000014,0x00003f6d,0x00003f7d,0x00060041, | ||
| 5693 | 0x0000016c,0x00003f65,0x00003f6d,0x0000016b, | ||
| 5694 | 0x0000016b,0x0005003e,0x00003f65,0x000012dd, | ||
| 5695 | 0x00000002,0x00000004,0x000200f9,0x00003a18, | ||
| 5696 | 0x000200f8,0x00003a18,0x000500aa,0x0000002f, | ||
| 5697 | 0x00003a1a,0x000013db,0x0000016b,0x000300f7, | ||
| 5698 | 0x00003a20,0x00000000,0x000400fa,0x00003a1a, | ||
| 5699 | 0x00003a1b,0x00003a20,0x000200f8,0x00003a1b, | ||
| 5700 | 0x000300f7,0x00003fc3,0x00000000,0x000400fa, | ||
| 5701 | 0x00003e6e,0x00003fbe,0x00003fc2,0x000200f8, | ||
| 5702 | 0x00003fc2,0x000200f9,0x00003fc3,0x000200f8, | ||
| 5703 | 0x00003fbe,0x00050082,0x00000006,0x00003fc1, | ||
| 5704 | 0x00003df2,0x00000142,0x000200f9,0x00003fc3, | ||
| 5705 | 0x000200f8,0x00003fc3,0x000700f5,0x00000006, | ||
| 5706 | 0x00005e5d,0x00003fc1,0x00003fbe,0x00000138, | ||
| 5707 | 0x00003fc2,0x00050084,0x00000006,0x00003f88, | ||
| 5708 | 0x000000ec,0x00005e5d,0x00050080,0x00000006, | ||
| 5709 | 0x00003f89,0x00003ded,0x00003f88,0x000300f7, | ||
| 5710 | 0x00003fd0,0x00000000,0x000400fa,0x00003e6e, | ||
| 5711 | 0x00003fcb,0x00003fcf,0x000200f8,0x00003fcf, | ||
| 5712 | 0x000200f9,0x00003fd0,0x000200f8,0x00003fcb, | ||
| 5713 | 0x00050082,0x00000006,0x00003fce,0x00003df2, | ||
| 5714 | 0x00000142,0x000200f9,0x00003fd0,0x000200f8, | ||
| 5715 | 0x00003fd0,0x000700f5,0x00000006,0x00005e5e, | ||
| 5716 | 0x00003fce,0x00003fcb,0x00000138,0x00003fcf, | ||
| 5717 | 0x00050084,0x00000006,0x00003f82,0x000000ec, | ||
| 5718 | 0x00005e5e,0x00050080,0x00000006,0x00003f83, | ||
| 5719 | 0x00003f89,0x00003f82,0x00050095,0x0000013d, | ||
| 5720 | 0x00003fe9,0x00003e2a,0x00003f83,0x00050051, | ||
| 5721 | 0x00000006,0x00003fea,0x00003fe9,0x00000001, | ||
| 5722 | 0x00050051,0x00000006,0x00003feb,0x00003fe9, | ||
| 5723 | 0x00000000,0x00050080,0x00000006,0x00003ff0, | ||
| 5724 | 0x00003e31,0x00003fea,0x00050050,0x00000007, | ||
| 5725 | 0x00003ff1,0x00003feb,0x00003ff0,0x0004007c, | ||
| 5726 | 0x00000014,0x00003fe1,0x00003ff1,0x00060041, | ||
| 5727 | 0x0000016c,0x00003fd9,0x00003fe1,0x0000016b, | ||
| 5728 | 0x0000016b,0x0005003e,0x00003fd9,0x00000539, | ||
| 5729 | 0x00000002,0x00000004,0x000200f9,0x00003a20, | ||
| 5730 | 0x000200f8,0x00003a20,0x000200f9,0x000013d9, | ||
| 5731 | 0x000200f8,0x000013d9,0x000200f9,0x000013d0, | ||
| 5732 | 0x000200f8,0x000013cf,0x00050041,0x000001bb, | ||
| 5733 | 0x00003746,0x000001b9,0x000001ba,0x0004003d, | ||
| 5734 | 0x00000006,0x00003747,0x00003746,0x00050084, | ||
| 5735 | 0x00000006,0x00003748,0x000001db,0x00003747, | ||
| 5736 | 0x00050080,0x00000006,0x00003749,0x000001c4, | ||
| 5737 | 0x00003748,0x00050080,0x00000006,0x0000374f, | ||
| 5738 | 0x00003747,0x0000062f,0x00050086,0x00000006, | ||
| 5739 | 0x00003750,0x0000374f,0x000001be,0x00050084, | ||
| 5740 | 0x00000006,0x00003742,0x000001c4,0x00003750, | ||
| 5741 | 0x00050080,0x00000006,0x00003743,0x00003749, | ||
| 5742 | 0x00003742,0x00050080,0x00000006,0x0000373d, | ||
| 5743 | 0x00003743,0x00003742,0x00050084,0x00000006, | ||
| 5744 | 0x00003711,0x000001ef,0x000012dd,0x00050080, | ||
| 5745 | 0x00000006,0x00003712,0x0000373d,0x00003711, | ||
| 5746 | 0x00050041,0x00000266,0x00003713,0x000001b9, | ||
| 5747 | 0x00000264,0x0004003d,0x00000007,0x00003714, | ||
| 5748 | 0x00003713,0x00050051,0x00000006,0x0000376e, | ||
| 5749 | 0x00003714,0x00000000,0x00050095,0x0000013d, | ||
| 5750 | 0x00003770,0x0000376e,0x00003712,0x00050051, | ||
| 5751 | 0x00000006,0x00003771,0x00003770,0x00000001, | ||
| 5752 | 0x00050051,0x00000006,0x00003772,0x00003770, | ||
| 5753 | 0x00000000,0x00050051,0x00000006,0x00003775, | ||
| 5754 | 0x00003714,0x00000001,0x00050080,0x00000006, | ||
| 5755 | 0x00003777,0x00003775,0x00003771,0x00050050, | ||
| 5756 | 0x00000007,0x00003778,0x00003772,0x00003777, | ||
| 5757 | 0x0004007c,0x00000014,0x00003768,0x00003778, | ||
| 5758 | 0x00060041,0x0000016c,0x0000375f,0x00003768, | ||
| 5759 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | ||
| 5760 | 0x00003760,0x0000375f,0x00000002,0x00000004, | ||
| 5761 | 0x0004007c,0x00000027,0x00003717,0x00003760, | ||
| 5762 | 0x00050080,0x00000006,0x00003719,0x00003712, | ||
| 5763 | 0x000000ec,0x00050095,0x0000013d,0x00003791, | ||
| 5764 | 0x0000376e,0x00003719,0x00050051,0x00000006, | ||
| 5765 | 0x00003792,0x00003791,0x00000001,0x00050051, | ||
| 5766 | 0x00000006,0x00003793,0x00003791,0x00000000, | ||
| 5767 | 0x00050080,0x00000006,0x00003798,0x00003775, | ||
| 5768 | 0x00003792,0x00050050,0x00000007,0x00003799, | ||
| 5769 | 0x00003793,0x00003798,0x0004007c,0x00000014, | ||
| 5770 | 0x00003789,0x00003799,0x00060041,0x0000016c, | ||
| 5771 | 0x00003780,0x00003789,0x0000016b,0x0000016b, | ||
| 5772 | 0x0006003d,0x00000006,0x00003781,0x00003780, | ||
| 5773 | 0x00000002,0x00000004,0x0004007c,0x00000027, | 6139 | 0x00000002,0x00000004,0x0004007c,0x00000027, |
| 5774 | 0x0000371d,0x00003781,0x00050080,0x00000006, | 6140 | 0x000039f5,0x00003a3e,0x00050080,0x00000006, |
| 5775 | 0x0000371f,0x00003712,0x000001cd,0x00050095, | 6141 | 0x000039f7,0x000039f0,0x000000f3,0x00050095, |
| 5776 | 0x0000013d,0x000037b2,0x0000376e,0x0000371f, | 6142 | 0x00000145,0x00003a6f,0x00003a4c,0x000039f7, |
| 5777 | 0x00050051,0x00000006,0x000037b3,0x000037b2, | 6143 | 0x00050051,0x00000006,0x00003a70,0x00003a6f, |
| 5778 | 0x00000001,0x00050051,0x00000006,0x000037b4, | 6144 | 0x00000001,0x00050051,0x00000006,0x00003a71, |
| 5779 | 0x000037b2,0x00000000,0x00050080,0x00000006, | 6145 | 0x00003a6f,0x00000000,0x00050080,0x00000006, |
| 5780 | 0x000037b9,0x00003775,0x000037b3,0x00050050, | 6146 | 0x00003a76,0x00003a53,0x00003a70,0x00050050, |
| 5781 | 0x00000007,0x000037ba,0x000037b4,0x000037b9, | 6147 | 0x00000007,0x00003a77,0x00003a71,0x00003a76, |
| 5782 | 0x0004007c,0x00000014,0x000037aa,0x000037ba, | 6148 | 0x0004007c,0x00000014,0x00003a67,0x00003a77, |
| 5783 | 0x00060041,0x0000016c,0x000037a1,0x000037aa, | 6149 | 0x00060041,0x00000174,0x00003a5e,0x00003a67, |
| 5784 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 6150 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 5785 | 0x000037a2,0x000037a1,0x00000002,0x00000004, | 6151 | 0x00003a5f,0x00003a5e,0x00000002,0x00000004, |
| 5786 | 0x0004007c,0x00000027,0x00003723,0x000037a2, | 6152 | 0x0004007c,0x00000027,0x000039fb,0x00003a5f, |
| 5787 | 0x00060050,0x0000006c,0x00003724,0x00003717, | 6153 | 0x00050080,0x00000006,0x000039fd,0x000039f0, |
| 5788 | 0x0000371d,0x00003723,0x00050080,0x00000006, | 6154 | 0x000001d5,0x00050095,0x00000145,0x00003a90, |
| 5789 | 0x00003726,0x00003712,0x000001d4,0x00050095, | 6155 | 0x00003a4c,0x000039fd,0x00050051,0x00000006, |
| 5790 | 0x0000013d,0x000037d3,0x0000376e,0x00003726, | 6156 | 0x00003a91,0x00003a90,0x00000001,0x00050051, |
| 5791 | 0x00050051,0x00000006,0x000037d4,0x000037d3, | 6157 | 0x00000006,0x00003a92,0x00003a90,0x00000000, |
| 5792 | 0x00000001,0x00050051,0x00000006,0x000037d5, | 6158 | 0x00050080,0x00000006,0x00003a97,0x00003a53, |
| 5793 | 0x000037d3,0x00000000,0x00050080,0x00000006, | 6159 | 0x00003a91,0x00050050,0x00000007,0x00003a98, |
| 5794 | 0x000037da,0x00003775,0x000037d4,0x00050050, | 6160 | 0x00003a92,0x00003a97,0x0004007c,0x00000014, |
| 5795 | 0x00000007,0x000037db,0x000037d5,0x000037da, | 6161 | 0x00003a88,0x00003a98,0x00060041,0x00000174, |
| 5796 | 0x0004007c,0x00000014,0x000037cb,0x000037db, | 6162 | 0x00003a7f,0x00003a88,0x00000173,0x00000173, |
| 5797 | 0x00060041,0x0000016c,0x000037c2,0x000037cb, | 6163 | 0x0006003d,0x00000006,0x00003a80,0x00003a7f, |
| 5798 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | ||
| 5799 | 0x000037c3,0x000037c2,0x00000002,0x00000004, | ||
| 5800 | 0x0004007c,0x00000027,0x0000372a,0x000037c3, | ||
| 5801 | 0x00050080,0x00000006,0x0000372c,0x00003712, | ||
| 5802 | 0x000001db,0x00050095,0x0000013d,0x000037f4, | ||
| 5803 | 0x0000376e,0x0000372c,0x00050051,0x00000006, | ||
| 5804 | 0x000037f5,0x000037f4,0x00000001,0x00050051, | ||
| 5805 | 0x00000006,0x000037f6,0x000037f4,0x00000000, | ||
| 5806 | 0x00050080,0x00000006,0x000037fb,0x00003775, | ||
| 5807 | 0x000037f5,0x00050050,0x00000007,0x000037fc, | ||
| 5808 | 0x000037f6,0x000037fb,0x0004007c,0x00000014, | ||
| 5809 | 0x000037ec,0x000037fc,0x00060041,0x0000016c, | ||
| 5810 | 0x000037e3,0x000037ec,0x0000016b,0x0000016b, | ||
| 5811 | 0x0006003d,0x00000006,0x000037e4,0x000037e3, | ||
| 5812 | 0x00000002,0x00000004,0x0004007c,0x00000027, | 6164 | 0x00000002,0x00000004,0x0004007c,0x00000027, |
| 5813 | 0x00003730,0x000037e4,0x00050080,0x00000006, | 6165 | 0x00003a01,0x00003a80,0x00060050,0x0000006c, |
| 5814 | 0x00003732,0x00003712,0x00000299,0x00050095, | 6166 | 0x00003a02,0x000039f5,0x000039fb,0x00003a01, |
| 5815 | 0x0000013d,0x00003815,0x0000376e,0x00003732, | 6167 | 0x00050080,0x00000006,0x00003a04,0x000039f0, |
| 5816 | 0x00050051,0x00000006,0x00003816,0x00003815, | 6168 | 0x000001dc,0x00050095,0x00000145,0x00003ab1, |
| 5817 | 0x00000001,0x00050051,0x00000006,0x00003817, | 6169 | 0x00003a4c,0x00003a04,0x00050051,0x00000006, |
| 5818 | 0x00003815,0x00000000,0x00050080,0x00000006, | 6170 | 0x00003ab2,0x00003ab1,0x00000001,0x00050051, |
| 5819 | 0x0000381c,0x00003775,0x00003816,0x00050050, | 6171 | 0x00000006,0x00003ab3,0x00003ab1,0x00000000, |
| 5820 | 0x00000007,0x0000381d,0x00003817,0x0000381c, | 6172 | 0x00050080,0x00000006,0x00003ab8,0x00003a53, |
| 5821 | 0x0004007c,0x00000014,0x0000380d,0x0000381d, | 6173 | 0x00003ab2,0x00050050,0x00000007,0x00003ab9, |
| 5822 | 0x00060041,0x0000016c,0x00003804,0x0000380d, | 6174 | 0x00003ab3,0x00003ab8,0x0004007c,0x00000014, |
| 5823 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | 6175 | 0x00003aa9,0x00003ab9,0x00060041,0x00000174, |
| 5824 | 0x00003805,0x00003804,0x00000002,0x00000004, | 6176 | 0x00003aa0,0x00003aa9,0x00000173,0x00000173, |
| 5825 | 0x0004007c,0x00000027,0x00003736,0x00003805, | 6177 | 0x0006003d,0x00000006,0x00003aa1,0x00003aa0, |
| 5826 | 0x00060050,0x0000006c,0x00003737,0x0000372a, | 6178 | 0x00000002,0x00000004,0x0004007c,0x00000027, |
| 5827 | 0x00003730,0x00003736,0x000500bc,0x0000002f, | 6179 | 0x00003a08,0x00003aa1,0x00050080,0x00000006, |
| 5828 | 0x00003824,0x00003717,0x0000372a,0x000300f7, | 6180 | 0x00003a0a,0x000039f0,0x000001e3,0x00050095, |
| 5829 | 0x0000382b,0x00000000,0x000400fa,0x00003824, | 6181 | 0x00000145,0x00003ad2,0x00003a4c,0x00003a0a, |
| 5830 | 0x00003825,0x0000382b,0x000200f8,0x00003825, | 6182 | 0x00050051,0x00000006,0x00003ad3,0x00003ad2, |
| 5831 | 0x000500bc,0x0000002f,0x0000382a,0x0000371d, | 6183 | 0x00000001,0x00050051,0x00000006,0x00003ad4, |
| 5832 | 0x00003730,0x000200f9,0x0000382b,0x000200f8, | 6184 | 0x00003ad2,0x00000000,0x00050080,0x00000006, |
| 5833 | 0x0000382b,0x000700f5,0x0000002f,0x0000382c, | 6185 | 0x00003ad9,0x00003a53,0x00003ad3,0x00050050, |
| 5834 | 0x00003824,0x000013cf,0x0000382a,0x00003825, | 6186 | 0x00000007,0x00003ada,0x00003ad4,0x00003ad9, |
| 5835 | 0x000300f7,0x00003833,0x00000000,0x000400fa, | 6187 | 0x0004007c,0x00000014,0x00003aca,0x00003ada, |
| 5836 | 0x0000382c,0x0000382d,0x00003833,0x000200f8, | 6188 | 0x00060041,0x00000174,0x00003ac1,0x00003aca, |
| 5837 | 0x0000382d,0x000500bc,0x0000002f,0x00003832, | 6189 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 5838 | 0x00003723,0x00003736,0x000200f9,0x00003833, | 6190 | 0x00003ac2,0x00003ac1,0x00000002,0x00000004, |
| 5839 | 0x000200f8,0x00003833,0x000700f5,0x0000002f, | 6191 | 0x0004007c,0x00000027,0x00003a0e,0x00003ac2, |
| 5840 | 0x00003834,0x0000382c,0x0000382b,0x00003832, | 6192 | 0x00050080,0x00000006,0x00003a10,0x000039f0, |
| 5841 | 0x0000382d,0x000300f7,0x000036f0,0x00000000, | 6193 | 0x000002a1,0x00050095,0x00000145,0x00003af3, |
| 5842 | 0x000400fa,0x00003834,0x000036b4,0x000036f0, | 6194 | 0x00003a4c,0x00003a10,0x00050051,0x00000006, |
| 5843 | 0x000200f8,0x000036b4,0x00050095,0x0000013d, | 6195 | 0x00003af4,0x00003af3,0x00000001,0x00050051, |
| 5844 | 0x00003845,0x0000376e,0x00000138,0x00050051, | 6196 | 0x00000006,0x00003af5,0x00003af3,0x00000000, |
| 5845 | 0x00000006,0x00003846,0x00003845,0x00000001, | 6197 | 0x00050080,0x00000006,0x00003afa,0x00003a53, |
| 5846 | 0x00050051,0x00000006,0x00003847,0x00003845, | 6198 | 0x00003af4,0x00050050,0x00000007,0x00003afb, |
| 5847 | 0x00000000,0x00050080,0x00000006,0x0000384c, | 6199 | 0x00003af5,0x00003afa,0x0004007c,0x00000014, |
| 5848 | 0x00003775,0x00003846,0x00050050,0x00000007, | 6200 | 0x00003aeb,0x00003afb,0x00060041,0x00000174, |
| 5849 | 0x0000384d,0x00003847,0x0000384c,0x0004007c, | 6201 | 0x00003ae2,0x00003aeb,0x00000173,0x00000173, |
| 5850 | 0x00000014,0x0000383d,0x0000384d,0x00060041, | 6202 | 0x0006003d,0x00000006,0x00003ae3,0x00003ae2, |
| 5851 | 0x0000016c,0x000036b9,0x0000383d,0x0000016b, | 6203 | 0x00000002,0x00000004,0x0004007c,0x00000027, |
| 5852 | 0x0000016b,0x0006003d,0x00000006,0x000036ba, | 6204 | 0x00003a14,0x00003ae3,0x00060050,0x0000006c, |
| 5853 | 0x000036b9,0x00000002,0x00000004,0x000500c7, | 6205 | 0x00003a15,0x00003a08,0x00003a0e,0x00003a14, |
| 5854 | 0x00000006,0x00003852,0x000036ba,0x00000241, | 6206 | 0x000500bc,0x0000002f,0x00003b02,0x000039f5, |
| 5855 | 0x000500ab,0x0000002f,0x00003853,0x00003852, | 6207 | 0x00003a08,0x000300f7,0x00003b09,0x00000000, |
| 5856 | 0x00000138,0x000300f7,0x0000385a,0x00000000, | 6208 | 0x000400fa,0x00003b02,0x00003b03,0x00003b09, |
| 5857 | 0x000400fa,0x00003853,0x00003854,0x00003857, | 6209 | 0x000200f8,0x00003b03,0x000500bc,0x0000002f, |
| 5858 | 0x000200f8,0x00003857,0x000400c8,0x00000006, | 6210 | 0x00003b08,0x000039fb,0x00003a0e,0x000200f9, |
| 5859 | 0x00003859,0x000036ba,0x000200f9,0x0000385a, | 6211 | 0x00003b09,0x000200f8,0x00003b09,0x000700f5, |
| 5860 | 0x000200f8,0x00003854,0x000500c7,0x00000006, | 6212 | 0x0000002f,0x00003b0a,0x00003b02,0x000014c1, |
| 5861 | 0x00003856,0x000036ba,0x00000256,0x000200f9, | 6213 | 0x00003b08,0x00003b03,0x000300f7,0x00003b11, |
| 5862 | 0x0000385a,0x000200f8,0x0000385a,0x000700f5, | 6214 | 0x00000000,0x000400fa,0x00003b0a,0x00003b0b, |
| 5863 | 0x00000006,0x00005e65,0x00003856,0x00003854, | 6215 | 0x00003b11,0x000200f8,0x00003b0b,0x000500bc, |
| 5864 | 0x00003859,0x00003857,0x0004007c,0x00000027, | 6216 | 0x0000002f,0x00003b10,0x00003a01,0x00003a14, |
| 5865 | 0x0000385c,0x00005e65,0x00060041,0x0000016c, | 6217 | 0x000200f9,0x00003b11,0x000200f8,0x00003b11, |
| 5866 | 0x000036bd,0x0000383d,0x0000016b,0x00000264, | 6218 | 0x000700f5,0x0000002f,0x00003b12,0x00003b0a, |
| 5867 | 0x0006003d,0x00000006,0x000036be,0x000036bd, | 6219 | 0x00003b09,0x00003b10,0x00003b0b,0x000300f7, |
| 5868 | 0x00000002,0x00000004,0x000500c7,0x00000006, | 6220 | 0x000039ce,0x00000000,0x000400fa,0x00003b12, |
| 5869 | 0x00003861,0x000036be,0x00000241,0x000500ab, | 6221 | 0x00003992,0x000039ce,0x000200f8,0x00003992, |
| 5870 | 0x0000002f,0x00003862,0x00003861,0x00000138, | 6222 | 0x00050095,0x00000145,0x00003b23,0x00003a4c, |
| 5871 | 0x000300f7,0x00003869,0x00000000,0x000400fa, | 6223 | 0x00000140,0x00050051,0x00000006,0x00003b24, |
| 5872 | 0x00003862,0x00003863,0x00003866,0x000200f8, | 6224 | 0x00003b23,0x00000001,0x00050051,0x00000006, |
| 5873 | 0x00003866,0x000400c8,0x00000006,0x00003868, | 6225 | 0x00003b25,0x00003b23,0x00000000,0x00050080, |
| 5874 | 0x000036be,0x000200f9,0x00003869,0x000200f8, | 6226 | 0x00000006,0x00003b2a,0x00003a53,0x00003b24, |
| 5875 | 0x00003863,0x000500c7,0x00000006,0x00003865, | 6227 | 0x00050050,0x00000007,0x00003b2b,0x00003b25, |
| 5876 | 0x000036be,0x00000256,0x000200f9,0x00003869, | 6228 | 0x00003b2a,0x0004007c,0x00000014,0x00003b1b, |
| 5877 | 0x000200f8,0x00003869,0x000700f5,0x00000006, | 6229 | 0x00003b2b,0x00060041,0x00000174,0x00003997, |
| 5878 | 0x00005e66,0x00003865,0x00003863,0x00003868, | 6230 | 0x00003b1b,0x00000173,0x00000173,0x0006003d, |
| 5879 | 0x00003866,0x0004007c,0x00000027,0x0000386b, | 6231 | 0x00000006,0x00003998,0x00003997,0x00000002, |
| 5880 | 0x00005e66,0x00060041,0x0000016c,0x000036c1, | 6232 | 0x00000004,0x000500c7,0x00000006,0x00003b30, |
| 5881 | 0x0000383d,0x0000016b,0x00000315,0x0006003d, | 6233 | 0x00003998,0x00000249,0x000500ab,0x0000002f, |
| 5882 | 0x00000006,0x000036c2,0x000036c1,0x00000002, | 6234 | 0x00003b31,0x00003b30,0x00000140,0x000300f7, |
| 5883 | 0x00000004,0x000500c7,0x00000006,0x00003870, | 6235 | 0x00003b38,0x00000000,0x000400fa,0x00003b31, |
| 5884 | 0x000036c2,0x00000241,0x000500ab,0x0000002f, | 6236 | 0x00003b32,0x00003b35,0x000200f8,0x00003b35, |
| 5885 | 0x00003871,0x00003870,0x00000138,0x000300f7, | 6237 | 0x000400c8,0x00000006,0x00003b37,0x00003998, |
| 5886 | 0x00003878,0x00000000,0x000400fa,0x00003871, | 6238 | 0x000200f9,0x00003b38,0x000200f8,0x00003b32, |
| 5887 | 0x00003872,0x00003875,0x000200f8,0x00003875, | 6239 | 0x000500c7,0x00000006,0x00003b34,0x00003998, |
| 5888 | 0x000400c8,0x00000006,0x00003877,0x000036c2, | 6240 | 0x0000025e,0x000200f9,0x00003b38,0x000200f8, |
| 5889 | 0x000200f9,0x00003878,0x000200f8,0x00003872, | 6241 | 0x00003b38,0x000700f5,0x00000006,0x0000628b, |
| 5890 | 0x000500c7,0x00000006,0x00003874,0x000036c2, | 6242 | 0x00003b34,0x00003b32,0x00003b37,0x00003b35, |
| 5891 | 0x00000256,0x000200f9,0x00003878,0x000200f8, | 6243 | 0x0004007c,0x00000027,0x00003b3a,0x0000628b, |
| 5892 | 0x00003878,0x000700f5,0x00000006,0x00005e67, | 6244 | 0x00060041,0x00000174,0x0000399b,0x00003b1b, |
| 5893 | 0x00003874,0x00003872,0x00003877,0x00003875, | 6245 | 0x00000173,0x0000026c,0x0006003d,0x00000006, |
| 5894 | 0x0004007c,0x00000027,0x0000387a,0x00005e67, | 6246 | 0x0000399c,0x0000399b,0x00000002,0x00000004, |
| 5895 | 0x00060050,0x0000006c,0x000036c4,0x0000385c, | 6247 | 0x000500c7,0x00000006,0x00003b3f,0x0000399c, |
| 5896 | 0x0000386b,0x0000387a,0x00060041,0x0000016c, | 6248 | 0x00000249,0x000500ab,0x0000002f,0x00003b40, |
| 5897 | 0x000036c6,0x0000383d,0x0000016b,0x0000031d, | 6249 | 0x00003b3f,0x00000140,0x000300f7,0x00003b47, |
| 5898 | 0x0006003d,0x00000006,0x000036c7,0x000036c6, | 6250 | 0x00000000,0x000400fa,0x00003b40,0x00003b41, |
| 6251 | 0x00003b44,0x000200f8,0x00003b44,0x000400c8, | ||
| 6252 | 0x00000006,0x00003b46,0x0000399c,0x000200f9, | ||
| 6253 | 0x00003b47,0x000200f8,0x00003b41,0x000500c7, | ||
| 6254 | 0x00000006,0x00003b43,0x0000399c,0x0000025e, | ||
| 6255 | 0x000200f9,0x00003b47,0x000200f8,0x00003b47, | ||
| 6256 | 0x000700f5,0x00000006,0x0000628c,0x00003b43, | ||
| 6257 | 0x00003b41,0x00003b46,0x00003b44,0x0004007c, | ||
| 6258 | 0x00000027,0x00003b49,0x0000628c,0x00060041, | ||
| 6259 | 0x00000174,0x0000399f,0x00003b1b,0x00000173, | ||
| 6260 | 0x0000031d,0x0006003d,0x00000006,0x000039a0, | ||
| 6261 | 0x0000399f,0x00000002,0x00000004,0x000500c7, | ||
| 6262 | 0x00000006,0x00003b4e,0x000039a0,0x00000249, | ||
| 6263 | 0x000500ab,0x0000002f,0x00003b4f,0x00003b4e, | ||
| 6264 | 0x00000140,0x000300f7,0x00003b56,0x00000000, | ||
| 6265 | 0x000400fa,0x00003b4f,0x00003b50,0x00003b53, | ||
| 6266 | 0x000200f8,0x00003b53,0x000400c8,0x00000006, | ||
| 6267 | 0x00003b55,0x000039a0,0x000200f9,0x00003b56, | ||
| 6268 | 0x000200f8,0x00003b50,0x000500c7,0x00000006, | ||
| 6269 | 0x00003b52,0x000039a0,0x0000025e,0x000200f9, | ||
| 6270 | 0x00003b56,0x000200f8,0x00003b56,0x000700f5, | ||
| 6271 | 0x00000006,0x0000628d,0x00003b52,0x00003b50, | ||
| 6272 | 0x00003b55,0x00003b53,0x0004007c,0x00000027, | ||
| 6273 | 0x00003b58,0x0000628d,0x00060050,0x0000006c, | ||
| 6274 | 0x000039a2,0x00003b3a,0x00003b49,0x00003b58, | ||
| 6275 | 0x00060041,0x00000174,0x000039a4,0x00003b1b, | ||
| 6276 | 0x00000173,0x00000325,0x0006003d,0x00000006, | ||
| 6277 | 0x000039a5,0x000039a4,0x00000002,0x00000004, | ||
| 6278 | 0x000500c7,0x00000006,0x00003b5d,0x000039a5, | ||
| 6279 | 0x00000249,0x000500ab,0x0000002f,0x00003b5e, | ||
| 6280 | 0x00003b5d,0x00000140,0x000300f7,0x00003b65, | ||
| 6281 | 0x00000000,0x000400fa,0x00003b5e,0x00003b5f, | ||
| 6282 | 0x00003b62,0x000200f8,0x00003b62,0x000400c8, | ||
| 6283 | 0x00000006,0x00003b64,0x000039a5,0x000200f9, | ||
| 6284 | 0x00003b65,0x000200f8,0x00003b5f,0x000500c7, | ||
| 6285 | 0x00000006,0x00003b61,0x000039a5,0x0000025e, | ||
| 6286 | 0x000200f9,0x00003b65,0x000200f8,0x00003b65, | ||
| 6287 | 0x000700f5,0x00000006,0x0000628e,0x00003b61, | ||
| 6288 | 0x00003b5f,0x00003b64,0x00003b62,0x0004007c, | ||
| 6289 | 0x00000027,0x00003b67,0x0000628e,0x00060041, | ||
| 6290 | 0x00000174,0x000039a8,0x00003b1b,0x00000173, | ||
| 6291 | 0x0000032d,0x0006003d,0x00000006,0x000039a9, | ||
| 6292 | 0x000039a8,0x00000002,0x00000004,0x000500c7, | ||
| 6293 | 0x00000006,0x00003b6c,0x000039a9,0x00000249, | ||
| 6294 | 0x000500ab,0x0000002f,0x00003b6d,0x00003b6c, | ||
| 6295 | 0x00000140,0x000300f7,0x00003b74,0x00000000, | ||
| 6296 | 0x000400fa,0x00003b6d,0x00003b6e,0x00003b71, | ||
| 6297 | 0x000200f8,0x00003b71,0x000400c8,0x00000006, | ||
| 6298 | 0x00003b73,0x000039a9,0x000200f9,0x00003b74, | ||
| 6299 | 0x000200f8,0x00003b6e,0x000500c7,0x00000006, | ||
| 6300 | 0x00003b70,0x000039a9,0x0000025e,0x000200f9, | ||
| 6301 | 0x00003b74,0x000200f8,0x00003b74,0x000700f5, | ||
| 6302 | 0x00000006,0x0000628f,0x00003b70,0x00003b6e, | ||
| 6303 | 0x00003b73,0x00003b71,0x0004007c,0x00000027, | ||
| 6304 | 0x00003b76,0x0000628f,0x00060041,0x00000174, | ||
| 6305 | 0x000039ac,0x00003b1b,0x00000173,0x00000335, | ||
| 6306 | 0x0006003d,0x00000006,0x000039ad,0x000039ac, | ||
| 5899 | 0x00000002,0x00000004,0x000500c7,0x00000006, | 6307 | 0x00000002,0x00000004,0x000500c7,0x00000006, |
| 5900 | 0x0000387f,0x000036c7,0x00000241,0x000500ab, | 6308 | 0x00003b7b,0x000039ad,0x00000249,0x000500ab, |
| 5901 | 0x0000002f,0x00003880,0x0000387f,0x00000138, | 6309 | 0x0000002f,0x00003b7c,0x00003b7b,0x00000140, |
| 5902 | 0x000300f7,0x00003887,0x00000000,0x000400fa, | 6310 | 0x000300f7,0x00003b83,0x00000000,0x000400fa, |
| 5903 | 0x00003880,0x00003881,0x00003884,0x000200f8, | 6311 | 0x00003b7c,0x00003b7d,0x00003b80,0x000200f8, |
| 5904 | 0x00003884,0x000400c8,0x00000006,0x00003886, | 6312 | 0x00003b80,0x000400c8,0x00000006,0x00003b82, |
| 5905 | 0x000036c7,0x000200f9,0x00003887,0x000200f8, | 6313 | 0x000039ad,0x000200f9,0x00003b83,0x000200f8, |
| 5906 | 0x00003881,0x000500c7,0x00000006,0x00003883, | 6314 | 0x00003b7d,0x000500c7,0x00000006,0x00003b7f, |
| 5907 | 0x000036c7,0x00000256,0x000200f9,0x00003887, | 6315 | 0x000039ad,0x0000025e,0x000200f9,0x00003b83, |
| 5908 | 0x000200f8,0x00003887,0x000700f5,0x00000006, | 6316 | 0x000200f8,0x00003b83,0x000700f5,0x00000006, |
| 5909 | 0x00005e68,0x00003883,0x00003881,0x00003886, | 6317 | 0x00006290,0x00003b7f,0x00003b7d,0x00003b82, |
| 5910 | 0x00003884,0x0004007c,0x00000027,0x00003889, | 6318 | 0x00003b80,0x0004007c,0x00000027,0x00003b85, |
| 5911 | 0x00005e68,0x00060041,0x0000016c,0x000036ca, | 6319 | 0x00006290,0x00060050,0x0000006c,0x000039af, |
| 5912 | 0x0000383d,0x0000016b,0x00000325,0x0006003d, | 6320 | 0x00003b67,0x00003b76,0x00003b85,0x00050083, |
| 5913 | 0x00000006,0x000036cb,0x000036ca,0x00000002, | 6321 | 0x0000006c,0x000039b2,0x000039af,0x000039a2, |
| 5914 | 0x00000004,0x000500c7,0x00000006,0x0000388e, | 6322 | 0x0007000c,0x0000006c,0x000039b3,0x00000001, |
| 5915 | 0x000036cb,0x00000241,0x000500ab,0x0000002f, | 6323 | 0x00000028,0x000039b2,0x00000939,0x00050081, |
| 5916 | 0x0000388f,0x0000388e,0x00000138,0x000300f7, | 6324 | 0x0000006c,0x000039b6,0x00003a02,0x00003a15, |
| 5917 | 0x00003896,0x00000000,0x000400fa,0x0000388f, | 6325 | 0x0005008e,0x0000006c,0x000039b7,0x000039b6, |
| 5918 | 0x00003890,0x00003893,0x000200f8,0x00003893, | 6326 | 0x00000305,0x00050083,0x0000006c,0x000039b9, |
| 5919 | 0x000400c8,0x00000006,0x00003895,0x000036cb, | 6327 | 0x000039b7,0x000039a2,0x00050088,0x0000006c, |
| 5920 | 0x000200f9,0x00003896,0x000200f8,0x00003890, | 6328 | 0x000039bb,0x000039b9,0x000039b3,0x0008000c, |
| 5921 | 0x000500c7,0x00000006,0x00003892,0x000036cb, | 6329 | 0x0000006c,0x000039be,0x00000001,0x0000002b, |
| 5922 | 0x00000256,0x000200f9,0x00003896,0x000200f8, | 6330 | 0x000039bb,0x00000850,0x00006530,0x0005008e, |
| 5923 | 0x00003896,0x000700f5,0x00000006,0x00005e69, | 6331 | 0x0000006c,0x000039bf,0x000039be,0x00000947, |
| 5924 | 0x00003892,0x00003890,0x00003895,0x00003893, | 6332 | 0x0004006d,0x000000e6,0x000039c0,0x000039bf, |
| 5925 | 0x0004007c,0x00000027,0x00003898,0x00005e69, | 6333 | 0x00050051,0x00000006,0x000039c2,0x000039c0, |
| 5926 | 0x00060041,0x0000016c,0x000036ce,0x0000383d, | 6334 | 0x00000000,0x000500c7,0x00000006,0x00003b89, |
| 5927 | 0x0000016b,0x0000032d,0x0006003d,0x00000006, | 6335 | 0x000039c2,0x000008dc,0x000500c4,0x00000006, |
| 5928 | 0x000036cf,0x000036ce,0x00000002,0x00000004, | 6336 | 0x00003b8c,0x00003b89,0x00000362,0x000500c5, |
| 5929 | 0x000500c7,0x00000006,0x0000389d,0x000036cf, | 6337 | 0x00000006,0x00003b8d,0x00003b89,0x00003b8c, |
| 5930 | 0x00000241,0x000500ab,0x0000002f,0x0000389e, | 6338 | 0x000500c7,0x00000006,0x00003b8e,0x00003b8d, |
| 5931 | 0x0000389d,0x00000138,0x000300f7,0x000038a5, | 6339 | 0x000008e3,0x000500c4,0x00000006,0x00003b91, |
| 5932 | 0x00000000,0x000400fa,0x0000389e,0x0000389f, | 6340 | 0x00003b8e,0x00000528,0x000500c5,0x00000006, |
| 5933 | 0x000038a2,0x000200f8,0x000038a2,0x000400c8, | 6341 | 0x00003b92,0x00003b8e,0x00003b91,0x000500c7, |
| 5934 | 0x00000006,0x000038a4,0x000036cf,0x000200f9, | 6342 | 0x00000006,0x00003b93,0x00003b92,0x000008e9, |
| 5935 | 0x000038a5,0x000200f8,0x0000389f,0x000500c7, | 6343 | 0x000500c4,0x00000006,0x00003b96,0x00003b93, |
| 5936 | 0x00000006,0x000038a1,0x000036cf,0x00000256, | 6344 | 0x0000032d,0x000500c5,0x00000006,0x00003b97, |
| 5937 | 0x000200f9,0x000038a5,0x000200f8,0x000038a5, | 6345 | 0x00003b93,0x00003b96,0x000500c7,0x00000006, |
| 5938 | 0x000700f5,0x00000006,0x00005e6a,0x000038a1, | 6346 | 0x00003b98,0x00003b97,0x000008ef,0x000500c4, |
| 5939 | 0x0000389f,0x000038a4,0x000038a2,0x0004007c, | 6347 | 0x00000006,0x00003b9b,0x00003b98,0x0000031d, |
| 5940 | 0x00000027,0x000038a7,0x00005e6a,0x00060050, | 6348 | 0x000500c5,0x00000006,0x00003b9c,0x00003b98, |
| 5941 | 0x0000006c,0x000036d1,0x00003889,0x00003898, | 6349 | 0x00003b9b,0x000500c7,0x00000006,0x00003b9d, |
| 5942 | 0x000038a7,0x00050083,0x0000006c,0x000036d4, | 6350 | 0x00003b9c,0x000008f5,0x000500c4,0x00000006, |
| 5943 | 0x000036d1,0x000036c4,0x0007000c,0x0000006c, | 6351 | 0x000039c4,0x00003b9d,0x0000031d,0x00050051, |
| 5944 | 0x000036d5,0x00000001,0x00000028,0x000036d4, | 6352 | 0x00000006,0x000039c6,0x000039c0,0x00000001, |
| 5945 | 0x000008d3,0x00050081,0x0000006c,0x000036d8, | 6353 | 0x000500c7,0x00000006,0x00003ba2,0x000039c6, |
| 5946 | 0x00003724,0x00003737,0x0005008e,0x0000006c, | 6354 | 0x000008dc,0x000500c4,0x00000006,0x00003ba5, |
| 5947 | 0x000036d9,0x000036d8,0x000002fd,0x00050083, | 6355 | 0x00003ba2,0x00000362,0x000500c5,0x00000006, |
| 5948 | 0x0000006c,0x000036db,0x000036d9,0x000036c4, | 6356 | 0x00003ba6,0x00003ba2,0x00003ba5,0x000500c7, |
| 5949 | 0x00050088,0x0000006c,0x000036dd,0x000036db, | 6357 | 0x00000006,0x00003ba7,0x00003ba6,0x000008e3, |
| 5950 | 0x000036d5,0x0008000c,0x0000006c,0x000036e0, | 6358 | 0x000500c4,0x00000006,0x00003baa,0x00003ba7, |
| 5951 | 0x00000001,0x0000002b,0x000036dd,0x000007ea, | 6359 | 0x00000528,0x000500c5,0x00000006,0x00003bab, |
| 5952 | 0x000060fc,0x0005008e,0x0000006c,0x000036e1, | 6360 | 0x00003ba7,0x00003baa,0x000500c7,0x00000006, |
| 5953 | 0x000036e0,0x000008e1,0x0004006d,0x000000df, | 6361 | 0x00003bac,0x00003bab,0x000008e9,0x000500c4, |
| 5954 | 0x000036e2,0x000036e1,0x00050051,0x00000006, | 6362 | 0x00000006,0x00003baf,0x00003bac,0x0000032d, |
| 5955 | 0x000036e4,0x000036e2,0x00000000,0x000500c7, | 6363 | 0x000500c5,0x00000006,0x00003bb0,0x00003bac, |
| 5956 | 0x00000006,0x000038ab,0x000036e4,0x00000876, | 6364 | 0x00003baf,0x000500c7,0x00000006,0x00003bb1, |
| 5957 | 0x000500c4,0x00000006,0x000038ae,0x000038ab, | 6365 | 0x00003bb0,0x000008ef,0x000500c4,0x00000006, |
| 5958 | 0x0000035a,0x000500c5,0x00000006,0x000038af, | 6366 | 0x00003bb4,0x00003bb1,0x0000031d,0x000500c5, |
| 5959 | 0x000038ab,0x000038ae,0x000500c7,0x00000006, | 6367 | 0x00000006,0x00003bb5,0x00003bb1,0x00003bb4, |
| 5960 | 0x000038b0,0x000038af,0x0000087d,0x000500c4, | 6368 | 0x000500c7,0x00000006,0x00003bb6,0x00003bb5, |
| 5961 | 0x00000006,0x000038b3,0x000038b0,0x000004c1, | 6369 | 0x000008f5,0x000500c4,0x00000006,0x000039c8, |
| 5962 | 0x000500c5,0x00000006,0x000038b4,0x000038b0, | 6370 | 0x00003bb6,0x0000026c,0x000500c5,0x00000006, |
| 5963 | 0x000038b3,0x000500c7,0x00000006,0x000038b5, | 6371 | 0x000039c9,0x000039c4,0x000039c8,0x00050051, |
| 5964 | 0x000038b4,0x00000883,0x000500c4,0x00000006, | 6372 | 0x00000006,0x000039cb,0x000039c0,0x00000002, |
| 5965 | 0x000038b8,0x000038b5,0x00000325,0x000500c5, | 6373 | 0x000500c7,0x00000006,0x00003bbb,0x000039cb, |
| 5966 | 0x00000006,0x000038b9,0x000038b5,0x000038b8, | 6374 | 0x000008dc,0x000500c4,0x00000006,0x00003bbe, |
| 5967 | 0x000500c7,0x00000006,0x000038ba,0x000038b9, | 6375 | 0x00003bbb,0x00000362,0x000500c5,0x00000006, |
| 5968 | 0x00000889,0x000500c4,0x00000006,0x000038bd, | 6376 | 0x00003bbf,0x00003bbb,0x00003bbe,0x000500c7, |
| 5969 | 0x000038ba,0x00000315,0x000500c5,0x00000006, | 6377 | 0x00000006,0x00003bc0,0x00003bbf,0x000008e3, |
| 5970 | 0x000038be,0x000038ba,0x000038bd,0x000500c7, | 6378 | 0x000500c4,0x00000006,0x00003bc3,0x00003bc0, |
| 5971 | 0x00000006,0x000038bf,0x000038be,0x0000088f, | 6379 | 0x00000528,0x000500c5,0x00000006,0x00003bc4, |
| 5972 | 0x000500c4,0x00000006,0x000036e6,0x000038bf, | 6380 | 0x00003bc0,0x00003bc3,0x000500c7,0x00000006, |
| 5973 | 0x00000315,0x00050051,0x00000006,0x000036e8, | 6381 | 0x00003bc5,0x00003bc4,0x000008e9,0x000500c4, |
| 5974 | 0x000036e2,0x00000001,0x000500c7,0x00000006, | 6382 | 0x00000006,0x00003bc8,0x00003bc5,0x0000032d, |
| 5975 | 0x000038c4,0x000036e8,0x00000876,0x000500c4, | 6383 | 0x000500c5,0x00000006,0x00003bc9,0x00003bc5, |
| 5976 | 0x00000006,0x000038c7,0x000038c4,0x0000035a, | 6384 | 0x00003bc8,0x000500c7,0x00000006,0x00003bca, |
| 5977 | 0x000500c5,0x00000006,0x000038c8,0x000038c4, | 6385 | 0x00003bc9,0x000008ef,0x000500c4,0x00000006, |
| 5978 | 0x000038c7,0x000500c7,0x00000006,0x000038c9, | 6386 | 0x00003bcd,0x00003bca,0x0000031d,0x000500c5, |
| 5979 | 0x000038c8,0x0000087d,0x000500c4,0x00000006, | 6387 | 0x00000006,0x00003bce,0x00003bca,0x00003bcd, |
| 5980 | 0x000038cc,0x000038c9,0x000004c1,0x000500c5, | 6388 | 0x000500c7,0x00000006,0x00003bcf,0x00003bce, |
| 5981 | 0x00000006,0x000038cd,0x000038c9,0x000038cc, | 6389 | 0x000008f5,0x000500c5,0x00000006,0x000039cd, |
| 5982 | 0x000500c7,0x00000006,0x000038ce,0x000038cd, | 6390 | 0x000039c9,0x00003bcf,0x000200f9,0x000039ce, |
| 5983 | 0x00000883,0x000500c4,0x00000006,0x000038d1, | 6391 | 0x000200f8,0x000039ce,0x000700f5,0x00000006, |
| 5984 | 0x000038ce,0x00000325,0x000500c5,0x00000006, | 6392 | 0x00006291,0x0000080c,0x00003b11,0x000039cd, |
| 5985 | 0x000038d2,0x000038ce,0x000038d1,0x000500c7, | 6393 | 0x00003b83,0x00050084,0x00000006,0x000039d1, |
| 5986 | 0x00000006,0x000038d3,0x000038d2,0x00000889, | 6394 | 0x000000f3,0x000013a7,0x00050080,0x00000006, |
| 5987 | 0x000500c4,0x00000006,0x000038d6,0x000038d3, | 6395 | 0x000039d2,0x000001cc,0x000039d1,0x00050095, |
| 5988 | 0x00000315,0x000500c5,0x00000006,0x000038d7, | 6396 | 0x00000145,0x00003bea,0x00003a4c,0x000039d2, |
| 5989 | 0x000038d3,0x000038d6,0x000500c7,0x00000006, | 6397 | 0x00050051,0x00000006,0x00003beb,0x00003bea, |
| 5990 | 0x000038d8,0x000038d7,0x0000088f,0x000500c4, | 6398 | 0x00000001,0x00050051,0x00000006,0x00003bec, |
| 5991 | 0x00000006,0x000036ea,0x000038d8,0x00000264, | 6399 | 0x00003bea,0x00000000,0x00050080,0x00000006, |
| 5992 | 0x000500c5,0x00000006,0x000036eb,0x000036e6, | 6400 | 0x00003bf1,0x00003a53,0x00003beb,0x00050050, |
| 5993 | 0x000036ea,0x00050051,0x00000006,0x000036ed, | 6401 | 0x00000007,0x00003bf2,0x00003bec,0x00003bf1, |
| 5994 | 0x000036e2,0x00000002,0x000500c7,0x00000006, | 6402 | 0x0004007c,0x00000014,0x00003be2,0x00003bf2, |
| 5995 | 0x000038dd,0x000036ed,0x00000876,0x000500c4, | 6403 | 0x00060041,0x00000174,0x00003bda,0x00003be2, |
| 5996 | 0x00000006,0x000038e0,0x000038dd,0x0000035a, | 6404 | 0x00000173,0x00000173,0x0005003e,0x00003bda, |
| 5997 | 0x000500c5,0x00000006,0x000038e1,0x000038dd, | 6405 | 0x00006291,0x00000002,0x00000004,0x00050084, |
| 5998 | 0x000038e0,0x000500c7,0x00000006,0x000038e2, | 6406 | 0x00000006,0x00003bf7,0x000000f3,0x00003a25, |
| 5999 | 0x000038e1,0x0000087d,0x000500c4,0x00000006, | 6407 | 0x00050080,0x00000006,0x00003bf8,0x000001cc, |
| 6000 | 0x000038e5,0x000038e2,0x000004c1,0x000500c5, | 6408 | 0x00003bf7,0x00050080,0x00000006,0x000039da, |
| 6001 | 0x00000006,0x000038e6,0x000038e2,0x000038e5, | 6409 | 0x00003bf8,0x000039d1,0x00050095,0x00000145, |
| 6002 | 0x000500c7,0x00000006,0x000038e7,0x000038e6, | 6410 | 0x00003c10,0x00003a4c,0x000039da,0x00050051, |
| 6003 | 0x00000883,0x000500c4,0x00000006,0x000038ea, | 6411 | 0x00000006,0x00003c11,0x00003c10,0x00000001, |
| 6004 | 0x000038e7,0x00000325,0x000500c5,0x00000006, | 6412 | 0x00050051,0x00000006,0x00003c12,0x00003c10, |
| 6005 | 0x000038eb,0x000038e7,0x000038ea,0x000500c7, | 6413 | 0x00000000,0x00050080,0x00000006,0x00003c17, |
| 6006 | 0x00000006,0x000038ec,0x000038eb,0x00000889, | 6414 | 0x00003a53,0x00003c11,0x00050050,0x00000007, |
| 6007 | 0x000500c4,0x00000006,0x000038ef,0x000038ec, | 6415 | 0x00003c18,0x00003c12,0x00003c17,0x0004007c, |
| 6008 | 0x00000315,0x000500c5,0x00000006,0x000038f0, | 6416 | 0x00000014,0x00003c08,0x00003c18,0x00060041, |
| 6009 | 0x000038ec,0x000038ef,0x000500c7,0x00000006, | 6417 | 0x00000174,0x00003c00,0x00003c08,0x00000173, |
| 6010 | 0x000038f1,0x000038f0,0x0000088f,0x000500c5, | 6418 | 0x00000173,0x0005003e,0x00003c00,0x000013a7, |
| 6011 | 0x00000006,0x000036ef,0x000036eb,0x000038f1, | 6419 | 0x00000002,0x00000004,0x000200f9,0x000014c2, |
| 6012 | 0x000200f9,0x000036f0,0x000200f8,0x000036f0, | 6420 | 0x000200f8,0x000014c2,0x000200f9,0x000014b9, |
| 6013 | 0x000700f5,0x00000006,0x00005e6b,0x000007a6, | 6421 | 0x000200f8,0x000014b8,0x00050084,0x00000006, |
| 6014 | 0x00003833,0x000036ef,0x000038a5,0x00050084, | 6422 | 0x00002f77,0x000001cc,0x000013a7,0x000200f9, |
| 6015 | 0x00000006,0x000036f3,0x000000ec,0x000012dd, | 6423 | 0x00002f78,0x000200f8,0x00002f78,0x000700f5, |
| 6016 | 0x00050080,0x00000006,0x000036f4,0x000001c4, | 6424 | 0x00000006,0x00006294,0x00000140,0x000014b8, |
| 6017 | 0x000036f3,0x00050095,0x0000013d,0x0000390c, | 6425 | 0x00002f89,0x00002f7c,0x000500b0,0x0000002f, |
| 6018 | 0x0000376e,0x000036f4,0x00050051,0x00000006, | 6426 | 0x00002f7b,0x00006294,0x000001dc,0x000400f6, |
| 6019 | 0x0000390d,0x0000390c,0x00000001,0x00050051, | 6427 | 0x00002f8a,0x00002f7c,0x00000000,0x000400fa, |
| 6020 | 0x00000006,0x0000390e,0x0000390c,0x00000000, | 6428 | 0x00002f7b,0x00002f7c,0x00002f8a,0x000200f8, |
| 6021 | 0x00050080,0x00000006,0x00003913,0x00003775, | 6429 | 0x00002f7c,0x00050084,0x00000006,0x00002f80, |
| 6022 | 0x0000390d,0x00050050,0x00000007,0x00003914, | 6430 | 0x000000f3,0x00006294,0x00050080,0x00000006, |
| 6023 | 0x0000390e,0x00003913,0x0004007c,0x00000014, | 6431 | 0x00002f81,0x00002f77,0x00002f80,0x00050041, |
| 6024 | 0x00003904,0x00003914,0x00060041,0x0000016c, | 6432 | 0x0000026e,0x00002f82,0x000001c1,0x0000031d, |
| 6025 | 0x000038fc,0x00003904,0x0000016b,0x0000016b, | 6433 | 0x0004003d,0x00000007,0x00002f83,0x00002f82, |
| 6026 | 0x0005003e,0x000038fc,0x00005e6b,0x00000002, | 6434 | 0x00050051,0x00000006,0x0000314c,0x00002f83, |
| 6027 | 0x00000004,0x00050084,0x00000006,0x00003919, | 6435 | 0x00000000,0x00050095,0x00000145,0x0000314e, |
| 6028 | 0x000000ec,0x00003747,0x00050080,0x00000006, | 6436 | 0x0000314c,0x00002f81,0x00050051,0x00000006, |
| 6029 | 0x0000391a,0x000001c4,0x00003919,0x00050080, | 6437 | 0x0000314f,0x0000314e,0x00000001,0x00050051, |
| 6030 | 0x00000006,0x000036fc,0x0000391a,0x000036f3, | 6438 | 0x00000006,0x00003150,0x0000314e,0x00000000, |
| 6031 | 0x00050095,0x0000013d,0x00003932,0x0000376e, | 6439 | 0x00050051,0x00000006,0x00003153,0x00002f83, |
| 6032 | 0x000036fc,0x00050051,0x00000006,0x00003933, | 6440 | 0x00000001,0x00050080,0x00000006,0x00003155, |
| 6033 | 0x00003932,0x00000001,0x00050051,0x00000006, | 6441 | 0x00003153,0x0000314f,0x00050050,0x00000007, |
| 6034 | 0x00003934,0x00003932,0x00000000,0x00050080, | 6442 | 0x00003156,0x00003150,0x00003155,0x0004007c, |
| 6035 | 0x00000006,0x00003939,0x00003775,0x00003933, | 6443 | 0x00000014,0x00003146,0x00003156,0x00060041, |
| 6036 | 0x00050050,0x00000007,0x0000393a,0x00003934, | 6444 | 0x00000174,0x0000313d,0x00003146,0x00000173, |
| 6037 | 0x00003939,0x0004007c,0x00000014,0x0000392a, | 6445 | 0x00000173,0x0006003d,0x00000006,0x0000313e, |
| 6038 | 0x0000393a,0x00060041,0x0000016c,0x00003922, | 6446 | 0x0000313d,0x00000002,0x00000004,0x0004007c, |
| 6039 | 0x0000392a,0x0000016b,0x0000016b,0x0005003e, | 6447 | 0x00000027,0x00002f85,0x0000313e,0x00050041, |
| 6040 | 0x00003922,0x000012dd,0x00000002,0x00000004, | 6448 | 0x00000028,0x00002f86,0x00002f0e,0x00006294, |
| 6041 | 0x000200f9,0x000013d0,0x000200f8,0x000013d0, | 6449 | 0x0003003e,0x00002f86,0x00002f85,0x00050080, |
| 6042 | 0x000200f9,0x000013c7,0x000200f8,0x000013c6, | 6450 | 0x00000006,0x00002f89,0x00006294,0x0000026c, |
| 6043 | 0x00050084,0x00000006,0x00002c99,0x000001c4, | 6451 | 0x000200f9,0x00002f78,0x000200f8,0x00002f8a, |
| 6044 | 0x000012dd,0x000200f9,0x00002c9a,0x000200f8, | 6452 | 0x00050080,0x00000006,0x00002f8c,0x00002f77, |
| 6045 | 0x00002c9a,0x000700f5,0x00000006,0x00005e6e, | 6453 | 0x00000588,0x00050041,0x0000026e,0x00002f8d, |
| 6046 | 0x00000138,0x000013c6,0x00002cab,0x00002c9e, | 6454 | 0x000001c1,0x0000031d,0x0004003d,0x00000007, |
| 6047 | 0x000500b0,0x0000002f,0x00002c9d,0x00005e6e, | 6455 | 0x00002f8e,0x00002f8d,0x00050051,0x00000006, |
| 6048 | 0x000001d4,0x000400f6,0x00002cac,0x00002c9e, | 6456 | 0x0000316d,0x00002f8e,0x00000000,0x00050095, |
| 6049 | 0x00000000,0x000400fa,0x00002c9d,0x00002c9e, | 6457 | 0x00000145,0x0000316f,0x0000316d,0x00002f8c, |
| 6050 | 0x00002cac,0x000200f8,0x00002c9e,0x00050084, | 6458 | 0x00050051,0x00000006,0x00003170,0x0000316f, |
| 6051 | 0x00000006,0x00002ca2,0x000000ec,0x00005e6e, | 6459 | 0x00000001,0x00050051,0x00000006,0x00003171, |
| 6052 | 0x00050080,0x00000006,0x00002ca3,0x00002c99, | 6460 | 0x0000316f,0x00000000,0x00050051,0x00000006, |
| 6053 | 0x00002ca2,0x00050041,0x00000266,0x00002ca4, | 6461 | 0x00003174,0x00002f8e,0x00000001,0x00050080, |
| 6054 | 0x000001b9,0x00000315,0x0004003d,0x00000007, | 6462 | 0x00000006,0x00003176,0x00003174,0x00003170, |
| 6055 | 0x00002ca5,0x00002ca4,0x00050051,0x00000006, | 6463 | 0x00050050,0x00000007,0x00003177,0x00003171, |
| 6056 | 0x00002e6e,0x00002ca5,0x00000000,0x00050095, | 6464 | 0x00003176,0x0004007c,0x00000014,0x00003167, |
| 6057 | 0x0000013d,0x00002e70,0x00002e6e,0x00002ca3, | 6465 | 0x00003177,0x00060041,0x00000174,0x0000315e, |
| 6058 | 0x00050051,0x00000006,0x00002e71,0x00002e70, | 6466 | 0x00003167,0x00000173,0x00000173,0x0006003d, |
| 6059 | 0x00000001,0x00050051,0x00000006,0x00002e72, | 6467 | 0x00000006,0x0000315f,0x0000315e,0x00000002, |
| 6060 | 0x00002e70,0x00000000,0x00050051,0x00000006, | 6468 | 0x00000004,0x00050080,0x00000006,0x00002f91, |
| 6061 | 0x00002e75,0x00002ca5,0x00000001,0x00050080, | 6469 | 0x00002f77,0x00000594,0x00050095,0x00000145, |
| 6062 | 0x00000006,0x00002e77,0x00002e75,0x00002e71, | 6470 | 0x00003190,0x0000316d,0x00002f91,0x00050051, |
| 6063 | 0x00050050,0x00000007,0x00002e78,0x00002e72, | 6471 | 0x00000006,0x00003191,0x00003190,0x00000001, |
| 6064 | 0x00002e77,0x0004007c,0x00000014,0x00002e68, | 6472 | 0x00050051,0x00000006,0x00003192,0x00003190, |
| 6065 | 0x00002e78,0x00060041,0x0000016c,0x00002e5f, | 6473 | 0x00000000,0x00050080,0x00000006,0x00003197, |
| 6066 | 0x00002e68,0x0000016b,0x0000016b,0x0006003d, | 6474 | 0x00003174,0x00003191,0x00050050,0x00000007, |
| 6067 | 0x00000006,0x00002e60,0x00002e5f,0x00000002, | 6475 | 0x00003198,0x00003192,0x00003197,0x0004007c, |
| 6068 | 0x00000004,0x0004007c,0x00000027,0x00002ca7, | 6476 | 0x00000014,0x00003188,0x00003198,0x00060041, |
| 6069 | 0x00002e60,0x00050041,0x00000028,0x00002ca8, | 6477 | 0x00000174,0x0000317f,0x00003188,0x00000173, |
| 6070 | 0x00002c30,0x00005e6e,0x0003003e,0x00002ca8, | 6478 | 0x00000173,0x0006003d,0x00000006,0x00003180, |
| 6071 | 0x00002ca7,0x00050080,0x00000006,0x00002cab, | 6479 | 0x0000317f,0x00000002,0x00000004,0x00050080, |
| 6072 | 0x00005e6e,0x00000264,0x000200f9,0x00002c9a, | 6480 | 0x00000006,0x00002f96,0x00002f77,0x0000059e, |
| 6073 | 0x000200f8,0x00002cac,0x00050080,0x00000006, | 6481 | 0x00050095,0x00000145,0x000031b1,0x0000316d, |
| 6074 | 0x00002cae,0x00002c99,0x00000521,0x00050041, | 6482 | 0x00002f96,0x00050051,0x00000006,0x000031b2, |
| 6075 | 0x00000266,0x00002caf,0x000001b9,0x00000315, | 6483 | 0x000031b1,0x00000001,0x00050051,0x00000006, |
| 6076 | 0x0004003d,0x00000007,0x00002cb0,0x00002caf, | 6484 | 0x000031b3,0x000031b1,0x00000000,0x00050080, |
| 6077 | 0x00050051,0x00000006,0x00002e8f,0x00002cb0, | 6485 | 0x00000006,0x000031b8,0x00003174,0x000031b2, |
| 6078 | 0x00000000,0x00050095,0x0000013d,0x00002e91, | 6486 | 0x00050050,0x00000007,0x000031b9,0x000031b3, |
| 6079 | 0x00002e8f,0x00002cae,0x00050051,0x00000006, | 6487 | 0x000031b8,0x0004007c,0x00000014,0x000031a9, |
| 6080 | 0x00002e92,0x00002e91,0x00000001,0x00050051, | 6488 | 0x000031b9,0x00060041,0x00000174,0x000031a0, |
| 6081 | 0x00000006,0x00002e93,0x00002e91,0x00000000, | 6489 | 0x000031a9,0x00000173,0x00000173,0x0006003d, |
| 6082 | 0x00050051,0x00000006,0x00002e96,0x00002cb0, | 6490 | 0x00000006,0x000031a1,0x000031a0,0x00000002, |
| 6083 | 0x00000001,0x00050080,0x00000006,0x00002e98, | 6491 | 0x00000004,0x00050080,0x00000006,0x00002f9b, |
| 6084 | 0x00002e96,0x00002e92,0x00050050,0x00000007, | 6492 | 0x00002f77,0x000005a7,0x00050095,0x00000145, |
| 6085 | 0x00002e99,0x00002e93,0x00002e98,0x0004007c, | 6493 | 0x000031d2,0x0000316d,0x00002f9b,0x00050051, |
| 6086 | 0x00000014,0x00002e89,0x00002e99,0x00060041, | 6494 | 0x00000006,0x000031d3,0x000031d2,0x00000001, |
| 6087 | 0x0000016c,0x00002e80,0x00002e89,0x0000016b, | 6495 | 0x00050051,0x00000006,0x000031d4,0x000031d2, |
| 6088 | 0x0000016b,0x0006003d,0x00000006,0x00002e81, | 6496 | 0x00000000,0x00050080,0x00000006,0x000031d9, |
| 6089 | 0x00002e80,0x00000002,0x00000004,0x00050080, | 6497 | 0x00003174,0x000031d3,0x00050050,0x00000007, |
| 6090 | 0x00000006,0x00002cb3,0x00002c99,0x0000052d, | 6498 | 0x000031da,0x000031d4,0x000031d9,0x0004007c, |
| 6091 | 0x00050095,0x0000013d,0x00002eb2,0x00002e8f, | 6499 | 0x00000014,0x000031ca,0x000031da,0x00060041, |
| 6092 | 0x00002cb3,0x00050051,0x00000006,0x00002eb3, | 6500 | 0x00000174,0x000031c1,0x000031ca,0x00000173, |
| 6093 | 0x00002eb2,0x00000001,0x00050051,0x00000006, | 6501 | 0x00000173,0x0006003d,0x00000006,0x000031c2, |
| 6094 | 0x00002eb4,0x00002eb2,0x00000000,0x00050080, | 6502 | 0x000031c1,0x00000002,0x00000004,0x00050050, |
| 6095 | 0x00000006,0x00002eb9,0x00002e96,0x00002eb3, | 6503 | 0x00000007,0x00002f9f,0x000031a1,0x000031c2, |
| 6096 | 0x00050050,0x00000007,0x00002eba,0x00002eb4, | 6504 | 0x00050041,0x000001c3,0x00002fa0,0x000001c1, |
| 6097 | 0x00002eb9,0x0004007c,0x00000014,0x00002eaa, | 6505 | 0x00000352,0x0004003d,0x00000006,0x00002fa1, |
| 6098 | 0x00002eba,0x00060041,0x0000016c,0x00002ea1, | 6506 | 0x00002fa0,0x00050084,0x00000006,0x00002fa3, |
| 6099 | 0x00002eaa,0x0000016b,0x0000016b,0x0006003d, | 6507 | 0x0000034a,0x000013a7,0x00050080,0x00000006, |
| 6100 | 0x00000006,0x00002ea2,0x00002ea1,0x00000002, | 6508 | 0x00002fa4,0x00002fa1,0x00002fa3,0x000200f9, |
| 6101 | 0x00000004,0x00050080,0x00000006,0x00002cb8, | 6509 | 0x00002fa5,0x000200f8,0x00002fa5,0x000700f5, |
| 6102 | 0x00002c99,0x00000537,0x00050095,0x0000013d, | 6510 | 0x00000006,0x00006295,0x00000140,0x00002f8a, |
| 6103 | 0x00002ed3,0x00002e8f,0x00002cb8,0x00050051, | 6511 | 0x00002fb6,0x00002fa9,0x000500b0,0x0000002f, |
| 6104 | 0x00000006,0x00002ed4,0x00002ed3,0x00000001, | 6512 | 0x00002fa8,0x00006295,0x000001dc,0x000400f6, |
| 6105 | 0x00050051,0x00000006,0x00002ed5,0x00002ed3, | 6513 | 0x00002fb7,0x00002fa9,0x00000000,0x000400fa, |
| 6106 | 0x00000000,0x00050080,0x00000006,0x00002eda, | 6514 | 0x00002fa8,0x00002fa9,0x00002fb7,0x000200f8, |
| 6107 | 0x00002e96,0x00002ed4,0x00050050,0x00000007, | 6515 | 0x00002fa9,0x00050084,0x00000006,0x00002fac, |
| 6108 | 0x00002edb,0x00002ed5,0x00002eda,0x0004007c, | 6516 | 0x000000f3,0x00006295,0x00050080,0x00000006, |
| 6109 | 0x00000014,0x00002ecb,0x00002edb,0x00060041, | 6517 | 0x00002fad,0x00002fa4,0x00002fac,0x00050041, |
| 6110 | 0x0000016c,0x00002ec2,0x00002ecb,0x0000016b, | 6518 | 0x0000026e,0x00002faf,0x000001c1,0x00000173, |
| 6111 | 0x0000016b,0x0006003d,0x00000006,0x00002ec3, | 6519 | 0x0004003d,0x00000007,0x00002fb0,0x00002faf, |
| 6112 | 0x00002ec2,0x00000002,0x00000004,0x00050080, | 6520 | 0x00050041,0x00000028,0x00002fb1,0x00002f0e, |
| 6113 | 0x00000006,0x00002cbd,0x00002c99,0x00000541, | 6521 | 0x00006295,0x0004003d,0x00000027,0x00002fb2, |
| 6114 | 0x00050095,0x0000013d,0x00002ef4,0x00002e8f, | 6522 | 0x00002fb1,0x0004007c,0x00000006,0x000031e0, |
| 6115 | 0x00002cbd,0x00050051,0x00000006,0x00002ef5, | 6523 | 0x00002fb2,0x00050051,0x00000006,0x000031f9, |
| 6116 | 0x00002ef4,0x00000001,0x00050051,0x00000006, | 6524 | 0x00002fb0,0x00000000,0x00050095,0x00000145, |
| 6117 | 0x00002ef6,0x00002ef4,0x00000000,0x00050080, | 6525 | 0x000031fb,0x000031f9,0x00002fad,0x00050051, |
| 6118 | 0x00000006,0x00002efb,0x00002e96,0x00002ef5, | 6526 | 0x00000006,0x000031fc,0x000031fb,0x00000001, |
| 6119 | 0x00050050,0x00000007,0x00002efc,0x00002ef6, | 6527 | 0x00050051,0x00000006,0x000031fd,0x000031fb, |
| 6120 | 0x00002efb,0x0004007c,0x00000014,0x00002eec, | 6528 | 0x00000000,0x00050051,0x00000006,0x00003200, |
| 6121 | 0x00002efc,0x00060041,0x0000016c,0x00002ee3, | 6529 | 0x00002fb0,0x00000001,0x00050080,0x00000006, |
| 6122 | 0x00002eec,0x0000016b,0x0000016b,0x0006003d, | 6530 | 0x00003202,0x00003200,0x000031fc,0x00050050, |
| 6123 | 0x00000006,0x00002ee4,0x00002ee3,0x00000002, | 6531 | 0x00000007,0x00003203,0x000031fd,0x00003202, |
| 6124 | 0x00000004,0x00050050,0x00000007,0x00002cc1, | 6532 | 0x0004007c,0x00000014,0x000031f3,0x00003203, |
| 6125 | 0x00002ec3,0x00002ee4,0x00050041,0x000001bb, | 6533 | 0x00060041,0x00000174,0x000031eb,0x000031f3, |
| 6126 | 0x00002cc2,0x000001b9,0x0000034a,0x0004003d, | 6534 | 0x00000173,0x00000173,0x0005003e,0x000031eb, |
| 6127 | 0x00000006,0x00002cc3,0x00002cc2,0x00050084, | 6535 | 0x000031e0,0x00000002,0x00000004,0x00050080, |
| 6128 | 0x00000006,0x00002cc5,0x00000342,0x000012dd, | 6536 | 0x00000006,0x00002fb6,0x00006295,0x0000026c, |
| 6129 | 0x00050080,0x00000006,0x00002cc6,0x00002cc3, | 6537 | 0x000200f9,0x00002fa5,0x000200f8,0x00002fb7, |
| 6130 | 0x00002cc5,0x000200f9,0x00002cc7,0x000200f8, | 6538 | 0x00050080,0x00000006,0x00002fb9,0x00002fa4, |
| 6131 | 0x00002cc7,0x000700f5,0x00000006,0x00005e6f, | 6539 | 0x00000588,0x00050041,0x0000026e,0x00002fba, |
| 6132 | 0x00000138,0x00002cac,0x00002cd8,0x00002ccb, | 6540 | 0x000001c1,0x00000173,0x0004003d,0x00000007, |
| 6133 | 0x000500b0,0x0000002f,0x00002cca,0x00005e6f, | 6541 | 0x00002fbb,0x00002fba,0x00050051,0x00000006, |
| 6134 | 0x000001d4,0x000400f6,0x00002cd9,0x00002ccb, | 6542 | 0x00003219,0x00002fbb,0x00000000,0x00050095, |
| 6135 | 0x00000000,0x000400fa,0x00002cca,0x00002ccb, | 6543 | 0x00000145,0x0000321b,0x00003219,0x00002fb9, |
| 6136 | 0x00002cd9,0x000200f8,0x00002ccb,0x00050084, | 6544 | 0x00050051,0x00000006,0x0000321c,0x0000321b, |
| 6137 | 0x00000006,0x00002cce,0x000000ec,0x00005e6f, | 6545 | 0x00000001,0x00050051,0x00000006,0x0000321d, |
| 6138 | 0x00050080,0x00000006,0x00002ccf,0x00002cc6, | 6546 | 0x0000321b,0x00000000,0x00050051,0x00000006, |
| 6139 | 0x00002cce,0x00050041,0x00000266,0x00002cd1, | 6547 | 0x00003220,0x00002fbb,0x00000001,0x00050080, |
| 6140 | 0x000001b9,0x0000016b,0x0004003d,0x00000007, | 6548 | 0x00000006,0x00003222,0x00003220,0x0000321c, |
| 6141 | 0x00002cd2,0x00002cd1,0x00050041,0x00000028, | 6549 | 0x00050050,0x00000007,0x00003223,0x0000321d, |
| 6142 | 0x00002cd3,0x00002c30,0x00005e6f,0x0004003d, | 6550 | 0x00003222,0x0004007c,0x00000014,0x00003213, |
| 6143 | 0x00000027,0x00002cd4,0x00002cd3,0x0004007c, | 6551 | 0x00003223,0x00060041,0x00000174,0x0000320b, |
| 6144 | 0x00000006,0x00002f02,0x00002cd4,0x00050051, | 6552 | 0x00003213,0x00000173,0x00000173,0x0005003e, |
| 6145 | 0x00000006,0x00002f1b,0x00002cd2,0x00000000, | 6553 | 0x0000320b,0x0000315f,0x00000002,0x00000004, |
| 6146 | 0x00050095,0x0000013d,0x00002f1d,0x00002f1b, | 6554 | 0x00050080,0x00000006,0x00002fbf,0x00002fa4, |
| 6147 | 0x00002ccf,0x00050051,0x00000006,0x00002f1e, | 6555 | 0x00000594,0x00050095,0x00000145,0x0000323b, |
| 6148 | 0x00002f1d,0x00000001,0x00050051,0x00000006, | 6556 | 0x00003219,0x00002fbf,0x00050051,0x00000006, |
| 6149 | 0x00002f1f,0x00002f1d,0x00000000,0x00050051, | 6557 | 0x0000323c,0x0000323b,0x00000001,0x00050051, |
| 6150 | 0x00000006,0x00002f22,0x00002cd2,0x00000001, | 6558 | 0x00000006,0x0000323d,0x0000323b,0x00000000, |
| 6151 | 0x00050080,0x00000006,0x00002f24,0x00002f22, | 6559 | 0x00050080,0x00000006,0x00003242,0x00003220, |
| 6152 | 0x00002f1e,0x00050050,0x00000007,0x00002f25, | 6560 | 0x0000323c,0x00050050,0x00000007,0x00003243, |
| 6153 | 0x00002f1f,0x00002f24,0x0004007c,0x00000014, | 6561 | 0x0000323d,0x00003242,0x0004007c,0x00000014, |
| 6154 | 0x00002f15,0x00002f25,0x00060041,0x0000016c, | 6562 | 0x00003233,0x00003243,0x00060041,0x00000174, |
| 6155 | 0x00002f0d,0x00002f15,0x0000016b,0x0000016b, | 6563 | 0x0000322b,0x00003233,0x00000173,0x00000173, |
| 6156 | 0x0005003e,0x00002f0d,0x00002f02,0x00000002, | 6564 | 0x0005003e,0x0000322b,0x00003180,0x00000002, |
| 6157 | 0x00000004,0x00050080,0x00000006,0x00002cd8, | 6565 | 0x00000004,0x000500aa,0x0000002f,0x00003248, |
| 6158 | 0x00005e6f,0x00000264,0x000200f9,0x00002cc7, | 6566 | 0x000031a1,0x00000140,0x000300f7,0x0000324d, |
| 6159 | 0x000200f8,0x00002cd9,0x00050080,0x00000006, | 6567 | 0x00000000,0x000400fa,0x00003248,0x00003249, |
| 6160 | 0x00002cdb,0x00002cc6,0x00000521,0x00050041, | 6568 | 0x0000324d,0x000200f8,0x00003249,0x000500aa, |
| 6161 | 0x00000266,0x00002cdc,0x000001b9,0x0000016b, | 6569 | 0x0000002f,0x0000324c,0x000031c2,0x00000140, |
| 6162 | 0x0004003d,0x00000007,0x00002cdd,0x00002cdc, | 6570 | 0x000200f9,0x0000324d,0x000200f8,0x0000324d, |
| 6163 | 0x00050051,0x00000006,0x00002f3b,0x00002cdd, | 6571 | 0x000700f5,0x0000002f,0x0000324e,0x00003248, |
| 6164 | 0x00000000,0x00050095,0x0000013d,0x00002f3d, | 6572 | 0x00002fb7,0x0000324c,0x00003249,0x000400a8, |
| 6165 | 0x00002f3b,0x00002cdb,0x00050051,0x00000006, | 6573 | 0x0000002f,0x00002fc9,0x0000324e,0x000300f7, |
| 6166 | 0x00002f3e,0x00002f3d,0x00000001,0x00050051, | 6574 | 0x00002fce,0x00000000,0x000400fa,0x00002fc9, |
| 6167 | 0x00000006,0x00002f3f,0x00002f3d,0x00000000, | 6575 | 0x00002fca,0x00002fce,0x000200f8,0x00002fca, |
| 6168 | 0x00050051,0x00000006,0x00002f42,0x00002cdd, | 6576 | 0x000300f7,0x00003302,0x00000000,0x000300fb, |
| 6169 | 0x00000001,0x00050080,0x00000006,0x00002f44, | 6577 | 0x00000140,0x0000327e,0x000200f8,0x0000327e, |
| 6170 | 0x00002f42,0x00002f3e,0x00050050,0x00000007, | 6578 | 0x000500c7,0x00000006,0x00003282,0x000013a9, |
| 6171 | 0x00002f45,0x00002f3f,0x00002f44,0x0004007c, | 6579 | 0x000001d5,0x000500aa,0x0000002f,0x00003283, |
| 6172 | 0x00000014,0x00002f35,0x00002f45,0x00060041, | 6580 | 0x00003282,0x00000140,0x000300f7,0x00003285, |
| 6173 | 0x0000016c,0x00002f2d,0x00002f35,0x0000016b, | 6581 | 0x00000000,0x000400fa,0x00003283,0x00003284, |
| 6174 | 0x0000016b,0x0005003e,0x00002f2d,0x00002e81, | 6582 | 0x00003285,0x000200f8,0x00003284,0x000200f9, |
| 6175 | 0x00000002,0x00000004,0x00050080,0x00000006, | 6583 | 0x00003302,0x000200f8,0x00003285,0x00050041, |
| 6176 | 0x00002ce1,0x00002cc6,0x0000052d,0x00050095, | 6584 | 0x000001c3,0x00003286,0x000001c1,0x00000414, |
| 6177 | 0x0000013d,0x00002f5d,0x00002f3b,0x00002ce1, | 6585 | 0x0004003d,0x00000006,0x00003287,0x00003286, |
| 6178 | 0x00050051,0x00000006,0x00002f5e,0x00002f5d, | 6586 | 0x000200f9,0x00003288,0x000200f8,0x00003288, |
| 6179 | 0x00000001,0x00050051,0x00000006,0x00002f5f, | 6587 | 0x000700f5,0x00000006,0x00006297,0x00003287, |
| 6180 | 0x00002f5d,0x00000000,0x00050080,0x00000006, | 6588 | 0x00003285,0x0000654f,0x000032a7,0x000700f5, |
| 6181 | 0x00002f64,0x00002f42,0x00002f5e,0x00050050, | 6589 | 0x00000006,0x00006296,0x00000140,0x00003285, |
| 6182 | 0x00000007,0x00002f65,0x00002f5f,0x00002f64, | 6590 | 0x0000650d,0x000032a7,0x000500b0,0x0000002f, |
| 6183 | 0x0004007c,0x00000014,0x00002f55,0x00002f65, | 6591 | 0x0000328c,0x00006296,0x00006297,0x000400f6, |
| 6184 | 0x00060041,0x0000016c,0x00002f4d,0x00002f55, | 6592 | 0x000032a8,0x000032a7,0x00000000,0x000400fa, |
| 6185 | 0x0000016b,0x0000016b,0x0005003e,0x00002f4d, | 6593 | 0x0000328c,0x0000328d,0x000032a8,0x000200f8, |
| 6186 | 0x00002ea2,0x00000002,0x00000004,0x000500aa, | 6594 | 0x0000328d,0x00050080,0x00000006,0x00003290, |
| 6187 | 0x0000002f,0x00002f6a,0x00002ec3,0x00000138, | 6595 | 0x00006296,0x00006297,0x000500c2,0x00000006, |
| 6188 | 0x000300f7,0x00002f6f,0x00000000,0x000400fa, | 6596 | 0x00003291,0x00003290,0x0000014a,0x00050084, |
| 6189 | 0x00002f6a,0x00002f6b,0x00002f6f,0x000200f8, | 6597 | 0x00000006,0x00003293,0x000001f7,0x00003291, |
| 6190 | 0x00002f6b,0x000500aa,0x0000002f,0x00002f6e, | 6598 | 0x00050041,0x0000026e,0x00003294,0x000001c1, |
| 6191 | 0x00002ee4,0x00000138,0x000200f9,0x00002f6f, | 6599 | 0x00000325,0x0004003d,0x00000007,0x00003295, |
| 6192 | 0x000200f8,0x00002f6f,0x000700f5,0x0000002f, | 6600 | 0x00003294,0x00050051,0x00000006,0x0000331a, |
| 6193 | 0x00002f70,0x00002f6a,0x00002cd9,0x00002f6e, | 6601 | 0x00003295,0x00000000,0x00050095,0x00000145, |
| 6194 | 0x00002f6b,0x000400a8,0x0000002f,0x00002ceb, | 6602 | 0x0000331c,0x0000331a,0x00003293,0x00050051, |
| 6195 | 0x00002f70,0x000300f7,0x00002cf0,0x00000000, | 6603 | 0x00000006,0x0000331d,0x0000331c,0x00000001, |
| 6196 | 0x000400fa,0x00002ceb,0x00002cec,0x00002cf0, | 6604 | 0x00050051,0x00000006,0x0000331e,0x0000331c, |
| 6197 | 0x000200f8,0x00002cec,0x000300f7,0x00003024, | 6605 | 0x00000000,0x00050051,0x00000006,0x00003321, |
| 6198 | 0x00000000,0x000300fb,0x00000138,0x00002fa0, | 6606 | 0x00003295,0x00000001,0x00050080,0x00000006, |
| 6199 | 0x000200f8,0x00002fa0,0x00050041,0x000001bb, | 6607 | 0x00003323,0x00003321,0x0000331d,0x00050050, |
| 6200 | 0x00002fa2,0x000001b9,0x00000334,0x0004003d, | 6608 | 0x00000007,0x00003324,0x0000331e,0x00003323, |
| 6201 | 0x00000006,0x00002fa3,0x00002fa2,0x000500c7, | 6609 | 0x0004007c,0x00000014,0x00003314,0x00003324, |
| 6202 | 0x00000006,0x00002fa4,0x00002fa3,0x000001cd, | 6610 | 0x00060041,0x00000174,0x0000330b,0x00003314, |
| 6203 | 0x000500aa,0x0000002f,0x00002fa5,0x00002fa4, | 6611 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 6204 | 0x00000138,0x000300f7,0x00002fa7,0x00000000, | 6612 | 0x0000330c,0x0000330b,0x00000002,0x00000004, |
| 6205 | 0x000400fa,0x00002fa5,0x00002fa6,0x00002fa7, | 6613 | 0x00050080,0x00000006,0x00003299,0x00003293, |
| 6206 | 0x000200f8,0x00002fa6,0x000200f9,0x00003024, | 6614 | 0x000000f3,0x00050095,0x00000145,0x0000333d, |
| 6207 | 0x000200f8,0x00002fa7,0x00050041,0x000001bb, | 6615 | 0x0000331a,0x00003299,0x00050051,0x00000006, |
| 6208 | 0x00002fa8,0x000001b9,0x000003b6,0x0004003d, | 6616 | 0x0000333e,0x0000333d,0x00000001,0x00050051, |
| 6209 | 0x00000006,0x00002fa9,0x00002fa8,0x000200f9, | 6617 | 0x00000006,0x0000333f,0x0000333d,0x00000000, |
| 6210 | 0x00002faa,0x000200f8,0x00002faa,0x000700f5, | 6618 | 0x00050080,0x00000006,0x00003344,0x00003321, |
| 6211 | 0x00000006,0x00005e71,0x00002fa9,0x00002fa7, | 6619 | 0x0000333e,0x00050050,0x00000007,0x00003345, |
| 6212 | 0x00006119,0x00002fc9,0x000700f5,0x00000006, | 6620 | 0x0000333f,0x00003344,0x0004007c,0x00000014, |
| 6213 | 0x00005e70,0x00000138,0x00002fa7,0x000060d9, | 6621 | 0x00003335,0x00003345,0x00060041,0x00000174, |
| 6214 | 0x00002fc9,0x000500b0,0x0000002f,0x00002fae, | 6622 | 0x0000332c,0x00003335,0x00000173,0x00000173, |
| 6215 | 0x00005e70,0x00005e71,0x000400f6,0x00002fca, | 6623 | 0x0006003d,0x00000006,0x0000332d,0x0000332c, |
| 6216 | 0x00002fc9,0x00000000,0x000400fa,0x00002fae, | ||
| 6217 | 0x00002faf,0x00002fca,0x000200f8,0x00002faf, | ||
| 6218 | 0x00050080,0x00000006,0x00002fb2,0x00005e70, | ||
| 6219 | 0x00005e71,0x000500c2,0x00000006,0x00002fb3, | ||
| 6220 | 0x00002fb2,0x00000142,0x00050084,0x00000006, | ||
| 6221 | 0x00002fb5,0x000001ef,0x00002fb3,0x00050041, | ||
| 6222 | 0x00000266,0x00002fb6,0x000001b9,0x0000031d, | ||
| 6223 | 0x0004003d,0x00000007,0x00002fb7,0x00002fb6, | ||
| 6224 | 0x00050051,0x00000006,0x0000303c,0x00002fb7, | ||
| 6225 | 0x00000000,0x00050095,0x0000013d,0x0000303e, | ||
| 6226 | 0x0000303c,0x00002fb5,0x00050051,0x00000006, | ||
| 6227 | 0x0000303f,0x0000303e,0x00000001,0x00050051, | ||
| 6228 | 0x00000006,0x00003040,0x0000303e,0x00000000, | ||
| 6229 | 0x00050051,0x00000006,0x00003043,0x00002fb7, | ||
| 6230 | 0x00000001,0x00050080,0x00000006,0x00003045, | ||
| 6231 | 0x00003043,0x0000303f,0x00050050,0x00000007, | ||
| 6232 | 0x00003046,0x00003040,0x00003045,0x0004007c, | ||
| 6233 | 0x00000014,0x00003036,0x00003046,0x00060041, | ||
| 6234 | 0x0000016c,0x0000302d,0x00003036,0x0000016b, | ||
| 6235 | 0x0000016b,0x0006003d,0x00000006,0x0000302e, | ||
| 6236 | 0x0000302d,0x00000002,0x00000004,0x00050080, | ||
| 6237 | 0x00000006,0x00002fbb,0x00002fb5,0x000000ec, | ||
| 6238 | 0x00050095,0x0000013d,0x0000305f,0x0000303c, | ||
| 6239 | 0x00002fbb,0x00050051,0x00000006,0x00003060, | ||
| 6240 | 0x0000305f,0x00000001,0x00050051,0x00000006, | ||
| 6241 | 0x00003061,0x0000305f,0x00000000,0x00050080, | ||
| 6242 | 0x00000006,0x00003066,0x00003043,0x00003060, | ||
| 6243 | 0x00050050,0x00000007,0x00003067,0x00003061, | ||
| 6244 | 0x00003066,0x0004007c,0x00000014,0x00003057, | ||
| 6245 | 0x00003067,0x00060041,0x0000016c,0x0000304e, | ||
| 6246 | 0x00003057,0x0000016b,0x0000016b,0x0006003d, | ||
| 6247 | 0x00000006,0x0000304f,0x0000304e,0x00000002, | ||
| 6248 | 0x00000004,0x000500b0,0x0000002f,0x0000306e, | ||
| 6249 | 0x00002ee4,0x0000304f,0x000400a8,0x0000002f, | ||
| 6250 | 0x0000306f,0x0000306e,0x000300f7,0x0000307e, | ||
| 6251 | 0x00000000,0x000400fa,0x0000306f,0x00003070, | ||
| 6252 | 0x0000307e,0x000200f8,0x00003070,0x000500aa, | ||
| 6253 | 0x0000002f,0x00003075,0x00002ee4,0x0000304f, | ||
| 6254 | 0x000300f7,0x0000307c,0x00000000,0x000400fa, | ||
| 6255 | 0x00003075,0x00003076,0x0000307c,0x000200f8, | ||
| 6256 | 0x00003076,0x000500b0,0x0000002f,0x0000307b, | ||
| 6257 | 0x00002ec3,0x0000302e,0x000200f9,0x0000307c, | ||
| 6258 | 0x000200f8,0x0000307c,0x000700f5,0x0000002f, | ||
| 6259 | 0x0000307d,0x00003075,0x00003070,0x0000307b, | ||
| 6260 | 0x00003076,0x000200f9,0x0000307e,0x000200f8, | ||
| 6261 | 0x0000307e,0x000700f5,0x0000002f,0x0000307f, | ||
| 6262 | 0x0000306e,0x00002faf,0x0000307d,0x0000307c, | ||
| 6263 | 0x000300f7,0x00002fc8,0x00000000,0x000400fa, | ||
| 6264 | 0x0000307f,0x00002fc3,0x00002fc5,0x000200f8, | ||
| 6265 | 0x00002fc5,0x00050080,0x00000006,0x00002fc7, | ||
| 6266 | 0x00002fb3,0x00000142,0x000200f9,0x00002fc8, | ||
| 6267 | 0x000200f8,0x00002fc3,0x000200f9,0x00002fc8, | ||
| 6268 | 0x000200f8,0x00002fc8,0x000700f5,0x00000006, | ||
| 6269 | 0x000060d9,0x00005e70,0x00002fc3,0x00002fc7, | ||
| 6270 | 0x00002fc5,0x000600a9,0x00000006,0x00006119, | ||
| 6271 | 0x0000307f,0x00002fb3,0x00005e71,0x000200f9, | ||
| 6272 | 0x00002fc9,0x000200f8,0x00002fc9,0x000200f9, | ||
| 6273 | 0x00002faa,0x000200f8,0x00002fca,0x00050095, | ||
| 6274 | 0x0000013d,0x00003087,0x00002ec3,0x000001c4, | ||
| 6275 | 0x00050051,0x00000006,0x00003088,0x00003087, | ||
| 6276 | 0x00000001,0x00050051,0x00000006,0x00003089, | ||
| 6277 | 0x00003087,0x00000000,0x00050080,0x00000006, | ||
| 6278 | 0x0000308e,0x00002ee4,0x00003088,0x000500b0, | ||
| 6279 | 0x0000002f,0x00003096,0x0000308e,0x00002ee4, | ||
| 6280 | 0x000400a8,0x0000002f,0x00003097,0x00003096, | ||
| 6281 | 0x000300f7,0x000030a6,0x00000000,0x000400fa, | ||
| 6282 | 0x00003097,0x00003098,0x000030a6,0x000200f8, | ||
| 6283 | 0x00003098,0x000500aa,0x0000002f,0x0000309d, | ||
| 6284 | 0x0000308e,0x00002ee4,0x000300f7,0x000030a4, | ||
| 6285 | 0x00000000,0x000400fa,0x0000309d,0x0000309e, | ||
| 6286 | 0x000030a4,0x000200f8,0x0000309e,0x000500b0, | ||
| 6287 | 0x0000002f,0x000030a3,0x00003089,0x00002ec3, | ||
| 6288 | 0x000200f9,0x000030a4,0x000200f8,0x000030a4, | ||
| 6289 | 0x000700f5,0x0000002f,0x000030a5,0x0000309d, | ||
| 6290 | 0x00003098,0x000030a3,0x0000309e,0x000200f9, | ||
| 6291 | 0x000030a6,0x000200f8,0x000030a6,0x000700f5, | ||
| 6292 | 0x0000002f,0x000030a7,0x00003096,0x00002fca, | ||
| 6293 | 0x000030a5,0x000030a4,0x000300f7,0x00002fd1, | ||
| 6294 | 0x00000000,0x000400fa,0x000030a7,0x00002fd0, | ||
| 6295 | 0x00002fd1,0x000200f8,0x00002fd0,0x000200f9, | ||
| 6296 | 0x00003024,0x000200f8,0x00002fd1,0x000500ac, | ||
| 6297 | 0x0000002f,0x00002fd3,0x00005e70,0x00000138, | ||
| 6298 | 0x000300f7,0x00003007,0x00000000,0x000400fa, | ||
| 6299 | 0x00002fd3,0x00002fd4,0x00003007,0x000200f8, | ||
| 6300 | 0x00002fd4,0x00050082,0x00000006,0x00002fd6, | ||
| 6301 | 0x00005e70,0x00000142,0x00050084,0x00000006, | ||
| 6302 | 0x00002fd7,0x000001ef,0x00002fd6,0x00050080, | ||
| 6303 | 0x00000006,0x00002fd9,0x00002fd7,0x000001cd, | ||
| 6304 | 0x00050041,0x00000266,0x00002fda,0x000001b9, | ||
| 6305 | 0x0000031d,0x0004003d,0x00000007,0x00002fdb, | ||
| 6306 | 0x00002fda,0x00050051,0x00000006,0x000030be, | ||
| 6307 | 0x00002fdb,0x00000000,0x00050095,0x0000013d, | ||
| 6308 | 0x000030c0,0x000030be,0x00002fd9,0x00050051, | ||
| 6309 | 0x00000006,0x000030c1,0x000030c0,0x00000001, | ||
| 6310 | 0x00050051,0x00000006,0x000030c2,0x000030c0, | ||
| 6311 | 0x00000000,0x00050051,0x00000006,0x000030c5, | ||
| 6312 | 0x00002fdb,0x00000001,0x00050080,0x00000006, | ||
| 6313 | 0x000030c7,0x000030c5,0x000030c1,0x00050050, | ||
| 6314 | 0x00000007,0x000030c8,0x000030c2,0x000030c7, | ||
| 6315 | 0x0004007c,0x00000014,0x000030b8,0x000030c8, | ||
| 6316 | 0x00060041,0x0000016c,0x000030af,0x000030b8, | ||
| 6317 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | ||
| 6318 | 0x000030b0,0x000030af,0x00000002,0x00000004, | ||
| 6319 | 0x00050080,0x00000006,0x00002fde,0x00002fd7, | ||
| 6320 | 0x000001d4,0x00050095,0x0000013d,0x000030e1, | ||
| 6321 | 0x000030be,0x00002fde,0x00050051,0x00000006, | ||
| 6322 | 0x000030e2,0x000030e1,0x00000001,0x00050051, | ||
| 6323 | 0x00000006,0x000030e3,0x000030e1,0x00000000, | ||
| 6324 | 0x00050080,0x00000006,0x000030e8,0x000030c5, | ||
| 6325 | 0x000030e2,0x00050050,0x00000007,0x000030e9, | ||
| 6326 | 0x000030e3,0x000030e8,0x0004007c,0x00000014, | ||
| 6327 | 0x000030d9,0x000030e9,0x00060041,0x0000016c, | ||
| 6328 | 0x000030d0,0x000030d9,0x0000016b,0x0000016b, | ||
| 6329 | 0x0006003d,0x00000006,0x000030d1,0x000030d0, | ||
| 6330 | 0x00000002,0x00000004,0x000500b0,0x0000002f, | 6624 | 0x00000002,0x00000004,0x000500b0,0x0000002f, |
| 6331 | 0x000030f0,0x00002ee4,0x000030d1,0x000400a8, | 6625 | 0x0000334c,0x000031c2,0x0000332d,0x000400a8, |
| 6332 | 0x0000002f,0x000030f1,0x000030f0,0x000300f7, | 6626 | 0x0000002f,0x0000334d,0x0000334c,0x000300f7, |
| 6333 | 0x00003100,0x00000000,0x000400fa,0x000030f1, | 6627 | 0x0000335c,0x00000000,0x000400fa,0x0000334d, |
| 6334 | 0x000030f2,0x00003100,0x000200f8,0x000030f2, | 6628 | 0x0000334e,0x0000335c,0x000200f8,0x0000334e, |
| 6335 | 0x000500aa,0x0000002f,0x000030f7,0x00002ee4, | 6629 | 0x000500aa,0x0000002f,0x00003353,0x000031c2, |
| 6336 | 0x000030d1,0x000300f7,0x000030fe,0x00000000, | 6630 | 0x0000332d,0x000300f7,0x0000335a,0x00000000, |
| 6337 | 0x000400fa,0x000030f7,0x000030f8,0x000030fe, | 6631 | 0x000400fa,0x00003353,0x00003354,0x0000335a, |
| 6338 | 0x000200f8,0x000030f8,0x000500b0,0x0000002f, | 6632 | 0x000200f8,0x00003354,0x000500b0,0x0000002f, |
| 6339 | 0x000030fd,0x00002ec3,0x000030b0,0x000200f9, | 6633 | 0x00003359,0x000031a1,0x0000330c,0x000200f9, |
| 6340 | 0x000030fe,0x000200f8,0x000030fe,0x000700f5, | 6634 | 0x0000335a,0x000200f8,0x0000335a,0x000700f5, |
| 6341 | 0x0000002f,0x000030ff,0x000030f7,0x000030f2, | 6635 | 0x0000002f,0x0000335b,0x00003353,0x0000334e, |
| 6342 | 0x000030fd,0x000030f8,0x000200f9,0x00003100, | 6636 | 0x00003359,0x00003354,0x000200f9,0x0000335c, |
| 6343 | 0x000200f8,0x00003100,0x000700f5,0x0000002f, | 6637 | 0x000200f8,0x0000335c,0x000700f5,0x0000002f, |
| 6344 | 0x00003101,0x000030f0,0x00002fd4,0x000030ff, | 6638 | 0x0000335d,0x0000334c,0x0000328d,0x0000335b, |
| 6345 | 0x000030fe,0x000300f7,0x00003006,0x00000000, | 6639 | 0x0000335a,0x000300f7,0x000032a6,0x00000000, |
| 6346 | 0x000400fa,0x00003101,0x00002fe6,0x00003006, | 6640 | 0x000400fa,0x0000335d,0x000032a1,0x000032a3, |
| 6347 | 0x000200f8,0x00002fe6,0x000500b0,0x0000002f, | 6641 | 0x000200f8,0x000032a3,0x00050080,0x00000006, |
| 6348 | 0x00003108,0x000030d1,0x0000308e,0x000400a8, | 6642 | 0x000032a5,0x00003291,0x0000014a,0x000200f9, |
| 6349 | 0x0000002f,0x00003109,0x00003108,0x000300f7, | 6643 | 0x000032a6,0x000200f8,0x000032a1,0x000200f9, |
| 6350 | 0x00003118,0x00000000,0x000400fa,0x00003109, | 6644 | 0x000032a6,0x000200f8,0x000032a6,0x000700f5, |
| 6351 | 0x0000310a,0x00003118,0x000200f8,0x0000310a, | 6645 | 0x00000006,0x0000650d,0x00006296,0x000032a1, |
| 6352 | 0x000500aa,0x0000002f,0x0000310f,0x000030d1, | 6646 | 0x000032a5,0x000032a3,0x000600a9,0x00000006, |
| 6353 | 0x0000308e,0x000300f7,0x00003116,0x00000000, | 6647 | 0x0000654f,0x0000335d,0x00003291,0x00006297, |
| 6354 | 0x000400fa,0x0000310f,0x00003110,0x00003116, | 6648 | 0x000200f9,0x000032a7,0x000200f8,0x000032a7, |
| 6355 | 0x000200f8,0x00003110,0x000500b0,0x0000002f, | 6649 | 0x000200f9,0x00003288,0x000200f8,0x000032a8, |
| 6356 | 0x00003115,0x000030b0,0x00003089,0x000200f9, | 6650 | 0x00050095,0x00000145,0x00003365,0x000031a1, |
| 6357 | 0x00003116,0x000200f8,0x00003116,0x000700f5, | 6651 | 0x000001cc,0x00050051,0x00000006,0x00003366, |
| 6358 | 0x0000002f,0x00003117,0x0000310f,0x0000310a, | 6652 | 0x00003365,0x00000001,0x00050051,0x00000006, |
| 6359 | 0x00003115,0x00003110,0x000200f9,0x00003118, | 6653 | 0x00003367,0x00003365,0x00000000,0x00050080, |
| 6360 | 0x000200f8,0x00003118,0x000700f5,0x0000002f, | 6654 | 0x00000006,0x0000336c,0x000031c2,0x00003366, |
| 6361 | 0x00003119,0x00003108,0x00002fe6,0x00003117, | 6655 | 0x000500b0,0x0000002f,0x00003374,0x0000336c, |
| 6362 | 0x00003116,0x000300f7,0x00002feb,0x00000000, | 6656 | 0x000031c2,0x000400a8,0x0000002f,0x00003375, |
| 6363 | 0x000400fa,0x00003119,0x00002fea,0x00002feb, | 6657 | 0x00003374,0x000300f7,0x00003384,0x00000000, |
| 6364 | 0x000200f8,0x00002fea,0x000200f9,0x00003024, | 6658 | 0x000400fa,0x00003375,0x00003376,0x00003384, |
| 6365 | 0x000200f8,0x00002feb,0x00050095,0x0000013d, | 6659 | 0x000200f8,0x00003376,0x000500aa,0x0000002f, |
| 6366 | 0x00003132,0x000030be,0x00002fd7,0x00050051, | 6660 | 0x0000337b,0x0000336c,0x000031c2,0x000300f7, |
| 6367 | 0x00000006,0x00003133,0x00003132,0x00000001, | 6661 | 0x00003382,0x00000000,0x000400fa,0x0000337b, |
| 6368 | 0x00050051,0x00000006,0x00003134,0x00003132, | 6662 | 0x0000337c,0x00003382,0x000200f8,0x0000337c, |
| 6369 | 0x00000000,0x00050080,0x00000006,0x00003139, | 6663 | 0x000500b0,0x0000002f,0x00003381,0x00003367, |
| 6370 | 0x000030c5,0x00003133,0x00050050,0x00000007, | 6664 | 0x000031a1,0x000200f9,0x00003382,0x000200f8, |
| 6371 | 0x0000313a,0x00003134,0x00003139,0x0004007c, | 6665 | 0x00003382,0x000700f5,0x0000002f,0x00003383, |
| 6372 | 0x00000014,0x0000312a,0x0000313a,0x00060041, | 6666 | 0x0000337b,0x00003376,0x00003381,0x0000337c, |
| 6373 | 0x0000016c,0x00003121,0x0000312a,0x0000016b, | 6667 | 0x000200f9,0x00003384,0x000200f8,0x00003384, |
| 6374 | 0x0000016b,0x0006003d,0x00000006,0x00003122, | 6668 | 0x000700f5,0x0000002f,0x00003385,0x00003374, |
| 6375 | 0x00003121,0x00000002,0x00000004,0x00050080, | 6669 | 0x000032a8,0x00003383,0x00003382,0x000300f7, |
| 6376 | 0x00000006,0x00002ff1,0x00002fd7,0x000000ec, | 6670 | 0x000032af,0x00000000,0x000400fa,0x00003385, |
| 6377 | 0x00050095,0x0000013d,0x00003153,0x000030be, | 6671 | 0x000032ae,0x000032af,0x000200f8,0x000032ae, |
| 6378 | 0x00002ff1,0x00050051,0x00000006,0x00003154, | 6672 | 0x000200f9,0x00003302,0x000200f8,0x000032af, |
| 6379 | 0x00003153,0x00000001,0x00050051,0x00000006, | 6673 | 0x000500ac,0x0000002f,0x000032b1,0x00006296, |
| 6380 | 0x00003155,0x00003153,0x00000000,0x00050080, | 6674 | 0x00000140,0x000300f7,0x000032e5,0x00000000, |
| 6381 | 0x00000006,0x0000315a,0x000030c5,0x00003154, | 6675 | 0x000400fa,0x000032b1,0x000032b2,0x000032e5, |
| 6382 | 0x00050050,0x00000007,0x0000315b,0x00003155, | 6676 | 0x000200f8,0x000032b2,0x00050082,0x00000006, |
| 6383 | 0x0000315a,0x0004007c,0x00000014,0x0000314b, | 6677 | 0x000032b4,0x00006296,0x0000014a,0x00050084, |
| 6384 | 0x0000315b,0x00060041,0x0000016c,0x00003142, | 6678 | 0x00000006,0x000032b5,0x000001f7,0x000032b4, |
| 6385 | 0x0000314b,0x0000016b,0x0000016b,0x0006003d, | 6679 | 0x00050080,0x00000006,0x000032b7,0x000032b5, |
| 6386 | 0x00000006,0x00003143,0x00003142,0x00000002, | 6680 | 0x000001d5,0x00050041,0x0000026e,0x000032b8, |
| 6387 | 0x00000004,0x00050080,0x00000006,0x00002ff7, | 6681 | 0x000001c1,0x00000325,0x0004003d,0x00000007, |
| 6388 | 0x00002fd7,0x000001db,0x00050095,0x0000013d, | 6682 | 0x000032b9,0x000032b8,0x00050051,0x00000006, |
| 6389 | 0x00003174,0x000030be,0x00002ff7,0x00050051, | 6683 | 0x0000339c,0x000032b9,0x00000000,0x00050095, |
| 6390 | 0x00000006,0x00003175,0x00003174,0x00000001, | 6684 | 0x00000145,0x0000339e,0x0000339c,0x000032b7, |
| 6391 | 0x00050051,0x00000006,0x00003176,0x00003174, | 6685 | 0x00050051,0x00000006,0x0000339f,0x0000339e, |
| 6392 | 0x00000000,0x00050080,0x00000006,0x0000317b, | 6686 | 0x00000001,0x00050051,0x00000006,0x000033a0, |
| 6393 | 0x000030c5,0x00003175,0x00050050,0x00000007, | 6687 | 0x0000339e,0x00000000,0x00050051,0x00000006, |
| 6394 | 0x0000317c,0x00003176,0x0000317b,0x0004007c, | 6688 | 0x000033a3,0x000032b9,0x00000001,0x00050080, |
| 6395 | 0x00000014,0x0000316c,0x0000317c,0x00060041, | 6689 | 0x00000006,0x000033a5,0x000033a3,0x0000339f, |
| 6396 | 0x0000016c,0x00003163,0x0000316c,0x0000016b, | 6690 | 0x00050050,0x00000007,0x000033a6,0x000033a0, |
| 6397 | 0x0000016b,0x0006003d,0x00000006,0x00003164, | 6691 | 0x000033a5,0x0004007c,0x00000014,0x00003396, |
| 6398 | 0x00003163,0x00000002,0x00000004,0x00050080, | 6692 | 0x000033a6,0x00060041,0x00000174,0x0000338d, |
| 6399 | 0x00000006,0x00002ffc,0x00002fd7,0x00000299, | 6693 | 0x00003396,0x00000173,0x00000173,0x0006003d, |
| 6400 | 0x00050095,0x0000013d,0x00003195,0x000030be, | 6694 | 0x00000006,0x0000338e,0x0000338d,0x00000002, |
| 6401 | 0x00002ffc,0x00050051,0x00000006,0x00003196, | 6695 | 0x00000004,0x00050080,0x00000006,0x000032bc, |
| 6402 | 0x00003195,0x00000001,0x00050051,0x00000006, | 6696 | 0x000032b5,0x000001dc,0x00050095,0x00000145, |
| 6403 | 0x00003197,0x00003195,0x00000000,0x00050080, | 6697 | 0x000033bf,0x0000339c,0x000032bc,0x00050051, |
| 6404 | 0x00000006,0x0000319c,0x000030c5,0x00003196, | 6698 | 0x00000006,0x000033c0,0x000033bf,0x00000001, |
| 6405 | 0x00050050,0x00000007,0x0000319d,0x00003197, | 6699 | 0x00050051,0x00000006,0x000033c1,0x000033bf, |
| 6406 | 0x0000319c,0x0004007c,0x00000014,0x0000318d, | 6700 | 0x00000000,0x00050080,0x00000006,0x000033c6, |
| 6407 | 0x0000319d,0x00060041,0x0000016c,0x00003184, | 6701 | 0x000033a3,0x000033c0,0x00050050,0x00000007, |
| 6408 | 0x0000318d,0x0000016b,0x0000016b,0x0006003d, | 6702 | 0x000033c7,0x000033c1,0x000033c6,0x0004007c, |
| 6409 | 0x00000006,0x00003185,0x00003184,0x00000002, | 6703 | 0x00000014,0x000033b7,0x000033c7,0x00060041, |
| 6410 | 0x00000004,0x00050096,0x0000013d,0x000031a6, | 6704 | 0x00000174,0x000033ae,0x000033b7,0x00000173, |
| 6411 | 0x00002ec3,0x00003122,0x00050051,0x00000006, | 6705 | 0x00000173,0x0006003d,0x00000006,0x000033af, |
| 6412 | 0x000031a7,0x000031a6,0x00000001,0x00050051, | 6706 | 0x000033ae,0x00000002,0x00000004,0x000500b0, |
| 6413 | 0x00000006,0x000031a8,0x000031a6,0x00000000, | 6707 | 0x0000002f,0x000033ce,0x000031c2,0x000033af, |
| 6414 | 0x00050082,0x00000006,0x000031ae,0x00002ee4, | 6708 | 0x000400a8,0x0000002f,0x000033cf,0x000033ce, |
| 6415 | 0x00003143,0x00050082,0x00000006,0x000031b0, | 6709 | 0x000300f7,0x000033de,0x00000000,0x000400fa, |
| 6416 | 0x000031ae,0x000031a7,0x00050095,0x0000013d, | 6710 | 0x000033cf,0x000033d0,0x000033de,0x000200f8, |
| 6417 | 0x000031ba,0x00003164,0x000031a8,0x00050051, | 6711 | 0x000033d0,0x000500aa,0x0000002f,0x000033d5, |
| 6418 | 0x00000006,0x000031bb,0x000031ba,0x00000001, | 6712 | 0x000031c2,0x000033af,0x000300f7,0x000033dc, |
| 6419 | 0x00050051,0x00000006,0x000031bc,0x000031ba, | 6713 | 0x00000000,0x000400fa,0x000033d5,0x000033d6, |
| 6420 | 0x00000000,0x00050080,0x00000006,0x000031c2, | 6714 | 0x000033dc,0x000200f8,0x000033d6,0x000500b0, |
| 6421 | 0x00003185,0x000031b0,0x00050080,0x00000006, | 6715 | 0x0000002f,0x000033db,0x000031a1,0x0000338e, |
| 6422 | 0x000031c4,0x000031c2,0x000031bb,0x00050050, | 6716 | 0x000200f9,0x000033dc,0x000200f8,0x000033dc, |
| 6423 | 0x00000007,0x000031c5,0x000031bc,0x000031c4, | 6717 | 0x000700f5,0x0000002f,0x000033dd,0x000033d5, |
| 6424 | 0x000200f9,0x00003006,0x000200f8,0x00003006, | 6718 | 0x000033d0,0x000033db,0x000033d6,0x000200f9, |
| 6425 | 0x000700f5,0x00000007,0x00005e7e,0x00002cc1, | 6719 | 0x000033de,0x000200f8,0x000033de,0x000700f5, |
| 6426 | 0x00003100,0x000031c5,0x00002feb,0x000200f9, | 6720 | 0x0000002f,0x000033df,0x000033ce,0x000032b2, |
| 6427 | 0x00003007,0x000200f8,0x00003007,0x000700f5, | 6721 | 0x000033dd,0x000033dc,0x000300f7,0x000032e4, |
| 6428 | 0x00000007,0x00005e7a,0x00002cc1,0x00002fd1, | 6722 | 0x00000000,0x000400fa,0x000033df,0x000032c4, |
| 6429 | 0x00005e7e,0x00003006,0x000700f5,0x0000002f, | 6723 | 0x000032e4,0x000200f8,0x000032c4,0x000500b0, |
| 6430 | 0x00005e74,0x000003cc,0x00002fd1,0x00003101, | 6724 | 0x0000002f,0x000033e6,0x000033af,0x0000336c, |
| 6431 | 0x00003006,0x000400a8,0x0000002f,0x00003009, | 6725 | 0x000400a8,0x0000002f,0x000033e7,0x000033e6, |
| 6432 | 0x00005e74,0x000300f7,0x0000300f,0x00000000, | 6726 | 0x000300f7,0x000033f6,0x00000000,0x000400fa, |
| 6433 | 0x000400fa,0x00003009,0x0000300a,0x0000300f, | 6727 | 0x000033e7,0x000033e8,0x000033f6,0x000200f8, |
| 6434 | 0x000200f8,0x0000300a,0x00050041,0x00000266, | 6728 | 0x000033e8,0x000500aa,0x0000002f,0x000033ed, |
| 6435 | 0x0000300b,0x000001b9,0x00000325,0x0004003d, | 6729 | 0x000033af,0x0000336c,0x000300f7,0x000033f4, |
| 6436 | 0x00000007,0x0000300c,0x0000300b,0x00050051, | 6730 | 0x00000000,0x000400fa,0x000033ed,0x000033ee, |
| 6437 | 0x00000006,0x000031c9,0x0000300c,0x00000000, | 6731 | 0x000033f4,0x000200f8,0x000033ee,0x000500b0, |
| 6438 | 0x000500aa,0x0000002f,0x000031ca,0x000031c9, | 6732 | 0x0000002f,0x000033f3,0x0000338e,0x00003367, |
| 6439 | 0x00000138,0x000300f7,0x000031cf,0x00000000, | 6733 | 0x000200f9,0x000033f4,0x000200f8,0x000033f4, |
| 6440 | 0x000400fa,0x000031ca,0x000031cb,0x000031cf, | 6734 | 0x000700f5,0x0000002f,0x000033f5,0x000033ed, |
| 6441 | 0x000200f8,0x000031cb,0x00050051,0x00000006, | 6735 | 0x000033e8,0x000033f3,0x000033ee,0x000200f9, |
| 6442 | 0x000031cd,0x0000300c,0x00000001,0x000500aa, | 6736 | 0x000033f6,0x000200f8,0x000033f6,0x000700f5, |
| 6443 | 0x0000002f,0x000031ce,0x000031cd,0x00000138, | 6737 | 0x0000002f,0x000033f7,0x000033e6,0x000032c4, |
| 6444 | 0x000200f9,0x000031cf,0x000200f8,0x000031cf, | 6738 | 0x000033f5,0x000033f4,0x000300f7,0x000032c9, |
| 6445 | 0x000700f5,0x0000002f,0x000031d0,0x000031ca, | 6739 | 0x00000000,0x000400fa,0x000033f7,0x000032c8, |
| 6446 | 0x0000300a,0x000031ce,0x000031cb,0x000400a8, | 6740 | 0x000032c9,0x000200f8,0x000032c8,0x000200f9, |
| 6447 | 0x0000002f,0x0000300e,0x000031d0,0x000200f9, | 6741 | 0x00003302,0x000200f8,0x000032c9,0x00050095, |
| 6448 | 0x0000300f,0x000200f8,0x0000300f,0x000700f5, | 6742 | 0x00000145,0x00003410,0x0000339c,0x000032b5, |
| 6449 | 0x0000002f,0x00003010,0x00003009,0x00003007, | 6743 | 0x00050051,0x00000006,0x00003411,0x00003410, |
| 6450 | 0x0000300e,0x000031cf,0x000300f7,0x00003016, | 6744 | 0x00000001,0x00050051,0x00000006,0x00003412, |
| 6451 | 0x00000000,0x000400fa,0x00003010,0x00003011, | 6745 | 0x00003410,0x00000000,0x00050080,0x00000006, |
| 6452 | 0x00003016,0x000200f8,0x00003011,0x00050041, | 6746 | 0x00003417,0x000033a3,0x00003411,0x00050050, |
| 6453 | 0x00000266,0x00003012,0x000001b9,0x00000325, | 6747 | 0x00000007,0x00003418,0x00003412,0x00003417, |
| 6454 | 0x0004003d,0x00000007,0x00003013,0x00003012, | 6748 | 0x0004007c,0x00000014,0x00003408,0x00003418, |
| 6455 | 0x00050051,0x00000006,0x000031d4,0x00003013, | 6749 | 0x00060041,0x00000174,0x000033ff,0x00003408, |
| 6456 | 0x00000001,0x000500b0,0x0000002f,0x000031d7, | 6750 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 6457 | 0x000031d4,0x0000308e,0x000400a8,0x0000002f, | 6751 | 0x00003400,0x000033ff,0x00000002,0x00000004, |
| 6458 | 0x000031d8,0x000031d7,0x000300f7,0x000031e7, | 6752 | 0x00050080,0x00000006,0x000032cf,0x000032b5, |
| 6459 | 0x00000000,0x000400fa,0x000031d8,0x000031d9, | 6753 | 0x000000f3,0x00050095,0x00000145,0x00003431, |
| 6460 | 0x000031e7,0x000200f8,0x000031d9,0x000500aa, | 6754 | 0x0000339c,0x000032cf,0x00050051,0x00000006, |
| 6461 | 0x0000002f,0x000031de,0x000031d4,0x0000308e, | 6755 | 0x00003432,0x00003431,0x00000001,0x00050051, |
| 6462 | 0x000300f7,0x000031e5,0x00000000,0x000400fa, | 6756 | 0x00000006,0x00003433,0x00003431,0x00000000, |
| 6463 | 0x000031de,0x000031df,0x000031e5,0x000200f8, | 6757 | 0x00050080,0x00000006,0x00003438,0x000033a3, |
| 6464 | 0x000031df,0x00050051,0x00000006,0x000031e1, | 6758 | 0x00003432,0x00050050,0x00000007,0x00003439, |
| 6465 | 0x00003013,0x00000000,0x000500b0,0x0000002f, | 6759 | 0x00003433,0x00003438,0x0004007c,0x00000014, |
| 6466 | 0x000031e4,0x000031e1,0x00003089,0x000200f9, | 6760 | 0x00003429,0x00003439,0x00060041,0x00000174, |
| 6467 | 0x000031e5,0x000200f8,0x000031e5,0x000700f5, | 6761 | 0x00003420,0x00003429,0x00000173,0x00000173, |
| 6468 | 0x0000002f,0x000031e6,0x000031de,0x000031d9, | 6762 | 0x0006003d,0x00000006,0x00003421,0x00003420, |
| 6469 | 0x000031e4,0x000031df,0x000200f9,0x000031e7, | ||
| 6470 | 0x000200f8,0x000031e7,0x000700f5,0x0000002f, | ||
| 6471 | 0x000031e8,0x000031d7,0x00003011,0x000031e6, | ||
| 6472 | 0x000031e5,0x000200f9,0x00003016,0x000200f8, | ||
| 6473 | 0x00003016,0x000700f5,0x0000002f,0x00003017, | ||
| 6474 | 0x00003010,0x0000300f,0x000031e8,0x000031e7, | ||
| 6475 | 0x000300f7,0x00003019,0x00000000,0x000400fa, | ||
| 6476 | 0x00003017,0x00003018,0x00003019,0x000200f8, | ||
| 6477 | 0x00003018,0x000200f9,0x00003024,0x000200f8, | ||
| 6478 | 0x00003019,0x00050051,0x00000006,0x0000301b, | ||
| 6479 | 0x00005e7a,0x00000000,0x000500c7,0x00000006, | ||
| 6480 | 0x0000301c,0x0000301b,0x0000062f,0x000500aa, | ||
| 6481 | 0x0000002f,0x0000301d,0x0000301c,0x00000138, | ||
| 6482 | 0x000300f7,0x00003022,0x00000000,0x000400fa, | ||
| 6483 | 0x0000301d,0x0000301e,0x00003022,0x000200f8, | ||
| 6484 | 0x0000301e,0x00050051,0x00000006,0x00003020, | ||
| 6485 | 0x00005e7a,0x00000001,0x000500b0,0x0000002f, | ||
| 6486 | 0x00003021,0x00003020,0x000001be,0x000200f9, | ||
| 6487 | 0x00003022,0x000200f8,0x00003022,0x000700f5, | ||
| 6488 | 0x0000002f,0x00003023,0x0000301d,0x00003019, | ||
| 6489 | 0x00003021,0x0000301e,0x000200f9,0x00003024, | ||
| 6490 | 0x000200f8,0x00003024,0x000d00f5,0x00000007, | ||
| 6491 | 0x00005e85,0x00002cc1,0x00002fa6,0x00002cc1, | ||
| 6492 | 0x00002fd0,0x00002cc1,0x00002fea,0x00005e7a, | ||
| 6493 | 0x00003018,0x00005e7a,0x00003022,0x000d00f5, | ||
| 6494 | 0x0000002f,0x00005e84,0x000003e7,0x00002fa6, | ||
| 6495 | 0x000003cc,0x00002fd0,0x000003cc,0x00002fea, | ||
| 6496 | 0x000003cc,0x00003018,0x00003023,0x00003022, | ||
| 6497 | 0x000200f9,0x00002cf0,0x000200f8,0x00002cf0, | ||
| 6498 | 0x000700f5,0x00000007,0x00005e89,0x00002cc1, | ||
| 6499 | 0x00002f6f,0x00005e85,0x00003024,0x000700f5, | ||
| 6500 | 0x0000002f,0x00002cf1,0x00002ceb,0x00002f6f, | ||
| 6501 | 0x00005e84,0x00003024,0x000300f7,0x00002d88, | ||
| 6502 | 0x00000000,0x000400fa,0x00002cf1,0x00002cf3, | ||
| 6503 | 0x00002d88,0x000200f8,0x00002cf3,0x00050041, | ||
| 6504 | 0x00000266,0x00002cf5,0x000001b9,0x0000032d, | ||
| 6505 | 0x0004003d,0x00000007,0x00002cf6,0x00002cf5, | ||
| 6506 | 0x00050051,0x00000006,0x000031ee,0x00005e89, | ||
| 6507 | 0x00000000,0x00050051,0x00000006,0x000031f0, | ||
| 6508 | 0x00002cf6,0x00000000,0x00050095,0x0000013d, | ||
| 6509 | 0x000031f1,0x000031ee,0x000031f0,0x00050051, | ||
| 6510 | 0x00000006,0x000031f2,0x000031f1,0x00000001, | ||
| 6511 | 0x00050051,0x00000006,0x000031f3,0x000031f1, | ||
| 6512 | 0x00000000,0x00050051,0x00000006,0x000031f6, | ||
| 6513 | 0x00005e89,0x00000001,0x00050051,0x00000006, | ||
| 6514 | 0x000031f8,0x00002cf6,0x00000001,0x00050080, | ||
| 6515 | 0x00000006,0x000031f9,0x000031f6,0x000031f8, | ||
| 6516 | 0x00050080,0x00000006,0x000031fb,0x000031f9, | ||
| 6517 | 0x000031f2,0x00050095,0x0000013d,0x00003215, | ||
| 6518 | 0x000031f3,0x00000521,0x00050051,0x00000006, | ||
| 6519 | 0x00003216,0x00003215,0x00000001,0x00050051, | ||
| 6520 | 0x00000006,0x00003217,0x00003215,0x00000000, | ||
| 6521 | 0x00050080,0x00000006,0x0000321c,0x000031fb, | ||
| 6522 | 0x00003216,0x00050050,0x00000007,0x0000321d, | ||
| 6523 | 0x00003217,0x0000321c,0x0004007c,0x00000014, | ||
| 6524 | 0x0000320d,0x0000321d,0x00060041,0x0000016c, | ||
| 6525 | 0x00003204,0x0000320d,0x0000016b,0x0000016b, | ||
| 6526 | 0x0006003d,0x00000006,0x00003205,0x00003204, | ||
| 6527 | 0x00000002,0x00000004,0x00050095,0x0000013d, | ||
| 6528 | 0x00003236,0x000031f3,0x000001db,0x00050051, | ||
| 6529 | 0x00000006,0x00003237,0x00003236,0x00000001, | ||
| 6530 | 0x00050051,0x00000006,0x00003238,0x00003236, | ||
| 6531 | 0x00000000,0x00050080,0x00000006,0x0000323d, | ||
| 6532 | 0x000031fb,0x00003237,0x00050050,0x00000007, | ||
| 6533 | 0x0000323e,0x00003238,0x0000323d,0x0004007c, | ||
| 6534 | 0x00000014,0x0000322e,0x0000323e,0x00060041, | ||
| 6535 | 0x0000016c,0x00003225,0x0000322e,0x0000016b, | ||
| 6536 | 0x0000016b,0x0006003d,0x00000006,0x00003226, | ||
| 6537 | 0x00003225,0x00000002,0x00000004,0x0004007c, | ||
| 6538 | 0x00000027,0x00002cfc,0x00003226,0x00050095, | ||
| 6539 | 0x0000013d,0x00003257,0x000031f3,0x00000299, | ||
| 6540 | 0x00050051,0x00000006,0x00003258,0x00003257, | ||
| 6541 | 0x00000001,0x00050051,0x00000006,0x00003259, | ||
| 6542 | 0x00003257,0x00000000,0x00050080,0x00000006, | ||
| 6543 | 0x0000325e,0x000031fb,0x00003258,0x00050050, | ||
| 6544 | 0x00000007,0x0000325f,0x00003259,0x0000325e, | ||
| 6545 | 0x0004007c,0x00000014,0x0000324f,0x0000325f, | ||
| 6546 | 0x00060041,0x0000016c,0x00003246,0x0000324f, | ||
| 6547 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | ||
| 6548 | 0x00003247,0x00003246,0x00000002,0x00000004, | ||
| 6549 | 0x0004007c,0x00000027,0x00002cff,0x00003247, | ||
| 6550 | 0x00050095,0x0000013d,0x00003278,0x000031f3, | ||
| 6551 | 0x000001ef,0x00050051,0x00000006,0x00003279, | ||
| 6552 | 0x00003278,0x00000001,0x00050051,0x00000006, | ||
| 6553 | 0x0000327a,0x00003278,0x00000000,0x00050080, | ||
| 6554 | 0x00000006,0x0000327f,0x000031fb,0x00003279, | ||
| 6555 | 0x00050050,0x00000007,0x00003280,0x0000327a, | ||
| 6556 | 0x0000327f,0x0004007c,0x00000014,0x00003270, | ||
| 6557 | 0x00003280,0x00060041,0x0000016c,0x00003267, | ||
| 6558 | 0x00003270,0x0000016b,0x0000016b,0x0006003d, | ||
| 6559 | 0x00000006,0x00003268,0x00003267,0x00000002, | ||
| 6560 | 0x00000004,0x0004007c,0x00000027,0x00002d02, | ||
| 6561 | 0x00003268,0x00050095,0x0000013d,0x00003299, | ||
| 6562 | 0x000031f3,0x000006d9,0x00050051,0x00000006, | ||
| 6563 | 0x0000329a,0x00003299,0x00000001,0x00050051, | ||
| 6564 | 0x00000006,0x0000329b,0x00003299,0x00000000, | ||
| 6565 | 0x00050080,0x00000006,0x000032a0,0x000031fb, | ||
| 6566 | 0x0000329a,0x00050050,0x00000007,0x000032a1, | ||
| 6567 | 0x0000329b,0x000032a0,0x0004007c,0x00000014, | ||
| 6568 | 0x00003291,0x000032a1,0x00060041,0x0000016c, | ||
| 6569 | 0x00003288,0x00003291,0x0000016b,0x0000016b, | ||
| 6570 | 0x0006003d,0x00000006,0x00003289,0x00003288, | ||
| 6571 | 0x00000002,0x00000004,0x0004007c,0x00000027, | ||
| 6572 | 0x00002d06,0x00003289,0x00050095,0x0000013d, | ||
| 6573 | 0x000032ba,0x000031f3,0x00000205,0x00050051, | ||
| 6574 | 0x00000006,0x000032bb,0x000032ba,0x00000001, | ||
| 6575 | 0x00050051,0x00000006,0x000032bc,0x000032ba, | ||
| 6576 | 0x00000000,0x00050080,0x00000006,0x000032c1, | ||
| 6577 | 0x000031fb,0x000032bb,0x00050050,0x00000007, | ||
| 6578 | 0x000032c2,0x000032bc,0x000032c1,0x0004007c, | ||
| 6579 | 0x00000014,0x000032b2,0x000032c2,0x00060041, | ||
| 6580 | 0x0000016c,0x000032a9,0x000032b2,0x0000016b, | ||
| 6581 | 0x0000016b,0x0006003d,0x00000006,0x000032aa, | ||
| 6582 | 0x000032a9,0x00000002,0x00000004,0x0004007c, | ||
| 6583 | 0x00000027,0x00002d09,0x000032aa,0x00050095, | ||
| 6584 | 0x0000013d,0x000032db,0x000031f3,0x00000500, | ||
| 6585 | 0x00050051,0x00000006,0x000032dc,0x000032db, | ||
| 6586 | 0x00000001,0x00050051,0x00000006,0x000032dd, | ||
| 6587 | 0x000032db,0x00000000,0x00050080,0x00000006, | ||
| 6588 | 0x000032e2,0x000031fb,0x000032dc,0x00050050, | ||
| 6589 | 0x00000007,0x000032e3,0x000032dd,0x000032e2, | ||
| 6590 | 0x0004007c,0x00000014,0x000032d3,0x000032e3, | ||
| 6591 | 0x00060041,0x0000016c,0x000032ca,0x000032d3, | ||
| 6592 | 0x0000016b,0x0000016b,0x0006003d,0x00000006, | ||
| 6593 | 0x000032cb,0x000032ca,0x00000002,0x00000004, | ||
| 6594 | 0x0004007c,0x00000027,0x00002d0c,0x000032cb, | ||
| 6595 | 0x000500bc,0x0000002f,0x000032ea,0x00002cfc, | ||
| 6596 | 0x00002d06,0x000300f7,0x000032f1,0x00000000, | ||
| 6597 | 0x000400fa,0x000032ea,0x000032eb,0x000032f1, | ||
| 6598 | 0x000200f8,0x000032eb,0x000500bc,0x0000002f, | ||
| 6599 | 0x000032f0,0x00002cff,0x00002d09,0x000200f9, | ||
| 6600 | 0x000032f1,0x000200f8,0x000032f1,0x000700f5, | ||
| 6601 | 0x0000002f,0x000032f2,0x000032ea,0x00002cf3, | ||
| 6602 | 0x000032f0,0x000032eb,0x000300f7,0x000032f9, | ||
| 6603 | 0x00000000,0x000400fa,0x000032f2,0x000032f3, | ||
| 6604 | 0x000032f9,0x000200f8,0x000032f3,0x000500bc, | ||
| 6605 | 0x0000002f,0x000032f8,0x00002d02,0x00002d0c, | ||
| 6606 | 0x000200f9,0x000032f9,0x000200f8,0x000032f9, | ||
| 6607 | 0x000700f5,0x0000002f,0x000032fa,0x000032f2, | ||
| 6608 | 0x000032f1,0x000032f8,0x000032f3,0x000300f7, | ||
| 6609 | 0x00002d16,0x00000000,0x000400fa,0x000032fa, | ||
| 6610 | 0x00002d12,0x00002d16,0x000200f8,0x00002d12, | ||
| 6611 | 0x000500c2,0x00000006,0x00002d14,0x00002e81, | ||
| 6612 | 0x000006f3,0x000500ab,0x0000002f,0x00002d15, | ||
| 6613 | 0x00002d14,0x00000138,0x000200f9,0x00002d16, | ||
| 6614 | 0x000200f8,0x00002d16,0x000700f5,0x0000002f, | ||
| 6615 | 0x00002d17,0x000032fa,0x000032f9,0x00002d15, | ||
| 6616 | 0x00002d12,0x000300f7,0x00002d87,0x00000000, | ||
| 6617 | 0x000400fa,0x00002d17,0x00002d18,0x00002d87, | ||
| 6618 | 0x000200f8,0x00002d18,0x000200f9,0x00002d19, | ||
| 6619 | 0x000200f8,0x00002d19,0x000700f5,0x0000006c, | ||
| 6620 | 0x00005f0d,0x000060fe,0x00002d18,0x00002d82, | ||
| 6621 | 0x00002d1d,0x000700f5,0x0000006c,0x00005ee6, | ||
| 6622 | 0x00000576,0x00002d18,0x00002d7f,0x00002d1d, | ||
| 6623 | 0x000700f5,0x00000006,0x00005e8b,0x00000138, | ||
| 6624 | 0x00002d18,0x00002d85,0x00002d1d,0x000500b0, | ||
| 6625 | 0x0000002f,0x00002d1c,0x00005e8b,0x000001cd, | ||
| 6626 | 0x000400f6,0x00002d86,0x00002d1d,0x00000000, | ||
| 6627 | 0x000400fa,0x00002d1c,0x00002d1d,0x00002d86, | ||
| 6628 | 0x000200f8,0x00002d1d,0x000500c7,0x00000006, | ||
| 6629 | 0x00002d1f,0x00005e8b,0x00000142,0x000500ab, | ||
| 6630 | 0x0000002f,0x00002d20,0x00002d1f,0x00000138, | ||
| 6631 | 0x000600a9,0x00000027,0x0000611b,0x00002d20, | ||
| 6632 | 0x00002d06,0x00002cfc,0x000500c7,0x00000006, | ||
| 6633 | 0x00002d2a,0x00005e8b,0x00000280,0x000500ab, | ||
| 6634 | 0x0000002f,0x00002d2b,0x00002d2a,0x00000138, | ||
| 6635 | 0x000600a9,0x00000027,0x0000611c,0x00002d2b, | ||
| 6636 | 0x00002d09,0x00002cff,0x000500c7,0x00000006, | ||
| 6637 | 0x00002d35,0x00005e8b,0x000000ec,0x000500ab, | ||
| 6638 | 0x0000002f,0x00002d36,0x00002d35,0x00000138, | ||
| 6639 | 0x000600a9,0x00000027,0x0000611d,0x00002d36, | ||
| 6640 | 0x00002d0c,0x00002d02,0x00050041,0x00000028, | ||
| 6641 | 0x00002d40,0x00002c30,0x0000016b,0x0004003d, | ||
| 6642 | 0x00000027,0x00002d41,0x00002d40,0x00050085, | ||
| 6643 | 0x00000027,0x00002d44,0x00002d41,0x0000611b, | ||
| 6644 | 0x00050041,0x00000028,0x00002d45,0x00002c30, | ||
| 6645 | 0x00000264,0x0004003d,0x00000027,0x00002d46, | ||
| 6646 | 0x00002d45,0x00050085,0x00000027,0x00002d49, | ||
| 6647 | 0x00002d46,0x0000611c,0x00050081,0x00000027, | ||
| 6648 | 0x00002d4a,0x00002d44,0x00002d49,0x00050041, | ||
| 6649 | 0x00000028,0x00002d4b,0x00002c30,0x00000315, | ||
| 6650 | 0x0004003d,0x00000027,0x00002d4c,0x00002d4b, | ||
| 6651 | 0x00050085,0x00000027,0x00002d4f,0x00002d4c, | ||
| 6652 | 0x0000611d,0x00050081,0x00000027,0x00002d50, | ||
| 6653 | 0x00002d4a,0x00002d4f,0x00050041,0x00000028, | ||
| 6654 | 0x00002d51,0x00002c30,0x0000031d,0x0004003d, | ||
| 6655 | 0x00000027,0x00002d52,0x00002d51,0x00050081, | ||
| 6656 | 0x00000027,0x00002d53,0x00002d50,0x00002d52, | ||
| 6657 | 0x00050041,0x00000028,0x00002d54,0x00002c30, | ||
| 6658 | 0x00000325,0x0004003d,0x00000027,0x00002d55, | ||
| 6659 | 0x00002d54,0x00050085,0x00000027,0x00002d58, | ||
| 6660 | 0x00002d55,0x0000611b,0x00050041,0x00000028, | ||
| 6661 | 0x00002d59,0x00002c30,0x0000032d,0x0004003d, | ||
| 6662 | 0x00000027,0x00002d5a,0x00002d59,0x00050085, | ||
| 6663 | 0x00000027,0x00002d5d,0x00002d5a,0x0000611c, | ||
| 6664 | 0x00050081,0x00000027,0x00002d5e,0x00002d58, | ||
| 6665 | 0x00002d5d,0x00050041,0x00000028,0x00002d5f, | ||
| 6666 | 0x00002c30,0x00000351,0x0004003d,0x00000027, | ||
| 6667 | 0x00002d60,0x00002d5f,0x00050085,0x00000027, | ||
| 6668 | 0x00002d63,0x00002d60,0x0000611d,0x00050081, | ||
| 6669 | 0x00000027,0x00002d64,0x00002d5e,0x00002d63, | ||
| 6670 | 0x00050041,0x00000028,0x00002d65,0x00002c30, | ||
| 6671 | 0x0000074d,0x0004003d,0x00000027,0x00002d66, | ||
| 6672 | 0x00002d65,0x00050081,0x00000027,0x00002d67, | ||
| 6673 | 0x00002d64,0x00002d66,0x00050041,0x00000028, | ||
| 6674 | 0x00002d68,0x00002c30,0x000004c1,0x0004003d, | ||
| 6675 | 0x00000027,0x00002d69,0x00002d68,0x00050085, | ||
| 6676 | 0x00000027,0x00002d6c,0x00002d69,0x0000611b, | ||
| 6677 | 0x00050041,0x00000028,0x00002d6d,0x00002c30, | ||
| 6678 | 0x00000206,0x0004003d,0x00000027,0x00002d6e, | ||
| 6679 | 0x00002d6d,0x00050085,0x00000027,0x00002d71, | ||
| 6680 | 0x00002d6e,0x0000611c,0x00050081,0x00000027, | ||
| 6681 | 0x00002d72,0x00002d6c,0x00002d71,0x00050041, | ||
| 6682 | 0x00000028,0x00002d73,0x00002c30,0x000003b6, | ||
| 6683 | 0x0004003d,0x00000027,0x00002d74,0x00002d73, | ||
| 6684 | 0x00050085,0x00000027,0x00002d77,0x00002d74, | ||
| 6685 | 0x0000611d,0x00050081,0x00000027,0x00002d78, | ||
| 6686 | 0x00002d72,0x00002d77,0x00050041,0x00000028, | ||
| 6687 | 0x00002d79,0x00002c30,0x00000434,0x0004003d, | ||
| 6688 | 0x00000027,0x00002d7a,0x00002d79,0x00050081, | ||
| 6689 | 0x00000027,0x00002d7b,0x00002d78,0x00002d7a, | ||
| 6690 | 0x00060050,0x0000006c,0x00002d7c,0x00002d53, | ||
| 6691 | 0x00002d67,0x00002d7b,0x0007000c,0x0000006c, | ||
| 6692 | 0x00002d7f,0x00000001,0x00000025,0x00005ee6, | ||
| 6693 | 0x00002d7c,0x0007000c,0x0000006c,0x00002d82, | ||
| 6694 | 0x00000001,0x00000028,0x00005f0d,0x00002d7c, | ||
| 6695 | 0x00050080,0x00000006,0x00002d85,0x00005e8b, | ||
| 6696 | 0x00000264,0x000200f9,0x00002d19,0x000200f8, | ||
| 6697 | 0x00002d86,0x000200f9,0x00002d87,0x000200f8, | ||
| 6698 | 0x00002d87,0x000700f5,0x0000006c,0x00005f09, | ||
| 6699 | 0x000060fe,0x00002d16,0x00005f0d,0x00002d86, | ||
| 6700 | 0x000700f5,0x0000006c,0x00005ee2,0x00000576, | ||
| 6701 | 0x00002d16,0x00005ee6,0x00002d86,0x000200f9, | ||
| 6702 | 0x00002d88,0x000200f8,0x00002d88,0x000700f5, | ||
| 6703 | 0x0000006c,0x00005ef3,0x000060fe,0x00002cf0, | ||
| 6704 | 0x00005f09,0x00002d87,0x000700f5,0x0000006c, | ||
| 6705 | 0x00005ecc,0x00000576,0x00002cf0,0x00005ee2, | ||
| 6706 | 0x00002d87,0x000700f5,0x00000006,0x00005e94, | ||
| 6707 | 0x00000539,0x00002cf0,0x00003205,0x00002d87, | ||
| 6708 | 0x00050041,0x00000028,0x00002d89,0x00002c30, | ||
| 6709 | 0x0000016b,0x0004003d,0x00000027,0x00002d8a, | ||
| 6710 | 0x00002d89,0x000500b4,0x0000002f,0x00002d8b, | ||
| 6711 | 0x00002d8a,0x00000771,0x000300f7,0x00002d90, | ||
| 6712 | 0x00000000,0x000400fa,0x00002d8b,0x00002d8c, | ||
| 6713 | 0x00002d90,0x000200f8,0x00002d8c,0x00050041, | ||
| 6714 | 0x00000028,0x00002d8d,0x00002c30,0x00000264, | ||
| 6715 | 0x0004003d,0x00000027,0x00002d8e,0x00002d8d, | ||
| 6716 | 0x000500b4,0x0000002f,0x00002d8f,0x00002d8e, | ||
| 6717 | 0x00000426,0x000200f9,0x00002d90,0x000200f8, | ||
| 6718 | 0x00002d90,0x000700f5,0x0000002f,0x00002d91, | ||
| 6719 | 0x00002d8b,0x00002d88,0x00002d8f,0x00002d8c, | ||
| 6720 | 0x000300f7,0x00002d96,0x00000000,0x000400fa, | ||
| 6721 | 0x00002d91,0x00002d92,0x00002d96,0x000200f8, | ||
| 6722 | 0x00002d92,0x00050041,0x00000028,0x00002d93, | ||
| 6723 | 0x00002c30,0x00000315,0x0004003d,0x00000027, | ||
| 6724 | 0x00002d94,0x00002d93,0x000500b4,0x0000002f, | ||
| 6725 | 0x00002d95,0x00002d94,0x00000426,0x000200f9, | ||
| 6726 | 0x00002d96,0x000200f8,0x00002d96,0x000700f5, | ||
| 6727 | 0x0000002f,0x00002d97,0x00002d91,0x00002d90, | ||
| 6728 | 0x00002d95,0x00002d92,0x000300f7,0x00002d9c, | ||
| 6729 | 0x00000000,0x000400fa,0x00002d97,0x00002d98, | ||
| 6730 | 0x00002d9c,0x000200f8,0x00002d98,0x00050041, | ||
| 6731 | 0x00000028,0x00002d99,0x00002c30,0x00000325, | ||
| 6732 | 0x0004003d,0x00000027,0x00002d9a,0x00002d99, | ||
| 6733 | 0x000500b4,0x0000002f,0x00002d9b,0x00002d9a, | ||
| 6734 | 0x00000426,0x000200f9,0x00002d9c,0x000200f8, | ||
| 6735 | 0x00002d9c,0x000700f5,0x0000002f,0x00002d9d, | ||
| 6736 | 0x00002d97,0x00002d96,0x00002d9b,0x00002d98, | ||
| 6737 | 0x000300f7,0x00002da2,0x00000000,0x000400fa, | ||
| 6738 | 0x00002d9d,0x00002d9e,0x00002da2,0x000200f8, | ||
| 6739 | 0x00002d9e,0x00050041,0x00000028,0x00002d9f, | ||
| 6740 | 0x00002c30,0x0000032d,0x0004003d,0x00000027, | ||
| 6741 | 0x00002da0,0x00002d9f,0x000500b4,0x0000002f, | ||
| 6742 | 0x00002da1,0x00002da0,0x00000771,0x000200f9, | ||
| 6743 | 0x00002da2,0x000200f8,0x00002da2,0x000700f5, | ||
| 6744 | 0x0000002f,0x00002da3,0x00002d9d,0x00002d9c, | ||
| 6745 | 0x00002da1,0x00002d9e,0x000300f7,0x00002da8, | ||
| 6746 | 0x00000000,0x000400fa,0x00002da3,0x00002da4, | ||
| 6747 | 0x00002da8,0x000200f8,0x00002da4,0x00050041, | ||
| 6748 | 0x00000028,0x00002da5,0x00002c30,0x00000351, | ||
| 6749 | 0x0004003d,0x00000027,0x00002da6,0x00002da5, | ||
| 6750 | 0x000500b4,0x0000002f,0x00002da7,0x00002da6, | ||
| 6751 | 0x00000426,0x000200f9,0x00002da8,0x000200f8, | ||
| 6752 | 0x00002da8,0x000700f5,0x0000002f,0x00002da9, | ||
| 6753 | 0x00002da3,0x00002da2,0x00002da7,0x00002da4, | ||
| 6754 | 0x000300f7,0x00002dae,0x00000000,0x000400fa, | ||
| 6755 | 0x00002da9,0x00002daa,0x00002dae,0x000200f8, | ||
| 6756 | 0x00002daa,0x00050041,0x00000028,0x00002dab, | ||
| 6757 | 0x00002c30,0x000004c1,0x0004003d,0x00000027, | ||
| 6758 | 0x00002dac,0x00002dab,0x000500b4,0x0000002f, | ||
| 6759 | 0x00002dad,0x00002dac,0x00000426,0x000200f9, | ||
| 6760 | 0x00002dae,0x000200f8,0x00002dae,0x000700f5, | ||
| 6761 | 0x0000002f,0x00002daf,0x00002da9,0x00002da8, | ||
| 6762 | 0x00002dad,0x00002daa,0x000300f7,0x00002db4, | ||
| 6763 | 0x00000000,0x000400fa,0x00002daf,0x00002db0, | ||
| 6764 | 0x00002db4,0x000200f8,0x00002db0,0x00050041, | ||
| 6765 | 0x00000028,0x00002db1,0x00002c30,0x00000206, | ||
| 6766 | 0x0004003d,0x00000027,0x00002db2,0x00002db1, | ||
| 6767 | 0x000500b4,0x0000002f,0x00002db3,0x00002db2, | ||
| 6768 | 0x00000426,0x000200f9,0x00002db4,0x000200f8, | ||
| 6769 | 0x00002db4,0x000700f5,0x0000002f,0x00002db5, | ||
| 6770 | 0x00002daf,0x00002dae,0x00002db3,0x00002db0, | ||
| 6771 | 0x000300f7,0x00002dba,0x00000000,0x000400fa, | ||
| 6772 | 0x00002db5,0x00002db6,0x00002dba,0x000200f8, | ||
| 6773 | 0x00002db6,0x00050041,0x00000028,0x00002db7, | ||
| 6774 | 0x00002c30,0x000003b6,0x0004003d,0x00000027, | ||
| 6775 | 0x00002db8,0x00002db7,0x000500b4,0x0000002f, | ||
| 6776 | 0x00002db9,0x00002db8,0x00000771,0x000200f9, | ||
| 6777 | 0x00002dba,0x000200f8,0x00002dba,0x000700f5, | ||
| 6778 | 0x0000002f,0x00002dbb,0x00002db5,0x00002db4, | ||
| 6779 | 0x00002db9,0x00002db6,0x00050080,0x00000006, | ||
| 6780 | 0x00002dbd,0x00002cc6,0x00000537,0x000500c7, | ||
| 6781 | 0x00000006,0x00002dbf,0x00005e94,0x000007a6, | ||
| 6782 | 0x000600a9,0x00000006,0x00002dc1,0x00002dbb, | ||
| 6783 | 0x00000241,0x00000138,0x000500c5,0x00000006, | ||
| 6784 | 0x00002dc2,0x00002dbf,0x00002dc1,0x00050095, | ||
| 6785 | 0x0000013d,0x00003313,0x00002f3b,0x00002dbd, | ||
| 6786 | 0x00050051,0x00000006,0x00003314,0x00003313, | ||
| 6787 | 0x00000001,0x00050051,0x00000006,0x00003315, | ||
| 6788 | 0x00003313,0x00000000,0x00050080,0x00000006, | ||
| 6789 | 0x0000331a,0x00002f42,0x00003314,0x00050050, | ||
| 6790 | 0x00000007,0x0000331b,0x00003315,0x0000331a, | ||
| 6791 | 0x0004007c,0x00000014,0x0000330b,0x0000331b, | ||
| 6792 | 0x00060041,0x0000016c,0x00003303,0x0000330b, | ||
| 6793 | 0x0000016b,0x0000016b,0x0005003e,0x00003303, | ||
| 6794 | 0x00002dc2,0x00000002,0x00000004,0x000400a8, | ||
| 6795 | 0x0000002f,0x00002dc7,0x00002cf1,0x00050050, | ||
| 6796 | 0x0000611e,0x0000611f,0x00002dc7,0x00002dc7, | ||
| 6797 | 0x000600a9,0x00000007,0x00006120,0x0000611f, | ||
| 6798 | 0x000007b5,0x00005e89,0x00050080,0x00000006, | ||
| 6799 | 0x00002dcb,0x00002cc6,0x00000541,0x00050051, | ||
| 6800 | 0x00000006,0x00002dcd,0x00006120,0x00000000, | ||
| 6801 | 0x000500c2,0x00000006,0x00002dce,0x00002dcd, | ||
| 6802 | 0x000004c1,0x00050051,0x00000006,0x00002dd0, | ||
| 6803 | 0x00006120,0x00000001,0x000500c4,0x00000006, | ||
| 6804 | 0x00002dd1,0x00002dd0,0x000006f3,0x000500c5, | ||
| 6805 | 0x00000006,0x00002dd2,0x00002dce,0x00002dd1, | ||
| 6806 | 0x00050095,0x0000013d,0x00003333,0x00002f3b, | ||
| 6807 | 0x00002dcb,0x00050051,0x00000006,0x00003334, | ||
| 6808 | 0x00003333,0x00000001,0x00050051,0x00000006, | ||
| 6809 | 0x00003335,0x00003333,0x00000000,0x00050080, | ||
| 6810 | 0x00000006,0x0000333a,0x00002f42,0x00003334, | ||
| 6811 | 0x00050050,0x00000007,0x0000333b,0x00003335, | ||
| 6812 | 0x0000333a,0x0004007c,0x00000014,0x0000332b, | ||
| 6813 | 0x0000333b,0x00060041,0x0000016c,0x00003323, | ||
| 6814 | 0x0000332b,0x0000016b,0x0000016b,0x0005003e, | ||
| 6815 | 0x00003323,0x00002dd2,0x00000002,0x00000004, | ||
| 6816 | 0x0004003d,0x00000027,0x00002dd7,0x00002d89, | ||
| 6817 | 0x00050041,0x00000028,0x00002dd8,0x00002c30, | ||
| 6818 | 0x00000325,0x0004003d,0x00000027,0x00002dd9, | ||
| 6819 | 0x00002dd8,0x00050041,0x00000028,0x00002dda, | ||
| 6820 | 0x00002c30,0x000004c1,0x0004003d,0x00000027, | ||
| 6821 | 0x00002ddb,0x00002dda,0x00050041,0x00000028, | ||
| 6822 | 0x00002ddc,0x00002c30,0x00000264,0x0004003d, | ||
| 6823 | 0x00000027,0x00002ddd,0x00002ddc,0x00050041, | ||
| 6824 | 0x00000028,0x00002dde,0x00002c30,0x0000032d, | ||
| 6825 | 0x0004003d,0x00000027,0x00002ddf,0x00002dde, | ||
| 6826 | 0x00050041,0x00000028,0x00002de0,0x00002c30, | ||
| 6827 | 0x00000206,0x0004003d,0x00000027,0x00002de1, | ||
| 6828 | 0x00002de0,0x00050041,0x00000028,0x00002de2, | ||
| 6829 | 0x00002c30,0x00000315,0x0004003d,0x00000027, | ||
| 6830 | 0x00002de3,0x00002de2,0x00050041,0x00000028, | ||
| 6831 | 0x00002de4,0x00002c30,0x00000351,0x0004003d, | ||
| 6832 | 0x00000027,0x00002de5,0x00002de4,0x00050041, | ||
| 6833 | 0x00000028,0x00002de6,0x00002c30,0x000003b6, | ||
| 6834 | 0x0004003d,0x00000027,0x00002de7,0x00002de6, | ||
| 6835 | 0x00060050,0x0000006c,0x00002de8,0x00002dd7, | ||
| 6836 | 0x00002dd9,0x00002ddb,0x00060050,0x0000006c, | ||
| 6837 | 0x00002de9,0x00002ddd,0x00002ddf,0x00002de1, | ||
| 6838 | 0x00060050,0x0000006c,0x00002dea,0x00002de3, | ||
| 6839 | 0x00002de5,0x00002de7,0x00060050,0x000007c5, | ||
| 6840 | 0x00002deb,0x00002de8,0x00002de9,0x00002dea, | ||
| 6841 | 0x0006000c,0x00000027,0x00002ded,0x00000001, | ||
| 6842 | 0x00000021,0x00002deb,0x000500b7,0x0000002f, | ||
| 6843 | 0x00002def,0x00002ded,0x00000426,0x000300f7, | ||
| 6844 | 0x00002df4,0x00000000,0x000400fa,0x00002def, | ||
| 6845 | 0x00002df0,0x00002df3,0x000200f8,0x00002df3, | ||
| 6846 | 0x000200f9,0x00002df4,0x000200f8,0x00002df0, | ||
| 6847 | 0x0006000c,0x000007c5,0x00002df2,0x00000001, | ||
| 6848 | 0x00000022,0x00002deb,0x000200f9,0x00002df4, | ||
| 6849 | 0x000200f8,0x00002df4,0x000700f5,0x000007c5, | ||
| 6850 | 0x00005ebe,0x00002df2,0x00002df0,0x000007eb, | ||
| 6851 | 0x00002df3,0x0003003e,0x00002c75,0x00005ebe, | ||
| 6852 | 0x00050041,0x00000028,0x00002df6,0x00002c30, | ||
| 6853 | 0x0000031d,0x0004003d,0x00000027,0x00002df7, | ||
| 6854 | 0x00002df6,0x00050041,0x00000028,0x00002df8, | ||
| 6855 | 0x00002c30,0x0000074d,0x0004003d,0x00000027, | ||
| 6856 | 0x00002df9,0x00002df8,0x00050041,0x00000028, | ||
| 6857 | 0x00002dfa,0x00002c30,0x00000434,0x0004003d, | ||
| 6858 | 0x00000027,0x00002dfb,0x00002dfa,0x00060050, | ||
| 6859 | 0x0000006c,0x00002dfc,0x00002df7,0x00002df9, | ||
| 6860 | 0x00002dfb,0x00050091,0x0000006c,0x00002dff, | ||
| 6861 | 0x00005ebe,0x00002dfc,0x0004007f,0x0000006c, | ||
| 6862 | 0x00002e00,0x00002dff,0x0003003e,0x00002c78, | ||
| 6863 | 0x00002e00,0x000200f9,0x00002e01,0x000200f8, | ||
| 6864 | 0x00002e01,0x000700f5,0x00000006,0x00005ebf, | ||
| 6865 | 0x00000138,0x00002df4,0x00002e34,0x00002e05, | ||
| 6866 | 0x000500b0,0x0000002f,0x00002e04,0x00005ebf, | ||
| 6867 | 0x00000470,0x000400f6,0x00002e35,0x00002e05, | ||
| 6868 | 0x00000000,0x000400fa,0x00002e04,0x00002e05, | ||
| 6869 | 0x00002e35,0x000200f8,0x00002e05,0x00050080, | ||
| 6870 | 0x00000006,0x00002e07,0x00002cc6,0x000001c4, | ||
| 6871 | 0x00050084,0x00000006,0x00002e09,0x000001db, | ||
| 6872 | 0x00005ebf,0x00050080,0x00000006,0x00002e0a, | ||
| 6873 | 0x00002e07,0x00002e09,0x00060041,0x00000028, | ||
| 6874 | 0x00002e0e,0x00002c75,0x0000016b,0x00005ebf, | ||
| 6875 | 0x0004003d,0x00000027,0x00002e0f,0x00002e0e, | ||
| 6876 | 0x0004007c,0x00000006,0x00003341,0x00002e0f, | ||
| 6877 | 0x00050095,0x0000013d,0x0000335c,0x00002f3b, | ||
| 6878 | 0x00002e0a,0x00050051,0x00000006,0x0000335d, | ||
| 6879 | 0x0000335c,0x00000001,0x00050051,0x00000006, | ||
| 6880 | 0x0000335e,0x0000335c,0x00000000,0x00050080, | ||
| 6881 | 0x00000006,0x00003363,0x00002f42,0x0000335d, | ||
| 6882 | 0x00050050,0x00000007,0x00003364,0x0000335e, | ||
| 6883 | 0x00003363,0x0004007c,0x00000014,0x00003354, | ||
| 6884 | 0x00003364,0x00060041,0x0000016c,0x0000334c, | ||
| 6885 | 0x00003354,0x0000016b,0x0000016b,0x0005003e, | ||
| 6886 | 0x0000334c,0x00003341,0x00000002,0x00000004, | ||
| 6887 | 0x00050080,0x00000006,0x00002e12,0x00002cc6, | ||
| 6888 | 0x00000811,0x00050080,0x00000006,0x00002e15, | ||
| 6889 | 0x00002e12,0x00002e09,0x00060041,0x00000028, | ||
| 6890 | 0x00002e19,0x00002c75,0x00000264,0x00005ebf, | ||
| 6891 | 0x0004003d,0x00000027,0x00002e1a,0x00002e19, | ||
| 6892 | 0x0004007c,0x00000006,0x0000336a,0x00002e1a, | ||
| 6893 | 0x00050095,0x0000013d,0x00003385,0x00002f3b, | ||
| 6894 | 0x00002e15,0x00050051,0x00000006,0x00003386, | ||
| 6895 | 0x00003385,0x00000001,0x00050051,0x00000006, | ||
| 6896 | 0x00003387,0x00003385,0x00000000,0x00050080, | ||
| 6897 | 0x00000006,0x0000338c,0x00002f42,0x00003386, | ||
| 6898 | 0x00050050,0x00000007,0x0000338d,0x00003387, | ||
| 6899 | 0x0000338c,0x0004007c,0x00000014,0x0000337d, | ||
| 6900 | 0x0000338d,0x00060041,0x0000016c,0x00003375, | ||
| 6901 | 0x0000337d,0x0000016b,0x0000016b,0x0005003e, | ||
| 6902 | 0x00003375,0x0000336a,0x00000002,0x00000004, | ||
| 6903 | 0x00050080,0x00000006,0x00002e1d,0x00002cc6, | ||
| 6904 | 0x00000820,0x00050080,0x00000006,0x00002e20, | ||
| 6905 | 0x00002e1d,0x00002e09,0x00060041,0x00000028, | ||
| 6906 | 0x00002e24,0x00002c75,0x00000315,0x00005ebf, | ||
| 6907 | 0x0004003d,0x00000027,0x00002e25,0x00002e24, | ||
| 6908 | 0x0004007c,0x00000006,0x00003393,0x00002e25, | ||
| 6909 | 0x00050095,0x0000013d,0x000033ae,0x00002f3b, | ||
| 6910 | 0x00002e20,0x00050051,0x00000006,0x000033af, | ||
| 6911 | 0x000033ae,0x00000001,0x00050051,0x00000006, | ||
| 6912 | 0x000033b0,0x000033ae,0x00000000,0x00050080, | ||
| 6913 | 0x00000006,0x000033b5,0x00002f42,0x000033af, | ||
| 6914 | 0x00050050,0x00000007,0x000033b6,0x000033b0, | ||
| 6915 | 0x000033b5,0x0004007c,0x00000014,0x000033a6, | ||
| 6916 | 0x000033b6,0x00060041,0x0000016c,0x0000339e, | ||
| 6917 | 0x000033a6,0x0000016b,0x0000016b,0x0005003e, | ||
| 6918 | 0x0000339e,0x00003393,0x00000002,0x00000004, | ||
| 6919 | 0x00050080,0x00000006,0x00002e28,0x00002cc6, | ||
| 6920 | 0x0000082f,0x00050080,0x00000006,0x00002e2b, | ||
| 6921 | 0x00002e28,0x00002e09,0x00050041,0x00000028, | ||
| 6922 | 0x00002e2f,0x00002c78,0x00005ebf,0x0004003d, | ||
| 6923 | 0x00000027,0x00002e30,0x00002e2f,0x0004007c, | ||
| 6924 | 0x00000006,0x000033bc,0x00002e30,0x00050095, | ||
| 6925 | 0x0000013d,0x000033d7,0x00002f3b,0x00002e2b, | ||
| 6926 | 0x00050051,0x00000006,0x000033d8,0x000033d7, | ||
| 6927 | 0x00000001,0x00050051,0x00000006,0x000033d9, | ||
| 6928 | 0x000033d7,0x00000000,0x00050080,0x00000006, | ||
| 6929 | 0x000033de,0x00002f42,0x000033d8,0x00050050, | ||
| 6930 | 0x00000007,0x000033df,0x000033d9,0x000033de, | ||
| 6931 | 0x0004007c,0x00000014,0x000033cf,0x000033df, | ||
| 6932 | 0x00060041,0x0000016c,0x000033c7,0x000033cf, | ||
| 6933 | 0x0000016b,0x0000016b,0x0005003e,0x000033c7, | ||
| 6934 | 0x000033bc,0x00000002,0x00000004,0x00050080, | ||
| 6935 | 0x00000006,0x00002e34,0x00005ebf,0x00000264, | ||
| 6936 | 0x000200f9,0x00002e01,0x000200f8,0x00002e35, | ||
| 6937 | 0x00050080,0x00000006,0x00002e37,0x00002cc6, | ||
| 6938 | 0x00000840,0x00050095,0x0000013d,0x000033f7, | ||
| 6939 | 0x00002f3b,0x00002e37,0x00050051,0x00000006, | ||
| 6940 | 0x000033f8,0x000033f7,0x00000001,0x00050051, | ||
| 6941 | 0x00000006,0x000033f9,0x000033f7,0x00000000, | ||
| 6942 | 0x00050080,0x00000006,0x000033fe,0x00002f42, | ||
| 6943 | 0x000033f8,0x00050050,0x00000007,0x000033ff, | ||
| 6944 | 0x000033f9,0x000033fe,0x0004007c,0x00000014, | ||
| 6945 | 0x000033ef,0x000033ff,0x00060041,0x0000016c, | ||
| 6946 | 0x000033e7,0x000033ef,0x0000016b,0x0000016b, | ||
| 6947 | 0x0005003e,0x000033e7,0x000012dd,0x00000002, | ||
| 6948 | 0x00000004,0x00050080,0x00000006,0x00002e3d, | ||
| 6949 | 0x00002cc6,0x0000084a,0x00050095,0x0000013d, | ||
| 6950 | 0x00003417,0x00002f3b,0x00002e3d,0x00050051, | ||
| 6951 | 0x00000006,0x00003418,0x00003417,0x00000001, | ||
| 6952 | 0x00050051,0x00000006,0x00003419,0x00003417, | ||
| 6953 | 0x00000000,0x00050080,0x00000006,0x0000341e, | ||
| 6954 | 0x00002f42,0x00003418,0x00050050,0x00000007, | ||
| 6955 | 0x0000341f,0x00003419,0x0000341e,0x0004007c, | ||
| 6956 | 0x00000014,0x0000340f,0x0000341f,0x00060041, | ||
| 6957 | 0x0000016c,0x00003407,0x0000340f,0x0000016b, | ||
| 6958 | 0x0000016b,0x0005003e,0x00003407,0x00000539, | ||
| 6959 | 0x00000002,0x00000004,0x00050080,0x00000006, | 6763 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 6960 | 0x00002e42,0x00002cc6,0x00000853,0x00050095, | 6764 | 0x000032d5,0x000032b5,0x000001e3,0x00050095, |
| 6961 | 0x0000013d,0x00003437,0x00002f3b,0x00002e42, | 6765 | 0x00000145,0x00003452,0x0000339c,0x000032d5, |
| 6962 | 0x00050051,0x00000006,0x00003438,0x00003437, | 6766 | 0x00050051,0x00000006,0x00003453,0x00003452, |
| 6963 | 0x00000001,0x00050051,0x00000006,0x00003439, | 6767 | 0x00000001,0x00050051,0x00000006,0x00003454, |
| 6964 | 0x00003437,0x00000000,0x00050080,0x00000006, | 6768 | 0x00003452,0x00000000,0x00050080,0x00000006, |
| 6965 | 0x0000343e,0x00002f42,0x00003438,0x00050050, | 6769 | 0x00003459,0x000033a3,0x00003453,0x00050050, |
| 6966 | 0x00000007,0x0000343f,0x00003439,0x0000343e, | 6770 | 0x00000007,0x0000345a,0x00003454,0x00003459, |
| 6967 | 0x0004007c,0x00000014,0x0000342f,0x0000343f, | 6771 | 0x0004007c,0x00000014,0x0000344a,0x0000345a, |
| 6968 | 0x00060041,0x0000016c,0x00003427,0x0000342f, | 6772 | 0x00060041,0x00000174,0x00003441,0x0000344a, |
| 6969 | 0x0000016b,0x0000016b,0x0005003e,0x00003427, | 6773 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 6970 | 0x00000138,0x00000002,0x00000004,0x00050080, | 6774 | 0x00003442,0x00003441,0x00000002,0x00000004, |
| 6971 | 0x00000006,0x00002e47,0x00002cc6,0x0000085c, | 6775 | 0x00050080,0x00000006,0x000032da,0x000032b5, |
| 6972 | 0x00050095,0x0000013d,0x00003457,0x00002f3b, | 6776 | 0x000002a1,0x00050095,0x00000145,0x00003473, |
| 6973 | 0x00002e47,0x00050051,0x00000006,0x00003458, | 6777 | 0x0000339c,0x000032da,0x00050051,0x00000006, |
| 6974 | 0x00003457,0x00000001,0x00050051,0x00000006, | 6778 | 0x00003474,0x00003473,0x00000001,0x00050051, |
| 6975 | 0x00003459,0x00003457,0x00000000,0x00050080, | 6779 | 0x00000006,0x00003475,0x00003473,0x00000000, |
| 6976 | 0x00000006,0x0000345e,0x00002f42,0x00003458, | 6780 | 0x00050080,0x00000006,0x0000347a,0x000033a3, |
| 6977 | 0x00050050,0x00000007,0x0000345f,0x00003459, | 6781 | 0x00003474,0x00050050,0x00000007,0x0000347b, |
| 6978 | 0x0000345e,0x0004007c,0x00000014,0x0000344f, | 6782 | 0x00003475,0x0000347a,0x0004007c,0x00000014, |
| 6979 | 0x0000345f,0x00060041,0x0000016c,0x00003447, | 6783 | 0x0000346b,0x0000347b,0x00060041,0x00000174, |
| 6980 | 0x0000344f,0x0000016b,0x0000016b,0x0005003e, | 6784 | 0x00003462,0x0000346b,0x00000173,0x00000173, |
| 6981 | 0x00003447,0x00000138,0x00000002,0x00000004, | 6785 | 0x0006003d,0x00000006,0x00003463,0x00003462, |
| 6982 | 0x000500b4,0x0000002f,0x00002e4c,0x00002ded, | 6786 | 0x00000002,0x00000004,0x00050096,0x00000145, |
| 6983 | 0x00000426,0x00060050,0x0000054d,0x00006121, | 6787 | 0x00003484,0x000031a1,0x00003400,0x00050051, |
| 6984 | 0x00002e4c,0x00002e4c,0x00002e4c,0x000600a9, | 6788 | 0x00000006,0x00003485,0x00003484,0x00000001, |
| 6985 | 0x0000006c,0x00006122,0x00006121,0x000060fe, | 6789 | 0x00050051,0x00000006,0x00003486,0x00003484, |
| 6986 | 0x00005ef3,0x000600a9,0x0000006c,0x00006124, | 6790 | 0x00000000,0x00050082,0x00000006,0x0000348c, |
| 6987 | 0x00006121,0x00000576,0x00005ecc,0x00050041, | 6791 | 0x000031c2,0x00003421,0x00050082,0x00000006, |
| 6988 | 0x000001bb,0x000034af,0x000001b9,0x000001ba, | 6792 | 0x0000348e,0x0000348c,0x00003485,0x00050095, |
| 6989 | 0x0004003d,0x00000006,0x000034b0,0x000034af, | 6793 | 0x00000145,0x00003498,0x00003442,0x00003486, |
| 6990 | 0x00050084,0x00000006,0x000034b1,0x000001db, | 6794 | 0x00050051,0x00000006,0x00003499,0x00003498, |
| 6991 | 0x000034b0,0x00050080,0x00000006,0x000034b2, | 6795 | 0x00000001,0x00050051,0x00000006,0x0000349a, |
| 6992 | 0x000001c4,0x000034b1,0x00050080,0x00000006, | 6796 | 0x00003498,0x00000000,0x00050080,0x00000006, |
| 6993 | 0x000034b8,0x000034b0,0x0000062f,0x00050086, | 6797 | 0x000034a0,0x00003463,0x0000348e,0x00050080, |
| 6994 | 0x00000006,0x000034b9,0x000034b8,0x000001be, | 6798 | 0x00000006,0x000034a2,0x000034a0,0x00003499, |
| 6995 | 0x00050084,0x00000006,0x000034ab,0x000001c4, | 6799 | 0x00050050,0x00000007,0x000034a3,0x0000349a, |
| 6996 | 0x000034b9,0x00050080,0x00000006,0x000034ac, | 6800 | 0x000034a2,0x000200f9,0x000032e4,0x000200f8, |
| 6997 | 0x000034b2,0x000034ab,0x00050080,0x00000006, | 6801 | 0x000032e4,0x000700f5,0x00000007,0x000062a4, |
| 6998 | 0x000034a6,0x000034ac,0x000034ab,0x00050084, | 6802 | 0x00002f9f,0x000033de,0x000034a3,0x000032c9, |
| 6999 | 0x00000006,0x00003476,0x000001ef,0x000012dd, | 6803 | 0x000200f9,0x000032e5,0x000200f8,0x000032e5, |
| 7000 | 0x00050080,0x00000006,0x00003477,0x000034a6, | 6804 | 0x000700f5,0x00000007,0x000062a0,0x00002f9f, |
| 7001 | 0x00003476,0x00050041,0x00000266,0x00003478, | 6805 | 0x000032af,0x000062a4,0x000032e4,0x000700f5, |
| 7002 | 0x000001b9,0x00000264,0x0004003d,0x00000007, | 6806 | 0x0000002f,0x0000629a,0x0000037d,0x000032af, |
| 7003 | 0x00003479,0x00003478,0x00050051,0x00000027, | 6807 | 0x000033df,0x000032e4,0x000400a8,0x0000002f, |
| 7004 | 0x0000347c,0x00006124,0x00000000,0x0004007c, | 6808 | 0x000032e7,0x0000629a,0x000300f7,0x000032ed, |
| 7005 | 0x00000006,0x000034c6,0x0000347c,0x00050051, | 6809 | 0x00000000,0x000400fa,0x000032e7,0x000032e8, |
| 7006 | 0x00000006,0x000034df,0x00003479,0x00000000, | 6810 | 0x000032ed,0x000200f8,0x000032e8,0x00050041, |
| 7007 | 0x00050095,0x0000013d,0x000034e1,0x000034df, | 6811 | 0x0000026e,0x000032e9,0x000001c1,0x0000032d, |
| 7008 | 0x00003477,0x00050051,0x00000006,0x000034e2, | 6812 | 0x0004003d,0x00000007,0x000032ea,0x000032e9, |
| 7009 | 0x000034e1,0x00000001,0x00050051,0x00000006, | 6813 | 0x00050051,0x00000006,0x000034a7,0x000032ea, |
| 7010 | 0x000034e3,0x000034e1,0x00000000,0x00050051, | 6814 | 0x00000000,0x000500aa,0x0000002f,0x000034a8, |
| 7011 | 0x00000006,0x000034e6,0x00003479,0x00000001, | 6815 | 0x000034a7,0x00000140,0x000300f7,0x000034ad, |
| 7012 | 0x00050080,0x00000006,0x000034e8,0x000034e6, | 6816 | 0x00000000,0x000400fa,0x000034a8,0x000034a9, |
| 7013 | 0x000034e2,0x00050050,0x00000007,0x000034e9, | 6817 | 0x000034ad,0x000200f8,0x000034a9,0x00050051, |
| 7014 | 0x000034e3,0x000034e8,0x0004007c,0x00000014, | 6818 | 0x00000006,0x000034ab,0x000032ea,0x00000001, |
| 7015 | 0x000034d9,0x000034e9,0x00060041,0x0000016c, | 6819 | 0x000500aa,0x0000002f,0x000034ac,0x000034ab, |
| 7016 | 0x000034d1,0x000034d9,0x0000016b,0x0000016b, | 6820 | 0x00000140,0x000200f9,0x000034ad,0x000200f8, |
| 7017 | 0x0005003e,0x000034d1,0x000034c6,0x00000002, | 6821 | 0x000034ad,0x000700f5,0x0000002f,0x000034ae, |
| 7018 | 0x00000004,0x00050080,0x00000006,0x0000347f, | 6822 | 0x000034a8,0x000032e8,0x000034ac,0x000034a9, |
| 7019 | 0x00003477,0x000000ec,0x00050051,0x00000027, | 6823 | 0x000400a8,0x0000002f,0x000032ec,0x000034ae, |
| 7020 | 0x00003483,0x00006124,0x00000001,0x0004007c, | 6824 | 0x000200f9,0x000032ed,0x000200f8,0x000032ed, |
| 7021 | 0x00000006,0x000034ef,0x00003483,0x00050095, | 6825 | 0x000700f5,0x0000002f,0x000032ee,0x000032e7, |
| 7022 | 0x0000013d,0x0000350a,0x000034df,0x0000347f, | 6826 | 0x000032e5,0x000032ec,0x000034ad,0x000300f7, |
| 7023 | 0x00050051,0x00000006,0x0000350b,0x0000350a, | 6827 | 0x000032f4,0x00000000,0x000400fa,0x000032ee, |
| 7024 | 0x00000001,0x00050051,0x00000006,0x0000350c, | 6828 | 0x000032ef,0x000032f4,0x000200f8,0x000032ef, |
| 7025 | 0x0000350a,0x00000000,0x00050080,0x00000006, | 6829 | 0x00050041,0x0000026e,0x000032f0,0x000001c1, |
| 7026 | 0x00003511,0x000034e6,0x0000350b,0x00050050, | 6830 | 0x0000032d,0x0004003d,0x00000007,0x000032f1, |
| 7027 | 0x00000007,0x00003512,0x0000350c,0x00003511, | 6831 | 0x000032f0,0x00050051,0x00000006,0x000034b2, |
| 7028 | 0x0004007c,0x00000014,0x00003502,0x00003512, | 6832 | 0x000032f1,0x00000001,0x000500b0,0x0000002f, |
| 7029 | 0x00060041,0x0000016c,0x000034fa,0x00003502, | 6833 | 0x000034b5,0x000034b2,0x0000336c,0x000400a8, |
| 7030 | 0x0000016b,0x0000016b,0x0005003e,0x000034fa, | 6834 | 0x0000002f,0x000034b6,0x000034b5,0x000300f7, |
| 7031 | 0x000034ef,0x00000002,0x00000004,0x00050080, | 6835 | 0x000034c5,0x00000000,0x000400fa,0x000034b6, |
| 7032 | 0x00000006,0x00003486,0x00003477,0x000001cd, | 6836 | 0x000034b7,0x000034c5,0x000200f8,0x000034b7, |
| 7033 | 0x00050051,0x00000027,0x0000348a,0x00006124, | 6837 | 0x000500aa,0x0000002f,0x000034bc,0x000034b2, |
| 7034 | 0x00000002,0x0004007c,0x00000006,0x00003518, | 6838 | 0x0000336c,0x000300f7,0x000034c3,0x00000000, |
| 7035 | 0x0000348a,0x00050095,0x0000013d,0x00003533, | 6839 | 0x000400fa,0x000034bc,0x000034bd,0x000034c3, |
| 7036 | 0x000034df,0x00003486,0x00050051,0x00000006, | 6840 | 0x000200f8,0x000034bd,0x00050051,0x00000006, |
| 7037 | 0x00003534,0x00003533,0x00000001,0x00050051, | 6841 | 0x000034bf,0x000032f1,0x00000000,0x000500b0, |
| 7038 | 0x00000006,0x00003535,0x00003533,0x00000000, | 6842 | 0x0000002f,0x000034c2,0x000034bf,0x00003367, |
| 7039 | 0x00050080,0x00000006,0x0000353a,0x000034e6, | 6843 | 0x000200f9,0x000034c3,0x000200f8,0x000034c3, |
| 7040 | 0x00003534,0x00050050,0x00000007,0x0000353b, | 6844 | 0x000700f5,0x0000002f,0x000034c4,0x000034bc, |
| 7041 | 0x00003535,0x0000353a,0x0004007c,0x00000014, | 6845 | 0x000034b7,0x000034c2,0x000034bd,0x000200f9, |
| 7042 | 0x0000352b,0x0000353b,0x00060041,0x0000016c, | 6846 | 0x000034c5,0x000200f8,0x000034c5,0x000700f5, |
| 7043 | 0x00003523,0x0000352b,0x0000016b,0x0000016b, | 6847 | 0x0000002f,0x000034c6,0x000034b5,0x000032ef, |
| 7044 | 0x0005003e,0x00003523,0x00003518,0x00000002, | 6848 | 0x000034c4,0x000034c3,0x000200f9,0x000032f4, |
| 7045 | 0x00000004,0x00050080,0x00000006,0x0000348d, | 6849 | 0x000200f8,0x000032f4,0x000700f5,0x0000002f, |
| 7046 | 0x00003477,0x000001d4,0x00050051,0x00000027, | 6850 | 0x000032f5,0x000032ee,0x000032ed,0x000034c6, |
| 7047 | 0x00003491,0x00006122,0x00000000,0x0004007c, | 6851 | 0x000034c5,0x000300f7,0x000032f7,0x00000000, |
| 7048 | 0x00000006,0x00003541,0x00003491,0x00050095, | 6852 | 0x000400fa,0x000032f5,0x000032f6,0x000032f7, |
| 7049 | 0x0000013d,0x0000355c,0x000034df,0x0000348d, | 6853 | 0x000200f8,0x000032f6,0x000200f9,0x00003302, |
| 7050 | 0x00050051,0x00000006,0x0000355d,0x0000355c, | 6854 | 0x000200f8,0x000032f7,0x00050051,0x00000006, |
| 7051 | 0x00000001,0x00050051,0x00000006,0x0000355e, | 6855 | 0x000032f9,0x000062a0,0x00000000,0x000500c7, |
| 7052 | 0x0000355c,0x00000000,0x00050080,0x00000006, | 6856 | 0x00000006,0x000032fa,0x000032f9,0x00000695, |
| 7053 | 0x00003563,0x000034e6,0x0000355d,0x00050050, | 6857 | 0x000500aa,0x0000002f,0x000032fb,0x000032fa, |
| 7054 | 0x00000007,0x00003564,0x0000355e,0x00003563, | 6858 | 0x00000140,0x000300f7,0x00003300,0x00000000, |
| 7055 | 0x0004007c,0x00000014,0x00003554,0x00003564, | 6859 | 0x000400fa,0x000032fb,0x000032fc,0x00003300, |
| 7056 | 0x00060041,0x0000016c,0x0000354c,0x00003554, | 6860 | 0x000200f8,0x000032fc,0x00050051,0x00000006, |
| 7057 | 0x0000016b,0x0000016b,0x0005003e,0x0000354c, | 6861 | 0x000032fe,0x000062a0,0x00000001,0x000500b0, |
| 7058 | 0x00003541,0x00000002,0x00000004,0x00050080, | 6862 | 0x0000002f,0x000032ff,0x000032fe,0x000001c6, |
| 7059 | 0x00000006,0x00003494,0x00003477,0x000001db, | 6863 | 0x000200f9,0x00003300,0x000200f8,0x00003300, |
| 7060 | 0x00050051,0x00000027,0x00003498,0x00006122, | 6864 | 0x000700f5,0x0000002f,0x00003301,0x000032fb, |
| 7061 | 0x00000001,0x0004007c,0x00000006,0x0000356a, | 6865 | 0x000032f7,0x000032ff,0x000032fc,0x000200f9, |
| 7062 | 0x00003498,0x00050095,0x0000013d,0x00003585, | 6866 | 0x00003302,0x000200f8,0x00003302,0x000d00f5, |
| 7063 | 0x000034df,0x00003494,0x00050051,0x00000006, | 6867 | 0x00000007,0x000062ab,0x00002f9f,0x00003284, |
| 7064 | 0x00003586,0x00003585,0x00000001,0x00050051, | 6868 | 0x00002f9f,0x000032ae,0x00002f9f,0x000032c8, |
| 7065 | 0x00000006,0x00003587,0x00003585,0x00000000, | 6869 | 0x000062a0,0x000032f6,0x000062a0,0x00003300, |
| 7066 | 0x00050080,0x00000006,0x0000358c,0x000034e6, | 6870 | 0x000d00f5,0x0000002f,0x000062aa,0x00000444, |
| 7067 | 0x00003586,0x00050050,0x00000007,0x0000358d, | 6871 | 0x00003284,0x0000037d,0x000032ae,0x0000037d, |
| 7068 | 0x00003587,0x0000358c,0x0004007c,0x00000014, | 6872 | 0x000032c8,0x0000037d,0x000032f6,0x00003301, |
| 7069 | 0x0000357d,0x0000358d,0x00060041,0x0000016c, | 6873 | 0x00003300,0x000200f9,0x00002fce,0x000200f8, |
| 7070 | 0x00003575,0x0000357d,0x0000016b,0x0000016b, | 6874 | 0x00002fce,0x000700f5,0x00000007,0x000062af, |
| 7071 | 0x0005003e,0x00003575,0x0000356a,0x00000002, | 6875 | 0x00002f9f,0x0000324d,0x000062ab,0x00003302, |
| 7072 | 0x00000004,0x00050080,0x00000006,0x0000349b, | 6876 | 0x000700f5,0x0000002f,0x00002fcf,0x00002fc9, |
| 7073 | 0x00003477,0x00000299,0x00050051,0x00000027, | 6877 | 0x0000324d,0x000062aa,0x00003302,0x000300f7, |
| 7074 | 0x0000349f,0x00006122,0x00000002,0x0004007c, | 6878 | 0x00003066,0x00000000,0x000400fa,0x00002fcf, |
| 7075 | 0x00000006,0x00003593,0x0000349f,0x00050095, | 6879 | 0x00002fd1,0x00003066,0x000200f8,0x00002fd1, |
| 7076 | 0x0000013d,0x000035ae,0x000034df,0x0000349b, | 6880 | 0x00050041,0x0000026e,0x00002fd3,0x000001c1, |
| 7077 | 0x00050051,0x00000006,0x000035af,0x000035ae, | 6881 | 0x00000335,0x0004003d,0x00000007,0x00002fd4, |
| 7078 | 0x00000001,0x00050051,0x00000006,0x000035b0, | 6882 | 0x00002fd3,0x00050051,0x00000006,0x000034cc, |
| 7079 | 0x000035ae,0x00000000,0x00050080,0x00000006, | 6883 | 0x000062af,0x00000000,0x00050051,0x00000006, |
| 7080 | 0x000035b5,0x000034e6,0x000035af,0x00050050, | 6884 | 0x000034ce,0x00002fd4,0x00000000,0x00050095, |
| 7081 | 0x00000007,0x000035b6,0x000035b0,0x000035b5, | 6885 | 0x00000145,0x000034cf,0x000034cc,0x000034ce, |
| 7082 | 0x0004007c,0x00000014,0x000035a6,0x000035b6, | 6886 | 0x00050051,0x00000006,0x000034d0,0x000034cf, |
| 7083 | 0x00060041,0x0000016c,0x0000359e,0x000035a6, | 6887 | 0x00000001,0x00050051,0x00000006,0x000034d1, |
| 7084 | 0x0000016b,0x0000016b,0x0005003e,0x0000359e, | 6888 | 0x000034cf,0x00000000,0x00050051,0x00000006, |
| 7085 | 0x00003593,0x00000002,0x00000004,0x000300f7, | 6889 | 0x000034d4,0x000062af,0x00000001,0x00050051, |
| 7086 | 0x000035f6,0x00000000,0x000300fb,0x00000138, | 6890 | 0x00000006,0x000034d6,0x00002fd4,0x00000001, |
| 7087 | 0x000035c5,0x000200f8,0x000035c5,0x000500bc, | 6891 | 0x00050080,0x00000006,0x000034d7,0x000034d4, |
| 7088 | 0x0000002f,0x000035fd,0x0000347c,0x00003491, | 6892 | 0x000034d6,0x00050080,0x00000006,0x000034d9, |
| 7089 | 0x000300f7,0x00003604,0x00000000,0x000400fa, | 6893 | 0x000034d7,0x000034d0,0x00050095,0x00000145, |
| 7090 | 0x000035fd,0x000035fe,0x00003604,0x000200f8, | 6894 | 0x000034f3,0x000034d1,0x00000588,0x00050051, |
| 7091 | 0x000035fe,0x000500bc,0x0000002f,0x00003603, | 6895 | 0x00000006,0x000034f4,0x000034f3,0x00000001, |
| 7092 | 0x00003483,0x00003498,0x000200f9,0x00003604, | 6896 | 0x00050051,0x00000006,0x000034f5,0x000034f3, |
| 7093 | 0x000200f8,0x00003604,0x000700f5,0x0000002f, | 6897 | 0x00000000,0x00050080,0x00000006,0x000034fa, |
| 7094 | 0x00003605,0x000035fd,0x000035c5,0x00003603, | 6898 | 0x000034d9,0x000034f4,0x00050050,0x00000007, |
| 7095 | 0x000035fe,0x000300f7,0x0000360c,0x00000000, | 6899 | 0x000034fb,0x000034f5,0x000034fa,0x0004007c, |
| 7096 | 0x000400fa,0x00003605,0x00003606,0x0000360c, | 6900 | 0x00000014,0x000034eb,0x000034fb,0x00060041, |
| 7097 | 0x000200f8,0x00003606,0x000500bc,0x0000002f, | 6901 | 0x00000174,0x000034e2,0x000034eb,0x00000173, |
| 7098 | 0x0000360b,0x0000348a,0x0000349f,0x000200f9, | 6902 | 0x00000173,0x0006003d,0x00000006,0x000034e3, |
| 7099 | 0x0000360c,0x000200f8,0x0000360c,0x000700f5, | 6903 | 0x000034e2,0x00000002,0x00000004,0x00050095, |
| 7100 | 0x0000002f,0x0000360d,0x00003605,0x00003604, | 6904 | 0x00000145,0x00003514,0x000034d1,0x000001e3, |
| 7101 | 0x0000360b,0x00003606,0x000400a8,0x0000002f, | 6905 | 0x00050051,0x00000006,0x00003515,0x00003514, |
| 7102 | 0x0000360e,0x0000360d,0x000300f7,0x000035ca, | 6906 | 0x00000001,0x00050051,0x00000006,0x00003516, |
| 7103 | 0x00000000,0x000400fa,0x0000360e,0x000035c9, | 6907 | 0x00003514,0x00000000,0x00050080,0x00000006, |
| 7104 | 0x000035ca,0x000200f8,0x000035c9,0x000200f9, | 6908 | 0x0000351b,0x000034d9,0x00003515,0x00050050, |
| 7105 | 0x000035f6,0x000200f8,0x000035ca,0x00050081, | 6909 | 0x00000007,0x0000351c,0x00003516,0x0000351b, |
| 7106 | 0x0000006c,0x000035cd,0x00006124,0x00006122, | 6910 | 0x0004007c,0x00000014,0x0000350c,0x0000351c, |
| 7107 | 0x0005008e,0x0000006c,0x000035ce,0x000035cd, | 6911 | 0x00060041,0x00000174,0x00003503,0x0000350c, |
| 7108 | 0x000002fd,0x00050095,0x0000013d,0x0000361e, | 6912 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 7109 | 0x000034df,0x00000138,0x00050051,0x00000006, | 6913 | 0x00003504,0x00003503,0x00000002,0x00000004, |
| 7110 | 0x0000361f,0x0000361e,0x00000001,0x00050051, | 6914 | 0x0004007c,0x00000027,0x00002fda,0x00003504, |
| 7111 | 0x00000006,0x00003620,0x0000361e,0x00000000, | 6915 | 0x00050095,0x00000145,0x00003535,0x000034d1, |
| 7112 | 0x00050080,0x00000006,0x00003625,0x000034e6, | 6916 | 0x000002a1,0x00050051,0x00000006,0x00003536, |
| 7113 | 0x0000361f,0x00050050,0x00000007,0x00003626, | 6917 | 0x00003535,0x00000001,0x00050051,0x00000006, |
| 7114 | 0x00003620,0x00003625,0x0004007c,0x00000014, | 6918 | 0x00003537,0x00003535,0x00000000,0x00050080, |
| 7115 | 0x00003616,0x00003626,0x00060041,0x0000016c, | 6919 | 0x00000006,0x0000353c,0x000034d9,0x00003536, |
| 7116 | 0x000035d3,0x00003616,0x0000016b,0x0000016b, | 6920 | 0x00050050,0x00000007,0x0000353d,0x00003537, |
| 7117 | 0x00050051,0x00000027,0x000035d5,0x000035ce, | 6921 | 0x0000353c,0x0004007c,0x00000014,0x0000352d, |
| 7118 | 0x00000000,0x0004007c,0x00000006,0x0000362c, | 6922 | 0x0000353d,0x00060041,0x00000174,0x00003524, |
| 7119 | 0x000035d5,0x000500c7,0x00000006,0x0000362e, | 6923 | 0x0000352d,0x00000173,0x00000173,0x0006003d, |
| 7120 | 0x0000362c,0x00000241,0x000500ab,0x0000002f, | 6924 | 0x00000006,0x00003525,0x00003524,0x00000002, |
| 7121 | 0x0000362f,0x0000362e,0x00000138,0x000300f7, | 6925 | 0x00000004,0x0004007c,0x00000027,0x00002fdd, |
| 7122 | 0x00003636,0x00000000,0x000400fa,0x0000362f, | 6926 | 0x00003525,0x00050095,0x00000145,0x00003556, |
| 7123 | 0x00003630,0x00003633,0x000200f8,0x00003633, | 6927 | 0x000034d1,0x000001f7,0x00050051,0x00000006, |
| 7124 | 0x000500c5,0x00000006,0x00003635,0x0000362c, | 6928 | 0x00003557,0x00003556,0x00000001,0x00050051, |
| 7125 | 0x00000241,0x000200f9,0x00003636,0x000200f8, | 6929 | 0x00000006,0x00003558,0x00003556,0x00000000, |
| 7126 | 0x00003630,0x000400c8,0x00000006,0x00003632, | 6930 | 0x00050080,0x00000006,0x0000355d,0x000034d9, |
| 7127 | 0x0000362c,0x000200f9,0x00003636,0x000200f8, | 6931 | 0x00003557,0x00050050,0x00000007,0x0000355e, |
| 7128 | 0x00003636,0x000700f5,0x00000006,0x00005f0e, | 6932 | 0x00003558,0x0000355d,0x0004007c,0x00000014, |
| 7129 | 0x00003632,0x00003630,0x00003635,0x00003633, | 6933 | 0x0000354e,0x0000355e,0x00060041,0x00000174, |
| 7130 | 0x000700ed,0x00000006,0x000035d7,0x000035d3, | 6934 | 0x00003545,0x0000354e,0x00000173,0x00000173, |
| 7131 | 0x00000142,0x00000138,0x00005f0e,0x00060041, | 6935 | 0x0006003d,0x00000006,0x00003546,0x00003545, |
| 7132 | 0x0000016c,0x000035d9,0x00003616,0x0000016b, | ||
| 7133 | 0x00000264,0x00050051,0x00000027,0x000035db, | ||
| 7134 | 0x000035ce,0x00000001,0x0004007c,0x00000006, | ||
| 7135 | 0x0000363d,0x000035db,0x000500c7,0x00000006, | ||
| 7136 | 0x0000363f,0x0000363d,0x00000241,0x000500ab, | ||
| 7137 | 0x0000002f,0x00003640,0x0000363f,0x00000138, | ||
| 7138 | 0x000300f7,0x00003647,0x00000000,0x000400fa, | ||
| 7139 | 0x00003640,0x00003641,0x00003644,0x000200f8, | ||
| 7140 | 0x00003644,0x000500c5,0x00000006,0x00003646, | ||
| 7141 | 0x0000363d,0x00000241,0x000200f9,0x00003647, | ||
| 7142 | 0x000200f8,0x00003641,0x000400c8,0x00000006, | ||
| 7143 | 0x00003643,0x0000363d,0x000200f9,0x00003647, | ||
| 7144 | 0x000200f8,0x00003647,0x000700f5,0x00000006, | ||
| 7145 | 0x00005f0f,0x00003643,0x00003641,0x00003646, | ||
| 7146 | 0x00003644,0x000700ed,0x00000006,0x000035dd, | ||
| 7147 | 0x000035d9,0x00000142,0x00000138,0x00005f0f, | ||
| 7148 | 0x00060041,0x0000016c,0x000035df,0x00003616, | ||
| 7149 | 0x0000016b,0x00000315,0x00050051,0x00000027, | ||
| 7150 | 0x000035e1,0x000035ce,0x00000002,0x0004007c, | ||
| 7151 | 0x00000006,0x0000364e,0x000035e1,0x000500c7, | ||
| 7152 | 0x00000006,0x00003650,0x0000364e,0x00000241, | ||
| 7153 | 0x000500ab,0x0000002f,0x00003651,0x00003650, | ||
| 7154 | 0x00000138,0x000300f7,0x00003658,0x00000000, | ||
| 7155 | 0x000400fa,0x00003651,0x00003652,0x00003655, | ||
| 7156 | 0x000200f8,0x00003655,0x000500c5,0x00000006, | ||
| 7157 | 0x00003657,0x0000364e,0x00000241,0x000200f9, | ||
| 7158 | 0x00003658,0x000200f8,0x00003652,0x000400c8, | ||
| 7159 | 0x00000006,0x00003654,0x0000364e,0x000200f9, | ||
| 7160 | 0x00003658,0x000200f8,0x00003658,0x000700f5, | ||
| 7161 | 0x00000006,0x00005f10,0x00003654,0x00003652, | ||
| 7162 | 0x00003657,0x00003655,0x000700ed,0x00000006, | ||
| 7163 | 0x000035e3,0x000035df,0x00000142,0x00000138, | ||
| 7164 | 0x00005f10,0x00060041,0x0000016c,0x000035e5, | ||
| 7165 | 0x00003616,0x0000016b,0x0000031d,0x000300f7, | ||
| 7166 | 0x00003669,0x00000000,0x000400fa,0x0000362f, | ||
| 7167 | 0x00003663,0x00003666,0x000200f8,0x00003666, | ||
| 7168 | 0x000500c5,0x00000006,0x00003668,0x0000362c, | ||
| 7169 | 0x00000241,0x000200f9,0x00003669,0x000200f8, | ||
| 7170 | 0x00003663,0x000400c8,0x00000006,0x00003665, | ||
| 7171 | 0x0000362c,0x000200f9,0x00003669,0x000200f8, | ||
| 7172 | 0x00003669,0x000700f5,0x00000006,0x00005f11, | ||
| 7173 | 0x00003665,0x00003663,0x00003668,0x00003666, | ||
| 7174 | 0x000700ef,0x00000006,0x000035e9,0x000035e5, | ||
| 7175 | 0x00000142,0x00000138,0x00005f11,0x00060041, | ||
| 7176 | 0x0000016c,0x000035eb,0x00003616,0x0000016b, | ||
| 7177 | 0x00000325,0x000300f7,0x0000367a,0x00000000, | ||
| 7178 | 0x000400fa,0x00003640,0x00003674,0x00003677, | ||
| 7179 | 0x000200f8,0x00003677,0x000500c5,0x00000006, | ||
| 7180 | 0x00003679,0x0000363d,0x00000241,0x000200f9, | ||
| 7181 | 0x0000367a,0x000200f8,0x00003674,0x000400c8, | ||
| 7182 | 0x00000006,0x00003676,0x0000363d,0x000200f9, | ||
| 7183 | 0x0000367a,0x000200f8,0x0000367a,0x000700f5, | ||
| 7184 | 0x00000006,0x00005f12,0x00003676,0x00003674, | ||
| 7185 | 0x00003679,0x00003677,0x000700ef,0x00000006, | ||
| 7186 | 0x000035ef,0x000035eb,0x00000142,0x00000138, | ||
| 7187 | 0x00005f12,0x00060041,0x0000016c,0x000035f1, | ||
| 7188 | 0x00003616,0x0000016b,0x0000032d,0x000300f7, | ||
| 7189 | 0x0000368b,0x00000000,0x000400fa,0x00003651, | ||
| 7190 | 0x00003685,0x00003688,0x000200f8,0x00003688, | ||
| 7191 | 0x000500c5,0x00000006,0x0000368a,0x0000364e, | ||
| 7192 | 0x00000241,0x000200f9,0x0000368b,0x000200f8, | ||
| 7193 | 0x00003685,0x000400c8,0x00000006,0x00003687, | ||
| 7194 | 0x0000364e,0x000200f9,0x0000368b,0x000200f8, | ||
| 7195 | 0x0000368b,0x000700f5,0x00000006,0x00005f13, | ||
| 7196 | 0x00003687,0x00003685,0x0000368a,0x00003688, | ||
| 7197 | 0x000700ef,0x00000006,0x000035f5,0x000035f1, | ||
| 7198 | 0x00000142,0x00000138,0x00005f13,0x000200f9, | ||
| 7199 | 0x000035f6,0x000200f8,0x000035f6,0x000200f9, | ||
| 7200 | 0x000013c7,0x000200f8,0x000013c7,0x000200f9, | ||
| 7201 | 0x000013be,0x000200f8,0x000013bd,0x000200f9, | ||
| 7202 | 0x00002608,0x000200f8,0x00002608,0x000700f5, | ||
| 7203 | 0x00000006,0x00005f20,0x00000138,0x000013bd, | ||
| 7204 | 0x00002618,0x00002616,0x000500b0,0x0000002f, | ||
| 7205 | 0x0000260b,0x00005f20,0x00000470,0x000400f6, | ||
| 7206 | 0x00002619,0x00002616,0x00000000,0x000400fa, | ||
| 7207 | 0x0000260b,0x0000260c,0x00002619,0x000200f8, | ||
| 7208 | 0x0000260c,0x00050084,0x00000006,0x0000260f, | ||
| 7209 | 0x00000470,0x000012dd,0x00050080,0x00000006, | ||
| 7210 | 0x00002611,0x0000260f,0x00005f20,0x000300f7, | ||
| 7211 | 0x000026d4,0x00000000,0x000300fb,0x00000138, | ||
| 7212 | 0x000026b2,0x000200f8,0x000026b2,0x00050041, | ||
| 7213 | 0x000001bb,0x000026b3,0x000001b9,0x00000434, | ||
| 7214 | 0x0004003d,0x00000006,0x000026b4,0x000026b3, | ||
| 7215 | 0x000500aa,0x0000002f,0x000026b5,0x000026b4, | ||
| 7216 | 0x00000138,0x000300f7,0x000026b8,0x00000000, | ||
| 7217 | 0x000400fa,0x000026b5,0x000026b6,0x000026b8, | ||
| 7218 | 0x000200f8,0x000026b6,0x000200f9,0x000026d4, | ||
| 7219 | 0x000200f8,0x000026b8,0x000500aa,0x0000002f, | ||
| 7220 | 0x000026bb,0x000026b4,0x00000280,0x000300f7, | ||
| 7221 | 0x000026c2,0x00000000,0x000400fa,0x000026bb, | ||
| 7222 | 0x000026bc,0x000026c2,0x000200f8,0x000026bc, | ||
| 7223 | 0x00050084,0x00000006,0x000026be,0x000000ec, | ||
| 7224 | 0x00002611,0x00050041,0x00000266,0x000026bf, | ||
| 7225 | 0x000001b9,0x0000031d,0x0004003d,0x00000007, | ||
| 7226 | 0x000026c0,0x000026bf,0x00050051,0x00000006, | ||
| 7227 | 0x000026ec,0x000026c0,0x00000000,0x00050095, | ||
| 7228 | 0x0000013d,0x000026ee,0x000026ec,0x000026be, | ||
| 7229 | 0x00050051,0x00000006,0x000026ef,0x000026ee, | ||
| 7230 | 0x00000001,0x00050051,0x00000006,0x000026f0, | ||
| 7231 | 0x000026ee,0x00000000,0x00050051,0x00000006, | ||
| 7232 | 0x000026f3,0x000026c0,0x00000001,0x00050080, | ||
| 7233 | 0x00000006,0x000026f5,0x000026f3,0x000026ef, | ||
| 7234 | 0x00050050,0x00000007,0x000026f6,0x000026f0, | ||
| 7235 | 0x000026f5,0x0004007c,0x00000014,0x000026e6, | ||
| 7236 | 0x000026f6,0x00060041,0x0000016c,0x000026dd, | ||
| 7237 | 0x000026e6,0x0000016b,0x0000016b,0x0006003d, | ||
| 7238 | 0x00000006,0x000026de,0x000026dd,0x00000002, | ||
| 7239 | 0x00000004,0x000200f9,0x000026d4,0x000200f8, | ||
| 7240 | 0x000026c2,0x000500c2,0x00000006,0x000026c4, | ||
| 7241 | 0x00002611,0x00000264,0x00050084,0x00000006, | ||
| 7242 | 0x000026c5,0x000000ec,0x000026c4,0x00050041, | ||
| 7243 | 0x00000266,0x000026c6,0x000001b9,0x0000031d, | ||
| 7244 | 0x0004003d,0x00000007,0x000026c7,0x000026c6, | ||
| 7245 | 0x00050051,0x00000006,0x0000270d,0x000026c7, | ||
| 7246 | 0x00000000,0x00050095,0x0000013d,0x0000270f, | ||
| 7247 | 0x0000270d,0x000026c5,0x00050051,0x00000006, | ||
| 7248 | 0x00002710,0x0000270f,0x00000001,0x00050051, | ||
| 7249 | 0x00000006,0x00002711,0x0000270f,0x00000000, | ||
| 7250 | 0x00050051,0x00000006,0x00002714,0x000026c7, | ||
| 7251 | 0x00000001,0x00050080,0x00000006,0x00002716, | ||
| 7252 | 0x00002714,0x00002710,0x00050050,0x00000007, | ||
| 7253 | 0x00002717,0x00002711,0x00002716,0x0004007c, | ||
| 7254 | 0x00000014,0x00002707,0x00002717,0x00060041, | ||
| 7255 | 0x0000016c,0x000026fe,0x00002707,0x0000016b, | ||
| 7256 | 0x0000016b,0x0006003d,0x00000006,0x000026ff, | ||
| 7257 | 0x000026fe,0x00000002,0x00000004,0x000500c7, | ||
| 7258 | 0x00000006,0x000026ca,0x00002611,0x00000142, | ||
| 7259 | 0x000500ab,0x0000002f,0x000026cb,0x000026ca, | ||
| 7260 | 0x00000138,0x000300f7,0x000026d2,0x00000000, | ||
| 7261 | 0x000400fa,0x000026cb,0x000026cc,0x000026cf, | ||
| 7262 | 0x000200f8,0x000026cf,0x000500c7,0x00000006, | ||
| 7263 | 0x000026d1,0x000026ff,0x0000045c,0x000200f9, | ||
| 7264 | 0x000026d2,0x000200f8,0x000026cc,0x000500c2, | ||
| 7265 | 0x00000006,0x000026ce,0x000026ff,0x0000035a, | ||
| 7266 | 0x000200f9,0x000026d2,0x000200f8,0x000026d2, | ||
| 7267 | 0x000700f5,0x00000006,0x00005f2a,0x000026ce, | ||
| 7268 | 0x000026cc,0x000026d1,0x000026cf,0x000200f9, | ||
| 7269 | 0x000026d4,0x000200f8,0x000026d4,0x000900f5, | ||
| 7270 | 0x00000006,0x00005f2b,0x00002611,0x000026b6, | ||
| 7271 | 0x000026de,0x000026bc,0x00005f2a,0x000026d2, | ||
| 7272 | 0x00050041,0x000001bb,0x00002728,0x000001b9, | ||
| 7273 | 0x00000206,0x0004003d,0x00000006,0x00002729, | ||
| 7274 | 0x00002728,0x00050084,0x00000006,0x0000272a, | ||
| 7275 | 0x00005f2b,0x00002729,0x00050041,0x00000266, | ||
| 7276 | 0x0000272b,0x000001b9,0x00000315,0x0004003d, | ||
| 7277 | 0x00000007,0x0000272c,0x0000272b,0x00050051, | ||
| 7278 | 0x00000006,0x00002747,0x0000272c,0x00000000, | ||
| 7279 | 0x00050095,0x0000013d,0x00002749,0x00002747, | ||
| 7280 | 0x0000272a,0x00050051,0x00000006,0x0000274a, | ||
| 7281 | 0x00002749,0x00000001,0x00050051,0x00000006, | ||
| 7282 | 0x0000274b,0x00002749,0x00000000,0x00050051, | ||
| 7283 | 0x00000006,0x0000274e,0x0000272c,0x00000001, | ||
| 7284 | 0x00050080,0x00000006,0x00002750,0x0000274e, | ||
| 7285 | 0x0000274a,0x00050095,0x0000013d,0x0000276a, | ||
| 7286 | 0x0000274b,0x00000138,0x00050051,0x00000006, | ||
| 7287 | 0x0000276b,0x0000276a,0x00000001,0x00050051, | ||
| 7288 | 0x00000006,0x0000276c,0x0000276a,0x00000000, | ||
| 7289 | 0x00050080,0x00000006,0x00002771,0x00002750, | ||
| 7290 | 0x0000276b,0x00050050,0x00000007,0x00002772, | ||
| 7291 | 0x0000276c,0x00002771,0x0004007c,0x00000014, | ||
| 7292 | 0x00002762,0x00002772,0x00060041,0x0000016c, | ||
| 7293 | 0x00002759,0x00002762,0x0000016b,0x0000016b, | ||
| 7294 | 0x0006003d,0x00000006,0x0000275a,0x00002759, | ||
| 7295 | 0x00000002,0x00000004,0x0004007c,0x00000027, | 6936 | 0x00000002,0x00000004,0x0004007c,0x00000027, |
| 7296 | 0x00002730,0x0000275a,0x00050095,0x0000013d, | 6937 | 0x00002fe0,0x00003546,0x00050095,0x00000145, |
| 7297 | 0x0000278b,0x0000274b,0x000000ec,0x00050051, | 6938 | 0x00003577,0x000034d1,0x0000073f,0x00050051, |
| 7298 | 0x00000006,0x0000278c,0x0000278b,0x00000001, | 6939 | 0x00000006,0x00003578,0x00003577,0x00000001, |
| 7299 | 0x00050051,0x00000006,0x0000278d,0x0000278b, | 6940 | 0x00050051,0x00000006,0x00003579,0x00003577, |
| 7300 | 0x00000000,0x00050080,0x00000006,0x00002792, | 6941 | 0x00000000,0x00050080,0x00000006,0x0000357e, |
| 7301 | 0x00002750,0x0000278c,0x00050050,0x00000007, | 6942 | 0x000034d9,0x00003578,0x00050050,0x00000007, |
| 7302 | 0x00002793,0x0000278d,0x00002792,0x0004007c, | 6943 | 0x0000357f,0x00003579,0x0000357e,0x0004007c, |
| 7303 | 0x00000014,0x00002783,0x00002793,0x00060041, | 6944 | 0x00000014,0x0000356f,0x0000357f,0x00060041, |
| 7304 | 0x0000016c,0x0000277a,0x00002783,0x0000016b, | 6945 | 0x00000174,0x00003566,0x0000356f,0x00000173, |
| 7305 | 0x0000016b,0x0006003d,0x00000006,0x0000277b, | 6946 | 0x00000173,0x0006003d,0x00000006,0x00003567, |
| 7306 | 0x0000277a,0x00000002,0x00000004,0x0004007c, | 6947 | 0x00003566,0x00000002,0x00000004,0x0004007c, |
| 7307 | 0x00000027,0x00002733,0x0000277b,0x00050041, | 6948 | 0x00000027,0x00002fe4,0x00003567,0x00050095, |
| 7308 | 0x000001bb,0x00002734,0x000001b9,0x000003b6, | 6949 | 0x00000145,0x00003598,0x000034d1,0x0000020d, |
| 7309 | 0x0004003d,0x00000006,0x00002735,0x00002734, | 6950 | 0x00050051,0x00000006,0x00003599,0x00003598, |
| 7310 | 0x000500aa,0x0000002f,0x00002736,0x00002735, | 6951 | 0x00000001,0x00050051,0x00000006,0x0000359a, |
| 7311 | 0x00000142,0x000300f7,0x0000273c,0x00000000, | 6952 | 0x00003598,0x00000000,0x00050080,0x00000006, |
| 7312 | 0x000400fa,0x00002736,0x00002737,0x00002738, | 6953 | 0x0000359f,0x000034d9,0x00003599,0x00050050, |
| 7313 | 0x000200f8,0x00002738,0x00050095,0x0000013d, | 6954 | 0x00000007,0x000035a0,0x0000359a,0x0000359f, |
| 7314 | 0x000027ac,0x0000274b,0x000001cd,0x00050051, | 6955 | 0x0004007c,0x00000014,0x00003590,0x000035a0, |
| 7315 | 0x00000006,0x000027ad,0x000027ac,0x00000001, | 6956 | 0x00060041,0x00000174,0x00003587,0x00003590, |
| 7316 | 0x00050051,0x00000006,0x000027ae,0x000027ac, | 6957 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 7317 | 0x00000000,0x00050080,0x00000006,0x000027b3, | 6958 | 0x00003588,0x00003587,0x00000002,0x00000004, |
| 7318 | 0x00002750,0x000027ad,0x00050050,0x00000007, | 6959 | 0x0004007c,0x00000027,0x00002fe7,0x00003588, |
| 7319 | 0x000027b4,0x000027ae,0x000027b3,0x0004007c, | 6960 | 0x00050095,0x00000145,0x000035b9,0x000034d1, |
| 7320 | 0x00000014,0x000027a4,0x000027b4,0x00060041, | 6961 | 0x00000567,0x00050051,0x00000006,0x000035ba, |
| 7321 | 0x0000016c,0x0000279b,0x000027a4,0x0000016b, | 6962 | 0x000035b9,0x00000001,0x00050051,0x00000006, |
| 7322 | 0x0000016b,0x0006003d,0x00000006,0x0000279c, | 6963 | 0x000035bb,0x000035b9,0x00000000,0x00050080, |
| 7323 | 0x0000279b,0x00000002,0x00000004,0x0004007c, | 6964 | 0x00000006,0x000035c0,0x000034d9,0x000035ba, |
| 7324 | 0x00000027,0x0000273b,0x0000279c,0x000200f9, | 6965 | 0x00050050,0x00000007,0x000035c1,0x000035bb, |
| 7325 | 0x0000273c,0x000200f8,0x00002737,0x000200f9, | 6966 | 0x000035c0,0x0004007c,0x00000014,0x000035b1, |
| 7326 | 0x0000273c,0x000200f8,0x0000273c,0x000700f5, | 6967 | 0x000035c1,0x00060041,0x00000174,0x000035a8, |
| 7327 | 0x00000027,0x00005f2c,0x00000426,0x00002737, | 6968 | 0x000035b1,0x00000173,0x00000173,0x0006003d, |
| 7328 | 0x0000273b,0x00002738,0x00060050,0x0000006c, | 6969 | 0x00000006,0x000035a9,0x000035a8,0x00000002, |
| 7329 | 0x00002741,0x00002730,0x00002733,0x00005f2c, | 6970 | 0x00000004,0x0004007c,0x00000027,0x00002fea, |
| 7330 | 0x000300f7,0x000027fa,0x00000000,0x000300fb, | 6971 | 0x000035a9,0x000500bc,0x0000002f,0x000035c8, |
| 7331 | 0x00000138,0x000027c6,0x000200f8,0x000027c6, | 6972 | 0x00002fda,0x00002fe4,0x000300f7,0x000035cf, |
| 7332 | 0x00050041,0x00000266,0x000027c7,0x000001b9, | 6973 | 0x00000000,0x000400fa,0x000035c8,0x000035c9, |
| 7333 | 0x00000325,0x0004003d,0x00000007,0x000027c8, | 6974 | 0x000035cf,0x000200f8,0x000035c9,0x000500bc, |
| 7334 | 0x000027c7,0x00050051,0x00000006,0x000027ff, | 6975 | 0x0000002f,0x000035ce,0x00002fdd,0x00002fe7, |
| 7335 | 0x000027c8,0x00000000,0x000500aa,0x0000002f, | 6976 | 0x000200f9,0x000035cf,0x000200f8,0x000035cf, |
| 7336 | 0x00002800,0x000027ff,0x00000138,0x000300f7, | 6977 | 0x000700f5,0x0000002f,0x000035d0,0x000035c8, |
| 7337 | 0x00002805,0x00000000,0x000400fa,0x00002800, | 6978 | 0x00002fd1,0x000035ce,0x000035c9,0x000300f7, |
| 7338 | 0x00002801,0x00002805,0x000200f8,0x00002801, | 6979 | 0x000035d7,0x00000000,0x000400fa,0x000035d0, |
| 7339 | 0x00050051,0x00000006,0x00002803,0x000027c8, | 6980 | 0x000035d1,0x000035d7,0x000200f8,0x000035d1, |
| 7340 | 0x00000001,0x000500aa,0x0000002f,0x00002804, | 6981 | 0x000500bc,0x0000002f,0x000035d6,0x00002fe0, |
| 7341 | 0x00002803,0x00000138,0x000200f9,0x00002805, | 6982 | 0x00002fea,0x000200f9,0x000035d7,0x000200f8, |
| 7342 | 0x000200f8,0x00002805,0x000700f5,0x0000002f, | 6983 | 0x000035d7,0x000700f5,0x0000002f,0x000035d8, |
| 7343 | 0x00002806,0x00002800,0x000027c6,0x00002804, | 6984 | 0x000035d0,0x000035cf,0x000035d6,0x000035d1, |
| 7344 | 0x00002801,0x000300f7,0x000027cc,0x00000000, | 6985 | 0x000300f7,0x00002ff4,0x00000000,0x000400fa, |
| 7345 | 0x000400fa,0x00002806,0x000027ca,0x000027cc, | 6986 | 0x000035d8,0x00002ff0,0x00002ff4,0x000200f8, |
| 7346 | 0x000200f8,0x000027ca,0x000200f9,0x000027fa, | 6987 | 0x00002ff0,0x000500c2,0x00000006,0x00002ff2, |
| 7347 | 0x000200f8,0x000027cc,0x000200f9,0x000027cd, | 6988 | 0x0000315f,0x00000759,0x000500ab,0x0000002f, |
| 7348 | 0x000200f8,0x000027cd,0x000700f5,0x00000006, | 6989 | 0x00002ff3,0x00002ff2,0x00000140,0x000200f9, |
| 7349 | 0x00005f2d,0x00000138,0x000027cc,0x000027f7, | 6990 | 0x00002ff4,0x000200f8,0x00002ff4,0x000700f5, |
| 7350 | 0x000027d1,0x000500b0,0x0000002f,0x000027d0, | 6991 | 0x0000002f,0x00002ff5,0x000035d8,0x000035d7, |
| 7351 | 0x00005f2d,0x00000470,0x000400f6,0x000027f8, | 6992 | 0x00002ff3,0x00002ff0,0x000300f7,0x00003065, |
| 7352 | 0x000027d1,0x00000000,0x000400fa,0x000027d0, | 6993 | 0x00000000,0x000400fa,0x00002ff5,0x00002ff6, |
| 7353 | 0x000027d1,0x000027f8,0x000200f8,0x000027d1, | 6994 | 0x00003065,0x000200f8,0x00002ff6,0x000200f9, |
| 7354 | 0x00050084,0x00000006,0x000027d3,0x000001db, | 6995 | 0x00002ff7,0x000200f8,0x00002ff7,0x000700f5, |
| 7355 | 0x00005f2d,0x00050095,0x0000013d,0x0000281f, | 6996 | 0x0000006c,0x00006333,0x00006532,0x00002ff6, |
| 7356 | 0x000027ff,0x000027d3,0x00050051,0x00000006, | 6997 | 0x00003060,0x00002ffb,0x000700f5,0x0000006c, |
| 7357 | 0x00002820,0x0000281f,0x00000001,0x00050051, | 6998 | 0x0000630c,0x000005dc,0x00002ff6,0x0000305d, |
| 7358 | 0x00000006,0x00002821,0x0000281f,0x00000000, | 6999 | 0x00002ffb,0x000700f5,0x00000006,0x000062b1, |
| 7359 | 0x00050051,0x00000006,0x00002824,0x000027c8, | 7000 | 0x00000140,0x00002ff6,0x00003063,0x00002ffb, |
| 7360 | 0x00000001,0x00050080,0x00000006,0x00002826, | 7001 | 0x000500b0,0x0000002f,0x00002ffa,0x000062b1, |
| 7361 | 0x00002824,0x00002820,0x00050050,0x00000007, | 7002 | 0x000001d5,0x000400f6,0x00003064,0x00002ffb, |
| 7362 | 0x00002827,0x00002821,0x00002826,0x0004007c, | 7003 | 0x00000000,0x000400fa,0x00002ffa,0x00002ffb, |
| 7363 | 0x00000014,0x00002817,0x00002827,0x00060041, | 7004 | 0x00003064,0x000200f8,0x00002ffb,0x000500c7, |
| 7364 | 0x0000016c,0x0000280e,0x00002817,0x0000016b, | 7005 | 0x00000006,0x00002ffd,0x000062b1,0x0000014a, |
| 7365 | 0x0000016b,0x0006003d,0x00000006,0x0000280f, | 7006 | 0x000500ab,0x0000002f,0x00002ffe,0x00002ffd, |
| 7366 | 0x0000280e,0x00000002,0x00000004,0x0004007c, | 7007 | 0x00000140,0x000600a9,0x00000027,0x00006551, |
| 7367 | 0x00000027,0x000027d8,0x0000280f,0x00050080, | 7008 | 0x00002ffe,0x00002fe4,0x00002fda,0x000500c7, |
| 7368 | 0x00000006,0x000027da,0x000027d3,0x000000ec, | 7009 | 0x00000006,0x00003008,0x000062b1,0x00000288, |
| 7369 | 0x00050095,0x0000013d,0x00002840,0x000027ff, | 7010 | 0x000500ab,0x0000002f,0x00003009,0x00003008, |
| 7370 | 0x000027da,0x00050051,0x00000006,0x00002841, | 7011 | 0x00000140,0x000600a9,0x00000027,0x00006552, |
| 7371 | 0x00002840,0x00000001,0x00050051,0x00000006, | 7012 | 0x00003009,0x00002fe7,0x00002fdd,0x000500c7, |
| 7372 | 0x00002842,0x00002840,0x00000000,0x00050080, | 7013 | 0x00000006,0x00003013,0x000062b1,0x000000f3, |
| 7373 | 0x00000006,0x00002847,0x00002824,0x00002841, | 7014 | 0x000500ab,0x0000002f,0x00003014,0x00003013, |
| 7374 | 0x00050050,0x00000007,0x00002848,0x00002842, | 7015 | 0x00000140,0x000600a9,0x00000027,0x00006553, |
| 7375 | 0x00002847,0x0004007c,0x00000014,0x00002838, | 7016 | 0x00003014,0x00002fea,0x00002fe0,0x00050041, |
| 7376 | 0x00002848,0x00060041,0x0000016c,0x0000282f, | 7017 | 0x00000028,0x0000301e,0x00002f0e,0x00000173, |
| 7377 | 0x00002838,0x0000016b,0x0000016b,0x0006003d, | 7018 | 0x0004003d,0x00000027,0x0000301f,0x0000301e, |
| 7378 | 0x00000006,0x00002830,0x0000282f,0x00000002, | 7019 | 0x00050085,0x00000027,0x00003022,0x0000301f, |
| 7379 | 0x00000004,0x0004007c,0x00000027,0x000027de, | 7020 | 0x00006551,0x00050041,0x00000028,0x00003023, |
| 7380 | 0x00002830,0x00050080,0x00000006,0x000027e0, | 7021 | 0x00002f0e,0x0000026c,0x0004003d,0x00000027, |
| 7381 | 0x000027d3,0x000001cd,0x00050095,0x0000013d, | 7022 | 0x00003024,0x00003023,0x00050085,0x00000027, |
| 7382 | 0x00002861,0x000027ff,0x000027e0,0x00050051, | 7023 | 0x00003027,0x00003024,0x00006552,0x00050081, |
| 7383 | 0x00000006,0x00002862,0x00002861,0x00000001, | 7024 | 0x00000027,0x00003028,0x00003022,0x00003027, |
| 7384 | 0x00050051,0x00000006,0x00002863,0x00002861, | 7025 | 0x00050041,0x00000028,0x00003029,0x00002f0e, |
| 7385 | 0x00000000,0x00050080,0x00000006,0x00002868, | 7026 | 0x0000031d,0x0004003d,0x00000027,0x0000302a, |
| 7386 | 0x00002824,0x00002862,0x00050050,0x00000007, | 7027 | 0x00003029,0x00050085,0x00000027,0x0000302d, |
| 7387 | 0x00002869,0x00002863,0x00002868,0x0004007c, | 7028 | 0x0000302a,0x00006553,0x00050081,0x00000027, |
| 7388 | 0x00000014,0x00002859,0x00002869,0x00060041, | 7029 | 0x0000302e,0x00003028,0x0000302d,0x00050041, |
| 7389 | 0x0000016c,0x00002850,0x00002859,0x0000016b, | 7030 | 0x00000028,0x0000302f,0x00002f0e,0x00000325, |
| 7390 | 0x0000016b,0x0006003d,0x00000006,0x00002851, | 7031 | 0x0004003d,0x00000027,0x00003030,0x0000302f, |
| 7391 | 0x00002850,0x00000002,0x00000004,0x0004007c, | 7032 | 0x00050081,0x00000027,0x00003031,0x0000302e, |
| 7392 | 0x00000027,0x000027e4,0x00002851,0x00050080, | 7033 | 0x00003030,0x00050041,0x00000028,0x00003032, |
| 7393 | 0x00000006,0x000027e6,0x000027d3,0x000001d4, | 7034 | 0x00002f0e,0x0000032d,0x0004003d,0x00000027, |
| 7394 | 0x00050095,0x0000013d,0x00002882,0x000027ff, | 7035 | 0x00003033,0x00003032,0x00050085,0x00000027, |
| 7395 | 0x000027e6,0x00050051,0x00000006,0x00002883, | 7036 | 0x00003036,0x00003033,0x00006551,0x00050041, |
| 7396 | 0x00002882,0x00000001,0x00050051,0x00000006, | 7037 | 0x00000028,0x00003037,0x00002f0e,0x00000335, |
| 7397 | 0x00002884,0x00002882,0x00000000,0x00050080, | 7038 | 0x0004003d,0x00000027,0x00003038,0x00003037, |
| 7398 | 0x00000006,0x00002889,0x00002824,0x00002883, | 7039 | 0x00050085,0x00000027,0x0000303b,0x00003038, |
| 7399 | 0x00050050,0x00000007,0x0000288a,0x00002884, | 7040 | 0x00006552,0x00050081,0x00000027,0x0000303c, |
| 7400 | 0x00002889,0x0004007c,0x00000014,0x0000287a, | 7041 | 0x00003036,0x0000303b,0x00050041,0x00000028, |
| 7401 | 0x0000288a,0x00060041,0x0000016c,0x00002871, | 7042 | 0x0000303d,0x00002f0e,0x00000359,0x0004003d, |
| 7402 | 0x0000287a,0x0000016b,0x0000016b,0x0006003d, | 7043 | 0x00000027,0x0000303e,0x0000303d,0x00050085, |
| 7403 | 0x00000006,0x00002872,0x00002871,0x00000002, | 7044 | 0x00000027,0x00003041,0x0000303e,0x00006553, |
| 7404 | 0x00000004,0x0004007c,0x00000027,0x000027ea, | 7045 | 0x00050081,0x00000027,0x00003042,0x0000303c, |
| 7405 | 0x00002872,0x00070050,0x00000475,0x000027eb, | 7046 | 0x00003041,0x00050041,0x00000028,0x00003043, |
| 7406 | 0x000027d8,0x000027de,0x000027e4,0x000027ea, | 7047 | 0x00002f0e,0x000007b3,0x0004003d,0x00000027, |
| 7407 | 0x0008004f,0x0000006c,0x000027ee,0x000027eb, | 7048 | 0x00003044,0x00003043,0x00050081,0x00000027, |
| 7408 | 0x000027eb,0x00000000,0x00000001,0x00000002, | 7049 | 0x00003045,0x00003042,0x00003044,0x00050041, |
| 7409 | 0x00050094,0x00000027,0x000027f0,0x000027ee, | 7050 | 0x00000028,0x00003046,0x00002f0e,0x00000528, |
| 7410 | 0x00002741,0x00050081,0x00000027,0x000027f3, | 7051 | 0x0004003d,0x00000027,0x00003047,0x00003046, |
| 7411 | 0x000027f0,0x000027ea,0x00050041,0x00000028, | 7052 | 0x00050085,0x00000027,0x0000304a,0x00003047, |
| 7412 | 0x000027f4,0x000027c3,0x00005f2d,0x0003003e, | 7053 | 0x00006551,0x00050041,0x00000028,0x0000304b, |
| 7413 | 0x000027f4,0x000027f3,0x00050080,0x00000006, | 7054 | 0x00002f0e,0x0000020e,0x0004003d,0x00000027, |
| 7414 | 0x000027f7,0x00005f2d,0x00000264,0x000200f9, | 7055 | 0x0000304c,0x0000304b,0x00050085,0x00000027, |
| 7415 | 0x000027cd,0x000200f8,0x000027f8,0x0004003d, | 7056 | 0x0000304f,0x0000304c,0x00006552,0x00050081, |
| 7416 | 0x0000006c,0x000027f9,0x000027c3,0x000200f9, | 7057 | 0x00000027,0x00003050,0x0000304a,0x0000304f, |
| 7417 | 0x000027fa,0x000200f8,0x000027fa,0x000700f5, | 7058 | 0x00050041,0x00000028,0x00003051,0x00002f0e, |
| 7418 | 0x0000006c,0x00005f2e,0x00002741,0x000027ca, | 7059 | 0x00000414,0x0004003d,0x00000027,0x00003052, |
| 7419 | 0x000027f9,0x000027f8,0x00050041,0x0000006d, | 7060 | 0x00003051,0x00050085,0x00000027,0x00003055, |
| 7420 | 0x00002615,0x000025da,0x00005f20,0x0003003e, | 7061 | 0x00003052,0x00006553,0x00050081,0x00000027, |
| 7421 | 0x00002615,0x00005f2e,0x000200f9,0x00002616, | 7062 | 0x00003056,0x00003050,0x00003055,0x00050041, |
| 7422 | 0x000200f8,0x00002616,0x00050080,0x00000006, | 7063 | 0x00000028,0x00003057,0x00002f0e,0x0000049b, |
| 7423 | 0x00002618,0x00005f20,0x00000264,0x000200f9, | 7064 | 0x0004003d,0x00000027,0x00003058,0x00003057, |
| 7424 | 0x00002608,0x000200f8,0x00002619,0x00050041, | 7065 | 0x00050081,0x00000027,0x00003059,0x00003056, |
| 7425 | 0x000001bb,0x0000261a,0x000001b9,0x000004c1, | 7066 | 0x00003058,0x00060050,0x0000006c,0x0000305a, |
| 7426 | 0x0004003d,0x00000006,0x0000261b,0x0000261a, | 7067 | 0x00003031,0x00003045,0x00003059,0x0007000c, |
| 7427 | 0x00050080,0x00000006,0x0000261d,0x0000261b, | 7068 | 0x0000006c,0x0000305d,0x00000001,0x00000025, |
| 7428 | 0x000012dd,0x00050041,0x000001bb,0x0000261e, | 7069 | 0x0000630c,0x0000305a,0x0007000c,0x0000006c, |
| 7429 | 0x000001b9,0x0000034a,0x0004003d,0x00000006, | 7070 | 0x00003060,0x00000001,0x00000028,0x00006333, |
| 7430 | 0x0000261f,0x0000261e,0x00050084,0x00000006, | 7071 | 0x0000305a,0x00050080,0x00000006,0x00003063, |
| 7431 | 0x00002621,0x000001c4,0x0000261d,0x00050080, | 7072 | 0x000062b1,0x0000026c,0x000200f9,0x00002ff7, |
| 7432 | 0x00000006,0x00002622,0x0000261f,0x00002621, | 7073 | 0x000200f8,0x00003064,0x000200f9,0x00003065, |
| 7433 | 0x000200f9,0x00002623,0x000200f8,0x00002623, | 7074 | 0x000200f8,0x00003065,0x000700f5,0x0000006c, |
| 7434 | 0x000700f5,0x00000006,0x00005f21,0x00000138, | 7075 | 0x0000632f,0x00006532,0x00002ff4,0x00006333, |
| 7435 | 0x00002619,0x0000264a,0x00002627,0x000500b0, | 7076 | 0x00003064,0x000700f5,0x0000006c,0x00006308, |
| 7436 | 0x0000002f,0x00002626,0x00005f21,0x00000470, | 7077 | 0x000005dc,0x00002ff4,0x0000630c,0x00003064, |
| 7437 | 0x000400f6,0x0000264b,0x00002627,0x00000000, | 7078 | 0x000200f9,0x00003066,0x000200f8,0x00003066, |
| 7438 | 0x000400fa,0x00002626,0x00002627,0x0000264b, | 7079 | 0x000700f5,0x0000006c,0x00006319,0x00006532, |
| 7439 | 0x000200f8,0x00002627,0x00050084,0x00000006, | 7080 | 0x00002fce,0x0000632f,0x00003065,0x000700f5, |
| 7440 | 0x0000262a,0x000001d4,0x00005f21,0x00050080, | 7081 | 0x0000006c,0x000062f2,0x000005dc,0x00002fce, |
| 7441 | 0x00000006,0x0000262b,0x00002622,0x0000262a, | 7082 | 0x00006308,0x00003065,0x000700f5,0x00000006, |
| 7442 | 0x00050041,0x00000266,0x0000262d,0x000001b9, | 7083 | 0x000062ba,0x000003bf,0x00002fce,0x000034e3, |
| 7443 | 0x0000016b,0x0004003d,0x00000007,0x0000262e, | 7084 | 0x00003065,0x00050041,0x00000028,0x00003067, |
| 7444 | 0x0000262d,0x00060041,0x00000028,0x0000262f, | 7085 | 0x00002f0e,0x00000173,0x0004003d,0x00000027, |
| 7445 | 0x000025da,0x00005f21,0x00000138,0x0004003d, | 7086 | 0x00003068,0x00003067,0x000500b4,0x0000002f, |
| 7446 | 0x00000027,0x00002630,0x0000262f,0x0004007c, | 7087 | 0x00003069,0x00003068,0x000007d7,0x000300f7, |
| 7447 | 0x00000006,0x00002890,0x00002630,0x00050051, | 7088 | 0x0000306e,0x00000000,0x000400fa,0x00003069, |
| 7448 | 0x00000006,0x000028a9,0x0000262e,0x00000000, | 7089 | 0x0000306a,0x0000306e,0x000200f8,0x0000306a, |
| 7449 | 0x00050095,0x0000013d,0x000028ab,0x000028a9, | 7090 | 0x00050041,0x00000028,0x0000306b,0x00002f0e, |
| 7450 | 0x0000262b,0x00050051,0x00000006,0x000028ac, | 7091 | 0x0000026c,0x0004003d,0x00000027,0x0000306c, |
| 7451 | 0x000028ab,0x00000001,0x00050051,0x00000006, | 7092 | 0x0000306b,0x000500b4,0x0000002f,0x0000306d, |
| 7452 | 0x000028ad,0x000028ab,0x00000000,0x00050051, | 7093 | 0x0000306c,0x0000048d,0x000200f9,0x0000306e, |
| 7453 | 0x00000006,0x000028b0,0x0000262e,0x00000001, | 7094 | 0x000200f8,0x0000306e,0x000700f5,0x0000002f, |
| 7454 | 0x00050080,0x00000006,0x000028b2,0x000028b0, | 7095 | 0x0000306f,0x00003069,0x00003066,0x0000306d, |
| 7455 | 0x000028ac,0x00050050,0x00000007,0x000028b3, | 7096 | 0x0000306a,0x000300f7,0x00003074,0x00000000, |
| 7456 | 0x000028ad,0x000028b2,0x0004007c,0x00000014, | 7097 | 0x000400fa,0x0000306f,0x00003070,0x00003074, |
| 7457 | 0x000028a3,0x000028b3,0x00060041,0x0000016c, | 7098 | 0x000200f8,0x00003070,0x00050041,0x00000028, |
| 7458 | 0x0000289b,0x000028a3,0x0000016b,0x0000016b, | 7099 | 0x00003071,0x00002f0e,0x0000031d,0x0004003d, |
| 7459 | 0x0005003e,0x0000289b,0x00002890,0x00000002, | 7100 | 0x00000027,0x00003072,0x00003071,0x000500b4, |
| 7460 | 0x00000004,0x00050080,0x00000006,0x00002636, | 7101 | 0x0000002f,0x00003073,0x00003072,0x0000048d, |
| 7461 | 0x0000262b,0x000000ec,0x00060041,0x00000028, | 7102 | 0x000200f9,0x00003074,0x000200f8,0x00003074, |
| 7462 | 0x0000263a,0x000025da,0x00005f21,0x00000142, | 7103 | 0x000700f5,0x0000002f,0x00003075,0x0000306f, |
| 7463 | 0x0004003d,0x00000027,0x0000263b,0x0000263a, | 7104 | 0x0000306e,0x00003073,0x00003070,0x000300f7, |
| 7464 | 0x0004007c,0x00000006,0x000028b9,0x0000263b, | 7105 | 0x0000307a,0x00000000,0x000400fa,0x00003075, |
| 7465 | 0x00050095,0x0000013d,0x000028d4,0x000028a9, | 7106 | 0x00003076,0x0000307a,0x000200f8,0x00003076, |
| 7466 | 0x00002636,0x00050051,0x00000006,0x000028d5, | 7107 | 0x00050041,0x00000028,0x00003077,0x00002f0e, |
| 7467 | 0x000028d4,0x00000001,0x00050051,0x00000006, | 7108 | 0x0000032d,0x0004003d,0x00000027,0x00003078, |
| 7468 | 0x000028d6,0x000028d4,0x00000000,0x00050080, | 7109 | 0x00003077,0x000500b4,0x0000002f,0x00003079, |
| 7469 | 0x00000006,0x000028db,0x000028b0,0x000028d5, | 7110 | 0x00003078,0x0000048d,0x000200f9,0x0000307a, |
| 7470 | 0x00050050,0x00000007,0x000028dc,0x000028d6, | 7111 | 0x000200f8,0x0000307a,0x000700f5,0x0000002f, |
| 7471 | 0x000028db,0x0004007c,0x00000014,0x000028cc, | 7112 | 0x0000307b,0x00003075,0x00003074,0x00003079, |
| 7472 | 0x000028dc,0x00060041,0x0000016c,0x000028c4, | 7113 | 0x00003076,0x000300f7,0x00003080,0x00000000, |
| 7473 | 0x000028cc,0x0000016b,0x0000016b,0x0005003e, | 7114 | 0x000400fa,0x0000307b,0x0000307c,0x00003080, |
| 7474 | 0x000028c4,0x000028b9,0x00000002,0x00000004, | 7115 | 0x000200f8,0x0000307c,0x00050041,0x00000028, |
| 7475 | 0x00050080,0x00000006,0x00002641,0x0000262b, | 7116 | 0x0000307d,0x00002f0e,0x00000335,0x0004003d, |
| 7476 | 0x000001cd,0x00060041,0x00000028,0x00002645, | 7117 | 0x00000027,0x0000307e,0x0000307d,0x000500b4, |
| 7477 | 0x000025da,0x00005f21,0x00000280,0x0004003d, | 7118 | 0x0000002f,0x0000307f,0x0000307e,0x000007d7, |
| 7478 | 0x00000027,0x00002646,0x00002645,0x0004007c, | 7119 | 0x000200f9,0x00003080,0x000200f8,0x00003080, |
| 7479 | 0x00000006,0x000028e2,0x00002646,0x00050095, | 7120 | 0x000700f5,0x0000002f,0x00003081,0x0000307b, |
| 7480 | 0x0000013d,0x000028fd,0x000028a9,0x00002641, | 7121 | 0x0000307a,0x0000307f,0x0000307c,0x000300f7, |
| 7481 | 0x00050051,0x00000006,0x000028fe,0x000028fd, | 7122 | 0x00003086,0x00000000,0x000400fa,0x00003081, |
| 7482 | 0x00000001,0x00050051,0x00000006,0x000028ff, | 7123 | 0x00003082,0x00003086,0x000200f8,0x00003082, |
| 7483 | 0x000028fd,0x00000000,0x00050080,0x00000006, | 7124 | 0x00050041,0x00000028,0x00003083,0x00002f0e, |
| 7484 | 0x00002904,0x000028b0,0x000028fe,0x00050050, | 7125 | 0x00000359,0x0004003d,0x00000027,0x00003084, |
| 7485 | 0x00000007,0x00002905,0x000028ff,0x00002904, | 7126 | 0x00003083,0x000500b4,0x0000002f,0x00003085, |
| 7486 | 0x0004007c,0x00000014,0x000028f5,0x00002905, | 7127 | 0x00003084,0x0000048d,0x000200f9,0x00003086, |
| 7487 | 0x00060041,0x0000016c,0x000028ed,0x000028f5, | 7128 | 0x000200f8,0x00003086,0x000700f5,0x0000002f, |
| 7488 | 0x0000016b,0x0000016b,0x0005003e,0x000028ed, | 7129 | 0x00003087,0x00003081,0x00003080,0x00003085, |
| 7489 | 0x000028e2,0x00000002,0x00000004,0x00050080, | 7130 | 0x00003082,0x000300f7,0x0000308c,0x00000000, |
| 7490 | 0x00000006,0x0000264a,0x00005f21,0x00000264, | 7131 | 0x000400fa,0x00003087,0x00003088,0x0000308c, |
| 7491 | 0x000200f9,0x00002623,0x000200f8,0x0000264b, | 7132 | 0x000200f8,0x00003088,0x00050041,0x00000028, |
| 7492 | 0x00050080,0x00000006,0x0000264d,0x00002622, | 7133 | 0x00003089,0x00002f0e,0x00000528,0x0004003d, |
| 7493 | 0x00000500,0x00050041,0x00000266,0x0000264e, | 7134 | 0x00000027,0x0000308a,0x00003089,0x000500b4, |
| 7494 | 0x000001b9,0x0000016b,0x0004003d,0x00000007, | 7135 | 0x0000002f,0x0000308b,0x0000308a,0x0000048d, |
| 7495 | 0x0000264f,0x0000264e,0x00060041,0x00000028, | 7136 | 0x000200f9,0x0000308c,0x000200f8,0x0000308c, |
| 7496 | 0x00002650,0x000025da,0x00000315,0x00000138, | 7137 | 0x000700f5,0x0000002f,0x0000308d,0x00003087, |
| 7497 | 0x0004003d,0x00000027,0x00002651,0x00002650, | 7138 | 0x00003086,0x0000308b,0x00003088,0x000300f7, |
| 7498 | 0x0004007c,0x00000006,0x0000290b,0x00002651, | 7139 | 0x00003092,0x00000000,0x000400fa,0x0000308d, |
| 7499 | 0x00050051,0x00000006,0x00002924,0x0000264f, | 7140 | 0x0000308e,0x00003092,0x000200f8,0x0000308e, |
| 7500 | 0x00000000,0x00050095,0x0000013d,0x00002926, | 7141 | 0x00050041,0x00000028,0x0000308f,0x00002f0e, |
| 7501 | 0x00002924,0x0000264d,0x00050051,0x00000006, | 7142 | 0x0000020e,0x0004003d,0x00000027,0x00003090, |
| 7502 | 0x00002927,0x00002926,0x00000001,0x00050051, | 7143 | 0x0000308f,0x000500b4,0x0000002f,0x00003091, |
| 7503 | 0x00000006,0x00002928,0x00002926,0x00000000, | 7144 | 0x00003090,0x0000048d,0x000200f9,0x00003092, |
| 7504 | 0x00050051,0x00000006,0x0000292b,0x0000264f, | 7145 | 0x000200f8,0x00003092,0x000700f5,0x0000002f, |
| 7505 | 0x00000001,0x00050080,0x00000006,0x0000292d, | 7146 | 0x00003093,0x0000308d,0x0000308c,0x00003091, |
| 7506 | 0x0000292b,0x00002927,0x00050050,0x00000007, | 7147 | 0x0000308e,0x000300f7,0x00003098,0x00000000, |
| 7507 | 0x0000292e,0x00002928,0x0000292d,0x0004007c, | 7148 | 0x000400fa,0x00003093,0x00003094,0x00003098, |
| 7508 | 0x00000014,0x0000291e,0x0000292e,0x00060041, | 7149 | 0x000200f8,0x00003094,0x00050041,0x00000028, |
| 7509 | 0x0000016c,0x00002916,0x0000291e,0x0000016b, | 7150 | 0x00003095,0x00002f0e,0x00000414,0x0004003d, |
| 7510 | 0x0000016b,0x0005003e,0x00002916,0x0000290b, | 7151 | 0x00000027,0x00003096,0x00003095,0x000500b4, |
| 7152 | 0x0000002f,0x00003097,0x00003096,0x000007d7, | ||
| 7153 | 0x000200f9,0x00003098,0x000200f8,0x00003098, | ||
| 7154 | 0x000700f5,0x0000002f,0x00003099,0x00003093, | ||
| 7155 | 0x00003092,0x00003097,0x00003094,0x00050080, | ||
| 7156 | 0x00000006,0x0000309b,0x00002fa4,0x0000059e, | ||
| 7157 | 0x000500c7,0x00000006,0x0000309d,0x000062ba, | ||
| 7158 | 0x0000080c,0x000600a9,0x00000006,0x0000309f, | ||
| 7159 | 0x00003099,0x00000249,0x00000140,0x000500c5, | ||
| 7160 | 0x00000006,0x000030a0,0x0000309d,0x0000309f, | ||
| 7161 | 0x00050095,0x00000145,0x000035f1,0x00003219, | ||
| 7162 | 0x0000309b,0x00050051,0x00000006,0x000035f2, | ||
| 7163 | 0x000035f1,0x00000001,0x00050051,0x00000006, | ||
| 7164 | 0x000035f3,0x000035f1,0x00000000,0x00050080, | ||
| 7165 | 0x00000006,0x000035f8,0x00003220,0x000035f2, | ||
| 7166 | 0x00050050,0x00000007,0x000035f9,0x000035f3, | ||
| 7167 | 0x000035f8,0x0004007c,0x00000014,0x000035e9, | ||
| 7168 | 0x000035f9,0x00060041,0x00000174,0x000035e1, | ||
| 7169 | 0x000035e9,0x00000173,0x00000173,0x0005003e, | ||
| 7170 | 0x000035e1,0x000030a0,0x00000002,0x00000004, | ||
| 7171 | 0x000400a8,0x0000002f,0x000030a5,0x00002fcf, | ||
| 7172 | 0x00050050,0x00006554,0x00006555,0x000030a5, | ||
| 7173 | 0x000030a5,0x000600a9,0x00000007,0x00006556, | ||
| 7174 | 0x00006555,0x0000081b,0x000062af,0x00050080, | ||
| 7175 | 0x00000006,0x000030a9,0x00002fa4,0x000005a7, | ||
| 7176 | 0x00050051,0x00000006,0x000030ab,0x00006556, | ||
| 7177 | 0x00000000,0x000500c2,0x00000006,0x000030ac, | ||
| 7178 | 0x000030ab,0x00000528,0x00050051,0x00000006, | ||
| 7179 | 0x000030ae,0x00006556,0x00000001,0x000500c4, | ||
| 7180 | 0x00000006,0x000030af,0x000030ae,0x00000759, | ||
| 7181 | 0x000500c5,0x00000006,0x000030b0,0x000030ac, | ||
| 7182 | 0x000030af,0x00050095,0x00000145,0x00003611, | ||
| 7183 | 0x00003219,0x000030a9,0x00050051,0x00000006, | ||
| 7184 | 0x00003612,0x00003611,0x00000001,0x00050051, | ||
| 7185 | 0x00000006,0x00003613,0x00003611,0x00000000, | ||
| 7186 | 0x00050080,0x00000006,0x00003618,0x00003220, | ||
| 7187 | 0x00003612,0x00050050,0x00000007,0x00003619, | ||
| 7188 | 0x00003613,0x00003618,0x0004007c,0x00000014, | ||
| 7189 | 0x00003609,0x00003619,0x00060041,0x00000174, | ||
| 7190 | 0x00003601,0x00003609,0x00000173,0x00000173, | ||
| 7191 | 0x0005003e,0x00003601,0x000030b0,0x00000002, | ||
| 7192 | 0x00000004,0x0004003d,0x00000027,0x000030b5, | ||
| 7193 | 0x00003067,0x00050041,0x00000028,0x000030b6, | ||
| 7194 | 0x00002f0e,0x0000032d,0x0004003d,0x00000027, | ||
| 7195 | 0x000030b7,0x000030b6,0x00050041,0x00000028, | ||
| 7196 | 0x000030b8,0x00002f0e,0x00000528,0x0004003d, | ||
| 7197 | 0x00000027,0x000030b9,0x000030b8,0x00050041, | ||
| 7198 | 0x00000028,0x000030ba,0x00002f0e,0x0000026c, | ||
| 7199 | 0x0004003d,0x00000027,0x000030bb,0x000030ba, | ||
| 7200 | 0x00050041,0x00000028,0x000030bc,0x00002f0e, | ||
| 7201 | 0x00000335,0x0004003d,0x00000027,0x000030bd, | ||
| 7202 | 0x000030bc,0x00050041,0x00000028,0x000030be, | ||
| 7203 | 0x00002f0e,0x0000020e,0x0004003d,0x00000027, | ||
| 7204 | 0x000030bf,0x000030be,0x00050041,0x00000028, | ||
| 7205 | 0x000030c0,0x00002f0e,0x0000031d,0x0004003d, | ||
| 7206 | 0x00000027,0x000030c1,0x000030c0,0x00050041, | ||
| 7207 | 0x00000028,0x000030c2,0x00002f0e,0x00000359, | ||
| 7208 | 0x0004003d,0x00000027,0x000030c3,0x000030c2, | ||
| 7209 | 0x00050041,0x00000028,0x000030c4,0x00002f0e, | ||
| 7210 | 0x00000414,0x0004003d,0x00000027,0x000030c5, | ||
| 7211 | 0x000030c4,0x00060050,0x0000006c,0x000030c6, | ||
| 7212 | 0x000030b5,0x000030b7,0x000030b9,0x00060050, | ||
| 7213 | 0x0000006c,0x000030c7,0x000030bb,0x000030bd, | ||
| 7214 | 0x000030bf,0x00060050,0x0000006c,0x000030c8, | ||
| 7215 | 0x000030c1,0x000030c3,0x000030c5,0x00060050, | ||
| 7216 | 0x0000082b,0x000030c9,0x000030c6,0x000030c7, | ||
| 7217 | 0x000030c8,0x0006000c,0x00000027,0x000030cb, | ||
| 7218 | 0x00000001,0x00000021,0x000030c9,0x000500b7, | ||
| 7219 | 0x0000002f,0x000030cd,0x000030cb,0x0000048d, | ||
| 7220 | 0x000300f7,0x000030d2,0x00000000,0x000400fa, | ||
| 7221 | 0x000030cd,0x000030ce,0x000030d1,0x000200f8, | ||
| 7222 | 0x000030d1,0x000200f9,0x000030d2,0x000200f8, | ||
| 7223 | 0x000030ce,0x0006000c,0x0000082b,0x000030d0, | ||
| 7224 | 0x00000001,0x00000022,0x000030c9,0x000200f9, | ||
| 7225 | 0x000030d2,0x000200f8,0x000030d2,0x000700f5, | ||
| 7226 | 0x0000082b,0x000062e4,0x000030d0,0x000030ce, | ||
| 7227 | 0x00000851,0x000030d1,0x0003003e,0x00002f53, | ||
| 7228 | 0x000062e4,0x00050041,0x00000028,0x000030d4, | ||
| 7229 | 0x00002f0e,0x00000325,0x0004003d,0x00000027, | ||
| 7230 | 0x000030d5,0x000030d4,0x00050041,0x00000028, | ||
| 7231 | 0x000030d6,0x00002f0e,0x000007b3,0x0004003d, | ||
| 7232 | 0x00000027,0x000030d7,0x000030d6,0x00050041, | ||
| 7233 | 0x00000028,0x000030d8,0x00002f0e,0x0000049b, | ||
| 7234 | 0x0004003d,0x00000027,0x000030d9,0x000030d8, | ||
| 7235 | 0x00060050,0x0000006c,0x000030da,0x000030d5, | ||
| 7236 | 0x000030d7,0x000030d9,0x00050091,0x0000006c, | ||
| 7237 | 0x000030dd,0x000062e4,0x000030da,0x0004007f, | ||
| 7238 | 0x0000006c,0x000030de,0x000030dd,0x0003003e, | ||
| 7239 | 0x00002f56,0x000030de,0x000200f9,0x000030df, | ||
| 7240 | 0x000200f8,0x000030df,0x000700f5,0x00000006, | ||
| 7241 | 0x000062e5,0x00000140,0x000030d2,0x00003112, | ||
| 7242 | 0x000030e3,0x000500b0,0x0000002f,0x000030e2, | ||
| 7243 | 0x000062e5,0x000004d7,0x000400f6,0x00003113, | ||
| 7244 | 0x000030e3,0x00000000,0x000400fa,0x000030e2, | ||
| 7245 | 0x000030e3,0x00003113,0x000200f8,0x000030e3, | ||
| 7246 | 0x00050080,0x00000006,0x000030e5,0x00002fa4, | ||
| 7247 | 0x000001cc,0x00050084,0x00000006,0x000030e7, | ||
| 7248 | 0x000001e3,0x000062e5,0x00050080,0x00000006, | ||
| 7249 | 0x000030e8,0x000030e5,0x000030e7,0x00060041, | ||
| 7250 | 0x00000028,0x000030ec,0x00002f53,0x00000173, | ||
| 7251 | 0x000062e5,0x0004003d,0x00000027,0x000030ed, | ||
| 7252 | 0x000030ec,0x0004007c,0x00000006,0x0000361f, | ||
| 7253 | 0x000030ed,0x00050095,0x00000145,0x0000363a, | ||
| 7254 | 0x00003219,0x000030e8,0x00050051,0x00000006, | ||
| 7255 | 0x0000363b,0x0000363a,0x00000001,0x00050051, | ||
| 7256 | 0x00000006,0x0000363c,0x0000363a,0x00000000, | ||
| 7257 | 0x00050080,0x00000006,0x00003641,0x00003220, | ||
| 7258 | 0x0000363b,0x00050050,0x00000007,0x00003642, | ||
| 7259 | 0x0000363c,0x00003641,0x0004007c,0x00000014, | ||
| 7260 | 0x00003632,0x00003642,0x00060041,0x00000174, | ||
| 7261 | 0x0000362a,0x00003632,0x00000173,0x00000173, | ||
| 7262 | 0x0005003e,0x0000362a,0x0000361f,0x00000002, | ||
| 7263 | 0x00000004,0x00050080,0x00000006,0x000030f0, | ||
| 7264 | 0x00002fa4,0x00000877,0x00050080,0x00000006, | ||
| 7265 | 0x000030f3,0x000030f0,0x000030e7,0x00060041, | ||
| 7266 | 0x00000028,0x000030f7,0x00002f53,0x0000026c, | ||
| 7267 | 0x000062e5,0x0004003d,0x00000027,0x000030f8, | ||
| 7268 | 0x000030f7,0x0004007c,0x00000006,0x00003648, | ||
| 7269 | 0x000030f8,0x00050095,0x00000145,0x00003663, | ||
| 7270 | 0x00003219,0x000030f3,0x00050051,0x00000006, | ||
| 7271 | 0x00003664,0x00003663,0x00000001,0x00050051, | ||
| 7272 | 0x00000006,0x00003665,0x00003663,0x00000000, | ||
| 7273 | 0x00050080,0x00000006,0x0000366a,0x00003220, | ||
| 7274 | 0x00003664,0x00050050,0x00000007,0x0000366b, | ||
| 7275 | 0x00003665,0x0000366a,0x0004007c,0x00000014, | ||
| 7276 | 0x0000365b,0x0000366b,0x00060041,0x00000174, | ||
| 7277 | 0x00003653,0x0000365b,0x00000173,0x00000173, | ||
| 7278 | 0x0005003e,0x00003653,0x00003648,0x00000002, | ||
| 7279 | 0x00000004,0x00050080,0x00000006,0x000030fb, | ||
| 7280 | 0x00002fa4,0x00000886,0x00050080,0x00000006, | ||
| 7281 | 0x000030fe,0x000030fb,0x000030e7,0x00060041, | ||
| 7282 | 0x00000028,0x00003102,0x00002f53,0x0000031d, | ||
| 7283 | 0x000062e5,0x0004003d,0x00000027,0x00003103, | ||
| 7284 | 0x00003102,0x0004007c,0x00000006,0x00003671, | ||
| 7285 | 0x00003103,0x00050095,0x00000145,0x0000368c, | ||
| 7286 | 0x00003219,0x000030fe,0x00050051,0x00000006, | ||
| 7287 | 0x0000368d,0x0000368c,0x00000001,0x00050051, | ||
| 7288 | 0x00000006,0x0000368e,0x0000368c,0x00000000, | ||
| 7289 | 0x00050080,0x00000006,0x00003693,0x00003220, | ||
| 7290 | 0x0000368d,0x00050050,0x00000007,0x00003694, | ||
| 7291 | 0x0000368e,0x00003693,0x0004007c,0x00000014, | ||
| 7292 | 0x00003684,0x00003694,0x00060041,0x00000174, | ||
| 7293 | 0x0000367c,0x00003684,0x00000173,0x00000173, | ||
| 7294 | 0x0005003e,0x0000367c,0x00003671,0x00000002, | ||
| 7295 | 0x00000004,0x00050080,0x00000006,0x00003106, | ||
| 7296 | 0x00002fa4,0x00000895,0x00050080,0x00000006, | ||
| 7297 | 0x00003109,0x00003106,0x000030e7,0x00050041, | ||
| 7298 | 0x00000028,0x0000310d,0x00002f56,0x000062e5, | ||
| 7299 | 0x0004003d,0x00000027,0x0000310e,0x0000310d, | ||
| 7300 | 0x0004007c,0x00000006,0x0000369a,0x0000310e, | ||
| 7301 | 0x00050095,0x00000145,0x000036b5,0x00003219, | ||
| 7302 | 0x00003109,0x00050051,0x00000006,0x000036b6, | ||
| 7303 | 0x000036b5,0x00000001,0x00050051,0x00000006, | ||
| 7304 | 0x000036b7,0x000036b5,0x00000000,0x00050080, | ||
| 7305 | 0x00000006,0x000036bc,0x00003220,0x000036b6, | ||
| 7306 | 0x00050050,0x00000007,0x000036bd,0x000036b7, | ||
| 7307 | 0x000036bc,0x0004007c,0x00000014,0x000036ad, | ||
| 7308 | 0x000036bd,0x00060041,0x00000174,0x000036a5, | ||
| 7309 | 0x000036ad,0x00000173,0x00000173,0x0005003e, | ||
| 7310 | 0x000036a5,0x0000369a,0x00000002,0x00000004, | ||
| 7311 | 0x00050080,0x00000006,0x00003112,0x000062e5, | ||
| 7312 | 0x0000026c,0x000200f9,0x000030df,0x000200f8, | ||
| 7313 | 0x00003113,0x00050080,0x00000006,0x00003115, | ||
| 7314 | 0x00002fa4,0x000008a6,0x00050095,0x00000145, | ||
| 7315 | 0x000036d5,0x00003219,0x00003115,0x00050051, | ||
| 7316 | 0x00000006,0x000036d6,0x000036d5,0x00000001, | ||
| 7317 | 0x00050051,0x00000006,0x000036d7,0x000036d5, | ||
| 7318 | 0x00000000,0x00050080,0x00000006,0x000036dc, | ||
| 7319 | 0x00003220,0x000036d6,0x00050050,0x00000007, | ||
| 7320 | 0x000036dd,0x000036d7,0x000036dc,0x0004007c, | ||
| 7321 | 0x00000014,0x000036cd,0x000036dd,0x00060041, | ||
| 7322 | 0x00000174,0x000036c5,0x000036cd,0x00000173, | ||
| 7323 | 0x00000173,0x0005003e,0x000036c5,0x000013a7, | ||
| 7511 | 0x00000002,0x00000004,0x00050080,0x00000006, | 7324 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 7512 | 0x00002654,0x00002622,0x0000050b,0x00060041, | 7325 | 0x0000311b,0x00002fa4,0x000008b0,0x00050095, |
| 7513 | 0x00000028,0x00002657,0x000025da,0x00000315, | 7326 | 0x00000145,0x000036f5,0x00003219,0x0000311b, |
| 7514 | 0x00000142,0x0004003d,0x00000027,0x00002658, | 7327 | 0x00050051,0x00000006,0x000036f6,0x000036f5, |
| 7515 | 0x00002657,0x0004007c,0x00000006,0x00002934, | 7328 | 0x00000001,0x00050051,0x00000006,0x000036f7, |
| 7516 | 0x00002658,0x00050095,0x0000013d,0x0000294f, | 7329 | 0x000036f5,0x00000000,0x00050080,0x00000006, |
| 7517 | 0x00002924,0x00002654,0x00050051,0x00000006, | 7330 | 0x000036fc,0x00003220,0x000036f6,0x00050050, |
| 7518 | 0x00002950,0x0000294f,0x00000001,0x00050051, | 7331 | 0x00000007,0x000036fd,0x000036f7,0x000036fc, |
| 7519 | 0x00000006,0x00002951,0x0000294f,0x00000000, | 7332 | 0x0004007c,0x00000014,0x000036ed,0x000036fd, |
| 7520 | 0x00050080,0x00000006,0x00002956,0x0000292b, | 7333 | 0x00060041,0x00000174,0x000036e5,0x000036ed, |
| 7521 | 0x00002950,0x00050050,0x00000007,0x00002957, | 7334 | 0x00000173,0x00000173,0x0005003e,0x000036e5, |
| 7522 | 0x00002951,0x00002956,0x0004007c,0x00000014, | 7335 | 0x000003bf,0x00000002,0x00000004,0x00050080, |
| 7523 | 0x00002947,0x00002957,0x00060041,0x0000016c, | 7336 | 0x00000006,0x00003120,0x00002fa4,0x000008b9, |
| 7524 | 0x0000293f,0x00002947,0x0000016b,0x0000016b, | 7337 | 0x00050095,0x00000145,0x00003715,0x00003219, |
| 7525 | 0x0005003e,0x0000293f,0x00002934,0x00000002, | 7338 | 0x00003120,0x00050051,0x00000006,0x00003716, |
| 7526 | 0x00000004,0x00050080,0x00000006,0x0000265b, | 7339 | 0x00003715,0x00000001,0x00050051,0x00000006, |
| 7527 | 0x00002622,0x00000516,0x00060041,0x00000028, | 7340 | 0x00003717,0x00003715,0x00000000,0x00050080, |
| 7528 | 0x0000265e,0x000025da,0x00000315,0x00000280, | 7341 | 0x00000006,0x0000371c,0x00003220,0x00003716, |
| 7529 | 0x0004003d,0x00000027,0x0000265f,0x0000265e, | 7342 | 0x00050050,0x00000007,0x0000371d,0x00003717, |
| 7530 | 0x0004007c,0x00000006,0x0000295d,0x0000265f, | 7343 | 0x0000371c,0x0004007c,0x00000014,0x0000370d, |
| 7531 | 0x00050095,0x0000013d,0x00002978,0x00002924, | 7344 | 0x0000371d,0x00060041,0x00000174,0x00003705, |
| 7532 | 0x0000265b,0x00050051,0x00000006,0x00002979, | 7345 | 0x0000370d,0x00000173,0x00000173,0x0005003e, |
| 7533 | 0x00002978,0x00000001,0x00050051,0x00000006, | 7346 | 0x00003705,0x00000140,0x00000002,0x00000004, |
| 7534 | 0x0000297a,0x00002978,0x00000000,0x00050080, | 7347 | 0x00050080,0x00000006,0x00003125,0x00002fa4, |
| 7535 | 0x00000006,0x0000297f,0x0000292b,0x00002979, | 7348 | 0x000008c2,0x00050095,0x00000145,0x00003735, |
| 7536 | 0x00050050,0x00000007,0x00002980,0x0000297a, | 7349 | 0x00003219,0x00003125,0x00050051,0x00000006, |
| 7537 | 0x0000297f,0x0004007c,0x00000014,0x00002970, | 7350 | 0x00003736,0x00003735,0x00000001,0x00050051, |
| 7538 | 0x00002980,0x00060041,0x0000016c,0x00002968, | 7351 | 0x00000006,0x00003737,0x00003735,0x00000000, |
| 7539 | 0x00002970,0x0000016b,0x0000016b,0x0005003e, | 7352 | 0x00050080,0x00000006,0x0000373c,0x00003220, |
| 7540 | 0x00002968,0x0000295d,0x00000002,0x00000004, | 7353 | 0x00003736,0x00050050,0x00000007,0x0000373d, |
| 7541 | 0x00050080,0x00000006,0x00002662,0x00002622, | 7354 | 0x00003737,0x0000373c,0x0004007c,0x00000014, |
| 7542 | 0x00000521,0x00050041,0x000001bb,0x00002665, | 7355 | 0x0000372d,0x0000373d,0x00060041,0x00000174, |
| 7543 | 0x000001b9,0x00000523,0x0004003d,0x00000006, | 7356 | 0x00003725,0x0000372d,0x00000173,0x00000173, |
| 7544 | 0x00002666,0x00002665,0x00050095,0x0000013d, | 7357 | 0x0005003e,0x00003725,0x00000140,0x00000002, |
| 7545 | 0x00002998,0x00002924,0x00002662,0x00050051, | 7358 | 0x00000004,0x000500b4,0x0000002f,0x0000312a, |
| 7546 | 0x00000006,0x00002999,0x00002998,0x00000001, | 7359 | 0x000030cb,0x0000048d,0x00060050,0x000005b3, |
| 7547 | 0x00050051,0x00000006,0x0000299a,0x00002998, | 7360 | 0x00006557,0x0000312a,0x0000312a,0x0000312a, |
| 7548 | 0x00000000,0x00050080,0x00000006,0x0000299f, | 7361 | 0x000600a9,0x0000006c,0x00006558,0x00006557, |
| 7549 | 0x0000292b,0x00002999,0x00050050,0x00000007, | 7362 | 0x00006532,0x00006319,0x000600a9,0x0000006c, |
| 7550 | 0x000029a0,0x0000299a,0x0000299f,0x0004007c, | 7363 | 0x0000655a,0x00006557,0x000005dc,0x000062f2, |
| 7551 | 0x00000014,0x00002990,0x000029a0,0x00060041, | 7364 | 0x00050041,0x000001c3,0x0000378d,0x000001c1, |
| 7552 | 0x0000016c,0x00002988,0x00002990,0x0000016b, | 7365 | 0x000001c2,0x0004003d,0x00000006,0x0000378e, |
| 7553 | 0x0000016b,0x0005003e,0x00002988,0x00002666, | 7366 | 0x0000378d,0x00050084,0x00000006,0x0000378f, |
| 7367 | 0x000001e3,0x0000378e,0x00050080,0x00000006, | ||
| 7368 | 0x00003790,0x000001cc,0x0000378f,0x00050080, | ||
| 7369 | 0x00000006,0x00003796,0x0000378e,0x00000695, | ||
| 7370 | 0x00050086,0x00000006,0x00003797,0x00003796, | ||
| 7371 | 0x000001c6,0x00050084,0x00000006,0x00003789, | ||
| 7372 | 0x000001cc,0x00003797,0x00050080,0x00000006, | ||
| 7373 | 0x0000378a,0x00003790,0x00003789,0x00050080, | ||
| 7374 | 0x00000006,0x00003784,0x0000378a,0x00003789, | ||
| 7375 | 0x00050084,0x00000006,0x00003754,0x000001f7, | ||
| 7376 | 0x000013a7,0x00050080,0x00000006,0x00003755, | ||
| 7377 | 0x00003784,0x00003754,0x00050041,0x0000026e, | ||
| 7378 | 0x00003756,0x000001c1,0x0000026c,0x0004003d, | ||
| 7379 | 0x00000007,0x00003757,0x00003756,0x00050051, | ||
| 7380 | 0x00000027,0x0000375a,0x0000655a,0x00000000, | ||
| 7381 | 0x0004007c,0x00000006,0x000037a4,0x0000375a, | ||
| 7382 | 0x00050051,0x00000006,0x000037bd,0x00003757, | ||
| 7383 | 0x00000000,0x00050095,0x00000145,0x000037bf, | ||
| 7384 | 0x000037bd,0x00003755,0x00050051,0x00000006, | ||
| 7385 | 0x000037c0,0x000037bf,0x00000001,0x00050051, | ||
| 7386 | 0x00000006,0x000037c1,0x000037bf,0x00000000, | ||
| 7387 | 0x00050051,0x00000006,0x000037c4,0x00003757, | ||
| 7388 | 0x00000001,0x00050080,0x00000006,0x000037c6, | ||
| 7389 | 0x000037c4,0x000037c0,0x00050050,0x00000007, | ||
| 7390 | 0x000037c7,0x000037c1,0x000037c6,0x0004007c, | ||
| 7391 | 0x00000014,0x000037b7,0x000037c7,0x00060041, | ||
| 7392 | 0x00000174,0x000037af,0x000037b7,0x00000173, | ||
| 7393 | 0x00000173,0x0005003e,0x000037af,0x000037a4, | ||
| 7554 | 0x00000002,0x00000004,0x00050080,0x00000006, | 7394 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 7555 | 0x00002669,0x00002622,0x0000052d,0x00050095, | 7395 | 0x0000375d,0x00003755,0x000000f3,0x00050051, |
| 7556 | 0x0000013d,0x000029b8,0x00002924,0x00002669, | 7396 | 0x00000027,0x00003761,0x0000655a,0x00000001, |
| 7557 | 0x00050051,0x00000006,0x000029b9,0x000029b8, | 7397 | 0x0004007c,0x00000006,0x000037cd,0x00003761, |
| 7558 | 0x00000001,0x00050051,0x00000006,0x000029ba, | 7398 | 0x00050095,0x00000145,0x000037e8,0x000037bd, |
| 7559 | 0x000029b8,0x00000000,0x00050080,0x00000006, | 7399 | 0x0000375d,0x00050051,0x00000006,0x000037e9, |
| 7560 | 0x000029bf,0x0000292b,0x000029b9,0x00050050, | 7400 | 0x000037e8,0x00000001,0x00050051,0x00000006, |
| 7561 | 0x00000007,0x000029c0,0x000029ba,0x000029bf, | 7401 | 0x000037ea,0x000037e8,0x00000000,0x00050080, |
| 7562 | 0x0004007c,0x00000014,0x000029b0,0x000029c0, | 7402 | 0x00000006,0x000037ef,0x000037c4,0x000037e9, |
| 7563 | 0x00060041,0x0000016c,0x000029a8,0x000029b0, | 7403 | 0x00050050,0x00000007,0x000037f0,0x000037ea, |
| 7564 | 0x0000016b,0x0000016b,0x0005003e,0x000029a8, | 7404 | 0x000037ef,0x0004007c,0x00000014,0x000037e0, |
| 7565 | 0x000012dd,0x00000002,0x00000004,0x00050080, | 7405 | 0x000037f0,0x00060041,0x00000174,0x000037d8, |
| 7566 | 0x00000006,0x0000266f,0x00002622,0x00000537, | 7406 | 0x000037e0,0x00000173,0x00000173,0x0005003e, |
| 7567 | 0x00050095,0x0000013d,0x000029d8,0x00002924, | 7407 | 0x000037d8,0x000037cd,0x00000002,0x00000004, |
| 7568 | 0x0000266f,0x00050051,0x00000006,0x000029d9, | 7408 | 0x00050080,0x00000006,0x00003764,0x00003755, |
| 7569 | 0x000029d8,0x00000001,0x00050051,0x00000006, | 7409 | 0x000001d5,0x00050051,0x00000027,0x00003768, |
| 7570 | 0x000029da,0x000029d8,0x00000000,0x00050080, | 7410 | 0x0000655a,0x00000002,0x0004007c,0x00000006, |
| 7571 | 0x00000006,0x000029df,0x0000292b,0x000029d9, | 7411 | 0x000037f6,0x00003768,0x00050095,0x00000145, |
| 7572 | 0x00050050,0x00000007,0x000029e0,0x000029da, | 7412 | 0x00003811,0x000037bd,0x00003764,0x00050051, |
| 7573 | 0x000029df,0x0004007c,0x00000014,0x000029d0, | 7413 | 0x00000006,0x00003812,0x00003811,0x00000001, |
| 7574 | 0x000029e0,0x00060041,0x0000016c,0x000029c8, | 7414 | 0x00050051,0x00000006,0x00003813,0x00003811, |
| 7575 | 0x000029d0,0x0000016b,0x0000016b,0x0005003e, | 7415 | 0x00000000,0x00050080,0x00000006,0x00003818, |
| 7576 | 0x000029c8,0x00000539,0x00000002,0x00000004, | 7416 | 0x000037c4,0x00003812,0x00050050,0x00000007, |
| 7577 | 0x00050080,0x00000006,0x00002674,0x00002622, | 7417 | 0x00003819,0x00003813,0x00003818,0x0004007c, |
| 7578 | 0x00000541,0x00050095,0x0000013d,0x000029f8, | 7418 | 0x00000014,0x00003809,0x00003819,0x00060041, |
| 7579 | 0x00002924,0x00002674,0x00050051,0x00000006, | 7419 | 0x00000174,0x00003801,0x00003809,0x00000173, |
| 7580 | 0x000029f9,0x000029f8,0x00000001,0x00050051, | 7420 | 0x00000173,0x0005003e,0x00003801,0x000037f6, |
| 7581 | 0x00000006,0x000029fa,0x000029f8,0x00000000, | ||
| 7582 | 0x00050080,0x00000006,0x000029ff,0x0000292b, | ||
| 7583 | 0x000029f9,0x00050050,0x00000007,0x00002a00, | ||
| 7584 | 0x000029fa,0x000029ff,0x0004007c,0x00000014, | ||
| 7585 | 0x000029f0,0x00002a00,0x00060041,0x0000016c, | ||
| 7586 | 0x000029e8,0x000029f0,0x0000016b,0x0000016b, | ||
| 7587 | 0x0005003e,0x000029e8,0x00000543,0x00000002, | ||
| 7588 | 0x00000004,0x00050041,0x0000006d,0x00002678, | ||
| 7589 | 0x000025da,0x0000016b,0x0004003d,0x0000006c, | ||
| 7590 | 0x00002679,0x00002678,0x0004009c,0x0000054d, | ||
| 7591 | 0x0000267a,0x00002679,0x0004009a,0x0000002f, | ||
| 7592 | 0x0000267b,0x0000267a,0x000400a8,0x0000002f, | ||
| 7593 | 0x0000267c,0x0000267b,0x000300f7,0x00002682, | ||
| 7594 | 0x00000000,0x000400fa,0x0000267c,0x0000267d, | ||
| 7595 | 0x00002682,0x000200f8,0x0000267d,0x00050041, | ||
| 7596 | 0x0000006d,0x0000267e,0x000025da,0x00000264, | ||
| 7597 | 0x0004003d,0x0000006c,0x0000267f,0x0000267e, | ||
| 7598 | 0x0004009c,0x0000054d,0x00002680,0x0000267f, | ||
| 7599 | 0x0004009a,0x0000002f,0x00002681,0x00002680, | ||
| 7600 | 0x000200f9,0x00002682,0x000200f8,0x00002682, | ||
| 7601 | 0x000700f5,0x0000002f,0x00002683,0x0000267b, | ||
| 7602 | 0x0000264b,0x00002681,0x0000267d,0x000400a8, | ||
| 7603 | 0x0000002f,0x00002684,0x00002683,0x000300f7, | ||
| 7604 | 0x0000268a,0x00000000,0x000400fa,0x00002684, | ||
| 7605 | 0x00002685,0x0000268a,0x000200f8,0x00002685, | ||
| 7606 | 0x00050041,0x0000006d,0x00002686,0x000025da, | ||
| 7607 | 0x00000315,0x0004003d,0x0000006c,0x00002687, | ||
| 7608 | 0x00002686,0x0004009c,0x0000054d,0x00002688, | ||
| 7609 | 0x00002687,0x0004009a,0x0000002f,0x00002689, | ||
| 7610 | 0x00002688,0x000200f9,0x0000268a,0x000200f8, | ||
| 7611 | 0x0000268a,0x000700f5,0x0000002f,0x0000268b, | ||
| 7612 | 0x00002683,0x00002682,0x00002689,0x00002685, | ||
| 7613 | 0x0004003d,0x0000006c,0x0000268d,0x00002678, | ||
| 7614 | 0x00050041,0x0000006d,0x0000268e,0x000025da, | ||
| 7615 | 0x00000264,0x0004003d,0x0000006c,0x0000268f, | ||
| 7616 | 0x0000268e,0x0007000c,0x0000006c,0x00002690, | ||
| 7617 | 0x00000001,0x00000025,0x0000268d,0x0000268f, | ||
| 7618 | 0x00050041,0x0000006d,0x00002691,0x000025da, | ||
| 7619 | 0x00000315,0x0004003d,0x0000006c,0x00002692, | ||
| 7620 | 0x00002691,0x0007000c,0x0000006c,0x00002693, | ||
| 7621 | 0x00000001,0x00000025,0x00002690,0x00002692, | ||
| 7622 | 0x0004003d,0x0000006c,0x00002695,0x00002678, | ||
| 7623 | 0x0004003d,0x0000006c,0x00002697,0x0000268e, | ||
| 7624 | 0x0007000c,0x0000006c,0x00002698,0x00000001, | ||
| 7625 | 0x00000028,0x00002695,0x00002697,0x0004003d, | ||
| 7626 | 0x0000006c,0x0000269a,0x00002691,0x0007000c, | ||
| 7627 | 0x0000006c,0x0000269b,0x00000001,0x00000028, | ||
| 7628 | 0x00002698,0x0000269a,0x00060050,0x0000054d, | ||
| 7629 | 0x00006125,0x0000268b,0x0000268b,0x0000268b, | ||
| 7630 | 0x000600a9,0x0000006c,0x00006126,0x00006125, | ||
| 7631 | 0x000060fe,0x0000269b,0x000600a9,0x0000006c, | ||
| 7632 | 0x00006128,0x00006125,0x00000576,0x00002693, | ||
| 7633 | 0x00050041,0x000001bb,0x00002a50,0x000001b9, | ||
| 7634 | 0x000001ba,0x0004003d,0x00000006,0x00002a51, | ||
| 7635 | 0x00002a50,0x00050084,0x00000006,0x00002a52, | ||
| 7636 | 0x000001db,0x00002a51,0x00050080,0x00000006, | ||
| 7637 | 0x00002a53,0x000001c4,0x00002a52,0x00050080, | ||
| 7638 | 0x00000006,0x00002a59,0x00002a51,0x0000062f, | ||
| 7639 | 0x00050086,0x00000006,0x00002a5a,0x00002a59, | ||
| 7640 | 0x000001be,0x00050084,0x00000006,0x00002a4c, | ||
| 7641 | 0x000001c4,0x00002a5a,0x00050080,0x00000006, | ||
| 7642 | 0x00002a4d,0x00002a53,0x00002a4c,0x00050080, | ||
| 7643 | 0x00000006,0x00002a47,0x00002a4d,0x00002a4c, | ||
| 7644 | 0x00050084,0x00000006,0x00002a17,0x000001ef, | ||
| 7645 | 0x0000261d,0x00050080,0x00000006,0x00002a18, | ||
| 7646 | 0x00002a47,0x00002a17,0x00050041,0x00000266, | ||
| 7647 | 0x00002a19,0x000001b9,0x00000264,0x0004003d, | ||
| 7648 | 0x00000007,0x00002a1a,0x00002a19,0x00050051, | ||
| 7649 | 0x00000027,0x00002a1d,0x00006128,0x00000000, | ||
| 7650 | 0x0004007c,0x00000006,0x00002a67,0x00002a1d, | ||
| 7651 | 0x00050051,0x00000006,0x00002a80,0x00002a1a, | ||
| 7652 | 0x00000000,0x00050095,0x0000013d,0x00002a82, | ||
| 7653 | 0x00002a80,0x00002a18,0x00050051,0x00000006, | ||
| 7654 | 0x00002a83,0x00002a82,0x00000001,0x00050051, | ||
| 7655 | 0x00000006,0x00002a84,0x00002a82,0x00000000, | ||
| 7656 | 0x00050051,0x00000006,0x00002a87,0x00002a1a, | ||
| 7657 | 0x00000001,0x00050080,0x00000006,0x00002a89, | ||
| 7658 | 0x00002a87,0x00002a83,0x00050050,0x00000007, | ||
| 7659 | 0x00002a8a,0x00002a84,0x00002a89,0x0004007c, | ||
| 7660 | 0x00000014,0x00002a7a,0x00002a8a,0x00060041, | ||
| 7661 | 0x0000016c,0x00002a72,0x00002a7a,0x0000016b, | ||
| 7662 | 0x0000016b,0x0005003e,0x00002a72,0x00002a67, | ||
| 7663 | 0x00000002,0x00000004,0x00050080,0x00000006, | 7421 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 7664 | 0x00002a20,0x00002a18,0x000000ec,0x00050051, | 7422 | 0x0000376b,0x00003755,0x000001dc,0x00050051, |
| 7665 | 0x00000027,0x00002a24,0x00006128,0x00000001, | 7423 | 0x00000027,0x0000376f,0x00006558,0x00000000, |
| 7666 | 0x0004007c,0x00000006,0x00002a90,0x00002a24, | 7424 | 0x0004007c,0x00000006,0x0000381f,0x0000376f, |
| 7667 | 0x00050095,0x0000013d,0x00002aab,0x00002a80, | 7425 | 0x00050095,0x00000145,0x0000383a,0x000037bd, |
| 7668 | 0x00002a20,0x00050051,0x00000006,0x00002aac, | 7426 | 0x0000376b,0x00050051,0x00000006,0x0000383b, |
| 7669 | 0x00002aab,0x00000001,0x00050051,0x00000006, | 7427 | 0x0000383a,0x00000001,0x00050051,0x00000006, |
| 7670 | 0x00002aad,0x00002aab,0x00000000,0x00050080, | 7428 | 0x0000383c,0x0000383a,0x00000000,0x00050080, |
| 7671 | 0x00000006,0x00002ab2,0x00002a87,0x00002aac, | 7429 | 0x00000006,0x00003841,0x000037c4,0x0000383b, |
| 7672 | 0x00050050,0x00000007,0x00002ab3,0x00002aad, | 7430 | 0x00050050,0x00000007,0x00003842,0x0000383c, |
| 7673 | 0x00002ab2,0x0004007c,0x00000014,0x00002aa3, | 7431 | 0x00003841,0x0004007c,0x00000014,0x00003832, |
| 7674 | 0x00002ab3,0x00060041,0x0000016c,0x00002a9b, | 7432 | 0x00003842,0x00060041,0x00000174,0x0000382a, |
| 7675 | 0x00002aa3,0x0000016b,0x0000016b,0x0005003e, | 7433 | 0x00003832,0x00000173,0x00000173,0x0005003e, |
| 7676 | 0x00002a9b,0x00002a90,0x00000002,0x00000004, | 7434 | 0x0000382a,0x0000381f,0x00000002,0x00000004, |
| 7677 | 0x00050080,0x00000006,0x00002a27,0x00002a18, | 7435 | 0x00050080,0x00000006,0x00003772,0x00003755, |
| 7678 | 0x000001cd,0x00050051,0x00000027,0x00002a2b, | 7436 | 0x000001e3,0x00050051,0x00000027,0x00003776, |
| 7679 | 0x00006128,0x00000002,0x0004007c,0x00000006, | 7437 | 0x00006558,0x00000001,0x0004007c,0x00000006, |
| 7680 | 0x00002ab9,0x00002a2b,0x00050095,0x0000013d, | 7438 | 0x00003848,0x00003776,0x00050095,0x00000145, |
| 7681 | 0x00002ad4,0x00002a80,0x00002a27,0x00050051, | 7439 | 0x00003863,0x000037bd,0x00003772,0x00050051, |
| 7682 | 0x00000006,0x00002ad5,0x00002ad4,0x00000001, | 7440 | 0x00000006,0x00003864,0x00003863,0x00000001, |
| 7683 | 0x00050051,0x00000006,0x00002ad6,0x00002ad4, | 7441 | 0x00050051,0x00000006,0x00003865,0x00003863, |
| 7684 | 0x00000000,0x00050080,0x00000006,0x00002adb, | 7442 | 0x00000000,0x00050080,0x00000006,0x0000386a, |
| 7685 | 0x00002a87,0x00002ad5,0x00050050,0x00000007, | 7443 | 0x000037c4,0x00003864,0x00050050,0x00000007, |
| 7686 | 0x00002adc,0x00002ad6,0x00002adb,0x0004007c, | 7444 | 0x0000386b,0x00003865,0x0000386a,0x0004007c, |
| 7687 | 0x00000014,0x00002acc,0x00002adc,0x00060041, | 7445 | 0x00000014,0x0000385b,0x0000386b,0x00060041, |
| 7688 | 0x0000016c,0x00002ac4,0x00002acc,0x0000016b, | 7446 | 0x00000174,0x00003853,0x0000385b,0x00000173, |
| 7689 | 0x0000016b,0x0005003e,0x00002ac4,0x00002ab9, | 7447 | 0x00000173,0x0005003e,0x00003853,0x00003848, |
| 7690 | 0x00000002,0x00000004,0x00050080,0x00000006, | 7448 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 7691 | 0x00002a2e,0x00002a18,0x000001d4,0x00050051, | 7449 | 0x00003779,0x00003755,0x000002a1,0x00050051, |
| 7692 | 0x00000027,0x00002a32,0x00006126,0x00000000, | 7450 | 0x00000027,0x0000377d,0x00006558,0x00000002, |
| 7693 | 0x0004007c,0x00000006,0x00002ae2,0x00002a32, | 7451 | 0x0004007c,0x00000006,0x00003871,0x0000377d, |
| 7694 | 0x00050095,0x0000013d,0x00002afd,0x00002a80, | 7452 | 0x00050095,0x00000145,0x0000388c,0x000037bd, |
| 7695 | 0x00002a2e,0x00050051,0x00000006,0x00002afe, | 7453 | 0x00003779,0x00050051,0x00000006,0x0000388d, |
| 7454 | 0x0000388c,0x00000001,0x00050051,0x00000006, | ||
| 7455 | 0x0000388e,0x0000388c,0x00000000,0x00050080, | ||
| 7456 | 0x00000006,0x00003893,0x000037c4,0x0000388d, | ||
| 7457 | 0x00050050,0x00000007,0x00003894,0x0000388e, | ||
| 7458 | 0x00003893,0x0004007c,0x00000014,0x00003884, | ||
| 7459 | 0x00003894,0x00060041,0x00000174,0x0000387c, | ||
| 7460 | 0x00003884,0x00000173,0x00000173,0x0005003e, | ||
| 7461 | 0x0000387c,0x00003871,0x00000002,0x00000004, | ||
| 7462 | 0x000300f7,0x000038d4,0x00000000,0x000300fb, | ||
| 7463 | 0x00000140,0x000038a3,0x000200f8,0x000038a3, | ||
| 7464 | 0x000500bc,0x0000002f,0x000038db,0x0000375a, | ||
| 7465 | 0x0000376f,0x000300f7,0x000038e2,0x00000000, | ||
| 7466 | 0x000400fa,0x000038db,0x000038dc,0x000038e2, | ||
| 7467 | 0x000200f8,0x000038dc,0x000500bc,0x0000002f, | ||
| 7468 | 0x000038e1,0x00003761,0x00003776,0x000200f9, | ||
| 7469 | 0x000038e2,0x000200f8,0x000038e2,0x000700f5, | ||
| 7470 | 0x0000002f,0x000038e3,0x000038db,0x000038a3, | ||
| 7471 | 0x000038e1,0x000038dc,0x000300f7,0x000038ea, | ||
| 7472 | 0x00000000,0x000400fa,0x000038e3,0x000038e4, | ||
| 7473 | 0x000038ea,0x000200f8,0x000038e4,0x000500bc, | ||
| 7474 | 0x0000002f,0x000038e9,0x00003768,0x0000377d, | ||
| 7475 | 0x000200f9,0x000038ea,0x000200f8,0x000038ea, | ||
| 7476 | 0x000700f5,0x0000002f,0x000038eb,0x000038e3, | ||
| 7477 | 0x000038e2,0x000038e9,0x000038e4,0x000400a8, | ||
| 7478 | 0x0000002f,0x000038ec,0x000038eb,0x000300f7, | ||
| 7479 | 0x000038a8,0x00000000,0x000400fa,0x000038ec, | ||
| 7480 | 0x000038a7,0x000038a8,0x000200f8,0x000038a7, | ||
| 7481 | 0x000200f9,0x000038d4,0x000200f8,0x000038a8, | ||
| 7482 | 0x00050081,0x0000006c,0x000038ab,0x0000655a, | ||
| 7483 | 0x00006558,0x0005008e,0x0000006c,0x000038ac, | ||
| 7484 | 0x000038ab,0x00000305,0x00050095,0x00000145, | ||
| 7485 | 0x000038fc,0x000037bd,0x00000140,0x00050051, | ||
| 7486 | 0x00000006,0x000038fd,0x000038fc,0x00000001, | ||
| 7487 | 0x00050051,0x00000006,0x000038fe,0x000038fc, | ||
| 7488 | 0x00000000,0x00050080,0x00000006,0x00003903, | ||
| 7489 | 0x000037c4,0x000038fd,0x00050050,0x00000007, | ||
| 7490 | 0x00003904,0x000038fe,0x00003903,0x0004007c, | ||
| 7491 | 0x00000014,0x000038f4,0x00003904,0x00060041, | ||
| 7492 | 0x00000174,0x000038b1,0x000038f4,0x00000173, | ||
| 7493 | 0x00000173,0x00050051,0x00000027,0x000038b3, | ||
| 7494 | 0x000038ac,0x00000000,0x0004007c,0x00000006, | ||
| 7495 | 0x0000390a,0x000038b3,0x000500c7,0x00000006, | ||
| 7496 | 0x0000390c,0x0000390a,0x00000249,0x000500ab, | ||
| 7497 | 0x0000002f,0x0000390d,0x0000390c,0x00000140, | ||
| 7498 | 0x000300f7,0x00003914,0x00000000,0x000400fa, | ||
| 7499 | 0x0000390d,0x0000390e,0x00003911,0x000200f8, | ||
| 7500 | 0x00003911,0x000500c5,0x00000006,0x00003913, | ||
| 7501 | 0x0000390a,0x00000249,0x000200f9,0x00003914, | ||
| 7502 | 0x000200f8,0x0000390e,0x000400c8,0x00000006, | ||
| 7503 | 0x00003910,0x0000390a,0x000200f9,0x00003914, | ||
| 7504 | 0x000200f8,0x00003914,0x000700f5,0x00000006, | ||
| 7505 | 0x00006334,0x00003910,0x0000390e,0x00003913, | ||
| 7506 | 0x00003911,0x000700ed,0x00000006,0x000038b5, | ||
| 7507 | 0x000038b1,0x0000014a,0x00000140,0x00006334, | ||
| 7508 | 0x00060041,0x00000174,0x000038b7,0x000038f4, | ||
| 7509 | 0x00000173,0x0000026c,0x00050051,0x00000027, | ||
| 7510 | 0x000038b9,0x000038ac,0x00000001,0x0004007c, | ||
| 7511 | 0x00000006,0x0000391b,0x000038b9,0x000500c7, | ||
| 7512 | 0x00000006,0x0000391d,0x0000391b,0x00000249, | ||
| 7513 | 0x000500ab,0x0000002f,0x0000391e,0x0000391d, | ||
| 7514 | 0x00000140,0x000300f7,0x00003925,0x00000000, | ||
| 7515 | 0x000400fa,0x0000391e,0x0000391f,0x00003922, | ||
| 7516 | 0x000200f8,0x00003922,0x000500c5,0x00000006, | ||
| 7517 | 0x00003924,0x0000391b,0x00000249,0x000200f9, | ||
| 7518 | 0x00003925,0x000200f8,0x0000391f,0x000400c8, | ||
| 7519 | 0x00000006,0x00003921,0x0000391b,0x000200f9, | ||
| 7520 | 0x00003925,0x000200f8,0x00003925,0x000700f5, | ||
| 7521 | 0x00000006,0x00006335,0x00003921,0x0000391f, | ||
| 7522 | 0x00003924,0x00003922,0x000700ed,0x00000006, | ||
| 7523 | 0x000038bb,0x000038b7,0x0000014a,0x00000140, | ||
| 7524 | 0x00006335,0x00060041,0x00000174,0x000038bd, | ||
| 7525 | 0x000038f4,0x00000173,0x0000031d,0x00050051, | ||
| 7526 | 0x00000027,0x000038bf,0x000038ac,0x00000002, | ||
| 7527 | 0x0004007c,0x00000006,0x0000392c,0x000038bf, | ||
| 7528 | 0x000500c7,0x00000006,0x0000392e,0x0000392c, | ||
| 7529 | 0x00000249,0x000500ab,0x0000002f,0x0000392f, | ||
| 7530 | 0x0000392e,0x00000140,0x000300f7,0x00003936, | ||
| 7531 | 0x00000000,0x000400fa,0x0000392f,0x00003930, | ||
| 7532 | 0x00003933,0x000200f8,0x00003933,0x000500c5, | ||
| 7533 | 0x00000006,0x00003935,0x0000392c,0x00000249, | ||
| 7534 | 0x000200f9,0x00003936,0x000200f8,0x00003930, | ||
| 7535 | 0x000400c8,0x00000006,0x00003932,0x0000392c, | ||
| 7536 | 0x000200f9,0x00003936,0x000200f8,0x00003936, | ||
| 7537 | 0x000700f5,0x00000006,0x00006336,0x00003932, | ||
| 7538 | 0x00003930,0x00003935,0x00003933,0x000700ed, | ||
| 7539 | 0x00000006,0x000038c1,0x000038bd,0x0000014a, | ||
| 7540 | 0x00000140,0x00006336,0x00060041,0x00000174, | ||
| 7541 | 0x000038c3,0x000038f4,0x00000173,0x00000325, | ||
| 7542 | 0x000300f7,0x00003947,0x00000000,0x000400fa, | ||
| 7543 | 0x0000390d,0x00003941,0x00003944,0x000200f8, | ||
| 7544 | 0x00003944,0x000500c5,0x00000006,0x00003946, | ||
| 7545 | 0x0000390a,0x00000249,0x000200f9,0x00003947, | ||
| 7546 | 0x000200f8,0x00003941,0x000400c8,0x00000006, | ||
| 7547 | 0x00003943,0x0000390a,0x000200f9,0x00003947, | ||
| 7548 | 0x000200f8,0x00003947,0x000700f5,0x00000006, | ||
| 7549 | 0x00006337,0x00003943,0x00003941,0x00003946, | ||
| 7550 | 0x00003944,0x000700ef,0x00000006,0x000038c7, | ||
| 7551 | 0x000038c3,0x0000014a,0x00000140,0x00006337, | ||
| 7552 | 0x00060041,0x00000174,0x000038c9,0x000038f4, | ||
| 7553 | 0x00000173,0x0000032d,0x000300f7,0x00003958, | ||
| 7554 | 0x00000000,0x000400fa,0x0000391e,0x00003952, | ||
| 7555 | 0x00003955,0x000200f8,0x00003955,0x000500c5, | ||
| 7556 | 0x00000006,0x00003957,0x0000391b,0x00000249, | ||
| 7557 | 0x000200f9,0x00003958,0x000200f8,0x00003952, | ||
| 7558 | 0x000400c8,0x00000006,0x00003954,0x0000391b, | ||
| 7559 | 0x000200f9,0x00003958,0x000200f8,0x00003958, | ||
| 7560 | 0x000700f5,0x00000006,0x00006338,0x00003954, | ||
| 7561 | 0x00003952,0x00003957,0x00003955,0x000700ef, | ||
| 7562 | 0x00000006,0x000038cd,0x000038c9,0x0000014a, | ||
| 7563 | 0x00000140,0x00006338,0x00060041,0x00000174, | ||
| 7564 | 0x000038cf,0x000038f4,0x00000173,0x00000335, | ||
| 7565 | 0x000300f7,0x00003969,0x00000000,0x000400fa, | ||
| 7566 | 0x0000392f,0x00003963,0x00003966,0x000200f8, | ||
| 7567 | 0x00003966,0x000500c5,0x00000006,0x00003968, | ||
| 7568 | 0x0000392c,0x00000249,0x000200f9,0x00003969, | ||
| 7569 | 0x000200f8,0x00003963,0x000400c8,0x00000006, | ||
| 7570 | 0x00003965,0x0000392c,0x000200f9,0x00003969, | ||
| 7571 | 0x000200f8,0x00003969,0x000700f5,0x00000006, | ||
| 7572 | 0x00006339,0x00003965,0x00003963,0x00003968, | ||
| 7573 | 0x00003966,0x000700ef,0x00000006,0x000038d3, | ||
| 7574 | 0x000038cf,0x0000014a,0x00000140,0x00006339, | ||
| 7575 | 0x000200f9,0x000038d4,0x000200f8,0x000038d4, | ||
| 7576 | 0x000200f9,0x000014b9,0x000200f8,0x000014b9, | ||
| 7577 | 0x000200f9,0x000014b0,0x000200f8,0x000014af, | ||
| 7578 | 0x000200f9,0x000028db,0x000200f8,0x000028db, | ||
| 7579 | 0x000700f5,0x00000006,0x00006346,0x00000140, | ||
| 7580 | 0x000014af,0x000028eb,0x000028e9,0x000500b0, | ||
| 7581 | 0x0000002f,0x000028de,0x00006346,0x000004d7, | ||
| 7582 | 0x000400f6,0x000028ec,0x000028e9,0x00000000, | ||
| 7583 | 0x000400fa,0x000028de,0x000028df,0x000028ec, | ||
| 7584 | 0x000200f8,0x000028df,0x00050084,0x00000006, | ||
| 7585 | 0x000028e2,0x000004d7,0x000013a7,0x00050080, | ||
| 7586 | 0x00000006,0x000028e4,0x000028e2,0x00006346, | ||
| 7587 | 0x000300f7,0x000029a7,0x00000000,0x000300fb, | ||
| 7588 | 0x00000140,0x00002985,0x000200f8,0x00002985, | ||
| 7589 | 0x00050041,0x000001c3,0x00002986,0x000001c1, | ||
| 7590 | 0x0000049b,0x0004003d,0x00000006,0x00002987, | ||
| 7591 | 0x00002986,0x000500aa,0x0000002f,0x00002988, | ||
| 7592 | 0x00002987,0x00000140,0x000300f7,0x0000298b, | ||
| 7593 | 0x00000000,0x000400fa,0x00002988,0x00002989, | ||
| 7594 | 0x0000298b,0x000200f8,0x00002989,0x000200f9, | ||
| 7595 | 0x000029a7,0x000200f8,0x0000298b,0x000500aa, | ||
| 7596 | 0x0000002f,0x0000298e,0x00002987,0x00000288, | ||
| 7597 | 0x000300f7,0x00002995,0x00000000,0x000400fa, | ||
| 7598 | 0x0000298e,0x0000298f,0x00002995,0x000200f8, | ||
| 7599 | 0x0000298f,0x00050084,0x00000006,0x00002991, | ||
| 7600 | 0x000000f3,0x000028e4,0x00050041,0x0000026e, | ||
| 7601 | 0x00002992,0x000001c1,0x00000325,0x0004003d, | ||
| 7602 | 0x00000007,0x00002993,0x00002992,0x00050051, | ||
| 7603 | 0x00000006,0x000029bf,0x00002993,0x00000000, | ||
| 7604 | 0x00050095,0x00000145,0x000029c1,0x000029bf, | ||
| 7605 | 0x00002991,0x00050051,0x00000006,0x000029c2, | ||
| 7606 | 0x000029c1,0x00000001,0x00050051,0x00000006, | ||
| 7607 | 0x000029c3,0x000029c1,0x00000000,0x00050051, | ||
| 7608 | 0x00000006,0x000029c6,0x00002993,0x00000001, | ||
| 7609 | 0x00050080,0x00000006,0x000029c8,0x000029c6, | ||
| 7610 | 0x000029c2,0x00050050,0x00000007,0x000029c9, | ||
| 7611 | 0x000029c3,0x000029c8,0x0004007c,0x00000014, | ||
| 7612 | 0x000029b9,0x000029c9,0x00060041,0x00000174, | ||
| 7613 | 0x000029b0,0x000029b9,0x00000173,0x00000173, | ||
| 7614 | 0x0006003d,0x00000006,0x000029b1,0x000029b0, | ||
| 7615 | 0x00000002,0x00000004,0x000200f9,0x000029a7, | ||
| 7616 | 0x000200f8,0x00002995,0x000500c2,0x00000006, | ||
| 7617 | 0x00002997,0x000028e4,0x0000026c,0x00050084, | ||
| 7618 | 0x00000006,0x00002998,0x000000f3,0x00002997, | ||
| 7619 | 0x00050041,0x0000026e,0x00002999,0x000001c1, | ||
| 7620 | 0x00000325,0x0004003d,0x00000007,0x0000299a, | ||
| 7621 | 0x00002999,0x00050051,0x00000006,0x000029e0, | ||
| 7622 | 0x0000299a,0x00000000,0x00050095,0x00000145, | ||
| 7623 | 0x000029e2,0x000029e0,0x00002998,0x00050051, | ||
| 7624 | 0x00000006,0x000029e3,0x000029e2,0x00000001, | ||
| 7625 | 0x00050051,0x00000006,0x000029e4,0x000029e2, | ||
| 7626 | 0x00000000,0x00050051,0x00000006,0x000029e7, | ||
| 7627 | 0x0000299a,0x00000001,0x00050080,0x00000006, | ||
| 7628 | 0x000029e9,0x000029e7,0x000029e3,0x00050050, | ||
| 7629 | 0x00000007,0x000029ea,0x000029e4,0x000029e9, | ||
| 7630 | 0x0004007c,0x00000014,0x000029da,0x000029ea, | ||
| 7631 | 0x00060041,0x00000174,0x000029d1,0x000029da, | ||
| 7632 | 0x00000173,0x00000173,0x0006003d,0x00000006, | ||
| 7633 | 0x000029d2,0x000029d1,0x00000002,0x00000004, | ||
| 7634 | 0x000500c7,0x00000006,0x0000299d,0x000028e4, | ||
| 7635 | 0x0000014a,0x000500ab,0x0000002f,0x0000299e, | ||
| 7636 | 0x0000299d,0x00000140,0x000300f7,0x000029a5, | ||
| 7637 | 0x00000000,0x000400fa,0x0000299e,0x0000299f, | ||
| 7638 | 0x000029a2,0x000200f8,0x000029a2,0x000500c7, | ||
| 7639 | 0x00000006,0x000029a4,0x000029d2,0x000004c3, | ||
| 7640 | 0x000200f9,0x000029a5,0x000200f8,0x0000299f, | ||
| 7641 | 0x000500c2,0x00000006,0x000029a1,0x000029d2, | ||
| 7642 | 0x00000362,0x000200f9,0x000029a5,0x000200f8, | ||
| 7643 | 0x000029a5,0x000700f5,0x00000006,0x00006350, | ||
| 7644 | 0x000029a1,0x0000299f,0x000029a4,0x000029a2, | ||
| 7645 | 0x000200f9,0x000029a7,0x000200f8,0x000029a7, | ||
| 7646 | 0x000900f5,0x00000006,0x00006351,0x000028e4, | ||
| 7647 | 0x00002989,0x000029b1,0x0000298f,0x00006350, | ||
| 7648 | 0x000029a5,0x000300f7,0x00002a1e,0x00000000, | ||
| 7649 | 0x000300fb,0x00000140,0x000029fc,0x000200f8, | ||
| 7650 | 0x000029fc,0x00050041,0x000001c3,0x000029fe, | ||
| 7651 | 0x000001c1,0x00000467,0x0004003d,0x00000006, | ||
| 7652 | 0x000029ff,0x000029fe,0x000500ae,0x0000002f, | ||
| 7653 | 0x00002a00,0x00006351,0x000029ff,0x000300f7, | ||
| 7654 | 0x00002a02,0x00000000,0x000400fa,0x00002a00, | ||
| 7655 | 0x00002a01,0x00002a02,0x000200f8,0x00002a01, | ||
| 7656 | 0x000200f9,0x00002a1e,0x000200f8,0x00002a02, | ||
| 7657 | 0x00050041,0x000001c3,0x00002a04,0x000001c1, | ||
| 7658 | 0x0000020e,0x0004003d,0x00000006,0x00002a05, | ||
| 7659 | 0x00002a04,0x00050084,0x00000006,0x00002a06, | ||
| 7660 | 0x00006351,0x00002a05,0x00050041,0x0000026e, | ||
| 7661 | 0x00002a07,0x000001c1,0x0000031d,0x0004003d, | ||
| 7662 | 0x00000007,0x00002a08,0x00002a07,0x00050051, | ||
| 7663 | 0x00000006,0x00002a25,0x00002a08,0x00000000, | ||
| 7664 | 0x00050095,0x00000145,0x00002a27,0x00002a25, | ||
| 7665 | 0x00002a06,0x00050051,0x00000006,0x00002a28, | ||
| 7666 | 0x00002a27,0x00000001,0x00050051,0x00000006, | ||
| 7667 | 0x00002a29,0x00002a27,0x00000000,0x00050051, | ||
| 7668 | 0x00000006,0x00002a2c,0x00002a08,0x00000001, | ||
| 7669 | 0x00050080,0x00000006,0x00002a2e,0x00002a2c, | ||
| 7670 | 0x00002a28,0x00050095,0x00000145,0x00002a48, | ||
| 7671 | 0x00002a29,0x00000140,0x00050051,0x00000006, | ||
| 7672 | 0x00002a49,0x00002a48,0x00000001,0x00050051, | ||
| 7673 | 0x00000006,0x00002a4a,0x00002a48,0x00000000, | ||
| 7674 | 0x00050080,0x00000006,0x00002a4f,0x00002a2e, | ||
| 7675 | 0x00002a49,0x00050050,0x00000007,0x00002a50, | ||
| 7676 | 0x00002a4a,0x00002a4f,0x0004007c,0x00000014, | ||
| 7677 | 0x00002a40,0x00002a50,0x00060041,0x00000174, | ||
| 7678 | 0x00002a37,0x00002a40,0x00000173,0x00000173, | ||
| 7679 | 0x0006003d,0x00000006,0x00002a38,0x00002a37, | ||
| 7680 | 0x00000002,0x00000004,0x0004007c,0x00000027, | ||
| 7681 | 0x00002a0c,0x00002a38,0x00050095,0x00000145, | ||
| 7682 | 0x00002a69,0x00002a29,0x000000f3,0x00050051, | ||
| 7683 | 0x00000006,0x00002a6a,0x00002a69,0x00000001, | ||
| 7684 | 0x00050051,0x00000006,0x00002a6b,0x00002a69, | ||
| 7685 | 0x00000000,0x00050080,0x00000006,0x00002a70, | ||
| 7686 | 0x00002a2e,0x00002a6a,0x00050050,0x00000007, | ||
| 7687 | 0x00002a71,0x00002a6b,0x00002a70,0x0004007c, | ||
| 7688 | 0x00000014,0x00002a61,0x00002a71,0x00060041, | ||
| 7689 | 0x00000174,0x00002a58,0x00002a61,0x00000173, | ||
| 7690 | 0x00000173,0x0006003d,0x00000006,0x00002a59, | ||
| 7691 | 0x00002a58,0x00000002,0x00000004,0x0004007c, | ||
| 7692 | 0x00000027,0x00002a0f,0x00002a59,0x00050041, | ||
| 7693 | 0x000001c3,0x00002a10,0x000001c1,0x00000414, | ||
| 7694 | 0x0004003d,0x00000006,0x00002a11,0x00002a10, | ||
| 7695 | 0x000500aa,0x0000002f,0x00002a12,0x00002a11, | ||
| 7696 | 0x0000014a,0x000300f7,0x00002a18,0x00000000, | ||
| 7697 | 0x000400fa,0x00002a12,0x00002a13,0x00002a14, | ||
| 7698 | 0x000200f8,0x00002a14,0x00050095,0x00000145, | ||
| 7699 | 0x00002a8a,0x00002a29,0x000001d5,0x00050051, | ||
| 7700 | 0x00000006,0x00002a8b,0x00002a8a,0x00000001, | ||
| 7701 | 0x00050051,0x00000006,0x00002a8c,0x00002a8a, | ||
| 7702 | 0x00000000,0x00050080,0x00000006,0x00002a91, | ||
| 7703 | 0x00002a2e,0x00002a8b,0x00050050,0x00000007, | ||
| 7704 | 0x00002a92,0x00002a8c,0x00002a91,0x0004007c, | ||
| 7705 | 0x00000014,0x00002a82,0x00002a92,0x00060041, | ||
| 7706 | 0x00000174,0x00002a79,0x00002a82,0x00000173, | ||
| 7707 | 0x00000173,0x0006003d,0x00000006,0x00002a7a, | ||
| 7708 | 0x00002a79,0x00000002,0x00000004,0x0004007c, | ||
| 7709 | 0x00000027,0x00002a17,0x00002a7a,0x000200f9, | ||
| 7710 | 0x00002a18,0x000200f8,0x00002a13,0x000200f9, | ||
| 7711 | 0x00002a18,0x000200f8,0x00002a18,0x000700f5, | ||
| 7712 | 0x00000027,0x00006352,0x0000048d,0x00002a13, | ||
| 7713 | 0x00002a17,0x00002a14,0x00060050,0x0000006c, | ||
| 7714 | 0x00002a1d,0x00002a0c,0x00002a0f,0x00006352, | ||
| 7715 | 0x000200f9,0x00002a1e,0x000200f8,0x00002a1e, | ||
| 7716 | 0x000700f5,0x0000006c,0x00006353,0x0000046e, | ||
| 7717 | 0x00002a01,0x00002a1d,0x00002a18,0x000300f7, | ||
| 7718 | 0x00002ad8,0x00000000,0x000300fb,0x00000140, | ||
| 7719 | 0x00002aa4,0x000200f8,0x00002aa4,0x00050041, | ||
| 7720 | 0x0000026e,0x00002aa5,0x000001c1,0x0000032d, | ||
| 7721 | 0x0004003d,0x00000007,0x00002aa6,0x00002aa5, | ||
| 7722 | 0x00050051,0x00000006,0x00002add,0x00002aa6, | ||
| 7723 | 0x00000000,0x000500aa,0x0000002f,0x00002ade, | ||
| 7724 | 0x00002add,0x00000140,0x000300f7,0x00002ae3, | ||
| 7725 | 0x00000000,0x000400fa,0x00002ade,0x00002adf, | ||
| 7726 | 0x00002ae3,0x000200f8,0x00002adf,0x00050051, | ||
| 7727 | 0x00000006,0x00002ae1,0x00002aa6,0x00000001, | ||
| 7728 | 0x000500aa,0x0000002f,0x00002ae2,0x00002ae1, | ||
| 7729 | 0x00000140,0x000200f9,0x00002ae3,0x000200f8, | ||
| 7730 | 0x00002ae3,0x000700f5,0x0000002f,0x00002ae4, | ||
| 7731 | 0x00002ade,0x00002aa4,0x00002ae2,0x00002adf, | ||
| 7732 | 0x000300f7,0x00002aaa,0x00000000,0x000400fa, | ||
| 7733 | 0x00002ae4,0x00002aa8,0x00002aaa,0x000200f8, | ||
| 7734 | 0x00002aa8,0x000200f9,0x00002ad8,0x000200f8, | ||
| 7735 | 0x00002aaa,0x000200f9,0x00002aab,0x000200f8, | ||
| 7736 | 0x00002aab,0x000700f5,0x00000006,0x00006354, | ||
| 7737 | 0x00000140,0x00002aaa,0x00002ad5,0x00002aaf, | ||
| 7738 | 0x000500b0,0x0000002f,0x00002aae,0x00006354, | ||
| 7739 | 0x000004d7,0x000400f6,0x00002ad6,0x00002aaf, | ||
| 7740 | 0x00000000,0x000400fa,0x00002aae,0x00002aaf, | ||
| 7741 | 0x00002ad6,0x000200f8,0x00002aaf,0x00050084, | ||
| 7742 | 0x00000006,0x00002ab1,0x000001e3,0x00006354, | ||
| 7743 | 0x00050095,0x00000145,0x00002afd,0x00002add, | ||
| 7744 | 0x00002ab1,0x00050051,0x00000006,0x00002afe, | ||
| 7696 | 0x00002afd,0x00000001,0x00050051,0x00000006, | 7745 | 0x00002afd,0x00000001,0x00050051,0x00000006, |
| 7697 | 0x00002aff,0x00002afd,0x00000000,0x00050080, | 7746 | 0x00002aff,0x00002afd,0x00000000,0x00050051, |
| 7698 | 0x00000006,0x00002b04,0x00002a87,0x00002afe, | 7747 | 0x00000006,0x00002b02,0x00002aa6,0x00000001, |
| 7699 | 0x00050050,0x00000007,0x00002b05,0x00002aff, | 7748 | 0x00050080,0x00000006,0x00002b04,0x00002b02, |
| 7700 | 0x00002b04,0x0004007c,0x00000014,0x00002af5, | 7749 | 0x00002afe,0x00050050,0x00000007,0x00002b05, |
| 7701 | 0x00002b05,0x00060041,0x0000016c,0x00002aed, | 7750 | 0x00002aff,0x00002b04,0x0004007c,0x00000014, |
| 7702 | 0x00002af5,0x0000016b,0x0000016b,0x0005003e, | 7751 | 0x00002af5,0x00002b05,0x00060041,0x00000174, |
| 7703 | 0x00002aed,0x00002ae2,0x00000002,0x00000004, | 7752 | 0x00002aec,0x00002af5,0x00000173,0x00000173, |
| 7704 | 0x00050080,0x00000006,0x00002a35,0x00002a18, | 7753 | 0x0006003d,0x00000006,0x00002aed,0x00002aec, |
| 7705 | 0x000001db,0x00050051,0x00000027,0x00002a39, | 7754 | 0x00000002,0x00000004,0x0004007c,0x00000027, |
| 7706 | 0x00006126,0x00000001,0x0004007c,0x00000006, | 7755 | 0x00002ab6,0x00002aed,0x00050080,0x00000006, |
| 7707 | 0x00002b0b,0x00002a39,0x00050095,0x0000013d, | 7756 | 0x00002ab8,0x00002ab1,0x000000f3,0x00050095, |
| 7708 | 0x00002b26,0x00002a80,0x00002a35,0x00050051, | 7757 | 0x00000145,0x00002b1e,0x00002add,0x00002ab8, |
| 7709 | 0x00000006,0x00002b27,0x00002b26,0x00000001, | 7758 | 0x00050051,0x00000006,0x00002b1f,0x00002b1e, |
| 7710 | 0x00050051,0x00000006,0x00002b28,0x00002b26, | 7759 | 0x00000001,0x00050051,0x00000006,0x00002b20, |
| 7711 | 0x00000000,0x00050080,0x00000006,0x00002b2d, | 7760 | 0x00002b1e,0x00000000,0x00050080,0x00000006, |
| 7712 | 0x00002a87,0x00002b27,0x00050050,0x00000007, | 7761 | 0x00002b25,0x00002b02,0x00002b1f,0x00050050, |
| 7713 | 0x00002b2e,0x00002b28,0x00002b2d,0x0004007c, | 7762 | 0x00000007,0x00002b26,0x00002b20,0x00002b25, |
| 7714 | 0x00000014,0x00002b1e,0x00002b2e,0x00060041, | 7763 | 0x0004007c,0x00000014,0x00002b16,0x00002b26, |
| 7715 | 0x0000016c,0x00002b16,0x00002b1e,0x0000016b, | 7764 | 0x00060041,0x00000174,0x00002b0d,0x00002b16, |
| 7716 | 0x0000016b,0x0005003e,0x00002b16,0x00002b0b, | 7765 | 0x00000173,0x00000173,0x0006003d,0x00000006, |
| 7766 | 0x00002b0e,0x00002b0d,0x00000002,0x00000004, | ||
| 7767 | 0x0004007c,0x00000027,0x00002abc,0x00002b0e, | ||
| 7768 | 0x00050080,0x00000006,0x00002abe,0x00002ab1, | ||
| 7769 | 0x000001d5,0x00050095,0x00000145,0x00002b3f, | ||
| 7770 | 0x00002add,0x00002abe,0x00050051,0x00000006, | ||
| 7771 | 0x00002b40,0x00002b3f,0x00000001,0x00050051, | ||
| 7772 | 0x00000006,0x00002b41,0x00002b3f,0x00000000, | ||
| 7773 | 0x00050080,0x00000006,0x00002b46,0x00002b02, | ||
| 7774 | 0x00002b40,0x00050050,0x00000007,0x00002b47, | ||
| 7775 | 0x00002b41,0x00002b46,0x0004007c,0x00000014, | ||
| 7776 | 0x00002b37,0x00002b47,0x00060041,0x00000174, | ||
| 7777 | 0x00002b2e,0x00002b37,0x00000173,0x00000173, | ||
| 7778 | 0x0006003d,0x00000006,0x00002b2f,0x00002b2e, | ||
| 7779 | 0x00000002,0x00000004,0x0004007c,0x00000027, | ||
| 7780 | 0x00002ac2,0x00002b2f,0x00050080,0x00000006, | ||
| 7781 | 0x00002ac4,0x00002ab1,0x000001dc,0x00050095, | ||
| 7782 | 0x00000145,0x00002b60,0x00002add,0x00002ac4, | ||
| 7783 | 0x00050051,0x00000006,0x00002b61,0x00002b60, | ||
| 7784 | 0x00000001,0x00050051,0x00000006,0x00002b62, | ||
| 7785 | 0x00002b60,0x00000000,0x00050080,0x00000006, | ||
| 7786 | 0x00002b67,0x00002b02,0x00002b61,0x00050050, | ||
| 7787 | 0x00000007,0x00002b68,0x00002b62,0x00002b67, | ||
| 7788 | 0x0004007c,0x00000014,0x00002b58,0x00002b68, | ||
| 7789 | 0x00060041,0x00000174,0x00002b4f,0x00002b58, | ||
| 7790 | 0x00000173,0x00000173,0x0006003d,0x00000006, | ||
| 7791 | 0x00002b50,0x00002b4f,0x00000002,0x00000004, | ||
| 7792 | 0x0004007c,0x00000027,0x00002ac8,0x00002b50, | ||
| 7793 | 0x00070050,0x000004dc,0x00002ac9,0x00002ab6, | ||
| 7794 | 0x00002abc,0x00002ac2,0x00002ac8,0x0008004f, | ||
| 7795 | 0x0000006c,0x00002acc,0x00002ac9,0x00002ac9, | ||
| 7796 | 0x00000000,0x00000001,0x00000002,0x00050094, | ||
| 7797 | 0x00000027,0x00002ace,0x00002acc,0x00006353, | ||
| 7798 | 0x00050081,0x00000027,0x00002ad1,0x00002ace, | ||
| 7799 | 0x00002ac8,0x00050041,0x00000028,0x00002ad2, | ||
| 7800 | 0x00002aa1,0x00006354,0x0003003e,0x00002ad2, | ||
| 7801 | 0x00002ad1,0x00050080,0x00000006,0x00002ad5, | ||
| 7802 | 0x00006354,0x0000026c,0x000200f9,0x00002aab, | ||
| 7803 | 0x000200f8,0x00002ad6,0x0004003d,0x0000006c, | ||
| 7804 | 0x00002ad7,0x00002aa1,0x000200f9,0x00002ad8, | ||
| 7805 | 0x000200f8,0x00002ad8,0x000700f5,0x0000006c, | ||
| 7806 | 0x00006355,0x00006353,0x00002aa8,0x00002ad7, | ||
| 7807 | 0x00002ad6,0x00050041,0x0000006d,0x000028e8, | ||
| 7808 | 0x000028ad,0x00006346,0x0003003e,0x000028e8, | ||
| 7809 | 0x00006355,0x000200f9,0x000028e9,0x000200f8, | ||
| 7810 | 0x000028e9,0x00050080,0x00000006,0x000028eb, | ||
| 7811 | 0x00006346,0x0000026c,0x000200f9,0x000028db, | ||
| 7812 | 0x000200f8,0x000028ec,0x00050041,0x000001c3, | ||
| 7813 | 0x000028ed,0x000001c1,0x00000528,0x0004003d, | ||
| 7814 | 0x00000006,0x000028ee,0x000028ed,0x00050080, | ||
| 7815 | 0x00000006,0x000028f0,0x000028ee,0x000013a7, | ||
| 7816 | 0x00050041,0x000001c3,0x000028f1,0x000001c1, | ||
| 7817 | 0x00000352,0x0004003d,0x00000006,0x000028f2, | ||
| 7818 | 0x000028f1,0x00050084,0x00000006,0x000028f4, | ||
| 7819 | 0x000001cc,0x000028f0,0x00050080,0x00000006, | ||
| 7820 | 0x000028f5,0x000028f2,0x000028f4,0x000200f9, | ||
| 7821 | 0x000028f6,0x000200f8,0x000028f6,0x000700f5, | ||
| 7822 | 0x00000006,0x00006347,0x00000140,0x000028ec, | ||
| 7823 | 0x0000291d,0x000028fa,0x000500b0,0x0000002f, | ||
| 7824 | 0x000028f9,0x00006347,0x000004d7,0x000400f6, | ||
| 7825 | 0x0000291e,0x000028fa,0x00000000,0x000400fa, | ||
| 7826 | 0x000028f9,0x000028fa,0x0000291e,0x000200f8, | ||
| 7827 | 0x000028fa,0x00050084,0x00000006,0x000028fd, | ||
| 7828 | 0x000001dc,0x00006347,0x00050080,0x00000006, | ||
| 7829 | 0x000028fe,0x000028f5,0x000028fd,0x00050041, | ||
| 7830 | 0x0000026e,0x00002900,0x000001c1,0x00000173, | ||
| 7831 | 0x0004003d,0x00000007,0x00002901,0x00002900, | ||
| 7832 | 0x00060041,0x00000028,0x00002902,0x000028ad, | ||
| 7833 | 0x00006347,0x00000140,0x0004003d,0x00000027, | ||
| 7834 | 0x00002903,0x00002902,0x0004007c,0x00000006, | ||
| 7835 | 0x00002b6e,0x00002903,0x00050051,0x00000006, | ||
| 7836 | 0x00002b87,0x00002901,0x00000000,0x00050095, | ||
| 7837 | 0x00000145,0x00002b89,0x00002b87,0x000028fe, | ||
| 7838 | 0x00050051,0x00000006,0x00002b8a,0x00002b89, | ||
| 7839 | 0x00000001,0x00050051,0x00000006,0x00002b8b, | ||
| 7840 | 0x00002b89,0x00000000,0x00050051,0x00000006, | ||
| 7841 | 0x00002b8e,0x00002901,0x00000001,0x00050080, | ||
| 7842 | 0x00000006,0x00002b90,0x00002b8e,0x00002b8a, | ||
| 7843 | 0x00050050,0x00000007,0x00002b91,0x00002b8b, | ||
| 7844 | 0x00002b90,0x0004007c,0x00000014,0x00002b81, | ||
| 7845 | 0x00002b91,0x00060041,0x00000174,0x00002b79, | ||
| 7846 | 0x00002b81,0x00000173,0x00000173,0x0005003e, | ||
| 7847 | 0x00002b79,0x00002b6e,0x00000002,0x00000004, | ||
| 7848 | 0x00050080,0x00000006,0x00002909,0x000028fe, | ||
| 7849 | 0x000000f3,0x00060041,0x00000028,0x0000290d, | ||
| 7850 | 0x000028ad,0x00006347,0x0000014a,0x0004003d, | ||
| 7851 | 0x00000027,0x0000290e,0x0000290d,0x0004007c, | ||
| 7852 | 0x00000006,0x00002b97,0x0000290e,0x00050095, | ||
| 7853 | 0x00000145,0x00002bb2,0x00002b87,0x00002909, | ||
| 7854 | 0x00050051,0x00000006,0x00002bb3,0x00002bb2, | ||
| 7855 | 0x00000001,0x00050051,0x00000006,0x00002bb4, | ||
| 7856 | 0x00002bb2,0x00000000,0x00050080,0x00000006, | ||
| 7857 | 0x00002bb9,0x00002b8e,0x00002bb3,0x00050050, | ||
| 7858 | 0x00000007,0x00002bba,0x00002bb4,0x00002bb9, | ||
| 7859 | 0x0004007c,0x00000014,0x00002baa,0x00002bba, | ||
| 7860 | 0x00060041,0x00000174,0x00002ba2,0x00002baa, | ||
| 7861 | 0x00000173,0x00000173,0x0005003e,0x00002ba2, | ||
| 7862 | 0x00002b97,0x00000002,0x00000004,0x00050080, | ||
| 7863 | 0x00000006,0x00002914,0x000028fe,0x000001d5, | ||
| 7864 | 0x00060041,0x00000028,0x00002918,0x000028ad, | ||
| 7865 | 0x00006347,0x00000288,0x0004003d,0x00000027, | ||
| 7866 | 0x00002919,0x00002918,0x0004007c,0x00000006, | ||
| 7867 | 0x00002bc0,0x00002919,0x00050095,0x00000145, | ||
| 7868 | 0x00002bdb,0x00002b87,0x00002914,0x00050051, | ||
| 7869 | 0x00000006,0x00002bdc,0x00002bdb,0x00000001, | ||
| 7870 | 0x00050051,0x00000006,0x00002bdd,0x00002bdb, | ||
| 7871 | 0x00000000,0x00050080,0x00000006,0x00002be2, | ||
| 7872 | 0x00002b8e,0x00002bdc,0x00050050,0x00000007, | ||
| 7873 | 0x00002be3,0x00002bdd,0x00002be2,0x0004007c, | ||
| 7874 | 0x00000014,0x00002bd3,0x00002be3,0x00060041, | ||
| 7875 | 0x00000174,0x00002bcb,0x00002bd3,0x00000173, | ||
| 7876 | 0x00000173,0x0005003e,0x00002bcb,0x00002bc0, | ||
| 7717 | 0x00000002,0x00000004,0x00050080,0x00000006, | 7877 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 7718 | 0x00002a3c,0x00002a18,0x00000299,0x00050051, | 7878 | 0x0000291d,0x00006347,0x0000026c,0x000200f9, |
| 7719 | 0x00000027,0x00002a40,0x00006126,0x00000002, | 7879 | 0x000028f6,0x000200f8,0x0000291e,0x00050080, |
| 7720 | 0x0004007c,0x00000006,0x00002b34,0x00002a40, | 7880 | 0x00000006,0x00002920,0x000028f5,0x00000567, |
| 7721 | 0x00050095,0x0000013d,0x00002b4f,0x00002a80, | 7881 | 0x00050041,0x0000026e,0x00002921,0x000001c1, |
| 7722 | 0x00002a3c,0x00050051,0x00000006,0x00002b50, | 7882 | 0x00000173,0x0004003d,0x00000007,0x00002922, |
| 7723 | 0x00002b4f,0x00000001,0x00050051,0x00000006, | 7883 | 0x00002921,0x00060041,0x00000028,0x00002923, |
| 7724 | 0x00002b51,0x00002b4f,0x00000000,0x00050080, | 7884 | 0x000028ad,0x0000031d,0x00000140,0x0004003d, |
| 7725 | 0x00000006,0x00002b56,0x00002a87,0x00002b50, | 7885 | 0x00000027,0x00002924,0x00002923,0x0004007c, |
| 7726 | 0x00050050,0x00000007,0x00002b57,0x00002b51, | 7886 | 0x00000006,0x00002be9,0x00002924,0x00050051, |
| 7727 | 0x00002b56,0x0004007c,0x00000014,0x00002b47, | 7887 | 0x00000006,0x00002c02,0x00002922,0x00000000, |
| 7728 | 0x00002b57,0x00060041,0x0000016c,0x00002b3f, | 7888 | 0x00050095,0x00000145,0x00002c04,0x00002c02, |
| 7729 | 0x00002b47,0x0000016b,0x0000016b,0x0005003e, | 7889 | 0x00002920,0x00050051,0x00000006,0x00002c05, |
| 7730 | 0x00002b3f,0x00002b34,0x00000002,0x00000004, | 7890 | 0x00002c04,0x00000001,0x00050051,0x00000006, |
| 7731 | 0x000300f7,0x00002b97,0x00000000,0x000300fb, | 7891 | 0x00002c06,0x00002c04,0x00000000,0x00050051, |
| 7732 | 0x00000138,0x00002b66,0x000200f8,0x00002b66, | 7892 | 0x00000006,0x00002c09,0x00002922,0x00000001, |
| 7733 | 0x000500bc,0x0000002f,0x00002b9e,0x00002a1d, | 7893 | 0x00050080,0x00000006,0x00002c0b,0x00002c09, |
| 7734 | 0x00002a32,0x000300f7,0x00002ba5,0x00000000, | 7894 | 0x00002c05,0x00050050,0x00000007,0x00002c0c, |
| 7735 | 0x000400fa,0x00002b9e,0x00002b9f,0x00002ba5, | 7895 | 0x00002c06,0x00002c0b,0x0004007c,0x00000014, |
| 7736 | 0x000200f8,0x00002b9f,0x000500bc,0x0000002f, | 7896 | 0x00002bfc,0x00002c0c,0x00060041,0x00000174, |
| 7737 | 0x00002ba4,0x00002a24,0x00002a39,0x000200f9, | 7897 | 0x00002bf4,0x00002bfc,0x00000173,0x00000173, |
| 7738 | 0x00002ba5,0x000200f8,0x00002ba5,0x000700f5, | 7898 | 0x0005003e,0x00002bf4,0x00002be9,0x00000002, |
| 7739 | 0x0000002f,0x00002ba6,0x00002b9e,0x00002b66, | 7899 | 0x00000004,0x00050080,0x00000006,0x00002927, |
| 7740 | 0x00002ba4,0x00002b9f,0x000300f7,0x00002bad, | 7900 | 0x000028f5,0x00000572,0x00060041,0x00000028, |
| 7741 | 0x00000000,0x000400fa,0x00002ba6,0x00002ba7, | 7901 | 0x0000292a,0x000028ad,0x0000031d,0x0000014a, |
| 7742 | 0x00002bad,0x000200f8,0x00002ba7,0x000500bc, | 7902 | 0x0004003d,0x00000027,0x0000292b,0x0000292a, |
| 7743 | 0x0000002f,0x00002bac,0x00002a2b,0x00002a40, | 7903 | 0x0004007c,0x00000006,0x00002c12,0x0000292b, |
| 7744 | 0x000200f9,0x00002bad,0x000200f8,0x00002bad, | 7904 | 0x00050095,0x00000145,0x00002c2d,0x00002c02, |
| 7745 | 0x000700f5,0x0000002f,0x00002bae,0x00002ba6, | 7905 | 0x00002927,0x00050051,0x00000006,0x00002c2e, |
| 7746 | 0x00002ba5,0x00002bac,0x00002ba7,0x000400a8, | 7906 | 0x00002c2d,0x00000001,0x00050051,0x00000006, |
| 7747 | 0x0000002f,0x00002baf,0x00002bae,0x000300f7, | 7907 | 0x00002c2f,0x00002c2d,0x00000000,0x00050080, |
| 7748 | 0x00002b6b,0x00000000,0x000400fa,0x00002baf, | 7908 | 0x00000006,0x00002c34,0x00002c09,0x00002c2e, |
| 7749 | 0x00002b6a,0x00002b6b,0x000200f8,0x00002b6a, | 7909 | 0x00050050,0x00000007,0x00002c35,0x00002c2f, |
| 7750 | 0x000200f9,0x00002b97,0x000200f8,0x00002b6b, | 7910 | 0x00002c34,0x0004007c,0x00000014,0x00002c25, |
| 7751 | 0x00050081,0x0000006c,0x00002b6e,0x00006128, | 7911 | 0x00002c35,0x00060041,0x00000174,0x00002c1d, |
| 7752 | 0x00006126,0x0005008e,0x0000006c,0x00002b6f, | 7912 | 0x00002c25,0x00000173,0x00000173,0x0005003e, |
| 7753 | 0x00002b6e,0x000002fd,0x00050095,0x0000013d, | 7913 | 0x00002c1d,0x00002c12,0x00000002,0x00000004, |
| 7754 | 0x00002bbf,0x00002a80,0x00000138,0x00050051, | 7914 | 0x00050080,0x00000006,0x0000292e,0x000028f5, |
| 7755 | 0x00000006,0x00002bc0,0x00002bbf,0x00000001, | 7915 | 0x0000057d,0x00060041,0x00000028,0x00002931, |
| 7756 | 0x00050051,0x00000006,0x00002bc1,0x00002bbf, | 7916 | 0x000028ad,0x0000031d,0x00000288,0x0004003d, |
| 7757 | 0x00000000,0x00050080,0x00000006,0x00002bc6, | 7917 | 0x00000027,0x00002932,0x00002931,0x0004007c, |
| 7758 | 0x00002a87,0x00002bc0,0x00050050,0x00000007, | 7918 | 0x00000006,0x00002c3b,0x00002932,0x00050095, |
| 7759 | 0x00002bc7,0x00002bc1,0x00002bc6,0x0004007c, | 7919 | 0x00000145,0x00002c56,0x00002c02,0x0000292e, |
| 7760 | 0x00000014,0x00002bb7,0x00002bc7,0x00060041, | 7920 | 0x00050051,0x00000006,0x00002c57,0x00002c56, |
| 7761 | 0x0000016c,0x00002b74,0x00002bb7,0x0000016b, | 7921 | 0x00000001,0x00050051,0x00000006,0x00002c58, |
| 7762 | 0x0000016b,0x00050051,0x00000027,0x00002b76, | 7922 | 0x00002c56,0x00000000,0x00050080,0x00000006, |
| 7763 | 0x00002b6f,0x00000000,0x0004007c,0x00000006, | 7923 | 0x00002c5d,0x00002c09,0x00002c57,0x00050050, |
| 7764 | 0x00002bcd,0x00002b76,0x000500c7,0x00000006, | 7924 | 0x00000007,0x00002c5e,0x00002c58,0x00002c5d, |
| 7765 | 0x00002bcf,0x00002bcd,0x00000241,0x000500ab, | 7925 | 0x0004007c,0x00000014,0x00002c4e,0x00002c5e, |
| 7766 | 0x0000002f,0x00002bd0,0x00002bcf,0x00000138, | 7926 | 0x00060041,0x00000174,0x00002c46,0x00002c4e, |
| 7767 | 0x000300f7,0x00002bd7,0x00000000,0x000400fa, | 7927 | 0x00000173,0x00000173,0x0005003e,0x00002c46, |
| 7768 | 0x00002bd0,0x00002bd1,0x00002bd4,0x000200f8, | 7928 | 0x00002c3b,0x00000002,0x00000004,0x00050080, |
| 7769 | 0x00002bd4,0x000500c5,0x00000006,0x00002bd6, | 7929 | 0x00000006,0x00002935,0x000028f5,0x00000588, |
| 7770 | 0x00002bcd,0x00000241,0x000200f9,0x00002bd7, | 7930 | 0x00050041,0x000001c3,0x00002938,0x000001c1, |
| 7771 | 0x000200f8,0x00002bd1,0x000400c8,0x00000006, | 7931 | 0x0000058a,0x0004003d,0x00000006,0x00002939, |
| 7772 | 0x00002bd3,0x00002bcd,0x000200f9,0x00002bd7, | 7932 | 0x00002938,0x00050095,0x00000145,0x00002c76, |
| 7773 | 0x000200f8,0x00002bd7,0x000700f5,0x00000006, | 7933 | 0x00002c02,0x00002935,0x00050051,0x00000006, |
| 7774 | 0x00005f24,0x00002bd3,0x00002bd1,0x00002bd6, | 7934 | 0x00002c77,0x00002c76,0x00000001,0x00050051, |
| 7775 | 0x00002bd4,0x000700ed,0x00000006,0x00002b78, | 7935 | 0x00000006,0x00002c78,0x00002c76,0x00000000, |
| 7776 | 0x00002b74,0x00000142,0x00000138,0x00005f24, | 7936 | 0x00050080,0x00000006,0x00002c7d,0x00002c09, |
| 7777 | 0x00060041,0x0000016c,0x00002b7a,0x00002bb7, | 7937 | 0x00002c77,0x00050050,0x00000007,0x00002c7e, |
| 7778 | 0x0000016b,0x00000264,0x00050051,0x00000027, | 7938 | 0x00002c78,0x00002c7d,0x0004007c,0x00000014, |
| 7779 | 0x00002b7c,0x00002b6f,0x00000001,0x0004007c, | 7939 | 0x00002c6e,0x00002c7e,0x00060041,0x00000174, |
| 7780 | 0x00000006,0x00002bde,0x00002b7c,0x000500c7, | 7940 | 0x00002c66,0x00002c6e,0x00000173,0x00000173, |
| 7781 | 0x00000006,0x00002be0,0x00002bde,0x00000241, | 7941 | 0x0005003e,0x00002c66,0x00002939,0x00000002, |
| 7782 | 0x000500ab,0x0000002f,0x00002be1,0x00002be0, | 7942 | 0x00000004,0x00050080,0x00000006,0x0000293c, |
| 7783 | 0x00000138,0x000300f7,0x00002be8,0x00000000, | 7943 | 0x000028f5,0x00000594,0x00050095,0x00000145, |
| 7784 | 0x000400fa,0x00002be1,0x00002be2,0x00002be5, | 7944 | 0x00002c96,0x00002c02,0x0000293c,0x00050051, |
| 7785 | 0x000200f8,0x00002be5,0x000500c5,0x00000006, | 7945 | 0x00000006,0x00002c97,0x00002c96,0x00000001, |
| 7786 | 0x00002be7,0x00002bde,0x00000241,0x000200f9, | 7946 | 0x00050051,0x00000006,0x00002c98,0x00002c96, |
| 7787 | 0x00002be8,0x000200f8,0x00002be2,0x000400c8, | 7947 | 0x00000000,0x00050080,0x00000006,0x00002c9d, |
| 7788 | 0x00000006,0x00002be4,0x00002bde,0x000200f9, | 7948 | 0x00002c09,0x00002c97,0x00050050,0x00000007, |
| 7789 | 0x00002be8,0x000200f8,0x00002be8,0x000700f5, | 7949 | 0x00002c9e,0x00002c98,0x00002c9d,0x0004007c, |
| 7790 | 0x00000006,0x00005f25,0x00002be4,0x00002be2, | 7950 | 0x00000014,0x00002c8e,0x00002c9e,0x00060041, |
| 7791 | 0x00002be7,0x00002be5,0x000700ed,0x00000006, | 7951 | 0x00000174,0x00002c86,0x00002c8e,0x00000173, |
| 7792 | 0x00002b7e,0x00002b7a,0x00000142,0x00000138, | 7952 | 0x00000173,0x0005003e,0x00002c86,0x000013a7, |
| 7793 | 0x00005f25,0x00060041,0x0000016c,0x00002b80, | 7953 | 0x00000002,0x00000004,0x00050080,0x00000006, |
| 7794 | 0x00002bb7,0x0000016b,0x00000315,0x00050051, | 7954 | 0x00002942,0x000028f5,0x0000059e,0x00050095, |
| 7795 | 0x00000027,0x00002b82,0x00002b6f,0x00000002, | 7955 | 0x00000145,0x00002cb6,0x00002c02,0x00002942, |
| 7796 | 0x0004007c,0x00000006,0x00002bef,0x00002b82, | 7956 | 0x00050051,0x00000006,0x00002cb7,0x00002cb6, |
| 7797 | 0x000500c7,0x00000006,0x00002bf1,0x00002bef, | 7957 | 0x00000001,0x00050051,0x00000006,0x00002cb8, |
| 7798 | 0x00000241,0x000500ab,0x0000002f,0x00002bf2, | 7958 | 0x00002cb6,0x00000000,0x00050080,0x00000006, |
| 7799 | 0x00002bf1,0x00000138,0x000300f7,0x00002bf9, | 7959 | 0x00002cbd,0x00002c09,0x00002cb7,0x00050050, |
| 7800 | 0x00000000,0x000400fa,0x00002bf2,0x00002bf3, | 7960 | 0x00000007,0x00002cbe,0x00002cb8,0x00002cbd, |
| 7801 | 0x00002bf6,0x000200f8,0x00002bf6,0x000500c5, | 7961 | 0x0004007c,0x00000014,0x00002cae,0x00002cbe, |
| 7802 | 0x00000006,0x00002bf8,0x00002bef,0x00000241, | 7962 | 0x00060041,0x00000174,0x00002ca6,0x00002cae, |
| 7803 | 0x000200f9,0x00002bf9,0x000200f8,0x00002bf3, | 7963 | 0x00000173,0x00000173,0x0005003e,0x00002ca6, |
| 7804 | 0x000400c8,0x00000006,0x00002bf5,0x00002bef, | 7964 | 0x000003bf,0x00000002,0x00000004,0x00050080, |
| 7805 | 0x000200f9,0x00002bf9,0x000200f8,0x00002bf9, | 7965 | 0x00000006,0x00002947,0x000028f5,0x000005a7, |
| 7806 | 0x000700f5,0x00000006,0x00005f26,0x00002bf5, | 7966 | 0x00050095,0x00000145,0x00002cd6,0x00002c02, |
| 7807 | 0x00002bf3,0x00002bf8,0x00002bf6,0x000700ed, | 7967 | 0x00002947,0x00050051,0x00000006,0x00002cd7, |
| 7808 | 0x00000006,0x00002b84,0x00002b80,0x00000142, | 7968 | 0x00002cd6,0x00000001,0x00050051,0x00000006, |
| 7809 | 0x00000138,0x00005f26,0x00060041,0x0000016c, | 7969 | 0x00002cd8,0x00002cd6,0x00000000,0x00050080, |
| 7810 | 0x00002b86,0x00002bb7,0x0000016b,0x0000031d, | 7970 | 0x00000006,0x00002cdd,0x00002c09,0x00002cd7, |
| 7811 | 0x000300f7,0x00002c0a,0x00000000,0x000400fa, | 7971 | 0x00050050,0x00000007,0x00002cde,0x00002cd8, |
| 7812 | 0x00002bd0,0x00002c04,0x00002c07,0x000200f8, | 7972 | 0x00002cdd,0x0004007c,0x00000014,0x00002cce, |
| 7813 | 0x00002c07,0x000500c5,0x00000006,0x00002c09, | 7973 | 0x00002cde,0x00060041,0x00000174,0x00002cc6, |
| 7814 | 0x00002bcd,0x00000241,0x000200f9,0x00002c0a, | 7974 | 0x00002cce,0x00000173,0x00000173,0x0005003e, |
| 7815 | 0x000200f8,0x00002c04,0x000400c8,0x00000006, | 7975 | 0x00002cc6,0x000005a9,0x00000002,0x00000004, |
| 7816 | 0x00002c06,0x00002bcd,0x000200f9,0x00002c0a, | 7976 | 0x00050041,0x0000006d,0x0000294b,0x000028ad, |
| 7817 | 0x000200f8,0x00002c0a,0x000700f5,0x00000006, | 7977 | 0x00000173,0x0004003d,0x0000006c,0x0000294c, |
| 7818 | 0x00005f27,0x00002c06,0x00002c04,0x00002c09, | 7978 | 0x0000294b,0x0004009c,0x000005b3,0x0000294d, |
| 7819 | 0x00002c07,0x000700ef,0x00000006,0x00002b8a, | 7979 | 0x0000294c,0x0004009a,0x0000002f,0x0000294e, |
| 7820 | 0x00002b86,0x00000142,0x00000138,0x00005f27, | 7980 | 0x0000294d,0x000400a8,0x0000002f,0x0000294f, |
| 7821 | 0x00060041,0x0000016c,0x00002b8c,0x00002bb7, | 7981 | 0x0000294e,0x000300f7,0x00002955,0x00000000, |
| 7822 | 0x0000016b,0x00000325,0x000300f7,0x00002c1b, | 7982 | 0x000400fa,0x0000294f,0x00002950,0x00002955, |
| 7823 | 0x00000000,0x000400fa,0x00002be1,0x00002c15, | 7983 | 0x000200f8,0x00002950,0x00050041,0x0000006d, |
| 7824 | 0x00002c18,0x000200f8,0x00002c18,0x000500c5, | 7984 | 0x00002951,0x000028ad,0x0000026c,0x0004003d, |
| 7825 | 0x00000006,0x00002c1a,0x00002bde,0x00000241, | 7985 | 0x0000006c,0x00002952,0x00002951,0x0004009c, |
| 7826 | 0x000200f9,0x00002c1b,0x000200f8,0x00002c15, | 7986 | 0x000005b3,0x00002953,0x00002952,0x0004009a, |
| 7827 | 0x000400c8,0x00000006,0x00002c17,0x00002bde, | 7987 | 0x0000002f,0x00002954,0x00002953,0x000200f9, |
| 7828 | 0x000200f9,0x00002c1b,0x000200f8,0x00002c1b, | 7988 | 0x00002955,0x000200f8,0x00002955,0x000700f5, |
| 7829 | 0x000700f5,0x00000006,0x00005f28,0x00002c17, | 7989 | 0x0000002f,0x00002956,0x0000294e,0x0000291e, |
| 7830 | 0x00002c15,0x00002c1a,0x00002c18,0x000700ef, | 7990 | 0x00002954,0x00002950,0x000400a8,0x0000002f, |
| 7831 | 0x00000006,0x00002b90,0x00002b8c,0x00000142, | 7991 | 0x00002957,0x00002956,0x000300f7,0x0000295d, |
| 7832 | 0x00000138,0x00005f28,0x00060041,0x0000016c, | 7992 | 0x00000000,0x000400fa,0x00002957,0x00002958, |
| 7833 | 0x00002b92,0x00002bb7,0x0000016b,0x0000032d, | 7993 | 0x0000295d,0x000200f8,0x00002958,0x00050041, |
| 7834 | 0x000300f7,0x00002c2c,0x00000000,0x000400fa, | 7994 | 0x0000006d,0x00002959,0x000028ad,0x0000031d, |
| 7835 | 0x00002bf2,0x00002c26,0x00002c29,0x000200f8, | 7995 | 0x0004003d,0x0000006c,0x0000295a,0x00002959, |
| 7836 | 0x00002c29,0x000500c5,0x00000006,0x00002c2b, | 7996 | 0x0004009c,0x000005b3,0x0000295b,0x0000295a, |
| 7837 | 0x00002bef,0x00000241,0x000200f9,0x00002c2c, | 7997 | 0x0004009a,0x0000002f,0x0000295c,0x0000295b, |
| 7838 | 0x000200f8,0x00002c26,0x000400c8,0x00000006, | 7998 | 0x000200f9,0x0000295d,0x000200f8,0x0000295d, |
| 7839 | 0x00002c28,0x00002bef,0x000200f9,0x00002c2c, | 7999 | 0x000700f5,0x0000002f,0x0000295e,0x00002956, |
| 7840 | 0x000200f8,0x00002c2c,0x000700f5,0x00000006, | 8000 | 0x00002955,0x0000295c,0x00002958,0x0004003d, |
| 7841 | 0x00005f29,0x00002c28,0x00002c26,0x00002c2b, | 8001 | 0x0000006c,0x00002960,0x0000294b,0x00050041, |
| 7842 | 0x00002c29,0x000700ef,0x00000006,0x00002b96, | 8002 | 0x0000006d,0x00002961,0x000028ad,0x0000026c, |
| 7843 | 0x00002b92,0x00000142,0x00000138,0x00005f29, | 8003 | 0x0004003d,0x0000006c,0x00002962,0x00002961, |
| 7844 | 0x000200f9,0x00002b97,0x000200f8,0x00002b97, | 8004 | 0x0007000c,0x0000006c,0x00002963,0x00000001, |
| 7845 | 0x000200f9,0x000013be,0x000200f8,0x000013be, | 8005 | 0x00000025,0x00002960,0x00002962,0x00050041, |
| 7846 | 0x000200f9,0x00001398,0x000200f8,0x00001397, | 8006 | 0x0000006d,0x00002964,0x000028ad,0x0000031d, |
| 7847 | 0x00050041,0x000001bb,0x00001399,0x000001b9, | 8007 | 0x0004003d,0x0000006c,0x00002965,0x00002964, |
| 7848 | 0x000010be,0x0004003d,0x00000006,0x0000139a, | 8008 | 0x0007000c,0x0000006c,0x00002966,0x00000001, |
| 7849 | 0x00001399,0x00050084,0x00000006,0x0000139c, | 8009 | 0x00000025,0x00002963,0x00002965,0x0004003d, |
| 7850 | 0x000000ec,0x000012dd,0x00050080,0x00000006, | 8010 | 0x0000006c,0x00002968,0x0000294b,0x0004003d, |
| 7851 | 0x0000139d,0x0000139a,0x0000139c,0x00050041, | 8011 | 0x0000006c,0x0000296a,0x00002961,0x0007000c, |
| 7852 | 0x00000266,0x0000139f,0x000001b9,0x0000016b, | 8012 | 0x0000006c,0x0000296b,0x00000001,0x00000028, |
| 7853 | 0x0004003d,0x00000007,0x000013a0,0x0000139f, | 8013 | 0x00002968,0x0000296a,0x0004003d,0x0000006c, |
| 7854 | 0x00050051,0x00000006,0x0000258e,0x000013a0, | 8014 | 0x0000296d,0x00002964,0x0007000c,0x0000006c, |
| 7855 | 0x00000000,0x00050095,0x0000013d,0x00002590, | 8015 | 0x0000296e,0x00000001,0x00000028,0x0000296b, |
| 7856 | 0x0000258e,0x0000139d,0x00050051,0x00000006, | 8016 | 0x0000296d,0x00060050,0x000005b3,0x0000655b, |
| 7857 | 0x00002591,0x00002590,0x00000001,0x00050051, | 8017 | 0x0000295e,0x0000295e,0x0000295e,0x000600a9, |
| 7858 | 0x00000006,0x00002592,0x00002590,0x00000000, | 8018 | 0x0000006c,0x0000655c,0x0000655b,0x00006532, |
| 7859 | 0x00050051,0x00000006,0x00002595,0x000013a0, | 8019 | 0x0000296e,0x000600a9,0x0000006c,0x0000655e, |
| 7860 | 0x00000001,0x00050080,0x00000006,0x00002597, | 8020 | 0x0000655b,0x000005dc,0x00002966,0x00050041, |
| 7861 | 0x00002595,0x00002591,0x00050050,0x00000007, | 8021 | 0x000001c3,0x00002d2e,0x000001c1,0x000001c2, |
| 7862 | 0x00002598,0x00002592,0x00002597,0x0004007c, | 8022 | 0x0004003d,0x00000006,0x00002d2f,0x00002d2e, |
| 7863 | 0x00000014,0x00002588,0x00002598,0x00060041, | 8023 | 0x00050084,0x00000006,0x00002d30,0x000001e3, |
| 7864 | 0x0000016c,0x00002580,0x00002588,0x0000016b, | 8024 | 0x00002d2f,0x00050080,0x00000006,0x00002d31, |
| 7865 | 0x0000016b,0x0005003e,0x00002580,0x00000539, | 8025 | 0x000001cc,0x00002d30,0x00050080,0x00000006, |
| 7866 | 0x00000002,0x00000004,0x000500b0,0x0000002f, | 8026 | 0x00002d37,0x00002d2f,0x00000695,0x00050086, |
| 7867 | 0x000013a5,0x000012dd,0x00000470,0x000300f7, | 8027 | 0x00000006,0x00002d38,0x00002d37,0x000001c6, |
| 7868 | 0x000013a7,0x00000000,0x000400fa,0x000013a5, | 8028 | 0x00050084,0x00000006,0x00002d2a,0x000001cc, |
| 7869 | 0x000013a6,0x000013a7,0x000200f8,0x000013a6, | 8029 | 0x00002d38,0x00050080,0x00000006,0x00002d2b, |
| 7870 | 0x00050041,0x00000266,0x000013ab,0x000001b9, | 8030 | 0x00002d31,0x00002d2a,0x00050080,0x00000006, |
| 7871 | 0x00000264,0x0004003d,0x00000007,0x000013ac, | 8031 | 0x00002d25,0x00002d2b,0x00002d2a,0x00050084, |
| 7872 | 0x000013ab,0x00050051,0x00000006,0x000025ae, | 8032 | 0x00000006,0x00002cf5,0x000001f7,0x000028f0, |
| 7873 | 0x000013ac,0x00000000,0x00050095,0x0000013d, | 8033 | 0x00050080,0x00000006,0x00002cf6,0x00002d25, |
| 7874 | 0x000025b0,0x000025ae,0x0000139c,0x00050051, | 8034 | 0x00002cf5,0x00050041,0x0000026e,0x00002cf7, |
| 7875 | 0x00000006,0x000025b1,0x000025b0,0x00000001, | 8035 | 0x000001c1,0x0000026c,0x0004003d,0x00000007, |
| 7876 | 0x00050051,0x00000006,0x000025b2,0x000025b0, | 8036 | 0x00002cf8,0x00002cf7,0x00050051,0x00000027, |
| 7877 | 0x00000000,0x00050051,0x00000006,0x000025b5, | 8037 | 0x00002cfb,0x0000655e,0x00000000,0x0004007c, |
| 7878 | 0x000013ac,0x00000001,0x00050080,0x00000006, | 8038 | 0x00000006,0x00002d45,0x00002cfb,0x00050051, |
| 7879 | 0x000025b7,0x000025b5,0x000025b1,0x00050050, | 8039 | 0x00000006,0x00002d5e,0x00002cf8,0x00000000, |
| 7880 | 0x00000007,0x000025b8,0x000025b2,0x000025b7, | 8040 | 0x00050095,0x00000145,0x00002d60,0x00002d5e, |
| 7881 | 0x0004007c,0x00000014,0x000025a8,0x000025b8, | 8041 | 0x00002cf6,0x00050051,0x00000006,0x00002d61, |
| 7882 | 0x00060041,0x0000016c,0x000025a0,0x000025a8, | 8042 | 0x00002d60,0x00000001,0x00050051,0x00000006, |
| 7883 | 0x0000016b,0x0000016b,0x0005003e,0x000025a0, | 8043 | 0x00002d62,0x00002d60,0x00000000,0x00050051, |
| 7884 | 0x00000539,0x00000002,0x00000004,0x00050080, | 8044 | 0x00000006,0x00002d65,0x00002cf8,0x00000001, |
| 7885 | 0x00000006,0x000013b2,0x000001d4,0x0000139c, | 8045 | 0x00050080,0x00000006,0x00002d67,0x00002d65, |
| 7886 | 0x00050095,0x0000013d,0x000025d0,0x000025ae, | 8046 | 0x00002d61,0x00050050,0x00000007,0x00002d68, |
| 7887 | 0x000013b2,0x00050051,0x00000006,0x000025d1, | 8047 | 0x00002d62,0x00002d67,0x0004007c,0x00000014, |
| 7888 | 0x000025d0,0x00000001,0x00050051,0x00000006, | 8048 | 0x00002d58,0x00002d68,0x00060041,0x00000174, |
| 7889 | 0x000025d2,0x000025d0,0x00000000,0x00050080, | 8049 | 0x00002d50,0x00002d58,0x00000173,0x00000173, |
| 7890 | 0x00000006,0x000025d7,0x000025b5,0x000025d1, | 8050 | 0x0005003e,0x00002d50,0x00002d45,0x00000002, |
| 7891 | 0x00050050,0x00000007,0x000025d8,0x000025d2, | 8051 | 0x00000004,0x00050080,0x00000006,0x00002cfe, |
| 7892 | 0x000025d7,0x0004007c,0x00000014,0x000025c8, | 8052 | 0x00002cf6,0x000000f3,0x00050051,0x00000027, |
| 7893 | 0x000025d8,0x00060041,0x0000016c,0x000025c0, | 8053 | 0x00002d02,0x0000655e,0x00000001,0x0004007c, |
| 7894 | 0x000025c8,0x0000016b,0x0000016b,0x0005003e, | 8054 | 0x00000006,0x00002d6e,0x00002d02,0x00050095, |
| 7895 | 0x000025c0,0x00000138,0x00000002,0x00000004, | 8055 | 0x00000145,0x00002d89,0x00002d5e,0x00002cfe, |
| 7896 | 0x000200f9,0x000013a7,0x000200f8,0x000013a7, | 8056 | 0x00050051,0x00000006,0x00002d8a,0x00002d89, |
| 7897 | 0x000200f9,0x00001398,0x000200f8,0x00001398, | 8057 | 0x00000001,0x00050051,0x00000006,0x00002d8b, |
| 7898 | 0x000200f9,0x000013fd,0x000200f8,0x000013fd, | 8058 | 0x00002d89,0x00000000,0x00050080,0x00000006, |
| 7899 | 0x000100fd,0x00010038} | 8059 | 0x00002d90,0x00002d65,0x00002d8a,0x00050050, |
| 8060 | 0x00000007,0x00002d91,0x00002d8b,0x00002d90, | ||
| 8061 | 0x0004007c,0x00000014,0x00002d81,0x00002d91, | ||
| 8062 | 0x00060041,0x00000174,0x00002d79,0x00002d81, | ||
| 8063 | 0x00000173,0x00000173,0x0005003e,0x00002d79, | ||
| 8064 | 0x00002d6e,0x00000002,0x00000004,0x00050080, | ||
| 8065 | 0x00000006,0x00002d05,0x00002cf6,0x000001d5, | ||
| 8066 | 0x00050051,0x00000027,0x00002d09,0x0000655e, | ||
| 8067 | 0x00000002,0x0004007c,0x00000006,0x00002d97, | ||
| 8068 | 0x00002d09,0x00050095,0x00000145,0x00002db2, | ||
| 8069 | 0x00002d5e,0x00002d05,0x00050051,0x00000006, | ||
| 8070 | 0x00002db3,0x00002db2,0x00000001,0x00050051, | ||
| 8071 | 0x00000006,0x00002db4,0x00002db2,0x00000000, | ||
| 8072 | 0x00050080,0x00000006,0x00002db9,0x00002d65, | ||
| 8073 | 0x00002db3,0x00050050,0x00000007,0x00002dba, | ||
| 8074 | 0x00002db4,0x00002db9,0x0004007c,0x00000014, | ||
| 8075 | 0x00002daa,0x00002dba,0x00060041,0x00000174, | ||
| 8076 | 0x00002da2,0x00002daa,0x00000173,0x00000173, | ||
| 8077 | 0x0005003e,0x00002da2,0x00002d97,0x00000002, | ||
| 8078 | 0x00000004,0x00050080,0x00000006,0x00002d0c, | ||
| 8079 | 0x00002cf6,0x000001dc,0x00050051,0x00000027, | ||
| 8080 | 0x00002d10,0x0000655c,0x00000000,0x0004007c, | ||
| 8081 | 0x00000006,0x00002dc0,0x00002d10,0x00050095, | ||
| 8082 | 0x00000145,0x00002ddb,0x00002d5e,0x00002d0c, | ||
| 8083 | 0x00050051,0x00000006,0x00002ddc,0x00002ddb, | ||
| 8084 | 0x00000001,0x00050051,0x00000006,0x00002ddd, | ||
| 8085 | 0x00002ddb,0x00000000,0x00050080,0x00000006, | ||
| 8086 | 0x00002de2,0x00002d65,0x00002ddc,0x00050050, | ||
| 8087 | 0x00000007,0x00002de3,0x00002ddd,0x00002de2, | ||
| 8088 | 0x0004007c,0x00000014,0x00002dd3,0x00002de3, | ||
| 8089 | 0x00060041,0x00000174,0x00002dcb,0x00002dd3, | ||
| 8090 | 0x00000173,0x00000173,0x0005003e,0x00002dcb, | ||
| 8091 | 0x00002dc0,0x00000002,0x00000004,0x00050080, | ||
| 8092 | 0x00000006,0x00002d13,0x00002cf6,0x000001e3, | ||
| 8093 | 0x00050051,0x00000027,0x00002d17,0x0000655c, | ||
| 8094 | 0x00000001,0x0004007c,0x00000006,0x00002de9, | ||
| 8095 | 0x00002d17,0x00050095,0x00000145,0x00002e04, | ||
| 8096 | 0x00002d5e,0x00002d13,0x00050051,0x00000006, | ||
| 8097 | 0x00002e05,0x00002e04,0x00000001,0x00050051, | ||
| 8098 | 0x00000006,0x00002e06,0x00002e04,0x00000000, | ||
| 8099 | 0x00050080,0x00000006,0x00002e0b,0x00002d65, | ||
| 8100 | 0x00002e05,0x00050050,0x00000007,0x00002e0c, | ||
| 8101 | 0x00002e06,0x00002e0b,0x0004007c,0x00000014, | ||
| 8102 | 0x00002dfc,0x00002e0c,0x00060041,0x00000174, | ||
| 8103 | 0x00002df4,0x00002dfc,0x00000173,0x00000173, | ||
| 8104 | 0x0005003e,0x00002df4,0x00002de9,0x00000002, | ||
| 8105 | 0x00000004,0x00050080,0x00000006,0x00002d1a, | ||
| 8106 | 0x00002cf6,0x000002a1,0x00050051,0x00000027, | ||
| 8107 | 0x00002d1e,0x0000655c,0x00000002,0x0004007c, | ||
| 8108 | 0x00000006,0x00002e12,0x00002d1e,0x00050095, | ||
| 8109 | 0x00000145,0x00002e2d,0x00002d5e,0x00002d1a, | ||
| 8110 | 0x00050051,0x00000006,0x00002e2e,0x00002e2d, | ||
| 8111 | 0x00000001,0x00050051,0x00000006,0x00002e2f, | ||
| 8112 | 0x00002e2d,0x00000000,0x00050080,0x00000006, | ||
| 8113 | 0x00002e34,0x00002d65,0x00002e2e,0x00050050, | ||
| 8114 | 0x00000007,0x00002e35,0x00002e2f,0x00002e34, | ||
| 8115 | 0x0004007c,0x00000014,0x00002e25,0x00002e35, | ||
| 8116 | 0x00060041,0x00000174,0x00002e1d,0x00002e25, | ||
| 8117 | 0x00000173,0x00000173,0x0005003e,0x00002e1d, | ||
| 8118 | 0x00002e12,0x00000002,0x00000004,0x000300f7, | ||
| 8119 | 0x00002e75,0x00000000,0x000300fb,0x00000140, | ||
| 8120 | 0x00002e44,0x000200f8,0x00002e44,0x000500bc, | ||
| 8121 | 0x0000002f,0x00002e7c,0x00002cfb,0x00002d10, | ||
| 8122 | 0x000300f7,0x00002e83,0x00000000,0x000400fa, | ||
| 8123 | 0x00002e7c,0x00002e7d,0x00002e83,0x000200f8, | ||
| 8124 | 0x00002e7d,0x000500bc,0x0000002f,0x00002e82, | ||
| 8125 | 0x00002d02,0x00002d17,0x000200f9,0x00002e83, | ||
| 8126 | 0x000200f8,0x00002e83,0x000700f5,0x0000002f, | ||
| 8127 | 0x00002e84,0x00002e7c,0x00002e44,0x00002e82, | ||
| 8128 | 0x00002e7d,0x000300f7,0x00002e8b,0x00000000, | ||
| 8129 | 0x000400fa,0x00002e84,0x00002e85,0x00002e8b, | ||
| 8130 | 0x000200f8,0x00002e85,0x000500bc,0x0000002f, | ||
| 8131 | 0x00002e8a,0x00002d09,0x00002d1e,0x000200f9, | ||
| 8132 | 0x00002e8b,0x000200f8,0x00002e8b,0x000700f5, | ||
| 8133 | 0x0000002f,0x00002e8c,0x00002e84,0x00002e83, | ||
| 8134 | 0x00002e8a,0x00002e85,0x000400a8,0x0000002f, | ||
| 8135 | 0x00002e8d,0x00002e8c,0x000300f7,0x00002e49, | ||
| 8136 | 0x00000000,0x000400fa,0x00002e8d,0x00002e48, | ||
| 8137 | 0x00002e49,0x000200f8,0x00002e48,0x000200f9, | ||
| 8138 | 0x00002e75,0x000200f8,0x00002e49,0x00050081, | ||
| 8139 | 0x0000006c,0x00002e4c,0x0000655e,0x0000655c, | ||
| 8140 | 0x0005008e,0x0000006c,0x00002e4d,0x00002e4c, | ||
| 8141 | 0x00000305,0x00050095,0x00000145,0x00002e9d, | ||
| 8142 | 0x00002d5e,0x00000140,0x00050051,0x00000006, | ||
| 8143 | 0x00002e9e,0x00002e9d,0x00000001,0x00050051, | ||
| 8144 | 0x00000006,0x00002e9f,0x00002e9d,0x00000000, | ||
| 8145 | 0x00050080,0x00000006,0x00002ea4,0x00002d65, | ||
| 8146 | 0x00002e9e,0x00050050,0x00000007,0x00002ea5, | ||
| 8147 | 0x00002e9f,0x00002ea4,0x0004007c,0x00000014, | ||
| 8148 | 0x00002e95,0x00002ea5,0x00060041,0x00000174, | ||
| 8149 | 0x00002e52,0x00002e95,0x00000173,0x00000173, | ||
| 8150 | 0x00050051,0x00000027,0x00002e54,0x00002e4d, | ||
| 8151 | 0x00000000,0x0004007c,0x00000006,0x00002eab, | ||
| 8152 | 0x00002e54,0x000500c7,0x00000006,0x00002ead, | ||
| 8153 | 0x00002eab,0x00000249,0x000500ab,0x0000002f, | ||
| 8154 | 0x00002eae,0x00002ead,0x00000140,0x000300f7, | ||
| 8155 | 0x00002eb5,0x00000000,0x000400fa,0x00002eae, | ||
| 8156 | 0x00002eaf,0x00002eb2,0x000200f8,0x00002eb2, | ||
| 8157 | 0x000500c5,0x00000006,0x00002eb4,0x00002eab, | ||
| 8158 | 0x00000249,0x000200f9,0x00002eb5,0x000200f8, | ||
| 8159 | 0x00002eaf,0x000400c8,0x00000006,0x00002eb1, | ||
| 8160 | 0x00002eab,0x000200f9,0x00002eb5,0x000200f8, | ||
| 8161 | 0x00002eb5,0x000700f5,0x00000006,0x0000634a, | ||
| 8162 | 0x00002eb1,0x00002eaf,0x00002eb4,0x00002eb2, | ||
| 8163 | 0x000700ed,0x00000006,0x00002e56,0x00002e52, | ||
| 8164 | 0x0000014a,0x00000140,0x0000634a,0x00060041, | ||
| 8165 | 0x00000174,0x00002e58,0x00002e95,0x00000173, | ||
| 8166 | 0x0000026c,0x00050051,0x00000027,0x00002e5a, | ||
| 8167 | 0x00002e4d,0x00000001,0x0004007c,0x00000006, | ||
| 8168 | 0x00002ebc,0x00002e5a,0x000500c7,0x00000006, | ||
| 8169 | 0x00002ebe,0x00002ebc,0x00000249,0x000500ab, | ||
| 8170 | 0x0000002f,0x00002ebf,0x00002ebe,0x00000140, | ||
| 8171 | 0x000300f7,0x00002ec6,0x00000000,0x000400fa, | ||
| 8172 | 0x00002ebf,0x00002ec0,0x00002ec3,0x000200f8, | ||
| 8173 | 0x00002ec3,0x000500c5,0x00000006,0x00002ec5, | ||
| 8174 | 0x00002ebc,0x00000249,0x000200f9,0x00002ec6, | ||
| 8175 | 0x000200f8,0x00002ec0,0x000400c8,0x00000006, | ||
| 8176 | 0x00002ec2,0x00002ebc,0x000200f9,0x00002ec6, | ||
| 8177 | 0x000200f8,0x00002ec6,0x000700f5,0x00000006, | ||
| 8178 | 0x0000634b,0x00002ec2,0x00002ec0,0x00002ec5, | ||
| 8179 | 0x00002ec3,0x000700ed,0x00000006,0x00002e5c, | ||
| 8180 | 0x00002e58,0x0000014a,0x00000140,0x0000634b, | ||
| 8181 | 0x00060041,0x00000174,0x00002e5e,0x00002e95, | ||
| 8182 | 0x00000173,0x0000031d,0x00050051,0x00000027, | ||
| 8183 | 0x00002e60,0x00002e4d,0x00000002,0x0004007c, | ||
| 8184 | 0x00000006,0x00002ecd,0x00002e60,0x000500c7, | ||
| 8185 | 0x00000006,0x00002ecf,0x00002ecd,0x00000249, | ||
| 8186 | 0x000500ab,0x0000002f,0x00002ed0,0x00002ecf, | ||
| 8187 | 0x00000140,0x000300f7,0x00002ed7,0x00000000, | ||
| 8188 | 0x000400fa,0x00002ed0,0x00002ed1,0x00002ed4, | ||
| 8189 | 0x000200f8,0x00002ed4,0x000500c5,0x00000006, | ||
| 8190 | 0x00002ed6,0x00002ecd,0x00000249,0x000200f9, | ||
| 8191 | 0x00002ed7,0x000200f8,0x00002ed1,0x000400c8, | ||
| 8192 | 0x00000006,0x00002ed3,0x00002ecd,0x000200f9, | ||
| 8193 | 0x00002ed7,0x000200f8,0x00002ed7,0x000700f5, | ||
| 8194 | 0x00000006,0x0000634c,0x00002ed3,0x00002ed1, | ||
| 8195 | 0x00002ed6,0x00002ed4,0x000700ed,0x00000006, | ||
| 8196 | 0x00002e62,0x00002e5e,0x0000014a,0x00000140, | ||
| 8197 | 0x0000634c,0x00060041,0x00000174,0x00002e64, | ||
| 8198 | 0x00002e95,0x00000173,0x00000325,0x000300f7, | ||
| 8199 | 0x00002ee8,0x00000000,0x000400fa,0x00002eae, | ||
| 8200 | 0x00002ee2,0x00002ee5,0x000200f8,0x00002ee5, | ||
| 8201 | 0x000500c5,0x00000006,0x00002ee7,0x00002eab, | ||
| 8202 | 0x00000249,0x000200f9,0x00002ee8,0x000200f8, | ||
| 8203 | 0x00002ee2,0x000400c8,0x00000006,0x00002ee4, | ||
| 8204 | 0x00002eab,0x000200f9,0x00002ee8,0x000200f8, | ||
| 8205 | 0x00002ee8,0x000700f5,0x00000006,0x0000634d, | ||
| 8206 | 0x00002ee4,0x00002ee2,0x00002ee7,0x00002ee5, | ||
| 8207 | 0x000700ef,0x00000006,0x00002e68,0x00002e64, | ||
| 8208 | 0x0000014a,0x00000140,0x0000634d,0x00060041, | ||
| 8209 | 0x00000174,0x00002e6a,0x00002e95,0x00000173, | ||
| 8210 | 0x0000032d,0x000300f7,0x00002ef9,0x00000000, | ||
| 8211 | 0x000400fa,0x00002ebf,0x00002ef3,0x00002ef6, | ||
| 8212 | 0x000200f8,0x00002ef6,0x000500c5,0x00000006, | ||
| 8213 | 0x00002ef8,0x00002ebc,0x00000249,0x000200f9, | ||
| 8214 | 0x00002ef9,0x000200f8,0x00002ef3,0x000400c8, | ||
| 8215 | 0x00000006,0x00002ef5,0x00002ebc,0x000200f9, | ||
| 8216 | 0x00002ef9,0x000200f8,0x00002ef9,0x000700f5, | ||
| 8217 | 0x00000006,0x0000634e,0x00002ef5,0x00002ef3, | ||
| 8218 | 0x00002ef8,0x00002ef6,0x000700ef,0x00000006, | ||
| 8219 | 0x00002e6e,0x00002e6a,0x0000014a,0x00000140, | ||
| 8220 | 0x0000634e,0x00060041,0x00000174,0x00002e70, | ||
| 8221 | 0x00002e95,0x00000173,0x00000335,0x000300f7, | ||
| 8222 | 0x00002f0a,0x00000000,0x000400fa,0x00002ed0, | ||
| 8223 | 0x00002f04,0x00002f07,0x000200f8,0x00002f07, | ||
| 8224 | 0x000500c5,0x00000006,0x00002f09,0x00002ecd, | ||
| 8225 | 0x00000249,0x000200f9,0x00002f0a,0x000200f8, | ||
| 8226 | 0x00002f04,0x000400c8,0x00000006,0x00002f06, | ||
| 8227 | 0x00002ecd,0x000200f9,0x00002f0a,0x000200f8, | ||
| 8228 | 0x00002f0a,0x000700f5,0x00000006,0x0000634f, | ||
| 8229 | 0x00002f06,0x00002f04,0x00002f09,0x00002f07, | ||
| 8230 | 0x000700ef,0x00000006,0x00002e74,0x00002e70, | ||
| 8231 | 0x0000014a,0x00000140,0x0000634f,0x000200f9, | ||
| 8232 | 0x00002e75,0x000200f8,0x00002e75,0x000200f9, | ||
| 8233 | 0x000014b0,0x000200f8,0x000014b0,0x000200f9, | ||
| 8234 | 0x0000148a,0x000200f8,0x00001489,0x00050041, | ||
| 8235 | 0x000001c3,0x0000148b,0x000001c1,0x000003c1, | ||
| 8236 | 0x0004003d,0x00000006,0x0000148c,0x0000148b, | ||
| 8237 | 0x00050084,0x00000006,0x0000148e,0x000000f3, | ||
| 8238 | 0x000013a7,0x00050080,0x00000006,0x0000148f, | ||
| 8239 | 0x0000148c,0x0000148e,0x00050041,0x0000026e, | ||
| 8240 | 0x00001491,0x000001c1,0x00000173,0x0004003d, | ||
| 8241 | 0x00000007,0x00001492,0x00001491,0x00050051, | ||
| 8242 | 0x00000006,0x00002861,0x00001492,0x00000000, | ||
| 8243 | 0x00050095,0x00000145,0x00002863,0x00002861, | ||
| 8244 | 0x0000148f,0x00050051,0x00000006,0x00002864, | ||
| 8245 | 0x00002863,0x00000001,0x00050051,0x00000006, | ||
| 8246 | 0x00002865,0x00002863,0x00000000,0x00050051, | ||
| 8247 | 0x00000006,0x00002868,0x00001492,0x00000001, | ||
| 8248 | 0x00050080,0x00000006,0x0000286a,0x00002868, | ||
| 8249 | 0x00002864,0x00050050,0x00000007,0x0000286b, | ||
| 8250 | 0x00002865,0x0000286a,0x0004007c,0x00000014, | ||
| 8251 | 0x0000285b,0x0000286b,0x00060041,0x00000174, | ||
| 8252 | 0x00002853,0x0000285b,0x00000173,0x00000173, | ||
| 8253 | 0x0005003e,0x00002853,0x000003bf,0x00000002, | ||
| 8254 | 0x00000004,0x000500b0,0x0000002f,0x00001497, | ||
| 8255 | 0x000013a7,0x000004d7,0x000300f7,0x00001499, | ||
| 8256 | 0x00000000,0x000400fa,0x00001497,0x00001498, | ||
| 8257 | 0x00001499,0x000200f8,0x00001498,0x00050041, | ||
| 8258 | 0x0000026e,0x0000149d,0x000001c1,0x0000026c, | ||
| 8259 | 0x0004003d,0x00000007,0x0000149e,0x0000149d, | ||
| 8260 | 0x00050051,0x00000006,0x00002881,0x0000149e, | ||
| 8261 | 0x00000000,0x00050095,0x00000145,0x00002883, | ||
| 8262 | 0x00002881,0x0000148e,0x00050051,0x00000006, | ||
| 8263 | 0x00002884,0x00002883,0x00000001,0x00050051, | ||
| 8264 | 0x00000006,0x00002885,0x00002883,0x00000000, | ||
| 8265 | 0x00050051,0x00000006,0x00002888,0x0000149e, | ||
| 8266 | 0x00000001,0x00050080,0x00000006,0x0000288a, | ||
| 8267 | 0x00002888,0x00002884,0x00050050,0x00000007, | ||
| 8268 | 0x0000288b,0x00002885,0x0000288a,0x0004007c, | ||
| 8269 | 0x00000014,0x0000287b,0x0000288b,0x00060041, | ||
| 8270 | 0x00000174,0x00002873,0x0000287b,0x00000173, | ||
| 8271 | 0x00000173,0x0005003e,0x00002873,0x000003bf, | ||
| 8272 | 0x00000002,0x00000004,0x00050080,0x00000006, | ||
| 8273 | 0x000014a4,0x000001dc,0x0000148e,0x00050095, | ||
| 8274 | 0x00000145,0x000028a3,0x00002881,0x000014a4, | ||
| 8275 | 0x00050051,0x00000006,0x000028a4,0x000028a3, | ||
| 8276 | 0x00000001,0x00050051,0x00000006,0x000028a5, | ||
| 8277 | 0x000028a3,0x00000000,0x00050080,0x00000006, | ||
| 8278 | 0x000028aa,0x00002888,0x000028a4,0x00050050, | ||
| 8279 | 0x00000007,0x000028ab,0x000028a5,0x000028aa, | ||
| 8280 | 0x0004007c,0x00000014,0x0000289b,0x000028ab, | ||
| 8281 | 0x00060041,0x00000174,0x00002893,0x0000289b, | ||
| 8282 | 0x00000173,0x00000173,0x0005003e,0x00002893, | ||
| 8283 | 0x00000140,0x00000002,0x00000004,0x000200f9, | ||
| 8284 | 0x00001499,0x000200f8,0x00001499,0x000200f9, | ||
| 8285 | 0x0000148a,0x000200f8,0x0000148a,0x000200f9, | ||
| 8286 | 0x000014ef,0x000200f8,0x000014ef,0x000100fd, | ||
| 8287 | 0x00010038} | ||
diff --git a/runtime/test/address_guard_test.cpp b/runtime/test/address_guard_test.cpp new file mode 100644 index 000000000..02baa7bb8 --- /dev/null +++ b/runtime/test/address_guard_test.cpp | |||
| @@ -0,0 +1,127 @@ | |||
| 1 | // leonida::address_guard::AddressGuardTable (src/address_guard.h): the address guard's page table. Pages any byte | ||
| 2 | // of a span touches are backed, a chunk keeps its level-2 block for good, a released span's bits go, negative | ||
| 3 | // offsets (a buffer below the arena) and spans across 4 GiB chunks work, only changed words are written, level-2 | ||
| 4 | // before level-1, and a chunk past the table's room gets the full block. No GPU, no device. | ||
| 5 | #include "../src/address_guard.h" | ||
| 6 | |||
| 7 | #include <cstdint> | ||
| 8 | #include <cstdio> | ||
| 9 | #include <utility> | ||
| 10 | #include <vector> | ||
| 11 | |||
| 12 | #define EXPECT(condition) do { \ | ||
| 13 | if (!(condition)) { std::fprintf(stderr, "line %d: %s\n", __LINE__, #condition); return 1; } \ | ||
| 14 | } while (0) | ||
| 15 | |||
| 16 | namespace { | ||
| 17 | |||
| 18 | using leonida::address_guard::AddressGuardTable; | ||
| 19 | using Spans = std::vector<std::pair<std::uint64_t, std::uint64_t>>; | ||
| 20 | namespace ag = leonida::address_guard; | ||
| 21 | |||
| 22 | constexpr std::uint64_t kLimit = 0x80000; // the "arena" | ||
| 23 | constexpr std::uint64_t kGiB = 1ull << 30; | ||
| 24 | |||
| 25 | // A copy of the GPU's table, written only through assign()'s callback, and the order of the writes. | ||
| 26 | struct Gpu { | ||
| 27 | std::vector<std::uint32_t> words; | ||
| 28 | std::vector<std::size_t> order; | ||
| 29 | explicit Gpu(const AddressGuardTable& t) : words(t.words()) {} | ||
| 30 | auto writer() { | ||
| 31 | return [this](std::size_t i, std::uint32_t v) { | ||
| 32 | words[i] = v; | ||
| 33 | order.push_back(i); | ||
| 34 | }; | ||
| 35 | } | ||
| 36 | }; | ||
| 37 | |||
| 38 | int basics() { | ||
| 39 | AddressGuardTable t(4); | ||
| 40 | Gpu gpu(t); | ||
| 41 | EXPECT(t.word_count() == ag::kGuardLevel1 + 6u * ag::kGuardBlockWords); | ||
| 42 | EXPECT(!t.passes(0x90000, 4, kLimit)); | ||
| 43 | EXPECT(t.passes(0x7fffc, 4, kLimit)); // below the limit: no lookup | ||
| 44 | EXPECT(!t.passes(0x7fffc, 8, kLimit)); // its last byte is past it, on an unbacked page | ||
| 45 | |||
| 46 | const Spans spans{{0x90000, 0x90001}, {5 * 4 * kGiB + 0x1000, 5 * 4 * kGiB + 0x3000}}; | ||
| 47 | const std::size_t written = t.assign(spans, gpu.writer()); | ||
| 48 | EXPECT(written > 0); | ||
| 49 | EXPECT(gpu.words == t.words()); | ||
| 50 | EXPECT(t.blocks_used() == 2); | ||
| 51 | EXPECT(t.passes(0x90000, 4, kLimit)); | ||
| 52 | EXPECT(t.passes(0x90ffc, 4, kLimit)); // one byte of the span marks the whole page | ||
| 53 | EXPECT(!t.passes(0x90ffc, 8, kLimit)); // the last byte is on the next page | ||
| 54 | EXPECT(t.passes(5 * 4 * kGiB + 0x2ff0, 16, kLimit)); | ||
| 55 | EXPECT(!t.passes(5 * 4 * kGiB + 0x3000, 4, kLimit)); | ||
| 56 | EXPECT(!t.passes(6 * 4 * kGiB, 4, kLimit)); | ||
| 57 | |||
| 58 | // Level-2 words are written before level-1 ones. | ||
| 59 | bool seen_level1 = false; | ||
| 60 | for (const std::size_t i : gpu.order) { | ||
| 61 | if (i < ag::kGuardLevel1) seen_level1 = true; | ||
| 62 | else EXPECT(!seen_level1); | ||
| 63 | } | ||
| 64 | |||
| 65 | // The same spans again: nothing to write. | ||
| 66 | gpu.order.clear(); | ||
| 67 | EXPECT(t.assign(spans, gpu.writer()) == 0); | ||
| 68 | |||
| 69 | // A release: its bits go, its chunk keeps its block. | ||
| 70 | const std::uint32_t chunk5 = t.words()[5]; | ||
| 71 | EXPECT(chunk5 >= ag::kFirstBlock); | ||
| 72 | EXPECT(t.assign(Spans{{0x90000, 0x91000}}, gpu.writer()) > 0); | ||
| 73 | EXPECT(gpu.words == t.words()); | ||
| 74 | EXPECT(!t.passes(5 * 4 * kGiB + 0x2ff0, 4, kLimit)); | ||
| 75 | EXPECT(t.words()[5] == chunk5); | ||
| 76 | EXPECT(t.passes(0x90000, 4, kLimit)); | ||
| 77 | return 0; | ||
| 78 | } | ||
| 79 | |||
| 80 | int negative_and_wide() { | ||
| 81 | AddressGuardTable t(4); | ||
| 82 | Gpu gpu(t); | ||
| 83 | // A buffer 8 KiB below heap_base (LEONIDA_IMPORT_BELOW_ARENA=1), as the 48-bit offset a V# holds. | ||
| 84 | const std::uint64_t below = (0ull - 0x2000) & ag::kMask48; | ||
| 85 | // One that runs from below heap_base into the arena's first page: wraps through 2^48. | ||
| 86 | const std::uint64_t wrap = (0ull - 0x1000) & ag::kMask48; | ||
| 87 | // A 6 GiB buffer across two chunks: whole words of bits. | ||
| 88 | const std::uint64_t wide = 8 * kGiB + 0x10000; | ||
| 89 | t.assign(Spans{{below, below + 0x1000}, {wrap, 0x1000}, {wide, wide + 6 * kGiB}}, gpu.writer()); | ||
| 90 | EXPECT(gpu.words == t.words()); | ||
| 91 | EXPECT(t.passes(below, 4, kLimit)); | ||
| 92 | EXPECT(t.passes(0ull - 0x2000, 4, kLimit)); // the same offset sign-extended, as the shaders pass it | ||
| 93 | EXPECT(t.passes(0ull - 4, 8, kLimit)); // across zero: both pages backed | ||
| 94 | EXPECT(!t.passes(0ull - 0x3000, 4, kLimit)); | ||
| 95 | EXPECT(t.passes(wide, 4, kLimit)); | ||
| 96 | EXPECT(t.passes(wide + 4 * kGiB, 4, kLimit)); | ||
| 97 | EXPECT(t.passes(wide + 6 * kGiB - 4, 4, kLimit)); | ||
| 98 | EXPECT(!t.passes(wide + 6 * kGiB, 4, kLimit)); | ||
| 99 | EXPECT(!t.passes(wide - 4, 8, kLimit)); | ||
| 100 | EXPECT(t.blocks_used() == 4); // chunks 0xffff, 0 (the wrap), 2 and 3 | ||
| 101 | return 0; | ||
| 102 | } | ||
| 103 | |||
| 104 | int out_of_room() { | ||
| 105 | AddressGuardTable t(1); | ||
| 106 | Gpu gpu(t); | ||
| 107 | t.assign(Spans{{4 * kGiB, 4 * kGiB + 1}, {8 * kGiB, 8 * kGiB + 1}}, gpu.writer()); | ||
| 108 | EXPECT(t.blocks_used() == 1); | ||
| 109 | EXPECT(t.overflowed() == 1); | ||
| 110 | EXPECT(t.passes(4 * kGiB, 4, kLimit)); | ||
| 111 | EXPECT(!t.passes(4 * kGiB + 0x1000, 4, kLimit)); | ||
| 112 | EXPECT(t.passes(8 * kGiB + 0x5000, 4, kLimit)); // the full block: all of that chunk passes | ||
| 113 | EXPECT(t.words()[2] == ag::kFullBlock); | ||
| 114 | return 0; | ||
| 115 | } | ||
| 116 | |||
| 117 | } // namespace | ||
| 118 | |||
| 119 | int main() { | ||
| 120 | // "LGUARD01" little-endian, as tools/address_guard.py packs it and the shaders compare it. | ||
| 121 | static_assert(ag::magic() == 0x313044524155474Cull); | ||
| 122 | if (int r = basics()) return r; | ||
| 123 | if (int r = negative_and_wide()) return r; | ||
| 124 | if (int r = out_of_room()) return r; | ||
| 125 | std::puts("address_guard_test: ok"); | ||
| 126 | return 0; | ||
| 127 | } | ||
diff --git a/runtime/test/bindless_sizing_test.cpp b/runtime/test/bindless_sizing_test.cpp index b7d501aab..b83294852 100644 --- a/runtime/test/bindless_sizing_test.cpp +++ b/runtime/test/bindless_sizing_test.cpp | |||
| @@ -133,18 +133,18 @@ int main() { | |||
| 133 | const Device d = uniform(1048576, 1048576); | 133 | const Device d = uniform(1048576, 1048576); |
| 134 | BindlessFeatures f = with_ms(update_after_bind); | 134 | BindlessFeatures f = with_ms(update_after_bind); |
| 135 | EXPECT(bindless::size_bindings(f, d.limits, d.v11, d.v12)); | 135 | EXPECT(bindless::size_bindings(f, d.limits, d.v11, d.v12)); |
| 136 | EXPECT(count(f, D::dim_2d) == bindless::max_2d_images); | 136 | EXPECT(count(f, D::dim_2d) == bindless::max_images); |
| 137 | EXPECT(f.counts[bindless::sampler_binding] == 4000 - bindless::reserved_samplers); | 137 | EXPECT(f.counts[bindless::sampler_binding] == 4000 - bindless::reserved_samplers); |
| 138 | EXPECT(f.counts[bindless::sampler_binding] > 2048); // a full sampler heap and the fallback | 138 | EXPECT(f.counts[bindless::sampler_binding] > 2048); // a full sampler heap and the fallback |
| 139 | EXPECT(storage(f, D::dim_2d) == bindless::max_storage_indices); | 139 | EXPECT(storage(f, D::dim_2d) == bindless::max_storage_indices); |
| 140 | // The other dimensions grow too (a title's cube maps, texture arrays and 1D lookups outnumber the defaults); | 140 | // The other dimensions grow as far as 2D (a title's textures are of whichever dimension it chose); their |
| 141 | // their storage arrays hold as many indices as the 2D one. The storage-only 1D array keeps its 256. | 141 | // storage arrays hold as many indices as the 2D one. The storage-only 1D array keeps its 256. |
| 142 | EXPECT(count(f, D::dim_2d_array) == bindless::max_2d_array_images && | 142 | EXPECT(count(f, D::dim_2d_array) == bindless::max_images && count(f, D::dim_3d) == bindless::max_images && |
| 143 | count(f, D::dim_3d) == bindless::max_3d_images && count(f, D::dim_1d) == bindless::max_1d_images); | 143 | count(f, D::dim_1d) == bindless::max_images); |
| 144 | EXPECT(storage(f, D::dim_2d_array) == bindless::max_storage_indices && | 144 | EXPECT(storage(f, D::dim_2d_array) == bindless::max_storage_indices && |
| 145 | storage(f, D::dim_3d) == bindless::max_storage_indices && | 145 | storage(f, D::dim_3d) == bindless::max_storage_indices && |
| 146 | storage(f, D::dim_1d) == bindless::max_storage_indices); | 146 | storage(f, D::dim_1d) == bindless::max_storage_indices); |
| 147 | EXPECT(storage(f, D::dim_1d_array) == 256 && totals(f).all == 153697); | 147 | EXPECT(storage(f, D::dim_1d_array) == 256 && totals(f).all == 325729); |
| 148 | EXPECT(f.ms_samples[0] == VK_SAMPLE_COUNT_4_BIT && f.ms_samples[2] == VK_SAMPLE_COUNT_4_BIT); | 148 | EXPECT(f.ms_samples[0] == VK_SAMPLE_COUNT_4_BIT && f.ms_samples[2] == VK_SAMPLE_COUNT_4_BIT); |
| 149 | EXPECT(storage_consistent(f)); | 149 | EXPECT(storage_consistent(f)); |
| 150 | if (update_after_bind) | 150 | if (update_after_bind) |
| @@ -152,6 +152,44 @@ int main() { | |||
| 152 | count(f, D::dim_2d), f.counts[bindless::sampler_binding], storage(f, D::dim_2d), totals(f).all); | 152 | count(f, D::dim_2d), f.counts[bindless::sampler_binding], storage(f, D::dim_2d), totals(f).all); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | // RADV (Mesa 26.3, a Raphael iGPU and an RX 7900 XTX alike) and llvmpipe: their update-after-bind limits hold | ||
| 156 | // every sampled dimension at the full size. A world run kept 4090 live 1D textures, filling the 4096 1D indices | ||
| 157 | // the set used to stop at whatever the device held; now 1D, 3D and 2D-array images get as many as 2D. | ||
| 158 | { | ||
| 159 | Device radv = uniform(8388606, 8388606); | ||
| 160 | radv.limits.maxPerStageResources = radv.v12.maxPerStageUpdateAfterBindResources = 8388606; | ||
| 161 | radv.v12.maxUpdateAfterBindDescriptorsInAllPools = 67108863; | ||
| 162 | radv.v11.maxPerSetDescriptors = 22369621; | ||
| 163 | radv.limits.maxSamplerAllocationCount = 4294967295u; | ||
| 164 | Device lvp = uniform(1015808, 1015808); | ||
| 165 | lvp.limits.maxPerStageResources = lvp.v12.maxPerStageUpdateAfterBindResources = 1015808; | ||
| 166 | lvp.v11.maxPerSetDescriptors = 1015808; | ||
| 167 | lvp.limits.maxSamplerAllocationCount = 32768; | ||
| 168 | for (const Device* d : {&radv, &lvp}) { | ||
| 169 | BindlessFeatures f = with_ms(true); | ||
| 170 | EXPECT(bindless::size_bindings(f, d->limits, d->v11, d->v12)); | ||
| 171 | for (const D dimension : {D::dim_2d, D::dim_2d_array, D::dim_3d, D::dim_1d}) { | ||
| 172 | EXPECT(count(f, dimension) == bindless::max_images); | ||
| 173 | EXPECT(count(f, dimension) > 4096 + 1); // more than 4096 live images and the fallback | ||
| 174 | } | ||
| 175 | EXPECT(storage_consistent(f)); | ||
| 176 | } | ||
| 177 | } | ||
| 178 | |||
| 179 | // A device whose limits stop growth short of max_images: the 2D-array, 3D and 1D arrays share what is left alike, | ||
| 180 | // whichever is grown first. | ||
| 181 | { | ||
| 182 | Device d = uniform(1048576, 1048576); | ||
| 183 | d.v12.maxPerStageDescriptorUpdateAfterBindSampledImages = 65536 + 3 * 20000 + 6 * 256 + bindless::growth_headroom; | ||
| 184 | BindlessFeatures f = with_ms(true); | ||
| 185 | EXPECT(bindless::size_bindings(f, d.limits, d.v11, d.v12)); | ||
| 186 | EXPECT(count(f, D::dim_2d) == bindless::max_images); | ||
| 187 | EXPECT(count(f, D::dim_2d_array) == count(f, D::dim_3d) && count(f, D::dim_3d) == count(f, D::dim_1d)); | ||
| 188 | EXPECT(count(f, D::dim_1d) > 4096 && count(f, D::dim_1d) <= 20000); | ||
| 189 | EXPECT(totals(f).sampled + bindless::growth_headroom <= d.v12.maxPerStageDescriptorUpdateAfterBindSampledImages); | ||
| 190 | EXPECT(storage_consistent(f)); | ||
| 191 | } | ||
| 192 | |||
| 155 | // At today's sizes exactly (5632 sampled images, 1024 samplers, 4352 storage images): no MS pairs. | 193 | // At today's sizes exactly (5632 sampled images, 1024 samplers, 4352 storage images): no MS pairs. |
| 156 | { | 194 | { |
| 157 | Device d = uniform(1048576, 1048576); | 195 | Device d = uniform(1048576, 1048576); |
| @@ -191,7 +229,7 @@ int main() { | |||
| 191 | BindlessFeatures uab = with_ms(true), plain = with_ms(false); | 229 | BindlessFeatures uab = with_ms(true), plain = with_ms(false); |
| 192 | EXPECT(bindless::size_bindings(uab, d.limits, d.v11, d.v12)); | 230 | EXPECT(bindless::size_bindings(uab, d.limits, d.v11, d.v12)); |
| 193 | EXPECT(bindless::size_bindings(plain, d.limits, d.v11, d.v12)); | 231 | EXPECT(bindless::size_bindings(plain, d.limits, d.v11, d.v12)); |
| 194 | EXPECT(count(uab, D::dim_2d) == bindless::max_2d_images); | 232 | EXPECT(count(uab, D::dim_2d) == bindless::max_images); |
| 195 | const Totals t = totals(plain); | 233 | const Totals t = totals(plain); |
| 196 | EXPECT(count(plain, D::dim_2d) > 4096 && count(plain, D::dim_2d) < 16384); | 234 | EXPECT(count(plain, D::dim_2d) > 4096 && count(plain, D::dim_2d) < 16384); |
| 197 | EXPECT(t.sampled + bindless::growth_headroom <= 16384 && t.storage + bindless::growth_headroom <= 16384); | 235 | EXPECT(t.sampled + bindless::growth_headroom <= 16384 && t.storage + bindless::growth_headroom <= 16384); |
| @@ -232,7 +270,7 @@ int main() { | |||
| 232 | BindlessFeatures f = with_ms(true); | 270 | BindlessFeatures f = with_ms(true); |
| 233 | EXPECT(bindless::size_bindings(f, d.limits, d.v11, d.v12, all_supported)); | 271 | EXPECT(bindless::size_bindings(f, d.limits, d.v11, d.v12, all_supported)); |
| 234 | EXPECT(asked > 0 && asked_within == 0 && missing_storage == 0); | 272 | EXPECT(asked > 0 && asked_within == 0 && missing_storage == 0); |
| 235 | EXPECT(count(f, D::dim_2d) == bindless::max_2d_images && | 273 | EXPECT(count(f, D::dim_2d) == bindless::max_images && |
| 236 | f.counts[bindless::sampler_binding] == 4000 - bindless::reserved_samplers); | 274 | f.counts[bindless::sampler_binding] == 4000 - bindless::reserved_samplers); |
| 237 | EXPECT(storage(f, D::dim_2d) == bindless::max_storage_indices && storage_consistent(f)); | 275 | EXPECT(storage(f, D::dim_2d) == bindless::max_storage_indices && storage_consistent(f)); |
| 238 | 276 | ||
diff --git a/runtime/test/check_atexit.cmake b/runtime/test/check_atexit.cmake index 255bb3a4f..6b34c9d81 100644 --- a/runtime/test/check_atexit.cmake +++ b/runtime/test/check_atexit.cmake | |||
| @@ -26,6 +26,12 @@ set(code_c_exit 12) | |||
| 26 | # exit(7) is running a slow handler when a second thread calls _exit(7): the exit lock holds it back. | 26 | # exit(7) is running a slow handler when a second thread calls _exit(7): the exit lock holds it back. |
| 27 | set(expect_concurrent_exit "${ctors};slow handler started;slow handler done;${handlers}") | 27 | set(expect_concurrent_exit "${ctors};slow handler started;slow handler done;${handlers}") |
| 28 | set(code_concurrent_exit 7) | 28 | set(code_concurrent_exit 7) |
| 29 | # The main thread's thread_local object ends before the atexit handlers and static destructors ([basic.start.term]): | ||
| 30 | # the UCRT calls the EXE's thread-local destructor callback first in exit() and _cexit(). | ||
| 31 | set(expect_thread_local_exit "${ctors};ctor thread_local;dtor thread_local;${handlers}") | ||
| 32 | set(code_thread_local_exit 13) | ||
| 33 | set(expect_thread_local_cexit "${ctors};ctor thread_local;dtor thread_local;${handlers};after _cexit") | ||
| 34 | set(code_thread_local_cexit 14) | ||
| 29 | 35 | ||
| 30 | # The program's own lines, in order, without the prefix; everything gta6rt prints is dropped. | 36 | # The program's own lines, in order, without the prefix; everything gta6rt prints is dropped. |
| 31 | function(guest_lines output result) | 37 | function(guest_lines output result) |
| @@ -42,7 +48,7 @@ function(guest_lines output result) | |||
| 42 | endfunction() | 48 | endfunction() |
| 43 | 49 | ||
| 44 | set(failures "") | 50 | set(failures "") |
| 45 | foreach(mode return exit _exit quick_exit ExitProcess cexit c_exit concurrent_exit) | 51 | foreach(mode return exit _exit quick_exit ExitProcess cexit c_exit concurrent_exit thread_local_exit thread_local_cexit) |
| 46 | execute_process(COMMAND ${RUNNER} "${GUEST}" ${mode} | 52 | execute_process(COMMAND ${RUNNER} "${GUEST}" ${mode} |
| 47 | WORKING_DIRECTORY "${guest_dir}" TIMEOUT 60 | 53 | WORKING_DIRECTORY "${guest_dir}" TIMEOUT 60 |
| 48 | RESULT_VARIABLE native_code OUTPUT_VARIABLE native_out ERROR_VARIABLE native_err) | 54 | RESULT_VARIABLE native_code OUTPUT_VARIABLE native_out ERROR_VARIABLE native_err) |
| @@ -68,4 +74,4 @@ endforeach() | |||
| 68 | if(failures) | 74 | if(failures) |
| 69 | message(FATAL_ERROR "atexit/termination differences:${failures}") | 75 | message(FATAL_ERROR "atexit/termination differences:${failures}") |
| 70 | endif() | 76 | endif() |
| 71 | message(STATUS "tiny_atexit: 8 termination paths match the Windows sequence") | 77 | message(STATUS "tiny_atexit: 10 termination paths match the Windows sequence") |
diff --git a/runtime/test/check_precompile_skip_list.cmake b/runtime/test/check_precompile_skip_list.cmake new file mode 100644 index 000000000..5945db761 --- /dev/null +++ b/runtime/test/check_precompile_skip_list.cmake | |||
| @@ -0,0 +1,123 @@ | |||
| 1 | # gta6rt --precompile-pipelines and LEONIDA_SKIP_COMPUTE (shims/d3d12_precompile.h): the play-time skip list does not | ||
| 2 | # keep programs out of the pipeline journal; --skip-listed does, and the closing line counts both. | ||
| 3 | # cmake -DGTA6RT=<gta6rt.exe> [-DRUNNER=<wine>] -DSPV_A=<compute .spv> -DSPV_B=<another compute .spv> | ||
| 4 | # -DTEST_DIR=<scratch folder> -P check_precompile_skip_list.cmake | ||
| 5 | # A library of two synthetic compute entries, one of them named by LEONIDA_SKIP_COMPUTE, is precompiled three times: | ||
| 6 | # 1. into an empty journal with the list set and no flag: both entries are built; | ||
| 7 | # 2. into another empty journal with --skip-listed: only the unlisted one is, and the listed one is reported; | ||
| 8 | # 3. into the first journal again: both are journaled already, nothing is built. | ||
| 9 | # The verdicts are read from the output and the journal folders, since under Wine an exit status alone can look fine. | ||
| 10 | cmake_minimum_required(VERSION 3.24) | ||
| 11 | |||
| 12 | foreach(var GTA6RT SPV_A SPV_B TEST_DIR) | ||
| 13 | if(NOT DEFINED ${var} OR "${${var}}" STREQUAL "") | ||
| 14 | message(FATAL_ERROR "check_precompile_skip_list.cmake: -D${var}=... is required") | ||
| 15 | endif() | ||
| 16 | endforeach() | ||
| 17 | |||
| 18 | file(REMOVE_RECURSE "${TEST_DIR}") | ||
| 19 | file(MAKE_DIRECTORY "${TEST_DIR}/shaders") | ||
| 20 | # Two different modules: entries with the same module and layout share one journal file. | ||
| 21 | file(COPY_FILE "${SPV_A}" "${TEST_DIR}/shaders/precompile_kept.spv") | ||
| 22 | file(COPY_FILE "${SPV_B}" "${TEST_DIR}/shaders/precompile_listed.spv") | ||
| 23 | # The runtime's library takes an entry only with a program hash; these two name no real program. | ||
| 24 | set(meta "\"stage\":\"cs\",\"bindings\":[],\"push_constant_bytes\":144,\"local_size\":[1,1,1],\"wave64\":false") | ||
| 25 | string(REPEAT "a" 64 hash_kept) | ||
| 26 | string(REPEAT "b" 64 hash_listed) | ||
| 27 | file(WRITE "${TEST_DIR}/shaders/index.json" | ||
| 28 | "{\"precompile_kept\":{\"fssm_sha256\":\"${hash_kept}\",${meta}}," | ||
| 29 | "\"precompile_listed\":{\"fssm_sha256\":\"${hash_listed}\",${meta}}}\n") | ||
| 30 | |||
| 31 | # Only what this test sets: a journal setting or helper from the caller's environment would change the counts. | ||
| 32 | foreach(var LEONIDA_PIPELINE_JOURNAL LEONIDA_PIPELINE_CACHE_BYTES LEONIDA_PIPELINE_JOURNAL_BYTES | ||
| 33 | LEONIDA_PIPELINE_JOURNAL_SEED_DIR LEONIDA_COMPILE_HELPER LEONIDA_LAZY_COMPUTE) | ||
| 34 | unset(ENV{${var}}) | ||
| 35 | endforeach() | ||
| 36 | file(TO_NATIVE_PATH "${TEST_DIR}/shaders" shaders) | ||
| 37 | set(ENV{LEONIDA_SHADERS} "${shaders}") | ||
| 38 | set(ENV{LEONIDA_SKIP_COMPUTE} "precompile_listed") | ||
| 39 | |||
| 40 | set(failures "") | ||
| 41 | set(all_output "") | ||
| 42 | # Runs the precompile with the journal in <cache> and the extra arguments; sets `out` and `code` in the caller. | ||
| 43 | function(precompile label cache) | ||
| 44 | file(TO_NATIVE_PATH "${TEST_DIR}/${cache}" cache_dir) | ||
| 45 | set(ENV{LEONIDA_PIPELINE_CACHE_DIR} "${cache_dir}") | ||
| 46 | execute_process(COMMAND ${RUNNER} "${GTA6RT}" --precompile-pipelines --threads 1 ${ARGN} | ||
| 47 | WORKING_DIRECTORY "${TEST_DIR}" | ||
| 48 | TIMEOUT 90 | ||
| 49 | RESULT_VARIABLE result OUTPUT_VARIABLE output ERROR_VARIABLE output) | ||
| 50 | string(REPLACE "\r\n" "\n" output "\n${output}\n") | ||
| 51 | set(out "${output}" PARENT_SCOPE) | ||
| 52 | set(code "${result}" PARENT_SCOPE) | ||
| 53 | set(all_output "${all_output}--- ${label} (exit ${result}) ---${output}" PARENT_SCOPE) | ||
| 54 | endfunction() | ||
| 55 | # Functions, not macros: a macro would substitute the patterns' text and undo their backslash escapes. | ||
| 56 | function(expect label pattern) | ||
| 57 | if(NOT out MATCHES "${pattern}") | ||
| 58 | set(failures "${failures}${label}: no match for '${pattern}'\n" PARENT_SCOPE) | ||
| 59 | endif() | ||
| 60 | endfunction() | ||
| 61 | function(expect_not label pattern) | ||
| 62 | if(out MATCHES "${pattern}") | ||
| 63 | set(failures "${failures}${label}: unexpected match for '${pattern}'\n" PARENT_SCOPE) | ||
| 64 | endif() | ||
| 65 | endfunction() | ||
| 66 | function(expect_exit label want) | ||
| 67 | if(NOT "${code}" STREQUAL "${want}") | ||
| 68 | set(failures "${failures}${label}: exit ${code}, not ${want}\n" PARENT_SCOPE) | ||
| 69 | endif() | ||
| 70 | endfunction() | ||
| 71 | function(journal_files cache var) | ||
| 72 | file(GLOB files "${TEST_DIR}/${cache}/pipeline_cache.d/cs-*.bin") | ||
| 73 | list(LENGTH files count) | ||
| 74 | set(${var} ${count} PARENT_SCOPE) | ||
| 75 | endfunction() | ||
| 76 | |||
| 77 | # 1. The list is set, no flag: both entries are built and nothing is reported as left out by the list. | ||
| 78 | precompile("list set, no flag" cache_all) | ||
| 79 | if(code STREQUAL "1" AND out MATCHES "the Vulkan device could not be created|the runtime builds no compute pipeline") | ||
| 80 | message("SKIP: no Vulkan device for the precompile here${all_output}") | ||
| 81 | return() | ||
| 82 | endif() | ||
| 83 | expect_exit("list set, no flag" 0) | ||
| 84 | expect("list set, no flag" "\n\\[precompile\\] LEONIDA_SKIP_COMPUTE names 1 of the entries: built anyway") | ||
| 85 | expect("list set, no flag" "\n\\[precompile\\] 2 compute entries to build ") | ||
| 86 | expect_not("list set, no flag" "precompile_listed: not built") | ||
| 87 | expect("list set, no flag" "\n\\[precompile\\] done: 2 built \\([0-9]+ compiled, [0-9]+ from a cache\\), 0 journaled already, 0 being built by another process, 0 failed; left out: 0 of 1 listed in LEONIDA_SKIP_COMPUTE, 0 not buildable, 0 filtered out; in [0-9]+ s\n") | ||
| 88 | # A driver that returns no cache data leaves no journal file; then step 3 has nothing to find. | ||
| 89 | set(journaled TRUE) | ||
| 90 | if(out MATCHES "compiled \\(not journaled\\)") | ||
| 91 | set(journaled FALSE) | ||
| 92 | message("note: the driver gave no cache data, so the journal-file checks are left out") | ||
| 93 | else() | ||
| 94 | journal_files(cache_all count) | ||
| 95 | if(NOT count EQUAL 2) | ||
| 96 | string(APPEND failures "list set, no flag: ${count} journal files, not 2\n") | ||
| 97 | endif() | ||
| 98 | endif() | ||
| 99 | |||
| 100 | # 2. --skip-listed: the listed entry is left out and named, the other one is built. | ||
| 101 | precompile("--skip-listed" cache_listed --skip-listed) | ||
| 102 | expect_exit("--skip-listed" 0) | ||
| 103 | expect("--skip-listed" "\n\\[precompile\\] precompile_listed: not built \\(LEONIDA_SKIP_COMPUTE, --skip-listed\\)\n") | ||
| 104 | expect("--skip-listed" "\n\\[precompile\\] 1 compute entries to build \\([^)]*, 1 left out by --skip-listed, 0 not buildable\\)") | ||
| 105 | expect("--skip-listed" "\n\\[precompile\\] done: 1 built \\([0-9]+ compiled, [0-9]+ from a cache\\), 0 journaled already, 0 being built by another process, 0 failed; left out: 1 of 1 listed in LEONIDA_SKIP_COMPUTE \\(--skip-listed\\), 0 not buildable, 0 filtered out; in [0-9]+ s\n") | ||
| 106 | if(journaled) | ||
| 107 | journal_files(cache_listed count) | ||
| 108 | if(NOT count EQUAL 1) | ||
| 109 | string(APPEND failures "--skip-listed: ${count} journal files, not 1\n") | ||
| 110 | endif() | ||
| 111 | endif() | ||
| 112 | |||
| 113 | # 3. The first journal again: both entries are there, nothing is built. | ||
| 114 | if(journaled) | ||
| 115 | precompile("again" cache_all) | ||
| 116 | expect_exit("again" 0) | ||
| 117 | expect("again" "\n\\[precompile\\] done: 0 built \\(0 compiled, 0 from a cache\\), 2 journaled already, 0 being built by another process, 0 failed; left out: 0 of 1 listed in LEONIDA_SKIP_COMPUTE, 0 not buildable, 0 filtered out; in [0-9]+ s\n") | ||
| 118 | endif() | ||
| 119 | |||
| 120 | if(failures) | ||
| 121 | message(FATAL_ERROR "gta6rt --precompile-pipelines and LEONIDA_SKIP_COMPUTE:\n${failures}${all_output}") | ||
| 122 | endif() | ||
| 123 | message("precompile and LEONIDA_SKIP_COMPUTE: built regardless of the list, left out with --skip-listed${all_output}") | ||
diff --git a/runtime/test/conservative_raster_test.cpp b/runtime/test/conservative_raster_test.cpp index b862e5fcb..72ee4d516 100644 --- a/runtime/test/conservative_raster_test.cpp +++ b/runtime/test/conservative_raster_test.cpp | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #include "../src/conservative_raster.h" | 1 | #include "../src/conservative_raster.h" |
| 2 | #include <cstdio> | 2 | #include <cstdio> |
| 3 | #include <limits> | 3 | #include <limits> |
| 4 | #include <vector> | ||
| 4 | 5 | ||
| 5 | int main() { | 6 | int main() { |
| 6 | using leonida::conservative_raster::tier1; | 7 | using leonida::conservative_raster::tier1; |
| @@ -38,6 +39,18 @@ int main() { | |||
| 38 | const auto requirements = inner_coverage_requirements(module); | 39 | const auto requirements = inner_coverage_requirements(module); |
| 39 | check(requirements.valid && requirements.fully_covered && requirements.post_depth); | 40 | check(requirements.valid && requirements.fully_covered && requirements.post_depth); |
| 40 | check(!inner_coverage_requirements(std::span(module).first(9)).valid); | 41 | check(!inner_coverage_requirements(std::span(module).first(9)).valid); |
| 42 | using leonida::conservative_raster::mesh_outputs_triangles; | ||
| 43 | const auto with_mode = [](std::uint32_t mode) { | ||
| 44 | return std::vector<std::uint32_t>{0x07230203, 0x00010500, 0, 2, 0, (3u << 16) | 16, 1, mode}; | ||
| 45 | }; | ||
| 46 | check(mesh_outputs_triangles(with_mode(5298))); // OutputTrianglesEXT | ||
| 47 | check(!mesh_outputs_triangles(with_mode(5269))); // OutputLinesEXT | ||
| 48 | check(!mesh_outputs_triangles(with_mode(27))); // OutputPoints | ||
| 49 | check(!mesh_outputs_triangles(with_mode(26))); // OutputVertices: no output topology | ||
| 50 | check(!mesh_outputs_triangles({})); | ||
| 51 | auto truncated = with_mode(5298); | ||
| 52 | truncated.pop_back(); | ||
| 53 | check(!mesh_outputs_triangles(truncated)); | ||
| 41 | const std::uint32_t zero_count[] = {0x07230203, 0x00010500, 0, 2, 0, 0}; | 54 | const std::uint32_t zero_count[] = {0x07230203, 0x00010500, 0, 2, 0, 0}; |
| 42 | check(!inner_coverage_requirements(zero_count).valid); | 55 | check(!inner_coverage_requirements(zero_count).valid); |
| 43 | const std::uint32_t ordinary[] = {0x07230203, 0x00010500, 0, 2, 0, (2u << 16) | 17, 1}; | 56 | const std::uint32_t ordinary[] = {0x07230203, 0x00010500, 0, 2, 0, (2u << 16) | 17, 1}; |
diff --git a/runtime/test/console_heap_slot_records_test.cpp b/runtime/test/console_heap_slot_records_test.cpp new file mode 100644 index 000000000..c5fcfbe9a --- /dev/null +++ b/runtime/test/console_heap_slot_records_test.cpp | |||
| @@ -0,0 +1,347 @@ | |||
| 1 | // leonida::ConsoleHeapSlotRecords (src/console_heap_slot_records.h): a change of the address space finds exactly the | ||
| 2 | // console-heap slots whose V#s it touches, without walking the heap. Portable, CPU only, no game data. | ||
| 3 | // | ||
| 4 | // A small model stands in for the device: backings (device ranges), alias ranges (title VA -> arena offset) and a | ||
| 5 | // resolver that follows DeviceState::vsharp_address's order (an alias first, refused when its copy is not backed; then | ||
| 6 | // the base as an arena offset). fix() is fix_console_slot: it resolves both halves of a slot, writes the "copy" and the | ||
| 7 | // records. apply() is apply_slot_changes: the slots touched() names are fixed again. After every step the copy is | ||
| 8 | // compared with a full re-resolution of every slot: a slot left naming a range that went (a GPU page fault in the | ||
| 9 | // runtime) or a waiting slot left null after its buffer came fails the comparison. | ||
| 10 | #include "../src/console_heap_slot_records.h" | ||
| 11 | |||
| 12 | #include <array> | ||
| 13 | #include <cstdint> | ||
| 14 | #include <cstdio> | ||
| 15 | #include <iterator> | ||
| 16 | #include <map> | ||
| 17 | #include <random> | ||
| 18 | #include <vector> | ||
| 19 | |||
| 20 | #define EXPECT(condition) do { \ | ||
| 21 | if (!(condition)) { std::fprintf(stderr, "line %d: %s\n", __LINE__, #condition); return 1; } \ | ||
| 22 | } while (0) | ||
| 23 | |||
| 24 | namespace { | ||
| 25 | |||
| 26 | using leonida::ConsoleHeapSlotRecords; | ||
| 27 | using leonida::SlotChange; | ||
| 28 | |||
| 29 | constexpr std::uint64_t kArena = 0x7f0000000000ull; // the arena's device address | ||
| 30 | constexpr std::uint64_t kMask = (1ull << 48) - 1; | ||
| 31 | |||
| 32 | struct HalfWords { | ||
| 33 | std::uint64_t base = 0, span = 0; // span 0: no V# in this half | ||
| 34 | }; | ||
| 35 | |||
| 36 | struct Model { | ||
| 37 | using Words = HalfWords; | ||
| 38 | struct Alias { | ||
| 39 | std::uint64_t end, shader; | ||
| 40 | }; | ||
| 41 | std::vector<std::array<Words, 2>> slots; | ||
| 42 | std::vector<std::array<std::uint64_t, 2>> copy; // the device address each half names, 0: null | ||
| 43 | std::map<std::uint64_t, std::uint64_t> backings; // device start -> end | ||
| 44 | std::map<std::uint64_t, Alias> aliases; // title VA -> range | ||
| 45 | ConsoleHeapSlotRecords records; | ||
| 46 | std::vector<SlotChange> changes; | ||
| 47 | std::uint64_t fixes = 0; | ||
| 48 | |||
| 49 | explicit Model(std::size_t n) : slots(n), copy(n, {0, 0}) { records.reset(n); } | ||
| 50 | |||
| 51 | bool backed(std::uint64_t address, std::uint64_t span) const { | ||
| 52 | auto it = backings.upper_bound(address); | ||
| 53 | if (it == backings.begin()) return false; | ||
| 54 | --it; | ||
| 55 | return address >= it->first && address + span <= it->second; | ||
| 56 | } | ||
| 57 | // As vsharp_address: 0 when nothing backs it, with `refused` an alias copy that is not backed. | ||
| 58 | std::uint64_t resolve(std::uint64_t base, std::uint64_t span, std::uint64_t& refused) const { | ||
| 59 | refused = 0; | ||
| 60 | auto it = aliases.upper_bound(base); | ||
| 61 | if (it != aliases.begin() && base < std::prev(it)->second.end) { | ||
| 62 | --it; | ||
| 63 | const std::uint64_t to = kArena + it->second.shader + (base - it->first); | ||
| 64 | if (base + span > it->second.end || !backed(to, span)) { | ||
| 65 | refused = to; | ||
| 66 | return 0; | ||
| 67 | } | ||
| 68 | return to; | ||
| 69 | } | ||
| 70 | if (base < (1ull << 40) && backed(kArena + base, span)) return kArena + base; | ||
| 71 | return 0; | ||
| 72 | } | ||
| 73 | void fix(std::size_t slot) { | ||
| 74 | ++fixes; | ||
| 75 | for (unsigned half = 0; half < 2; ++half) { | ||
| 76 | const Words& w = slots[slot][half]; | ||
| 77 | if (!w.span) { | ||
| 78 | records.set(slot, half, ConsoleHeapSlotRecords::none, 0, 0, 0); | ||
| 79 | copy[slot][half] = 0; | ||
| 80 | continue; | ||
| 81 | } | ||
| 82 | std::uint64_t refused = 0; | ||
| 83 | const std::uint64_t to = resolve(w.base, w.span, refused); | ||
| 84 | records.set(slot, half, to ? ConsoleHeapSlotRecords::resolved : ConsoleHeapSlotRecords::waiting, w.base, | ||
| 85 | w.span, to ? to : refused); | ||
| 86 | copy[slot][half] = to; | ||
| 87 | } | ||
| 88 | } | ||
| 89 | void write(std::size_t slot, Words a, Words b = Words{}) { | ||
| 90 | slots[slot] = {a, b}; | ||
| 91 | fix(slot); | ||
| 92 | } | ||
| 93 | void zero(std::size_t slot) { | ||
| 94 | slots[slot] = {}; | ||
| 95 | copy[slot] = {0, 0}; | ||
| 96 | records.clear(slot); | ||
| 97 | } | ||
| 98 | // The changes the device notes (DeviceState::backing, alias_changed). | ||
| 99 | void add_backing(std::uint64_t offset, std::uint64_t bytes) { | ||
| 100 | backings[kArena + offset] = kArena + offset + bytes; | ||
| 101 | changes.push_back({SlotChange::target_added, kArena + offset, kArena + offset + bytes}); | ||
| 102 | changes.push_back({SlotChange::source_added, offset & kMask, (offset & kMask) + bytes}); | ||
| 103 | } | ||
| 104 | void release_backing(std::uint64_t offset) { | ||
| 105 | const auto it = backings.find(kArena + offset); | ||
| 106 | changes.push_back({SlotChange::target_gone, it->first, it->second}); | ||
| 107 | backings.erase(it); | ||
| 108 | } | ||
| 109 | void add_alias(std::uint64_t title, std::uint64_t bytes, std::uint64_t shader) { | ||
| 110 | for (auto it = aliases.begin(); it != aliases.end();) { | ||
| 111 | if (it->first < title + bytes && it->second.end > title) { | ||
| 112 | remove_change(it->first, it->second); | ||
| 113 | it = aliases.erase(it); | ||
| 114 | } else { | ||
| 115 | ++it; | ||
| 116 | } | ||
| 117 | } | ||
| 118 | aliases[title] = {title + bytes, shader}; | ||
| 119 | changes.push_back({SlotChange::source_added, title, title + bytes}); | ||
| 120 | } | ||
| 121 | void remove_alias(std::uint64_t title) { | ||
| 122 | const auto it = aliases.find(title); | ||
| 123 | remove_change(it->first, it->second); | ||
| 124 | aliases.erase(it); | ||
| 125 | } | ||
| 126 | void remove_change(std::uint64_t title, const Alias& a) { | ||
| 127 | changes.push_back({SlotChange::source_gone, title, a.end}); | ||
| 128 | changes.push_back({SlotChange::target_gone, kArena + a.shader, kArena + a.shader + (a.end - title)}); | ||
| 129 | } | ||
| 130 | // apply_slot_changes: the slots looked at (index entries) and fixed again. | ||
| 131 | std::uint64_t looked = 0; | ||
| 132 | std::vector<std::uint32_t> touched; | ||
| 133 | void apply() { | ||
| 134 | const std::uint64_t before = records.looked_at(); | ||
| 135 | records.touched(changes.data(), changes.size(), touched); | ||
| 136 | looked = records.looked_at() - before; | ||
| 137 | changes.clear(); | ||
| 138 | for (const std::uint32_t slot : touched) fix(slot); | ||
| 139 | } | ||
| 140 | // Every slot as a full re-resolution would leave it: the copy the walk this replaced would have produced. | ||
| 141 | bool consistent() const { | ||
| 142 | for (std::size_t slot = 0; slot < slots.size(); ++slot) | ||
| 143 | for (unsigned half = 0; half < 2; ++half) { | ||
| 144 | const Words& w = slots[slot][half]; | ||
| 145 | std::uint64_t refused = 0; | ||
| 146 | const std::uint64_t want = w.span ? resolve(w.base, w.span, refused) : 0; | ||
| 147 | if (copy[slot][half] != want) { | ||
| 148 | std::fprintf(stderr, "slot %zu half %u names 0x%llx, a full re-resolution gives 0x%llx\n", slot, half, | ||
| 149 | static_cast<unsigned long long>(copy[slot][half]), | ||
| 150 | static_cast<unsigned long long>(want)); | ||
| 151 | return false; | ||
| 152 | } | ||
| 153 | } | ||
| 154 | return true; | ||
| 155 | } | ||
| 156 | }; | ||
| 157 | |||
| 158 | // The design's case: 60,010 live slots, 10 of them name buffer B. Releasing B looks at those 10 and fixes only them; | ||
| 159 | // the walk this replaced looked at all 60,010. | ||
| 160 | int release_looks_at_its_slots_only() { | ||
| 161 | constexpr std::size_t kSlots = 65536; | ||
| 162 | Model m(kSlots); | ||
| 163 | constexpr std::uint64_t a = 0x100000, b = 0x900000; | ||
| 164 | m.add_backing(a, 0x10000); | ||
| 165 | m.add_backing(b, 0x10000); | ||
| 166 | m.changes.clear(); | ||
| 167 | for (std::size_t slot = 0; slot < 60000; ++slot) m.write(slot, {a + (slot % 64) * 0x100, 0x100}); | ||
| 168 | for (std::size_t slot = 60000; slot < 60010; ++slot) m.write(slot, {b + (slot - 60000) * 0x100, 0x100}); | ||
| 169 | EXPECT(m.records.recorded() == 60010 && m.records.waiting_count() == 0 && m.consistent()); | ||
| 170 | m.fixes = 0; | ||
| 171 | m.release_backing(b); | ||
| 172 | m.apply(); | ||
| 173 | const std::uint64_t looked = m.looked; | ||
| 174 | EXPECT(looked <= 10); | ||
| 175 | EXPECT(m.touched.size() == 10 && m.touched.front() == 60000 && m.touched.back() == 60009); | ||
| 176 | EXPECT(m.fixes == 10 && m.records.waiting_count() == 10 && m.consistent()); | ||
| 177 | // Nothing changed: nothing looked at. | ||
| 178 | m.apply(); | ||
| 179 | EXPECT(m.looked == 0 && m.touched.empty()); | ||
| 180 | std::printf("release: 60,010 live slots, 10 name the buffer: %llu looked at, 10 fixed again\n", | ||
| 181 | static_cast<unsigned long long>(looked)); | ||
| 182 | return 0; | ||
| 183 | } | ||
| 184 | |||
| 185 | // An alias range removed, replaced and added again; a slot overwritten or zeroed after it was recorded; a release that | ||
| 186 | // only partly overlaps a slot's range; two slots naming one backing; a buffer that comes back. | ||
| 187 | int cases() { | ||
| 188 | Model m(4096); | ||
| 189 | constexpr std::uint64_t title = 0x200000000000ull, copy_at = 0x400000, other_copy = 0x800000, c = 0x1000000; | ||
| 190 | m.add_backing(copy_at, 0x20000); | ||
| 191 | m.add_backing(other_copy, 0x20000); | ||
| 192 | m.add_backing(c, 0x10000); | ||
| 193 | m.add_alias(title, 0x20000, copy_at); | ||
| 194 | m.apply(); | ||
| 195 | for (std::size_t slot = 0; slot < 8; ++slot) m.write(slot, {title + slot * 0x1000, 0x800}); | ||
| 196 | EXPECT(m.copy[3][0] == kArena + copy_at + 0x3000 && m.consistent()); | ||
| 197 | |||
| 198 | // Alias change: the range moves to another copy; every slot through it follows, nothing else is fixed. | ||
| 199 | m.write(100, {c, 0x100}); | ||
| 200 | m.add_alias(title, 0x20000, other_copy); | ||
| 201 | m.apply(); | ||
| 202 | EXPECT(m.touched.size() == 8 && m.copy[3][0] == kArena + other_copy + 0x3000 && m.consistent()); | ||
| 203 | // Removed: they wait (null in the copy); added again: they are fixed when it comes. | ||
| 204 | m.remove_alias(title); | ||
| 205 | m.apply(); | ||
| 206 | EXPECT(m.touched.size() == 8 && m.copy[3][0] == 0 && m.records.waiting_count() == 8 && m.consistent()); | ||
| 207 | m.add_alias(title, 0x20000, copy_at); | ||
| 208 | m.apply(); | ||
| 209 | EXPECT(m.touched.size() == 8 && m.records.waiting_count() == 0 && m.consistent()); | ||
| 210 | |||
| 211 | // A slot overwritten after it was recorded (it names C now), and one zeroed: a release of their old copy does not | ||
| 212 | // touch them; the zeroed one keeps no record. | ||
| 213 | m.write(5, {c + 0x200, 0x100}); | ||
| 214 | m.zero(6); | ||
| 215 | m.release_backing(copy_at); | ||
| 216 | m.apply(); | ||
| 217 | EXPECT(m.touched.size() == 6); // slots 0-4 and 7 | ||
| 218 | for (const std::uint32_t slot : m.touched) EXPECT(slot != 5 && slot != 6 && slot != 100); | ||
| 219 | EXPECT(m.copy[5][0] == kArena + c + 0x200 && m.records.state(6, 0) == ConsoleHeapSlotRecords::none); | ||
| 220 | EXPECT(m.consistent()); | ||
| 221 | |||
| 222 | // Partial overlap: a release that covers only the tail of a slot's range touches it; one that ends right before | ||
| 223 | // its range does not. The two slots naming the same bytes are both fixed. | ||
| 224 | m.add_backing(0x2000000, 0x1000); | ||
| 225 | m.add_backing(0x2001000, 0x3000); | ||
| 226 | m.apply(); | ||
| 227 | m.write(200, {0x2001800, 0x400}); | ||
| 228 | m.write(201, {0x2001800, 0x400}); | ||
| 229 | m.write(202, {0x2000000, 0x1000}); // ends where the second backing starts | ||
| 230 | EXPECT(m.copy[200][0] == kArena + 0x2001800 && m.copy[202][0] == kArena + 0x2000000); | ||
| 231 | m.release_backing(0x2001000); | ||
| 232 | m.apply(); | ||
| 233 | EXPECT(m.touched.size() == 2 && m.touched[0] == 200 && m.touched[1] == 201); | ||
| 234 | EXPECT(m.copy[200][0] == 0 && m.copy[201][0] == 0 && m.copy[202][0] != 0 && m.consistent()); | ||
| 235 | // The buffer comes back: the waiting slots are fixed again by the addition, not by a probe. | ||
| 236 | m.add_backing(0x2001000, 0x3000); | ||
| 237 | m.apply(); | ||
| 238 | EXPECT(m.touched.size() == 2 && m.copy[200][0] == kArena + 0x2001800 && m.copy[201][0] == kArena + 0x2001800); | ||
| 239 | EXPECT(m.consistent()); | ||
| 240 | |||
| 241 | // The counter half on its own, and a refused alias copy: waiting on the copy's address, fixed when it is backed. | ||
| 242 | constexpr std::uint64_t title2 = 0x300000000000ull, unbacked = 0x3000000; | ||
| 243 | m.add_alias(title2, 0x10000, unbacked); | ||
| 244 | m.apply(); | ||
| 245 | m.write(300, {c, 0x40}, {title2 + 0x40, 4}); | ||
| 246 | EXPECT(m.copy[300][0] == kArena + c && m.copy[300][1] == 0 && m.records.state(300, 1) == ConsoleHeapSlotRecords::waiting); | ||
| 247 | m.add_backing(unbacked, 0x10000); | ||
| 248 | m.apply(); | ||
| 249 | EXPECT(m.copy[300][1] == kArena + unbacked + 0x40 && m.consistent()); | ||
| 250 | |||
| 251 | // A large range in a granule before the release: found through its span class. | ||
| 252 | m.add_backing(0x10000000, 0x400000); | ||
| 253 | m.apply(); | ||
| 254 | m.write(400, {0x10000000, 0x400000}); | ||
| 255 | m.release_backing(0x10000000); | ||
| 256 | m.apply(); | ||
| 257 | EXPECT(m.touched.size() == 1 && m.touched[0] == 400 && m.copy[400][0] == 0 && m.consistent()); | ||
| 258 | |||
| 259 | // The heap destroyed (its records with it): a new heap of the same size starts with none. | ||
| 260 | m.records.reset(4096); | ||
| 261 | m.release_backing(c); | ||
| 262 | m.apply(); | ||
| 263 | EXPECT(m.touched.empty() && m.records.recorded() == 0); | ||
| 264 | std::printf("cases: alias moved, removed and added again; overwritten and zeroed slots; partial overlap; two slots " | ||
| 265 | "on one backing; a buffer back; a refused alias copy backed later; a large range; a destroyed heap\n"); | ||
| 266 | return 0; | ||
| 267 | } | ||
| 268 | |||
| 269 | // Random writes, zeroes, releases, additions and alias changes; after each round of changes the copy must equal a full | ||
| 270 | // re-resolution, and the entries looked at must stay near what the changes touch. | ||
| 271 | int differential() { | ||
| 272 | std::mt19937_64 rng(0x5107); | ||
| 273 | constexpr std::size_t kSlots = 3000; | ||
| 274 | Model m(kSlots); | ||
| 275 | constexpr std::uint64_t kGranule = 0x10000; | ||
| 276 | std::vector<std::uint64_t> titles; | ||
| 277 | for (int i = 0; i < 6; ++i) titles.push_back(0x100000000000ull + std::uint64_t(i) * 0x100000); | ||
| 278 | const auto pick = [&](std::uint64_t n) { return std::uint64_t(rng() % n); }; | ||
| 279 | std::uint64_t looked = 0, touched = 0; | ||
| 280 | for (int round = 0; round < 400; ++round) { | ||
| 281 | for (int op = 0; op < 20; ++op) { | ||
| 282 | const auto slot = std::size_t(pick(kSlots)); | ||
| 283 | switch (pick(9)) { | ||
| 284 | case 0: case 1: case 2: { // a V# into an arena offset, one through an alias, or a counter half too | ||
| 285 | const auto span = 1 + pick(pick(4) ? 0x2000 : 0x80000); | ||
| 286 | Model::Words a{pick(2) ? pick(64) * kGranule / 2 + pick(0x800) : titles[pick(6)] + pick(0x80000), span}; | ||
| 287 | Model::Words b{}; | ||
| 288 | if (!pick(4)) b = {pick(64) * kGranule / 2, 4}; | ||
| 289 | m.write(slot, a, b); | ||
| 290 | break; | ||
| 291 | } | ||
| 292 | case 3: m.zero(slot); break; | ||
| 293 | case 4: { | ||
| 294 | const auto at = pick(64) * kGranule / 2; | ||
| 295 | const auto it = m.backings.find(kArena + at); | ||
| 296 | if (it == m.backings.end()) { | ||
| 297 | // Not over another backing. | ||
| 298 | const auto bytes = (1 + pick(8)) * kGranule / 4; | ||
| 299 | bool free = true; | ||
| 300 | for (const auto& [lo, hi] : m.backings) free &= !(lo < kArena + at + bytes && hi > kArena + at); | ||
| 301 | if (free) m.add_backing(at, bytes); | ||
| 302 | } else { | ||
| 303 | m.release_backing(at); | ||
| 304 | } | ||
| 305 | break; | ||
| 306 | } | ||
| 307 | case 5: case 6: { | ||
| 308 | const auto title = titles[pick(6)] + pick(4) * 0x20000; | ||
| 309 | m.add_alias(title, (1 + pick(4)) * 0x8000, pick(64) * kGranule / 2); | ||
| 310 | break; | ||
| 311 | } | ||
| 312 | case 7: | ||
| 313 | if (!m.aliases.empty()) { | ||
| 314 | auto it = m.aliases.begin(); | ||
| 315 | std::advance(it, std::ptrdiff_t(pick(m.aliases.size()))); | ||
| 316 | m.remove_alias(it->first); | ||
| 317 | } | ||
| 318 | break; | ||
| 319 | default: m.fix(slot); break; | ||
| 320 | } | ||
| 321 | } | ||
| 322 | m.apply(); | ||
| 323 | looked += m.looked; | ||
| 324 | touched += m.touched.size(); | ||
| 325 | if (!m.consistent()) { | ||
| 326 | std::fprintf(stderr, "round %d\n", round); | ||
| 327 | return 1; | ||
| 328 | } | ||
| 329 | } | ||
| 330 | EXPECT(m.records.recorded() > 0); | ||
| 331 | // The model's address space is a few MiB, so most changes touch most of it: this case checks results, not cost. | ||
| 332 | std::printf("differential: 400 rounds, copy equal to a full re-resolution after each; %llu entries looked at, " | ||
| 333 | "%llu slots fixed again, %zu halves recorded at the end\n", | ||
| 334 | static_cast<unsigned long long>(looked), static_cast<unsigned long long>(touched), | ||
| 335 | m.records.recorded()); | ||
| 336 | return 0; | ||
| 337 | } | ||
| 338 | |||
| 339 | } // namespace | ||
| 340 | |||
| 341 | int main() { | ||
| 342 | if (release_looks_at_its_slots_only()) return 1; | ||
| 343 | if (cases()) return 1; | ||
| 344 | if (differential()) return 1; | ||
| 345 | std::printf("console_heap_slot_records_test: ok\n"); | ||
| 346 | return 0; | ||
| 347 | } | ||
diff --git a/runtime/test/console_heap_vsharp_slots_test.cpp b/runtime/test/console_heap_vsharp_slots_test.cpp deleted file mode 100644 index ebb74be45..000000000 --- a/runtime/test/console_heap_vsharp_slots_test.cpp +++ /dev/null | |||
| @@ -1,259 +0,0 @@ | |||
| 1 | // Portable CPU-only unit test for leonida::ConsoleHeapVsharpSlots (runtime/src/console_heap_vsharp_slots.h). | ||
| 2 | // Verifies bit-for-bit equivalence with a linear scan of 32-byte descriptor slots, boundary handling, range clears, | ||
| 3 | // callback-time bit clearing (as in refresh_console_heap invalidation passes), and a 5.5 MiB heap stress check. | ||
| 4 | #include "../src/console_heap_vsharp_slots.h" | ||
| 5 | |||
| 6 | #include <array> | ||
| 7 | #include <cstdint> | ||
| 8 | #include <cstdio> | ||
| 9 | #include <cstring> | ||
| 10 | #include <vector> | ||
| 11 | |||
| 12 | #define EXPECT(condition) \ | ||
| 13 | do { \ | ||
| 14 | if (!(condition)) { \ | ||
| 15 | std::fprintf(stderr, "FAIL line %d: %s\n", __LINE__, #condition); \ | ||
| 16 | return 1; \ | ||
| 17 | } \ | ||
| 18 | } while (0) | ||
| 19 | |||
| 20 | namespace { | ||
| 21 | |||
| 22 | using leonida::ConsoleHeapVsharpSlots; | ||
| 23 | |||
| 24 | std::vector<std::size_t> collect(const ConsoleHeapVsharpSlots& slots) { | ||
| 25 | std::vector<std::size_t> out; | ||
| 26 | slots.for_each([&](std::size_t slot) { out.push_back(slot); }); | ||
| 27 | return out; | ||
| 28 | } | ||
| 29 | |||
| 30 | int test_predicate_exactness() { | ||
| 31 | // Primary buffer V#: top 2 bits of w[3] are 0, w[2] (num_records) != 0. | ||
| 32 | std::uint32_t primary[8] = {0x1000, 0x20, 64, 0x3fffffffu, 0, 0, 0, 0}; | ||
| 33 | EXPECT(ConsoleHeapVsharpSlots::is_live_vsharp(primary)); | ||
| 34 | |||
| 35 | // Counter-only buffer V#: w[2] == 0, w[6] != 0, top 2 bits of w[3] == 0. | ||
| 36 | std::uint32_t counter[8] = {0, 0, 0, 0, 0x2000, 0, 16, 0}; | ||
| 37 | EXPECT(ConsoleHeapVsharpSlots::is_live_vsharp(counter)); | ||
| 38 | |||
| 39 | // Empty / zeroed V#: w[2] == 0 and w[6] == 0. | ||
| 40 | std::uint32_t empty[8] = {0x1000, 0, 0, 0x00010000u, 0x2000, 0, 0, 0}; | ||
| 41 | EXPECT(!ConsoleHeapVsharpSlots::is_live_vsharp(empty)); | ||
| 42 | |||
| 43 | // Image T# (w[3] >> 30 != 0): must NOT be treated as a buffer V# even if w[2]/w[6] are non-zero. | ||
| 44 | for (std::uint32_t hi : {1u, 2u, 3u}) { | ||
| 45 | std::uint32_t tsharp[8] = {0x1000, 0, 128, (hi << 30) | 0x55u, 0, 0, 64, 0}; | ||
| 46 | EXPECT(!ConsoleHeapVsharpSlots::is_live_vsharp(tsharp)); | ||
| 47 | } | ||
| 48 | |||
| 49 | // not_tsharp zeroes lower 16 bytes (w[0..3] = 0) while leaving upper 16 bytes (w[4..7]): | ||
| 50 | // if w[6] is non-zero, predicate matches the legacy `!(w[3] >> 30) && (w[2] || w[6])` check. | ||
| 51 | std::uint32_t not_tsharp_with_hi[8] = {0, 0, 0, 0, 0, 0, 1, 0}; | ||
| 52 | EXPECT(ConsoleHeapVsharpSlots::is_live_vsharp(not_tsharp_with_hi)); | ||
| 53 | return 0; | ||
| 54 | } | ||
| 55 | |||
| 56 | int test_boundaries_and_ranges() { | ||
| 57 | // Zero-size heap. | ||
| 58 | ConsoleHeapVsharpSlots zero; | ||
| 59 | zero.reset(0); | ||
| 60 | EXPECT(zero.empty() && zero.slot_count() == 0 && zero.live_count() == 0); | ||
| 61 | zero.set(0, true); | ||
| 62 | zero.clear(0); | ||
| 63 | zero.clear_range(0, 10); | ||
| 64 | EXPECT(zero.empty() && !zero.test(0) && collect(zero).empty()); | ||
| 65 | |||
| 66 | // Word boundary sizes: 1, 63, 64, 65, 128, 129, 257. | ||
| 67 | for (std::size_t n : {std::size_t(1), std::size_t(63), std::size_t(64), std::size_t(65), std::size_t(128), | ||
| 68 | std::size_t(129), std::size_t(257)}) { | ||
| 69 | ConsoleHeapVsharpSlots s; | ||
| 70 | s.reset(n); | ||
| 71 | EXPECT(s.slot_count() == n && s.empty()); | ||
| 72 | // Out-of-range writes are ignored. | ||
| 73 | s.set(n, true); | ||
| 74 | s.set(n + 100, true); | ||
| 75 | EXPECT(s.empty() && !s.test(n)); | ||
| 76 | |||
| 77 | // Set every slot, check idempotency and exact ordering. | ||
| 78 | for (std::size_t i = 0; i < n; ++i) s.set(i, true); | ||
| 79 | s.set(0, true); | ||
| 80 | s.set(n - 1, true); | ||
| 81 | EXPECT(s.live_count() == n); | ||
| 82 | const auto all = collect(s); | ||
| 83 | EXPECT(all.size() == n); | ||
| 84 | for (std::size_t i = 0; i < n; ++i) EXPECT(all[i] == i && s.test(i)); | ||
| 85 | |||
| 86 | // Inverted / empty / past-end clear_range is a no-op. | ||
| 87 | s.clear_range(5, 5); | ||
| 88 | s.clear_range(10, 2); | ||
| 89 | s.clear_range(n, n + 64); | ||
| 90 | EXPECT(s.live_count() == n); | ||
| 91 | |||
| 92 | // Partial single-word and multi-word clear_range. | ||
| 93 | if (n >= 129) { | ||
| 94 | s.clear_range(3, 19); // within word 0 | ||
| 95 | s.clear_range(60, 128); // spans word 0 tail + all of word 1 | ||
| 96 | EXPECT(s.live_count() == n - 16 - 68); | ||
| 97 | EXPECT(s.test(2) && !s.test(3) && !s.test(18) && s.test(19)); | ||
| 98 | EXPECT(s.test(59) && !s.test(60) && !s.test(127) && s.test(128)); | ||
| 99 | } | ||
| 100 | |||
| 101 | // Clear past end clamps cleanly. | ||
| 102 | s.clear_range(0, n + 500); | ||
| 103 | EXPECT(s.empty() && s.live_count() == 0 && collect(s).empty()); | ||
| 104 | } | ||
| 105 | return 0; | ||
| 106 | } | ||
| 107 | |||
| 108 | int test_in_place_invalidation_mutation() { | ||
| 109 | // Mirrors refresh_console_heap: for_each visits each live V# slot and calls fix_console_slot, which may clear | ||
| 110 | // that slot's bit when its backing buffer was released. | ||
| 111 | ConsoleHeapVsharpSlots s; | ||
| 112 | s.reset(260); | ||
| 113 | const std::vector<std::size_t> initial = {0, 1, 62, 63, 64, 65, 127, 128, 191, 255, 259}; | ||
| 114 | for (std::size_t slot : initial) s.set(slot, true); | ||
| 115 | EXPECT(s.live_count() == initial.size()); | ||
| 116 | |||
| 117 | std::vector<std::size_t> visited; | ||
| 118 | s.for_each([&](std::size_t slot) { | ||
| 119 | visited.push_back(slot); | ||
| 120 | // Simulate releasing every even-numbered slot during the invalidation pass. | ||
| 121 | if ((slot & 1u) == 0) s.set(slot, false); | ||
| 122 | }); | ||
| 123 | EXPECT(visited == initial); | ||
| 124 | |||
| 125 | std::vector<std::size_t> remaining; | ||
| 126 | for (std::size_t slot : initial) | ||
| 127 | if ((slot & 1u) != 0) remaining.push_back(slot); | ||
| 128 | EXPECT(s.live_count() == remaining.size()); | ||
| 129 | EXPECT(collect(s) == remaining); | ||
| 130 | |||
| 131 | // Clear the remaining slots and confirm empty fast path visits nothing. | ||
| 132 | s.for_each([&](std::size_t slot) { s.clear(slot); }); | ||
| 133 | EXPECT(s.empty() && collect(s).empty()); | ||
| 134 | return 0; | ||
| 135 | } | ||
| 136 | |||
| 137 | int test_differential_equivalence_against_linear_copy() { | ||
| 138 | // Differential model: maintain a synthetic 32-byte-per-slot `heap.copy` buffer alongside ConsoleHeapVsharpSlots | ||
| 139 | // across thousands of random writes, deferred zeroes, page-range zeroes, and invalidation passes. | ||
| 140 | constexpr std::size_t kSlots = 1029; | ||
| 141 | std::vector<std::array<std::uint32_t, 8>> gpu_copy(kSlots); | ||
| 142 | for (auto& slot : gpu_copy) slot.fill(0); | ||
| 143 | |||
| 144 | ConsoleHeapVsharpSlots tracked; | ||
| 145 | tracked.reset(kSlots); | ||
| 146 | |||
| 147 | auto linear_scan = [&] { | ||
| 148 | std::vector<std::size_t> expected; | ||
| 149 | for (std::size_t i = 0; i < kSlots; ++i) | ||
| 150 | if (ConsoleHeapVsharpSlots::is_live_vsharp(gpu_copy[i].data())) expected.push_back(i); | ||
| 151 | return expected; | ||
| 152 | }; | ||
| 153 | |||
| 154 | std::uint64_t rng = 0x9e3779b97f4a7c15ull; | ||
| 155 | auto next_u32 = [&]() -> std::uint32_t { | ||
| 156 | rng ^= rng >> 12; | ||
| 157 | rng ^= rng << 25; | ||
| 158 | rng ^= rng >> 27; | ||
| 159 | return static_cast<std::uint32_t>((rng * 0x2545f4914f6cdd1dull) >> 32); | ||
| 160 | }; | ||
| 161 | |||
| 162 | for (unsigned step = 0; step < 4000; ++step) { | ||
| 163 | const unsigned op = next_u32() % 10; | ||
| 164 | if (op < 6) { | ||
| 165 | // Simulate fix_console_slot writing a descriptor to heap.copy. | ||
| 166 | const std::size_t slot = next_u32() % kSlots; | ||
| 167 | std::array<std::uint32_t, 8> w{}; | ||
| 168 | const unsigned kind = next_u32() % 5; | ||
| 169 | if (kind == 0) { | ||
| 170 | // Live primary V# | ||
| 171 | w[0] = next_u32(); | ||
| 172 | w[2] = (next_u32() % 256) + 1; | ||
| 173 | w[3] = next_u32() & 0x3fffffffu; | ||
| 174 | } else if (kind == 1) { | ||
| 175 | // Live counter V# only | ||
| 176 | w[6] = (next_u32() % 64) + 1; | ||
| 177 | } else if (kind == 2) { | ||
| 178 | // Empty V# (zero records) | ||
| 179 | w[0] = 0; | ||
| 180 | w[2] = 0; | ||
| 181 | w[3] = next_u32() & 0x3fffffffu; | ||
| 182 | w[6] = 0; | ||
| 183 | } else if (kind == 3) { | ||
| 184 | // Image T# | ||
| 185 | w[2] = 128; | ||
| 186 | w[3] = (2u << 30) | (next_u32() & 0x3fffffffu); | ||
| 187 | w[6] = 32; | ||
| 188 | } else { | ||
| 189 | // not_tsharp (lower 16B zeroed, upper 16B arbitrary) | ||
| 190 | w[4] = next_u32(); | ||
| 191 | w[6] = (next_u32() & 1u) ? 7u : 0u; | ||
| 192 | } | ||
| 193 | gpu_copy[slot] = w; | ||
| 194 | tracked.set(slot, ConsoleHeapVsharpSlots::is_live_vsharp(w.data())); | ||
| 195 | } else if (op < 8) { | ||
| 196 | // Simulate fix_console_slots deferred zeroing. | ||
| 197 | const std::size_t slot = next_u32() % kSlots; | ||
| 198 | gpu_copy[slot].fill(0); | ||
| 199 | tracked.clear(slot); | ||
| 200 | } else if (op == 8) { | ||
| 201 | // Simulate for_each_zeroed (both page-aligned 128-slot and arbitrary sub-ranges). | ||
| 202 | const std::size_t first = next_u32() % (kSlots + 16); | ||
| 203 | const std::size_t len = (next_u32() % 200); | ||
| 204 | const std::size_t end = first + len; | ||
| 205 | for (std::size_t i = first; i < end && i < kSlots; ++i) gpu_copy[i].fill(0); | ||
| 206 | tracked.clear_range(first, end); | ||
| 207 | } else { | ||
| 208 | // Simulate refresh_console_heap invalidation pass clearing a subset of visited slots. | ||
| 209 | const std::vector<std::size_t> expected = linear_scan(); | ||
| 210 | std::vector<std::size_t> got; | ||
| 211 | tracked.for_each([&](std::size_t slot) { | ||
| 212 | got.push_back(slot); | ||
| 213 | if ((slot % 3) == 0) { | ||
| 214 | gpu_copy[slot].fill(0); | ||
| 215 | tracked.set(slot, false); | ||
| 216 | } | ||
| 217 | }); | ||
| 218 | EXPECT(got == expected); | ||
| 219 | } | ||
| 220 | |||
| 221 | if ((step & 63) == 63) { | ||
| 222 | const std::vector<std::size_t> expected = linear_scan(); | ||
| 223 | EXPECT(tracked.live_count() == expected.size()); | ||
| 224 | EXPECT(collect(tracked) == expected); | ||
| 225 | } | ||
| 226 | } | ||
| 227 | EXPECT(collect(tracked) == linear_scan()); | ||
| 228 | return 0; | ||
| 229 | } | ||
| 230 | |||
| 231 | int test_retail_sized_heap_sparse_scan() { | ||
| 232 | // 5.5 MiB resource heap = 180,224 32-byte slots (matching retail console descriptor heap). | ||
| 233 | constexpr std::size_t kRetailSlots = (5632u * 1024u) / 32u; | ||
| 234 | ConsoleHeapVsharpSlots tracked; | ||
| 235 | tracked.reset(kRetailSlots); | ||
| 236 | |||
| 237 | const std::vector<std::size_t> hot = {0, 63, 64, 4095, 4096, 65536, 131072, kRetailSlots - 1}; | ||
| 238 | for (std::size_t slot : hot) tracked.set(slot, true); | ||
| 239 | EXPECT(tracked.live_count() == hot.size()); | ||
| 240 | EXPECT(collect(tracked) == hot); | ||
| 241 | |||
| 242 | // Zero a 4 KiB page (128 slots) containing slots 4096..4223. | ||
| 243 | tracked.clear_range(4096, 4096 + 128); | ||
| 244 | EXPECT(!tracked.test(4096) && tracked.test(4095)); | ||
| 245 | EXPECT(tracked.live_count() == hot.size() - 1); | ||
| 246 | return 0; | ||
| 247 | } | ||
| 248 | |||
| 249 | } // namespace | ||
| 250 | |||
| 251 | int main() { | ||
| 252 | if (test_predicate_exactness()) return 1; | ||
| 253 | if (test_boundaries_and_ranges()) return 1; | ||
| 254 | if (test_in_place_invalidation_mutation()) return 1; | ||
| 255 | if (test_differential_equivalence_against_linear_copy()) return 1; | ||
| 256 | if (test_retail_sized_heap_sparse_scan()) return 1; | ||
| 257 | std::printf("console_heap_vsharp_slots_test: ok\n"); | ||
| 258 | return 0; | ||
| 259 | } | ||
diff --git a/runtime/test/cs_group_marker_spv.h b/runtime/test/cs_group_marker_spv.h new file mode 100644 index 000000000..6cd135cfe --- /dev/null +++ b/runtime/test/cs_group_marker_spv.h | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | // Generated with glslangValidator -V --target-env vulkan1.2 -Os --spirv-val cs_group_marker.comp | ||
| 2 | #pragma once | ||
| 3 | #include <cstdint> | ||
| 4 | namespace leonida { | ||
| 5 | inline constexpr std::uint32_t cs_group_marker_spirv[] = { | ||
| 6 | 0x07230203u, 0x00010500u, 0x0008000bu, 0x0000002du, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u, | ||
| 7 | 0x000014e3u, 0x0006000bu, 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu, | ||
| 8 | 0x000014e4u, 0x00000001u, 0x0007000fu, 0x00000005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x0000000bu, | ||
| 9 | 0x0000001du, 0x00060010u, 0x00000004u, 0x00000011u, 0x00000001u, 0x00000001u, 0x00000001u, 0x00030003u, | ||
| 10 | 0x00000002u, 0x000001ccu, 0x00070004u, 0x455f4c47u, 0x625f5458u, 0x65666675u, 0x65725f72u, 0x65726566u, | ||
| 11 | 0x0065636eu, 0x00040005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00060005u, 0x0000000bu, 0x575f6c67u, | ||
| 12 | 0x476b726fu, 0x70756f72u, 0x00004449u, 0x00040005u, 0x00000019u, 0x61726150u, 0x0000736du, 0x00050006u, | ||
| 13 | 0x00000019u, 0x00000000u, 0x6b72616du, 0x00000073u, 0x00050006u, 0x00000019u, 0x00000001u, 0x756f7267u, | ||
| 14 | 0x00007370u, 0x00040005u, 0x0000001bu, 0x6b72614du, 0x00000073u, 0x00050006u, 0x0000001bu, 0x00000000u, | ||
| 15 | 0x61746164u, 0x00000000u, 0x00030005u, 0x0000001du, 0x00000070u, 0x00040047u, 0x0000000bu, 0x0000000bu, | ||
| 16 | 0x0000001au, 0x00030047u, 0x00000019u, 0x00000002u, 0x00050048u, 0x00000019u, 0x00000000u, 0x00000023u, | ||
| 17 | 0x00000000u, 0x00050048u, 0x00000019u, 0x00000001u, 0x00000023u, 0x00000008u, 0x00040047u, 0x0000001au, | ||
| 18 | 0x00000006u, 0x00000004u, 0x00030047u, 0x0000001bu, 0x00000002u, 0x00050048u, 0x0000001bu, 0x00000000u, | ||
| 19 | 0x00000023u, 0x00000000u, 0x00040047u, 0x0000002cu, 0x0000000bu, 0x00000019u, 0x00020013u, 0x00000002u, | ||
| 20 | 0x00030021u, 0x00000003u, 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, 0x00040017u, | ||
| 21 | 0x00000009u, 0x00000006u, 0x00000003u, 0x00040020u, 0x0000000au, 0x00000001u, 0x00000009u, 0x0004003bu, | ||
| 22 | 0x0000000au, 0x0000000bu, 0x00000001u, 0x0004002bu, 0x00000006u, 0x0000000cu, 0x00000000u, 0x00040020u, | ||
| 23 | 0x0000000du, 0x00000001u, 0x00000006u, 0x0004002bu, 0x00000006u, 0x00000010u, 0x00000001u, 0x0004002bu, | ||
| 24 | 0x00000006u, 0x00000014u, 0x00000002u, 0x00030027u, 0x00000018u, 0x000014e5u, 0x0004001eu, 0x00000019u, | ||
| 25 | 0x00000018u, 0x00000006u, 0x0003001du, 0x0000001au, 0x00000006u, 0x0003001eu, 0x0000001bu, 0x0000001au, | ||
| 26 | 0x00040020u, 0x00000018u, 0x000014e5u, 0x0000001bu, 0x00040020u, 0x0000001cu, 0x00000009u, 0x00000019u, | ||
| 27 | 0x0004003bu, 0x0000001cu, 0x0000001du, 0x00000009u, 0x00040015u, 0x0000001eu, 0x00000020u, 0x00000001u, | ||
| 28 | 0x0004002bu, 0x0000001eu, 0x0000001fu, 0x00000000u, 0x00040020u, 0x00000020u, 0x00000009u, 0x00000018u, | ||
| 29 | 0x0004002bu, 0x0000001eu, 0x00000024u, 0x00000001u, 0x00040020u, 0x00000025u, 0x00000009u, 0x00000006u, | ||
| 30 | 0x00040020u, 0x00000029u, 0x000014e5u, 0x00000006u, 0x0006002cu, 0x00000009u, 0x0000002cu, 0x00000010u, | ||
| 31 | 0x00000010u, 0x00000010u, 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u, 0x00000003u, 0x000200f8u, | ||
| 32 | 0x00000005u, 0x00050041u, 0x0000000du, 0x0000000eu, 0x0000000bu, 0x0000000cu, 0x0004003du, 0x00000006u, | ||
| 33 | 0x0000000fu, 0x0000000eu, 0x00050041u, 0x0000000du, 0x00000011u, 0x0000000bu, 0x00000010u, 0x0004003du, | ||
| 34 | 0x00000006u, 0x00000012u, 0x00000011u, 0x00050080u, 0x00000006u, 0x00000013u, 0x0000000fu, 0x00000012u, | ||
| 35 | 0x00050041u, 0x0000000du, 0x00000015u, 0x0000000bu, 0x00000014u, 0x0004003du, 0x00000006u, 0x00000016u, | ||
| 36 | 0x00000015u, 0x00050080u, 0x00000006u, 0x00000017u, 0x00000013u, 0x00000016u, 0x00050041u, 0x00000020u, | ||
| 37 | 0x00000021u, 0x0000001du, 0x0000001fu, 0x0004003du, 0x00000018u, 0x00000022u, 0x00000021u, 0x00050041u, | ||
| 38 | 0x00000025u, 0x00000026u, 0x0000001du, 0x00000024u, 0x0004003du, 0x00000006u, 0x00000027u, 0x00000026u, | ||
| 39 | 0x0007000cu, 0x00000006u, 0x00000028u, 0x00000001u, 0x00000026u, 0x00000017u, 0x00000027u, 0x00060041u, | ||
| 40 | 0x00000029u, 0x0000002au, 0x00000022u, 0x0000001fu, 0x00000028u, 0x000700eau, 0x00000006u, 0x0000002bu, | ||
| 41 | 0x0000002au, 0x00000010u, 0x0000000cu, 0x00000010u, 0x000100fdu, 0x00010038u, | ||
| 42 | }; | ||
| 43 | } // namespace leonida | ||
diff --git a/runtime/test/d3d12_existing_heap_test.cpp b/runtime/test/d3d12_existing_heap_test.cpp index 7848ac864..48a2ef208 100644 --- a/runtime/test/d3d12_existing_heap_test.cpp +++ b/runtime/test/d3d12_existing_heap_test.cpp | |||
| @@ -1438,6 +1438,141 @@ int check_pending_stream_views(ID3D12Device* device) { | |||
| 1438 | return 0; | 1438 | return 0; |
| 1439 | } | 1439 | } |
| 1440 | 1440 | ||
| 1441 | namespace { | ||
| 1442 | std::atomic<DWORD> g_view_av_thread{0}; | ||
| 1443 | std::atomic<unsigned> g_view_avs{0}; | ||
| 1444 | |||
| 1445 | LONG CALLBACK count_view_av(PEXCEPTION_POINTERS info) { | ||
| 1446 | if (info && info->ExceptionRecord && info->ExceptionRecord->ExceptionCode == EXCEPTION_ACCESS_VIOLATION && | ||
| 1447 | GetCurrentThreadId() == g_view_av_thread.load(std::memory_order_relaxed)) { | ||
| 1448 | g_view_avs.fetch_add(1, std::memory_order_relaxed); | ||
| 1449 | } | ||
| 1450 | return EXCEPTION_CONTINUE_SEARCH; | ||
| 1451 | } | ||
| 1452 | } // namespace | ||
| 1453 | |||
| 1454 | // Map changes reported to title_memory_map between submissions must both retire a cached readable answer before a | ||
| 1455 | // synchronous slot-70 view hashes decommitted pages, and wake a pending slot-70 view without waiting for a submission. | ||
| 1456 | int check_placed_view_map_changes(ID3D12Device* device) { | ||
| 1457 | const char* who = "slot-70 view map changes"; | ||
| 1458 | if (!rt::d3d12::bindless_set_layout(device)) return 0; | ||
| 1459 | GpuReader gpu; | ||
| 1460 | EXPECT(!gpu.init(device, 4096)); | ||
| 1461 | auto env_is = [](const char* name, const char* want) { | ||
| 1462 | char buf[16]{}; | ||
| 1463 | const DWORD n = GetEnvironmentVariableA(name, buf, sizeof(buf)); | ||
| 1464 | return n > 0 && n < sizeof(buf) && std::strcmp(buf, want) == 0; | ||
| 1465 | }; | ||
| 1466 | auto index = [&](const leonida::gfx10::ImageWords& descriptor) { | ||
| 1467 | std::uint32_t key[8]; | ||
| 1468 | std::memcpy(key, descriptor.data(), sizeof(key)); | ||
| 1469 | return rt::d3d12::bindless_hash_lookup(device, key); | ||
| 1470 | }; | ||
| 1471 | |||
| 1472 | // 1. Committed >256 KiB texture -> decommit interior 64 KiB + map::changed -> synchronous view takes zero AVs. | ||
| 1473 | { | ||
| 1474 | constexpr SIZE_T bytes = 512 * 1024; | ||
| 1475 | auto* pages = static_cast<std::uint8_t*>(VirtualAlloc(nullptr, bytes, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)); | ||
| 1476 | EXPECT(pages); | ||
| 1477 | std::memset(pages, 0x5a, bytes); | ||
| 1478 | D3D12_RESOURCE_DESC desc{}; | ||
| 1479 | desc.Dimension = D3D12_RESOURCE_DIMENSION_TEXTURE2D; | ||
| 1480 | desc.Width = 512; | ||
| 1481 | desc.Height = 1024; | ||
| 1482 | desc.DepthOrArraySize = desc.MipLevels = 1; | ||
| 1483 | desc.SampleDesc.Count = 1; | ||
| 1484 | desc.Format = DXGI_FORMAT_R8_UNORM; | ||
| 1485 | desc.Layout = D3D12_TEXTURE_LAYOUT_ROW_MAJOR; | ||
| 1486 | D3D12_SHADER_RESOURCE_VIEW_DESC srv{}; | ||
| 1487 | srv.Format = desc.Format; | ||
| 1488 | srv.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2D; | ||
| 1489 | srv.Texture2D.MipLevels = 1; | ||
| 1490 | srv.Shader4ComponentMapping = D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING; | ||
| 1491 | leonida::gfx10::ImageWords slot{}; | ||
| 1492 | auto write_view = [&](UINT mapping) { | ||
| 1493 | srv.Shader4ComponentMapping = mapping; | ||
| 1494 | std::array<UINT, 14> resource{}; | ||
| 1495 | std::array<UINT, 16> words{}; | ||
| 1496 | std::memcpy(resource.data(), &desc, sizeof(desc)); | ||
| 1497 | std::memcpy(words.data(), &srv, sizeof(srv)); | ||
| 1498 | return rt::d3d12::write_placed_texture_view(device, false, resource.data(), words.data(), | ||
| 1499 | reinterpret_cast<UINT64>(pages), | ||
| 1500 | {reinterpret_cast<SIZE_T>(slot.data())}); | ||
| 1501 | }; | ||
| 1502 | EXPECT(write_view(D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING)); | ||
| 1503 | EXPECT(index(slot) != 0); | ||
| 1504 | |||
| 1505 | EXPECT(VirtualFree(pages + 65536, 65536, MEM_DECOMMIT) != FALSE); | ||
| 1506 | leonida::title_memory_map::changed(pages + 65536, 65536); | ||
| 1507 | |||
| 1508 | g_view_avs.store(0, std::memory_order_relaxed); | ||
| 1509 | g_view_av_thread.store(GetCurrentThreadId(), std::memory_order_relaxed); | ||
| 1510 | PVOID veh = AddVectoredExceptionHandler(1, &count_view_av); | ||
| 1511 | EXPECT(veh != nullptr); | ||
| 1512 | const bool wrote_after_unmap = write_view(D3D12_ENCODE_SHADER_4_COMPONENT_MAPPING(0, 0, 0, 0)); | ||
| 1513 | RemoveVectoredExceptionHandler(veh); | ||
| 1514 | g_view_av_thread.store(0, std::memory_order_relaxed); | ||
| 1515 | EXPECT(wrote_after_unmap); | ||
| 1516 | EXPECT(g_view_avs.load(std::memory_order_relaxed) == 0); | ||
| 1517 | |||
| 1518 | EXPECT(VirtualAlloc(pages + 65536, 65536, MEM_COMMIT, PAGE_READWRITE) == pages + 65536); | ||
| 1519 | leonida::title_memory_map::changed(pages + 65536, 65536); | ||
| 1520 | Ref<ID3D12Resource> placement; | ||
| 1521 | desc.Layout = D3D12_TEXTURE_LAYOUT_UNKNOWN; | ||
| 1522 | EXPECT_HR(rt::d3d12::create_buffer_at_host_address(device, pages, desc, 6, IID_PPV_ARGS(&placement.p)), S_OK); | ||
| 1523 | placement.p->Release(); | ||
| 1524 | placement.p = nullptr; | ||
| 1525 | VirtualFree(pages, 0, MEM_RELEASE); | ||
| 1526 | } | ||
| 1527 | |||
| 1528 | // 2. Reserved texture -> commit + map::changed (no texel write note, no submission) -> synchronous view publishes. | ||
| 1529 | { | ||
| 1530 | constexpr SIZE_T bytes = 65536; | ||
| 1531 | void* pages = VirtualAlloc(nullptr, bytes, MEM_RESERVE, PAGE_NOACCESS); | ||
| 1532 | EXPECT(pages); | ||
| 1533 | D3D12_RESOURCE_DESC desc{}; | ||
| 1534 | desc.Dimension = D3D12_RESOURCE_DIMENSION_TEXTURE2D; | ||
| 1535 | desc.Width = 32; | ||
| 1536 | desc.Height = 8; | ||
| 1537 | desc.DepthOrArraySize = desc.MipLevels = 1; | ||
| 1538 | desc.SampleDesc.Count = 1; | ||
| 1539 | desc.Format = DXGI_FORMAT_R8_UNORM; | ||
| 1540 | desc.Layout = D3D12_TEXTURE_LAYOUT_ROW_MAJOR; | ||
| 1541 | D3D12_SHADER_RESOURCE_VIEW_DESC srv{}; | ||
| 1542 | srv.Format = desc.Format; | ||
| 1543 | srv.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2D; | ||
| 1544 | srv.Texture2D.MipLevels = 1; | ||
| 1545 | leonida::gfx10::ImageWords first{}, second{}; | ||
| 1546 | auto write_view = [&](UINT mapping, leonida::gfx10::ImageWords& out) { | ||
| 1547 | srv.Shader4ComponentMapping = mapping; | ||
| 1548 | std::array<UINT, 14> resource{}; | ||
| 1549 | std::array<UINT, 16> words{}; | ||
| 1550 | std::memcpy(resource.data(), &desc, sizeof(desc)); | ||
| 1551 | std::memcpy(words.data(), &srv, sizeof(srv)); | ||
| 1552 | return rt::d3d12::write_placed_texture_view(device, false, resource.data(), words.data(), | ||
| 1553 | reinterpret_cast<UINT64>(pages), | ||
| 1554 | {reinterpret_cast<SIZE_T>(out.data())}); | ||
| 1555 | }; | ||
| 1556 | EXPECT(write_view(D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING, first)); | ||
| 1557 | if (!env_is("LEONIDA_TITLE_IMAGE_DEFER", "0")) EXPECT(!index(first)); | ||
| 1558 | |||
| 1559 | EXPECT(VirtualAlloc(pages, bytes, MEM_COMMIT, PAGE_READWRITE) == pages); | ||
| 1560 | std::memset(pages, 0x33, bytes); | ||
| 1561 | leonida::title_memory_map::changed(pages, bytes); | ||
| 1562 | |||
| 1563 | EXPECT(write_view(D3D12_ENCODE_SHADER_4_COMPONENT_MAPPING(0, 0, 0, 0), second)); | ||
| 1564 | if (!env_is("LEONIDA_TITLE_FILL_ASYNC", "1")) EXPECT(index(first) && index(second)); | ||
| 1565 | |||
| 1566 | Ref<ID3D12Resource> placement; | ||
| 1567 | desc.Layout = D3D12_TEXTURE_LAYOUT_UNKNOWN; | ||
| 1568 | EXPECT_HR(rt::d3d12::create_buffer_at_host_address(device, pages, desc, 6, IID_PPV_ARGS(&placement.p)), S_OK); | ||
| 1569 | placement.p->Release(); | ||
| 1570 | placement.p = nullptr; | ||
| 1571 | VirtualFree(pages, 0, MEM_RELEASE); | ||
| 1572 | } | ||
| 1573 | return 0; | ||
| 1574 | } | ||
| 1575 | |||
| 1441 | // A persistent Map can become readable without notifying xmem or calling Map a second time. | 1576 | // A persistent Map can become readable without notifying xmem or calling Map a second time. |
| 1442 | int check_mapped_plane(ID3D12Device* device) { | 1577 | int check_mapped_plane(ID3D12Device* device) { |
| 1443 | const char* who = "persistent slot-133 plane"; | 1578 | const char* who = "persistent slot-133 plane"; |
| @@ -2169,6 +2304,7 @@ int main(int argc, char** argv) { | |||
| 2169 | if (vk.host_pointer_alignment) failures += check_title_placed_all(ours.p); | 2304 | if (vk.host_pointer_alignment) failures += check_title_placed_all(ours.p); |
| 2170 | if (vk.host_image_copy) { | 2305 | if (vk.host_image_copy) { |
| 2171 | failures += check_pending_stream_views(ours.p); | 2306 | failures += check_pending_stream_views(ours.p); |
| 2307 | failures += check_placed_view_map_changes(ours.p); | ||
| 2172 | failures += check_shared_bc_placements(ours.p); | 2308 | failures += check_shared_bc_placements(ours.p); |
| 2173 | failures += check_mapped_plane(ours.p); | 2309 | failures += check_mapped_plane(ours.p); |
| 2174 | failures += check_mapped_bc_array(ours.p); | 2310 | failures += check_mapped_bc_array(ours.p); |
| @@ -2179,6 +2315,7 @@ int main(int argc, char** argv) { | |||
| 2179 | no_host_copy.host_image_copy = false; | 2315 | no_host_copy.host_image_copy = false; |
| 2180 | Ref<ID3D12Device> staged; | 2316 | Ref<ID3D12Device> staged; |
| 2181 | if (FAILED(rt::d3d12::create_vulkan_device(no_host_copy, IID_PPV_ARGS(&staged.p)))) return 1; | 2317 | if (FAILED(rt::d3d12::create_vulkan_device(no_host_copy, IID_PPV_ARGS(&staged.p)))) return 1; |
| 2318 | failures += check_placed_view_map_changes(staged.p); | ||
| 2182 | failures += check_mapped_plane(staged.p); | 2319 | failures += check_mapped_plane(staged.p); |
| 2183 | failures += check_mapped_bc_array(staged.p); | 2320 | failures += check_mapped_bc_array(staged.p); |
| 2184 | } | 2321 | } |
diff --git a/runtime/test/d3d12_mesh_test.cpp b/runtime/test/d3d12_mesh_test.cpp index 775cfeb58..7b529546b 100644 --- a/runtime/test/d3d12_mesh_test.cpp +++ b/runtime/test/d3d12_mesh_test.cpp | |||
| @@ -150,6 +150,7 @@ int main(int argc, char** argv) { | |||
| 150 | rt::d3d12::VulkanDeviceInfo info{}; | 150 | rt::d3d12::VulkanDeviceInfo info{}; |
| 151 | info.prepare_on_bind=d.prepare_on_bind; | 151 | info.prepare_on_bind=d.prepare_on_bind; |
| 152 | info.cold_graphics_compile=d.cold_graphics_compile; | 152 | info.cold_graphics_compile=d.cold_graphics_compile; |
| 153 | info.heavy_pipeline_cache=d.heavy_pipeline_cache; | ||
| 153 | info.get_instance_proc = d.instance_proc; | 154 | info.get_instance_proc = d.instance_proc; |
| 154 | info.instance = d.instance; | 155 | info.instance = d.instance; |
| 155 | info.physical = d.physical; | 156 | info.physical = d.physical; |
| @@ -161,6 +162,7 @@ int main(int argc, char** argv) { | |||
| 161 | info.mesh_shader = mesh; | 162 | info.mesh_shader = mesh; |
| 162 | info.mesh_shader_queries = mesh && d.mesh_shader_queries; | 163 | info.mesh_shader_queries = mesh && d.mesh_shader_queries; |
| 163 | info.pipeline_statistics_query = d.pipeline_statistics_query; | 164 | info.pipeline_statistics_query = d.pipeline_statistics_query; |
| 165 | info.conservative_rasterization = d.conservative_rasterization; | ||
| 164 | return info; | 166 | return info; |
| 165 | }; | 167 | }; |
| 166 | const auto make_device = [&](bool mesh, Ref<ID3D12Device>& device) { | 168 | const auto make_device = [&](bool mesh, Ref<ID3D12Device>& device) { |
| @@ -253,6 +255,34 @@ int main(int argc, char** argv) { | |||
| 253 | vs_stream.add(TopologySubobject{.inner = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE}); | 255 | vs_stream.add(TopologySubobject{.inner = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE}); |
| 254 | vs_stream.add(TargetsSubobject{.inner = one_target()}); | 256 | vs_stream.add(TargetsSubobject{.inner = one_target()}); |
| 255 | EXPECT(SUCCEEDED(create(device.p, vs_stream, vs_pso))); | 257 | EXPECT(SUCCEEDED(create(device.p, vs_stream, vs_pso))); |
| 258 | // Conservative rasterization in a mesh pipeline: its stream has no input assembler, so it need not name a topology | ||
| 259 | // type. A vertex pipeline without TRIANGLE is still refused, as is a wireframe mesh one. | ||
| 260 | { | ||
| 261 | D3D12_FEATURE_DATA_D3D12_OPTIONS options{}; | ||
| 262 | EXPECT(SUCCEEDED(device->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS, &options, sizeof options))); | ||
| 263 | if (options.ConservativeRasterizationTier != D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED) { | ||
| 264 | std::printf("conservative rasterization tier %d: mesh pipelines checked\n", int(options.ConservativeRasterizationTier)); | ||
| 265 | D3D12_RASTERIZER_DESC conservative{}; | ||
| 266 | conservative.FillMode = D3D12_FILL_MODE_SOLID; | ||
| 267 | conservative.CullMode = D3D12_CULL_MODE_NONE; | ||
| 268 | conservative.DepthClipEnable = TRUE; | ||
| 269 | conservative.ConservativeRaster = D3D12_CONSERVATIVE_RASTERIZATION_MODE_ON; | ||
| 270 | Ref<ID3D12PipelineState> made; | ||
| 271 | Stream conservative_mesh = mesh_stream; | ||
| 272 | conservative_mesh.add(RasterizerSubobject{.inner = conservative}); | ||
| 273 | EXPECT(SUCCEEDED(create(device.p, conservative_mesh, made)) && made.p); | ||
| 274 | conservative.FillMode = D3D12_FILL_MODE_WIREFRAME; | ||
| 275 | Stream wireframe_mesh = mesh_stream; | ||
| 276 | wireframe_mesh.add(RasterizerSubobject{.inner = conservative}); | ||
| 277 | EXPECT(create(device.p, wireframe_mesh, refused) == E_INVALIDARG && !refused.p); | ||
| 278 | conservative.FillMode = D3D12_FILL_MODE_SOLID; | ||
| 279 | Stream no_topology_vs; | ||
| 280 | no_topology_vs.add(RootSubobject{.inner = root.p}).add(VsSubobject{.inner = vs}).add(PsSubobject{.inner = ps}); | ||
| 281 | no_topology_vs.add(TargetsSubobject{.inner = one_target()}); | ||
| 282 | no_topology_vs.add(RasterizerSubobject{.inner = conservative}); | ||
| 283 | EXPECT(create(device.p, no_topology_vs, refused) == E_INVALIDARG && !refused.p); | ||
| 284 | } | ||
| 285 | } | ||
| 256 | // A mesh shader translated before the graphics root window would read its root arguments from the wrong | 286 | // A mesh shader translated before the graphics root window would read its root arguments from the wrong |
| 257 | // dwords: refused, with a log line that asks for the shaders stage again. | 287 | // dwords: refused, with a log line that asks for the shaders stage again. |
| 258 | { | 288 | { |
diff --git a/runtime/test/d3d12_title_va_test.cpp b/runtime/test/d3d12_title_va_test.cpp index e5ef14304..90eddc66a 100644 --- a/runtime/test/d3d12_title_va_test.cpp +++ b/runtime/test/d3d12_title_va_test.cpp | |||
| @@ -512,7 +512,194 @@ int check_window_overflow(Context& c) { | |||
| 512 | VirtualFree(ring, 0, MEM_RELEASE); | 512 | VirtualFree(ring, 0, MEM_RELEASE); |
| 513 | return 0; | 513 | return 0; |
| 514 | } | 514 | } |
| 515 | // These fixtures register their own pairs without XMem. Retire each before Wine can reuse either VA. | 515 | // What the GPU writes into a title window goes back to the title's pages (#1537, the WRITE_INVALID stop: a window is |
| 516 | // a read-side mirror, so a UAV write used to land in the copy and the title never saw it). The shader's write is read | ||
| 517 | // back through the pages themselves; then a write by the title must survive the next submission's forward copy. | ||
| 518 | struct WriteBack { | ||
| 519 | Context* c; | ||
| 520 | ID3D12CommandAllocator* allocator; | ||
| 521 | ID3D12GraphicsCommandList* list; | ||
| 522 | ID3D12Resource* out; | ||
| 523 | ID3D12DescriptorHeap* heap; | ||
| 524 | UINT64 gpu; | ||
| 525 | }; | ||
| 526 | |||
| 527 | // One submission that dispatches through a root UAV at `va` and waits for it. False on a failed call. | ||
| 528 | int submit_write(WriteBack& s, std::uint64_t va) { | ||
| 529 | EXPECT(s.allocator->Reset() == S_OK); | ||
| 530 | EXPECT(s.list->Reset(s.allocator, s.c->pso) == S_OK); | ||
| 531 | ID3D12DescriptorHeap* heaps[] = {s.heap}; | ||
| 532 | s.list->SetDescriptorHeaps(1, heaps); | ||
| 533 | s.list->SetComputeRootSignature(s.c->root); | ||
| 534 | s.list->SetComputeRoot32BitConstant(0, 0, 0); | ||
| 535 | s.list->SetComputeRoot32BitConstant(0, 1, 1); // the step: a word the shader writes | ||
| 536 | s.list->SetComputeRootUnorderedAccessView(1, va); | ||
| 537 | s.list->SetComputeRootDescriptorTable(2, D3D12_GPU_DESCRIPTOR_HANDLE{s.gpu}); | ||
| 538 | s.list->Dispatch(1, 1, 1); | ||
| 539 | D3D12_RESOURCE_BARRIER to_copy{}; | ||
| 540 | to_copy.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION; | ||
| 541 | to_copy.Transition.pResource = s.out; | ||
| 542 | to_copy.Transition.Subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES; | ||
| 543 | to_copy.Transition.StateBefore = D3D12_RESOURCE_STATE_UNORDERED_ACCESS; | ||
| 544 | to_copy.Transition.StateAfter = D3D12_RESOURCE_STATE_COPY_SOURCE; | ||
| 545 | s.list->ResourceBarrier(1, &to_copy); | ||
| 546 | EXPECT(s.list->Close() == S_OK); | ||
| 547 | ID3D12CommandList* lists[] = {s.list}; | ||
| 548 | s.c->queue->ExecuteCommandLists(1, lists); | ||
| 549 | EXPECT(rt::d3d12::last_execute_result(s.c->queue) == leonida::ReplayResult::success); | ||
| 550 | EXPECT(SUCCEEDED(s.c->queue->Signal(s.c->fence, ++s.c->fence_value))); | ||
| 551 | s.c->fence->SetEventOnCompletion(s.c->fence_value, nullptr); // a null event waits, as D3D12 does | ||
| 552 | return 0; | ||
| 553 | } | ||
| 554 | |||
| 555 | // The same gap on a buffer the title places at its own address (slot 133, the retail case for a compute result it | ||
| 556 | // reads back): the pages are not imported here, so the buffer is a shadow, and the write of a root UAV over the | ||
| 557 | // title's VA must reach the pages at the next submission - and the title's own newer words must still win. | ||
| 558 | int check_placed_write_back(Context& c, bool geometry) { | ||
| 559 | void* pages = VirtualAlloc(nullptr, kPages, MEM_TOP_DOWN | MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); | ||
| 560 | EXPECT(pages); | ||
| 561 | const auto title_va = reinterpret_cast<std::uint64_t>(pages); | ||
| 562 | auto* words = static_cast<std::uint32_t*>(pages); | ||
| 563 | for (UINT i = 0; i < kPages / 4; ++i) words[i] = 0xA0000000u + i * 3u; // never zero, unlike the shader's rows | ||
| 564 | auto& aliases = leonida::title_va_aliases(); | ||
| 565 | aliases.add_title_memory(title_va, kPages); // what the xmem shims do for the title's allocations | ||
| 566 | const D3D12_RESOURCE_DESC desc = buffer_desc(kPages); | ||
| 567 | Ref<ID3D12Resource> placed; | ||
| 568 | EXPECT(SUCCEEDED( | ||
| 569 | rt::d3d12::create_buffer_at_host_address(c.inner, pages, desc, 0xFFFFFFFFu, IID_PPV_ARGS(&placed.p)))); | ||
| 570 | EXPECT(placed->GetGPUVirtualAddress() == title_va); | ||
| 571 | EXPECT(aliases.shader_va(title_va) != title_va); // there is a copy to be reached through | ||
| 572 | |||
| 573 | const D3D12_HEAP_PROPERTIES default_heap{D3D12_HEAP_TYPE_DEFAULT}, readback_heap{D3D12_HEAP_TYPE_READBACK}; | ||
| 574 | const auto uav = buffer_desc(kBytes, D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS); | ||
| 575 | const auto readback_desc = buffer_desc(kBytes); | ||
| 576 | Ref<ID3D12Resource> out, readback; | ||
| 577 | EXPECT(SUCCEEDED(c.device->CreateCommittedResource(&default_heap, D3D12_HEAP_FLAG_NONE, &uav, | ||
| 578 | D3D12_RESOURCE_STATE_UNORDERED_ACCESS, nullptr, | ||
| 579 | IID_PPV_ARGS(&out.p)))); | ||
| 580 | EXPECT(SUCCEEDED(c.device->CreateCommittedResource(&readback_heap, D3D12_HEAP_FLAG_NONE, &readback_desc, | ||
| 581 | D3D12_RESOURCE_STATE_COPY_DEST, nullptr, | ||
| 582 | IID_PPV_ARGS(&readback.p)))); | ||
| 583 | D3D12_DESCRIPTOR_HEAP_DESC heap_desc{D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 8, | ||
| 584 | D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, 0}; | ||
| 585 | Ref<ID3D12DescriptorHeap> heap; | ||
| 586 | EXPECT(SUCCEEDED(c.device->CreateDescriptorHeap(&heap_desc, IID_PPV_ARGS(&heap.p)))); | ||
| 587 | Ref<ID3D12CommandAllocator> allocator; | ||
| 588 | Ref<ID3D12GraphicsCommandList> list; | ||
| 589 | EXPECT(SUCCEEDED(c.device->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&allocator.p)))); | ||
| 590 | EXPECT(SUCCEEDED(c.device->CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, allocator.p, c.pso, | ||
| 591 | IID_PPV_ARGS(&list.p)))); | ||
| 592 | EXPECT(list->Close() == S_OK); | ||
| 593 | WriteBack s{&c, allocator.p, list.p, out.p, heap.p, | ||
| 594 | reinterpret_cast<XboxHeapHandleFn>(slot(heap.p, 10))(heap.p)}; | ||
| 595 | |||
| 596 | const std::vector<std::uint32_t> before(words, words + kElements); | ||
| 597 | EXPECT(submit_write(s, title_va) == 0); | ||
| 598 | UINT untouched = 0; | ||
| 599 | for (UINT i = 0; i < kElements; ++i) untouched += words[i] == before[i]; | ||
| 600 | // An imported buffer is the same memory and needs no copy; only a shadow owes the pages the GPU's words. | ||
| 601 | const bool shadow = !geometry && aliases.shader_va(title_va) >= c.arena; | ||
| 602 | if (shadow) { | ||
| 603 | std::printf("placed buffer write back: %u/%u words still held the title's before the next submission\n", | ||
| 604 | untouched, kElements); | ||
| 605 | EXPECT(untouched == kElements); | ||
| 606 | } | ||
| 607 | |||
| 608 | EXPECT(submit_write(s, title_va) == 0); | ||
| 609 | std::vector<std::uint32_t> written(words, words + kElements); | ||
| 610 | UINT reached = 0, changed = 0, nonzero = 0; | ||
| 611 | for (UINT i = 0; i < kElements; ++i) { | ||
| 612 | reached += written[i] == (0xA0000000u + i * 3u); | ||
| 613 | changed += written[i] != before[i]; | ||
| 614 | nonzero += written[i] != 0; | ||
| 615 | } | ||
| 616 | std::printf("placed buffer write back: %u/%u words reached the pages (%u changed, %u nonzero)\n", kElements - reached, | ||
| 617 | kElements, changed, nonzero); | ||
| 618 | EXPECT(changed == kElements && nonzero > 0); | ||
| 619 | (void)reached; | ||
| 620 | |||
| 621 | // The title writes its own words over the result: the next submission copies them forward and they stay. | ||
| 622 | for (UINT i = 0; i < kElements; ++i) words[i] = 0xB16B00B5u; | ||
| 623 | EXPECT(submit_write(s, title_va) == 0); | ||
| 624 | UINT kept = 0; | ||
| 625 | for (UINT i = 0; i < kElements; ++i) kept += words[i] == 0xB16B00B5u; | ||
| 626 | std::printf("placed buffer write back: the title's own words survived %u/%u\n", kept, kElements); | ||
| 627 | EXPECT(kept == kElements); | ||
| 628 | |||
| 629 | placed.reset(); // the shadow goes, the pages stay writable | ||
| 630 | aliases.remove_title_memory(title_va); | ||
| 631 | VirtualFree(pages, 0, MEM_RELEASE); | ||
| 632 | return 0; | ||
| 633 | } | ||
| 634 | |||
| 635 | int check_window_write_back(Context& c, bool geometry) { | ||
| 636 | constexpr UINT64 ring_bytes = 256 * 1024; | ||
| 637 | auto* ring = static_cast<std::uint32_t*>( | ||
| 638 | VirtualAlloc(nullptr, ring_bytes, MEM_TOP_DOWN | MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)); | ||
| 639 | EXPECT(ring); | ||
| 640 | const auto ring_va = reinterpret_cast<std::uint64_t>(ring); | ||
| 641 | for (UINT i = 0; i < ring_bytes / 4; ++i) ring[i] = 0; | ||
| 642 | auto& aliases = leonida::title_va_aliases(); | ||
| 643 | aliases.add_title_memory(ring_va, ring_bytes); | ||
| 644 | |||
| 645 | const D3D12_HEAP_PROPERTIES default_heap{D3D12_HEAP_TYPE_DEFAULT}, readback_heap{D3D12_HEAP_TYPE_READBACK}; | ||
| 646 | const auto uav = buffer_desc(kBytes, D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS); | ||
| 647 | const auto readback_desc = buffer_desc(kBytes); | ||
| 648 | Ref<ID3D12Resource> out, readback; | ||
| 649 | EXPECT(SUCCEEDED(c.device->CreateCommittedResource(&default_heap, D3D12_HEAP_FLAG_NONE, &uav, | ||
| 650 | D3D12_RESOURCE_STATE_UNORDERED_ACCESS, nullptr, | ||
| 651 | IID_PPV_ARGS(&out.p)))); | ||
| 652 | EXPECT(SUCCEEDED(c.device->CreateCommittedResource(&readback_heap, D3D12_HEAP_FLAG_NONE, &readback_desc, | ||
| 653 | D3D12_RESOURCE_STATE_COPY_DEST, nullptr, | ||
| 654 | IID_PPV_ARGS(&readback.p)))); | ||
| 655 | D3D12_DESCRIPTOR_HEAP_DESC heap_desc{D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 8, | ||
| 656 | D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, 0}; | ||
| 657 | Ref<ID3D12DescriptorHeap> heap; | ||
| 658 | EXPECT(SUCCEEDED(c.device->CreateDescriptorHeap(&heap_desc, IID_PPV_ARGS(&heap.p)))); | ||
| 659 | Ref<ID3D12CommandAllocator> allocator; | ||
| 660 | Ref<ID3D12GraphicsCommandList> list; | ||
| 661 | EXPECT(SUCCEEDED(c.device->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&allocator.p)))); | ||
| 662 | EXPECT(SUCCEEDED(c.device->CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, allocator.p, c.pso, | ||
| 663 | IID_PPV_ARGS(&list.p)))); | ||
| 664 | EXPECT(list->Close() == S_OK); // Reset needs it closed, as the title leaves it | ||
| 665 | WriteBack s{&c, allocator.p, list.p, out.p, heap.p, | ||
| 666 | reinterpret_cast<XboxHeapHandleFn>(slot(heap.p, 10))(heap.p)}; | ||
| 667 | |||
| 668 | // The shader writes the range the root UAV names, which is the title's own pages here, far past the arena: the | ||
| 669 | // resolve already has to make a window for them before the submission. | ||
| 670 | EXPECT(aliases.shader_va(ring_va) == ring_va); | ||
| 671 | EXPECT(submit_write(s, ring_va) == 0); | ||
| 672 | EXPECT(aliases.shader_va(ring_va) != ring_va); // a window was made for the title's pages | ||
| 673 | if (!geometry) EXPECT(ring[0] == 0); // the copy took the write: the pages get it only after the next submission | ||
| 674 | |||
| 675 | // The next submission's refresh copies the GPU's writes back, before it copies the pages forward. | ||
| 676 | EXPECT(submit_write(s, ring_va) == 0); | ||
| 677 | const std::vector<std::uint32_t> written(ring, ring + kElements); | ||
| 678 | UINT nonzero = 0; | ||
| 679 | for (std::uint32_t w : written) nonzero += w != 0; | ||
| 680 | std::printf("write back: %u of %u words the shader wrote are in the title's pages\n", nonzero, kElements); | ||
| 681 | EXPECT(nonzero > 0); | ||
| 682 | |||
| 683 | // The same submission again: the pages keep what they hold, the values do not drift. | ||
| 684 | EXPECT(submit_write(s, ring_va) == 0); | ||
| 685 | UINT stable = 0; | ||
| 686 | for (UINT i = 0; i < kElements; ++i) stable += ring[i] == written[i]; | ||
| 687 | std::printf("write back: the pages kept those words across two submissions %u/%u\n", stable, kElements); | ||
| 688 | EXPECT(stable == kElements); | ||
| 689 | |||
| 690 | // A write by the title after a submission is copied forward over the result again, not overwritten by it. | ||
| 691 | for (UINT i = 0; i < kElements; ++i) ring[i] = 0xB16B00B5u; | ||
| 692 | EXPECT(submit_write(s, ring_va) == 0); | ||
| 693 | UINT kept = 0; | ||
| 694 | for (UINT i = 0; i < kElements; ++i) kept += ring[i] == 0xB16B00B5u; | ||
| 695 | std::printf("write back: the title's own words survived the next submission %u/%u\n", kept, kElements); | ||
| 696 | EXPECT(kept == kElements); | ||
| 697 | |||
| 698 | aliases.remove_title_memory(ring_va); | ||
| 699 | VirtualFree(ring, 0, MEM_RELEASE); | ||
| 700 | return 0; | ||
| 701 | } | ||
| 702 | |||
| 516 | void remove_test_pair(std::uintptr_t gpu, std::uintptr_t cpu) { | 703 | void remove_test_pair(std::uintptr_t gpu, std::uintptr_t cpu) { |
| 517 | auto& state = leonida::title_gpu_views::state(); | 704 | auto& state = leonida::title_gpu_views::state(); |
| 518 | std::unique_lock lock(state.mutex); | 705 | std::unique_lock lock(state.mutex); |
| @@ -978,6 +1165,59 @@ int check_rebound_tables(Context& c, ID3D12RootSignature* narrow, bool mirror, b | |||
| 978 | return 0; | 1165 | return 0; |
| 979 | } | 1166 | } |
| 980 | 1167 | ||
| 1168 | // Two slot-133 shadows over the same title page share one tracker and its sums (LEONIDA_SHADOW_KEEP, src/ | ||
| 1169 | // shadow_keep.h). A is copied with the title's byte at 1; the byte becomes 2 and B is made over the page, so B's first | ||
| 1170 | // copy holds 2; the byte goes back to 1 and a submission refreshes both. Both copies must hold 1, with the flag on or | ||
| 1171 | // off: B's first copy brings its pieces to the sums, or the sums still read 1 and B keeps 2 (found by lixonik). | ||
| 1172 | int check_shadow_keep_refill(Context& c) { | ||
| 1173 | constexpr UINT64 kPage = 4096, kAt = 16; // the byte: page 1 of A, page 0 of B | ||
| 1174 | auto* pages = static_cast<std::uint8_t*>( | ||
| 1175 | VirtualAlloc(nullptr, kPages, MEM_TOP_DOWN | MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)); | ||
| 1176 | EXPECT(pages); | ||
| 1177 | pages[kPage + kAt] = 1; | ||
| 1178 | const D3D12_RESOURCE_DESC desc = buffer_desc(2 * kPage); | ||
| 1179 | Ref<ID3D12Resource> a, b, readback; | ||
| 1180 | EXPECT(SUCCEEDED(rt::d3d12::create_buffer_at_host_address(c.inner, pages, desc, 0xFFFFFFFFu, | ||
| 1181 | IID_PPV_ARGS(&a.p)))); | ||
| 1182 | EXPECT(rt::d3d12::title_shadow_buffer(a.p)); | ||
| 1183 | pages[kPage + kAt] = 2; | ||
| 1184 | EXPECT(SUCCEEDED(rt::d3d12::create_buffer_at_host_address(c.inner, pages + kPage, desc, 0xFFFFFFFFu, | ||
| 1185 | IID_PPV_ARGS(&b.p)))); | ||
| 1186 | EXPECT(rt::d3d12::title_shadow_buffer(b.p)); | ||
| 1187 | pages[kPage + kAt] = 1; | ||
| 1188 | |||
| 1189 | const D3D12_HEAP_PROPERTIES readback_heap{D3D12_HEAP_TYPE_READBACK}; | ||
| 1190 | const auto readback_desc = buffer_desc(2 * kBytes); | ||
| 1191 | EXPECT(SUCCEEDED(c.device->CreateCommittedResource(&readback_heap, D3D12_HEAP_FLAG_NONE, &readback_desc, | ||
| 1192 | D3D12_RESOURCE_STATE_COPY_DEST, nullptr, | ||
| 1193 | IID_PPV_ARGS(&readback.p)))); | ||
| 1194 | Ref<ID3D12CommandAllocator> allocator; | ||
| 1195 | Ref<ID3D12GraphicsCommandList> list; | ||
| 1196 | EXPECT(SUCCEEDED(c.device->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&allocator.p)))); | ||
| 1197 | EXPECT(SUCCEEDED(c.device->CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, allocator.p, nullptr, | ||
| 1198 | IID_PPV_ARGS(&list.p)))); | ||
| 1199 | list->CopyBufferRegion(readback.p, 0, a.p, kPage, kBytes); | ||
| 1200 | list->CopyBufferRegion(readback.p, kBytes, b.p, 0, kBytes); | ||
| 1201 | EXPECT(list->Close() == S_OK); | ||
| 1202 | ID3D12CommandList* lists[] = {list.p}; | ||
| 1203 | c.queue->ExecuteCommandLists(1, lists); // the refresh, then the copies | ||
| 1204 | EXPECT(rt::d3d12::last_execute_result(c.queue) == leonida::ReplayResult::success); | ||
| 1205 | EXPECT(SUCCEEDED(c.queue->Signal(c.fence, ++c.fence_value))); | ||
| 1206 | EXPECT(SUCCEEDED(c.fence->SetEventOnCompletion(c.fence_value, nullptr))); | ||
| 1207 | void* mapped = nullptr; | ||
| 1208 | EXPECT(SUCCEEDED(readback->Map(0, nullptr, &mapped))); | ||
| 1209 | const std::uint8_t got_a = static_cast<const std::uint8_t*>(mapped)[kAt]; | ||
| 1210 | const std::uint8_t got_b = static_cast<const std::uint8_t*>(mapped)[kBytes + kAt]; | ||
| 1211 | readback->Unmap(0, nullptr); | ||
| 1212 | std::printf("shadow keep refill: A holds %u, B holds %u (the title's byte is 1)\n", got_a, got_b); | ||
| 1213 | EXPECT(got_a == 1); | ||
| 1214 | EXPECT(got_b == 1); | ||
| 1215 | a.reset(); | ||
| 1216 | b.reset(); | ||
| 1217 | VirtualFree(pages, 0, MEM_RELEASE); | ||
| 1218 | return 0; | ||
| 1219 | } | ||
| 1220 | |||
| 981 | } // namespace | 1221 | } // namespace |
| 982 | 1222 | ||
| 983 | int main(int argc, char** argv) { | 1223 | int main(int argc, char** argv) { |
| @@ -987,6 +1227,9 @@ int main(int argc, char** argv) { | |||
| 987 | const bool api_copy = api_copy_off || (argc == 2 && std::strcmp(argv[1], "--api-descriptor-copy") == 0); | 1227 | const bool api_copy = api_copy_off || (argc == 2 && std::strcmp(argv[1], "--api-descriptor-copy") == 0); |
| 988 | const bool rebind = api_copy || mirror_off || second_device || (argc == 2 && std::strcmp(argv[1], "--rebound-tables") == 0); | 1228 | const bool rebind = api_copy || mirror_off || second_device || (argc == 2 && std::strcmp(argv[1], "--rebound-tables") == 0); |
| 989 | const bool window_cap = argc == 2 && std::strcmp(argv[1], "--window-cap") == 0; | 1229 | const bool window_cap = argc == 2 && std::strcmp(argv[1], "--window-cap") == 0; |
| 1230 | const bool window_write_back = argc == 2 && std::strcmp(argv[1], "--window-writeback") == 0; | ||
| 1231 | const bool placed_write_back = argc == 2 && std::strcmp(argv[1], "--placed-writeback") == 0; | ||
| 1232 | const bool keep_refill = argc == 2 && std::strcmp(argv[1], "--shadow-keep-refill") == 0; | ||
| 990 | if (window_cap) { | 1233 | if (window_cap) { |
| 991 | const char* cap = std::getenv("LEONIDA_TITLE_WINDOWS_MB"); | 1234 | const char* cap = std::getenv("LEONIDA_TITLE_WINDOWS_MB"); |
| 992 | if (!cap || std::strcmp(cap, "0")) { | 1235 | if (!cap || std::strcmp(cap, "0")) { |
| @@ -1101,6 +1344,33 @@ int main(int argc, char** argv) { | |||
| 1101 | std::printf("title memory past the window cap: the views were zero-size and the shader read zeros\n"); | 1344 | std::printf("title memory past the window cap: the views were zero-size and the shader read zeros\n"); |
| 1102 | return 0; | 1345 | return 0; |
| 1103 | } | 1346 | } |
| 1347 | if (placed_write_back) { | ||
| 1348 | if (check_placed_write_back(c, geometry)) return 1; | ||
| 1349 | if (d.validation_errors()) { | ||
| 1350 | std::fprintf(stderr, "%u validation errors\n", d.validation_errors()); | ||
| 1351 | return 1; | ||
| 1352 | } | ||
| 1353 | std::printf("title-placed buffer write back: the GPU's writes reached the title's pages\n"); | ||
| 1354 | return 0; | ||
| 1355 | } | ||
| 1356 | if (keep_refill) { | ||
| 1357 | if (check_shadow_keep_refill(c)) return 1; | ||
| 1358 | if (d.validation_errors()) { | ||
| 1359 | std::fprintf(stderr, "%u validation errors\n", d.validation_errors()); | ||
| 1360 | return 1; | ||
| 1361 | } | ||
| 1362 | return 0; | ||
| 1363 | } | ||
| 1364 | if (window_write_back) { | ||
| 1365 | if (check_window_write_back(c, geometry)) return 1; | ||
| 1366 | if (d.validation_errors()) { | ||
| 1367 | std::fprintf(stderr, "%u validation errors\n", d.validation_errors()); | ||
| 1368 | return 1; | ||
| 1369 | } | ||
| 1370 | std::printf("title window write back: the GPU's writes reached the title's pages and the title's own " | ||
| 1371 | "words won\n"); | ||
| 1372 | return 0; | ||
| 1373 | } | ||
| 1104 | if (geometry && check_declined_imports(c)) return 1; | 1374 | if (geometry && check_declined_imports(c)) return 1; |
| 1105 | if (geometry && check_import_over_shadow(c)) return 1; | 1375 | if (geometry && check_import_over_shadow(c)) return 1; |
| 1106 | if (check_kind(c, "read-write", PAGE_READWRITE, checks)) return 1; | 1376 | if (check_kind(c, "read-write", PAGE_READWRITE, checks)) return 1; |
diff --git a/runtime/test/d3d12_translated_draw_test.cpp b/runtime/test/d3d12_translated_draw_test.cpp index 560110240..b45cc2c84 100644 --- a/runtime/test/d3d12_translated_draw_test.cpp +++ b/runtime/test/d3d12_translated_draw_test.cpp | |||
| @@ -193,6 +193,7 @@ int main(int argc, char** argv) { | |||
| 193 | rt::d3d12::VulkanDeviceInfo info{}; | 193 | rt::d3d12::VulkanDeviceInfo info{}; |
| 194 | info.prepare_on_bind=d.prepare_on_bind; | 194 | info.prepare_on_bind=d.prepare_on_bind; |
| 195 | info.cold_graphics_compile=d.cold_graphics_compile; | 195 | info.cold_graphics_compile=d.cold_graphics_compile; |
| 196 | info.heavy_pipeline_cache=d.heavy_pipeline_cache; | ||
| 196 | info.get_instance_proc = d.instance_proc; | 197 | info.get_instance_proc = d.instance_proc; |
| 197 | info.instance = d.instance; | 198 | info.instance = d.instance; |
| 198 | info.physical = d.physical; | 199 | info.physical = d.physical; |
diff --git a/runtime/test/d3d12_unmapped_vsharp_test.cpp b/runtime/test/d3d12_unmapped_vsharp_test.cpp index 2e072ce40..1cb0b7c23 100644 --- a/runtime/test/d3d12_unmapped_vsharp_test.cpp +++ b/runtime/test/d3d12_unmapped_vsharp_test.cpp | |||
| @@ -232,8 +232,9 @@ int check_console_heap(ID3D12Device* device, ID3D12CommandQueue* queue, ID3D12Fe | |||
| 232 | EXPECT(!(copy[3][0] | copy[3][1] | copy[3][2] | copy[3][3])); // the data slot's descriptor half is null | 232 | EXPECT(!(copy[3][0] | copy[3][1] | copy[3][2] | copy[3][3])); // the data slot's descriptor half is null |
| 233 | for (int i = 0; i < 4; ++i) EXPECT(!std::memcmp(title + i * kDescriptor, before[i], kDescriptor)); | 233 | for (int i = 0; i < 4; ++i) EXPECT(!std::memcmp(title + i * kDescriptor, before[i], kDescriptor)); |
| 234 | 234 | ||
| 235 | // 128 cold descriptors share one absent range. Publishing its alias leaves the title bytes | 235 | // 128 descriptors wait on one absent range; the title's bytes never change. Publishing its alias fixes every one |
| 236 | // unchanged. Only the bounded round-robin probes should discover it in the first 64 submits. | 236 | // of them at the next submission (the heap's slot records: an addition over a waiting V#), not one round-robin |
| 237 | // probe at a time. | ||
| 237 | Ref<ID3D12CommandAllocator> allocator; | 238 | Ref<ID3D12CommandAllocator> allocator; |
| 238 | Ref<ID3D12GraphicsCommandList> list; | 239 | Ref<ID3D12GraphicsCommandList> list; |
| 239 | EXPECT(SUCCEEDED(device->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&allocator.p)))); | 240 | EXPECT(SUCCEEDED(device->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&allocator.p)))); |
| @@ -241,23 +242,70 @@ int check_console_heap(ID3D12Device* device, ID3D12CommandQueue* queue, ID3D12Fe | |||
| 241 | IID_PPV_ARGS(&list.p)))); | 242 | IID_PPV_ARGS(&list.p)))); |
| 242 | EXPECT(SUCCEEDED(list->Close())); | 243 | EXPECT(SUCCEEDED(list->Close())); |
| 243 | ID3D12CommandList* lists[] = {list.p}; | 244 | ID3D12CommandList* lists[] = {list.p}; |
| 244 | for (unsigned pass = 0; pass < 64; ++pass) { | 245 | const auto submit = [&] { |
| 245 | if (pass == 1) leonida::title_va_aliases().add(unmapped, kViewBytes, b.arena_va); | ||
| 246 | queue->ExecuteCommandLists(1, lists); | 246 | queue->ExecuteCommandLists(1, lists); |
| 247 | EXPECT(SUCCEEDED(queue->Signal(fence, ++fence_value))); | 247 | return SUCCEEDED(queue->Signal(fence, ++fence_value)) && |
| 248 | EXPECT(SUCCEEDED(fence->SetEventOnCompletion(fence_value, nullptr))); | 248 | SUCCEEDED(fence->SetEventOnCompletion(fence_value, nullptr)); |
| 249 | } | 249 | }; |
| 250 | const auto count_restored = [&](unsigned& restored) { | ||
| 251 | restored = 0; | ||
| 252 | for (unsigned slot = 0; slot < 131; ++slot) { | ||
| 253 | if (slot > 0 && slot < 4) continue; | ||
| 254 | std::uint32_t words[8]; | ||
| 255 | if (!rt::d3d12::read_arena(device, shader_va + slot * kDescriptor, words, sizeof(words))) return false; | ||
| 256 | if (base_of(words) == b.arena_va && words[2]) ++restored; | ||
| 257 | else if (!zero_size(words)) return false; | ||
| 258 | } | ||
| 259 | return true; | ||
| 260 | }; | ||
| 250 | unsigned restored = 0; | 261 | unsigned restored = 0; |
| 251 | for (unsigned slot = 0; slot < 131; ++slot) { | 262 | EXPECT(submit()); |
| 252 | if (slot > 0 && slot < 4) continue; | 263 | EXPECT(count_restored(restored) && restored == 0); |
| 264 | leonida::title_va_aliases().add(unmapped, kViewBytes, b.arena_va); | ||
| 265 | EXPECT(submit()); | ||
| 266 | EXPECT(count_restored(restored) && restored == 128); | ||
| 267 | std::printf("128 waiting zero descriptors, all restored at the first submission after their alias came\n"); | ||
| 268 | // The alias goes: at the next submission none of them names its copy any more. | ||
| 269 | leonida::title_va_aliases().remove(unmapped, b.arena_va); | ||
| 270 | EXPECT(submit()); | ||
| 271 | EXPECT(count_restored(restored) && restored == 0); | ||
| 272 | |||
| 273 | // A released buffer: the slots that named it are null at the next submission, the others keep their V#s. The | ||
| 274 | // title's bytes stay as written (each slot is rewritten through its page, as the title does, so the heap's write | ||
| 275 | // tracking sees it). | ||
| 276 | { | ||
| 277 | Ref<ID3D12Resource> gone; | ||
| 278 | const D3D12_HEAP_PROPERTIES default_heap{D3D12_HEAP_TYPE_DEFAULT}; | ||
| 279 | const auto gone_desc = buffer_desc(64 * 1024); | ||
| 280 | EXPECT(SUCCEEDED(device->CreateCommittedResource(&default_heap, D3D12_HEAP_FLAG_NONE, &gone_desc, | ||
| 281 | D3D12_RESOURCE_STATE_COMMON, nullptr, IID_PPV_ARGS(&gone.p)))); | ||
| 282 | const std::uint64_t gone_va = gone->GetGPUVirtualAddress(); | ||
| 283 | for (int i = 140; i < 150; ++i) put(i, raw_vsharp(gone_va + std::uint64_t(i - 140) * kViewBytes)); | ||
| 284 | for (int i = 150; i < 160; ++i) put(i, raw_vsharp(b.arena_va)); | ||
| 285 | EXPECT(submit()); | ||
| 253 | std::uint32_t words[8]; | 286 | std::uint32_t words[8]; |
| 254 | EXPECT(rt::d3d12::read_arena(device, shader_va + slot * kDescriptor, words, sizeof(words))); | 287 | for (unsigned slot = 140; slot < 160; ++slot) { |
| 255 | if (base_of(words) == b.arena_va && words[2]) ++restored; | 288 | EXPECT(rt::d3d12::read_arena(device, shader_va + slot * kDescriptor, words, sizeof(words))); |
| 256 | else EXPECT(zero_size(words)); | 289 | EXPECT(words[2] && base_of(words) == (slot < 150 ? gone_va + (slot - 140) * kViewBytes : b.arena_va)); |
| 290 | } | ||
| 291 | gone.reset(); | ||
| 292 | // The arena range goes once the device has retired the buffer: a few submissions at most. | ||
| 293 | bool nulled = false; | ||
| 294 | for (int pass = 0; pass < 8 && !nulled; ++pass) { | ||
| 295 | EXPECT(submit()); | ||
| 296 | nulled = true; | ||
| 297 | for (unsigned slot = 140; slot < 150; ++slot) { | ||
| 298 | EXPECT(rt::d3d12::read_arena(device, shader_va + slot * kDescriptor, words, sizeof(words))); | ||
| 299 | nulled &= zero_size(words); | ||
| 300 | } | ||
| 301 | } | ||
| 302 | EXPECT(nulled); | ||
| 303 | for (unsigned slot = 150; slot < 160; ++slot) { | ||
| 304 | EXPECT(rt::d3d12::read_arena(device, shader_va + slot * kDescriptor, words, sizeof(words))); | ||
| 305 | EXPECT(words[2] && base_of(words) == b.arena_va); | ||
| 306 | } | ||
| 307 | std::printf("released buffer: the 10 slots that named it are null at the next submissions, 10 others kept\n"); | ||
| 257 | } | 308 | } |
| 258 | EXPECT(restored == 16); | ||
| 259 | std::printf("128 settled zero descriptors, %u restored in 64 submissions\n", restored); | ||
| 260 | leonida::title_va_aliases().remove(unmapped, b.arena_va); | ||
| 261 | 309 | ||
| 262 | // The null guard: past the heap's last slot, up to kHeapIndexReach from its start, every byte reads 0. | 310 | // The null guard: past the heap's last slot, up to kHeapIndexReach from its start, every byte reads 0. |
| 263 | constexpr std::uint64_t reach = 64ull << 20; | 311 | constexpr std::uint64_t reach = 64ull << 20; |
diff --git a/runtime/test/d3d12_xmem_placed_test.cpp b/runtime/test/d3d12_xmem_placed_test.cpp index 7c64a23cf..33b5d462a 100644 --- a/runtime/test/d3d12_xmem_placed_test.cpp +++ b/runtime/test/d3d12_xmem_placed_test.cpp | |||
| @@ -174,6 +174,82 @@ int queue_remap(ID3D12Device* real, ID3D12Device* proxy) { | |||
| 174 | return 0; | 174 | return 0; |
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | // Queue slot 31 as a retail run takes it: no batch hook, so the queue's default adapter sends each range to xmem's | ||
| 178 | // range callback (copy_page_mappings_fn), which mirrors a legacy-paired GPU-only destination at its CPU view. The | ||
| 179 | // source is a GPU-only pool backed only through its CPU alias, and the title maps a page of its own at one CPU twin | ||
| 180 | // while the remap waits behind queue work (deferred with list values, waited for without them). When the remap is | ||
| 181 | // applied, the GPU-only pages change and the title's CPU page keeps its bytes, through the copy and the unmap after it. | ||
| 182 | int queue_remap_default_route(ID3D12Device* real, ID3D12Device* proxy) { | ||
| 183 | using rt::xmem::PageBatch; | ||
| 184 | using rt::xmem::PageRange; | ||
| 185 | auto reserve = reinterpret_cast<XMemVirtualAllocFn>(rt::shims::find("xmem.dll", "XMemVirtualAlloc")); | ||
| 186 | auto allocate = reinterpret_cast<XMemAllocatePhysicalPagesFn>(rt::shims::find("xmem.dll", "XMemAllocatePhysicalPages")); | ||
| 187 | auto map = reinterpret_cast<XMemMapPhysicalPagesFn>(rt::shims::find("xmem.dll", "XMemMapPhysicalPages")); | ||
| 188 | auto free_pages = reinterpret_cast<XMemFreePhysicalPagesFn>(rt::shims::find("xmem.dll", "XMemFreePhysicalPages")); | ||
| 189 | constexpr unsigned n = 2; | ||
| 190 | auto window = [&](DWORD protect) { | ||
| 191 | return static_cast<std::uint8_t*>(reserve(nullptr, n * kPage64k, MEM_RESERVE | kXmem64kPages, 0, protect)); | ||
| 192 | }; | ||
| 193 | // Two pairs, each a CPU range and then the GPU-only range of its size: the pool's and the destination's. | ||
| 194 | auto* pool_cpu = window(PAGE_READWRITE); | ||
| 195 | auto* pool = window(0x801); | ||
| 196 | auto* cpu = window(PAGE_READWRITE); | ||
| 197 | auto* dst = window(0x801); | ||
| 198 | EXPECT(pool_cpu && pool && cpu && dst); | ||
| 199 | EXPECT(leonida::title_gpu_views::to_cpu(uintptr_t(pool)) == uintptr_t(pool_cpu)); | ||
| 200 | EXPECT(leonida::title_gpu_views::to_cpu(uintptr_t(dst)) == uintptr_t(cpu)); | ||
| 201 | std::uint64_t pages[n + 1]{}, count = n + 1; | ||
| 202 | EXPECT(allocate(0x280, &count, pages) && count == n + 1); | ||
| 203 | EXPECT(map(pool_cpu, n, pages)); // the pool's pages are mapped at its CPU alias only | ||
| 204 | for (unsigned i = 0; i < n; ++i) pool_cpu[i * kPage64k] = static_cast<std::uint8_t>(40 + i); | ||
| 205 | |||
| 206 | D3D12_COMMAND_QUEUE_DESC desc{D3D12_COMMAND_LIST_TYPE_COPY}; | ||
| 207 | Ref<ID3D12CommandQueue> queue; | ||
| 208 | Ref<ID3D12Fence> gate; | ||
| 209 | EXPECT(SUCCEEDED(proxy->CreateCommandQueue(&desc, IID_PPV_ARGS(&queue.p)))); | ||
| 210 | EXPECT(SUCCEEDED(real->CreateFence(0, D3D12_FENCE_FLAG_NONE, IID_PPV_ARGS(&gate.p)))); | ||
| 211 | auto* real_queue = rt::d3d12_xs::queue_proxy_real_queue(queue.p); | ||
| 212 | EXPECT(real_queue && SUCCEEDED(real_queue->Wait(gate.p, 1))); | ||
| 213 | rt::d3d12_xs::set_copy_page_mappings_hook(nullptr); // the retail route: the default adapter | ||
| 214 | using Copy = HRESULT(WINAPI*)(void*, UINT, const PageBatch*, std::uintptr_t, UINT, UINT); | ||
| 215 | auto call = reinterpret_cast<Copy>((*reinterpret_cast<void***>(queue.p))[31]); | ||
| 216 | const PageRange copy_run[] = {{0, 0, n}}; | ||
| 217 | const PageBatch copy_batch{uintptr_t(dst), 1, copy_run}; | ||
| 218 | auto done = std::async(std::launch::async, [&] { return call(queue.p, 1, ©_batch, uintptr_t(pool), n, 0); }); | ||
| 219 | // While the remap waits behind the held work, the title maps a page of its own at the second CPU twin. | ||
| 220 | EXPECT(map(cpu + kPage64k, 1, &pages[n])); | ||
| 221 | cpu[kPage64k] = 77; | ||
| 222 | EXPECT(SUCCEEDED(gate->Signal(1))); | ||
| 223 | EXPECT(SUCCEEDED(done.get())); | ||
| 224 | EXPECT(SUCCEEDED(real_queue->Signal(gate.p, 2))); | ||
| 225 | HANDLE remapped = CreateEventW(nullptr, FALSE, FALSE, nullptr); | ||
| 226 | EXPECT(remapped && SUCCEEDED(gate->SetEventOnCompletion(2, remapped))); | ||
| 227 | const auto completion = WaitForSingleObject(remapped, 10000); | ||
| 228 | CloseHandle(remapped); | ||
| 229 | EXPECT(completion == WAIT_OBJECT_0); | ||
| 230 | EXPECT(dst[0] == 40 && dst[kPage64k] == 41); // the GPU-only pages, found through the pool's CPU alias | ||
| 231 | EXPECT(cpu[0] == 40); // a CPU twin with no mapping of the title's follows the copy | ||
| 232 | EXPECT(cpu[kPage64k] == 77); // the title's own page is kept | ||
| 233 | |||
| 234 | // The unmap: the GPU-only pages and the mirrored twin are unmapped, the title's page stays. | ||
| 235 | const PageRange hole[] = {{2, 0, n}}; | ||
| 236 | const PageBatch unmap_batch{uintptr_t(dst), 1, hole}; | ||
| 237 | EXPECT(SUCCEEDED(call(queue.p, 1, &unmap_batch, uintptr_t(pool), n, 0))); | ||
| 238 | EXPECT(SUCCEEDED(real_queue->Signal(gate.p, 3))); | ||
| 239 | remapped = CreateEventW(nullptr, FALSE, FALSE, nullptr); | ||
| 240 | EXPECT(remapped && SUCCEEDED(gate->SetEventOnCompletion(3, remapped))); | ||
| 241 | EXPECT(WaitForSingleObject(remapped, 10000) == WAIT_OBJECT_0); | ||
| 242 | CloseHandle(remapped); | ||
| 243 | EXPECT(state_is(dst, MEM_RESERVE) && state_is(dst + kPage64k, MEM_RESERVE) && state_is(cpu, MEM_RESERVE)); | ||
| 244 | EXPECT(cpu[kPage64k] == 77); | ||
| 245 | |||
| 246 | EXPECT(map(cpu + kPage64k, 1, nullptr) && map(pool_cpu, n, nullptr)); | ||
| 247 | EXPECT(free_pages(n + 1, pages)); | ||
| 248 | std::puts("queue slot 31 default route: a source through its CPU alias, a deferred copy and an unmap keep the " | ||
| 249 | "title's own CPU twin page"); | ||
| 250 | return 0; | ||
| 251 | } | ||
| 252 | |||
| 177 | // What a GPU copy of `buffer` reads now (a submission: the shadows are refreshed first). | 253 | // What a GPU copy of `buffer` reads now (a submission: the shadows are refreshed first). |
| 178 | int read_back(ID3D12Device* real, ID3D12Resource* buffer, UINT64 size, std::vector<std::uint8_t>& out) { | 254 | int read_back(ID3D12Device* real, ID3D12Resource* buffer, UINT64 size, std::vector<std::uint8_t>& out) { |
| 179 | D3D12_RESOURCE_DESC desc = buffer->GetDesc(); | 255 | D3D12_RESOURCE_DESC desc = buffer->GetDesc(); |
| @@ -547,6 +623,7 @@ int main(int argc, char** argv) { | |||
| 547 | failures += run(real.p, device.p, eager); | 623 | failures += run(real.p, device.p, eager); |
| 548 | failures += exposure_map_ranges(device.p); | 624 | failures += exposure_map_ranges(device.p); |
| 549 | failures += queue_remap(real.p, device.p); | 625 | failures += queue_remap(real.p, device.p); |
| 626 | failures += queue_remap_default_route(real.p, device.p); | ||
| 550 | failures += paired_views(real.p); | 627 | failures += paired_views(real.p); |
| 551 | } | 628 | } |
| 552 | } | 629 | } |
diff --git a/runtime/test/depth24_fragment_test.cpp b/runtime/test/depth24_fragment_test.cpp new file mode 100644 index 000000000..e66e66b4e --- /dev/null +++ b/runtime/test/depth24_fragment_test.cpp | |||
| @@ -0,0 +1,608 @@ | |||
| 1 | // CPU-only SPIR-V validation and execution test for runtime/src/depth24_fragment.h (D24 and Xbox D16S8 fallback). | ||
| 2 | // Verifies structural SPIR-V invariants (bounds, section order, pre-function declarations, interface variables, | ||
| 3 | // execution modes) and interprets the emitted SPIR-V instructions directly across all 65,536 16-bit codes, | ||
| 4 | // half-step ties, IEEE-754 specials, depth bias/slope/clamp, and 24-bit parity. No Vulkan device or game data. | ||
| 5 | #include "../src/depth24_fragment.h" | ||
| 6 | |||
| 7 | #include <algorithm> | ||
| 8 | #include <array> | ||
| 9 | #include <bit> | ||
| 10 | #include <cmath> | ||
| 11 | #include <cstdint> | ||
| 12 | #include <cstdio> | ||
| 13 | #include <cstring> | ||
| 14 | #include <limits> | ||
| 15 | #include <string> | ||
| 16 | #include <unordered_map> | ||
| 17 | #include <unordered_set> | ||
| 18 | #include <vector> | ||
| 19 | |||
| 20 | #define EXPECT(cond) \ | ||
| 21 | do { \ | ||
| 22 | if (!(cond)) { \ | ||
| 23 | std::fprintf(stderr, "depth24_fragment_test: line %d failed: %s\n", __LINE__, #cond); \ | ||
| 24 | return 1; \ | ||
| 25 | } \ | ||
| 26 | } while (0) | ||
| 27 | |||
| 28 | namespace { | ||
| 29 | |||
| 30 | using namespace leonida; | ||
| 31 | using namespace leonida::spirv24; | ||
| 32 | |||
| 33 | std::uint32_t f_bits(float f) { | ||
| 34 | std::uint32_t u = 0; | ||
| 35 | std::memcpy(&u, &f, 4); | ||
| 36 | return u; | ||
| 37 | } | ||
| 38 | |||
| 39 | float u_float(std::uint32_t u) { | ||
| 40 | float f = 0.0f; | ||
| 41 | std::memcpy(&f, &u, 4); | ||
| 42 | return f; | ||
| 43 | } | ||
| 44 | |||
| 45 | double round_half_even(double x) { | ||
| 46 | const double r = std::floor(x + 0.5); | ||
| 47 | return r - x == 0.5 && std::fmod(r, 2.0) != 0.0 ? r - 1.0 : r; | ||
| 48 | } | ||
| 49 | |||
| 50 | std::uint32_t ref_quantize_code(float z, double max_levels, std::uint32_t max_code) { | ||
| 51 | if (!(z > 0.0f)) return 0u; | ||
| 52 | if (z >= 1.0f) return max_code; | ||
| 53 | const float product = z * static_cast<float>(max_levels); | ||
| 54 | return static_cast<std::uint32_t>(round_half_even(double(product))); | ||
| 55 | } | ||
| 56 | |||
| 57 | float ref_quantize_float(float z, double max_levels, std::uint32_t max_code) { | ||
| 58 | const std::uint32_t d = ref_quantize_code(z, max_levels, max_code); | ||
| 59 | return static_cast<float>(double(d) / max_levels); | ||
| 60 | } | ||
| 61 | |||
| 62 | // Synthetic SPIR-V fragment shader that either leaves FragDepth untouched or writes its own FragDepth | ||
| 63 | // (optionally with an extra early OpReturn branch, DepthGreater conservative mode, or EarlyFragmentTests). | ||
| 64 | std::vector<std::uint32_t> make_synthetic_fragment(bool writes_depth, bool early_tests, bool conservative_greater, | ||
| 65 | bool two_returns) { | ||
| 66 | constexpr std::uint32_t op_branch_conditional = 250; | ||
| 67 | constexpr std::uint32_t id_main = 1, id_void = 2, id_fn = 3, id_label0 = 4, id_f32 = 5, id_pf_out = 6, | ||
| 68 | id_frag_depth = 7, id_v4f = 8, id_pv4_in = 9, id_frag_coord = 10, id_bool = 11, | ||
| 69 | id_true = 12, id_label1 = 13, id_label2 = 14, id_c = 15, id_z = 16, bound = 17; | ||
| 70 | std::vector<std::uint32_t> w = {0x07230203u, 0x00010000u, 0, bound, 0}; | ||
| 71 | auto put = [&](Inst i) { w.insert(w.end(), i.begin(), i.end()); }; | ||
| 72 | put(make(op_capability, {1})); | ||
| 73 | put(make(op_memory_model, {0, 1})); | ||
| 74 | Inst ep = make(op_entry_point, {model_fragment, id_main}); | ||
| 75 | append_string(ep, "main"); | ||
| 76 | if (writes_depth) { | ||
| 77 | ep.push_back(id_frag_coord); | ||
| 78 | ep.push_back(id_frag_depth); | ||
| 79 | } | ||
| 80 | fix_length(ep); | ||
| 81 | put(ep); | ||
| 82 | put(make(op_execution_mode, {id_main, mode_origin_upper_left})); | ||
| 83 | if (early_tests) put(make(op_execution_mode, {id_main, mode_early_fragment_tests})); | ||
| 84 | if (conservative_greater) put(make(op_execution_mode, {id_main, mode_depth_greater})); | ||
| 85 | if (writes_depth) { | ||
| 86 | put(make(op_decorate, {id_frag_coord, decoration_builtin, builtin_frag_coord})); | ||
| 87 | put(make(op_decorate, {id_frag_depth, decoration_builtin, builtin_frag_depth})); | ||
| 88 | } | ||
| 89 | put(make(op_type_void, {id_void})); | ||
| 90 | put(make(op_type_function, {id_fn, id_void})); | ||
| 91 | if (writes_depth) { | ||
| 92 | put(make(op_type_float, {id_f32, 32})); | ||
| 93 | put(make(op_type_pointer, {id_pf_out, storage_output, id_f32})); | ||
| 94 | put(make(op_type_vector, {id_v4f, id_f32, 4})); | ||
| 95 | put(make(op_type_pointer, {id_pv4_in, storage_input, id_v4f})); | ||
| 96 | if (two_returns) { | ||
| 97 | put(make(op_type_bool, {id_bool})); | ||
| 98 | put(make(41 /* OpConstantTrue */, {id_bool, id_true})); | ||
| 99 | } | ||
| 100 | put(make(op_variable, {id_pv4_in, id_frag_coord, storage_input})); | ||
| 101 | put(make(op_variable, {id_pf_out, id_frag_depth, storage_output})); | ||
| 102 | } | ||
| 103 | put(make(op_function, {id_void, id_main, 0, id_fn})); | ||
| 104 | put(make(op_label, {id_label0})); | ||
| 105 | if (writes_depth) { | ||
| 106 | put(make(op_load, {id_v4f, id_c, id_frag_coord})); | ||
| 107 | put(make(op_composite_extract, {id_f32, id_z, id_c, 2})); | ||
| 108 | put(make(op_store, {id_frag_depth, id_z})); | ||
| 109 | if (two_returns) { | ||
| 110 | put(make(op_branch_conditional, {id_true, id_label1, id_label2})); | ||
| 111 | put(make(op_label, {id_label1})); | ||
| 112 | put(make(op_return, {})); | ||
| 113 | put(make(op_label, {id_label2})); | ||
| 114 | } | ||
| 115 | } | ||
| 116 | put(make(op_return, {})); | ||
| 117 | put(make(op_function_end, {})); | ||
| 118 | return w; | ||
| 119 | } | ||
| 120 | |||
| 121 | // Structural SPIR-V checker + interpreter for depth24_patch_fragment output. | ||
| 122 | struct SpvProgram { | ||
| 123 | std::uint32_t bound = 0; | ||
| 124 | std::uint32_t glsl_id = 0; | ||
| 125 | std::uint32_t frag_coord_var = 0; | ||
| 126 | std::uint32_t frag_depth_var = 0; | ||
| 127 | bool has_depth_replacing = false; | ||
| 128 | bool has_conservative_depth = false; | ||
| 129 | bool frag_depth_in_interface = false; | ||
| 130 | bool frag_coord_in_interface = false; | ||
| 131 | std::unordered_map<std::uint32_t, std::uint32_t> const_u32; | ||
| 132 | std::unordered_map<std::uint32_t, bool> const_bool; | ||
| 133 | std::vector<Inst> body; | ||
| 134 | |||
| 135 | bool parse_and_validate(const std::vector<std::uint32_t>& words, std::string& err) { | ||
| 136 | if (words.size() < 5 || words[0] != 0x07230203u) { | ||
| 137 | err = "bad magic"; | ||
| 138 | return false; | ||
| 139 | } | ||
| 140 | bound = words[3]; | ||
| 141 | std::vector<Inst> insts; | ||
| 142 | for (std::size_t w = 5; w < words.size();) { | ||
| 143 | const std::uint32_t count = words[w] >> 16; | ||
| 144 | if (count == 0 || w + count > words.size()) { | ||
| 145 | err = "truncated instruction"; | ||
| 146 | return false; | ||
| 147 | } | ||
| 148 | insts.emplace_back(words.begin() + std::ptrdiff_t(w), words.begin() + std::ptrdiff_t(w + count)); | ||
| 149 | w += count; | ||
| 150 | } | ||
| 151 | |||
| 152 | // Section order check: Capability(0) -> ExtInstImport(1) -> MemoryModel(2) -> EntryPoint(3) | ||
| 153 | // -> ExecutionMode(4) -> Decorations(5) -> Globals/Types/Constants/Variables(6) -> Functions(7). | ||
| 154 | int section = 0; | ||
| 155 | std::unordered_set<std::uint32_t> defined_globals; | ||
| 156 | std::unordered_set<std::uint32_t> interface_ids; | ||
| 157 | bool in_fn = false; | ||
| 158 | std::size_t body_start = 0; | ||
| 159 | |||
| 160 | auto check_id = [&](std::uint32_t id) { return id > 0 && id < bound; }; | ||
| 161 | |||
| 162 | for (std::size_t idx = 0; idx < insts.size(); ++idx) { | ||
| 163 | const Inst& i = insts[idx]; | ||
| 164 | const std::uint32_t op = opcode(i); | ||
| 165 | if (!in_fn) { | ||
| 166 | int s = section; | ||
| 167 | if (op == op_capability) s = 0; | ||
| 168 | else if (op == op_ext_inst_import) s = 1; | ||
| 169 | else if (op == op_memory_model) s = 2; | ||
| 170 | else if (op == op_entry_point) s = 3; | ||
| 171 | else if (op == op_execution_mode || op == op_execution_mode_id) s = 4; | ||
| 172 | else if (op == op_decorate) s = 5; | ||
| 173 | else if (is_global_decl(op)) s = 6; | ||
| 174 | else if (op == op_function) s = 7; | ||
| 175 | if (s < section) { | ||
| 176 | err = "out-of-order SPIR-V section"; | ||
| 177 | return false; | ||
| 178 | } | ||
| 179 | section = s; | ||
| 180 | } | ||
| 181 | |||
| 182 | if (op == op_ext_inst_import) { | ||
| 183 | if (i.size() < 3 || !check_id(i[1])) { | ||
| 184 | err = "bad ExtInstImport"; | ||
| 185 | return false; | ||
| 186 | } | ||
| 187 | std::string name((i.size() - 2) * 4, '\0'); | ||
| 188 | std::memcpy(name.data(), &i[2], name.size()); | ||
| 189 | if (std::strcmp(name.c_str(), "GLSL.std.450") == 0) glsl_id = i[1]; | ||
| 190 | defined_globals.insert(i[1]); | ||
| 191 | } else if (op == op_entry_point) { | ||
| 192 | const std::size_t names = 3 + string_words(i, 3); | ||
| 193 | for (std::size_t w = names; w < i.size(); ++w) interface_ids.insert(i[w]); | ||
| 194 | } else if (op == op_execution_mode && i.size() >= 3) { | ||
| 195 | if (i[2] == mode_depth_replacing) has_depth_replacing = true; | ||
| 196 | if (i[2] == mode_depth_greater || i[2] == mode_depth_less || i[2] == mode_depth_unchanged) | ||
| 197 | has_conservative_depth = true; | ||
| 198 | } else if (op == op_decorate && i.size() == 4 && i[2] == decoration_builtin) { | ||
| 199 | if (i[3] == builtin_frag_coord) frag_coord_var = i[1]; | ||
| 200 | if (i[3] == builtin_frag_depth) frag_depth_var = i[1]; | ||
| 201 | } else if (!in_fn && is_global_decl(op)) { | ||
| 202 | std::uint32_t res = 0; | ||
| 203 | if (op == op_constant && i.size() == 4) { | ||
| 204 | res = i[2]; | ||
| 205 | const_u32[res] = i[3]; | ||
| 206 | } else if (op == 41 /* OpConstantTrue */ && i.size() == 3) { | ||
| 207 | res = i[2]; | ||
| 208 | const_bool[res] = true; | ||
| 209 | } else if (op == op_variable && i.size() >= 4) { | ||
| 210 | res = i[2]; | ||
| 211 | } else if (op >= op_type_void && op <= 39 && i.size() >= 2) { | ||
| 212 | res = i[1]; | ||
| 213 | } | ||
| 214 | if (res) { | ||
| 215 | if (!check_id(res) || !defined_globals.insert(res).second) { | ||
| 216 | err = "duplicate or out-of-bounds global id"; | ||
| 217 | return false; | ||
| 218 | } | ||
| 219 | } | ||
| 220 | } else if (op == op_function) { | ||
| 221 | in_fn = true; | ||
| 222 | body_start = idx; | ||
| 223 | body.push_back(i); | ||
| 224 | } else if (in_fn) { | ||
| 225 | body.push_back(i); | ||
| 226 | if (op == op_function_end) in_fn = false; | ||
| 227 | } | ||
| 228 | } | ||
| 229 | if (body_start == 0 || body.empty()) { | ||
| 230 | err = "missing function body"; | ||
| 231 | return false; | ||
| 232 | } | ||
| 233 | frag_depth_in_interface = frag_depth_var && interface_ids.count(frag_depth_var) != 0; | ||
| 234 | frag_coord_in_interface = frag_coord_var && interface_ids.count(frag_coord_var) != 0; | ||
| 235 | |||
| 236 | // Verify every SSA operand in the function body is defined (either globally before OpFunction or earlier in | ||
| 237 | // the body) and every result id is unique and < bound. | ||
| 238 | std::unordered_set<std::uint32_t> defs = defined_globals; | ||
| 239 | for (const Inst& i : body) { | ||
| 240 | const std::uint32_t op = opcode(i); | ||
| 241 | if (op == op_function || op == op_label || op == op_return || op == op_function_end) { | ||
| 242 | if (op == op_label && i.size() == 2) defs.insert(i[1]); | ||
| 243 | continue; | ||
| 244 | } | ||
| 245 | if (op == 250 /* OpBranchConditional */) { | ||
| 246 | if (i.size() != 4 || !defs.count(i[1])) { | ||
| 247 | err = "undefined branch condition"; | ||
| 248 | return false; | ||
| 249 | } | ||
| 250 | continue; | ||
| 251 | } | ||
| 252 | if (op == op_store) { | ||
| 253 | if (i.size() != 3 || !defs.count(i[1]) || !defs.count(i[2])) { | ||
| 254 | err = "undefined operand in OpStore"; | ||
| 255 | return false; | ||
| 256 | } | ||
| 257 | continue; | ||
| 258 | } | ||
| 259 | if (i.size() < 3 || !check_id(i[2])) { | ||
| 260 | err = "bad result id in function body"; | ||
| 261 | return false; | ||
| 262 | } | ||
| 263 | if (!defs.count(i[1])) { | ||
| 264 | err = "undefined result type id"; | ||
| 265 | return false; | ||
| 266 | } | ||
| 267 | const std::size_t first_arg = op == op_ext_inst ? 5 : 3; | ||
| 268 | if (op == op_ext_inst && (i.size() < 5 || i[3] != glsl_id)) { | ||
| 269 | err = "bad ExtInst import id"; | ||
| 270 | return false; | ||
| 271 | } | ||
| 272 | for (std::size_t a = first_arg; a < i.size(); ++a) { | ||
| 273 | if (op == op_composite_extract && a > 3) continue; // literal component index | ||
| 274 | if (!defs.count(i[a])) { | ||
| 275 | err = "undefined operand id in function body (missing from prime_quantise?)"; | ||
| 276 | return false; | ||
| 277 | } | ||
| 278 | } | ||
| 279 | if (!defs.insert(i[2]).second) { | ||
| 280 | err = "duplicate result id in function body"; | ||
| 281 | return false; | ||
| 282 | } | ||
| 283 | } | ||
| 284 | return true; | ||
| 285 | } | ||
| 286 | |||
| 287 | // Executes the entry function for a given FragCoord.z and screen-space slopes (dz_dx, dz_dy). | ||
| 288 | bool eval(float z_in, float dz_dx, float dz_dy, float& z_out, std::string& err) const { | ||
| 289 | std::unordered_map<std::uint32_t, std::uint32_t> u32_val = const_u32; | ||
| 290 | std::unordered_map<std::uint32_t, bool> bool_val = const_bool; | ||
| 291 | std::unordered_map<std::uint32_t, std::array<float, 4>> vec4_val; | ||
| 292 | float frag_depth = std::numeric_limits<float>::quiet_NaN(); | ||
| 293 | bool wrote_depth = false; | ||
| 294 | |||
| 295 | std::unordered_map<std::uint32_t, std::size_t> labels; | ||
| 296 | for (std::size_t k = 0; k < body.size(); ++k) | ||
| 297 | if (opcode(body[k]) == op_label && body[k].size() == 2) labels[body[k][1]] = k; | ||
| 298 | |||
| 299 | for (std::size_t pc = 0; pc < body.size(); ++pc) { | ||
| 300 | const Inst& i = body[pc]; | ||
| 301 | const std::uint32_t op = opcode(i); | ||
| 302 | switch (op) { | ||
| 303 | case op_function: | ||
| 304 | case op_label: | ||
| 305 | break; | ||
| 306 | case op_return: | ||
| 307 | if (!wrote_depth) { | ||
| 308 | err = "shader returned without writing FragDepth"; | ||
| 309 | return false; | ||
| 310 | } | ||
| 311 | z_out = frag_depth; | ||
| 312 | return true; | ||
| 313 | case op_function_end: | ||
| 314 | err = "fell off end of function"; | ||
| 315 | return false; | ||
| 316 | case 250: { // OpBranchConditional | ||
| 317 | const std::uint32_t target = bool_val.at(i[1]) ? i[2] : i[3]; | ||
| 318 | pc = labels.at(target); | ||
| 319 | break; | ||
| 320 | } | ||
| 321 | case op_load: | ||
| 322 | if (i[3] == frag_coord_var) { | ||
| 323 | vec4_val[i[2]] = {0.5f, 0.5f, z_in, 1.0f}; | ||
| 324 | } else if (i[3] == frag_depth_var) { | ||
| 325 | u32_val[i[2]] = f_bits(frag_depth); | ||
| 326 | } else { | ||
| 327 | err = "unexpected OpLoad variable"; | ||
| 328 | return false; | ||
| 329 | } | ||
| 330 | break; | ||
| 331 | case op_store: | ||
| 332 | if (i[1] != frag_depth_var) { | ||
| 333 | err = "unexpected OpStore variable"; | ||
| 334 | return false; | ||
| 335 | } | ||
| 336 | frag_depth = u_float(u32_val.at(i[2])); | ||
| 337 | wrote_depth = true; | ||
| 338 | break; | ||
| 339 | case op_composite_extract: | ||
| 340 | u32_val[i[2]] = f_bits(vec4_val.at(i[3])[i[4]]); | ||
| 341 | break; | ||
| 342 | case op_bitcast: | ||
| 343 | u32_val[i[2]] = u32_val.at(i[3]); | ||
| 344 | break; | ||
| 345 | case op_f_add: | ||
| 346 | u32_val[i[2]] = f_bits(u_float(u32_val.at(i[3])) + u_float(u32_val.at(i[4]))); | ||
| 347 | break; | ||
| 348 | case op_f_mul: | ||
| 349 | u32_val[i[2]] = f_bits(u_float(u32_val.at(i[3])) * u_float(u32_val.at(i[4]))); | ||
| 350 | break; | ||
| 351 | case op_dpdx: | ||
| 352 | u32_val[i[2]] = f_bits(dz_dx); | ||
| 353 | break; | ||
| 354 | case op_dpdy: | ||
| 355 | u32_val[i[2]] = f_bits(dz_dy); | ||
| 356 | break; | ||
| 357 | case op_convert_f_to_u: { | ||
| 358 | const float v = u_float(u32_val.at(i[3])); | ||
| 359 | if (!(v >= 0.0f) || v > 4294967295.0f) { | ||
| 360 | err = "OpConvertFToU received out-of-range or NaN float"; | ||
| 361 | return false; | ||
| 362 | } | ||
| 363 | u32_val[i[2]] = static_cast<std::uint32_t>(v); | ||
| 364 | break; | ||
| 365 | } | ||
| 366 | case op_convert_u_to_f: | ||
| 367 | u32_val[i[2]] = f_bits(static_cast<float>(u32_val.at(i[3]))); | ||
| 368 | break; | ||
| 369 | case op_i_add: | ||
| 370 | u32_val[i[2]] = u32_val.at(i[3]) + u32_val.at(i[4]); | ||
| 371 | break; | ||
| 372 | case op_i_sub: | ||
| 373 | u32_val[i[2]] = u32_val.at(i[3]) - u32_val.at(i[4]); | ||
| 374 | break; | ||
| 375 | case op_shift_left_logical: { | ||
| 376 | const std::uint32_t sh = u32_val.at(i[4]); | ||
| 377 | if (sh >= 32u) { | ||
| 378 | err = "OpShiftLeftLogical with shift >= 32 (UB in SPIR-V)"; | ||
| 379 | return false; | ||
| 380 | } | ||
| 381 | u32_val[i[2]] = u32_val.at(i[3]) << sh; | ||
| 382 | break; | ||
| 383 | } | ||
| 384 | case 194u: { // OpShiftRightLogical | ||
| 385 | const std::uint32_t sh = u32_val.at(i[4]); | ||
| 386 | if (sh >= 32u) { | ||
| 387 | err = "OpShiftRightLogical with shift >= 32 (UB in SPIR-V)"; | ||
| 388 | return false; | ||
| 389 | } | ||
| 390 | u32_val[i[2]] = u32_val.at(i[3]) >> sh; | ||
| 391 | break; | ||
| 392 | } | ||
| 393 | case op_i_equal: | ||
| 394 | bool_val[i[2]] = u32_val.at(i[3]) == u32_val.at(i[4]); | ||
| 395 | break; | ||
| 396 | case op_u_greater_than: | ||
| 397 | bool_val[i[2]] = u32_val.at(i[3]) > u32_val.at(i[4]); | ||
| 398 | break; | ||
| 399 | case op_u_greater_than_equal: | ||
| 400 | bool_val[i[2]] = u32_val.at(i[3]) >= u32_val.at(i[4]); | ||
| 401 | break; | ||
| 402 | case op_select: | ||
| 403 | u32_val[i[2]] = bool_val.at(i[3]) ? u32_val.at(i[4]) : u32_val.at(i[5]); | ||
| 404 | break; | ||
| 405 | case op_ext_inst: { | ||
| 406 | const std::uint32_t ext_op = i[4]; | ||
| 407 | if (ext_op == glsl_round_even) { | ||
| 408 | const float x = u_float(u32_val.at(i[5])); | ||
| 409 | const float r = std::isfinite(x) ? static_cast<float>(round_half_even(double(x))) : x; | ||
| 410 | u32_val[i[2]] = f_bits(r); | ||
| 411 | } else if (ext_op == glsl_fabs) { | ||
| 412 | u32_val[i[2]] = f_bits(std::fabs(u_float(u32_val.at(i[5])))); | ||
| 413 | } else if (ext_op == glsl_fmin) { | ||
| 414 | // GLSL.std.450 FMin: if one operand is NaN, the other is returned. | ||
| 415 | const float a = u_float(u32_val.at(i[5])), b = u_float(u32_val.at(i[6])); | ||
| 416 | u32_val[i[2]] = f_bits(std::isnan(a) ? b : std::isnan(b) ? a : (a < b ? a : b)); | ||
| 417 | } else if (ext_op == glsl_fmax) { | ||
| 418 | const float a = u_float(u32_val.at(i[5])), b = u_float(u32_val.at(i[6])); | ||
| 419 | u32_val[i[2]] = f_bits(std::isnan(a) ? b : std::isnan(b) ? a : (a > b ? a : b)); | ||
| 420 | } else if (ext_op == glsl_find_umsb) { | ||
| 421 | const std::uint32_t v = u32_val.at(i[5]); | ||
| 422 | u32_val[i[2]] = v == 0u ? 0xffffffffu : static_cast<std::uint32_t>(31 - std::countl_zero(v)); | ||
| 423 | } else { | ||
| 424 | err = "unexpected GLSL.std.450 instruction"; | ||
| 425 | return false; | ||
| 426 | } | ||
| 427 | break; | ||
| 428 | } | ||
| 429 | default: | ||
| 430 | err = "unexpected SPIR-V opcode"; | ||
| 431 | return false; | ||
| 432 | } | ||
| 433 | } | ||
| 434 | err = "no return reached"; | ||
| 435 | return false; | ||
| 436 | } | ||
| 437 | }; | ||
| 438 | |||
| 439 | int test_d16_exhaustive() { | ||
| 440 | const Depth24Bias d16_bias{0, 0.0f, 0.0f, 65535.0f}; | ||
| 441 | const std::vector<std::uint32_t> depth_only = depth24_depth_only_fragment(d16_bias); | ||
| 442 | EXPECT(!depth_only.empty()); | ||
| 443 | |||
| 444 | std::string why, err; | ||
| 445 | const std::vector<std::uint32_t> ps_plain = | ||
| 446 | depth24_patch_fragment(make_synthetic_fragment(false, false, true, false), d16_bias, why); | ||
| 447 | EXPECT(!ps_plain.empty()); | ||
| 448 | const std::vector<std::uint32_t> ps_write = | ||
| 449 | depth24_patch_fragment(make_synthetic_fragment(true, false, true, true), d16_bias, why); | ||
| 450 | EXPECT(!ps_write.empty()); | ||
| 451 | |||
| 452 | for (const auto& spv : {depth_only, ps_plain, ps_write}) { | ||
| 453 | SpvProgram prog; | ||
| 454 | if (!prog.parse_and_validate(spv, err)) { | ||
| 455 | std::fprintf(stderr, "D16 validate failed: %s\n", err.c_str()); | ||
| 456 | return 1; | ||
| 457 | } | ||
| 458 | EXPECT(prog.has_depth_replacing); | ||
| 459 | EXPECT(!prog.has_conservative_depth); | ||
| 460 | EXPECT(prog.frag_depth_in_interface); | ||
| 461 | EXPECT(prog.frag_coord_in_interface); | ||
| 462 | |||
| 463 | // Exhaustive check of all 65,536 16-bit UNORM codes (round-trip bit-for-bit exact). | ||
| 464 | for (std::uint32_t d = 0; d <= 65535u; ++d) { | ||
| 465 | const float z = static_cast<float>(double(d) / 65535.0); | ||
| 466 | float out = 0.0f; | ||
| 467 | if (!prog.eval(z, 0.0f, 0.0f, out, err)) { | ||
| 468 | std::fprintf(stderr, "D16 eval failed at d=%u: %s\n", d, err.c_str()); | ||
| 469 | return 1; | ||
| 470 | } | ||
| 471 | if (f_bits(out) != f_bits(z)) { | ||
| 472 | std::fprintf(stderr, "D16 mismatch at d=%u: got %08x (%.9g), want %08x (%.9g)\n", | ||
| 473 | d, f_bits(out), out, f_bits(z), z); | ||
| 474 | return 1; | ||
| 475 | } | ||
| 476 | } | ||
| 477 | |||
| 478 | // Half-step ties and neighbors across the full 16-bit range. | ||
| 479 | for (std::uint32_t d = 0; d < 65535u; d += 17u) { | ||
| 480 | const float mid = static_cast<float>((double(d) + 0.5) / 65535.0); | ||
| 481 | for (float z : {std::nextafter(mid, 0.0f), mid, std::nextafter(mid, 1.0f)}) { | ||
| 482 | float out = 0.0f; | ||
| 483 | EXPECT(prog.eval(z, 0.0f, 0.0f, out, err)); | ||
| 484 | const float want = ref_quantize_float(z, 65535.0, 0xffffu); | ||
| 485 | EXPECT(f_bits(out) == f_bits(want)); | ||
| 486 | } | ||
| 487 | } | ||
| 488 | |||
| 489 | // IEEE-754 specials: zeros, subnormals, negatives, infinities, NaNs, >1.0. | ||
| 490 | const std::uint32_t specials[] = { | ||
| 491 | 0x00000000u, 0x80000000u, 0x00000001u, 0x007fffffu, 0x00800000u, 0xbf800000u, | ||
| 492 | 0xff800000u, 0x7f800000u, 0x7fc00000u, 0x7fa00001u, 0xffc00000u, 0x3f7fffffu, | ||
| 493 | 0x3f800000u, 0x3f800001u, 0x40000000u, 0x7f7fffffu, | ||
| 494 | }; | ||
| 495 | for (std::uint32_t bits : specials) { | ||
| 496 | const float z = u_float(bits); | ||
| 497 | float out = 0.0f; | ||
| 498 | if (!prog.eval(z, 0.0f, 0.0f, out, err)) { | ||
| 499 | std::fprintf(stderr, "D16 special %08x eval failed: %s\n", bits, err.c_str()); | ||
| 500 | return 1; | ||
| 501 | } | ||
| 502 | const float want = ref_quantize_float(z, 65535.0, 0xffffu); | ||
| 503 | if (f_bits(out) != f_bits(want)) { | ||
| 504 | std::fprintf(stderr, "D16 special %08x mismatch: got %08x want %08x\n", | ||
| 505 | bits, f_bits(out), f_bits(want)); | ||
| 506 | return 1; | ||
| 507 | } | ||
| 508 | } | ||
| 509 | } | ||
| 510 | return 0; | ||
| 511 | } | ||
| 512 | |||
| 513 | int test_d16_and_d24_bias_and_clamp() { | ||
| 514 | struct Case { | ||
| 515 | float levels; | ||
| 516 | std::uint32_t max_code; | ||
| 517 | int constant; | ||
| 518 | float slope; | ||
| 519 | float clamp; | ||
| 520 | float z; | ||
| 521 | float dx; | ||
| 522 | float dy; | ||
| 523 | }; | ||
| 524 | const Case cases[] = { | ||
| 525 | {65535.0f, 0xffffu, 1, 0.0f, 0.0f, 0.25f, 0.0f, 0.0f}, | ||
| 526 | {65535.0f, 0xffffu, -3, 2.0f, 0.0f, 0.5f, -0.002f, 0.004f}, | ||
| 527 | {65535.0f, 0xffffu, 5, 4.0f, 0.01f, 0.5f, 0.01f, 0.0f}, // positive clamp caps bias | ||
| 528 | {65535.0f, 0xffffu, -5, -4.0f, -0.01f, 0.5f, 0.01f, 0.0f}, // negative clamp floors bias | ||
| 529 | {16777215.0f, 0xffffffu, 1, 0.0f, 0.0f, 0.15625f, 0.0f, 0.0f}, | ||
| 530 | {16777215.0f, 0xffffffu, 1000, 1.5f, 0.004f, 0.5f, 0.003f, -0.005f}, | ||
| 531 | {16777215.0f, 0xffffffu, -5, -2.0f, -0.01f, 0.7f, 0.008f, 0.002f}, | ||
| 532 | }; | ||
| 533 | for (const Case& c : cases) { | ||
| 534 | const Depth24Bias bias{c.constant, c.slope, c.clamp, c.levels}; | ||
| 535 | const std::vector<std::uint32_t> spv = depth24_depth_only_fragment(bias); | ||
| 536 | EXPECT(!spv.empty()); | ||
| 537 | SpvProgram prog; | ||
| 538 | std::string err; | ||
| 539 | EXPECT(prog.parse_and_validate(spv, err)); | ||
| 540 | float out = 0.0f; | ||
| 541 | EXPECT(prog.eval(c.z, c.dx, c.dy, out, err)); | ||
| 542 | float amount = c.slope * std::fmax(std::fabs(c.dx), std::fabs(c.dy)) + | ||
| 543 | depth24_bias_constant(c.constant, c.levels); | ||
| 544 | if (c.clamp > 0.0f) amount = std::fmin(amount, c.clamp); | ||
| 545 | if (c.clamp < 0.0f) amount = std::fmax(amount, c.clamp); | ||
| 546 | const float want = ref_quantize_float(c.z + amount, double(c.levels), c.max_code); | ||
| 547 | EXPECT(f_bits(out) == f_bits(want)); | ||
| 548 | |||
| 549 | // Shader-written SV_Depth must be quantised WITHOUT rasterizer bias. | ||
| 550 | std::string why; | ||
| 551 | const std::vector<std::uint32_t> sw = | ||
| 552 | depth24_patch_fragment(make_synthetic_fragment(true, false, false, false), bias, why); | ||
| 553 | EXPECT(!sw.empty()); | ||
| 554 | SpvProgram sw_prog; | ||
| 555 | EXPECT(sw_prog.parse_and_validate(sw, err)); | ||
| 556 | float sw_out = 0.0f; | ||
| 557 | EXPECT(sw_prog.eval(c.z, c.dx, c.dy, sw_out, err)); | ||
| 558 | const float sw_want = ref_quantize_float(c.z, double(c.levels), c.max_code); | ||
| 559 | EXPECT(f_bits(sw_out) == f_bits(sw_want)); | ||
| 560 | } | ||
| 561 | return 0; | ||
| 562 | } | ||
| 563 | |||
| 564 | int test_d24_boundary_codes() { | ||
| 565 | const Depth24Bias d24_bias{}; | ||
| 566 | const std::vector<std::uint32_t> spv = depth24_depth_only_fragment(d24_bias); | ||
| 567 | EXPECT(!spv.empty()); | ||
| 568 | SpvProgram prog; | ||
| 569 | std::string err; | ||
| 570 | EXPECT(prog.parse_and_validate(spv, err)); | ||
| 571 | |||
| 572 | const std::uint32_t sample_codes[] = { | ||
| 573 | 0u, 1u, 2u, 3u, 127u, 128u, 255u, 256u, 65535u, 65536u, | ||
| 574 | 5033000u, 0x7fffffu, 0x800000u, 0xfffffeu, 0xffffffu, | ||
| 575 | }; | ||
| 576 | for (std::uint32_t d : sample_codes) { | ||
| 577 | const float z = static_cast<float>(double(d) / 16777215.0); | ||
| 578 | float out = 0.0f; | ||
| 579 | EXPECT(prog.eval(z, 0.0f, 0.0f, out, err)); | ||
| 580 | EXPECT(f_bits(out) == f_bits(z)); | ||
| 581 | } | ||
| 582 | return 0; | ||
| 583 | } | ||
| 584 | |||
| 585 | int test_rejections() { | ||
| 586 | std::string why; | ||
| 587 | const auto base = make_synthetic_fragment(false, false, false, false); | ||
| 588 | for (float bad : {0.0f, -1.0f, 255.0f, 65536.0f, std::numeric_limits<float>::quiet_NaN()}) { | ||
| 589 | const Depth24Bias bias{0, 0.0f, 0.0f, bad}; | ||
| 590 | why.clear(); | ||
| 591 | EXPECT(depth24_patch_fragment(base, bias, why).empty() && !why.empty()); | ||
| 592 | EXPECT(depth24_depth_only_fragment(bias).empty()); | ||
| 593 | } | ||
| 594 | why.clear(); | ||
| 595 | EXPECT(depth24_patch_fragment(make_synthetic_fragment(false, true, false, false), {}, why).empty() && !why.empty()); | ||
| 596 | return 0; | ||
| 597 | } | ||
| 598 | |||
| 599 | } // namespace | ||
| 600 | |||
| 601 | int main() { | ||
| 602 | if (test_d16_exhaustive() != 0) return 1; | ||
| 603 | if (test_d16_and_d24_bias_and_clamp() != 0) return 1; | ||
| 604 | if (test_d24_boundary_codes() != 0) return 1; | ||
| 605 | if (test_rejections() != 0) return 1; | ||
| 606 | std::printf("depth24_fragment_test: ok (all 65536 D16 codes, ties, specials, bias/clamp, D24 parity)\n"); | ||
| 607 | return 0; | ||
| 608 | } | ||
diff --git a/runtime/test/dstorage_test.cpp b/runtime/test/dstorage_test.cpp index c24bcdb65..fa1b529d0 100644 --- a/runtime/test/dstorage_test.cpp +++ b/runtime/test/dstorage_test.cpp | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #include <span> | 18 | #include <span> |
| 19 | #include "../src/bcpack.h" | 19 | #include "../src/bcpack.h" |
| 20 | #include "../src/bcpack_stream.h" | 20 | #include "../src/bcpack_stream.h" |
| 21 | #include "../src/dstorage_hold.h" | ||
| 21 | #include "../src/title_geometry_watch.h" | 22 | #include "../src/title_geometry_watch.h" |
| 22 | #include "../src/title_page_watch.h" | 23 | #include "../src/title_page_watch.h" |
| 23 | #include "xmem.h" | 24 | #include "xmem.h" |
| @@ -1613,6 +1614,259 @@ void test_extended(Env& env) { | |||
| 1613 | q->Release(); | 1614 | q->Release(); |
| 1614 | } | 1615 | } |
| 1615 | 1616 | ||
| 1617 | // A queue half full submits itself, but a read into physical pages and everything behind it wait for Submit: the | ||
| 1618 | // title may fill the page list right before its own Submit. Until then the list names no page (the read would | ||
| 1619 | // fail) or the page its slot named before (the data would land in a page that belongs to something else). The two | ||
| 1620 | // cases of Marvisak/VIctory eddde73, then the ways a hold ends without Submit. | ||
| 1621 | void test_page_reads_wait_for_submit(Env& env) { | ||
| 1622 | const auto alloc = reinterpret_cast<BOOL(WINAPI*)(uint64_t,uint64_t*,uint64_t*)>( | ||
| 1623 | rt::shims::find("xmem.dll", "XMemAllocatePhysicalPages")); | ||
| 1624 | const auto reserve = reinterpret_cast<void*(WINAPI*)(void*,SIZE_T,DWORD,uint64_t,DWORD)>( | ||
| 1625 | rt::shims::find("xmem.dll", "XMemVirtualAlloc")); | ||
| 1626 | const auto map = reinterpret_cast<void*(WINAPI*)(void*,uint64_t,const uint64_t*)>( | ||
| 1627 | rt::shims::find("xmem.dll", "XMemMapPhysicalPages")); | ||
| 1628 | const auto free_pages = reinterpret_cast<BOOL(WINAPI*)(uint64_t,const uint64_t*)>( | ||
| 1629 | rt::shims::find("xmem.dll", "XMemFreePhysicalPages")); | ||
| 1630 | uint64_t pages[2]{}, count = 2; | ||
| 1631 | constexpr size_t page = 65536, bytes = 4096; | ||
| 1632 | auto* window = static_cast<uint8_t*>(reserve(nullptr, 2*page, MEM_RESERVE | 0x20400000, 0x21, PAGE_READWRITE)); | ||
| 1633 | const bool allocated = window && alloc(0x280, &count, pages); | ||
| 1634 | const bool mapped = allocated && map(window, 2, pages) == window; | ||
| 1635 | check(mapped, "two physical pages mapped for the held reads"); | ||
| 1636 | if (!mapped) { | ||
| 1637 | if (allocated) free_pages(count, pages); | ||
| 1638 | if (window) VirtualFree(window, 0, MEM_RELEASE); | ||
| 1639 | return; | ||
| 1640 | } | ||
| 1641 | auto& h = leonida::dstorage::hold_stats(); | ||
| 1642 | const auto plain = pattern(bytes, 9); | ||
| 1643 | const auto into_pages = [&](ULONG_PTR* list) { | ||
| 1644 | DSTORAGE_REQUEST r{}; | ||
| 1645 | r.Options.AsUINT64 = options::kSourceMemory | options::kDestinationPages; | ||
| 1646 | r.DestinationPageArray = list; | ||
| 1647 | r.DestinationPageOffset = 0; | ||
| 1648 | r.Source = plain.data(); | ||
| 1649 | r.SourceSize = r.DestinationSize = static_cast<uint32_t>(bytes); | ||
| 1650 | return r; | ||
| 1651 | }; | ||
| 1652 | const auto into_buffer = [&](uint8_t* out) { | ||
| 1653 | DSTORAGE_REQUEST r{}; | ||
| 1654 | r.Options.AsUINT64 = options::kSourceMemory; | ||
| 1655 | r.Destination = out; | ||
| 1656 | r.Source = plain.data(); | ||
| 1657 | r.SourceSize = r.DestinationSize = 16; | ||
| 1658 | return r; | ||
| 1659 | }; | ||
| 1660 | const auto zero = [&](const uint8_t* at, size_t n) { return std::all_of(at, at + n, [](uint8_t b) { return b == 0; }); }; | ||
| 1661 | const auto holds_plain = [&](const uint8_t* at, size_t n) { return std::memcmp(at, plain.data(), n) == 0; }; | ||
| 1662 | const auto errors = [&] { | ||
| 1663 | DSTORAGE_STATS stats{}; | ||
| 1664 | env.factory->GetStats(&stats); | ||
| 1665 | return stats.ErrorCount; | ||
| 1666 | }; | ||
| 1667 | constexpr int kHalf = 0x40; // of a capacity of 0x80 | ||
| 1668 | std::vector<uint8_t> outs(kHalf * 16); | ||
| 1669 | const auto reset = [&] { | ||
| 1670 | std::memset(window, 0, 2*page); | ||
| 1671 | std::fill(outs.begin(), outs.end(), uint8_t{0}); | ||
| 1672 | }; | ||
| 1673 | |||
| 1674 | // The list still names the slot's previous page when the queue submits itself, the right one by Submit. | ||
| 1675 | { | ||
| 1676 | reset(); | ||
| 1677 | auto* q = make_queue(env, 0x80, true, DSTORAGE_REQUEST_SOURCE_MEMORY, DSTORAGE_PRIORITY_REALTIME); | ||
| 1678 | auto* status = make_status(env, 1); | ||
| 1679 | const uint64_t self = h.self_submits.load(), held = h.held_reads.load(), failed = errors(); | ||
| 1680 | ULONG_PTR list[] = {static_cast<ULONG_PTR>(pages[0])}; | ||
| 1681 | DSTORAGE_REQUEST r = into_buffer(outs.data()); | ||
| 1682 | q->EnqueueRequest(&r); | ||
| 1683 | r = into_pages(list); | ||
| 1684 | q->EnqueueRequest(&r); | ||
| 1685 | for (int i = 2; i < kHalf; ++i) { | ||
| 1686 | r = into_buffer(outs.data() + i * 16); | ||
| 1687 | q->EnqueueRequest(&r); // the last one makes half the capacity | ||
| 1688 | } | ||
| 1689 | check(wait_until([&] { return holds_plain(outs.data(), 16); }), | ||
| 1690 | "the entry ahead of a read into pages starts when the queue submits itself"); | ||
| 1691 | Sleep(50); // time for an early read to land in the old page | ||
| 1692 | check(zero(window, bytes), "a self-submit does not write the page the list named before the title's Submit"); | ||
| 1693 | check(zero(outs.data() + 2 * 16, 16), "entries behind a held read keep their place"); | ||
| 1694 | check(h.self_submits.load() == self + 1 && h.held_reads.load() == held + 1, | ||
| 1695 | "one self-submit and one held read are counted"); | ||
| 1696 | DSTORAGE_QUEUE_INFO info{}; | ||
| 1697 | q->Query(&info); | ||
| 1698 | check(info.EmptySlotCount == 0x7f - (kHalf - 1), | ||
| 1699 | "held entries still take their slots"); | ||
| 1700 | list[0] = static_cast<ULONG_PTR>(pages[1]); // the title fills its page table, then submits | ||
| 1701 | q->EnqueueStatus(status, 0); | ||
| 1702 | check_hr(status->GetHResult(0), E_PENDING, "a status behind a held read is pending"); | ||
| 1703 | q->Submit(); | ||
| 1704 | check(wait_complete(status, 0), "the held entries run at Submit"); | ||
| 1705 | check_hr(status->GetHResult(0), S_OK, "a read held for Submit succeeds"); | ||
| 1706 | check(holds_plain(window + page, bytes), "the read lands in the page its list names at Submit"); | ||
| 1707 | check(zero(window, bytes), "the page the list named before stays untouched"); | ||
| 1708 | bool all = true; | ||
| 1709 | for (int i = 2; i < kHalf; ++i) all = all && holds_plain(outs.data() + i * 16, 16); | ||
| 1710 | check(all, "every entry behind the held read ran"); | ||
| 1711 | check(errors() == failed, "no entry failed"); | ||
| 1712 | status->Release(); | ||
| 1713 | q->Release(); | ||
| 1714 | } | ||
| 1715 | |||
| 1716 | // The list is still empty when the queue submits itself: no failure, the read waits. | ||
| 1717 | { | ||
| 1718 | reset(); | ||
| 1719 | auto* q = make_queue(env, 0x80, true, DSTORAGE_REQUEST_SOURCE_MEMORY, DSTORAGE_PRIORITY_REALTIME); | ||
| 1720 | auto* status = make_status(env, 1); | ||
| 1721 | const uint64_t page0 = h.page0_entries.load(), failed = errors(); | ||
| 1722 | ULONG_PTR list[] = {0}; | ||
| 1723 | DSTORAGE_REQUEST r = into_pages(list); | ||
| 1724 | q->EnqueueRequest(&r); | ||
| 1725 | for (int i = 1; i < kHalf; ++i) { | ||
| 1726 | r = into_buffer(outs.data() + i * 16); | ||
| 1727 | q->EnqueueRequest(&r); | ||
| 1728 | } | ||
| 1729 | Sleep(50); | ||
| 1730 | check(h.page0_entries.load() == page0 && errors() == failed, "an empty page list is not read before Submit"); | ||
| 1731 | list[0] = static_cast<ULONG_PTR>(pages[0]); | ||
| 1732 | q->EnqueueStatus(status, 0); | ||
| 1733 | q->Submit(); | ||
| 1734 | check(wait_complete(status, 0), "the read with a late page list completes"); | ||
| 1735 | check_hr(status->GetHResult(0), S_OK, "a page list filled before Submit is written"); | ||
| 1736 | check(holds_plain(window, bytes) && errors() == failed, "its bytes are in the page"); | ||
| 1737 | status->Release(); | ||
| 1738 | q->Release(); | ||
| 1739 | } | ||
| 1740 | |||
| 1741 | // A full queue: the title waits in an enqueue and cannot call Submit, so the held entries go. | ||
| 1742 | { | ||
| 1743 | reset(); | ||
| 1744 | auto* q = make_queue(env, 0x80, true, DSTORAGE_REQUEST_SOURCE_MEMORY, DSTORAGE_PRIORITY_REALTIME); | ||
| 1745 | auto* status = make_status(env, 1); | ||
| 1746 | const uint64_t full = h.full_releases.load(); | ||
| 1747 | ULONG_PTR list[] = {static_cast<ULONG_PTR>(pages[1])}; | ||
| 1748 | constexpr int kMany = 200; | ||
| 1749 | std::vector<uint8_t> sink(kMany * 16); | ||
| 1750 | std::atomic<bool> done{false}; | ||
| 1751 | std::thread producer([&] { | ||
| 1752 | DSTORAGE_REQUEST r = into_pages(list); | ||
| 1753 | q->EnqueueRequest(&r); | ||
| 1754 | for (int i = 0; i < kMany; ++i) { | ||
| 1755 | r = into_buffer(sink.data() + i * 16); | ||
| 1756 | q->EnqueueRequest(&r); | ||
| 1757 | } | ||
| 1758 | q->EnqueueStatus(status, 0); | ||
| 1759 | done.store(true); | ||
| 1760 | }); | ||
| 1761 | check(wait_until([&] { return done.load(); }), "a full queue with held entries does not wait for Submit"); | ||
| 1762 | producer.join(); | ||
| 1763 | check(h.full_releases.load() == full + 1, "the full queue's release is counted"); | ||
| 1764 | q->Submit(); | ||
| 1765 | check(wait_complete(status, 0), "the full queue's entries complete"); | ||
| 1766 | check_hr(status->GetHResult(0), S_OK, "they succeed"); | ||
| 1767 | bool all = holds_plain(window + page, bytes); | ||
| 1768 | for (int i = 0; i < kMany; ++i) all = all && holds_plain(sink.data() + i * 16, 16); | ||
| 1769 | check(all, "every entry of the full queue has its bytes"); | ||
| 1770 | status->Release(); | ||
| 1771 | q->Release(); | ||
| 1772 | } | ||
| 1773 | |||
| 1774 | // A hold has a time limit: held entries go after LEONIDA_DSTORAGE_HOLD_MS without Submit, 2000 ms unless set. | ||
| 1775 | for (const wchar_t* limit : {static_cast<const wchar_t*>(nullptr), L"200"}) { | ||
| 1776 | reset(); | ||
| 1777 | SetEnvironmentVariableW(L"LEONIDA_DSTORAGE_HOLD_MS", limit); | ||
| 1778 | auto* q = make_queue(env, 0x80, true, DSTORAGE_REQUEST_SOURCE_MEMORY, DSTORAGE_PRIORITY_REALTIME); | ||
| 1779 | SetEnvironmentVariableW(L"LEONIDA_DSTORAGE_HOLD_MS", nullptr); | ||
| 1780 | const uint64_t timed = h.timed_releases.load(); | ||
| 1781 | ULONG_PTR list[] = {static_cast<ULONG_PTR>(pages[0])}; | ||
| 1782 | const auto begin = std::chrono::steady_clock::now(); | ||
| 1783 | DSTORAGE_REQUEST r = into_pages(list); | ||
| 1784 | q->EnqueueRequest(&r); | ||
| 1785 | for (int i = 1; i < kHalf; ++i) { | ||
| 1786 | r = into_buffer(outs.data() + i * 16); | ||
| 1787 | q->EnqueueRequest(&r); | ||
| 1788 | } | ||
| 1789 | check(zero(window, bytes), "a hold with a time limit starts as a hold"); | ||
| 1790 | if (!limit) { | ||
| 1791 | Sleep(1000); | ||
| 1792 | check(zero(window, bytes), "the default limit is not over after a second"); | ||
| 1793 | } | ||
| 1794 | check(wait_until([&] { return holds_plain(window, bytes); }), | ||
| 1795 | limit ? "LEONIDA_DSTORAGE_HOLD_MS ends a hold" : "a hold ends by itself without the variable"); | ||
| 1796 | const auto waited = std::chrono::duration_cast<std::chrono::milliseconds>( | ||
| 1797 | std::chrono::steady_clock::now() - begin).count(); | ||
| 1798 | check(waited >= (limit ? 150 : 1900) && waited < (limit ? 2000 : 6000), | ||
| 1799 | limit ? "after about the 200 ms asked for" : "after about the default 2000 ms"); | ||
| 1800 | check(h.timed_releases.load() == timed + 1, "the timed release is counted"); | ||
| 1801 | q->Release(); | ||
| 1802 | } | ||
| 1803 | |||
| 1804 | // LEONIDA_DSTORAGE_HOLD_MS=0: no time limit, the entries wait for Submit. | ||
| 1805 | { | ||
| 1806 | reset(); | ||
| 1807 | SetEnvironmentVariableW(L"LEONIDA_DSTORAGE_HOLD_MS", L"0"); | ||
| 1808 | auto* q = make_queue(env, 0x80, true, DSTORAGE_REQUEST_SOURCE_MEMORY, DSTORAGE_PRIORITY_REALTIME); | ||
| 1809 | SetEnvironmentVariableW(L"LEONIDA_DSTORAGE_HOLD_MS", nullptr); | ||
| 1810 | auto* status = make_status(env, 1); | ||
| 1811 | const uint64_t timed = h.timed_releases.load(); | ||
| 1812 | ULONG_PTR list[] = {static_cast<ULONG_PTR>(pages[0])}; | ||
| 1813 | DSTORAGE_REQUEST r = into_pages(list); | ||
| 1814 | q->EnqueueRequest(&r); | ||
| 1815 | for (int i = 1; i < kHalf; ++i) { | ||
| 1816 | r = into_buffer(outs.data() + i * 16); | ||
| 1817 | q->EnqueueRequest(&r); | ||
| 1818 | } | ||
| 1819 | Sleep(2300); // past the default limit | ||
| 1820 | check(zero(window, bytes) && h.timed_releases.load() == timed, "with 0 a hold outlasts the default limit"); | ||
| 1821 | q->EnqueueStatus(status, 0); | ||
| 1822 | q->Submit(); | ||
| 1823 | check(wait_complete(status, 0) && holds_plain(window, bytes), "and ends at Submit"); | ||
| 1824 | status->Release(); | ||
| 1825 | q->Release(); | ||
| 1826 | } | ||
| 1827 | |||
| 1828 | // LEONIDA_DSTORAGE_HOLD_PAGES=0: the self-submit takes everything, as before. | ||
| 1829 | { | ||
| 1830 | reset(); | ||
| 1831 | SetEnvironmentVariableW(L"LEONIDA_DSTORAGE_HOLD_PAGES", L"0"); | ||
| 1832 | auto* q = make_queue(env, 0x80, true, DSTORAGE_REQUEST_SOURCE_MEMORY, DSTORAGE_PRIORITY_REALTIME); | ||
| 1833 | SetEnvironmentVariableW(L"LEONIDA_DSTORAGE_HOLD_PAGES", nullptr); | ||
| 1834 | const uint64_t held = h.held_reads.load(); | ||
| 1835 | ULONG_PTR list[] = {static_cast<ULONG_PTR>(pages[1])}; | ||
| 1836 | DSTORAGE_REQUEST r = into_pages(list); | ||
| 1837 | q->EnqueueRequest(&r); | ||
| 1838 | for (int i = 1; i < kHalf; ++i) { | ||
| 1839 | r = into_buffer(outs.data() + i * 16); | ||
| 1840 | q->EnqueueRequest(&r); | ||
| 1841 | } | ||
| 1842 | check(wait_until([&] { return holds_plain(window + page, bytes); }), | ||
| 1843 | "LEONIDA_DSTORAGE_HOLD_PAGES=0 submits a read into pages with the rest"); | ||
| 1844 | check(h.held_reads.load() == held, "and holds nothing"); | ||
| 1845 | q->Release(); | ||
| 1846 | } | ||
| 1847 | |||
| 1848 | // A list that names page 0 when its data is written fails the entry and is counted. | ||
| 1849 | { | ||
| 1850 | auto* q = make_queue(env, 0x80, false, DSTORAGE_REQUEST_SOURCE_MEMORY, DSTORAGE_PRIORITY_REALTIME); | ||
| 1851 | auto* status = make_status(env, 1); | ||
| 1852 | const uint64_t page0 = h.page0_entries.load(); | ||
| 1853 | ULONG_PTR list[] = {0}; | ||
| 1854 | DSTORAGE_REQUEST r = into_pages(list); | ||
| 1855 | q->EnqueueRequest(&r); | ||
| 1856 | q->EnqueueStatus(status, 0); | ||
| 1857 | q->Submit(); | ||
| 1858 | check(wait_complete(status, 0), "the read with an empty page list completes"); | ||
| 1859 | check_hr(status->GetHResult(0), E_INVALIDARG, "a page list naming page 0 at Submit fails its entry"); | ||
| 1860 | check(h.page0_entries.load() == page0 + 1, "the entry with page 0 in its list is counted"); | ||
| 1861 | status->Release(); | ||
| 1862 | q->Release(); | ||
| 1863 | } | ||
| 1864 | |||
| 1865 | map(window, 2, nullptr); | ||
| 1866 | free_pages(count, pages); | ||
| 1867 | VirtualFree(window, 0, MEM_RELEASE); | ||
| 1868 | } | ||
| 1869 | |||
| 1616 | } // namespace | 1870 | } // namespace |
| 1617 | 1871 | ||
| 1618 | int main() { | 1872 | int main() { |
| @@ -1668,6 +1922,7 @@ int main() { | |||
| 1668 | test_stats_timing(env); | 1922 | test_stats_timing(env); |
| 1669 | test_stats(env); | 1923 | test_stats(env); |
| 1670 | test_extended(env); | 1924 | test_extended(env); |
| 1925 | test_page_reads_wait_for_submit(env); | ||
| 1671 | test_guarded_destinations(env); | 1926 | test_guarded_destinations(env); |
| 1672 | test_zlib(env); // after test_stats, whose request totals it would change | 1927 | test_zlib(env); // after test_stats, whose request totals it would change |
| 1673 | 1928 | ||
diff --git a/runtime/test/fixtures/tiny_atexit.cpp b/runtime/test/fixtures/tiny_atexit.cpp index fbe071e7f..2719f98f4 100644 --- a/runtime/test/fixtures/tiny_atexit.cpp +++ b/runtime/test/fixtures/tiny_atexit.cpp | |||
| @@ -9,6 +9,10 @@ | |||
| 9 | // cexit _cexit() runs every handler and returns; main then returns 11 | 9 | // cexit _cexit() runs every handler and returns; main then returns 11 |
| 10 | // c_exit _c_exit() runs none and returns; main then returns 12, and exit runs them all | 10 | // c_exit _c_exit() runs none and returns; main then returns 12, and exit runs them all |
| 11 | // concurrent_exit a second thread calls _exit(7) while exit(7) runs a handler: it waits for them all | 11 | // concurrent_exit a second thread calls _exit(7) while exit(7) runs a handler: it waits for them all |
| 12 | // thread_local_exit a thread_local object of the main thread, then exit(13): it ends first, then the handlers | ||
| 13 | // thread_local_cexit the same object, then _cexit(): the same order, and main then returns 14 | ||
| 14 | // The thread_local destructor reaches the CRT through _register_thread_local_exe_atexit_callback, which the EXE's | ||
| 15 | // startup calls only when the image has one (this program has one in every mode, constructed only in the last two). | ||
| 12 | // One handler registers another while the handlers run: it must still run, next. | 16 | // One handler registers another while the handlers run: it must still run, next. |
| 13 | #include <windows.h> | 17 | #include <windows.h> |
| 14 | #include <process.h> // _cexit, _c_exit | 18 | #include <process.h> // _cexit, _c_exit |
| @@ -74,6 +78,15 @@ int main(int argc, char** argv) { | |||
| 74 | CloseHandle(CreateThread(nullptr, 0, quick_exit_thread, nullptr, 0, nullptr)); | 78 | CloseHandle(CreateThread(nullptr, 0, quick_exit_thread, nullptr, 0, nullptr)); |
| 75 | std::exit(7); | 79 | std::exit(7); |
| 76 | } | 80 | } |
| 81 | if (!std::strncmp(mode, "thread_local_", 13)) { | ||
| 82 | thread_local Tracer main_thread_local("thread_local"); // constructed here, on the main thread only | ||
| 83 | if (!std::strcmp(mode, "thread_local_exit")) std::exit(13); | ||
| 84 | if (!std::strcmp(mode, "thread_local_cexit")) { | ||
| 85 | _cexit(); | ||
| 86 | say("after _cexit"); | ||
| 87 | return 14; | ||
| 88 | } | ||
| 89 | } | ||
| 77 | if (!std::strcmp(mode, "exit")) std::exit(7); | 90 | if (!std::strcmp(mode, "exit")) std::exit(7); |
| 78 | if (!std::strcmp(mode, "_exit")) _exit(8); | 91 | if (!std::strcmp(mode, "_exit")) _exit(8); |
| 79 | if (!std::strcmp(mode, "quick_exit")) std::quick_exit(9); | 92 | if (!std::strcmp(mode, "quick_exit")) std::quick_exit(9); |
diff --git a/runtime/test/gameinput_no_sdl_test.cpp b/runtime/test/gameinput_no_sdl_test.cpp index a131dc7c9..7b165922a 100644 --- a/runtime/test/gameinput_no_sdl_test.cpp +++ b/runtime/test/gameinput_no_sdl_test.cpp | |||
| @@ -98,8 +98,10 @@ Pad read_at(IGameInput* input, IGameInputDevice* device, double seconds) { | |||
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | int scripted_pad(CreateFn create) { | 100 | int scripted_pad(CreateFn create) { |
| 101 | // Four presses (two overlapping A presses, Menu, a right-stick throw) and three rejected entries. | 101 | // Six presses (two overlapping A presses, Menu, B held 0.8 s, a right-stick throw, a Y press the title never reads |
| 102 | SetEnvironmentVariableA("LEONIDA_INPUT_SCRIPT", "a@1, START@2.5 ,a@1.2,rsup@4,bogus@1,a@-1,"); | 102 | // while it is down) and seven rejected entries (four of them holds that are zero, negative, missing or too long). |
| 103 | SetEnvironmentVariableA("LEONIDA_INPUT_SCRIPT", | ||
| 104 | "a@1, START@2.5 ,a@1.2,b@3:0.8 ,rsup@4,y@10,bogus@1,a@-1,,x@3:0,x@3:-1,x@3:,x@3:601"); | ||
| 103 | rt::gameinput_no_sdl::set_clock(fake_clock); | 105 | rt::gameinput_no_sdl::set_clock(fake_clock); |
| 104 | at(0); | 106 | at(0); |
| 105 | 107 | ||
| @@ -201,27 +203,48 @@ int scripted_pad(CreateFn create) { | |||
| 201 | check(menu.buttons == GameInputGamepadMenu && menu.ui == GameInputUiNavigationMenu, | 203 | check(menu.buttons == GameInputGamepadMenu && menu.ui == GameInputUiNavigationMenu, |
| 202 | "script: START (any case) holds Menu at 2.6 s"); | 204 | "script: START (any case) holds Menu at 2.6 s"); |
| 203 | check(read_at(input, device, 2.85).buttons == 0, "script: Menu is released at 2.85 s"); | 205 | check(read_at(input, device, 2.85).buttons == 0, "script: Menu is released at 2.85 s"); |
| 206 | check(read_at(input, device, 3.05).buttons == GameInputGamepadB, "script: b@3:0.8 holds B at 3.05 s"); | ||
| 207 | check(read_at(input, device, 3.7).buttons == GameInputGamepadB, | ||
| 208 | "script: B is still held at 3.7 s, past the 0.3 s default"); | ||
| 209 | check(read_at(input, device, 3.85).buttons == 0, "script: B is released after its 0.8 s hold"); | ||
| 204 | const Pad up = read_at(input, device, 4.1); | 210 | const Pad up = read_at(input, device, 4.1); |
| 205 | check(up.buttons == 0 && up.right_y == 1.0f && up.ui == GameInputUiNavigationScrollUp, | 211 | check(up.buttons == 0 && up.right_y == 1.0f && up.ui == GameInputUiNavigationScrollUp, |
| 206 | "script: rsup throws the right stick up at 4.1 s"); | 212 | "script: rsup throws the right stick up at 4.1 s"); |
| 207 | check(read_at(input, device, 4.5).right_y == 0, "script: the stick is back at rest at 4.5 s"); | 213 | check(read_at(input, device, 4.5).right_y == 0, "script: the stick is back at rest at 4.5 s"); |
| 214 | // The title reads at 4.5 s and next at 60 s: y@10 starts and ends in between, and is still in the history. | ||
| 208 | check(read_at(input, device, 60).buttons == 0, "script: nothing is held after the script ends"); | 215 | check(read_at(input, device, 60).buttons == 0, "script: nothing is held after the script ends"); |
| 209 | 216 | ||
| 210 | // The history: the reading before the current one is the stick throw, and the one after that throw is the rest. | 217 | // The history, newest first: the rest after Y (10.3 s), the Y press (10.0 s), the rest after the stick throw |
| 218 | // (4.3 s), the stick throw. Each reading carries the script's time of the change, not the time of the read. | ||
| 211 | IGameInputReading* now = nullptr; | 219 | IGameInputReading* now = nullptr; |
| 212 | IGameInputReading* before = nullptr; | ||
| 213 | IGameInputReading* after = nullptr; | ||
| 214 | check(input->GetCurrentReading(GameInputKindUnknown, nullptr, &now) == S_OK && now, "script: a current reading"); | 220 | check(input->GetCurrentReading(GameInputKindUnknown, nullptr, &now) == S_OK && now, "script: a current reading"); |
| 215 | if (now) { | 221 | if (now) { |
| 222 | check(now->GetTimestamp() == 7'000'000 + 10'300'000, "script: the current reading is Y's release at 10.3 s"); | ||
| 223 | IGameInputReading* y = nullptr; | ||
| 224 | IGameInputReading* rest = nullptr; | ||
| 225 | IGameInputReading* stick = nullptr; | ||
| 226 | IGameInputReading* after = nullptr; | ||
| 216 | GameInputGamepadState s{}; | 227 | GameInputGamepadState s{}; |
| 217 | check(input->GetPreviousReading(now, GameInputKindGamepad, device, &before) == S_OK && before && | 228 | check(input->GetPreviousReading(now, GameInputKindGamepad, device, &y) == S_OK && y && |
| 218 | before->GetGamepadState(&s) && s.rightThumbstickY == 1.0f, | 229 | y->GetGamepadState(&s) && s.buttons == GameInputGamepadY && |
| 219 | "script: GetPreviousReading steps back to the stick throw"); | 230 | y->GetTimestamp() == 7'000'000 + 10'000'000, |
| 220 | if (before) { | 231 | "script: a press between two reads of the title is in the history, at its own time"); |
| 221 | check(input->GetNextReading(before, GameInputKindGamepad, nullptr, &after) == S_OK && after == now, | 232 | if (y) { |
| 222 | "script: GetNextReading steps forward to the current reading"); | 233 | check(input->GetPreviousReading(y, GameInputKindGamepad, device, &rest) == S_OK && rest && |
| 223 | before->Release(); | 234 | rest->GetGamepadState(&s) && s.buttons == 0 && s.rightThumbstickY == 0 && |
| 235 | rest->GetTimestamp() == 7'000'000 + 4'300'000, | ||
| 236 | "script: before Y, the stick's return at 4.3 s"); | ||
| 237 | check(input->GetNextReading(y, GameInputKindGamepad, nullptr, &after) == S_OK && after == now, | ||
| 238 | "script: GetNextReading steps forward from Y to the current reading"); | ||
| 239 | y->Release(); | ||
| 224 | } | 240 | } |
| 241 | if (rest) { | ||
| 242 | check(input->GetPreviousReading(rest, GameInputKindGamepad, device, &stick) == S_OK && stick && | ||
| 243 | stick->GetGamepadState(&s) && s.rightThumbstickY == 1.0f, | ||
| 244 | "script: GetPreviousReading steps back to the stick throw"); | ||
| 245 | rest->Release(); | ||
| 246 | } | ||
| 247 | if (stick) stick->Release(); | ||
| 225 | if (after) after->Release(); | 248 | if (after) after->Release(); |
| 226 | IGameInputReading* none = nullptr; | 249 | IGameInputReading* none = nullptr; |
| 227 | check(input->GetNextReading(now, GameInputKindUnknown, nullptr, &none) == GAMEINPUT_E_READING_NOT_FOUND && | 250 | check(input->GetNextReading(now, GameInputKindUnknown, nullptr, &none) == GAMEINPUT_E_READING_NOT_FOUND && |
diff --git a/runtime/test/gameinput_test.cpp b/runtime/test/gameinput_test.cpp index be9dc5398..09d959f34 100644 --- a/runtime/test/gameinput_test.cpp +++ b/runtime/test/gameinput_test.cpp | |||
| @@ -1718,10 +1718,12 @@ int main(int argc, char** argv) { | |||
| 1718 | check(create(&input) == S_OK && input, "GameInputCreate returns an instance"); | 1718 | check(create(&input) == S_OK && input, "GameInputCreate returns an instance"); |
| 1719 | if (argc == 2 && std::strcmp(argv[1], "--input-script") == 0) { | 1719 | if (argc == 2 && std::strcmp(argv[1], "--input-script") == 0) { |
| 1720 | if (!input) return 1; | 1720 | if (!input) return 1; |
| 1721 | // Only the X after byte 63 is due now. Its later entry must not cancel it. | 1721 | // Only the X after byte 63 and the Y held 0.6 s are due now. X's later entry must not cancel it; the |
| 1722 | // malformed holds at the end hold nothing. | ||
| 1722 | set_env("LEONIDA_INPUT_SCRIPT", | 1723 | set_env("LEONIDA_INPUT_SCRIPT", |
| 1723 | "start@3600,start@3600,start@3600,start@3600,start@3600,start@3600, X@0 \t,x@3600," | 1724 | "start@3600,start@3600,start@3600,start@3600,start@3600,start@3600, X@0 \t,x@3600," |
| 1724 | "unknown@0,a@,a@x,,a@-0.1,a@nan,a@inf,a@1e999,a@0tail, ,"); | 1725 | "unknown@0,a@,a@x,,a@-0.1,a@nan,a@inf,a@1e999,a@0tail, ,y@0:0.6," |
| 1726 | "a@0:0,a@0:-1,a@0:,a@0:x,a@0:inf,a@0:601,a@0:1tail"); | ||
| 1725 | set_env("LEONIDA_KEYBOARD_PAD", "1"); | 1727 | set_env("LEONIDA_KEYBOARD_PAD", "1"); |
| 1726 | rt::gameinput::set_keyboard_source(fake_key_down, fake_focus); | 1728 | rt::gameinput::set_keyboard_source(fake_key_down, fake_focus); |
| 1727 | rt::gameinput::set_cursor_source(fake_cursor); | 1729 | rt::gameinput::set_cursor_source(fake_cursor); |
| @@ -1730,27 +1732,32 @@ int main(int argc, char** argv) { | |||
| 1730 | rt::gameinput::reload_config(); | 1732 | rt::gameinput::reload_config(); |
| 1731 | rt::gameinput::poll(); | 1733 | rt::gameinput::poll(); |
| 1732 | const auto buttons = pad_state(input, nullptr).buttons; | 1734 | const auto buttons = pad_state(input, nullptr).buttons; |
| 1733 | const auto expected = GameInputGamepadX | GameInputGamepadB; | 1735 | const auto expected = GameInputGamepadX | GameInputGamepadB | GameInputGamepadY; |
| 1734 | check((buttons & expected) == expected, "long script: the spaced X after byte 63 and the physical B are held"); | 1736 | check((buttons & expected) == expected, |
| 1737 | "long script: the spaced X after byte 63, the held Y and the physical B are held"); | ||
| 1735 | check((buttons & ~expected) == 0, "malformed script entries hold no extra buttons"); | 1738 | check((buttons & ~expected) == 0, "malformed script entries hold no extra buttons"); |
| 1736 | g_focus = false; | 1739 | g_focus = false; |
| 1737 | set_env("LEONIDA_INPUT_SCRIPT", "y@0"); | 1740 | set_env("LEONIDA_INPUT_SCRIPT", "y@0"); |
| 1738 | rt::gameinput::reload_config(); | 1741 | rt::gameinput::reload_config(); |
| 1739 | rt::gameinput::poll(); | 1742 | rt::gameinput::poll(); |
| 1740 | check(pad_state(input, nullptr).buttons == GameInputGamepadX, | 1743 | check(pad_state(input, nullptr).buttons == (GameInputGamepadX | GameInputGamepadY), |
| 1741 | "scripted X survives focus loss; reload does not replace it with Y"); | 1744 | "scripted X and Y survive focus loss; reload does not replace the script with y@0"); |
| 1742 | Sleep(350); | 1745 | Sleep(350); |
| 1743 | g_focus = true; | 1746 | g_focus = true; |
| 1744 | rt::gameinput::poll(); | 1747 | rt::gameinput::poll(); |
| 1745 | // A scripted press lasts its 300 ms and then until the title has read the pads six times since it began | 1748 | // A scripted press lasts its hold (300 ms, or button@seconds:hold) and then until the title has read the pads |
| 1746 | // (update_keyboard_pad: kReads, at most kMaxHold seconds), so a title that polls slowly still sees it. Each | 1749 | // six times since it began (update_keyboard_pad: kReads), so a title that polls slowly still sees it. Each |
| 1747 | // pad_state() is one GetCurrentReading, and this is the third since the X began. | 1750 | // pad_state() is one GetCurrentReading, and this is the third since X and Y began. |
| 1748 | check(pad_state(input, nullptr).buttons == (GameInputGamepadX | GameInputGamepadB), | 1751 | check(pad_state(input, nullptr).buttons == (GameInputGamepadX | GameInputGamepadB | GameInputGamepadY), |
| 1749 | "long script: past its 300 ms the press is still held while the title has read the pads fewer than six times"); | 1752 | "long script: past its 300 ms X is still held while the title has read the pads fewer than six times"); |
| 1750 | for (int i = 0; i < 6; ++i) pad_state(input, nullptr); | 1753 | for (int i = 0; i < 6; ++i) pad_state(input, nullptr); |
| 1751 | rt::gameinput::poll(); | 1754 | rt::gameinput::poll(); |
| 1755 | check(pad_state(input, nullptr).buttons == (GameInputGamepadB | GameInputGamepadY), | ||
| 1756 | "long script: X ends once the title has read it, y@0:0.6 is still held for its time, the key stays held"); | ||
| 1757 | Sleep(400); | ||
| 1758 | rt::gameinput::poll(); | ||
| 1752 | check(pad_state(input, nullptr).buttons == GameInputGamepadB, | 1759 | check(pad_state(input, nullptr).buttons == GameInputGamepadB, |
| 1753 | "long script: the timed press ends once the title has read it, while the physical key stays held"); | 1760 | "long script: Y is released after its 0.6 s hold, the title having read it six times"); |
| 1754 | input->Release(); | 1761 | input->Release(); |
| 1755 | std::printf("%d checks, %d failures\n", g_checks, g_failures); | 1762 | std::printf("%d checks, %d failures\n", g_checks, g_failures); |
| 1756 | return g_failures ? 1 : 0; | 1763 | return g_failures ? 1 : 0; |
diff --git a/runtime/test/geometry_views_test.cpp b/runtime/test/geometry_views_test.cpp index caac93dc0..37a1bd391 100644 --- a/runtime/test/geometry_views_test.cpp +++ b/runtime/test/geometry_views_test.cpp | |||
| @@ -16,7 +16,10 @@ | |||
| 16 | // 13. a submission's sequence on an idle GPU (completed == submitted): a view retired by the drain in before_execute_ | 16 | // 13. a submission's sequence on an idle GPU (completed == submitted): a view retired by the drain in before_execute_ |
| 17 | // (kAfterExecutes) is freed only after every replay begun before the retirement recorded its submissions and those | 17 | // (kAfterExecutes) is freed only after every replay begun before the retirement recorded its submissions and those |
| 18 | // completed (a ticket read in the drain reaps it at once); its answers made without an alias are invalidated | 18 | // completed (a ticket read in the drain reaps it at once); its answers made without an alias are invalidated |
| 19 | // (forget_copy); its destroyed block leaves the lock-free block list and is reported to the device. | 19 | // (forget_copy); its destroyed block leaves the lock-free block list and is reported to the device; |
| 20 | // 14. LEONIDA_GEOMETRY_HOST picks a system-memory type (write-back for 1, write-combined for 2), never the BAR; | ||
| 21 | // 15. a retired view is copied once more from its pages when they are readable, not when they are not; | ||
| 22 | // 16. a full release queue joins touching ranges before it collapses to one covering range. | ||
| 20 | #include <windows.h> | 23 | #include <windows.h> |
| 21 | 24 | ||
| 22 | #include <cstdint> | 25 | #include <cstdint> |
| @@ -61,7 +64,7 @@ VKAPI_ATTR void VKAPI_CALL requirements(VkDevice, VkBuffer buffer, VkMemoryRequi | |||
| 61 | *out = {}; | 64 | *out = {}; |
| 62 | out->size = reinterpret_cast<FakeBuffer*>(buffer)->size; | 65 | out->size = reinterpret_cast<FakeBuffer*>(buffer)->size; |
| 63 | out->alignment = 65536; | 66 | out->alignment = 65536; |
| 64 | out->memoryTypeBits = 1; | 67 | out->memoryTypeBits = 0xf; // the four types of test 14's device |
| 65 | } | 68 | } |
| 66 | VKAPI_ATTR VkResult VKAPI_CALL bind(VkDevice, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize) { | 69 | VKAPI_ATTR VkResult VKAPI_CALL bind(VkDevice, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize) { |
| 67 | reinterpret_cast<FakeBuffer*>(buffer)->memory = memory; | 70 | reinterpret_cast<FakeBuffer*>(buffer)->memory = memory; |
| @@ -465,12 +468,17 @@ int main() { | |||
| 465 | const std::uint64_t own = fly.execute_begin(); | 468 | const std::uint64_t own = fly.execute_begin(); |
| 466 | leonida::TitleVaAliases aliases; | 469 | leonida::TitleVaAliases aliases; |
| 467 | aliases.record_removals(true); | 470 | aliases.record_removals(true); |
| 468 | std::uint64_t cursor = 0; | 471 | // What the console heaps' slot records are told (TitleVaAliases::add_listener). |
| 469 | { | 472 | struct Heard { |
| 470 | leonida::DescriptorRanges skip; | 473 | bool removed; |
| 471 | aliases.changed_ranges(cursor, skip); | 474 | std::uint64_t title_va, bytes, shader_va; |
| 472 | } | 475 | }; |
| 473 | const std::uint64_t invalidations = aliases.invalidations(); | 476 | std::vector<Heard> heard; |
| 477 | aliases.add_listener(&heard, [](void* to, leonida::TitleVaAliases::Change change, std::uint64_t va, | ||
| 478 | std::uint64_t bytes, std::uint64_t shader_va) { | ||
| 479 | static_cast<std::vector<Heard>*>(to)->push_back( | ||
| 480 | {change == leonida::TitleVaAliases::Change::removed, va, bytes, shader_va}); | ||
| 481 | }); | ||
| 474 | leonida::geometry_writes::note_released(flybase, flybase + kView); | 482 | leonida::geometry_writes::note_released(flybase, flybase + kView); |
| 475 | fly.drain_released(device, rt::d3d12::GeometryViews::kAfterExecutes, submitted, | 483 | fly.drain_released(device, rt::d3d12::GeometryViews::kAfterExecutes, submitted, |
| 476 | [&](std::uintptr_t source, std::size_t size, VkDeviceSize va) { | 484 | [&](std::uintptr_t source, std::size_t size, VkDeviceSize va) { |
| @@ -480,13 +488,12 @@ int main() { | |||
| 480 | fly.bytes() == kView && g_gone_blocks == gone, | 488 | fly.bytes() == kView && g_gone_blocks == gone, |
| 481 | "a view retired in before_execute_ is not reaped there, though the GPU is idle"); | 489 | "a view retired in before_execute_ is not reaped there, though the GPU is idle"); |
| 482 | 490 | ||
| 483 | leonida::DescriptorRanges changed; | ||
| 484 | const bool read = aliases.changed_ranges(cursor, changed); | ||
| 485 | changed.merge(); | ||
| 486 | std::vector<std::pair<std::uint64_t, std::uint64_t>> removed; | 491 | std::vector<std::pair<std::uint64_t, std::uint64_t>> removed; |
| 487 | aliases.take_removed(removed); | 492 | aliases.take_removed(removed); |
| 488 | check(read && aliases.invalidations() != invalidations && changed.overlaps(flybase, kView) && | 493 | aliases.remove_listener(&heard); |
| 489 | removed.size() == 1 && removed[0].first == va_f && removed[0].second == kView, | 494 | check(heard.size() == 1 && heard[0].removed && heard[0].title_va == flybase && heard[0].bytes == kView && |
| 495 | heard[0].shader_va == va_f && removed.size() == 1 && removed[0].first == va_f && | ||
| 496 | removed[0].second == kView, | ||
| 490 | "the retirement invalidates the heap slots and key answers made through the view without an alias"); | 497 | "the retirement invalidates the heap slots and key answers made through the view without an alias"); |
| 491 | 498 | ||
| 492 | submitted = 8; // this replay's submission | 499 | submitted = 8; // this replay's submission |
| @@ -510,6 +517,109 @@ int main() { | |||
| 510 | } | 517 | } |
| 511 | VirtualFree(fly_title, 0, MEM_RELEASE); | 518 | VirtualFree(fly_title, 0, MEM_RELEASE); |
| 512 | 519 | ||
| 520 | // 14. LEONIDA_GEOMETRY_HOST: the copies' memory type. A discrete GPU's types: 0 VRAM, 1 VRAM through the BAR, | ||
| 521 | // 2 system memory write-combined, 3 system memory write-back. 1 takes type 3 (write-back preferred), 2 type 2, | ||
| 522 | // unset any host-visible type with device-local preferred (the BAR); a device whose host-visible types are all | ||
| 523 | // device-local (an integrated GPU) keeps them all. | ||
| 524 | { | ||
| 525 | struct TypedDevice : FakeDevice { | ||
| 526 | VkPhysicalDeviceMemoryProperties memory{}; | ||
| 527 | std::uint32_t bits = 0; | ||
| 528 | VkMemoryPropertyFlags preferred = 0; | ||
| 529 | VkDeviceMemory allocate(const VkMemoryRequirements& r, VkMemoryPropertyFlags required, | ||
| 530 | VkMemoryPropertyFlags wanted, VkMemoryPropertyFlags* chosen, bool address) { | ||
| 531 | bits = r.memoryTypeBits; | ||
| 532 | preferred = wanted; | ||
| 533 | return FakeDevice::allocate(r, required, wanted, chosen, address); | ||
| 534 | } | ||
| 535 | }; | ||
| 536 | constexpr VkMemoryPropertyFlags kLocal = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, | ||
| 537 | kHost = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | | ||
| 538 | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, | ||
| 539 | kCached = VK_MEMORY_PROPERTY_HOST_CACHED_BIT; | ||
| 540 | TypedDevice discrete; | ||
| 541 | discrete.memory.memoryTypeCount = 4; | ||
| 542 | const VkMemoryPropertyFlags discrete_types[4] = {kLocal, kLocal | kHost, kHost, kHost | kCached}; | ||
| 543 | for (int i = 0; i < 4; ++i) discrete.memory.memoryTypes[i].propertyFlags = discrete_types[i]; | ||
| 544 | TypedDevice integrated; | ||
| 545 | integrated.memory.memoryTypeCount = 2; | ||
| 546 | integrated.memory.memoryTypes[0].propertyFlags = kLocal; | ||
| 547 | integrated.memory.memoryTypes[1].propertyFlags = kLocal | kHost | kCached; | ||
| 548 | auto* host_title = | ||
| 549 | static_cast<std::uint8_t*>(VirtualAlloc(nullptr, kView, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE)); | ||
| 550 | if (!host_title) return 1; | ||
| 551 | const auto hbase = reinterpret_cast<std::uintptr_t>(host_title); | ||
| 552 | const auto made_with = [&](TypedDevice& dev, const char* setting) { | ||
| 553 | _putenv_s("LEONIDA_GEOMETRY_HOST", setting); | ||
| 554 | dev.bits = ~0u; | ||
| 555 | dev.preferred = 0; | ||
| 556 | rt::d3d12::GeometryViews v; | ||
| 557 | const bool made = v.resolve(dev, hbase, kView, copy) != 0; | ||
| 558 | const int kind = v.system_memory(); | ||
| 559 | v.release(dev); | ||
| 560 | return made ? kind : -1; | ||
| 561 | }; | ||
| 562 | check(made_with(discrete, "1") == rt::d3d12::TitleBufferWindows::kSystemCached && discrete.bits == 1u << 3 && | ||
| 563 | discrete.preferred == kCached, | ||
| 564 | "LEONIDA_GEOMETRY_HOST=1 puts the copies in write-back system memory, never the BAR"); | ||
| 565 | check(made_with(discrete, "2") == rt::d3d12::TitleBufferWindows::kSystemUncached && discrete.bits == 1u << 2 && | ||
| 566 | discrete.preferred == 0, | ||
| 567 | "LEONIDA_GEOMETRY_HOST=2 puts them in write-combined system memory"); | ||
| 568 | check(made_with(discrete, "") == rt::d3d12::TitleBufferWindows::kDeviceLocal && discrete.bits == 0xfu && | ||
| 569 | discrete.preferred == kLocal, | ||
| 570 | "unset, every type the buffer allows is tried, device-local first"); | ||
| 571 | check(made_with(integrated, "1") == rt::d3d12::TitleBufferWindows::kSystemCached && integrated.bits == 0xfu, | ||
| 572 | "on a device with no host type outside device-local memory, the types are left as they are"); | ||
| 573 | _putenv_s("LEONIDA_GEOMETRY_HOST", ""); | ||
| 574 | check(g_live_buffers == 0, "the memory-type views free their blocks"); | ||
| 575 | |||
| 576 | // 15. A retired view is copied once more from the title's pages when they are readable (they hold new bytes), | ||
| 577 | // and keeps what it held when they are not (decommitted or unmapped). | ||
| 578 | rt::d3d12::GeometryViews last; | ||
| 579 | std::memset(host_title, 0x11, kView); | ||
| 580 | const std::uint64_t va_l = last.resolve(device, hbase, kView, copy); | ||
| 581 | std::uint64_t host_l = 0, bytes_l = 0; | ||
| 582 | check(va_l && last.lookup(device.arena.address + va_l, host_l, bytes_l), "a view to retire"); | ||
| 583 | auto* held = reinterpret_cast<const std::uint8_t*>(host_l); | ||
| 584 | // The pages' new bytes: the watched tiles are opened first (no fault handler here). | ||
| 585 | leonida::geometry_writes::notify(hbase, hbase + kView, leonida::geometry_writes::Event::open); | ||
| 586 | std::memset(host_title, 0x22, kView); | ||
| 587 | g_copies.clear(); | ||
| 588 | check(last.retire_range(hbase, hbase + kView, 1, [](std::uintptr_t, std::size_t, VkDeviceSize) {}, copy) == 1 && | ||
| 589 | held[0] == 0x22 && held[kView - 1] == 0x22 && last.final_copies() == 1 && g_copies.size() == 1, | ||
| 590 | "a retired view whose pages are readable is copied from them once more"); | ||
| 591 | const std::uint64_t va_l2 = last.resolve(device, hbase, kView, copy); | ||
| 592 | std::uint64_t host_l2 = 0; | ||
| 593 | check(va_l2 && last.lookup(device.arena.address + va_l2, host_l2, bytes_l), "and made again"); | ||
| 594 | auto* held2 = reinterpret_cast<const std::uint8_t*>(host_l2); | ||
| 595 | leonida::geometry_writes::notify(hbase, hbase + kView, leonida::geometry_writes::Event::open); | ||
| 596 | std::memset(host_title, 0x33, kView); | ||
| 597 | const auto unreadable = [](std::uint8_t*, const std::uint8_t*, std::size_t) { | ||
| 598 | return rt::d3d12::GeometryCopy::unreadable; | ||
| 599 | }; | ||
| 600 | check(last.retire_range(hbase, hbase + kView, 2, [](std::uintptr_t, std::size_t, VkDeviceSize) {}, | ||
| 601 | unreadable) == 1 && | ||
| 602 | held2[0] == 0x22 && last.final_copies() == 1, | ||
| 603 | "one whose pages are not readable keeps what it held"); | ||
| 604 | check(last.reap(device, 2) == 2 && last.bytes() == 0, "both are freed at their tickets"); | ||
| 605 | last.release(device); | ||
| 606 | |||
| 607 | // 16. A full release queue first joins ranges that touch (unmaps report page runs): 65536 neighbouring ranges | ||
| 608 | // and one apart from them are two ranges, not one covering everything between them. | ||
| 609 | rt::d3d12::GeometryViews coalesce; | ||
| 610 | check(coalesce.resolve(device, hbase, kView, copy) != 0, "a view to watch the pages"); | ||
| 611 | for (std::size_t i = 0; i < 65536; ++i) | ||
| 612 | leonida::geometry_writes::note_released(hbase + i * 8, hbase + i * 8 + 8); | ||
| 613 | leonida::geometry_writes::note_released(hbase + kView - 4096, hbase + kView); | ||
| 614 | std::vector<std::pair<std::uintptr_t, std::uintptr_t>> joined; | ||
| 615 | leonida::geometry_writes::take_released(coalesce.release_queue(), joined); | ||
| 616 | check(joined.size() == 2 && joined[0] == std::make_pair(hbase, hbase + 65536 * 8) && | ||
| 617 | joined[1] == std::make_pair(hbase + kView - 4096, hbase + kView), | ||
| 618 | "65536 touching ranges become one, and a range apart from them stays apart"); | ||
| 619 | coalesce.release(device); | ||
| 620 | VirtualFree(host_title, 0, MEM_RELEASE); | ||
| 621 | } | ||
| 622 | |||
| 513 | std::printf("%d checks, %d failures\n", g_checks, g_failures); | 623 | std::printf("%d checks, %d failures\n", g_checks, g_failures); |
| 514 | return g_failures ? 1 : 0; | 624 | return g_failures ? 1 : 0; |
| 515 | } | 625 | } |
diff --git a/runtime/test/glsl/cs_bindless_dimensions.comp b/runtime/test/glsl/cs_bindless_dimensions.comp new file mode 100644 index 000000000..4a26fe276 --- /dev/null +++ b/runtime/test/glsl/cs_bindless_dimensions.comp | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | #version 460 | ||
| 2 | // Reads one texel of each of many images through the bindless set 0 (src/vulkan_bindless.h), for | ||
| 3 | // vk_bindless_dimensions_test: thread i reads the image at index indices[i] of the sampled array of one dimension | ||
| 4 | // (pc.dimension: 0 1D, 1 2D array, 2 3D; bindings 5, 3 and 6, as tools/rdna2spirv.py declares them) and writes the | ||
| 5 | // texel's red channel, as bits, to result[i]. One thread per workgroup, so each index is dynamically uniform and | ||
| 6 | // the test needs no non-uniform indexing feature. | ||
| 7 | #extension GL_EXT_nonuniform_qualifier : require | ||
| 8 | #extension GL_EXT_samplerless_texture_functions : require | ||
| 9 | |||
| 10 | layout(local_size_x = 1) in; // one image per workgroup: the index is uniform there | ||
| 11 | |||
| 12 | layout(push_constant) uniform Pass { uint dimension; uint count; } pc; | ||
| 13 | |||
| 14 | layout(set = 0, binding = 3) uniform texture2DArray layers[]; | ||
| 15 | layout(set = 0, binding = 5) uniform texture1D lines[]; | ||
| 16 | layout(set = 0, binding = 6) uniform texture3D volumes[]; | ||
| 17 | |||
| 18 | layout(set = 1, binding = 0, std430) writeonly buffer Result { uint result[]; }; | ||
| 19 | layout(set = 1, binding = 1, std430) readonly buffer Indices { uint indices[]; }; | ||
| 20 | |||
| 21 | void main() { | ||
| 22 | const uint i = gl_GlobalInvocationID.x; | ||
| 23 | if (i >= pc.count) return; | ||
| 24 | const uint index = indices[i]; | ||
| 25 | float red; | ||
| 26 | if (pc.dimension == 0) red = texelFetch(lines[index], 0, 0).r; | ||
| 27 | else if (pc.dimension == 1) red = texelFetch(layers[index], ivec3(0), 0).r; | ||
| 28 | else red = texelFetch(volumes[index], ivec3(0), 0).r; | ||
| 29 | result[i] = floatBitsToUint(red); | ||
| 30 | } | ||
diff --git a/runtime/test/glsl/cs_group_marker.comp b/runtime/test/glsl/cs_group_marker.comp new file mode 100644 index 000000000..f98d089aa --- /dev/null +++ b/runtime/test/glsl/cs_group_marker.comp | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | // indirect_clamp_test's marker: every workgroup adds 1 to its own word, so a dispatch whose groups all ran exactly | ||
| 2 | // once leaves 1 in each of its words. Only one dimension of a test dispatch is larger than 1, so x + y + z names the | ||
| 3 | // group; a group past `groups` (which the dispatch should never run) counts in the word after them. | ||
| 4 | // SPIR-V: runtime/test/cs_group_marker_spv.h (glslangValidator -V --target-env vulkan1.2 -Os). | ||
| 5 | #version 460 | ||
| 6 | #extension GL_EXT_buffer_reference : require | ||
| 7 | layout(local_size_x = 1) in; | ||
| 8 | layout(buffer_reference, std430, buffer_reference_align = 4) buffer Marks { uint data[]; }; | ||
| 9 | layout(push_constant) uniform Params { | ||
| 10 | Marks marks; | ||
| 11 | uint groups; | ||
| 12 | } p; | ||
| 13 | void main() { | ||
| 14 | const uint group = gl_WorkGroupID.x + gl_WorkGroupID.y + gl_WorkGroupID.z; | ||
| 15 | atomicAdd(p.marks.data[min(group, p.groups)], 1u); | ||
| 16 | } | ||
diff --git a/runtime/test/heavy_pipeline_cache_test.cpp b/runtime/test/heavy_pipeline_cache_test.cpp new file mode 100644 index 000000000..8181a047c --- /dev/null +++ b/runtime/test/heavy_pipeline_cache_test.cpp | |||
| @@ -0,0 +1,109 @@ | |||
| 1 | // src/heavy_pipeline_cache.h: the LEONIDA_HEAVY_PIPELINE_CACHE_MS threshold and when the heavy cache is written. | ||
| 2 | // No Vulkan, no GPU, no files. | ||
| 3 | #include "../src/heavy_pipeline_cache.h" | ||
| 4 | |||
| 5 | #include <cstdio> | ||
| 6 | #include <initializer_list> | ||
| 7 | |||
| 8 | #define CHECK(condition) do { \ | ||
| 9 | if (!(condition)) { \ | ||
| 10 | std::fprintf(stderr, "line %d: %s\n", __LINE__, #condition); \ | ||
| 11 | return 1; \ | ||
| 12 | } \ | ||
| 13 | } while (0) | ||
| 14 | |||
| 15 | namespace heavy = leonida::heavy_pipeline_cache; | ||
| 16 | |||
| 17 | static int test_threshold() { | ||
| 18 | CHECK(heavy::parse_threshold(nullptr).ms == heavy::default_threshold_ms); | ||
| 19 | CHECK(heavy::parse_threshold("").ms == heavy::default_threshold_ms); | ||
| 20 | CHECK(heavy::parse_threshold("0").ms == 0 && heavy::parse_threshold("0").valid); // off | ||
| 21 | CHECK(heavy::parse_threshold("2000").ms == 2000); | ||
| 22 | CHECK(heavy::parse_threshold("0750").ms == 750); | ||
| 23 | // Not a number, a sign, a unit or an absurd value: the default, reported as invalid. | ||
| 24 | for (const char* bad : {"-1", "+5", "1s", "1.5", "abc", "3600001", "99999999999999999999"}) { | ||
| 25 | const auto t = heavy::parse_threshold(bad); | ||
| 26 | CHECK(!t.valid && t.ms == heavy::default_threshold_ms); | ||
| 27 | } | ||
| 28 | CHECK(heavy::parse_threshold("3600000").valid); | ||
| 29 | return 0; | ||
| 30 | } | ||
| 31 | |||
| 32 | static int test_schedule() { | ||
| 33 | using S = heavy::WriteSchedule; | ||
| 34 | S s; | ||
| 35 | CHECK(!s.dirty() && !s.due(1'000'000)); | ||
| 36 | // One heavy compile: written once it has settled. | ||
| 37 | s.note_heavy(1000); | ||
| 38 | CHECK(s.dirty() && !s.due(1000 + S::settle_ms - 1) && s.due(1000 + S::settle_ms)); | ||
| 39 | s.written(s.generation(), 1000 + S::settle_ms); | ||
| 40 | CHECK(!s.dirty()); | ||
| 41 | // A burst, one compile a second for a minute: the write does not wait for the burst to end. | ||
| 42 | S burst; | ||
| 43 | for (std::uint64_t t = 10'000; t <= 70'000; t += 1000) { | ||
| 44 | burst.note_heavy(t); | ||
| 45 | if (burst.due(t)) { | ||
| 46 | CHECK(t - 10'000 >= S::max_delay_ms); // first write no later than max_delay after the first compile | ||
| 47 | burst.written(burst.generation(), t); | ||
| 48 | break; | ||
| 49 | } | ||
| 50 | } | ||
| 51 | CHECK(!burst.dirty()); | ||
| 52 | // A compile that finishes while a write is running is not lost: the cache stays dirty for the next write. | ||
| 53 | S racing; | ||
| 54 | racing.note_heavy(5000); | ||
| 55 | const std::uint64_t start = 5000 + S::settle_ms; | ||
| 56 | const std::uint64_t taken = racing.generation(); | ||
| 57 | racing.note_heavy(start + 10); // during the write | ||
| 58 | racing.written(taken, start); | ||
| 59 | CHECK(racing.dirty()); | ||
| 60 | CHECK(racing.due(start + 10 + S::settle_ms)); | ||
| 61 | // The same, inside one tick of a coarse clock: the compile noted at the write's own start time is still kept. | ||
| 62 | S tick; | ||
| 63 | tick.note_heavy(9000); | ||
| 64 | const std::uint64_t at = 9000 + S::settle_ms; | ||
| 65 | const std::uint64_t before = tick.generation(); | ||
| 66 | tick.note_heavy(at); | ||
| 67 | tick.written(before, at); | ||
| 68 | CHECK(tick.dirty()); | ||
| 69 | return 0; | ||
| 70 | } | ||
| 71 | |||
| 72 | static int test_failed_write() { | ||
| 73 | using S = heavy::WriteSchedule; | ||
| 74 | S s; | ||
| 75 | s.note_heavy(1000); | ||
| 76 | std::uint64_t now = 1000 + S::settle_ms; | ||
| 77 | CHECK(s.due(now)); | ||
| 78 | // A failed write keeps the cache dirty and waits out the backoff before the next try. | ||
| 79 | s.failed(now); | ||
| 80 | CHECK(s.dirty() && s.failures() == 1); | ||
| 81 | CHECK(!s.due(now) && !s.due(now + S::retry_ms - 1) && s.due(now + S::retry_ms)); | ||
| 82 | // Failures in a row double the delay up to the cap, so a write that keeps failing does not spin. | ||
| 83 | std::uint64_t expect = S::retry_ms; | ||
| 84 | for (int i = 0; i < 12; ++i) { | ||
| 85 | now = s.due_ms(); | ||
| 86 | s.failed(now); | ||
| 87 | expect = expect * 2 > S::max_retry_ms ? S::max_retry_ms : expect * 2; | ||
| 88 | CHECK(s.due_ms() == now + expect); | ||
| 89 | } | ||
| 90 | CHECK(s.due_ms() - now == S::max_retry_ms); | ||
| 91 | // A heavy compile during the backoff does not bring the retry forward. | ||
| 92 | s.note_heavy(now + 1); | ||
| 93 | CHECK(!s.due(now + S::settle_ms + 1) && s.due(now + S::max_retry_ms)); | ||
| 94 | // A successful write clears the dirty flag and the backoff. | ||
| 95 | now = s.due_ms(); | ||
| 96 | s.written(s.generation(), now); | ||
| 97 | CHECK(!s.dirty() && s.failures() == 0); | ||
| 98 | s.note_heavy(now + 10); | ||
| 99 | CHECK(s.due(now + 10 + S::settle_ms)); | ||
| 100 | return 0; | ||
| 101 | } | ||
| 102 | |||
| 103 | int main() { | ||
| 104 | if (const int r = test_threshold()) return r; | ||
| 105 | if (const int r = test_schedule()) return r; | ||
| 106 | if (const int r = test_failed_write()) return r; | ||
| 107 | std::printf("heavy_pipeline_cache: threshold parsing, the write schedule and retries after a failed write\n"); | ||
| 108 | return 0; | ||
| 109 | } | ||
diff --git a/runtime/test/indirect_clamp_test.cpp b/runtime/test/indirect_clamp_test.cpp index 3f34d4c43..3a119b952 100644 --- a/runtime/test/indirect_clamp_test.cpp +++ b/runtime/test/indirect_clamp_test.cpp | |||
| @@ -2,11 +2,15 @@ | |||
| 2 | // | 2 | // |
| 3 | // - in-range records of every kind (draw, draw indexed, dispatch, mesh dispatch) come back bit-identical, and the | 3 | // - in-range records of every kind (draw, draw indexed, dispatch, mesh dispatch) come back bit-identical, and the |
| 4 | // pass counts nothing as clamped; | 4 | // pass counts nothing as clamped; |
| 5 | // - a garbage record is bounded (2^24 vertices, 2^26 vertex instances, 65 535 groups per dimension, 2^20 groups per | 5 | // - a garbage record is bounded (2^26 vertex instances, 65 535 groups per dimension, 2^20 groups per dispatch) |
| 6 | // dispatch) instead of asking for billions of groups; | 6 | // instead of asking for billions of groups, and a draw record of 2^23 vertices or more runs empty and free; |
| 7 | // - a counted batch clamps the count to max_command_count and empties the records past it; | 7 | // - a counted batch clamps the count to max_command_count and empties the records past it; |
| 8 | // - a batch whose records fit but whose total work passes the 2^27 budget runs all but the records that no longer | 8 | // - a batch whose records fit but whose total work passes the 2^27 budget runs all but the records that no longer |
| 9 | // fit, so thousands of garbage records cannot run for seconds. | 9 | // fit, so thousands of garbage records cannot run for seconds; |
| 10 | // - a dispatch is bounded by the device's own maxComputeWorkGroupCount, not by Vulkan's minimum of 65 535: a real | ||
| 11 | // indirect dispatch of 70 000 x 1 x 1 groups (and of 65 535 in x or y, the old limit) through the clamped scratch | ||
| 12 | // runs every group exactly once (cs_group_marker.comp marks each one). The idea is from codec-d/cool_fox | ||
| 13 | // docs/findings.md ("blocky patches: indirect dispatches cut at 65,535 groups"); no code of theirs is used. | ||
| 10 | // | 14 | // |
| 11 | // A record that asks for billions of groups or vertices would run until the host resets the driver, so this test is | 15 | // A record that asks for billions of groups or vertices would run until the host resets the driver, so this test is |
| 12 | // about the values the pass writes, never about running such a dispatch here: every case ends in a copy of the | 16 | // about the values the pass writes, never about running such a dispatch here: every case ends in a copy of the |
| @@ -17,6 +21,7 @@ | |||
| 17 | #include "vk_test_device.h" | 21 | #include "vk_test_device.h" |
| 18 | 22 | ||
| 19 | #include "../src/vulkan_indirect_clamp.h" | 23 | #include "../src/vulkan_indirect_clamp.h" |
| 24 | #include "cs_group_marker_spv.h" | ||
| 20 | 25 | ||
| 21 | #include <algorithm> | 26 | #include <algorithm> |
| 22 | #include <cstdint> | 27 | #include <cstdint> |
| @@ -98,6 +103,10 @@ struct Env { | |||
| 98 | out.counters.records_clamped = after.records_clamped - before.records_clamped; | 103 | out.counters.records_clamped = after.records_clamped - before.records_clamped; |
| 99 | out.counters.counts_clamped = after.counts_clamped - before.counts_clamped; | 104 | out.counters.counts_clamped = after.counts_clamped - before.counts_clamped; |
| 100 | out.counters.over_budget = after.over_budget - before.over_budget; | 105 | out.counters.over_budget = after.over_budget - before.over_budget; |
| 106 | out.counters.dispatch_records = after.dispatch_records - before.dispatch_records; | ||
| 107 | out.counters.dispatch_wide = after.dispatch_wide - before.dispatch_wide; | ||
| 108 | out.counters.dispatch_widest = after.dispatch_widest; // the largest so far: cases go from narrow to wide | ||
| 109 | out.counters.dispatch_cut = after.dispatch_cut - before.dispatch_cut; | ||
| 101 | // The scratch is idle once the queue is; hand it back for the next case like a completed submission does. | 110 | // The scratch is idle once the queue is; hand it back for the next case like a completed submission does. |
| 102 | clamp.retire(VK_NULL_HANDLE, 0); | 111 | clamp.retire(VK_NULL_HANDLE, 0); |
| 103 | clamp.collect(); | 112 | clamp.collect(); |
| @@ -167,17 +176,42 @@ int main() { | |||
| 167 | CHECK(out.counters.records_clamped == 0 && out.counters.counts_clamped == 0); | 176 | CHECK(out.counters.records_clamped == 0 && out.counters.counts_clamped == 0); |
| 168 | } | 177 | } |
| 169 | 178 | ||
| 170 | // 2. A draw that asks for four billion vertices in four billion instances is cut to 2^24 vertices, and the | 179 | // 2. A draw that asks for four billion vertices in four billion instances is an unfilled slot: it runs empty, |
| 171 | // instances to what keeps count * instances within 2^26. | 180 | // keeping its locations, and charges nothing. |
| 172 | { | 181 | { |
| 173 | const std::uint32_t values[4] = {0xFFFFFFF0u, 0xFFFFFFFFu, 4, 6}; | 182 | const std::uint32_t values[4] = {0xFFFFFFF0u, 0xFFFFFFFFu, 4, 6}; |
| 174 | Clamped out{}; | 183 | Clamped out{}; |
| 175 | CHECK(env.run(leonida::indirect_clamp_draw, 16, 1, 4, values, nullptr, out)); | 184 | CHECK(env.run(leonida::indirect_clamp_draw, 16, 1, 4, values, nullptr, out)); |
| 176 | const auto words = record(out, 0, 4); | 185 | const auto words = record(out, 0, 4); |
| 177 | CHECK(words[0] == leonida::indirect_clamp_max_vertices); | 186 | CHECK(words[0] == 0 && words[1] == 0); |
| 178 | CHECK(words[1] == leonida::indirect_clamp_max_vertex_instances / leonida::indirect_clamp_max_vertices); | ||
| 179 | CHECK(words[2] == 4 && words[3] == 6); | 187 | CHECK(words[2] == 4 && words[3] == 6); |
| 180 | CHECK(out.counters.records_clamped == 1); | 188 | CHECK(out.counters.records_clamped == 1 && out.counters.over_budget == 0); |
| 189 | } | ||
| 190 | |||
| 191 | // 2b. Just under the unfilled count a draw is a draw: its vertices stay, and its instances are cut to what keeps | ||
| 192 | // count * instances within 2^26. At the unfilled count it runs empty. | ||
| 193 | { | ||
| 194 | const std::uint32_t most = leonida::indirect_clamp_unfilled_draw - 1; | ||
| 195 | const std::uint32_t values[4 * 2] = {most, 100, 0, 0, leonida::indirect_clamp_unfilled_draw, 1, 0, 0}; | ||
| 196 | Clamped out{}; | ||
| 197 | CHECK(env.run(leonida::indirect_clamp_draw, 16, 2, 4, values, nullptr, out)); | ||
| 198 | const auto under = record(out, 0, 4); | ||
| 199 | CHECK(under[0] == most && under[1] == leonida::indirect_clamp_max_vertex_instances / most); | ||
| 200 | CHECK(record(out, 1, 4)[0] == 0 && record(out, 1, 4)[1] == 0); | ||
| 201 | CHECK(out.counters.records_clamped == 2); | ||
| 202 | } | ||
| 203 | |||
| 204 | // 2c. Garbage counts ahead of a real draw in one list: before, each was cut to 2^24 vertices and charged them, so | ||
| 205 | // eight used up the 2^27 budget and every later draw ran empty. Now they are free and the real draw runs. | ||
| 206 | { | ||
| 207 | std::vector<std::uint32_t> values; | ||
| 208 | for (std::uint32_t r = 0; r < 16; ++r) values.insert(values.end(), {0x01000000u + r, 1, 0, 0}); | ||
| 209 | const std::uint32_t valid[] = {300, 2, 3, 4}; | ||
| 210 | values.insert(values.end(), valid, valid + 4); | ||
| 211 | Clamped out{}; | ||
| 212 | CHECK(env.run(leonida::indirect_clamp_draw, 16, 17, 4, values.data(), nullptr, out)); | ||
| 213 | CHECK(out.counters.over_budget == 0 && out.counters.records_clamped == 16); | ||
| 214 | CHECK(record(out, 16, 4) == std::vector<std::uint32_t>(valid, valid + 4)); | ||
| 181 | } | 215 | } |
| 182 | 216 | ||
| 183 | // 3. A counted draw: the count is clamped to max_command_count, and the records past min(count, max) are empty. | 217 | // 3. A counted draw: the count is clamped to max_command_count, and the records past min(count, max) are empty. |
| @@ -210,14 +244,23 @@ int main() { | |||
| 210 | CHECK(out.counters.counts_clamped == 1); | 244 | CHECK(out.counters.counts_clamped == 1); |
| 211 | } | 245 | } |
| 212 | 246 | ||
| 213 | // 4. An indexed draw keeps its two locations and its first instance, and bounds its index count. | 247 | // 4. An indexed draw keeps its two locations and its first instance: an unfilled index count runs empty, and a |
| 248 | // real one keeps its indices with the instances bounded. | ||
| 214 | { | 249 | { |
| 215 | const std::uint32_t values[5] = {0xFFFFFFFFu, 0xFFFFFFFFu, 10, 20, 30}; | 250 | const std::uint32_t values[5] = {0xFFFFFFFFu, 0xFFFFFFFFu, 10, 20, 30}; |
| 216 | Clamped out{}; | 251 | Clamped out{}; |
| 217 | CHECK(env.run(leonida::indirect_clamp_draw_indexed, 20, 1, 5, values, nullptr, out)); | 252 | CHECK(env.run(leonida::indirect_clamp_draw_indexed, 20, 1, 5, values, nullptr, out)); |
| 218 | const auto words = record(out, 0, 5); | 253 | const auto words = record(out, 0, 5); |
| 219 | CHECK(words[0] == leonida::indirect_clamp_max_vertices); | 254 | CHECK(words[0] == 0 && words[1] == 0); |
| 220 | CHECK(words[1] == leonida::indirect_clamp_max_vertex_instances / leonida::indirect_clamp_max_vertices); | 255 | CHECK(words[2] == 10 && words[3] == 20 && words[4] == 30); |
| 256 | CHECK(out.counters.records_clamped == 1); | ||
| 257 | } | ||
| 258 | { | ||
| 259 | const std::uint32_t values[5] = {3000, 0xFFFFFFFFu, 10, 20, 30}; | ||
| 260 | Clamped out{}; | ||
| 261 | CHECK(env.run(leonida::indirect_clamp_draw_indexed, 20, 1, 5, values, nullptr, out)); | ||
| 262 | const auto words = record(out, 0, 5); | ||
| 263 | CHECK(words[0] == 3000 && words[1] == leonida::indirect_clamp_max_vertex_instances / 3000); | ||
| 221 | CHECK(words[2] == 10 && words[3] == 20 && words[4] == 30); | 264 | CHECK(words[2] == 10 && words[3] == 20 && words[4] == 30); |
| 222 | CHECK(out.counters.records_clamped == 1); | 265 | CHECK(out.counters.records_clamped == 1); |
| 223 | } | 266 | } |
| @@ -241,16 +284,40 @@ int main() { | |||
| 241 | CHECK(out.counters.records_clamped == 1); | 284 | CHECK(out.counters.records_clamped == 1); |
| 242 | } | 285 | } |
| 243 | 286 | ||
| 244 | // 6b. A dispatch over the per-dimension limit is cut there, and one over 2^20 groups in all runs empty. | 287 | // 6b. A dispatch over the device's per-dimension limit is cut there (y here; a device whose y limit is above 2^20 |
| 288 | // runs it empty instead, as more than 2^20 groups), and one over 2^20 groups in all runs empty. | ||
| 245 | { | 289 | { |
| 246 | const std::uint32_t values[3 * 2] = {0x10000000u, 1, 1, 65535, 65535, 1}; | 290 | const std::uint32_t max_y = leonida::indirect_clamp_dispatch_limit(properties.limits, 1); |
| 291 | const std::uint32_t values[3 * 2] = {1, 0x10000000u, 1, 65535, 65535, 1}; | ||
| 247 | Clamped out{}; | 292 | Clamped out{}; |
| 248 | CHECK(env.run(leonida::indirect_clamp_dispatch, 12, 2, 3, values, nullptr, out)); | 293 | CHECK(env.run(leonida::indirect_clamp_dispatch, 12, 2, 3, values, nullptr, out)); |
| 249 | const auto per_dimension = record(out, 0, 3); | 294 | const auto per_dimension = record(out, 0, 3); |
| 250 | CHECK(per_dimension[0] == leonida::indirect_clamp_max_group_dimension && per_dimension[1] == 1 && | 295 | if (max_y <= leonida::indirect_clamp_max_groups) |
| 251 | per_dimension[2] == 1); | 296 | CHECK(per_dimension[0] == 1 && per_dimension[1] == max_y && per_dimension[2] == 1); |
| 297 | else | ||
| 298 | CHECK(all_zero(per_dimension)); | ||
| 252 | CHECK(all_zero(record(out, 1, 3))); | 299 | CHECK(all_zero(record(out, 1, 3))); |
| 253 | CHECK(out.counters.records_clamped == 2); | 300 | CHECK(out.counters.records_clamped == 2); |
| 301 | // The dispatch counters: both records, neither wider than 65 535 in x, and the first cut at the device's | ||
| 302 | // limit where it still runs. | ||
| 303 | CHECK(out.counters.dispatch_records == 2 && out.counters.dispatch_wide == 0); | ||
| 304 | CHECK(out.counters.dispatch_cut == (max_y <= leonida::indirect_clamp_max_groups ? 1u : 0u)); | ||
| 305 | } | ||
| 306 | |||
| 307 | // 6c. x within the device's limit is not cut at 65 535: 70 000 groups (fewer than 2^20) come back as asked on a | ||
| 308 | // device that runs them, and are cut at its limit on one that does not. | ||
| 309 | { | ||
| 310 | const std::uint32_t max_x = leonida::indirect_clamp_dispatch_limit(properties.limits, 0); | ||
| 311 | const std::uint32_t values[3] = {70000, 1, 1}; | ||
| 312 | Clamped out{}; | ||
| 313 | CHECK(env.run(leonida::indirect_clamp_dispatch, 12, 1, 3, values, nullptr, out)); | ||
| 314 | const auto words = record(out, 0, 3); | ||
| 315 | CHECK(words[0] == std::min<std::uint32_t>(70000, max_x) && words[1] == 1 && words[2] == 1); | ||
| 316 | CHECK(out.counters.records_clamped == (max_x >= 70000 ? 0u : 1u)); | ||
| 317 | // Counted as wider than 65 535 where it runs so, and as cut at the device's limit where it is cut. | ||
| 318 | CHECK(out.counters.dispatch_records == 1 && out.counters.dispatch_wide == (max_x >= 70000 ? 1u : 0u)); | ||
| 319 | CHECK(out.counters.dispatch_widest == std::min<std::uint32_t>(70000, max_x)); | ||
| 320 | CHECK(out.counters.dispatch_cut == (max_x >= 70000 ? 0u : 1u)); | ||
| 254 | } | 321 | } |
| 255 | 322 | ||
| 256 | // 7. A console mesh dispatch uses only x. | 323 | // 7. A console mesh dispatch uses only x. |
| @@ -300,7 +367,7 @@ int main() { | |||
| 300 | 367 | ||
| 301 | // Three calls on one list consume two full draw allowances. A fresh list starts at zero. | 368 | // Three calls on one list consume two full draw allowances. A fresh list starts at zero. |
| 302 | { | 369 | { |
| 303 | const std::uint32_t args[] = {1u << 24, 4, 0, 0}; | 370 | const std::uint32_t args[] = {1u << 22, 16, 0, 0}; // 2^26 units: half the list budget, a real draw |
| 304 | std::memcpy(env.arguments_map, args, sizeof(args)); | 371 | std::memcpy(env.arguments_map, args, sizeof(args)); |
| 305 | auto batch = clamp.batch(); | 372 | auto batch = clamp.batch(); |
| 306 | leonida::ClampedIndirect jobs[4]{}; | 373 | leonida::ClampedIndirect jobs[4]{}; |
| @@ -331,7 +398,7 @@ int main() { | |||
| 331 | // clamped, none falls back to the application's buffer; the calls past the slots only lose their counters. | 398 | // clamped, none falls back to the application's buffer; the calls past the slots only lose their counters. |
| 332 | { | 399 | { |
| 333 | std::memset(env.arguments_map, 0, size_t(env.argument_bytes)); | 400 | std::memset(env.arguments_map, 0, size_t(env.argument_bytes)); |
| 334 | const std::uint32_t huge[4] = {0xFFFFFFF0u, 0xFFFFFFFFu, 4, 6}; | 401 | const std::uint32_t huge[4] = {0x00400000u, 0xFFFFFFFFu, 4, 6}; // 2^22 vertices: a draw, its instances cut |
| 335 | std::memcpy(env.arguments_map, huge, sizeof huge); | 402 | std::memcpy(env.arguments_map, huge, sizeof huge); |
| 336 | std::memset(env.readback_map, 0xcd, size_t(env.readback_bytes)); | 403 | std::memset(env.readback_map, 0xcd, size_t(env.readback_bytes)); |
| 337 | const auto before = clamp.counters(); | 404 | const auto before = clamp.counters(); |
| @@ -362,12 +429,112 @@ int main() { | |||
| 362 | }); | 429 | }); |
| 363 | CHECK(ok); | 430 | CHECK(ok); |
| 364 | const auto* words = static_cast<const std::uint32_t*>(env.readback_map); | 431 | const auto* words = static_cast<const std::uint32_t*>(env.readback_map); |
| 365 | CHECK(words[0] == leonida::indirect_clamp_max_vertices && words[2] == 4 && words[3] == 6); | 432 | CHECK(words[0] == 0x00400000u && |
| 433 | words[1] == leonida::indirect_clamp_max_vertex_instances / 0x00400000u && words[2] == 4 && | ||
| 434 | words[3] == 6); | ||
| 366 | } | 435 | } |
| 367 | clamp.retire(VK_NULL_HANDLE, 0); | 436 | clamp.retire(VK_NULL_HANDLE, 0); |
| 368 | clamp.collect(); | 437 | clamp.collect(); |
| 369 | } | 438 | } |
| 370 | 439 | ||
| 440 | // 10. Real indirect dispatches through the clamped scratch: every group runs exactly once. 70 000 x 1 x 1 is past | ||
| 441 | // the old fixed 65 535 (the groups past it never ran, leaving their output stale); 65 535 in x and in y are | ||
| 442 | // exactly at it. A size past this device's own limit is skipped: the clamp cuts it there by design. | ||
| 443 | { | ||
| 444 | const auto vkfn = [&](const char* name) { return device.device_proc(device.device, name); }; | ||
| 445 | VkShaderModuleCreateInfo module_info{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; | ||
| 446 | module_info.codeSize = sizeof(leonida::cs_group_marker_spirv); | ||
| 447 | module_info.pCode = leonida::cs_group_marker_spirv; | ||
| 448 | VkShaderModule module = VK_NULL_HANDLE; | ||
| 449 | CHECK(reinterpret_cast<PFN_vkCreateShaderModule>(vkfn("vkCreateShaderModule"))(device.device, &module_info, | ||
| 450 | nullptr, &module) == VK_SUCCESS); | ||
| 451 | struct MarkerPush { | ||
| 452 | VkDeviceAddress marks; | ||
| 453 | std::uint32_t groups; | ||
| 454 | std::uint32_t pad; | ||
| 455 | }; | ||
| 456 | const VkPushConstantRange range{VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(MarkerPush)}; | ||
| 457 | VkPipelineLayoutCreateInfo layout_info{VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO}; | ||
| 458 | layout_info.pushConstantRangeCount = 1; | ||
| 459 | layout_info.pPushConstantRanges = ⦥ | ||
| 460 | VkPipelineLayout layout = VK_NULL_HANDLE; | ||
| 461 | CHECK(reinterpret_cast<PFN_vkCreatePipelineLayout>(vkfn("vkCreatePipelineLayout"))( | ||
| 462 | device.device, &layout_info, nullptr, &layout) == VK_SUCCESS); | ||
| 463 | VkComputePipelineCreateInfo pipeline_info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO}; | ||
| 464 | pipeline_info.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}; | ||
| 465 | pipeline_info.stage.stage = VK_SHADER_STAGE_COMPUTE_BIT; | ||
| 466 | pipeline_info.stage.module = module; | ||
| 467 | pipeline_info.stage.pName = "main"; | ||
| 468 | pipeline_info.layout = layout; | ||
| 469 | VkPipeline pipeline = VK_NULL_HANDLE; | ||
| 470 | CHECK(reinterpret_cast<PFN_vkCreateComputePipelines>(vkfn("vkCreateComputePipelines"))( | ||
| 471 | device.device, VK_NULL_HANDLE, 1, &pipeline_info, nullptr, &pipeline) == VK_SUCCESS); | ||
| 472 | |||
| 473 | constexpr std::uint32_t kMostGroups = 70000; | ||
| 474 | void* marks_map = nullptr; | ||
| 475 | const VkBuffer marks = device.buffer(VkDeviceSize(kMostGroups + 1) * 4, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, | ||
| 476 | &marks_map); | ||
| 477 | CHECK(marks && marks_map && pipeline); | ||
| 478 | struct Case { | ||
| 479 | std::uint32_t x, y, z; | ||
| 480 | }; | ||
| 481 | const Case cases[] = {{70000, 1, 1}, {65535, 1, 1}, {1, 65535, 1}}; | ||
| 482 | for (const Case& c : cases) { | ||
| 483 | if (!marks || !pipeline) break; | ||
| 484 | const std::uint32_t groups = c.x * c.y * c.z; | ||
| 485 | if (c.x > leonida::indirect_clamp_dispatch_limit(properties.limits, 0) || | ||
| 486 | c.y > leonida::indirect_clamp_dispatch_limit(properties.limits, 1) || | ||
| 487 | c.z > leonida::indirect_clamp_dispatch_limit(properties.limits, 2)) { | ||
| 488 | std::printf("indirect_clamp_test: %u x %u x %u is past this device's maxComputeWorkGroupCount; " | ||
| 489 | "skipped\n", c.x, c.y, c.z); | ||
| 490 | continue; | ||
| 491 | } | ||
| 492 | const std::uint32_t args[3] = {c.x, c.y, c.z}; | ||
| 493 | std::memset(env.arguments_map, 0, size_t(env.argument_bytes)); | ||
| 494 | std::memcpy(env.arguments_map, args, sizeof args); | ||
| 495 | std::memset(marks_map, 0, size_t(kMostGroups + 1) * 4); | ||
| 496 | { | ||
| 497 | auto batch = clamp.batch(); | ||
| 498 | leonida::ClampedIndirect job{}; | ||
| 499 | CHECK(batch->prepare(env.arguments, 0, VK_NULL_HANDLE, 0, leonida::indirect_clamp_dispatch, 12, 1, | ||
| 500 | job)); | ||
| 501 | const MarkerPush push{device.device_address(marks), groups, 0}; | ||
| 502 | CHECK(device.run([&](VkCommandBuffer cb) { | ||
| 503 | clamp.emit(cb, job); // its last barrier orders the records before the indirect read | ||
| 504 | reinterpret_cast<PFN_vkCmdBindPipeline>(vkfn("vkCmdBindPipeline"))( | ||
| 505 | cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline); | ||
| 506 | reinterpret_cast<PFN_vkCmdPushConstants>(vkfn("vkCmdPushConstants"))( | ||
| 507 | cb, layout, VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof push, &push); | ||
| 508 | reinterpret_cast<PFN_vkCmdDispatchIndirect>(vkfn("vkCmdDispatchIndirect"))(cb, job.buffer, | ||
| 509 | job.offset); | ||
| 510 | VkMemoryBarrier host{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; | ||
| 511 | host.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT; | ||
| 512 | host.dstAccessMask = VK_ACCESS_HOST_READ_BIT; | ||
| 513 | device.fn<PFN_vkCmdPipelineBarrier>("vkCmdPipelineBarrier")( | ||
| 514 | cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT, 0, 1, &host, 0, nullptr, | ||
| 515 | 0, nullptr); | ||
| 516 | return true; | ||
| 517 | })); | ||
| 518 | } | ||
| 519 | clamp.retire(VK_NULL_HANDLE, 0); | ||
| 520 | clamp.collect(); | ||
| 521 | const auto* m = static_cast<const std::uint32_t*>(marks_map); | ||
| 522 | std::uint32_t once = 0, never = 0, twice = 0; | ||
| 523 | for (std::uint32_t g = 0; g < groups; ++g) { | ||
| 524 | if (m[g] == 1) ++once; | ||
| 525 | else if (m[g] == 0) ++never; | ||
| 526 | else ++twice; | ||
| 527 | } | ||
| 528 | if (once != groups || m[groups] != 0) | ||
| 529 | std::fprintf(stderr, "indirect_clamp_test: %u x %u x %u: %u group(s) ran once, %u never, %u more than " | ||
| 530 | "once, %u past the end\n", c.x, c.y, c.z, once, never, twice, m[groups]); | ||
| 531 | CHECK(once == groups && never == 0 && twice == 0 && m[groups] == 0); | ||
| 532 | } | ||
| 533 | reinterpret_cast<PFN_vkDestroyPipeline>(vkfn("vkDestroyPipeline"))(device.device, pipeline, nullptr); | ||
| 534 | reinterpret_cast<PFN_vkDestroyPipelineLayout>(vkfn("vkDestroyPipelineLayout"))(device.device, layout, nullptr); | ||
| 535 | reinterpret_cast<PFN_vkDestroyShaderModule>(vkfn("vkDestroyShaderModule"))(device.device, module, nullptr); | ||
| 536 | } | ||
| 537 | |||
| 371 | // Every case above ran under validation when LEONIDA_VK_VALIDATION=1. | 538 | // Every case above ran under validation when LEONIDA_VK_VALIDATION=1. |
| 372 | CHECK(device.validation_errors() == device.known_validation_errors()); | 539 | CHECK(device.validation_errors() == device.known_validation_errors()); |
| 373 | 540 | ||
diff --git a/runtime/test/list_value_wait_budget_test.cpp b/runtime/test/list_value_wait_budget_test.cpp new file mode 100644 index 000000000..6bf9bfbf5 --- /dev/null +++ b/runtime/test/list_value_wait_budget_test.cpp | |||
| @@ -0,0 +1,348 @@ | |||
| 1 | // Portable CPU-only unit tests for runtime/src/list_value_wait_budget.h (RT-LIST-VALUE-WAIT-WORK-AWARE-TIMEOUT): | ||
| 2 | // work-aware timeout pausing, finite pause caps across all pause reasons (including releaser_busy and | ||
| 3 | // matching_producer), demoted-gate cap scaling, cycle detection across multi-queue write/gate chains, overwrite-aware | ||
| 4 | // write matching, action gates, and a mock Pump tick driver. No Windows, D3D12, or Vulkan headers; no game files. | ||
| 5 | #include "../src/list_value_wait_budget.h" | ||
| 6 | |||
| 7 | #include <climits> | ||
| 8 | #include <cstdio> | ||
| 9 | #include <vector> | ||
| 10 | |||
| 11 | #define CHECK(cond) do { \ | ||
| 12 | if (!(cond)) { \ | ||
| 13 | std::fprintf(stderr, "line %d: CHECK failed: %s\n", __LINE__, #cond); \ | ||
| 14 | return 1; \ | ||
| 15 | } \ | ||
| 16 | } while (0) | ||
| 17 | |||
| 18 | namespace { | ||
| 19 | |||
| 20 | constexpr bool test_met(std::uint32_t comparison, std::uint64_t value, std::uint64_t reference, bool wide) { | ||
| 21 | if (!wide) { | ||
| 22 | value &= 0xffffffffu; | ||
| 23 | reference &= 0xffffffffu; | ||
| 24 | } | ||
| 25 | switch (comparison) { | ||
| 26 | case 2: return value < reference; | ||
| 27 | case 3: return value == reference; | ||
| 28 | case 4: return value <= reference; | ||
| 29 | case 5: return value > reference; | ||
| 30 | case 6: return value != reference; | ||
| 31 | case 7: return value >= reference; | ||
| 32 | default: return true; | ||
| 33 | } | ||
| 34 | } | ||
| 35 | |||
| 36 | } // namespace | ||
| 37 | |||
| 38 | int main() { | ||
| 39 | using namespace leonida::list_value_wait; | ||
| 40 | |||
| 41 | int q1_tag = 0, q2_tag = 0, q3_tag = 0; | ||
| 42 | const void* const q1 = &q1_tag; | ||
| 43 | const void* const q2 = &q2_tag; | ||
| 44 | const void* const q3 = &q3_tag; | ||
| 45 | |||
| 46 | // 1. Idle unmodelled wait: PauseReason::none -> expires at exact budget_us. | ||
| 47 | { | ||
| 48 | const WaitPredicate waits[] = {{0x1000, 5, 7, true}}; // >= 5 | ||
| 49 | const PendingGate gates[] = {{q1, 1, false, waits}}; | ||
| 50 | CHECK(pause_reason(false, {}, gates, 0, test_met) == PauseReason::none); | ||
| 51 | |||
| 52 | GateTimeoutState t; | ||
| 53 | const PauseCaps caps = default_pause_caps(200, false); | ||
| 54 | t.reset(200'000, caps.active_us, caps.max_us); | ||
| 55 | CHECK(!t.advance(100'000, PauseReason::none)); | ||
| 56 | CHECK(t.elapsed_us == 100'000 && !t.paused_ever); | ||
| 57 | CHECK(!t.advance(99'999, PauseReason::none)); | ||
| 58 | CHECK(t.advance(1, PauseReason::none)); | ||
| 59 | CHECK(t.elapsed_us == 200'000); | ||
| 60 | } | ||
| 61 | |||
| 62 | // 2. Releaser actively executing held work pauses the timeout clock (covering multi-minute world-phase pipeline | ||
| 63 | // builds without burning idle budget), yet still expires at the finite max_pause_cap_us if a Signal hangs. | ||
| 64 | { | ||
| 65 | const WaitPredicate waits[] = {{0x1000, 5, 7, true}}; | ||
| 66 | const PendingGate gates[] = {{q1, 1, false, waits}}; | ||
| 67 | CHECK(pause_reason(true, {}, gates, 0, test_met) == PauseReason::releaser_busy); | ||
| 68 | |||
| 69 | GateTimeoutState t; | ||
| 70 | const PauseCaps caps = default_pause_caps(200, false); | ||
| 71 | CHECK(caps.active_us == 60'000'000ull && caps.max_us == 300'000'000ull); | ||
| 72 | t.reset(200'000, caps.active_us, caps.max_us); | ||
| 73 | // 120 seconds of releaser executing pipeline builds/copies burns 0 us of idle timeout budget. | ||
| 74 | for (int i = 0; i < 120; ++i) CHECK(!t.advance(1'000'000, PauseReason::releaser_busy)); | ||
| 75 | CHECK(t.elapsed_us == 0 && t.total_paused_us == 120'000'000ull && t.paused_ever); | ||
| 76 | // Once idle again, still gets its full 200 ms budget before expiring. | ||
| 77 | CHECK(!t.advance(199'000, PauseReason::none)); | ||
| 78 | CHECK(t.advance(1'000, PauseReason::none)); | ||
| 79 | |||
| 80 | // Hung Signal (releaser_busy forever) hits the finite max_pause_cap_us and then drains budget_us. | ||
| 81 | GateTimeoutState hung; | ||
| 82 | hung.reset(200'000, caps.active_us, caps.max_us); | ||
| 83 | for (int i = 0; i < 300; ++i) CHECK(!hung.advance(1'000'000, PauseReason::releaser_busy)); | ||
| 84 | CHECK(hung.total_paused_us == 300'000'000ull && hung.elapsed_us == 0); | ||
| 85 | CHECK(!hung.advance(199'000, PauseReason::releaser_busy)); | ||
| 86 | CHECK(hung.advance(1'000, PauseReason::releaser_busy)); | ||
| 87 | CHECK(hung.elapsed_us == 200'000); | ||
| 88 | } | ||
| 89 | |||
| 90 | // 3. Matching unblocked producer write on another queue (Wait-before-Signal) -> PauseReason::matching_producer. | ||
| 91 | { | ||
| 92 | const WaitPredicate waits[] = {{0x2000, 10, 7, true}}; // >= 10 | ||
| 93 | const PendingWrite w_ok[] = {{0x2000, 12, 8, false}}; | ||
| 94 | const PendingWriteGroup groups[] = {{q2, 0, w_ok}}; | ||
| 95 | const PendingGate gates[] = {{q1, 1, false, waits}}; | ||
| 96 | CHECK(pause_reason(false, groups, gates, 0, test_met) == PauseReason::matching_producer); | ||
| 97 | |||
| 98 | // Timestamp write to the same address also matches (final value unknown until landing). | ||
| 99 | const PendingWrite w_ts[] = {{0x2000, 0, 8, true}}; | ||
| 100 | const PendingWriteGroup ts_groups[] = {{q2, 0, w_ts}}; | ||
| 101 | CHECK(pause_reason(false, ts_groups, gates, 0, test_met) == PauseReason::matching_producer); | ||
| 102 | |||
| 103 | // Matching write overwritten later in the same WriteGroup by a non-matching value does NOT match, | ||
| 104 | // falling back to active_work (since q2's group is unblocked). | ||
| 105 | const PendingWrite w_overwritten[] = {{0x2000, 12, 8, false}, {0x2000, 3, 8, false}}; | ||
| 106 | const PendingWriteGroup ow_groups[] = {{q2, 0, w_overwritten}}; | ||
| 107 | CHECK(pause_reason(false, ow_groups, gates, 0, test_met) == PauseReason::active_work); | ||
| 108 | |||
| 109 | // Partial overlap by a later write in the same group invalidates the earlier matching write. | ||
| 110 | const PendingWrite w_partial[] = {{0x2000, 12, 8, false}, {0x2004, 0, 4, false}}; | ||
| 111 | const PendingWriteGroup part_groups[] = {{q2, 0, w_partial}}; | ||
| 112 | CHECK(pause_reason(false, part_groups, gates, 0, test_met) == PauseReason::active_work); | ||
| 113 | |||
| 114 | // 4-byte write cannot satisfy an 8-byte (wide) wait. | ||
| 115 | const PendingWrite w_narrow[] = {{0x2000, 12, 4, false}}; | ||
| 116 | const PendingWriteGroup nar_groups[] = {{q2, 0, w_narrow}}; | ||
| 117 | CHECK(pause_reason(false, nar_groups, gates, 0, test_met) == PauseReason::active_work); | ||
| 118 | |||
| 119 | // 8-byte write CAN satisfy a 4-byte wait (low 32 bits compared). | ||
| 120 | const WaitPredicate wait32[] = {{0x2000, 10, 7, false}}; | ||
| 121 | const PendingWrite w_hi_lo[] = {{0x2000, 0x100000000ull | 12ull, 8, false}}; | ||
| 122 | const PendingWriteGroup hilo_groups[] = {{q2, 0, w_hi_lo}}; | ||
| 123 | const PendingGate gates32[] = {{q1, 1, false, wait32}}; | ||
| 124 | CHECK(pause_reason(false, hilo_groups, gates32, 0, test_met) == PauseReason::matching_producer); | ||
| 125 | } | ||
| 126 | |||
| 127 | // 4. Same-queue ordering: a write submitted BEFORE the gate (after_gate < gate.value) IS a live producer; | ||
| 128 | // a write submitted AFTER the gate (after_gate >= gate.value) is a self-deadlock and MUST NOT pause the gate. | ||
| 129 | { | ||
| 130 | const WaitPredicate waits[] = {{0x3000, 1, 7, true}}; | ||
| 131 | const PendingWrite w[] = {{0x3000, 1, 8, false}}; | ||
| 132 | const PendingGate gates[] = {{q1, 2, false, waits}}; | ||
| 133 | |||
| 134 | const PendingWriteGroup before_gate[] = {{q1, 1, w}}; // after_gate 1 < gate.value 2 (unblocked!) | ||
| 135 | CHECK(pause_reason(false, before_gate, gates, 0, test_met) == PauseReason::matching_producer); | ||
| 136 | |||
| 137 | const PendingWriteGroup behind_gate[] = {{q1, 2, w}}; // after_gate 2 == gate.value 2 (held by itself!) | ||
| 138 | CHECK(pause_reason(false, behind_gate, gates, 0, test_met) == PauseReason::none); | ||
| 139 | } | ||
| 140 | |||
| 141 | // 5. Mutual 2-queue cycle (Q1 waits on Q2's write behind G2; Q2 waits on Q1's write behind G1): | ||
| 142 | // NEITHER gate pauses, so the cycle breaks cleanly instead of deadlocking. | ||
| 143 | { | ||
| 144 | const WaitPredicate w1[] = {{0x4000, 1, 7, true}}; | ||
| 145 | const WaitPredicate w2[] = {{0x5000, 1, 7, true}}; | ||
| 146 | const PendingWrite pw1[] = {{0x5000, 1, 8, false}}; // Q1 writes what Q2 waits for, behind Q1's gate 1 | ||
| 147 | const PendingWrite pw2[] = {{0x4000, 1, 8, false}}; // Q2 writes what Q1 waits for, behind Q2's gate 1 | ||
| 148 | const PendingWriteGroup groups[] = {{q1, 1, pw1}, {q2, 1, pw2}}; | ||
| 149 | const PendingGate gates[] = {{q1, 1, false, w1}, {q2, 1, false, w2}}; | ||
| 150 | CHECK(pause_reason(false, groups, gates, 0, test_met) == PauseReason::none); | ||
| 151 | CHECK(pause_reason(false, groups, gates, 1, test_met) == PauseReason::none); | ||
| 152 | } | ||
| 153 | |||
| 154 | // 6. 3-queue cycle involving a SECOND (non-front) gate on Q2: | ||
| 155 | // Q1 gate 1 waits on W2 (behind Q2 gates 1 & 2); Q2 gate 2 waits on W1 (behind Q1 gate 1). | ||
| 156 | // Checking all gates <= after_gate catches this indirect cycle! | ||
| 157 | { | ||
| 158 | const WaitPredicate w_q1[] = {{0x6000, 1, 7, true}}; | ||
| 159 | const WaitPredicate w_q2_g1[] = {{0x6100, 1, 7, true}}; // unrelated front gate on Q2 | ||
| 160 | const WaitPredicate w_q2_g2[] = {{0x6200, 1, 7, true}}; // second gate on Q2 waits on Q1 | ||
| 161 | const PendingWrite pw_q1[] = {{0x6200, 1, 8, false}}; // behind Q1 gate 1 | ||
| 162 | const PendingWrite pw_q2[] = {{0x6000, 1, 8, false}}; // behind Q2 gate 2 (after_gate = 2) | ||
| 163 | const PendingWriteGroup groups[] = {{q1, 1, pw_q1}, {q2, 2, pw_q2}}; | ||
| 164 | const PendingGate gates[] = { | ||
| 165 | {q1, 1, false, w_q1}, | ||
| 166 | {q2, 1, false, w_q2_g1}, | ||
| 167 | {q2, 2, false, w_q2_g2}, | ||
| 168 | }; | ||
| 169 | CHECK(pause_reason(false, groups, gates, 0, test_met) == PauseReason::none); | ||
| 170 | CHECK(pause_reason(false, groups, gates, 2, test_met) == PauseReason::none); | ||
| 171 | } | ||
| 172 | |||
| 173 | // 7. Acyclic 3-queue chain (Q1 -> Q2 -> Q3 where Q3's gate has no producer): | ||
| 174 | // Q3 does NOT pause (times out first), while Q2 and Q1 wait for their upstream producers to run in order! | ||
| 175 | { | ||
| 176 | const WaitPredicate w_q1[] = {{0x7000, 1, 7, true}}; | ||
| 177 | const WaitPredicate w_q2[] = {{0x7100, 1, 7, true}}; | ||
| 178 | const WaitPredicate w_q3[] = {{0x7200, 1, 7, true}}; // unmodelled wait on Q3 | ||
| 179 | const PendingWrite pw_q2[] = {{0x7000, 1, 8, false}}; // Q2 feeds Q1 (behind Q2 gate 1) | ||
| 180 | const PendingWrite pw_q3[] = {{0x7100, 1, 8, false}}; // Q3 feeds Q2 (behind Q3 gate 1) | ||
| 181 | const PendingWriteGroup groups[] = {{q2, 1, pw_q2}, {q3, 1, pw_q3}}; | ||
| 182 | const PendingGate gates[] = { | ||
| 183 | {q1, 1, false, w_q1}, | ||
| 184 | {q2, 1, false, w_q2}, | ||
| 185 | {q3, 1, false, w_q3}, | ||
| 186 | }; | ||
| 187 | CHECK(pause_reason(false, groups, gates, 0, test_met) == PauseReason::matching_producer); | ||
| 188 | CHECK(pause_reason(false, groups, gates, 1, test_met) == PauseReason::matching_producer); | ||
| 189 | CHECK(pause_reason(false, groups, gates, 2, test_met) == PauseReason::none); | ||
| 190 | } | ||
| 191 | |||
| 192 | // 8. Action gate on another queue counts as active_work when unblocked, and does NOT count when blocked behind a | ||
| 193 | // memory gate on its own queue. | ||
| 194 | { | ||
| 195 | const WaitPredicate w_q1[] = {{0x8000, 1, 7, true}}; | ||
| 196 | const WaitPredicate w_q2[] = {{0x8100, 1, 7, true}}; | ||
| 197 | const PendingGate unblocked_action[] = { | ||
| 198 | {q1, 1, false, w_q1}, | ||
| 199 | {q2, 1, true, {}}, // unblocked action gate on Q2 | ||
| 200 | }; | ||
| 201 | CHECK(pause_reason(false, {}, unblocked_action, 0, test_met) == PauseReason::active_work); | ||
| 202 | |||
| 203 | const PendingGate blocked_action[] = { | ||
| 204 | {q1, 1, false, w_q1}, | ||
| 205 | {q2, 1, false, w_q2}, // memory gate blocking Q2 | ||
| 206 | {q2, 2, true, {}}, // action gate behind Q2's memory gate | ||
| 207 | }; | ||
| 208 | CHECK(pause_reason(false, {}, blocked_action, 0, test_met) == PauseReason::none); | ||
| 209 | } | ||
| 210 | |||
| 211 | // 9. Bounded pause caps: active_work, matching_producer, releaser_busy, combined alternating reasons, and | ||
| 212 | // demoted-gate cap scaling. | ||
| 213 | { | ||
| 214 | CHECK(default_active_pause_cap_us(200) == 60'000'000ull); | ||
| 215 | CHECK(default_max_pause_cap_us(200) == 300'000'000ull); | ||
| 216 | CHECK(default_active_pause_cap_us(30) == 9'000'000ull); | ||
| 217 | CHECK(default_max_pause_cap_us(30) == 45'000'000ull); | ||
| 218 | CHECK(default_active_pause_cap_us(1) == 300'000ull); | ||
| 219 | CHECK(default_max_pause_cap_us(1) == 1'500'000ull); | ||
| 220 | CHECK(default_active_pause_cap_us(30000) == 600'000'000ull); | ||
| 221 | CHECK(default_max_pause_cap_us(30000) == 600'000'000ull); | ||
| 222 | CHECK(default_active_pause_cap_us(UINT_MAX) == 600'000'000ull); | ||
| 223 | CHECK(default_max_pause_cap_us(UINT_MAX) == 600'000'000ull); | ||
| 224 | |||
| 225 | // Demoted (cut_short) gates scale caps with their short 4 ms budget instead of inheriting 60 s / 300 s. | ||
| 226 | const PauseCaps dem = default_pause_caps(4, true); | ||
| 227 | CHECK(dem.active_us == 4'000ull && dem.max_us == 16'000ull); | ||
| 228 | GateTimeoutState dem_active; | ||
| 229 | dem_active.reset(4'000, dem.active_us, dem.max_us); | ||
| 230 | CHECK(!dem_active.advance(4'000, PauseReason::active_work)); // absorbs 4 ms cap | ||
| 231 | CHECK(dem_active.active_paused_us == 4'000 && dem_active.elapsed_us == 0); | ||
| 232 | CHECK(!dem_active.advance(3'999, PauseReason::active_work)); | ||
| 233 | CHECK(dem_active.advance(1, PauseReason::active_work)); // expires at 8 ms total, not 60 s! | ||
| 234 | |||
| 235 | GateTimeoutState dem_prod; | ||
| 236 | dem_prod.reset(4'000, dem.active_us, dem.max_us); | ||
| 237 | CHECK(!dem_prod.advance(16'000, PauseReason::matching_producer)); | ||
| 238 | CHECK(dem_prod.total_paused_us == 16'000 && dem_prod.elapsed_us == 0); | ||
| 239 | CHECK(dem_prod.advance(4'000, PauseReason::matching_producer)); // expires at 20 ms total | ||
| 240 | |||
| 241 | // Normal gate active_work cap (5 s) vs larger max cap (20 s). | ||
| 242 | GateTimeoutState t; | ||
| 243 | t.reset(200'000, 5'000'000, 20'000'000); | ||
| 244 | for (int i = 0; i < 5; ++i) CHECK(!t.advance(1'000'000, PauseReason::active_work)); | ||
| 245 | CHECK(t.active_paused_us == 5'000'000 && t.total_paused_us == 5'000'000 && t.elapsed_us == 0 && t.paused_ever); | ||
| 246 | CHECK(!t.advance(199'000, PauseReason::active_work)); | ||
| 247 | CHECK(t.advance(1'000, PauseReason::active_work)); | ||
| 248 | CHECK(t.elapsed_us == 200'000); | ||
| 249 | |||
| 250 | // Stuck matching_producer + alternating releaser_busy share total_paused_us <= max_pause_cap_us. | ||
| 251 | GateTimeoutState stuck; | ||
| 252 | stuck.reset(200'000, 2'000'000, 10'000'000); | ||
| 253 | CHECK(!stuck.advance(2'000'000, PauseReason::active_work)); // total = 2 s | ||
| 254 | CHECK(!stuck.advance(5'000'000, PauseReason::matching_producer)); // total = 7 s | ||
| 255 | CHECK(!stuck.advance(3'100'000, PauseReason::releaser_busy)); // 3 s paused (hits 10 s cap), 100 ms elapsed | ||
| 256 | CHECK(stuck.total_paused_us == 10'000'000 && stuck.elapsed_us == 100'000); | ||
| 257 | CHECK(!stuck.advance(99'999, PauseReason::matching_producer)); | ||
| 258 | CHECK(stuck.advance(1, PauseReason::matching_producer)); | ||
| 259 | CHECK(stuck.elapsed_us == 200'000); | ||
| 260 | |||
| 261 | // Partial step straddling active_pause_cap_us splits cleanly between active_paused_us and elapsed_us. | ||
| 262 | GateTimeoutState t2; | ||
| 263 | t2.reset(200'000, 500'000, 1'000'000); | ||
| 264 | CHECK(!t2.advance(600'000, PauseReason::active_work)); // 500k paused, 100k elapsed | ||
| 265 | CHECK(t2.active_paused_us == 500'000 && t2.total_paused_us == 500'000 && t2.elapsed_us == 100'000); | ||
| 266 | CHECK(t2.advance(100'000, PauseReason::active_work)); | ||
| 267 | |||
| 268 | // active_cap > max_cap is clamped to max_cap by reset(). | ||
| 269 | GateTimeoutState clamped; | ||
| 270 | clamped.reset(100'000, 9'000'000, 3'000'000); | ||
| 271 | CHECK(clamped.active_pause_cap_us == 3'000'000 && clamped.max_pause_cap_us == 3'000'000); | ||
| 272 | } | ||
| 273 | |||
| 274 | // 10. Overflow-safe address / dt_us guards and zero-dt paused tick. | ||
| 275 | { | ||
| 276 | const WaitPredicate overflow_wait[] = {{UINT64_MAX - 2, 1, 7, true}}; | ||
| 277 | const PendingWrite overflow_write[] = {{UINT64_MAX - 2, 1, 8, false}}; | ||
| 278 | const PendingWriteGroup groups[] = {{q2, 0, overflow_write}}; | ||
| 279 | const PendingGate gates[] = {{q1, 1, false, overflow_wait}}; | ||
| 280 | // Write doesn't match due to address wrap guard, falls back to active_work for the unblocked group. | ||
| 281 | CHECK(pause_reason(false, groups, gates, 0, test_met) == PauseReason::active_work); | ||
| 282 | |||
| 283 | GateTimeoutState t; | ||
| 284 | t.reset(1000, 0, 0); | ||
| 285 | CHECK(t.advance(UINT64_MAX, PauseReason::none)); | ||
| 286 | CHECK(t.elapsed_us == UINT64_MAX); | ||
| 287 | |||
| 288 | GateTimeoutState z; | ||
| 289 | z.reset(0, 1000, 1000); | ||
| 290 | CHECK(!z.advance(0, PauseReason::releaser_busy)); | ||
| 291 | CHECK(!z.paused_ever); | ||
| 292 | } | ||
| 293 | |||
| 294 | // 11. Mock Pump tick loop driving start_gate + pause_reason + GateTimeoutState end-to-end across 1 ms steps. | ||
| 295 | { | ||
| 296 | // (a) 200 ms gate held while releaser runs a 110 s pipeline build, then producer lands at 110.5 s: met! | ||
| 297 | const WaitPredicate waits[] = {{0x9000, 7, 7, true}}; | ||
| 298 | const PendingWrite prod_write[] = {{0x9000, 7, 8, false}}; | ||
| 299 | const PendingWriteGroup prod_groups[] = {{q2, 0, prod_write}}; | ||
| 300 | const PendingGate gates[] = {{q1, 1, false, waits}}; | ||
| 301 | |||
| 302 | GateTimeoutState gate; | ||
| 303 | const PauseCaps full_caps = default_pause_caps(200, false); | ||
| 304 | gate.reset(200'000, full_caps.active_us, full_caps.max_us); | ||
| 305 | for (int ms = 0; ms < 110'000; ++ms) { | ||
| 306 | const PauseReason r = pause_reason(true, prod_groups, gates, 0, test_met); | ||
| 307 | CHECK(r == PauseReason::releaser_busy && !gate.advance(1'000, r)); | ||
| 308 | } | ||
| 309 | for (int ms = 0; ms < 500; ++ms) { | ||
| 310 | const PauseReason r = pause_reason(false, prod_groups, gates, 0, test_met); | ||
| 311 | CHECK(r == PauseReason::matching_producer && !gate.advance(1'000, r)); | ||
| 312 | } | ||
| 313 | CHECK(gate.elapsed_us == 0 && gate.total_paused_us == 110'500'000ull); | ||
| 314 | |||
| 315 | // (b) Same gate with a matching producer stuck behind an untracked title fence wait: expires at 300.2 s! | ||
| 316 | GateTimeoutState stuck_gate; | ||
| 317 | stuck_gate.reset(200'000, full_caps.active_us, full_caps.max_us); | ||
| 318 | int expired_at_ms = -1; | ||
| 319 | for (int ms = 1; ms <= 305'000; ++ms) { | ||
| 320 | const PauseReason r = pause_reason(false, prod_groups, gates, 0, test_met); | ||
| 321 | if (stuck_gate.advance(1'000, r)) { | ||
| 322 | expired_at_ms = ms; | ||
| 323 | break; | ||
| 324 | } | ||
| 325 | } | ||
| 326 | CHECK(expired_at_ms == 300'200); | ||
| 327 | |||
| 328 | // (c) Demoted gate (4 ms budget) with continuous unrelated GPU work on q2: expires at 8 ms! | ||
| 329 | const PendingWrite unrelated[] = {{0xA000, 1, 8, false}}; | ||
| 330 | const PendingWriteGroup unrel_groups[] = {{q2, 0, unrelated}}; | ||
| 331 | GateTimeoutState dem_gate; | ||
| 332 | const PauseCaps dem_caps = default_pause_caps(4, true); | ||
| 333 | dem_gate.reset(4'000, dem_caps.active_us, dem_caps.max_us); | ||
| 334 | int dem_expired_ms = -1; | ||
| 335 | for (int ms = 1; ms <= 100; ++ms) { | ||
| 336 | const PauseReason r = pause_reason(false, unrel_groups, gates, 0, test_met); | ||
| 337 | CHECK(r == PauseReason::active_work); | ||
| 338 | if (dem_gate.advance(1'000, r)) { | ||
| 339 | dem_expired_ms = ms; | ||
| 340 | break; | ||
| 341 | } | ||
| 342 | } | ||
| 343 | CHECK(dem_expired_ms == 8); | ||
| 344 | } | ||
| 345 | |||
| 346 | std::printf("list_value_wait_budget_test: all checks passed\n"); | ||
| 347 | return 0; | ||
| 348 | } | ||
diff --git a/runtime/test/memory_breakdown_test.cpp b/runtime/test/memory_breakdown_test.cpp new file mode 100644 index 000000000..d27a1166d --- /dev/null +++ b/runtime/test/memory_breakdown_test.cpp | |||
| @@ -0,0 +1,118 @@ | |||
| 1 | // leonida::memory_breakdown (src/memory_breakdown.h): the mem probe's breakdown line. The tally of synthetic | ||
| 2 | // allocations by consumer adds up to the allocated total, an Owner scope names the allocations made under it and | ||
| 3 | // nests, an image's usage picks its kind, and the text names every part. No GPU, no device. | ||
| 4 | #include "../src/memory_breakdown.h" | ||
| 5 | |||
| 6 | #include <cstdint> | ||
| 7 | #include <cstdio> | ||
| 8 | #include <string> | ||
| 9 | #include <thread> | ||
| 10 | |||
| 11 | #define EXPECT(condition) do { \ | ||
| 12 | if (!(condition)) { std::fprintf(stderr, "line %d: %s\n", __LINE__, #condition); return 1; } \ | ||
| 13 | } while (0) | ||
| 14 | |||
| 15 | namespace { | ||
| 16 | |||
| 17 | namespace mb = leonida::memory_breakdown; | ||
| 18 | constexpr std::uint64_t kMiB = 1 << 20; | ||
| 19 | |||
| 20 | bool contains(const std::string& text, const char* part) { return text.find(part) != std::string::npos; } | ||
| 21 | |||
| 22 | // The parts add up to the total, imported memory stays out of it, and an unknown consumer counts as other. | ||
| 23 | int tally() { | ||
| 24 | mb::Tally t; | ||
| 25 | t.add(mb::Consumer::arena, 4095 * kMiB, false); | ||
| 26 | t.add(mb::Consumer::geometry, 4 * kMiB, false); | ||
| 27 | t.add(mb::Consumer::geometry, 4 * kMiB, false); | ||
| 28 | t.add(mb::Consumer::sampled, 3 * kMiB, false); | ||
| 29 | t.add(mb::Consumer::render_target, 8 * kMiB, false); | ||
| 30 | t.add(mb::Consumer::other, 1 * kMiB, false); | ||
| 31 | t.add(mb::Consumer::count, 2 * kMiB, false); // out of range: other | ||
| 32 | t.add(mb::Consumer::windows, 6 * kMiB, true); // imported: not allocated by us | ||
| 33 | EXPECT(t.total() == (4095 + 8 + 3 + 8 + 1 + 2) * kMiB); | ||
| 34 | EXPECT(t.bytes[std::size_t(mb::Consumer::geometry)] == 8 * kMiB); | ||
| 35 | EXPECT(t.count[std::size_t(mb::Consumer::geometry)] == 2); | ||
| 36 | EXPECT(t.bytes[std::size_t(mb::Consumer::other)] == 3 * kMiB); | ||
| 37 | EXPECT(t.count[std::size_t(mb::Consumer::other)] == 2); | ||
| 38 | EXPECT(t.bytes[std::size_t(mb::Consumer::windows)] == 0); | ||
| 39 | EXPECT(t.imported_bytes == 6 * kMiB && t.imported_count == 1); | ||
| 40 | std::uint64_t sum = 0; | ||
| 41 | for (std::size_t i = 0; i < mb::kConsumers; ++i) sum += t.bytes[i]; | ||
| 42 | EXPECT(sum == t.total()); | ||
| 43 | return 0; | ||
| 44 | } | ||
| 45 | |||
| 46 | // An Owner scope names this thread's allocations, nests, restores the outer name, and does not leak to other threads. | ||
| 47 | int owner_scopes() { | ||
| 48 | EXPECT(mb::current_owner() == mb::Consumer::other); | ||
| 49 | { | ||
| 50 | mb::Owner outer(mb::Consumer::geometry); | ||
| 51 | EXPECT(mb::current_owner() == mb::Consumer::geometry); | ||
| 52 | { | ||
| 53 | mb::Owner inner(mb::Consumer::staging); | ||
| 54 | EXPECT(mb::current_owner() == mb::Consumer::staging); | ||
| 55 | mb::Consumer seen = mb::Consumer::count; | ||
| 56 | std::thread([&] { seen = mb::current_owner(); }).join(); | ||
| 57 | EXPECT(seen == mb::Consumer::other); | ||
| 58 | } | ||
| 59 | EXPECT(mb::current_owner() == mb::Consumer::geometry); | ||
| 60 | } | ||
| 61 | EXPECT(mb::current_owner() == mb::Consumer::other); | ||
| 62 | return 0; | ||
| 63 | } | ||
| 64 | |||
| 65 | // Colour and depth/stencil attachments are render targets; anything else bound alone is a sampled texture. | ||
| 66 | int image_kinds() { | ||
| 67 | const std::uint32_t sampled = 0x4, transfer_dst = 0x2, storage = 0x8; | ||
| 68 | EXPECT(mb::image_consumer(sampled | transfer_dst) == mb::Consumer::sampled); | ||
| 69 | EXPECT(mb::image_consumer(storage) == mb::Consumer::sampled); | ||
| 70 | EXPECT(mb::image_consumer(sampled | mb::kColorAttachment) == mb::Consumer::render_target); | ||
| 71 | EXPECT(mb::image_consumer(mb::kDepthStencilAttachment) == mb::Consumer::render_target); | ||
| 72 | return 0; | ||
| 73 | } | ||
| 74 | |||
| 75 | // The text: the total first, every consumer with its MiB and count, the arena's reserved/bound/in-use bytes, other | ||
| 76 | // last, and what lies outside the total. | ||
| 77 | int text() { | ||
| 78 | mb::Tally t; | ||
| 79 | t.add(mb::Consumer::arena, 4095 * kMiB, false); | ||
| 80 | t.add(mb::Consumer::geometry, 3867 * kMiB, false); | ||
| 81 | t.add(mb::Consumer::render_target, 1180 * kMiB, false); | ||
| 82 | t.add(mb::Consumer::other, 819 * kMiB, false); | ||
| 83 | t.add(mb::Consumer::other, 206 * kMiB, true); | ||
| 84 | mb::DeviceShare share; | ||
| 85 | share.arena = true; | ||
| 86 | share.arena_reserved = share.arena_bound = 4095 * kMiB; | ||
| 87 | share.arena_in_use = 757 * kMiB; | ||
| 88 | share.arena_use = {500 * kMiB, 171 * kMiB, 80 * kMiB, 6 * kMiB}; | ||
| 89 | share.bindless_table_bytes = 2 * kMiB; | ||
| 90 | const std::string line = mb::format(t, share, 12 * kMiB); | ||
| 91 | std::fprintf(stderr, "%s\n", line.c_str()); | ||
| 92 | EXPECT(line.rfind("allocated 9961 MiB = arena 4095 (1) [reserved 4095, bound 4095, in use 757: buffers 500, " | ||
| 93 | "descriptor heaps 171, shader code 80, heaps 6]", | ||
| 94 | 0) == 0); | ||
| 95 | EXPECT(contains(line, " + geometry copies 3867 (1)")); | ||
| 96 | EXPECT(contains(line, " + title windows and shadows 0 (0)")); | ||
| 97 | EXPECT(contains(line, " + upload heaps 0 (0) + staging 0 (0) + texture blocks 0 (0) + sampled textures 0 (0)")); | ||
| 98 | EXPECT(contains(line, " + render targets and depth 1180 (1) + other 819 (1);")); | ||
| 99 | EXPECT(contains(line, "imported 206 MiB (1)")); | ||
| 100 | EXPECT(contains(line, "bindless tables 2 MiB")); | ||
| 101 | EXPECT(contains(line, "shader modules 12 MiB SPIR-V")); | ||
| 102 | // Without an arena the bracket is left out. | ||
| 103 | const std::string bare = mb::format(t, mb::DeviceShare{}, 0); | ||
| 104 | EXPECT(!contains(bare, "reserved")); | ||
| 105 | EXPECT(contains(bare, "arena 4095 (1) + geometry copies")); | ||
| 106 | return 0; | ||
| 107 | } | ||
| 108 | |||
| 109 | } // namespace | ||
| 110 | |||
| 111 | int main() { | ||
| 112 | if (int r = tally()) return r; | ||
| 113 | if (int r = owner_scopes()) return r; | ||
| 114 | if (int r = image_kinds()) return r; | ||
| 115 | if (int r = text()) return r; | ||
| 116 | std::fprintf(stderr, "memory_breakdown: ok\n"); | ||
| 117 | return 0; | ||
| 118 | } | ||
diff --git a/runtime/test/pipeline_cache_store_test.cpp b/runtime/test/pipeline_cache_store_test.cpp index dbf174768..7af94bca6 100644 --- a/runtime/test/pipeline_cache_store_test.cpp +++ b/runtime/test/pipeline_cache_store_test.cpp | |||
| @@ -40,6 +40,14 @@ static int test_limit() { | |||
| 40 | CHECK(!limit.valid); | 40 | CHECK(!limit.valid); |
| 41 | CHECK(limit.bytes == default_save_limit); | 41 | CHECK(limit.bytes == default_save_limit); |
| 42 | } | 42 | } |
| 43 | // The limit counts what a session adds to an offline seed, not the seed the driver hands back with it. | ||
| 44 | constexpr std::size_t gib = std::size_t{1} << 30; | ||
| 45 | CHECK(!store::over_save_limit(3 * gib, 0, 4 * gib)); | ||
| 46 | CHECK(store::over_save_limit(5 * gib, 0, 4 * gib)); | ||
| 47 | CHECK(!store::over_save_limit(10 * gib, 9 * gib, 4 * gib)); // a 9 GB seed plus 1 GB of new builds is saved | ||
| 48 | CHECK(store::over_save_limit(14 * gib, 9 * gib, 4 * gib)); // 5 GB added is over 4 | ||
| 49 | CHECK(!store::over_save_limit(4 * gib, 9 * gib, 1)); // smaller than the seed: nothing added | ||
| 50 | CHECK(!store::over_save_limit(4 * gib + 1, 1, 4 * gib)); // exactly at the limit once the seed is taken off | ||
| 43 | return 0; | 51 | return 0; |
| 44 | } | 52 | } |
| 45 | 53 | ||
diff --git a/runtime/test/shaders/check.py b/runtime/test/shaders/check.py index 39a3179a4..987a4eb53 100644 --- a/runtime/test/shaders/check.py +++ b/runtime/test/shaders/check.py | |||
| @@ -128,7 +128,9 @@ CS_DPP = [("cs_dpp", [1, 0, 3, 2, 5, 4, 7, 6]), | |||
| 128 | ("cs_dpp_bank", [0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 7, 7, 7, 7]), | 128 | ("cs_dpp_bank", [0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 7, 7, 7, 7]), |
| 129 | ("cs_dpp_fi", [1, 2, 3, 0x7777, 5, 6, 7, 0x7777]), | 129 | ("cs_dpp_fi", [1, 2, 3, 0x7777, 5, 6, 7, 0x7777]), |
| 130 | # a VOPC compare with a DPP src0: 1 for the pair compare, 2 for the dpp8 one (cs_dpp_cmp.asm header) | 130 | # a VOPC compare with a DPP src0: 1 for the pair compare, 2 for the dpp8 one (cs_dpp_cmp.asm header) |
| 131 | ("cs_dpp_cmp", [3, 2, 3, 2, 1, 0, 1, 0])] | 131 | ("cs_dpp_cmp", [3, 2, 3, 2, 1, 0, 1, 0]), |
| 132 | # v_cmpx with a DPP src0: 1 where the plain compare keeps the lane, 2 for the negated one (cs_dpp_cmpx.asm) | ||
| 133 | ("cs_dpp_cmpx", [1, 1, 0, 0, 3, 3, 2, 2])] | ||
| 132 | WAVE32_DUMPS += tuple(n for n, _ in CS_DPP) | 134 | WAVE32_DUMPS += tuple(n for n, _ in CS_DPP) |
| 133 | WAVE32_LANE_DUMPS += tuple(n for n, _ in CS_DPP) | 135 | WAVE32_LANE_DUMPS += tuple(n for n, _ in CS_DPP) |
| 134 | CS_DUMPS = [*CS_DPP, ("cs_smem_vcc_base", CS_SMEM_VCC), ("cs_store", CS_STORE), ("cs_smem_soffset_imm", CS_SMEM), | 136 | CS_DUMPS = [*CS_DPP, ("cs_smem_vcc_base", CS_SMEM_VCC), ("cs_store", CS_STORE), ("cs_smem_soffset_imm", CS_SMEM), |
diff --git a/runtime/test/shaders/cs_address_guard.asm b/runtime/test/shaders/cs_address_guard.asm new file mode 100644 index 000000000..fad068a66 --- /dev/null +++ b/runtime/test/shaders/cs_address_guard.asm | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | ; group: 1,1,1 | ||
| 2 | ; rsrc2: 0x8090 | ||
| 3 | ; regen_fixtures: this source has a translator fixture in tests/semantic/fixtures/disasm | ||
| 4 | ; The address guard (rdna2spirv.py --address-guard; docs/d3d12_vulkan.md, "Address guard"). Translated with the guard, | ||
| 5 | ; run by scripts/run_address_guard_gpu_test.py on a 2 MiB heap whose page table (built by that script) backs the | ||
| 6 | ; arena (offsets below 0x80000, the header's limit) and the one 4 KiB page at 0x90000, and nothing else. The heap's | ||
| 7 | ; real memory continues past both, so every address below is inside the buffer: with the guard off the same program | ||
| 8 | ; reads and writes it, with the guard on the page table refuses the accesses outside 0x90000..0x90fff. Seeds: | ||
| 9 | ; 0x90000 0xa11ce000 0x90004 0xa11ce004 0x90ffc 0xf00df00d 0x91000 0xf00df00e | ||
| 10 | ; 0xa0000 0xbadbad00 0xa0004 0xbadbad04 0xa0008 0xbadbad08 | ||
| 11 | ; Words stored to out[0..7] with the guard on (off: the second value): | ||
| 12 | ; out[0] global_load_dword at 0x90000, a backed page outside the arena = 0xa11ce000 (0xa11ce000) | ||
| 13 | ; out[1] global_load_dword at 0xa0000, unbacked = 0 (0xbadbad00) | ||
| 14 | ; out[2] global_atomic_add glc at 0xa0008 with 1, unbacked: the old value = 0 (0xbadbad08) | ||
| 15 | ; out[3] global_load_dwordx2 at 0x90ffc: its last byte is on an unbacked page, so all of it is refused | ||
| 16 | ; = 0 (0xf00df00d) | ||
| 17 | ; out[4] its second dword = 0 (0xf00df00e) | ||
| 18 | ; out[5] buffer_load_dword through a V# built in SGPRs, base 0xa0000 = 0 (0xbadbad00) | ||
| 19 | ; out[6] s_load_dword at 0x90004, backed = 0xa11ce004 (0xa11ce004) | ||
| 20 | ; out[7] s_load_dword at 0xa0000, unbacked = 0 (0xbadbad00) | ||
| 21 | ; global_store_dword 0x5707 at 0xa0004 (unbacked) goes to the dump area (0x78004) instead, and the atomic to 0x78008; | ||
| 22 | ; the six refused accesses count themselves at header + 24 (0x70018) and the last one's offset is at 0x70020. | ||
| 23 | ; Run: VKC_HEAP_INIT=<heap> VKC_OUT_WORDS=524288 VKC_DUMP=<file> vk_compute_test cs_address_guard.spv 1 dump | ||
| 24 | v_mov_b32_e32 v0, 0x90000 | ||
| 25 | v_mov_b32_e32 v1, 0 | ||
| 26 | global_load_dword v2, v[0:1], off | ||
| 27 | v_mov_b32_e32 v0, 0xa0000 | ||
| 28 | global_load_dword v3, v[0:1], off | ||
| 29 | v_mov_b32_e32 v4, 0x5707 | ||
| 30 | global_store_dword v[0:1], v4, off offset:4 | ||
| 31 | v_mov_b32_e32 v5, 1 | ||
| 32 | global_atomic_add v5, v[0:1], v5, off offset:8 glc | ||
| 33 | v_mov_b32_e32 v0, 0x90ffc | ||
| 34 | global_load_dwordx2 v[6:7], v[0:1], off | ||
| 35 | s_mov_b32 s4, 0xa0000 | ||
| 36 | s_mov_b32 s5, 0 | ||
| 37 | s_mov_b32 s6, 0x100 | ||
| 38 | s_mov_b32 s7, 0x31016fac | ||
| 39 | v_mov_b32_e32 v8, 0 | ||
| 40 | buffer_load_dword v8, v8, s[4:7], 0 offen | ||
| 41 | s_mov_b32 s8, 0x90000 | ||
| 42 | s_mov_b32 s9, 0 | ||
| 43 | s_load_dword s10, s[8:9], 0x4 | ||
| 44 | s_load_dword s11, s[4:5], 0x0 | ||
| 45 | s_waitcnt vmcnt(0) lgkmcnt(0) | ||
| 46 | v_mov_b32_e32 v9, 0 | ||
| 47 | buffer_store_dword v2, v9, s[0:3], 0 offen | ||
| 48 | buffer_store_dword v3, v9, s[0:3], 0 offen offset:4 | ||
| 49 | buffer_store_dword v5, v9, s[0:3], 0 offen offset:8 | ||
| 50 | buffer_store_dword v6, v9, s[0:3], 0 offen offset:12 | ||
| 51 | buffer_store_dword v7, v9, s[0:3], 0 offen offset:16 | ||
| 52 | buffer_store_dword v8, v9, s[0:3], 0 offen offset:20 | ||
| 53 | v_mov_b32_e32 v10, s10 | ||
| 54 | buffer_store_dword v10, v9, s[0:3], 0 offen offset:24 | ||
| 55 | v_mov_b32_e32 v11, s11 | ||
| 56 | buffer_store_dword v11, v9, s[0:3], 0 offen offset:28 | ||
| 57 | s_endpgm | ||
diff --git a/runtime/test/shaders/cs_dpp_cmpx.asm b/runtime/test/shaders/cs_dpp_cmpx.asm new file mode 100644 index 000000000..85f18c93f --- /dev/null +++ b/runtime/test/shaders/cs_dpp_cmpx.asm | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | ; v_cmpx in DPP form (SHADER-VOPCX-DPP): src0 is read from the permuted lane, src1 from the lane itself, and the result | ||
| 2 | ; goes to EXEC. v1 = float(lane - 4). Both compares take src0 from the other half of each quad (quad_perm [2,3,0,1], | ||
| 3 | ; with bound_ctrl:1 and fi:1, the form the game's pixel shaders use). The first keeps a lane where | ||
| 4 | ; "neighbour > self": lanes 0, 1, 4, 5 of each 8. The second negates src1 ("neighbour > -self"): lanes 4-7 of the first | ||
| 5 | ; 8 and every lane after. out = (first keeps the lane ? 1 : 0) + (second keeps it ? 2 : 0), EXEC restored in between. | ||
| 6 | ; Run: vk_compute_test cs_dpp_cmpx.spv 1 dump -> out[0..7] = 1 1 0 0 3 3 2 2 | ||
| 7 | ; llvm-mc assembles neither compare for gfx1013 ("dpp variant of this instruction is not supported"), so the GPU | ||
| 8 | ; test takes this file's text as its listing; tools/shader_disasm.py prints the same lines for the encoded words. | ||
| 9 | ; run_gpu_tests: text only, llvm-mc has no gfx1013 encoding for an instruction here | ||
| 10 | ; regen_fixtures: this source has a translator fixture in tests/semantic/fixtures/disasm | ||
| 11 | v_mbcnt_lo_u32_b32 v0, -1, 0 | ||
| 12 | v_add_nc_u32 v7, -4, v0 | ||
| 13 | v_cvt_f32_i32 v1, v7 | ||
| 14 | v_mov_b32 v6, 0 | ||
| 15 | s_mov_b32 s10, exec_lo | ||
| 16 | v_cmpx_gt_f32_dpp v1, v1 quad_perm:[2,3,0,1] row_mask:0xf bank_mask:0xf bound_ctrl:1 fi:1 | ||
| 17 | v_mov_b32 v6, 1 | ||
| 18 | s_mov_b32 exec_lo, s10 | ||
| 19 | v_cmpx_gt_f32_dpp v1, -v1 quad_perm:[2,3,0,1] row_mask:0xf bank_mask:0xf bound_ctrl:1 fi:1 | ||
| 20 | v_add_nc_u32 v6, 2, v6 | ||
| 21 | s_mov_b32 exec_lo, s10 | ||
| 22 | v_lshlrev_b32 v2, 2, v0 | ||
| 23 | buffer_store_dword v6, v2, s[0:3], 0 offen | ||
| 24 | s_endpgm | ||
diff --git a/runtime/test/shadow_keep_test.cpp b/runtime/test/shadow_keep_test.cpp new file mode 100644 index 000000000..87960c0a2 --- /dev/null +++ b/runtime/test/shadow_keep_test.cpp | |||
| @@ -0,0 +1,141 @@ | |||
| 1 | // src/shadow_keep.h: a shadow copy keeps a GPU write until the title's bytes under it change. No Windows headers, no | ||
| 2 | // GPU, no game data: the "title" and its "copy" are arrays here, and the values are made up. | ||
| 3 | #include "../src/shadow_keep.h" | ||
| 4 | |||
| 5 | #include <cstdint> | ||
| 6 | #include <cstdio> | ||
| 7 | #include <cstring> | ||
| 8 | #include <utility> | ||
| 9 | #include <vector> | ||
| 10 | |||
| 11 | namespace { | ||
| 12 | |||
| 13 | int failures = 0; | ||
| 14 | #define EXPECT(condition) \ | ||
| 15 | do { \ | ||
| 16 | if (!(condition)) { \ | ||
| 17 | std::fprintf(stderr, "FAIL line %d: %s\n", __LINE__, #condition); \ | ||
| 18 | ++failures; \ | ||
| 19 | } \ | ||
| 20 | } while (0) | ||
| 21 | |||
| 22 | using leonida::shadow_keep::kPiece; | ||
| 23 | |||
| 24 | // A title range and its copy, as ShadowPages has them: the copy of the title byte at address a is copy[a - base]. | ||
| 25 | struct Pages { | ||
| 26 | static constexpr std::uintptr_t base = 0x10000; // kPiece-aligned, like a tracker's first page | ||
| 27 | std::vector<std::uint8_t> title, copy; | ||
| 28 | std::vector<std::uint64_t> sums; | ||
| 29 | std::vector<std::pair<std::uintptr_t, std::uintptr_t>> copied; // the ranges the last refresh copied | ||
| 30 | |||
| 31 | explicit Pages(std::size_t bytes) : title(bytes), copy(bytes), sums(bytes / kPiece) { | ||
| 32 | for (std::size_t i = 0; i < bytes; ++i) title[i] = std::uint8_t(i * 7 + 3); | ||
| 33 | } | ||
| 34 | // A refresh of [va, va + n): what ShadowPages::copy_changed does for one page. | ||
| 35 | std::size_t refresh(std::uintptr_t va, std::size_t n) { | ||
| 36 | copied.clear(); | ||
| 37 | std::size_t bytes = 0; | ||
| 38 | leonida::shadow_keep::copy_changed( | ||
| 39 | title.data() + (va - base), va, n, sums.data(), base, | ||
| 40 | [&](std::uintptr_t from, std::uintptr_t to, const std::uint8_t* source) { | ||
| 41 | std::memcpy(copy.data() + (from - base), source, to - from); | ||
| 42 | copied.emplace_back(from, to); | ||
| 43 | bytes += to - from; | ||
| 44 | }); | ||
| 45 | return bytes; | ||
| 46 | } | ||
| 47 | std::size_t refresh() { return refresh(base, title.size()); } | ||
| 48 | bool same(std::size_t from, std::size_t to) const { | ||
| 49 | return !std::memcmp(title.data() + from, copy.data() + from, to - from); | ||
| 50 | } | ||
| 51 | }; | ||
| 52 | |||
| 53 | void unchanged_title_keeps_gpu_write() { | ||
| 54 | Pages p(4096); | ||
| 55 | EXPECT(p.refresh() == 4096); // nothing known yet: all of it | ||
| 56 | EXPECT(p.same(0, 4096)); | ||
| 57 | EXPECT(p.refresh() == 0); // nothing changed | ||
| 58 | // A shader stores 16 bytes in the copy; the title's bytes there stay as they were. | ||
| 59 | const std::uint8_t gpu[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; | ||
| 60 | std::memcpy(p.copy.data() + 0x340, gpu, sizeof(gpu)); | ||
| 61 | EXPECT(p.refresh() == 0); | ||
| 62 | EXPECT(!std::memcmp(p.copy.data() + 0x340, gpu, sizeof(gpu))); // kept: the old code overwrote it here | ||
| 63 | EXPECT(p.same(0, 0x340) && p.same(0x350, 4096)); | ||
| 64 | } | ||
| 65 | |||
| 66 | void changed_title_piece_is_copied() { | ||
| 67 | Pages p(4096); | ||
| 68 | p.refresh(); | ||
| 69 | const std::uint8_t gpu[16] = {0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, | ||
| 70 | 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA}; | ||
| 71 | std::memcpy(p.copy.data() + 0x340, gpu, sizeof(gpu)); // GPU write in piece 3 | ||
| 72 | std::memcpy(p.copy.data() + 0x800, gpu, sizeof(gpu)); // and in piece 8 | ||
| 73 | p.title[0x810] ^= 0x5A; // the title writes piece 8 | ||
| 74 | EXPECT(p.refresh() == kPiece); | ||
| 75 | EXPECT(p.copied.size() == 1 && p.copied[0].first == Pages::base + 0x800 && | ||
| 76 | p.copied[0].second == Pages::base + 0x900); | ||
| 77 | EXPECT(p.same(0x800, 0x900)); // the title's new bytes win there | ||
| 78 | EXPECT(!std::memcmp(p.copy.data() + 0x340, gpu, sizeof(gpu))); // the other GPU write stays | ||
| 79 | EXPECT(p.refresh() == 0); | ||
| 80 | } | ||
| 81 | |||
| 82 | void partial_first_and_last_pieces() { | ||
| 83 | Pages p(4096); | ||
| 84 | // A target that starts and ends inside pieces: [base + 100, base + 1000). | ||
| 85 | const std::uintptr_t va = Pages::base + 100; | ||
| 86 | const std::size_t n = 900; | ||
| 87 | EXPECT(p.refresh(va, n) == n); | ||
| 88 | EXPECT(p.copied.size() == 4); | ||
| 89 | EXPECT(p.copied.front().first == va && p.copied.front().second == Pages::base + kPiece); | ||
| 90 | EXPECT(p.copied.back().first == Pages::base + 3 * kPiece && p.copied.back().second == va + n); | ||
| 91 | EXPECT(p.same(100, 1000)); | ||
| 92 | EXPECT(p.copy[99] == 0 && p.copy[1000] == 0); // nothing outside the range | ||
| 93 | EXPECT(p.refresh(va, n) == 0); | ||
| 94 | p.title[999] ^= 1; // last byte of the last, partial piece | ||
| 95 | EXPECT(p.refresh(va, n) == 1000 - 3 * kPiece); | ||
| 96 | p.title[100] ^= 1; // first byte of the first, partial piece | ||
| 97 | EXPECT(p.refresh(va, n) == kPiece - 100); | ||
| 98 | EXPECT(p.same(100, 1000)); | ||
| 99 | } | ||
| 100 | |||
| 101 | void forgotten_sums_copy_once() { | ||
| 102 | Pages p(4096); | ||
| 103 | p.refresh(); | ||
| 104 | // The pages were not committed for a refresh: the copies were zeroed and their sums forgotten. | ||
| 105 | std::memset(p.copy.data() + 0x400, 0, 0x200); | ||
| 106 | leonida::shadow_keep::forget(p.sums.data(), Pages::base, Pages::base + 0x400, Pages::base + 0x600); | ||
| 107 | EXPECT(p.refresh() == 0x200); // the same title bytes back: copied once all the same | ||
| 108 | EXPECT(p.same(0, 4096)); | ||
| 109 | EXPECT(p.refresh() == 0); | ||
| 110 | // A partial range forgets every piece it touches. | ||
| 111 | leonida::shadow_keep::forget(p.sums.data(), Pages::base, Pages::base + 0x410, Pages::base + 0x501); | ||
| 112 | EXPECT(p.refresh() == 0x200); | ||
| 113 | } | ||
| 114 | |||
| 115 | void sums_tell_bytes_apart() { | ||
| 116 | std::uint8_t a[kPiece] = {}, b[kPiece] = {}; | ||
| 117 | EXPECT(leonida::shadow_keep::sum_of(a, kPiece) != 0); | ||
| 118 | EXPECT(leonida::shadow_keep::sum_of(a, kPiece) == leonida::shadow_keep::sum_of(b, kPiece)); | ||
| 119 | for (std::size_t i = 0; i < kPiece; ++i) { | ||
| 120 | b[i] = 1; | ||
| 121 | EXPECT(leonida::shadow_keep::sum_of(a, kPiece) != leonida::shadow_keep::sum_of(b, kPiece)); | ||
| 122 | b[i] = 0; | ||
| 123 | } | ||
| 124 | EXPECT(leonida::shadow_keep::sum_of(a, 16) != leonida::shadow_keep::sum_of(a, 17)); // the length counts | ||
| 125 | } | ||
| 126 | |||
| 127 | } // namespace | ||
| 128 | |||
| 129 | int main() { | ||
| 130 | unchanged_title_keeps_gpu_write(); | ||
| 131 | changed_title_piece_is_copied(); | ||
| 132 | partial_first_and_last_pieces(); | ||
| 133 | forgotten_sums_copy_once(); | ||
| 134 | sums_tell_bytes_apart(); | ||
| 135 | if (failures) { | ||
| 136 | std::fprintf(stderr, "shadow_keep: %d check(s) failed\n", failures); | ||
| 137 | return 1; | ||
| 138 | } | ||
| 139 | std::puts("shadow_keep: OK"); | ||
| 140 | return 0; | ||
| 141 | } | ||
diff --git a/runtime/test/title_memory_map_test.cpp b/runtime/test/title_memory_map_test.cpp index ba5a518a1..ff226d648 100644 --- a/runtime/test/title_memory_map_test.cpp +++ b/runtime/test/title_memory_map_test.cpp | |||
| @@ -7,7 +7,8 @@ | |||
| 7 | // 3. a reader further behind than the journal holds is told so (it then looks at everything); | 7 | // 3. a reader further behind than the journal holds is told so (it then looks at everything); |
| 8 | // 4. a change with no range overlaps every reader; | 8 | // 4. a change with no range overlaps every reader; |
| 9 | // 5. TextureReadability keeps a positive answer, when asked to, until a retry; | 9 | // 5. TextureReadability keeps a positive answer, when asked to, until a retry; |
| 10 | // 6. a pass over 20,000 waiting textures probes only those under the one mapped block. | 10 | // 6. a pass over 20,000 waiting textures probes only those under the one mapped block; |
| 11 | // 7. between passes, sync_map retries only when a map change overlaps the texture's footprint. | ||
| 11 | #include <windows.h> | 12 | #include <windows.h> |
| 12 | 13 | ||
| 13 | #include <cstdint> | 14 | #include <cstdint> |
| @@ -142,6 +143,48 @@ int main() { | |||
| 142 | check(pass() == 4 && probes == 0, "a pass with no change probes nothing"); | 143 | check(pass() == 4 && probes == 0, "a pass with no change probes nothing"); |
| 143 | } | 144 | } |
| 144 | 145 | ||
| 146 | // 7. Synchronous view checks between passes (sync_map): unrelated map changes cost no probe, an overlapping unmap | ||
| 147 | // defers without reading, and an overlapping map wakes a waiting texture before the next pass. | ||
| 148 | { | ||
| 149 | constexpr std::uintptr_t cpu = kBase + 0x20000000; | ||
| 150 | constexpr std::uint64_t size = 512 * 1024; | ||
| 151 | const std::uint64_t pass_generation = map::generation(); | ||
| 152 | bool mapped = true; | ||
| 153 | unsigned probes = 0; | ||
| 154 | leonida::TextureReadability r; | ||
| 155 | const auto probe = [&] { | ||
| 156 | ++probes; | ||
| 157 | return mapped; | ||
| 158 | }; | ||
| 159 | check(r.check(0, true, probe, true) && probes == 1 && !r.pending(), | ||
| 160 | "sync_map: initial probe caches a readable answer"); | ||
| 161 | for (std::uintptr_t i = 0; i < 32; ++i) | ||
| 162 | map::changed(cpu + size + i * 0x10000, cpu + size + (i + 1) * 0x10000); | ||
| 163 | r.sync_map(pass_generation, cpu, size); | ||
| 164 | check(r.check(0, true, probe, true) && probes == 1, | ||
| 165 | "sync_map: map changes outside the footprint keep the cached answer"); | ||
| 166 | r.sync_map(pass_generation, cpu, size); | ||
| 167 | check(r.check(0, true, probe, true) && probes == 1, | ||
| 168 | "sync_map: a second check at the same generation does nothing"); | ||
| 169 | |||
| 170 | mapped = false; | ||
| 171 | map::changed(cpu + 0x10000, cpu + 0x20000); | ||
| 172 | r.sync_map(pass_generation, cpu, size); | ||
| 173 | check(!r.check(0, true, probe, true) && r.pending() && probes == 2, | ||
| 174 | "sync_map: an overlapping unmap between passes reprobes and defers"); | ||
| 175 | |||
| 176 | map::changed(cpu - 0x10000, cpu); | ||
| 177 | r.sync_map(pass_generation, cpu, size); | ||
| 178 | check(!r.check(0, true, probe, true) && r.pending() && probes == 2, | ||
| 179 | "sync_map: an adjacent non-overlapping change leaves a pending texture waiting"); | ||
| 180 | |||
| 181 | mapped = true; | ||
| 182 | map::changed(cpu, cpu + size); | ||
| 183 | r.sync_map(pass_generation, cpu, size); | ||
| 184 | check(r.check(0, true, probe, true) && !r.pending() && probes == 3, | ||
| 185 | "sync_map: an overlapping map between passes wakes a pending texture at once"); | ||
| 186 | } | ||
| 187 | |||
| 145 | std::printf("%d checks, %d failures\n", g_checks, g_failures); | 188 | std::printf("%d checks, %d failures\n", g_checks, g_failures); |
| 146 | return g_failures ? 1 : 0; | 189 | return g_failures ? 1 : 0; |
| 147 | } | 190 | } |
diff --git a/runtime/test/title_va_alias_test.cpp b/runtime/test/title_va_alias_test.cpp index f2f869391..6eadb4bea 100644 --- a/runtime/test/title_va_alias_test.cpp +++ b/runtime/test/title_va_alias_test.cpp | |||
| @@ -85,29 +85,44 @@ int main() { | |||
| 85 | a.remove(title, arena); | 85 | a.remove(title, arena); |
| 86 | a.remove(title + 0x40000, 0x7000000); | 86 | a.remove(title + 0x40000, 0x7000000); |
| 87 | EXPECT(a.size() == 0); | 87 | EXPECT(a.size() == 0); |
| 88 | // Replacing part of an alias removes the entire old interval. Other heaps read independently. | 88 | // Every listener is told each change as it happens (the console heaps' slot records): an add, the whole old |
| 89 | std::uint64_t cursor = 0; | 89 | // interval when part of it is replaced, a removal, a copy forgotten and title memory added. None is dropped, however |
| 90 | leonida::DescriptorRanges past; | 90 | // many come (the 4,096-entry ring this replaced fell back to a full sweep), and a removed listener hears nothing. |
| 91 | EXPECT(a.changed_ranges(cursor, past)); | 91 | struct Heard { |
| 92 | auto second = cursor; | 92 | leonida::TitleVaAliases::Change change; |
| 93 | std::uint64_t title_va, bytes, shader_va; | ||
| 94 | }; | ||
| 95 | std::vector<Heard> first, second; | ||
| 96 | const auto hear = [](void* to, leonida::TitleVaAliases::Change change, std::uint64_t va, std::uint64_t bytes, | ||
| 97 | std::uint64_t shader_va) { | ||
| 98 | static_cast<std::vector<Heard>*>(to)->push_back({change, va, bytes, shader_va}); | ||
| 99 | }; | ||
| 100 | using Change = leonida::TitleVaAliases::Change; | ||
| 101 | a.add_listener(&first, hear); | ||
| 102 | a.add_listener(&second, hear); | ||
| 93 | EXPECT(a.add(title, size, arena)); | 103 | EXPECT(a.add(title, size, arena)); |
| 94 | EXPECT(a.add(title+16, 32, arena+4096)); | 104 | EXPECT(a.add(title + 16, 32, arena + 4096)); |
| 95 | for (auto* reader : {&cursor, &second}) { | 105 | for (const auto* heard : {&first, &second}) { |
| 96 | leonida::DescriptorRanges delta; | 106 | EXPECT(heard->size() == 3); |
| 97 | EXPECT(a.changed_ranges(*reader, delta)); | 107 | EXPECT((*heard)[0].change == Change::added && (*heard)[0].title_va == title && (*heard)[0].bytes == size); |
| 98 | delta.merge(); | 108 | EXPECT((*heard)[1].change == Change::removed && (*heard)[1].title_va == title && (*heard)[1].bytes == size && |
| 99 | EXPECT(delta.overlaps(title+size-1, 1) && delta.overlaps(title-16, 17)); | 109 | (*heard)[1].shader_va == arena); |
| 100 | EXPECT(!delta.overlaps(title+size, 1) && !delta.overlaps(title-16, 16)); | 110 | EXPECT((*heard)[2].change == Change::added && (*heard)[2].title_va == title + 16 && |
| 111 | (*heard)[2].bytes == 32 && (*heard)[2].shader_va == arena + 4096); | ||
| 101 | } | 112 | } |
| 102 | leonida::DescriptorRangeChanges backing; | 113 | a.remove_listener(&second); |
| 103 | for (unsigned i = 0; i < 4097; ++i) backing.record(UINT64_MAX-3, 4); | 114 | a.remove(title + 16, arena + 4096); |
| 104 | cursor = 0; | 115 | a.forget_copy(title + 0x1000, 0x100, 0x5000000); |
| 105 | EXPECT(!backing.read(cursor, past)); | 116 | a.add_title_memory(0x30000000000ull, 0x2000); |
| 106 | backing.record(UINT64_MAX-3, 4); | 117 | EXPECT(second.size() == 3 && first.size() == 6); |
| 107 | leonida::DescriptorRanges last; | 118 | EXPECT(first[3].change == Change::removed && first[3].title_va == title + 16 && first[3].shader_va == arena + 4096); |
| 108 | EXPECT(backing.read(cursor,last)); | 119 | EXPECT(first[4].change == Change::removed && first[4].title_va == title + 0x1000 && first[4].bytes == 0x100 && |
| 109 | last.merge(); | 120 | first[4].shader_va == 0x5000000); |
| 110 | EXPECT(last.overlaps(UINT64_MAX,1) && !last.overlaps(0,1)); | 121 | EXPECT(first[5].change == Change::memory_added && first[5].title_va == 0x30000000000ull && first[5].bytes == 0x2000); |
| 122 | a.remove_title_memory(0x30000000000ull); | ||
| 123 | for (unsigned i = 0; i < 5000; ++i) a.forget_copy(title, 4, arena); | ||
| 124 | EXPECT(first.size() == 5006); | ||
| 125 | a.remove_listener(&first); | ||
| 111 | // shader_side: whether an address is one the layer wrote for the title (inside some range's copy), so a scan that | 126 | // shader_side: whether an address is one the layer wrote for the title (inside some range's copy), so a scan that |
| 112 | // sees an already rewritten V# again leaves it alone rather than taking it for an unmapped address. | 127 | // sees an already rewritten V# again leaves it alone rather than taking it for an unmapped address. |
| 113 | EXPECT(!a.shader_side(arena)); | 128 | EXPECT(!a.shader_side(arena)); |
diff --git a/runtime/test/vk_bindless_dimensions_test.cpp b/runtime/test/vk_bindless_dimensions_test.cpp new file mode 100644 index 000000000..3da8370d6 --- /dev/null +++ b/runtime/test/vk_bindless_dimensions_test.cpp | |||
| @@ -0,0 +1,421 @@ | |||
| 1 | // More live images of each sampled dimension than 4096, through the bindless set 0 (src/vulkan_bindless.h), at the | ||
| 2 | // Vulkan level, and the index allocator behind them. | ||
| 3 | // | ||
| 4 | // An image keeps its index in its dimension's array for as long as it lives, so the array of a dimension must hold | ||
| 5 | // every live image of it a title has. A world run kept 4090 live 1D textures and filled the 4096 1D indices the set | ||
| 6 | // once stopped at (bindless::size_bindings capped 1D and 3D at 4096 whatever the device held); every later 1D T# then | ||
| 7 | // read the fallback's zeros. For 1D, 2D-array and 3D images alike this test sizes the set from the device's limits | ||
| 8 | // as the D3D12 device does, gives 5000 distinct images (one texel each, holding its own number) an index each, | ||
| 9 | // and has test/glsl/cs_bindless_dimensions.comp read every one of them through its index: each must read its own | ||
| 10 | // number. Then, on the same set: | ||
| 11 | // - the rest of the array is filled: the index after the last is refused, and image_refusal says the array of | ||
| 12 | // that dimension is full (the D3D12 device's "unbound T#s by reason" line names that reason); | ||
| 13 | // - an image removed while the table has no changes the GPU lacks gives its index back at once, and one removed | ||
| 14 | // while it has (an erased key) gives it back at the next flush, not before. | ||
| 15 | // Exit 77 without a Vulkan device with the bindless features or without the shader (no glslangValidator), and for | ||
| 16 | // a dimension whose device limits hold fewer than 5000 images (the test says so). | ||
| 17 | // LEONIDA_VK_VALIDATION=1 runs under VK_LAYER_KHRONOS_validation; a validation error fails the test. | ||
| 18 | #ifndef VK_NO_PROTOTYPES | ||
| 19 | #define VK_NO_PROTOTYPES | ||
| 20 | #endif | ||
| 21 | #include "vk_test_device.h" | ||
| 22 | #include "shader_fixture_path.h" | ||
| 23 | #include "../src/vulkan_bindless.h" | ||
| 24 | |||
| 25 | #include <algorithm> | ||
| 26 | #include <cstdio> | ||
| 27 | #include <cstring> | ||
| 28 | #include <fstream> | ||
| 29 | #include <iterator> | ||
| 30 | #include <vector> | ||
| 31 | |||
| 32 | #define EXPECT(condition) \ | ||
| 33 | do { \ | ||
| 34 | if (!(condition)) { \ | ||
| 35 | std::fprintf(stderr, "line %d: %s\n", __LINE__, #condition); \ | ||
| 36 | return 1; \ | ||
| 37 | } \ | ||
| 38 | } while (0) | ||
| 39 | |||
| 40 | namespace { | ||
| 41 | |||
| 42 | using namespace leonida; | ||
| 43 | |||
| 44 | constexpr std::uint32_t live_images = 5000; // more than the 4096 1D and 3D indices of the old sizes | ||
| 45 | |||
| 46 | std::vector<std::uint32_t> load_spirv(const char* path) { | ||
| 47 | std::ifstream file(vktest::shader_fixture_path(path), std::ios::binary); | ||
| 48 | const std::vector<char> bytes{std::istreambuf_iterator<char>(file), {}}; | ||
| 49 | std::vector<std::uint32_t> words(bytes.size() / 4); | ||
| 50 | if (!words.empty()) std::memcpy(words.data(), bytes.data(), words.size() * 4); | ||
| 51 | return words; | ||
| 52 | } | ||
| 53 | |||
| 54 | const char* name(ImageDimension dimension) { | ||
| 55 | return dimension == ImageDimension::dim_1d ? "1D" : dimension == ImageDimension::dim_2d_array ? "2D array" : "3D"; | ||
| 56 | } | ||
| 57 | |||
| 58 | // The images of one dimension, `count` texels in all, each in its own image (3D) or array layer (1D, 2D array), and a | ||
| 59 | // view of each: what the test reads through the set. Destroys what it made. | ||
| 60 | struct Images { | ||
| 61 | vktest::Device& d; | ||
| 62 | std::vector<VkImage> images; | ||
| 63 | std::vector<VkDeviceMemory> memory; | ||
| 64 | std::vector<VkImageView> views; | ||
| 65 | struct Texel { | ||
| 66 | VkImage image; | ||
| 67 | std::uint32_t layer; | ||
| 68 | }; | ||
| 69 | std::vector<Texel> texels; | ||
| 70 | |||
| 71 | explicit Images(vktest::Device& device) : d(device) {} | ||
| 72 | Images(const Images&) = delete; | ||
| 73 | Images& operator=(const Images&) = delete; | ||
| 74 | ~Images() { | ||
| 75 | for (const VkImageView view : views) d.fn<PFN_vkDestroyImageView>("vkDestroyImageView")(d.device, view, nullptr); | ||
| 76 | for (const VkImage image : images) d.fn<PFN_vkDestroyImage>("vkDestroyImage")(d.device, image, nullptr); | ||
| 77 | for (const VkDeviceMemory m : memory) d.fn<PFN_vkFreeMemory>("vkFreeMemory")(d.device, m, nullptr); | ||
| 78 | } | ||
| 79 | |||
| 80 | bool make(ImageDimension dimension, std::uint32_t count, std::uint32_t max_layers, | ||
| 81 | const VkPhysicalDeviceMemoryProperties& properties) { | ||
| 82 | const bool volume = dimension == ImageDimension::dim_3d; | ||
| 83 | const std::uint32_t per_image = volume ? 1 : std::min(max_layers, count); | ||
| 84 | // Images in groups that share one allocation (each a few MiB at most). | ||
| 85 | constexpr std::uint32_t group = 512; | ||
| 86 | for (std::uint32_t first = 0; first < count;) { | ||
| 87 | std::vector<VkImage> made; | ||
| 88 | std::uint32_t in_group = 0; | ||
| 89 | for (; in_group < group && first < count; ++in_group) { | ||
| 90 | VkImageCreateInfo info{VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO}; | ||
| 91 | info.imageType = volume ? VK_IMAGE_TYPE_3D | ||
| 92 | : dimension == ImageDimension::dim_1d ? VK_IMAGE_TYPE_1D : VK_IMAGE_TYPE_2D; | ||
| 93 | info.format = VK_FORMAT_R32_SFLOAT; | ||
| 94 | info.extent = {1, 1, 1}; | ||
| 95 | info.mipLevels = 1; | ||
| 96 | info.arrayLayers = std::min(per_image, count - first); | ||
| 97 | info.samples = VK_SAMPLE_COUNT_1_BIT; | ||
| 98 | info.usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; | ||
| 99 | VkImage image = VK_NULL_HANDLE; | ||
| 100 | if (d.fn<PFN_vkCreateImage>("vkCreateImage")(d.device, &info, nullptr, &image) != VK_SUCCESS) | ||
| 101 | return false; | ||
| 102 | images.push_back(image); | ||
| 103 | made.push_back(image); | ||
| 104 | for (std::uint32_t layer = 0; layer < info.arrayLayers; ++layer) texels.push_back({image, layer}); | ||
| 105 | first += info.arrayLayers; | ||
| 106 | } | ||
| 107 | VkMemoryRequirements requirements{}; | ||
| 108 | d.fn<PFN_vkGetImageMemoryRequirements>("vkGetImageMemoryRequirements")(d.device, made[0], &requirements); | ||
| 109 | const VkDeviceSize stride = | ||
| 110 | (requirements.size + requirements.alignment - 1) / requirements.alignment * requirements.alignment; | ||
| 111 | VkMemoryAllocateInfo allocation{VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO}; | ||
| 112 | allocation.allocationSize = stride * made.size(); | ||
| 113 | allocation.memoryTypeIndex = 0xffffffffu; | ||
| 114 | for (std::uint32_t t = 0; t < properties.memoryTypeCount; ++t) | ||
| 115 | if (requirements.memoryTypeBits & (1u << t)) { | ||
| 116 | allocation.memoryTypeIndex = t; | ||
| 117 | break; | ||
| 118 | } | ||
| 119 | VkDeviceMemory block = VK_NULL_HANDLE; | ||
| 120 | if (allocation.memoryTypeIndex == 0xffffffffu || | ||
| 121 | d.fn<PFN_vkAllocateMemory>("vkAllocateMemory")(d.device, &allocation, nullptr, &block) != VK_SUCCESS) | ||
| 122 | return false; | ||
| 123 | memory.push_back(block); | ||
| 124 | for (std::size_t k = 0; k < made.size(); ++k) { | ||
| 125 | VkMemoryRequirements each{}; | ||
| 126 | d.fn<PFN_vkGetImageMemoryRequirements>("vkGetImageMemoryRequirements")(d.device, made[k], &each); | ||
| 127 | if (each.size > stride || !(each.memoryTypeBits & (1u << allocation.memoryTypeIndex)) || | ||
| 128 | d.fn<PFN_vkBindImageMemory>("vkBindImageMemory")(d.device, made[k], block, stride * k) != | ||
| 129 | VK_SUCCESS) | ||
| 130 | return false; | ||
| 131 | } | ||
| 132 | } | ||
| 133 | for (const Texel& texel : texels) { | ||
| 134 | VkImageViewCreateInfo info{VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO}; | ||
| 135 | info.image = texel.image; | ||
| 136 | info.viewType = volume ? VK_IMAGE_VIEW_TYPE_3D | ||
| 137 | : dimension == ImageDimension::dim_1d ? VK_IMAGE_VIEW_TYPE_1D : VK_IMAGE_VIEW_TYPE_2D_ARRAY; | ||
| 138 | info.format = VK_FORMAT_R32_SFLOAT; | ||
| 139 | info.subresourceRange = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, texel.layer, 1}; | ||
| 140 | VkImageView view = VK_NULL_HANDLE; | ||
| 141 | if (d.fn<PFN_vkCreateImageView>("vkCreateImageView")(d.device, &info, nullptr, &view) != VK_SUCCESS) | ||
| 142 | return false; | ||
| 143 | views.push_back(view); | ||
| 144 | } | ||
| 145 | return true; | ||
| 146 | } | ||
| 147 | |||
| 148 | // Texel i holds i + 1, in GENERAL (the layout the set's descriptors name). | ||
| 149 | void record_fill(VkCommandBuffer cb) const { | ||
| 150 | std::vector<VkImageMemoryBarrier> barriers; | ||
| 151 | for (const VkImage image : images) { | ||
| 152 | VkImageMemoryBarrier barrier{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER}; | ||
| 153 | barrier.dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; | ||
| 154 | barrier.oldLayout = VK_IMAGE_LAYOUT_UNDEFINED; | ||
| 155 | barrier.newLayout = VK_IMAGE_LAYOUT_GENERAL; | ||
| 156 | barrier.srcQueueFamilyIndex = barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; | ||
| 157 | barrier.image = image; | ||
| 158 | barrier.subresourceRange = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, VK_REMAINING_ARRAY_LAYERS}; | ||
| 159 | barriers.push_back(barrier); | ||
| 160 | } | ||
| 161 | d.fn<PFN_vkCmdPipelineBarrier>("vkCmdPipelineBarrier")(cb, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, | ||
| 162 | VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, | ||
| 163 | nullptr, std::uint32_t(barriers.size()), barriers.data()); | ||
| 164 | for (std::size_t i = 0; i < texels.size(); ++i) { | ||
| 165 | VkClearColorValue value{}; | ||
| 166 | value.float32[0] = float(i + 1); | ||
| 167 | const VkImageSubresourceRange range{VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, texels[i].layer, 1}; | ||
| 168 | d.fn<PFN_vkCmdClearColorImage>("vkCmdClearColorImage")(cb, texels[i].image, VK_IMAGE_LAYOUT_GENERAL, | ||
| 169 | &value, 1, &range); | ||
| 170 | } | ||
| 171 | VkMemoryBarrier filled{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; | ||
| 172 | filled.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; | ||
| 173 | filled.dstAccessMask = VK_ACCESS_SHADER_READ_BIT; | ||
| 174 | d.fn<PFN_vkCmdPipelineBarrier>("vkCmdPipelineBarrier")(cb, VK_PIPELINE_STAGE_TRANSFER_BIT, | ||
| 175 | VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, 1, &filled, 0, | ||
| 176 | nullptr, 0, nullptr); | ||
| 177 | } | ||
| 178 | }; | ||
| 179 | |||
| 180 | // The compute pipeline over set 0 (the bindless set's layout) and set 1 (result and indices). | ||
| 181 | struct Reader { | ||
| 182 | vktest::Device& d; | ||
| 183 | VkShaderModule module = VK_NULL_HANDLE; | ||
| 184 | VkDescriptorSetLayout set1_layout = VK_NULL_HANDLE; | ||
| 185 | VkDescriptorPool pool = VK_NULL_HANDLE; | ||
| 186 | VkDescriptorSet set1 = VK_NULL_HANDLE; | ||
| 187 | VkPipelineLayout layout = VK_NULL_HANDLE; | ||
| 188 | VkPipeline pipeline = VK_NULL_HANDLE; | ||
| 189 | void* result_map = nullptr; | ||
| 190 | void* index_map = nullptr; | ||
| 191 | |||
| 192 | explicit Reader(vktest::Device& device) : d(device) {} | ||
| 193 | Reader(const Reader&) = delete; | ||
| 194 | Reader& operator=(const Reader&) = delete; | ||
| 195 | ~Reader() { | ||
| 196 | const VkDevice dev = d.device; | ||
| 197 | if (pipeline) d.fn<PFN_vkDestroyPipeline>("vkDestroyPipeline")(dev, pipeline, nullptr); | ||
| 198 | if (layout) d.fn<PFN_vkDestroyPipelineLayout>("vkDestroyPipelineLayout")(dev, layout, nullptr); | ||
| 199 | if (pool) d.fn<PFN_vkDestroyDescriptorPool>("vkDestroyDescriptorPool")(dev, pool, nullptr); | ||
| 200 | if (set1_layout) d.fn<PFN_vkDestroyDescriptorSetLayout>("vkDestroyDescriptorSetLayout")(dev, set1_layout, nullptr); | ||
| 201 | if (module) d.fn<PFN_vkDestroyShaderModule>("vkDestroyShaderModule")(dev, module, nullptr); | ||
| 202 | } | ||
| 203 | |||
| 204 | bool make(VkDescriptorSetLayout set0_layout, const std::vector<std::uint32_t>& code) { | ||
| 205 | const VkDevice dev = d.device; | ||
| 206 | VkShaderModuleCreateInfo module_info{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; | ||
| 207 | module_info.codeSize = code.size() * 4; | ||
| 208 | module_info.pCode = code.data(); | ||
| 209 | if (d.fn<PFN_vkCreateShaderModule>("vkCreateShaderModule")(dev, &module_info, nullptr, &module) != VK_SUCCESS) | ||
| 210 | return false; | ||
| 211 | const VkBuffer result = d.buffer(live_images * 4, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, &result_map); | ||
| 212 | const VkBuffer indices = d.buffer(live_images * 4, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, &index_map); | ||
| 213 | if (!result || !indices) return false; | ||
| 214 | const VkDescriptorSetLayoutBinding bindings[2] = { | ||
| 215 | {0, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1, VK_SHADER_STAGE_COMPUTE_BIT, nullptr}, | ||
| 216 | {1, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1, VK_SHADER_STAGE_COMPUTE_BIT, nullptr}}; | ||
| 217 | VkDescriptorSetLayoutCreateInfo set1_info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO}; | ||
| 218 | set1_info.bindingCount = 2; | ||
| 219 | set1_info.pBindings = bindings; | ||
| 220 | if (d.fn<PFN_vkCreateDescriptorSetLayout>("vkCreateDescriptorSetLayout")(dev, &set1_info, nullptr, | ||
| 221 | &set1_layout) != VK_SUCCESS) | ||
| 222 | return false; | ||
| 223 | const VkDescriptorPoolSize pool_size{VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 2}; | ||
| 224 | VkDescriptorPoolCreateInfo pool_info{VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO}; | ||
| 225 | pool_info.maxSets = 1; | ||
| 226 | pool_info.poolSizeCount = 1; | ||
| 227 | pool_info.pPoolSizes = &pool_size; | ||
| 228 | if (d.fn<PFN_vkCreateDescriptorPool>("vkCreateDescriptorPool")(dev, &pool_info, nullptr, &pool) != VK_SUCCESS) | ||
| 229 | return false; | ||
| 230 | VkDescriptorSetAllocateInfo allocate{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; | ||
| 231 | allocate.descriptorPool = pool; | ||
| 232 | allocate.descriptorSetCount = 1; | ||
| 233 | allocate.pSetLayouts = &set1_layout; | ||
| 234 | if (d.fn<PFN_vkAllocateDescriptorSets>("vkAllocateDescriptorSets")(dev, &allocate, &set1) != VK_SUCCESS) | ||
| 235 | return false; | ||
| 236 | const VkDescriptorBufferInfo infos[2] = {{result, 0, VK_WHOLE_SIZE}, {indices, 0, VK_WHOLE_SIZE}}; | ||
| 237 | VkWriteDescriptorSet writes[2]{}; | ||
| 238 | for (std::uint32_t b = 0; b < 2; ++b) { | ||
| 239 | writes[b] = {VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET}; | ||
| 240 | writes[b].dstSet = set1; | ||
| 241 | writes[b].dstBinding = b; | ||
| 242 | writes[b].descriptorCount = 1; | ||
| 243 | writes[b].descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; | ||
| 244 | writes[b].pBufferInfo = &infos[b]; | ||
| 245 | } | ||
| 246 | d.fn<PFN_vkUpdateDescriptorSets>("vkUpdateDescriptorSets")(dev, 2, writes, 0, nullptr); | ||
| 247 | const VkDescriptorSetLayout layouts[2] = {set0_layout, set1_layout}; | ||
| 248 | const VkPushConstantRange push{VK_SHADER_STAGE_COMPUTE_BIT, 0, 8}; | ||
| 249 | VkPipelineLayoutCreateInfo layout_info{VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO}; | ||
| 250 | layout_info.setLayoutCount = 2; | ||
| 251 | layout_info.pSetLayouts = layouts; | ||
| 252 | layout_info.pushConstantRangeCount = 1; | ||
| 253 | layout_info.pPushConstantRanges = &push; | ||
| 254 | if (d.fn<PFN_vkCreatePipelineLayout>("vkCreatePipelineLayout")(dev, &layout_info, nullptr, &layout) != | ||
| 255 | VK_SUCCESS) | ||
| 256 | return false; | ||
| 257 | VkComputePipelineCreateInfo pipeline_info{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO}; | ||
| 258 | pipeline_info.stage = {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}; | ||
| 259 | pipeline_info.stage.stage = VK_SHADER_STAGE_COMPUTE_BIT; | ||
| 260 | pipeline_info.stage.module = module; | ||
| 261 | pipeline_info.stage.pName = "main"; | ||
| 262 | pipeline_info.layout = layout; | ||
| 263 | return d.fn<PFN_vkCreateComputePipelines>("vkCreateComputePipelines")(dev, VK_NULL_HANDLE, 1, &pipeline_info, | ||
| 264 | nullptr, &pipeline) == VK_SUCCESS; | ||
| 265 | } | ||
| 266 | |||
| 267 | void record(VkCommandBuffer cb, VkDescriptorSet set0, std::uint32_t dimension, std::uint32_t count) const { | ||
| 268 | d.fn<PFN_vkCmdBindPipeline>("vkCmdBindPipeline")(cb, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline); | ||
| 269 | const VkDescriptorSet sets[2] = {set0, set1}; | ||
| 270 | d.fn<PFN_vkCmdBindDescriptorSets>("vkCmdBindDescriptorSets")(cb, VK_PIPELINE_BIND_POINT_COMPUTE, layout, 0, 2, | ||
| 271 | sets, 0, nullptr); | ||
| 272 | const std::uint32_t pass[2] = {dimension, count}; | ||
| 273 | d.fn<PFN_vkCmdPushConstants>("vkCmdPushConstants")(cb, layout, VK_SHADER_STAGE_COMPUTE_BIT, 0, 8, pass); | ||
| 274 | d.fn<PFN_vkCmdDispatch>("vkCmdDispatch")(cb, count, 1, 1); | ||
| 275 | VkMemoryBarrier host{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; | ||
| 276 | host.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT; | ||
| 277 | host.dstAccessMask = VK_ACCESS_HOST_READ_BIT; | ||
| 278 | d.fn<PFN_vkCmdPipelineBarrier>("vkCmdPipelineBarrier")(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, | ||
| 279 | VK_PIPELINE_STAGE_HOST_BIT, 0, 1, &host, 0, nullptr, 0, | ||
| 280 | nullptr); | ||
| 281 | } | ||
| 282 | }; | ||
| 283 | |||
| 284 | int run(vktest::Device& d, const VkPhysicalDeviceMemoryProperties& memory, const BindlessFeatures& features, | ||
| 285 | std::uint32_t max_layers, const std::vector<std::uint32_t>& code, ImageDimension dimension) { | ||
| 286 | BindlessSet set(d.device_proc, d.device, memory, features); | ||
| 287 | EXPECT(set.ok()); | ||
| 288 | const std::uint32_t capacity = set.image_capacity(dimension); | ||
| 289 | std::printf("%s: %u indices in the set\n", name(dimension), capacity); | ||
| 290 | // Every live image needs an index, and index 0 is the fallback. | ||
| 291 | EXPECT(capacity > live_images); | ||
| 292 | |||
| 293 | Images images(d); | ||
| 294 | EXPECT(images.make(dimension, live_images, max_layers, memory)); | ||
| 295 | std::vector<std::uint32_t> indices; | ||
| 296 | for (const VkImageView view : images.views) { | ||
| 297 | const std::uint32_t index = set.add_image(dimension, view, VK_IMAGE_LAYOUT_GENERAL); | ||
| 298 | EXPECT(index != 0); | ||
| 299 | indices.push_back(index); | ||
| 300 | } | ||
| 301 | Reader reader(d); | ||
| 302 | EXPECT(reader.make(set.layout(), code)); | ||
| 303 | std::memcpy(reader.index_map, indices.data(), indices.size() * 4); | ||
| 304 | std::memset(reader.result_map, 0xcd, live_images * 4); | ||
| 305 | const std::uint32_t pass = dimension == ImageDimension::dim_1d ? 0 : dimension == ImageDimension::dim_2d_array ? 1 : 2; | ||
| 306 | bool flushed = false; | ||
| 307 | const bool ran = d.run([&](VkCommandBuffer cb) { | ||
| 308 | set.record_fallback_init(cb); | ||
| 309 | flushed = set.flush(cb, 0, [] { return std::uint64_t(0); }); | ||
| 310 | images.record_fill(cb); | ||
| 311 | reader.record(cb, set.set(), pass, live_images); | ||
| 312 | return true; | ||
| 313 | }); | ||
| 314 | set.table_upload_result(ran); | ||
| 315 | EXPECT(ran && flushed); | ||
| 316 | std::vector<std::uint32_t> result(live_images); | ||
| 317 | std::memcpy(result.data(), reader.result_map, live_images * 4); | ||
| 318 | std::uint32_t wrong = 0; | ||
| 319 | for (std::uint32_t i = 0; i < live_images; ++i) { | ||
| 320 | float red = 0; | ||
| 321 | std::memcpy(&red, &result[i], 4); | ||
| 322 | if (red != float(i + 1) && wrong++ < 4) | ||
| 323 | std::fprintf(stderr, "%s image %u at index %u read %g, expected %u\n", name(dimension), i, indices[i], | ||
| 324 | double(red), i + 1); | ||
| 325 | } | ||
| 326 | EXPECT(wrong == 0); | ||
| 327 | std::printf("%s: %u live images, each read its own texel through its index (the last at %u)\n", name(dimension), | ||
| 328 | live_images, indices.back()); | ||
| 329 | |||
| 330 | // The rest of the array (the same view again: an index each, as distinct T#s of one texture get), then one | ||
| 331 | // more, refused for the reason that the array of its dimension is full. | ||
| 332 | std::uint32_t more = 0; | ||
| 333 | while (set.add_image(dimension, images.views[0], VK_IMAGE_LAYOUT_GENERAL)) ++more; | ||
| 334 | EXPECT(live_images + more == capacity - 1 && set.free_images(dimension) == 0); | ||
| 335 | EXPECT(set.image_refusal(dimension, false) == BindlessSet::ImageRefusal::array_full); | ||
| 336 | // Freed with nothing pending in the table: the index is free again at once. | ||
| 337 | set.remove_image(dimension, indices[7]); | ||
| 338 | EXPECT(set.free_images(dimension) == 1); | ||
| 339 | EXPECT(set.add_image(dimension, images.views[7], VK_IMAGE_LAYOUT_GENERAL) == indices[7]); | ||
| 340 | // Freed after its key is erased (the GPU's table may still name it): held until a flush brings the table up to | ||
| 341 | // date, then free. | ||
| 342 | const DescriptorKey key{0x1234u, 0, 0, 8u << 28, 0, 0, 0, 0}; | ||
| 343 | set.insert_key(key, indices[9], dimension); | ||
| 344 | set.erase_key(key); | ||
| 345 | set.remove_image(dimension, indices[9]); | ||
| 346 | EXPECT(set.free_images(dimension) == 0 && set.add_image(dimension, images.views[9], VK_IMAGE_LAYOUT_GENERAL) == 0); | ||
| 347 | EXPECT(set.image_refusal(dimension, false) == BindlessSet::ImageRefusal::array_full); | ||
| 348 | const bool reflushed = d.run([&](VkCommandBuffer cb) { return set.flush(cb, 1, [] { return std::uint64_t(1); }); }); | ||
| 349 | set.table_upload_result(reflushed); | ||
| 350 | EXPECT(reflushed && set.free_images(dimension) == 1); | ||
| 351 | EXPECT(set.add_image(dimension, images.views[9], VK_IMAGE_LAYOUT_GENERAL) == indices[9]); | ||
| 352 | std::printf("%s: %u more filled the array; the next was refused as full, and removed indices came back\n", | ||
| 353 | name(dimension), more); | ||
| 354 | |||
| 355 | d.fn<PFN_vkDeviceWaitIdle>("vkDeviceWaitIdle")(d.device); | ||
| 356 | set.release_retired(); | ||
| 357 | return 0; | ||
| 358 | } | ||
| 359 | |||
| 360 | } // namespace | ||
| 361 | |||
| 362 | int main() { | ||
| 363 | #ifndef LEONIDA_TEST_BINDLESS_DIMENSIONS_SPV | ||
| 364 | std::printf("unsupported: the test shader was not built (no glslangValidator)\n"); | ||
| 365 | return 77; | ||
| 366 | #else | ||
| 367 | vktest::Device d; | ||
| 368 | if (const auto status = d.initialize(); status != vktest::DeviceStatus::ready) | ||
| 369 | return status == vktest::DeviceStatus::unavailable ? 77 : 1; | ||
| 370 | if (!d.bindless) { | ||
| 371 | std::printf("unsupported: the device lacks the bindless set's descriptor-indexing features\n"); | ||
| 372 | return 77; | ||
| 373 | } | ||
| 374 | VkPhysicalDeviceMemoryProperties memory{}; | ||
| 375 | d.instance_fn<PFN_vkGetPhysicalDeviceMemoryProperties>("vkGetPhysicalDeviceMemoryProperties")(d.physical, &memory); | ||
| 376 | VkPhysicalDeviceVulkan12Properties v12{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES}; | ||
| 377 | VkPhysicalDeviceVulkan11Properties v11{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES, &v12}; | ||
| 378 | VkPhysicalDeviceProperties2 properties{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2, &v11}; | ||
| 379 | d.instance_fn<PFN_vkGetPhysicalDeviceProperties2>("vkGetPhysicalDeviceProperties2")(d.physical, &properties); | ||
| 380 | std::printf("device: %s\n", properties.properties.deviceName); | ||
| 381 | |||
| 382 | // Sized as the D3D12 device sizes it (d3d12_vulkan_device.cpp): from the update-after-bind limits, past | ||
| 383 | // maxPerSetDescriptors where vkGetDescriptorSetLayoutSupport accepts the layout. | ||
| 384 | BindlessFeatures features; | ||
| 385 | features.update_after_bind = true; | ||
| 386 | features.partially_bound = d.partially_bound; | ||
| 387 | const auto layout_support = | ||
| 388 | d.fn<PFN_vkGetDescriptorSetLayoutSupport>("vkGetDescriptorSetLayoutSupport"); | ||
| 389 | const auto layout_supported = [&](const BindlessFeatures& candidate) { | ||
| 390 | if (!layout_support) return false; | ||
| 391 | const bindless::SetLayout layout(candidate); | ||
| 392 | VkDescriptorSetLayoutSupport support{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT}; | ||
| 393 | layout_support(d.device, &layout.info, &support); | ||
| 394 | return support.supported == VK_TRUE; | ||
| 395 | }; | ||
| 396 | bindless::size_bindings(features, properties.properties.limits, v11, v12, layout_supported); | ||
| 397 | const std::uint32_t sampled_limit = std::min(v12.maxPerStageDescriptorUpdateAfterBindSampledImages, | ||
| 398 | v12.maxDescriptorSetUpdateAfterBindSampledImages); | ||
| 399 | // Room for 5000 images in each of the four sampled arrays besides 2D's: below that, the device itself holds | ||
| 400 | // fewer, and the test has nothing to say. | ||
| 401 | if (sampled_limit < bindless::max_images + 3 * (live_images + 1) + 2 * bindless::growth_headroom) { | ||
| 402 | std::printf("unsupported: the device holds %u sampled images in a set, too few for %u of each dimension\n", | ||
| 403 | sampled_limit, live_images); | ||
| 404 | return 77; | ||
| 405 | } | ||
| 406 | |||
| 407 | const std::vector<std::uint32_t> code = load_spirv(LEONIDA_TEST_BINDLESS_DIMENSIONS_SPV); | ||
| 408 | EXPECT(!code.empty()); | ||
| 409 | const std::uint32_t max_layers = properties.properties.limits.maxImageArrayLayers; | ||
| 410 | for (const ImageDimension dimension : | ||
| 411 | {ImageDimension::dim_1d, ImageDimension::dim_2d_array, ImageDimension::dim_3d}) | ||
| 412 | EXPECT(run(d, memory, features, max_layers, code, dimension) == 0); | ||
| 413 | |||
| 414 | if (d.validation_errors()) { | ||
| 415 | std::printf("%u validation errors\n", d.validation_errors()); | ||
| 416 | return 1; | ||
| 417 | } | ||
| 418 | std::printf("vk_bindless_dimensions: ok\n"); | ||
| 419 | return 0; | ||
| 420 | #endif | ||
| 421 | } | ||
diff --git a/runtime/test/vk_bindless_test.cpp b/runtime/test/vk_bindless_test.cpp index dc33e7d91..e81181849 100644 --- a/runtime/test/vk_bindless_test.cpp +++ b/runtime/test/vk_bindless_test.cpp | |||
| @@ -967,7 +967,14 @@ int main(int argc, char** argv) { | |||
| 967 | std::vector<std::uint32_t> filled; | 967 | std::vector<std::uint32_t> filled; |
| 968 | for (std::uint32_t i = 1; i < set.image_capacity(ImageDimension::dim_1d); ++i) | 968 | for (std::uint32_t i = 1; i < set.image_capacity(ImageDimension::dim_1d); ++i) |
| 969 | filled.push_back(set.add_image(ImageDimension::dim_1d, VK_NULL_HANDLE, VK_IMAGE_LAYOUT_GENERAL)); | 969 | filled.push_back(set.add_image(ImageDimension::dim_1d, VK_NULL_HANDLE, VK_IMAGE_LAYOUT_GENERAL)); |
| 970 | EXPECT(filled.front() == 1 && filled.back() == set.image_capacity(ImageDimension::dim_1d) - 1); | 970 | // Images without storage views take the indices above the storage arrays first, then the ones below: every |
| 971 | // index but the fallback's, once each. | ||
| 972 | std::vector<std::uint32_t> sorted = filled; | ||
| 973 | std::sort(sorted.begin(), sorted.end()); | ||
| 974 | EXPECT(sorted.front() == 1 && sorted.back() == set.image_capacity(ImageDimension::dim_1d) - 1 && | ||
| 975 | std::adjacent_find(sorted.begin(), sorted.end()) == sorted.end()); | ||
| 976 | const std::uint32_t storage_end = set.storage_capacity(ImageDimension::dim_1d); | ||
| 977 | EXPECT(filled.front() == (storage_end < set.image_capacity(ImageDimension::dim_1d) ? storage_end : 1u)); | ||
| 971 | EXPECT(set.free_images(ImageDimension::dim_1d) == 0); | 978 | EXPECT(set.free_images(ImageDimension::dim_1d) == 0); |
| 972 | EXPECT(set.add_image(ImageDimension::dim_1d, VK_NULL_HANDLE, VK_IMAGE_LAYOUT_GENERAL) == 0); | 979 | EXPECT(set.add_image(ImageDimension::dim_1d, VK_NULL_HANDLE, VK_IMAGE_LAYOUT_GENERAL) == 0); |
| 973 | set.remove_image(ImageDimension::dim_1d, 7); | 980 | set.remove_image(ImageDimension::dim_1d, 7); |
diff --git a/runtime/test/vk_test_device.h b/runtime/test/vk_test_device.h index eb1be0a2c..8369d594c 100644 --- a/runtime/test/vk_test_device.h +++ b/runtime/test/vk_test_device.h | |||
| @@ -123,6 +123,7 @@ public: | |||
| 123 | bool occlusion_query_precise = false; // occlusionQueryPrecise enabled | 123 | bool occlusion_query_precise = false; // occlusionQueryPrecise enabled |
| 124 | bool prepare_on_bind=false; | 124 | bool prepare_on_bind=false; |
| 125 | bool cold_graphics_compile = false; | 125 | bool cold_graphics_compile = false; |
| 126 | bool heavy_pipeline_cache = false; // LEONIDA_HEAVY_PIPELINE_CACHE_MS set and pipelineCreationCacheControl on | ||
| 126 | bool pipeline_statistics_query = false; // pipelineStatisticsQuery enabled | 127 | bool pipeline_statistics_query = false; // pipelineStatisticsQuery enabled |
| 127 | bool request_multi_draw_indirect = false, request_draw_indirect_count = false; | 128 | bool request_multi_draw_indirect = false, request_draw_indirect_count = false; |
| 128 | bool draw_indirect_count_enabled = false; | 129 | bool draw_indirect_count_enabled = false; |
| @@ -412,8 +413,13 @@ private: | |||
| 412 | // (zero-based VS ids) is in; harmless before. | 413 | // (zero-based VS ids) is in; harmless before. |
| 413 | const char* compile_mode = std::getenv("LEONIDA_PIPELINE_COMPILE"); | 414 | const char* compile_mode = std::getenv("LEONIDA_PIPELINE_COMPILE"); |
| 414 | const bool cache_only = compile_mode && std::strcmp(compile_mode, "cache-only") == 0; | 415 | const bool cache_only = compile_mode && std::strcmp(compile_mode, "cache-only") == 0; |
| 415 | v13_.enable_pipeline_cache_control = cache_only && v13_.core && v13_.pipeline_cache_control; | 416 | // LEONIDA_HEAVY_PIPELINE_CACHE_MS other than 0: the heavy pipeline cache path, as the runtime takes it by default |
| 416 | cold_graphics_compile = v13_.enable_pipeline_cache_control; | 417 | // (src/heavy_pipeline_cache.h). Tests leave it off unless asked. |
| 418 | const char* heavy_ms = std::getenv("LEONIDA_HEAVY_PIPELINE_CACHE_MS"); | ||
| 419 | const bool heavy = heavy_ms && *heavy_ms && std::strcmp(heavy_ms, "0") != 0; | ||
| 420 | v13_.enable_pipeline_cache_control = (cache_only || heavy) && v13_.core && v13_.pipeline_cache_control; | ||
| 421 | cold_graphics_compile = cache_only && v13_.enable_pipeline_cache_control; | ||
| 422 | heavy_pipeline_cache = heavy && v13_.enable_pipeline_cache_control; | ||
| 417 | prepare_on_bind = compile_mode && std::strcmp(compile_mode, "on-demand") == 0; | 423 | prepare_on_bind = compile_mode && std::strcmp(compile_mode, "on-demand") == 0; |
| 418 | VkPhysicalDeviceVulkan11Features enable11{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES, | 424 | VkPhysicalDeviceVulkan11Features enable11{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES, |
| 419 | v13_.enable(conditional_rendering ? &enable_conditional : nullptr)}; | 425 | v13_.enable(conditional_rendering ? &enable_conditional : nullptr)}; |
diff --git a/runtime/test/vk_xdxr_build_test.cpp b/runtime/test/vk_xdxr_build_test.cpp index a0b3f8b6a..380d4bfad 100644 --- a/runtime/test/vk_xdxr_build_test.cpp +++ b/runtime/test/vk_xdxr_build_test.cpp | |||
| @@ -105,6 +105,7 @@ struct Geometry { | |||
| 105 | bool transform = false; | 105 | bool transform = false; |
| 106 | float m[12] = {}; | 106 | float m[12] = {}; |
| 107 | std::uint32_t triangle_count = 0; | 107 | std::uint32_t triangle_count = 0; |
| 108 | std::uint32_t vertex_count = 0xffffffffu; // XdxrTriangles::vertex_count; the default bounds nothing | ||
| 108 | }; | 109 | }; |
| 109 | 110 | ||
| 110 | // The world-space triangles a geometry describes, as the reference must see them. | 111 | // The world-space triangles a geometry describes, as the reference must see them. |
| @@ -114,8 +115,9 @@ void expand(const Geometry& g, std::uint32_t geometry, std::vector<Tri>& out) { | |||
| 114 | Tri tri{}; | 115 | Tri tri{}; |
| 115 | for (int k = 0; k < 3; ++k) { | 116 | for (int k = 0; k < 3; ++k) { |
| 116 | const std::uint32_t v = g.indices.empty() ? 3 * t + k : g.indices[3 * t + k]; | 117 | const std::uint32_t v = g.indices.empty() ? 3 * t + k : g.indices[3 * t + k]; |
| 117 | float p[3] = {g.vertex_data[v * floats], g.vertex_data[v * floats + 1], | 118 | float p[3] = {std::nanf(""), std::nanf(""), std::nanf("")}; // past VertexCount: inactive, nothing read |
| 118 | g.xy ? 0.0f : g.vertex_data[v * floats + 2]}; | 119 | if (v < g.vertex_count) |
| 120 | for (int c = 0; c < 3; ++c) p[c] = c == 2 && g.xy ? 0.0f : g.vertex_data[v * floats + c]; | ||
| 119 | for (int c = 0; c < 3; ++c) | 121 | for (int c = 0; c < 3; ++c) |
| 120 | tri.v[k][c] = g.transform ? g.m[4 * c] * p[0] + g.m[4 * c + 1] * p[1] + g.m[4 * c + 2] * p[2] + g.m[4 * c + 3] | 122 | tri.v[k][c] = g.transform ? g.m[4 * c] * p[0] + g.m[4 * c + 1] * p[1] + g.m[4 * c + 2] * p[2] + g.m[4 * c + 3] |
| 121 | : p[c]; | 123 | : p[c]; |
| @@ -139,7 +141,7 @@ struct Built { | |||
| 139 | int build_blas(vktest::Device& gpu, XdxrBuilder& builder, const std::string& dir, const std::string& name, | 141 | int build_blas(vktest::Device& gpu, XdxrBuilder& builder, const std::string& dir, const std::string& name, |
| 140 | const std::vector<Geometry>& geometries, Built& built, unsigned rays = 0, | 142 | const std::vector<Geometry>& geometries, Built& built, unsigned rays = 0, |
| 141 | const std::vector<Geometry>* moved = nullptr, bool into_other = false, bool box16 = false, | 143 | const std::vector<Geometry>* moved = nullptr, bool into_other = false, bool box16 = false, |
| 142 | bool pair = false, bool expect_no_pairs = false) { | 144 | bool pair = false, bool expect_no_pairs = false, int poison = 0) { |
| 143 | std::vector<Buffer> keep, vertex_buffers; | 145 | std::vector<Buffer> keep, vertex_buffers; |
| 144 | std::vector<XdxrTriangles> descs; | 146 | std::vector<XdxrTriangles> descs; |
| 145 | std::uint32_t total = 0; | 147 | std::uint32_t total = 0; |
| @@ -153,6 +155,7 @@ int build_blas(vktest::Device& gpu, XdxrBuilder& builder, const std::string& dir | |||
| 153 | d.vertex_stride = geo.stride; | 155 | d.vertex_stride = geo.stride; |
| 154 | d.xy_only = geo.xy; | 156 | d.xy_only = geo.xy; |
| 155 | d.triangle_count = geo.triangle_count; | 157 | d.triangle_count = geo.triangle_count; |
| 158 | d.vertex_count = geo.vertex_count; | ||
| 156 | d.flags = 1; | 159 | d.flags = 1; |
| 157 | keep.push_back(v); | 160 | keep.push_back(v); |
| 158 | vertex_buffers.push_back(v); | 161 | vertex_buffers.push_back(v); |
| @@ -223,12 +226,29 @@ int build_blas(vktest::Device& gpu, XdxrBuilder& builder, const std::string& dir | |||
| 223 | Buffer other = into_other ? make(gpu, layout.size + 256) : Buffer{}; | 226 | Buffer other = into_other ? make(gpu, layout.size + 256) : Buffer{}; |
| 224 | const std::uint64_t target = into_other ? (other.address + 255) & ~std::uint64_t(255) : base; | 227 | const std::uint64_t target = into_other ? (other.address + 255) & ~std::uint64_t(255) : base; |
| 225 | EXPECT(!into_other || other.buffer); | 228 | EXPECT(!into_other || other.buffer); |
| 229 | // `poison`: the update's source is not a structure this layout built (a title passing one it never built). 1: all | ||
| 230 | // zero, 2: random bytes, 3: the built structure with another element count in its header, 4: its header kept and | ||
| 231 | // the rest random. The builder must read nothing past the layout; 1-3 then become a full build of the moved | ||
| 232 | // geometry (check-build validates it), 4 refits garbage pointers, whose result is not checked, only that it ends. | ||
| 233 | if (poison) { | ||
| 234 | auto* s = reinterpret_cast<std::uint32_t*>(static_cast<char*>(dst.map) + (base - dst.address)); | ||
| 235 | std::mt19937 prng(11); | ||
| 236 | const std::size_t words = layout.size / 4; | ||
| 237 | if (poison == 1) std::fill(s, s + words, 0u); | ||
| 238 | if (poison == 2) for (std::size_t w = 0; w < words; ++w) s[w] = std::uint32_t(prng()); | ||
| 239 | if (poison == 3) s[3] += 1; | ||
| 240 | if (poison == 4) for (std::size_t w = 16; w < words; ++w) s[w] = std::uint32_t(prng()); | ||
| 241 | } | ||
| 226 | EXPECT(gpu.run([&](VkCommandBuffer cb) { | 242 | EXPECT(gpu.run([&](VkCommandBuffer cb) { |
| 227 | recorded = builder.record_blas(cb, layout, descs, target, scratch.address, base); | 243 | recorded = builder.record_blas(cb, layout, descs, target, scratch.address, base); |
| 228 | barrier_to_host(gpu, cb); | 244 | barrier_to_host(gpu, cb); |
| 229 | return recorded; | 245 | return recorded; |
| 230 | })); | 246 | })); |
| 231 | if (into_other) EXPECT(dump(name + "_source", dst, base, built.tris)); // a refit must not touch its source | 247 | if (poison == 4) { |
| 248 | std::printf("%s: %u triangles refitted from a garbage tree, %u bytes\n", name.c_str(), total, layout.size); | ||
| 249 | return 0; | ||
| 250 | } | ||
| 251 | if (into_other && !poison) EXPECT(dump(name + "_source", dst, base, built.tris)); // a refit must not touch its source | ||
| 232 | EXPECT(dump(name, into_other ? other : dst, target, moved_tris)); | 252 | EXPECT(dump(name, into_other ? other : dst, target, moved_tris)); |
| 233 | built.tris = moved_tris; | 253 | built.tris = moved_tris; |
| 234 | built.address = target; | 254 | built.address = target; |
| @@ -349,6 +369,18 @@ int main(int argc, char** argv) { | |||
| 349 | b.vertex_data[3 * 3 * 7] = std::nanf(""); // triangle 7 of geometry 1: inactive | 369 | b.vertex_data[3 * 3 * 7] = std::nanf(""); // triangle 7 of geometry 1: inactive |
| 350 | if (build_blas(gpu, builder, dir, "blas_two_geometries", {a, b}, multi)) return 1; | 370 | if (build_blas(gpu, builder, dir, "blas_two_geometries", {a, b}, multi)) return 1; |
| 351 | if (build_blas(gpu, builder, dir, "blas_empty", {}, empty)) return 1; | 371 | if (build_blas(gpu, builder, dir, "blas_empty", {}, empty)) return 1; |
| 372 | // VertexCount bounds the vertex reads: an unindexed geometry whose last triangle lies past it (the buffer holds | ||
| 373 | // finite vertices there, so a read would show), an index far past the buffer, and VertexCount 0: those | ||
| 374 | // triangles are inactive. | ||
| 375 | { | ||
| 376 | Built bounded; | ||
| 377 | Geometry past = soup(8), wild = grid(4, 3, false), no_vertices = soup(2); | ||
| 378 | past.vertex_count = 21; | ||
| 379 | wild.vertex_count = 25; | ||
| 380 | wild.indices[3 * 5 + 1] = 0xfffffff0u; | ||
| 381 | no_vertices.vertex_count = 0; | ||
| 382 | if (build_blas(gpu, builder, dir, "blas_vertex_count", {past, wild, no_vertices}, bounded)) return 1; | ||
| 383 | } | ||
| 352 | // many radix-sort tiles (RADIX_TILE elements each), the last one partial (fewer rays: the brute force is slow) | 384 | // many radix-sort tiles (RADIX_TILE elements each), the last one partial (fewer rays: the brute force is slow) |
| 353 | Built tiles; | 385 | Built tiles; |
| 354 | if (build_blas(gpu, builder, dir, "blas_three_sort_tiles", {soup(5000)}, tiles, 200)) return 1; | 386 | if (build_blas(gpu, builder, dir, "blas_three_sort_tiles", {soup(5000)}, tiles, 200)) return 1; |
| @@ -374,6 +406,19 @@ int main(int argc, char** argv) { | |||
| 374 | const Geometry g = grid(12, 4, false); // R32 indices, stride 16; the small-sort path | 406 | const Geometry g = grid(12, 4, false); // R32 indices, stride 16; the small-sort path |
| 375 | const std::vector<Geometry> after_grid = {move(g, 0.3f)}; | 407 | const std::vector<Geometry> after_grid = {move(g, 0.3f)}; |
| 376 | if (build_blas(gpu, builder, dir, "blas_refit_into_other", {g}, copied, 0, &after_grid, true)) return 1; | 408 | if (build_blas(gpu, builder, dir, "blas_refit_into_other", {g}, copied, 0, &after_grid, true)) return 1; |
| 409 | // updates whose source is no structure of this layout: a full build instead, or (garbage tree) a bounded walk | ||
| 410 | const char* poisoned[] = {"blas_refit_zero_source", "blas_refit_garbage_source", "blas_refit_other_layout", | ||
| 411 | "blas_refit_garbage_tree"}; | ||
| 412 | for (int poison = 1; poison <= 4; ++poison) { | ||
| 413 | Built b; | ||
| 414 | if (build_blas(gpu, builder, dir, poisoned[poison - 1], {big}, b, 100, &after, poison == 2, false, false, | ||
| 415 | false, poison)) | ||
| 416 | return 1; | ||
| 417 | Built small; | ||
| 418 | if (build_blas(gpu, builder, dir, std::string(poisoned[poison - 1]) + "_small", {g}, small, 0, &after_grid, | ||
| 419 | poison != 2, false, false, false, poison)) | ||
| 420 | return 1; | ||
| 421 | } | ||
| 377 | } | 422 | } |
| 378 | 423 | ||
| 379 | // BOX16 inner nodes: the same tree with half boxes rounded outward (64-byte nodes instead of 128). | 424 | // BOX16 inner nodes: the same tree with half boxes rounded outward (64-byte nodes instead of 128). |
diff --git a/runtime/test/xapu_chad_test.cpp b/runtime/test/xapu_chad_test.cpp index dffa74404..7e667492c 100644 --- a/runtime/test/xapu_chad_test.cpp +++ b/runtime/test/xapu_chad_test.cpp | |||
| @@ -1,7 +1,11 @@ | |||
| 1 | // Checks the registered xapu.dll and chad.dll shims in the call shapes the executable uses (runtime/shims/xapu_chad.cpp): | 1 | // Checks the registered xapu.dll and chad.dll shims (runtime/shims/xapu_queue.cpp and runtime/shims/xapu_chad.cpp) |
| 2 | // the connections succeed, the APU's shared buffer is zeroed and writable at the offsets the title reaches, commands | 2 | // in the call shapes the executable uses and against the layouts xapu_queue.cpp documents. |
| 3 | // are accepted, an open and a close each give one result and nothing else does, XDspActivate hands out zeroed status | 3 | // |
| 4 | // and stream memory, and both disconnect. | 4 | // xapu.dll: the connection's limits and its zeroed memory, writable at the offsets the title reaches; one result per |
| 5 | // accepted command, in command order, with its id echoed; the per-stream queue limit; the error codes, returned or in | ||
| 6 | // the result; a process command's frame count taken from the Opus packet's table-of-contents byte (RFC 6716, section | ||
| 7 | // 3.1) and clipped, with silence written; and the result event. The packets are hand-made TOC bytes, not audio. | ||
| 8 | // chad.dll: XDspActivate hands out zeroed status and stream memory, and both disconnect. | ||
| 5 | #include <windows.h> | 9 | #include <windows.h> |
| 6 | 10 | ||
| 7 | #include <cstdint> | 11 | #include <cstdint> |
| @@ -12,10 +16,10 @@ | |||
| 12 | 16 | ||
| 13 | namespace { | 17 | namespace { |
| 14 | 18 | ||
| 15 | using XApuConnectFn = HRESULT(__stdcall*)(void*, void*, void**); | 19 | using XApuConnectFn = HRESULT(__stdcall*)(const void*, void*, void**); |
| 16 | using XApuDisconnectFn = HRESULT(__stdcall*)(void*); | 20 | using XApuDisconnectFn = HRESULT(__stdcall*)(void*, uint32_t); |
| 17 | using XApuEnqueueCommandFn = HRESULT(__stdcall*)(void*, const uint32_t*, uint64_t); | 21 | using XApuEnqueueCommandFn = HRESULT(__stdcall*)(void*, const void*, uint32_t*); |
| 18 | using XApuGetResultCountFn = uint32_t(__stdcall*)(void*, uint64_t); | 22 | using XApuGetResultCountFn = uint32_t(__stdcall*)(void*, uint32_t*); |
| 19 | using XApuDequeueResultFn = HRESULT(__stdcall*)(void*, void*); | 23 | using XApuDequeueResultFn = HRESULT(__stdcall*)(void*, void*); |
| 20 | using XDspConnectFn = HRESULT(__stdcall*)(void*, uint32_t, uint32_t, uint32_t, uint32_t, void**); | 24 | using XDspConnectFn = HRESULT(__stdcall*)(void*, uint32_t, uint32_t, uint32_t, uint32_t, void**); |
| 21 | using XDspActivateFn = HRESULT(__stdcall*)(void*, const void*, void**, void**); | 25 | using XDspActivateFn = HRESULT(__stdcall*)(void*, const void*, void**, void**); |
| @@ -23,6 +27,55 @@ using XDspDeactivateFn = HRESULT(__stdcall*)(void*, uint64_t, uint64_t, uint64_t | |||
| 23 | using XDspDisconnectFn = HRESULT(__stdcall*)(void*); | 27 | using XDspDisconnectFn = HRESULT(__stdcall*)(void*); |
| 24 | using XDspSubmitCommandFn = HRESULT(__stdcall*)(void*, void*, uint32_t*); | 28 | using XDspSubmitCommandFn = HRESULT(__stdcall*)(void*, void*, uint32_t*); |
| 25 | 29 | ||
| 30 | constexpr HRESULT kQueueFull = static_cast<HRESULT>(0x8AC81000u); | ||
| 31 | constexpr HRESULT kNoResult = static_cast<HRESULT>(0x8AC81001u); | ||
| 32 | constexpr HRESULT kInvalidCommand = static_cast<HRESULT>(0x8AC81002u); | ||
| 33 | constexpr HRESULT kInvalidStream = static_cast<HRESULT>(0x8AC81003u); | ||
| 34 | constexpr HRESULT kAlreadyActive = static_cast<HRESULT>(0x8AC81005u); | ||
| 35 | constexpr HRESULT kBadPacket = static_cast<HRESULT>(0x8AC81008u); | ||
| 36 | |||
| 37 | #pragma pack(push, 1) | ||
| 38 | struct ConnectInput { | ||
| 39 | uint32_t processing, streams, commands_per_stream, memory_bytes, frames_per_output, options; | ||
| 40 | }; | ||
| 41 | struct ConnectOutput { | ||
| 42 | void* memory; | ||
| 43 | HANDLE result_event; | ||
| 44 | }; | ||
| 45 | struct CommandId { | ||
| 46 | uint32_t kind, stream, sequence, options; | ||
| 47 | uint64_t context; | ||
| 48 | }; | ||
| 49 | struct ActivateCommand { | ||
| 50 | CommandId id; | ||
| 51 | uint32_t channels, init_bytes; | ||
| 52 | const void* init; | ||
| 53 | float start_pitch; | ||
| 54 | uint32_t processing_bytes; | ||
| 55 | void* processing; | ||
| 56 | }; | ||
| 57 | struct ProcessCommand { | ||
| 58 | CommandId id; | ||
| 59 | float pitch_ramp, target_pitch; | ||
| 60 | uint32_t first_frame, frame_count, input_bytes; | ||
| 61 | const uint8_t* input; | ||
| 62 | uint32_t output_bytes; | ||
| 63 | uint8_t* output; | ||
| 64 | }; | ||
| 65 | struct Result { | ||
| 66 | CommandId id; | ||
| 67 | uint32_t state; | ||
| 68 | uint64_t state_data, usec; | ||
| 69 | HRESULT error; | ||
| 70 | uint32_t frames, output_bytes; | ||
| 71 | uint8_t* output; | ||
| 72 | float pitch; | ||
| 73 | uint32_t input_bytes; | ||
| 74 | const uint8_t* input; | ||
| 75 | }; | ||
| 76 | #pragma pack(pop) | ||
| 77 | static_assert(sizeof(ActivateCommand) == 56 && sizeof(ProcessCommand) == 64 && sizeof(Result) == 0x50, "layouts"); | ||
| 78 | |||
| 26 | int g_checks = 0; | 79 | int g_checks = 0; |
| 27 | int g_failures = 0; | 80 | int g_failures = 0; |
| 28 | 81 | ||
| @@ -39,6 +92,8 @@ T get(const char* dll, const char* name) { | |||
| 39 | return reinterpret_cast<T>(fn); | 92 | return reinterpret_cast<T>(fn); |
| 40 | } | 93 | } |
| 41 | 94 | ||
| 95 | CommandId id(uint32_t kind, uint32_t stream, uint32_t options = 0) { return {kind, stream, 7, options, 0x1234}; } | ||
| 96 | |||
| 42 | } // namespace | 97 | } // namespace |
| 43 | 98 | ||
| 44 | int main() { | 99 | int main() { |
| @@ -56,39 +111,165 @@ int main() { | |||
| 56 | check(rt::shims::owns_dll("xapu.dll") && rt::shims::owns_dll("chad.dll"), "the shims own xapu.dll and chad.dll"); | 111 | check(rt::shims::owns_dll("xapu.dll") && rt::shims::owns_dll("chad.dll"), "the shims own xapu.dll and chad.dll"); |
| 57 | if (g_failures) return 1; | 112 | if (g_failures) return 1; |
| 58 | 113 | ||
| 59 | // XApuConnect(block24*, out16*, handle*), success read as SUCCEEDED. | 114 | // XApuConnect(const ConnectInput*, ConnectOutput*, handle*): the first argument is read, never written. |
| 60 | uint8_t out24[24]; | 115 | ConnectOutput out{}; |
| 61 | uint64_t out16[2] = {}; | ||
| 62 | std::memset(out24, 0xcc, sizeof out24); | ||
| 63 | void* apu = nullptr; | 116 | void* apu = nullptr; |
| 64 | check(SUCCEEDED(connect(out24, out16, &apu)) && apu, "XApuConnect succeeds with a handle"); | 117 | ConnectInput bad{1, 0, 2, 0x10000, 0, 0}; |
| 65 | check(out24[0] == 0xcc && out24[23] == 0xcc, "XApuConnect leaves the title's 24-byte block alone"); | 118 | check(connect(&bad, &out, &apu) == E_INVALIDARG, "zero streams is E_INVALIDARG"); |
| 66 | auto* base = reinterpret_cast<uint8_t*>(out16[0]); | 119 | bad = {1, 501, 2, 0x10000, 0, 0}; |
| 67 | check(base != nullptr && out16[1] >= 0x14000 + 128 * 0x1E00, "XApuConnect returns the shared buffer and its size"); | 120 | check(connect(&bad, &out, &apu) == E_INVALIDARG, "more than 500 streams is E_INVALIDARG"); |
| 68 | if (base) { | 121 | bad = {1, 4, 17, 0x10000, 0, 0}; |
| 69 | const size_t last_output = 0x14000 + 127 * 0x1E00 + 0x1E00 - 1; // the end of slot 127's output | 122 | check(connect(&bad, &out, &apu) == E_INVALIDARG, "more than 16 commands per stream is E_INVALIDARG"); |
| 70 | check(base[0] == 0 && base[last_output] == 0, "the shared buffer is zeroed"); | 123 | bad = {1, 4, 2, 0, 0, 0}; |
| 71 | base[127 * 0x280] = 1; | 124 | check(connect(&bad, &out, &apu) == E_INVALIDARG, "no memory is E_INVALIDARG"); |
| 72 | base[last_output] = 1; | 125 | bad = {1, 4, 2, 0x10000, 256, 0}; |
| 73 | check(base[127 * 0x280] == 1 && base[last_output] == 1, "the shared buffer is writable at slot 127"); | 126 | check(connect(&bad, &out, &apu) == E_INVALIDARG, "frames per output for decoding is E_INVALIDARG"); |
| 74 | } | 127 | bad = {2, 4, 2, 0x10000, 0, 0}; |
| 75 | check(connect(out24, out16, nullptr) == E_INVALIDARG, "XApuConnect without a handle pointer fails"); | 128 | check(connect(&bad, &out, &apu) == static_cast<HRESULT>(rt::shims::kENotImpl), |
| 129 | "a processing kind other than Opus decoding is E_NOTIMPL"); | ||
| 130 | check(apu == nullptr, "a failed XApuConnect hands out no handle"); | ||
| 131 | |||
| 132 | // The memory the title addresses: input at base + slot * 0x280, output at base + 0x14000 + slot * 0x1E00. | ||
| 133 | constexpr uint32_t kMemory = 0x14000 + 128 * 0x1E00; | ||
| 134 | const ConnectInput in{1, 128, 2, kMemory, 0, 8}; | ||
| 135 | const ConnectInput in_copy = in; | ||
| 136 | check(SUCCEEDED(connect(&in, &out, &apu)) && apu, "XApuConnect for Opus decoding, 128 streams, 2 commands each"); | ||
| 137 | check(std::memcmp(&in, &in_copy, sizeof in) == 0, "XApuConnect leaves its input alone"); | ||
| 138 | check(out.memory != nullptr && out.result_event != nullptr, "it hands out memory and a result event"); | ||
| 139 | if (!apu || !out.memory) return 1; | ||
| 140 | auto* base = static_cast<uint8_t*>(out.memory); | ||
| 141 | const size_t last_output = 0x14000 + 127 * 0x1E00 + 0x1E00 - 1; // the end of slot 127's output | ||
| 142 | check(base[0] == 0 && base[last_output] == 0, "the memory is zeroed"); | ||
| 143 | base[127 * 0x280] = 1; | ||
| 144 | base[last_output] = 1; | ||
| 145 | check(base[127 * 0x280] == 1 && base[last_output] == 1, "the memory is writable at slot 127"); | ||
| 146 | base[127 * 0x280] = 0; | ||
| 147 | base[last_output] = 0; | ||
| 148 | |||
| 149 | Result r{}; | ||
| 150 | check(dequeue(apu, &r) == kNoResult, "XApuDequeueResult with nothing queued is 0x8AC81001"); | ||
| 151 | uint32_t dequeued = 99; | ||
| 152 | check(count(apu, &dequeued) == 0 && dequeued == 0, "XApuGetResultCount: nothing ready, none dequeued"); | ||
| 76 | 153 | ||
| 77 | // Command types 1, 2 and 3 as the title builds them; the third argument is 0 at every site. | 154 | // Activate stream 3 (stereo) and process one packet; the title's sites pass a null third argument. |
| 78 | for (uint32_t type = 1; type <= 3; ++type) { | 155 | const ActivateCommand activate{id(1, 3), 2, 0, nullptr, 1.0f, 0, nullptr}; |
| 79 | uint32_t command[16] = {type, 5}; | 156 | check(enqueue(apu, &activate, nullptr) == S_OK, "activate stream 3 with a null count pointer"); |
| 80 | check(enqueue(apu, command, 0) == S_OK, "XApuEnqueueCommand accepts a command"); | 157 | check(WaitForSingleObject(out.result_event, 0) == WAIT_TIMEOUT, "a command not asking for it leaves the event"); |
| 158 | uint8_t* const packet = base + 3 * 0x280; | ||
| 159 | uint8_t* const pcm = base + 0x14000 + 3 * 0x1E00; | ||
| 160 | packet[0] = (31 << 3) | 0; // one 20 ms CELT frame (config 31, code 0): 960 frames per channel | ||
| 161 | std::memset(pcm, 0x55, 0x1E00 + 16); // the slot and the start of the next, to see nothing past it is written | ||
| 162 | ProcessCommand process{id(3, 3, 1), 0.0f, 1.0f, 0, 960, 40, packet, 960 * 8, pcm}; | ||
| 163 | uint32_t total = 0; | ||
| 164 | check(enqueue(apu, &process, &total) == S_OK && total == 2, "process on stream 3; two commands accepted"); | ||
| 165 | check(WaitForSingleObject(out.result_event, 0) == WAIT_OBJECT_0, "a command asking for it signals the event"); | ||
| 166 | check(WaitForSingleObject(out.result_event, 0) == WAIT_TIMEOUT, "the event resets itself"); | ||
| 167 | check(enqueue(apu, &process, &total) == kQueueFull && total == 2, | ||
| 168 | "a third command on a stream of two is 0x8AC81000 and not counted"); | ||
| 169 | check(count(apu, nullptr) == 2, "two results ready, with a null dequeued pointer"); | ||
| 170 | |||
| 171 | check(dequeue(apu, &r) == S_OK && r.id.kind == 1 && r.id.stream == 3 && r.id.sequence == 7 && | ||
| 172 | r.id.context == 0x1234 && r.error == S_OK && r.pitch == 1.0f, | ||
| 173 | "results come in command order: the activate first, its id echoed"); | ||
| 174 | check(dequeue(apu, &r) == S_OK && r.id.kind == 3 && r.error == S_OK, "the process result follows"); | ||
| 175 | uint32_t dword34 = 0; | ||
| 176 | std::memcpy(&dword34, reinterpret_cast<const uint8_t*>(&r) + 0x34, 4); | ||
| 177 | check(r.frames == 960 && dword34 == 960 * 8 && r.output == pcm && r.input == packet && r.input_bytes == 40, | ||
| 178 | "960 stereo float frames, the byte count at +0x34, the buffers echoed"); | ||
| 179 | bool silent = true; | ||
| 180 | for (int i = 0; i < 960 * 8; ++i) silent = silent && pcm[i] == 0; | ||
| 181 | check(silent && pcm[960 * 8] == 0x55, "the output range is silence, and nothing past it is written"); | ||
| 182 | check(count(apu, &dequeued) == 0 && dequeued == 2, "nothing ready, two dequeued"); | ||
| 183 | |||
| 184 | // The TOC byte's frame size and count (RFC 6716, section 3.1), one stereo packet each. | ||
| 185 | struct Toc { | ||
| 186 | uint8_t toc, count; | ||
| 187 | uint32_t frames; | ||
| 188 | const char* what; | ||
| 189 | } const tocs[] = { | ||
| 190 | {(0 << 3) | 0, 0, 480, "SILK 10 ms, code 0: 480 frames"}, | ||
| 191 | {(3 << 3) | 1, 0, 5760, "SILK 60 ms, code 1 (two frames): 5760 frames"}, | ||
| 192 | {(13 << 3) | 2, 0, 1920, "hybrid 20 ms, code 2 (two frames): 1920 frames"}, | ||
| 193 | {(16 << 3) | 3, 5, 600, "CELT 2.5 ms, code 3 with five frames: 600 frames"}, | ||
| 194 | }; | ||
| 195 | for (const Toc& t : tocs) { | ||
| 196 | packet[0] = t.toc; | ||
| 197 | packet[1] = t.count; | ||
| 198 | process = {id(3, 3), 0.0f, 1.0f, 0, 6000, 40, packet, 0x1E00 * 4, pcm}; | ||
| 199 | r = {}; | ||
| 200 | check(enqueue(apu, &process, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == S_OK && | ||
| 201 | r.frames == (t.frames < 0x1E00 * 4 / 8 ? t.frames : 0x1E00 * 4 / 8), | ||
| 202 | t.what); | ||
| 81 | } | 203 | } |
| 82 | check(count(apu, 0) == 2, "the open and the close each queued a result, the type 3 command none"); | 204 | |
| 83 | for (uint32_t type = 1; type <= 2; ++type) { | 205 | // first_frame and frame_count clip like a decode: three 20 ms frames (code 3, count 3) = 2880, from frame 2000. |
| 84 | uint32_t queued[0x50 / 4] = {}; | 206 | packet[0] = (31 << 3) | 3; |
| 85 | check(dequeue(apu, queued) == S_OK && queued[0] == type && queued[1] == 5 && queued[2] == 0 && queued[13] == 0, | 207 | packet[1] = 3; |
| 86 | "XApuDequeueResult returns the type and slot and leaves the rest zeroed"); | 208 | process = {id(3, 3), 0.0f, 1.0f, 2000, 4000, 40, packet, 0x1E00, pcm}; |
| 209 | enqueue(apu, &process, nullptr); | ||
| 210 | dequeue(apu, &r); | ||
| 211 | check(r.error == S_OK && r.frames == 880 && r.output_bytes == 880 * 8, "frames from first_frame to the packet's end"); | ||
| 212 | process.frame_count = 300; | ||
| 213 | enqueue(apu, &process, nullptr); | ||
| 214 | dequeue(apu, &r); | ||
| 215 | check(r.frames == 300, "no more than frame_count"); | ||
| 216 | process.frame_count = 4000; | ||
| 217 | process.output_bytes = 100 * 8 + 7; | ||
| 218 | enqueue(apu, &process, nullptr); | ||
| 219 | dequeue(apu, &r); | ||
| 220 | check(r.frames == 100 && r.output_bytes == 800, "and no more than the output holds"); | ||
| 221 | |||
| 222 | // Errors carried in the result: the command is accepted and its result says what went wrong. | ||
| 223 | packet[1] = 7; // seven 20 ms frames: 140 ms, longer than an Opus packet may be | ||
| 224 | enqueue(apu, &process, nullptr); | ||
| 225 | dequeue(apu, &r); | ||
| 226 | check(r.error == kBadPacket && r.frames == 0, "an impossible packet: 0x8AC81008 in the result"); | ||
| 227 | packet[0] = (31 << 3) | 3; | ||
| 228 | packet[1] = 0; | ||
| 229 | enqueue(apu, &process, nullptr); | ||
| 230 | dequeue(apu, &r); | ||
| 231 | check(r.error == kBadPacket, "a code 3 packet of zero frames: 0x8AC81008"); | ||
| 232 | ProcessCommand empty = process; | ||
| 233 | empty.input_bytes = 0; | ||
| 234 | check(enqueue(apu, &empty, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == E_INVALIDARG, | ||
| 235 | "an empty input: E_INVALIDARG in the result"); | ||
| 236 | empty = process; | ||
| 237 | empty.output = nullptr; | ||
| 238 | check(enqueue(apu, &empty, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == E_INVALIDARG, | ||
| 239 | "a null output: E_INVALIDARG in the result"); | ||
| 240 | ProcessCommand stray = process; | ||
| 241 | stray.id.stream = 4; | ||
| 242 | check(enqueue(apu, &stray, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == kInvalidStream, | ||
| 243 | "a process on a stream never activated: 0x8AC81003 in the result"); | ||
| 244 | check(enqueue(apu, &activate, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == kAlreadyActive, | ||
| 245 | "activating an active stream: 0x8AC81005 in the result"); | ||
| 246 | ActivateCommand surround = activate; | ||
| 247 | surround.id.stream = 5; | ||
| 248 | surround.channels = 6; | ||
| 249 | check(enqueue(apu, &surround, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == E_INVALIDARG, | ||
| 250 | "six channels: E_INVALIDARG in the result"); | ||
| 251 | |||
| 252 | // Errors returned at once, with no result. | ||
| 253 | stray.id.stream = 128; | ||
| 254 | check(enqueue(apu, &stray, nullptr) == kInvalidStream, "a stream past the connection's is 0x8AC81003"); | ||
| 255 | const CommandId unknown = id(9, 3); | ||
| 256 | check(enqueue(apu, &unknown, nullptr) == kInvalidCommand, "an unknown kind is 0x8AC81002"); | ||
| 257 | check(count(apu, nullptr) == 0, "neither left a result"); | ||
| 258 | |||
| 259 | // Notify and reset give a result; deactivate gives one and closes the stream. | ||
| 260 | for (uint32_t kind : {4u, 5u, 2u}) { | ||
| 261 | const CommandId command = id(kind, 3); | ||
| 262 | check(enqueue(apu, &command, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.id.kind == kind && | ||
| 263 | r.id.stream == 3 && r.error == S_OK, | ||
| 264 | "notify, reset and deactivate each give a result of their kind for their stream"); | ||
| 87 | } | 265 | } |
| 88 | check(count(apu, 0) == 0, "XApuGetResultCount is 0 again"); | 266 | process.id.stream = 3; |
| 89 | uint8_t result[0x50] = {}; | 267 | enqueue(apu, &process, nullptr); |
| 90 | check(FAILED(dequeue(apu, result)), "XApuDequeueResult on the empty queue fails"); | 268 | dequeue(apu, &r); |
| 91 | check(disconnect(apu) == S_OK, "XApuDisconnect succeeds"); | 269 | check(r.error == kInvalidStream, "after deactivate the stream takes no process command"); |
| 270 | check(enqueue(apu, &activate, &total) == S_OK && dequeue(apu, &r) == S_OK && r.error == S_OK, | ||
| 271 | "and it can be activated again"); | ||
| 272 | check(disconnect(apu, 0x20) == S_OK, "XApuDisconnect(handle, 0x20)"); | ||
| 92 | 273 | ||
| 93 | // XDspConnectWithMaximumStreamLimit(buffer, u32, u32, 0x80, 1, handle*), success read as a return of 0. | 274 | // XDspConnectWithMaximumStreamLimit(buffer, u32, u32, 0x80, 1, handle*), success read as a return of 0. |
| 94 | alignas(64) static uint8_t dsp_buffer[4096]; | 275 | alignas(64) static uint8_t dsp_buffer[4096]; |
| @@ -99,10 +280,10 @@ int main() { | |||
| 99 | void* stream = nullptr; | 280 | void* stream = nullptr; |
| 100 | check(dsp_activate(dsp, description, reinterpret_cast<void**>(&status), &stream) == 0, "XDspActivate returns 0"); | 281 | check(dsp_activate(dsp, description, reinterpret_cast<void**>(&status), &stream) == 0, "XDspActivate returns 0"); |
| 101 | check(status && stream && static_cast<void*>(status) != stream, "XDspActivate writes both outputs"); | 282 | check(status && stream && static_cast<void*>(status) != stream, "XDspActivate writes both outputs"); |
| 102 | uint32_t id = 0; | 283 | uint32_t dsp_id = 0; |
| 103 | check(dsp_submit(stream, dsp_buffer, &id) == 0, "XDspSubmitCommand returns 0"); | 284 | check(dsp_submit(stream, dsp_buffer, &dsp_id) == 0, "XDspSubmitCommand returns 0"); |
| 104 | // What the title's wait reads: no error at +0xc and the submitted id at +4. | 285 | // What the title's wait reads: no error at +0xc and the submitted id at +4. |
| 105 | check(status && status[3] == 0 && status[1] == id, "the status block reports the submitted command as done"); | 286 | check(status && status[3] == 0 && status[1] == dsp_id, "the status block reports the submitted command as done"); |
| 106 | check(dsp_deactivate(dsp, 0, 0, 0) == 0, "XDspDeactivate returns 0"); | 287 | check(dsp_deactivate(dsp, 0, 0, 0) == 0, "XDspDeactivate returns 0"); |
| 107 | check(dsp_disconnect(dsp) == 0, "XDspDisconnect returns 0"); | 288 | check(dsp_disconnect(dsp) == 0, "XDspDisconnect returns 0"); |
| 108 | 289 | ||
diff --git a/runtime/test/xapu_opus_test.cpp b/runtime/test/xapu_opus_test.cpp new file mode 100644 index 000000000..30eb33cfe --- /dev/null +++ b/runtime/test/xapu_opus_test.cpp | |||
| @@ -0,0 +1,193 @@ | |||
| 1 | // Checks the decoded path of the registered xapu.dll shim (runtime/shims/xapu_queue.cpp) with | ||
| 2 | // runtime/opus_decoder built: the title's ConnectInput, activate/process/deactivate, one result per | ||
| 3 | // command in order, the 0x50-byte result layout, and a generated 440 Hz stereo packet decoded to | ||
| 4 | // 960 frames of f32 PCM, then clipped by first_frame / frame_count / output_bytes. The packet is | ||
| 5 | // encoded here; no game data. | ||
| 6 | #include <windows.h> | ||
| 7 | |||
| 8 | #include <cmath> | ||
| 9 | #include <cstdint> | ||
| 10 | #include <cstdio> | ||
| 11 | #include <cstring> | ||
| 12 | #include <vector> | ||
| 13 | |||
| 14 | #include "leonida_opus_decoder.h" | ||
| 15 | #include "shims.h" | ||
| 16 | |||
| 17 | namespace { | ||
| 18 | |||
| 19 | using XApuConnectFn = HRESULT(__stdcall*)(const void*, void*, void**); | ||
| 20 | using XApuDisconnectFn = HRESULT(__stdcall*)(void*, uint32_t); | ||
| 21 | using XApuEnqueueCommandFn = HRESULT(__stdcall*)(void*, const void*, uint32_t*); | ||
| 22 | using XApuGetResultCountFn = uint32_t(__stdcall*)(void*, uint32_t*); | ||
| 23 | using XApuDequeueResultFn = HRESULT(__stdcall*)(void*, void*); | ||
| 24 | |||
| 25 | constexpr HRESULT kQueueFull = static_cast<HRESULT>(0x8AC81000u); | ||
| 26 | constexpr HRESULT kInvalidStream = static_cast<HRESULT>(0x8AC81003u); | ||
| 27 | |||
| 28 | #pragma pack(push, 1) | ||
| 29 | struct ConnectInput { | ||
| 30 | uint32_t processing, streams, commands_per_stream, memory_bytes, frames_per_output, options; | ||
| 31 | }; | ||
| 32 | struct ConnectOutput { | ||
| 33 | void* memory; | ||
| 34 | HANDLE result_event; | ||
| 35 | }; | ||
| 36 | struct CommandId { | ||
| 37 | uint32_t kind, stream, sequence, options; | ||
| 38 | uint64_t context; | ||
| 39 | }; | ||
| 40 | struct ActivateCommand { | ||
| 41 | CommandId id; | ||
| 42 | uint32_t channels, init_bytes; | ||
| 43 | const void* init; | ||
| 44 | float start_pitch; | ||
| 45 | uint32_t processing_bytes; | ||
| 46 | void* processing; | ||
| 47 | }; | ||
| 48 | struct ProcessCommand { | ||
| 49 | CommandId id; | ||
| 50 | float pitch_ramp, target_pitch; | ||
| 51 | uint32_t first_frame, frame_count, input_bytes; | ||
| 52 | const uint8_t* input; | ||
| 53 | uint32_t output_bytes; | ||
| 54 | uint8_t* output; | ||
| 55 | }; | ||
| 56 | struct Result { | ||
| 57 | CommandId id; | ||
| 58 | uint32_t state; | ||
| 59 | uint64_t state_data, usec; | ||
| 60 | HRESULT error; | ||
| 61 | uint32_t frames, output_bytes; | ||
| 62 | uint8_t* output; | ||
| 63 | float pitch; | ||
| 64 | uint32_t input_bytes; | ||
| 65 | const uint8_t* input; | ||
| 66 | }; | ||
| 67 | #pragma pack(pop) | ||
| 68 | static_assert(sizeof(ActivateCommand) == 56 && sizeof(ProcessCommand) == 64 && sizeof(Result) == 0x50, "layouts"); | ||
| 69 | |||
| 70 | int g_checks = 0; | ||
| 71 | int g_failures = 0; | ||
| 72 | |||
| 73 | void check(bool condition, const char* what) { | ||
| 74 | ++g_checks; | ||
| 75 | std::printf("%s %s\n", condition ? "PASS" : "FAIL", what); | ||
| 76 | if (!condition) ++g_failures; | ||
| 77 | } | ||
| 78 | |||
| 79 | template <typename T> | ||
| 80 | T get(const char* dll, const char* name) { | ||
| 81 | void* fn = rt::shims::find(dll, name); | ||
| 82 | check(fn != nullptr, name); | ||
| 83 | return reinterpret_cast<T>(fn); | ||
| 84 | } | ||
| 85 | |||
| 86 | CommandId id(uint32_t kind, uint32_t stream, uint32_t options = 0) { return {kind, stream, 7, options, 0x1234}; } | ||
| 87 | |||
| 88 | } // namespace | ||
| 89 | |||
| 90 | int main() { | ||
| 91 | std::printf("xapu_opus_test: decoded xapu.dll path\n"); | ||
| 92 | const auto connect = get<XApuConnectFn>("xapu.dll", "XApuConnect"); | ||
| 93 | const auto disconnect = get<XApuDisconnectFn>("xapu.dll", "XApuDisconnect"); | ||
| 94 | const auto enqueue = get<XApuEnqueueCommandFn>("xapu.dll", "XApuEnqueueCommand"); | ||
| 95 | const auto count = get<XApuGetResultCountFn>("xapu.dll", "XApuGetResultCount"); | ||
| 96 | const auto dequeue = get<XApuDequeueResultFn>("xapu.dll", "XApuDequeueResult"); | ||
| 97 | if (g_failures) return 1; | ||
| 98 | |||
| 99 | constexpr uint32_t kMemory = 0x14000 + 128 * 0x1E00; | ||
| 100 | const ConnectInput in{1, 128, 2, kMemory, 0, 0}; | ||
| 101 | const ConnectInput in_copy = in; | ||
| 102 | ConnectOutput out{}; | ||
| 103 | void* apu = nullptr; | ||
| 104 | check(SUCCEEDED(connect(&in, &out, &apu)) && apu, "XApuConnect for Opus decoding"); | ||
| 105 | check(std::memcmp(&in, &in_copy, sizeof in) == 0, "XApuConnect leaves its input alone"); | ||
| 106 | auto* base = static_cast<uint8_t*>(out.memory); | ||
| 107 | if (!apu || !base) return 1; | ||
| 108 | check(base[0] == 0 && base[kMemory - 1] == 0, "the shared memory is zeroed"); | ||
| 109 | |||
| 110 | const ActivateCommand activate{id(1, 3), 2, 0, nullptr, 1.0f, 0, nullptr}; | ||
| 111 | check(enqueue(apu, &activate, nullptr) == S_OK, "activate stream 3 (stereo)"); | ||
| 112 | |||
| 113 | std::vector<float> tone(960 * 2); | ||
| 114 | for (uint32_t i = 0; i < 960; ++i) { | ||
| 115 | const float sample = static_cast<float>(std::sin(double(i) * 440.0 * 6.283185307179586 / 48000.0)) * 0.5f; | ||
| 116 | tone[2 * i] = sample; | ||
| 117 | tone[2 * i + 1] = sample; | ||
| 118 | } | ||
| 119 | uint8_t encoded[1500]; | ||
| 120 | size_t encoded_len = 0; | ||
| 121 | check(leonida_opus_encode_test(tone.data(), 960, 2, encoded, sizeof encoded, &encoded_len) == LEONIDA_OPUS_OK && | ||
| 122 | encoded_len > 0, | ||
| 123 | "a synthetic 20 ms stereo Opus packet encodes"); | ||
| 124 | std::memcpy(base, encoded, encoded_len); | ||
| 125 | auto* const pcm = base + 0x14000 + 3 * 0x1E00; | ||
| 126 | std::memset(pcm, 0x55, 0x1E00 + 64); | ||
| 127 | ProcessCommand process{id(3, 3, 1), 0.0f, 1.0f, 0, 960, static_cast<uint32_t>(encoded_len), base, 0x1E00, pcm}; | ||
| 128 | uint32_t total = 0; | ||
| 129 | check(enqueue(apu, &process, &total) == S_OK && total == 2, "process on stream 3; two commands accepted"); | ||
| 130 | check(enqueue(apu, &process, &total) == kQueueFull && total == 2, | ||
| 131 | "a third command on a stream of two is 0x8AC81000"); | ||
| 132 | check(count(apu, nullptr) == 2, "two results ready"); | ||
| 133 | |||
| 134 | Result r{}; | ||
| 135 | check(dequeue(apu, &r) == S_OK && r.id.kind == 1 && r.id.stream == 3 && r.error == S_OK, | ||
| 136 | "results come in command order: the activate first"); | ||
| 137 | check(dequeue(apu, &r) == S_OK && r.id.kind == 3 && r.error == S_OK, "the process result follows"); | ||
| 138 | uint32_t dword34 = 0; | ||
| 139 | std::memcpy(&dword34, reinterpret_cast<const uint8_t*>(&r) + 0x34, 4); | ||
| 140 | check(r.frames == 960 && dword34 == 960 * 8 && r.output == pcm && r.input == base && | ||
| 141 | r.input_bytes == static_cast<uint32_t>(encoded_len), | ||
| 142 | "960 stereo float frames, the byte count at +0x34, the buffers echoed"); | ||
| 143 | float energy = 0.0f; | ||
| 144 | const auto* floats = reinterpret_cast<const float*>(pcm); | ||
| 145 | for (uint32_t i = 0; i < 960 * 2; ++i) energy += floats[i] * floats[i]; | ||
| 146 | energy /= 960 * 2; | ||
| 147 | check(energy > 0.01f, "the decoded tone has energy"); | ||
| 148 | check(pcm[960 * 8] == 0x55, "nothing past the decoded range is written"); | ||
| 149 | check(count(apu, nullptr) == 0, "the queue is empty after both results"); | ||
| 150 | |||
| 151 | // first_frame, frame_count and what output_bytes holds each clip the decoded frames. | ||
| 152 | process.first_frame = 500; | ||
| 153 | process.frame_count = 4000; | ||
| 154 | enqueue(apu, &process, nullptr); | ||
| 155 | dequeue(apu, &r); | ||
| 156 | check(r.error == S_OK && r.frames == 460 && r.output_bytes == 460 * 8, "frames from first_frame to the packet's end"); | ||
| 157 | process.frame_count = 300; | ||
| 158 | enqueue(apu, &process, nullptr); | ||
| 159 | dequeue(apu, &r); | ||
| 160 | check(r.frames == 300 && r.output_bytes == 300 * 8, "no more than frame_count"); | ||
| 161 | process.frame_count = 4000; | ||
| 162 | process.output_bytes = 100 * 8 + 7; | ||
| 163 | enqueue(apu, &process, nullptr); | ||
| 164 | dequeue(apu, &r); | ||
| 165 | check(r.frames == 100 && r.output_bytes == 800, "and no more than the output holds"); | ||
| 166 | |||
| 167 | // Errors carried in the result. | ||
| 168 | ProcessCommand empty = process; | ||
| 169 | empty.input_bytes = 0; | ||
| 170 | check(enqueue(apu, &empty, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == E_INVALIDARG, | ||
| 171 | "an empty input: E_INVALIDARG in the result"); | ||
| 172 | empty = process; | ||
| 173 | empty.output = nullptr; | ||
| 174 | check(enqueue(apu, &empty, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == E_INVALIDARG, | ||
| 175 | "a null output: E_INVALIDARG in the result"); | ||
| 176 | ProcessCommand stray = process; | ||
| 177 | stray.id.stream = 4; | ||
| 178 | check(enqueue(apu, &stray, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == kInvalidStream, | ||
| 179 | "a process on a stream never activated: 0x8AC81003 in the result"); | ||
| 180 | |||
| 181 | // Deactivate closes the stream; activating again creates a fresh decoder. | ||
| 182 | const CommandId deactivate = id(2, 3); | ||
| 183 | check(enqueue(apu, &deactivate, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == S_OK, | ||
| 184 | "deactivate gives a result and closes the stream"); | ||
| 185 | check(enqueue(apu, &process, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == kInvalidStream, | ||
| 186 | "after deactivate the stream takes no process command"); | ||
| 187 | check(enqueue(apu, &activate, nullptr) == S_OK && dequeue(apu, &r) == S_OK && r.error == S_OK, | ||
| 188 | "the stream can be activated again"); | ||
| 189 | check(disconnect(apu, 0x20) == S_OK, "XApuDisconnect(handle, 0x20)"); | ||
| 190 | |||
| 191 | std::printf("%d checks, %d failures\n", g_checks, g_failures); | ||
| 192 | return g_failures ? 1 : 0; | ||
| 193 | } | ||
diff --git a/runtime/test/xgameruntime_gamesave_test.cpp b/runtime/test/xgameruntime_gamesave_test.cpp index b53461944..2e5944ad8 100644 --- a/runtime/test/xgameruntime_gamesave_test.cpp +++ b/runtime/test/xgameruntime_gamesave_test.cpp | |||
| @@ -228,6 +228,20 @@ int main() { | |||
| 228 | std::strcmp(out[1].info.name, "profile/main") == 0 && | 228 | std::strcmp(out[1].info.name, "profile/main") == 0 && |
| 229 | std::memcmp(out[1].data, profile.data(), profile.size()) == 0, | 229 | std::memcmp(out[1].data, profile.data(), profile.size()) == 0, |
| 230 | "ReadBlobData returns both blobs, byte for byte, pointing into the buffer"); | 230 | "ReadBlobData returns both blobs, byte for byte, pointing into the buffer"); |
| 231 | // A title sizes the buffer as sizeof(XGameSaveBlob) + data + name and its NUL per blob, with no padding: such a | ||
| 232 | // buffer is enough, the blobs packed back to back. | ||
| 233 | const char* one[] = {"story"}; | ||
| 234 | count = 1; | ||
| 235 | std::vector<uint8_t> exact(sizeof(Blob) + story.size() + std::strlen("story") + 1); | ||
| 236 | auto* tight = reinterpret_cast<Blob*>(exact.data()); | ||
| 237 | check(at<Read>(save, 20)(save, container, one, &count, exact.size(), tight) == S_OK && count == 1 && | ||
| 238 | std::strcmp(tight[0].info.name, "story") == 0 && tight[0].info.size == story.size() && | ||
| 239 | std::memcmp(tight[0].data, story.data(), story.size()) == 0 && | ||
| 240 | tight[0].info.name + std::strlen("story") + 1 <= reinterpret_cast<const char*>(exact.data() + exact.size()), | ||
| 241 | "ReadBlobData into a buffer of the unpadded size returns the blob"); | ||
| 242 | count = 1; | ||
| 243 | check(at<Read>(save, 20)(save, container, one, &count, exact.size() - 1, tight) == E_GS_PROVIDED_BUFFER_TOO_SMALL, | ||
| 244 | "one byte less than the unpadded size is too small"); | ||
| 231 | const char* absent[] = {"nope"}; | 245 | const char* absent[] = {"nope"}; |
| 232 | count = 1; | 246 | count = 1; |
| 233 | check(at<Read>(save, 20)(save, container, absent, &count, buffer.size() * 8, out) == E_GS_BLOB_NOT_FOUND, | 247 | check(at<Read>(save, 20)(save, container, absent, &count, buffer.size() * 8, out) == E_GS_BLOB_NOT_FOUND, |
diff --git a/runtime/test/xmem_test.cpp b/runtime/test/xmem_test.cpp index 991388c7f..79f655412 100644 --- a/runtime/test/xmem_test.cpp +++ b/runtime/test/xmem_test.cpp | |||
| @@ -741,7 +741,19 @@ void test_copy_page_mappings_cpu_view(const PhysicalApi& api) { | |||
| 741 | check(readable(other) && page_holds(other, 0x7300u), | 741 | check(readable(other) && page_holds(other, 0x7300u), |
| 742 | "a GPU-only source page unmapped there is looked up at its CPU range"); | 742 | "a GPU-only source page unmapped there is looked up at its CPU range"); |
| 743 | 743 | ||
| 744 | // A null source unmaps both ranges. | 744 | // A CPU page the title mapped itself is the title's: a copy onto its GPU-only page, or an unmap of it, changes the |
| 745 | // GPU-only page alone (the console's CopyPageMappingsBatchX edits only that range's page table). | ||
| 746 | check(copy(gpu + 2 * kPage64k, pool + kPage64k, 1, false), "a copy onto a GPU-only page whose CPU page is the title's"); | ||
| 747 | check(readable(gpu + 2 * kPage64k) && page_holds(gpu + 2 * kPage64k, 0x7301u), | ||
| 748 | "the GPU-only page shows the copied pool page"); | ||
| 749 | check(readable(cpu + 2 * kPage64k) && page_holds(cpu + 2 * kPage64k, 0x7300u), | ||
| 750 | "the title's own mapping at the paired CPU page is kept, not replaced by the copy"); | ||
| 751 | check(copy(gpu + 2 * kPage64k, nullptr, 1, false), "a null source unmaps a GPU-only page whose CPU page is the title's"); | ||
| 752 | check(!readable(gpu + 2 * kPage64k), "the GPU-only page is unmapped"); | ||
| 753 | check(readable(cpu + 2 * kPage64k) && page_holds(cpu + 2 * kPage64k, 0x7300u), | ||
| 754 | "the title's own mapping at the paired CPU page survives the unmap"); | ||
| 755 | |||
| 756 | // A null source unmaps both ranges where the CPU pages are the copy's own. | ||
| 745 | check(copy(gpu, nullptr, kPool, false), "a null source unmaps the GPU-only range"); | 757 | check(copy(gpu, nullptr, kPool, false), "a null source unmaps the GPU-only range"); |
| 746 | check(!readable(gpu) && !readable(cpu) && !readable(cpu + kPage64k), "the paired CPU range is unmapped with it"); | 758 | check(!readable(gpu) && !readable(cpu) && !readable(cpu + kPage64k), "the paired CPU range is unmapped with it"); |
| 747 | 759 | ||
| @@ -1544,6 +1556,38 @@ void test_physical_pages_commit_on_touch(const PhysicalApi& api) { | |||
| 1544 | check(read_ok, "ReadFile fills a page that commit_physical_range committed"); | 1556 | check(read_ok, "ReadFile fills a page that commit_physical_range committed"); |
| 1545 | 1557 | ||
| 1546 | check(api.map(second, 2, nullptr) == second && api.map(window, kMapped, nullptr) == window, "they unmap"); | 1558 | check(api.map(second, 2, nullptr) == second && api.map(window, kMapped, nullptr) == window, "they unmap"); |
| 1559 | { | ||
| 1560 | // A host guarded read (outside the title image at 0x140000000) of an unmapped window page exits as | ||
| 1561 | // passed_guarded without counting as left_to_title; a title read still counts as left_to_title. | ||
| 1562 | void* const stub_page = VirtualAlloc(nullptr, 4096, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); | ||
| 1563 | const uint8_t mov_eax_rcx_ret[] = {0x8b, 0x01, 0xc3}; | ||
| 1564 | DWORD stub_old = 0; | ||
| 1565 | bool stub_ready = false; | ||
| 1566 | if (stub_page) { | ||
| 1567 | std::memcpy(stub_page, mov_eax_rcx_ret, sizeof(mov_eax_rcx_ret)); | ||
| 1568 | stub_ready = VirtualProtect(stub_page, 4096, PAGE_EXECUTE_READ, &stub_old) != FALSE; | ||
| 1569 | FlushInstructionCache(GetCurrentProcess(), stub_page, sizeof(mov_eax_rcx_ret)); | ||
| 1570 | } | ||
| 1571 | const auto host_read_faults = [&](const void* p) { | ||
| 1572 | __try { | ||
| 1573 | reinterpret_cast<uint32_t (*)(const void*)>(stub_page)(p); | ||
| 1574 | return false; | ||
| 1575 | } __except (GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION ? EXCEPTION_EXECUTE_HANDLER | ||
| 1576 | : EXCEPTION_CONTINUE_SEARCH) { | ||
| 1577 | return true; | ||
| 1578 | } | ||
| 1579 | }; | ||
| 1580 | const uint64_t guarded_before = rt::xmem::fault_exits(rt::xmem::FaultExit::passed_guarded); | ||
| 1581 | const uint64_t left_before = rt::xmem::fault_exits(rt::xmem::FaultExit::left_to_title); | ||
| 1582 | check(stub_ready && host_read_faults(second) && | ||
| 1583 | rt::xmem::fault_exits(rt::xmem::FaultExit::passed_guarded) == guarded_before + 1 && | ||
| 1584 | rt::xmem::fault_exits(rt::xmem::FaultExit::left_to_title) == left_before, | ||
| 1585 | "a host guarded read of an unmapped window page exits as passed_guarded"); | ||
| 1586 | check(access_faults(reinterpret_cast<volatile uint32_t*>(second), false) && | ||
| 1587 | rt::xmem::fault_exits(rt::xmem::FaultExit::left_to_title) == left_before + 1, | ||
| 1588 | "a title read of an unmapped window page still exits as left_to_title"); | ||
| 1589 | if (stub_page) VirtualFree(stub_page, 0, MEM_RELEASE); | ||
| 1590 | } | ||
| 1547 | check(api.free_pages(count, pages.data()) == TRUE, "XMemFreePhysicalPages frees them"); | 1591 | check(api.free_pages(count, pages.data()) == TRUE, "XMemFreePhysicalPages frees them"); |
| 1548 | } | 1592 | } |
| 1549 | 1593 | ||
diff --git a/runtime/test/xs_proxy_mock_test.cpp b/runtime/test/xs_proxy_mock_test.cpp index cb350820e..e80825623 100644 --- a/runtime/test/xs_proxy_mock_test.cpp +++ b/runtime/test/xs_proxy_mock_test.cpp | |||
| @@ -4644,6 +4644,85 @@ int check_list_values_more() { | |||
| 4644 | WaitForSingleObject(job, INFINITE); | 4644 | WaitForSingleObject(job, INFINITE); |
| 4645 | CloseHandle(job); | 4645 | CloseHandle(job); |
| 4646 | 4646 | ||
| 4647 | // 11. Work-aware timeout in Pump (src/list_value_wait_budget.h): | ||
| 4648 | // a) a matching in-flight producer pauses a held memory gate past the idle timeout until the producer lands; | ||
| 4649 | // b) a busy releaser executing an action gate pauses a concurrent memory gate past the idle timeout; | ||
| 4650 | // c) a demoted gate (4 ms budget) scales its pause caps with its short budget so unrelated active work does not | ||
| 4651 | // hold it for the full timeout's cap; | ||
| 4652 | // d) a matching producer stuck behind an unsignalled fence still hits a finite pause cap instead of hanging. | ||
| 4653 | const auto write_on_a = [&](int index, std::uint64_t value, std::uint64_t& signal_value) -> bool { | ||
| 4654 | if (FAILED(hr_of(raw(direct, 139, word(allocator), 0)))) return false; | ||
| 4655 | raw(direct, 14, 1, 1, 1); // Dispatch | ||
| 4656 | raw(direct, 72, word(&g_cells2[index]), value, 0, 0); // write64 | ||
| 4657 | if (FAILED(hr_of(raw(direct, 9)))) return false; | ||
| 4658 | g_queue_call_count = 0; | ||
| 4659 | if (submit(qa, direct) != 0) return false; | ||
| 4660 | signal_value = logged_signal(qa_mock, a_written); | ||
| 4661 | return signal_value != 0; | ||
| 4662 | }; | ||
| 4663 | xs::set_list_value_wait_timeout_ms(40); | ||
| 4664 | xs::reset_list_value_stats(); | ||
| 4665 | // 11a. Wait on qb before qa submits its matching write (so relay() misses it and Pump holds a gate). | ||
| 4666 | EXPECT(hold_on(qb, 27, 1)); | ||
| 4667 | std::uint64_t producer_sig = 0; | ||
| 4668 | EXPECT(write_on_a(27, 1, producer_sig)); | ||
| 4669 | EXPECT(!xs::list_values_idle(150)); // >3x the 40 ms idle timeout: pauses while producer is in flight | ||
| 4670 | stats = xs::list_value_stats(); | ||
| 4671 | EXPECT(stats.gates_timed_out == 0 && stats.gates_met == 0 && cell2(27) == 0); | ||
| 4672 | fence_signal(a_written, producer_sig); | ||
| 4673 | EXPECT(xs::list_values_idle(3000) && cell2(27) == 1); | ||
| 4674 | stats = xs::list_value_stats(); | ||
| 4675 | EXPECT(stats.gates_met == 1 && stats.gates_timed_out == 0); | ||
| 4676 | |||
| 4677 | // 11b. Releaser inside a 150 ms action gate pauses a concurrent memory gate past the 40 ms idle timeout. | ||
| 4678 | xs::set_copy_page_mappings_hook([](std::uint32_t, const rt::xmem::PageBatch*, std::uintptr_t, std::uint32_t, | ||
| 4679 | std::uint32_t) -> bool { | ||
| 4680 | Sleep(150); | ||
| 4681 | InterlockedExchange64(reinterpret_cast<volatile LONG64*>(&g_cells2[28]), 1); | ||
| 4682 | return true; | ||
| 4683 | }); | ||
| 4684 | g_queue_call_count = 0; | ||
| 4685 | EXPECT(hr_of(raw(qc, 31, 1, word(remap), 0x7000000000, 16, 0)) == S_OK); | ||
| 4686 | const std::uint64_t action_sig = logged_signal(qc_mock, c_written); | ||
| 4687 | EXPECT(action_sig != 0); | ||
| 4688 | const std::uint64_t met_before_rel = xs::list_value_stats().gates_met; | ||
| 4689 | const std::uint64_t to_before_rel = xs::list_value_stats().gates_timed_out; | ||
| 4690 | EXPECT(hold_on(qb, 28, 1)); | ||
| 4691 | fence_signal(c_written, action_sig); | ||
| 4692 | EXPECT(xs::list_values_idle(3000) && cell2(28) == 1); | ||
| 4693 | xs::set_copy_page_mappings_hook(nullptr); | ||
| 4694 | stats = xs::list_value_stats(); | ||
| 4695 | EXPECT(stats.gates_met == met_before_rel + 1 && stats.gates_timed_out == to_before_rel); | ||
| 4696 | |||
| 4697 | // 11c. Demoted gate (3 timeouts -> 4 ms budget) with unrelated in-flight work on qa times out in a few ms, not | ||
| 4698 | // the 12 s active-work cap of the 40 ms full timeout. | ||
| 4699 | for (int i = 0; i < 3; ++i) EXPECT(hold_on(qb, 29, 1) && xs::list_values_idle(3000)); | ||
| 4700 | std::uint64_t unrelated_sig = 0; | ||
| 4701 | EXPECT(write_on_a(30, 1, unrelated_sig)); | ||
| 4702 | const std::uint64_t short_before_dem = xs::list_value_stats().gates_short; | ||
| 4703 | const std::uint64_t to_before_dem = xs::list_value_stats().gates_timed_out; | ||
| 4704 | started = Clock::now(); | ||
| 4705 | EXPECT(hold_on(qb, 29, 1)); | ||
| 4706 | for (int i = 0; i < 1000 && xs::list_value_stats().gates_timed_out == to_before_dem; ++i) Sleep(1); | ||
| 4707 | const auto demoted_active_ms = ms_since(started); | ||
| 4708 | EXPECT(xs::list_value_stats().gates_timed_out == to_before_dem + 1 && | ||
| 4709 | xs::list_value_stats().gates_short == short_before_dem + 1 && demoted_active_ms < 500); | ||
| 4710 | fence_signal(a_written, unrelated_sig); | ||
| 4711 | EXPECT(xs::list_values_idle(3000)); | ||
| 4712 | |||
| 4713 | // 11d. Stuck matching producer (fence never signals) still hits the finite max pause cap instead of hanging. | ||
| 4714 | const std::uint64_t to_before_stuck = xs::list_value_stats().gates_timed_out; | ||
| 4715 | started = Clock::now(); | ||
| 4716 | EXPECT(hold_on(qb, 29, 1)); | ||
| 4717 | std::uint64_t stuck_sig = 0; | ||
| 4718 | EXPECT(write_on_a(29, 1, stuck_sig)); | ||
| 4719 | for (int i = 0; i < 1000 && xs::list_value_stats().gates_timed_out == to_before_stuck; ++i) Sleep(1); | ||
| 4720 | const auto stuck_producer_ms = ms_since(started); | ||
| 4721 | EXPECT(xs::list_value_stats().gates_timed_out == to_before_stuck + 1 && stuck_producer_ms < 500); | ||
| 4722 | fence_signal(a_written, stuck_sig); | ||
| 4723 | EXPECT(xs::list_values_idle(3000)); | ||
| 4724 | xs::set_list_value_wait_timeout_ms(5000); | ||
| 4725 | |||
| 4647 | // 8. stop() ends both threads. Afterwards nothing new is landed or opened (the process is ending: a gate | 4726 | // 8. stop() ends both threads. Afterwards nothing new is landed or opened (the process is ending: a gate |
| 4648 | // signalled from another thread could open one whose remap was skipped, or go below one still to come), and | 4727 | // signalled from another thread could open one whose remap was skipped, or go below one still to come), and |
| 4649 | // CopyPageMappingsBatchX remaps at the call rather than wait for a queue whose gates stay shut. | 4728 | // CopyPageMappingsBatchX remaps at the call rather than wait for a queue whose gates stay shut. |
diff --git a/scripts/build_runtime.ps1 b/scripts/build_runtime.ps1 index 5dd8bd389..bb25cccd7 100644 --- a/scripts/build_runtime.ps1 +++ b/scripts/build_runtime.ps1 | |||
| @@ -86,7 +86,7 @@ $build || exit /b 1 | |||
| 86 | Write-Warning "CMake and Ninja weren't found (neither VS C++ CMake tools nor native PATH tools): building with cl.exe directly, without the GameInput shim (SDL3) and without the Rust XMA2 decoder (XMA voices are silent). Install CMake + Ninja or VS's CMake tools component to get it." | 86 | Write-Warning "CMake and Ninja weren't found (neither VS C++ CMake tools nor native PATH tools): building with cl.exe directly, without the GameInput shim (SDL3) and without the Rust XMA2 decoder (XMA voices are silent). Install CMake + Ninja or VS's CMake tools component to get it." |
| 87 | $xtaskqueueDir = Join-Path $root "third_party\xtaskqueue" | 87 | $xtaskqueueDir = Join-Path $root "third_party\xtaskqueue" |
| 88 | $xtaskqueueFiles = "Source\Task\TaskQueue.cpp", "Source\Task\AsyncLib.cpp", "Source\Task\ThreadPool_win32.cpp", "Source\Task\WaitTimer_win32.cpp" | ForEach-Object { "`"$xtaskqueueDir\$_`"" } | 88 | $xtaskqueueFiles = "Source\Task\TaskQueue.cpp", "Source\Task\AsyncLib.cpp", "Source\Task\ThreadPool_win32.cpp", "Source\Task\WaitTimer_win32.cpp" | ForEach-Object { "`"$xtaskqueueDir\$_`"" } |
| 89 | $files = "src\main.cpp", "src\thread_stacks.cpp", "src\bcpack.cpp", "src\host_cpu.cpp", "src\pe_loader.cpp", "shims\registry.cpp", "shims\console_registry.cpp", "shims\file_system.cpp", "shims\xmem.cpp", "shims\xg_xs.cpp", "shims\acphal.cpp", "shims\d3d12_xs.cpp", "shims\d3d12_xs_device.cpp", "shims\d3d12_xs_pso_stream.cpp", "shims\d3d12_xs_rootsig.cpp", "shims\xgameruntime.cpp", "shims\xgameruntime_user.cpp", "shims\xgameruntime_gamesave.cpp", "shims\xgameruntime_store.cpp", "shims\xgameruntime_offline.cpp", "shims\winhttp_offline.cpp", "shims\ws2_offline.cpp", "shims\library_loader.cpp", "shims\process.cpp", "shims\lifecycle.cpp", "shims\xbox_bvh_builder.cpp", "shims\com_shim.cpp", "shims\silent_audio.cpp", "shims\bcrypt_rng.cpp", "shims\xapu_chad.cpp", "shims\dstorage.cpp" | ForEach-Object { "`"$src\$_`"" } | 89 | $files = "src\main.cpp", "src\thread_stacks.cpp", "src\bcpack.cpp", "src\host_cpu.cpp", "src\pe_loader.cpp", "shims\registry.cpp", "shims\console_registry.cpp", "shims\file_system.cpp", "shims\xmem.cpp", "shims\xg_xs.cpp", "shims\acphal.cpp", "shims\d3d12_xs.cpp", "shims\d3d12_xs_device.cpp", "shims\d3d12_xs_pso_stream.cpp", "shims\d3d12_xs_rootsig.cpp", "shims\xgameruntime.cpp", "shims\xgameruntime_user.cpp", "shims\xgameruntime_gamesave.cpp", "shims\xgameruntime_store.cpp", "shims\xgameruntime_offline.cpp", "shims\winhttp_offline.cpp", "shims\ws2_offline.cpp", "shims\library_loader.cpp", "shims\process.cpp", "shims\lifecycle.cpp", "shims\xbox_bvh_builder.cpp", "shims\com_shim.cpp", "shims\silent_audio.cpp", "shims\bcrypt_rng.cpp", "shims\xapu_queue.cpp", "shims\xapu_chad.cpp", "shims\dstorage.cpp" | ForEach-Object { "`"$src\$_`"" } |
| 90 | $includes = "/I `"$src\src`" /I `"$src\shims`" /I `"$src\shims\xtaskqueue`" /I `"$xtaskqueueDir\Include`" /I `"$xtaskqueueDir\Source\Task`" /I `"$xtaskqueueDir\Source\Common`"" | 90 | $includes = "/I `"$src\src`" /I `"$src\shims`" /I `"$src\shims\xtaskqueue`" /I `"$xtaskqueueDir\Include`" /I `"$xtaskqueueDir\Source\Task`" /I `"$xtaskqueueDir\Source\Common`"" |
| 91 | $opt = if ($Debug) { "/Od /MDd" } else { "/O2 /MD" } | 91 | $opt = if ($Debug) { "/Od /MDd" } else { "/O2 /MD" } |
| 92 | $body = @" | 92 | $body = @" |
diff --git a/scripts/run_address_guard_gpu_test.py b/scripts/run_address_guard_gpu_test.py new file mode 100644 index 000000000..f7aa53366 --- /dev/null +++ b/scripts/run_address_guard_gpu_test.py | |||
| @@ -0,0 +1,133 @@ | |||
| 1 | """GPU test of the address guard (rdna2spirv.py --address-guard; docs/d3d12_vulkan.md, "Address guard"). | ||
| 2 | |||
| 3 | Assembles runtime/test/shaders/cs_address_guard.asm, translates it with --address-guard and runs it with | ||
| 4 | vk_compute_test twice on a 2 MiB heap: once with the guard's header (the page table backs the arena and the page at | ||
| 5 | 0x90000), once without its magic (the guard off). Every address the program uses is inside the heap's buffer, so | ||
| 6 | neither run can fault, whatever the guard does: the guard-on run shows that the refused accesses read 0 and left | ||
| 7 | memory alone although memory was there, and the guard-off run that the same module then reads it. | ||
| 8 | |||
| 9 | python -I scripts/run_address_guard_gpu_test.py --build runtime/build [--llvm-mc CMD] [--work DIR] | ||
| 10 | |||
| 11 | Pin the GPU (MESA_VK_DEVICE_SELECT, VK_DRIVER_FILES) as for scripts/run_gpu_tests.py. Exit 0 when both runs give | ||
| 12 | the expected words, 1 otherwise, 77 when vk_compute_test or llvm-mc is missing. | ||
| 13 | """ | ||
| 14 | import argparse | ||
| 15 | import os | ||
| 16 | import shutil | ||
| 17 | import struct | ||
| 18 | import subprocess | ||
| 19 | import sys | ||
| 20 | import tempfile | ||
| 21 | |||
| 22 | ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | ||
| 23 | sys.path.insert(0, os.path.join(ROOT, "tools")) | ||
| 24 | import address_guard as ag # noqa: E402 | ||
| 25 | |||
| 26 | NAME = "cs_address_guard" | ||
| 27 | HEAP_BYTES = 2 << 20 | ||
| 28 | LIMIT = ag.RESERVED_END # the "arena": offsets below it pass without a lookup | ||
| 29 | TABLE = 0x100000 # the page table, inside the buffer but past the arena | ||
| 30 | BACKED = [(0x90000, 0x91000)] # the one page outside the arena the table backs | ||
| 31 | SEEDS = {0x90000: 0xA11CE000, 0x90004: 0xA11CE004, 0x90FFC: 0xF00DF00D, 0x91000: 0xF00DF00E, | ||
| 32 | 0xA0000: 0xBADBAD00, 0xA0004: 0xBADBAD04, 0xA0008: 0xBADBAD08} | ||
| 33 | # out[0..7] (cs_address_guard.asm's header) and other words after the run. | ||
| 34 | EXPECTED_ON = [0xA11CE000, 0, 0, 0, 0, 0, 0xA11CE004, 0] | ||
| 35 | EXPECTED_OFF = [0xA11CE000, 0xBADBAD00, 0xBADBAD08, 0xF00DF00D, 0xF00DF00E, 0xBADBAD00, 0xA11CE004, 0xBADBAD00] | ||
| 36 | MEMORY_ON = {0xA0004: 0xBADBAD04, 0xA0008: 0xBADBAD08, # untouched | ||
| 37 | ag.DUMP + 4: 0x5707, ag.DUMP + 8: 1, # where the refused store and atomic went | ||
| 38 | ag.HEADER + 24: 6, # six refused accesses | ||
| 39 | ag.HEADER + 32: 0xA0000, ag.HEADER + 36: 0} # the last one, the s_load at 0xa0000 | ||
| 40 | MEMORY_OFF = {0xA0004: 0x5707, 0xA0008: 0xBADBAD09, ag.DUMP + 4: 0, ag.HEADER + 24: 0} | ||
| 41 | |||
| 42 | |||
| 43 | def heap(guard_on): | ||
| 44 | """The heap's bytes: header (without the magic when not `guard_on`), seeds and page table; zero elsewhere.""" | ||
| 45 | words = ag.table_words(BACKED) | ||
| 46 | end = TABLE + 4 * len(words) | ||
| 47 | assert end <= HEAP_BYTES | ||
| 48 | buf = bytearray(end) | ||
| 49 | hdr = bytearray(ag.header(LIMIT, TABLE)) | ||
| 50 | if not guard_on: | ||
| 51 | hdr[0:8] = bytes(8) | ||
| 52 | buf[ag.HEADER:ag.HEADER + len(hdr)] = hdr | ||
| 53 | for at, value in SEEDS.items(): | ||
| 54 | struct.pack_into("<I", buf, at, value) | ||
| 55 | struct.pack_into(f"<{len(words)}I", buf, TABLE, *words) | ||
| 56 | return bytes(buf) | ||
| 57 | |||
| 58 | |||
| 59 | def find_tool(build, name): | ||
| 60 | for sub in ("", "RelWithDebInfo", "Release", "Debug"): | ||
| 61 | for ext in ("", ".exe"): | ||
| 62 | path = os.path.join(build, sub, name + ext) | ||
| 63 | if os.path.isfile(path): | ||
| 64 | return path | ||
| 65 | return None | ||
| 66 | |||
| 67 | |||
| 68 | def main(argv=None): | ||
| 69 | ap = argparse.ArgumentParser(description=__doc__.split("\n\n")[0]) | ||
| 70 | ap.add_argument("--build", default=os.path.join(ROOT, "runtime", "build"), help="folder with vk_compute_test") | ||
| 71 | ap.add_argument("--llvm-mc", default=os.environ.get("LLVM_MC", "llvm-mc")) | ||
| 72 | ap.add_argument("--work", default=None, help="keep the intermediate files here") | ||
| 73 | a = ap.parse_args(argv) | ||
| 74 | vk_compute = find_tool(a.build, "vk_compute_test") | ||
| 75 | if not vk_compute: | ||
| 76 | print(f"SKIP: no vk_compute_test under {a.build}") | ||
| 77 | return 77 | ||
| 78 | if not shutil.which(a.llvm_mc.split()[0]): | ||
| 79 | print(f"SKIP: {a.llvm_mc} not found") | ||
| 80 | return 77 | ||
| 81 | sys.path.insert(0, os.path.join(ROOT, "runtime", "test", "shaders")) | ||
| 82 | sys.path.insert(0, os.path.join(ROOT, "scripts")) | ||
| 83 | from compute_fixture import compute_header | ||
| 84 | import run_gpu_tests | ||
| 85 | work = a.work or tempfile.mkdtemp(prefix="leonida-guard-") | ||
| 86 | asm = os.path.join(ROOT, "runtime", "test", "shaders", NAME + ".asm") | ||
| 87 | for sub in ("disasm", "fssm", "spirv"): | ||
| 88 | os.makedirs(os.path.join(work, sub), exist_ok=True) | ||
| 89 | run_gpu_tests.assemble_to_s(a.llvm_mc, asm, os.path.join(work, "disasm", NAME + ".s"), NAME) | ||
| 90 | with open(os.path.join(work, NAME + ".dxbc"), "wb") as f: | ||
| 91 | f.write(run_gpu_tests.make_dxbc([])) | ||
| 92 | with open(os.path.join(work, "fssm", NAME + ".fssm"), "wb") as f: | ||
| 93 | f.write(compute_header(asm)) | ||
| 94 | spirv = os.path.join(work, "spirv") | ||
| 95 | p = subprocess.run([sys.executable, "-I", os.path.join(ROOT, "tools", "rdna2spirv.py"), | ||
| 96 | os.path.join(work, "disasm"), "--out", spirv, "--address-guard"], | ||
| 97 | capture_output=True, text=True) | ||
| 98 | spv = os.path.join(spirv, NAME + ".spv") | ||
| 99 | if p.returncode != 0 or not os.path.isfile(spv): | ||
| 100 | print(p.stdout + p.stderr) | ||
| 101 | print("FAIL: translation") | ||
| 102 | return 1 | ||
| 103 | failures = 0 | ||
| 104 | for guard_on, expected, memory in ((True, EXPECTED_ON, MEMORY_ON), (False, EXPECTED_OFF, MEMORY_OFF)): | ||
| 105 | label = "guard on" if guard_on else "guard off" | ||
| 106 | init, dump = os.path.join(work, f"heap_{label[6:]}.bin"), os.path.join(work, f"dump_{label[6:]}.bin") | ||
| 107 | with open(init, "wb") as f: | ||
| 108 | f.write(heap(guard_on)) | ||
| 109 | env = dict(os.environ, VKC_HEAP_INIT=init, VKC_OUT_WORDS=str(HEAP_BYTES // 4), VKC_DUMP=dump) | ||
| 110 | r = subprocess.run([vk_compute, spv, "1", "dump"], capture_output=True, text=True, env=env, timeout=120) | ||
| 111 | if r.returncode != 0 or not os.path.isfile(dump): | ||
| 112 | print(f"FAIL ({label}): vk_compute_test exit {r.returncode}\n{r.stdout}{r.stderr}") | ||
| 113 | failures += 1 | ||
| 114 | continue | ||
| 115 | with open(dump, "rb") as f: | ||
| 116 | data = f.read() | ||
| 117 | word = lambda at: struct.unpack_from("<I", data, at)[0] # noqa: E731 | ||
| 118 | got = [word(4 * k) for k in range(8)] | ||
| 119 | bad = [f"out[{k}] = {g:#x}, want {w:#x}" for k, (g, w) in enumerate(zip(got, expected)) if g != w] | ||
| 120 | bad += [f"[{at:#x}] = {word(at):#x}, want {w:#x}" for at, w in memory.items() if word(at) != w] | ||
| 121 | print(f"{'PASS' if not bad else 'FAIL'} ({label}): out = {' '.join(f'{g:#x}' for g in got)}") | ||
| 122 | for line in bad: | ||
| 123 | print(" " + line) | ||
| 124 | failures += bool(bad) | ||
| 125 | return 1 if failures else 0 | ||
| 126 | |||
| 127 | |||
| 128 | if __name__ == "__main__": | ||
| 129 | try: # a redirected stdout is strict ANSI code page under -I; write '?' for what it cannot encode | ||
| 130 | sys.stdout.reconfigure(errors="replace") | ||
| 131 | except (AttributeError, ValueError, OSError): | ||
| 132 | pass | ||
| 133 | sys.exit(main()) | ||
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index f87290ec6..60e968783 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -1205,7 +1205,7 @@ def run_suite(a, work: str) -> int: | |||
| 1205 | results.append((name,) + wavemask_check(vk_compute, spv, cs_env, w64_emulated())) | 1205 | results.append((name,) + wavemask_check(vk_compute, spv, cs_env, w64_emulated())) |
| 1206 | elif name in ("cs_smem_vcc_base", "cs_store", "cs_signed_zero_nan", "cs_smem_soffset_imm", "cs_w32_lane_wrap", "cs_movrelsd_2", "cs_w32_permute", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap", "cs_w32_permlane_fi", "cs_exec_const", "cs_w32_mask_imm", "cs_w64_mask_imm", "cs_w32_lds_u8_d16", "cs_w32_lds_subdword", "cs_w32_lds_wide", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", "cs_wave64_ballot", "cs_wm_half_ops", "cs_wm_half_cmp", "cs_wm_bfm64", "cs_wm_scc_rfl", "cs_wqm_w64", "cs_wqm_w32", "cs_wqm_w64_half", | 1206 | elif name in ("cs_smem_vcc_base", "cs_store", "cs_signed_zero_nan", "cs_smem_soffset_imm", "cs_w32_lane_wrap", "cs_movrelsd_2", "cs_w32_permute", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap", "cs_w32_permlane_fi", "cs_exec_const", "cs_w32_mask_imm", "cs_w64_mask_imm", "cs_w32_lds_u8_d16", "cs_w32_lds_subdword", "cs_w32_lds_wide", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", "cs_wave64_ballot", "cs_wm_half_ops", "cs_wm_half_cmp", "cs_wm_bfm64", "cs_wm_scc_rfl", "cs_wqm_w64", "cs_wqm_w32", "cs_wqm_w64_half", |
| 1207 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", "cs_dpp_ops", "cs_dpp_bank", "cs_dpp_fi", | 1207 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", "cs_dpp_ops", "cs_dpp_bank", "cs_dpp_fi", |
| 1208 | "cs_dpp_bound", "cs_dpp_cmp", "cs_dpp_w64", | 1208 | "cs_dpp_bound", "cs_dpp_cmp", "cs_dpp_cmpx", "cs_dpp_w64", |
| 1209 | "cs_w64_mask_detect", | 1209 | "cs_w64_mask_detect", |
| 1210 | "cs_w64x_readlane", "cs_w64x_writelane", "cs_w64x_readfirstlane", "cs_w64x_bpermute", "cs_w64x_permute", | 1210 | "cs_w64x_readlane", "cs_w64x_writelane", "cs_w64x_readfirstlane", "cs_w64x_bpermute", "cs_w64x_permute", |
| 1211 | "cs_w64x_branch", "cs_w64x_ballot", "cs_w64x_wg128_branches", "cs_w64x_lds_raw", | 1211 | "cs_w64x_branch", "cs_w64x_ballot", "cs_w64x_wg128_branches", "cs_w64x_lds_raw", |
| @@ -1274,6 +1274,7 @@ def run_suite(a, work: str) -> int: | |||
| 1274 | "cs_dpp_bank": [0xFFFFFFFF, 0xFFFFFFFE, 0xFFFFFFFD, 0xFFFFFFFC, 7, 7, 7, 7], | 1274 | "cs_dpp_bank": [0xFFFFFFFF, 0xFFFFFFFE, 0xFFFFFFFD, 0xFFFFFFFC, 7, 7, 7, 7], |
| 1275 | "cs_dpp_fi": [1, 2, 3, 0x7777, 5, 6, 7, 0x7777], | 1275 | "cs_dpp_fi": [1, 2, 3, 0x7777, 5, 6, 7, 0x7777], |
| 1276 | "cs_dpp_cmp": [3, 2, 3, 2, 1, 0, 1, 0], | 1276 | "cs_dpp_cmp": [3, 2, 3, 2, 1, 0, 1, 0], |
| 1277 | "cs_dpp_cmpx": [1, 1, 0, 0, 3, 3, 2, 2], | ||
| 1277 | "cs_dpp_w64": [1, 0, 3, 2, 5, 4, 7, 6], | 1278 | "cs_dpp_w64": [1, 0, 3, 2, 5, 4, 7, 6], |
| 1278 | # SHADER-99: -0 and NaN survive (SignedZeroInfNanPreserve, cs_signed_zero_nan.asm); 0 in out[4..7] | 1279 | # SHADER-99: -0 and NaN survive (SignedZeroInfNanPreserve, cs_signed_zero_nan.asm); 0 in out[4..7] |
| 1279 | # without it | 1280 | # without it |
| @@ -1352,7 +1353,7 @@ def run_suite(a, work: str) -> int: | |||
| 1352 | "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_partial_permute", "cs_w32_permlane_fi", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap", | 1353 | "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_partial_permute", "cs_w32_permlane_fi", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap", |
| 1353 | "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_lds_atomics_ext", "cs_w32_wrxchg2_ext", "cs_w32_wrxchg2st64", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", | 1354 | "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_lds_atomics_ext", "cs_w32_wrxchg2_ext", "cs_w32_wrxchg2st64", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", |
| 1354 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", | 1355 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", |
| 1355 | "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_dpp_cmp", "cs_w32_andn2_exec", | 1356 | "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_dpp_cmp", "cs_dpp_cmpx", "cs_w32_andn2_exec", |
| 1356 | "cs_w32_exec_computed") and not emulated and not partial | 1357 | "cs_w32_exec_computed") and not emulated and not partial |
| 1357 | if partial: | 1358 | if partial: |
| 1358 | cs_env = dict(os.environ, VKC_SUBGROUP_SIZE="32" if emulated else "64") | 1359 | cs_env = dict(os.environ, VKC_SUBGROUP_SIZE="32" if emulated else "64") |
diff --git a/scripts/windows-boot/boot.ps1 b/scripts/windows-boot/boot.ps1 index 7863054b3..db11e4e76 100644 --- a/scripts/windows-boot/boot.ps1 +++ b/scripts/windows-boot/boot.ps1 | |||
| @@ -50,7 +50,8 @@ | |||
| 50 | 50 | ||
| 51 | .PARAMETER InputScript | 51 | .PARAMETER InputScript |
| 52 | LEONIDA_INPUT_SCRIPT: timed pad presses, seconds since the pad's first poll (button@seconds, comma-separated; | 52 | LEONIDA_INPUT_SCRIPT: timed pad presses, seconds since the pad's first poll (button@seconds, comma-separated; |
| 53 | buttons a b x y start back lb rb up down left right). Sets LEONIDA_KEYBOARD_PAD=always. Builds older than | 53 | buttons a b x y start back lb rb up down left right). Each press is held 300 ms; button@seconds:hold holds it |
| 54 | longer, e.g. b@1100:3 for a title that reads its pad only every few seconds. Sets LEONIDA_KEYBOARD_PAD=always. Builds older than | ||
| 54 | main @ 8146ef690 ignore a script longer than 63 characters. Default 'a@45,a@60,a@75,a@90'. | 55 | main @ 8146ef690 ignore a script longer than 63 characters. Default 'a@45,a@60,a@75,a@90'. |
| 55 | 56 | ||
| 56 | .PARAMETER NoInput | 57 | .PARAMETER NoInput |
| @@ -75,6 +76,9 @@ | |||
| 75 | .PARAMETER ExtraArgs | 76 | .PARAMETER ExtraArgs |
| 76 | More gta6rt arguments, appended after the standard ones. | 77 | More gta6rt arguments, appended after the standard ones. |
| 77 | 78 | ||
| 79 | .PARAMETER FirstRunUi | ||
| 80 | Launch with the offline first-run UI profile instead of the generic runtime profile. | ||
| 81 | |||
| 78 | .PARAMETER Python | 82 | .PARAMETER Python |
| 79 | Python 3.12+ used for tools/boot_trace.py. Default: python, else py -3. | 83 | Python 3.12+ used for tools/boot_trace.py. Default: python, else py -3. |
| 80 | 84 | ||
| @@ -118,6 +122,7 @@ param( | |||
| 118 | [switch]$NoCapture, | 122 | [switch]$NoCapture, |
| 119 | [switch]$NoInput, | 123 | [switch]$NoInput, |
| 120 | [string[]]$ExtraArgs = @(), | 124 | [string[]]$ExtraArgs = @(), |
| 125 | [switch]$FirstRunUi, | ||
| 121 | [string]$Python = "", | 126 | [string]$Python = "", |
| 122 | [int]$SummaryLines = 40, | 127 | [int]$SummaryLines = 40, |
| 123 | [int]$LockWaitSeconds = 3600, | 128 | [int]$LockWaitSeconds = 3600, |
| @@ -277,7 +282,8 @@ foreach ($pair in $EnvPairs) { | |||
| 277 | } | 282 | } |
| 278 | if ($bootEnv["LEONIDA_CAPTURE"]) { $Capture = $bootEnv["LEONIDA_CAPTURE"] } | 283 | if ($bootEnv["LEONIDA_CAPTURE"]) { $Capture = $bootEnv["LEONIDA_CAPTURE"] } |
| 279 | 284 | ||
| 280 | $gameArgs = @("--run", $Exe, "--game-dir", $GameDir, "--overlay", $Overlay, "--trace", $TraceFile, "--trace-d3d12") + $ExtraArgs | 285 | $launchMode = if ($FirstRunUi) { "--first-run-ui" } else { "--run" } |
| 286 | $gameArgs = @($launchMode, $Exe, "--game-dir", $GameDir, "--overlay", $Overlay, "--trace", $TraceFile, "--trace-d3d12") + $ExtraArgs | ||
| 281 | $argLine = ($gameArgs | ForEach-Object { ConvertTo-ProcessArgument ([string]$_) }) -join " " | 287 | $argLine = ($gameArgs | ForEach-Object { ConvertTo-ProcessArgument ([string]$_) }) -join " " |
| 282 | 288 | ||
| 283 | if (-not $DigestOnly) { | 289 | if (-not $DigestOnly) { |
diff --git a/tests/conftest.py b/tests/conftest.py index 115282761..308590f67 100644 --- a/tests/conftest.py +++ b/tests/conftest.py | |||
| @@ -156,6 +156,10 @@ KNOWN_VAL_ISSUES = {} | |||
| 156 | # 0x8088 = 4 user SGPRs, TGID_X, 512 B of LDS; group 64x1x1 (the header the cs_* samples in runtime/test/shaders use). | 156 | # 0x8088 = 4 user SGPRs, TGID_X, 512 B of LDS; group 64x1x1 (the header the cs_* samples in runtime/test/shaders use). |
| 157 | DEFAULT_CS_HEADER = (0x8088, (64, 1, 1)) | 157 | DEFAULT_CS_HEADER = (0x8088, (64, 1, 1)) |
| 158 | 158 | ||
| 159 | # The comment line a sample carries when llvm-mc cannot assemble it (cs_dpp_cmp.asm: a VOPC compare in DPP form). | ||
| 160 | # scripts/run_gpu_tests.py has the same line; tests/test_translate.py checks that the two agree. | ||
| 161 | TEXT_ONLY_MARK = "; run_gpu_tests: text only, llvm-mc has no gfx1013 encoding for an instruction here" | ||
| 162 | |||
| 159 | 163 | ||
| 160 | class Shader: | 164 | class Shader: |
| 161 | def __init__(self, workdir, name, asm, cs_header=DEFAULT_CS_HEADER, dxbc=EMPTY_DXBC): | 165 | def __init__(self, workdir, name, asm, cs_header=DEFAULT_CS_HEADER, dxbc=EMPTY_DXBC): |
| @@ -167,6 +171,15 @@ class Shader: | |||
| 167 | rsrc2, (lx, ly, lz) = cs_header | 171 | rsrc2, (lx, ly, lz) = cs_header |
| 168 | (workdir / "fssm").mkdir(exist_ok=True) | 172 | (workdir / "fssm").mkdir(exist_ok=True) |
| 169 | (workdir / "fssm" / f"{name}.fssm").write_bytes(bytes(0x138) + struct.pack("<4I", rsrc2, lx, ly, lz)) | 173 | (workdir / "fssm" / f"{name}.fssm").write_bytes(bytes(0x138) + struct.pack("<4I", rsrc2, lx, ly, lz)) |
| 174 | self.path = disasm / f"{name}.s" | ||
| 175 | self.workdir = workdir | ||
| 176 | if any(ln.strip() == TEXT_ONLY_MARK for ln in asm.splitlines()): | ||
| 177 | # llvm-mc has no gfx1013 encoding for an instruction of this sample, so its text is the listing, as in | ||
| 178 | # assemble_to_s of scripts/run_gpu_tests.py: the translator reads straight-line code from the text alone. | ||
| 179 | lines = [f"; {name} code 0x0..0x0 (synthetic), gfx1013, 0 invalid words"] | ||
| 180 | lines += ["\t" + ln.strip() for ln in asm.splitlines() if ln.strip() and not ln.lstrip().startswith(";")] | ||
| 181 | self.path.write_text("\n".join(lines) + "\n", encoding="utf-8", newline="\n") | ||
| 182 | return | ||
| 170 | cmd = LLVM_MC + ["-triple=amdgcn--amdpal", "-mcpu=gfx1013"] | 183 | cmd = LLVM_MC + ["-triple=amdgcn--amdpal", "-mcpu=gfx1013"] |
| 171 | for ln in asm.splitlines(): | 184 | for ln in asm.splitlines(): |
| 172 | s = ln.strip() | 185 | s = ln.strip() |
| @@ -181,9 +194,7 @@ class Shader: | |||
| 181 | cmd.append("-show-encoding") | 194 | cmd.append("-show-encoding") |
| 182 | r = subprocess.run(cmd, input=asm, capture_output=True, text=True) | 195 | r = subprocess.run(cmd, input=asm, capture_output=True, text=True) |
| 183 | assert r.returncode == 0, r.stderr | 196 | assert r.returncode == 0, r.stderr |
| 184 | self.path = disasm / f"{name}.s" | ||
| 185 | self.path.write_text(f"; {name} synthetic\n{r.stdout}") | 197 | self.path.write_text(f"; {name} synthetic\n{r.stdout}") |
| 186 | self.workdir = workdir | ||
| 187 | 198 | ||
| 188 | def translate(self): | 199 | def translate(self): |
| 189 | return rdna2spirv.translate(str(self.path)) | 200 | return rdna2spirv.translate(str(self.path)) |
diff --git a/tests/semantic/fixtures/disasm/cs_address_guard.s b/tests/semantic/fixtures/disasm/cs_address_guard.s new file mode 100644 index 000000000..ad3c79be7 --- /dev/null +++ b/tests/semantic/fixtures/disasm/cs_address_guard.s | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | ; cs_address_guard test fixture generated by tests/semantic/regen_fixtures.py from runtime/test/shaders/cs_address_guard.asm | ||
| 2 | v_mov_b32_e32 v0, 0x90000 | ||
| 3 | v_mov_b32_e32 v1, 0 | ||
| 4 | global_load_dword v2, v[0:1], off | ||
| 5 | v_mov_b32_e32 v0, 0xa0000 | ||
| 6 | global_load_dword v3, v[0:1], off | ||
| 7 | v_mov_b32_e32 v4, 0x5707 | ||
| 8 | global_store_dword v[0:1], v4, off offset:4 | ||
| 9 | v_mov_b32_e32 v5, 1 | ||
| 10 | global_atomic_add v5, v[0:1], v5, off offset:8 glc | ||
| 11 | v_mov_b32_e32 v0, 0x90ffc | ||
| 12 | global_load_dwordx2 v[6:7], v[0:1], off | ||
| 13 | s_mov_b32 s4, 0xa0000 | ||
| 14 | s_mov_b32 s5, 0 | ||
| 15 | s_mov_b32 s6, 0x100 | ||
| 16 | s_mov_b32 s7, 0x31016fac | ||
| 17 | v_mov_b32_e32 v8, 0 | ||
| 18 | buffer_load_dword v8, v8, s[4:7], 0 offen | ||
| 19 | s_mov_b32 s8, 0x90000 | ||
| 20 | s_mov_b32 s9, 0 | ||
| 21 | s_load_dword s10, s[8:9], 0x4 | ||
| 22 | s_load_dword s11, s[4:5], 0x0 | ||
| 23 | s_waitcnt vmcnt(0) lgkmcnt(0) | ||
| 24 | v_mov_b32_e32 v9, 0 | ||
| 25 | buffer_store_dword v2, v9, s[0:3], 0 offen | ||
| 26 | buffer_store_dword v3, v9, s[0:3], 0 offen offset:4 | ||
| 27 | buffer_store_dword v5, v9, s[0:3], 0 offen offset:8 | ||
| 28 | buffer_store_dword v6, v9, s[0:3], 0 offen offset:12 | ||
| 29 | buffer_store_dword v7, v9, s[0:3], 0 offen offset:16 | ||
| 30 | buffer_store_dword v8, v9, s[0:3], 0 offen offset:20 | ||
| 31 | v_mov_b32_e32 v10, s10 | ||
| 32 | buffer_store_dword v10, v9, s[0:3], 0 offen offset:24 | ||
| 33 | v_mov_b32_e32 v11, s11 | ||
| 34 | buffer_store_dword v11, v9, s[0:3], 0 offen offset:28 | ||
| 35 | s_endpgm | ||
diff --git a/tests/semantic/fixtures/disasm/cs_dpp_cmpx.s b/tests/semantic/fixtures/disasm/cs_dpp_cmpx.s new file mode 100644 index 000000000..90172ddfa --- /dev/null +++ b/tests/semantic/fixtures/disasm/cs_dpp_cmpx.s | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | ; cs_dpp_cmpx test fixture generated by tests/semantic/regen_fixtures.py from runtime/test/shaders/cs_dpp_cmpx.asm | ||
| 2 | v_mbcnt_lo_u32_b32 v0, -1, 0 | ||
| 3 | v_add_nc_u32 v7, -4, v0 | ||
| 4 | v_cvt_f32_i32 v1, v7 | ||
| 5 | v_mov_b32 v6, 0 | ||
| 6 | s_mov_b32 s10, exec_lo | ||
| 7 | v_cmpx_gt_f32_dpp v1, v1 quad_perm:[2,3,0,1] row_mask:0xf bank_mask:0xf bound_ctrl:1 fi:1 | ||
| 8 | v_mov_b32 v6, 1 | ||
| 9 | s_mov_b32 exec_lo, s10 | ||
| 10 | v_cmpx_gt_f32_dpp v1, -v1 quad_perm:[2,3,0,1] row_mask:0xf bank_mask:0xf bound_ctrl:1 fi:1 | ||
| 11 | v_add_nc_u32 v6, 2, v6 | ||
| 12 | s_mov_b32 exec_lo, s10 | ||
| 13 | v_lshlrev_b32 v2, 2, v0 | ||
| 14 | buffer_store_dword v6, v2, s[0:3], 0 offen | ||
| 15 | s_endpgm | ||
diff --git a/tests/semantic/fixtures/wave64_single_wave_barrier.asm b/tests/semantic/fixtures/wave64_single_wave_barrier.asm new file mode 100644 index 000000000..ffbb6aba2 --- /dev/null +++ b/tests/semantic/fixtures/wave64_single_wave_barrier.asm | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | ; One wave64 workgroup: a uniform loop and a uniform branch, each with a read of another wave32 half's lane, which | ||
| 2 | ; the emulation exchanges through %x_buf behind a workgroup barrier. s4 is a push constant: 0 skips the branch. | ||
| 3 | v_lshlrev_b32_e32 v2, 2, v0 | ||
| 4 | v_mov_b32_e32 v1, v0 | ||
| 5 | s_mov_b32 s8, 0 | ||
| 6 | s_mov_b32 s9, 0 | ||
| 7 | again: | ||
| 8 | v_add_nc_u32_e32 v1, 1, v1 | ||
| 9 | v_readlane_b32 s10, v1, 40 | ||
| 10 | s_add_u32 s9, s9, s10 | ||
| 11 | s_add_u32 s8, s8, 1 | ||
| 12 | s_cmp_eq_u32 s8, 3 | ||
| 13 | s_cbranch_scc0 again | ||
| 14 | s_cmp_eq_u32 s4, 0 | ||
| 15 | s_cbranch_scc1 done | ||
| 16 | v_add_nc_u32_e32 v1, 100, v1 | ||
| 17 | v_readlane_b32 s11, v1, 41 | ||
| 18 | s_add_u32 s9, s9, s11 | ||
| 19 | done: | ||
| 20 | v_mov_b32_e32 v3, s9 | ||
| 21 | buffer_store_dword v3, v2, s[0:3], 0 offen | ||
| 22 | s_endpgm | ||
diff --git a/tests/semantic/test_address_guard.py b/tests/semantic/test_address_guard.py new file mode 100644 index 000000000..e503ed732 --- /dev/null +++ b/tests/semantic/test_address_guard.py | |||
| @@ -0,0 +1,177 @@ | |||
| 1 | """rdna2spirv.py --address-guard: every heap_base + VA access is checked against the runtime's page table. | ||
| 2 | |||
| 3 | Standard library only; no GPU, no LLVM, no game files. | ||
| 4 | |||
| 5 | docs/d3d12_vulkan.md, "Address guard": an access whose first and last byte are below the header's limit (the arena) | ||
| 6 | passes on a compare; any other passes only when the page table (tools/address_guard.py, runtime/src/address_guard.h) | ||
| 7 | backs the 4 KiB pages of both. A refused load reads the zero area, a refused store or atomic writes the dump area | ||
| 8 | and an atomic returns 0; each refusal adds 1 to the header's count and writes its offset. Without the header's magic | ||
| 9 | (the runtime's guard off) every access passes. Without --address-guard the module is what it was. | ||
| 10 | |||
| 11 | cs_address_guard (runtime/test/shaders/cs_address_guard.asm, header: the expected words) runs here on the heap | ||
| 12 | scripts/run_address_guard_gpu_test.py gives it on the GPU, through spirv_mini_interp, with the guard on and off. | ||
| 13 | """ | ||
| 14 | import os | ||
| 15 | import re | ||
| 16 | import struct | ||
| 17 | import sys | ||
| 18 | import unittest | ||
| 19 | |||
| 20 | HERE = os.path.dirname(os.path.abspath(__file__)) | ||
| 21 | if HERE not in sys.path: | ||
| 22 | sys.path.insert(0, HERE) # python -I leaves the script's folder off sys.path | ||
| 23 | |||
| 24 | import support # noqa: E402 (support puts tools/ on sys.path, honouring LEONIDA_TOOLS_DIR) | ||
| 25 | import spirv_mini_interp as si # noqa: E402 | ||
| 26 | import rdna2spirv # noqa: E402 | ||
| 27 | import address_guard as ag # noqa: E402 | ||
| 28 | |||
| 29 | ROOT = os.path.dirname(os.path.dirname(HERE)) | ||
| 30 | SCRIPTS = os.path.join(ROOT, "scripts") | ||
| 31 | if SCRIPTS not in sys.path: | ||
| 32 | sys.path.insert(0, SCRIPTS) | ||
| 33 | import run_address_guard_gpu_test as gpu # noqa: E402 (the heap and the expected words, shared with the GPU run) | ||
| 34 | |||
| 35 | # build.py's compute header for "; group: 1,1,1" and "; rsrc2: 0x8090": 8 user SGPRs, one thread. | ||
| 36 | FSSM = bytearray(0x148) | ||
| 37 | struct.pack_into("<4I", FSSM, 0x138, 0x8090, 1, 1, 1) | ||
| 38 | FSSM = bytes(FSSM) | ||
| 39 | VSHARP = [0, 0, 0x100, 0x31016FAC] # out[]: base 0, 0x100 bytes, raw bounds | ||
| 40 | |||
| 41 | |||
| 42 | def translate(name="cs_address_guard", guard=True, lines=None): | ||
| 43 | saved = rdna2spirv.ADDRESS_GUARD | ||
| 44 | rdna2spirv.ADDRESS_GUARD = guard | ||
| 45 | try: | ||
| 46 | if lines is not None: | ||
| 47 | return support.translate_lines(name, lines, fssm=FSSM) | ||
| 48 | return support.translate_fixture(name, fssm=FSSM) | ||
| 49 | finally: | ||
| 50 | rdna2spirv.ADDRESS_GUARD = saved | ||
| 51 | |||
| 52 | |||
| 53 | def run(spv, heap): | ||
| 54 | """Run one invocation on a copy of `heap` (heap_base 0, so a host address is the heap offset).""" | ||
| 55 | mem = {i * 4: w for i, w in enumerate(struct.unpack(f"<{len(heap) // 4}I", heap)) if w} | ||
| 56 | si.run_workgroup(spv, 1, 32, inputs_for=lambda i: {"%wg_id": (0, 0, 0), "%local_id": (i, 0, 0), "%sg_lane": i}, | ||
| 57 | push_constants=VSHARP + [0] * 32, memory=mem) | ||
| 58 | return mem | ||
| 59 | |||
| 60 | |||
| 61 | class GuardedFixture(unittest.TestCase): | ||
| 62 | @classmethod | ||
| 63 | def setUpClass(cls): | ||
| 64 | cls.spv = translate() | ||
| 65 | |||
| 66 | def test_guard_on(self): | ||
| 67 | mem = run(self.spv, gpu.heap(True)) | ||
| 68 | self.assertEqual([mem.get(4 * k, 0) for k in range(8)], gpu.EXPECTED_ON) | ||
| 69 | for at, want in gpu.MEMORY_ON.items(): | ||
| 70 | with self.subTest(at=hex(at)): | ||
| 71 | self.assertEqual(mem.get(at, 0), want) | ||
| 72 | |||
| 73 | def test_guard_off_at_run_time(self): | ||
| 74 | """The same module on a heap without the magic: every access goes where it points.""" | ||
| 75 | mem = run(self.spv, gpu.heap(False)) | ||
| 76 | self.assertEqual([mem.get(4 * k, 0) for k in range(8)], gpu.EXPECTED_OFF) | ||
| 77 | for at, want in gpu.MEMORY_OFF.items(): | ||
| 78 | with self.subTest(at=hex(at)): | ||
| 79 | self.assertEqual(mem.get(at, 0), want) | ||
| 80 | |||
| 81 | def test_unguarded_module(self): | ||
| 82 | """Without --address-guard nothing reads the header, and the program behaves as with the guard off.""" | ||
| 83 | spv = translate(guard=False) | ||
| 84 | self.assertNotIn("guard", spv) | ||
| 85 | mem = run(spv, gpu.heap(True)) | ||
| 86 | self.assertEqual([mem.get(4 * k, 0) for k in range(8)], gpu.EXPECTED_OFF) | ||
| 87 | |||
| 88 | def test_every_access_is_guarded(self): | ||
| 89 | """Each PhysicalStorageBuffer pointer of %main comes from a %guard_fn call, except the header read itself.""" | ||
| 90 | main = re.search(r"%main = OpFunction .*?OpFunctionEnd", self.spv, re.S).group(0) | ||
| 91 | calls = set(re.findall(r"(%\S+) = OpFunctionCall %ulong %guard_fn", main)) | ||
| 92 | sources = re.findall(r"= OpConvertUToPtr %_ptr_PSB_\w+ (%\S+)", main) | ||
| 93 | self.assertEqual(sources.count("%gd_hp"), 1) | ||
| 94 | others = [s for s in sources if s != "%gd_hp"] | ||
| 95 | # 2 global loads, the store, the atomic, the x2 load, the buffer load, 2 s_loads and the 8 stores to out[] | ||
| 96 | self.assertEqual(len(others), 16) | ||
| 97 | self.assertTrue(set(others) <= calls, set(others) - calls) | ||
| 98 | |||
| 99 | |||
| 100 | class GuardForms(unittest.TestCase): | ||
| 101 | """The kind and span each instruction family passes, read off the %guard_fn calls (sink, last-byte delta).""" | ||
| 102 | |||
| 103 | def calls(self, lines): | ||
| 104 | spv = translate("cs_guard_forms", lines=lines + ["s_endpgm"]) | ||
| 105 | consts = {m.group(1): int(m.group(2)) for m in re.finditer(r"(%\S+) = OpConstant %ulong (\d+)", spv)} | ||
| 106 | out = [] | ||
| 107 | for m in re.finditer(r"OpFunctionCall %ulong %guard_fn %heap_base %gd_on %gd_limit %gd_table \S+ (\S+) (\S+)", | ||
| 108 | spv): | ||
| 109 | out.append((consts.get(m.group(1), m.group(1)), consts[m.group(2)])) | ||
| 110 | return out | ||
| 111 | |||
| 112 | def test_loads_read_the_zero_area(self): | ||
| 113 | self.assertEqual(self.calls(["global_load_dwordx4 v[2:5], v[0:1], off"]), [(15, ag.ZERO)]) | ||
| 114 | self.assertEqual(self.calls(["s_load_dwordx8 s[8:15], s[0:1], 0x0"]), [(31, ag.ZERO)]) | ||
| 115 | self.assertEqual(self.calls(["global_load_ubyte v2, v[0:1], off"]), [(3, ag.ZERO)]) | ||
| 116 | |||
| 117 | def test_stores_and_atomics_write_the_dump_area(self): | ||
| 118 | self.assertEqual(self.calls(["global_store_dwordx3 v[0:1], v[2:4], off"]), [(11, ag.DUMP)]) | ||
| 119 | self.assertEqual(self.calls(["global_atomic_or_x2 v[0:1], v[2:3], off"]), [(7, ag.DUMP)]) | ||
| 120 | self.assertEqual(self.calls(["buffer_atomic_add v2, v1, s[0:3], 0 offen glc"]), [(3, ag.DUMP)]) | ||
| 121 | # a byte store merges into its dword with atomic and/or: one guarded dword | ||
| 122 | self.assertEqual(self.calls(["global_store_byte v[0:1], v2, off"]), [(3, ag.DUMP)]) | ||
| 123 | |||
| 124 | def test_atomic_result_is_zero_when_refused(self): | ||
| 125 | spv = translate("cs_guard_atomic", lines=["global_atomic_add v5, v[0:1], v5, off glc", "s_endpgm"]) | ||
| 126 | call = re.search(r"(%\S+) = OpFunctionCall %ulong %guard_fn", spv).group(1) | ||
| 127 | ok = re.search(rf"(%\S+) = OpIEqual %bool {re.escape(call)} ", spv) | ||
| 128 | self.assertIsNotNone(ok) | ||
| 129 | self.assertRegex(spv, rf"= OpSelect %uint {re.escape(ok.group(1))} %\S+ %c0\b") | ||
| 130 | |||
| 131 | |||
| 132 | class TableModel(unittest.TestCase): | ||
| 133 | """tools/address_guard.py, the Python reference of the table the runtime writes.""" | ||
| 134 | |||
| 135 | def test_pages_and_chunks(self): | ||
| 136 | words = ag.table_words([(0x90000, 0x90001), (0x5_0000_1000, 0x5_0000_3000), (-0x2000 & ag.MASK48, 0)]) | ||
| 137 | self.assertTrue(ag.passes(words, 0x80000, 0x90000, 4)) | ||
| 138 | self.assertTrue(ag.passes(words, 0x80000, 0x90ffc, 4)) | ||
| 139 | self.assertFalse(ag.passes(words, 0x80000, 0x90ffc, 8)) # the last byte is on the next page | ||
| 140 | self.assertTrue(ag.passes(words, 0x80000, 0x5_0000_2ff0, 16)) | ||
| 141 | self.assertFalse(ag.passes(words, 0x80000, 0x5_0000_3000, 4)) | ||
| 142 | self.assertFalse(ag.passes(words, 0x80000, 0x6_0000_0000, 4)) # another chunk, nothing backed | ||
| 143 | self.assertTrue(ag.passes(words, 0x80000, 0x7fffc, 4)) # the arena, no lookup | ||
| 144 | self.assertFalse(ag.passes(words, 0x80000, 0x7fffc, 8)) # past the arena, page 0x80 unbacked | ||
| 145 | |||
| 146 | def test_negative_offsets(self): | ||
| 147 | """A buffer below the arena (LEONIDA_IMPORT_BELOW_ARENA=1): its 48-bit offset, sign-extended.""" | ||
| 148 | words = ag.table_words([((-0x2000) & ag.MASK48, (-0x1000) & ag.MASK48)]) | ||
| 149 | self.assertTrue(ag.passes(words, 0x80000, (-0x2000) & ag.MASK48, 4)) | ||
| 150 | self.assertFalse(ag.passes(words, 0x80000, (-0x1000) & ag.MASK48, 4)) | ||
| 151 | self.assertFalse(ag.passes(words, 0x80000, (-4) & ag.MASK48, 8)) # wraps through 0: not the arena | ||
| 152 | |||
| 153 | def test_full_block_when_out_of_room(self): | ||
| 154 | words = ag.table_words([(1 << 32, (1 << 32) + 1), (2 << 32, (2 << 32) + 1)], max_blocks=1) | ||
| 155 | self.assertTrue(ag.passes(words, 0x80000, 1 << 32, 4)) | ||
| 156 | self.assertFalse(ag.passes(words, 0x80000, (1 << 32) + 0x1000, 4)) | ||
| 157 | self.assertTrue(ag.passes(words, 0x80000, (2 << 32) + 0x5000, 4)) # the full block: all of chunk 2 | ||
| 158 | |||
| 159 | def test_constants_match_the_translator_and_the_runtime(self): | ||
| 160 | self.assertEqual((rdna2spirv.GUARD_HEADER, rdna2spirv.GUARD_ZERO, rdna2spirv.GUARD_DUMP, rdna2spirv.GUARD_MAGIC, | ||
| 161 | rdna2spirv.GUARD_L1, rdna2spirv.GUARD_BLOCK_WORDS), | ||
| 162 | (ag.HEADER, ag.ZERO, ag.DUMP, ag.MAGIC, ag.L1, ag.BLOCK_WORDS)) | ||
| 163 | with open(os.path.join(ROOT, "runtime", "src", "address_guard.h"), encoding="utf-8") as f: | ||
| 164 | text = f.read() | ||
| 165 | for name, value in (("kGuardHeader", ag.HEADER), ("kGuardZero", ag.ZERO), ("kGuardDump", ag.DUMP), | ||
| 166 | ("kGuardEnd", ag.RESERVED_END), ("kGuardLevel1", ag.L1), | ||
| 167 | ("kGuardBlockWords", ag.BLOCK_WORDS)): | ||
| 168 | with self.subTest(name=name): | ||
| 169 | m = re.search(rf"{name} = (1u << \d+|0x[0-9a-fA-F]+|\d+)", text) | ||
| 170 | self.assertIsNotNone(m) | ||
| 171 | v = m.group(1) | ||
| 172 | self.assertEqual(1 << int(v.split("<<")[1]) if "<<" in v else int(v, 0), value) | ||
| 173 | self.assertIn('"LGUARD01"', text) | ||
| 174 | |||
| 175 | |||
| 176 | if __name__ == "__main__": | ||
| 177 | unittest.main() | ||
diff --git a/tests/semantic/test_dpp_compare.py b/tests/semantic/test_dpp_compare.py index c6f429fb5..46cdc0b3e 100644 --- a/tests/semantic/test_dpp_compare.py +++ b/tests/semantic/test_dpp_compare.py | |||
| @@ -9,6 +9,9 @@ own src1), with 0 for src0 when the selected lane is out of its row or inactive. | |||
| 9 | writes are translated: all rows and banks enabled and either `bound_ctrl:1` or DPP8. A form that leaves a lane | 9 | writes are translated: all rows and banks enabled and either `bound_ctrl:1` or DPP8. A form that leaves a lane |
| 10 | unwritten is refused, because what that lane's mask bit becomes is not measured. | 10 | unwritten is refused, because what that lane's mask bit becomes is not measured. |
| 11 | 11 | ||
| 12 | `v_cmpx` in DPP form (SHADER-VOPCX-DPP) takes the same forms and writes EXEC instead of VCC. 78 pipeline-library | ||
| 13 | pixel shaders of 1.0.2.1 hold it, all as `v_cmpx_gt_f32_dpp vN, -vM quad_perm:[2,3,0,1] ... bound_ctrl:1 fi:1`. | ||
| 14 | |||
| 12 | The values come from running the translated module in tests/semantic/spirv_wave_interp.py. | 15 | The values come from running the translated module in tests/semantic/spirv_wave_interp.py. |
| 13 | 16 | ||
| 14 | Standard library only; no GPU, no LLVM, no SPIRV-Tools, no game files. | 17 | Standard library only; no GPU, no LLVM, no SPIRV-Tools, no game files. |
| @@ -66,34 +69,40 @@ def compare_vs(op, form, exec_off=None): | |||
| 66 | 69 | ||
| 67 | def compare_reference(op, form, exec_off=None, wave=32): | 70 | def compare_reference(op, form, exec_off=None, wave=32): |
| 68 | """The VCC bit per lane after compare_vs: an inactive lane's bit is 0, as for a plain compare.""" | 71 | """The VCC bit per lane after compare_vs: an inactive lane's bit is 0, as for a plain compare.""" |
| 69 | mods = form.split() | ||
| 70 | fi = any(m == "fi:1" for m in mods) | ||
| 71 | relation = COMPARES[op][1] | 72 | relation = COMPARES[op][1] |
| 72 | active = [lane != exec_off for lane in range(wave)] | 73 | active = [lane != exec_off for lane in range(wave)] |
| 73 | out = [] | 74 | out = [] |
| 74 | for lane in range(wave): | 75 | for lane in range(wave): |
| 75 | loc, ok = lane & 15, True | 76 | src = source_lane(form, lane, active) |
| 76 | if mods[0].startswith("dpp8:"): | 77 | out.append(int(active[lane] and relation(src if src is not None else 0, lane))) |
| 77 | src = (lane & ~7) | [int(x) for x in mods[0][6:-1].split(",")][lane & 7] | ||
| 78 | elif mods[0].startswith("quad_perm:"): | ||
| 79 | src = (lane & ~3) | [int(x) for x in mods[0][11:-1].split(",")][lane & 3] | ||
| 80 | else: | ||
| 81 | kind, _, n = mods[0].partition(":") | ||
| 82 | n = int(n or 0) | ||
| 83 | if kind == "row_shr": | ||
| 84 | ok, s = loc >= n, loc - n | ||
| 85 | elif kind == "row_shl": | ||
| 86 | ok, s = loc + n < 16, loc + n | ||
| 87 | elif kind == "row_ror": | ||
| 88 | s = (loc - n) & 15 | ||
| 89 | else: # row_mirror | ||
| 90 | s = 15 - loc | ||
| 91 | src = (lane & ~15) | (s & 15) | ||
| 92 | valid = ok and (active[src] or fi) | ||
| 93 | out.append(int(active[lane] and relation(src if valid else 0, lane))) | ||
| 94 | return out | 78 | return out |
| 95 | 79 | ||
| 96 | 80 | ||
| 81 | def source_lane(form, lane, active): | ||
| 82 | """The lane DPP `form` reads src0 from for `lane`, or None where src0 reads 0 (out of the row, or inactive | ||
| 83 | without fi:1).""" | ||
| 84 | mods = form.split() | ||
| 85 | fi = any(m == "fi:1" for m in mods) | ||
| 86 | loc, ok = lane & 15, True | ||
| 87 | if mods[0].startswith("dpp8:"): | ||
| 88 | src = (lane & ~7) | [int(x) for x in mods[0][6:-1].split(",")][lane & 7] | ||
| 89 | elif mods[0].startswith("quad_perm:"): | ||
| 90 | src = (lane & ~3) | [int(x) for x in mods[0][11:-1].split(",")][lane & 3] | ||
| 91 | else: | ||
| 92 | kind, _, n = mods[0].partition(":") | ||
| 93 | n = int(n or 0) | ||
| 94 | if kind == "row_shr": | ||
| 95 | ok, s = loc >= n, loc - n | ||
| 96 | elif kind == "row_shl": | ||
| 97 | ok, s = loc + n < 16, loc + n | ||
| 98 | elif kind == "row_ror": | ||
| 99 | s = (loc - n) & 15 | ||
| 100 | else: # row_mirror | ||
| 101 | s = 15 - loc | ||
| 102 | src = (lane & ~15) | (s & 15) | ||
| 103 | return src if ok and (active[src] or fi) else None | ||
| 104 | |||
| 105 | |||
| 97 | def run(op, form, exec_off=None): | 106 | def run(op, form, exec_off=None): |
| 98 | res = wi.run_wave(compare_vs(op, form, exec_off), wave=32, | 107 | res = wi.run_wave(compare_vs(op, form, exec_off), wave=32, |
| 99 | builtins={"VertexIndex": lambda lane: lane, "InstanceIndex": lambda lane: 0}) | 108 | builtins={"VertexIndex": lambda lane: lane, "InstanceIndex": lambda lane: 0}) |
| @@ -124,30 +133,105 @@ class DppCompare(unittest.TestCase): | |||
| 124 | def test_a_form_that_leaves_a_lane_unwritten_is_refused(self): | 133 | def test_a_form_that_leaves_a_lane_unwritten_is_refused(self): |
| 125 | for form in UNWRITTEN_FORMS: | 134 | for form in UNWRITTEN_FORMS: |
| 126 | with self.subTest(form=form): | 135 | with self.subTest(form=form): |
| 127 | with self.assertRaisesRegex(Unsupported, "DPP compare with lanes that keep their mask bit"): | 136 | with self.assertRaisesRegex(Unsupported, "DPP compare with lanes DPP leaves unwritten"): |
| 128 | compare_vs("v_cmp_gt_f32_dpp", form) | 137 | compare_vs("v_cmp_gt_f32_dpp", form) |
| 129 | 138 | ||
| 130 | def test_cmpx_is_refused(self): | 139 | |
| 131 | lines = ["v_mbcnt_lo_u32_b32 v0, -1, 0", | 140 | # v_cmpx in DPP form (SHADER-VOPCX-DPP): the same lane selection, with the result written to EXEC. src0 is the first |
| 132 | "v_cmpx_gt_u32_dpp v0, v0 quad_perm:[1,0,3,2] row_mask:0xf bank_mask:0xf bound_ctrl:1", | 141 | # operand, since v_cmpx prints no destination. f32 compares read v1 = float(lane - 4), so a negated src1 changes the |
| 142 | # result; integer compares read v0 = lane. | ||
| 143 | CMPX = { | ||
| 144 | "v_cmpx_gt_f32_dpp": ("v1", lambda a, b: a > b), | ||
| 145 | "v_cmpx_lt_u32_dpp": ("v0", lambda a, b: a < b), | ||
| 146 | "v_cmpx_eq_u32_dpp": ("v0", lambda a, b: a == b), | ||
| 147 | } | ||
| 148 | # The form all 113 DPP v_cmpx of the 78 refused pipeline-library pixel shaders of 1.0.2.1 use, with src1 negated. | ||
| 149 | GAME_FORM = "quad_perm:[2,3,0,1] row_mask:0xf bank_mask:0xf bound_ctrl:1 fi:1" | ||
| 150 | |||
| 151 | |||
| 152 | def cmpx_vs(op, form, exec_off=None, neg=False): | ||
| 153 | """A vertex shader: EXEC = `op`(DPP(src), [-]src) over the lanes on (all but `exec_off`); param0.x exports 1 | ||
| 154 | where the new EXEC keeps the lane and 0 where it drops it.""" | ||
| 155 | src = CMPX[op][0] | ||
| 156 | lines = ["v_mbcnt_lo_u32_b32 v0, -1, 0", "v_add_nc_u32_e32 v7, -4, v0", "v_cvt_f32_i32_e32 v1, v7", | ||
| 157 | "v_mov_b32 v4, 1", "v_mov_b32 v6, 0", "s_mov_b32 s10, exec_lo"] | ||
| 158 | if exec_off is not None: | ||
| 159 | lines.append(f"v_cmpx_ne_u32_e32 {exec_off}, v0") | ||
| 160 | lines += [f"{op} {src}, {'-' if neg else ''}{src} {form}", "v_mov_b32 v6, v4", "s_mov_b32 exec_lo, s10", | ||
| 161 | "v_mov_b32 v5, 0", "exp pos0 v5, v5, v5, v5 done", "exp param0 v6, v5, v5, v5", "s_endpgm"] | ||
| 162 | return support.translate_lines("vs_dpp_cmpx", lines) | ||
| 163 | |||
| 164 | |||
| 165 | def cmpx_reference(op, form, exec_off=None, neg=False, wave=32): | ||
| 166 | """The EXEC bit per lane after the v_cmpx of cmpx_vs: 0 for a lane that was off, as for a plain v_cmpx.""" | ||
| 167 | src, relation = CMPX[op] | ||
| 168 | value = (lambda lane: float(lane - 4)) if src == "v1" else (lambda lane: lane) | ||
| 169 | active = [lane != exec_off for lane in range(wave)] | ||
| 170 | out = [] | ||
| 171 | for lane in range(wave): | ||
| 172 | s = source_lane(form, lane, active) | ||
| 173 | a = value(s) if s is not None else 0 | ||
| 174 | b = -value(lane) if neg else value(lane) | ||
| 175 | out.append(int(active[lane] and relation(a, b))) | ||
| 176 | return out | ||
| 177 | |||
| 178 | |||
| 179 | def run_cmpx(op, form, exec_off=None, neg=False): | ||
| 180 | res = wi.run_wave(cmpx_vs(op, form, exec_off, neg), wave=32, | ||
| 181 | builtins={"VertexIndex": lambda lane: lane, "InstanceIndex": lambda lane: 0}) | ||
| 182 | return [o["%out_param0"][0] for o in res["outputs"]] | ||
| 183 | |||
| 184 | |||
| 185 | class DppCompareExec(unittest.TestCase): | ||
| 186 | def test_values(self): | ||
| 187 | for op in CMPX: | ||
| 188 | for form in WRITTEN_FORMS + [GAME_FORM]: | ||
| 189 | for exec_off in (None, 5, 16): | ||
| 190 | with self.subTest(op=op, form=form, exec_off=exec_off): | ||
| 191 | self.assertEqual(run_cmpx(op, form, exec_off), cmpx_reference(op, form, exec_off)) | ||
| 192 | |||
| 193 | def test_game_form_with_negated_src1(self): | ||
| 194 | for exec_off in (None, 1, 6): | ||
| 195 | with self.subTest(exec_off=exec_off): | ||
| 196 | want = cmpx_reference("v_cmpx_gt_f32_dpp", GAME_FORM, exec_off, neg=True) | ||
| 197 | self.assertEqual(run_cmpx("v_cmpx_gt_f32_dpp", GAME_FORM, exec_off, neg=True), want) | ||
| 198 | self.assertNotEqual(want, cmpx_reference("v_cmpx_gt_f32_dpp", GAME_FORM, exec_off)) | ||
| 199 | |||
| 200 | def test_reference_by_hand(self): | ||
| 201 | # quad_perm:[2,3,0,1] swaps the halves of each quad, and lanes 0-7 hold -4..3: lane 0 compares lane 2's -2 | ||
| 202 | # with its own -4, so -2 > -4 keeps it and, src1 negated, -2 > 4 drops it. | ||
| 203 | self.assertEqual(cmpx_reference("v_cmpx_gt_f32_dpp", GAME_FORM)[:8], [1, 1, 0, 0, 1, 1, 0, 0]) | ||
| 204 | self.assertEqual(cmpx_reference("v_cmpx_gt_f32_dpp", GAME_FORM, neg=True)[:8], [0, 0, 0, 0, 1, 1, 1, 1]) | ||
| 205 | # A lane that was off stays off, whatever its compare gives. | ||
| 206 | self.assertEqual(cmpx_reference("v_cmpx_gt_f32_dpp", GAME_FORM, exec_off=5)[:8], [1, 1, 0, 0, 1, 0, 0, 0]) | ||
| 207 | |||
| 208 | def test_a_form_that_leaves_a_lane_unwritten_is_refused(self): | ||
| 209 | for form in UNWRITTEN_FORMS: | ||
| 210 | with self.subTest(form=form): | ||
| 211 | with self.assertRaisesRegex(Unsupported, "DPP compare with lanes DPP leaves unwritten"): | ||
| 212 | cmpx_vs("v_cmpx_gt_f32_dpp", form) | ||
| 213 | |||
| 214 | def test_a_destination_operand_is_refused(self): | ||
| 215 | # v_cmpx prints no destination: a line with one is not a form the disassembler writes. | ||
| 216 | lines = ["v_mbcnt_lo_u32_b32 v0, -1, 0", f"v_cmpx_gt_u32_dpp vcc_lo, v0, v0 {WRITTEN_FORMS[0]}", | ||
| 133 | "v_mov_b32 v5, 0", "exp pos0 v5, v5, v5, v5 done", "s_endpgm"] | 217 | "v_mov_b32 v5, 0", "exp pos0 v5, v5, v5, v5 done", "s_endpgm"] |
| 134 | with self.assertRaises(Unsupported): | 218 | with self.assertRaisesRegex(Unsupported, "DPP compare operands"): |
| 135 | support.translate_lines("vs_dpp_cmpx", lines) | 219 | support.translate_lines("vs_dpp_cmpx_dst", lines) |
| 136 | 220 | ||
| 137 | 221 | ||
| 138 | def vopc(opcode, src0, vsrc1): | 222 | def vopc(opcode, src0, vsrc1): |
| 139 | return 0x3E << 25 | opcode << 17 | vsrc1 << 9 | src0 | 223 | return 0x3E << 25 | opcode << 17 | vsrc1 << 9 | src0 |
| 140 | 224 | ||
| 141 | 225 | ||
| 142 | def dpp16_word(src0_reg, ctrl, bound=0, fi=0, bank_mask=0xF, row_mask=0xF): | 226 | def dpp16_word(src0_reg, ctrl, bound=0, fi=0, bank_mask=0xF, row_mask=0xF, src1_neg=0): |
| 143 | return row_mask << 28 | bank_mask << 24 | bound << 19 | fi << 18 | ctrl << 8 | src0_reg | 227 | return row_mask << 28 | bank_mask << 24 | src1_neg << 22 | bound << 19 | fi << 18 | ctrl << 8 | src0_reg |
| 144 | 228 | ||
| 145 | 229 | ||
| 146 | def dpp8_word(src0_reg, lanes): | 230 | def dpp8_word(src0_reg, lanes): |
| 147 | return sum(lane << (8 + 3 * i) for i, lane in enumerate(lanes)) | src0_reg | 231 | return sum(lane << (8 + 3 * i) for i, lane in enumerate(lanes)) | src0_reg |
| 148 | 232 | ||
| 149 | 233 | ||
| 150 | GT_F32, LT_U32 = 0x04, 0xC1 # VOPC opcodes (tools/rdna2_tables.py) | 234 | GT_F32, LT_U32, CMPX_GT_F32 = 0x04, 0xC1, 0x14 # VOPC opcodes (tools/rdna2_tables.py) |
| 151 | S_ENDPGM = 0xBF810000 | 235 | S_ENDPGM = 0xBF810000 |
| 152 | # (first word, second word, the line both printers give) | 236 | # (first word, second word, the line both printers give) |
| 153 | PAIRS = [ | 237 | PAIRS = [ |
| @@ -161,6 +245,9 @@ PAIRS = [ | |||
| 161 | "v_cmp_gt_f32_dpp vcc_lo, v20, v20 dpp8:[4,5,6,7,0,1,2,3]"), | 245 | "v_cmp_gt_f32_dpp vcc_lo, v20, v20 dpp8:[4,5,6,7,0,1,2,3]"), |
| 162 | (vopc(GT_F32, 234, 6), dpp8_word(5, [7, 6, 5, 4, 3, 2, 1, 0]), | 246 | (vopc(GT_F32, 234, 6), dpp8_word(5, [7, 6, 5, 4, 3, 2, 1, 0]), |
| 163 | "v_cmp_gt_f32_dpp vcc_lo, v5, v6 dpp8:[7,6,5,4,3,2,1,0] fi:1"), | 247 | "v_cmp_gt_f32_dpp vcc_lo, v5, v6 dpp8:[7,6,5,4,3,2,1,0] fi:1"), |
| 248 | # The game's v_cmpx form: no destination, src1 negated (bytes fa 02 28 7c 01 4e 4c ff). | ||
| 249 | (vopc(CMPX_GT_F32, 250, 1), dpp16_word(1, 0x4E, bound=1, fi=1, src1_neg=1), | ||
| 250 | "v_cmpx_gt_f32_dpp v1, -v1 quad_perm:[2,3,0,1] row_mask:0xf bank_mask:0xf bound_ctrl:1 fi:1"), | ||
| 164 | ] | 251 | ] |
| 165 | 252 | ||
| 166 | 253 | ||
| @@ -175,6 +262,7 @@ class DppCompareDecode(unittest.TestCase): | |||
| 175 | import rdna2_decode | 262 | import rdna2_decode |
| 176 | self.assertEqual(rdna2_decode.T.VOPC[GT_F32][0], "v_cmp_gt_f32") | 263 | self.assertEqual(rdna2_decode.T.VOPC[GT_F32][0], "v_cmp_gt_f32") |
| 177 | self.assertEqual(rdna2_decode.T.VOPC[LT_U32][0], "v_cmp_lt_u32") | 264 | self.assertEqual(rdna2_decode.T.VOPC[LT_U32][0], "v_cmp_lt_u32") |
| 265 | self.assertEqual(rdna2_decode.T.VOPC[CMPX_GT_F32][0], "v_cmpx_gt_f32") | ||
| 178 | 266 | ||
| 179 | def test_python_decoder(self): | 267 | def test_python_decoder(self): |
| 180 | import rdna2_decode | 268 | import rdna2_decode |
| @@ -186,8 +274,8 @@ class DppCompareDecode(unittest.TestCase): | |||
| 186 | self.assertEqual((lines, bad), ([want, "s_endpgm"], 0)) | 274 | self.assertEqual((lines, bad), ([want, "s_endpgm"], 0)) |
| 187 | 275 | ||
| 188 | def test_a_decoded_line_translates(self): | 276 | def test_a_decoded_line_translates(self): |
| 189 | # What the disassembler prints is what the translator takes: the two forms it accepts, from PAIRS. | 277 | # What the disassembler prints is what the translator takes: the forms it accepts, from PAIRS. |
| 190 | for _, _, line in (PAIRS[0], PAIRS[3]): | 278 | for _, _, line in (PAIRS[0], PAIRS[3], PAIRS[5]): |
| 191 | with self.subTest(line=line): | 279 | with self.subTest(line=line): |
| 192 | lines = ["v_mbcnt_lo_u32_b32 v0, -1, 0", line, "v_mov_b32 v5, 0", "exp pos0 v5, v5, v5, v5 done", | 280 | lines = ["v_mbcnt_lo_u32_b32 v0, -1, 0", line, "v_mov_b32 v5, 0", "exp pos0 v5, v5, v5, v5 done", |
| 193 | "s_endpgm"] | 281 | "s_endpgm"] |
diff --git a/tests/semantic/test_fma_mix_literal.py b/tests/semantic/test_fma_mix_literal.py index 75608f4a9..488e12b95 100644 --- a/tests/semantic/test_fma_mix_literal.py +++ b/tests/semantic/test_fma_mix_literal.py | |||
| @@ -77,6 +77,20 @@ class FmaMixLiteralTest(unittest.TestCase): | |||
| 77 | def test_reanchored_listing_takes_it_too(self): | 77 | def test_reanchored_listing_takes_it_too(self): |
| 78 | self.assertEqual(self.run_ps(listing(PRINTED, invalid=True), blob(STORED)), [f2u(8.0)] * 4) | 78 | self.assertEqual(self.run_ps(listing(PRINTED, invalid=True), blob(STORED)), [f2u(8.0)] * 4) |
| 79 | 79 | ||
| 80 | def test_text_cut_but_printed_encoding_whole(self): | ||
| 81 | # llvm-mc 21.1.8 can also print the literal cut to its low half in the text alone, with all 32 bits in the | ||
| 82 | # printed encoding: same_encoding then passes, and before the change the high half read +0.0 (6.0). | ||
| 83 | self.assertEqual(self.run_ps(listing(STORED), blob(STORED)), [f2u(8.0)] * 4) | ||
| 84 | self.assertEqual(self.run_ps(listing(STORED, invalid=True), blob(STORED)), [f2u(8.0)] * 4) | ||
| 85 | # The printed encoding is all it needs: no blob next to the listing. | ||
| 86 | self.assertEqual(self.run_ps(listing(STORED), None), [f2u(8.0)] * 4) | ||
| 87 | |||
| 88 | def test_text_immediate_other_than_the_low_half_is_left_alone(self): | ||
| 89 | # The text shows 0x4000 (2.0), not the encoded literal's low half 0x4200: the text is taken as it reads, | ||
| 90 | # fma(2.0, 2.0, +0.0) = 4.0, not the encoding's fma(3.0, 2.0, 2.0) = 8.0. | ||
| 91 | text = MIX_TEXT.replace("0x4200", "0x4000") | ||
| 92 | self.assertEqual(self.run_ps(listing(program(0x40004200, text=text)), None), [f2u(4.0)] * 4) | ||
| 93 | |||
| 80 | def test_without_the_blob_the_printed_literal_is_all_there_is(self): | 94 | def test_without_the_blob_the_printed_literal_is_all_there_is(self): |
| 81 | # LLVM's text alone: the high half reads +0.0, fma(3.0, 2.0, 0.0) = 6.0 (what the listing says). | 95 | # LLVM's text alone: the high half reads +0.0, fma(3.0, 2.0, 0.0) = 6.0 (what the listing says). |
| 82 | self.assertEqual(self.run_ps(listing(PRINTED), None), [f2u(6.0)] * 4) | 96 | self.assertEqual(self.run_ps(listing(PRINTED), None), [f2u(6.0)] * 4) |
diff --git a/tests/semantic/test_library_compute_forms.py b/tests/semantic/test_library_compute_forms.py index 0e1c84bf4..a650b240c 100644 --- a/tests/semantic/test_library_compute_forms.py +++ b/tests/semantic/test_library_compute_forms.py | |||
| @@ -100,6 +100,16 @@ class LibraryComputeForms(unittest.TestCase): | |||
| 100 | self.assertEqual((recovered["pc"], recovered["enc"]), (0, blob.hex())) | 100 | self.assertEqual((recovered["pc"], recovered["enc"]), (0, blob.hex())) |
| 101 | self.assertFalse(rdna2_decode.decode_bytes(blob[:4])["insns"]) | 101 | self.assertFalse(rdna2_decode.decode_bytes(blob[:4])["insns"]) |
| 102 | 102 | ||
| 103 | def test_vopcx_dpp_recovery(self): | ||
| 104 | # SHADER-VOPCX-DPP: the same pass recovers v_cmpx in DPP form (opcode 0x14, v_cmpx_gt_f32), which prints no | ||
| 105 | # destination: the game's form, quad_perm:[2,3,0,1] bound_ctrl:1 fi:1 with src1 negated (fa 02 28 7c 01 4e 4c ff). | ||
| 106 | blob = bytes.fromhex("fa02287c014e4cff") | ||
| 107 | row, = rdna2_decode.decode_bytes(blob, wave32=True)["insns"] | ||
| 108 | self.assertEqual((row["op"], len(row["args"]), row["args"][0]["r"]), ("v_cmpx_gt_f32_dpp", 2, 1)) | ||
| 109 | junk = {"pc": 4, "enc": blob[4:].hex(), "op": "s_nop", "args": [{"k": "imm", "v": 0}], "mods": []} | ||
| 110 | recovered, = rdna2spirv.restore_vcc_tuples([junk], blob, 0, len(blob), wave32=True) | ||
| 111 | self.assertEqual((recovered["pc"], recovered["enc"], recovered["op"]), (0, blob.hex(), "v_cmpx_gt_f32_dpp")) | ||
| 112 | |||
| 103 | def test_vopc_dpp_reads_the_selected_lane(self): | 113 | def test_vopc_dpp_reads_the_selected_lane(self): |
| 104 | spv, _ = translate_fspx(fixture("vopc_dpp_compare")[:-1], wave32=False) | 114 | spv, _ = translate_fspx(fixture("vopc_dpp_compare")[:-1], wave32=False) |
| 105 | memory = {} | 115 | memory = {} |
diff --git a/tests/semantic/test_loop_ballot_barrier.py b/tests/semantic/test_loop_ballot_barrier.py index 9f5c6ffb2..103dc94bd 100644 --- a/tests/semantic/test_loop_ballot_barrier.py +++ b/tests/semantic/test_loop_ballot_barrier.py | |||
| @@ -1059,11 +1059,12 @@ class DivergentLoopBallotTests(unittest.TestCase): | |||
| 1059 | configs = [ | 1059 | configs = [ |
| 1060 | ("native_64", 64, 64, False, True), | 1060 | ("native_64", 64, 64, False, True), |
| 1061 | ("native_128", 128, 64, False, True), | 1061 | ("native_128", 128, 64, False, True), |
| 1062 | # Single-wave inline exchange barriers in this loop require a round fallback. | 1062 | # a reducible multi-block loop takes the structured emulation since #2089 (no round OpSwitch); a |
| 1063 | # single wave keeps its exchange barriers under `%pc`-only guards (inline_all, no round fallback) ... | ||
| 1063 | ("emulate_64_sg32", 64, 32, True, True), | 1064 | ("emulate_64_sg32", 64, 32, True, True), |
| 1064 | ("emulate_128_sg32", 128, 32, True, True), | 1065 | ("emulate_128_sg32", 128, 32, True, True), |
| 1065 | ("emulate_40_partial_sg32", 40, 32, True, True), | 1066 | ("emulate_40_partial_sg32", 40, 32, True, True), |
| 1066 | # Forced dispatch must produce the same per-lane reference words. | 1067 | # ... and --dispatch-loop keeps the round scheduler: both must give the native words |
| 1067 | ("emulate_64_sg32_rounds", 64, 32, True, False), | 1068 | ("emulate_64_sg32_rounds", 64, 32, True, False), |
| 1068 | ("emulate_128_sg32_rounds", 128, 32, True, False), | 1069 | ("emulate_128_sg32_rounds", 128, 32, True, False), |
| 1069 | ("emulate_40_partial_sg32_rounds", 40, 32, True, False), | 1070 | ("emulate_40_partial_sg32_rounds", 40, 32, True, False), |
| @@ -1073,10 +1074,14 @@ class DivergentLoopBallotTests(unittest.TestCase): | |||
| 1073 | spv, gen = _translate_cs("cs_div_loop_" + label, prog, threads=threads, emulate=emulate, | 1074 | spv, gen = _translate_cs("cs_div_loop_" + label, prog, threads=threads, emulate=emulate, |
| 1074 | structured=structured) | 1075 | structured=structured) |
| 1075 | if emulate: | 1076 | if emulate: |
| 1076 | use_hybrid = structured and threads == 128 | 1077 | self.assertEqual(gen.control_flow, |
| 1077 | expected_flow = "emulated wave64 structured" if use_hybrid else "emulated wave64 rounds" | 1078 | "emulated wave64 structured" if structured else "emulated wave64 rounds") |
| 1078 | self.assertEqual(gen.control_flow, expected_flow) | 1079 | if structured and threads <= 64: |
| 1079 | self.assertFalse(rdna2spirv.barriers_under_control_flow(spv)) | 1080 | self.assertEqual(gen.emulate_plan["mode"], "inline_all") |
| 1081 | self.assertNotIn("OpSwitch", spv) | ||
| 1082 | else: | ||
| 1083 | # multi-wave (and the round scheduler): every barrier in uniform control flow | ||
| 1084 | self.assertFalse(rdna2spirv.barriers_under_control_flow(spv)) | ||
| 1080 | mem = run_compute_workgroup(spv, threads, sg_sz, push_constants=VSHARP) | 1085 | mem = run_compute_workgroup(spv, threads, sg_sz, push_constants=VSHARP) |
| 1081 | want = expected_for(threads) | 1086 | want = expected_for(threads) |
| 1082 | for t in range(threads): | 1087 | for t in range(threads): |
| @@ -1394,7 +1399,7 @@ class BarrierInLoopsTests(unittest.TestCase): | |||
| 1394 | """ | 1399 | """ |
| 1395 | prog = self._ring_shift_loop_cs(wave64=True, threads=128, iters=5) | 1400 | prog = self._ring_shift_loop_cs(wave64=True, threads=128, iters=5) |
| 1396 | spv, gen = _translate_cs("cs_bar_loop_w64_emulate", prog, threads=128, lds_bytes=512, emulate=True) | 1401 | spv, gen = _translate_cs("cs_bar_loop_w64_emulate", prog, threads=128, lds_bytes=512, emulate=True) |
| 1397 | self.assertEqual(gen.control_flow, "emulated wave64 rounds") | 1402 | self.assertEqual(gen.control_flow, "emulated wave64 structured") # the loop is in the tail scheduler |
| 1398 | for rev in (False, True): | 1403 | for rev in (False, True): |
| 1399 | with self.subTest(reverse_subgroups=rev): | 1404 | with self.subTest(reverse_subgroups=rev): |
| 1400 | mem = run_compute_workgroup(spv, 128, 32, push_constants=VSHARP, reverse_subgroups=rev) | 1405 | mem = run_compute_workgroup(spv, 128, 32, push_constants=VSHARP, reverse_subgroups=rev) |
| @@ -1467,7 +1472,7 @@ class BarrierInLoopsTests(unittest.TestCase): | |||
| 1467 | spv_em, gen_em = _translate_cs( | 1472 | spv_em, gen_em = _translate_cs( |
| 1468 | "cs_div_bar_em", self._wave_divergent_barrier_loop_cs(True), threads=128, lds_bytes=512, emulate=True | 1473 | "cs_div_bar_em", self._wave_divergent_barrier_loop_cs(True), threads=128, lds_bytes=512, emulate=True |
| 1469 | ) | 1474 | ) |
| 1470 | self.assertEqual(gen_em.control_flow, "emulated wave64 rounds") | 1475 | self.assertEqual(gen_em.control_flow, "emulated wave64 structured") # the loop is in the tail scheduler |
| 1471 | mem_em = run_compute_workgroup(spv_em, 128, 32, push_constants=VSHARP) | 1476 | mem_em = run_compute_workgroup(spv_em, 128, 32, push_constants=VSHARP) |
| 1472 | self.assertEqual([mem_em[4 * t] for t in range(128)], [2] * 64 + [4] * 64) | 1477 | self.assertEqual([mem_em[4 * t] for t in range(128)], [2] * 64 + [4] * 64) |
| 1473 | 1478 | ||
diff --git a/tests/semantic/test_loop_iteration_guard.py b/tests/semantic/test_loop_iteration_guard.py index a990031dd..e6666f81a 100644 --- a/tests/semantic/test_loop_iteration_guard.py +++ b/tests/semantic/test_loop_iteration_guard.py | |||
| @@ -32,18 +32,17 @@ class LoopGuardTests(unittest.TestCase): | |||
| 32 | for lanes in (32, 64): | 32 | for lanes in (32, 64): |
| 33 | with self.subTest(lanes=lanes): | 33 | with self.subTest(lanes=lanes): |
| 34 | (plain, plain_flow), (guarded, flow) = module(lanes, 0), module(lanes, 16) | 34 | (plain, plain_flow), (guarded, flow) = module(lanes, 0), module(lanes, 16) |
| 35 | expected_flow = "structured" if lanes == 32 else "emulated wave64 rounds" | 35 | # A single-wave emulated program keeps the structured form (no round fallback for `inline_all`). |
| 36 | expected_flow = "structured" if lanes == 32 else "emulated wave64 structured" | ||
| 36 | self.assertEqual((plain_flow, flow), (expected_flow, expected_flow)) | 37 | self.assertEqual((plain_flow, flow), (expected_flow, expected_flow)) |
| 37 | self.assertNotIn("%loop_guard_", plain) | 38 | self.assertNotIn("%loop_guard_", plain) |
| 38 | self.assertIn("%loop_guard_", guarded) | 39 | self.assertIn("%loop_guard_", guarded) |
| 39 | self.assertEqual(execute(plain, lanes, 6), [6] * lanes) | 40 | self.assertEqual(execute(plain, lanes, 6), [6] * lanes) |
| 40 | self.assertEqual(execute(guarded, lanes, 6), [6] * lanes) | 41 | self.assertEqual(execute(guarded, lanes, 6), [6] * lanes) |
| 41 | # Round zero initializes the guest PC. Each remaining round adds two. | 42 | self.assertEqual(execute(guarded, lanes, 1), [32] * lanes) |
| 42 | expected = 32 if lanes == 32 else 30 | ||
| 43 | self.assertEqual(execute(guarded, lanes, 1), [expected] * lanes) | ||
| 44 | 43 | ||
| 45 | def test_round_budget_uses_the_scheduler_exit(self): | 44 | def test_round_budget_uses_the_scheduler_exit(self): |
| 46 | text, flow = module(64, 16) | 45 | text, flow = module(64, 16, structured=False) |
| 47 | self.assertEqual(flow, "emulated wave64 rounds") | 46 | self.assertEqual(flow, "emulated wave64 rounds") |
| 48 | # Counters and synchronization execute on the final round too. The guard | 47 | # Counters and synchronization execute on the final round too. The guard |
| 49 | # augments the scheduler's termination condition at its original branch. | 48 | # augments the scheduler's termination condition at its original branch. |
diff --git a/tests/semantic/test_wave64_emulate_opt.py b/tests/semantic/test_wave64_emulate_opt.py index 6593a668b..995504234 100644 --- a/tests/semantic/test_wave64_emulate_opt.py +++ b/tests/semantic/test_wave64_emulate_opt.py | |||
| @@ -1281,9 +1281,12 @@ class LocalExecFoldTests(unittest.TestCase): | |||
| 1281 | class StructuredEmulationTests(unittest.TestCase): | 1281 | class StructuredEmulationTests(unittest.TestCase): |
| 1282 | """Structured --wave64-emulate (`inline_all` for <=64 threads, `structured_hybrid` for >64 threads).""" | 1282 | """Structured --wave64-emulate (`inline_all` for <=64 threads, `structured_hybrid` for >64 threads).""" |
| 1283 | 1283 | ||
| 1284 | def test_single_wave_round_fallback_and_loop_carried_war(self): | 1284 | def test_single_wave_inline_all_zero_switch_and_loop_carried_war(self): |
| 1285 | # 64-thread and partial 40-thread shaders with live-out scalars, loop-carried store->load->store WAR/RAW, | 1285 | # 64-thread and partial 40-thread shaders with live-out scalars, loop-carried store->load->store WAR/RAW, |
| 1286 | # and v_readfirstlane require uniform exchange barriers on both scheduling orders. | 1286 | # and v_readfirstlane emit 0 OpSwitch cases and 0 x_spills while staying bit-exact on both scheduling |
| 1287 | # orders. Their exchange barriers sit under `%pc`-only guards, which a single wave takes as one, so the | ||
| 1288 | # barrier fallback of translate() does not apply to them (docs/design.md, "Wave64 emulation: | ||
| 1289 | # single-wave barrier fallback"). | ||
| 1287 | insns = [ | 1290 | insns = [ |
| 1288 | ("s_mov_b64 exec, -1", 4), | 1291 | ("s_mov_b64 exec, -1", 4), |
| 1289 | ("s_mov_b32 s16, 10", 4), | 1292 | ("s_mov_b32 s16, 10", 4), |
| @@ -1314,10 +1317,11 @@ class StructuredEmulationTests(unittest.TestCase): | |||
| 1314 | for threads in (64, 40): | 1317 | for threads in (64, 40): |
| 1315 | with self.subTest(threads=threads): | 1318 | with self.subTest(threads=threads): |
| 1316 | spv, gen = _translate_encoded(f"cs_inline_{threads}", insns, (threads, 1, 1), emulate=True) | 1319 | spv, gen = _translate_encoded(f"cs_inline_{threads}", insns, (threads, 1, 1), emulate=True) |
| 1317 | self.assertEqual(gen.control_flow, "emulated wave64 rounds") | 1320 | self.assertEqual(gen.control_flow, "emulated wave64 structured") |
| 1318 | self.assertIsNone(gen.emulate_plan) | 1321 | self.assertEqual(gen.emulate_plan["mode"], "inline_all") |
| 1319 | self.assertIn("OpSwitch", spv) | 1322 | self.assertNotIn("OpSwitch", spv) |
| 1320 | self.assertFalse(rdna2spirv.barriers_under_control_flow(spv)) | 1323 | self.assertEqual(len(gen.x_spills), 0) |
| 1324 | self.assertNotIn("OpGroupNonUniform", spv) | ||
| 1321 | for rev in (False, True): | 1325 | for rev in (False, True): |
| 1322 | mem, _ = run_emulated_workgroup(spv, (threads, 1, 1), push_constants=VSHARP + [0] * 28, reverse_order=rev) | 1326 | mem, _ = run_emulated_workgroup(spv, (threads, 1, 1), push_constants=VSHARP + [0] * 28, reverse_order=rev) |
| 1323 | # Reference simulation | 1327 | # Reference simulation |
| @@ -1429,8 +1433,8 @@ class StructuredEmulationTests(unittest.TestCase): | |||
| 1429 | want = isa_v4_before_sbar(l) + isa_v4_before_sbar(l ^ 64) | 1433 | want = isa_v4_before_sbar(l) + isa_v4_before_sbar(l ^ 64) |
| 1430 | self.assertEqual(mem_new[1024 + l * 4], want, f"lane {l} rev={rev}") | 1434 | self.assertEqual(mem_new[1024 + l * 4], want, f"lane {l} rev={rev}") |
| 1431 | 1435 | ||
| 1432 | def test_multiwave_divergent_sbarrier_falls_back_to_rounds(self): | 1436 | def test_multiwave_divergent_sbarrier_stays_in_tail_rounds(self): |
| 1433 | # Wave 0 hits s_barrier in one arm while Wave 1 hits s_barrier in another -> MUST keep global rounds. | 1437 | # Wave 0 hits s_barrier in one arm while Wave 1 hits s_barrier in another -> both arms MUST keep the rounds. |
| 1434 | insns = [ | 1438 | insns = [ |
| 1435 | ("s_mov_b64 exec, -1", 4), | 1439 | ("s_mov_b64 exec, -1", 4), |
| 1436 | ("v_lshlrev_b32_e32 v2, 2, v0", 4), | 1440 | ("v_lshlrev_b32_e32 v2, 2, v0", 4), |
| @@ -1448,11 +1452,49 @@ class StructuredEmulationTests(unittest.TestCase): | |||
| 1448 | ("s_endpgm", 4), | 1452 | ("s_endpgm", 4), |
| 1449 | ] | 1453 | ] |
| 1450 | spv, gen = _translate_encoded("cs_div_sbar_w64", insns, (128, 1, 1), emulate=True, rsrc2=0x20088) | 1454 | spv, gen = _translate_encoded("cs_div_sbar_w64", insns, (128, 1, 1), emulate=True, rsrc2=0x20088) |
| 1451 | self.assertEqual(gen.control_flow, "emulated wave64 rounds") | 1455 | self.assertEqual(gen.control_flow, "emulated wave64 structured") |
| 1452 | self.assertIsNone(gen.emulate_plan) | 1456 | plan = gen.emulate_plan |
| 1453 | mem, _ = run_emulated_workgroup(spv, (128, 1, 1), push_constants=VSHARP + [0] * 28) | 1457 | self.assertEqual(plan["inline_blocks"], {0}) |
| 1454 | for lane in range(64): | 1458 | self.assertEqual(plan["tail_blocks"], {1, 2}) # both s_barrier arms |
| 1455 | self.assertEqual(mem[lane * 4], lane + 64, f"lane {lane}") | 1459 | for rev in (False, True): |
| 1460 | mem, _ = run_emulated_workgroup(spv, (128, 1, 1), push_constants=VSHARP + [0] * 28, reverse_order=rev) | ||
| 1461 | for lane in range(64): | ||
| 1462 | self.assertEqual(mem[lane * 4], lane + 64, f"lane {lane}, reverse={rev}") | ||
| 1463 | |||
| 1464 | def test_multiwave_guarded_sbarrier_epilogue_keeps_body_structured(self): | ||
| 1465 | # The shape of an NGG mesh epilogue: a body with a wave vote, then a guarded s_barrier both waves skip or | ||
| 1466 | # reach (s_cbranch_vccnz), then a top-level s_barrier. Only the part from the guard on stays in rounds. | ||
| 1467 | def insns(vcc): | ||
| 1468 | return [ | ||
| 1469 | ("s_mov_b64 exec, -1", 4), | ||
| 1470 | ("v_lshlrev_b32_e32 v2, 2, v0", 4), | ||
| 1471 | ("v_add_nc_u32_e32 v5, 7, v0", 4), | ||
| 1472 | ("v_readfirstlane_b32 s5, v0", 4), | ||
| 1473 | ("v_add_nc_u32_e32 v5, s5, v5", 4), | ||
| 1474 | ("ds_write_b32 v2, v5", 8), | ||
| 1475 | (f"s_mov_b64 vcc, {vcc}", 4), | ||
| 1476 | ("s_cbranch_vccnz 1", 4), | ||
| 1477 | ("s_barrier", 4), | ||
| 1478 | ("s_barrier", 4), | ||
| 1479 | ("v_xor_b32_e32 v3, 64, v0", 4), | ||
| 1480 | ("v_lshlrev_b32_e32 v3, 2, v3", 4), | ||
| 1481 | ("ds_read_b32 v4, v3", 8), | ||
| 1482 | ("buffer_store_dword v4, v2, s[0:3], 0 offen", 8), | ||
| 1483 | ("s_endpgm", 4), | ||
| 1484 | ] | ||
| 1485 | for vcc in ("0", "-1"): | ||
| 1486 | spv, gen = _translate_encoded("cs_sbar_epilogue_w64", insns(vcc), (128, 1, 1), emulate=True, | ||
| 1487 | rsrc2=0x20088) | ||
| 1488 | self.assertEqual(gen.control_flow, "emulated wave64 structured") | ||
| 1489 | plan = gen.emulate_plan | ||
| 1490 | self.assertEqual(plan["inline_blocks"], {0}) | ||
| 1491 | self.assertEqual(plan["tail_blocks"], {1, 2}) | ||
| 1492 | for rev in (False, True): | ||
| 1493 | mem, _ = run_emulated_workgroup(spv, (128, 1, 1), push_constants=VSHARP + [0] * 28, | ||
| 1494 | reverse_order=rev) | ||
| 1495 | for lane in range(128): | ||
| 1496 | other = lane ^ 64 | ||
| 1497 | self.assertEqual(mem[lane * 4], other + 7 + (other & 64), f"lane {lane}, vcc={vcc}, rev={rev}") | ||
| 1456 | 1498 | ||
| 1457 | def test_monotone_dirty_transfer_no_phantom_clear_after_x_round(self): | 1499 | def test_monotone_dirty_transfer_no_phantom_clear_after_x_round(self): |
| 1458 | # Regression: an x_round (v_readlane_b32) clears g.x_dirty in codegen before a subsequent | 1500 | # Regression: an x_round (v_readlane_b32) clears g.x_dirty in codegen before a subsequent |
diff --git a/tests/semantic/test_wave64_halves.py b/tests/semantic/test_wave64_halves.py index 15a942654..b112ce331 100644 --- a/tests/semantic/test_wave64_halves.py +++ b/tests/semantic/test_wave64_halves.py | |||
| @@ -1348,5 +1348,25 @@ class PixelShaders(unittest.TestCase): | |||
| 1348 | self.assertEqual(slots64, slots32) | 1348 | self.assertEqual(slots64, slots32) |
| 1349 | 1349 | ||
| 1350 | 1350 | ||
| 1351 | class VcmpxDppExec(unittest.TestCase): | ||
| 1352 | """SHADER-VOPCX-DPP review: a v_cmpx in DPP form writes EXEC like any v_cmpx, and the cross-lane branch of the | ||
| 1353 | analysis must not drop that write. The repro from the review: after the compare, v5 = s4 is not one value in every | ||
| 1354 | lane, so v_readlane_b32 of it is not a uniform read.""" | ||
| 1355 | |||
| 1356 | BODY = ["v_mov_b32_e32 v5, 0", "s_mov_b64 s[10:11], exec", None, "v_mov_b32_e32 v5, s4", "s_mov_b64 exec, s[10:11]", | ||
| 1357 | "v_readlane_b32 s5, v5, 0", "v_mov_b32_e32 v6, s5"] | ||
| 1358 | |||
| 1359 | def meta(self, compare): | ||
| 1360 | body = [compare if line is None else line for line in self.BODY] | ||
| 1361 | return meta_of("ps_vcmpx_dpp_exec", ps(body))[0] | ||
| 1362 | |||
| 1363 | def test_dpp_form_is_classified_as_the_e32_form(self): | ||
| 1364 | e32 = self.meta("v_cmpx_gt_f32_e32 v1, v2") | ||
| 1365 | dpp = self.meta("v_cmpx_gt_f32_dpp v1, -v1 quad_perm:[2,3,0,1] row_mask:0xf bank_mask:0xf bound_ctrl:1 fi:1") | ||
| 1366 | self.assertEqual(e32, ("C", ["cross-lane"], [])) | ||
| 1367 | self.assertEqual(dpp, e32) | ||
| 1368 | self.assertNotIn("readlane-uniform", dpp[2]) | ||
| 1369 | |||
| 1370 | |||
| 1351 | if __name__ == "__main__": | 1371 | if __name__ == "__main__": |
| 1352 | unittest.main() | 1372 | unittest.main() |
diff --git a/tests/semantic/test_wave64_single_wave_barrier.py b/tests/semantic/test_wave64_single_wave_barrier.py new file mode 100644 index 000000000..4723393e3 --- /dev/null +++ b/tests/semantic/test_wave64_single_wave_barrier.py | |||
| @@ -0,0 +1,123 @@ | |||
| 1 | """A single-wave emulated program keeps its exchange barriers in the structured form (docs/design.md, "Wave64 | ||
| 2 | emulation: single-wave barrier fallback"). | ||
| 3 | |||
| 4 | `translate()` re-translates an emulated program as the round loop when an `OpControlBarrier` sits under a branch or | ||
| 5 | loop, because a barrier only part of the workgroup reaches hangs NVIDIA. A one-wave workgroup (`inline_all` plan) | ||
| 6 | does not need that: every guard around its barriers tests only `%pc`, which all 64 invocations hold alike. The | ||
| 7 | fixture puts a cross-half `v_readlane_b32` (an exchange behind a barrier) in a uniform loop and in a uniform branch. | ||
| 8 | |||
| 9 | python -I tests/semantic/test_wave64_single_wave_barrier.py -v | ||
| 10 | """ | ||
| 11 | import os | ||
| 12 | import re | ||
| 13 | import sys | ||
| 14 | import unittest | ||
| 15 | from pathlib import Path | ||
| 16 | |||
| 17 | HERE = os.path.dirname(os.path.abspath(__file__)) | ||
| 18 | if HERE not in sys.path: | ||
| 19 | sys.path.insert(0, HERE) | ||
| 20 | |||
| 21 | from test_loop_ballot_barrier import _translate_cs, rdna2spirv | ||
| 22 | from spirv_mini_interp import run_workgroup | ||
| 23 | |||
| 24 | FIXTURE = Path(HERE) / "fixtures" / "wave64_single_wave_barrier.asm" | ||
| 25 | _DEF = re.compile(r"^\s*(%[\w.]+) = (Op\w+)([^\n]*)$", re.M) | ||
| 26 | _HEAD = re.compile(r"^\s*(?:(%[\w.]+) = )?(OpLabel|OpSelectionMerge|OpLoopMerge|OpBranchConditional|OpControlBarrier)" | ||
| 27 | r"\b([^\n]*)$", re.M) | ||
| 28 | |||
| 29 | |||
| 30 | def module(lanes, structured=True): | ||
| 31 | lines = [s for s in FIXTURE.read_text().splitlines() if s and not s.startswith(";")] | ||
| 32 | lines.insert(0, "s_mov_b64 exec, -1") | ||
| 33 | return _translate_cs("cs_single_wave_barrier", lines, threads=lanes, emulate=True, structured=structured) | ||
| 34 | |||
| 35 | |||
| 36 | def execute(text, lanes, s4): | ||
| 37 | mem = run_workgroup( | ||
| 38 | text, lanes, 32, | ||
| 39 | inputs_for=lambda i: {"%wg_id": (0, 0, 0), "%local_id": (i, 0, 0), "%sg_lane": i % 32, "%local_index": i}, | ||
| 40 | push_constants=[0, 0, lanes * 4, 0x31016FAC, s4] + [0] * 27, memory={}) | ||
| 41 | return [mem[i * 4] for i in range(lanes)] | ||
| 42 | |||
| 43 | |||
| 44 | def barrier_guard_loads(text): | ||
| 45 | """For every OpControlBarrier, the variables the conditions of its enclosing constructs load. | ||
| 46 | |||
| 47 | A selection's condition is the OpBranchConditional after its OpSelectionMerge; a loop's are the conditional | ||
| 48 | branches inside it that leave it or go back to its header.""" | ||
| 49 | defs = {name: (op, rest.split()) for name, op, rest in _DEF.findall(text)} | ||
| 50 | |||
| 51 | def loads(value, seen): | ||
| 52 | if value in seen or value not in defs: | ||
| 53 | return set() | ||
| 54 | seen.add(value) | ||
| 55 | op, args = defs[value] | ||
| 56 | if op == "OpLoad": | ||
| 57 | return {args[1]} | ||
| 58 | found = set() | ||
| 59 | for arg in args: | ||
| 60 | if arg.startswith("%"): | ||
| 61 | found |= loads(arg, seen) | ||
| 62 | return found | ||
| 63 | |||
| 64 | events = [(m.start(), m.group(1), m.group(2), m.group(3).split()) for m in _HEAD.finditer(text)] | ||
| 65 | label_at = {name: at for at, name, op, _ in events if op == "OpLabel"} | ||
| 66 | constructs, header = [], None | ||
| 67 | for i, (at, name, op, args) in enumerate(events): | ||
| 68 | if op == "OpLabel": | ||
| 69 | header = name | ||
| 70 | elif op in ("OpSelectionMerge", "OpLoopMerge"): | ||
| 71 | constructs.append((op, header, args[0], i)) | ||
| 72 | result = [] | ||
| 73 | for at, _, op, _ in events: | ||
| 74 | if op != "OpControlBarrier": | ||
| 75 | continue | ||
| 76 | loaded = set() | ||
| 77 | for kind, head, merge, index in constructs: | ||
| 78 | if not label_at[head] <= at < label_at[merge]: | ||
| 79 | continue | ||
| 80 | if kind == "OpSelectionMerge": | ||
| 81 | conds = [events[index + 1][3][0]] | ||
| 82 | else: | ||
| 83 | conds = [args[0] for b_at, _, b_op, args in events | ||
| 84 | if b_op == "OpBranchConditional" and label_at[head] <= b_at < label_at[merge] | ||
| 85 | and {merge, head} & set(args[1:])] | ||
| 86 | for cond in conds: | ||
| 87 | loaded |= loads(cond, set()) | ||
| 88 | result.append(loaded) | ||
| 89 | return result | ||
| 90 | |||
| 91 | |||
| 92 | class SingleWaveBarrierTests(unittest.TestCase): | ||
| 93 | def test_single_wave_stays_structured_with_pc_only_guards(self): | ||
| 94 | text, gen = module(64) | ||
| 95 | self.assertEqual(gen.control_flow, "emulated wave64 structured") | ||
| 96 | self.assertEqual(gen.emulate_plan["mode"], "inline_all") | ||
| 97 | self.assertNotIn("OpSwitch", text) | ||
| 98 | # The barriers are under control flow (so the multi-wave fallback would fire), but only under `%pc`. | ||
| 99 | self.assertTrue(rdna2spirv.barriers_under_control_flow(text)) | ||
| 100 | guards = barrier_guard_loads(text) | ||
| 101 | self.assertTrue(any(guards), "no barrier inside the loop or the branch") | ||
| 102 | for loaded in guards: | ||
| 103 | self.assertLessEqual(loaded, {"%pc"}) | ||
| 104 | |||
| 105 | def test_structured_and_round_forms_agree(self): | ||
| 106 | # lane 40 after each of the 3 iterations: 41 + 42 + 43; the branch adds lane 41's 41 + 3 + 100. | ||
| 107 | structured, _ = module(64) | ||
| 108 | rounds, gen = module(64, structured=False) | ||
| 109 | self.assertEqual(gen.control_flow, "emulated wave64 rounds") | ||
| 110 | for s4, want in ((0, 126), (1, 126 + 144)): | ||
| 111 | with self.subTest(s4=s4): | ||
| 112 | self.assertEqual(execute(structured, 64, s4), [want] * 64) | ||
| 113 | self.assertEqual(execute(rounds, 64, s4), [want] * 64) | ||
| 114 | |||
| 115 | def test_partial_single_wave_is_structured_too(self): | ||
| 116 | text, gen = module(48) | ||
| 117 | self.assertEqual(gen.control_flow, "emulated wave64 structured") | ||
| 118 | self.assertEqual(gen.emulate_plan["mode"], "inline_all") | ||
| 119 | self.assertEqual(execute(text, 48, 1), [126 + 144] * 48) | ||
| 120 | |||
| 121 | |||
| 122 | if __name__ == "__main__": | ||
| 123 | unittest.main() | ||
diff --git a/tests/test_dds_png_dx10.py b/tests/test_dds_png_dx10.py index a0d55d324..159d542e2 100644 --- a/tests/test_dds_png_dx10.py +++ b/tests/test_dds_png_dx10.py | |||
| @@ -63,6 +63,19 @@ class SingleChannelTests(unittest.TestCase): | |||
| 63 | self.assertEqual((width, height), (4, 2)) | 63 | self.assertEqual((width, height), (4, 2)) |
| 64 | self.assertEqual(rgba, b"".join(bytes((r, 0, 0, 255)) for r in (0, 0, 128, 64, 255, 255, 0, 0))) | 64 | self.assertEqual(rgba, b"".join(bytes((r, 0, 0, 255)) for r in (0, 0, 128, 64, 255, 255, 0, 0))) |
| 65 | 65 | ||
| 66 | def test_byte_unorm_masks_respect_pitch_and_channel_order(self): | ||
| 67 | for dxgi, fmt, payload, expected in ( | ||
| 68 | (61, "R8_UNORM", bytes([1, 2, 99, 99, 3, 4]), bytes([1,0,0,255, 2,0,0,255, 3,0,0,255, 4,0,0,255])), | ||
| 69 | (49, "R8G8_UNORM", bytes([1,2,3,4, 99,99, 5,6,7,8]), bytes([1,2,0,255, 3,4,0,255, 5,6,0,255, 7,8,0,255])), | ||
| 70 | ): | ||
| 71 | with self.subTest(fmt=fmt): | ||
| 72 | data = _dx10(2, 2, dxgi, payload, pitch=4 if dxgi == 61 else 6) | ||
| 73 | self.assertEqual(dds.parse_dds_header(data)["format"], fmt) | ||
| 74 | self.assertEqual(dds.decode_dds(data), (2, 2, expected)) | ||
| 75 | self.assertEqual(dds.dds_to_png_bytes(data), dds.encode_png(2, 2, expected)) | ||
| 76 | with self.assertRaises(dds.DdsError): | ||
| 77 | dds.decode_dds(data[:-1]) | ||
| 78 | |||
| 66 | def test_r16_unorm_red_opaque(self): | 79 | def test_r16_unorm_red_opaque(self): |
| 67 | px = struct.pack("<HHHH", 0, 65535, 32768, 257) | 80 | px = struct.pack("<HHHH", 0, 65535, 32768, 257) |
| 68 | _, _, rgba = dds.decode_dds(_dx10(2, 2, 56, px)) | 81 | _, _, rgba = dds.decode_dds(_dx10(2, 2, 56, px)) |
| @@ -74,11 +87,107 @@ class SingleChannelTests(unittest.TestCase): | |||
| 74 | self.assertEqual(rgba[3::4], bytes([1, 2, 3, 4, 5, 6])) | 87 | self.assertEqual(rgba[3::4], bytes([1, 2, 3, 4, 5, 6])) |
| 75 | self.assertEqual(set(rgba[0::4]) | set(rgba[1::4]) | set(rgba[2::4]), {0}) | 88 | self.assertEqual(set(rgba[0::4]) | set(rgba[1::4]) | set(rgba[2::4]), {0}) |
| 76 | 89 | ||
| 90 | def test_rgba16_unorm_normalizes_all_channels_with_row_padding(self): | ||
| 91 | payload = struct.pack("<4H", 0, 65535, 32768, 257) + b"pad!" | ||
| 92 | payload += struct.pack("<4H", 65535, 0, 32767, 32768) | ||
| 93 | data = _dx10(1, 2, 11, payload, pitch=12) | ||
| 94 | self.assertEqual(dds.parse_dds_header(data)["format"], "RGBA16_UNORM") | ||
| 95 | self.assertEqual(dds.decode_dds(data)[2], bytes(( | ||
| 96 | 0, 255, 128, 1, | ||
| 97 | 255, 0, 127, 128, | ||
| 98 | ))) | ||
| 99 | |||
| 100 | def test_rgba16_snorm_maps_signed_extremes_and_zero(self): | ||
| 101 | payload = struct.pack("<4h", -32768, -32767, 0, 32767) | ||
| 102 | data = _dx10(1, 1, 13, payload) | ||
| 103 | self.assertEqual(dds.parse_dds_header(data)["format"], "RGBA16_SNORM") | ||
| 104 | self.assertEqual(dds.decode_dds(data)[2], bytes((0, 0, 128, 255))) | ||
| 105 | |||
| 106 | def test_rgba16_snorm_padded_rows_and_truncation(self): | ||
| 107 | payload = struct.pack("<4h", -16384, 16384, -32768, 32767) + b"pad!" | ||
| 108 | payload += struct.pack("<4h", 0, 0, 0, 0) | ||
| 109 | data = _dx10(1, 2, 13, payload, pitch=12) | ||
| 110 | self.assertEqual(dds.decode_dds(data)[2], bytes((64, 191, 0, 255, 128, 128, 128, 128))) | ||
| 111 | with self.assertRaises(dds.DdsError): | ||
| 112 | dds.decode_dds(_dx10(1, 1, 13, bytes(7))) | ||
| 113 | |||
| 77 | def test_truncated_rejected(self): | 114 | def test_truncated_rejected(self): |
| 78 | for dxgi, n in ((56, 7), (65, 3), (41, 15)): | 115 | for dxgi, n in ((56, 7), (65, 3), (41, 15)): |
| 79 | with self.assertRaises(dds.DdsError): | 116 | with self.assertRaises(dds.DdsError): |
| 80 | dds.decode_dds(_dx10(2, 2, dxgi, bytes(n))) | 117 | dds.decode_dds(_dx10(2, 2, dxgi, bytes(n))) |
| 81 | 118 | ||
| 82 | 119 | ||
| 120 | def _opaque(*pairs): | ||
| 121 | """RGBA bytes for (red, green) pairs with blue 0 and alpha 255.""" | ||
| 122 | return b"".join(bytes((r, g, 0, 255)) for r, g in pairs) | ||
| 123 | |||
| 124 | |||
| 125 | class PackedAndIntegerTests(unittest.TestCase): | ||
| 126 | """Hand-built texels for the formats added by #2218, #2314, #2317, #2319, #2320, #2321, #2323 and #2324. | ||
| 127 | |||
| 128 | Each case is 2x2 with a padded row pitch, so the second row starts after the padding bytes, | ||
| 129 | and a payload one byte short must be refused. | ||
| 130 | """ | ||
| 131 | |||
| 132 | def check(self, dxgi, fmt, row0, row1, pitch, expected): | ||
| 133 | payload = row0 + b"\xee" * (pitch - len(row0)) + row1 | ||
| 134 | data = _dx10(2, 2, dxgi, payload, pitch=pitch) | ||
| 135 | self.assertEqual(dds.parse_dds_header(data)["format"], fmt) | ||
| 136 | self.assertEqual(dds.decode_dds(data), (2, 2, expected)) | ||
| 137 | self.assertEqual(dds.dds_to_png_bytes(data), dds.encode_png(2, 2, expected)) | ||
| 138 | with self.assertRaises(dds.DdsError): | ||
| 139 | dds.decode_dds(data[:-1]) | ||
| 140 | |||
| 141 | def test_r9g9b9e5_sharedexp(self): | ||
| 142 | def texel(r, g, b, e): | ||
| 143 | return struct.pack("<I", r | (g << 9) | (b << 18) | (e << 27)) | ||
| 144 | # value = mantissa * 2^(e - 24): (256, 128, 0) at e=16 is (1, 0.5, 0); 511/512 rounds to 255, 64/512 to 32, | ||
| 145 | # 1/512 to 0; 300 * 2^-4 saturates; e=0 is 2^-24 per step, so 511 * 2^-24 is still 0. | ||
| 146 | self.check(67, "R9G9B9E5_FLOAT", | ||
| 147 | texel(256, 128, 0, 16) + texel(511, 64, 1, 15), | ||
| 148 | texel(300, 0, 0, 20) + texel(511, 511, 511, 0), 12, | ||
| 149 | bytes((255, 128, 0, 255, 255, 32, 0, 255, 255, 0, 0, 255, 0, 0, 0, 255))) | ||
| 150 | |||
| 151 | def test_b5g6r5_unorm(self): | ||
| 152 | # Blue in bits 0-4, green 5-10, red 11-15; 5 and 6 bits widen by bit replication. | ||
| 153 | texels = struct.pack("<4H", 31 << 11, 63 << 5, 1, (16 << 11) | (32 << 5) | 16) | ||
| 154 | self.check(85, "B5G6R5_UNORM", texels[:4], texels[4:], 6, | ||
| 155 | bytes((255, 0, 0, 255, 0, 255, 0, 255, 0, 0, 8, 255, 132, 130, 132, 255))) | ||
| 156 | |||
| 157 | def test_b5g5r5a1_unorm(self): | ||
| 158 | # Blue in bits 0-4, green 5-9, red 10-14, alpha bit 15. | ||
| 159 | texels = struct.pack("<4H", 0x8000 | (31 << 10), 0x7FFF, 31 << 5, 0x8001) | ||
| 160 | self.check(86, "B5G5R5A1_UNORM", texels[:4], texels[4:], 6, | ||
| 161 | bytes((255, 0, 0, 255, 255, 255, 255, 0, 0, 255, 0, 0, 0, 0, 8, 255))) | ||
| 162 | |||
| 163 | def test_r8g8_snorm(self): | ||
| 164 | # round((v / 127 / 2 + 0.5) * 255), with -128 clamped to -127 as for BC5_SNORM. | ||
| 165 | self.check(51, "RG8_SNORM", struct.pack("<4b", -128, -127, 0, 127), struct.pack("<4b", 64, -64, 1, -1), 6, | ||
| 166 | _opaque((0, 0), (128, 255), (192, 63), (129, 126))) | ||
| 167 | |||
| 168 | def test_r8g8_uint_and_sint(self): | ||
| 169 | self.check(50, "RG8_UINT", bytes((0, 255, 7, 128)), bytes((1, 2, 254, 3)), 5, | ||
| 170 | _opaque((0, 255), (7, 128), (1, 2), (254, 3))) | ||
| 171 | self.check(52, "RG8_SINT", struct.pack("<4b", -128, 127, 0, -1), struct.pack("<4b", 1, -127, 64, -64), 5, | ||
| 172 | _opaque((0, 255), (128, 127), (129, 1), (192, 64))) | ||
| 173 | |||
| 174 | def test_r8_snorm_uint_and_sint(self): | ||
| 175 | red = lambda *values: b"".join(bytes((v, 0, 0, 255)) for v in values) # noqa: E731 | ||
| 176 | self.check(63, "R8_SNORM", struct.pack("<2b", -128, -127), struct.pack("<2b", 0, 127), 3, red(0, 0, 128, 255)) | ||
| 177 | self.check(63, "R8_SNORM", struct.pack("<2b", 64, -64), struct.pack("<2b", 1, -1), 3, red(192, 63, 129, 126)) | ||
| 178 | self.check(62, "R8_UINT", bytes((0, 255)), bytes((7, 128)), 3, red(0, 255, 7, 128)) | ||
| 179 | self.check(64, "R8_SINT", struct.pack("<2b", -128, 127), struct.pack("<2b", -1, 0), 3, red(0, 255, 127, 128)) | ||
| 180 | |||
| 181 | def test_r10g10b10a2_uint_and_typeless_read_like_unorm(self): | ||
| 182 | # R in bits 0-9, G 10-19, B 20-29, A 30-31; each field scaled to 0-255 from its own bit width. | ||
| 183 | def texel(r, g, b, a): | ||
| 184 | return struct.pack("<I", r | (g << 10) | (b << 20) | (a << 30)) | ||
| 185 | row0, row1 = texel(1023, 0, 512, 3) + texel(0, 1023, 0, 1), texel(1, 2, 3, 0) + texel(511, 1022, 0, 2) | ||
| 186 | expected = bytes((255, 0, 128, 255, 0, 255, 0, 85, 0, 0, 1, 0, 127, 255, 0, 170)) | ||
| 187 | for dxgi in (23, 24, 25): # TYPELESS, UNORM, UINT | ||
| 188 | with self.subTest(dxgi=dxgi): | ||
| 189 | self.check(dxgi, "RGBA8", row0, row1, 12, expected) | ||
| 190 | |||
| 191 | |||
| 83 | if __name__ == "__main__": | 192 | if __name__ == "__main__": |
| 84 | unittest.main() | 193 | unittest.main() |
diff --git a/tests/test_dstorage_history.py b/tests/test_dstorage_history.py index 77e8179d7..be00af80a 100644 --- a/tests/test_dstorage_history.py +++ b/tests/test_dstorage_history.py | |||
| @@ -85,6 +85,58 @@ class RuntimeHistoryTest(unittest.TestCase): | |||
| 85 | self.assertEqual(bc7["historyEndpointConfirmedBits"][255][field], 0) | 85 | self.assertEqual(bc7["historyEndpointConfirmedBits"][255][field], 0) |
| 86 | self.assertLessEqual(abs(bc7["historyEndpoints"][255][field] - 128), 4) | 86 | self.assertLessEqual(abs(bc7["historyEndpoints"][255][field] - 128), 4) |
| 87 | 87 | ||
| 88 | def test_packed_tail_fits_against_decoded_bcpack_sibling(self): | ||
| 89 | # Mip 0 is zlib, mip 1 a self-contained BCPack stream and the packed tail (mips 2-4) starts its | ||
| 90 | # chains at history entry 255, whose alpha no raw or zlib sibling of the tail can show. | ||
| 91 | solid = bytes([0x40]) + bytes(15) | ||
| 92 | secret = (0, 0, 0, 128) * 6 | ||
| 93 | tail = _encode_bc7_mode6_tiled(solid * 256, secret_entry=255, secret_ep=secret, ref_count=255) | ||
| 94 | with tempfile.TemporaryDirectory() as name: | ||
| 95 | pool = Path(name)/"bcpack-parent.ttpf" | ||
| 96 | record = _pack_etpf(128, 128, 4, 1, 98, 4096) | ||
| 97 | _write_custom_rds5_pool(pool, [record], [(7, 4096, tail), (7, 4096, _encode_bc7_mode6_tiled(solid * 256)), | ||
| 98 | (8, 16384, zlib.compress(solid * 1024))]) | ||
| 99 | fits = {6: history.calib.Bc6hCalibrator(), 7: history.calib.Bc7Calibrator()} | ||
| 100 | history.calib.calibrate_from_pools([str(pool)], fits) | ||
| 101 | docs = {history.calib.CODEC_KEYS[c]: f.build_document()[0] for c, f in fits.items()} | ||
| 102 | history.extend_missing(docs, history.fit_slices([pool])) | ||
| 103 | bcpack = history.calib.bcpack | ||
| 104 | with self.assertRaises(bcpack.BcpackProvisionalError): | ||
| 105 | bcpack.decode(tail, 7, 4096, allow_provisional=True, history=docs) | ||
| 106 | history.fit_decoded_neighbors([pool], docs) | ||
| 107 | bc7 = docs["bc7"] | ||
| 108 | for field in (3, 7): | ||
| 109 | self.assertGreaterEqual(bc7["historyEndpointBits"][255][field], 4) | ||
| 110 | self.assertEqual(bc7["historyEndpointConfirmedBits"][255][field], 0) | ||
| 111 | self.assertLessEqual(abs(bc7["historyEndpoints"][255][field] - 128), 4) | ||
| 112 | self.assertEqual(bcpack.decode(tail, 7, 4096, allow_provisional=True, history=docs), solid * 256) | ||
| 113 | |||
| 114 | def test_packed_tail_fits_against_its_own_refused_stream(self): | ||
| 115 | # One BCPack stream holds the packed tail (blocks 0-255) and mip 1 (blocks 256-511). Chains from history | ||
| 116 | # entry 255 stay inside the tail, so the stream is refused and no fit reaches the entry, but mip 1 is | ||
| 117 | # determined and is the reference. | ||
| 118 | solid = bytes([0x40]) + bytes(15) | ||
| 119 | secret = (0, 0, 0, 128) * 6 | ||
| 120 | stream = _encode_bc7_mode6_tiled(solid * 512, secret_entry=255, secret_ep=secret, ref_count=200) | ||
| 121 | with tempfile.TemporaryDirectory() as name: | ||
| 122 | pool = Path(name)/"one-stream.ttpf" | ||
| 123 | record = _pack_etpf(128, 128, 4, 1, 98, 4096) | ||
| 124 | _write_custom_rds5_pool(pool, [record], [(7, 8192, stream), (8, 16384, zlib.compress(solid * 1024))]) | ||
| 125 | fits = {6: history.calib.Bc6hCalibrator(), 7: history.calib.Bc7Calibrator()} | ||
| 126 | history.calib.calibrate_from_pools([str(pool)], fits) | ||
| 127 | docs = {history.calib.CODEC_KEYS[c]: f.build_document()[0] for c, f in fits.items()} | ||
| 128 | history.extend_missing(docs, history.fit_slices([pool])) | ||
| 129 | bcpack = history.calib.bcpack | ||
| 130 | with self.assertRaises(bcpack.BcpackProvisionalError): | ||
| 131 | bcpack.decode(stream, 7, 8192, allow_provisional=True, history=docs) | ||
| 132 | history.fit_decoded_neighbors([pool], docs) | ||
| 133 | bc7 = docs["bc7"] | ||
| 134 | for field in (3, 7): | ||
| 135 | self.assertGreaterEqual(bc7["historyEndpointBits"][255][field], 4) | ||
| 136 | self.assertEqual(bc7["historyEndpointConfirmedBits"][255][field], 0) | ||
| 137 | self.assertLessEqual(abs(bc7["historyEndpoints"][255][field] - 128), 4) | ||
| 138 | self.assertEqual(bcpack.decode(stream, 7, 8192, allow_provisional=True, history=docs), solid * 512) | ||
| 139 | |||
| 88 | def test_build_resume_and_repair(self): | 140 | def test_build_resume_and_repair(self): |
| 89 | trainer = os.environ.get("LEONIDA_TEST_BCPACK_TRAINER") | 141 | trainer = os.environ.get("LEONIDA_TEST_BCPACK_TRAINER") |
| 90 | if not trainer and not shutil.which("cl" if os.name == "nt" else "c++"): | 142 | if not trainer and not shutil.which("cl" if os.name == "nt" else "c++"): |
diff --git a/tests/test_indirect_clamp_telemetry.py b/tests/test_indirect_clamp_telemetry.py index df73bf763..4e65ecf1d 100644 --- a/tests/test_indirect_clamp_telemetry.py +++ b/tests/test_indirect_clamp_telemetry.py | |||
| @@ -47,9 +47,10 @@ def mesh_counter_ops(header): | |||
| 47 | class TestIndirectClampTelemetry(unittest.TestCase): | 47 | class TestIndirectClampTelemetry(unittest.TestCase): |
| 48 | def test_embedded_preclamp_mesh_counters(self): | 48 | def test_embedded_preclamp_mesh_counters(self): |
| 49 | src = Path(__file__).resolve().parents[1] / "runtime" / "src" | 49 | src = Path(__file__).resolve().parents[1] / "runtime" / "src" |
| 50 | # Active mesh records + records requesting y/z > 1; max y and max z before clamping. | 50 | # Active mesh records + records requesting y/z > 1; max y and max z before clamping. Then the dispatch |
| 51 | # records: wider than 65 535 groups in x, the widest x, cut at the device's limits, and all of them. | ||
| 51 | self.assertEqual(mesh_counter_ops((src / "indirect_clamp_spv.h").read_text(encoding="ascii")), | 52 | self.assertEqual(mesh_counter_ops((src / "indirect_clamp_spv.h").read_text(encoding="ascii")), |
| 52 | {(8, 234), (9, 234), (10, 239), (11, 239)}) | 53 | {(8, 234), (9, 234), (10, 239), (11, 239), (12, 234), (13, 239), (14, 234), (15, 234)}) |
| 53 | 54 | ||
| 54 | 55 | ||
| 55 | if __name__ == "__main__": | 56 | if __name__ == "__main__": |
diff --git a/tests/test_make_game_wave64.py b/tests/test_make_game_wave64.py index 74d36ecbb..9ceb87c07 100644 --- a/tests/test_make_game_wave64.py +++ b/tests/test_make_game_wave64.py | |||
| @@ -49,6 +49,76 @@ class SmallestMaxSubgroupTest(unittest.TestCase): | |||
| 49 | self.assertIsNone(make_game.smallest_max_subgroup("\tminSubgroupSize = 32\n")) | 49 | self.assertIsNone(make_game.smallest_max_subgroup("\tminSubgroupSize = 32\n")) |
| 50 | 50 | ||
| 51 | 51 | ||
| 52 | def typed_device(name, kind, size): | ||
| 53 | """vulkaninfo's plain-text layout for one device as a real run prints it: deviceType just before deviceName.""" | ||
| 54 | return ("VkPhysicalDeviceProperties:\n---------------------------\n" | ||
| 55 | f"\tdeviceType = PHYSICAL_DEVICE_TYPE_{kind}\n" | ||
| 56 | f"\tdeviceName = {name}\n" | ||
| 57 | "VkPhysicalDeviceVulkan13Properties:\n-----------------------------------\n" | ||
| 58 | "\tminSubgroupSize = " | ||
| 59 | f"{min(size, 32) if size >= 32 else size}\n" | ||
| 60 | f"\tmaxSubgroupSize = {size}\n") | ||
| 61 | |||
| 62 | |||
| 63 | class CpuDeviceTest(unittest.TestCase): | ||
| 64 | """A CPU device (llvmpipe: maxSubgroupSize 8) does not decide when a GPU is listed: the runtime ranks it last.""" | ||
| 65 | |||
| 66 | def test_llvmpipe_beside_a_wave64_gpu_is_left_out(self): | ||
| 67 | text = (typed_device("AMD Radeon RX 7900 XTX (RADV NAVI31)", "DISCRETE_GPU", 64) | ||
| 68 | + typed_device("AMD Ryzen 9 7950X3D (RADV RAPHAEL_MENDOCINO)", "INTEGRATED_GPU", 64) | ||
| 69 | + typed_device("llvmpipe (LLVM 23.1.5, 256 bits)", "CPU", 8)) | ||
| 70 | self.assertEqual(make_game.smallest_max_subgroup(text), 64) | ||
| 71 | size, device, left_out = make_game.max_subgroup_decider(text) | ||
| 72 | self.assertEqual((size, device), (64, "AMD Radeon RX 7900 XTX (RADV NAVI31)")) | ||
| 73 | self.assertEqual(left_out, ["llvmpipe (LLVM 23.1.5, 256 bits)"]) | ||
| 74 | |||
| 75 | def test_the_cpu_device_listed_first_is_left_out_too(self): | ||
| 76 | text = typed_device("llvmpipe", "CPU", 8) + typed_device("GPU", "DISCRETE_GPU", 64) | ||
| 77 | self.assertEqual(make_game.max_subgroup_decider(text), (64, "GPU", ["llvmpipe"])) | ||
| 78 | |||
| 79 | def test_a_32_wide_gpu_still_decides(self): | ||
| 80 | text = (typed_device("A", "DISCRETE_GPU", 64) + typed_device("B", "INTEGRATED_GPU", 32) | ||
| 81 | + typed_device("llvmpipe", "CPU", 8)) | ||
| 82 | self.assertEqual(make_game.max_subgroup_decider(text), (32, "B", ["llvmpipe"])) | ||
| 83 | |||
| 84 | def test_only_a_cpu_device_decides(self): | ||
| 85 | self.assertEqual(make_game.max_subgroup_decider(typed_device("llvmpipe", "CPU", 8)), (8, "llvmpipe", [])) | ||
| 86 | |||
| 87 | def test_a_cpu_device_without_a_size_does_not_make_it_unknown(self): | ||
| 88 | text = (typed_device("GPU", "DISCRETE_GPU", 64) | ||
| 89 | + "VkPhysicalDeviceProperties:\n\tdeviceType = PHYSICAL_DEVICE_TYPE_CPU\n" | ||
| 90 | "\tdeviceName = old lavapipe\n") | ||
| 91 | self.assertEqual(make_game.smallest_max_subgroup(text), 64) | ||
| 92 | # ...but a GPU without one still does. | ||
| 93 | old_gpu = ("VkPhysicalDeviceProperties:\n\tdeviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU\n" | ||
| 94 | "\tdeviceName = old GPU\n") | ||
| 95 | self.assertIsNone(make_game.smallest_max_subgroup(text + old_gpu)) | ||
| 96 | |||
| 97 | def test_json_key_order(self): | ||
| 98 | text = ('{"VkPhysicalDeviceProperties": {\n\t\t"deviceName": "llvmpipe",\n' | ||
| 99 | '\t\t"deviceType": "VK_PHYSICAL_DEVICE_TYPE_CPU"},\n' | ||
| 100 | '\t"VkPhysicalDeviceSubgroupSizeControlProperties": {\n\t\t"maxSubgroupSize": 8}}\n' | ||
| 101 | '{"VkPhysicalDeviceProperties": {\n\t\t"deviceName": "GPU",\n' | ||
| 102 | '\t\t"deviceType": "VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU"},\n' | ||
| 103 | '\t"VkPhysicalDeviceSubgroupSizeControlProperties": {\n\t\t"maxSubgroupSize": 64}}') | ||
| 104 | self.assertEqual(make_game.max_subgroup_decider(text), (64, "GPU", ["llvmpipe"])) | ||
| 105 | |||
| 106 | def test_auto_logs_the_deciding_device_and_the_left_out_one(self): | ||
| 107 | text = typed_device("GPU", "DISCRETE_GPU", 64) + typed_device("llvmpipe", "CPU", 8) | ||
| 108 | lines = [] | ||
| 109 | |||
| 110 | def fake_run(args, **kw): | ||
| 111 | if os.path.basename(str(args[-1])) == "vk_subgroup_info.py": | ||
| 112 | return subprocess.CompletedProcess(args, 0, stdout='{"native64": true}', stderr="") | ||
| 113 | return subprocess.CompletedProcess(args, 0, stdout=text, stderr="") | ||
| 114 | with mock.patch.object(make_game.shutil, "which", return_value="vulkaninfo"), \ | ||
| 115 | mock.patch.object(make_game.subprocess, "run", side_effect=fake_run), \ | ||
| 116 | mock.patch.object(make_game, "log", lambda *a: lines.append(" ".join(map(str, a)))): | ||
| 117 | self.assertFalse(make_game.wave64_emulate("auto")) | ||
| 118 | self.assertTrue(any("llvmpipe" in line and "left out" in line for line in lines), lines) | ||
| 119 | self.assertTrue(any("is 64 (GPU)" in line and "emulation off" in line for line in lines), lines) | ||
| 120 | |||
| 121 | |||
| 52 | class Wave64EmulateTest(unittest.TestCase): | 122 | class Wave64EmulateTest(unittest.TestCase): |
| 53 | """wave64_emulate(): on and off are taken as given; auto asks vulkaninfo and falls back to on.""" | 123 | """wave64_emulate(): on and off are taken as given; auto asks vulkaninfo and falls back to on.""" |
| 54 | 124 | ||
diff --git a/tests/test_tex_export.py b/tests/test_tex_export.py index eef043f68..e6e5e2d59 100644 --- a/tests/test_tex_export.py +++ b/tests/test_tex_export.py | |||
| @@ -219,7 +219,7 @@ def test_export_picks_the_top_mip_placement_and_writes_dds(eq, tmp_path, fmt, na | |||
| 219 | def test_fmt_reuses_the_indexer_table_without_12_byte_rgb32(): | 219 | def test_fmt_reuses_the_indexer_table_without_12_byte_rgb32(): |
| 220 | from tex_headers import FMT_INFO | 220 | from tex_headers import FMT_INFO |
| 221 | assert T.FMT == {f: v for f, v in FMT_INFO.items() if f not in (6, 7, 8)} | 221 | assert T.FMT == {f: v for f, v in FMT_INFO.items() if f not in (6, 7, 8)} |
| 222 | assert len(T.FMT) == 56 | 222 | assert len(T.FMT) == 57 |
| 223 | 223 | ||
| 224 | 224 | ||
| 225 | @pytest.mark.parametrize("fmt", sorted(T.FMT)) | 225 | @pytest.mark.parametrize("fmt", sorted(T.FMT)) |
| @@ -478,14 +478,30 @@ def test_packed_r10g10b10a2_writes_a_png(eq, tmp_path, monkeypatch, capsys): | |||
| 478 | assert read_png(stem.with_suffix(".png")) == (2, 1, bytes((255, 0, 0, 255, 0, 0, 255, 85))) | 478 | assert read_png(stem.with_suffix(".png")) == (2, 1, bytes((255, 0, 0, 255, 0, 0, 255, 85))) |
| 479 | 479 | ||
| 480 | 480 | ||
| 481 | def test_shared_exponent_r9g9b9e5_writes_a_png(eq, tmp_path, monkeypatch, capsys): | ||
| 482 | # The indexer's table lists DXGI 67, so the export reaches dds_png instead of stopping at "unsupported format". | ||
| 483 | # Texels (R, G, B mantissa, exponent): (256, 128, 0, 16) -> 1.0, 0.5, 0; (511, 64, 1, 15) -> 511/512, 1/8, 1/512. | ||
| 484 | eq(4) | ||
| 485 | packed = struct.pack("<II", 256 | (128 << 9) | (16 << 27), 511 | (64 << 9) | (1 << 18) | (15 << 27)) | ||
| 486 | carve = str(tmp_path / "carve") | ||
| 487 | write_blob(carve, "x.rpf", 0x1000, packed + bytes(4096 - len(packed))) | ||
| 488 | t = texture(67, "R9G9B9E5_SHAREDEXP", 2, 1, mips=1) | ||
| 489 | out, code, text = png_main(tmp_path, monkeypatch, capsys, [t], carve, "--png") | ||
| 490 | assert code is None | ||
| 491 | assert text.splitlines() == ["1 textures: {'ok:first': 1} -> " + str(out), "png: {'written': 1}"] | ||
| 492 | stem = out / "x.rpf" / f"{0xABC:012x}_3_2x1_R9G9B9E5_SHAREDEXP" | ||
| 493 | assert stem.with_suffix(".dds").read_bytes()[148:] == packed | ||
| 494 | assert read_png(stem.with_suffix(".png")) == (2, 1, bytes((255, 128, 0, 255, 255, 32, 0, 255))) | ||
| 495 | |||
| 496 | |||
| 481 | def test_undecodable_format_keeps_the_dds_and_counts_unsupported(eq, tmp_path, monkeypatch, capsys): | 497 | def test_undecodable_format_keeps_the_dds_and_counts_unsupported(eq, tmp_path, monkeypatch, capsys): |
| 482 | # R10G10B10A2_UNORM_SRGB: dds_png has no decoder for its DXGI code | 498 | # R8G8B8A8_UINT: dds_png has no decoder for its DXGI code |
| 483 | carve, expected = build_case(eq, tmp_path, 25, top_first=True) | 499 | carve, expected = build_case(eq, tmp_path, 30, top_first=True) |
| 484 | t = texture(25, "R10G10B10A2_UNORM_SRGB", 64, 64, mips=2) | 500 | t = texture(30, "R8G8B8A8_UINT", 64, 64, mips=2) |
| 485 | out, code, text = png_main(tmp_path, monkeypatch, capsys, [t], carve, "--png") | 501 | out, code, text = png_main(tmp_path, monkeypatch, capsys, [t], carve, "--png") |
| 486 | assert code is None # main() returns None, so the process exits 0 | 502 | assert code is None # main() returns None, so the process exits 0 |
| 487 | assert tree(out) == ["export_log.json", f"x.rpf{os.sep}{0xABC:012x}_3_64x64_R10G10B10A2_UNORM_SRGB.dds"] | 503 | assert tree(out) == ["export_log.json", f"x.rpf{os.sep}{0xABC:012x}_3_64x64_R8G8B8A8_UINT.dds"] |
| 488 | assert (out / "x.rpf" / f"{0xABC:012x}_3_64x64_R10G10B10A2_UNORM_SRGB.dds").read_bytes()[148:] == expected | 504 | assert (out / "x.rpf" / f"{0xABC:012x}_3_64x64_R8G8B8A8_UINT.dds").read_bytes()[148:] == expected |
| 489 | assert json.loads((out / "export_log.json").read_text(encoding="utf-8"))[0]["export"]["png"] == "unsupported" | 505 | assert json.loads((out / "export_log.json").read_text(encoding="utf-8"))[0]["export"]["png"] == "unsupported" |
| 490 | assert text.splitlines()[1:] == ["png: {'unsupported': 1}"] | 506 | assert text.splitlines()[1:] == ["png: {'unsupported': 1}"] |
| 491 | 507 | ||
| @@ -495,7 +511,7 @@ def test_mixed_run_counts_each_kind(eq, tmp_path, monkeypatch, capsys): | |||
| 495 | with open(os.path.join(carve, "x.rpf", f"{0x1000:012x}.bin"), "rb") as f: | 511 | with open(os.path.join(carve, "x.rpf", f"{0x1000:012x}.bin"), "rb") as f: |
| 496 | write_blob(carve, "x.rpf", 0x2000, f.read()) # same 4 bpe size, so the equation is already in place | 512 | write_blob(carve, "x.rpf", 0x2000, f.read()) # same 4 bpe size, so the equation is already in place |
| 497 | textures = [texture(28, "R8G8B8A8_UNORM", 64, 64, mips=2), | 513 | textures = [texture(28, "R8G8B8A8_UNORM", 64, 64, mips=2), |
| 498 | texture(25, "R10G10B10A2_UNORM_SRGB", 64, 64, mips=2, gpu=0x2000), | 514 | texture(30, "R8G8B8A8_UINT", 64, 64, mips=2, gpu=0x2000), |
| 499 | texture(9999, "X", 4, 4, 1, gpu=0x3000)] | 515 | texture(9999, "X", 4, 4, 1, gpu=0x3000)] |
| 500 | out, code, text = png_main(tmp_path, monkeypatch, capsys, textures, carve, "--png") | 516 | out, code, text = png_main(tmp_path, monkeypatch, capsys, textures, carve, "--png") |
| 501 | assert text.splitlines()[1] == "png: {'written': 1, 'unsupported': 1}" | 517 | assert text.splitlines()[1] == "png: {'written': 1, 'unsupported': 1}" |
diff --git a/tests/test_tex_headers.py b/tests/test_tex_headers.py index 836f55ca2..2b0af6f29 100644 --- a/tests/test_tex_headers.py +++ b/tests/test_tex_headers.py | |||
| @@ -102,6 +102,12 @@ class TestGFX10FormatMapping(unittest.TestCase): | |||
| 102 | with self.assertRaises(ValueError): | 102 | with self.assertRaises(ValueError): |
| 103 | tex_headers.dxgi_to_gfx10(99999) | 103 | tex_headers.dxgi_to_gfx10(99999) |
| 104 | 104 | ||
| 105 | def test_shared_exponent_format_is_indexed_and_sized(self): | ||
| 106 | # dds_png decodes DXGI 67; without these entries the indexer drops it and tex_export --png never sees it. | ||
| 107 | self.assertEqual(tex_headers.DXGI[67], "R9G9B9E5_SHAREDEXP") | ||
| 108 | self.assertEqual(tex_headers.FMT_INFO[67], (4, 1)) | ||
| 109 | self.assertEqual(tex_headers.calc_mip_level_bytes(3, 2, fmt=67), 24) | ||
| 110 | |||
| 105 | def test_dxgi_dict_integrity(self): | 111 | def test_dxgi_dict_integrity(self): |
| 106 | for dxgi_id, name in tex_headers.DXGI.items(): | 112 | for dxgi_id, name in tex_headers.DXGI.items(): |
| 107 | self.assertIsInstance(dxgi_id, int) | 113 | self.assertIsInstance(dxgi_id, int) |
diff --git a/tests/test_translate.py b/tests/test_translate.py index fe2df1288..24299f6d1 100644 --- a/tests/test_translate.py +++ b/tests/test_translate.py | |||
| @@ -13,8 +13,8 @@ from pathlib import Path | |||
| 13 | import pytest | 13 | import pytest |
| 14 | 14 | ||
| 15 | import rdna2spirv | 15 | import rdna2spirv |
| 16 | from conftest import (EMPTY_DXBC, KNOWN_VAL_ISSUES, ROOT, SAMPLE_DXBC, Shader, make_dxbc, mesh_psv0_chunk, | 16 | from conftest import (EMPTY_DXBC, KNOWN_VAL_ISSUES, ROOT, SAMPLE_DXBC, TEXT_ONLY_MARK, Shader, make_dxbc, |
| 17 | requires_tools, signature_chunk) | 17 | mesh_psv0_chunk, requires_tools, signature_chunk) |
| 18 | 18 | ||
| 19 | pytestmark = requires_tools | 19 | pytestmark = requires_tools |
| 20 | 20 | ||
| @@ -64,6 +64,24 @@ def test_gpu_samples_translate_and_validate(path, make_shader): | |||
| 64 | shader.validate(shader.translate(), KNOWN_VAL_ISSUES.get(stem)) | 64 | shader.validate(shader.translate(), KNOWN_VAL_ISSUES.get(stem)) |
| 65 | 65 | ||
| 66 | 66 | ||
| 67 | def test_text_only_mark_is_spelled_as_in_the_gpu_runner(): | ||
| 68 | """conftest.Shader and scripts/run_gpu_tests.py have to agree on the comment line that marks a sample llvm-mc | ||
| 69 | cannot assemble: with two spellings, a marked sample is handed to llvm-mc here and fails.""" | ||
| 70 | runner = Path(ROOT, "scripts", "run_gpu_tests.py").read_text(encoding="utf-8") | ||
| 71 | assert f'\nTEXT_ONLY_MARK = "{TEXT_ONLY_MARK}"\n' in runner | ||
| 72 | |||
| 73 | |||
| 74 | def test_only_a_marked_sample_skips_llvm_mc(make_shader): | ||
| 75 | """A sample with the text-only line becomes its own listing, comment lines dropped, whatever llvm-mc makes of | ||
| 76 | its instructions; the same lines without it still go to llvm-mc and fail there.""" | ||
| 77 | body = "v_mov_b32 v1, 1.0\n v_no_such_instruction v0, v1\n\ns_endpgm\n" | ||
| 78 | shader = make_shader(f"; a sample llvm-mc cannot assemble\n{TEXT_ONLY_MARK}\n{body}", "cs_text_only") | ||
| 79 | assert shader.path.read_text(encoding="utf-8").splitlines()[1:] == [ | ||
| 80 | "\tv_mov_b32 v1, 1.0", "\tv_no_such_instruction v0, v1", "\ts_endpgm"] | ||
| 81 | with pytest.raises(AssertionError, match="v_no_such_instruction"): | ||
| 82 | make_shader(body, "cs_not_marked") | ||
| 83 | |||
| 84 | |||
| 67 | @pytest.mark.parametrize("case", sorted(SUPPORTED)) | 85 | @pytest.mark.parametrize("case", sorted(SUPPORTED)) |
| 68 | def test_supported_instruction(case, make_shader): | 86 | def test_supported_instruction(case, make_shader): |
| 69 | shader = make_shader(program(SUPPORTED[case])) | 87 | shader = make_shader(program(SUPPORTED[case])) |
diff --git a/tools/address_guard.py b/tools/address_guard.py new file mode 100644 index 000000000..1acbad528 --- /dev/null +++ b/tools/address_guard.py | |||
| @@ -0,0 +1,110 @@ | |||
| 1 | """The address guard's page table and header, as the runtime writes them (runtime/src/address_guard.h) and the | ||
| 2 | shaders translated with `rdna2spirv.py --address-guard` read them (docs/d3d12_vulkan.md, "Address guard"). | ||
| 3 | |||
| 4 | Standard library only. Used by the translator tests and scripts/run_address_guard_gpu_test.py to build a heap, and | ||
| 5 | as the Python reference of the check a guarded access makes: | ||
| 6 | |||
| 7 | python -I tools/address_guard.py 0x90000:0x91000 --check 0x90ffc 8 | ||
| 8 | |||
| 9 | Offsets are heap offsets (device address - heap_base), taken as 48-bit values: a negative one (a buffer below the | ||
| 10 | arena) is its two's complement in 48 bits, as the shaders sign-extend a V#'s base. | ||
| 11 | """ | ||
| 12 | import argparse | ||
| 13 | import struct | ||
| 14 | import sys | ||
| 15 | |||
| 16 | # Shared with tools/rdna2spirv.py (ADDRESS_GUARD and the GUARD_* constants) and runtime/src/address_guard.h. | ||
| 17 | HEADER = 0x70000 # arena offset of the header | ||
| 18 | ZERO = 0x71000 # refused loads read here (+ the offset within its 4 KiB page) | ||
| 19 | DUMP = 0x78000 # refused stores and atomics write here | ||
| 20 | RESERVED_END = 0x80000 # the guard's part of the arena ends here | ||
| 21 | MAGIC = int.from_bytes(b"LGUARD01", "little") | ||
| 22 | L1 = 1 << 16 # level-1 words: bits 47..32 of the offset | ||
| 23 | BLOCK_WORDS = 1 << 15 # a level-2 block: one bit per 4 KiB page of a 4 GiB chunk | ||
| 24 | PAGE = 1 << 12 | ||
| 25 | MASK48 = (1 << 48) - 1 | ||
| 26 | EMPTY_BLOCK, FULL_BLOCK = 0, 1 # every table has them; allocated blocks start at 2 | ||
| 27 | |||
| 28 | |||
| 29 | def header(limit, table_offset, refused=0, last=0): | ||
| 30 | """The 64-byte header: magic, arena size (offsets below it pass without a lookup), the table's address minus | ||
| 31 | heap_base (mod 2^64), the refusal count and the last refused offset, which the shaders write.""" | ||
| 32 | return struct.pack("<QQQIIQ24x", MAGIC, limit, table_offset & ((1 << 64) - 1), refused, 0, last) | ||
| 33 | |||
| 34 | |||
| 35 | def table_words(spans, max_blocks=None): | ||
| 36 | """The table's words for backed [start, end) heap offset spans: level 1, then the level-2 blocks. A page is | ||
| 37 | backed when any byte of it is (a GPU page is mapped whole). Past `max_blocks` allocated blocks a chunk gets the | ||
| 38 | full block: everything in it passes, as the runtime does when it runs out of room (and logs it).""" | ||
| 39 | chunks = {} | ||
| 40 | for start, end in spans: | ||
| 41 | if end <= start: | ||
| 42 | continue | ||
| 43 | for page in range((start & MASK48) >> 12, (((end - 1) & MASK48) >> 12) + 1): | ||
| 44 | chunks.setdefault(page >> 20, set()).add(page & 0xFFFFF) | ||
| 45 | level1 = [EMPTY_BLOCK] * L1 | ||
| 46 | blocks = [] | ||
| 47 | for chunk in sorted(chunks): | ||
| 48 | if max_blocks is not None and len(blocks) >= max_blocks: | ||
| 49 | level1[chunk] = FULL_BLOCK | ||
| 50 | continue | ||
| 51 | bits = [0] * BLOCK_WORDS | ||
| 52 | for page in chunks[chunk]: | ||
| 53 | bits[page >> 5] |= 1 << (page & 31) | ||
| 54 | level1[chunk] = 2 + len(blocks) | ||
| 55 | blocks.append(bits) | ||
| 56 | words = level1 + [0] * BLOCK_WORDS + [0xFFFFFFFF] * BLOCK_WORDS | ||
| 57 | for bits in blocks: | ||
| 58 | words += bits | ||
| 59 | return words | ||
| 60 | |||
| 61 | |||
| 62 | def page_backed(words, offset): | ||
| 63 | """The table's bit for the page of heap offset `offset`.""" | ||
| 64 | offset &= MASK48 | ||
| 65 | block = words[(offset >> 32) & (L1 - 1)] | ||
| 66 | page = (offset >> 12) & 0xFFFFF | ||
| 67 | return bool(words[L1 + block * BLOCK_WORDS + (page >> 5)] >> (page & 31) & 1) | ||
| 68 | |||
| 69 | |||
| 70 | def passes(words, limit, offset, extent): | ||
| 71 | """What a guarded access does: True when [offset, offset + extent) is below `limit` (the arena) or the pages of | ||
| 72 | its first and last byte are backed. `offset` is sign-extended from 48 bits, as the shaders do.""" | ||
| 73 | offset &= MASK48 | ||
| 74 | if offset >> 47: | ||
| 75 | offset -= 1 << 48 | ||
| 76 | end = offset + extent - 1 | ||
| 77 | if 0 <= offset < limit and 0 <= end < limit: | ||
| 78 | return True | ||
| 79 | return page_backed(words, offset) and page_backed(words, end) | ||
| 80 | |||
| 81 | |||
| 82 | def _int(text): | ||
| 83 | return int(text, 0) | ||
| 84 | |||
| 85 | |||
| 86 | def main(argv=None): | ||
| 87 | ap = argparse.ArgumentParser(description=__doc__.split("\n\n")[0]) | ||
| 88 | ap.add_argument("spans", nargs="*", help="backed heap offset spans, START:END (hex or decimal)") | ||
| 89 | ap.add_argument("--limit", type=_int, default=RESERVED_END, help="the arena's size (default %(default)#x)") | ||
| 90 | ap.add_argument("--check", nargs=2, type=_int, metavar=("OFFSET", "BYTES"), action="append", default=[], | ||
| 91 | help="print whether an access passes") | ||
| 92 | a = ap.parse_args(argv) | ||
| 93 | spans = [] | ||
| 94 | for text in a.spans: | ||
| 95 | start, _, end = text.partition(":") | ||
| 96 | spans.append((_int(start), _int(end))) | ||
| 97 | words = table_words(spans) | ||
| 98 | blocks = (len(words) - L1) // BLOCK_WORDS | ||
| 99 | print(f"table: {len(words) * 4} bytes, {blocks - 2} level-2 block(s) besides the empty and full ones") | ||
| 100 | for offset, extent in a.check: | ||
| 101 | print(f"{offset:#x} +{extent}: {'passes' if passes(words, a.limit, offset, extent) else 'refused'}") | ||
| 102 | return 0 | ||
| 103 | |||
| 104 | |||
| 105 | if __name__ == "__main__": | ||
| 106 | try: # a redirected stdout is strict ANSI code page under -I; write '?' for what it cannot encode | ||
| 107 | sys.stdout.reconfigure(errors="replace") | ||
| 108 | except (AttributeError, ValueError, OSError): | ||
| 109 | pass | ||
| 110 | sys.exit(main()) | ||
diff --git a/tools/bcpack_history_calib.py b/tools/bcpack_history_calib.py index 4c8312b41..01bb3af2e 100644 --- a/tools/bcpack_history_calib.py +++ b/tools/bcpack_history_calib.py | |||
| @@ -1858,6 +1858,8 @@ class Bc7Calibrator: | |||
| 1858 | if xy is None: | 1858 | if xy is None: |
| 1859 | continue | 1859 | continue |
| 1860 | qpts = get_quads(xy[0], xy[1]) | 1860 | qpts = get_quads(xy[0], xy[1]) |
| 1861 | if qpts is None: # the sibling block is undetermined itself | ||
| 1862 | continue | ||
| 1861 | spread = max(max(p[c] for p in qpts) - min(p[c] for p in qpts) for c in range(4)) | 1863 | spread = max(max(p[c] for p in qpts) - min(p[c] for p in qpts) for c in range(4)) |
| 1862 | weight = 4.0 if spread <= 6.0 else (2.0 if spread <= 18.0 else 0.5) | 1864 | weight = 4.0 if spread <= 6.0 else (2.0 if spread <= 18.0 else 0.5) |
| 1863 | sm = None if ns == 1 else (p2[part] if ns == 2 else p3[part]) | 1865 | sm = None if ns == 1 else (p2[part] if ns == 2 else p3[part]) |
diff --git a/tools/build_dstorage_history.py b/tools/build_dstorage_history.py index ee9c224bd..8320f87d4 100644 --- a/tools/build_dstorage_history.py +++ b/tools/build_dstorage_history.py | |||
| @@ -93,6 +93,164 @@ def extend_missing(base, extra): | |||
| 93 | base["bc7"][value][k][j] = extra["bc7"][value][k][j] | 93 | base["bc7"][value][k][j] = extra["bc7"][value][k][j] |
| 94 | 94 | ||
| 95 | 95 | ||
| 96 | def _field_count(docs): | ||
| 97 | return (sum(map(bool, docs["bc6h"]["endpointClass"])) + sum(map(bool, docs["bc6h"]["indexClass"])) + | ||
| 98 | sum(bool(v) for key in ("historyEndpointBits", "historyIndexBits") for row in docs["bc7"][key] for v in row)) | ||
| 99 | |||
| 100 | |||
| 101 | def _unknown_references(codec, lanes, blocks, docs, table): | ||
| 102 | """Whether the stream's first 256 blocks start a predictor chain at a field the profile still lacks.""" | ||
| 103 | if codec == 7: | ||
| 104 | try: | ||
| 105 | return bool(calib.bcpack._bc7_check(lanes, min(blocks, 256), table, set(), has_history=True)) | ||
| 106 | except calib.bcpack.BcpackError: | ||
| 107 | return False | ||
| 108 | l0, l1 = lanes[0], lanes[1] | ||
| 109 | for i in range(min(blocks, 256)): | ||
| 110 | di = calib.bcpack._inter8(l1[2*i], l1[2*i+1]) | ||
| 111 | de = (di + calib.bcpack._unzig(calib.bcpack._inter8(l0[2*i], l0[2*i+1]))) & 255 | ||
| 112 | if (de > i and not docs["bc6h"]["endpointClass"][256+i-de] or | ||
| 113 | di > i and not docs["bc6h"]["indexClass"][256+i-di]): | ||
| 114 | return True | ||
| 115 | return False | ||
| 116 | |||
| 117 | |||
| 118 | def _decode_known(pool, start, size, docs, table, cache): | ||
| 119 | """Tiled bytes of a range plus the byte offsets (within it) of blocks the profile cannot determine. | ||
| 120 | |||
| 121 | A BC7 stream that the decoder refuses for its unknown history still determines every block whose predictor | ||
| 122 | chains start elsewhere; only the blocks rooted at an unknown field, or failing the anchor and p-bit check, are | ||
| 123 | marked. Other BCPack streams must decode in provisional mode.""" | ||
| 124 | bcpack = calib.bcpack | ||
| 125 | out = bytearray(size) | ||
| 126 | unknown = set() | ||
| 127 | for virt, csize, offset, packed, codec, _ in pool.chunks_for(start, size): | ||
| 128 | key = (offset, packed, codec) | ||
| 129 | if key not in cache: | ||
| 130 | raw = pool.data[offset:offset+packed] | ||
| 131 | bad = () | ||
| 132 | if codec in (0, 8): | ||
| 133 | data = pool.read_range(virt, csize, None, bcpack_mode="off") | ||
| 134 | elif codec == 7: | ||
| 135 | lanes, _ = bcpack.decode_lanes(raw, 7, csize) | ||
| 136 | blocks = csize // 16 | ||
| 137 | missing = bcpack._bc7_check(lanes, blocks, table, set(), has_history=True) | ||
| 138 | data, status = bcpack._bc7_rebuild(lanes, blocks, table) | ||
| 139 | ends = {k for kind, k in missing if kind == "endpoint"} | ||
| 140 | idxs = {k for kind, k in missing if kind == "index"} | ||
| 141 | l0, l1 = lanes[0], lanes[1] | ||
| 142 | er, ir = [-1] * blocks, [-1] * blocks | ||
| 143 | for i in range(blocks): | ||
| 144 | di = bcpack._inter8(l1[2*i], l1[2*i+1]) | ||
| 145 | de = (di + bcpack._unzig(bcpack._inter8(l0[2*i], l0[2*i+1]))) & 255 | ||
| 146 | er[i] = -1 if de == 0 else (256 + i - de if de > i else er[i - de]) | ||
| 147 | ir[i] = -1 if di == 0 else (256 + i - di if di > i else ir[i - di]) | ||
| 148 | bad = {16 * i for i in range(blocks) if status[i] or er[i] in ends or ir[i] in idxs} | ||
| 149 | else: | ||
| 150 | data = bcpack.decode(raw, codec, csize, allow_provisional=True, history=docs) | ||
| 151 | cache[key] = (bytes(data), bad) | ||
| 152 | data, bad = cache[key] | ||
| 153 | lo, hi = max(start, virt), min(start + size, virt + csize) | ||
| 154 | out[lo - start:hi - start] = data[lo - virt:hi - virt] | ||
| 155 | unknown.update(virt + b - start for b in bad if lo <= virt + b < hi) | ||
| 156 | return bytes(out), unknown | ||
| 157 | |||
| 158 | |||
| 159 | def _known_quads(getter, layout, ref, kind, unknown): | ||
| 160 | """The sibling getter, answering None where a reference block is undetermined.""" | ||
| 161 | if not unknown: | ||
| 162 | return getter | ||
| 163 | bw, bh = (ref["pixels_w"] + 3) // 4, (ref["pixels_h"] + 3) // 4 | ||
| 164 | def get_quads(bx, by): | ||
| 165 | # A child's 2x2 pixels per quad lie in one block; a parent's quads cover a 2x2 block square. | ||
| 166 | x0, y0, span = (bx // 2, by // 2, 1) if kind == "child" else (2 * bx, 2 * by, 2) | ||
| 167 | for y in range(y0, y0 + span): | ||
| 168 | for x in range(x0, x0 + span): | ||
| 169 | if calib.tiled_offset(layout, ref, min(x, bw - 1), min(y, bh - 1)) in unknown: | ||
| 170 | return None | ||
| 171 | return getter(bx, by) | ||
| 172 | return get_quads | ||
| 173 | |||
| 174 | |||
| 175 | def fit_decoded_neighbors(pools, docs, rounds=4): | ||
| 176 | """Fill fields that only streams without a raw or zlib sibling reference. | ||
| 177 | |||
| 178 | The other fits take their reference from a raw or zlib mip. A packed tail whose larger mips are BCPack-coded | ||
| 179 | too has none, so a field that only such streams use stays unknown and the runtime refuses them. Decode the | ||
| 180 | nearest BCPack sibling with the profile so far and fit against it; it may lie in the same refused stream, whose | ||
| 181 | undetermined blocks are left out of the reference. A decoded mip can be the reference of the next one, so | ||
| 182 | repeat while a round adds fields. Only fields still missing are filled, and never as confirmed. | ||
| 183 | """ | ||
| 184 | table = bptc.load_bc7(docs) | ||
| 185 | jobs = [] | ||
| 186 | for path in pools: | ||
| 187 | with closing(ttpf.Pool(path)) as pool: | ||
| 188 | wanted = set() | ||
| 189 | for _, size, offset, packed, codec, _ in pool.chunks: | ||
| 190 | if codec in (6, 7): | ||
| 191 | blocks = min(2048, size // 16) | ||
| 192 | lanes = calib.decode_lanes_prefix(pool.data[offset:offset+packed], codec, size, blocks*2) | ||
| 193 | if _unknown_references(codec, lanes, blocks, docs, table): | ||
| 194 | wanted.add(offset) | ||
| 195 | if not wanted: | ||
| 196 | continue | ||
| 197 | for index in range(pool.textures): | ||
| 198 | d = pool.descriptor(index) | ||
| 199 | codec = next((c for c in (6, 7) if d["format"] in calib.CODEC_DXGI[c]), None) | ||
| 200 | if not codec or d["dimension"] not in (1, 2): | ||
| 201 | continue | ||
| 202 | a = ttpf.analyze(pool, index) | ||
| 203 | if not a.get("available") or a.get("blocked"): | ||
| 204 | continue | ||
| 205 | layout = a["layout"] | ||
| 206 | for layer in range(d["depth"]): | ||
| 207 | for level, mip in enumerate(layout["mips"]): | ||
| 208 | start = (d["base"] + layout.get("data_offset", 0) + mip["offset"] + | ||
| 209 | layer * mip.get("slice_stride", layout.get("face_size", 0))) | ||
| 210 | if any(c[2] in wanted for c in pool.chunks_for(start, mip["region"])): | ||
| 211 | jobs.append((path, index, codec, layer, level)) | ||
| 212 | for _ in range(rounds): | ||
| 213 | before = _field_count(docs) | ||
| 214 | table = bptc.load_bc7(docs) | ||
| 215 | fits = {6: calib.Bc6hCalibrator(), 7: calib.Bc7Calibrator()} | ||
| 216 | for path in sorted({job[0] for job in jobs}): | ||
| 217 | with closing(ttpf.Pool(path)) as pool: | ||
| 218 | cache = {} | ||
| 219 | for _, index, codec, layer, level in (job for job in jobs if job[0] == path): | ||
| 220 | d = pool.descriptor(index) | ||
| 221 | layout = ttpf.analyze(pool, index)["layout"] | ||
| 222 | mips = layout["mips"] | ||
| 223 | def address(m): | ||
| 224 | return (d["base"] + layout.get("data_offset", 0) + m["offset"] + | ||
| 225 | layer * m.get("slice_stride", layout.get("face_size", 0))) | ||
| 226 | mip = mips[level] | ||
| 227 | start = address(mip) | ||
| 228 | chunks = [(size, offset, packed, virt - start, min(2048, size // 16)) | ||
| 229 | for virt, size, offset, packed, mode, _ in pool.chunks_for(start, mip["region"]) | ||
| 230 | if mode == codec and start - virt < 2048 * 16] | ||
| 231 | for neighbor, kind in ((level+1, "child"), (level-1, "parent")): | ||
| 232 | if not 0 <= neighbor < len(mips) or mips[neighbor]["region"] > 1048576: | ||
| 233 | continue | ||
| 234 | ref = mips[neighbor] | ||
| 235 | if codec not in pool.codecs(address(ref), ref["region"]): | ||
| 236 | continue # a raw or zlib sibling is the other fits' reference | ||
| 237 | try: | ||
| 238 | tiled, unknown = _decode_known(pool, address(ref), ref["region"], docs, table, cache) | ||
| 239 | except (calib.bcpack.BcpackError, ValueError): | ||
| 240 | continue | ||
| 241 | getter = _known_quads(calib._make_sibling_quads_getter(codec, layout, ref, tiled, kind, | ||
| 242 | signed=d["format"] == 96), | ||
| 243 | layout, ref, kind, unknown) | ||
| 244 | inverse = calib.make_inverse_tile_lookup(layout, mip) | ||
| 245 | for size, offset, packed, relative, blocks in chunks: | ||
| 246 | lanes = calib.decode_lanes_prefix(pool.data[offset:offset+packed], codec, size, blocks*2) | ||
| 247 | fits[codec].add_pool_chunk(lanes, blocks, inverse, relative, getter) | ||
| 248 | extend_missing(docs, {calib.CODEC_KEYS[c]: f.build_document()[0] for c, f in fits.items()}) | ||
| 249 | if _field_count(docs) == before: | ||
| 250 | break | ||
| 251 | return docs | ||
| 252 | |||
| 253 | |||
| 96 | def collect(pools, trainer, temporary): | 254 | def collect(pools, trainer, temporary): |
| 97 | """The host trainer consumes framed chunks and returns violation counts per candidate.""" | 255 | """The host trainer consumes framed chunks and returns violation counts per candidate.""" |
| 98 | output = temporary / "constraints" | 256 | output = temporary / "constraints" |
| @@ -214,6 +372,7 @@ def build(game, output, trainer, base_history=None, json_out=None, if_needed=Fal | |||
| 214 | calib.calibrate_from_pools(pools, fits) | 372 | calib.calibrate_from_pools(pools, fits) |
| 215 | docs = {calib.CODEC_KEYS[c]: f.build_document()[0] for c, f in fits.items()} | 373 | docs = {calib.CODEC_KEYS[c]: f.build_document()[0] for c, f in fits.items()} |
| 216 | extend_missing(docs, fit_slices(pools)) | 374 | extend_missing(docs, fit_slices(pools)) |
| 375 | fit_decoded_neighbors(pools, docs) | ||
| 217 | history = temp/"history.json" | 376 | history = temp/"history.json" |
| 218 | history.write_text(json.dumps(docs), encoding="utf-8", newline="\n") | 377 | history.write_text(json.dumps(docs), encoding="utf-8", newline="\n") |
| 219 | if not trainer: | 378 | if not trainer: |
diff --git a/tools/dds_png.py b/tools/dds_png.py index dd59d7545..ec9b73a3c 100644 --- a/tools/dds_png.py +++ b/tools/dds_png.py | |||
| @@ -1,9 +1,11 @@ | |||
| 1 | """Pure standard-library DDS to PNG decoder and 2x box-filter downscaler. | 1 | """Pure standard-library DDS to PNG decoder and 2x box-filter downscaler. |
| 2 | 2 | ||
| 3 | Supports legacy and DX10 DDS headers across uncompressed 32-bit formats | 3 | Supports legacy and DX10 DDS headers across uncompressed 32-bit formats |
| 4 | (BGRA8, RGBA8, BGRX8, RGBX8, R10G10B10A2_UNORM, and arbitrary 32-bit RGB/RGBA bitmasks), the | 4 | (BGRA8, RGBA8, BGRX8, RGBX8, R10G10B10A2_UNORM/UINT/TYPELESS, and arbitrary 32-bit RGB/RGBA bitmasks), the |
| 5 | legacy 24-bit RGB layouts (BGR8/RGB8, e.g. the D3DFMT_R8G8B8 byte order), | 5 | legacy 24-bit RGB layouts (BGR8/RGB8, e.g. the D3DFMT_R8G8B8 byte order), the DX10 16-bit packed |
| 6 | and block-compressed formats (BC1, BC2, BC3, BC4, BC5, BC7). | 6 | B5G6R5_UNORM and B5G5R5A1_UNORM (5- and 6-bit channels widened by bit replication, as for BC1 endpoints), |
| 7 | the DX10 8-bit R8 and R8G8 formats (UNORM, SNORM, UINT, SINT), the 64-bit R16G16B16A16 UNORM, SNORM and | ||
| 8 | FLOAT formats, and block-compressed formats (BC1, BC2, BC3, BC4, BC5, BC7). | ||
| 7 | 9 | ||
| 8 | BC7 covers all eight modes. Decoding DXGI 97/98/99 (typeless, UNORM, UNORM_SRGB) | 10 | BC7 covers all eight modes. Decoding DXGI 97/98/99 (typeless, UNORM, UNORM_SRGB) |
| 9 | preserves the stored RGBA8 values. The reserved mode (no mode bit in the first | 11 | preserves the stored RGBA8 values. The reserved mode (no mode bit in the first |
| @@ -11,12 +13,19 @@ byte) decodes as transparent black. BC6H is not supported. | |||
| 11 | DXT2, DXT4 and premultiplied DX10 images are converted to straight alpha for PNG. | 13 | DXT2, DXT4 and premultiplied DX10 images are converted to straight alpha for PNG. |
| 12 | For tagged sRGB images, unpremultiplication and downscaling use linear light. The PNG stores sRGB bytes. | 14 | For tagged sRGB images, unpremultiplication and downscaling use linear light. The PNG stores sRGB bytes. |
| 13 | 15 | ||
| 14 | DX10 R16_FLOAT (54), R32_FLOAT (41) and R16G16B16A16_FLOAT (10) are read as linear values and | 16 | DX10 R16G16B16A16_UNORM (11) is normalized to RGBA8 with half-up rounding. R16_FLOAT (54), |
| 17 | R32_FLOAT (41) and R16G16B16A16_FLOAT (10) are read as linear values and | ||
| 15 | written like the UNORM formats, with no tone mapping or sRGB transfer: clamp to | 18 | written like the UNORM formats, with no tone mapping or sRGB transfer: clamp to |
| 16 | [0, 1], then round(v * 255) half up. +inf saturates to 255; -inf, negative values | 19 | [0, 1], then round(v * 255) half up. +inf saturates to 255; -inf, negative values |
| 17 | and NaN map to 0. The single-channel formats fill red, with green and blue 0 and alpha 255; | 20 | and NaN map to 0. The single-channel formats fill red, with green and blue 0 and alpha 255; |
| 18 | R16G16B16A16_FLOAT keeps its own alpha. | 21 | R16G16B16A16_FLOAT keeps its own alpha. |
| 19 | R11G11B10_FLOAT previews clamp RGB to [0, 1], map NaN to zero and use opaque alpha. | 22 | R16G16B16A16_SNORM (13) maps its signed normalized channels from [-1, 1] to [0, 255], |
| 23 | with both -32768 and -32767 representing -1.0. | ||
| 24 | R11G11B10_FLOAT and R9G9B9E5_SHAREDEXP (67, mantissa * 2^(exponent - 24) per channel) previews clamp RGB | ||
| 25 | to [0, 1] and use opaque alpha; NaN maps to zero for R11G11B10_FLOAT. | ||
| 26 | R8 and R8G8 previews fill red (and green), with blue 0 and alpha 255. SNORM maps [-1, 1] to [0, 255] like | ||
| 27 | BC4/BC5 SNORM (-128 and -127 are both -1.0); UINT keeps the byte; SINT adds 128 for display. | ||
| 28 | R10G10B10A2_UINT and _TYPELESS are shown like R10G10B10A2_UNORM: each field scaled from its bit width. | ||
| 20 | 29 | ||
| 21 | Usage: | 30 | Usage: |
| 22 | python -I tools/dds_png.py <in.dds> --info | 31 | python -I tools/dds_png.py <in.dds> --info |
| @@ -87,8 +96,21 @@ _DXGI_MAP: dict[int, str] = { | |||
| 87 | 93: "BGRX8", | 96 | 93: "BGRX8", |
| 88 | 26: "R11G11B10_FLOAT", | 97 | 26: "R11G11B10_FLOAT", |
| 89 | 41: "R32_FLOAT", | 98 | 41: "R32_FLOAT", |
| 99 | 49: "R8G8_UNORM", | ||
| 90 | 56: "R16_UNORM", | 100 | 56: "R16_UNORM", |
| 101 | 61: "R8_UNORM", | ||
| 102 | 11: "RGBA16_UNORM", | ||
| 103 | 13: "RGBA16_SNORM", | ||
| 104 | 51: "RG8_SNORM", | ||
| 105 | 50: "RG8_UINT", | ||
| 106 | 52: "RG8_SINT", | ||
| 107 | 63: "R8_SNORM", | ||
| 108 | 62: "R8_UINT", | ||
| 109 | 64: "R8_SINT", | ||
| 91 | 65: "A8_UNORM", | 110 | 65: "A8_UNORM", |
| 111 | 67: "R9G9B9E5_FLOAT", | ||
| 112 | 85: "B5G6R5_UNORM", | ||
| 113 | 86: "B5G5R5A1_UNORM", | ||
| 92 | 70: "BC1", | 114 | 70: "BC1", |
| 93 | 71: "BC1", | 115 | 71: "BC1", |
| 94 | 72: "BC1", | 116 | 72: "BC1", |
| @@ -265,7 +287,7 @@ def _parse_header_internal( | |||
| 265 | f"Truncated DX10 DDS header: {len(data)} bytes (need at least {DDS_DX10_HEADER_SIZE})" | 287 | f"Truncated DX10 DDS header: {len(data)} bytes (need at least {DDS_DX10_HEADER_SIZE})" |
| 266 | ) | 288 | ) |
| 267 | dxgi_format = struct.unpack_from("<I", data, 128)[0] | 289 | dxgi_format = struct.unpack_from("<I", data, 128)[0] |
| 268 | if dxgi_format == 24: # DXGI_FORMAT_R10G10B10A2_UNORM, R in the low bits. | 290 | if dxgi_format in (23, 24, 25): # R10G10B10A2_TYPELESS/UNORM/UINT, R in the low bits. |
| 269 | fmt = "RGBA8" | 291 | fmt = "RGBA8" |
| 270 | masks = (0x000003FF, 0x000FFC00, 0x3FF00000, 0xC0000000) | 292 | masks = (0x000003FF, 0x000FFC00, 0x3FF00000, 0xC0000000) |
| 271 | else: | 293 | else: |
| @@ -366,9 +388,16 @@ class _Plane(NamedTuple): | |||
| 366 | 388 | ||
| 367 | 389 | ||
| 368 | _TEXEL_BYTES = { | 390 | _TEXEL_BYTES = { |
| 369 | "RGBA8": 4, "BGRA8": 4, "BGRX8": 4, "RGBX8": 4, "R11G11B10_FLOAT": 4, | 391 | "RGBA8": 4, "BGRA8": 4, "BGRX8": 4, "RGBX8": 4, |
| 392 | "R11G11B10_FLOAT": 4, "R9G9B9E5_FLOAT": 4, | ||
| 370 | "BGR8": 3, "RGB8": 3, "R16_UNORM": 2, "A8_UNORM": 1, | 393 | "BGR8": 3, "RGB8": 3, "R16_UNORM": 2, "A8_UNORM": 1, |
| 371 | "R32_FLOAT": 4, | 394 | "R32_FLOAT": 4, "R8_UNORM": 1, "R8G8_UNORM": 2, |
| 395 | "RGBA16_UNORM": 8, "RGBA16_SNORM": 8, | ||
| 396 | "B5G6R5_UNORM": 2, "B5G5R5A1_UNORM": 2, | ||
| 397 | "RG8_SNORM": 2, | ||
| 398 | "RG8_UINT": 2, "RG8_SINT": 2, | ||
| 399 | "R8_SNORM": 1, | ||
| 400 | "R8_UINT": 1, "R8_SINT": 1, | ||
| 372 | **{fmt: layout[0] for fmt, layout in _HALF_FLOAT_LAYOUT.items()}, | 401 | **{fmt: layout[0] for fmt, layout in _HALF_FLOAT_LAYOUT.items()}, |
| 373 | } | 402 | } |
| 374 | 403 | ||
| @@ -576,6 +605,32 @@ def _decode_uncompressed_24( | |||
| 576 | return bytes(out) | 605 | return bytes(out) |
| 577 | 606 | ||
| 578 | 607 | ||
| 608 | def _decode_packed_16(payload: memoryview, width: int, height: int, fmt: str, pitch: int) -> bytes: | ||
| 609 | """Decode DXGI B5G6R5_UNORM or B5G5R5A1_UNORM pixels to RGBA8.""" | ||
| 610 | row_bytes = width * 2 | ||
| 611 | pitch = pitch or row_bytes | ||
| 612 | if pitch < row_bytes: | ||
| 613 | raise DdsError(f"Invalid {fmt} row pitch: {pitch} bytes (need at least {row_bytes})") | ||
| 614 | expected = (height - 1) * pitch + row_bytes | ||
| 615 | if len(payload) < expected: | ||
| 616 | raise DdsError(f"Truncated {fmt} payload: {len(payload)} bytes (need {expected})") | ||
| 617 | |||
| 618 | out = bytearray(width * height * 4) | ||
| 619 | dst = 0 | ||
| 620 | for start in range(0, height * pitch, pitch): | ||
| 621 | for (pixel,) in struct.iter_unpack("<H", payload[start:start + row_bytes]): | ||
| 622 | if fmt == "B5G6R5_UNORM": | ||
| 623 | r, g, b = (pixel >> 11) & 0x1F, (pixel >> 5) & 0x3F, pixel & 0x1F | ||
| 624 | out[dst:dst + 4] = bytes(((r << 3) | (r >> 2), (g << 2) | (g >> 4), | ||
| 625 | (b << 3) | (b >> 2), 255)) | ||
| 626 | else: | ||
| 627 | r, g, b = (pixel >> 10) & 0x1F, (pixel >> 5) & 0x1F, pixel & 0x1F | ||
| 628 | out[dst:dst + 4] = bytes(((r << 3) | (r >> 2), (g << 3) | (g >> 2), | ||
| 629 | (b << 3) | (b >> 2), 255 if pixel & 0x8000 else 0)) | ||
| 630 | dst += 4 | ||
| 631 | return bytes(out) | ||
| 632 | |||
| 633 | |||
| 579 | def _bc_interp_lut(v0: int, v1: int) -> tuple[int, int, int, int, int, int, int, int]: | 634 | def _bc_interp_lut(v0: int, v1: int) -> tuple[int, int, int, int, int, int, int, int]: |
| 580 | """Build the 8-entry BC3-alpha / BC4 / BC5 unsigned interpolation table.""" | 635 | """Build the 8-entry BC3-alpha / BC4 / BC5 unsigned interpolation table.""" |
| 581 | if v0 > v1: | 636 | if v0 > v1: |
| @@ -1055,8 +1110,33 @@ def _decode_r11g11b10(payload: memoryview, width: int, height: int, pitch: int) | |||
| 1055 | return bytes(rgba) | 1110 | return bytes(rgba) |
| 1056 | 1111 | ||
| 1057 | 1112 | ||
| 1058 | def _decode_single_channel(payload: memoryview, width: int, height: int, pitch: int, fmt: str) -> bytes: | 1113 | def _decode_r9g9b9e5(payload: memoryview, width: int, height: int, pitch: int) -> bytes: |
| 1059 | """Red-only R16_UNORM/R32_FLOAT and alpha-only A8_UNORM.""" | 1114 | """Decode DXGI R9G9B9E5_SHAREDEXP, clamping its shared-exponent RGB values to [0, 1].""" |
| 1115 | row_bytes = width * 4 | ||
| 1116 | pitch = pitch or row_bytes | ||
| 1117 | if pitch < row_bytes: | ||
| 1118 | raise DdsError(f"Invalid R9G9B9E5_FLOAT row pitch: {pitch} bytes (need at least {row_bytes})") | ||
| 1119 | expected = (height - 1) * pitch + row_bytes | ||
| 1120 | if len(payload) < expected: | ||
| 1121 | raise DdsError(f"Truncated R9G9B9E5_FLOAT payload: {len(payload)} bytes (need {expected})") | ||
| 1122 | |||
| 1123 | rgba = bytearray(width * height * 4) | ||
| 1124 | rgba[3::4] = b"\xff" * (width * height) | ||
| 1125 | dst = 0 | ||
| 1126 | for start in range(0, height * pitch, pitch): | ||
| 1127 | for (pixel,) in struct.iter_unpack("<I", payload[start:start + row_bytes]): | ||
| 1128 | exponent = (pixel >> 27) & 0x1F | ||
| 1129 | scale = exponent - 24 | ||
| 1130 | for shift in (0, 9, 18): | ||
| 1131 | value = math.ldexp((pixel >> shift) & 0x1FF, scale) | ||
| 1132 | rgba[dst] = 255 if value >= 1.0 else int(value * 255.0 + 0.5) | ||
| 1133 | dst += 1 | ||
| 1134 | dst += 1 | ||
| 1135 | return bytes(rgba) | ||
| 1136 | |||
| 1137 | |||
| 1138 | def _decode_channels(payload: memoryview, width: int, height: int, pitch: int, fmt: str) -> bytes: | ||
| 1139 | """Preview R, RG and alpha-only texels with zero for absent color channels.""" | ||
| 1060 | bpp = _TEXEL_BYTES[fmt] | 1140 | bpp = _TEXEL_BYTES[fmt] |
| 1061 | row_bytes = width * bpp | 1141 | row_bytes = width * bpp |
| 1062 | pitch = pitch or row_bytes | 1142 | pitch = pitch or row_bytes |
| @@ -1072,7 +1152,22 @@ def _decode_single_channel(payload: memoryview, width: int, height: int, pitch: | |||
| 1072 | dst = 0 | 1152 | dst = 0 |
| 1073 | for start in range(0, height * pitch, pitch): | 1153 | for start in range(0, height * pitch, pitch): |
| 1074 | row = payload[start:start + row_bytes] | 1154 | row = payload[start:start + row_bytes] |
| 1075 | if fmt == "R16_UNORM": | 1155 | if fmt in ("R8_UNORM", "R8G8_UNORM"): |
| 1156 | for channel in range(bpp): | ||
| 1157 | rgba[dst + channel:dst + width * 4:4] = row[channel::bpp] | ||
| 1158 | dst += width * 4 | ||
| 1159 | elif fmt == "R8_UINT": | ||
| 1160 | rgba[dst:dst + 4 * width:4] = row | ||
| 1161 | dst += 4 * width | ||
| 1162 | elif fmt == "R8_SINT": | ||
| 1163 | for (v,) in struct.iter_unpack("<b", row): | ||
| 1164 | rgba[dst] = v + 128 | ||
| 1165 | dst += 4 | ||
| 1166 | elif fmt == "R8_SNORM": | ||
| 1167 | for (v,) in struct.iter_unpack("<b", row): | ||
| 1168 | rgba[dst] = int(round((max(-127, v) / 127.0 * 0.5 + 0.5) * 255.0)) | ||
| 1169 | dst += 4 | ||
| 1170 | elif fmt == "R16_UNORM": | ||
| 1076 | for (v,) in struct.iter_unpack("<H", row): | 1171 | for (v,) in struct.iter_unpack("<H", row): |
| 1077 | rgba[dst] = (v * 255 + 32767) // 65535 | 1172 | rgba[dst] = (v * 255 + 32767) // 65535 |
| 1078 | dst += 4 | 1173 | dst += 4 |
| @@ -1089,6 +1184,97 @@ def _decode_single_channel(payload: memoryview, width: int, height: int, pitch: | |||
| 1089 | return bytes(rgba) | 1184 | return bytes(rgba) |
| 1090 | 1185 | ||
| 1091 | 1186 | ||
| 1187 | def _decode_rgba16_unorm(payload: memoryview, width: int, height: int, pitch: int) -> bytes: | ||
| 1188 | """Decode DXGI R16G16B16A16_UNORM to RGBA8 with half-up normalization.""" | ||
| 1189 | row_bytes = width * 8 | ||
| 1190 | pitch = pitch or row_bytes | ||
| 1191 | if pitch < row_bytes: | ||
| 1192 | raise DdsError(f"Invalid RGBA16_UNORM row pitch: {pitch} bytes (need at least {row_bytes})") | ||
| 1193 | expected = (height - 1) * pitch + row_bytes | ||
| 1194 | if len(payload) < expected: | ||
| 1195 | raise DdsError(f"Truncated RGBA16_UNORM payload: {len(payload)} bytes (need {expected})") | ||
| 1196 | |||
| 1197 | rgba = bytearray(width * height * 4) | ||
| 1198 | dst = 0 | ||
| 1199 | for start in range(0, height * pitch, pitch): | ||
| 1200 | for (r, g, b, a) in struct.iter_unpack("<4H", payload[start:start + row_bytes]): | ||
| 1201 | rgba[dst:dst + 4] = bytes(((r * 255 + 32767) // 65535, | ||
| 1202 | (g * 255 + 32767) // 65535, | ||
| 1203 | (b * 255 + 32767) // 65535, | ||
| 1204 | (a * 255 + 32767) // 65535)) | ||
| 1205 | dst += 4 | ||
| 1206 | return bytes(rgba) | ||
| 1207 | |||
| 1208 | |||
| 1209 | def _decode_rgba16_snorm(payload: memoryview, width: int, height: int, pitch: int) -> bytes: | ||
| 1210 | """Decode DXGI R16G16B16A16_SNORM into a displayable RGBA8 representation.""" | ||
| 1211 | row_bytes = width * 8 | ||
| 1212 | pitch = pitch or row_bytes | ||
| 1213 | if pitch < row_bytes: | ||
| 1214 | raise DdsError(f"Invalid RGBA16_SNORM row pitch: {pitch} bytes (need at least {row_bytes})") | ||
| 1215 | expected = (height - 1) * pitch + row_bytes | ||
| 1216 | if len(payload) < expected: | ||
| 1217 | raise DdsError(f"Truncated RGBA16_SNORM payload: {len(payload)} bytes (need {expected})") | ||
| 1218 | |||
| 1219 | rgba = bytearray(width * height * 4) | ||
| 1220 | dst = 0 | ||
| 1221 | for start in range(0, height * pitch, pitch): | ||
| 1222 | for (r, g, b, a) in struct.iter_unpack("<4h", payload[start:start + row_bytes]): | ||
| 1223 | # SNORM maps -32768 and -32767 to -1.0; the preview maps [-1, 1] to [0, 255]. | ||
| 1224 | channels = (max(r, -32767), max(g, -32767), max(b, -32767), max(a, -32767)) | ||
| 1225 | rgba[dst:dst + 4] = bytes((((v + 32767) * 255 + 32767) // 65534) for v in channels) | ||
| 1226 | dst += 4 | ||
| 1227 | return bytes(rgba) | ||
| 1228 | |||
| 1229 | |||
| 1230 | def _decode_rg8_snorm(payload: memoryview, width: int, height: int, pitch: int) -> bytes: | ||
| 1231 | """Decode DXGI R8G8_SNORM to red/green preview channels with opaque alpha.""" | ||
| 1232 | row_bytes = width * 2 | ||
| 1233 | pitch = pitch or row_bytes | ||
| 1234 | if pitch < row_bytes: | ||
| 1235 | raise DdsError(f"Invalid R8G8_SNORM row pitch: {pitch} bytes (need at least {row_bytes})") | ||
| 1236 | expected = (height - 1) * pitch + row_bytes | ||
| 1237 | if len(payload) < expected: | ||
| 1238 | raise DdsError(f"Truncated R8G8_SNORM payload: {len(payload)} bytes (need {expected})") | ||
| 1239 | |||
| 1240 | def to_u8(value: int) -> int: | ||
| 1241 | return int(round((max(-127, value) / 127.0 * 0.5 + 0.5) * 255.0)) | ||
| 1242 | |||
| 1243 | rgba = bytearray(width * height * 4) | ||
| 1244 | rgba[3::4] = b"\xff" * (width * height) | ||
| 1245 | dst = 0 | ||
| 1246 | for start in range(0, height * pitch, pitch): | ||
| 1247 | row = payload[start:start + row_bytes] | ||
| 1248 | for red, green in struct.iter_unpack("<bb", row): | ||
| 1249 | rgba[dst:dst + 2] = bytes((to_u8(red), to_u8(green))) | ||
| 1250 | dst += 4 | ||
| 1251 | return bytes(rgba) | ||
| 1252 | |||
| 1253 | |||
| 1254 | def _decode_rg8_integer(payload: memoryview, width: int, height: int, pitch: int, fmt: str) -> bytes: | ||
| 1255 | """Preview DXGI R8G8_UINT as bytes and R8G8_SINT by offsetting [-128, 127] to [0, 255].""" | ||
| 1256 | row_bytes = width * 2 | ||
| 1257 | pitch = pitch or row_bytes | ||
| 1258 | if pitch < row_bytes: | ||
| 1259 | raise DdsError(f"Invalid {fmt} row pitch: {pitch} bytes (need at least {row_bytes})") | ||
| 1260 | expected = (height - 1) * pitch + row_bytes | ||
| 1261 | if len(payload) < expected: | ||
| 1262 | raise DdsError(f"Truncated {fmt} payload: {len(payload)} bytes (need {expected})") | ||
| 1263 | |||
| 1264 | rgba = bytearray(width * height * 4) | ||
| 1265 | rgba[3::4] = b"\xff" * (width * height) | ||
| 1266 | dst = 0 | ||
| 1267 | unpack = struct.Struct("<BB").iter_unpack if fmt == "RG8_UINT" else struct.Struct("<bb").iter_unpack | ||
| 1268 | for start in range(0, height * pitch, pitch): | ||
| 1269 | for red, green in unpack(payload[start:start + row_bytes]): | ||
| 1270 | if fmt == "RG8_SINT": | ||
| 1271 | red += 128 | ||
| 1272 | green += 128 | ||
| 1273 | rgba[dst:dst + 2] = bytes((red, green)) | ||
| 1274 | dst += 4 | ||
| 1275 | return bytes(rgba) | ||
| 1276 | |||
| 1277 | |||
| 1092 | def _bc7_read_indices(bits: int, index_bits: int, is_anchor: tuple[int, ...]) -> tuple[list[int], int]: | 1278 | def _bc7_read_indices(bits: int, index_bits: int, is_anchor: tuple[int, ...]) -> tuple[list[int], int]: |
| 1093 | """Read 16 LSB-first pixel indices; anchor pixels omit their implicit zero MSB.""" | 1279 | """Read 16 LSB-first pixel indices; anchor pixels omit their implicit zero MSB.""" |
| 1094 | indices = [] | 1280 | indices = [] |
| @@ -1248,6 +1434,12 @@ def _decode_plane(data: bytes | bytearray | memoryview, plane: _Plane, info: _Dd | |||
| 1248 | 1434 | ||
| 1249 | if fmt in ("RGBA8", "BGRA8", "BGRX8", "RGBX8"): | 1435 | if fmt in ("RGBA8", "BGRA8", "BGRX8", "RGBX8"): |
| 1250 | rgba = _decode_uncompressed_32(payload, width, height, fmt, masks, pitch) | 1436 | rgba = _decode_uncompressed_32(payload, width, height, fmt, masks, pitch) |
| 1437 | elif fmt == "RGBA16_UNORM": | ||
| 1438 | rgba = _decode_rgba16_unorm(payload, width, height, pitch) | ||
| 1439 | elif fmt == "RGBA16_SNORM": | ||
| 1440 | rgba = _decode_rgba16_snorm(payload, width, height, pitch) | ||
| 1441 | elif fmt in ("B5G6R5_UNORM", "B5G5R5A1_UNORM"): | ||
| 1442 | rgba = _decode_packed_16(payload, width, height, fmt, pitch) | ||
| 1251 | elif fmt in _HALF_FLOAT_LAYOUT: | 1443 | elif fmt in _HALF_FLOAT_LAYOUT: |
| 1252 | rgba = _decode_half_float(payload, width, height, fmt, pitch) | 1444 | rgba = _decode_half_float(payload, width, height, fmt, pitch) |
| 1253 | elif fmt in _RGB24_LAYOUTS.values(): | 1445 | elif fmt in _RGB24_LAYOUTS.values(): |
| @@ -1269,8 +1461,14 @@ def _decode_plane(data: bytes | bytearray | memoryview, plane: _Plane, info: _Dd | |||
| 1269 | rgba = _decode_bc5(payload, 0, width, height, signed=True) | 1461 | rgba = _decode_bc5(payload, 0, width, height, signed=True) |
| 1270 | elif fmt == "R11G11B10_FLOAT": | 1462 | elif fmt == "R11G11B10_FLOAT": |
| 1271 | rgba = _decode_r11g11b10(payload, width, height, pitch) | 1463 | rgba = _decode_r11g11b10(payload, width, height, pitch) |
| 1272 | elif fmt in ("R16_UNORM", "R32_FLOAT", "A8_UNORM"): | 1464 | elif fmt == "RG8_SNORM": |
| 1273 | rgba = _decode_single_channel(payload, width, height, pitch, fmt) | 1465 | rgba = _decode_rg8_snorm(payload, width, height, pitch) |
| 1466 | elif fmt in ("RG8_UINT", "RG8_SINT"): | ||
| 1467 | rgba = _decode_rg8_integer(payload, width, height, pitch, fmt) | ||
| 1468 | elif fmt == "R9G9B9E5_FLOAT": | ||
| 1469 | rgba = _decode_r9g9b9e5(payload, width, height, pitch) | ||
| 1470 | elif fmt in ("R8_UNORM", "R8G8_UNORM", "R8_SNORM", "R8_UINT", "R8_SINT", "R16_UNORM", "R32_FLOAT", "A8_UNORM"): | ||
| 1471 | rgba = _decode_channels(payload, width, height, pitch, fmt) | ||
| 1274 | elif fmt == "BC7": | 1472 | elif fmt == "BC7": |
| 1275 | rgba = _decode_bc7(payload, 0, width, height) | 1473 | rgba = _decode_bc7(payload, 0, width, height) |
| 1276 | else: | 1474 | else: |
diff --git a/tools/rdna2spirv.py b/tools/rdna2spirv.py index 4311f3100..b10de728e 100644 --- a/tools/rdna2spirv.py +++ b/tools/rdna2spirv.py | |||
| @@ -120,6 +120,33 @@ PC_TAIL_SET, PC_TAIL_BINDING = 1, 0 | |||
| 120 | F16_HALVES = False | 120 | F16_HALVES = False |
| 121 | F16_HALF_TOP = 29 | 121 | F16_HALF_TOP = 29 |
| 122 | OPT_SPIRV = False # --opt: run tools/spirv_opt.py basic-block peephole pass on emitted SPIR-V (#884) | 122 | OPT_SPIRV = False # --opt: run tools/spirv_opt.py basic-block peephole pass on emitted SPIR-V (#884) |
| 123 | # --address-guard: every access through heap_base + VA is checked against what the runtime backs (docs/d3d12_vulkan.md, | ||
| 124 | # "Address guard"); one that fails reads 0 and drops its store. The runtime (LEONIDA_ADDRESS_GUARD=1) writes a header | ||
| 125 | # at arena offset GUARD_HEADER: GUARD_MAGIC (u64), the arena's size (u64, offsets below it pass without a lookup), the | ||
| 126 | # page table's address minus heap_base (u64), a count of refused accesses (u32, the shaders add to it) and the last | ||
| 127 | # refused offset (u64). Without the magic every access passes, so a guarded module runs unchanged on a runtime with | ||
| 128 | # the guard off. A refused load reads the zero area, a refused store or atomic writes the dump area; both are in the | ||
| 129 | # arena's reserved first 512 KiB. Shared with runtime/src/address_guard.h. | ||
| 130 | ADDRESS_GUARD = False | ||
| 131 | # --address-guard (diagnostics): the module's id, FNV-1a of its file stem, which a refused access stores in the header | ||
| 132 | # (+28) next to its offset, so the runtime's refusal line names the module. Set by _translate for each file. | ||
| 133 | GUARD_MODULE_ID = 0 | ||
| 134 | |||
| 135 | |||
| 136 | def fnv1a32(text): | ||
| 137 | """32-bit FNV-1a of a UTF-8 string (the address guard's module id; tools/address_guard.py --module maps names).""" | ||
| 138 | h = 0x811C9DC5 | ||
| 139 | for b in text.encode("utf-8"): | ||
| 140 | h = ((h ^ b) * 0x01000193) & 0xFFFFFFFF | ||
| 141 | return h | ||
| 142 | |||
| 143 | |||
| 144 | GUARD_HEADER = 0x70000 | ||
| 145 | GUARD_ZERO = 0x71000 | ||
| 146 | GUARD_DUMP = 0x78000 | ||
| 147 | GUARD_MAGIC = int.from_bytes(b"LGUARD01", "little") | ||
| 148 | GUARD_L1 = 1 << 16 # level-1 entries: bits 47..32 of the 48-bit offset (4 GiB each) | ||
| 149 | GUARD_BLOCK_WORDS = 1 << 15 # level-2 block: one bit per 4 KiB page of a 4 GiB chunk | ||
| 123 | 150 | ||
| 124 | 151 | ||
| 125 | # The heap base as one %ulong, in the entry block of %main: the push constants don't change during the invocation, and | 152 | # The heap base as one %ulong, in the entry block of %main: the push constants don't change during the invocation, and |
| @@ -132,6 +159,109 @@ HEAP_BASE_ENTRY = ["%heap_base_lo = OpLoad %uint %ud_base_lo_p", | |||
| 132 | "%heap_base = OpBitwiseOr %ulong %heap_base_hi_sh %heap_base_lo64"] | 159 | "%heap_base = OpBitwiseOr %ulong %heap_base_hi_sh %heap_base_lo64"] |
| 133 | 160 | ||
| 134 | 161 | ||
| 162 | def guard_entry(cl, cu): | ||
| 163 | """--address-guard: the entry-block lines that read the runtime's guard header at heap_base + GUARD_HEADER once | ||
| 164 | per invocation: %gd_on (the magic is there), %gd_limit (the arena's size) and %gd_table (the page table's address | ||
| 165 | minus heap_base). The header is in the arena's reserved range, so the read itself is always backed.""" | ||
| 166 | L = [f"%gd_hp = OpIAdd %ulong %heap_base {cl(GUARD_HEADER)}", | ||
| 167 | "%gd_p = OpConvertUToPtr %_ptr_PSB_arr %gd_hp"] | ||
| 168 | for i in range(6): | ||
| 169 | L += [f"%gd_w{i}p = OpAccessChain %_ptr_PSB_uint %gd_p {cu(i)}", f"%gd_w{i} = OpLoad %uint %gd_w{i}p Aligned 4"] | ||
| 170 | for name, lo, hi in (("magic", 0, 1), ("limit", 2, 3), ("table", 4, 5)): | ||
| 171 | L += [f"%gd_{name}_l = OpUConvert %ulong %gd_w{lo}", f"%gd_{name}_h = OpUConvert %ulong %gd_w{hi}", | ||
| 172 | f"%gd_{name}_s = OpShiftLeftLogical %ulong %gd_{name}_h %c64_32", | ||
| 173 | f"%gd_{name} = OpBitwiseOr %ulong %gd_{name}_s %gd_{name}_l"] | ||
| 174 | L.append(f"%gd_on = OpIEqual %bool %gd_magic {cl(GUARD_MAGIC)}") | ||
| 175 | return L | ||
| 176 | |||
| 177 | |||
| 178 | def guard_function(cl, cu): | ||
| 179 | """--address-guard: %guard_fn(heap_base, on, limit, table, offset, delta, sink) -> host address. | ||
| 180 | |||
| 181 | `offset` is the access's sign-extended 48-bit heap offset and `delta` its span minus one. Without the runtime's | ||
| 182 | guard (`on` false), or when [offset, offset + delta] is below `limit` (the arena, all of it backed), the result is | ||
| 183 | heap_base + offset after one compare. Otherwise the page table at heap_base + table decides, per 4 KiB page of the | ||
| 184 | first and the last byte: level 1 is GUARD_L1 words indexed by offset bits 47..32 (the level-2 block of that 4 GiB | ||
| 185 | chunk: 0 none backed, 1 all), level 2 is one bit per page (bits 31..12), GUARD_BLOCK_WORDS words a block, after | ||
| 186 | level 1. A refused access counts itself in the header and goes to heap_base + sink + (offset & 0xFFF).""" | ||
| 187 | ul = "%ulong" | ||
| 188 | L = ["%guard_fn = OpFunction %ulong None %fn_guard", | ||
| 189 | "%ga_hb = OpFunctionParameter %ulong", "%ga_on = OpFunctionParameter %bool", | ||
| 190 | "%ga_lim = OpFunctionParameter %ulong", "%ga_tab = OpFunctionParameter %ulong", | ||
| 191 | "%ga_off = OpFunctionParameter %ulong", "%ga_delta = OpFunctionParameter %ulong", | ||
| 192 | "%ga_sink = OpFunctionParameter %ulong", | ||
| 193 | "%ga_entry = OpLabel", | ||
| 194 | f"%ga_end = OpIAdd {ul} %ga_off %ga_delta", | ||
| 195 | f"%ga_a = OpULessThan %bool %ga_off %ga_lim", | ||
| 196 | f"%ga_b = OpULessThan %bool %ga_end %ga_lim", | ||
| 197 | "%ga_in = OpLogicalAnd %bool %ga_a %ga_b", | ||
| 198 | "%ga_off_n = OpLogicalNot %bool %ga_on", | ||
| 199 | "%ga_pass = OpLogicalOr %bool %ga_in %ga_off_n", | ||
| 200 | "OpSelectionMerge %ga_m None", | ||
| 201 | "OpBranchConditional %ga_pass %ga_m %ga_slow", | ||
| 202 | "%ga_slow = OpLabel", | ||
| 203 | f"%ga_tb = OpIAdd {ul} %ga_hb %ga_tab"] | ||
| 204 | |||
| 205 | def bit(k, o): | ||
| 206 | """Lines for %ga_bit{k}: the page-table bit of heap offset id `o`.""" | ||
| 207 | return [f"%ga_c{k} = OpShiftRightLogical {ul} {o} %c64_32", | ||
| 208 | f"%ga_ci{k} = OpBitwiseAnd {ul} %ga_c{k} {cl(GUARD_L1 - 1)}", | ||
| 209 | f"%ga_ca{k} = OpShiftLeftLogical {ul} %ga_ci{k} {cl(2)}", | ||
| 210 | f"%ga_cp{k} = OpIAdd {ul} %ga_tb %ga_ca{k}", | ||
| 211 | f"%ga_cq{k} = OpConvertUToPtr %_ptr_PSB_uint %ga_cp{k}", | ||
| 212 | f"%ga_e{k} = OpLoad %uint %ga_cq{k} Aligned 4", | ||
| 213 | f"%ga_e64{k} = OpUConvert {ul} %ga_e{k}", | ||
| 214 | f"%ga_pg{k} = OpShiftRightLogical {ul} {o} {cl(12)}", | ||
| 215 | f"%ga_pm{k} = OpBitwiseAnd {ul} %ga_pg{k} {cl(0xFFFFF)}", | ||
| 216 | f"%ga_pw{k} = OpShiftRightLogical {ul} %ga_pm{k} {cl(5)}", | ||
| 217 | f"%ga_eb{k} = OpIMul {ul} %ga_e64{k} {cl(GUARD_BLOCK_WORDS)}", | ||
| 218 | f"%ga_wi0{k} = OpIAdd {ul} %ga_eb{k} %ga_pw{k}", | ||
| 219 | f"%ga_wi{k} = OpIAdd {ul} %ga_wi0{k} {cl(GUARD_L1)}", | ||
| 220 | f"%ga_wa{k} = OpShiftLeftLogical {ul} %ga_wi{k} {cl(2)}", | ||
| 221 | f"%ga_wp{k} = OpIAdd {ul} %ga_tb %ga_wa{k}", | ||
| 222 | f"%ga_wq{k} = OpConvertUToPtr %_ptr_PSB_uint %ga_wp{k}", | ||
| 223 | f"%ga_w{k} = OpLoad %uint %ga_wq{k} Aligned 4", | ||
| 224 | f"%ga_pl{k} = OpUConvert %uint %ga_pm{k}", | ||
| 225 | f"%ga_sh{k} = OpBitwiseAnd %uint %ga_pl{k} {cu(31)}", | ||
| 226 | f"%ga_bs{k} = OpShiftRightLogical %uint %ga_w{k} %ga_sh{k}", | ||
| 227 | f"%ga_b1{k} = OpBitwiseAnd %uint %ga_bs{k} {cu(1)}", | ||
| 228 | f"%ga_bit{k} = OpINotEqual %bool %ga_b1{k} {cu(0)}"] | ||
| 229 | L += bit(0, "%ga_off") + bit(1, "%ga_end") | ||
| 230 | hdr = cl(GUARD_HEADER) | ||
| 231 | L += ["%ga_ok = OpLogicalAnd %bool %ga_bit0 %ga_bit1", | ||
| 232 | "OpSelectionMerge %ga_rm None", | ||
| 233 | "OpBranchConditional %ga_ok %ga_rm %ga_ref", | ||
| 234 | "%ga_ref = OpLabel", | ||
| 235 | # The refusal count (header +24) and the last refused offset (+32, low dword first): what the runtime logs. | ||
| 236 | f"%ga_h = OpIAdd {ul} %ga_hb {hdr}", | ||
| 237 | "%ga_hp = OpConvertUToPtr %_ptr_PSB_arr %ga_h", | ||
| 238 | f"%ga_cnt = OpAccessChain %_ptr_PSB_uint %ga_hp {cu(6)}", | ||
| 239 | f"%ga_old = OpAtomicIAdd %uint %ga_cnt {cu(1)} {cu(0)} {cu(1)}", | ||
| 240 | "%ga_lo = OpUConvert %uint %ga_off", | ||
| 241 | "%ga_hs = OpShiftRightLogical %ulong %ga_off %c64_32", | ||
| 242 | "%ga_hi = OpUConvert %uint %ga_hs", | ||
| 243 | f"%ga_lp = OpAccessChain %_ptr_PSB_uint %ga_hp {cu(8)}", | ||
| 244 | "OpStore %ga_lp %ga_lo Aligned 4", | ||
| 245 | f"%ga_hq = OpAccessChain %_ptr_PSB_uint %ga_hp {cu(9)}", | ||
| 246 | "OpStore %ga_hq %ga_hi Aligned 4", | ||
| 247 | # The refusing module's id (+28, diagnostics): GUARD_MODULE_ID, FNV-1a of the translated file's stem. | ||
| 248 | f"%ga_ip = OpAccessChain %_ptr_PSB_uint %ga_hp {cu(7)}", | ||
| 249 | f"OpStore %ga_ip {cu(GUARD_MODULE_ID)} Aligned 4", | ||
| 250 | "OpBranch %ga_rm", | ||
| 251 | "%ga_rm = OpLabel", | ||
| 252 | "OpBranch %ga_m", | ||
| 253 | "%ga_m = OpLabel", | ||
| 254 | "%ga_okp = OpPhi %bool %true %ga_entry %ga_ok %ga_rm", | ||
| 255 | f"%ga_good = OpIAdd {ul} %ga_hb %ga_off", | ||
| 256 | f"%ga_po = OpBitwiseAnd {ul} %ga_off {cl(0xFFF)}", | ||
| 257 | f"%ga_sb = OpIAdd {ul} %ga_hb %ga_sink", | ||
| 258 | f"%ga_bad = OpIAdd {ul} %ga_sb %ga_po", | ||
| 259 | f"%ga_r = OpSelect {ul} %ga_okp %ga_good %ga_bad", | ||
| 260 | "OpReturnValue %ga_r", | ||
| 261 | "OpFunctionEnd"] | ||
| 262 | return L | ||
| 263 | |||
| 264 | |||
| 135 | def pc_tail_chain(name, member, c): | 265 | def pc_tail_chain(name, member, c): |
| 136 | """`name` = pointer to push-constant tail member `member`, numbered as in %UserData (1-2 heap base, 3-4 code base, | 266 | """`name` = pointer to push-constant tail member `member`, numbered as in %UserData (1-2 heap base, 3-4 code base, |
| 137 | 5-6 --mesh-compute output address): a member of the push-constant block by default, member - 1 of the uniform | 267 | 5-6 --mesh-compute output address): a member of the push-constant block by default, member - 1 of the uniform |
| @@ -421,6 +551,7 @@ class Gen: | |||
| 421 | self.bar_rounds = False # native wave32 cs with an s_barrier outside uniform control flow (bar_scheduler) | 551 | self.bar_rounds = False # native wave32 cs with an s_barrier outside uniform control flow (bar_scheduler) |
| 422 | self.uses_storage3d = False | 552 | self.uses_storage3d = False |
| 423 | self.uses_heap = False | 553 | self.uses_heap = False |
| 554 | self.uses_guard = False # --address-guard: an access called %guard_fn (the entry block reads the header) | ||
| 424 | self.uses_codebase = False | 555 | self.uses_codebase = False |
| 425 | self.uses_pc_tail = False # --pc-tail-ubo and the shader reads the tail (set in assemble) | 556 | self.uses_pc_tail = False # --pc-tail-ubo and the shader reads the tail (set in assemble) |
| 426 | self.uses_long = False | 557 | self.uses_long = False |
| @@ -440,6 +571,8 @@ class Gen: | |||
| 440 | self.fmt_fn = None # lines of the typed-buffer format-decode function, once a dynamic-format load needs it | 571 | self.fmt_fn = None # lines of the typed-buffer format-decode function, once a dynamic-format load needs it |
| 441 | self.fmt_norm_fn = None # lines of the shared exact norm quotient for a run-time width (SHADER-849) | 572 | self.fmt_norm_fn = None # lines of the shared exact norm quotient for a run-time width (SHADER-849) |
| 442 | self.fmt_enc_fn = None # shared format encoder for stores through a dynamic V# | 573 | self.fmt_enc_fn = None # shared format encoder for stores through a dynamic V# |
| 574 | self.guard_fn = None # --address-guard: lines of %guard_fn, once an access needs it | ||
| 575 | self.guard_last = None # --address-guard: (guarded address, unguarded address) of the last host_addr | ||
| 443 | self.uses_fmt_tables = False # %fmt_desc_tab / %fmt_norm_rep_tab: a format's kind and channel widths | 576 | self.uses_fmt_tables = False # %fmt_desc_tab / %fmt_norm_rep_tab: a format's kind and channel widths |
| 444 | self.x_round_fns: dict[str, list[str]] = {} # emulate_inline: helper functions for x_round pre-barrier setup | 577 | self.x_round_fns: dict[str, list[str]] = {} # emulate_inline: helper functions for x_round pre-barrier setup |
| 445 | self.x_round_fn_types: dict[int, str] = {} # emulate_inline: arity -> OpTypeFunction id for x_round_fns | 578 | self.x_round_fn_types: dict[int, str] = {} # emulate_inline: arity -> OpTypeFunction id for x_round_fns |
| @@ -1596,8 +1729,14 @@ class Gen: | |||
| 1596 | def modify_f(self, f, a): | 1729 | def modify_f(self, f, a): |
| 1597 | return self.tof(self.modify(self.tou(f), a)) | 1730 | return self.tof(self.modify(self.tou(f), a)) |
| 1598 | 1731 | ||
| 1599 | def host_addr(self, xbox_va): | 1732 | def host_addr(self, xbox_va, kind="load", extent=4): |
| 1600 | """Add the sign-extended 48-bit effective VA to the heap base built in the entry block.""" | 1733 | """Add the sign-extended 48-bit effective VA to the heap base built in the entry block. |
| 1734 | |||
| 1735 | --address-guard: the address is checked against the runtime's page table first (guard_addr). `kind` is | ||
| 1736 | "load", "store" or "rmw" (an atomic): a refused load reads the zero area, a refused store or atomic the dump | ||
| 1737 | area. `extent` is the bytes the access spans from this address: an int, or for a run-time span a callable | ||
| 1738 | that emits it and returns the %ulong id of extent - 1 (guard_delta), called only with the guard so the | ||
| 1739 | unguarded module stays byte for byte the same. Its first and last byte are checked.""" | ||
| 1601 | # V# truncates device_address - heap_base to 48 bits, including when an import lies below the heap. | 1740 | # V# truncates device_address - heap_base to 48 bits, including when an import lies below the heap. |
| 1602 | # Extend after adding byte offsets. Console user VAs and full-width root VAs already fit signed 48 bits. | 1741 | # Extend after adding byte offsets. Console user VAs and full-width root VAs already fit signed 48 bits. |
| 1603 | shift = self.cu(16) | 1742 | shift = self.cu(16) |
| @@ -1607,8 +1746,77 @@ class Gen: | |||
| 1607 | self.emit(f"{r} = OpIAdd %ulong %heap_base {offset}") | 1746 | self.emit(f"{r} = OpIAdd %ulong %heap_base {offset}") |
| 1608 | self.uses_heap = True | 1747 | self.uses_heap = True |
| 1609 | self.cu(1), self.cu(2) # member indices of the push-constant block, declared before assembly | 1748 | self.cu(1), self.cu(2) # member indices of the push-constant block, declared before assembly |
| 1749 | if not ADDRESS_GUARD: | ||
| 1750 | return r | ||
| 1751 | return self.guard_addr(offset, r, kind, extent) | ||
| 1752 | |||
| 1753 | def guard_delta(self, n, step): | ||
| 1754 | """--address-guard: the %ulong id of (bytes spanned - 1) for n dwords (an int, or a %uint id of at least 1), | ||
| 1755 | linear (step None) or each `step` bytes apart (a %uint id: a swizzled buffer access, buf_dword_ptr).""" | ||
| 1756 | if isinstance(n, int) and (step is None or n == 1): | ||
| 1757 | return self.cl(4 * n - 1) | ||
| 1758 | if isinstance(n, int): | ||
| 1759 | n1 = self.cu(n - 1) | ||
| 1760 | else: | ||
| 1761 | zero, dec, n1 = self.tmp(), self.tmp(), self.tmp() | ||
| 1762 | self.emit(f"{zero} = OpIEqual %bool {n} {self.cu(0)}") | ||
| 1763 | self.emit(f"{dec} = OpISub %uint {n} {self.cu(1)}") | ||
| 1764 | self.emit(f"{n1} = OpSelect %uint {zero} {self.cu(0)} {dec}") | ||
| 1765 | m, m64, d = self.tmp(), self.tmp(), self.tmp() | ||
| 1766 | self.emit(f"{m} = OpIMul %uint {n1} {step if step is not None else self.cu(4)}") | ||
| 1767 | self.emit(f"{m64} = OpUConvert %ulong {m}") | ||
| 1768 | self.emit(f"{d} = OpIAdd %ulong {m64} {self.cl(3)}") | ||
| 1769 | return d | ||
| 1770 | |||
| 1771 | def guard_addr(self, offset, unguarded, kind, extent): | ||
| 1772 | """--address-guard: the host address of the access at heap offset `offset` (sign-extended 48 bits): itself | ||
| 1773 | when the runtime backs its first and last byte (or the runtime's guard is off), else a place in the arena's | ||
| 1774 | zero area (a load) or dump area (a store, an atomic) at the same offset within a 4 KiB page, so alignment | ||
| 1775 | holds. One call of %guard_fn (an arena offset passes on a compare; any other looks up two page-table bits).""" | ||
| 1776 | self.uses_guard = True | ||
| 1777 | delta = self.cl(extent - 1) if isinstance(extent, int) else extent() | ||
| 1778 | sink = self.cl(GUARD_ZERO if kind == "load" else GUARD_DUMP) | ||
| 1779 | if self.guard_fn is None: | ||
| 1780 | self.guard_fn = guard_function(self.cl, self.cu) | ||
| 1781 | guard_entry(self.cl, self.cu) # registers the entry block's constants while they can still be declared | ||
| 1782 | r = self.tmp() | ||
| 1783 | self.emit(f"{r} = OpFunctionCall %ulong %guard_fn %heap_base %gd_on %gd_limit %gd_table {offset} {delta} {sink}") | ||
| 1784 | self.guard_last = (r, unguarded) | ||
| 1610 | return r | 1785 | return r |
| 1611 | 1786 | ||
| 1787 | def sub_dwords(self, nbytes, b3): | ||
| 1788 | """--address-guard: the dwords a 1- or 2-byte access at byte `b3` (a %uint id) of a dword reads: 1, or 2 for | ||
| 1789 | a 2-byte access at byte 3 (an int or a %uint id).""" | ||
| 1790 | if nbytes == 1: | ||
| 1791 | return 1 | ||
| 1792 | cross, n = self.tmp(), self.tmp() | ||
| 1793 | self.emit(f"{cross} = OpIEqual %bool {b3} {self.cu(3)}") | ||
| 1794 | self.emit(f"{n} = OpSelect %uint {cross} {self.cu(2)} {self.cu(1)}") | ||
| 1795 | return n | ||
| 1796 | |||
| 1797 | def store_element_dwords(self, fmt, fixed_fmt): | ||
| 1798 | """--address-guard: the whole dwords a typed buffer store of one element writes (at least 1: a 1- or 2-byte | ||
| 1799 | element is written through its own guarded dword): from the instruction's format, or the V#'s (`fmt`, a %uint | ||
| 1800 | id) at run time.""" | ||
| 1801 | if fixed_fmt is not None: | ||
| 1802 | return max(1, self.FORMATS.get(fixed_fmt, (4,))[0] // 4) | ||
| 1803 | size, q, n = self.fmt_size_of(fmt), self.tmp(), self.tmp() | ||
| 1804 | self.emit(f"{q} = OpShiftRightLogical %uint {size} {self.cu(2)}") | ||
| 1805 | self.emit(f"{n} = OpExtInst %uint %glsl UMax {q} {self.cu(1)}") | ||
| 1806 | return n | ||
| 1807 | |||
| 1808 | def guard_zero(self, value, ty="%uint"): | ||
| 1809 | """--address-guard: `value` (an atomic's result) or 0 when the last host_addr was refused: a refused atomic | ||
| 1810 | ran on the dump area, and what it returned from there means nothing. `value` unchanged without the guard.""" | ||
| 1811 | if not ADDRESS_GUARD or self.guard_last is None: | ||
| 1812 | return value | ||
| 1813 | r, unguarded = self.guard_last | ||
| 1814 | ok, out = self.tmp(), self.tmp() | ||
| 1815 | zero = self.cu(0) if ty == "%uint" else self.cl(0) | ||
| 1816 | self.emit(f"{ok} = OpIEqual %bool {r} {unguarded}") | ||
| 1817 | self.emit(f"{out} = OpSelect {ty} {ok} {value} {zero}") | ||
| 1818 | return out | ||
| 1819 | |||
| 1612 | def tof(self, u): | 1820 | def tof(self, u): |
| 1613 | """The %float with the bits of %uint u. Bitcasting a tou result back gives tou's argument (Gen.bitcast_from), | 1821 | """The %float with the bits of %uint u. Bitcasting a tou result back gives tou's argument (Gen.bitcast_from), |
| 1614 | so u must be a %uint and tou's argument a %float; an %int's bits go through int_bits.""" | 1822 | so u must be a %uint and tou's argument a %float; an %int's bits go through int_bits.""" |
| @@ -2336,7 +2544,7 @@ class Gen: | |||
| 2336 | self.emit(f"{f2} = OpISub %ulong {far} {self.cl(3)}") | 2544 | self.emit(f"{f2} = OpISub %ulong {far} {self.cl(3)}") |
| 2337 | self.emit(f"{sel} = OpSelect %ulong {cross} {f2} {va}") | 2545 | self.emit(f"{sel} = OpSelect %ulong {cross} {f2} {va}") |
| 2338 | va = sel | 2546 | va = sel |
| 2339 | p, sh = self.global_byte_ptr(va) | 2547 | p, sh = self.global_byte_ptr(va, "store" if store else "load") |
| 2340 | if store: | 2548 | if store: |
| 2341 | byte, mk, inv, vs, t1, t2 = (self.tmp() for _ in range(6)) | 2549 | byte, mk, inv, vs, t1, t2 = (self.tmp() for _ in range(6)) |
| 2342 | self.emit(f"{byte} = OpBitFieldUExtract %uint {old} {self.cu(16 * (half or 0) + 8 * k)} {self.cu(8)}") | 2550 | self.emit(f"{byte} = OpBitFieldUExtract %uint {old} {self.cu(16 * (half or 0) + 8 * k)} {self.cu(8)}") |
| @@ -2386,7 +2594,7 @@ class Gen: | |||
| 2386 | vd = a[0] | 2594 | vd = a[0] |
| 2387 | addr, _, in_b, raw_parts, step = self.buffer_address(a, mods, parts=True) | 2595 | addr, _, in_b, raw_parts, step = self.buffer_address(a, mods, parts=True) |
| 2388 | act = self.active_b() | 2596 | act = self.active_b() |
| 2389 | ptr, host = self.tmp(), self.host_addr(addr) | 2597 | ptr, host = self.tmp(), self.host_addr(addr, "load", lambda: self.guard_delta(n, step)) |
| 2390 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") | 2598 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") |
| 2391 | 2599 | ||
| 2392 | def guarded(cond, dwords): | 2600 | def guarded(cond, dwords): |
| @@ -2453,7 +2661,7 @@ class Gen: | |||
| 2453 | self.emit(f"{b64} = OpUConvert %ulong {b3}") | 2661 | self.emit(f"{b64} = OpUConvert %ulong {b3}") |
| 2454 | self.emit(f"{aligned} = OpISub %ulong {addr} {b64}") | 2662 | self.emit(f"{aligned} = OpISub %ulong {addr} {b64}") |
| 2455 | self.emit(f"{sh} = OpShiftLeftLogical %uint {b3} {self.cu(3)}") | 2663 | self.emit(f"{sh} = OpShiftLeftLogical %uint {b3} {self.cu(3)}") |
| 2456 | ptr, host = self.tmp(), self.host_addr(aligned) | 2664 | ptr, host = self.tmp(), self.host_addr(aligned, "load", lambda: self.guard_delta(self.sub_dwords(nbytes, b3), step)) |
| 2457 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") | 2665 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") |
| 2458 | p0, w0 = self.buf_dword_ptr(ptr, host, step, 0), self.tmp() | 2666 | p0, w0 = self.buf_dword_ptr(ptr, host, step, 0), self.tmp() |
| 2459 | self.emit(f"{w0} = OpLoad %uint {p0} Aligned 4") | 2667 | self.emit(f"{w0} = OpLoad %uint {p0} Aligned 4") |
| @@ -2957,7 +3165,7 @@ class Gen: | |||
| 2957 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") | 3165 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") |
| 2958 | self.emit(f"{lbl_do} = OpLabel") | 3166 | self.emit(f"{lbl_do} = OpLabel") |
| 2959 | ptr, p, init = self.tmp(), self.tmp(), self.tmp() | 3167 | ptr, p, init = self.tmp(), self.tmp(), self.tmp() |
| 2960 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(addr)}") | 3168 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(addr, 'rmw')}") |
| 2961 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(0)}") | 3169 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(0)}") |
| 2962 | self.emit(f"{init} = OpAtomicLoad %uint {p} {self.cu(1)} {self.cu(0)}") | 3170 | self.emit(f"{init} = OpAtomicLoad %uint {p} {self.cu(1)} {self.cu(0)}") |
| 2963 | self.emit(f"OpBranch {lbl_hdr}") | 3171 | self.emit(f"OpBranch {lbl_hdr}") |
| @@ -2975,6 +3183,7 @@ class Gen: | |||
| 2975 | self.emit(f"{lbl_cont} = OpLabel") | 3183 | self.emit(f"{lbl_cont} = OpLabel") |
| 2976 | self.emit(f"OpBranch {lbl_hdr}") | 3184 | self.emit(f"OpBranch {lbl_hdr}") |
| 2977 | self.emit(f"{lbl_exit} = OpLabel") | 3185 | self.emit(f"{lbl_exit} = OpLabel") |
| 3186 | cur = self.guard_zero(cur) | ||
| 2978 | self.emit(f"OpBranch {lbl_end}") | 3187 | self.emit(f"OpBranch {lbl_end}") |
| 2979 | self.emit(f"{lbl_end} = OpLabel") | 3188 | self.emit(f"{lbl_end} = OpLabel") |
| 2980 | old = self.tmp() | 3189 | old = self.tmp() |
| @@ -3022,7 +3231,7 @@ class Gen: | |||
| 3022 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") | 3231 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") |
| 3023 | self.emit(f"{lbl_do} = OpLabel") | 3232 | self.emit(f"{lbl_do} = OpLabel") |
| 3024 | ptr, p = self.tmp(), self.tmp() | 3233 | ptr, p = self.tmp(), self.tmp() |
| 3025 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full)}") | 3234 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full, 'rmw')}") |
| 3026 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(0)}") | 3235 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(0)}") |
| 3027 | if is_inc_dec: | 3236 | if is_inc_dec: |
| 3028 | res, done_lbl = self.atomic_inc_dec_cas(p, val, kind, lbl_do) | 3237 | res, done_lbl = self.atomic_inc_dec_cas(p, val, kind, lbl_do) |
| @@ -3035,6 +3244,7 @@ class Gen: | |||
| 3035 | self.emit(f"{res} = OpAtomicCompareExchange %uint {p} {self.cu(1)} {self.cu(0)} {self.cu(0)} {val} {cmp}") | 3244 | self.emit(f"{res} = OpAtomicCompareExchange %uint {p} {self.cu(1)} {self.cu(0)} {self.cu(0)} {val} {cmp}") |
| 3036 | else: | 3245 | else: |
| 3037 | self.emit(f"{res} = {self.BUF_ATOMICS[kind][0]} %uint {p} {self.cu(1)} {self.cu(0)} {val}") | 3246 | self.emit(f"{res} = {self.BUF_ATOMICS[kind][0]} %uint {p} {self.cu(1)} {self.cu(0)} {val}") |
| 3247 | res = self.guard_zero(res) | ||
| 3038 | self.emit(f"OpBranch {lbl_end}") | 3248 | self.emit(f"OpBranch {lbl_end}") |
| 3039 | self.emit(f"{lbl_end} = OpLabel") | 3249 | self.emit(f"{lbl_end} = OpLabel") |
| 3040 | self.emit(f"{old} = OpPhi %uint {res} {done_lbl} {self.cu(0)} {pre}") | 3250 | self.emit(f"{old} = OpPhi %uint {res} {done_lbl} {self.cu(0)} {pre}") |
| @@ -3086,13 +3296,14 @@ class Gen: | |||
| 3086 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") | 3296 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") |
| 3087 | self.emit(f"{lbl_do} = OpLabel") | 3297 | self.emit(f"{lbl_do} = OpLabel") |
| 3088 | ptr = self.tmp() | 3298 | ptr = self.tmp() |
| 3089 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full)}") | 3299 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full, 'rmw', 8)}") |
| 3090 | res = [] | 3300 | res = [] |
| 3091 | for w in range(2): | 3301 | for w in range(2): |
| 3092 | p, r = self.tmp(), self.tmp() | 3302 | p, r = self.tmp(), self.tmp() |
| 3093 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(w)}") | 3303 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(w)}") |
| 3094 | self.emit(f"{r} = {spv} %uint {p} {self.cu(1)} {self.cu(0)} {vals[w]}") | 3304 | self.emit(f"{r} = {spv} %uint {p} {self.cu(1)} {self.cu(0)} {vals[w]}") |
| 3095 | res.append(r) | 3305 | res.append(r) |
| 3306 | res = [self.guard_zero(r) for r in res] | ||
| 3096 | self.emit(f"OpBranch {lbl_end}") | 3307 | self.emit(f"OpBranch {lbl_end}") |
| 3097 | self.emit(f"{lbl_end} = OpLabel") | 3308 | self.emit(f"{lbl_end} = OpLabel") |
| 3098 | olds = [] | 3309 | olds = [] |
| @@ -3160,7 +3371,7 @@ class Gen: | |||
| 3160 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") | 3371 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") |
| 3161 | self.emit(f"{lbl_do} = OpLabel") | 3372 | self.emit(f"{lbl_do} = OpLabel") |
| 3162 | ptr, p = self.tmp(), self.tmp() | 3373 | ptr, p = self.tmp(), self.tmp() |
| 3163 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(addr)}") | 3374 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(addr, 'rmw')}") |
| 3164 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(0)}") | 3375 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(0)}") |
| 3165 | if is_inc_dec: | 3376 | if is_inc_dec: |
| 3166 | res_do, done_lbl = self.atomic_inc_dec_cas(p, val, kind, lbl_do) | 3377 | res_do, done_lbl = self.atomic_inc_dec_cas(p, val, kind, lbl_do) |
| @@ -3178,6 +3389,7 @@ class Gen: | |||
| 3178 | self.emit(f"{res_do} = OpAtomicExchange %uint {p} {self.cu(1)} {self.cu(0)} {val}") | 3389 | self.emit(f"{res_do} = OpAtomicExchange %uint {p} {self.cu(1)} {self.cu(0)} {val}") |
| 3179 | else: | 3390 | else: |
| 3180 | self.emit(f"{res_do} = {spv} %uint {p} {self.cu(1)} {self.cu(0)} {val}") | 3391 | self.emit(f"{res_do} = {spv} %uint {p} {self.cu(1)} {self.cu(0)} {val}") |
| 3392 | res_do = self.guard_zero(res_do) | ||
| 3181 | self.emit(f"OpBranch {lbl_end}") | 3393 | self.emit(f"OpBranch {lbl_end}") |
| 3182 | self.emit(f"{lbl_end} = OpLabel") | 3394 | self.emit(f"{lbl_end} = OpLabel") |
| 3183 | self.emit(f"{old} = OpPhi %uint {res_do} {done_lbl} {self.cu(0)} {pre_label}") | 3395 | self.emit(f"{old} = OpPhi %uint {res_do} {done_lbl} {self.cu(0)} {pre_label}") |
| @@ -3228,13 +3440,14 @@ class Gen: | |||
| 3228 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") | 3440 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") |
| 3229 | self.emit(f"{lbl_do} = OpLabel") | 3441 | self.emit(f"{lbl_do} = OpLabel") |
| 3230 | ptr = self.tmp() | 3442 | ptr = self.tmp() |
| 3231 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(addr)}") | 3443 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(addr, 'rmw', 8)}") |
| 3232 | res = [] | 3444 | res = [] |
| 3233 | for w in range(2): | 3445 | for w in range(2): |
| 3234 | p, r = self.tmp(), self.tmp() | 3446 | p, r = self.tmp(), self.tmp() |
| 3235 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(w)}") | 3447 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(w)}") |
| 3236 | self.emit(f"{r} = {self.BUF_ATOMICS[kind][0]} %uint {p} {self.cu(1)} {self.cu(0)} {vals[w]}") | 3448 | self.emit(f"{r} = {self.BUF_ATOMICS[kind][0]} %uint {p} {self.cu(1)} {self.cu(0)} {vals[w]}") |
| 3237 | res.append(r) | 3449 | res.append(r) |
| 3450 | res = [self.guard_zero(r) for r in res] | ||
| 3238 | self.emit(f"OpBranch {lbl_end}") | 3451 | self.emit(f"OpBranch {lbl_end}") |
| 3239 | self.emit(f"{lbl_end} = OpLabel") | 3452 | self.emit(f"{lbl_end} = OpLabel") |
| 3240 | olds = [] | 3453 | olds = [] |
| @@ -3628,7 +3841,7 @@ class Gen: | |||
| 3628 | self.emit(f"OpSelectionMerge {lbl_end} None") | 3841 | self.emit(f"OpSelectionMerge {lbl_end} None") |
| 3629 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") | 3842 | self.emit(f"OpBranchConditional {cond} {lbl_do} {lbl_end}") |
| 3630 | self.emit(f"{lbl_do} = OpLabel") | 3843 | self.emit(f"{lbl_do} = OpLabel") |
| 3631 | ptr, host = self.tmp(), self.host_addr(aligned) | 3844 | ptr, host = self.tmp(), self.host_addr(aligned, "load", lambda: self.guard_delta(need, step)) |
| 3632 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") | 3845 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") |
| 3633 | loaded = [] | 3846 | loaded = [] |
| 3634 | for i in range(5): | 3847 | for i in range(5): |
| @@ -3839,7 +4052,7 @@ class Gen: | |||
| 3839 | "global_load_sbyte_d16": (1, False, True, 0), "global_load_sbyte_d16_hi": (1, False, True, 1), | 4052 | "global_load_sbyte_d16": (1, False, True, 0), "global_load_sbyte_d16_hi": (1, False, True, 1), |
| 3840 | "global_load_short_d16": (2, False, False, 0), "global_load_short_d16_hi": (2, False, False, 1)} | 4053 | "global_load_short_d16": (2, False, False, 0), "global_load_short_d16_hi": (2, False, False, 1)} |
| 3841 | 4054 | ||
| 3842 | def global_byte_ptr(self, va): | 4055 | def global_byte_ptr(self, va, kind="load"): |
| 3843 | """(pointer to the dword holding byte `va`, bit offset of that byte in it) for a ulong Xbox VA.""" | 4056 | """(pointer to the dword holding byte `va`, bit offset of that byte in it) for a ulong Xbox VA.""" |
| 3844 | lo, b3, b64, al, arr, p, sh = (self.tmp() for _ in range(7)) | 4057 | lo, b3, b64, al, arr, p, sh = (self.tmp() for _ in range(7)) |
| 3845 | self.emit(f"{lo} = OpUConvert %uint {va}") | 4058 | self.emit(f"{lo} = OpUConvert %uint {va}") |
| @@ -3847,7 +4060,7 @@ class Gen: | |||
| 3847 | self.emit(f"{b64} = OpUConvert %ulong {b3}") | 4060 | self.emit(f"{b64} = OpUConvert %ulong {b3}") |
| 3848 | self.emit(f"{al} = OpISub %ulong {va} {b64}") | 4061 | self.emit(f"{al} = OpISub %ulong {va} {b64}") |
| 3849 | # MoltenVK 1.4.0 needs an addressable array element for the Metal atomic operations (as buffer stores). | 4062 | # MoltenVK 1.4.0 needs an addressable array element for the Metal atomic operations (as buffer stores). |
| 3850 | self.emit(f"{arr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(al)}") | 4063 | self.emit(f"{arr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(al, kind)}") |
| 3851 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {arr} {self.cu(0)}") | 4064 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {arr} {self.cu(0)}") |
| 3852 | self.emit(f"{sh} = OpShiftLeftLogical %uint {b3} {self.cu(3)}") | 4065 | self.emit(f"{sh} = OpShiftLeftLogical %uint {b3} {self.cu(3)}") |
| 3853 | return p, sh | 4066 | return p, sh |
| @@ -3879,7 +4092,7 @@ class Gen: | |||
| 3879 | if k: | 4092 | if k: |
| 3880 | va = self.tmp() | 4093 | va = self.tmp() |
| 3881 | self.emit(f"{va} = OpIAdd %ulong {full} {self.cl(k)}") | 4094 | self.emit(f"{va} = OpIAdd %ulong {full} {self.cl(k)}") |
| 3882 | p, sh = self.global_byte_ptr(va) | 4095 | p, sh = self.global_byte_ptr(va, "store" if store else "load") |
| 3883 | if store: | 4096 | if store: |
| 3884 | byte, mk, inv, vs, t1, t2 = (self.tmp() for _ in range(6)) | 4097 | byte, mk, inv, vs, t1, t2 = (self.tmp() for _ in range(6)) |
| 3885 | self.emit(f"{byte} = OpBitFieldUExtract %uint {old} {self.cu(16 * (half or 0) + 8 * k)} {self.cu(8)}") | 4098 | self.emit(f"{byte} = OpBitFieldUExtract %uint {old} {self.cu(16 * (half or 0) + 8 * k)} {self.cu(8)}") |
| @@ -3948,7 +4161,8 @@ class Gen: | |||
| 3948 | self.emit(f"{b3} = OpBitwiseAnd %uint {lo32} {self.cu(3)}") | 4161 | self.emit(f"{b3} = OpBitwiseAnd %uint {lo32} {self.cu(3)}") |
| 3949 | self.emit(f"{b64} = OpUConvert %ulong {b3}") | 4162 | self.emit(f"{b64} = OpUConvert %ulong {b3}") |
| 3950 | self.emit(f"{al} = OpISub %ulong {full} {b64}") | 4163 | self.emit(f"{al} = OpISub %ulong {full} {b64}") |
| 3951 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(al)}") | 4164 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr " |
| 4165 | f"{self.host_addr(al, 'load', lambda: self.guard_delta(self.sub_dwords(bits // 8, b3), None))}") | ||
| 3952 | self.emit(f"{p0} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(0)}") | 4166 | self.emit(f"{p0} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(0)}") |
| 3953 | self.emit(f"{w} = OpLoad %uint {p0} Aligned 4") | 4167 | self.emit(f"{w} = OpLoad %uint {p0} Aligned 4") |
| 3954 | self.emit(f"{shb} = OpShiftLeftLogical %uint {b3} {self.cu(3)}") | 4168 | self.emit(f"{shb} = OpShiftLeftLogical %uint {b3} {self.cu(3)}") |
| @@ -3975,7 +4189,7 @@ class Gen: | |||
| 3975 | vals.append(v) | 4189 | vals.append(v) |
| 3976 | else: | 4190 | else: |
| 3977 | ptr = self.tmp() | 4191 | ptr = self.tmp() |
| 3978 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full)}") | 4192 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full, 'load', 4 * n)}") |
| 3979 | for i in range(n): | 4193 | for i in range(n): |
| 3980 | p, v = self.tmp(), self.tmp() | 4194 | p, v = self.tmp(), self.tmp() |
| 3981 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(i)}") | 4195 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(i)}") |
| @@ -3997,7 +4211,7 @@ class Gen: | |||
| 3997 | self.emit(f"OpBranchConditional {act} {lbl_do} {lbl_end}") | 4211 | self.emit(f"OpBranchConditional {act} {lbl_do} {lbl_end}") |
| 3998 | self.emit(f"{lbl_do} = OpLabel") | 4212 | self.emit(f"{lbl_do} = OpLabel") |
| 3999 | ptr = self.tmp() | 4213 | ptr = self.tmp() |
| 4000 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full)}") | 4214 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full, 'store', 4 * n)}") |
| 4001 | for i in range(n): | 4215 | for i in range(n): |
| 4002 | p = self.tmp() | 4216 | p = self.tmp() |
| 4003 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(i)}") | 4217 | self.emit(f"{p} = OpAccessChain %_ptr_PSB_uint {ptr} {self.cu(i)}") |
| @@ -4543,7 +4757,7 @@ class Gen: | |||
| 4543 | if words is not None and per is not None and len(words) > 1: | 4757 | if words is not None and per is not None and len(words) > 1: |
| 4544 | # modes 0 and 3: every dword is stored only if it ends inside (measured: a store that straddles the edge | 4758 | # modes 0 and 3: every dword is stored only if it ends inside (measured: a store that straddles the edge |
| 4545 | # writes the dwords before it); a store past the end of the buffer is a host-memory hazard otherwise | 4759 | # writes the dwords before it); a store past the end of the buffer is a host-memory hazard otherwise |
| 4546 | ptr, host = self.tmp(), self.host_addr(addr) | 4760 | ptr, host = self.tmp(), self.host_addr(addr, "store", lambda: self.guard_delta(len(words), step)) |
| 4547 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") | 4761 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") |
| 4548 | for i, w in enumerate(words): | 4762 | for i, w in enumerate(words): |
| 4549 | cond, lbl_do, lbl_end = self.tmp(), self.tmp() + "_do", self.tmp() + "_end" | 4763 | cond, lbl_do, lbl_end = self.tmp(), self.tmp() + "_do", self.tmp() + "_end" |
| @@ -4570,7 +4784,8 @@ class Gen: | |||
| 4570 | self.emit(f"OpSelectionMerge {lbl_end} None") | 4784 | self.emit(f"OpSelectionMerge {lbl_end} None") |
| 4571 | self.emit(f"OpBranchConditional {act} {lbl_do} {lbl_end}") | 4785 | self.emit(f"OpBranchConditional {act} {lbl_do} {lbl_end}") |
| 4572 | self.emit(f"{lbl_do} = OpLabel") | 4786 | self.emit(f"{lbl_do} = OpLabel") |
| 4573 | ptr, host = self.tmp(), self.host_addr(addr) | 4787 | ptr, host = self.tmp(), self.host_addr(addr, "store", lambda: self.guard_delta( |
| 4788 | len(words) if words is not None else self.store_element_dwords(plans[0], fixed_fmt), step)) | ||
| 4574 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") | 4789 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {host}") |
| 4575 | if words is not None: | 4790 | if words is not None: |
| 4576 | for i, w in enumerate(words): | 4791 | for i, w in enumerate(words): |
| @@ -4660,7 +4875,7 @@ class Gen: | |||
| 4660 | self.emit(f"{sh24} = OpBitwiseAnd %uint {sh8} {self.cu(24)}") | 4875 | self.emit(f"{sh24} = OpBitwiseAnd %uint {sh8} {self.cu(24)}") |
| 4661 | # MoltenVK 1.4.0 needs an addressable array element for the Metal atomic operations. | 4876 | # MoltenVK 1.4.0 needs an addressable array element for the Metal atomic operations. |
| 4662 | dword_arr = self.tmp() | 4877 | dword_arr = self.tmp() |
| 4663 | self.emit(f"{dword_arr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(al)}") | 4878 | self.emit(f"{dword_arr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(al, 'store')}") |
| 4664 | self.emit(f"{ap} = OpAccessChain %_ptr_PSB_uint {dword_arr} {self.cu(0)}") | 4879 | self.emit(f"{ap} = OpAccessChain %_ptr_PSB_uint {dword_arr} {self.cu(0)}") |
| 4665 | self.emit(f"{mk} = OpCopyObject %uint {self.cu((1 << (8 * size)) - 1)}") | 4880 | self.emit(f"{mk} = OpCopyObject %uint {self.cu((1 << (8 * size)) - 1)}") |
| 4666 | self.emit(f"{mks} = OpShiftLeftLogical %uint {mk} {sh24}") | 4881 | self.emit(f"{mks} = OpShiftLeftLogical %uint {mk} {sh24}") |
| @@ -4703,7 +4918,7 @@ class Gen: | |||
| 4703 | self.emit(f"{sh24} = OpBitwiseAnd %uint {sh8} {self.cu(24)}") | 4918 | self.emit(f"{sh24} = OpBitwiseAnd %uint {sh8} {self.cu(24)}") |
| 4704 | # MoltenVK 1.4.0 needs an addressable array element for the Metal atomic operations. | 4919 | # MoltenVK 1.4.0 needs an addressable array element for the Metal atomic operations. |
| 4705 | dword_arr = self.tmp() | 4920 | dword_arr = self.tmp() |
| 4706 | self.emit(f"{dword_arr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(al)}") | 4921 | self.emit(f"{dword_arr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(al, 'store')}") |
| 4707 | self.emit(f"{ap} = OpAccessChain %_ptr_PSB_uint {dword_arr} {self.cu(0)}") | 4922 | self.emit(f"{ap} = OpAccessChain %_ptr_PSB_uint {dword_arr} {self.cu(0)}") |
| 4708 | self.emit(f"{one} = OpIEqual %bool {size} {self.cu(1)}") | 4923 | self.emit(f"{one} = OpIEqual %bool {size} {self.cu(1)}") |
| 4709 | self.emit(f"{mk} = OpSelect %uint {one} {self.cu(0xFF)} {self.cu(0xFFFF)}") | 4924 | self.emit(f"{mk} = OpSelect %uint {one} {self.cu(0xFF)} {self.cu(0xFFFF)}") |
| @@ -7419,22 +7634,23 @@ class Gen: | |||
| 7419 | raise Unsupported("DPP operands") | 7634 | raise Unsupported("DPP operands") |
| 7420 | # A VOPC compare in DPP form (docs/design.md, "DPP on a VOPC compare"): src0 comes through the same lane | 7635 | # A VOPC compare in DPP form (docs/design.md, "DPP on a VOPC compare"): src0 comes through the same lane |
| 7421 | # selection and the result is a mask bit, not a VGPR. Only the forms where every lane writes its bit are | 7636 | # selection and the result is a mask bit, not a VGPR. Only the forms where every lane writes its bit are |
| 7422 | # taken: what a lane that DPP leaves unwritten does to its VCC bit is not measured. | 7637 | # taken: what a lane that DPP leaves unwritten does to its VCC bit is measured on RDNA3 only (it gets 0), not |
| 7638 | # on RDNA2. v_cmpx writes EXEC instead and prints no destination, so its src0 is the first operand | ||
| 7639 | # (SHADER-VOPCX-DPP). | ||
| 7423 | compare = base_op(ins["op"]).startswith("v_cmp") | 7640 | compare = base_op(ins["op"]).startswith("v_cmp") |
| 7641 | first = 0 if base_op(ins["op"]).startswith("v_cmpx") else 1 | ||
| 7424 | if compare: | 7642 | if compare: |
| 7425 | if base_op(ins["op"]).startswith("v_cmpx"): | 7643 | if len(args) != first + 2: |
| 7426 | raise Unsupported("DPP on v_cmpx") | ||
| 7427 | if len(args) != 3: | ||
| 7428 | raise Unsupported("DPP compare operands") | 7644 | raise Unsupported("DPP compare operands") |
| 7429 | if row_mask != 0xF or bank_mask != 0xF or not (dpp8 is not None or bound): | 7645 | if row_mask != 0xF or bank_mask != 0xF or not (dpp8 is not None or bound): |
| 7430 | raise Unsupported("DPP compare with lanes that keep their mask bit") | 7646 | raise Unsupported("DPP compare with lanes DPP leaves unwritten") |
| 7431 | elif args[0].get("k") != "vgpr" or args[0].get("n", 1) != 1: | 7647 | elif args[0].get("k") != "vgpr" or args[0].get("n", 1) != 1: |
| 7432 | raise Unsupported("DPP destination") | 7648 | raise Unsupported("DPP destination") |
| 7433 | if args[1].get("n", 1) != 1: | 7649 | if args[first].get("n", 1) != 1: |
| 7434 | raise Unsupported("DPP 64-bit source") | 7650 | raise Unsupported("DPP 64-bit source") |
| 7435 | if args[1].get("sext"): | 7651 | if args[first].get("sext"): |
| 7436 | raise Unsupported("DPP sext") | 7652 | raise Unsupported("DPP sext") |
| 7437 | src = args[1] | 7653 | src = args[first] |
| 7438 | raw_src = dict(src) | 7654 | raw_src = dict(src) |
| 7439 | raw_src.pop("neg", None) | 7655 | raw_src.pop("neg", None) |
| 7440 | raw_src.pop("abs", None) | 7656 | raw_src.pop("abs", None) |
| @@ -7615,10 +7831,10 @@ class Gen: | |||
| 7615 | else: | 7831 | else: |
| 7616 | write = self.tmp() | 7832 | write = self.tmp() |
| 7617 | self.emit(f"{write} = OpLogicalAnd %bool {enabled} {src_ok}") | 7833 | self.emit(f"{write} = OpLogicalAnd %bool {enabled} {src_ok}") |
| 7618 | args[1] = {"k": "ssa", "v": src0} | 7834 | args[first] = {"k": "ssa", "v": src0} |
| 7619 | if compare: | 7835 | if compare: |
| 7620 | # Every lane is enabled and an invalid source reads 0 (checked above), so the compare's own EXEC guard | 7836 | # Every lane is enabled and an invalid source reads 0 (checked above), so the compare's own EXEC guard |
| 7621 | # is the only one: the mask write is the plain compare's. | 7837 | # is the only one: the mask write is the plain compare's (for v_cmpx, EXEC's). |
| 7622 | return self._insn({**ins, "args": args}) | 7838 | return self._insn({**ins, "args": args}) |
| 7623 | previous = self.dpp_guard | 7839 | previous = self.dpp_guard |
| 7624 | self.dpp_guard = write | 7840 | self.dpp_guard = write |
| @@ -12795,7 +13011,7 @@ class Gen: | |||
| 12795 | self.emit(f"{addr} = OpBitwiseOr %ulong {sh} {l64}") | 13011 | self.emit(f"{addr} = OpBitwiseOr %ulong {sh} {l64}") |
| 12796 | self.emit(f"{full} = OpIAdd %ulong {addr} {o64}") | 13012 | self.emit(f"{full} = OpIAdd %ulong {addr} {o64}") |
| 12797 | ptr = self.tmp() | 13013 | ptr = self.tmp() |
| 12798 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full)}") | 13014 | self.emit(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(full, 'load', 4 * n)}") |
| 12799 | self.uses_psb = True | 13015 | self.uses_psb = True |
| 12800 | lim = None | 13016 | lim = None |
| 12801 | lim_val = None | 13017 | lim_val = None |
| @@ -15217,7 +15433,14 @@ class Gen: | |||
| 15217 | e(f"{off} = OpShiftLeftLogical %ulong {nm} {self.cl(3)}") | 15433 | e(f"{off} = OpShiftLeftLogical %ulong {nm} {self.cl(3)}") |
| 15218 | e(f"{addr} = OpIAdd %ulong {base} {off}") | 15434 | e(f"{addr} = OpIAdd %ulong {base} {off}") |
| 15219 | ptr = T() | 15435 | ptr = T() |
| 15220 | e(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(addr)}") | 15436 | |
| 15437 | def node_delta(): | ||
| 15438 | """--address-guard: a box32 node (type 5) is read up to dword 27, the others up to dword 15.""" | ||
| 15439 | b32, d = T(), T() | ||
| 15440 | e(f"{b32} = OpIEqual %bool {ntype} {self.cu(5)}") | ||
| 15441 | e(f"{d} = OpSelect %ulong {b32} {self.cl(4 * 28 - 1)} {self.cl(4 * 16 - 1)}") | ||
| 15442 | return d | ||
| 15443 | e(f"{ptr} = OpConvertUToPtr %_ptr_PSB_arr {self.host_addr(addr, 'load', node_delta)}") | ||
| 15221 | 15444 | ||
| 15222 | def ldw(i): | 15445 | def ldw(i): |
| 15223 | pp, v = T(), T() | 15446 | pp, v = T(), T() |
| @@ -16259,6 +16482,10 @@ def assemble(gen): | |||
| 16259 | types.append("%fn_desc_lookup = OpTypeFunction %uint " + " ".join(["%uint"] * 8)) | 16482 | types.append("%fn_desc_lookup = OpTypeFunction %uint " + " ".join(["%uint"] * 8)) |
| 16260 | if gen.tbuffer_norm_fns: | 16483 | if gen.tbuffer_norm_fns: |
| 16261 | types.append("%fn_tbuffer_norm = OpTypeFunction %uint %uint") | 16484 | types.append("%fn_tbuffer_norm = OpTypeFunction %uint %uint") |
| 16485 | if gen.guard_fn: | ||
| 16486 | # --address-guard: (heap_base, on, limit, table, offset, delta, sink) -> host address; no other function | ||
| 16487 | # type of the module has this signature. | ||
| 16488 | types.append("%fn_guard = OpTypeFunction %ulong %ulong %bool %ulong %ulong %ulong %ulong %ulong") | ||
| 16262 | if gen.fmt_fn or gen.fmt_enc_fn: | 16489 | if gen.fmt_fn or gen.fmt_enc_fn: |
| 16263 | types.append("%v4uint_fmt = OpTypeVector %uint 4") # dedupe_types merges it with any other uvec4 | 16490 | types.append("%v4uint_fmt = OpTypeVector %uint 4") # dedupe_types merges it with any other uvec4 |
| 16264 | if gen.fmt_fn: | 16491 | if gen.fmt_fn: |
| @@ -16562,6 +16789,8 @@ def assemble(gen): | |||
| 16562 | gen.consts.setdefault(1, "%c1") | 16789 | gen.consts.setdefault(1, "%c1") |
| 16563 | gen.consts.setdefault(2, "%c2") | 16790 | gen.consts.setdefault(2, "%c2") |
| 16564 | fn += [pc_tail_chain("%ud_base_lo_p", 1, gen.cu), pc_tail_chain("%ud_base_hi_p", 2, gen.cu)] + HEAP_BASE_ENTRY | 16791 | fn += [pc_tail_chain("%ud_base_lo_p", 1, gen.cu), pc_tail_chain("%ud_base_hi_p", 2, gen.cu)] + HEAP_BASE_ENTRY |
| 16792 | if gen.uses_guard: | ||
| 16793 | fn += guard_entry(gen.cl, gen.cu) | ||
| 16565 | if gen.uses_codebase: | 16794 | if gen.uses_codebase: |
| 16566 | fn += [pc_tail_chain("%ud_code_lo_p", 3, gen.cu), pc_tail_chain("%ud_code_hi_p", 4, gen.cu)] | 16795 | fn += [pc_tail_chain("%ud_code_lo_p", 3, gen.cu), pc_tail_chain("%ud_code_hi_p", 4, gen.cu)] |
| 16567 | # A mesh shader reads its root arguments from the graphics window (user_data_dword, GRAPHICS_ROOT_DWORD). | 16796 | # A mesh shader reads its root arguments from the graphics window (user_data_dword, GRAPHICS_ROOT_DWORD). |
| @@ -16687,7 +16916,7 @@ def assemble(gen): | |||
| 16687 | fn.append(f"{p} = OpAccessChain %_ptr_Function_uint {arr} {gen.cu(r)}") | 16916 | fn.append(f"{p} = OpAccessChain %_ptr_Function_uint {arr} {gen.cu(r)}") |
| 16688 | # Spill pointers last: a spilled value's type may be declared anywhere above. | 16917 | # Spill pointers last: a spilled value's type may be declared anywhere above. |
| 16689 | types += [f"{ptr} = OpTypePointer Function {t}" for t, ptr in gen.x_ptr_types.items()] | 16918 | types += [f"{ptr} = OpTypePointer Function {t}" for t, ptr in gen.x_ptr_types.items()] |
| 16690 | helpers = (gen.desc_fn or []) + (gen.fmt_fn or []) + (gen.fmt_enc_fn or []) | 16919 | helpers = (gen.desc_fn or []) + (gen.fmt_fn or []) + (gen.fmt_enc_fn or []) + (gen.guard_fn or []) |
| 16691 | for function in gen.tbuffer_norm_fns.values(): | 16920 | for function in gen.tbuffer_norm_fns.values(): |
| 16692 | helpers.extend(function) | 16921 | helpers.extend(function) |
| 16693 | for function in gen.x_round_fns.values(): | 16922 | for function in gen.x_round_fns.values(): |
| @@ -17661,6 +17890,18 @@ def mix_literal(raw, printed, op): | |||
| 17661 | return stored | 17890 | return stored |
| 17662 | 17891 | ||
| 17663 | 17892 | ||
| 17893 | def restore_text_cut_mix_literal(ins, enc): | ||
| 17894 | """llvm-mc 21.1.8 can print a v_fma_mix* literal cut to its low 16 bits in the text while its printed encoding | ||
| 17895 | holds all 32 (the printed-encoding check then passes, and the text alone reads the high half as +0.0): take the | ||
| 17896 | literal from the printed encoding. Measured on 1.0.2.1: 47,910 such instructions in 1,218 pipeline-library | ||
| 17897 | programs and 6 in one FidelityFX FSPX program; none among the game's own shaders.""" | ||
| 17898 | if len(enc) != 12 or enc[3] != 0xCC or not base_op(ins["op"]).startswith("v_fma_mix"): | ||
| 17899 | return | ||
| 17900 | literal = int.from_bytes(enc[8:], "little") | ||
| 17901 | if literal >> 16 and any(a.get("k") == "imm" and a.get("v") == literal & 0xFFFF for a in ins["args"][1:4]): | ||
| 17902 | restore_mix_literal(ins, enc, literal) | ||
| 17903 | |||
| 17904 | |||
| 17664 | def restore_mix_literal(ins, raw, literal): | 17905 | def restore_mix_literal(ins, raw, literal): |
| 17665 | """Give every source of ``ins`` that the stored bytes encode as the literal (SRC field 0xff) its 32-bit value.""" | 17906 | """Give every source of ``ins`` that the stored bytes encode as the literal (SRC field 0xff) its 32-bit value.""" |
| 17666 | w1 = int.from_bytes(raw[4:8], "little") | 17907 | w1 = int.from_bytes(raw[4:8], "little") |
| @@ -17735,12 +17976,12 @@ def restore_mix_inline_literal(ins, raw, literal): | |||
| 17735 | 17976 | ||
| 17736 | def skipped_form(ins, blob, at): | 17977 | def skipped_form(ins, blob, at): |
| 17737 | """Whether rdna2_decode's instruction at blob offset ``at`` is one of the forms llvm-mc skips that | 17978 | """Whether rdna2_decode's instruction at blob offset ``at`` is one of the forms llvm-mc skips that |
| 17738 | restore_vcc_tuples takes from the blob: a tuple that reaches vcc (SGPRs 106 and 107), a VOPC f32 compare in DPP | 17979 | restore_vcc_tuples takes from the blob: a tuple that reaches vcc (SGPRs 106 and 107), a VOPC f32 compare (v_cmp or |
| 17739 | form (docs/design.md, "DPP on a VOPC compare"), or the measured v_dot4_i32_i8 with op_sel 2 / op_sel_hi 5 and no | 17980 | v_cmpx) in DPP form (docs/design.md, "DPP on a VOPC compare"), or the measured v_dot4_i32_i8 with op_sel 2 / op_sel_hi 5 and no |
| 17740 | clamp or neg, all reserved bits clear (tedin7, upstream PR #281; docs/fspx.md). shader_disasm.py prints the last | 17981 | clamp or neg, all reserved bits clear (tedin7, upstream PR #281; docs/fspx.md). shader_disasm.py prints the last |
| 17741 | two itself; this covers a listing made without that pass (#984).""" | 17982 | two itself; this covers a listing made without that pass (#984).""" |
| 17742 | op = ins["op"] | 17983 | op = ins["op"] |
| 17743 | if op.startswith("v_cmp_") and op.endswith("_f32_dpp"): | 17984 | if op.startswith(("v_cmp_", "v_cmpx_")) and op.endswith("_f32_dpp"): |
| 17744 | return True | 17985 | return True |
| 17745 | if op == "v_dot4_i32_i8" and int.from_bytes(blob[at:at + 4], "little") >> 8 == 0xCC1650 and blob[at + 7] >> 3 == 1: | 17986 | if op == "v_dot4_i32_i8" and int.from_bytes(blob[at:at + 4], "little") >> 8 == 0xCC1650 and blob[at + 7] >> 3 == 1: |
| 17746 | return True | 17987 | return True |
| @@ -18022,6 +18263,9 @@ def check_printed_encodings(path, info): | |||
| 18022 | Only a listing whose header names the code range it was disassembled from (shader_disasm.py), with a blob that | 18263 | Only a listing whose header names the code range it was disassembled from (shader_disasm.py), with a blob that |
| 18023 | holds that range, is checked: a hand-written listing, run_gpu_tests.py's "code 0x0..0x0 (synthetic)" and a | 18264 | holds that range, is checked: a hand-written listing, run_gpu_tests.py's "code 0x0..0x0 (synthetic)" and a |
| 18024 | test's header-only blob are not the bytes the text came from.""" | 18265 | test's header-only blob are not the bytes the text came from.""" |
| 18266 | for ins in info["insns"]: | ||
| 18267 | if ins.get("enc"): # needs only the printed encoding, so it runs before the blob checks below | ||
| 18268 | restore_text_cut_mix_literal(ins, bytes.fromhex(ins["enc"])) | ||
| 18025 | with open(path, encoding="utf-8", errors="replace") as f: | 18269 | with open(path, encoding="utf-8", errors="replace") as f: |
| 18026 | m = HDR.match(f.readline()) | 18270 | m = HDR.match(f.readline()) |
| 18027 | if not m or int(m.group(3), 16) <= int(m.group(2), 16): | 18271 | if not m or int(m.group(3), 16) <= int(m.group(2), 16): |
| @@ -18165,6 +18409,8 @@ def barriers_under_control_flow(text): | |||
| 18165 | 18409 | ||
| 18166 | 18410 | ||
| 18167 | def _translate(path): | 18411 | def _translate(path): |
| 18412 | global GUARD_MODULE_ID | ||
| 18413 | GUARD_MODULE_ID = fnv1a32(os.path.splitext(os.path.basename(path))[0]) | ||
| 18168 | info = parse_file(path) | 18414 | info = parse_file(path) |
| 18169 | stage = stage_of(info["name"], path) | 18415 | stage = stage_of(info["name"], path) |
| 18170 | if stage not in ("vs", "ps", "cs", "ms", "gs"): | 18416 | if stage not in ("vs", "ps", "cs", "ms", "gs"): |
| @@ -18188,6 +18434,7 @@ def _translate(path): | |||
| 18188 | exact = bool(bad) and len(bad) == info["invalid"] | 18434 | exact = bool(bad) and len(bad) == info["invalid"] |
| 18189 | for ins in insns: | 18435 | for ins in insns: |
| 18190 | enc = bytes.fromhex(ins["enc"]) | 18436 | enc = bytes.fromhex(ins["enc"]) |
| 18437 | restore_text_cut_mix_literal(ins, enc) | ||
| 18191 | op, operand_count = ins["op"], len(ins["args"]) | 18438 | op, operand_count = ins["op"], len(ins["args"]) |
| 18192 | if exact: | 18439 | if exact: |
| 18193 | while pos in bad and not same_encoding(blob[pos:pos + len(enc)], enc, op, operand_count): | 18440 | while pos in bad and not same_encoding(blob[pos:pos + len(enc)], enc, op, operand_count): |
| @@ -18885,11 +19132,19 @@ def translate(path): | |||
| 18885 | 19132 | ||
| 18886 | A workgroup barrier has to be reached by every invocation. NVIDIA waits for every thread, so one that | 19133 | A workgroup barrier has to be reached by every invocation. NVIDIA waits for every thread, so one that |
| 18887 | an invocation never reaches stands the group until the driver resets the card (Xid 109, device lost). | 19134 | an invocation never reaches stands the group until the driver resets the card (Xid 109, device lost). |
| 18888 | A program that hangs costs a whole run; re-translating it costs one more pass offline.""" | 19135 | A program that hangs costs a whole run; re-translating it costs one more pass offline. |
| 19136 | |||
| 19137 | Only a multi-wave plan falls back. A single-wave workgroup (`inline_all`, `x_lanes == 64`) is one wave: | ||
| 19138 | its barriers sit at the top level or under `%pc` guards, and `%pc` between blocks comes from scalar state | ||
| 19139 | and votes read back from `%x_buf`, so all invocations take the same path; lane-local `%pc` exists only in | ||
| 19140 | `emit_folded_region`'s `if (%active)` bodies, which emit no exchange and no barrier. The round loop is | ||
| 19141 | also what drives RADV/ACO's spiller to tens of GB and the program 10-100 times slower (docs/design.md, | ||
| 19142 | "Wave64 emulation: single-wave barrier fallback").""" | ||
| 18889 | global WAVE64_PLAN | 19143 | global WAVE64_PLAN |
| 18890 | asm = _translate(path) | 19144 | asm = _translate(path) |
| 18891 | gen = _translate.last_gen | 19145 | gen = _translate.last_gen |
| 18892 | if (gen is not None and getattr(gen, "emulate_plan", None) is not None | 19146 | plan = getattr(gen, "emulate_plan", None) if gen is not None else None |
| 19147 | if (plan is not None and plan.get("mode") != "inline_all" | ||
| 18893 | and barriers_under_control_flow(asm)): | 19148 | and barriers_under_control_flow(asm)): |
| 18894 | WAVE64_PLAN = False | 19149 | WAVE64_PLAN = False |
| 18895 | try: | 19150 | try: |
| @@ -19461,6 +19716,8 @@ def shader_meta(g, asm, src_path=None, fssm_path=None): | |||
| 19461 | lay["params"] = {str(k): v for k, v in lay["params"].items()} | 19716 | lay["params"] = {str(k): v for k, v in lay["params"].items()} |
| 19462 | m["mesh_compute"] = lay | 19717 | m["mesh_compute"] = lay |
| 19463 | m["push_constant_bytes"] = lay["push_constant_bytes"] | 19718 | m["push_constant_bytes"] = lay["push_constant_bytes"] |
| 19719 | if g.uses_guard: | ||
| 19720 | m["address_guard"] = True # --address-guard: its accesses read the runtime's guard header | ||
| 19464 | if PC_TAIL_UBO: | 19721 | if PC_TAIL_UBO: |
| 19465 | # --pc-tail-ubo: s0..s31 alone in push constants; the tail, if the shader reads it, in a uniform block. | 19722 | # --pc-tail-ubo: s0..s31 alone in push constants; the tail, if the shader reads it, in a uniform block. |
| 19466 | m["push_constant_bytes"] = 4 * USER_SGPRS | 19723 | m["push_constant_bytes"] = 4 * USER_SGPRS |
| @@ -19880,6 +20137,10 @@ def main(): | |||
| 19880 | help="keep only s0..s31 (128 bytes) in push constants and read the heap base, code base and " | 20137 | help="keep only s0..s31 (128 bytes) in push constants and read the heap base, code base and " |
| 19881 | "--mesh-compute output address from a uniform block at set 1, binding 0 (metadata: pc_tail), " | 20138 | "--mesh-compute output address from a uniform block at set 1, binding 0 (metadata: pc_tail), " |
| 19882 | "for devices whose maxPushConstantsSize is below 144") | 20139 | "for devices whose maxPushConstantsSize is below 144") |
| 20140 | ap.add_argument("--address-guard", action="store_true", | ||
| 20141 | help="check every heap_base + VA access against the runtime's page table of backed memory " | ||
| 20142 | "(LEONIDA_ADDRESS_GUARD=1): an unbacked one reads 0 and drops its store instead of reaching " | ||
| 20143 | "a wild GPU address (metadata: address_guard; docs/d3d12_vulkan.md, Address guard)") | ||
| 19883 | ap.add_argument("--descriptor-hash", choices=DESCRIPTOR_HASHES, default="fnv1a", | 20144 | ap.add_argument("--descriptor-hash", choices=DESCRIPTOR_HASHES, default="fnv1a", |
| 19884 | help="bindless descriptor table hash shared with the runtime (default: fnv1a)") | 20145 | help="bindless descriptor table hash shared with the runtime (default: fnv1a)") |
| 19885 | ap.add_argument("--descriptor-table", choices=DESCRIPTOR_TABLES, default="tagged", | 20146 | ap.add_argument("--descriptor-table", choices=DESCRIPTOR_TABLES, default="tagged", |
| @@ -19919,8 +20180,9 @@ def main(): | |||
| 19919 | LOOP_LIMIT = a.loop_limit | 20180 | LOOP_LIMIT = a.loop_limit |
| 19920 | MAX_STRUCTURED_DEPTH = a.max_structured_depth | 20181 | MAX_STRUCTURED_DEPTH = a.max_structured_depth |
| 19921 | global STRUCTURED, WAVE64_EMULATE, WAVE64_GRAPHICS, BARY_FALLBACK, TEXEL_OFFSET_FALLBACK, MESH_COMPUTE, FMA_KHR, SHADER_CLOCK, F16_HALVES, OPT_SPIRV | 20182 | global STRUCTURED, WAVE64_EMULATE, WAVE64_GRAPHICS, BARY_FALLBACK, TEXEL_OFFSET_FALLBACK, MESH_COMPUTE, FMA_KHR, SHADER_CLOCK, F16_HALVES, OPT_SPIRV |
| 19922 | global PC_TAIL_UBO | 20183 | global PC_TAIL_UBO, ADDRESS_GUARD |
| 19923 | PC_TAIL_UBO = a.pc_tail_ubo | 20184 | PC_TAIL_UBO = a.pc_tail_ubo |
| 20185 | ADDRESS_GUARD = a.address_guard | ||
| 19924 | global FMA_EXACT | 20186 | global FMA_EXACT |
| 19925 | FMA_KHR = a.fma == "khr" | 20187 | FMA_KHR = a.fma == "khr" |
| 19926 | SHADER_CLOCK = a.shader_clock == "khr" | 20188 | SHADER_CLOCK = a.shader_clock == "khr" |
diff --git a/tools/tex_export.py b/tools/tex_export.py index e0630805d..70eb0c3ef 100644 --- a/tools/tex_export.py +++ b/tools/tex_export.py | |||
| @@ -12,9 +12,11 @@ For each texture: | |||
| 12 | otherwise on raw element bytes) | 12 | otherwise on raw element bytes) |
| 13 | - writes <out>/<archive>/<cpu blob>_<q index>_<WxH>_<format>.dds and records the choice in export_log.json, | 13 | - writes <out>/<archive>/<cpu blob>_<q index>_<WxH>_<format>.dds and records the choice in export_log.json, |
| 14 | with "heuristic": true whenever two distinct placements fitted (the pick is a score, not a verified layout) | 14 | with "heuristic": true whenever two distinct placements fitted (the pick is a score, not a verified layout) |
| 15 | - with --png, also writes the same path with .png for every texture tools/dds_png.py can decode (BC1-BC5, BC7 | 15 | - with --png, also writes the same path with .png for every texture tools/dds_png.py can decode (BC1-BC5, BC7, |
| 16 | and 8-bit RGBA/BGRA, R10G10B10A2_UNORM or R11G11B10_FLOAT, with no sRGB transfer; BC5 blue is a reconstructed normal Z; | 16 | 8-bit RGBA/BGRA, R8 and R8G8 UNORM/SNORM/UINT/SINT, R16_UNORM, R10G10B10A2_UNORM/UINT, R11G11B10_FLOAT, |
| 17 | R16_FLOAT, R32_FLOAT and R16G16B16A16_FLOAT clamped to [0, 1], NaN as 0). | 17 | R9G9B9E5_SHAREDEXP and R16G16B16A16_UNORM/SNORM, with no sRGB transfer; BC5 blue is a reconstructed normal Z; |
| 18 | SNORM maps [-1, 1] to [0, 255], SINT is offset by 128; R9G9B9E5_SHAREDEXP, R16_FLOAT, R32_FLOAT and | ||
| 19 | R16G16B16A16_FLOAT clamp to [0, 1], with NaN as 0 for formats that can encode it). | ||
| 18 | The rest (including BC6H) keep their | 20 | The rest (including BC6H) keep their |
| 19 | DDS only and are counted as "png unsupported". A PNG that fails to decode or write is counted as | 21 | DDS only and are counted as "png unsupported". A PNG that fails to decode or write is counted as |
| 20 | "png error:<Type>" and its DDS stays; neither changes the exit code | 22 | "png error:<Type>" and its DDS stays; neither changes the exit code |
diff --git a/tools/tex_headers.py b/tools/tex_headers.py index 780a2bbb8..4479822a2 100644 --- a/tools/tex_headers.py +++ b/tools/tex_headers.py | |||
| @@ -40,6 +40,7 @@ DXGI = { | |||
| 40 | 49: "R8G8_UNORM", 50: "R8G8_UINT", 51: "R8G8_SNORM", 52: "R8G8_SINT", | 40 | 49: "R8G8_UNORM", 50: "R8G8_UINT", 51: "R8G8_SNORM", 52: "R8G8_SINT", |
| 41 | 54: "R16_FLOAT", 56: "R16_UNORM", 57: "R16_UINT", 58: "R16_SNORM", 59: "R16_SINT", | 41 | 54: "R16_FLOAT", 56: "R16_UNORM", 57: "R16_UINT", 58: "R16_SNORM", 59: "R16_SINT", |
| 42 | 61: "R8_UNORM", 62: "R8_UINT", 63: "R8_SNORM", 64: "R8_SINT", | 42 | 61: "R8_UNORM", 62: "R8_UINT", 63: "R8_SNORM", 64: "R8_SINT", |
| 43 | 67: "R9G9B9E5_SHAREDEXP", | ||
| 43 | 71: "BC1_UNORM", 72: "BC1_UNORM_SRGB", | 44 | 71: "BC1_UNORM", 72: "BC1_UNORM_SRGB", |
| 44 | 74: "BC2_UNORM", 75: "BC2_UNORM_SRGB", | 45 | 74: "BC2_UNORM", 75: "BC2_UNORM_SRGB", |
| 45 | 77: "BC3_UNORM", 78: "BC3_UNORM_SRGB", | 46 | 77: "BC3_UNORM", 78: "BC3_UNORM_SRGB", |
| @@ -148,7 +149,7 @@ FMT_INFO = { | |||
| 148 | 16: (8, 1), 17: (8, 1), 18: (8, 1), | 149 | 16: (8, 1), 17: (8, 1), 18: (8, 1), |
| 149 | 24: (4, 1), 25: (4, 1), 26: (4, 1), 28: (4, 1), 29: (4, 1), 30: (4, 1), 31: (4, 1), 32: (4, 1), | 150 | 24: (4, 1), 25: (4, 1), 26: (4, 1), 28: (4, 1), 29: (4, 1), 30: (4, 1), 31: (4, 1), 32: (4, 1), |
| 150 | 34: (4, 1), 35: (4, 1), 36: (4, 1), 37: (4, 1), 38: (4, 1), 41: (4, 1), 42: (4, 1), 43: (4, 1), | 151 | 34: (4, 1), 35: (4, 1), 36: (4, 1), 37: (4, 1), 38: (4, 1), 41: (4, 1), 42: (4, 1), 43: (4, 1), |
| 151 | 87: (4, 1), 91: (4, 1), | 152 | 67: (4, 1), 87: (4, 1), 91: (4, 1), |
| 152 | 6: (12, 1), 7: (12, 1), 8: (12, 1), | 153 | 6: (12, 1), 7: (12, 1), 8: (12, 1), |
| 153 | 10: (8, 1), 11: (8, 1), 12: (8, 1), 13: (8, 1), 14: (8, 1), | 154 | 10: (8, 1), 11: (8, 1), 12: (8, 1), 13: (8, 1), 14: (8, 1), |
| 154 | 2: (16, 1), 3: (16, 1), 4: (16, 1), | 155 | 2: (16, 1), 3: (16, 1), 4: (16, 1), |
diff --git a/tools/wave64_emulate_opt.py b/tools/wave64_emulate_opt.py index 1ff464fd1..f8a50e0eb 100644 --- a/tools/wave64_emulate_opt.py +++ b/tools/wave64_emulate_opt.py | |||
| @@ -1741,13 +1741,6 @@ def plan_structured_emulation(blocks, raw_edges, succ, folds, fold_chain, absorb | |||
| 1741 | if any(sb_has_endpgm[u] for u in it_blocks): | 1741 | if any(sb_has_endpgm[u] for u in it_blocks): |
| 1742 | saw_endpgm = True | 1742 | saw_endpgm = True |
| 1743 | 1743 | ||
| 1744 | # Multi-wave soundness guard: any `s_barrier` inside a non-top-level guard/loop must stay in global x_scheduler | ||
| 1745 | # so waves on different paths can meet at different s_barrier sites (cs_barrier_divergent). | ||
| 1746 | for it in flat_top: | ||
| 1747 | if it[0] != "block": | ||
| 1748 | if any(sb_has_sbarrier[u] for u in _blocks_in_tree(it)): | ||
| 1749 | return None | ||
| 1750 | |||
| 1751 | def check_sync_free(it): | 1744 | def check_sync_free(it): |
| 1752 | sub_blocks = _blocks_in_tree(it) | 1745 | sub_blocks = _blocks_in_tree(it) |
| 1753 | has_loop = _tree_has_loop([it]) | 1746 | has_loop = _tree_has_loop([it]) |
| @@ -1793,7 +1786,10 @@ def plan_structured_emulation(blocks, raw_edges, succ, folds, fold_chain, absorb | |||
| 1793 | cur_dirty = sb_gen_dirty[b] if sb_clears_dirty[b] else (cur_dirty | sb_gen_dirty[b]) | 1786 | cur_dirty = sb_gen_dirty[b] if sb_clears_dirty[b] else (cur_dirty | sb_gen_dirty[b]) |
| 1794 | steps.append(("inline_block", b)) | 1787 | steps.append(("inline_block", b)) |
| 1795 | continue | 1788 | continue |
| 1796 | if has_end: | 1789 | # An `s_barrier` under a guard or in a loop: waves on different paths meet at different sites |
| 1790 | # (cs_barrier_divergent), which only the round scheduler models. Every wave enters the tail in the same | ||
| 1791 | # round, and what ran before it has no `s_barrier` that is not reached by the whole workgroup. | ||
| 1792 | if has_end or (it[0] != "block" and any(sb_has_sbarrier[u] for u in it_blocks)): | ||
| 1797 | # Early s_endpgm inside a wave-divergent guard/loop (or non-final block): hand remaining tail to x_scheduler. | 1793 | # Early s_endpgm inside a wave-divergent guard/loop (or non-final block): hand remaining tail to x_scheduler. |
| 1798 | rem = set() | 1794 | rem = set() |
| 1799 | for rem_it in flat_top[idx_it:]: | 1795 | for rem_it in flat_top[idx_it:]: |
diff --git a/tools/wave64_halves.py b/tools/wave64_halves.py index 54db61acd..9c0df3bf6 100644 --- a/tools/wave64_halves.py +++ b/tools/wave64_halves.py | |||
| @@ -921,6 +921,10 @@ class Analysis: | |||
| 921 | put_t |= T.get(r, 0) | (CTRL if (id(ins), r) in self.stale else 0) | 921 | put_t |= T.get(r, 0) | (CTRL if (id(ins), r) in self.stale else 0) |
| 922 | for d in dests: | 922 | for d in dests: |
| 923 | put(d, put_t) | 923 | put(d, put_t) |
| 924 | # v_cmpx in DPP form (SHADER-VOPCX-DPP) writes EXEC and prints no destination: it is an EXEC write like | ||
| 925 | # any v_cmpx, and never a uniform vote, as a lane whose DPP source is invalid compares 0. | ||
| 926 | if "exec" in defs: | ||
| 927 | self.exec_write(n, i, ins, op, a, dests, srcs, st, ev, violation, idiom, put_t, vote=False) | ||
| 924 | return | 928 | return |
| 925 | 929 | ||
| 926 | # --- exec writes and mask producers | 930 | # --- exec writes and mask producers |
| @@ -1261,7 +1265,7 @@ class Analysis: | |||
| 1261 | tag, tj = ("elect", g[1]), ELECT | 1265 | tag, tj = ("elect", g[1]), ELECT |
| 1262 | return tag, tj | 1266 | return tag, tj |
| 1263 | 1267 | ||
| 1264 | def exec_write(self, n, i, ins, op, a, dests, srcs, st, ev, violation, idiom, t_src): | 1268 | def exec_write(self, n, i, ins, op, a, dests, srcs, st, ev, violation, idiom, t_src, vote=True): |
| 1265 | T = st["t"] | 1269 | T = st["t"] |
| 1266 | site = ("n", n, i) | 1270 | site = ("n", n, i) |
| 1267 | old = st["x"] | 1271 | old = st["x"] |
| @@ -1292,7 +1296,9 @@ class Analysis: | |||
| 1292 | # s_mov / s_and / s_or / s_xor / s_andn2 ... with EXEC as the destination, or v_cmpx | 1296 | # s_mov / s_and / s_or / s_xor / s_andn2 ... with EXEC as the destination, or v_cmpx |
| 1293 | srcregs = [x for x in srcs if _regs(x) != ["exec"]] | 1297 | srcregs = [x for x in srcs if _regs(x) != ["exec"]] |
| 1294 | x0 = srcregs[0] if srcregs else None | 1298 | x0 = srcregs[0] if srcregs else None |
| 1295 | if op.startswith("v_cmpx"): | 1299 | if op.startswith("v_cmpx") and not vote: |
| 1300 | mg, mt = None, t_src | ||
| 1301 | elif op.startswith("v_cmpx"): | ||
| 1296 | mg, mt = self.cmp_tag(st, ins, "v_cmp" + op[len("v_cmpx"):], srcs, t_src, idiom) | 1302 | mg, mt = self.cmp_tag(st, ins, "v_cmp" + op[len("v_cmpx"):], srcs, t_src, idiom) |
| 1297 | if mg: | 1303 | if mg: |
| 1298 | mt = 0 | 1304 | mt = 0 |