diff --git a/core/libs/prx/libSceAgcDriver/tests/execution/ScalarWideLoads.cpp b/core/libs/prx/libSceAgcDriver/tests/execution/ScalarWideLoads.cpp new file mode 100644 index 000000000..c38e112d1 --- /dev/null +++ b/core/libs/prx/libSceAgcDriver/tests/execution/ScalarWideLoads.cpp @@ -0,0 +1,249 @@ +#include "prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp" +#include "prx/libSceAgcDriver/Graphics/include/Draw.hpp" +#include "prx/libc/include/GuestAllocations.hpp" +#include "Recompiler.hpp" +#include "VulkanTestDevice.hpp" +#ifdef _WIN32 +#ifndef NOMINMAX +#define NOMINMAX +#endif +#include +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace { + +using AgcDriver::Graphics::Require; +using ShaderRecompiler::ShaderStage; + +constexpr std::uint32_t Threads = 32; +constexpr std::uint32_t Inputs = 4; +constexpr std::size_t BlockBytes = 65536; +constexpr std::uint32_t Results = 96; +alignas(256) std::array Input{}; +alignas(256) std::array Output{}; + +alignas(256) constexpr std::array Code{ + 0x34020084, 0x160600ff, 0x00000180, 0xe0381000, 0x80000401, 0xbf8c3f70, 0xbea40400, 0xbea60402, + 0xbea20380, 0xd7600008, 0x02004504, 0xd7600009, 0x02004505, 0xd760000a, 0x02004506, 0xf4280312, + 0x10000000, 0xf4280412, 0x12000014, 0xf4280512, 0x1201fff0, 0xf4280612, 0xfa0001f8, 0xbf8cc07f, + 0xd761000a, 0x0200440c, 0xd761000b, 0x0200440d, 0xd761000c, 0x0200440e, 0xd761000d, 0x0200440f, + 0xd761000e, 0x02004410, 0xd761000f, 0x02004411, 0xd7610010, 0x02004412, 0xd7610011, 0x02004413, + 0xd7610012, 0x02004414, 0xd7610013, 0x02004415, 0xd7610014, 0x02004416, 0xd7610015, 0x02004417, + 0xd7610016, 0x02004418, 0xd7610017, 0x02004419, 0xd7610018, 0x0200441a, 0xd7610019, 0x0200441b, + 0x80228122, 0xbf0aa022, 0xbf85ffce, 0xe0781000, 0x80010a03, 0xe0781010, 0x80010e03, 0xe0781020, + 0x80011203, 0xe0781030, 0x80011603, 0xbea20380, 0xd7600008, 0x02004504, 0xd7600009, 0x02004505, + 0xd760000a, 0x02004506, 0xf4300312, 0x10000000, 0xbf8cc07f, 0xd761000a, 0x0200440c, 0xd761000b, + 0x0200440d, 0xd761000c, 0x0200440e, 0xd761000d, 0x0200440f, 0xd761000e, 0x02004410, 0xd761000f, + 0x02004411, 0xd7610010, 0x02004412, 0xd7610011, 0x02004413, 0xd7610012, 0x02004414, 0xd7610013, + 0x02004415, 0xd7610014, 0x02004416, 0xd7610015, 0x02004417, 0xd7610016, 0x02004418, 0xd7610017, + 0x02004419, 0xd7610018, 0x0200441a, 0xd7610019, 0x0200441b, 0x80228122, 0xbf0aa022, 0xbf85ffd4, + 0xe0781040, 0x80010a03, 0xe0781050, 0x80010e03, 0xe0781060, 0x80011203, 0xe0781070, 0x80011603, + 0xbea20380, 0xd7600008, 0x02004504, 0xd7600009, 0x02004505, 0xd760000a, 0x02004506, 0xf4300312, + 0x12000014, 0xbf8cc07f, 0xd761000a, 0x0200440c, 0xd761000b, 0x0200440d, 0xd761000c, 0x0200440e, + 0xd761000d, 0x0200440f, 0xd761000e, 0x02004410, 0xd761000f, 0x02004411, 0xd7610010, 0x02004412, + 0xd7610011, 0x02004413, 0xd7610012, 0x02004414, 0xd7610013, 0x02004415, 0xd7610014, 0x02004416, + 0xd7610015, 0x02004417, 0xd7610016, 0x02004418, 0xd7610017, 0x02004419, 0xd7610018, 0x0200441a, + 0xd7610019, 0x0200441b, 0x80228122, 0xbf0aa022, 0xbf85ffd4, 0xe0781080, 0x80010a03, 0xe0781090, + 0x80010e03, 0xe07810a0, 0x80011203, 0xe07810b0, 0x80011603, 0xbea20380, 0xd7600008, 0x02004504, + 0xd7600009, 0x02004505, 0xd760000a, 0x02004506, 0xf4280312, 0x100001f0, 0xf4280412, 0xfa0001fc, + 0xf4280512, 0x100fffff, 0xf4280612, 0x12000100, 0xbf8cc07f, 0xd761000a, 0x0200440c, 0xd761000b, + 0x0200440d, 0xd761000c, 0x0200440e, 0xd761000d, 0x0200440f, 0xd761000e, 0x02004410, 0xd761000f, + 0x02004411, 0xd7610010, 0x02004412, 0xd7610011, 0x02004413, 0xd7610012, 0x02004414, 0xd7610013, + 0x02004415, 0xd7610014, 0x02004416, 0xd7610015, 0x02004417, 0xd7610016, 0x02004418, 0xd7610017, + 0x02004419, 0xd7610018, 0x0200441a, 0xd7610019, 0x0200441b, 0x80228122, 0xbf0aa022, 0xbf85ffce, + 0xe07810c0, 0x80010a03, 0xe07810d0, 0x80010e03, 0xe07810e0, 0x80011203, 0xe07810f0, 0x80011603, + 0x7e580507, 0x882a2c26, 0xbea80424, 0xbeab0327, 0xbea20380, 0xd7600008, 0x02004504, 0xd7600009, + 0x02004505, 0xd760000a, 0x02004506, 0xf4200314, 0x12000014, 0xbf8cc07f, 0xd761000a, 0x0200440c, + 0x80228122, 0xbf0aa022, 0xbf85fff2, 0xe0781100, 0x80010a03, 0xe0781110, 0x80010e03, 0xe0781120, + 0x80011203, 0xe0781130, 0x80011603, 0xbea20380, 0xd7600008, 0x02004504, 0xd7600009, 0x02004505, + 0xd760000a, 0x02004506, 0xf4100312, 0xfa000026, 0xbf8cc07f, 0xd761000a, 0x0200440c, 0xd761000b, + 0x0200440d, 0xd761000c, 0x0200440e, 0xd761000d, 0x0200440f, 0xd761000e, 0x02004410, 0xd761000f, + 0x02004411, 0xd7610010, 0x02004412, 0xd7610011, 0x02004413, 0xd7610012, 0x02004414, 0xd7610013, + 0x02004415, 0xd7610014, 0x02004416, 0xd7610015, 0x02004417, 0xd7610016, 0x02004418, 0xd7610017, + 0x02004419, 0xd7610018, 0x0200441a, 0xd7610019, 0x0200441b, 0x80228122, 0xbf0aa022, 0xbf85ffd4, + 0xe0781140, 0x80010a03, 0xe0781150, 0x80010e03, 0xe0781160, 0x80011203, 0xe0781170, 0x80011603, + 0xbf810000, +}; + +constexpr std::uint32_t Rows[32][4] = { + {0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u}, + {0x00000004u, 0x00000201u, 0x00000004u, 0x8b2b5909u}, + {0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu}, + {0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du}, + {0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u}, + {0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u}, + {0x00000010u, 0x000001fdu, 0x00000040u, 0x830b46acu}, + {0x000001c0u, 0x00000204u, 0x000001a0u, 0xc01ff328u}, + {0x000001c4u, 0x000001ffu, 0x000001a1u, 0x38487fe1u}, + {0x000001c1u, 0x00000010u, 0x000001a2u, 0xd1999ef1u}, + {0x000001d0u, 0x000001c4u, 0x000001a3u, 0x692734d6u}, + {0x000001ecu, 0xffffffe1u, 0x0000019cu, 0xf568863bu}, + {0x000001f0u, 0x00000006u, 0x00000010u, 0xc93eb5e4u}, + {0x000001f3u, 0xfffffff0u, 0x00000014u, 0x78f588b9u}, + {0x000001f4u, 0x7ffffffcu, 0x00000020u, 0x84052a95u}, + {0x000001f8u, 0xffffffecu, 0x00000022u, 0x24c83161u}, + {0x000001fcu, 0x000001c0u, 0x00000088u, 0xc0983b6du}, + {0x000001fdu, 0x000001f4u, 0x0000008cu, 0x4e9d2c57u}, + {0x000001ffu, 0x00000002u, 0x0000008du, 0xc1b9aecfu}, + {0x00000200u, 0x00000004u, 0x00000100u, 0x4c9f5e6du}, + {0x00000201u, 0x00000000u, 0x00000104u, 0x964bc1d0u}, + {0x00000204u, 0x000001f3u, 0x00000108u, 0xb53d4566u}, + {0x00000240u, 0x000001f0u, 0x0000010bu, 0xa5293a5bu}, + {0xffffffecu, 0x000001e0u, 0x00000150u, 0x78adc6ecu}, + {0xfffffff0u, 0x000001fcu, 0x00000180u, 0x65b49589u}, + {0xfffffffcu, 0x00000001u, 0x00000184u, 0xd22a8a62u}, + {0xffffffe1u, 0x000001c1u, 0x00000030u, 0x9e321a50u}, + {0x80000000u, 0x00000100u, 0x00000034u, 0xd933a5c9u}, + {0x7ffffffcu, 0x80000000u, 0x00000035u, 0xc6f918bcu}, + {0x00000100u, 0x00000200u, 0x0000005cu, 0xe5308181u}, + {0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u}, + {0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u} +}; +constexpr std::uint32_t Expected[32][96] = { + {0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x00000004u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000240u, 0x00000000u, 0x00000000u, 0x00000004u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x00000004u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x00000004u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x00000035u, 0xc6f918bcu, 0x00000100u, 0x00000200u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x00000004u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000035u, 0xc6f918bcu, 0x00000100u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000035u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x00000004u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001ecu, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000240u, 0x00000000u, 0x00000000u, 0x00000004u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000240u, 0x00000000u, 0x00000000u, 0x00000004u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000004u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000004u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x7ffffffcu, 0x80000000u, 0x00000035u, 0xc6f918bcu, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x7ffffffcu, 0x80000000u, 0x00000035u, 0xc6f918bcu, 0x00000100u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x80000000u, 0x00000035u, 0xc6f918bcu, 0x00000100u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x80000000u, 0x00000035u, 0xc6f918bcu, 0x00000100u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x7ffffffcu, 0x80000000u, 0x00000035u, 0xc6f918bcu, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x7ffffffcu, 0x80000000u, 0x00000035u, 0xc6f918bcu, 0x00000100u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001fdu, 0x000001f4u, 0x0000008cu, 0x4e9d2c57u, 0xfffffffcu, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000100u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000100u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x0000005cu, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001c0u, 0x00000088u, 0xc0983b6du, 0x000001fdu, 0x00000004u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000200u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001fcu, 0x000001c0u, 0x00000088u, 0xc0983b6du, 0x00000201u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001c0u, 0x00000088u, 0xc0983b6du, 0x000001fdu, 0x00000004u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001fcu, 0x000001c0u, 0x00000088u, 0xc0983b6du, 0x00000201u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000003u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001fcu, 0x000001c0u, 0x00000088u, 0xc0983b6du, 0x00000201u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000200u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001f4u, 0x0000008cu, 0x4e9d2c57u, 0x000001ffu, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001f4u, 0x0000008cu, 0x4e9d2c57u, 0x000001ffu, 0x00000002u, 0x0000008du, 0xc1b9aecfu, 0x00000200u, 0x00000004u, 0x00000100u, 0x4c9f5e6du, 0x00000201u, 0x00000000u, 0x00000104u, 0x964bc1d0u, 0x00000204u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001f4u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x000001fcu, 0x000001c0u, 0x00000088u, 0xc0983b6du, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x000001fcu, 0x000001c0u, 0x00000088u, 0xc0983b6du, 0x000001fdu, 0x000001f4u, 0x0000008cu, 0x4e9d2c57u, 0x000001ffu, 0x00000002u, 0x0000008du, 0xc1b9aecfu, 0x00000200u, 0x00000004u, 0x00000100u, 0x4c9f5e6du, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000003u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u}, + {0x00000100u, 0x00000034u, 0xd933a5c9u, 0x7ffffffcu, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001a4u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000100u, 0x00000034u, 0xd933a5c9u, 0x7ffffffcu, 0x80000000u, 0x00000035u, 0xc6f918bcu, 0x00000100u, 0x00000200u, 0x0000005cu, 0xe5308181u, 0x000001e0u, 0x000001ecu, 0x00000060u, 0x196419e4u, 0x000001b4u, 0x00000201u, 0x00000004u, 0x8b2b5909u, 0x00000001u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xbb26d5d9u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x000001fcu, 0x000001c0u, 0x00000088u, 0xc0983b6du, 0x00000201u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u, 0xfffffffcu, 0x00000001u, 0xac811eafu, 0x00000002u, 0x000001b4u, 0x00000002u, 0x6c24691du, 0x00000003u, 0x000001d0u, 0x00000003u, 0x4c6254c0u, 0x00000006u, 0x000001f8u, 0x00000007u, 0x473d0ab8u, 0x00000010u} +}; +constexpr const char* Names[96] = {"buffer_load_dwordx4 s8 dword 0", "buffer_load_dwordx4 s8 dword 1", "buffer_load_dwordx4 s8 dword 2", "buffer_load_dwordx4 s8 dword 3", "buffer_load_dwordx4 s9 offset 0x14 dword 0", "buffer_load_dwordx4 s9 offset 0x14 dword 1", "buffer_load_dwordx4 s9 offset 0x14 dword 2", "buffer_load_dwordx4 s9 offset 0x14 dword 3", "buffer_load_dwordx4 s9 offset 0x1fff0 dword 0", "buffer_load_dwordx4 s9 offset 0x1fff0 dword 1", "buffer_load_dwordx4 s9 offset 0x1fff0 dword 2", "buffer_load_dwordx4 s9 offset 0x1fff0 dword 3", "buffer_load_dwordx4 imm 0x1f8 dword 0", "buffer_load_dwordx4 imm 0x1f8 dword 1", "buffer_load_dwordx4 imm 0x1f8 dword 2", "buffer_load_dwordx4 imm 0x1f8 dword 3", "buffer_load_dwordx16 s8 dword 0", "buffer_load_dwordx16 s8 dword 1", "buffer_load_dwordx16 s8 dword 2", "buffer_load_dwordx16 s8 dword 3", "buffer_load_dwordx16 s8 dword 4", "buffer_load_dwordx16 s8 dword 5", "buffer_load_dwordx16 s8 dword 6", "buffer_load_dwordx16 s8 dword 7", "buffer_load_dwordx16 s8 dword 8", "buffer_load_dwordx16 s8 dword 9", "buffer_load_dwordx16 s8 dword 10", "buffer_load_dwordx16 s8 dword 11", "buffer_load_dwordx16 s8 dword 12", "buffer_load_dwordx16 s8 dword 13", "buffer_load_dwordx16 s8 dword 14", "buffer_load_dwordx16 s8 dword 15", "buffer_load_dwordx16 s9 offset 0x14 dword 0", "buffer_load_dwordx16 s9 offset 0x14 dword 1", "buffer_load_dwordx16 s9 offset 0x14 dword 2", "buffer_load_dwordx16 s9 offset 0x14 dword 3", "buffer_load_dwordx16 s9 offset 0x14 dword 4", "buffer_load_dwordx16 s9 offset 0x14 dword 5", "buffer_load_dwordx16 s9 offset 0x14 dword 6", "buffer_load_dwordx16 s9 offset 0x14 dword 7", "buffer_load_dwordx16 s9 offset 0x14 dword 8", "buffer_load_dwordx16 s9 offset 0x14 dword 9", "buffer_load_dwordx16 s9 offset 0x14 dword 10", "buffer_load_dwordx16 s9 offset 0x14 dword 11", "buffer_load_dwordx16 s9 offset 0x14 dword 12", "buffer_load_dwordx16 s9 offset 0x14 dword 13", "buffer_load_dwordx16 s9 offset 0x14 dword 14", "buffer_load_dwordx16 s9 offset 0x14 dword 15", "buffer_load_dwordx4 s8 offset 0x1f0 dword 0", "buffer_load_dwordx4 s8 offset 0x1f0 dword 1", "buffer_load_dwordx4 s8 offset 0x1f0 dword 2", "buffer_load_dwordx4 s8 offset 0x1f0 dword 3", "buffer_load_dwordx4 imm 0x1fc dword 0", "buffer_load_dwordx4 imm 0x1fc dword 1", "buffer_load_dwordx4 imm 0x1fc dword 2", "buffer_load_dwordx4 imm 0x1fc dword 3", "buffer_load_dwordx4 s8 offset 0xfffff dword 0", "buffer_load_dwordx4 s8 offset 0xfffff dword 1", "buffer_load_dwordx4 s8 offset 0xfffff dword 2", "buffer_load_dwordx4 s8 offset 0xfffff dword 3", "buffer_load_dwordx4 s9 offset 0x100 dword 0", "buffer_load_dwordx4 s9 offset 0x100 dword 1", "buffer_load_dwordx4 s9 offset 0x100 dword 2", "buffer_load_dwordx4 s9 offset 0x100 dword 3", "buffer_load_dword s9 offset 0x14 gpu descriptor", nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, "load_dwordx16 imm 0x26 dword 0", "load_dwordx16 imm 0x26 dword 1", "load_dwordx16 imm 0x26 dword 2", "load_dwordx16 imm 0x26 dword 3", "load_dwordx16 imm 0x26 dword 4", "load_dwordx16 imm 0x26 dword 5", "load_dwordx16 imm 0x26 dword 6", "load_dwordx16 imm 0x26 dword 7", "load_dwordx16 imm 0x26 dword 8", "load_dwordx16 imm 0x26 dword 9", "load_dwordx16 imm 0x26 dword 10", "load_dwordx16 imm 0x26 dword 11", "load_dwordx16 imm 0x26 dword 12", "load_dwordx16 imm 0x26 dword 13", "load_dwordx16 imm 0x26 dword 14", "load_dwordx16 imm 0x26 dword 15"}; + +void Fill(std::uint32_t tid, std::uint32_t* words) { + std::copy(std::begin(Rows[tid]), std::end(Rows[tid]), words); +} + +class GuestBlock { +public: + GuestBlock() { +#ifdef _WIN32 + block = static_cast(VirtualAlloc(nullptr, BlockBytes, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)); +#else + block = static_cast(std::aligned_alloc(BlockBytes, BlockBytes)); +#endif + Require(block != nullptr, "scalar wide loads: cannot allocate the guest block"); + GuestAllocations::Mutation().Add(block, BlockBytes, true, false); + } + + ~GuestBlock() { + GuestAllocations::Mutation().Remove(block); +#ifdef _WIN32 + VirtualFree(block, 0, MEM_RELEASE); +#else + std::free(block); +#endif + } + + GuestBlock(const GuestBlock&) = delete; + GuestBlock& operator=(const GuestBlock&) = delete; + + std::uint8_t* Data() { return block; } + +private: + std::uint8_t* block = nullptr; +}; + +std::array BufferDescriptor(const void* data, std::uint32_t bytes) { + const auto address = reinterpret_cast(data); + return {static_cast(address), static_cast((address >> 32u) & 0xffffu), bytes, 0x01016facu}; +} + +std::string Hex(std::uint32_t value) { + char text[16]; + std::snprintf(text, sizeof(text), "0x%08x", value); + return text; +} + +void Expect(std::uint32_t tid, std::uint32_t actual, std::uint32_t expected, const char* name) { + Require(actual == expected, std::string("scalar wide loads: lane ") + std::to_string(tid) + " " + name + " is " + Hex(actual) + ", expected " + Hex(expected)); +} + +void Run(AgcDriver::VulkanDevice& device) { + for (std::uint32_t tid = 0; tid < Threads; ++tid) Fill(tid, &Input[tid * Inputs]); + Output.fill(0xdeadbeefu); + std::vector userData(8, 0u); + GuestBlock guest; + std::memset(guest.Data(), 0, BlockBytes); + std::memcpy(guest.Data(), Input.data(), Input.size() * 4u); + const auto input = BufferDescriptor(guest.Data(), static_cast(Input.size() * 4u)); + const auto output = BufferDescriptor(Output.data(), static_cast(Output.size() * 4u)); + std::copy(input.begin(), input.end(), userData.begin()); + std::copy(output.begin(), output.end(), userData.begin() + 4); + const std::span code(Code); + const std::span guestBytes(guest.Data(), Input.size() * 4u); + const std::array memory{{{reinterpret_cast(code.data()), std::as_bytes(code)}, {reinterpret_cast(guest.Data()), std::as_bytes(guestBytes)}}}; + const ShaderRecompiler::ShaderComputeStageInfo compute{{Threads, 1, 1}, 0u, {false, false, false}, false, 1}; + ShaderRecompiler::RecompileRequest request{ + {ShaderStage::Compute, reinterpret_cast(code.data()), code, 0, {}}, + {32, 0, userData, compute, std::nullopt, std::nullopt, memory}, + device.Target(), + {0, 0, 0, 128} + }; + request.useCache = false; + const auto result = ShaderRecompiler::Recompile(request); + device.Dispatch(result, 1, 1, 1, {}, reinterpret_cast(code.data())); + device.WaitIdle(); +} + +void Check() { + for (std::uint32_t tid = 0; tid < Threads; ++tid) { + const std::uint32_t* in = &Input[tid * Inputs]; + const std::uint32_t* out = &Output[tid * Results]; + for (std::uint32_t i = 0; i < 96; ++i) { + if (Names[i] != nullptr) Expect(tid, out[i], Expected[tid][i], Names[i]); + } + } +} + +} + +int main() { + try { + const auto device = OpenVulkanTestDevice(); + if (!device) return VulkanTestSkipped; + Run(*device); + Check(); + std::puts("scalar wide loads tests passed"); + return 0; + } catch (const std::exception& error) { + std::cerr << error.what() << '\n'; + return 1; + } +} diff --git a/core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp b/core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp index 090c4df4c..16041f517 100644 --- a/core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp +++ b/core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp @@ -1234,6 +1234,7 @@ void EmitReadConstBuffer(SpirvValueEmitContext& ctx, const IrValue& inst) { } auto& state = ctx.state; const auto address = Binary(state, spv::OpIAdd, TypeU32(state), ctx.Arg(inst, 1), ConstantU32(state, mem.offset)); + const auto noCarry = Binary(state, spv::OpUGreaterThanEqual, TypeBool(state), address, ctx.Arg(inst, 1)); if (mem.gpuDescriptor) { const IrValue* handle = inst.Argument(0)->Resolve(); if (handle->Opcode() != IrOpcode::GetBufferResource || handle->ArgumentCount() != 4u) { @@ -1245,7 +1246,7 @@ void EmitReadConstBuffer(SpirvValueEmitContext& ctx, const IrValue& inst) { const auto stride = EmitBitFieldUExtract(state, word1, ConstantU32(state, 16u), ConstantU32(state, 14u)); const auto size = Select(state, u32, Binary(state, spv::OpIEqual, TypeBool(state), stride, ConstantU32(state, 0u)), records, Binary(state, spv::OpIMul, u32, stride, records)); const auto byte = Binary(state, spv::OpBitwiseAnd, u32, address, ConstantU32(state, ~3u)); - const auto inBounds = Binary(state, spv::OpULessThan, TypeBool(state), byte, size); + const auto inBounds = AndCondition(state, noCarry, Binary(state, spv::OpULessThan, TypeBool(state), byte, size)); const auto base = DeviceAddressFromWords(state, ctx.Arg(*handle, 0), EmitBitFieldUExtract(state, word1, ConstantU32(state, 0u), ConstantU32(state, 16u))); const auto guest = Binary(state, spv::OpIAdd, TypeScalarU64(state), base, Unary(state, spv::OpUConvert, TypeScalarU64(state), byte)); ctx.Define(inst, EmitValueOrZeroIfCondition(state, inBounds, [&] { return EmitBdaRead(ctx, inst, guest, 32u); })); @@ -1254,7 +1255,7 @@ void EmitReadConstBuffer(SpirvValueEmitContext& ctx, const IrValue& inst) { const auto rawIndex = Binary(state, spv::OpShiftRightLogical, TypeU32(state), address, ConstantU32(state, 2u)); const auto access = PrepareMemoryResourceAccess(state, mem); const auto element = EmitMemoryElementIndex(state, access, rawIndex); - const auto inBounds = EmitMemoryElementInBounds(state, access, element); + const auto inBounds = AndCondition(state, noCarry, EmitMemoryElementInBounds(state, access, element)); ctx.Define(inst, EmitValueOrZeroIfCondition(state, inBounds, [&]() { const auto value = state.module.AllocateId(); state.module.AddFunction(spv::OpLoad, TypeU32(state), value, EmitMemoryElementPointer(state, access, element));