From 8fa7fa0fa3ed6a043788017c04533d1bb0b48949 Mon Sep 17 00:00:00 2001 From: ivall Date: Fri, 20 Nov 2026 21:03:53 +0100 Subject: [PATCH] Initial XCL source and TTPF viewer --- .gitignore | 1 + Cargo.lock | 571 + Cargo.toml | 9 + HANDOFF.md | 229 + LICENSE | 338 + README.md | 161 + THIRD_PARTY.md | 21 + crates/xcl/Cargo.toml | 60 + crates/xcl/data/stubdb.toml | 37 + crates/xcl/src/config.rs | 148 + crates/xcl/src/disasm.rs | 145 + crates/xcl/src/eh.rs | 95 + crates/xcl/src/gpu/desc.rs | 375 + crates/xcl/src/gpu/dxbc.rs | 172 + crates/xcl/src/gpu/mod.rs | 15 + crates/xcl/src/gpu/pack.rs | 111 + crates/xcl/src/gpu/rdna2.rs | 788 + crates/xcl/src/gpu/rdna2_spec.rs | 1209 + crates/xcl/src/gpu/rdna2_xbox.rs | 54 + crates/xcl/src/gpu/recomp/dxc.rs | 193 + crates/xcl/src/gpu/recomp/emit.rs | 3142 +++ crates/xcl/src/gpu/recomp/mod.rs | 357 + crates/xcl/src/gpu/recomp/pso.rs | 82 + crates/xcl/src/gpu/recomp/runner.rs | 1098 + crates/xcl/src/gpu/recomp/tests.rs | 1242 ++ crates/xcl/src/gpu/shader.rs | 415 + crates/xcl/src/gpu/uma.rs | 169 + crates/xcl/src/gpu/xbox.rs | 808 + crates/xcl/src/hle/d3d12_layout.rs | 113 + crates/xcl/src/hle/d3d12x/guard.rs | 84 + crates/xcl/src/hle/d3d12x/layout.rs | 59 + crates/xcl/src/hle/d3d12x/mod.rs | 162 + crates/xcl/src/hle/d3d12x/null.rs | 790 + crates/xcl/src/hle/d3d12x/present.rs | 396 + crates/xcl/src/hle/d3d12x/real.rs | 859 + crates/xcl/src/hle/kernelx.rs | 662 + crates/xcl/src/hle/mod.rs | 190 + crates/xcl/src/hle/xaudio2.rs | 610 + crates/xcl/src/hle/xgameruntime/gamesave.rs | 542 + crates/xcl/src/hle/xgameruntime/mod.rs | 584 + crates/xcl/src/hle/xgameruntime/taskqueue.rs | 525 + crates/xcl/src/hle/xgameruntime/xasync.rs | 383 + crates/xcl/src/hooks.rs | 30 + crates/xcl/src/host.rs | 67 + crates/xcl/src/inspect.rs | 156 + crates/xcl/src/launcher.rs | 400 + crates/xcl/src/lib.rs | 31 + crates/xcl/src/loader.rs | 390 + crates/xcl/src/log.rs | 104 + crates/xcl/src/main.rs | 79 + crates/xcl/src/modules.rs | 152 + crates/xcl/src/pe.rs | 614 + crates/xcl/src/report.rs | 154 + crates/xcl/src/resolver.rs | 353 + crates/xcl/src/rpf.rs | 103 + crates/xcl/src/shaders.rs | 995 + crates/xcl/src/state.rs | 31 + crates/xcl/src/stubs.rs | 273 + crates/xcl/src/tls.rs | 456 + crates/xcl/src/util.rs | 219 + crates/xcl/src/vfs.rs | 617 + crates/xcl/src/vfs_hooks.rs | 633 + crates/xcl/tests/e2e.rs | 182 + crates/xcl/tests/gpu_pso_e2e.rs | 307 + docs/specs/2026-11-20-xcl-design.md | 502 + scripts/gen_d3d12_layout.py | 52 + scripts/gen_rdna2.py | 138 + scripts/test.ps1 | 7 + tests/data/llvm-amdgpu/LICENSE.TXT | 279 + tests/data/llvm-amdgpu/gfx1030_new.txt | 273 + tests/data/llvm-amdgpu/gfx10_ds.txt | 5623 +++++ tests/data/llvm-amdgpu/gfx10_exp.txt | 50 + tests/data/llvm-amdgpu/gfx10_flat.txt | 1006 + tests/data/llvm-amdgpu/gfx10_mimg.txt | 776 + tests/data/llvm-amdgpu/gfx10_mtbuf.txt | 125 + tests/data/llvm-amdgpu/gfx10_mubuf.txt | 2347 ++ tests/data/llvm-amdgpu/gfx10_smem.txt | 1279 ++ tests/data/llvm-amdgpu/gfx10_sop1.txt | 3178 +++ tests/data/llvm-amdgpu/gfx10_sop2.txt | 4981 +++++ tests/data/llvm-amdgpu/gfx10_sopc.txt | 1030 + tests/data/llvm-amdgpu/gfx10_sopk.txt | 616 + tests/data/llvm-amdgpu/gfx10_sopp.txt | 341 + tests/data/llvm-amdgpu/gfx10_vop1.txt | 3517 +++ tests/data/llvm-amdgpu/gfx10_vop1_dpp16.txt | 3943 ++++ tests/data/llvm-amdgpu/gfx10_vop1_dpp8.txt | 339 + tests/data/llvm-amdgpu/gfx10_vop1_sdwa.txt | 4564 ++++ tests/data/llvm-amdgpu/gfx10_vop2.txt | 2307 ++ tests/data/llvm-amdgpu/gfx10_vop2_dpp16.txt | 2399 ++ tests/data/llvm-amdgpu/gfx10_vop2_sdwa.txt | 3724 ++++ tests/data/llvm-amdgpu/gfx10_vop3.txt | 19723 +++++++++++++++++ tests/data/llvm-amdgpu/gfx10_vopc.txt | 5756 +++++ tests/data/testgame/MicrosoftGame.config | 9 + tests/data/testgame/data/delete_me.txt | 1 + tests/data/testgame/data/hello.txt | 1 + tests/data/testgame/data/sub/nested.bin | Bin 0 -> 8 bytes tests/testgamedll/Cargo.toml | 12 + tests/testgamedll/src/lib.rs | 57 + tests/testtitle/Cargo.toml | 25 + tests/testtitle/src/audio.rs | 253 + tests/testtitle/src/gpu.rs | 353 + tests/testtitle/src/main.rs | 446 + tools/ttpf-viewer/.gitignore | 1 + tools/ttpf-viewer/Cargo.lock | 4566 ++++ tools/ttpf-viewer/Cargo.toml | 29 + tools/ttpf-viewer/LICENSE | 21 + tools/ttpf-viewer/README.md | 105 + tools/ttpf-viewer/src/archive.rs | 517 + tools/ttpf-viewer/src/bcn.rs | 208 + tools/ttpf-viewer/src/gui.rs | 942 + tools/ttpf-viewer/src/main.rs | 117 + tools/ttpf-viewer/src/tile.rs | 95 + tools/ttpf-viewer/src/video.rs | 212 + tools/ttpf-viewer/src/video_ui.rs | 245 + 113 files changed, 101440 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 HANDOFF.md create mode 100644 LICENSE create mode 100644 README.md create mode 100644 THIRD_PARTY.md create mode 100644 crates/xcl/Cargo.toml create mode 100644 crates/xcl/data/stubdb.toml create mode 100644 crates/xcl/src/config.rs create mode 100644 crates/xcl/src/disasm.rs create mode 100644 crates/xcl/src/eh.rs create mode 100644 crates/xcl/src/gpu/desc.rs create mode 100644 crates/xcl/src/gpu/dxbc.rs create mode 100644 crates/xcl/src/gpu/mod.rs create mode 100644 crates/xcl/src/gpu/pack.rs create mode 100644 crates/xcl/src/gpu/rdna2.rs create mode 100644 crates/xcl/src/gpu/rdna2_spec.rs create mode 100644 crates/xcl/src/gpu/rdna2_xbox.rs create mode 100644 crates/xcl/src/gpu/recomp/dxc.rs create mode 100644 crates/xcl/src/gpu/recomp/emit.rs create mode 100644 crates/xcl/src/gpu/recomp/mod.rs create mode 100644 crates/xcl/src/gpu/recomp/pso.rs create mode 100644 crates/xcl/src/gpu/recomp/runner.rs create mode 100644 crates/xcl/src/gpu/recomp/tests.rs create mode 100644 crates/xcl/src/gpu/shader.rs create mode 100644 crates/xcl/src/gpu/uma.rs create mode 100644 crates/xcl/src/gpu/xbox.rs create mode 100644 crates/xcl/src/hle/d3d12_layout.rs create mode 100644 crates/xcl/src/hle/d3d12x/guard.rs create mode 100644 crates/xcl/src/hle/d3d12x/layout.rs create mode 100644 crates/xcl/src/hle/d3d12x/mod.rs create mode 100644 crates/xcl/src/hle/d3d12x/null.rs create mode 100644 crates/xcl/src/hle/d3d12x/present.rs create mode 100644 crates/xcl/src/hle/d3d12x/real.rs create mode 100644 crates/xcl/src/hle/kernelx.rs create mode 100644 crates/xcl/src/hle/mod.rs create mode 100644 crates/xcl/src/hle/xaudio2.rs create mode 100644 crates/xcl/src/hle/xgameruntime/gamesave.rs create mode 100644 crates/xcl/src/hle/xgameruntime/mod.rs create mode 100644 crates/xcl/src/hle/xgameruntime/taskqueue.rs create mode 100644 crates/xcl/src/hle/xgameruntime/xasync.rs create mode 100644 crates/xcl/src/hooks.rs create mode 100644 crates/xcl/src/host.rs create mode 100644 crates/xcl/src/inspect.rs create mode 100644 crates/xcl/src/launcher.rs create mode 100644 crates/xcl/src/lib.rs create mode 100644 crates/xcl/src/loader.rs create mode 100644 crates/xcl/src/log.rs create mode 100644 crates/xcl/src/main.rs create mode 100644 crates/xcl/src/modules.rs create mode 100644 crates/xcl/src/pe.rs create mode 100644 crates/xcl/src/report.rs create mode 100644 crates/xcl/src/resolver.rs create mode 100644 crates/xcl/src/rpf.rs create mode 100644 crates/xcl/src/shaders.rs create mode 100644 crates/xcl/src/state.rs create mode 100644 crates/xcl/src/stubs.rs create mode 100644 crates/xcl/src/tls.rs create mode 100644 crates/xcl/src/util.rs create mode 100644 crates/xcl/src/vfs.rs create mode 100644 crates/xcl/src/vfs_hooks.rs create mode 100644 crates/xcl/tests/e2e.rs create mode 100644 crates/xcl/tests/gpu_pso_e2e.rs create mode 100644 docs/specs/2026-11-20-xcl-design.md create mode 100644 scripts/gen_d3d12_layout.py create mode 100644 scripts/gen_rdna2.py create mode 100644 scripts/test.ps1 create mode 100644 tests/data/llvm-amdgpu/LICENSE.TXT create mode 100644 tests/data/llvm-amdgpu/gfx1030_new.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_ds.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_exp.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_flat.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_mimg.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_mtbuf.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_mubuf.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_smem.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_sop1.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_sop2.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_sopc.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_sopk.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_sopp.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_vop1.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_vop1_dpp16.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_vop1_dpp8.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_vop1_sdwa.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_vop2.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_vop2_dpp16.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_vop2_sdwa.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_vop3.txt create mode 100644 tests/data/llvm-amdgpu/gfx10_vopc.txt create mode 100644 tests/data/testgame/MicrosoftGame.config create mode 100644 tests/data/testgame/data/delete_me.txt create mode 100644 tests/data/testgame/data/hello.txt create mode 100644 tests/data/testgame/data/sub/nested.bin create mode 100644 tests/testgamedll/Cargo.toml create mode 100644 tests/testgamedll/src/lib.rs create mode 100644 tests/testtitle/Cargo.toml create mode 100644 tests/testtitle/src/audio.rs create mode 100644 tests/testtitle/src/gpu.rs create mode 100644 tests/testtitle/src/main.rs create mode 100644 tools/ttpf-viewer/.gitignore create mode 100644 tools/ttpf-viewer/Cargo.lock create mode 100644 tools/ttpf-viewer/Cargo.toml create mode 100644 tools/ttpf-viewer/LICENSE create mode 100644 tools/ttpf-viewer/README.md create mode 100644 tools/ttpf-viewer/src/archive.rs create mode 100644 tools/ttpf-viewer/src/bcn.rs create mode 100644 tools/ttpf-viewer/src/gui.rs create mode 100644 tools/ttpf-viewer/src/main.rs create mode 100644 tools/ttpf-viewer/src/tile.rs create mode 100644 tools/ttpf-viewer/src/video.rs create mode 100644 tools/ttpf-viewer/src/video_ui.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..9fcde46 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,571 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "cc" +version = "1.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ef9e3e8154a45c7a95cff4c1299702106ad94062d7bb85fdc5d3a5afd91d45" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "equivalent" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826" + +[[package]] +name = "find-msvc-tools" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48" + +[[package]] +name = "generic-array" +version = "0.14.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "itoa" +version = "1.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4" + +[[package]] +name = "libc" +version = "0.2.191" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" + +[[package]] +name = "libudis86-sys" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139bbf9ddb1bfc90c1ac64dd2923d9c957cd433cee7315c018125d72ab08a6b0" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "mach2" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d640282b302c0bb0a2a8e0233ead9035e3bed871f0b7e81fe4a1ec829765db44" +dependencies = [ + "libc", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "miniz_oxide" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c" +dependencies = [ + "adler2", +] + +[[package]] +name = "mmap-fixed-fixed" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0681853891801e4763dc252e843672faf32bcfee27a0aa3b19733902af450acc" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "region" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6b6ebd13bc009aef9cd476c1310d49ac354d36e240cf1bd753290f3dc7199a7" +dependencies = [ + "bitflags", + "libc", + "mach2", + "windows-sys 0.52.0", +] + +[[package]] +name = "retour" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9af44d40e2400b44d491bfaf8eae111b09f23ac4de6e92728e79d93e699c527" +dependencies = [ + "cfg-if", + "generic-array", + "libc", + "libudis86-sys", + "mmap-fixed-fixed", + "once_cell", + "region", + "slice-pool2", +] + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "serde_json" +version = "1.0.154" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_spanned" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c187e0a369471c550af028cba56d4f4fa2a489ad28151ae95a4d340a2a8b782" +dependencies = [ + "serde_core", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "slice-pool2" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a3d689654af89bdfeba29a914ab6ac0236d382eb3b764f7454dde052f2821f8" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "testgame-mw" +version = "0.1.0" + +[[package]] +name = "toml" +version = "1.2.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5755c51863cdac711f1956baf8eb9588e060755f7d3c4c979e70ea1e1f32cd7" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", +] + +[[package]] +name = "toml_datetime" +version = "1.1.3+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "toml_writer" +version = "1.2.0+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "009dbb7700f11c55ef83aebbe4c0e9cf1f1ac0844bd8d6f00dc38f302026e13a" + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core", + "windows-link", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_gnullvm", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "winnow" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef" + +[[package]] +name = "xcl" +version = "0.1.0" +dependencies = [ + "miniz_oxide", + "retour", + "serde", + "serde_json", + "toml", + "windows", + "windows-sys 0.61.2", +] + +[[package]] +name = "xcl-testtitle" +version = "0.1.0" +dependencies = [ + "miniz_oxide", + "windows", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..775081d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[workspace] +resolver = "2" +exclude = ["tools/ttpf-viewer"] +members = ["crates/xcl", "tests/testtitle", "tests/testgamedll"] + +[workspace.package] +version = "0.1.0" +edition = "2021" +license = "GPL-2.0-only" diff --git a/HANDOFF.md b/HANDOFF.md new file mode 100644 index 0000000..44d589a --- /dev/null +++ b/HANDOFF.md @@ -0,0 +1,229 @@ +# XCL – przekazanie pracy (stan na 2026-11-20, sesja 4) + +Warstwa zgodności Xbox Series X|S → Windows (bez emulacji CPU), Rust, ``. +Projekt: `docs/specs/2026-11-20-xcl-design.md` (sekcje 5.x, w tym 5.7a – format shaderów konsoli, 5.7b – stan recompilera). Instrukcja: `README.md`. +Rozmowa z użytkownikiem po polsku. Brak repo git (użytkownik nie prosił o commity). + +## Środowisko +Windows 11, AMD Radeon RX 9070 (RDNA4) + iGPU, Rust 1.96 `x86_64-pc-windows-msvc`, VS 2022, Python 3.12. +Build/test: `.\scripts\test.ps1` (= `cargo build --workspace` + `cargo test --workspace`; e2e potrzebuje zbudowanego tytułu testowego). +UWAGA: +- edycje plików przez PowerShell `Get-Content/Set-Content` psują UTF-8 (polskie znaki) – używać narzędzi Write/Edit + albo `[IO.File]::WriteAllText(..., UTF8Encoding($false))`; +- w Git Bash heredoc `<<'EOF'` przekazany do Pythona zjada backslashe (`\\n` w stringu Rusta → prawdziwy znak nowej linii, + ścieżki `C:\U…` → błąd składni) – tekst z backslashami edytować narzędziem Edit; +- `scripts\test.ps1` uruchomiony w tle z przekierowaniem `*>` w PowerShell 5.1 kończy się błędem (stderr cargo = wyjątek przy + `ErrorActionPreference=Stop`) – w tle puszczać przez bash: `cargo build --workspace && cargo test --workspace -- --test-threads=4`. + +## Zasady od użytkownika / ograniczenia +- Pracuj na plikach przykładowych i testuj: `\shaders.rpf` (shadery), + `\audio.rpf` (audio, 28,5 GB – czytać fragmentami!). Obok `rpf-viewer.html` – + przeglądarka paczki (format rekordów shaderów w RPF9, parser sygnatur ISG1/OSG1). +- `\recompiler` – fragment AnyPS5 (recompiler RDNA → SPIR-V dla PS5) od użytkownika, licencja + **GPL-2.0-only** (github.com/boykopovar/AnyPS5). **Użytkownik zgodził się na zmianę licencji XCL na GPL-2.0-only (2026-11-20)** + – zrobione (`LICENSE`, `Cargo.toml`, `THIRD_PARTY.md`), więc logikę AnyPS5 wolno przenosić z adnotacją pochodzenia w pliku. + Skutki: kod WinDurango (LGPL-3.0) tylko jako referencja; zależności zgodne z GPL-2 (bez czystego Apache-2.0 / GPL-3). + Technicznie AnyPS5 to Vulkan/SPIR-V + model SRT PS5 – przydatne części: deskryptory T#/S#/V#, obrazy, interpolacja, wejścia VS. +- **Użytkownik nie ma czasu na długie kompilacje/przebiegi (2026-11-20)**: unikać kroków trwających wiele minut + (np. `--compile` na tysiącach próbek, wielkie pomiary DXC); sprawdzać na małych próbkach, pracować szybko. + +## Co działa (zweryfikowane testami) +- **Loader PE** (`loader.rs`, `pe.rs`): mapowanie, relokacje, importy + delay-load, DllMain/TLS callbacks, DLL gry. +- **Statyczny TLS** (`tls.rs`): generowana „DLL-nośnik”; odkrycia Win11: loader przydziela slot tylko DLL z importami + i ignoruje `SizeOfZeroFill` (cały rozmiar w „raw data”). +- **Wyjątki C++**: hook `RtlPcToFileHeader` (retour) + `RtlAddFunctionTable` (`eh.rs`). +- **Resolver** (`resolver.rs`, `hle/mod.rs`): HLE → DLL gry → Windows → auto-zaślepka z logiem (`stubs.rs`, `data/stubdb.toml`). +- **kernelx** (`hle/kernelx.rs`), **XGameRuntime offline** (`hle/xgameruntime/`: XTaskQueue, XAsync, XUser, XSystem, XPackage, PLS, save folder). +- **VFS** (`vfs.rs`, `vfs_hooks.rs`): `G:\`, `GAME:`, `T:\`, copy-on-write, whiteouty, hooki KERNELBASE (łapią też CRT). +- **Launcher/host/raport** (`launcher.rs`, `host.rs`, `report.rs`, `inspect.rs`): proces potomny z linią poleceń gry; + nie wybiera samego `xcl.exe`; ostrzega gdy exe nie importuje DLL konsoli; `report.json` (called_stubs, shaders, d3d12, vfs…). +- **Dekoder RDNA2** (`gpu/rdna2.rs` + wygenerowany `gpu/rdna2_spec.rs` z AMD Machine-Readable ISA XML, MIT; generator + `scripts/gen_rdna2.py`; XML do pobrania z gpuopen.com/machine-readable-isa): 23 812 instrukcji z testów LLVM + (`tests/data/llvm-amdgpu`) – 100% zgodności nazw/długości; `xcl disasm`. `rdna2::branch_target`, `rdna2::all_instructions`. +- **Rozszerzenia ISA konsoli** (`gpu/rdna2_xbox.rs`, NOWE): `v_mac_f32` (VOP2 0x1F / VOP3 0x11F), `v_madmk_f32` (0x20), + `v_madak_f32` (0x21), `v_mad_f32` (VOP3 0x141) – zachowane z gfx10.1, usunięte w gfx10.3; dekoder bierze je tylko na + opcody wolne w spec. Literał VALU pobierany, gdy DOWOLNE pole SRC0/1/2 = 255, także nieużywane przez opcode + (kompilator chowa tak hash w `v_nop`) – wyświetlane jako `v_nop ; lit 0x…`. SDWA/DPP: src0 z dworda rozszerzenia (było `?249`). +- **Przechwytywanie shaderów** (`gpu/shader.rs`): klasyfikacja DXIL/DXBC/**xbox-native**/kontener nieznany/ELF/surowy RDNA2, + zrzut do `\shaders\` (+ `*.fssmN.bin`, `*.rdna2.txt`); `report.json → shaders`: `xbox_hw_stages`, `xbox_errors`, + `rdna2_instructions`, `rdna2_undecoded_dwords`, `rdna2_mnemonics` (histogram posortowany malejąco). +- **Format shaderów konsoli** (`gpu/xbox.rs`, NOWE) – rozpracowany na `shaders.rpf` (23 869 shaderów, wszystkie etapy), + pełny opis w designie §5.7a: DXIL (bitcode `NOBC`) → XDAT (+0x18; offsety od nagłówka programu) → XBCH v3 (zlib od +0x18) + → FSSM v0x101 (kod: u64 +0xC0/+0xC8, offset liczony od +0x10; deskryptory etapów `0xC0_0002_AAHH` od +0x100 co 0x88, + HH = etap sprzętowy PAL: 2 ES, 3 GS, 4 VS, 5 PS, 6 CS, 7 MS/NGG). Podział kodu: segmenty do `s_endpgm`, doklejane do + programu, gdy połączone skokiem (wspólne wyjście „discard” w PS, trampoliny); bloki stałych `s_endpgm | N | N dwordów | + s_endpgm` osobno (`data_blocks`). Każdy krok ma fallback (testy syntetyczne). Wynik na całej paczce: 24 064 FSSM = + 24 064 programy, 473 bloki danych, 0 błędów parsowania, 0 niezdekodowanych dwordów w 28,97 mln instrukcji, 395 mnemoników. +- **`xcl shaders [--top N] [--json]`** (`shaders.rs` + `gpu/pack.rs`, NOWE – skaner rekordów + RPF9 jak w viewerze): formaty, etapy DXIL i sprzętowe, histogram mnemoników, „w ilu shaderach”, kolejność implementacji + (`--json → implementation_order`) i pokrycie, lista nietypowych kontenerów (z offsetem rekordu); wielowątkowo, cała paczka + ok. 1,7 s (release). `xcl disasm` dla xbox-native: tabela XDAT, XBCH, etapy, qwordy nagłówka FSSM, `--hex`, `--fssm PLIK`. +- **Recompiler RDNA2 → HLSL** (`gpu/recomp/`, sesja 3; opis w designie §5.7b): `translate()` → dyspozytor `switch(pc)` po + blokach (skoki AMD są jednolite dla fali → dokładnie bez strukturyzacji), SGPR jednolite, VGPR per wątek z maską EXEC, + maski przez `WaveActiveBallot`, cross-lane przez `WaveReadLaneAt`. `emit.rs` – semantyka: SALU (dokładne SCC), VALU + f32/u32/i32 + modyfikatory VOP3, SDWA, DPP16/DPP8, `ds_swizzle`, `v_permlane(x)16`, `v_fma_mix*`, cube, VOPC/VOPCX, + saveexec/wrexec, `s_load`/`s_buffer_load` (V#), MUBUF/MTBUF (surowe + 78 formatów GFX10 z LLVM `UfmtSymbolicGFX10`, + DST_SEL), `buffer_store_dword*`, eksporty; reszta → komentarz + licznik `unsupported`. `s_swappc_b64 s[n:n+1], s[n:n+1]` + = wywołanie fetch shadera (ignorowane w trybie kernel). Tryb **kernel** (compute `[WaveSize(64)]`, rejestry z/do bufora, + pamięć płaska `mem`; kod programu w `mem` od 0 dla stałych z `s_getpc`). `dxc.rs` – DXC w procesie (dxcompiler.dll z + Windows SDK / obok exe / `XCL_DXC_DIR`). `runner.rs` – D3D12 compute na GPU wysokiej wydajności. `rdna2::encode` – asembler + do testów (też układy SDWA/DPP); `rdna2::register_scale` – NAPRAWIONY błąd dezasemblera: SBASE liczy pary SGPR, SRSRC/SSAMP + czwórki (było `s[8:9]` zamiast `s[16:17]`). Wynik: **`VS_BlitGenAmbCube` z paczki wykonuje się na RX 9070 z poprawnym + SV_Position**; korpus: 24 064 programy, 0 błędów tłumaczenia, **7 442 (30,9%) w całości**, DXC kompiluje 500/500 próbek. + `xcl shaders … --recomp [--compile N]` (brakujące instrukcje: w ilu programach + „jedyna brakująca”). + Uwaga: DXC dzieli float w przybliżeniu → końce zakresu UNORM/SNORM liczone dokładnie osobno. +- **XAudio2** (`hle/xaudio2.rs`, NOWE): moduł HLE `xaudio2_9.dll` (+ `xaudio2_9redist.dll`) → systemowe XAudio2 2.9 + (ładowane dynamicznie). Create: flagi poza 0x2000|0x8000|0x10000 pomijane (UWAGA: stara notatka „0x18002, procesor=0” + była błędna – wg xaudio2.h 0x2 to flaga głosu, procesor = XAUDIO2_DEFAULT_PROCESSOR = 1). Łatanie vtable W MIEJSCU + (oryginały per (vtable, slot)): IXAudio2 #5 CreateSourceVoice (XMA/XMA2 → PCM16; inny format odrzucony przez Windows, + np. Opus 0x704F → też PCM16), #7 CreateMasteringVoice (device id konsoli → domyślne; `CO_E_NOTINITIALIZED` → + CoInitializeEx(MTA) + ponowienie – odkryte w e2e; potem 0/0 + kategoria GameEffects), SourceVoice #21 SubmitSourceBuffer + (cisza o długości PlayBegin+PlayLength lub oszacowanej; kontekst/flagi/pętle zachowane), #18 DestroyVoice. + Refaktor: `HleModule.system_fallback: bool` → `fallback: &[&str]` (`hle::SELF` = „@self”) + `aliases_are_system()`; + reszta eksportów XAudio2 (X3DAudio*, CreateFX…) → systemowe xaudio2_9.dll. `report.json → audio`. +- **Realny backend D3D12** (`hle/d3d12x/real.rs`): prawdziwe obiekty sterownika z rozszerzoną vtable; układ z `d3d12.h` + (`scripts/gen_d3d12_layout.py` → `hle/d3d12_layout.rs`). Odkrycie: vtable sterownika mają wewnętrzne wirtualne za publicznymi + (Device 125 vs 104) → **strażnicy** (`hle/d3d12x/guard.rs`, kod maszynowy: wywołanie z obrazu gry = metoda konsolowa → log+0, + inaczej → oryginał). Override: QI (nieznane IID), wszystkie Create* (adopcja), PSO/root signature z fallbackiem + (zastępcze shadery gdy sterownik odrzuca konsolowe). Fallback `null.rs` gdy brak GPU / `graphics="null"`. +- **Prezentacja** (`hle/d3d12x/present.rs`): okno XCL + swap chain; back buffer wykrywany przez RTV/OMSetRenderTargets/ + ExecuteCommandLists; ramka na wywołanie konsolowej metody kolejki (prawdopodobnie PresentX). NIEPRZETESTOWANE na grze. +- Tytuł testowy `tests/testtitle` (+`tests/testgamedll`): 26 sprawdzeń, w tym trójkąt renderowany na RX 9070 przez nasze + `d3d12_xs` i odczyt pikseli; w sesji 2 doszły: shader w formacie konsolowym (XDAT/XBCH/FSSM z `v_mac_f32`) przy tworzeniu + PSO → `report.json` (xbox-native, histogram) oraz XAudio2 (flagi/urządzenie konsoli, głos XMA2 gra ciszę – bufor 0,1 s + kończy się po ~95 ms, głos PCM bez zmian, callbacki z kontekstami; bez urządzenia audio część głosowa jest pomijana). + Stan testów (koniec sesji 3): 75 jednostkowych (w tym 11 testów recompilera wykonywanych na GPU) + e2e (28 sprawdzeń + w tytule) – wszystkie PRZESZŁY. Testy na prawdziwych danych (`shaders::tests::retail_pack_sample`, + `gpu::recomp::tests::gpu_retail_vs_blit_gen_amb_cube`) działają tylko z + `XCL_SAMPLE_RPF=\shaders.rpf` (bez zmiennej pomijane) – PRZESZŁY. + +## Recompiler – sesja 4 (2026-11-20) +- **Pokrycie korpusu: 99,1% programów tłumaczy się w całości** (23 846 / 24 064; było 75%): MS 9 282 / 9 282 (100%), + PS 99,9%, VS 92,0% (brakuje tylko 195 ES scalonych z GS), CS/kernel 96,4%. DXC: 300/300 próbek OK. +- Nowe w `emit.rs`: MIMG A16/D16 (układ adresu jak AnyPS5 `componentShape`), `image_get_lod`, `_cl` (clamp LOD); + `buffer_store_format_*` (pakowanie 78 formatów, `st_bytes` z atomikami dla niepełnych dwordów), `buffer_atomic_*`; + global/flat load/store; LDS (`ds_read/write*`, `read2/write2(st64)`, atomiki → `groupshared`, 32 KB = limit D3D12); + `ds_bpermute`; VALU 16-bit (op_sel, zachowanie drugiej połowy jak gfx10 / AnyPS5 `write16Bits`), porównania f16/u16/i16, + VOP3P `v_pk_*`, `v_dot*`; 64-bit (`v_cmp_*_u64/i64/f64`, przesunięcia b64, `v_mad_u64_u32`, f64 add/mul/fma/cvt, stałe + inline 64-bit jako double); `v_movrel*` (switch po M0). +- **Tryb Mesh** (`Mode::Mesh`, `MsInterface` z PSV0: 128 wątków, ≤128 wierzchołków/trójkątów): DXC nie pozwala na + `WaveSize` w MS, a kod konsoli zakłada wave64 → dwa przebiegi: program jako CS `[WaveSize(64)]` zapisuje rekord grupy + (`s_sendmsg 9` GS_ALLOC_REQ M0 = prim<<12 | vert, `exp pos0/param/prim`, wierzchołek = wątek w grupie), potem + `mesh_passthrough()` rasteryzuje rekordy. Wejścia zmierzone na korpusie (`xcl shaders --iface`): s3[27:24] = fala w grupie, + v5 = grupa·128 + wątek (grupa = v5>>7, jak emulacja MS gfx10.3 w RADV), s16–s24 dane użytkownika (z `io`). + Test `gpu_mesh_mode_two_passes`: 2 grupy × 2 fale → poprawne rekordy i piksele na RX 9070 (`runner::mesh_draw`). +- Przepływ sterowania: zamiast jednej pętli `switch(pc)` łańcuch `if (pc == blok)` w kolejności adresów; `while` tylko dla + zakresów ze skokami wstecz (scalane do zagnieżdżenia). DXIL mniejszy (470 → 310 KB na największym programie). +- **DXC: optymalizator jest superliniowy na dużych programach** (mediana 0,6 s, ale MS z wrapperem DS/VS 0,7–1,2 MB HLSL: + 50–160 s przy -O1..-O3, 5 s przy -O0) → `dxc::compile` sam dodaje `-O0` dla HLSL > 256 KB (sterownik i tak optymalizuje). + NIE uruchamiać `--compile 3000` (godzina); do szybkiej kontroli `--compile 64`. +- Narzędzia: `xcl shaders … --recomp --example MNEMONIK|name=FRAGMENT` (listing + wynik DXC; `XCL_EXAMPLE_HLSL=plik` zapisuje + HLSL), `--iface` → wejścia/eksporty/`s_sendmsg`/PSV0 wg etapu, czasy DXC przy `--compile N`. + `dxbc::psv()` (PSV0), `rdna2::sgpr_uses()`. Dezasembler: VGPR w 9-bitowym polu (`v_readfirstlane … v261` → `v5`). +- Testy: 86 jednostkowych (w tym 17 recompilera na GPU) – PRZESZŁY (`cargo test -p xcl --lib`, ~0,5 s). + +- Dalej w sesji 4: `src_pops_exiting_wave_id` (POPS – czekanie przepuszczane, brak porządku ROV: znane ograniczenie), + apertury flat = 0, `image_*_o` (offset z VGPR → przesunięcie współrzędnych o offset/rozmiar mipa; test GPU) → PS 12 097 / + 12 101. **Runtime:** przechwycony shader konsoli jest od razu tłumaczony (tryb z interfejsu), `.fssmN.pM.hlsl` obok zrzutów, + `report.json → shaders.recomp_*` (programy, pełne, tryby, brakujące mnemoniki); `XCL_RECOMP_DXC=1` kompiluje przez + `dxc::compile_cached` (cache DXIL w `%LOCALAPPDATA%\xcl\dxil` lub `XCL_DXIL_CACHE`). e2e to sprawdza. +- Galeria: `retail_ps_gallery` (ignorowany test, `XCL_GALLERY_DIR`) – 24 shadery PS z paczki narysowane na GPU (PNG + strona + `gallery/index.html`), ok. 10 s. Wejścia/stałe zastępcze – nie są to obrazy z gry. +- Nagłówek FSSM: `--example name=…` wypisuje go (dwordy do kodu). Stage descriptor +0x110 wygląda na RSRC2 (USER_SGPR w + bitach 5:1, np. 0x18 → 12); od ok. +0x25C w PS tablica łatek eksportu (warianty `exp`). Mapowanie root signature → user + SGPR robi runtime D3D12.X (SGPR niosą wskaźniki do tabel) – do ustalenia dopiero z exe gry. +- GS (195 + 195 ES) odłożony: on-chip GS – ES zapisuje do LDS i `s_setpc` do GS, GS zapisuje wierzchołki do LDS + (64 B/wierzchołek, baza = s2 + ([s8+0xB8] << 8)), `s_sendmsg` emit/cut/done; brak copy shadera w paczce. +- Testy: 90 jednostkowych + e2e (29 sprawdzeń w tytule) – PRZESZŁY (`XCL_SAMPLE_RPF=… cargo test --workspace -- --test-threads=4`, kilka sekund). + +- **UMA – pamięć konsoli dostępna dla GPU** (`gpu/uma.rs`, NOWE): jeden region (domyślnie 2048 MB, `XCL_UMA_MB`, + maks. 4095 MB) pod adresem wyrównanym do 4 GiB, w pełni zatwierdzony, otwierany przez + `ID3D12Device3::OpenExistingHeapFromAddress` (zmierzone: częściowy commit odrzucany, 4 GiB odrzucane, 4095 MB OK w 0,5 s). + Dolne 32 bity adresu konsoli = przesunięcie w buforze → płaski model `mem` rekompilatora działa na pamięci gry bez kopii. + Alokator first-fit (64 KB, scalanie, zerowanie). Trafia tam: `VirtualAlloc` z `MEM_GRAPHICS` (+ nowe HLE `VirtualFree(Ex)`), + `XMemAlloc` z typem pamięci ≠ 0. Backend `real` otwiera region jako stertę + bufor UAV przy tworzeniu urządzenia + (`real::uma_gpu_va()`, `report.json → d3d12.uma_*`). Testy: `gpu_unified_memory_arena` (s_load/buffer_load/store wprost na + pamięci procesu), `uma::tests`, check w tytule testowym, e2e sprawdza `uma_gpu_va`. + Dalej: shadery z PSO gry wiązać z tym buforem jako `mem` (u2), a SGPR wypełniać z root arguments (wymaga exe gry). + +- **Bez exe (sesja 4, koniec):** + - `gpu/desc.rs` (NOWE): T#/S#/V# GFX10 → D3D12 (format DXGI z tabeli IMG_FORMAT GFX10 – 0–77 jak bufory, 128+ sRGB/ + spakowane, 169–182 BC1–BC7; SRV z mapowaniem kanałów z DST_SEL, wymiary/mipy/tablice/cube/3D/MSAA; sampler: adresowanie, + filtry, aniso, porównanie, min/max, LOD, bias, ramka). Pola potwierdzone z AnyPS5. Testy jednostkowe + GPU + (`gpu_tsharp_to_d3d12_resources`: 6 rodzajów tekstur tworzonych z dekodowanych T#). Jeszcze nie używane w runtime. + - GameInput: import `gameinput.dll` trafia do systemowego `GameInput.dll` (eksport `GameInputCreate`) – działa bez + emulacji, sprawdzone w tytule. Gdy wersja konsolowa API okaże się inna – alias w konfiguracji / HLE. + - XGameSave (`hle/xgameruntime/gamesave.rs`, NOWE): provider/kontenery/bloby/aktualizacje (+ Async/Result), pliki w + `\gamesave\\\b\`, nazwy kodowane %XX, zapis przez plik tymczasowy, limit 256 MB. + - `xcl rpf [--find|--extract … --out …]` (NOWE): lista/wypakowanie rekordów; `textures.rpf` – 21 zagnieżdżonych + RPF9 z zaszyfrowanym TOC (stały klucz z gry, dane bez sygnatur zstd/LZ4/zlib – pewnie Oodle) → bez exe nie do + odczytania; gra i tak rozpakowuje archiwa sama, XCL dostanie tekstury w pamięci (tiling GFX10). + - Celowo NIE zrobione (czekają na exe, żeby nie zgadywać): strony fizyczne (`MapTitlePhysicalPages` pod adres gry), + dekoder tilingu GFX10 (bez prawdziwych danych do weryfikacji), Opus przez API konsoli, GS. + - Testy: 96 jednostkowych + e2e (29 sprawdzeń w tytule) – PRZESZŁY. + +- **Tłumacz podpięty pod graficzny PSO** (`gpu/recomp/pso.rs` NOWE, hak w `hle/d3d12x/real.rs`): + `CreateGraphicsPipelineState` z natywnym VS konsoli (i PS) → `pso::console_to_dxil` (wariant sprzętowy VS/PS z FSSM, + tryb z interfejsu, tylko pełne tłumaczenia, DXC z cache) → PSO z przetłumaczonymi shaderami i **root signature ABI XCL** + (`pso::abi_root_signature`: root UAV u0 io / u1 res / u2 mem + sterty bezpośrednio indeksowane; `real::abi_root_signature()`). + Porażka → dawna ścieżka (oryginał → zastępcze shadery). `report.json → d3d12.translated_pipelines / translation_errors`. + GS/HS/DS jeszcze nie. **Brakuje:** wiązania przy rysowaniu – argumenty root gry → SGPR w `io`, `mem` → bufor UMA + (wymaga układu user data runtime'u konsoli, czyli exe). +- Test E2E bez exe: `crates/xcl/tests/gpu_pso_e2e.rs` – `VS_Rage_TransformPosCpv` + `PS_Rage_Untextured` z `shaders.rpf` + przez hak urządzenia backendu → `runner::draw_on` (nowe: rysowanie gotowym PSO na dowolnym urządzeniu) → 64×64 RGBA32F; + wejścia jawne (s8 → tabela 2 V# → macierz świata 4×3 i widok-projekcja 4×4, wierzchołki POSITION+COLOR); 435 pikseli + wewnątrz porównanych z interpolacją liczoną na CPU (±0,01), 3501 poza = kolor tła; licznik `translated_pipelines` +1, + `fallback_pipelines` bez zmian. Sprawdzone sabotażem: z wyłączonym tłumaczeniem test pada (i na liczniku, i na pikselach). + `real::init()` jest teraz idempotentne (wcześniej bezpośrednie wywołanie + `backend()` tworzyło dwa urządzenia). +- Testy: 96 jednostkowych + e2e tytułu + `gpu_pso_e2e` – PRZESZŁY. + +- Drugi test w `gpu_pso_e2e.rs` – tekstury przez dekoder: `VS_Rage_TransformPosCpvTex` + `PS_Rage_Textured` (T# z tabeli + s[8:9]+0x20, S# wbudowany w kod PS = statyczny sampler: aniso 4×, wrap). Dwie liniowe tekstury 64×64 RGBA8 o znanych + wzorach w pamięci pod adresami z konsolowych T# → `desc::image` / `image_d3d12` (zasób + SRV, dane czytane spod adresu + z T#), S# → `desc::sampler_d3d12`; tabele w formie ABI XCL (`desc::xcl_image_words`: adres → indeks SRV w stercie). + Jeden PSO, jedna lista poleceń, dwa draw calle różniące się tylko wskaźnikiem tabeli w user data (lewa połowa: A, + prawa: B z DST_SEL zyxw) – `runner::draw_on_multi` + `runner::ViewTexture`/`Draw` (NOWE). 4096 pikseli = teksel (±0,005), + 2048/2048 po prawej różne od A. Sabotaż sprawdzony: DST_SEL ignorowany → pada; ta sama tabela w obu draw → pada. + +## W trakcie (niedokończone) +Nic otwartego. + +## Audio – wnioski z `audio.rpf` (prawdziwa gra) +- Kontenery AWC („ADAT”, wersja 1): tabela chunków u64 (typ = bajt 7, rozmiar = bity 28–55, offset = bity 0–27, offset od + początku AWC), typy: 0x55 dane, 0x76 format (32 B: próbki u32, pętla i32, częstotliwość u16 @8, …, **kodek @28**, kanały @29), + 0x48 format strumienia (bloki 512 KB), 0xA3 seek table (próbka początku każdego bloku 2048 B), 0x36 peak, 0x81, 0x5C, 0xBD. +- **Kodek 0x0B = Opus** w 100% próbek (92 formaty + 17 strumieni z 160 miejsc paczki): 48 kHz, bloki 2048 B + `[u16 LE długość][pakiet Opus]…` + zera, ramki 20 ms (960 próbek; TOC 0x68/0x78 Hybrid, 0xF8 CELT, mono). Liczba + pakietów w bloku = różnica w seek table / 960 – zweryfikowane. **Brak XMA2.** +- Wniosek: dekoder XMA2 ma dla tego tytułu niski priorytet. Otwarte: czy gra dekoduje Opus sama (wtedy PCM → XAudio2 już + działa), czy używa sprzętowego dekodowania Opus konsoli (wtedy potrzebne API – sprawdzić `xcl inspect` na exe). + Windows ma `C:\Windows\System32\MSOpusDecoder.dll` (MFT Media Foundation) – kandydat na dekoder bez dołączania libopus. + +## Shadery konsoli – otwarte pytania (z analizy `shaders.rpf`) +- Nierozpoznane metadane FSSM: +0x10 (zawsze 6), +0x78/+0x80, +0xD0, +0xF8, +0x110 (przypomina SPI_SHADER_PGM_RSRC1, + ale bity się nie zgadzają), za kodem tablica wpisów 5×u32 (3, PC co 8 B, 1, wartość, 8 – wygląda na mapowanie PC → linia + źródła), potem nazwa shadera; w PS od ok. +0x238 tablica łatek eksportu (warianty `exp` dla formatów RT). Do user SGPR + i wejść potrzebne zestawienie z ISG1/OSG1/PSV0 (te części są czytelne – parser sygnatur jest w `rpf-viewer.html`). +- GS: deskryptory GS + VS (copy shader), ale w FSSM jest tylko jeden program – copy shader powstaje poza FSSM? +- VS: na początku `s_swappc_b64 s[4:5], s[4:5]` = wywołanie fetch shadera (atrybuty wierzchołków → v4…, VS_BlitGenAmbCube + potwierdza POSITION.xy w v4/v5); w trybie VS recompiler musi go zastąpić odczytem wejść według ISG1 (układ VGPR dla wielu + atrybutów do ustalenia na korpusie: które v≥4 są czytane przed zapisem vs maski elementów ISG1). +- VOP2 0x06 / VOP3 0x140: w gfx10.1 MAC/MAD_LEGACY (bez fuzji), w gfx10.3 FMAC/FMA_LEGACY – nie wiadomo, które ma konsola + (dekoder używa nazw ze spec gfx10.3). +- Kilka nazw w paczce jest uciętych (nazwy > 255 znaków nie mieszczą się w bajcie długości rekordu) – kosmetyka skanera RPF9. + +## Dalsze kroki (priorytet) +1. GS: 195 VS w wariancie ES (zapis wyjść do LDS + `s_setpc_b64` do części GS) i 195 GS – emulacja GS (np. CS jak w trybie + Mesh: ES → bufor, GS czyta wierzchołki, emituje do rekordu, przekaźnik MS rysuje). +2. Model zasobów: powiązanie z `hle/d3d12x/real.rs` – user SGPR (s16–s24 w MS, s8–s18 w VS/PS) z root signature konsoli, + T#/S#/V# w pamięci deskryptorów konsoli, pamięć GPU konsoli → zasoby D3D12; cache DXIL (kompilacja dużych MS). +3. Resztki: `image_sample_o`/`gather4_*_o` (offset z VGPR – SM 6.7 lub przybliżenie), `image_bvh*` (8 programów), + `s_add_i32: op` (10 programów – nieobsługiwany kod operandu), mniejszy HLSL (5,7 GB na korpus). +4. Gdy użytkownik będzie miał legalny exe gry: `xcl inspect`, `xcl run`, analiza `report.json` + (`called_stubs` z `(spoza PC)` → mapowanie slotów konsolowych np. PresentX; `d3d12.unknown_iids`; brakujące XGameRuntime; + `shaders.rdna2_mnemonics`; `audio` – formaty głosów, `unsupported_formats`; importy związane z Opus/XMA/AcpHal). +5. Audio: zależnie od pkt 4 – dekoder Opus (MSOpusDecoder MFT lub libopus) dla głosów/API konsoli, ewentualnie XMA2 + (FFmpeg libavcodec / port XmaDecoder z WinDurango, LGPL); IXAudio2 sloty > 12 (metody tylko konsolowe) – jak w D3D12 + strażnicy, gdy gra ich użyje. +6. Kolejne API XGameRuntime (XGameSave blob API, XGameUI, XNetworking…), GameInput (routing do systemowego GameInput.dll), + strony fizyczne pamięci (`MapTitlePhysicalPages`). diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a66a55f --- /dev/null +++ b/LICENSE @@ -0,0 +1,338 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, see . + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Moe Ghoul, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..3fb1ddd --- /dev/null +++ b/README.md @@ -0,0 +1,161 @@ +# XCL – warstwa zgodności Xbox Series X|S → Windows + +XCL uruchamia pliki gier z Xbox Series X|S (GDK, „Scarlett”) na zwykłym PC z Windows +**bez emulacji procesora** – kod gry (x64) wykonuje się natywnie, a XCL podstawia własne +implementacje bibliotek konsoli, których na PC nie ma (`kernelx.dll`, XGameRuntime, +`d3d12_xs.dll`, …). Podobnie działa Wine/Proton (Windows → Linux) i WinDurango (Xbox One). + +Projekt: [`docs/specs/2026-11-20-xcl-design.md`](docs/specs/2026-11-20-xcl-design.md). + +## Stan: etap M1 – „gra startuje i czyta swoje pliki” + +| Działa | Jeszcze nie | +|---|---| +| Własny loader PE: mapowanie, relokacje, importy (też delay-load), statyczny TLS, wyjątki C++/SEH, DllMain/TLS callbacks, DLL dostarczane z grą | Grafika – D3D12.X to na razie **urządzenie zastępcze** (bez obrazu) → M2 | +| Automatyczne zaślepki dla brakujących funkcji + raport, co gra wywołała | Dekodowanie XMA2 / sprzętowego Opusa konsoli (na razie cisza) → M3 | +| **XAudio2** (`xaudio2_9.dll`) → systemowe XAudio2 2.9; głosy XMA2 i formaty nieznane Windows → PCM16 z ciszą tej samej długości | | +| `kernelx`: pamięć z flagami konsoli, XMem*, TitleMemoryStatus, wątki, moduły | GameInput, DirectStorage → M4 | +| VFS: `G:\`, `GAME:`, `T:\`; folder gry **tylko do odczytu**, zapisy → nakładka | Strony fizyczne (`MapTitlePhysicalPages`), XGameSave (blob API) | +| XGameRuntime offline: XTaskQueue, XAsync, XUser, XSystem, XPackage, zapisy, PLS | Usługi Xbox Live (tylko offline – z założenia) | +| **Shadery:** przechwytywanie i klasyfikacja (DXIL/DXBC/kod konsoli) + zrzut do `shaders\` | Recompiler mikrokod RDNA2 → shader PC (kolejne etapy, design §5.7a) | +| **Dekoder/dezasembler RDNA2** (`xcl disasm`) z oficjalnej specyfikacji AMD + rozszerzenia GPU konsoli | Realny backend D3D12 (przepuszczanie do sterownika) | +| **Kontenery shaderów konsoli** (DXIL → XDAT → XBCH → zlib → FSSM) + statystyki korpusu (`xcl shaders`) | | +| **Recompiler RDNA2 → HLSL** (tryb kernel, weryfikowany na GPU): 31% programów przykładowej gry tłumaczy się w całości | Tryby VS/PS (interpolacja, wyjścia), tekstury, model pamięci GPU konsoli | + +## Budowanie + +Wymagania: Windows 10/11 x64, Rust (toolchain `stable-x86_64-pc-windows-msvc`) z Visual Studio Build Tools. + +```powershell +cargo build --release --workspace +# plik wykonywalny: target\release\xcl.exe +``` + +## Użycie + +```powershell +# 1. analiza bez uruchamiania – co gra importuje i co XCL dla tego ma +xcl inspect D:\MojeGry\Gra\gra.exe + +# 2. uruchomienie (folder z rozpakowanymi plikami gry albo konkretny .exe) +xcl run D:\MojeGry\Gra +xcl run D:\MojeGry\Gra\gra.exe -- -argument_gry + +# 3. shadery przechwycone podczas uruchomienia – format i kod GPU konsoli (RDNA2) +xcl disasm %LOCALAPPDATA%\XCL\\shaders\_ps.bin +xcl disasm plik.bin --offset 0x40 --all # wymuszone dekodowanie od offsetu +xcl disasm shader.dxbc --hex --fssm out.bin # kontener konsolowy: pełny nagłówek FSSM + zapis FSSM + +# 4. statystyki całego korpusu: plik, folder (np. \shaders\) albo paczka RPF9 +xcl shaders %LOCALAPPDATA%\XCL\\shaders +xcl shaders D:\dane\shaders.rpf --top 100 # --json: pełny histogram + kolejność implementacji +xcl shaders D:\dane\shaders.rpf --recomp --compile 500 # tłumaczenie RDNA2 → HLSL + próbka DXC +``` + +Recompiler (`gpu/recomp/`) potrzebuje DXC: `dxcompiler.dll` + `dxil.dll` z Windows SDK +(szukane automatycznie w `Windows Kits\10\bin\\x64`), obok `xcl.exe` albo w +`%XCL_DXC_DIR%`. Testy instrukcji uruchamiają się na prawdziwym GPU (D3D12, SM 6.6, wave64); +bez GPU/DXC są pomijane z komunikatem. + +### Shadery z konsoli + +Gry z Series dostarczają shadery jako gotowy kod maszynowy GPU konsoli (RDNA2) +zamiast przenośnego DXIL. XCL przy każdym tworzeniu PSO rozpoznaje format, zapisuje +blob do `shaders\` i – jeśli znajdzie kod RDNA2 – od razu zapisuje jego dezasemblację +(`*.rdna2.txt`) oraz rozpakowany FSSM (`*.fssm0.bin`). Podsumowanie jest w `report.json` +→ `shaders` (w tym `xbox_hw_stages` i histogram `rdna2_mnemonics`). To dane wejściowe dla +recompilera (RDNA2 → shader PC), który jest kolejnym etapem. + +Format konsolowy (`gpu/xbox.rs`, rozpracowany na 23 869 shaderach z prawdziwej gry): +zwykły kontener DXBC, ale część `DXIL` nie ma bitcode'u (zaślepka `NOBC`) – zamiast niego +tabela `XDAT` z hashem, wpisami `XBCH` (zlib → `FSSM`: kod natywny + metadane, po jednym +na wariant etapu sprzętowego, np. VS jako ES i jako VS) i zagnieżdżonym nagłówkiem. + +Dekoder jest generowany z oficjalnej specyfikacji AMD (`scripts/gen_rdna2.py`, +plik `amdgpu_isa_rdna2.xml` z [gpuopen.com/machine-readable-isa](https://gpuopen.com/machine-readable-isa/), MIT) +i sprawdzany na 23 812 instrukcjach z testów dezasemblera LLVM (`tests/data/llvm-amdgpu`). +GPU konsoli zachował z RDNA1 (gfx10.1) instrukcje `v_mac_f32`, `v_mad_f32`, `v_madmk_f32`, +`v_madak_f32`, usunięte w detalicznym RDNA2 – są dopisane w `gpu/rdna2_xbox.rs`. Z nimi +dekoder rozpoznaje 100% z 28,97 mln instrukcji przykładowego korpusu. + +- XCL działa na **już rozpakowanych** plikach (zwykłe PE + dane). Zaszyfrowane paczki + XVC/MSIXVC nie są obsługiwane, a XCL nie zawiera niczego, co by je odszyfrowywało + ani obchodziło DRM (XStore zwraca „niedostępne”). +- **Folder gry nigdy nie jest modyfikowany.** Gdy gra chce coś zapisać w swoim folderze, + XCL kopiuje ten jeden plik do nakładki i zmienia kopię. Usunięcie pliku gry zapisuje + tylko znacznik („whiteout”). +- Dane XCL dla tytułu: `%LOCALAPPDATA%\XCL\\` (albo `%XCL_DATA_ROOT%\\`): + + | Folder / plik | Zawartość | + |---|---| + | `xcl.toml` | konfiguracja (tworzona automatycznie): Series X/S, montowania, aliasy DLL, wartości zaślepek | + | `overlay\` | kopie plików gry zmienione przez grę, nowe pliki; `.xcl_whiteouts` = „usunięte” | + | `saves\`, `pls\`, `temp\` | zapisy gry, persistent local storage, `T:\` | + | `logs\xcl.log`, `logs\report.json` | log i raport z ostatniego uruchomienia | + +### Raport – lista rzeczy do zrobienia + +Po każdym uruchomieniu `xcl run` wypisuje podsumowanie, a `report.json` zawiera: + +- `called_stubs` – niezaimplementowane funkcje, które gra **faktycznie wywołała** + (z liczbą wywołań i miejscem, np. `gra.exe+0x1a2b3`) – w tej kolejności warto je implementować, +- `stubbed_imports` – wszystkie importy bez implementacji, +- `vfs.unmapped_paths` – ścieżki konsolowe, których nie umiemy zmapować (dopisz do `mounts`), +- `crash` – nieobsłużony wyjątek z modułem+RVA i rejestrami, +- wywołania metod D3D12.X spoza znanego układu vtable pojawiają się jako + `ID3D12Device::#` – to dane wejściowe do etapu M2, +- `audio` – silniki XAudio2, głosy (w tym XMA2 i formaty nieobsługiwane przez Windows, + które grają ciszę), pominięte flagi konsoli, błędy urządzenia audio. + +## Testy + +```powershell +.\scripts\test.ps1 # = cargo build --workspace + cargo test --workspace +``` + +- testy jednostkowe (parser PE, nośnik TLS, VFS, zaślepki, XTaskQueue/XAsync, XUser, null device…), +- test end-to-end `crates/xcl/tests/e2e.rs`: uruchamia **program testowy** + (`tests/testtitle`) – własny „tytuł konsolowy”, który importuje `kernelx.dll`, + `xgameruntime.dll`, `d3d12_xs.dll` i DLL „gry” (`tests/testgamedll`), więc na samym + Windows się nie uruchomi. Test sprawdza 28 scenariuszy w tytule (w tym D3D12 na prawdziwym GPU, shader w formacie konsolowym i XAudio2), a potem, że folder gry + jest **bajt w bajt niezmieniony**. +- test na prawdziwych danych (pomijany bez zmiennej): `$env:XCL_SAMPLE_RPF = 'D:\dane\shaders.rpf'` + → pierwsze 300 shaderów paczki musi się sparsować bez błędów i niezdekodowanych dwordów. + +## Jak to działa (skrót) + +``` +xcl run ──► launcher: config, foldery danych, boot.json + └─► proces-host xcl.exe z linią poleceń gry (argv[0] = exe gry) + ├─ log, VFS + hooki plików (KERNELBASE), hook RtlPcToFileHeader + ├─ loader: mapuje exe gry → importy przez resolver: + │ HLE (kernelx / xgameruntime / d3d12_xs) → DLL z folderu gry + │ → DLL Windows → automatyczna zaślepka + ├─ statyczny TLS: „nośnik TLS” – generowana DLL z katalogiem TLS, + │ której slot zarządza Windows; XCL kopiuje szablon gry do bloku + │ każdego wątku (callback TLS xcl.exe) + └─ PEB.ImageBaseAddress = gra, start punktu wejścia na wątku z jej stosem +``` + +Dwa nieudokumentowane szczegóły Windows 11, ustalone testami (`tls.rs`): +loader przydziela slot TLS dynamicznie ładowanej DLL tylko wtedy, gdy ma ona importy, +i ignoruje `SizeOfZeroFill` – cały rozmiar bloku musi leżeć w zakresie „danych”. + +## Źródła i licencje + +- Licencja projektu: **GPL-2.0-only** (plik `LICENSE`; od 2026-11-20, wcześniej LGPL-3.0-or-later – + zmiana, aby móc korzystać z kodu [AnyPS5](https://github.com/boykopovar/AnyPS5), GPL-2.0-only). + Pełna lista źródeł zewnętrznych: `THIRD_PARTY.md`. +- [WinDurango](https://github.com/WinDurango/WinDurango) (LGPL-3.0) – wyłącznie referencja dla + kernelx (stałe, struktury, zachowania) i ordinali D3D12.X Xbox One; **kodu z WinDurango nie + wolno przenosić** (LGPL-3.0 jest niezgodne z GPL-2.0-only). +- [libHttpClient](https://github.com/microsoft/libHttpClient) (MIT) – nagłówki + XTaskQueue/XAsync jako specyfikacja kontraktu (implementacja w XCL jest własna). +- [docs.xbox.com](https://docs.xbox.com/llms.txt) – publiczna referencja API GDK + (sygnatury, enumy, struktury). +- [retour](https://crates.io/crates/retour) (BSD-2) – hooki inline. +- [AMD Machine-Readable GPU ISA](https://gpuopen.com/machine-readable-isa/) (MIT) – źródło + tablic dekodera RDNA2 (`crates/xcl/src/gpu/rdna2_spec.rs`, wygenerowany). +- [LLVM](https://github.com/llvm/llvm-project) (Apache-2.0 with LLVM exception) – wektory + testowe dezasemblera AMDGPU w `tests/data/llvm-amdgpu` (licencja obok plików). +- Repozytorium nie zawiera nagłówków ani binariów z SDK konsoli. diff --git a/THIRD_PARTY.md b/THIRD_PARTY.md new file mode 100644 index 0000000..d096bc6 --- /dev/null +++ b/THIRD_PARTY.md @@ -0,0 +1,21 @@ +# Źródła zewnętrzne XCL + +XCL jest na licencji **GPL-2.0-only** (`LICENSE`). Poniżej wszystko, co pochodzi z zewnątrz, +wraz z licencją i sposobem użycia. Pliki, które zawierają logikę przeniesioną z innego projektu, +mają w nagłówku informację o pochodzeniu i dacie zmian (wymóg GPL-2.0 §2a). + +| Źródło | Licencja | Co w XCL | Jak | +|---|---|---|---| +| [AnyPS5](https://github.com/boykopovar/AnyPS5) | GPL-2.0-only | recompiler (`crates/xcl/src/gpu/recomp/`) – fragmenty logiki oznaczone w plikach | port do Rusta/HLSL z adnotacją | +| [AMD Machine-Readable GPU ISA](https://gpuopen.com/machine-readable-isa/) | MIT | `crates/xcl/src/gpu/rdna2_spec.rs` (wygenerowany przez `scripts/gen_rdna2.py`) | tablice kodowań i instrukcji | +| [LLVM](https://github.com/llvm/llvm-project) | Apache-2.0 WITH LLVM-exception | `tests/data/llvm-amdgpu/*` (dane testowe, nie wchodzą do programu); wartości formatów buforów GFX10 (`UfmtSymbolicGFX10`) w `gpu/recomp/emit.rs` | wektory testowe; fakty sprzętowe | +| [WinDurango](https://github.com/WinDurango/WinDurango) | LGPL-3.0 | brak kodu; numery eksportów d3d12_x.dll (fakty) w `crates/xcl/data/stubdb.toml` | wyłącznie referencja | +| [libHttpClient](https://github.com/microsoft/libHttpClient) | MIT | brak kodu; kontrakt XTaskQueue/XAsync | specyfikacja | +| docs.xbox.com | dokumentacja | sygnatury, enumy, struktury pisane samodzielnie | referencja | +| Crates Rusta (`Cargo.lock`) | MIT / BSD-2 / Zlib / Unlicense (lub z alternatywą MIT) | zależności budowania | linkowane statycznie | +| DXC (`dxcompiler.dll`, `dxil.dll`) z Windows SDK | NCSA (dxcompiler) / Microsoft (dxil) | kompilacja HLSL → DXIL w czasie działania | ładowane z SDK użytkownika, **nie** dystrybuowane z XCL | +| Biblioteki systemowe Windows (d3d12, dxgi, xaudio2_9, ole32 …) | system | API docelowe | wyjątek „system library” GPL-2.0 | + +Przy dodawaniu zależności: zgodne z GPL-2.0-only są MIT, BSD, Zlib, ISC, Unlicense, LGPL-2.1(+), +GPL-2.0(+), MPL-2.0 (przez klauzulę licencji wtórnych). Niezgodne: Apache-2.0 bez alternatywy, +GPL-3.0, LGPL-3.0, AGPL. diff --git a/crates/xcl/Cargo.toml b/crates/xcl/Cargo.toml new file mode 100644 index 0000000..46dbdd7 --- /dev/null +++ b/crates/xcl/Cargo.toml @@ -0,0 +1,60 @@ +[package] +name = "xcl" +description = "Xbox Series X|S -> Windows compatibility layer (loader + HLE)" +version.workspace = true +edition.workspace = true +license.workspace = true + +[lib] +name = "xcl" +path = "src/lib.rs" + +[[bin]] +name = "xcl" +path = "src/main.rs" + +[dependencies] +miniz_oxide = "0.9" +retour = "0.3" +serde = { version = "1", features = ["derive"] } +serde_json = "1" +toml = "1" + +[dependencies.windows] +version = "0.62" +features = [ + "Win32_Foundation", + "Win32_Graphics_Direct3D", + "Win32_Graphics_Direct3D_Dxc", + "Win32_Graphics_Direct3D12", + "Win32_Graphics_Direct3D_Fxc", + "Win32_Graphics_Dxgi", + "Win32_Graphics_Dxgi_Common", + "Win32_Graphics_Gdi", + "Win32_Security", + "Win32_System_LibraryLoader", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] + +[dependencies.windows-sys] +version = "0.61" +features = [ + "Win32_Foundation", + "Win32_Security", + "Win32_Storage_FileSystem", + "Win32_System_Diagnostics_Debug", + "Win32_System_Com", + "Win32_System_Diagnostics_ToolHelp", + "Win32_System_Environment", + "Win32_System_IO", + "Win32_System_Kernel", + "Win32_System_LibraryLoader", + "Win32_System_Memory", + "Win32_System_Performance", + "Win32_System_ProcessStatus", + "Win32_System_SystemInformation", + "Win32_System_SystemServices", + "Win32_System_Threading", + "Win32_Globalization", +] diff --git a/crates/xcl/data/stubdb.toml b/crates/xcl/data/stubdb.toml new file mode 100644 index 0000000..9d1bb74 --- /dev/null +++ b/crates/xcl/data/stubdb.toml @@ -0,0 +1,37 @@ +# XCL stub database +# +# Default return values for automatically generated stubs (functions XCL does not +# implement yet) and ordinal → name maps for DLLs that export by ordinal. +# Values: "S_OK"/"0", "E_NOTIMPL", "E_FAIL", hex ("0x80004001"), decimal, "-1". +# Users can override per title in xcl.toml [stub_returns]. + +[module_defaults] +# Almost every GDK API returns HRESULT – failing loudly is safer than a fake success. +"xgameruntime.dll" = "E_NOTIMPL" +"d3d12_xs.dll" = "E_NOTIMPL" +"d3d12_x.dll" = "E_NOTIMPL" +"xg_xs.dll" = "E_NOTIMPL" +"acphal.dll" = "E_NOTIMPL" +"gameinput.dll" = "E_NOTIMPL" + +[functions] +# GDK / Xbox Live APIs that return HRESULT even when called through other modules +"*!XblInitialize" = "E_NOTIMPL" +"*!XblCleanupAsync" = "E_NOTIMPL" +"*!HCInitialize" = "E_NOTIMPL" +"*!XNetworkingQueryPreferredLocalUdpMultiplayerPort" = "E_NOTIMPL" +"*!XGameUiShowErrorDialogAsync" = "E_ABORT" +"*!XGameUiShowMessageDialogAsync" = "E_ABORT" +"*!XGameUiShowTextEntryAsync" = "E_ABORT" +"*!XGameUiShowAchievementsAsync" = "E_ABORT" +"*!XGameUiShowPlayerProfileCardAsync" = "E_ABORT" + +[ordinals."d3d12_x.dll"] +# Xbox One D3D12.X export ordinals (facts about the Microsoft DLL; looked up in WinDurango's D3D12X stub). +7 = "D3D12CreateDevice" +9 = "D3D12GetDebugInterface" +10 = "D3D12SerializeRootSignature" +11 = "D3D12XboxSetProcessDebugFlags" +16 = "D3DMapEsramMemory" +18 = "DXGIXPresentArray" +20 = "DXGIXSetVLineNotification" diff --git a/crates/xcl/src/config.rs b/crates/xcl/src/config.rs new file mode 100644 index 0000000..caece5c --- /dev/null +++ b/crates/xcl/src/config.rs @@ -0,0 +1,148 @@ +//! Per-title configuration (`%LOCALAPPDATA%\XCL\\xcl.toml`) and the boot record +//! the launcher hands to the host process. + +use serde::{Deserialize, Serialize}; +use std::collections::BTreeMap; +use std::path::{Path, PathBuf}; + +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(default)] +pub struct Config { + /// "anaconda" (Series X) or "lockhart" (Series S). + pub device_type: String, + /// Raw value returned by kernelx `GetConsoleType`. Series values are not public; + /// this is a guess and can be overridden. + pub console_type_raw: u32, + pub gamertag: String, + pub user_id: u64, + pub console_id: String, + pub sandbox_id: String, + /// Title memory budget reported by TitleMemoryStatus (MiB). + pub title_memory_mb: u64, + pub log_level: String, + pub log_to_stderr: bool, + /// Executable inside the game folder (auto-detected when empty). + pub exe: String, + pub package_identifier: String, + /// Console path prefix → target. `{game}` and `{data}` are expanded. + pub mounts: BTreeMap<String, String>, + /// Import DLL pattern → route: an HLE module ("kernelx.dll"), "@system" or "@stub". + pub aliases: BTreeMap<String, String>, + /// "dll!function" (or "*!function") → return value for auto-stubs. + pub stub_returns: BTreeMap<String, String>, + /// "d3d12" (real GPU, default) or "null" (no rendering). + pub graphics: String, + /// "auto" (high-performance GPU, then WARP) or "warp". + pub d3d12_adapter: String, + /// Enable the D3D12 debug layer (needs Graphics Tools). + pub d3d12_debug: bool, + /// "auto" (show the title's frames in an XCL window) or "off". + pub present: String, + pub window_width: u32, + pub window_height: u32, +} + +impl Default for Config { + fn default() -> Self { + let mut mounts = BTreeMap::new(); + mounts.insert("GAME:".into(), "{game}".into()); + mounts.insert("G:".into(), "{game}".into()); + mounts.insert("T:".into(), "{data}\\temp".into()); + Config { + device_type: "anaconda".into(), + console_type_raw: 6, + gamertag: "Player1".into(), + user_id: 0x0009_0000_0000_0001, + console_id: "XCL00000000000000000000000000000000000001".into(), + sandbox_id: "RETAIL".into(), + title_memory_mb: 13_824, + log_level: "info".into(), + log_to_stderr: true, + exe: String::new(), + package_identifier: String::new(), + mounts, + aliases: BTreeMap::new(), + stub_returns: BTreeMap::new(), + graphics: "d3d12".into(), + d3d12_adapter: "auto".into(), + d3d12_debug: false, + present: "auto".into(), + window_width: 1280, + window_height: 720, + } + } +} + +const HEADER: &str = "# XCL – konfiguracja tytułu. Plik tworzony automatycznie; można go edytować.\n\ +# device_type: \"anaconda\" (Series X) lub \"lockhart\" (Series S)\n\ +# mounts: prefiks ścieżki konsolowej -> folder ({game} = folder gry, tylko odczyt; {data} = dane XCL)\n\ +# aliases: wzorzec DLL -> \"kernelx.dll\" / \"xgameruntime.dll\" / \"d3d12_xs.dll\" / \"@system\" / \"@stub\"\n\ +# stub_returns: \"dll!Funkcja\" -> wartość zwracana przez zaślepkę (np. \"E_NOTIMPL\", \"0\", \"0x1\")\n\n"; + +impl Config { + pub fn load_or_create(path: &Path) -> Result<Config, String> { + match std::fs::read_to_string(path) { + Ok(s) => toml::from_str(&s).map_err(|e| format!("{}: {e}", path.display())), + Err(_) => { + let c = Config::default(); + let body = toml::to_string_pretty(&c).map_err(|e| e.to_string())?; + if let Some(d) = path.parent() { + let _ = std::fs::create_dir_all(d); + } + let _ = std::fs::write(path, format!("{HEADER}{body}")); + Ok(c) + } + } + } + + pub fn is_series_s(&self) -> bool { + self.device_type.eq_ignore_ascii_case("lockhart") || self.device_type.eq_ignore_ascii_case("series s") + } +} + +/// Everything the host process needs; written by the launcher as JSON. +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct Boot { + pub title: String, + pub exe_path: PathBuf, + pub game_root: PathBuf, + pub data_dir: PathBuf, + pub config: Config, +} + +impl Boot { + pub fn logs_dir(&self) -> PathBuf { + self.data_dir.join("logs") + } + pub fn cache_dir(&self) -> PathBuf { + self.data_dir.join("cache") + } + pub fn report_path(&self) -> PathBuf { + self.logs_dir().join("report.json") + } + pub fn expand(&self, s: &str) -> String { + s.replace("{game}", &self.game_root.to_string_lossy()) + .replace("{data}", &self.data_dir.to_string_lossy()) + } +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn default_roundtrips_through_toml() { + let c = Config::default(); + let s = toml::to_string_pretty(&c).unwrap(); + let back: Config = toml::from_str(&s).unwrap(); + assert_eq!(back.mounts.get("G:").map(String::as_str), Some("{game}")); + assert_eq!(back.title_memory_mb, 13_824); + } + + #[test] + fn partial_file_uses_defaults() { + let c: Config = toml::from_str("device_type = \"lockhart\"\n").unwrap(); + assert!(c.is_series_s()); + assert_eq!(c.gamertag, "Player1"); + } +} diff --git a/crates/xcl/src/disasm.rs b/crates/xcl/src/disasm.rs new file mode 100644 index 0000000..1740bfb --- /dev/null +++ b/crates/xcl/src/disasm.rs @@ -0,0 +1,145 @@ +//! `xcl disasm <file> [--offset N] [--length N] [--all] [--hex] [--fssm FILE]` – RDNA2 +//! disassembler for captured shader blobs (or any binary with console GPU code). +//! Console containers (XDAT/XBCH/FSSM) are unpacked and their layout is printed. + +use std::path::Path; + +use crate::gpu::{rdna2, shader, xbox}; + +fn parse_num(s: &str) -> Option<usize> { + match s.strip_prefix("0x").or_else(|| s.strip_prefix("0X")) { + Some(h) => usize::from_str_radix(h, 16).ok(), + None => s.parse().ok(), + } +} + +fn print_lines(code: &[u8], base: usize, stop: bool) { + for l in rdna2::disassemble(code, base as u64, stop) { + let hex: Vec<String> = l.bytes.iter().map(|b| format!("{b:02x}")).collect(); + let mark = if l.flags & rdna2::F_BRANCH != 0 { " ; →" } else { "" }; + println!(" {:08x}: {:<52} {}{mark}", l.pc, l.text, hex.join(" ")); + } +} + +fn hexdump(data: &[u8], base: usize) { + for (i, row) in data.chunks(16).enumerate() { + let hex: Vec<String> = row.iter().map(|b| format!("{b:02x}")).collect(); + let txt: String = row.iter().map(|&b| if (0x20..0x7f).contains(&b) { b as char } else { '.' }).collect(); + println!(" {:06x}: {:<47} {txt}", base + i * 16, hex.join(" ")); + } +} + +fn xdat_label(id: u32) -> &'static str { + match id { + xbox::XDAT_HASH => "hash", + xbox::XDAT_XBCH => "XBCH → FSSM (kod natywny)", + xbox::XDAT_NESTED_HEADER => "zagnieżdżony nagłówek DXIL (NOBC)", + _ => "?", + } +} + +fn print_xbox(sh: &xbox::XboxShader, full_hex: bool, fssm_out: Option<&str>) { + println!( + "kontener konsolowy: etap {} (DXIL), SM {}.{}, XDAT @ +{:#x}", + sh.stage, sh.shader_model.0, sh.shader_model.1, sh.xdat_offset + ); + for e in &sh.entries { + println!(" XDAT {:#04x} +{:#x} {} B {}", e.id, e.offset, e.size, xdat_label(e.id)); + } + if let Some(h) = sh.hash { + println!(" hash: {}", h.iter().map(|b| format!("{b:02x}")).collect::<String>()); + } + for n in &sh.notes { + println!(" UWAGA: {n}"); + } + for (i, f) in sh.fssm.iter().enumerate() { + println!( + "FSSM #{i}: XBCH v{} @ +{:#x}, zlib {} B → {} B, FSSM v{:#x}", + f.xbch_version, + f.xbch_offset, + f.compressed, + f.data.len(), + f.version + ); + if let Some(e) = &f.error { + println!(" UWAGA: {e}"); + } + for s in &f.stages { + println!(" etap sprzętowy: {} – deskryptor @ +{:#x}", s.label(), s.offset); + } + match f.code { + Some((o, l)) => println!( + " kod: +{o:#x}, {l} B ({}), programów: {}", + if f.code_from_header { "wskaźnik z nagłówka +0xC0" } else { "znaleziony skanowaniem" }, + f.programs.len() + ), + None => println!(" kod: nie znaleziono"), + } + let limit = if full_hex { usize::MAX } else { 0x140 }; + println!(" nagłówek – niezerowe qwordy (bez wypełniacza 0xDEADBEEF){}:", if full_hex { "" } else { ", do +0x140; --hex: całość" }); + for (o, q) in xbox::header_qwords(f, limit) { + println!(" +{o:#05x}: {q:016x}"); + } + if full_hex { + if let Some((o, l)) = f.code { + println!(" dane za kodem (+{:#x}):", o + l); + hexdump(&f.data[o + l..], o + l); + } + } + if let Some(out) = fssm_out { + let name = if i == 0 { out.to_string() } else { format!("{out}.{i}") }; + match std::fs::write(&name, &f.data) { + Ok(()) => println!(" zapisano FSSM do {name}"), + Err(e) => eprintln!("xcl disasm: {name}: {e}"), + } + } + } +} + +pub fn run(path: &Path, args: &[String]) -> i32 { + let data = match std::fs::read(path) { + Ok(d) => d, + Err(e) => { + eprintln!("xcl disasm: {}: {e}", path.display()); + return 2; + } + }; + let opt = |name: &str| args.iter().position(|a| a == name).and_then(|i| args.get(i + 1)).and_then(|v| parse_num(v)); + let all = args.iter().any(|a| a == "--all"); + println!("{} – {} B, dekoder: {}", path.display(), data.len(), crate::gpu::RDNA2_ARCH); + + if let Some(off) = opt("--offset") { + if off >= data.len() { + eprintln!("xcl disasm: offset {off:#x} poza plikiem"); + return 2; + } + let len = opt("--length").unwrap_or(data.len() - off).min(data.len() - off); + print_lines(&data[off..off + len], off, !all); + return 0; + } + + let (kind, parts) = shader::classify(&data); + println!("format: {}", kind.label()); + if !parts.is_empty() { + println!("części kontenera:"); + for p in &parts { + println!(" {} +{:#x} {} B", p.fourcc, p.offset, p.size); + } + } + if kind == shader::Kind::XboxNative { + if let Some(sh) = xbox::parse(&data) { + let out = args.iter().position(|a| a == "--fssm").and_then(|i| args.get(i + 1)).map(String::as_str); + print_xbox(&sh, args.iter().any(|a| a == "--hex"), out); + } + } + let listing = shader::rdna2_listing(&data); + if listing.is_empty() { + println!("nie znaleziono programów RDNA2 (zakończonych s_endpgm); użyj --offset N, aby wymusić dekodowanie"); + if matches!(kind, shader::Kind::Dxil | shader::Kind::Dxbc) { + println!("(to shader w formacie PC – nie wymaga rekompilacji)"); + } + } else { + print!("{listing}"); + } + 0 +} diff --git a/crates/xcl/src/eh.rs b/crates/xcl/src/eh.rs new file mode 100644 index 0000000..a591a17 --- /dev/null +++ b/crates/xcl/src/eh.rs @@ -0,0 +1,95 @@ +//! Exception-handling support for manually mapped images. +//! +//! * `.pdata` is registered with `RtlAddFunctionTable` so the unwinder finds our frames. +//! * `RtlPcToFileHeader` is hooked: x64 C++ `throw` (`_CxxThrowException`) and the +//! catch matching code use it to find the image base of the thrower's `ThrowInfo`; +//! the real function only knows modules on the Windows loader list. +//! * An unhandled-exception filter logs crashes with module+RVA and writes the report. + +use std::ffi::c_void; +use std::sync::atomic::{AtomicUsize, Ordering}; + +use windows_sys::Win32::System::Diagnostics::Debug::{ + RtlAddFunctionTable, SetUnhandledExceptionFilter, EXCEPTION_POINTERS, IMAGE_RUNTIME_FUNCTION_ENTRY, +}; + +use crate::hooks; +use crate::modules; + +pub fn register_function_table(base: usize, rva: u32, size: u32) -> bool { + let count = size / std::mem::size_of::<IMAGE_RUNTIME_FUNCTION_ENTRY>() as u32; + let ok = unsafe { + RtlAddFunctionTable((base + rva as usize) as *const IMAGE_RUNTIME_FUNCTION_ENTRY, count, base as u64) + }; + if !ok { + crate::xlog_warn!("RtlAddFunctionTable({base:#x}) nie powiodło się"); + } + ok +} + +static ORIG_PC_TO_FILE_HEADER: AtomicUsize = AtomicUsize::new(0); +type PcToFileHeader = unsafe extern "system" fn(*mut c_void, *mut *mut c_void) -> *mut c_void; + +unsafe extern "system" fn hk_rtl_pc_to_file_header(pc: *mut c_void, base_out: *mut *mut c_void) -> *mut c_void { + if let Some(b) = modules::image_base_for_addr(pc as usize) { + if !base_out.is_null() { + *base_out = b as *mut c_void; + } + return b as *mut c_void; + } + let orig: PcToFileHeader = std::mem::transmute(ORIG_PC_TO_FILE_HEADER.load(Ordering::Acquire)); + orig(pc, base_out) +} + +pub fn install_pc_hook() -> Result<(), String> { + unsafe { + hooks::hook( + "ntdll.dll", + "RtlPcToFileHeader", + hk_rtl_pc_to_file_header as usize, + &ORIG_PC_TO_FILE_HEADER, + ) + } +} + +unsafe extern "system" fn unhandled_filter(info: *const EXCEPTION_POINTERS) -> i32 { + if !info.is_null() && !(*info).ExceptionRecord.is_null() { + let rec = &*(*info).ExceptionRecord; + let addr = rec.ExceptionAddress as usize; + let mut extra = String::new(); + if rec.ExceptionCode as u32 == 0xC000_0005 && rec.NumberParameters >= 2 { + let op = match rec.ExceptionInformation[0] { + 0 => "odczyt", + 1 => "zapis", + 8 => "wykonanie", + _ => "?", + }; + extra = format!(" ({op} adresu {:#x})", rec.ExceptionInformation[1]); + } + let ctx = (*info).ContextRecord; + let regs = if ctx.is_null() { + String::new() + } else { + let c = &*ctx; + format!( + " rax={:#x} rcx={:#x} rdx={:#x} r8={:#x} r9={:#x} rsp={:#x}", + c.Rax, c.Rcx, c.Rdx, c.R8, c.R9, c.Rsp + ) + }; + let msg = format!( + "nieobsłużony wyjątek {:#010x} w {}{extra}{regs}", + rec.ExceptionCode as u32, + modules::describe_address(addr) + ); + crate::xlog_error!("{msg}"); + crate::report::write_final(Some(msg)); + crate::log::flush(); + } + 0 // EXCEPTION_CONTINUE_SEARCH +} + +pub fn install_crash_handler() { + unsafe { + SetUnhandledExceptionFilter(Some(unhandled_filter)); + } +} diff --git a/crates/xcl/src/gpu/desc.rs b/crates/xcl/src/gpu/desc.rs new file mode 100644 index 0000000..cf492f4 --- /dev/null +++ b/crates/xcl/src/gpu/desc.rs @@ -0,0 +1,375 @@ +//! GFX10 resource descriptors – T# (image, 8 dwords), S# (sampler, 4), V# (buffer, 4) – +//! decoded and expressed in D3D12 terms (DXGI format, SRV with component mapping, sampler). +//! Plain functions: whatever ends up feeding the GPU (descriptor tables the title writes, +//! a cache keyed by the raw words …) can use them. Field positions as in AMD's GFX10 +//! register docs, cross-checked with AnyPS5 (GPL-2.0); format numbers = GFX10 IMG_FORMAT. + +use windows::Win32::Graphics::Direct3D12::*; +use windows::Win32::Graphics::Dxgi::Common::*; + +/// GFX10 image TYPE (T# word 3 [31:28]). +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum ImageType { + D1, + D2, + D3, + Cube, + D1Array, + D2Array, + D2Msaa, + D2MsaaArray, +} + +#[derive(Debug, Clone, Copy, PartialEq)] +pub struct Image { + /// byte address (BASE_ADDRESS is in 256-byte units) + pub address: u64, + /// GFX10 IMG_FORMAT + pub format: u32, + pub width: u32, + pub height: u32, + /// depth (3D) or last array slice + 1 (arrays, cubes: faces) + pub depth: u32, + pub ty: ImageType, + pub base_level: u32, + pub last_level: u32, + /// highest mip of the resource + pub max_mip: u32, + pub base_array: u32, + /// DST_SEL x, y, z, w: 0 = 0, 1 = 1, 4..7 = x..w + pub dst_sel: [u32; 4], + /// SW_MODE (tiling): 0 = linear + pub swizzle_mode: u32, + /// MIN_LOD (u4.8) + pub min_lod: f32, +} + +/// Decode a T#. None for a null / unknown-type descriptor. +pub fn image(w: &[u32; 8]) -> Option<Image> { + let ty = match w[3] >> 28 { + 8 => ImageType::D1, + 9 => ImageType::D2, + 10 => ImageType::D3, + 11 => ImageType::Cube, + 12 => ImageType::D1Array, + 13 => ImageType::D2Array, + 14 => ImageType::D2Msaa, + 15 => ImageType::D2MsaaArray, + _ => return None, + }; + Some(Image { + address: ((w[0] as u64) | ((w[1] as u64 & 0xFF) << 32)) << 8, + format: (w[1] >> 20) & 0x1FF, + width: ((w[1] >> 30) & 3 | (w[2] & 0xFFF) << 2) + 1, + height: ((w[2] >> 14) & 0x3FFF) + 1, + depth: (w[4] & 0x1FFF) + 1, + ty, + base_level: (w[3] >> 12) & 0xF, + last_level: (w[3] >> 16) & 0xF, + max_mip: (w[5] >> 4) & 0xF, + base_array: (w[4] >> 16) & 0x1FFF, + dst_sel: [w[3] & 7, (w[3] >> 3) & 7, (w[3] >> 6) & 7, (w[3] >> 9) & 7], + swizzle_mode: (w[3] >> 20) & 0x1F, + min_lod: ((w[1] >> 8) & 0xFFF) as f32 / 256.0, + }) +} + +/// DXGI format of a GFX10 IMG_FORMAT and where GFX components x, y, z, w live among the +/// DXGI channels R, G, B, A (the B-first packed formats store x in the blue bits). +pub fn dxgi_format(f: u32) -> Option<(DXGI_FORMAT, [u32; 4])> { + const RGBA: [u32; 4] = [0, 1, 2, 3]; + const BGRA: [u32; 4] = [2, 1, 0, 3]; + let d = match f { + 1 => DXGI_FORMAT_R8_UNORM, + 2 => DXGI_FORMAT_R8_SNORM, + 5 => DXGI_FORMAT_R8_UINT, + 6 => DXGI_FORMAT_R8_SINT, + 7 => DXGI_FORMAT_R16_UNORM, + 8 => DXGI_FORMAT_R16_SNORM, + 11 => DXGI_FORMAT_R16_UINT, + 12 => DXGI_FORMAT_R16_SINT, + 13 => DXGI_FORMAT_R16_FLOAT, + 14 => DXGI_FORMAT_R8G8_UNORM, + 15 => DXGI_FORMAT_R8G8_SNORM, + 18 => DXGI_FORMAT_R8G8_UINT, + 19 => DXGI_FORMAT_R8G8_SINT, + 20 => DXGI_FORMAT_R32_UINT, + 21 => DXGI_FORMAT_R32_SINT, + 22 => DXGI_FORMAT_R32_FLOAT, + 23 => DXGI_FORMAT_R16G16_UNORM, + 24 => DXGI_FORMAT_R16G16_SNORM, + 27 => DXGI_FORMAT_R16G16_UINT, + 28 => DXGI_FORMAT_R16G16_SINT, + 29 => DXGI_FORMAT_R16G16_FLOAT, + 36 => DXGI_FORMAT_R11G11B10_FLOAT, + 50 => DXGI_FORMAT_R10G10B10A2_UNORM, + 54 => DXGI_FORMAT_R10G10B10A2_UINT, + 56 => DXGI_FORMAT_R8G8B8A8_UNORM, + 57 => DXGI_FORMAT_R8G8B8A8_SNORM, + 60 => DXGI_FORMAT_R8G8B8A8_UINT, + 61 => DXGI_FORMAT_R8G8B8A8_SINT, + 62 => DXGI_FORMAT_R32G32_UINT, + 63 => DXGI_FORMAT_R32G32_SINT, + 64 => DXGI_FORMAT_R32G32_FLOAT, + 65 => DXGI_FORMAT_R16G16B16A16_UNORM, + 66 => DXGI_FORMAT_R16G16B16A16_SNORM, + 69 => DXGI_FORMAT_R16G16B16A16_UINT, + 70 => DXGI_FORMAT_R16G16B16A16_SINT, + 71 => DXGI_FORMAT_R16G16B16A16_FLOAT, + 72 => DXGI_FORMAT_R32G32B32_UINT, + 73 => DXGI_FORMAT_R32G32B32_SINT, + 74 => DXGI_FORMAT_R32G32B32_FLOAT, + 75 => DXGI_FORMAT_R32G32B32A32_UINT, + 76 => DXGI_FORMAT_R32G32B32A32_SINT, + 77 => DXGI_FORMAT_R32G32B32A32_FLOAT, + 130 => DXGI_FORMAT_R8G8B8A8_UNORM_SRGB, + 132 => DXGI_FORMAT_R9G9B9E5_SHAREDEXP, + 133 => return Some((DXGI_FORMAT_B5G6R5_UNORM, BGRA)), + 135 => return Some((DXGI_FORMAT_B5G5R5A1_UNORM, BGRA)), + 136 => return Some((DXGI_FORMAT_B4G4R4A4_UNORM, BGRA)), + 169 => DXGI_FORMAT_BC1_UNORM, + 170 => DXGI_FORMAT_BC1_UNORM_SRGB, + 171 => DXGI_FORMAT_BC2_UNORM, + 172 => DXGI_FORMAT_BC2_UNORM_SRGB, + 173 => DXGI_FORMAT_BC3_UNORM, + 174 => DXGI_FORMAT_BC3_UNORM_SRGB, + 175 => DXGI_FORMAT_BC4_UNORM, + 176 => DXGI_FORMAT_BC4_SNORM, + 177 => DXGI_FORMAT_BC5_UNORM, + 178 => DXGI_FORMAT_BC5_SNORM, + 179 => DXGI_FORMAT_BC6H_UF16, + 180 => DXGI_FORMAT_BC6H_SF16, + 181 => DXGI_FORMAT_BC7_UNORM, + 182 => DXGI_FORMAT_BC7_UNORM_SRGB, + _ => return None, + }; + Some((d, RGBA)) +} + +/// D3D12 component mapping for a T#'s DST_SEL on a DXGI format with the given channel order. +pub fn component_mapping(dst_sel: [u32; 4], order: [u32; 4]) -> u32 { + let src = |sel: u32| match sel { + 0 => D3D12_SHADER_COMPONENT_MAPPING_FORCE_VALUE_0.0 as u32, + 1 => D3D12_SHADER_COMPONENT_MAPPING_FORCE_VALUE_1.0 as u32, + 4..=7 => order[(sel - 4) as usize], + _ => D3D12_SHADER_COMPONENT_MAPPING_FORCE_VALUE_0.0 as u32, + }; + // D3D12_ENCODE_SHADER_4_COMPONENT_MAPPING + src(dst_sel[0]) | src(dst_sel[1]) << 3 | src(dst_sel[2]) << 6 | src(dst_sel[3]) << 9 | 1 << 12 +} + +/// Resource and SRV descriptions of a T# (None: format without a DXGI equivalent). +pub fn image_d3d12(t: &Image) -> Option<(D3D12_RESOURCE_DESC, D3D12_SHADER_RESOURCE_VIEW_DESC)> { + let (format, order) = dxgi_format(t.format)?; + let mips = t.max_mip.max(t.last_level) + 1; + let (dim, depth) = match t.ty { + ImageType::D1 | ImageType::D1Array => (D3D12_RESOURCE_DIMENSION_TEXTURE1D, t.depth), + ImageType::D3 => (D3D12_RESOURCE_DIMENSION_TEXTURE3D, t.depth), + _ => (D3D12_RESOURCE_DIMENSION_TEXTURE2D, t.depth), + }; + let samples = if matches!(t.ty, ImageType::D2Msaa | ImageType::D2MsaaArray) { 1u32 << t.last_level.min(4) } else { 1 }; + let res = D3D12_RESOURCE_DESC { + Dimension: dim, + Width: t.width as u64, + Height: if dim == D3D12_RESOURCE_DIMENSION_TEXTURE1D { 1 } else { t.height }, + DepthOrArraySize: depth.min(u16::MAX as u32) as u16, + MipLevels: if samples > 1 { 1 } else { mips as u16 }, + Format: format, + SampleDesc: DXGI_SAMPLE_DESC { Count: samples, Quality: 0 }, + ..Default::default() + }; + let levels = t.last_level.saturating_sub(t.base_level) + 1; + let slices = depth.saturating_sub(t.base_array).max(1); + let mut v = D3D12_SHADER_RESOURCE_VIEW_DESC { Format: format, Shader4ComponentMapping: component_mapping(t.dst_sel, order), ..Default::default() }; + let lod = t.min_lod; + match t.ty { + ImageType::D1 => { + v.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE1D; + v.Anonymous.Texture1D = D3D12_TEX1D_SRV { MostDetailedMip: t.base_level, MipLevels: levels, ResourceMinLODClamp: lod }; + } + ImageType::D1Array => { + v.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE1DARRAY; + v.Anonymous.Texture1DArray = D3D12_TEX1D_ARRAY_SRV { MostDetailedMip: t.base_level, MipLevels: levels, FirstArraySlice: t.base_array, ArraySize: slices, ResourceMinLODClamp: lod }; + } + ImageType::D2 => { + v.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2D; + v.Anonymous.Texture2D = D3D12_TEX2D_SRV { MostDetailedMip: t.base_level, MipLevels: levels, PlaneSlice: 0, ResourceMinLODClamp: lod }; + } + ImageType::D2Array => { + v.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2DARRAY; + v.Anonymous.Texture2DArray = + D3D12_TEX2D_ARRAY_SRV { MostDetailedMip: t.base_level, MipLevels: levels, FirstArraySlice: t.base_array, ArraySize: slices, PlaneSlice: 0, ResourceMinLODClamp: lod }; + } + ImageType::D3 => { + v.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE3D; + v.Anonymous.Texture3D = D3D12_TEX3D_SRV { MostDetailedMip: t.base_level, MipLevels: levels, ResourceMinLODClamp: lod }; + } + ImageType::Cube if depth > 6 => { + v.ViewDimension = D3D12_SRV_DIMENSION_TEXTURECUBEARRAY; + v.Anonymous.TextureCubeArray = + D3D12_TEXCUBE_ARRAY_SRV { MostDetailedMip: t.base_level, MipLevels: levels, First2DArrayFace: t.base_array, NumCubes: slices / 6, ResourceMinLODClamp: lod }; + } + ImageType::Cube => { + v.ViewDimension = D3D12_SRV_DIMENSION_TEXTURECUBE; + v.Anonymous.TextureCube = D3D12_TEXCUBE_SRV { MostDetailedMip: t.base_level, MipLevels: levels, ResourceMinLODClamp: lod }; + } + ImageType::D2Msaa => v.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2DMS, + ImageType::D2MsaaArray => { + v.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2DMSARRAY; + v.Anonymous.Texture2DMSArray = D3D12_TEX2DMS_ARRAY_SRV { FirstArraySlice: t.base_array, ArraySize: slices }; + } + } + Some((res, v)) +} + +/// D3D12 sampler from an S#. Border colours from the console's table (type 3) become +/// transparent black. `comparison` selects the comparison variant (image_*_c). +pub fn sampler_d3d12(w: &[u32; 4], comparison: bool) -> D3D12_SAMPLER_DESC { + let address = |c: u32| match c { + 0 => D3D12_TEXTURE_ADDRESS_MODE_WRAP, + 1 => D3D12_TEXTURE_ADDRESS_MODE_MIRROR, + 2 | 4 => D3D12_TEXTURE_ADDRESS_MODE_CLAMP, + 6 => D3D12_TEXTURE_ADDRESS_MODE_BORDER, + _ => D3D12_TEXTURE_ADDRESS_MODE_MIRROR_ONCE, + }; + let mag = (w[2] >> 20) & 3; + let min = (w[2] >> 22) & 3; + let mip = (w[2] >> 26) & 3; + let aniso = 1u32 << ((w[0] >> 9) & 7).min(4); + let reduction = match (comparison, (w[0] >> 29) & 3) { + (true, _) => 1, + (false, 1) => 2, // min + (false, 2) => 3, // max + _ => 0, + }; + let filter = if (mag >= 2 || min >= 2) && aniso > 1 { + 0x55 | reduction << 7 // D3D12_ENCODE_ANISOTROPIC_FILTER + } else { + // D3D12_ENCODE_BASIC_FILTER(min, mag, mip, reduction): linear = 1 + let lin = |x: u32| (x & 1 == 1 || x >= 2) as u32; + (lin(min) << 4) | (lin(mag) << 2) | ((mip == 2) as u32) | reduction << 7 + }; + let s5_8 = |v: u32| ((v as i32) << 18 >> 18) as f32 / 256.0; + let border = match w[3] >> 30 { + 1 => [0.0, 0.0, 0.0, 1.0], + 2 => [1.0, 1.0, 1.0, 1.0], + _ => [0.0; 4], + }; + D3D12_SAMPLER_DESC { + Filter: D3D12_FILTER(filter as i32), + AddressU: address(w[0] & 7), + AddressV: address((w[0] >> 3) & 7), + AddressW: address((w[0] >> 6) & 7), + MipLODBias: s5_8(w[2] & 0x3FFF), + MaxAnisotropy: aniso, + // SQ_TEX_DEPTH_COMPARE never..always = D3D12_COMPARISON_FUNC 1..8 + ComparisonFunc: D3D12_COMPARISON_FUNC(((w[0] >> 12) & 7) as i32 + 1), + BorderColor: border, + MinLOD: (w[1] & 0xFFF) as f32 / 256.0, + MaxLOD: if mip == 0 { (w[1] & 0xFFF) as f32 / 256.0 } else { ((w[1] >> 12) & 0xFFF) as f32 / 256.0 }, + } +} + +/// The T# as recompiled shaders read it (XCL shader ABI): BASE_ADDRESS – word 0 and the +/// high byte of word 1 – replaced by the descriptor heap index of the SRV (UAV at index + 1); +/// every other field (format, size, swizzle …) stays as the console wrote it. +pub fn xcl_image_words(t: &[u32; 8], srv_heap_index: u32) -> [u32; 8] { + let mut w = *t; + w[0] = srv_heap_index; + w[1] &= !0xFF; + w +} + +/// The S# as recompiled shaders read it: sampler heap index in word 3 [11:0] +/// (BORDER_COLOR_PTR; the border colour type stays). +pub fn xcl_sampler_words(s: &[u32; 4], sampler_heap_index: u32) -> [u32; 4] { + let mut w = *s; + w[3] = (w[3] & !0xFFF) | (sampler_heap_index & 0xFFF); + w +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct Buffer { + pub address: u64, + pub stride: u32, + pub num_records: u32, + pub dst_sel: [u32; 4], + /// GFX10 buffer FORMAT (word 3 [18:12]) + pub format: u32, +} + +pub fn buffer(w: &[u32; 4]) -> Buffer { + Buffer { + address: w[0] as u64 | ((w[1] as u64 & 0xFFFF) << 32), + stride: (w[1] >> 16) & 0x3FFF, + num_records: w[2], + dst_sel: [w[3] & 7, (w[3] >> 3) & 7, (w[3] >> 6) & 7, (w[3] >> 9) & 7], + format: (w[3] >> 12) & 0x7F, + } +} + +#[cfg(test)] +mod tests { + use super::*; + + /// T# of a 2D BGRA-swizzled RGBA8 texture, 256×128, 8 mips, view of mips 1..3. + fn tsharp() -> [u32; 8] { + let (w, h) = (256u32 - 1, 128u32 - 1); + [ + 0x1234_5600 >> 8, + 0x12 | (3 << 8) | (56 << 20) | (w & 3) << 30, + (w >> 2) | h << 14, + 6 | 5 << 3 | 4 << 6 | 7 << 9 | 1 << 12 | 3 << 16 | 9 << 28, // z y x w, levels 1..3, 2D + 0, + 7 << 4, + 0, + 0, + ] + } + + #[test] + fn decodes_tsharp() { + let t = image(&tsharp()).unwrap(); + assert_eq!(t.address, 0x1200_1234_5600); // BASE_ADDRESS (incl. hi byte) counts 256-byte units + assert_eq!((t.format, t.width, t.height, t.ty), (56, 256, 128, ImageType::D2)); + assert_eq!((t.base_level, t.last_level, t.max_mip, t.dst_sel), (1, 3, 7, [6, 5, 4, 7])); + assert!((t.min_lod - 3.0 / 256.0).abs() < 1e-6); + let (res, srv) = image_d3d12(&t).unwrap(); + assert_eq!((res.Width, res.Height, res.MipLevels, res.Format), (256, 128, 8, DXGI_FORMAT_R8G8B8A8_UNORM)); + assert_eq!(srv.ViewDimension, D3D12_SRV_DIMENSION_TEXTURE2D); + assert_eq!(unsafe { (srv.Anonymous.Texture2D.MostDetailedMip, srv.Anonymous.Texture2D.MipLevels) }, (1, 3)); + // r ← z (channel 2), g ← y, b ← x, a ← w + assert_eq!(srv.Shader4ComponentMapping, 2 | 1 << 3 | 0 << 6 | 3 << 9 | 1 << 12); + assert!(image(&[0; 8]).is_none()); + } + + #[test] + fn packed_formats_reorder_channels() { + // 5_6_5: x lives in the blue bits of DXGI B5G6R5; identity DST_SEL → r ← B channel + assert_eq!(dxgi_format(133), Some((DXGI_FORMAT_B5G6R5_UNORM, [2, 1, 0, 3]))); + assert_eq!(component_mapping([4, 5, 6, 1], [2, 1, 0, 3]), 2 | 1 << 3 | 0 << 6 | 5 << 9 | 1 << 12); + assert_eq!(dxgi_format(181).map(|x| x.0), Some(DXGI_FORMAT_BC7_UNORM)); + assert!(dxgi_format(44).is_none()); // 2_10_10_10: no DXGI equivalent + } + + #[test] + fn decodes_ssharp() { + // clamp/wrap/border, aniso 8, compare LESS, bias -1.5, mag/min linear, mip linear, lod 0..13 + let w = [2 | 0 << 3 | 6 << 6 | 3 << 9 | 1 << 12, 0 | (13 * 256) << 12, (((-384i32) as u32) & 0x3FFF) | 1 << 20 | 1 << 22 | 2 << 26, 2 << 30]; + let s = sampler_d3d12(&w, false); + assert_eq!((s.AddressU, s.AddressV, s.AddressW), (D3D12_TEXTURE_ADDRESS_MODE_CLAMP, D3D12_TEXTURE_ADDRESS_MODE_WRAP, D3D12_TEXTURE_ADDRESS_MODE_BORDER)); + assert_eq!(s.Filter, D3D12_FILTER_MIN_MAG_MIP_LINEAR); + assert_eq!((s.MipLODBias, s.MinLOD, s.MaxLOD, s.BorderColor), (-1.5, 0.0, 13.0, [1.0; 4])); + assert_eq!(s.ComparisonFunc, D3D12_COMPARISON_FUNC_LESS); + assert_eq!(sampler_d3d12(&w, true).Filter, D3D12_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR); + let mut a = w; + a[2] = 2 << 20 | 2 << 22 | 2 << 26; + assert_eq!(sampler_d3d12(&a, false).Filter, D3D12_FILTER_ANISOTROPIC); + } + + #[test] + fn decodes_vsharp() { + let b = buffer(&[0x1000, 0x12 | 16 << 16, 64, 4 | 5 << 3 | 6 << 6 | 7 << 9 | 77 << 12]); + assert_eq!((b.address, b.stride, b.num_records, b.format, b.dst_sel), (0x12_0000_1000, 16, 64, 77, [4, 5, 6, 7])); + } +} diff --git a/crates/xcl/src/gpu/dxbc.rs b/crates/xcl/src/gpu/dxbc.rs new file mode 100644 index 0000000..1bb3ac1 --- /dev/null +++ b/crates/xcl/src/gpu/dxbc.rs @@ -0,0 +1,172 @@ +//! DXBC input/output signatures (ISG1/OSG1/PSG1 and the older ISGN/OSGN/PCSG): the +//! semantics that link console VS outputs to PS inputs on PC. + +use super::shader::container_parts; + +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct SigElement { + pub name: String, + pub index: u32, + /// D3D_NAME system value (0 = none, 1 = SV_Position, …; 64 = SV_Target …) + pub system_value: u32, + /// 1 uint, 2 sint, 3 float … + pub component_type: u32, + pub register: u32, + pub mask: u8, + pub rw_mask: u8, + pub stream: u32, +} + +impl SigElement { + pub fn semantic(&self) -> String { + format!("{}{}", self.name, self.index) + } +} + +fn rd32(b: &[u8], o: usize) -> Option<u32> { + b.get(o..o + 4).map(|x| u32::from_le_bytes([x[0], x[1], x[2], x[3]])) +} + +fn cstr(b: &[u8], o: usize) -> String { + let s = b.get(o..).unwrap_or(&[]); + let n = s.iter().position(|&c| c == 0).unwrap_or(s.len()); + String::from_utf8_lossy(&s[..n]).into_owned() +} + +/// Parse one signature part (`ISG1`, `OSG1`, `ISGN`, …) of a DXBC container. +pub fn signature(blob: &[u8], fourcc: &str) -> Option<Vec<SigElement>> { + let parts = container_parts(blob)?; + let p = parts.iter().find(|p| p.fourcc == fourcc)?; + let d = &blob[p.offset..p.offset + p.size]; + let count = rd32(d, 0)? as usize; + let first = rd32(d, 4)? as usize; + let v1 = fourcc.ends_with('1'); + let size = if v1 { 32 } else { 24 }; + let mut out = Vec::with_capacity(count); + for i in 0..count { + let mut e = first + i * size; + let stream = if v1 { + let s = rd32(d, e)?; + e += 4; + s + } else { + 0 + }; + out.push(SigElement { + name: cstr(d, rd32(d, e)? as usize), + index: rd32(d, e + 4)?, + system_value: rd32(d, e + 8)?, + component_type: rd32(d, e + 12)?, + register: rd32(d, e + 16)?, + mask: *d.get(e + 20)?, + rw_mask: *d.get(e + 21)?, + stream, + }); + } + Some(out) +} + +/// Input and output signature of a shader (whichever version the container has). +pub fn signatures(blob: &[u8]) -> (Vec<SigElement>, Vec<SigElement>) { + let i = signature(blob, "ISG1").or_else(|| signature(blob, "ISGN")).unwrap_or_default(); + let o = signature(blob, "OSG1").or_else(|| signature(blob, "OSGN")).unwrap_or_default(); + (i, o) +} + +/// Facts from the `PSV0` part (PSVRuntimeInfo0..2): shader kind, mesh-shader limits, thread group. +#[derive(Debug, Clone, Copy, Default, PartialEq)] +pub struct Psv { + /// PSVShaderKind (v1+): 0 PS, 1 VS, 2 GS, 3 HS, 4 DS, 5 CS, 13 MS, 14 AS + pub kind: Option<u8>, + pub ms_groupshared: u32, + pub ms_payload: u32, + pub ms_max_vertices: u16, + pub ms_max_primitives: u16, + /// 1 line, 2 triangle + pub ms_topology: u8, + pub min_wave: u32, + pub max_wave: u32, + /// v2+ + pub numthreads: Option<[u32; 3]>, +} + +pub fn psv(blob: &[u8]) -> Option<Psv> { + let parts = container_parts(blob)?; + let p = parts.iter().find(|p| p.fourcc == "PSV0")?; + let d = &blob[p.offset..p.offset + p.size]; + let size = rd32(d, 0)? as usize; + let r = d.get(4..4 + size)?; + let u16at = |o: usize| r.get(o..o + 2).map(|b| u16::from_le_bytes([b[0], b[1]])); + let mut v = Psv { min_wave: rd32(r, 16)?, max_wave: rd32(r, 20)?, ..Default::default() }; + if size >= 36 { + v.kind = Some(r[24]); + } + if v.kind == Some(13) { + v.ms_groupshared = rd32(r, 0)?; + v.ms_payload = rd32(r, 8)?; + v.ms_max_vertices = u16at(12)?; + v.ms_max_primitives = u16at(14)?; + v.ms_topology = r[27]; + } + if size >= 48 { + v.numthreads = Some([rd32(r, 36)?, rd32(r, 40)?, rd32(r, 44)?]); + } + Some(v) +} + +#[cfg(test)] +mod tests { + use super::*; + + /// ISG1 with POSITION (xyz) at register 0 and SV_VertexID at register 1. + fn isg1() -> Vec<u8> { + let mut d = Vec::new(); + let names = b"POSITION\0SV_VertexID\0"; + d.extend_from_slice(&2u32.to_le_bytes()); + d.extend_from_slice(&8u32.to_le_bytes()); + let base = 8 + 2 * 32; + for (i, (name_off, sv, ct, reg, mask)) in [(0u32, 0u32, 3u32, 0u32, 7u8), (9, 6, 1, 1, 1)].iter().enumerate() { + d.extend_from_slice(&0u32.to_le_bytes()); // stream + d.extend_from_slice(&(base + name_off).to_le_bytes()); + d.extend_from_slice(&(i as u32 * 0).to_le_bytes()); + d.extend_from_slice(&sv.to_le_bytes()); + d.extend_from_slice(&ct.to_le_bytes()); + d.extend_from_slice(®.to_le_bytes()); + d.extend_from_slice(&[*mask, *mask, 0, 0]); + d.extend_from_slice(&0u32.to_le_bytes()); // min precision + } + d.extend_from_slice(names); + crate::gpu::xbox::tests::container(&[(b"ISG1", &d)]) + } + + #[test] + fn parses_mesh_psv() { + let mut r = vec![0u8; 48]; + r[0..4].copy_from_slice(&1024u32.to_le_bytes()); // groupshared + r[12..14].copy_from_slice(&128u16.to_le_bytes()); + r[14..16].copy_from_slice(&126u16.to_le_bytes()); + r[16..20].copy_from_slice(&64u32.to_le_bytes()); + r[20..24].copy_from_slice(&64u32.to_le_bytes()); + r[24] = 13; // mesh + r[27] = 2; // triangles + r[36..40].copy_from_slice(&128u32.to_le_bytes()); + r[40..44].copy_from_slice(&1u32.to_le_bytes()); + r[44..48].copy_from_slice(&1u32.to_le_bytes()); + let mut part = 48u32.to_le_bytes().to_vec(); + part.extend_from_slice(&r); + part.extend_from_slice(&0u32.to_le_bytes()); // resources + let p = psv(&crate::gpu::xbox::tests::container(&[(b"PSV0", &part)])).unwrap(); + assert_eq!(p.kind, Some(13)); + assert_eq!((p.ms_max_vertices, p.ms_max_primitives, p.ms_topology, p.ms_groupshared), (128, 126, 2, 1024)); + assert_eq!(p.numthreads, Some([128, 1, 1])); + } + + #[test] + fn parses_v1_signature() { + let s = signature(&isg1(), "ISG1").unwrap(); + assert_eq!(s.len(), 2); + assert_eq!((s[0].semantic().as_str(), s[0].register, s[0].mask, s[0].component_type), ("POSITION0", 0, 7, 3)); + assert_eq!((s[1].name.as_str(), s[1].system_value, s[1].register), ("SV_VertexID", 6, 1)); + assert_eq!(signatures(&isg1()).0, s); + } +} diff --git a/crates/xcl/src/gpu/mod.rs b/crates/xcl/src/gpu/mod.rs new file mode 100644 index 0000000..26bf64f --- /dev/null +++ b/crates/xcl/src/gpu/mod.rs @@ -0,0 +1,15 @@ +//! GPU side of XCL: console shader capture and the RDNA2 microcode toolchain +//! (decoder / disassembler – the front-end of the shader recompiler). + +pub mod desc; +pub mod dxbc; +pub mod pack; +pub mod rdna2; +pub mod recomp; +mod rdna2_spec; +mod rdna2_xbox; +pub mod shader; +pub mod uma; +pub mod xbox; + +pub use rdna2_spec::ARCH as RDNA2_ARCH; diff --git a/crates/xcl/src/gpu/pack.rs b/crates/xcl/src/gpu/pack.rs new file mode 100644 index 0000000..3486c16 --- /dev/null +++ b/crates/xcl/src/gpu/pack.rs @@ -0,0 +1,111 @@ +//! Extracting shader blobs from packed archives without a table of contents. +//! +//! RPF9 packs ("9FPR" magic) encrypt their TOC, but the shader packs inside store every +//! shader as a plain record (found empirically, 23 869 records in a 411 MB pack): +//! +//! ```text +//! u8 len | name[len-1] (identifier) | 0x00 | u8 flag | u32 csize | u32 unk | u32 csize | u32 usize | deflate-raw[csize] +//! ``` +//! +//! The record payload inflates to a DXBC container. Names longer than 255 bytes do not +//! fit the length byte, so a few names come out truncated. + +pub const RPF9_MAGIC: &[u8; 4] = b"9FPR"; + +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct Record { + pub name: String, + /// offset of the record (its length byte) + pub offset: usize, + pub flag: u8, + /// offset and size of the raw deflate stream + pub data: usize, + pub csize: usize, + pub usize: usize, +} + +fn ident(c: u8) -> bool { + c.is_ascii_alphanumeric() || c == b'_' +} + +fn rd32(b: &[u8], o: usize) -> u32 { + u32::from_le_bytes([b[o], b[o + 1], b[o + 2], b[o + 3]]) +} + +/// Find shader records in `d`, starting at `from`. +pub fn scan(d: &[u8], from: usize) -> Vec<Record> { + let mut out = Vec::new(); + let mut i = from; + while i + 32 < d.len() { + let len = d[i] as usize; + let p = i + len; + if len >= 4 + && p + 18 <= d.len() + && d[p] == 0 + && (d[i + 1].is_ascii_alphabetic() || d[i + 1] == b'_') + && d[i + 2..p].iter().all(|&c| ident(c)) + { + let (c1, c2, u) = (rd32(d, p + 2) as usize, rd32(d, p + 10) as usize, rd32(d, p + 14) as usize); + if c1 == c2 && c1 > 0 && c1 < 16 << 20 && u > 0 && u < 64 << 20 && p + 18 + c1 <= d.len() { + out.push(Record { + name: String::from_utf8_lossy(&d[i + 1..p]).into_owned(), + offset: i, + flag: d[p + 1], + data: p + 18, + csize: c1, + usize: u, + }); + i = p + 18 + c1; + continue; + } + } + i += 1; + } + out +} + +/// Inflate a record. `None` when the stream is not valid deflate. +pub fn inflate(d: &[u8], r: &Record) -> Option<Vec<u8>> { + miniz_oxide::inflate::decompress_to_vec_with_limit(&d[r.data..r.data + r.csize], r.usize).ok() +} + +/// Stage prefix of a shader name (`PS_Foo` → `PS`). +pub fn name_stage(name: &str) -> Option<&'static str> { + let up = name.get(..2)?.to_ascii_uppercase(); + ["PS", "VS", "MS", "GS", "CS", "HS", "DS", "AS"].into_iter().find(|s| *s == up) +} + +#[cfg(test)] +mod tests { + use super::*; + + fn record(name: &str, payload: &[u8]) -> Vec<u8> { + let z = miniz_oxide::deflate::compress_to_vec(payload, 6); + let mut v = vec![(name.len() + 1) as u8]; + v.extend_from_slice(name.as_bytes()); + v.push(0); + v.push(50); + for x in [z.len() as u32, 0xddce7, z.len() as u32, payload.len() as u32] { + v.extend_from_slice(&x.to_le_bytes()); + } + v.extend_from_slice(&z); + v + } + + #[test] + fn finds_records_between_noise() { + let mut pack = b"9FPR".to_vec(); + pack.resize(0x40, 0xAA); + let a = crate::gpu::xbox::tests::sample(0, &[crate::gpu::xbox::tests::fssm(&crate::gpu::xbox::tests::CODE, &[(5, 1)])]); + pack.extend(record("PS_Test_1234abcd_Wrapped", &a)); + pack.extend_from_slice(&[0x13, 0x37, 0, 1, 2, 3]); + pack.extend(record("VS_Other", b"DXBC-not-really")); + pack.extend_from_slice(&[0u8; 40]); + let recs = scan(&pack, 0x40); + assert_eq!(recs.iter().map(|r| r.name.as_str()).collect::<Vec<_>>(), vec!["PS_Test_1234abcd_Wrapped", "VS_Other"]); + assert_eq!(inflate(&pack, &recs[0]).unwrap(), a); + assert_eq!(recs[0].flag, 50); + assert_eq!(name_stage(&recs[0].name), Some("PS")); + assert_eq!(name_stage("ptfx_x"), None); + } +} diff --git a/crates/xcl/src/gpu/rdna2.rs b/crates/xcl/src/gpu/rdna2.rs new file mode 100644 index 0000000..340a863 --- /dev/null +++ b/crates/xcl/src/gpu/rdna2.rs @@ -0,0 +1,788 @@ +//! RDNA2 (Xbox Series X|S GPU) instruction decoder and disassembler. +//! +//! Tables are generated from AMD's machine-readable ISA specification +//! (`scripts/gen_rdna2.py`); this file implements the decoding rules on top: +//! encoding identification, literal constants, SDWA/DPP extension dwords and MIMG NSA. +//! It is the first stage of the shader recompiler (console microcode → PC shaders). + +use std::collections::HashMap; +use std::fmt::Write as _; +use std::sync::OnceLock; + +use super::rdna2_spec::{ENCODINGS, INSTRUCTIONS}; +use super::rdna2_xbox::CONSOLE_INSTRUCTIONS; + +pub struct Field { + pub name: &'static str, + /// (bit offset, bit count), least significant part first + pub ranges: &'static [(u8, u8)], +} + +pub struct Encoding { + pub name: &'static str, + pub bits: u16, + pub order: i16, + pub primary: bool, + pub fixed_mask: u64, + pub fixed_value: u64, + pub fields: &'static [Field], +} + +pub struct Operand { + pub field: Option<&'static str>, + pub ty: &'static str, + pub size: u16, + pub input: bool, + pub output: bool, + pub implicit: bool, +} + +pub struct InstEnc { + pub encoding: u16, + pub opcode: u16, + pub operands: &'static [Operand], +} + +pub struct Inst { + pub name: &'static str, + pub flags: u8, + pub always_literal: bool, + pub encs: &'static [InstEnc], +} + +pub const F_BRANCH: u8 = 1; +pub const F_CONDITIONAL: u8 = 2; +pub const F_INDIRECT: u8 = 4; +pub const F_TERMINATOR: u8 = 8; + +impl Encoding { + pub fn field(&self, name: &str) -> Option<&Field> { + self.fields.iter().find(|f| f.name == name) + } + pub fn field_width(&self, name: &str) -> u32 { + self.field(name).map(|f| f.ranges.iter().map(|r| r.1 as u32).sum()).unwrap_or(0) + } +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum Variant { + Plain, + Sdwa, + Dpp16, + Dpp8, +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum DecodeError { + Truncated, + Unknown(u32), +} + +pub struct Decoded { + pub pc: u64, + pub inst: &'static Inst, + pub ienc: &'static InstEnc, + pub enc: &'static Encoding, + /// raw instruction dwords (up to 5 for MIMG NSA3) + pub words: Vec<u32>, + pub len: usize, + pub literal: Option<u32>, + pub variant: Variant, +} + +struct Tables { + /// primary encodings ordered by spec priority + primary: Vec<usize>, + by_op: HashMap<(usize, u16), (&'static Inst, usize)>, + /// encodings without an OP field (EXP) → their single instruction + no_op: HashMap<usize, (&'static Inst, usize)>, +} + +/// Every instruction the decoder knows: the RDNA2 spec first, then the console +/// extensions (which only fill opcodes the spec leaves unassigned). +pub fn all_instructions() -> impl Iterator<Item = &'static Inst> { + INSTRUCTIONS.iter().chain(CONSOLE_INSTRUCTIONS.iter()) +} + +fn tables() -> &'static Tables { + static T: OnceLock<Tables> = OnceLock::new(); + T.get_or_init(|| { + let mut primary: Vec<usize> = (0..ENCODINGS.len()).filter(|&i| ENCODINGS[i].primary).collect(); + primary.sort_by_key(|&i| ENCODINGS[i].order); + let mut by_op = HashMap::new(); + let mut no_op = HashMap::new(); + for inst in all_instructions() { + for (ei, e) in inst.encs.iter().enumerate() { + by_op.entry((e.encoding as usize, e.opcode)).or_insert((inst, ei)); + if ENCODINGS[e.encoding as usize].field("OP").is_none() { + no_op.entry(e.encoding as usize).or_insert((inst, ei)); + } + } + } + Tables { primary, by_op, no_op } + }) +} + +fn bits(words: &[u32], off: u32, cnt: u32) -> u64 { + let mut v = 0u64; + for i in 0..cnt { + let b = off + i; + let w = words.get((b / 32) as usize).copied().unwrap_or(0); + v |= (((w >> (b % 32)) & 1) as u64) << i; + } + v +} + +pub fn field_value(enc: &Encoding, words: &[u32], name: &str) -> Option<u64> { + let f = enc.field(name)?; + let mut v = 0u64; + let mut shift = 0u32; + for &(off, cnt) in f.ranges { + v |= bits(words, off as u32, cnt as u32) << shift; + shift += cnt as u32; + } + Some(v) +} + +fn read_words(code: &[u8], n: usize) -> Vec<u32> { + (0..n) + .map(|i| { + code.get(i * 4..i * 4 + 4) + .map(|b| u32::from_le_bytes([b[0], b[1], b[2], b[3]])) + .unwrap_or(0) + }) + .collect() +} + +/// Operand types that are encoded as a scalar/vector source code and therefore can +/// select the 32-bit literal (code 255). +fn is_src_type(ty: &str) -> bool { + matches!( + ty, + "OPR_SRC" | "OPR_SRC_NOLDS" | "OPR_SRC_VGPR" | "OPR_SSRC" | "OPR_SSRC_NOLDS" | "OPR_SSRC_LANESEL" | "OPR_SIMM32" + ) +} + +fn is_valu32(enc: &Encoding) -> bool { + matches!(enc.name, "ENC_VOP1" | "ENC_VOP2" | "ENC_VOPC") +} + +fn is_valu(enc: &Encoding) -> bool { + is_valu32(enc) || matches!(enc.name, "ENC_VOP3" | "ENC_VOP3P") +} + +pub fn decode(code: &[u8], pc: u64) -> Result<Decoded, DecodeError> { + if code.len() < 4 { + return Err(DecodeError::Truncated); + } + let head = read_words(code, 2); + let raw64 = head[0] as u64 | (head[1] as u64) << 32; + let t = tables(); + let mut found = None; + for &ei in &t.primary { + let enc = &ENCODINGS[ei]; + if raw64 & enc.fixed_mask != enc.fixed_value { + continue; + } + let hit = match field_value(enc, &head, "OP") { + Some(op) => t.by_op.get(&(ei, op as u16)), + None => t.no_op.get(&ei), + }; + if let Some(&(inst, ie)) = hit { + found = Some((ei, inst, ie)); + break; + } + } + let Some((ei, inst, ie)) = found else { return Err(DecodeError::Unknown(head[0])) }; + let enc = &ENCODINGS[ei]; + let ienc = &inst.encs[ie]; + let base = enc.bits as usize / 8; + let base_words = read_words(code, base / 4); + + let mut variant = Variant::Plain; + let mut extra = 0usize; + let mut has_literal = inst.always_literal; + if is_valu32(enc) { + match field_value(enc, &base_words, "SRC0") { + Some(0xF9) => variant = Variant::Sdwa, + Some(0xFA) => variant = Variant::Dpp16, + Some(0xE9) | Some(0xEA) => variant = Variant::Dpp8, + _ => {} + } + if variant != Variant::Plain { + extra = 4; + } + } + if variant == Variant::Plain && !has_literal { + has_literal = ienc.operands.iter().any(|o| { + !o.implicit + && is_src_type(o.ty) + && o.field.and_then(|f| field_value(enc, &base_words, f)) == Some(255) + }); + // VALU: the literal is fetched whenever a source field selects it, even one the + // opcode does not read – console compilers hide the shader hash in v_nop literals + if !has_literal && is_valu(enc) { + has_literal = ["SRC0", "SRC1", "SRC2"].iter().any(|f| field_value(enc, &base_words, f) == Some(255)); + } + } + if has_literal { + extra += 4; + } + if enc.name == "ENC_MIMG" { + extra += 4 * field_value(enc, &base_words, "NSA").unwrap_or(0) as usize; + } + let len = base + extra; + if code.len() < len { + return Err(DecodeError::Truncated); + } + let words = read_words(code, len / 4); + let literal = has_literal.then(|| words[base / 4]); + Ok(Decoded { pc, inst, ienc, enc, words, len, literal, variant }) +} + +// --------------------------------------------------------------------------------------- +// formatting (LLVM-like, not byte-for-byte identical) +// --------------------------------------------------------------------------------------- + +fn reg_range(prefix: &str, n: u64, size: u16) -> String { + let k = (size as u64).div_ceil(32).max(1); + if k == 1 { + format!("{prefix}{n}") + } else { + format!("{prefix}[{n}:{}]", n + k - 1) + } +} + +pub fn scalar_operand(code: u64, size: u16, literal: Option<u32>) -> String { + let wide = size > 32; + match code { + 0..=105 => reg_range("s", code, size), + 106 => if wide { "vcc".into() } else { "vcc_lo".into() }, + 107 => "vcc_hi".into(), + 108..=123 => reg_range("ttmp", code - 108, size), + 124 => "m0".into(), + 125 => "null".into(), + 126 => if wide { "exec".into() } else { "exec_lo".into() }, + 127 => "exec_hi".into(), + 128 => "0".into(), + 129..=192 => format!("{}", code - 128), + 193..=208 => format!("-{}", code - 192), + 235 => "src_shared_base".into(), + 236 => "src_shared_limit".into(), + 237 => "src_private_base".into(), + 238 => "src_private_limit".into(), + 239 => "src_pops_exiting_wave_id".into(), + 240 => "0.5".into(), + 241 => "-0.5".into(), + 242 => "1.0".into(), + 243 => "-1.0".into(), + 244 => "2.0".into(), + 245 => "-2.0".into(), + 246 => "4.0".into(), + 247 => "-4.0".into(), + 248 => "0.15915494".into(), + 251 => "src_vccz".into(), + 252 => "src_execz".into(), + 253 => "src_scc".into(), + 254 => "src_lds_direct".into(), + 255 => format!("{:#x}", literal.unwrap_or(0)), + c => format!("?{c}"), + } +} + +fn operand_text(d: &Decoded, o: &Operand) -> Option<String> { + if o.implicit { + return None; + } + let f = o.field?; + if f == "LITERAL" { + return Some(format!("{:#x}", d.literal.unwrap_or(0))); + } + if f == "SRC0" && d.variant != Variant::Plain { + // SDWA / DPP: the real src0 lives in the extension dword + let ext = *d.words.get(1)?; + let v = (ext & 0xff) as u64; + return Some(if d.variant == Variant::Sdwa && ext >> 23 & 1 == 1 { + scalar_operand(v, o.size, None) + } else { + reg_range("v", v, o.size) + }); + } + let v = field_value(d.enc, &d.words, f)? * register_scale(f); + let width = d.enc.field_width(f); + Some(match o.ty { + // 9-bit source field (e.g. v_readfirstlane src0): 256+ are VGPRs, below are scalar codes + "OPR_VGPR" | "OPR_VGPR_OR_LDS" if width >= 9 => { + if v >= 256 { + reg_range("v", v - 256, o.size) + } else { + scalar_operand(v, o.size, d.literal) + } + } + "OPR_VGPR" | "OPR_VGPR_OR_LDS" => reg_range("v", v, o.size), + "OPR_SRC" | "OPR_SRC_NOLDS" | "OPR_SRC_VGPR" | "OPR_SRC_SIMPLE" | "OPR_ATTR" | "OPR_PARAM" if width >= 9 => { + if v >= 256 { + reg_range("v", v - 256, o.size) + } else { + scalar_operand(v, o.size, d.literal) + } + } + "OPR_SRC_SIMPLE" => reg_range("v", v, o.size), + "OPR_SIMM16" | "OPR_WAITCNT" | "OPR_HWREG" | "OPR_SENDMSG" | "OPR_CLAUSE" | "OPR_VERSION" | "OPR_WAITCNT_DEPCTR" | "OPR_TGT" => { + format!("{v:#x}") + } + "OPR_LABEL" => { + let off = (v as u16 as i16 as i64) * 4; + format!("{:#x}", (d.pc as i64 + 4 + off) as u64) + } + "OPR_SMEM_OFFSET" => { + if v == 125 { + return None; // SOFFSET = null → immediate offset only + } + scalar_operand(v, 32, d.literal) + } + _ => scalar_operand(v, o.size, d.literal), + }) +} + +/// Fields that hold a scalar register number in units of several SGPRs: SMEM SBASE is +/// an SGPR pair index, MUBUF/MTBUF/MIMG SRSRC and SSAMP are SGPR quad indices. +pub fn register_scale(field: &str) -> u64 { + match field { + "SBASE" => 2, + "SRSRC" | "SSAMP" => 4, + _ => 1, + } +} + +/// Assemble one instruction (spec name such as "V_ADD_F32", encoding name such as +/// "ENC_VOP2" or "VOP3_SDST_ENC"), setting the given fields; for tests and tools. +pub fn encode(name: &str, enc: &str, fields: &[(&str, u64)], literal: Option<u32>) -> Result<Vec<u8>, String> { + let ei = ENCODINGS.iter().position(|e| e.name == enc).ok_or_else(|| format!("nieznane kodowanie {enc}"))?; + let e = &ENCODINGS[ei]; + let inst = all_instructions() + .find(|i| i.name.eq_ignore_ascii_case(name)) + .ok_or_else(|| format!("nieznana instrukcja {name}"))?; + // SDWA / DPP layouts describe the words of the base VOP1/VOP2/VOPC encoding + let base = ["VOP1", "VOP2", "VOPC"] + .iter() + .find(|b| enc.starts_with(&format!("{b}_VOP_"))) + .and_then(|b| ENCODINGS.iter().position(|e| e.name == format!("ENC_{b}"))) + .unwrap_or(ei); + let ie = inst + .encs + .iter() + .find(|x| x.encoding as usize == base) + .ok_or_else(|| format!("{name} nie ma kodowania {enc}"))?; + let mut words = vec![0u32; (e.bits as usize / 32).max(1)]; + let fixed = e.fixed_value & e.fixed_mask; + for b in 0..64u32 { + if e.fixed_mask >> b & 1 == 1 { + let w = (b / 32) as usize; + if w < words.len() { + words[w] |= (((fixed >> b) & 1) as u32) << (b % 32); + } + } + } + fn put(words: &mut [u32], f: &Field, v: u64) { + let mut v = v; + for &(off, cnt) in f.ranges { + for i in 0..cnt as u32 { + let b = off as u32 + i; + let w = (b / 32) as usize; + if w < words.len() { + words[w] = (words[w] & !(1 << (b % 32))) | (((v & 1) as u32) << (b % 32)); + } + v >>= 1; + } + } + } + if let Some(f) = e.field("OP") { + put(&mut words, f, ie.opcode as u64); + } + for &(n, v) in fields { + let f = e.field(n).ok_or_else(|| format!("{enc} nie ma pola {n}"))?; + put(&mut words, f, v); + } + let mut out: Vec<u8> = words.iter().flat_map(|w| w.to_le_bytes()).collect(); + if let Some(l) = literal { + out.extend_from_slice(&l.to_le_bytes()); + } + Ok(out) +} + +/// An encoding by its spec name (e.g. the extension layouts "VOP1_VOP_SDWA", "VOP2_VOP_DPP16", +/// whose fields describe the same instruction words as the base VOP1/VOP2 encoding). +pub fn encoding(name: &str) -> Option<&'static Encoding> { + ENCODINGS.iter().find(|e| e.name == name) +} + +/// VGPRs an instruction reads and writes (explicit operands; register ranges by operand +/// size). SDWA/DPP src0 comes from the extension dword. +/// SGPRs (codes 0–127 without NULL: s0–s105, VCC, M0, EXEC…) read and written by the +/// explicit operands: (reads, writes). +pub fn sgpr_uses(d: &Decoded) -> (Vec<u64>, Vec<u64>) { + let (mut r, mut w) = (Vec::new(), Vec::new()); + for o in d.ienc.operands { + let Some(f) = o.field else { continue }; + if f == "LITERAL" || o.implicit { + continue; + } + if !["SREG", "SSRC", "SDST", "OPR_SRC"].iter().any(|k| o.ty.contains(k)) { + continue; + } + if f == "SRC0" && d.variant != Variant::Plain { + continue; + } + let Some(v) = field_value(d.enc, &d.words, f) else { continue }; + let v = v * register_scale(f); + if v > 127 || v == 125 { + continue; + } + let n = (o.size as u64).div_ceil(32).max(1); + let dst = if o.output { &mut w } else { &mut r }; + dst.extend(v..(v + n).min(128)); + } + (r, w) +} + +pub fn vgpr_uses(d: &Decoded) -> (Vec<u64>, Vec<u64>) { + let (mut r, mut w) = (Vec::new(), Vec::new()); + for o in d.ienc.operands { + let Some(f) = o.field else { continue }; + if f == "LITERAL" || o.implicit { + continue; + } + let Some(mut v) = field_value(d.enc, &d.words, f) else { continue }; + let width = d.enc.field_width(f); + let vgpr = if o.ty.starts_with("OPR_VGPR") && width <= 8 { + true + } else if width >= 9 && (o.ty.starts_with("OPR_SRC") || o.ty.starts_with("OPR_VGPR")) && v >= 256 { + v -= 256; + true + } else if f == "SRC0" && d.variant != Variant::Plain { + v = (d.words.get(1).copied().unwrap_or(0) & 0xff) as u64; + !(d.variant == Variant::Sdwa && d.words.get(1).copied().unwrap_or(0) >> 23 & 1 == 1) + } else { + false + }; + if !vgpr { + continue; + } + let n = (o.size as u64).div_ceil(32).max(1); + let dst = if o.output { &mut w } else { &mut r }; + dst.extend(v..v + n); + } + // read-modify-write accumulators + if matches!(d.inst.name, "V_FMAC_F32" | "V_MAC_F32" | "V_FMAC_LEGACY_F32") { + r.extend(w.iter().copied()); + } + (r, w) +} + +/// Target of a direct branch (s_branch, s_cbranch_*), or None for anything else +/// (including indirect jumps like s_setpc_b64). +pub fn branch_target(d: &Decoded) -> Option<u64> { + if d.inst.flags & F_BRANCH == 0 || d.inst.flags & F_INDIRECT != 0 { + return None; + } + let o = d.ienc.operands.iter().find(|o| o.ty == "OPR_LABEL")?; + let v = field_value(d.enc, &d.words, o.field?)?; + Some((d.pc as i64 + 4 + (v as u16 as i16 as i64) * 4) as u64) +} + +pub fn mnemonic(d: &Decoded) -> String { + let mut m = d.inst.name.to_ascii_lowercase(); + match d.variant { + Variant::Sdwa => m.push_str("_sdwa"), + Variant::Dpp16 => m.push_str("_dpp"), + Variant::Dpp8 => m.push_str("_dpp8"), + Variant::Plain => {} + } + m +} + +pub fn format(d: &Decoded) -> String { + let mut s = mnemonic(d); + let ops: Vec<String> = d.ienc.operands.iter().filter_map(|o| operand_text(d, o)).collect(); + if !ops.is_empty() { + s.push(' '); + s.push_str(&ops.join(", ")); + } + if let Some(lit) = d.literal { + let shown = d.inst.always_literal + || d.ienc.operands.iter().any(|o| { + !o.implicit && o.field.is_some_and(|f| f == "LITERAL" || field_value(d.enc, &d.words, f) == Some(255) && is_src_type(o.ty)) + }); + if !shown { + let _ = write!(s, " ; lit {lit:#010x}"); + } + } + match d.enc.name { + "ENC_SMEM" => { + if let Some(off) = field_value(d.enc, &d.words, "OFFSET") { + let _ = write!(s, ", {off:#x}"); + } + } + "ENC_MUBUF" | "ENC_MTBUF" | "ENC_FLAT" | "ENC_FLAT_GLBL" | "ENC_FLAT_SCRATCH" | "ENC_DS" => { + for (f, label) in [("OFFSET", "offset"), ("OFFSET0", "offset0"), ("OFFSET1", "offset1")] { + if let Some(v) = field_value(d.enc, &d.words, f).filter(|&v| v != 0) { + let _ = write!(s, " {label}:{v}"); + } + } + for (f, label) in [("OFFEN", "offen"), ("IDXEN", "idxen"), ("GLC", "glc"), ("SLC", "slc"), ("DLC", "dlc"), ("GDS", "gds")] { + if field_value(d.enc, &d.words, f) == Some(1) { + let _ = write!(s, " {label}"); + } + } + } + _ => {} + } + s +} + +pub struct Line { + pub pc: u64, + pub bytes: Vec<u8>, + pub text: String, + pub ok: bool, + pub flags: u8, +} + +/// Disassemble a code stream. Stops after `s_endpgm` when `stop_at_end` is set. +pub fn disassemble(code: &[u8], base_pc: u64, stop_at_end: bool) -> Vec<Line> { + let mut out = Vec::new(); + let mut off = 0usize; + while off + 4 <= code.len() { + let pc = base_pc + off as u64; + match decode(&code[off..], pc) { + Ok(d) => { + let end = d.inst.flags & F_TERMINATOR != 0; + out.push(Line { pc, bytes: code[off..off + d.len].to_vec(), text: format(&d), ok: true, flags: d.inst.flags }); + off += d.len; + if end && stop_at_end { + break; + } + } + Err(_) => { + let w = u32::from_le_bytes([code[off], code[off + 1], code[off + 2], code[off + 3]]); + out.push(Line { pc, bytes: code[off..off + 4].to_vec(), text: format!(".long {w:#010x}"), ok: false, flags: 0 }); + off += 4; + } + } + } + out +} + +/// Heuristic: offsets of plausible shader programs in an unknown blob (ending in s_endpgm). +pub fn find_programs(blob: &[u8]) -> Vec<(usize, usize)> { + const S_ENDPGM: u32 = 0xBF81_0000; + let mut ends = Vec::new(); + let mut i = 0; + while i + 4 <= blob.len() { + let w = u32::from_le_bytes([blob[i], blob[i + 1], blob[i + 2], blob[i + 3]]); + if w == S_ENDPGM { + ends.push(i); + } + i += 4; + } + let mut progs = Vec::new(); + let mut start = 0usize; + for e in ends { + // walk forward from `start` and require every dword up to s_endpgm to decode + let slice = &blob[start..e + 4]; + let lines = disassemble(slice, 0, false); + let good = lines.iter().filter(|l| l.ok).count(); + if !lines.is_empty() && good * 10 >= lines.len() * 9 { + progs.push((start, e + 4 - start)); + } + start = e + 4; + } + progs +} + +#[cfg(test)] +mod tests { + use super::*; + + fn dis(bytes: &[u8]) -> String { + format(&decode(bytes, 0).unwrap()) + } + + #[test] + fn basic_scalar_and_vector() { + assert_eq!(dis(&[0x01, 0x03, 0x80, 0xbe]), "s_mov_b32 s0, s1"); + assert_eq!(dis(&[0x00, 0x00, 0x81, 0xbf]), "s_endpgm"); + let d = decode(&[0x01, 0x05, 0x0a, 0x06], 0).unwrap(); + assert_eq!(d.inst.name, "V_ADD_F32"); + assert_eq!(d.len, 4); + // s_mov_b32 s0, 0x12345678 (literal) + let d = decode(&[0xff, 0x03, 0x80, 0xbe, 0x78, 0x56, 0x34, 0x12], 0).unwrap(); + assert_eq!(d.len, 8); + assert_eq!(format(&d), "s_mov_b32 s0, 0x12345678"); + } + + #[test] + fn vgpr_in_nine_bit_field() { + // v_readfirstlane_b32 s5, v1 (LLVM gfx10_vop1.txt): SRC0 = 257 is v1, not "v257" + assert_eq!(dis(&[0x01, 0x05, 0x0a, 0x7e]), "v_readfirstlane_b32 s5, v1"); + } + + #[test] + fn scalar_register_fields_are_scaled() { + // SBASE counts SGPR pairs, SRSRC SGPR quads (seen in retail code) + assert_eq!(dis(&[0x08, 0x02, 0x08, 0xf4, 0x20, 0x09, 0x00, 0xfa]), "s_load_dwordx4 s[8:11], s[16:17], 0x920"); + assert_eq!(dis(&[0x04, 0x02, 0x28, 0xf4, 0x40, 0x00, 0x00, 0xfa]), "s_buffer_load_dwordx4 s[8:11], s[8:11], 0x40"); + } + + #[test] + fn encoder_round_trips() { + let b = encode("V_ADD_F32", "ENC_VOP2", &[("VDST", 1), ("SRC0", 256 + 2), ("VSRC1", 3)], None).unwrap(); + assert_eq!(dis(&b), "v_add_f32 v1, v2, v3"); + let b = encode("S_MOV_B32", "ENC_SOP1", &[("SDST", 0), ("SSRC0", 255)], Some(0x1234_5678)).unwrap(); + assert_eq!(dis(&b), "s_mov_b32 s0, 0x12345678"); + let b = encode("V_FMA_F32", "ENC_VOP3", &[("VDST", 0), ("SRC0", 256 + 4), ("SRC1", 244), ("SRC2", 243)], None).unwrap(); + assert_eq!(dis(&b), "v_fma_f32 v0, v4, 2.0, -1.0"); + let b = encode("V_ADD_CO_U32", "VOP3_SDST_ENC", &[("VDST", 1), ("SDST", 106), ("SRC0", 256 + 2), ("SRC1", 256 + 3)], None).unwrap(); + assert_eq!(decode(&b, 0).unwrap().inst.name, "V_ADD_CO_U32"); + assert_eq!(dis(&encode("S_ENDPGM", "ENC_SOPP", &[], None).unwrap()), "s_endpgm"); + } + + #[test] + fn literal_in_unused_valu_field() { + // v_nop (VOP3) with SRC2 = literal: retail console code carries the shader hash this way + let d = decode(&[0xdb, 0xb7, 0x80, 0xd5, 0xb9, 0x33, 0xff, 0x03, 0x46, 0x66, 0x47, 0x9d], 0).unwrap(); + assert_eq!(d.inst.name, "V_NOP"); + assert_eq!(d.len, 12); + assert_eq!(format(&d), "v_nop ; lit 0x9d476646"); + } + + #[test] + fn sdwa_and_dpp_src0() { + // v_mov_b32_sdwa v1, v2 (SDWA dword: src0 = v2) + assert_eq!(dis(&[0xf9, 0x02, 0x02, 0x7e, 0x02, 0x06, 0x06, 0x00]), "v_mov_b32_sdwa v1, v2"); + // same with S0 set: src0 = s2 + assert_eq!(dis(&[0xf9, 0x02, 0x02, 0x7e, 0x02, 0x06, 0x86, 0x00]), "v_mov_b32_sdwa v1, s2"); + // v_mov_b32_dpp v1, v3 + assert_eq!(dis(&[0xfa, 0x02, 0x02, 0x7e, 0x03, 0x1b, 0x00, 0xff]), "v_mov_b32_dpp v1, v3"); + } + + #[test] + fn console_legacy_mad_mac() { + // v_mac_f32 v6, s40, v21 (VOP2 0x1f) + assert_eq!(dis(&[0x28, 0x2a, 0x0c, 0x3e]), "v_mac_f32 v6, s40, v21"); + // v_mad_f32 (VOP3 0x141) is 8 bytes – the next dword must not be decoded on its own + let d = decode(&[0x07, 0x00, 0x41, 0xd5, 0x2a, 0x1a, 0x62, 0x04], 0).unwrap(); + assert_eq!((d.inst.name, d.len), ("V_MAD_F32", 8)); + // v_madmk_f32 v1, v2, 0x3f800000, v3 + let d = decode(&[0x02, 0x07, 0x02, 0x40, 0x00, 0x00, 0x80, 0x3f], 0).unwrap(); + assert_eq!(d.len, 8); + assert_eq!(format(&d), "v_madmk_f32 v1, v2, 0x3f800000, v3"); + // spec instructions keep their opcodes + assert_eq!(decode(&[0x01, 0x05, 0x0a, 0x56], 0).unwrap().inst.name, "V_FMAC_F32"); + } + + #[test] + fn truncated_and_unknown() { + assert_eq!(decode(&[0x01, 0x02], 0).err(), Some(DecodeError::Truncated)); + assert_eq!(decode(&[0xff, 0x03, 0x80, 0xbe], 0).err(), Some(DecodeError::Truncated)); + } + + /// Normalise an LLVM mnemonic to the AMD spec name (lower case, no encoding suffix). + fn llvm_base(m: &str) -> String { + let mut s = m.to_ascii_lowercase(); + for suf in ["_e32", "_e64", "_sdwa", "_dpp8", "_dpp"] { + if let Some(x) = s.strip_suffix(suf) { + s = x.to_string(); + break; + } + } + s + } + + /// LLVM's gfx10 tests also cover RDNA1 (gfx1010). These were removed (or had their + /// opcode reused) in RDNA2 / gfx1030, so the RDNA2 spec rightly does not know them. + fn removed_in_rdna2(m: &str) -> bool { + m.starts_with("s_store_") + || m.starts_with("s_buffer_store_") + || m.starts_with("s_atomic_") + || m.starts_with("s_buffer_atomic_") + || m.starts_with("s_scratch_") + || (m.starts_with("ds_") && m.contains("_src2_")) + || m.starts_with("s_atc_probe") + || m.starts_with("s_dcache_discard") + || matches!( + m, + "v_mac_f32" | "v_mad_f32" | "v_madak_f32" | "v_madmk_f32" | "s_dcache_wb" | "s_get_waveid_in_workgroup" | "s_wait_idle" + ) + } + + fn renamed_in_rdna2(llvm: &str, spec: &str) -> bool { + matches!((llvm, spec), ("v_mac_legacy_f32", "v_fmac_legacy_f32") | ("v_mad_legacy_f32", "v_fma_legacy_f32")) + } + + /// Decode every instruction in LLVM's gfx10 disassembler tests and compare the + /// mnemonic and instruction length with LLVM's expectations. + #[test] + fn llvm_gfx10_corpus() { + let dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../tests/data/llvm-amdgpu"); + let mut total = 0usize; + let mut decoded = 0usize; + let mut name_ok = 0usize; + let mut len_ok = 0usize; + let mut bad: HashMap<String, usize> = HashMap::new(); + let mut failed_decode: HashMap<String, usize> = HashMap::new(); + for e in std::fs::read_dir(&dir).expect("tests/data/llvm-amdgpu") { + let p = e.unwrap().path(); + if p.extension().map(|x| x != "txt").unwrap_or(true) { + continue; + } + for line in std::fs::read_to_string(&p).unwrap().lines() { + let Some(rest) = line.strip_prefix('#') else { continue }; + let Some((_, rest)) = rest.split_once(':') else { continue }; + let Some((asm, enc)) = rest.split_once("; encoding: [") else { continue }; + let Some(enc) = enc.split(']').next() else { continue }; + let bytes: Vec<u8> = enc + .split(',') + .filter_map(|b| u8::from_str_radix(b.trim().trim_start_matches("0x"), 16).ok()) + .collect(); + let asm = asm.trim(); + let Some(m) = asm.split_whitespace().next() else { continue }; + if bytes.len() < 4 { + continue; + } + total += 1; + let want = llvm_base(m); + match decode(&bytes, 0) { + Ok(d) => { + decoded += 1; + let got = d.inst.name.to_ascii_lowercase(); + if got == want || renamed_in_rdna2(&want, &got) { + name_ok += 1; + } else { + *bad.entry(format!("{want} -> {got}")).or_default() += 1; + } + if d.len == bytes.len() { + len_ok += 1; + } else { + *bad.entry(format!("LEN {want}: {} != {}", d.len, bytes.len())).or_default() += 1; + } + } + Err(_) => *failed_decode.entry(want).or_default() += 1, + } + } + } + let mut worst: Vec<_> = bad.into_iter().collect(); + worst.sort_by(|a, b| b.1.cmp(&a.1)); + let mut fails: Vec<_> = failed_decode.into_iter().collect(); + fails.sort_by(|a, b| b.1.cmp(&a.1)); + println!("LLVM gfx10 corpus: {total} instructions, decoded {decoded}, name match {name_ok}, length match {len_ok}"); + println!("top mismatches: {:?}", &worst[..worst.len().min(25)]); + println!("top decode failures: {:?}", &fails[..fails.len().min(25)]); + let unexpected: Vec<_> = fails.iter().filter(|(m, _)| !removed_in_rdna2(m)).collect(); + assert!(total > 10_000, "corpus too small: {total}"); + assert!(unexpected.is_empty(), "instructions RDNA2 should know but failed to decode: {unexpected:?}"); + assert_eq!(len_ok, decoded, "instruction length mismatches: {worst:?}"); + assert_eq!(name_ok, decoded, "mnemonic mismatches: {worst:?}"); + } +} diff --git a/crates/xcl/src/gpu/rdna2_spec.rs b/crates/xcl/src/gpu/rdna2_spec.rs new file mode 100644 index 0000000..e91c5c6 --- /dev/null +++ b/crates/xcl/src/gpu/rdna2_spec.rs @@ -0,0 +1,1209 @@ +// @generated by scripts/gen_rdna2.py – do not edit by hand. +// Source: AMD Machine-Readable GPU ISA Specification, AMD RDNA 2 +// Copyright (c) 2026 Advanced Micro Devices, Inc., or its affiliates. Licence: MIT. Release 2026-02-20. +#![allow(clippy::all)] + +use super::rdna2::{Encoding, Field, Inst, InstEnc, Operand}; + +pub const ARCH: &str = "AMD RDNA 2"; + +pub static ENCODINGS: &[Encoding] = &[ + Encoding { name: "ENC_SOP1", bits: 32, order: -1, primary: true, fixed_mask: 0xff800000, fixed_value: 0xbe800000, fields: &[Field { name: "ENCODING", ranges: &[(23, 9)] }, Field { name: "OP", ranges: &[(8, 8)] }, Field { name: "SDST", ranges: &[(16, 7)] }, Field { name: "SSRC0", ranges: &[(0, 8)] }] }, + Encoding { name: "ENC_SOPC", bits: 32, order: 0, primary: true, fixed_mask: 0xff800000, fixed_value: 0xbf000000, fields: &[Field { name: "ENCODING", ranges: &[(23, 9)] }, Field { name: "OP", ranges: &[(16, 7)] }, Field { name: "SSRC0", ranges: &[(0, 8)] }, Field { name: "SSRC1", ranges: &[(8, 8)] }] }, + Encoding { name: "ENC_SOPP", bits: 32, order: 1, primary: true, fixed_mask: 0xff800000, fixed_value: 0xbf800000, fields: &[Field { name: "ENCODING", ranges: &[(23, 9)] }, Field { name: "OP", ranges: &[(16, 7)] }, Field { name: "SIMM16", ranges: &[(0, 16)] }] }, + Encoding { name: "ENC_SOPK", bits: 32, order: 2, primary: true, fixed_mask: 0xf0000000, fixed_value: 0xb0000000, fields: &[Field { name: "ENCODING", ranges: &[(28, 4)] }, Field { name: "OP", ranges: &[(23, 5)] }, Field { name: "SDST", ranges: &[(16, 7)] }, Field { name: "SIMM16", ranges: &[(0, 16)] }] }, + Encoding { name: "ENC_SOP2", bits: 32, order: 3, primary: true, fixed_mask: 0xc0000000, fixed_value: 0x80000000, fields: &[Field { name: "ENCODING", ranges: &[(30, 2)] }, Field { name: "OP", ranges: &[(23, 7)] }, Field { name: "SDST", ranges: &[(16, 7)] }, Field { name: "SSRC0", ranges: &[(0, 8)] }, Field { name: "SSRC1", ranges: &[(8, 8)] }] }, + Encoding { name: "ENC_SMEM", bits: 64, order: 4, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xf4000000, fields: &[Field { name: "DLC", ranges: &[(14, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GLC", ranges: &[(16, 1)] }, Field { name: "OFFSET", ranges: &[(32, 21)] }, Field { name: "OP", ranges: &[(18, 8)] }, Field { name: "SBASE", ranges: &[(0, 6)] }, Field { name: "SDATA", ranges: &[(6, 7)] }, Field { name: "SOFFSET", ranges: &[(57, 7)] }] }, + Encoding { name: "ENC_VOP1", bits: 32, order: 6, primary: true, fixed_mask: 0xfe000000, fixed_value: 0x7e000000, fields: &[Field { name: "ENCODING", ranges: &[(25, 7)] }, Field { name: "OP", ranges: &[(9, 8)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "VDST", ranges: &[(17, 8)] }] }, + Encoding { name: "ENC_VOPC", bits: 32, order: 7, primary: true, fixed_mask: 0xfe000000, fixed_value: 0x7c000000, fields: &[Field { name: "ENCODING", ranges: &[(25, 7)] }, Field { name: "OP", ranges: &[(17, 8)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "VSRC1", ranges: &[(9, 8)] }] }, + Encoding { name: "ENC_VOP2", bits: 32, order: 8, primary: true, fixed_mask: 0x80000000, fixed_value: 0x0, fields: &[Field { name: "ENCODING", ranges: &[(31, 1)] }, Field { name: "OP", ranges: &[(25, 6)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "VDST", ranges: &[(17, 8)] }, Field { name: "VSRC1", ranges: &[(9, 8)] }] }, + Encoding { name: "ENC_VINTRP", bits: 32, order: 9, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xc8000000, fields: &[Field { name: "ATTR", ranges: &[(10, 6)] }, Field { name: "ATTRCHAN", ranges: &[(8, 2)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "OP", ranges: &[(16, 2)] }, Field { name: "VDST", ranges: &[(18, 8)] }, Field { name: "VSRC", ranges: &[(0, 8)] }] }, + Encoding { name: "ENC_VOP3", bits: 64, order: 10, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xd4000000, fields: &[Field { name: "ABS", ranges: &[(8, 3)] }, Field { name: "CLAMP", ranges: &[(15, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "NEG", ranges: &[(61, 3)] }, Field { name: "OMOD", ranges: &[(59, 2)] }, Field { name: "OP", ranges: &[(16, 10)] }, Field { name: "OP_SEL", ranges: &[(11, 4)] }, Field { name: "SRC0", ranges: &[(32, 9)] }, Field { name: "SRC1", ranges: &[(41, 9)] }, Field { name: "SRC2", ranges: &[(50, 9)] }, Field { name: "VDST", ranges: &[(0, 8)] }] }, + Encoding { name: "ENC_VOP3P", bits: 64, order: 12, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xcc000000, fields: &[Field { name: "CLAMP", ranges: &[(15, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "NEG", ranges: &[(61, 3)] }, Field { name: "NEG_HI", ranges: &[(8, 3)] }, Field { name: "OP", ranges: &[(16, 7)] }, Field { name: "OP_SEL", ranges: &[(11, 3)] }, Field { name: "OP_SEL_HI", ranges: &[(59, 2)] }, Field { name: "OP_SEL_HI_2", ranges: &[(14, 1)] }, Field { name: "SRC0", ranges: &[(32, 9)] }, Field { name: "SRC1", ranges: &[(41, 9)] }, Field { name: "SRC2", ranges: &[(50, 9)] }, Field { name: "VDST", ranges: &[(0, 8)] }] }, + Encoding { name: "ENC_DS", bits: 64, order: 13, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xd8000000, fields: &[Field { name: "ADDR", ranges: &[(32, 8)] }, Field { name: "DATA0", ranges: &[(40, 8)] }, Field { name: "DATA1", ranges: &[(48, 8)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GDS", ranges: &[(17, 1)] }, Field { name: "OFFSET0", ranges: &[(0, 8)] }, Field { name: "OFFSET1", ranges: &[(8, 8)] }, Field { name: "OP", ranges: &[(18, 8)] }, Field { name: "VDST", ranges: &[(56, 8)] }] }, + Encoding { name: "ENC_MUBUF", bits: 64, order: 14, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xe0000000, fields: &[Field { name: "DLC", ranges: &[(15, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GLC", ranges: &[(14, 1)] }, Field { name: "IDXEN", ranges: &[(13, 1)] }, Field { name: "LDS", ranges: &[(16, 1)] }, Field { name: "OFFEN", ranges: &[(12, 1)] }, Field { name: "OFFSET", ranges: &[(0, 12)] }, Field { name: "OP", ranges: &[(18, 7), (25, 1)] }, Field { name: "SLC", ranges: &[(54, 1)] }, Field { name: "SOFFSET", ranges: &[(56, 8)] }, Field { name: "SRSRC", ranges: &[(48, 5)] }, Field { name: "TFE", ranges: &[(55, 1)] }, Field { name: "VADDR", ranges: &[(32, 8)] }, Field { name: "VDATA", ranges: &[(40, 8)] }] }, + Encoding { name: "ENC_MTBUF", bits: 64, order: 15, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xe8000000, fields: &[Field { name: "DLC", ranges: &[(15, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "FORMAT", ranges: &[(19, 7)] }, Field { name: "GLC", ranges: &[(14, 1)] }, Field { name: "IDXEN", ranges: &[(13, 1)] }, Field { name: "OFFEN", ranges: &[(12, 1)] }, Field { name: "OFFSET", ranges: &[(0, 12)] }, Field { name: "OP", ranges: &[(16, 3), (53, 1)] }, Field { name: "SLC", ranges: &[(54, 1)] }, Field { name: "SOFFSET", ranges: &[(56, 8)] }, Field { name: "SRSRC", ranges: &[(48, 5)] }, Field { name: "TFE", ranges: &[(55, 1)] }, Field { name: "VADDR", ranges: &[(32, 8)] }, Field { name: "VDATA", ranges: &[(40, 8)] }] }, + Encoding { name: "ENC_MIMG", bits: 64, order: 16, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xf0000000, fields: &[Field { name: "A16", ranges: &[(62, 1)] }, Field { name: "D16", ranges: &[(63, 1)] }, Field { name: "DA", ranges: &[(14, 1)] }, Field { name: "DIM", ranges: &[(3, 3)] }, Field { name: "DLC", ranges: &[(7, 1)] }, Field { name: "DMASK", ranges: &[(8, 4)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GLC", ranges: &[(13, 1)] }, Field { name: "LWE", ranges: &[(17, 1)] }, Field { name: "NSA", ranges: &[(1, 2)] }, Field { name: "OP", ranges: &[(18, 7), (0, 1)] }, Field { name: "R128", ranges: &[(15, 1)] }, Field { name: "SLC", ranges: &[(25, 1)] }, Field { name: "SRSRC", ranges: &[(48, 5)] }, Field { name: "SSAMP", ranges: &[(53, 5)] }, Field { name: "TFE", ranges: &[(16, 1)] }, Field { name: "UNORM", ranges: &[(12, 1)] }, Field { name: "VADDR", ranges: &[(32, 8)] }, Field { name: "VDATA", ranges: &[(40, 8)] }] }, + Encoding { name: "ENC_EXP", bits: 64, order: 17, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xf8000000, fields: &[Field { name: "COMPR", ranges: &[(10, 1)] }, Field { name: "DONE", ranges: &[(11, 1)] }, Field { name: "EN", ranges: &[(0, 4)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "TGT", ranges: &[(4, 6)] }, Field { name: "VM", ranges: &[(12, 1)] }, Field { name: "VSRC0", ranges: &[(32, 8)] }, Field { name: "VSRC1", ranges: &[(40, 8)] }, Field { name: "VSRC2", ranges: &[(48, 8)] }, Field { name: "VSRC3", ranges: &[(56, 8)] }] }, + Encoding { name: "ENC_FLAT", bits: 64, order: 18, primary: true, fixed_mask: 0xfc00c000, fixed_value: 0xdc000000, fields: &[Field { name: "ADDR", ranges: &[(32, 8)] }, Field { name: "DATA", ranges: &[(40, 8)] }, Field { name: "DLC", ranges: &[(12, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GLC", ranges: &[(16, 1)] }, Field { name: "LDS", ranges: &[(13, 1)] }, Field { name: "OFFSET", ranges: &[(0, 12)] }, Field { name: "OP", ranges: &[(18, 7)] }, Field { name: "SADDR", ranges: &[(48, 7)] }, Field { name: "SEG", ranges: &[(14, 2)] }, Field { name: "SLC", ranges: &[(17, 1)] }, Field { name: "VDST", ranges: &[(56, 8)] }] }, + Encoding { name: "ENC_FLAT_GLBL", bits: 64, order: 19, primary: true, fixed_mask: 0xfc00c000, fixed_value: 0xdc008000, fields: &[Field { name: "ADDR", ranges: &[(32, 8)] }, Field { name: "DATA", ranges: &[(40, 8)] }, Field { name: "DLC", ranges: &[(12, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GLC", ranges: &[(16, 1)] }, Field { name: "LDS", ranges: &[(13, 1)] }, Field { name: "OFFSET", ranges: &[(0, 12)] }, Field { name: "OP", ranges: &[(18, 7)] }, Field { name: "SADDR", ranges: &[(48, 7)] }, Field { name: "SEG", ranges: &[(14, 2)] }, Field { name: "SLC", ranges: &[(17, 1)] }, Field { name: "VDST", ranges: &[(56, 8)] }] }, + Encoding { name: "ENC_FLAT_SCRATCH", bits: 64, order: 20, primary: true, fixed_mask: 0xfc00c000, fixed_value: 0xdc004000, fields: &[Field { name: "ADDR", ranges: &[(32, 8)] }, Field { name: "DATA", ranges: &[(40, 8)] }, Field { name: "DLC", ranges: &[(12, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GLC", ranges: &[(16, 1)] }, Field { name: "LDS", ranges: &[(13, 1)] }, Field { name: "OFFSET", ranges: &[(0, 12)] }, Field { name: "OP", ranges: &[(18, 7)] }, Field { name: "SADDR", ranges: &[(48, 7)] }, Field { name: "SEG", ranges: &[(14, 2)] }, Field { name: "SLC", ranges: &[(17, 1)] }, Field { name: "VDST", ranges: &[(56, 8)] }] }, + Encoding { name: "MIMG_NSA1", bits: 96, order: 21, primary: false, fixed_mask: 0xfc000000, fixed_value: 0xf0000000, fields: &[Field { name: "A16", ranges: &[(62, 1)] }, Field { name: "D16", ranges: &[(63, 1)] }, Field { name: "DA", ranges: &[(14, 1)] }, Field { name: "DIM", ranges: &[(3, 3)] }, Field { name: "DLC", ranges: &[(7, 1)] }, Field { name: "DMASK", ranges: &[(8, 4)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GLC", ranges: &[(13, 1)] }, Field { name: "LWE", ranges: &[(17, 1)] }, Field { name: "NSA", ranges: &[(1, 2)] }, Field { name: "OP", ranges: &[(18, 7), (0, 1)] }, Field { name: "R128", ranges: &[(15, 1)] }, Field { name: "SLC", ranges: &[(25, 1)] }, Field { name: "SRSRC", ranges: &[(48, 5)] }, Field { name: "SSAMP", ranges: &[(53, 5)] }, Field { name: "TFE", ranges: &[(16, 1)] }, Field { name: "UNORM", ranges: &[(12, 1)] }, Field { name: "VADDR", ranges: &[(32, 8)] }, Field { name: "VADDRA", ranges: &[(64, 8)] }, Field { name: "VADDRB", ranges: &[(72, 8)] }, Field { name: "VADDRC", ranges: &[(80, 8)] }, Field { name: "VADDRD", ranges: &[(88, 8)] }, Field { name: "VDATA", ranges: &[(40, 8)] }] }, + Encoding { name: "MIMG_NSA2", bits: 128, order: 22, primary: false, fixed_mask: 0xfc000000, fixed_value: 0xf0000000, fields: &[Field { name: "A16", ranges: &[(62, 1)] }, Field { name: "D16", ranges: &[(63, 1)] }, Field { name: "DA", ranges: &[(14, 1)] }, Field { name: "DIM", ranges: &[(3, 3)] }, Field { name: "DLC", ranges: &[(7, 1)] }, Field { name: "DMASK", ranges: &[(8, 4)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GLC", ranges: &[(13, 1)] }, Field { name: "LWE", ranges: &[(17, 1)] }, Field { name: "NSA", ranges: &[(1, 2)] }, Field { name: "OP", ranges: &[(18, 7), (0, 1)] }, Field { name: "R128", ranges: &[(15, 1)] }, Field { name: "SLC", ranges: &[(25, 1)] }, Field { name: "SRSRC", ranges: &[(48, 5)] }, Field { name: "SSAMP", ranges: &[(53, 5)] }, Field { name: "TFE", ranges: &[(16, 1)] }, Field { name: "UNORM", ranges: &[(12, 1)] }, Field { name: "VADDR", ranges: &[(32, 8)] }, Field { name: "VADDRA", ranges: &[(64, 8)] }, Field { name: "VADDRB", ranges: &[(72, 8)] }, Field { name: "VADDRC", ranges: &[(80, 8)] }, Field { name: "VADDRD", ranges: &[(88, 8)] }, Field { name: "VADDRE", ranges: &[(96, 8)] }, Field { name: "VADDRF", ranges: &[(104, 8)] }, Field { name: "VADDRG", ranges: &[(112, 8)] }, Field { name: "VADDRH", ranges: &[(120, 8)] }, Field { name: "VDATA", ranges: &[(40, 8)] }] }, + Encoding { name: "MIMG_NSA3", bits: 160, order: 23, primary: false, fixed_mask: 0xfc000000, fixed_value: 0xf0000000, fields: &[Field { name: "A16", ranges: &[(62, 1)] }, Field { name: "D16", ranges: &[(63, 1)] }, Field { name: "DA", ranges: &[(14, 1)] }, Field { name: "DIM", ranges: &[(3, 3)] }, Field { name: "DLC", ranges: &[(7, 1)] }, Field { name: "DMASK", ranges: &[(8, 4)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "GLC", ranges: &[(13, 1)] }, Field { name: "LWE", ranges: &[(17, 1)] }, Field { name: "NSA", ranges: &[(1, 2)] }, Field { name: "OP", ranges: &[(18, 7), (0, 1)] }, Field { name: "R128", ranges: &[(15, 1)] }, Field { name: "SLC", ranges: &[(25, 1)] }, Field { name: "SRSRC", ranges: &[(48, 5)] }, Field { name: "SSAMP", ranges: &[(53, 5)] }, Field { name: "TFE", ranges: &[(16, 1)] }, Field { name: "UNORM", ranges: &[(12, 1)] }, Field { name: "VADDR", ranges: &[(32, 8)] }, Field { name: "VADDRA", ranges: &[(64, 8)] }, Field { name: "VADDRB", ranges: &[(72, 8)] }, Field { name: "VADDRC", ranges: &[(80, 8)] }, Field { name: "VADDRD", ranges: &[(88, 8)] }, Field { name: "VADDRE", ranges: &[(96, 8)] }, Field { name: "VADDRF", ranges: &[(104, 8)] }, Field { name: "VADDRG", ranges: &[(112, 8)] }, Field { name: "VADDRH", ranges: &[(120, 8)] }, Field { name: "VADDRI", ranges: &[(128, 8)] }, Field { name: "VADDRJ", ranges: &[(136, 8)] }, Field { name: "VADDRK", ranges: &[(144, 8)] }, Field { name: "VADDRL", ranges: &[(152, 8)] }, Field { name: "VDATA", ranges: &[(40, 8)] }] }, + Encoding { name: "SOP1_INST_LITERAL", bits: 64, order: 24, primary: false, fixed_mask: 0xff800000, fixed_value: 0xbe800000, fields: &[Field { name: "ENCODING", ranges: &[(23, 9)] }, Field { name: "LITERAL", ranges: &[(32, 32)] }, Field { name: "OP", ranges: &[(8, 8)] }, Field { name: "SDST", ranges: &[(16, 7)] }, Field { name: "SSRC0", ranges: &[(0, 8)] }] }, + Encoding { name: "SOP2_INST_LITERAL", bits: 64, order: 25, primary: false, fixed_mask: 0xc0000000, fixed_value: 0x80000000, fields: &[Field { name: "ENCODING", ranges: &[(30, 2)] }, Field { name: "LITERAL", ranges: &[(32, 32)] }, Field { name: "OP", ranges: &[(23, 7)] }, Field { name: "SDST", ranges: &[(16, 7)] }, Field { name: "SSRC0", ranges: &[(0, 8)] }, Field { name: "SSRC1", ranges: &[(8, 8)] }] }, + Encoding { name: "SOPC_INST_LITERAL", bits: 64, order: 26, primary: false, fixed_mask: 0xff800000, fixed_value: 0xbf000000, fields: &[Field { name: "ENCODING", ranges: &[(23, 9)] }, Field { name: "LITERAL", ranges: &[(32, 32)] }, Field { name: "OP", ranges: &[(16, 7)] }, Field { name: "SSRC0", ranges: &[(0, 8)] }, Field { name: "SSRC1", ranges: &[(8, 8)] }] }, + Encoding { name: "SOPK_INST_LITERAL", bits: 64, order: 27, primary: false, fixed_mask: 0xf0000000, fixed_value: 0xb0000000, fields: &[Field { name: "ENCODING", ranges: &[(28, 4)] }, Field { name: "LITERAL", ranges: &[(32, 32)] }, Field { name: "OP", ranges: &[(23, 5)] }, Field { name: "SDST", ranges: &[(16, 7)] }, Field { name: "SIMM16", ranges: &[(0, 16)] }] }, + Encoding { name: "VOP3_INST_LITERAL", bits: 96, order: 28, primary: false, fixed_mask: 0xfc000000, fixed_value: 0xd4000000, fields: &[Field { name: "ABS", ranges: &[(8, 3)] }, Field { name: "CLAMP", ranges: &[(15, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "LITERAL", ranges: &[(64, 32)] }, Field { name: "NEG", ranges: &[(61, 3)] }, Field { name: "OMOD", ranges: &[(59, 2)] }, Field { name: "OP", ranges: &[(16, 10)] }, Field { name: "OP_SEL", ranges: &[(11, 4)] }, Field { name: "SRC0", ranges: &[(32, 9)] }, Field { name: "SRC1", ranges: &[(41, 9)] }, Field { name: "SRC2", ranges: &[(50, 9)] }, Field { name: "VDST", ranges: &[(0, 8)] }] }, + Encoding { name: "VOP1_INST_LITERAL", bits: 64, order: 29, primary: false, fixed_mask: 0xfe000000, fixed_value: 0x7e000000, fields: &[Field { name: "ENCODING", ranges: &[(25, 7)] }, Field { name: "LITERAL", ranges: &[(32, 32)] }, Field { name: "OP", ranges: &[(9, 8)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "VDST", ranges: &[(17, 8)] }] }, + Encoding { name: "VOP1_VOP_SDWA", bits: 64, order: 30, primary: false, fixed_mask: 0xfe000000, fixed_value: 0x7e000000, fields: &[Field { name: "CLAMP", ranges: &[(45, 1)] }, Field { name: "DST_SEL", ranges: &[(40, 3)] }, Field { name: "DST_UNUSED", ranges: &[(43, 2)] }, Field { name: "ENCODING", ranges: &[(25, 7)] }, Field { name: "OMOD", ranges: &[(46, 2)] }, Field { name: "OP", ranges: &[(9, 8)] }, Field { name: "S0", ranges: &[(55, 1)] }, Field { name: "S1", ranges: &[(63, 1)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "SRC0_ABS", ranges: &[(53, 1)] }, Field { name: "SRC0_NEG", ranges: &[(52, 1)] }, Field { name: "SRC0_SEL", ranges: &[(48, 3)] }, Field { name: "SRC0_SEXT", ranges: &[(51, 1)] }, Field { name: "SRC1_ABS", ranges: &[(61, 1)] }, Field { name: "SRC1_NEG", ranges: &[(60, 1)] }, Field { name: "SRC1_SEL", ranges: &[(56, 3)] }, Field { name: "SRC1_SEXT", ranges: &[(59, 1)] }, Field { name: "VDST", ranges: &[(17, 8)] }, Field { name: "VSRC0", ranges: &[(32, 8)] }] }, + Encoding { name: "VOP1_VOP_DPP8", bits: 64, order: 31, primary: false, fixed_mask: 0xfe000000, fixed_value: 0x7e000000, fields: &[Field { name: "ENCODING", ranges: &[(25, 7)] }, Field { name: "LANE_SEL_0", ranges: &[(40, 3)] }, Field { name: "LANE_SEL_1", ranges: &[(43, 3)] }, Field { name: "LANE_SEL_2", ranges: &[(46, 3)] }, Field { name: "LANE_SEL_3", ranges: &[(49, 3)] }, Field { name: "LANE_SEL_4", ranges: &[(52, 3)] }, Field { name: "LANE_SEL_5", ranges: &[(55, 3)] }, Field { name: "LANE_SEL_6", ranges: &[(58, 3)] }, Field { name: "LANE_SEL_7", ranges: &[(61, 3)] }, Field { name: "OP", ranges: &[(9, 8)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "VDST", ranges: &[(17, 8)] }, Field { name: "VSRC0", ranges: &[(32, 8)] }] }, + Encoding { name: "VOP1_VOP_DPP16", bits: 64, order: 32, primary: false, fixed_mask: 0xfe000000, fixed_value: 0x7e000000, fields: &[Field { name: "BANK_MASK", ranges: &[(56, 4)] }, Field { name: "BOUND_CTRL", ranges: &[(51, 1)] }, Field { name: "DPP_CTRL", ranges: &[(40, 9)] }, Field { name: "ENCODING", ranges: &[(25, 7)] }, Field { name: "FI", ranges: &[(50, 1)] }, Field { name: "OP", ranges: &[(9, 8)] }, Field { name: "ROW_MASK", ranges: &[(60, 4)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "SRC0_ABS", ranges: &[(53, 1)] }, Field { name: "SRC0_NEG", ranges: &[(52, 1)] }, Field { name: "SRC1_ABS", ranges: &[(55, 1)] }, Field { name: "SRC1_NEG", ranges: &[(54, 1)] }, Field { name: "VDST", ranges: &[(17, 8)] }, Field { name: "VSRC0", ranges: &[(32, 8)] }] }, + Encoding { name: "VOP2_INST_LITERAL", bits: 64, order: 33, primary: false, fixed_mask: 0x80000000, fixed_value: 0x0, fields: &[Field { name: "ENCODING", ranges: &[(31, 1)] }, Field { name: "LITERAL", ranges: &[(32, 32)] }, Field { name: "OP", ranges: &[(25, 6)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "VDST", ranges: &[(17, 8)] }, Field { name: "VSRC1", ranges: &[(9, 8)] }] }, + Encoding { name: "VOP2_VOP_SDWA", bits: 64, order: 34, primary: false, fixed_mask: 0x80000000, fixed_value: 0x0, fields: &[Field { name: "CLAMP", ranges: &[(45, 1)] }, Field { name: "DST_SEL", ranges: &[(40, 3)] }, Field { name: "DST_UNUSED", ranges: &[(43, 2)] }, Field { name: "ENCODING", ranges: &[(31, 1)] }, Field { name: "OMOD", ranges: &[(46, 2)] }, Field { name: "OP", ranges: &[(25, 6)] }, Field { name: "S0", ranges: &[(55, 1)] }, Field { name: "S1", ranges: &[(63, 1)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "SRC0_ABS", ranges: &[(53, 1)] }, Field { name: "SRC0_NEG", ranges: &[(52, 1)] }, Field { name: "SRC0_SEL", ranges: &[(48, 3)] }, Field { name: "SRC0_SEXT", ranges: &[(51, 1)] }, Field { name: "SRC1_ABS", ranges: &[(61, 1)] }, Field { name: "SRC1_NEG", ranges: &[(60, 1)] }, Field { name: "SRC1_SEL", ranges: &[(56, 3)] }, Field { name: "SRC1_SEXT", ranges: &[(59, 1)] }, Field { name: "VDST", ranges: &[(17, 8)] }, Field { name: "VSRC0", ranges: &[(32, 8)] }, Field { name: "VSRC1", ranges: &[(9, 8)] }] }, + Encoding { name: "VOP2_VOP_DPP8", bits: 64, order: 35, primary: false, fixed_mask: 0x80000000, fixed_value: 0x0, fields: &[Field { name: "ENCODING", ranges: &[(31, 1)] }, Field { name: "LANE_SEL_0", ranges: &[(40, 3)] }, Field { name: "LANE_SEL_1", ranges: &[(43, 3)] }, Field { name: "LANE_SEL_2", ranges: &[(46, 3)] }, Field { name: "LANE_SEL_3", ranges: &[(49, 3)] }, Field { name: "LANE_SEL_4", ranges: &[(52, 3)] }, Field { name: "LANE_SEL_5", ranges: &[(55, 3)] }, Field { name: "LANE_SEL_6", ranges: &[(58, 3)] }, Field { name: "LANE_SEL_7", ranges: &[(61, 3)] }, Field { name: "OP", ranges: &[(25, 6)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "VDST", ranges: &[(17, 8)] }, Field { name: "VSRC0", ranges: &[(32, 8)] }, Field { name: "VSRC1", ranges: &[(9, 8)] }] }, + Encoding { name: "VOP2_VOP_DPP16", bits: 64, order: 36, primary: false, fixed_mask: 0x80000000, fixed_value: 0x0, fields: &[Field { name: "BANK_MASK", ranges: &[(56, 4)] }, Field { name: "BOUND_CTRL", ranges: &[(51, 1)] }, Field { name: "DPP_CTRL", ranges: &[(40, 9)] }, Field { name: "ENCODING", ranges: &[(31, 1)] }, Field { name: "FI", ranges: &[(50, 1)] }, Field { name: "OP", ranges: &[(25, 6)] }, Field { name: "ROW_MASK", ranges: &[(60, 4)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "SRC0_ABS", ranges: &[(53, 1)] }, Field { name: "SRC0_NEG", ranges: &[(52, 1)] }, Field { name: "SRC1_ABS", ranges: &[(55, 1)] }, Field { name: "SRC1_NEG", ranges: &[(54, 1)] }, Field { name: "VDST", ranges: &[(17, 8)] }, Field { name: "VSRC0", ranges: &[(32, 8)] }, Field { name: "VSRC1", ranges: &[(9, 8)] }] }, + Encoding { name: "VOP2_VOP_SDWA_SDST_ENC", bits: 64, order: 37, primary: false, fixed_mask: 0x80000000, fixed_value: 0x0, fields: &[Field { name: "ENCODING", ranges: &[(31, 1)] }, Field { name: "OP", ranges: &[(25, 6)] }, Field { name: "S0", ranges: &[(55, 1)] }, Field { name: "S1", ranges: &[(63, 1)] }, Field { name: "SD", ranges: &[(47, 1)] }, Field { name: "SDST", ranges: &[(40, 7)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "SRC0_ABS", ranges: &[(53, 1)] }, Field { name: "SRC0_NEG", ranges: &[(52, 1)] }, Field { name: "SRC0_SEL", ranges: &[(48, 3)] }, Field { name: "SRC0_SEXT", ranges: &[(51, 1)] }, Field { name: "SRC1_ABS", ranges: &[(61, 1)] }, Field { name: "SRC1_NEG", ranges: &[(60, 1)] }, Field { name: "SRC1_SEL", ranges: &[(56, 3)] }, Field { name: "SRC1_SEXT", ranges: &[(59, 1)] }, Field { name: "VDST", ranges: &[(17, 8)] }, Field { name: "VSRC0", ranges: &[(32, 8)] }, Field { name: "VSRC1", ranges: &[(9, 8)] }] }, + Encoding { name: "VOP3_SDST_ENC", bits: 64, order: 38, primary: true, fixed_mask: 0xfc000000, fixed_value: 0xd4000000, fields: &[Field { name: "CLAMP", ranges: &[(15, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "NEG", ranges: &[(61, 3)] }, Field { name: "OMOD", ranges: &[(59, 2)] }, Field { name: "OP", ranges: &[(16, 10)] }, Field { name: "SDST", ranges: &[(8, 7)] }, Field { name: "SRC0", ranges: &[(32, 9)] }, Field { name: "SRC1", ranges: &[(41, 9)] }, Field { name: "SRC2", ranges: &[(50, 9)] }, Field { name: "VDST", ranges: &[(0, 8)] }] }, + Encoding { name: "VOP3_SDST_ENC_INST_LITERAL", bits: 96, order: 39, primary: false, fixed_mask: 0xfc000000, fixed_value: 0xd4000000, fields: &[Field { name: "CLAMP", ranges: &[(15, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "LITERAL", ranges: &[(64, 32)] }, Field { name: "NEG", ranges: &[(61, 3)] }, Field { name: "OMOD", ranges: &[(59, 2)] }, Field { name: "OP", ranges: &[(16, 10)] }, Field { name: "SDST", ranges: &[(8, 7)] }, Field { name: "SRC0", ranges: &[(32, 9)] }, Field { name: "SRC1", ranges: &[(41, 9)] }, Field { name: "SRC2", ranges: &[(50, 9)] }, Field { name: "VDST", ranges: &[(0, 8)] }] }, + Encoding { name: "VOP3P_INST_LITERAL", bits: 96, order: 40, primary: false, fixed_mask: 0xfc000000, fixed_value: 0xcc000000, fields: &[Field { name: "CLAMP", ranges: &[(15, 1)] }, Field { name: "ENCODING", ranges: &[(26, 6)] }, Field { name: "LITERAL", ranges: &[(64, 32)] }, Field { name: "NEG", ranges: &[(61, 3)] }, Field { name: "NEG_HI", ranges: &[(8, 3)] }, Field { name: "OP", ranges: &[(16, 7)] }, Field { name: "OP_SEL", ranges: &[(11, 3)] }, Field { name: "OP_SEL_HI", ranges: &[(59, 2)] }, Field { name: "OP_SEL_HI_2", ranges: &[(14, 1)] }, Field { name: "SRC0", ranges: &[(32, 9)] }, Field { name: "SRC1", ranges: &[(41, 9)] }, Field { name: "SRC2", ranges: &[(50, 9)] }, Field { name: "VDST", ranges: &[(0, 8)] }] }, + Encoding { name: "VOPC_INST_LITERAL", bits: 64, order: 41, primary: false, fixed_mask: 0xfe000000, fixed_value: 0x7c000000, fields: &[Field { name: "ENCODING", ranges: &[(25, 7)] }, Field { name: "LITERAL", ranges: &[(32, 32)] }, Field { name: "OP", ranges: &[(17, 8)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "VSRC1", ranges: &[(9, 8)] }] }, + Encoding { name: "VOPC_VOP_SDWA_SDST_ENC", bits: 64, order: 42, primary: false, fixed_mask: 0xfe000000, fixed_value: 0x7c000000, fields: &[Field { name: "ENCODING", ranges: &[(25, 7)] }, Field { name: "OP", ranges: &[(17, 8)] }, Field { name: "S0", ranges: &[(55, 1)] }, Field { name: "S1", ranges: &[(63, 1)] }, Field { name: "SD", ranges: &[(47, 1)] }, Field { name: "SDST", ranges: &[(40, 7)] }, Field { name: "SRC0", ranges: &[(0, 9)] }, Field { name: "SRC0_ABS", ranges: &[(53, 1)] }, Field { name: "SRC0_NEG", ranges: &[(52, 1)] }, Field { name: "SRC0_SEL", ranges: &[(48, 3)] }, Field { name: "SRC0_SEXT", ranges: &[(51, 1)] }, Field { name: "SRC1_ABS", ranges: &[(61, 1)] }, Field { name: "SRC1_NEG", ranges: &[(60, 1)] }, Field { name: "SRC1_SEL", ranges: &[(56, 3)] }, Field { name: "SRC1_SEXT", ranges: &[(59, 1)] }, Field { name: "VSRC0", ranges: &[(32, 8)] }, Field { name: "VSRC1", ranges: &[(9, 8)] }] }, +]; + +pub static INSTRUCTIONS: &[Inst] = &[ + Inst { name: "DS_ADD_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 0, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_SUB_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 1, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_RSUB_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 2, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_INC_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 3, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_DEC_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 4, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 5, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 6, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 7, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 8, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_AND_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 9, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_OR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 10, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_XOR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 11, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MSKOR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 12, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRITE_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 13, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_WRITE2_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 14, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_WRITE2ST64_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 15, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_CMPST_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 16, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_CMPST_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 17, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 18, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 19, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_NOP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 20, operands: &[] }] }, + Inst { name: "DS_ADD_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 21, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_GWS_SEMA_RELEASE_ALL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 24, operands: &[] }] }, + Inst { name: "DS_GWS_INIT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 25, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "DS_GWS_SEMA_V", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 26, operands: &[] }] }, + Inst { name: "DS_GWS_SEMA_BR", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 27, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "DS_GWS_SEMA_P", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 28, operands: &[] }] }, + Inst { name: "DS_GWS_BARRIER", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 29, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "DS_WRITE_B8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 30, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 8, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 8, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_WRITE_B16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 31, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 16, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_ADD_RTN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 32, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_SUB_RTN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 33, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_RSUB_RTN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 34, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_INC_RTN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 35, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_DEC_RTN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 36, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_RTN_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 37, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_RTN_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 38, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_RTN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 39, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_RTN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 40, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_AND_RTN_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 41, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_OR_RTN_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 42, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_XOR_RTN_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 43, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MSKOR_RTN_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 44, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRXCHG_RTN_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 45, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRXCHG2_RTN_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 46, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRXCHG2ST64_RTN_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 47, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_CMPST_RTN_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 48, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_CMPST_RTN_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 49, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_RTN_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 50, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_RTN_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 51, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRAP_RTN_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 52, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_SWIZZLE_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 53, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "DS_READ_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 54, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ2_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 55, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ2ST64_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 56, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_I8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 57, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_U8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 58, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 59, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 60, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_CONSUME", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 61, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_APPEND", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 62, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_ORDERED_COUNT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 63, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_ADD_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 64, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_SUB_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 65, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_RSUB_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 66, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_INC_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 67, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_DEC_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 68, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 69, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 70, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 71, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 72, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_AND_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 73, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_OR_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 74, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_XOR_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 75, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MSKOR_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 76, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRITE_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 77, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_WRITE2_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 78, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_WRITE2ST64_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 79, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_CMPST_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 80, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_CMPST_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 81, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 82, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 83, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_ADD_RTN_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 85, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_ADD_RTN_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 96, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_SUB_RTN_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 97, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_RSUB_RTN_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 98, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_INC_RTN_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 99, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_DEC_RTN_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 100, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_RTN_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 101, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_RTN_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 102, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_RTN_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 103, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_RTN_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 104, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_AND_RTN_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 105, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_OR_RTN_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 106, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_XOR_RTN_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 107, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MSKOR_RTN_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 108, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRXCHG_RTN_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 109, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRXCHG2_RTN_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 110, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRXCHG2ST64_RTN_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 111, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_CMPST_RTN_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 112, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_CMPST_RTN_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 113, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MIN_RTN_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 114, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_MAX_RTN_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 115, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 118, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ2_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 119, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ2ST64_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 120, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_CONDXCHG32_RTN_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 126, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_DSMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRITE_B8_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 160, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 8, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_WRITE_B16_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 161, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 16, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_READ_U8_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 162, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_U8_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 163, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_I8_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 164, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_I8_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 165, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_U16_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 166, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_U16_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 167, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_WRITE_ADDTID_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 176, operands: &[Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_ADDTID_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 177, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_PERMUTE_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 178, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "DS_BPERMUTE_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 179, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "DS_WRITE_B96", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 222, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 96, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_WRITE_B128", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 223, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA0"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 128, input: false, output: true, implicit: true }] }] }, + Inst { name: "DS_READ_B96", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 254, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 96, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 96, input: true, output: false, implicit: true }] }] }, + Inst { name: "DS_READ_B128", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 12, opcode: 255, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_DSMEM", size: 128, input: true, output: false, implicit: true }] }] }, + Inst { name: "EXP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 16, opcode: 0, operands: &[Operand { field: Some("TGT"), ty: "OPR_TGT", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VSRC0"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC2"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC3"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_UBYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 8, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_SBYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 9, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_USHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 10, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_SSHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 11, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 12, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 13, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 14, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_DWORDX3", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 15, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 96, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_STORE_BYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 24, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_STORE_BYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 25, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_STORE_SHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 26, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_STORE_SHORT_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 27, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_STORE_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 28, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_STORE_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 29, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_STORE_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 30, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_STORE_DWORDX3", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 31, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_UBYTE_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 32, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_UBYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 33, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_SBYTE_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 34, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_SBYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 35, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_SHORT_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 36, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_LOAD_SHORT_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 37, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_SWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 48, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_CMPSWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 49, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_ADD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 50, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_SUB", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 51, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_SMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 53, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_UMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 54, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_SMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 55, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_UMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 56, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_AND", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 57, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_OR", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 58, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_XOR", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 59, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_INC", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 60, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_DEC", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 61, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_FCMPSWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 62, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_FMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 63, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_FMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 64, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_SWAP_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 80, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_CMPSWAP_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 81, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_ADD_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 82, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_SUB_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 83, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_SMIN_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 85, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_UMIN_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 86, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_SMAX_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 87, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_UMAX_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 88, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_AND_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 89, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_OR_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 90, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_XOR_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 91, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_INC_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 92, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_DEC_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 93, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_FCMPSWAP_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 94, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_FMIN_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 95, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "FLAT_ATOMIC_FMAX_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 17, opcode: 96, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_UBYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 8, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_SBYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 9, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_USHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 10, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_SSHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 11, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 12, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 13, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 14, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_DWORDX3", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 15, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 96, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_DWORD_ADDTID", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 22, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_STORE_DWORD_ADDTID", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 23, operands: &[Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_STORE_BYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 24, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_STORE_BYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 25, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_STORE_SHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 26, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_STORE_SHORT_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 27, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_STORE_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 28, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_STORE_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 29, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_STORE_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 30, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_STORE_DWORDX3", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 31, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_UBYTE_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 32, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_UBYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 33, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_SBYTE_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 34, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_SBYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 35, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_SHORT_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 36, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_LOAD_SHORT_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 37, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_SWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 48, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_CMPSWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 49, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_ADD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 50, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_SUB", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 51, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_CSUB", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 52, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_SMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 53, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_UMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 54, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_SMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 55, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_UMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 56, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_AND", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 57, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_OR", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 58, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_XOR", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 59, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_INC", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 60, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_DEC", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 61, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_FCMPSWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 62, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_FMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 63, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_FMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 64, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_SWAP_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 80, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_CMPSWAP_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 81, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_ADD_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 82, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_SUB_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 83, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_SMIN_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 85, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_UMIN_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 86, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_SMAX_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 87, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_UMAX_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 88, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_AND_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 89, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_OR_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 90, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_XOR_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 91, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_INC_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 92, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_DEC_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 93, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_FCMPSWAP_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 94, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_FMIN_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 95, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "GLOBAL_ATOMIC_FMAX_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 18, opcode: 96, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_UBYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 8, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_SBYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 9, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_USHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 10, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_SSHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 11, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 12, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 13, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 14, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_DWORDX3", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 15, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 96, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_STORE_BYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 24, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_STORE_BYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 25, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_STORE_SHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 26, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_STORE_SHORT_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 27, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_STORE_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 28, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_STORE_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 29, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_STORE_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 30, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_STORE_DWORDX3", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 31, operands: &[Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("DATA"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_UBYTE_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 32, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_UBYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 33, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_SBYTE_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 34, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_SBYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 35, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_SHORT_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 36, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "SCRATCH_LOAD_SHORT_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 19, opcode: 37, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("ADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SADDR"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_FLAT_SCRATCH", size: 64, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_LOAD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 0, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_MIP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 1, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_PCK", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 2, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_PCK_SGN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 3, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_MIP_PCK", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 4, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_MIP_PCK_SGN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 5, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 8, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_MIP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 9, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_PCK", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 10, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_MIP_PCK", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 11, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GET_RESINFO", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 14, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_ATOMIC_SWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 15, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_CMPSWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 16, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_ADD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 17, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_SUB", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 18, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_SMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 20, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_UMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 21, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_SMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 22, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_UMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 23, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_AND", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 24, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_OR", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 25, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_XOR", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 26, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_INC", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 27, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_DEC", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 28, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_FCMPSWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 29, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_FMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 30, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_ATOMIC_FMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 31, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "IMAGE_SAMPLE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 32, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 33, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_D", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 34, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 288, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_D_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 35, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 320, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_L", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 36, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_B", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 37, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_B_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 38, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_LZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 39, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 40, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 41, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_D", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 42, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 320, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_D_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 43, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 352, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_L", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 44, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_B", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 45, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_B_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 46, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_LZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 47, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 48, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 49, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_D_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 50, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 320, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_D_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 51, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 352, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_L_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 52, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_B_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 53, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_B_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 54, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_LZ_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 55, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 56, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 57, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_D_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 58, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 352, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_D_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 59, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 384, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_L_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 60, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_B_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 61, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_B_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 62, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 224, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_LZ_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 63, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 64, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 65, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_BY2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 66, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_BY4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 67, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_L", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 68, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_B", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 69, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_B_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 70, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_LZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 71, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 72, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 73, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_MIP_BY2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 74, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_MIP_BY4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 75, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_L", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 76, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_B", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 77, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_B_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 78, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_LZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 79, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 80, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 81, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_BY2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 82, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_BY4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 83, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_L_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 84, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_B_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 85, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_B_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 86, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_LZ_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 87, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 88, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 89, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_MIP_BY2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 90, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_MIP_BY4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 91, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_L_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 92, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_B_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 93, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 192, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_B_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 94, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 224, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4_C_LZ_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 95, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 160, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GET_LOD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 96, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4H", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 97, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER4H_PCK", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 98, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_GATHER8H_PCK", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 99, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 104, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 288, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CD_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 105, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 320, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 106, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 320, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CD_CL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 107, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 352, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CD_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 108, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 320, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CD_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 109, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 352, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CD_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 110, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 352, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CD_CL_O", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 111, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 384, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_PCK2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 112, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_PCK4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 113, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_MIP_PCK2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 115, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_LOAD_MIP_PCK4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 116, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_PCK2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 118, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_PCK4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 119, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_MIP_PCK2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 121, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_STORE_MIP_PCK4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 122, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_MSAA_LOAD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 128, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_D_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 162, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 224, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_D_CL_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 163, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_D_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 170, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_D_CL_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 171, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 288, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_D_O_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 178, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_D_CL_O_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 179, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 288, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_D_O_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 186, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 288, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_D_CL_O_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 187, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 320, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_BVH_INTERSECT_RAY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 230, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 352, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_BVH64_INTERSECT_RAY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 231, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 384, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CD_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 232, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 224, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CD_CL_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 233, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CD_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 234, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CD_CL_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 235, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 288, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CD_O_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 236, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_CD_CL_O_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 237, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 288, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CD_O_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 238, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 288, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "IMAGE_SAMPLE_C_CD_CL_O_G16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 15, opcode: 239, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 320, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 256, input: true, output: false, implicit: false }, Operand { field: Some("SSAMP"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "TBUFFER_LOAD_FORMAT_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 0, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "TBUFFER_LOAD_FORMAT_XY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 1, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "TBUFFER_LOAD_FORMAT_XYZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 2, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 96, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: true, output: false, implicit: true }] }] }, + Inst { name: "TBUFFER_LOAD_FORMAT_XYZW", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 3, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }] }] }, + Inst { name: "TBUFFER_STORE_FORMAT_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 4, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }] }] }, + Inst { name: "TBUFFER_STORE_FORMAT_XY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 5, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "TBUFFER_STORE_FORMAT_XYZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 6, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: false, output: true, implicit: true }] }] }, + Inst { name: "TBUFFER_STORE_FORMAT_XYZW", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 7, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: false, output: true, implicit: true }] }] }, + Inst { name: "TBUFFER_LOAD_FORMAT_D16_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 8, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "TBUFFER_LOAD_FORMAT_D16_XY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 9, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "TBUFFER_LOAD_FORMAT_D16_XYZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 10, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: true, output: false, implicit: true }] }] }, + Inst { name: "TBUFFER_LOAD_FORMAT_D16_XYZW", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 11, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }] }] }, + Inst { name: "TBUFFER_STORE_FORMAT_D16_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 12, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }] }] }, + Inst { name: "TBUFFER_STORE_FORMAT_D16_XY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 13, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "TBUFFER_STORE_FORMAT_D16_XYZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 14, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: false, output: true, implicit: true }] }] }, + Inst { name: "TBUFFER_STORE_FORMAT_D16_XYZW", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 14, opcode: 15, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_FORMAT_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 0, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_FORMAT_XY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 1, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_FORMAT_XYZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 2, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 96, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_FORMAT_XYZW", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 3, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_FORMAT_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 4, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_FORMAT_XY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 5, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_FORMAT_XYZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 6, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_FORMAT_XYZW", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 7, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_UBYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 8, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_SBYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 9, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_USHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 10, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_SSHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 11, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 12, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 13, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 14, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_DWORDX3", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 15, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 96, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_BYTE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 24, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_BYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 25, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_SHORT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 26, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_SHORT_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 27, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 28, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 29, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 30, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_DWORDX3", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 31, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 96, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_UBYTE_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 32, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_UBYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 33, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_SBYTE_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 34, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_SBYTE_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 35, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 8, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_SHORT_D16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 36, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_SHORT_D16_HI", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 37, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 16, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_FORMAT_D16_HI_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 38, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_FORMAT_D16_HI_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 39, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_SWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 48, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_CMPSWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 49, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_ADD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 50, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_SUB", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 51, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_CSUB", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 52, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_SMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 53, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_UMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 54, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_SMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 55, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_UMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 56, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_AND", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 57, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_OR", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 58, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_XOR", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 59, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_INC", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 60, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_DEC", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 61, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_FCMPSWAP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 62, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_FMIN", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 63, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_FMAX", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 64, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_SWAP_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 80, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_CMPSWAP_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 81, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_ADD_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 82, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_SUB_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 83, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_SMIN_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 85, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_UMIN_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 86, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_SMAX_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 87, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_UMAX_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 88, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_AND_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 89, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_OR_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 90, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_XOR_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 91, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_INC_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 92, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_DEC_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 93, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_FCMPSWAP_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 94, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_FMIN_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 95, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_ATOMIC_FMAX_X2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 96, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_GL0_INV", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 113, operands: &[] }] }, + Inst { name: "BUFFER_GL1_INV", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 114, operands: &[] }] }, + Inst { name: "BUFFER_LOAD_FORMAT_D16_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 128, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_FORMAT_D16_XY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 129, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_FORMAT_D16_XYZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 130, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_LOAD_FORMAT_D16_XYZW", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 131, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_FORMAT_D16_X", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 132, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_FORMAT_D16_XY", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 133, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_FORMAT_D16_XYZ", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 134, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 96, input: false, output: true, implicit: true }] }] }, + Inst { name: "BUFFER_STORE_FORMAT_D16_XYZW", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 13, opcode: 135, operands: &[Operand { field: Some("VDATA"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VADDR"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRSRC"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SREG_M0_INL", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_LOAD_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 0, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_LOAD_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 1, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_LOAD_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 2, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_LOAD_DWORDX8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 3, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 256, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 256, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_LOAD_DWORDX16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 4, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 512, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 512, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_BUFFER_LOAD_DWORD", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 8, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_BUFFER_LOAD_DWORDX2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 9, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_BUFFER_LOAD_DWORDX4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 10, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 128, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_BUFFER_LOAD_DWORDX8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 11, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 256, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 256, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_BUFFER_LOAD_DWORDX16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 12, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 512, input: false, output: true, implicit: false }, Operand { field: Some("SBASE"), ty: "OPR_SREG_NONULL", size: 128, input: true, output: false, implicit: false }, Operand { field: Some("SOFFSET"), ty: "OPR_SMEM_OFFSET", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_GPUMEM", size: 512, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_GL1_INV", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 31, operands: &[] }] }, + Inst { name: "S_DCACHE_INV", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 32, operands: &[] }] }, + Inst { name: "S_MEMTIME", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 36, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }] }] }, + Inst { name: "S_MEMREALTIME", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 5, opcode: 37, operands: &[Operand { field: Some("SDATA"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }] }] }, + Inst { name: "S_MOV_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 3, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_MOV_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 4, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_CMOV_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 5, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_CMOV_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 6, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_NOT_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 7, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_NOT_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 8, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_WQM_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 9, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_WQM_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 10, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BREV_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 11, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_BREV_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 12, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_BCNT0_I32_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 13, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BCNT0_I32_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 14, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BCNT1_I32_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 15, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BCNT1_I32_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 16, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_FF0_I32_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 17, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_FF0_I32_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 18, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_FF1_I32_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 19, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_FF1_I32_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 20, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_FLBIT_I32_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 21, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_FLBIT_I32_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 22, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_FLBIT_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 23, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_FLBIT_I32_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 24, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_SEXT_I32_I8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 25, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 8, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_SEXT_I32_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 26, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_BITSET0_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 27, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_BITSET0_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 28, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_BITSET1_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 29, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_BITSET1_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 30, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_GETPC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 31, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: None, ty: "OPR_PC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_SETPC_B64", flags: 5, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 32, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_PC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_SWAPPC_B64", flags: 5, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 33, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_PC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_PC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_RFE_B64", flags: 5, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 34, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_PC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_AND_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 36, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_OR_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 37, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_XOR_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 38, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ANDN2_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 39, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ORN2_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 40, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_NAND_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 41, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_NOR_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 42, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_XNOR_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 43, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_QUADMASK_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 44, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_QUADMASK_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 45, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_MOVRELS_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 46, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_MOVRELS_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 47, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_MOVRELD_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 48, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_MOVRELD_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 49, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ABS_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 52, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ANDN1_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 55, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ORN1_SAVEEXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 56, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ANDN1_WREXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 57, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ANDN2_WREXEC_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 58, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_BITREPLICATE_B64_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 59, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_AND_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 60, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_OR_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 61, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_XOR_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 62, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ANDN2_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 63, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ORN2_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 64, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_NAND_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 65, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_NOR_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 66, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_XNOR_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 67, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ANDN1_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 68, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ORN1_SAVEEXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 69, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ANDN1_WREXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 70, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ANDN2_WREXEC_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 71, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_MOVRELSD_2_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 0, opcode: 73, operands: &[Operand { field: Some("SDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SREG", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_ADD_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 0, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_SUB_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 1, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ADD_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 2, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_SUB_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 3, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ADDC_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 4, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_SUBB_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 5, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_MIN_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 6, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_MIN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 7, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_MAX_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 8, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_MAX_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 9, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CSELECT_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 10, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_CSELECT_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 11, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_AND_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 14, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_AND_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 15, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_OR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 16, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_OR_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 17, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_XOR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 18, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_XOR_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 19, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ANDN2_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 20, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ANDN2_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 21, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ORN2_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 22, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ORN2_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 23, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_NAND_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 24, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_NAND_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 25, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_NOR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 26, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_NOR_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 27, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_XNOR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 28, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_XNOR_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 29, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_LSHL_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 30, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_LSHL_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 31, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_LSHR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 32, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_LSHR_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 33, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ASHR_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 34, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ASHR_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 35, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BFM_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 36, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_BFM_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 37, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_MUL_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 38, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_BFE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 39, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BFE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 40, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BFE_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 41, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BFE_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 42, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ABSDIFF_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 44, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_LSHL1_ADD_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 46, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_LSHL2_ADD_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 47, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_LSHL3_ADD_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 48, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_LSHL4_ADD_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 49, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_PACK_LL_B32_B16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 50, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_PACK_LH_B32_B16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 51, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_PACK_HH_B32_B16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 52, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_MUL_HI_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 53, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_MUL_HI_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 4, opcode: 54, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_CMP_EQ_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 0, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_LG_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 1, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_GT_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 2, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_GE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 3, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_LT_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 4, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_LE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 5, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_EQ_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 6, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_LG_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 7, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_GT_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 8, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_GE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 9, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_LT_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 10, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_LE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 11, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BITCMP0_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 12, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BITCMP1_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 13, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BITCMP0_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 14, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_BITCMP1_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 15, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_EQ_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 18, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMP_LG_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 1, opcode: 19, operands: &[Operand { field: Some("SSRC0"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SSRC1"), ty: "OPR_SSRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_MOVK_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 0, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_VERSION", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 1, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_VERSION", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_CMOVK_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 2, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_CMPK_EQ_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 3, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_LG_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 4, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_GT_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 5, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_GE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 6, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_LT_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 7, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_LE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 8, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_EQ_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 9, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_LG_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 10, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_GT_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 11, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_GE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 12, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_LT_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 13, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_CMPK_LE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 14, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_ADDK_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 15, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: false, output: true, implicit: true }] }] }, + Inst { name: "S_MULK_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 16, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_GETREG_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 18, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_HWREG", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_SETREG_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 19, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_HWREG", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_SETREG_IMM32_B32", flags: 0, always_literal: true, encs: &[InstEnc { encoding: 3, opcode: 21, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_HWREG", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("LITERAL"), ty: "OPR_SIMM32", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_CALL_B64", flags: 1, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 22, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_PC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_PC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_WAITCNT_VSCNT", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 23, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_WAITCNT_VMCNT", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 24, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_WAITCNT_EXPCNT", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 25, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_WAITCNT_LGKMCNT", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 26, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_SUBVECTOR_LOOP_BEGIN", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 27, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_SUBVECTOR_LOOP_END", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 3, opcode: 28, operands: &[Operand { field: Some("SDST"), ty: "OPR_SDST", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_NOP", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 0, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_ENDPGM", flags: 8, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 1, operands: &[] }] }, + Inst { name: "S_BRANCH", flags: 1, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 2, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_WAKEUP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 3, operands: &[] }] }, + Inst { name: "S_CBRANCH_SCC0", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 4, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_CBRANCH_SCC1", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 5, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SSRC_SPECIAL_SCC", size: 1, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_CBRANCH_VCCZ", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 6, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_CBRANCH_VCCNZ", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 7, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_CBRANCH_EXECZ", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 8, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_CBRANCH_EXECNZ", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 9, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_BARRIER", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 10, operands: &[] }] }, + Inst { name: "S_SETKILL", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 11, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_WAITCNT", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 12, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_WAITCNT", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_SETHALT", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 13, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_SLEEP", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 14, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_SETPRIO", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 15, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_SENDMSG", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 16, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SENDMSG", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_SENDMSGHALT", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 17, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SENDMSG", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_TRAP", flags: 5, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 18, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_ICACHE_INV", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 19, operands: &[] }] }, + Inst { name: "S_INCPERFLEVEL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 20, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_DECPERFLEVEL", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 21, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_TTRACEDATA", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 22, operands: &[Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "S_CBRANCH_CDBGSYS", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 23, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_CBRANCH_CDBGUSER", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 24, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_CBRANCH_CDBGSYS_OR_USER", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 25, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_CBRANCH_CDBGSYS_AND_USER", flags: 3, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 26, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_LABEL", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_ENDPGM_SAVED", flags: 8, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 27, operands: &[] }] }, + Inst { name: "S_ENDPGM_ORDERED_PS_DONE", flags: 8, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 30, operands: &[] }] }, + Inst { name: "S_CODE_END", flags: 5, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 31, operands: &[] }] }, + Inst { name: "S_INST_PREFETCH", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 32, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_CLAUSE", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 33, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_CLAUSE", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_WAITCNT_DEPCTR", flags: 16, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 35, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_WAITCNT_DEPCTR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_ROUND_MODE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 36, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_DENORM_MODE", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 37, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "S_TTRACEDATA_IMM", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 2, opcode: 40, operands: &[Operand { field: Some("SIMM16"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_INTERP_P1_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 9, opcode: 0, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VSRC"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("ATTR"), ty: "OPR_ATTR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }, InstEnc { encoding: 10, opcode: 512, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_ATTR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_INTERP_P2_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 9, opcode: 1, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VSRC"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("ATTR"), ty: "OPR_ATTR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }, InstEnc { encoding: 10, opcode: 513, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_ATTR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_INTERP_MOV_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 9, opcode: 2, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("VSRC"), ty: "OPR_PARAM", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("ATTR"), ty: "OPR_ATTR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }, InstEnc { encoding: 10, opcode: 514, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_PARAM", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_ATTR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_NOP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 0, operands: &[] }, InstEnc { encoding: 10, opcode: 384, operands: &[] }] }, + Inst { name: "V_MOV_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 1, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 385, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_READFIRSTLANE_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 2, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_VGPR_OR_LDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 386, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_VGPR_OR_LDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_I32_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 3, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 387, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F64_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 4, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 388, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F32_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 5, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 389, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F32_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 6, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 390, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_U32_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 7, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 391, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_I32_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 8, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 392, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F16_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 10, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 394, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F32_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 11, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 395, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_RPI_I32_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 12, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 396, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_FLR_I32_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 13, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 397, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_OFF_F32_I4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 14, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 398, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F32_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 15, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 399, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F64_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 16, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 400, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F32_UBYTE0", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 17, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 401, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F32_UBYTE1", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 18, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 402, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F32_UBYTE2", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 19, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 403, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F32_UBYTE3", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 20, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 404, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_U32_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 21, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 405, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F64_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 22, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 406, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_TRUNC_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 23, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 407, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CEIL_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 24, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 408, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RNDNE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 25, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 409, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FLOOR_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 26, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 410, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PIPEFLUSH", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 27, operands: &[] }, InstEnc { encoding: 10, opcode: 411, operands: &[] }] }, + Inst { name: "V_FRACT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 32, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 416, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_TRUNC_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 33, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 417, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CEIL_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 34, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 418, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RNDNE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 35, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 419, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FLOOR_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 36, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 420, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_EXP_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 37, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 421, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LOG_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 39, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 423, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RCP_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 42, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 426, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RCP_IFLAG_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 43, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 427, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RSQ_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 46, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 430, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RCP_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 47, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 431, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RSQ_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 49, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 433, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SQRT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 51, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 435, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SQRT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 52, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 436, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SIN_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 53, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 437, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_COS_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 54, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 438, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_NOT_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 55, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 439, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_BFREV_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 56, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 440, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FFBH_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 57, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 441, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FFBL_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 58, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 442, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FFBH_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 59, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 443, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FREXP_EXP_I32_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 60, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 444, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FREXP_MANT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 61, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 445, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FRACT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 62, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 446, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FREXP_EXP_I32_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 63, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 447, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FREXP_MANT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 64, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 448, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CLREXCP", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 65, operands: &[] }, InstEnc { encoding: 10, opcode: 449, operands: &[] }] }, + Inst { name: "V_MOVRELD_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 66, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }, InstEnc { encoding: 10, opcode: 450, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_MOVRELS_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 67, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }, InstEnc { encoding: 10, opcode: 451, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_MOVRELSD_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 68, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }, InstEnc { encoding: 10, opcode: 452, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_MOVRELSD_2_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 72, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }, InstEnc { encoding: 10, opcode: 456, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_CVT_F16_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 80, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 464, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_F16_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 81, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 465, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_U16_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 82, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 466, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_I16_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 83, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 467, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RCP_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 84, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 468, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SQRT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 85, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 469, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RSQ_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 86, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 470, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LOG_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 87, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 471, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_EXP_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 88, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 472, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FREXP_MANT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 89, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 473, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FREXP_EXP_I16_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 90, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 474, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FLOOR_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 91, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 475, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CEIL_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 92, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 476, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_TRUNC_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 93, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 477, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_RNDNE_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 94, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 478, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FRACT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 95, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 479, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SIN_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 96, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 480, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_COS_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 97, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 481, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SAT_PK_U8_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 98, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 482, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_NORM_I16_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 99, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 483, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_NORM_U16_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 100, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 484, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SWAP_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 101, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: false, output: true, implicit: false }] }] }, + Inst { name: "V_SWAPREL_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 6, opcode: 104, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: None, ty: "OPR_SDST_M0", size: 32, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_CNDMASK_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 1, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 257, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DOT2C_F32_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 2, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 3, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 259, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUB_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 4, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 260, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUBREV_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 5, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 261, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMAC_LEGACY_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 6, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 262, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_LEGACY_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 7, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 263, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 8, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 264, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_I32_I24", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 9, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 265, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_HI_I32_I24", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 10, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 266, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_U32_U24", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 11, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 267, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_HI_U32_U24", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 12, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 268, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DOT4C_I32_I8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 13, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 15, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 271, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 16, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 272, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 17, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 273, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 18, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 274, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 19, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 275, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 20, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 276, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LSHRREV_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 22, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 278, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ASHRREV_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 24, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 280, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LSHLREV_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 26, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 282, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_AND_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 27, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 283, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_OR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 28, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 284, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_XOR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 29, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 285, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_XNOR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 30, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 286, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_NC_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 37, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 293, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUB_NC_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 38, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 294, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUBREV_NC_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 39, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 295, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_CO_CI_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 40, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 37, opcode: 296, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUB_CO_CI_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 41, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 37, opcode: 297, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUBREV_CO_CI_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 42, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 37, opcode: 298, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SREG", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMAC_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 43, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 299, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMAMK_F32", flags: 0, always_literal: true, encs: &[InstEnc { encoding: 8, opcode: 44, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("LITERAL"), ty: "OPR_SIMM32", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMAAK_F32", flags: 0, always_literal: true, encs: &[InstEnc { encoding: 8, opcode: 45, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("LITERAL"), ty: "OPR_SIMM32", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_PKRTZ_F16_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 47, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 303, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 50, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 306, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUB_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 51, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 307, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUBREV_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 52, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 308, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 53, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 309, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMAC_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 54, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 310, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMAMK_F16", flags: 0, always_literal: true, encs: &[InstEnc { encoding: 8, opcode: 55, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("LITERAL"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMAAK_F16", flags: 0, always_literal: true, encs: &[InstEnc { encoding: 8, opcode: 56, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("LITERAL"), ty: "OPR_SIMM16", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 57, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 313, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 58, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 314, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LDEXP_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 59, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 10, opcode: 315, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_FMAC_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 8, opcode: 60, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMA_LEGACY_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 320, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAD_I32_I24", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 322, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 24, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 24, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAD_U32_U24", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 323, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 24, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 24, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CUBEID_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 324, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CUBESC_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 325, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CUBETC_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 326, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CUBEMA_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 327, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_BFE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 328, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_BFE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 329, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_BFI_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 330, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMA_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 331, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMA_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 332, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LERP_U8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 333, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ALIGNBIT_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 334, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 8, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ALIGNBYTE_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 335, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 8, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MULLIT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 336, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN3_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 337, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN3_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 338, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN3_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 339, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX3_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 340, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX3_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 341, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX3_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 342, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MED3_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 343, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MED3_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 344, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MED3_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 345, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SAD_U8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 346, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SAD_HI_U8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 347, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SAD_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 348, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SAD_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 349, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_PK_U8_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 350, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DIV_FIXUP_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 351, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DIV_FIXUP_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 352, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 356, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 357, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 358, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 359, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LDEXP_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 360, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_LO_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 361, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_HI_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 362, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_HI_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 364, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DIV_SCALE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 37, opcode: 365, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DIV_SCALE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 37, opcode: 366, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SDST", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DIV_FMAS_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 367, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_DIV_FMAS_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 368, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_VCC", size: 64, input: true, output: false, implicit: true }] }] }, + Inst { name: "V_MSAD_U8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 369, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_QSAD_PK_U16_U8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 370, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MQSAD_PK_U16_U8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 371, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_TRIG_PREOP_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 372, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MQSAD_U32_U8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 373, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 128, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_VGPR", size: 128, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAD_U64_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 37, opcode: 374, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAD_I64_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 37, opcode: 375, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_XOR3_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 376, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LSHLREV_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 767, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LSHRREV_B64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 768, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ASHRREV_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 769, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_NC_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 771, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUB_NC_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 772, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MUL_LO_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 773, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LSHRREV_B16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 775, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ASHRREV_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 776, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 777, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 778, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 779, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 780, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_NC_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 781, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUB_NC_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 782, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_CO_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 37, opcode: 783, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUB_CO_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 37, opcode: 784, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PACK_B32_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 785, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_PKNORM_I16_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 786, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_PKNORM_U16_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 787, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LSHLREV_B16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 788, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUBREV_CO_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 37, opcode: 793, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAD_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 832, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_INTERP_P1LL_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 834, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_ATTR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_INTERP_P1LV_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 835, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_ATTR", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PERM_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 836, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_XAD_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 837, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LSHL_ADD_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 838, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_LSHL_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 839, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMA_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 843, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN3_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 849, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN3_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 850, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MIN3_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 851, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX3_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 852, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX3_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 853, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAX3_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 854, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MED3_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 855, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MED3_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 856, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MED3_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 857, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_INTERP_P2_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 858, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_ATTR", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAD_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 862, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DIV_FIXUP_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 863, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_READLANE_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 864, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_VGPR_OR_LDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SSRC_LANESEL", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_WRITELANE_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 865, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SSRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SSRC_LANESEL", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LDEXP_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 866, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_BFM_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 867, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_BCNT_U32_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 868, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MBCNT_LO_U32_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 869, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MBCNT_HI_U32_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 870, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_PKNORM_I16_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 872, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_PKNORM_U16_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 873, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_PK_U16_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 874, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CVT_PK_I16_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 875, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD3_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 877, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_LSHL_OR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 879, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_AND_OR_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 881, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_OR3_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 882, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAD_U32_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 883, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_MAD_I32_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 885, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_SUB_NC_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 886, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PERMLANE16_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 887, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PERMLANEX16_B32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 888, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SSRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_ADD_NC_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 895, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MAD_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 0, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MUL_LO_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 1, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_ADD_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 2, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_SUB_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 3, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_LSHLREV_B16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 4, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_LSHRREV_B16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 5, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_ASHRREV_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 6, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MAX_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 7, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MIN_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 8, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MAD_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 9, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_ADD_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 10, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_SUB_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 11, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MAX_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 12, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MIN_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 13, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_FMA_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 14, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_ADD_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 15, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MUL_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 16, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MIN_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 17, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_PK_MAX_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 18, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DOT2_F32_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 19, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DOT2_I32_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 20, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DOT2_U32_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 21, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DOT4_I32_I8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 22, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DOT4_U32_U8", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 23, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DOT8_I32_I4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 24, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_DOT8_U32_U4", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 25, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMA_MIX_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 32, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 32, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMA_MIXLO_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 33, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_FMA_MIXHI_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 11, opcode: 34, operands: &[Operand { field: Some("VDST"), ty: "OPR_VGPR", size: 16, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC2"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_F_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 0, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 0, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 1, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 1, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_EQ_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 2, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 2, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 3, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 3, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 4, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 4, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LG_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 5, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 5, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 6, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 6, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_O_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 7, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 7, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_U_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 8, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 8, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NGE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 9, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 9, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NLG_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 10, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 10, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NGT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 11, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 11, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NLE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 12, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 12, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NEQ_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 13, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 13, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NLT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 14, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 14, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_TRU_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 15, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 15, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMPX_F_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 16, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 16, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 17, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 17, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_EQ_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 18, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 18, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 19, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 19, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 20, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 20, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LG_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 21, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 21, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 22, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 22, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_O_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 23, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 23, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_U_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 24, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 24, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NGE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 25, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 25, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NLG_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 26, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 26, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NGT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 27, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 27, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NLE_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 28, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 28, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NEQ_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 29, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 29, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NLT_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 30, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 30, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_TRU_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 31, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 31, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMP_F_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 32, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 32, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 33, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 33, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_EQ_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 34, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 34, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 35, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 35, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 36, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 36, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LG_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 37, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 37, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 38, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 38, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_O_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 39, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 39, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_U_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 40, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 40, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NGE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 41, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 41, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NLG_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 42, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 42, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NGT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 43, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 43, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NLE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 44, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 44, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NEQ_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 45, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 45, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NLT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 46, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 46, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_TRU_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 47, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 47, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMPX_F_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 48, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 48, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 49, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 49, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_EQ_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 50, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 50, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 51, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 51, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 52, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 52, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LG_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 53, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 53, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 54, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 54, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_O_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 55, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 55, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_U_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 56, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 56, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NGE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 57, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 57, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NLG_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 58, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 58, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NGT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 59, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 59, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NLE_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 60, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 60, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NEQ_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 61, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 61, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NLT_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 62, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 62, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_TRU_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 63, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 63, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMP_F_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 128, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 128, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LT_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 129, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 129, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_EQ_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 130, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 130, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 131, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 131, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GT_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 132, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 132, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 133, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 133, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 134, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 134, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_T_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 135, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 135, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_CLASS_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 136, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 136, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LT_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 137, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 137, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_EQ_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 138, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 138, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LE_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 139, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 139, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GT_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 140, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 140, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NE_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 141, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 141, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GE_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 142, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 142, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_CLASS_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 143, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 143, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMPX_F_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 144, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 144, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LT_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 145, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 145, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_EQ_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 146, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 146, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 147, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 147, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GT_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 148, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 148, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 149, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 149, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GE_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 150, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 150, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_T_I32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 151, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 151, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_CLASS_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 152, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 152, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LT_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 153, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 153, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_EQ_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 154, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 154, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LE_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 155, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 155, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GT_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 156, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 156, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NE_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 157, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 157, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GE_I16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 158, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 158, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_CLASS_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 159, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 159, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMP_F_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 160, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 160, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LT_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 161, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 161, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_EQ_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 162, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 162, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LE_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 163, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 163, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GT_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 164, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 164, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NE_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 165, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 165, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GE_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 166, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 166, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_T_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 167, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 167, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_CLASS_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 168, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 168, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LT_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 169, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 169, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_EQ_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 170, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 170, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LE_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 171, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 171, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GT_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 172, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 172, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NE_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 173, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 173, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GE_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 174, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 174, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMPX_F_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 176, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 176, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LT_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 177, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 177, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_EQ_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 178, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 178, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LE_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 179, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 179, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GT_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 180, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 180, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NE_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 181, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 181, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GE_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 182, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 182, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_T_I64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 183, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 183, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_CLASS_F64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 184, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 184, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LT_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 185, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 185, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_EQ_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 186, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 186, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LE_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 187, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 187, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GT_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 188, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 188, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NE_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 189, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 189, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GE_U16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 190, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 190, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMP_F_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 192, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 192, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LT_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 193, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 193, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_EQ_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 194, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 194, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 195, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 195, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GT_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 196, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 196, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 197, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 197, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 198, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 198, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_T_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 199, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 199, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_F_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 200, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 200, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 201, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 201, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_EQ_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 202, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 202, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LE_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 203, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 203, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 204, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 204, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LG_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 205, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 205, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GE_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 206, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 206, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_O_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 207, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 207, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMPX_F_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 208, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 208, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LT_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 209, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 209, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_EQ_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 210, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 210, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 211, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 211, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GT_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 212, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 212, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 213, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 213, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GE_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 214, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 214, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_T_U32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 215, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 215, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 32, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 32, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_F_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 216, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 216, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 217, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 217, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_EQ_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 218, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 218, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LE_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 219, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 219, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 220, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 220, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LG_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 221, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 221, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GE_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 222, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 222, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_O_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 223, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 223, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMP_F_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 224, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 224, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LT_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 225, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 225, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_EQ_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 226, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 226, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_LE_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 227, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 227, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GT_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 228, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 228, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NE_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 229, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 229, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_GE_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 230, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 230, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_T_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 231, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 231, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_U_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 232, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 232, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NGE_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 233, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 233, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NLG_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 234, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 234, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NGT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 235, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 235, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NLE_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 236, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 236, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NEQ_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 237, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 237, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_NLT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 238, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 238, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMP_TRU_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 239, operands: &[Operand { field: Some("VDST"), ty: "OPR_SREG", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }] }, InstEnc { encoding: 7, opcode: 239, operands: &[Operand { field: None, ty: "OPR_VCC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }] }] }, + Inst { name: "V_CMPX_F_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 240, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 240, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LT_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 241, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 241, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_EQ_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 242, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 242, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_LE_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 243, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 243, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GT_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 244, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 244, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NE_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 245, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 245, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_GE_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 246, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 246, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_T_U64", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 247, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 247, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC_NOLDS", size: 64, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 64, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_U_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 248, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 248, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NGE_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 249, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 249, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NLG_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 250, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 250, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NGT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 251, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 251, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NLE_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 252, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 252, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NEQ_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 253, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 253, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_NLT_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 254, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 254, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, + Inst { name: "V_CMPX_TRU_F16", flags: 0, always_literal: false, encs: &[InstEnc { encoding: 10, opcode: 255, operands: &[Operand { field: Some("VDST"), ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("SRC1"), ty: "OPR_SRC_NOLDS", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }, InstEnc { encoding: 7, opcode: 255, operands: &[Operand { field: None, ty: "OPR_EXEC", size: 64, input: false, output: true, implicit: false }, Operand { field: Some("SRC0"), ty: "OPR_SRC", size: 16, input: true, output: false, implicit: false }, Operand { field: Some("VSRC1"), ty: "OPR_VGPR", size: 16, input: true, output: false, implicit: false }, Operand { field: None, ty: "OPR_SDST_EXEC", size: 64, input: false, output: true, implicit: true }] }] }, +]; diff --git a/crates/xcl/src/gpu/rdna2_xbox.rs b/crates/xcl/src/gpu/rdna2_xbox.rs new file mode 100644 index 0000000..924f426 --- /dev/null +++ b/crates/xcl/src/gpu/rdna2_xbox.rs @@ -0,0 +1,54 @@ +//! Instructions the Xbox Series GPU executes that the retail RDNA2 (gfx10.3) spec does +//! not list. +//! +//! Found in retail console shaders (1.3% of all dwords were undecodable before): the +//! console GPU kept the non-fused multiply-add family of gfx10.1 (RDNA1), which +//! gfx10.3 removed. Opcodes and operand layouts follow gfx10.1 (LLVM `VOP2Instructions.td` +//! / `VOP3Instructions.td`); they occupy opcodes that are unassigned in gfx10.3, so the +//! spec tables always take priority. +//! +//! Note: opcode VOP2 0x06 / VOP3 0x140 are V_MAC_LEGACY_F32 / V_MAD_LEGACY_F32 on gfx10.1 +//! but V_FMAC_LEGACY_F32 / V_FMA_LEGACY_F32 (fused) on gfx10.3; the decoder names them +//! after the spec, the recompiler must decide the rounding behaviour. + +use super::rdna2::{Inst, InstEnc, Operand}; + +/// encoding indices in `rdna2_spec::ENCODINGS` +const ENC_VOP2: u16 = 8; +const ENC_VOP3: u16 = 10; + +const fn op(field: &'static str, ty: &'static str, output: bool) -> Operand { + Operand { field: Some(field), ty, size: 32, input: !output, output, implicit: false } +} + +const VOP2_VDST_SRC0_VSRC1: &[Operand] = &[op("VDST", "OPR_VGPR", true), op("SRC0", "OPR_SRC", false), op("VSRC1", "OPR_VGPR", false)]; +const VOP3_VDST_SRC0_SRC1: &[Operand] = &[op("VDST", "OPR_VGPR", true), op("SRC0", "OPR_SRC", false), op("SRC1", "OPR_SRC_NOLDS", false)]; +const VOP3_VDST_SRC012: &[Operand] = &[ + op("VDST", "OPR_VGPR", true), + op("SRC0", "OPR_SRC", false), + op("SRC1", "OPR_SRC_NOLDS", false), + op("SRC2", "OPR_SRC_NOLDS", false), +]; +const MADMK: &[Operand] = + &[op("VDST", "OPR_VGPR", true), op("SRC0", "OPR_SRC", false), op("LITERAL", "OPR_SIMM32", false), op("VSRC1", "OPR_VGPR", false)]; +const MADAK: &[Operand] = + &[op("VDST", "OPR_VGPR", true), op("SRC0", "OPR_SRC", false), op("VSRC1", "OPR_VGPR", false), op("LITERAL", "OPR_SIMM32", false)]; + +pub static CONSOLE_INSTRUCTIONS: &[Inst] = &[ + // D = S0 * S1 + D (not fused) + Inst { + name: "V_MAC_F32", + flags: 0, + always_literal: false, + encs: &[ + InstEnc { encoding: ENC_VOP2, opcode: 0x1f, operands: VOP2_VDST_SRC0_VSRC1 }, + InstEnc { encoding: ENC_VOP3, opcode: 0x11f, operands: VOP3_VDST_SRC0_SRC1 }, + ], + }, + // D = S0 * K + S1 + Inst { name: "V_MADMK_F32", flags: 0, always_literal: true, encs: &[InstEnc { encoding: ENC_VOP2, opcode: 0x20, operands: MADMK }] }, + // D = S0 * S1 + K + Inst { name: "V_MADAK_F32", flags: 0, always_literal: true, encs: &[InstEnc { encoding: ENC_VOP2, opcode: 0x21, operands: MADAK }] }, + // D = S0 * S1 + S2 (not fused) + Inst { name: "V_MAD_F32", flags: 0, always_literal: false, encs: &[InstEnc { encoding: ENC_VOP3, opcode: 0x141, operands: VOP3_VDST_SRC012 }] }, +]; diff --git a/crates/xcl/src/gpu/recomp/dxc.rs b/crates/xcl/src/gpu/recomp/dxc.rs new file mode 100644 index 0000000..aba1bc6 --- /dev/null +++ b/crates/xcl/src/gpu/recomp/dxc.rs @@ -0,0 +1,193 @@ +//! In-process HLSL → DXIL compilation with DXC. +//! +//! `dxcompiler.dll` is not part of Windows, so it is loaded at run time from +//! `%XCL_DXC_DIR%`, the folder of xcl.exe, or the newest Windows SDK +//! (`Windows Kits\10\bin\<ver>\x64`). `dxil.dll` from the same folder is loaded first so +//! the compiler can sign the DXIL (unsigned DXIL is rejected by D3D12). + +use std::cell::RefCell; +use std::ffi::c_void; +use std::path::{Path, PathBuf}; +use std::sync::OnceLock; + +use windows::core::{Interface, GUID, HRESULT, PCWSTR}; +use windows::Win32::Graphics::Direct3D::Dxc::{DxcBuffer, IDxcBlob, IDxcCompiler3, IDxcResult, CLSID_DxcCompiler, DXC_CP_UTF8}; + +type CreateInstance = unsafe extern "system" fn(*const GUID, *const GUID, *mut *mut c_void) -> HRESULT; + +fn candidates() -> Vec<PathBuf> { + let mut v = Vec::new(); + if let Some(d) = std::env::var_os("XCL_DXC_DIR") { + v.push(PathBuf::from(d)); + } + if let Some(d) = std::env::current_exe().ok().and_then(|p| p.parent().map(Path::to_path_buf)) { + v.push(d); + } + for root in [r"C:\Program Files (x86)\Windows Kits\10\bin", r"C:\Program Files\Windows Kits\10\bin"] { + if let Ok(rd) = std::fs::read_dir(root) { + let mut vers: Vec<PathBuf> = rd.flatten().map(|e| e.path()).filter(|p| p.is_dir()).collect(); + vers.sort(); + for ver in vers.into_iter().rev() { + v.push(ver.join("x64")); + } + } + } + v +} + +static LIB: OnceLock<Result<(PathBuf, usize), String>> = OnceLock::new(); + +/// Folder with dxcompiler.dll (+ dxil.dll) that will be used. +pub fn location() -> Result<&'static Path, String> { + load().map(|(p, _)| p.as_path()) +} + +fn load() -> Result<&'static (PathBuf, usize), String> { + LIB.get_or_init(|| { + use windows_sys::Win32::System::LibraryLoader::{GetProcAddress, LoadLibraryW}; + for dir in candidates() { + let dxc = dir.join("dxcompiler.dll"); + if !dxc.is_file() { + continue; + } + unsafe { + let dxil = dir.join("dxil.dll"); + if dxil.is_file() { + LoadLibraryW(crate::util::wide(&dxil.to_string_lossy()).as_ptr()); + } + let h = LoadLibraryW(crate::util::wide(&dxc.to_string_lossy()).as_ptr()); + if h.is_null() { + continue; + } + if let Some(f) = GetProcAddress(h, b"DxcCreateInstance\0".as_ptr()) { + return Ok((dir, f as usize)); + } + } + } + Err("nie znaleziono dxcompiler.dll (ustaw XCL_DXC_DIR albo zainstaluj Windows SDK)".into()) + }) + .as_ref() + .map_err(|e| e.clone()) +} + +fn create_fn() -> Result<CreateInstance, String> { + let &(_, f) = load()?; + Ok(unsafe { std::mem::transmute::<usize, CreateInstance>(f) }) +} + +thread_local! { + static COMPILER: RefCell<Option<IDxcCompiler3>> = const { RefCell::new(None) }; +} + +fn compiler() -> Result<IDxcCompiler3, String> { + COMPILER.with(|c| { + if let Some(x) = c.borrow().as_ref() { + return Ok(x.clone()); + } + let create = create_fn()?; + let mut p = std::ptr::null_mut(); + let hr = unsafe { create(&CLSID_DxcCompiler, &IDxcCompiler3::IID, &mut p) }; + if hr.is_err() || p.is_null() { + return Err(format!("DxcCreateInstance: {hr:?}")); + } + let x = unsafe { IDxcCompiler3::from_raw(p) }; + *c.borrow_mut() = Some(x.clone()); + Ok(x) + }) +} + +/// Compile HLSL to signed DXIL. `profile` e.g. "cs_6_6"; `extra` are dxc arguments. +pub fn compile(src: &str, entry: &str, profile: &str, extra: &[&str]) -> Result<Vec<u8>, String> { + let c = compiler()?; + let mut args: Vec<Vec<u16>> = ["-E", entry, "-T", profile, "-HV", "2021"].iter().map(|a| crate::util::wide(a)).collect(); + // DXC's optimiser is superlinear on big translated programs (1.2 MB HLSL: 140 s at + // -O1..-O3, 5 s at -O0); the driver optimises the DXIL again anyway + if src.len() > 256 * 1024 && !extra.iter().any(|a| a.starts_with("-O")) { + args.push(crate::util::wide("-O0")); + } + args.extend(extra.iter().map(|a| crate::util::wide(a))); + let ptrs: Vec<PCWSTR> = args.iter().map(|a| PCWSTR(a.as_ptr())).collect(); + let buf = DxcBuffer { Ptr: src.as_ptr() as *const c_void, Size: src.len(), Encoding: DXC_CP_UTF8.0 }; + unsafe { + let r: IDxcResult = c.Compile(&buf, Some(&ptrs), None).map_err(|e| format!("Compile: {e}"))?; + let status = r.GetStatus().map_err(|e| format!("{e}"))?; + if status.is_err() { + let msg = r + .GetErrorBuffer() + .ok() + .map(|b| { + let s = std::slice::from_raw_parts(b.GetBufferPointer() as *const u8, b.GetBufferSize()); + String::from_utf8_lossy(s).trim_end_matches('\0').to_string() + }) + .unwrap_or_default(); + return Err(format!("dxc: {msg}")); + } + let blob: IDxcBlob = r.GetResult().map_err(|e| format!("{e}"))?; + Ok(std::slice::from_raw_parts(blob.GetBufferPointer() as *const u8, blob.GetBufferSize()).to_vec()) + } +} + +/// FNV-1a 64 of the inputs that determine the DXIL. +fn cache_key(src: &str, entry: &str, profile: &str) -> u64 { + let mut h = 0xcbf2_9ce4_8422_2325u64; + for part in [env!("CARGO_PKG_VERSION"), profile, entry, src] { + for b in part.bytes().chain([0u8]) { + h ^= b as u64; + h = h.wrapping_mul(0x100_0000_01b3); + } + } + h +} + +/// Folder of the DXIL cache: `XCL_DXIL_CACHE`, else `%LOCALAPPDATA%\xcl\dxil`. +pub fn cache_dir() -> PathBuf { + if let Ok(d) = std::env::var("XCL_DXIL_CACHE") { + return PathBuf::from(d); + } + let base = std::env::var("LOCALAPPDATA").map(PathBuf::from).unwrap_or_else(|_| std::env::temp_dir()); + base.join("xcl").join("dxil") +} + +/// `compile` through a disk cache in `dir` (big translated programs take seconds in DXC; +/// the same console shader comes back every run). Returns (DXIL, from cache). +pub fn compile_cached_in(dir: &Path, src: &str, entry: &str, profile: &str) -> Result<(Vec<u8>, bool), String> { + let file = dir.join(format!("{:016x}.dxil", cache_key(src, entry, profile))); + if let Ok(b) = std::fs::read(&file) { + if !b.is_empty() { + return Ok((b, true)); + } + } + let b = compile(src, entry, profile, &[])?; + if std::fs::create_dir_all(dir).is_ok() { + // write to a temporary name first: another thread / process may be reading + let tmp = file.with_extension(format!("tmp{}", std::process::id())); + if std::fs::write(&tmp, &b).is_ok() && std::fs::rename(&tmp, &file).is_err() { + let _ = std::fs::remove_file(&tmp); + } + } + Ok((b, false)) +} + +pub fn compile_cached(src: &str, entry: &str, profile: &str) -> Result<(Vec<u8>, bool), String> { + compile_cached_in(&cache_dir(), src, entry, profile) +} + +#[cfg(test)] +mod cache_tests { + use super::*; + + #[test] + fn dxil_cache_round_trip() { + if location().is_err() { + return; + } + let dir = std::env::temp_dir().join(format!("xcl-dxil-test-{}", std::process::id())); + let src = "[numthreads(1, 1, 1)] void main() {}"; + let (a, hit) = compile_cached_in(&dir, src, "main", "cs_6_6").unwrap(); + assert!(!hit); + let (b, hit) = compile_cached_in(&dir, src, "main", "cs_6_6").unwrap(); + assert!(hit && a == b); + assert_ne!(cache_key(src, "main", "cs_6_6"), cache_key(src, "main", "cs_6_7")); + let _ = std::fs::remove_dir_all(&dir); + } +} diff --git a/crates/xcl/src/gpu/recomp/emit.rs b/crates/xcl/src/gpu/recomp/emit.rs new file mode 100644 index 0000000..b6e61b4 --- /dev/null +++ b/crates/xcl/src/gpu/recomp/emit.rs @@ -0,0 +1,3142 @@ +//! Instruction semantics: one RDNA2 instruction → HLSL statements. + +use std::collections::{BTreeMap, BTreeSet}; +use std::fmt::Write as _; + +use super::{ps_input_vgpr, ranked, Mode, MsInterface, Options, KERNEL_EXPORTS, KERNEL_LANES, KERNEL_SCC_SLOT, KERNEL_SGPRS, KERNEL_VGPRS, MESH_HEADER}; +use crate::gpu::dxbc::SigElement; +use crate::gpu::rdna2::{self, Decoded, Encoding, Operand, Variant}; + +pub(super) enum Flow { + Next, + Jump(u64), + Cond(String, u64), + End, +} + +pub(super) struct Em { + opt: Options, + out: String, + pub indent: usize, + sgprs: BTreeSet<u64>, + vgprs: BTreeSet<u64>, + pub unsupported: BTreeMap<String, usize>, + /// "mnemonic: reason" → count + pub unsupported_why: BTreeMap<String, usize>, + pub ignored: BTreeMap<String, usize>, + tmp: usize, + /// extra write enable of the current DPP16 instruction + dpp_enable: Option<String>, + /// PS: interpolation modifier per attribute ("", "centroid", "nointerpolation" …) + pub ps_modes: BTreeMap<u32, String>, + /// PS: an export with DONE was emitted (lanes without it are discarded) + ps_done: bool, + /// LDS used (compute): declare the groupshared array + uses_lds: bool, + /// highest VGPR the program references (v_movrel* ranges) + pub max_vgpr: u64, +} + +/// Instructions without an effect in this execution model. +const NOOPS: &[&str] = &[ + "s_nop", "s_waitcnt", "s_waitcnt_vscnt", "s_waitcnt_vmcnt", "s_waitcnt_expcnt", "s_waitcnt_lgkmcnt", "s_waitcnt_depctr", + "s_inst_prefetch", "s_clause", "s_code_end", "s_setprio", "s_sleep", "s_icache_inv", "s_dcache_inv", "s_gl1_inv", "s_ttracedata", + "s_ttracedata_imm", "v_nop", "s_denorm_mode", "s_round_mode", "s_setreg_imm32_b32", "s_setreg_b32", "s_sendmsg", "s_sendmsghalt", + "s_set_gpr_idx_off", "s_version", +]; + +fn sname(code: u64) -> Option<String> { + Some(match code { + 0..=105 => format!("s{code}"), + 106 => "vcc_lo".into(), + 107 => "vcc_hi".into(), + 108..=123 => format!("ttmp{}", code - 108), + 124 => "m0".into(), + 126 => "exec_lo".into(), + 127 => "exec_hi".into(), + _ => return None, + }) +} + +fn f32_const(code: u64) -> Option<f32> { + Some(match code { + 240 => 0.5, + 241 => -0.5, + 242 => 1.0, + 243 => -1.0, + 244 => 2.0, + 245 => -2.0, + 246 => 4.0, + 247 => -4.0, + 248 => 0.159_154_94, + _ => return None, + }) +} + +fn f16_const(code: u64) -> Option<u32> { + Some(match code { + 240 => 0x3800, + 241 => 0xB800, + 242 => 0x3C00, + 243 => 0xBC00, + 244 => 0x4000, + 245 => 0xC000, + 246 => 0x4400, + 247 => 0xC400, + 248 => 0x3118, + _ => return None, + }) +} + +fn hex(v: u32) -> String { + format!("0x{v:08X}u") +} + +#[derive(Default, Clone, Copy)] +struct Mods { + abs: [bool; 3], + neg: [bool; 3], + omod: u64, + clamp: bool, + opsel: u64, +} + +/// Layout of the SDWA / DPP extension dword for this instruction's base encoding. +fn ext_encoding(d: &Decoded) -> Option<&'static Encoding> { + let base = match d.enc.name { + "ENC_VOP1" => "VOP1", + "ENC_VOP2" => "VOP2", + "ENC_VOPC" => "VOPC", + _ => return None, + }; + let name = match (d.variant, base) { + (Variant::Sdwa, "VOPC") => "VOPC_VOP_SDWA_SDST_ENC".to_string(), + (Variant::Sdwa, b) => format!("{b}_VOP_SDWA"), + (Variant::Dpp16, b) => format!("{b}_VOP_DPP16"), + (Variant::Dpp8, b) => format!("{b}_VOP_DPP8"), + _ => return None, + }; + rdna2::encoding(&name) +} + +/// Source lane of a DPP16 control (−1: no source), as an HLSL expression. +fn dpp16_src(ctrl: u64) -> Option<String> { + let n = ctrl & 15; + Some(match ctrl { + 0x000..=0x0FF => format!("(int)((lane_id & ~3u) | (({ctrl}u >> (2u * (lane_id & 3u))) & 3u))"), + 0x101..=0x10F => format!("(((lane_id & 15u) + {n}u < 16u) ? (int)(lane_id + {n}u) : -1)"), + 0x111..=0x11F => format!("(((lane_id & 15u) >= {n}u) ? (int)(lane_id - {n}u) : -1)"), + 0x121..=0x12F => format!("(int)((lane_id & ~15u) | (((lane_id & 15u) - {n}u) & 15u))"), + 0x140 => "(int)((lane_id & ~15u) | (15u - (lane_id & 15u)))".into(), + 0x141 => "(int)((lane_id & ~15u) | (lane_id & 8u) | (7u - (lane_id & 7u)))".into(), + 0x150..=0x15F => format!("(int)((lane_id & ~15u) | {n}u)"), + 0x160..=0x16F => format!("(int)(lane_id ^ {n}u)"), + _ => return None, + }) +} + +#[derive(Clone, Copy, PartialEq, Eq)] +enum BufKind { + Load, + Store, + FormatLoad, + FormatStore, +} + +fn buffer_op(name: &str) -> Option<(BufKind, u64)> { + let n = |suffix: &str| -> Option<u64> { + Some(match suffix { + "dword" | "x" => 1, + "dwordx2" | "xy" => 2, + "dwordx3" | "xyz" => 3, + "dwordx4" | "xyzw" => 4, + _ => return None, + }) + }; + if let Some(r) = name.strip_prefix("buffer_load_format_").or_else(|| name.strip_prefix("tbuffer_load_format_")) { + return Some((BufKind::FormatLoad, n(r)?)); + } + if let Some(r) = name.strip_prefix("buffer_store_format_").or_else(|| name.strip_prefix("tbuffer_store_format_")) { + return Some((BufKind::FormatStore, n(r)?)); + } + if let Some(r) = name.strip_prefix("buffer_load_") { + return Some((BufKind::Load, n(r)?)); + } + if let Some(r) = name.strip_prefix("buffer_store_") { + return Some((BufKind::Store, n(r)?)); + } + None +} + +/// GFX10 unified buffer formats (index = FORMAT value; LLVM `UfmtSymbolicGFX10`). +pub const BUF_FORMATS: [&str; 78] = [ + "INVALID", "8_UNORM", "8_SNORM", "8_USCALED", "8_SSCALED", "8_UINT", "8_SINT", "16_UNORM", "16_SNORM", "16_USCALED", + "16_SSCALED", "16_UINT", "16_SINT", "16_FLOAT", "8_8_UNORM", "8_8_SNORM", "8_8_USCALED", "8_8_SSCALED", "8_8_UINT", "8_8_SINT", + "32_UINT", "32_SINT", "32_FLOAT", "16_16_UNORM", "16_16_SNORM", "16_16_USCALED", "16_16_SSCALED", "16_16_UINT", "16_16_SINT", + "16_16_FLOAT", "10_11_11_UNORM", "10_11_11_SNORM", "10_11_11_USCALED", "10_11_11_SSCALED", "10_11_11_UINT", "10_11_11_SINT", + "10_11_11_FLOAT", "11_11_10_UNORM", "11_11_10_SNORM", "11_11_10_USCALED", "11_11_10_SSCALED", "11_11_10_UINT", "11_11_10_SINT", + "11_11_10_FLOAT", "10_10_10_2_UNORM", "10_10_10_2_SNORM", "10_10_10_2_USCALED", "10_10_10_2_SSCALED", "10_10_10_2_UINT", + "10_10_10_2_SINT", "2_10_10_10_UNORM", "2_10_10_10_SNORM", "2_10_10_10_USCALED", "2_10_10_10_SSCALED", "2_10_10_10_UINT", + "2_10_10_10_SINT", "8_8_8_8_UNORM", "8_8_8_8_SNORM", "8_8_8_8_USCALED", "8_8_8_8_SSCALED", "8_8_8_8_UINT", "8_8_8_8_SINT", + "32_32_UINT", "32_32_SINT", "32_32_FLOAT", "16_16_16_16_UNORM", "16_16_16_16_SNORM", "16_16_16_16_USCALED", + "16_16_16_16_SSCALED", "16_16_16_16_UINT", "16_16_16_16_SINT", "16_16_16_16_FLOAT", "32_32_32_UINT", "32_32_32_SINT", + "32_32_32_FLOAT", "32_32_32_32_UINT", "32_32_32_32_SINT", "32_32_32_32_FLOAT", +]; + +/// Packed format info for the HLSL table: component count [2:0], numeric type [5:3] +/// (0 unorm, 1 snorm, 2 uscaled, 3 sscaled, 4 uint, 5 sint, 6 float), component widths +/// (x first = least significant bits; names list the most significant component first) +/// at [8 + 6k +: 6]. +pub fn buf_format_info(idx: usize) -> u32 { + let name = BUF_FORMATS[idx]; + let Some((sizes, ty)) = name.rsplit_once('_') else { return 0 }; + let ty = match ty { + "UNORM" => 0, + "SNORM" => 1, + "USCALED" => 2, + "SSCALED" => 3, + "UINT" => 4, + "SINT" => 5, + "FLOAT" => 6, + _ => return 0, + }; + let mut w: Vec<u32> = sizes.split('_').filter_map(|x| x.parse().ok()).collect(); + w.reverse(); + let mut info = w.len() as u32 | ty << 3; + for (k, x) in w.iter().enumerate() { + info |= x << (8 + 6 * k); + } + info +} + +/// A destination register (pair). +#[derive(Clone)] +enum Dst { + V(u64), + S(u64), + Null, +} + +impl Em { + pub fn new(opt: Options) -> Self { + Em { + opt, + out: String::new(), + indent: 1, + sgprs: BTreeSet::new(), + vgprs: BTreeSet::new(), + unsupported: BTreeMap::new(), + unsupported_why: BTreeMap::new(), + ignored: BTreeMap::new(), + tmp: 0, + dpp_enable: None, + ps_modes: BTreeMap::new(), + ps_done: false, + uses_lds: false, + max_vgpr: 0, + } + } + + pub fn take(&mut self) -> String { + std::mem::take(&mut self.out) + } + + fn line(&mut self, s: &str) { + for _ in 0..self.indent { + self.out.push_str(" "); + } + self.out.push_str(s); + self.out.push('\n'); + } + + fn t(&mut self) -> String { + self.tmp += 1; + format!("t{}", self.tmp) + } + + fn act(&self) -> &'static str { + if self.opt.wave64 { + "lanebit(exec_lo, exec_hi)" + } else { + "lanebit(exec_lo, 0u)" + } + } + + fn unsupported(&mut self, d: &Decoded, why: &str) { + let m = rdna2::mnemonic(d); + *self.unsupported_why.entry(format!("{m}: {why}")).or_default() += 1; + *self.unsupported.entry(m).or_default() += 1; + let txt = rdna2::format(d); + self.line(&format!("/* NIEOBSŁUGIWANE ({why}): {txt} */")); + } + + // ---------------------------------------------------------------- registers + + fn sreg(&mut self, code: u64) -> String { + match sname(code) { + Some(n) => { + self.sgprs.insert(code); + n + } + None => "0u".into(), + } + } + + fn vreg(&mut self, n: u64) -> String { + self.vgprs.insert(n); + format!("v{n}") + } + + /// 32-bit value of a scalar source code (0..255) or VALU source (256+ = VGPR). + fn code32(&mut self, code: u64, lit: Option<u32>, f16: bool) -> Option<String> { + Some(match code { + 0..=124 | 126 | 127 => self.sreg(code), + 125 => "0u".into(), + 128..=192 => format!("{}u", code - 128), + 193..=208 => hex((-((code - 192) as i64)) as u32), + 240..=248 => { + if f16 { + hex(f16_const(code)?) + } else { + hex(f32_const(code)?.to_bits()) + } + } + 251 => { + let (l, h) = (self.sreg(106), self.sreg(107)); + format!("((({l} | {h}) == 0u) ? 1u : 0u)") + } + 252 => { + let (l, h) = (self.sreg(126), self.sreg(127)); + format!("((({l} | {h}) == 0u) ? 1u : 0u)") + } + 253 => "scc".into(), + 255 => hex(lit?), + 256..=511 => self.vreg(code - 256), + // flat apertures (shared/private base and limit): the flat memory model has none + 235..=238 => "0u".into(), + // POPS exiting wave id: every overlapping earlier wave has already left, so the + // ordered-section wait passes at once (no ROV ordering yet – known limitation) + 239 => "0x7FFFFFFFu".into(), + _ => return None, + }) + } + + /// 64-bit value (lo, hi) of a scalar source code. + fn code64(&mut self, code: u64, lit: Option<u32>) -> Option<(String, String)> { + Some(match code { + 0..=123 | 126 => (self.sreg(code), self.sreg(code + 1)), + 125 => ("0u".into(), "0u".into()), + 128..=192 => (format!("{}u", code - 128), "0u".into()), + 193..=208 => (hex((-((code - 192) as i64)) as u32), hex(0xFFFF_FFFF)), + 248 => (hex(0x6DC9_C882), hex(0x3FC4_5F30)), // 1/(2*pi) as a double + 240..=247 => { + let b = (f32_const(code)? as f64).to_bits(); + (hex(b as u32), hex((b >> 32) as u32)) + } + 253 => ("scc".into(), "0u".into()), + 255 => (hex(lit?), "0u".into()), + 256..=510 => (self.vreg(code - 256), self.vreg(code - 255)), + _ => return None, + }) + } + + fn field(d: &Decoded, f: &str) -> u64 { + rdna2::field_value(d.enc, &d.words, f).unwrap_or(0) * rdna2::register_scale(f) + } + + /// Value of an input operand as one 32-bit expression. + fn read(&mut self, d: &Decoded, o: &Operand, f16: bool) -> Option<String> { + match o.field { + Some("LITERAL") => Some(hex(d.literal?)), + Some(f) => { + let v = Self::field(d, f); + let width = d.enc.field_width(f); + if o.ty.starts_with("OPR_VGPR") && width <= 8 { + return Some(self.vreg(v)); + } + match o.ty { + "OPR_SIMM16" => Some(format!("{}u", v)), + "OPR_SIMM32" => Some(hex(d.literal?)), + _ if width >= 9 => self.code32(v, d.literal, f16), + _ => self.code32(v, d.literal, f16), + } + } + None => match o.ty { + "OPR_VCC" => Some(self.sreg(106)), + "OPR_EXEC" | "OPR_SDST_EXEC" => Some(self.sreg(126)), + "OPR_SDST_M0" => Some(self.sreg(124)), + "OPR_SSRC_SPECIAL_SCC" => Some("scc".into()), + _ => None, + }, + } + } + + fn read64(&mut self, d: &Decoded, o: &Operand) -> Option<(String, String)> { + match o.field { + Some(f) => { + let v = Self::field(d, f); + if o.ty.starts_with("OPR_VGPR") && d.enc.field_width(f) <= 8 { + return Some((self.vreg(v), self.vreg(v + 1))); + } + self.code64(v, d.literal) + } + None => match o.ty { + "OPR_VCC" => Some((self.sreg(106), self.sreg(107))), + "OPR_EXEC" | "OPR_SDST_EXEC" => Some((self.sreg(126), self.sreg(127))), + _ => None, + }, + } + } + + fn dst_of(d: &Decoded, o: &Operand) -> Dst { + match o.field { + Some(f) => { + let v = Self::field(d, f); + match o.ty { + "OPR_EXEC" => Dst::S(126), + "OPR_VCC" => Dst::S(106), + t if t.starts_with("OPR_VGPR") => Dst::V(v), + _ if v == 125 => Dst::Null, + _ if v > 127 => Dst::Null, + _ => Dst::S(v), + } + } + None => match o.ty { + "OPR_VCC" => Dst::S(106), + "OPR_EXEC" => Dst::S(126), + _ => Dst::Null, + }, + } + } + + /// Explicit operands: (outputs, inputs) in spec order. + fn ops(d: &Decoded) -> (Vec<&'static Operand>, Vec<&'static Operand>) { + let mut outs = Vec::new(); + let mut ins = Vec::new(); + for o in d.ienc.operands { + if o.implicit && !(o.field.is_none() && o.ty == "OPR_VCC") { + continue; + } + if o.output { + outs.push(o); + } else if o.input { + ins.push(o); + } + } + (outs, ins) + } + + fn write32(&mut self, dst: &Dst, val: &str) { + match dst { + Dst::V(n) => { + let v = self.vreg(*n); + let a = self.act(); + self.line(&format!("if ({a}) {v} = {val};")); + } + Dst::S(n) => { + let s = self.sreg(*n); + self.line(&format!("{s} = {val};")); + } + Dst::Null => {} + } + } + + fn write64(&mut self, dst: &Dst, lo: &str, hi: &str) { + match dst { + Dst::V(n) => { + let (a, b) = (self.vreg(*n), self.vreg(*n + 1)); + let act = self.act(); + self.line(&format!("if ({act}) {{ {a} = {lo}; {b} = {hi}; }}")); + } + Dst::S(n) => { + let (a, b) = (self.sreg(*n), self.sreg(*n + 1)); + self.line(&format!("{a} = {lo}; {b} = {hi};")); + } + Dst::Null => {} + } + } + + /// Lane mask from a per-lane condition (inactive lanes give 0) into a register pair. + fn write_mask(&mut self, dst: &Dst, cond: &str) { + let a = self.act(); + let m = self.t(); + self.line(&format!("uint2 {m} = ballot({a} && ({cond}));")); + if self.opt.wave64 { + self.write64(dst, &format!("{m}.x"), &format!("{m}.y")); + } else { + self.write32(dst, &format!("{m}.x")); + } + } + + fn lane_of(&mut self, lo: &str, hi: &str) -> String { + if self.opt.wave64 { + format!("lanebit({lo}, {hi})") + } else { + format!("lanebit({lo}, 0u)") + } + } + + // ---------------------------------------------------------------- one instruction + + pub fn inst(&mut self, d: &Decoded, next: u64) -> Flow { + let name = d.inst.name.to_ascii_lowercase(); + let text = rdna2::format(d); + self.line(&format!("// {:04x}: {text}", d.pc)); + // s_sendmsg is a no-op except GS_ALLOC_REQ in the mesh mode (handled in sopp) + let mesh_msg = name == "s_sendmsg" && matches!(self.opt.mode, Mode::Mesh(_)); + if NOOPS.contains(&name.as_str()) && !mesh_msg { + *self.ignored.entry(name).or_default() += 1; + return Flow::Next; + } + let r = match d.enc.name { + "ENC_SOPP" => return self.sopp(d, &name, next), + "ENC_SOP1" | "ENC_SOP2" | "ENC_SOPC" | "ENC_SOPK" => self.salu(d, &name), + "ENC_SMEM" => self.smem(d, &name), + "ENC_MUBUF" | "ENC_MTBUF" => self.mubuf(d, &name), + "ENC_EXP" => self.export(d), + "ENC_DS" => self.ds(d, &name), + "ENC_VINTRP" => self.interp(d, &name), + "ENC_MIMG" => self.mimg(d, &name), + "ENC_FLAT" | "ENC_FLAT_GLBL" => self.flat(d, &name), + e if e.starts_with("ENC_VOP") || e.starts_with("VOP") => self.valu(d, &name), + _ => Err("kodowanie"), + }; + if let Err(why) = r { + self.unsupported(d, why); + } + Flow::Next + } + + fn sopp(&mut self, d: &Decoded, name: &str, _next: u64) -> Flow { + let vccz = |s: &mut Self| { + let (l, h) = (s.sreg(106), s.sreg(107)); + if s.opt.wave64 { + format!("({l} | {h}) == 0u") + } else { + format!("{l} == 0u") + } + }; + let execz = |s: &mut Self| { + let (l, h) = (s.sreg(126), s.sreg(127)); + if s.opt.wave64 { + format!("({l} | {h}) == 0u") + } else { + format!("{l} == 0u") + } + }; + match name { + "s_endpgm" | "s_endpgm_saved" | "s_endpgm_ordered_ps_done" => Flow::End, + "s_barrier" => { + if matches!(self.opt.mode, Mode::Kernel | Mode::Mesh(_)) { + self.line("GroupMemoryBarrierWithGroupSync();"); + } + Flow::Next + } + "s_sendmsg" if matches!(self.opt.mode, Mode::Mesh(_)) => { + // GS_ALLOC_REQ: M0 = primitives << 12 | vertices (scalar: whatever EXEC is) + if rdna2::field_value(d.enc, &d.words, "SIMM16").unwrap_or(0) & 0xF == 9 { + let m0 = self.sreg(124); + self.line(&format!( + "if (lane_id == 0u) {{ res.Store(xcl_rec * 4u, {m0} & 0x3FFu); res.Store(xcl_rec * 4u + 4u, ({m0} >> 12) & 0x7FFu); }}" + )); + } + Flow::Next + } + _ => { + let Some(t) = rdna2::branch_target(d) else { + if NOOPS.contains(&name) { + return Flow::Next; + } + self.unsupported(d, "SOPP"); + return Flow::Next; + }; + match name { + "s_branch" => Flow::Jump(t), + "s_cbranch_scc0" => Flow::Cond("scc == 0u".into(), t), + "s_cbranch_scc1" => Flow::Cond("scc != 0u".into(), t), + "s_cbranch_vccz" => Flow::Cond(vccz(self), t), + "s_cbranch_vccnz" => Flow::Cond(format!("!({})", vccz(self)), t), + "s_cbranch_execz" => Flow::Cond(execz(self), t), + "s_cbranch_execnz" => Flow::Cond(format!("!({})", execz(self)), t), + _ => { + self.unsupported(d, "skok warunkowy"); + Flow::Next + } + } + } + } + } + + // ---------------------------------------------------------------- scalar ALU + + fn salu(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + let (outs, ins) = Self::ops(d); + let wide = name.ends_with("_b64") || name.ends_with("_u64") || name.ends_with("_i64"); + let dst = outs.first().map(|o| Self::dst_of(d, o)).unwrap_or(Dst::Null); + let simm = || rdna2::field_value(d.enc, &d.words, "SIMM16").unwrap_or(0) as u16; + let base = name.trim_end_matches("_b32").trim_end_matches("_b64"); + // SOPK: SDST is also the first source + if d.enc.name == "ENC_SOPK" { + let k_s = simm() as i16 as i32 as u32; + let k_u = simm() as u32; + let sd = Self::field(d, "SDST"); + let cur = self.code32(sd, None, false).ok_or("rejestr")?; + let dst = Dst::S(sd); + match name { + "s_movk_i32" => self.write32(&dst, &hex(k_s)), + "s_cmovk_i32" => self.write32(&dst, &format!("(scc != 0u) ? {} : {cur}", hex(k_s))), + "s_addk_i32" => { + let t = self.t(); + self.line(&format!("uint {t} = {cur} + {};", hex(k_s))); + self.line(&format!("scc = ((({cur} ^ {t}) & ({} ^ {t})) >> 31);", hex(k_s))); + self.write32(&dst, &t); + } + "s_mulk_i32" => self.write32(&dst, &format!("(uint)((int){cur} * {})", k_s as i32)), + _ if name.starts_with("s_cmpk_") => { + let (op, signed) = cmp_op(&name[7..]).ok_or("porównanie")?; + let (a, b) = if signed { (format!("(int){cur}"), format!("{}", k_s as i32)) } else { (cur.clone(), format!("{k_u}u")) }; + self.line(&format!("scc = ({a} {op} {b}) ? 1u : 0u;")); + } + _ => return Err("SOPK"), + } + return Ok(()); + } + if d.enc.name == "ENC_SOPC" { + let a64 = name.ends_with("_u64"); + if a64 { + let (a, b) = (self.read64(d, ins[0]).ok_or("op")?, self.read64(d, ins[1]).ok_or("op")?); + let op = match name { + "s_cmp_eq_u64" => "==", + "s_cmp_lg_u64" => "!=", + _ => return Err("SOPC"), + }; + let j = if op == "==" { "&&" } else { "||" }; + self.line(&format!("scc = ({} {op} {} {j} {} {op} {}) ? 1u : 0u;", a.0, b.0, a.1, b.1)); + return Ok(()); + } + let (a, b) = (self.read(d, ins[0], false).ok_or("op")?, self.read(d, ins[1], false).ok_or("op")?); + if let Some(rest) = name.strip_prefix("s_cmp_") { + let (op, signed) = cmp_op(rest).ok_or("porównanie")?; + let (a, b) = if signed { (format!("(int){a}"), format!("(int){b}")) } else { (a, b) }; + self.line(&format!("scc = ({a} {op} {b}) ? 1u : 0u;")); + return Ok(()); + } + match name { + "s_bitcmp0_b32" => self.line(&format!("scc = ((({a} >> ({b} & 31u)) & 1u) == 0u) ? 1u : 0u;")), + "s_bitcmp1_b32" => self.line(&format!("scc = (({a} >> ({b} & 31u)) & 1u);")), + _ => return Err("SOPC"), + } + return Ok(()); + } + // SOP1 / SOP2 + let saveexec = name.contains("saveexec") || name.contains("wrexec"); + if saveexec { + let s0 = self.read64(d, ins[0]).ok_or("op")?; + let (el, eh) = (self.sreg(126), self.sreg(127)); + let op = |a: &str, e: &str| -> Option<String> { + Some(match base.split('_').nth(1)? { + "and" => format!("{a} & {e}"), + "or" => format!("{a} | {e}"), + "xor" => format!("{a} ^ {e}"), + "andn2" => format!("{a} & ~{e}"), + "orn2" => format!("{a} | ~{e}"), + "nand" => format!("~({a} & {e})"), + "nor" => format!("~({a} | {e})"), + "xnor" => format!("~({a} ^ {e})"), + "andn1" => format!("~{a} & {e}"), + "orn1" => format!("~{a} | {e}"), + _ => return None, + }) + }; + let (nl, nh) = (op(&s0.0, &el).ok_or("saveexec")?, op(&s0.1, &eh).ok_or("saveexec")?); + let (t0, t1, o0, o1) = (self.t(), self.t(), self.t(), self.t()); + self.line(&format!("uint {o0} = {el}; uint {o1} = {eh};")); + self.line(&format!("uint {t0} = {nl}; uint {t1} = {nh};")); + if !self.opt.wave64 || name.ends_with("_b32") { + self.line(&format!("{el} = {t0};")); + self.line(&format!("scc = ({t0} != 0u) ? 1u : 0u;")); + let v = if name.contains("wrexec") { t0.clone() } else { o0.clone() }; + self.write32(&dst, &v); + } else { + self.line(&format!("{el} = {t0}; {eh} = {t1};")); + self.line(&format!("scc = (({t0} | {t1}) != 0u) ? 1u : 0u;")); + let (a, b) = if name.contains("wrexec") { (t0, t1) } else { (o0, o1) }; + self.write64(&dst, &a, &b); + } + return Ok(()); + } + if name == "s_swappc_b64" || name == "s_setpc_b64" { + // s_swappc_b64 s[n:n+1], s[n:n+1] at the start of a VS: call of the fetch shader + // the console driver builds from the input layout; here the attributes are + // already in their VGPRs (kernel mode) – other indirect jumps are not supported + let (sd, s0) = (Self::field(d, "SDST"), Self::field(d, "SSRC0")); + if name == "s_swappc_b64" && sd == s0 { + self.line("/* wywołanie fetch shadera – atrybuty wejściowe są już w VGPR */"); + *self.ignored.entry("s_swappc_b64 (fetch shader)".into()).or_default() += 1; + return Ok(()); + } + return Err("skok pośredni"); + } + if name == "s_getpc_b64" { + // the code region is addressed from 0 in this model + let pc = d.pc + d.len as u64; + self.write64(&dst, &hex(pc as u32), "0u"); + return Ok(()); + } + if wide { + return self.salu64(d, name, &dst, &ins); + } + let a = match ins.first() { + Some(o) => self.read(d, o, false).ok_or("op")?, + None => String::new(), + }; + let b = match ins.get(1) { + Some(o) => self.read(d, o, false).ok_or("op")?, + None => String::new(), + }; + let t = self.t(); + // (result expression, SCC expression over the result `t` or None) + let (res, scc): (String, Option<String>) = match name { + "s_mov_b32" => (a.clone(), None), + "s_cmov_b32" => { + let cur = match &dst { + Dst::S(n) => self.sreg(*n), + _ => "0u".into(), + }; + (format!("(scc != 0u) ? {a} : {cur}"), None) + } + "s_not_b32" => (format!("~{a}"), Some(format!("{t} != 0u"))), + "s_brev_b32" => (format!("reversebits({a})"), None), + "s_bcnt0_i32_b32" => (format!("32u - countbits({a})"), Some(format!("{t} != 0u"))), + "s_bcnt1_i32_b32" => (format!("countbits({a})"), Some(format!("{t} != 0u"))), + "s_ff0_i32_b32" => (format!("firstbitlow(~{a})"), None), + "s_ff1_i32_b32" => (format!("firstbitlow({a})"), None), + "s_flbit_i32_b32" => (format!("(({a}) == 0u ? 0xFFFFFFFFu : 31u - firstbithigh({a}))"), None), + "s_abs_i32" => (format!("(uint)abs((int){a})"), Some(format!("{t} != 0u"))), + "s_sext_i32_i8" => (format!("(uint)(((int)({a} << 24)) >> 24)"), None), + "s_sext_i32_i16" => (format!("(uint)(((int)({a} << 16)) >> 16)"), None), + "s_and_b32" => (format!("{a} & {b}"), Some(format!("{t} != 0u"))), + "s_or_b32" => (format!("{a} | {b}"), Some(format!("{t} != 0u"))), + "s_xor_b32" => (format!("{a} ^ {b}"), Some(format!("{t} != 0u"))), + "s_andn2_b32" => (format!("{a} & ~{b}"), Some(format!("{t} != 0u"))), + "s_orn2_b32" => (format!("{a} | ~{b}"), Some(format!("{t} != 0u"))), + "s_nand_b32" => (format!("~({a} & {b})"), Some(format!("{t} != 0u"))), + "s_nor_b32" => (format!("~({a} | {b})"), Some(format!("{t} != 0u"))), + "s_xnor_b32" => (format!("~({a} ^ {b})"), Some(format!("{t} != 0u"))), + "s_add_u32" => (format!("{a} + {b}"), Some(format!("{t} < {a}"))), + "s_sub_u32" => (format!("{a} - {b}"), Some(format!("{b} > {a}"))), + "s_addc_u32" => (format!("{a} + {b} + scc"), Some(format!("((uint64_t){a} + (uint64_t){b} + (uint64_t)scc) > 0xFFFFFFFFull"))), + "s_subb_u32" => (format!("{a} - {b} - scc"), Some(format!("((uint64_t){b} + (uint64_t)scc) > (uint64_t){a}"))), + "s_add_i32" => (format!("{a} + {b}"), Some(format!("((({a} ^ {t}) & ({b} ^ {t})) >> 31) != 0u"))), + "s_sub_i32" => (format!("{a} - {b}"), Some(format!("((({a} ^ {b}) & ({a} ^ {t})) >> 31) != 0u"))), + "s_mul_i32" => (format!("(uint)((int){a} * (int){b})"), None), + "s_mul_hi_u32" => (format!("(uint)(((uint64_t){a} * (uint64_t){b}) >> 32)"), None), + "s_mul_hi_i32" => (format!("(uint)(((int64_t)(int){a} * (int64_t)(int){b}) >> 32)"), None), + "s_lshl_b32" => (format!("{a} << ({b} & 31u)"), Some(format!("{t} != 0u"))), + "s_lshr_b32" => (format!("{a} >> ({b} & 31u)"), Some(format!("{t} != 0u"))), + "s_ashr_i32" => (format!("(uint)((int){a} >> ({b} & 31u))"), Some(format!("{t} != 0u"))), + "s_lshl1_add_u32" | "s_lshl2_add_u32" | "s_lshl3_add_u32" | "s_lshl4_add_u32" => { + let k = &name[6..7]; + (format!("({a} << {k}u) + {b}"), Some(format!("((((uint64_t){a}) << {k}) + (uint64_t){b}) > 0xFFFFFFFFull"))) + } + "s_bfm_b32" => (format!("((({a} & 31u) == 0u ? 0u : (0xFFFFFFFFu >> (32u - ({a} & 31u))))) << ({b} & 31u)"), None), + "s_bfe_u32" => (format!("sbfe_u({a}, {b})"), Some(format!("{t} != 0u"))), + "s_bfe_i32" => (format!("(uint)sbfe_i({a}, {b})"), Some(format!("{t} != 0u"))), + "s_min_u32" => (format!("min({a}, {b})"), Some(format!("{a} < {b}"))), + "s_max_u32" => (format!("max({a}, {b})"), Some(format!("{a} > {b}"))), + "s_min_i32" => (format!("(uint)min((int){a}, (int){b})"), Some(format!("(int){a} < (int){b}"))), + "s_max_i32" => (format!("(uint)max((int){a}, (int){b})"), Some(format!("(int){a} > (int){b}"))), + "s_cselect_b32" => (format!("(scc != 0u) ? {a} : {b}"), None), + "s_wqm_b32" => (format!("wqm({a})"), Some(format!("{t} != 0u"))), + "s_bitset0_b32" | "s_bitset1_b32" => { + let cur = match &dst { + Dst::S(n) => self.sreg(*n), + _ => "0u".into(), + }; + if name == "s_bitset1_b32" { + (format!("{cur} | (1u << ({a} & 31u))"), None) + } else { + (format!("{cur} & ~(1u << ({a} & 31u))"), None) + } + } + "s_absdiff_i32" => (format!("(uint)abs((int){a} - (int){b})"), Some(format!("{t} != 0u"))), + "s_pack_ll_b32_b16" => (format!("({a} & 0xFFFFu) | ({b} << 16)"), None), + "s_pack_lh_b32_b16" => (format!("({a} & 0xFFFFu) | ({b} & 0xFFFF0000u)"), None), + "s_pack_hh_b32_b16" => (format!("({a} >> 16) | ({b} & 0xFFFF0000u)"), None), + _ => return Err("SALU"), + }; + self.line(&format!("uint {t} = {res};")); + if let Some(c) = scc { + self.line(&format!("scc = ({c}) ? 1u : 0u;")); + } + self.write32(&dst, &t); + Ok(()) + } + + fn salu64(&mut self, d: &Decoded, name: &str, dst: &Dst, ins: &[&Operand]) -> Result<(), &'static str> { + let a = match ins.first() { + Some(o) => Some(self.read64(d, o).ok_or("op")?), + None => None, + }; + let b = match ins.get(1) { + Some(o) => { + // shift amounts / bfe controls are 32-bit + if o.size == 32 { + let v = self.read(d, o, false).ok_or("op")?; + Some((v, "0u".into())) + } else { + Some(self.read64(d, o).ok_or("op")?) + } + } + None => None, + }; + let (al, ah) = a.clone().unwrap_or_default(); + let (bl, bh) = b.clone().unwrap_or_default(); + let (t0, t1) = (self.t(), self.t()); + let nz = format!("({t0} | {t1}) != 0u"); + let bitwise = |op: &str| -> Option<(String, String)> { + Some(match op { + "and" => (format!("{al} & {bl}"), format!("{ah} & {bh}")), + "or" => (format!("{al} | {bl}"), format!("{ah} | {bh}")), + "xor" => (format!("{al} ^ {bl}"), format!("{ah} ^ {bh}")), + "andn2" => (format!("{al} & ~{bl}"), format!("{ah} & ~{bh}")), + "orn2" => (format!("{al} | ~{bl}"), format!("{ah} | ~{bh}")), + "nand" => (format!("~({al} & {bl})"), format!("~({ah} & {bh})")), + "nor" => (format!("~({al} | {bl})"), format!("~({ah} | {bh})")), + "xnor" => (format!("~({al} ^ {bl})"), format!("~({ah} ^ {bh})")), + _ => return None, + }) + }; + let (lo, hi, scc): (String, String, Option<String>) = match name { + "s_mov_b64" => (al.clone(), ah.clone(), None), + "s_cmov_b64" => { + let cur = match dst { + Dst::S(n) => (self.sreg(*n), self.sreg(*n + 1)), + _ => ("0u".into(), "0u".into()), + }; + (format!("(scc != 0u) ? {al} : {}", cur.0), format!("(scc != 0u) ? {ah} : {}", cur.1), None) + } + "s_not_b64" => (format!("~{al}"), format!("~{ah}"), Some(nz.clone())), + "s_cselect_b64" => (format!("(scc != 0u) ? {al} : {bl}"), format!("(scc != 0u) ? {ah} : {bh}"), None), + "s_wqm_b64" => (format!("wqm({al})"), format!("wqm({ah})"), Some(nz.clone())), + "s_brev_b64" => (format!("reversebits({ah})"), format!("reversebits({al})"), None), + "s_bcnt1_i32_b64" => (format!("countbits({al}) + countbits({ah})"), "0u".into(), Some(format!("{t0} != 0u"))), + "s_ff1_i32_b64" => { + (format!("({al} != 0u) ? firstbitlow({al}) : (({ah} != 0u) ? 32u + firstbitlow({ah}) : 0xFFFFFFFFu)"), "0u".into(), None) + } + "s_lshl_b64" | "s_lshr_b64" | "s_ashr_i64" => { + let v = format!("(((uint64_t){ah} << 32) | (uint64_t){al})"); + let e = match name { + "s_lshl_b64" => format!("({v} << ({bl} & 63u))"), + "s_lshr_b64" => format!("({v} >> ({bl} & 63u))"), + _ => format!("(uint64_t)((int64_t){v} >> ({bl} & 63u))"), + }; + let w = self.t(); + self.line(&format!("uint64_t {w} = {e};")); + (format!("(uint){w}"), format!("(uint)({w} >> 32)"), Some(nz.clone())) + } + "s_bfm_b64" => { + let w = self.t(); + self.line(&format!( + "uint64_t {w} = ((({al} & 63u) == 0u) ? 0ull : (0xFFFFFFFFFFFFFFFFull >> (64u - ({al} & 63u)))) << ({bl} & 63u);" + )); + (format!("(uint){w}"), format!("(uint)({w} >> 32)"), None) + } + _ => { + let op = name.trim_start_matches("s_").trim_end_matches("_b64"); + match bitwise(op) { + Some((l, h)) => (l, h, Some(nz.clone())), + None => return Err("SALU64"), + } + } + }; + self.line(&format!("uint {t0} = {lo}; uint {t1} = {hi};")); + if let Some(c) = scc { + self.line(&format!("scc = ({c}) ? 1u : 0u;")); + } + if name == "s_bcnt1_i32_b64" || name == "s_ff1_i32_b64" { + self.write32(dst, &t0); + } else { + self.write64(dst, &t0, &t1); + } + Ok(()) + } + + // ---------------------------------------------------------------- memory (flat model) + + fn smem(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + let count = match name.trim_start_matches("s_buffer_load_").trim_start_matches("s_load_") { + "dword" => 1, + "dwordx2" => 2, + "dwordx4" => 4, + "dwordx8" => 8, + "dwordx16" => 16, + _ => return Err("SMEM"), + }; + let sdata = Self::field(d, "SDATA"); + let sbase = Self::field(d, "SBASE"); + let imm = rdna2::field_value(d.enc, &d.words, "OFFSET").unwrap_or(0) as u32; + let soff = rdna2::field_value(d.enc, &d.words, "SOFFSET").unwrap_or(125); + let soff = if soff == 125 { "0u".to_string() } else { self.code32(soff, None, false).ok_or("op")? }; + let t = self.t(); + let mut vals = Vec::new(); + if name.starts_with("s_buffer_load") { + // V#: base = dw0 | dw1[15:0] << 32, stride = dw1[29:16], num_records = dw2 + let (d0, d1, d2) = (self.sreg(sbase), self.sreg(sbase + 1), self.sreg(sbase + 2)); + self.line(&format!("uint {t}_off = {} + {soff};", hex(imm))); + self.line(&format!("uint {t}_lim = ((({d1} >> 16) & 0x3FFFu) == 0u) ? {d2} : {d2} * (({d1} >> 16) & 0x3FFFu);")); + for i in 0..count { + let v = format!("{t}_{i}"); + self.line(&format!("uint {v} = ({t}_off + {}u < {t}_lim) ? mem.Load(({d0} + {t}_off + {}u) & ~3u) : 0u;", 4 * i, 4 * i)); + vals.push(v); + } + } else { + let imm = ((imm << 11) as i32 >> 11) as u32; // 21-bit signed + let b = self.sreg(sbase); + self.line(&format!("uint {t}_a = {b} + {} + {soff};", hex(imm))); + for i in 0..count { + let v = format!("{t}_{i}"); + self.line(&format!("uint {v} = mem.Load(({t}_a + {}u) & ~3u);", 4 * i)); + vals.push(v); + } + } + for (i, v) in vals.iter().enumerate() { + let s = self.sreg(sdata + i as u64); + self.line(&format!("{s} = {v};")); + } + Ok(()) + } + + /// MUBUF / MTBUF: raw loads and stores, typed (format) loads. + fn mubuf(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + if name.starts_with("buffer_atomic_") { + return self.buffer_atomic(d, name); + } + let (kind, count) = buffer_op(name).ok_or("MUBUF")?; + let f = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + if f("LDS") != 0 || f("TFE") != 0 { + return Err("MUBUF lds/tfe"); + } + let (vdata, vaddr, srsrc) = (f("VDATA"), f("VADDR"), Self::field(d, "SRSRC")); + let soff = self.code32(f("SOFFSET"), None, false).ok_or("op")?; + let (offen, idxen) = (f("OFFEN") != 0, f("IDXEN") != 0); + let (d0, d1, d2, d3) = (self.sreg(srsrc), self.sreg(srsrc + 1), self.sreg(srsrc + 2), self.sreg(srsrc + 3)); + let index = if idxen { self.vreg(vaddr) } else { "0u".into() }; + let voff = if offen { self.vreg(vaddr + idxen as u64) } else { "0u".into() }; + let t = self.t(); + self.line(&format!("uint {t}_stride = ({d1} >> 16) & 0x3FFFu;")); + self.line(&format!("uint {t}_off = {voff} + {}u;", f("OFFSET"))); + self.line(&format!("uint {t}_a = {d0} + {soff} + {t}_off + {t}_stride * {index};")); + let act = self.act(); + let in_range = |bytes: String| format!("(({t}_stride == 0u) ? ({t}_off + {bytes} <= {d2}) : ({index} < {d2}))"); + match kind { + BufKind::Load => { + let mut assigns = Vec::new(); + for i in 0..count { + let ok = in_range(format!("{}u", 4 * i + 4)); + let v = self.vreg(vdata + i); + assigns.push(format!("{v} = {ok} ? mem.Load(({t}_a + {}u) & ~3u) : 0u;", 4 * i)); + } + self.line(&format!("if ({act}) {{ {} }}", assigns.join(" "))); + } + BufKind::Store => { + let mut st = Vec::new(); + for i in 0..count { + let ok = in_range(format!("{}u", 4 * i + 4)); + let v = self.vreg(vdata + i); + st.push(format!("if ({ok}) mem.Store(({t}_a + {}u) & ~3u, {v});", 4 * i)); + } + self.line(&format!("if ({act}) {{ {} }}", st.join(" "))); + } + BufKind::FormatLoad => { + // format from the instruction (tbuffer) or from the V# (dword3 [18:12]); DST_SEL from the V# + let fmt = if d.enc.name == "ENC_MTBUF" { format!("{}u", f("FORMAT")) } else { format!("(({d3} >> 12) & 0x7Fu)") }; + self.line(&format!("uint {t}_info = FMT_INFO[min({fmt}, 77u)];")); + self.line(&format!("bool {t}_int = ((({t}_info >> 3) & 7u) == 4u) || ((({t}_info >> 3) & 7u) == 5u);")); + self.line(&format!("bool {t}_ok = ({t}_info & 7u) != 0u && {};", in_range(format!("fmt_bytes({t}_info)")))); + self.line(&format!("uint4 {t}_r = ld_raw({t}_a);")); + self.line(&format!( + "uint4 {t}_c = uint4(fmt_comp({t}_r, {t}_info, 0u), fmt_comp({t}_r, {t}_info, 1u), fmt_comp({t}_r, {t}_info, 2u), fmt_comp({t}_r, {t}_info, 3u));" + )); + let mut assigns = Vec::new(); + for i in 0..count { + let v = self.vreg(vdata + i); + assigns.push(format!("{v} = {t}_ok ? dst_sel({t}_c, ({d3} >> {}u) & 7u, {t}_int) : 0u;", 3 * i)); + } + self.line(&format!("if ({act}) {{ {} }}", assigns.join(" "))); + } + BufKind::FormatStore => { + let fmt = if d.enc.name == "ENC_MTBUF" { format!("{}u", f("FORMAT")) } else { format!("(({d3} >> 12) & 0x7Fu)") }; + self.line(&format!("uint {t}_info = FMT_INFO[min({fmt}, 77u)];")); + self.line(&format!("bool {t}_ok = ({t}_info & 7u) != 0u && {};", in_range(format!("fmt_bytes({t}_info)")))); + let vals: Vec<String> = (0..4).map(|i| if i < count { self.vreg(vdata + i) } else { "0u".into() }).collect(); + self.line(&format!("if ({act} && {t}_ok) st_bytes({t}_a, fmt_pack(uint4({}), {t}_info), fmt_bytes({t}_info));", vals.join(", "))); + } + } + Ok(()) + } + + fn export(&mut self, d: &Decoded) -> Result<(), &'static str> { + let f = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + let (en, tgt, compr) = (f("EN"), f("TGT"), f("COMPR") != 0); + let srcs: Vec<String> = (0..4).map(|i| self.vreg(f(&format!("VSRC{i}")))).collect(); + if !matches!(self.opt.mode, Mode::Kernel) { + return self.export_graphics(d, en, tgt, compr, &srcs); + } + let act = self.act(); + let mut st = Vec::new(); + for c in 0..4u64 { + let val = if compr { + let r = &srcs[(c / 2) as usize]; + if c % 2 == 0 { + format!("({r} & 0xFFFFu)") + } else { + format!("({r} >> 16)") + } + } else { + srcs[c as usize].clone() + }; + let bit = if compr { 1 << (c / 2 * 2) | 2 << (c / 2 * 2) } else { 1 << c }; + if en & bit == 0 { + continue; + } + st.push(format!("res.Store(({}u + (({tgt}u * {}u + lane_id) * 4u + {c}u)) * 4u, {val});", KERNEL_EXPORTS, KERNEL_LANES)); + } + if !st.is_empty() { + self.line(&format!("if ({act}) {{ {} }}", st.join(" "))); + } + Ok(()) + } + + /// Raw component `c` of an export (compressed: 16-bit halves of two registers). + fn exp_comp(srcs: &[String], compr: bool, c: usize) -> String { + if compr { + let r = &srcs[c / 2]; + if c % 2 == 0 { + format!("({r} & 0xFFFFu)") + } else { + format!("({r} >> 16)") + } + } else { + srcs[c].clone() + } + } + + fn export_graphics(&mut self, d: &Decoded, en: u64, tgt: u64, compr: bool, srcs: &[String]) -> Result<(), &'static str> { + let act = self.act(); + let done = rdna2::field_value(d.enc, &d.words, "DONE") == Some(1); + let enabled = |c: usize| if compr { en >> (c / 2 * 2) & 3 != 0 } else { en >> c & 1 == 1 }; + let mut st = Vec::new(); + match (&self.opt.mode, tgt) { + (Mode::Vertex(_), 12) => { + for c in 0..4 { + if enabled(c) { + st.push(format!("xo.pos[{c}] = asfloat({});", Self::exp_comp(srcs, compr, c))); + } + } + } + (Mode::Vertex(_), 13..=15) => {} // misc vector / clip distances: SV_ClipDistance comes from its param + (Mode::Vertex(vs), 32..=63) => { + let k = (tgt - 32) as usize; + let params = ranked(&vs.outputs, true); + let Some(e) = params.get(k) else { + self.line("/* param bez elementu OSG1 (atrapa) */"); + return Ok(()); + }; + let n = out_comps(e); + for c in 0..n { + if enabled(c) { + let v = Self::exp_comp(srcs, compr, c); + let v = if e.component_type == 3 { format!("asfloat({v})") } else { format!("{v}") }; + let comp = if n == 1 { String::new() } else { format!("[{c}]") }; + st.push(format!("xo.p{k}{comp} = {v};")); + } + } + } + (Mode::Pixel(ps), 0..=7) => { + let Some(e) = ps.outputs.iter().find(|e| e.system_value == 64 && e.index as u64 == tgt) else { + self.line("/* eksport do nieopisanego SV_Target */"); + if done { + self.ps_done = true; + self.line(&format!("if ({act}) xcl_live = true;")); + } + return Ok(()); + }; + for c in 0..4 { + if !enabled(c) { + continue; + } + let raw = Self::exp_comp(srcs, compr, c); + let v = match (e.component_type, compr) { + (3, true) => format!("f16tof32({raw})"), + (3, false) => format!("asfloat({raw})"), + (2, true) => format!("(((int)({raw} << 16)) >> 16)"), + (2, false) => format!("(int){raw}"), + (_, _) => raw, + }; + st.push(format!("xo.t{tgt}[{c}] = {v};")); + } + } + (Mode::Pixel(ps), 8) => { + if en & 1 == 1 && ps.outputs.iter().any(|e| matches!(e.system_value, 65 | 67 | 68)) { + st.push(format!("xo.xcl_depth = asfloat({});", srcs[0])); + } + } + (Mode::Pixel(_), 9) => {} + (Mode::Mesh(_), 12) => { + for c in 0..4 { + if enabled(c) { + st.push(format!("res.Store((xcl_vtx + {c}u) * 4u, {});", Self::exp_comp(srcs, compr, c))); + } + } + } + (Mode::Mesh(_), 13..=15) => {} // misc vector / clip distances (from their params) + (Mode::Mesh(ms), 32..=63) => { + let k = (tgt - 32) as usize; + if k >= ranked(&ms.outputs, true).len() { + self.line("/* param bez elementu OSG1 (atrapa) */"); + return Ok(()); + } + for c in 0..4 { + if enabled(c) { + st.push(format!("res.Store((xcl_vtx + {}u) * 4u, {});", 4 * (k + 1) + c, Self::exp_comp(srcs, compr, c))); + } + } + } + (Mode::Mesh(_), 20) => st.push(format!("res.Store(xcl_prm * 4u, {});", srcs[0])), + (Mode::Mesh(_), 9) => {} + _ => return Err("cel eksportu"), + } + if !st.is_empty() { + self.line(&format!("if ({act}) {{ {} }}", st.join(" "))); + } + if done && matches!(self.opt.mode, Mode::Pixel(_)) { + self.ps_done = true; + self.line(&format!("if ({act}) xcl_live = true;")); + } + Ok(()) + } + + /// (vdst, I/J VGPR or interp_mov parameter, attribute, channel) + fn interp_fields(d: &Decoded) -> (u64, u64, u64, u64) { + let f = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + if d.enc.name == "ENC_VINTRP" { + (f("VDST"), f("VSRC"), f("ATTR"), f("ATTRCHAN")) + } else { + let s1 = f("SRC1"); + (f("VDST"), if s1 >= 256 { s1 - 256 } else { s1 }, f("SRC0") & 0x3F, f("SRC0") >> 6 & 3) + } + } + + /// v_interp_*: attributes come interpolated from the PC rasteriser (PS mode). + fn interp(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + let Mode::Pixel(ps) = &self.opt.mode else { return Err("interpolacja poza PS") }; + let n_attrs = ranked(&ps.inputs, false).len() as u64; + let (vdst, ij, attr, chan) = Self::interp_fields(d); + if attr >= n_attrs { + return Err("atrybut poza ISG1"); + } + let src = format!("xi.a{attr}[{chan}]"); + let act = self.act(); + match name { + "v_interp_p1_f32" | "v_interp_p1ll_f16" | "v_interp_p1lv_f16" => { + self.line("/* pierwsza połowa interpolacji – wartość daje p2 */"); + } + "v_interp_p2_f32" => { + let v = self.vreg(vdst); + self.line(&format!("if ({act}) {v} = asuint((float){src});")); + } + "v_interp_mov_f32" => { + if ij != 2 { + return Err("v_interp_mov p10/p20"); + } + let v = self.vreg(vdst); + self.line(&format!("if ({act}) {v} = asuint((float){src});")); + } + "v_interp_p2_f16" => { + let v = self.vreg(vdst); + let hi = rdna2::field_value(d.enc, &d.words, "OP_SEL").unwrap_or(0) >> 3 & 1 == 1; + let h = format!("(f32tof16((float){src}) & 0xFFFFu)"); + let e = if hi { format!("({v} & 0xFFFFu) | ({h} << 16)") } else { format!("({v} & 0xFFFF0000u) | {h}") }; + self.line(&format!("if ({act}) {v} = {e};")); + } + _ => return Err("interpolacja"), + } + Ok(()) + } + + // ---------------------------------------------------------------- images (MIMG) + + /// MIMG → SM 6.6 dynamic resources. XCL image descriptors (T#, 8 dwords) keep the GFX10 + /// layout, but BASE_ADDRESS (word 0) holds the index of the SRV in the CBV/SRV/UAV heap + /// (UAV at +1); FORMAT (word 1 [28:20]) selects the typed view (float/uint/sint). + /// Sampler descriptors (S#, 4 dwords) hold the sampler heap index in BORDER_COLOR_PTR + /// (word 3 [11:0]). Address layout with A16 (16-bit bias/coordinates/lod, 32-bit offset, + /// compare and gradients) as in AnyPS5's `componentShape` (GPL-2.0, ported 2026-11-20). + fn mimg(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + let f = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + if f("TFE") != 0 || f("LWE") != 0 { + return Err("MIMG tfe/lwe"); + } + let (a16, d16) = (f("A16") == 1, f("D16") == 1); + let dim = f("DIM"); + let dmask = f("DMASK"); + let (vdata, srsrc, ssamp) = (f("VDATA"), Self::field(d, "SRSRC"), Self::field(d, "SSAMP")); + let nsa = f("NSA"); + // non-sequential addresses: VADDR, then VADDRA, VADDRB … (4 per extra dword) + let nsa_enc = rdna2::encoding(&format!("MIMG_NSA{nsa}")); + let addr_reg = |j: u64| -> u64 { + match nsa_enc { + Some(e) if nsa > 0 && j > 0 => { + let letter = (b'A' + (j - 1).min(25) as u8) as char; + rdna2::field_value(e, &d.words, &format!("VADDR{letter}")).unwrap_or(0) + } + _ => f("VADDR") + j, + } + }; + // body coordinates per DIM: 1D, 2D, 3D, CUBE, 1D_ARRAY, 2D_ARRAY, 2D_MSAA, 2D_MSAA_ARRAY + let body = [1u64, 2, 3, 3, 2, 3, 3, 4][dim as usize]; + let base = name.trim_start_matches("image_"); + let sampling = base.starts_with("sample") || base.starts_with("gather4"); + let rest = base.trim_start_matches("sample").trim_start_matches("gather4"); + let mods: Vec<&str> = if sampling { rest.split('_').filter(|x| !x.is_empty()).collect() } else { Vec::new() }; + if mods.contains(&"cd") { + return Err("MIMG cd"); + } + let (has_cl, has_o) = (mods.contains(&"cl"), mods.contains(&"o")); + let (has_b, has_c, has_d, has_l, has_lz) = + (mods.contains(&"b"), mods.contains(&"c"), mods.contains(&"d"), mods.contains(&"l"), mods.contains(&"lz")); + let grad_n = if has_d { [1u64, 2, 3, 2, 1, 2, 2, 2][dim as usize] } else { 0 }; + // address components: (16-bit?, starts a dword?) + let h = if a16 { 16 } else { 32 }; + let mut shape: Vec<(u32, bool)> = Vec::new(); + let (mut i_bias, mut i_cmp, mut i_grad, mut i_body, mut i_extra, mut i_clamp) = (None, None, 0usize, 0usize, None, None); + if sampling { + // address order: offset, bias, z-compare, derivatives, body, lod / clamp + if has_o { + shape.push((32, true)); + } + if has_b { + i_bias = Some(shape.len()); + shape.push((h, !a16)); + } + if has_c { + i_cmp = Some(shape.len()); + shape.push((32, true)); + } + i_grad = shape.len(); + for _ in 0..2 * grad_n { + shape.push((32, true)); + } + i_body = shape.len(); + for k in 0..body { + shape.push((h, !a16 || (grad_n != 0 && k == 0))); + } + if has_l { + i_extra = Some(shape.len()); + shape.push((h, !a16)); + } + if has_cl { + i_clamp = Some(shape.len()); + shape.push((h, !a16)); + } + } else if base == "get_resinfo" { + i_extra = Some(0); + shape.push((32, true)); + } else { + i_body = 0; + for _ in 0..body { + shape.push((h, !a16)); + } + if base.ends_with("_mip") { + i_extra = Some(shape.len()); + shape.push((h, !a16)); + } + } + let mut pos: Vec<(u64, Option<u64>)> = Vec::new(); + let mut cursor = 0u64; // in 16-bit units + for &(w, starts) in &shape { + if (w == 32 || starts) && cursor % 2 == 1 { + cursor += 1; + } + pos.push((cursor / 2, (w == 16).then_some(cursor % 2))); + cursor += if w == 32 { 2 } else { 1 }; + } + let compf = |s: &mut Self, i: usize| -> String { + let (dw, half) = pos[i]; + let v = s.vreg(addr_reg(dw)); + match half { + None => format!("asfloat({v})"), + Some(hh) => format!("f16tof32(({v} >> {}u) & 0xFFFFu)", 16 * hh), + } + }; + let compu = |s: &mut Self, i: usize| -> String { + let (dw, half) = pos[i]; + let v = s.vreg(addr_reg(dw)); + match half { + None => v, + Some(hh) => format!("(({v} >> {}u) & 0xFFFFu)", 16 * hh), + } + }; + let t = self.t(); + let tw0 = self.sreg(srsrc); + let tw1 = self.sreg(srsrc + 1); + let act = self.act(); + let ps = matches!(self.opt.mode, Mode::Pixel(_)); + let comps: Vec<u64> = (0..4).filter(|c| dmask >> c & 1 == 1).collect(); + // write the selected result components (`r` is a uint4 of raw bits); D16 packs halves + let write_result = |s: &mut Self, r: &str, n: usize, sel: &dyn Fn(usize) -> u64, half: &dyn Fn(&str) -> String| { + let mut st = Vec::new(); + if d16 { + for k in (0..n).step_by(2) { + let v = s.vreg(vdata + k as u64 / 2); + let lo = half(&format!("{r}.{}", ["x", "y", "z", "w"][sel(k) as usize])); + let hi = if k + 1 < n { half(&format!("{r}.{}", ["x", "y", "z", "w"][sel(k + 1) as usize])) } else { "0u".into() }; + st.push(format!("{v} = ({lo} & 0xFFFFu) | ({hi} << 16);")); + } + } else { + for k in 0..n { + let v = s.vreg(vdata + k as u64); + st.push(format!("{v} = {r}.{};", ["x", "y", "z", "w"][sel(k) as usize])); + } + } + s.line(&format!("if ({act}) {{ {} }}", st.join(" "))); + }; + let f16 = |e: &str| format!("f32tof16(asfloat({e}))"); + + if sampling { + if matches!(dim, 6 | 7) { + return Err("MIMG sample MSAA"); + } + let bias = i_bias.map(|i| compf(self, i)); + let cmp = i_cmp.map(|i| compf(self, i)); + let grads = if has_d { + let dx: Vec<String> = (0..grad_n as usize).map(|k| compf(self, i_grad + k)).collect(); + let dy: Vec<String> = (0..grad_n as usize).map(|k| compf(self, i_grad + grad_n as usize + k)).collect(); + Some((dx, dy)) + } else { + None + }; + let coords: Vec<String> = (0..body as usize).map(|k| compf(self, i_body + k)).collect(); + let lod = i_extra.map(|i| compf(self, i)); + let cl = i_clamp.map(|i| compf(self, i)); + // the clamp overloads take an offset first (none for cubes) + let zoff = match dim { + 0 | 4 => Some("0"), + 1 | 5 => Some("int2(0, 0)"), + 2 => Some("int3(0, 0, 0)"), + _ => None, + }; + let tail = |args: String| -> String { + match (&cl, zoff) { + (Some(c), Some(z)) => format!("{args}, {z}, {c}"), + (Some(c), None) => format!("{args}, {c}"), + _ => args, + } + }; + let s3 = self.sreg(ssamp + 3); + // texel offsets come from a VGPR (6-bit fields); SM 6.6 takes only immediate offsets, so + // the coordinates move by offset / size of the sampled mip (exact for lz / l / gather, + // the rounded implicit LOD otherwise) + let offset = if has_o { + if dim == 3 { + return Err("MIMG offset cube"); + } + let o = compu(self, 0); + Some(o) + } else { + None + }; + let coord0 = match dim { + 0 => coords[0].clone(), + 1 => format!("float2({}, {})", coords[0], coords[1]), + 2 => format!("float3({}, {}, {})", coords[0], coords[1], coords[2]), + 4 => format!("float2({}, round({}))", coords[0], coords[1]), + 5 => format!("float3({}, {}, round({}))", coords[0], coords[1], coords[2]), + _ => String::new(), + }; + let coords: Vec<String> = if offset.is_some() { + coords.iter().enumerate().map(|(k, c)| if (dim == 4 && k == 1) || (dim == 5 && k == 2) { c.clone() } else { format!("({c} + {t}_o[{k}])") }).collect() + } else { + coords + }; + let (ty, coord) = match dim { + 0 => ("Texture1D<float4>", coords[0].clone()), + 1 => ("Texture2D<float4>", format!("float2({}, {})", coords[0], coords[1])), + 2 => ("Texture3D<float4>", format!("float3({}, {}, {})", coords[0], coords[1], coords[2])), + 3 => ("TextureCube<float4>", format!("cube_dir({}, {}, {})", coords[0], coords[1], coords[2])), + 4 => ("Texture1DArray<float4>", format!("float2({}, round({}))", coords[0], coords[1])), + 5 => ("Texture2DArray<float4>", format!("float3({}, {}, round({}))", coords[0], coords[1], coords[2])), + _ => return Err("MIMG dim"), + }; + if f("UNORM") != 0 && dim != 3 { + return Err("MIMG unorm"); + } + let samp = if has_c { "SamplerComparisonState" } else { "SamplerState" }; + self.line(&format!("{ty} {t}_T = ResourceDescriptorHeap[NonUniformResourceIndex({tw0})];")); + self.line(&format!("{samp} {t}_S = SamplerDescriptorHeap[NonUniformResourceIndex({s3} & 0xFFFu)];")); + if let Some(o) = &offset { + let level = match (&lod, has_lz || base.starts_with("gather4"), ps && grads.is_none() && !has_c) { + (_, true, _) => "0u".to_string(), + (Some(l), _, _) => format!("(uint)max(round({l}), 0.0f)"), + (None, _, true) => format!("(uint)max(round({t}_T.CalculateLevelOfDetail({t}_S, {coord0})), 0.0f)"), + _ => "0u".to_string(), + }; + let dims = match dim { + 0 => format!("{t}_T.GetDimensions({level}, {t}_w, {t}_n);"), + 1 => format!("{t}_T.GetDimensions({level}, {t}_w, {t}_h, {t}_n);"), + 2 => format!("{t}_T.GetDimensions({level}, {t}_w, {t}_h, {t}_d, {t}_n);"), + 4 => format!("{t}_T.GetDimensions({level}, {t}_w, {t}_d, {t}_n); {t}_d = 1u;"), + _ => format!("{t}_T.GetDimensions({level}, {t}_w, {t}_h, {t}_d, {t}_n); {t}_d = 1u;"), + }; + self.line(&format!("uint {t}_w = 1u, {t}_h = 1u, {t}_d = 1u, {t}_n; {dims}")); + self.line(&format!( + "float3 {t}_o = float3((float)(((int)({o} << 26)) >> 26) / (float){t}_w, (float)(((int)({o} << 18)) >> 26) / (float){t}_h, (float)(((int)({o} << 10)) >> 26) / (float){t}_d);" + )); + } + let gather = base.starts_with("gather4"); + let call = if gather { + if comps.len() != 1 { + return Err("gather4 dmask"); + } + let ch = ["Red", "Green", "Blue", "Alpha"][comps[0] as usize]; + match &cmp { + Some(z) => format!("{t}_T.GatherCmp{ch}({t}_S, {coord}, {z})"), + None => format!("{t}_T.Gather{ch}({t}_S, {coord})"), + } + } else { + // outside PS there are no implicit derivatives: LOD 0 (bias = LOD), raised by the clamp + let floor = |l: String| match &cl { + Some(c) => format!("max({l}, {c})"), + None => l, + }; + match (&cmp, &grads, &lod, &bias) { + (Some(z), _, _, _) if has_lz || !ps => format!("float4({t}_T.SampleCmpLevelZero({t}_S, {coord}, {z}).xxxx)"), + (Some(z), _, _, _) => format!("float4({t}_T.SampleCmp({t}_S, {}).xxxx)", tail(format!("{coord}, {z}"))), + (None, Some((dx, dy)), _, _) => { + let v = |x: &[String]| if x.len() == 1 { x[0].clone() } else { format!("float{}({})", x.len(), x.join(", ")) }; + format!("{t}_T.SampleGrad({t}_S, {})", tail(format!("{coord}, {}, {}", v(dx), v(dy)))) + } + (None, None, Some(l), _) => format!("{t}_T.SampleLevel({t}_S, {coord}, {l})"), + (None, None, None, Some(b)) if ps => format!("{t}_T.SampleBias({t}_S, {})", tail(format!("{coord}, {b}"))), + (None, None, None, Some(b)) => format!("{t}_T.SampleLevel({t}_S, {coord}, {})", floor(b.clone())), + _ if has_lz || !ps => format!("{t}_T.SampleLevel({t}_S, {coord}, {})", floor("0.0f".into())), + _ => format!("{t}_T.Sample({t}_S, {})", tail(coord.clone())), + } + }; + self.line(&format!("uint4 {t}_r = asuint({call});")); + let n = if gather { 4 } else { comps.len() }; + let comps2 = comps.clone(); + let sel = move |k: usize| if gather { k as u64 } else { comps2[k] }; + write_result(self, &format!("{t}_r"), n, &sel, &f16); + return Ok(()); + } + + if base == "get_lod" { + if !ps { + return Err("image_get_lod poza PS"); + } + let coords: Vec<String> = (0..body as usize).map(|k| compf(self, i_body + k)).collect(); + let (ty, coord) = match dim { + 0 => ("Texture1D<float4>", coords[0].clone()), + 1 => ("Texture2D<float4>", format!("float2({}, {})", coords[0], coords[1])), + 2 => ("Texture3D<float4>", format!("float3({}, {}, {})", coords[0], coords[1], coords[2])), + 3 => ("TextureCube<float4>", format!("cube_dir({}, {}, {})", coords[0], coords[1], coords[2])), + 4 => ("Texture1DArray<float4>", format!("float2({}, round({}))", coords[0], coords[1])), + 5 => ("Texture2DArray<float4>", format!("float3({}, {}, round({}))", coords[0], coords[1], coords[2])), + _ => return Err("MIMG dim"), + }; + let s3 = self.sreg(ssamp + 3); + self.line(&format!("{ty} {t}_T = ResourceDescriptorHeap[NonUniformResourceIndex({tw0})];")); + self.line(&format!("SamplerState {t}_S = SamplerDescriptorHeap[NonUniformResourceIndex({s3} & 0xFFFu)];")); + self.line(&format!( + "uint4 {t}_r = asuint(float4({t}_T.CalculateLevelOfDetail({t}_S, {coord}), {t}_T.CalculateLevelOfDetailUnclamped({t}_S, {coord}), 0.0f, 0.0f));" + )); + let comps2 = comps.clone(); + write_result(self, &format!("{t}_r"), comps.len(), &move |k| comps2[k], &f16); + return Ok(()); + } + + if base == "get_resinfo" { + let mipv = compu(self, 0); + let (ty, call) = match dim { + 0 => ("Texture1D", format!("{t}_T.GetDimensions({mipv}, {t}_w, {t}_n); {t}_h = 1u; {t}_d = 1u;")), + 1 => ("Texture2D", format!("{t}_T.GetDimensions({mipv}, {t}_w, {t}_h, {t}_n); {t}_d = 1u;")), + 2 => ("Texture3D", format!("{t}_T.GetDimensions({mipv}, {t}_w, {t}_h, {t}_d, {t}_n);")), + 3 => ("TextureCube", format!("{t}_T.GetDimensions({mipv}, {t}_w, {t}_h, {t}_n); {t}_d = 1u;")), + 4 => ("Texture1DArray", format!("{t}_T.GetDimensions({mipv}, {t}_w, {t}_d, {t}_n); {t}_h = 1u;")), + 5 => ("Texture2DArray", format!("{t}_T.GetDimensions({mipv}, {t}_w, {t}_h, {t}_d, {t}_n);")), + _ => return Err("get_resinfo dim"), + }; + self.line(&format!("{ty}<float4> {t}_T = ResourceDescriptorHeap[NonUniformResourceIndex({tw0})];")); + self.line(&format!("uint {t}_w, {t}_h, {t}_d, {t}_n; {call}")); + self.line(&format!("uint4 {t}_r = uint4({t}_w, {t}_h, {t}_d, {t}_n);")); + let comps2 = comps.clone(); + write_result(self, &format!("{t}_r"), comps.len(), &move |k| comps2[k], &|e: &str| e.to_string()); + return Ok(()); + } + + // integer coordinates for load / store / atomics + let ic: Vec<String> = (0..body as usize).map(|k| compu(self, i_body + k)).collect(); + let mip = i_extra.map(|i| compu(self, i)).unwrap_or("0u".into()); + let (rty, icoord, load_arg) = match dim { + 0 => ("1D", format!("int({})", ic[0]), format!("int2({}, {mip})", ic[0])), + 1 => ("2D", format!("int2({}, {})", ic[0], ic[1]), format!("int3({}, {}, {mip})", ic[0], ic[1])), + 2 => ("3D", format!("int3({}, {}, {})", ic[0], ic[1], ic[2]), format!("int4({}, {}, {}, {mip})", ic[0], ic[1], ic[2])), + 4 => ("1DArray", format!("int2({}, {})", ic[0], ic[1]), format!("int3({}, {}, {mip})", ic[0], ic[1])), + 5 | 3 => ("2DArray", format!("int3({}, {}, {})", ic[0], ic[1], ic[2]), format!("int4({}, {}, {}, {mip})", ic[0], ic[1], ic[2])), + 6 => ("2DMS", format!("int2({}, {})", ic[0], ic[1]), String::new()), + _ => return Err("MIMG dim"), + }; + if dim == 3 && base.starts_with("load") { + return Err("image_load cube"); + } + self.line(&format!("uint {t}_cls = img_cls(({tw1} >> 20) & 0x1FFu);")); + match base { + "load" | "load_mip" => { + self.line(&format!("uint4 {t}_r;")); + let ld = if dim == 6 { format!("{t}_T.Load({icoord}, {})", ic.get(2).cloned().unwrap_or("0u".into())) } else { format!("{t}_T.Load({load_arg})") }; + let tex = |vt: &str| format!("Texture{rty}<{vt}4> {t}_T = ResourceDescriptorHeap[NonUniformResourceIndex({tw0})];"); + self.line(&format!( + "if ({t}_cls == 1u) {{ {} {t}_r = {ld}; }} else if ({t}_cls == 2u) {{ {} {t}_r = asuint({ld}); }} else {{ {} {t}_r = asuint({ld}); }}", + tex("uint"), + tex("int"), + tex("float") + )); + let cls = format!("{t}_cls"); + let half = move |e: &str| format!("(({cls} == 0u) ? f32tof16(asfloat({e})) : ({e} & 0xFFFFu))"); + let comps2 = comps.clone(); + write_result(self, &format!("{t}_r"), comps.len(), &move |k| comps2[k], &half); + } + "store" | "store_mip" => { + if base == "store_mip" { + return Err("image_store_mip"); + } + let mut vals = Vec::new(); + for c in 0..4u64 { + vals.push(match comps.iter().position(|&x| x == c) { + Some(k) if d16 => { + let v = self.vreg(vdata + k as u64 / 2); + let hpart = format!("(({v} >> {}u) & 0xFFFFu)", 16 * (k % 2)); + format!("(({t}_cls == 0u) ? asuint(f16tof32({hpart})) : {hpart})") + } + Some(k) => self.vreg(vdata + k as u64), + None => "0u".into(), + }); + } + let v4 = format!("uint4({})", vals.join(", ")); + let uav = |vt: &str| format!("RWTexture{rty}<{vt}4> {t}_U = ResourceDescriptorHeap[NonUniformResourceIndex({tw0} + 1u)];"); + self.line(&format!( + "if ({act}) {{ if ({t}_cls == 1u) {{ {} {t}_U[{icoord}] = {v4}; }} else if ({t}_cls == 2u) {{ {} {t}_U[{icoord}] = (int4){v4}; }} else {{ {} {t}_U[{icoord}] = asfloat({v4}); }} }}", + uav("uint"), + uav("int"), + uav("float") + )); + } + _ if base.starts_with("atomic_") => { + let op = match &base[7..] { + "add" => "InterlockedAdd", + "smin" | "umin" => "InterlockedMin", + "smax" | "umax" => "InterlockedMax", + "and" => "InterlockedAnd", + "or" => "InterlockedOr", + "xor" => "InterlockedXor", + "swap" => "InterlockedExchange", + _ => return Err("image_atomic"), + }; + let signed = base.ends_with("smin") || base.ends_with("smax"); + let v = self.vreg(vdata); + let vt = if signed { "int" } else { "uint" }; + let val = if signed { format!("(int){v}") } else { v.clone() }; + self.line(&format!("RWTexture{rty}<{vt}> {t}_U = ResourceDescriptorHeap[NonUniformResourceIndex({tw0} + 1u)];")); + self.line(&format!("{vt} {t}_old = 0;")); + self.line(&format!("if ({act}) {{ {op}({t}_U[{icoord}], {val}, {t}_old); }}")); + if f("GLC") == 1 { + self.line(&format!("if ({act}) {v} = (uint){t}_old;")); + } + } + _ => return Err("MIMG"), + } + Ok(()) + } + + // ---------------------------------------------------------------- vector ALU + + /// Source/output modifiers of a VALU instruction, wherever the encoding keeps them. + fn mods(d: &Decoded) -> Mods { + let fv = |e: &Encoding, n: &str| rdna2::field_value(e, &d.words, n).unwrap_or(0); + let bit = |e: &Encoding, n: &str| fv(e, n) == 1; + match d.variant { + Variant::Sdwa => match ext_encoding(d) { + Some(e) => Mods { + abs: [bit(e, "SRC0_ABS"), bit(e, "SRC1_ABS"), false], + neg: [bit(e, "SRC0_NEG"), bit(e, "SRC1_NEG"), false], + omod: fv(e, "OMOD"), + clamp: bit(e, "CLAMP"), + opsel: 0, + }, + None => Mods::default(), + }, + Variant::Dpp16 => match ext_encoding(d) { + Some(e) => Mods { + abs: [bit(e, "SRC0_ABS"), bit(e, "SRC1_ABS"), false], + neg: [bit(e, "SRC0_NEG"), bit(e, "SRC1_NEG"), false], + ..Default::default() + }, + None => Mods::default(), + }, + Variant::Dpp8 => Mods::default(), + Variant::Plain => { + let e = d.enc; + let (abs, neg) = (fv(e, "ABS"), fv(e, "NEG")); + Mods { + abs: [abs & 1 == 1, abs >> 1 & 1 == 1, abs >> 2 & 1 == 1], + neg: [neg & 1 == 1, neg >> 1 & 1 == 1, neg >> 2 & 1 == 1], + omod: fv(e, "OMOD"), + clamp: bit(e, "CLAMP"), + opsel: fv(e, "OP_SEL"), + } + } + } + } + + /// Float view of source `i` with abs/neg. + fn fsrc(m: &Mods, i: usize, u: &str) -> String { + let mut s = format!("asfloat({u})"); + if m.abs[i] { + s = format!("abs({s})"); + } + if m.neg[i] { + s = format!("(-{s})"); + } + s + } + + /// Float result with output modifiers, as u32. + fn fres(m: &Mods, e: &str) -> String { + let mut s = match m.omod { + 1 => format!("(({e}) * 2.0f)"), + 2 => format!("(({e}) * 4.0f)"), + 3 => format!("(({e}) * 0.5f)"), + _ => format!("({e})"), + }; + if m.clamp { + s = format!("saturate({s})"); + } + format!("asuint({s})") + } + + /// u32 source expressions in operand order; SGPR-pair masks come as "lo|hi". + /// SDWA selects/extends its two sources, DPP reads src0 from another lane. + fn sources(&mut self, d: &Decoded, ins: &[&Operand], src_f16: bool) -> Result<Vec<String>, &'static str> { + let mut u = Vec::new(); + for o in ins { + if d.variant != Variant::Plain && o.field == Some("SRC0") { + u.push("0u".into()); // replaced below + continue; + } + match o.ty { + "OPR_SREG" | "OPR_VCC" if o.size == 64 => { + let (l, h) = self.read64(d, o).ok_or("op")?; + u.push(format!("{l}|{h}")); + } + _ if o.size == 64 => return Err("operand 64-bit"), + _ => u.push(self.read(d, o, src_f16).ok_or("op")?), + } + } + match d.variant { + Variant::Plain => {} + Variant::Sdwa => { + let e = ext_encoding(d).ok_or("SDWA")?; + let fv = |n: &str| rdna2::field_value(e, &d.words, n).unwrap_or(0); + let s0 = if fv("S0") == 1 { self.code32(fv("VSRC0"), None, false).ok_or("op")? } else { self.vreg(fv("VSRC0")) }; + if !u.is_empty() { + u[0] = format!("sdwa_sel({s0}, {}u, {})", fv("SRC0_SEL"), fv("SRC0_SEXT") == 1); + } + if d.enc.field("VSRC1").is_some() && u.len() > 1 { + let v1 = fv("VSRC1"); + let s1 = if fv("S1") == 1 { self.code32(v1, None, false).ok_or("op")? } else { self.vreg(v1) }; + u[1] = format!("sdwa_sel({s1}, {}u, {})", fv("SRC1_SEL"), fv("SRC1_SEXT") == 1); + } + } + Variant::Dpp16 | Variant::Dpp8 => { + let e = ext_encoding(d).ok_or("DPP")?; + let fv = |n: &str| rdna2::field_value(e, &d.words, n).unwrap_or(0); + let v = self.vreg(fv("VSRC0")); + let (el, eh) = (self.sreg(126), self.sreg(127)); + let eh = if self.opt.wave64 { eh } else { "0u".into() }; + let t = self.t(); + if d.variant == Variant::Dpp16 { + let ctrl = fv("DPP_CTRL"); + let (fi, bound) = (fv("FI") == 1, fv("BOUND_CTRL") == 1); + let src = dpp16_src(ctrl).ok_or("DPP_CTRL")?; + self.line(&format!("int {t}_l = {src};")); + self.line(&format!( + "bool {t}_ok = {t}_l >= 0 && ({fi} || lanebit_at({el}, {eh}, (uint){t}_l));" + )); + self.line(&format!("uint {t} = WaveReadLaneAt({v}, (uint)max({t}_l, 0));")); + let (rm, bm) = (fv("ROW_MASK"), fv("BANK_MASK")); + // write enable: row/bank masks, and an invalid source either reads 0 (bound_ctrl) or disables + let mut en = format!("((({rm}u >> (lane_id >> 4)) & 1u) != 0u && (({bm}u >> ((lane_id >> 2) & 3u)) & 1u) != 0u)"); + if bound { + self.line(&format!("{t} = {t}_ok ? {t} : 0u;")); + } else { + en = format!("({en} && {t}_ok)"); + } + self.dpp_enable = Some(en); + } else { + let sel: u64 = (0..8).map(|i| fv(&format!("LANE_SEL_{i}")) << (3 * i)).sum(); + let fi = rdna2::field_value(d.enc, &d.words, "SRC0").unwrap_or(0) == 0xEA; + self.line(&format!("uint {t}_l = (lane_id & ~7u) | (({sel}u >> (3u * (lane_id & 7u))) & 7u);")); + self.line(&format!("uint {t} = WaveReadLaneAt({v}, {t}_l);")); + if !fi { + self.line(&format!("{t} = lanebit_at({el}, {eh}, {t}_l) ? {t} : 0u;")); + } + } + if !u.is_empty() { + u[0] = t; + } + } + } + Ok(u) + } + + /// Write a VALU result, honouring SDWA dst_sel/dst_unused and DPP write enables. + fn vwrite(&mut self, d: &Decoded, dst: &Dst, val: &str) { + let mut val = val.to_string(); + if d.variant == Variant::Sdwa { + if let (Some(e), Dst::V(n)) = (ext_encoding(d), dst) { + let fv = |k: &str| rdna2::field_value(e, &d.words, k).unwrap_or(0); + if e.field("DST_SEL").is_some() { + let cur = self.vreg(*n); + val = format!("sdwa_dst({val}, {cur}, {}u, {}u)", fv("DST_SEL"), fv("DST_UNUSED")); + } + } + } + match (self.dpp_enable.take(), dst) { + (Some(en), Dst::V(n)) => { + let v = self.vreg(*n); + let a = self.act(); + self.line(&format!("if ({a} && {en}) {v} = {val};")); + } + _ => self.write32(dst, &val), + } + } + + /// VOP3P packed math (two 16-bit halves; op_sel picks the source half for the low result, + /// op_sel_hi for the high one; neg / neg_hi per half), v_pk_fmac_f16 (VOP2) and the dots. + fn valu_pk(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + if d.variant != Variant::Plain { + return Err("VOP3P SDWA/DPP"); + } + let (outs, ins) = Self::ops(d); + let vop3p = d.enc.name == "ENC_VOP3P"; + let fv = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + let (sel, sel_hi) = if vop3p { (fv("OP_SEL"), fv("OP_SEL_HI") | fv("OP_SEL_HI_2") << 2) } else { (0, 0b111) }; + let (neg, neg_hi) = if vop3p { (fv("NEG"), fv("NEG_HI")) } else { (0, 0) }; + let clamp = vop3p && fv("CLAMP") == 1; + let u = self.sources(d, &ins, name.ends_with("_f16"))?; + let dst = outs.first().map(|o| Self::dst_of(d, o)).unwrap_or(Dst::Null); + let cur = match &dst { + Dst::V(n) => self.vreg(*n), + _ => "0u".into(), + }; + let src = |i: usize| u.get(i).cloned().unwrap_or_else(|| "0u".into()); + let h = |i: usize, hi: bool| -> String { + let s = src(i); + if (if hi { sel_hi } else { sel }) >> i & 1 == 1 { + format!("(({s}) >> 16)") + } else { + format!("(({s}) & 0xFFFFu)") + } + }; + let fh = |i: usize, hi: bool| -> String { + let v = format!("f16tof32({})", h(i, hi)); + if (if hi { neg_hi } else { neg }) >> i & 1 == 1 { + format!("(-{v})") + } else { + v + } + }; + let si = |i: usize, hi: bool| format!("(((int)({} << 16)) >> 16)", h(i, hi)); + let fr = |e: String| if clamp { format!("(f32tof16(saturate({e})) & 0xFFFFu)") } else { format!("(f32tof16({e}) & 0xFFFFu)") }; + let t = self.t(); + // dot products: one 32-bit result + let dot: Option<String> = match name { + "v_dot2_f32_f16" => { + let mut c = format!("asfloat({})", src(2)); + if neg >> 2 & 1 == 1 { + c = format!("(-{c})"); + } + let e = format!("mad({}, {}, mad({}, {}, {c}))", fh(0, true), fh(1, true), fh(0, false), fh(1, false)); + Some(if clamp { format!("asuint(saturate({e}))") } else { format!("asuint({e})") }) + } + "v_dot2c_f32_f16" => Some(format!("asuint(mad({}, {}, mad({}, {}, asfloat({cur}))))", fh(0, true), fh(1, true), fh(0, false), fh(1, false))), + "v_dot4c_i32_i8" => Some(format!("dot4_i8({}, {}, {cur})", src(0), src(1))), + "v_dot2_i32_i16" => Some(format!("(uint)({} * {} + {} * {} + (int){})", si(0, false), si(1, false), si(0, true), si(1, true), src(2))), + "v_dot2_u32_u16" => Some(format!("({} * {} + {} * {} + {})", h(0, false), h(1, false), h(0, true), h(1, true), src(2))), + "v_dot4_u32_u8" => Some(format!("dot4_u8({}, {}, {})", src(0), src(1), src(2))), + "v_dot4_i32_i8" => Some(format!("dot4_i8({}, {}, {})", src(0), src(1), src(2))), + "v_dot8_u32_u4" => Some(format!("dot8_u4({}, {}, {})", src(0), src(1), src(2))), + "v_dot8_i32_i4" => Some(format!("dot8_i4({}, {}, {})", src(0), src(1), src(2))), + _ => None, + }; + if let Some(e) = dot { + self.line(&format!("uint {t} = {e};")); + self.write32(&dst, &t); + return Ok(()); + } + let half = |hi: bool| -> Option<String> { + let (a, b, c) = (h(0, hi), h(1, hi), h(2, hi)); + let curh = if hi { format!("({cur} >> 16)") } else { format!("({cur} & 0xFFFFu)") }; + Some(match name { + "v_pk_add_f16" => fr(format!("{} + {}", fh(0, hi), fh(1, hi))), + "v_pk_mul_f16" => fr(format!("{} * {}", fh(0, hi), fh(1, hi))), + "v_pk_fma_f16" => fr(format!("mad({}, {}, {})", fh(0, hi), fh(1, hi), fh(2, hi))), + "v_pk_fmac_f16" => fr(format!("mad({}, {}, f16tof32({curh}))", fh(0, hi), fh(1, hi))), + "v_pk_min_f16" => fr(format!("min({}, {})", fh(0, hi), fh(1, hi))), + "v_pk_max_f16" => fr(format!("max({}, {})", fh(0, hi), fh(1, hi))), + "v_pk_add_u16" => format!("(({a} + {b}) & 0xFFFFu)"), + "v_pk_sub_u16" => format!("(({a} - {b}) & 0xFFFFu)"), + "v_pk_add_i16" => format!("((uint)({} + {}) & 0xFFFFu)", si(0, hi), si(1, hi)), + "v_pk_sub_i16" => format!("((uint)({} - {}) & 0xFFFFu)", si(0, hi), si(1, hi)), + "v_pk_mul_lo_u16" => format!("(({a} * {b}) & 0xFFFFu)"), + "v_pk_mad_u16" => format!("(({a} * {b} + {c}) & 0xFFFFu)"), + "v_pk_mad_i16" => format!("((uint)({} * {} + {}) & 0xFFFFu)", si(0, hi), si(1, hi), si(2, hi)), + "v_pk_lshlrev_b16" => format!("(({b} << ({a} & 15u)) & 0xFFFFu)"), + "v_pk_lshrrev_b16" => format!("({b} >> ({a} & 15u))"), + "v_pk_ashrrev_i16" => format!("((uint)({} >> ({a} & 15u)) & 0xFFFFu)", si(1, hi)), + "v_pk_max_u16" => format!("max({a}, {b})"), + "v_pk_min_u16" => format!("min({a}, {b})"), + "v_pk_max_i16" => format!("((uint)max({}, {}) & 0xFFFFu)", si(0, hi), si(1, hi)), + "v_pk_min_i16" => format!("((uint)min({}, {}) & 0xFFFFu)", si(0, hi), si(1, hi)), + _ => return None, + }) + }; + let (lo, hi) = (half(false).ok_or("VOP3P")?, half(true).ok_or("VOP3P")?); + self.line(&format!("uint {t} = {lo} | ({hi} << 16);")); + self.write32(&dst, &t); + Ok(()) + } + + /// v_movrel*: VGPR indexing with the (uniform) M0 – a switch over the registers the + /// program uses from the base upwards. + fn movrel(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + if d.variant != Variant::Plain { + return Err("movrel SDWA/DPP"); + } + let f = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + let vop3 = d.enc.name == "ENC_VOP3"; + let src_code = f("SRC0"); + let vdst = f("VDST"); + let m0 = self.sreg(124); + let act = self.act(); + let top = self.max_vgpr.max(vdst).max(src_code.saturating_sub(256)); + let _ = vop3; + let t = self.t(); + let (rd_idx, wr_idx) = match name { + "v_movrels_b32" => (Some(m0.clone()), None), + "v_movreld_b32" => (None, Some(m0.clone())), + "v_movrelsd_b32" => (Some(m0.clone()), Some(m0.clone())), + "v_movrelsd_2_b32" => (Some(format!("({m0} & 0x3FFu)")), Some(format!("(({m0} >> 16) & 0x3FFu)"))), + _ => return Err("movrel"), + }; + let value = match &rd_idx { + Some(idx) => { + if src_code < 256 { + return Err("movrels: źródło nie jest VGPR"); + } + let base = src_code - 256; + let mut cases = String::new(); + for k in 0..=top.saturating_sub(base) { + let v = self.vreg(base + k); + cases.push_str(&format!(" case {k}u: {t} = {v}; break;")); + } + self.line(&format!("uint {t} = 0u; switch ({idx}) {{{cases} default: break; }}")); + t.clone() + } + None => self.code32(src_code, d.literal, false).ok_or("op")?, + }; + match &wr_idx { + Some(idx) => { + let mut cases = String::new(); + for k in 0..=top.saturating_sub(vdst) { + let v = self.vreg(vdst + k); + cases.push_str(&format!(" case {k}u: {v} = {value}; break;")); + } + self.line(&format!("if ({act}) {{ switch ({idx}) {{{cases} default: break; }} }}")); + } + None => { + let v = self.vreg(vdst); + self.line(&format!("if ({act}) {v} = {value};")); + } + } + Ok(()) + } + + /// 16-bit VALU (f16 / u16 / i16 / b16): sources are the low halves (VOP3 op_sel picks the + /// high half per source), results go to the low half (op_sel[3]: high half) and the other + /// half is preserved – AnyPS5 `write16Bits` (GPL-2.0, ported 2026-11-20). + fn valu16(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + let (outs, ins) = Self::ops(d); + let m = Self::mods(d); + let u = self.sources(d, &ins, name.contains("f16"))?; + let plain = d.variant == Variant::Plain; + let half = |i: usize| -> String { + let s = u.get(i).map(String::as_str).unwrap_or("0u"); + if plain && m.opsel >> i & 1 == 1 { + format!("(({s}) >> 16)") + } else { + format!("(({s}) & 0xFFFFu)") + } + }; + let fh = |i: usize| -> String { + let mut s = format!("f16tof32({})", half(i)); + if m.abs[i.min(2)] { + s = format!("abs({s})"); + } + if m.neg[i.min(2)] { + s = format!("(-{s})"); + } + s + }; + let si = |i: usize| format!("(((int)({} << 16)) >> 16)", half(i)); + let fr = |e: String| -> String { + let mut s = match m.omod { + 1 => format!("(({e}) * 2.0f)"), + 2 => format!("(({e}) * 4.0f)"), + 3 => format!("(({e}) * 0.5f)"), + _ => format!("({e})"), + }; + if m.clamp { + s = format!("saturate({s})"); + } + format!("(f32tof16({s}) & 0xFFFFu)") + }; + let dst = outs.first().map(|o| Self::dst_of(d, o)).unwrap_or(Dst::Null); + let cur = match &dst { + Dst::V(n) => self.vreg(*n), + _ => "0u".into(), + }; + let curh = if plain && m.opsel >> 3 & 1 == 1 { format!("({cur} >> 16)") } else { format!("({cur} & 0xFFFFu)") }; + let (a, b, c) = (half(0), half(1), half(2)); + let r: String = match name { + "v_add_f16" => fr(format!("{} + {}", fh(0), fh(1))), + "v_sub_f16" => fr(format!("{} - {}", fh(0), fh(1))), + "v_subrev_f16" => fr(format!("{} - {}", fh(1), fh(0))), + "v_mul_f16" => fr(format!("{} * {}", fh(0), fh(1))), + "v_min_f16" => fr(format!("min({}, {})", fh(0), fh(1))), + "v_max_f16" => fr(format!("max({}, {})", fh(0), fh(1))), + "v_fma_f16" => fr(format!("mad({}, {}, {})", fh(0), fh(1), fh(2))), + "v_med3_f16" => fr(format!("med3f({}, {}, {})", fh(0), fh(1), fh(2))), + "v_min3_f16" => fr(format!("min(min({}, {}), {})", fh(0), fh(1), fh(2))), + "v_max3_f16" => fr(format!("max(max({}, {}), {})", fh(0), fh(1), fh(2))), + "v_med3_u16" => format!("med3u({a}, {b}, {c})"), + "v_min3_u16" => format!("min(min({a}, {b}), {c})"), + "v_max3_u16" => format!("max(max({a}, {b}), {c})"), + "v_med3_i16" => format!("((uint)med3i({}, {}, {}) & 0xFFFFu)", si(0), si(1), si(2)), + "v_min3_i16" => format!("((uint)min(min({}, {}), {}) & 0xFFFFu)", si(0), si(1), si(2)), + "v_max3_i16" => format!("((uint)max(max({}, {}), {}) & 0xFFFFu)", si(0), si(1), si(2)), + "v_frexp_mant_f16" => fr(format!("frexp_mant({})", fh(0))), + "v_frexp_exp_i16_f16" => format!("((uint)frexp_exp({}) & 0xFFFFu)", fh(0)), + "v_cndmask_b16" => return Err("VALU 16-bit"), + "v_mad_f16" => fr(format!("mad_nf({}, {}, {})", fh(0), fh(1), fh(2))), + "v_fmac_f16" => fr(format!("mad({}, {}, f16tof32({curh}))", fh(0), fh(1))), + "v_fmamk_f16" => fr(format!("mad({}, f16tof32({} & 0xFFFFu), {})", fh(0), u[1], fh(2))), + "v_fmaak_f16" => fr(format!("mad({}, {}, f16tof32({} & 0xFFFFu))", fh(0), fh(1), u[2])), + "v_ldexp_f16" => fr(format!("ldexp({}, (float){})", fh(0), si(1))), + "v_rcp_f16" => fr(format!("rcp({})", fh(0))), + "v_rsq_f16" => fr(format!("rsqrt({})", fh(0))), + "v_sqrt_f16" => fr(format!("sqrt({})", fh(0))), + "v_log_f16" => fr(format!("log2({})", fh(0))), + "v_exp_f16" => fr(format!("exp2({})", fh(0))), + "v_sin_f16" => fr(format!("sin({} * 6.2831853f)", fh(0))), + "v_cos_f16" => fr(format!("cos({} * 6.2831853f)", fh(0))), + "v_fract_f16" => fr(format!("fract_f({})", fh(0))), + "v_floor_f16" => fr(format!("floor({})", fh(0))), + "v_ceil_f16" => fr(format!("ceil({})", fh(0))), + "v_trunc_f16" => fr(format!("trunc({})", fh(0))), + "v_rndne_f16" => fr(format!("round({})", fh(0))), + "v_cvt_f16_u16" => fr(format!("(float){a}")), + "v_cvt_f16_i16" => fr(format!("(float){}", si(0))), + "v_cvt_u16_f16" => format!("(cvt_u32({}) > 0xFFFFu ? 0xFFFFu : cvt_u32({}))", fh(0), fh(0)), + "v_cvt_i16_f16" => format!("((uint)clamp(cvt_i32({}), -32768, 32767) & 0xFFFFu)", fh(0)), + "v_add_nc_u16" | "v_add_u16" => format!("(({a} + {b}) & 0xFFFFu)"), + "v_sub_nc_u16" | "v_sub_u16" => format!("(({a} - {b}) & 0xFFFFu)"), + "v_subrev_nc_u16" | "v_subrev_u16" => format!("(({b} - {a}) & 0xFFFFu)"), + "v_add_nc_i16" => format!("((uint)({} + {}) & 0xFFFFu)", si(0), si(1)), + "v_sub_nc_i16" => format!("((uint)({} - {}) & 0xFFFFu)", si(0), si(1)), + "v_mul_lo_u16" => format!("(({a} * {b}) & 0xFFFFu)"), + "v_lshlrev_b16" => format!("(({b} << ({a} & 15u)) & 0xFFFFu)"), + "v_lshrrev_b16" => format!("({b} >> ({a} & 15u))"), + "v_ashrrev_i16" => format!("((uint)({} >> ({a} & 15u)) & 0xFFFFu)", si(1)), + "v_max_u16" => format!("max({a}, {b})"), + "v_min_u16" => format!("min({a}, {b})"), + "v_max_i16" => format!("((uint)max({}, {}) & 0xFFFFu)", si(0), si(1)), + "v_min_i16" => format!("((uint)min({}, {}) & 0xFFFFu)", si(0), si(1)), + "v_mad_u16" => format!("(({a} * {b} + {c}) & 0xFFFFu)"), + "v_mad_i16" => format!("((uint)({} * {} + {}) & 0xFFFFu)", si(0), si(1), si(2)), + _ => return Err("VALU 16-bit"), + }; + let t = self.t(); + self.line(&format!("uint {t} = {r};")); + if d.variant == Variant::Sdwa { + self.vwrite(d, &dst, &t); + } else { + let merged = if m.opsel >> 3 & 1 == 1 { format!("({cur} & 0xFFFFu) | ({t} << 16)") } else { format!("({cur} & 0xFFFF0000u) | {t}") }; + self.vwrite(d, &dst, &merged); + } + Ok(()) + } + + /// 64-bit VALU: integer compares / shifts / v_mad_u64_u32 and the basic f64 operations. + fn valu64(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + let (outs, ins) = Self::ops(d); + let m = Self::mods(d); + if d.variant != Variant::Plain { + return Err("64-bit SDWA/DPP"); + } + let mut lo_hi: Vec<(String, String)> = Vec::new(); + for o in &ins { + if o.size == 64 { + lo_hi.push(self.read64(d, o).ok_or("op")?); + } else { + let v = self.read(d, o, false).ok_or("op")?; + lo_hi.push((v, "0u".into())); + } + } + let u64v = |i: usize| format!("(((uint64_t){} << 32) | (uint64_t){})", lo_hi[i].1, lo_hi[i].0); + let f64v = |i: usize| { + let mut s = format!("asdouble({}, {})", lo_hi[i].0, lo_hi[i].1); + if m.abs[i.min(2)] { + s = format!("abs({s})"); + } + if m.neg[i.min(2)] { + s = format!("(-{s})"); + } + s + }; + let dst = outs.first().map(|o| Self::dst_of(d, o)).unwrap_or(Dst::Null); + let t = self.t(); + if let Some(rest) = name.strip_prefix("v_cmpx_").or_else(|| name.strip_prefix("v_cmp_")) { + let (op, ty) = rest.rsplit_once('_').ok_or("VOPC")?; + let (a, b) = match ty { + "u64" => (u64v(0), u64v(1)), + "i64" => (format!("(int64_t){}", u64v(0)), format!("(int64_t){}", u64v(1))), + "f64" => (f64v(0), f64v(1)), + _ => return Err("VOPC 64"), + }; + let cond = match op { + "f" => "false".to_string(), + "lt" => format!("{a} < {b}"), + "eq" => format!("{a} == {b}"), + "le" => format!("{a} <= {b}"), + "gt" => format!("{a} > {b}"), + "ne" => format!("{a} != {b}"), + "lg" if ty == "f64" => format!("({a} < {b} || {a} > {b})"), + "nlg" => format!("!({a} < {b} || {a} > {b})"), + "lg" => format!("{a} != {b}"), + "ge" => format!("{a} >= {b}"), + "neq" => format!("!({a} == {b})"), + "nlt" => format!("!({a} < {b})"), + "nge" => format!("!({a} >= {b})"), + "ngt" => format!("!({a} > {b})"), + "nle" => format!("!({a} <= {b})"), + "o" => format!("({a} == {a} && {b} == {b})"), + "u" => format!("({a} != {a} || {b} != {b})"), + "t" | "tru" => "true".to_string(), + _ => return Err("VOPC 64"), + }; + let dst = if name.starts_with("v_cmpx_") { Dst::S(126) } else { dst }; + self.write_mask(&dst, &cond); + return Ok(()); + } + let r64: String = match name { + "v_lshlrev_b64" => format!("({} << ({} & 63u))", u64v(1), lo_hi[0].0), + "v_lshrrev_b64" => format!("({} >> ({} & 63u))", u64v(1), lo_hi[0].0), + "v_ashrrev_i64" => format!("(uint64_t)((int64_t){} >> ({} & 63u))", u64v(1), lo_hi[0].0), + "v_mad_u64_u32" | "v_mad_i64_i32" => { + let p = if name == "v_mad_u64_u32" { + format!("((uint64_t){} * (uint64_t){})", lo_hi[0].0, lo_hi[1].0) + } else { + format!("(uint64_t)((int64_t)(int){} * (int64_t)(int){})", lo_hi[0].0, lo_hi[1].0) + }; + self.line(&format!("uint64_t {t}_p = {p}; uint64_t {t}_c = {};", u64v(2))); + self.line(&format!("uint64_t {t}_w = {t}_p + {t}_c;")); + let sdst = outs.get(1).map(|o| Self::dst_of(d, o)).unwrap_or(Dst::Null); + self.write_mask(&sdst, &format!("{t}_w < {t}_c")); + self.write64(&dst, &format!("(uint){t}_w"), &format!("(uint)({t}_w >> 32)")); + return Ok(()); + } + _ => { + // f64 results + let e = match name { + "v_add_f64" => format!("{} + {}", f64v(0), f64v(1)), + "v_mul_f64" => format!("{} * {}", f64v(0), f64v(1)), + "v_fma_f64" => format!("fma({}, {}, {})", f64v(0), f64v(1), f64v(2)), + "v_min_f64" => format!("min({}, {})", f64v(0), f64v(1)), + "v_max_f64" => format!("max({}, {})", f64v(0), f64v(1)), + "v_rcp_f64" => format!("(1.0 / {})", f64v(0)), + "v_cvt_f64_f32" => format!("(double)asfloat({})", lo_hi[0].0), + "v_cvt_f64_i32" => format!("(double)(int){}", lo_hi[0].0), + "v_cvt_f64_u32" => format!("(double){}", lo_hi[0].0), + "v_floor_f64" => format!("floor_d({})", f64v(0)), + "v_trunc_f64" => format!("(double)(int64_t){}", f64v(0)), + "v_ldexp_f64" => format!("({} * (double)exp2((float)(int){}))", f64v(0), lo_hi[1].0), + "v_cvt_f32_f64" => { + self.line(&format!("uint {t} = asuint((float){});", f64v(0))); + self.write32(&dst, &t); + return Ok(()); + } + "v_cvt_i32_f64" => { + self.line(&format!("uint {t} = (uint)(int)clamp({}, -2147483648.0, 2147483647.0);", f64v(0))); + self.write32(&dst, &t); + return Ok(()); + } + "v_cvt_u32_f64" => { + self.line(&format!("uint {t} = (uint)clamp({}, 0.0, 4294967295.0);", f64v(0))); + self.write32(&dst, &t); + return Ok(()); + } + _ => return Err("VALU 64-bit"), + }; + let mut e = e; + if m.clamp { + e = format!("saturate({e})"); + } + self.line(&format!("double {t}_d = {e}; uint {t}_l, {t}_h; asuint({t}_d, {t}_l, {t}_h);")); + self.write64(&dst, &format!("{t}_l"), &format!("{t}_h")); + return Ok(()); + } + }; + self.line(&format!("uint64_t {t}_w = {r64};")); + self.write64(&dst, &format!("(uint){t}_w"), &format!("(uint)({t}_w >> 32)")); + Ok(()) + } + + fn valu(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + if name.starts_with("v_interp_") { + return self.interp(d, name); + } + let (outs, ins) = Self::ops(d); + let f16 = name.contains("f16") || name.contains("_i16") || name.contains("_u16") || name.contains("_b16"); + let cmp = name.starts_with("v_cmp"); + // inline constants are f16 patterns only where the source itself is 16-bit + let src_f16 = matches!(name, "v_cvt_f32_f16" | "v_pack_b32_f16") || (cmp && name.ends_with("_f16")); + let mix = name.starts_with("v_fma_mix"); + if name.starts_with("v_pk_") || name.starts_with("v_dot") { + return self.valu_pk(d, name); + } + if name.starts_with("v_movrel") { + return self.movrel(d, name); + } + if d.enc.name == "ENC_VOP3P" && !mix { + return Err("VOP3P"); + } + if d.variant != Variant::Plain && ext_encoding(d).is_none() { + return Err("SDWA/DPP w tym kodowaniu"); + } + self.dpp_enable = None; + if name.contains("f64") || name.contains("_i64") || name.contains("_u64") || name.contains("_b64") { + return self.valu64(d, name); + } + if f16 && !mix && !cmp && !matches!(name, "v_cvt_f32_f16" | "v_cvt_f16_f32" | "v_cvt_pkrtz_f16_f32" | "v_pack_b32_f16") { + return self.valu16(d, name); + } + let m = Self::mods(d); + let u = self.sources(d, &ins, src_f16)?; + if let Some(rest) = name.strip_prefix("v_cmpx_").or_else(|| name.strip_prefix("v_cmp_")) { + return self.vopc(d, rest, name.starts_with("v_cmpx_"), &outs, &u, &m); + } + let dst = outs.first().map(|o| Self::dst_of(d, o)).unwrap_or(Dst::Null); + let cur = match &dst { + Dst::V(n) => self.vreg(*n), + _ => "0u".into(), + }; + let a = u.first().cloned().unwrap_or_default(); + let b = u.get(1).cloned().unwrap_or_default(); + let c = u.get(2).cloned().unwrap_or_default(); + let fs = |i: usize| Self::fsrc(&m, i, u.get(i).map(String::as_str).unwrap_or("0u")); + let fr = |e: String| Self::fres(&m, &e); + let wmask = if self.opt.wave64 { 63 } else { 31 }; + let res: String = match name { + "v_mov_b32" | "v_mov_fed_b32" => a.clone(), + "v_not_b32" => format!("~{a}"), + "v_bfrev_b32" => format!("reversebits({a})"), + "v_ffbh_u32" => format!("(({a}) == 0u ? 0xFFFFFFFFu : 31u - firstbithigh({a}))"), + "v_ffbl_b32" => format!("(({a}) == 0u ? 0xFFFFFFFFu : firstbitlow({a}))"), + "v_ffbh_i32" => format!("ffbh_i({a})"), + "v_cvt_f32_i32" => fr(format!("(float)(int){a}")), + "v_cvt_f32_u32" => fr(format!("(float){a}")), + "v_cvt_u32_f32" => format!("cvt_u32({})", fs(0)), + "v_cvt_i32_f32" => format!("(uint)cvt_i32({})", fs(0)), + "v_cvt_rpi_i32_f32" => format!("(uint)cvt_i32(floor({} + 0.5f))", fs(0)), + "v_cvt_flr_i32_f32" => format!("(uint)cvt_i32(floor({}))", fs(0)), + "v_cvt_f32_ubyte0" => fr(format!("(float)({a} & 0xFFu)")), + "v_cvt_f32_ubyte1" => fr(format!("(float)(({a} >> 8) & 0xFFu)")), + "v_cvt_f32_ubyte2" => fr(format!("(float)(({a} >> 16) & 0xFFu)")), + "v_cvt_f32_ubyte3" => fr(format!("(float)({a} >> 24)")), + "v_cvt_f32_f16" => { + let h = if m.opsel & 1 == 1 { format!("({a} >> 16)") } else { format!("({a} & 0xFFFFu)") }; + fr(format!("f16tof32({h})")) + } + "v_cvt_f16_f32" => { + let h = format!("(f32tof16({}) & 0xFFFFu)", fs(0)); + if m.opsel >> 3 & 1 == 1 { + format!("({cur} & 0xFFFFu) | ({h} << 16)") + } else if d.variant == Variant::Sdwa { + h + } else { + format!("({cur} & 0xFFFF0000u) | {h}") + } + } + "v_cvt_pkrtz_f16_f32" => format!("f16_rtz({}) | (f16_rtz({}) << 16)", fs(0), fs(1)), + "v_pack_b32_f16" => { + let lo = if m.opsel & 1 == 1 { format!("({a} >> 16)") } else { format!("({a} & 0xFFFFu)") }; + let hi = if m.opsel & 2 == 2 { format!("({b} >> 16)") } else { format!("({b} & 0xFFFFu)") }; + format!("{lo} | ({hi} << 16)") + } + "v_fma_mix_f32" | "v_fma_mixlo_f16" | "v_fma_mixhi_f16" => { + let fv = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + let (sel, hi2) = (fv("OP_SEL"), fv("OP_SEL_HI") | fv("OP_SEL_HI_2") << 2); + let (neg, abs) = (fv("NEG"), fv("NEG_HI")); + let src = |i: usize| -> String { + let raw = &u[i]; + let mut s = if hi2 >> i & 1 == 1 { + if sel >> i & 1 == 1 { + format!("f16tof32({raw} >> 16)") + } else { + format!("f16tof32({raw} & 0xFFFFu)") + } + } else { + format!("asfloat({raw})") + }; + if abs >> i & 1 == 1 { + s = format!("abs({s})"); + } + if neg >> i & 1 == 1 { + s = format!("(-{s})"); + } + s + }; + let mut e = format!("mad({}, {}, {})", src(0), src(1), src(2)); + if fv("CLAMP") == 1 { + e = format!("saturate({e})"); + } + match name { + "v_fma_mix_f32" => format!("asuint({e})"), + "v_fma_mixlo_f16" => format!("({cur} & 0xFFFF0000u) | (f32tof16({e}) & 0xFFFFu)"), + _ => format!("({cur} & 0xFFFFu) | (f32tof16({e}) << 16)"), + } + } + "v_rcp_f32" | "v_rcp_iflag_f32" => fr(format!("rcp({})", fs(0))), + "v_rsq_f32" => fr(format!("rsqrt({})", fs(0))), + "v_sqrt_f32" => fr(format!("sqrt({})", fs(0))), + "v_exp_f32" => fr(format!("exp2({})", fs(0))), + "v_log_f32" => fr(format!("log2({})", fs(0))), + "v_sin_f32" => fr(format!("sin({} * 6.2831853f)", fs(0))), + "v_cos_f32" => fr(format!("cos({} * 6.2831853f)", fs(0))), + "v_fract_f32" => fr(format!("fract_f({})", fs(0))), + "v_trunc_f32" => fr(format!("trunc({})", fs(0))), + "v_floor_f32" => fr(format!("floor({})", fs(0))), + "v_ceil_f32" => fr(format!("ceil({})", fs(0))), + "v_rndne_f32" => fr(format!("round({})", fs(0))), + "v_frexp_mant_f32" => fr(format!("frexp_mant({})", fs(0))), + "v_frexp_exp_i32_f32" => format!("(uint)frexp_exp({})", fs(0)), + "v_ldexp_f32" => fr(format!("ldexp({}, (float)(int){b})", fs(0))), + "v_add_f32" => fr(format!("{} + {}", fs(0), fs(1))), + "v_sub_f32" => fr(format!("{} - {}", fs(0), fs(1))), + "v_subrev_f32" => fr(format!("{} - {}", fs(1), fs(0))), + "v_mul_f32" => fr(format!("{} * {}", fs(0), fs(1))), + "v_mul_legacy_f32" => fr(format!("mul_legacy({}, {})", fs(0), fs(1))), + "v_min_f32" => fr(format!("min({}, {})", fs(0), fs(1))), + "v_max_f32" => fr(format!("max({}, {})", fs(0), fs(1))), + "v_fmac_f32" => fr(format!("mad({}, {}, asfloat({cur}))", fs(0), fs(1))), + "v_mac_f32" => fr(format!("mad_nf({}, {}, asfloat({cur}))", fs(0), fs(1))), + "v_fmac_legacy_f32" => fr(format!("fma_legacy({}, {}, asfloat({cur}))", fs(0), fs(1))), + "v_fma_f32" => fr(format!("mad({}, {}, {})", fs(0), fs(1), fs(2))), + "v_mad_f32" => fr(format!("mad_nf({}, {}, {})", fs(0), fs(1), fs(2))), + "v_fma_legacy_f32" => fr(format!("fma_legacy({}, {}, {})", fs(0), fs(1), fs(2))), + "v_fmamk_f32" => fr(format!("mad({}, asfloat({b}), {})", fs(0), fs(2))), + "v_fmaak_f32" => fr(format!("mad({}, {}, asfloat({c}))", fs(0), fs(1))), + "v_madmk_f32" => fr(format!("mad_nf({}, asfloat({b}), {})", fs(0), fs(2))), + "v_madak_f32" => fr(format!("mad_nf({}, {}, asfloat({c}))", fs(0), fs(1))), + "v_min3_f32" => fr(format!("min(min({}, {}), {})", fs(0), fs(1), fs(2))), + "v_max3_f32" => fr(format!("max(max({}, {}), {})", fs(0), fs(1), fs(2))), + "v_med3_f32" => fr(format!("med3f({}, {}, {})", fs(0), fs(1), fs(2))), + "v_cubeid_f32" => fr(format!("cube_id({}, {}, {})", fs(0), fs(1), fs(2))), + "v_cubesc_f32" => fr(format!("cube_sc({}, {}, {})", fs(0), fs(1), fs(2))), + "v_cubetc_f32" => fr(format!("cube_tc({}, {}, {})", fs(0), fs(1), fs(2))), + "v_cubema_f32" => fr(format!("cube_ma({}, {}, {})", fs(0), fs(1), fs(2))), + "v_add_nc_u32" => format!("{a} + {b}"), + "v_sub_nc_u32" => format!("{a} - {b}"), + "v_subrev_nc_u32" => format!("{b} - {a}"), + "v_mul_lo_u32" => format!("{a} * {b}"), + "v_mul_hi_u32" => format!("(uint)(((uint64_t){a} * (uint64_t){b}) >> 32)"), + "v_mul_hi_i32" => format!("(uint)(((int64_t)(int){a} * (int64_t)(int){b}) >> 32)"), + "v_mul_u32_u24" => format!("({a} & 0xFFFFFFu) * ({b} & 0xFFFFFFu)"), + "v_mul_hi_u32_u24" => format!("(uint)(((uint64_t)({a} & 0xFFFFFFu) * (uint64_t)({b} & 0xFFFFFFu)) >> 32)"), + "v_mul_i32_i24" => format!("(uint)(i24({a}) * i24({b}))"), + "v_mad_u32_u24" => format!("({a} & 0xFFFFFFu) * ({b} & 0xFFFFFFu) + {c}"), + "v_mad_i32_i24" => format!("(uint)(i24({a}) * i24({b}) + (int){c})"), + "v_and_b32" => format!("{a} & {b}"), + "v_or_b32" => format!("{a} | {b}"), + "v_xor_b32" => format!("{a} ^ {b}"), + "v_xnor_b32" => format!("~({a} ^ {b})"), + "v_lshlrev_b32" => format!("{b} << ({a} & 31u)"), + "v_lshrrev_b32" => format!("{b} >> ({a} & 31u)"), + "v_ashrrev_i32" => format!("(uint)((int){b} >> ({a} & 31u))"), + "v_lshl_add_u32" => format!("({a} << ({b} & 31u)) + {c}"), + "v_add_lshl_u32" => format!("({a} + {b}) << ({c} & 31u)"), + "v_lshl_or_b32" => format!("({a} << ({b} & 31u)) | {c}"), + "v_and_or_b32" => format!("({a} & {b}) | {c}"), + "v_or3_b32" => format!("{a} | {b} | {c}"), + "v_xor3_b32" => format!("{a} ^ {b} ^ {c}"), + "v_add3_u32" => format!("{a} + {b} + {c}"), + "v_xad_u32" => format!("({a} ^ {b}) + {c}"), + "v_bfe_u32" => format!("bfe_u({a}, {b}, {c})"), + "v_bfe_i32" => format!("(uint)bfe_i({a}, {b}, {c})"), + "v_bfi_b32" => format!("({a} & {b}) | (~{a} & {c})"), + "v_bfm_b32" => format!("((({a} & 31u) == 0u) ? 0u : (0xFFFFFFFFu >> (32u - ({a} & 31u)))) << ({b} & 31u)"), + "v_bcnt_u32_b32" => format!("countbits({a}) + {b}"), + "v_perm_b32" => format!("perm_b32({a}, {b}, {c})"), + "v_alignbit_b32" => format!("alignbit({a}, {b}, {c})"), + "v_alignbyte_b32" => format!("alignbit({a}, {b}, ({c} & 3u) * 8u)"), + "v_min_u32" => format!("min({a}, {b})"), + "v_max_u32" => format!("max({a}, {b})"), + "v_min_i32" => format!("(uint)min((int){a}, (int){b})"), + "v_max_i32" => format!("(uint)max((int){a}, (int){b})"), + "v_min3_u32" => format!("min(min({a}, {b}), {c})"), + "v_max3_u32" => format!("max(max({a}, {b}), {c})"), + "v_med3_u32" => format!("med3u({a}, {b}, {c})"), + "v_min3_i32" => format!("(uint)min(min((int){a}, (int){b}), (int){c})"), + "v_max3_i32" => format!("(uint)max(max((int){a}, (int){b}), (int){c})"), + "v_med3_i32" => format!("(uint)med3i((int){a}, (int){b}, (int){c})"), + "v_sad_u32" => format!("(max({a}, {b}) - min({a}, {b})) + {c}"), + "v_cvt_pk_u8_f32" => format!( + "({c} & ~(0xFFu << (8u * ({b} & 3u)))) | (((uint)clamp(round({}), 0.0f, 255.0f)) << (8u * ({b} & 3u)))", + fs(0) + ), + "v_mbcnt_lo_u32_b32" => format!("countbits({a} & lanemask_lt_lo()) + {b}"), + "v_mbcnt_hi_u32_b32" => format!("countbits({a} & lanemask_lt_hi()) + {b}"), + "v_cndmask_b32" => { + let (l, h) = u.get(2).ok_or("maska")?.split_once('|').ok_or("maska")?; + let bit = self.lane_of(l, h); + format!("{bit} ? {b} : {a}") + } + "v_permlane16_b32" | "v_permlanex16_b32" => { + // lane i of each row reads lane sel[i] of the same / the other row (32-lane halves) + let (fi, bound) = (m.opsel & 1 == 1, m.opsel & 2 == 2); + let t = self.t(); + let other = if name == "v_permlanex16_b32" { "^ 16u" } else { "" }; + self.line(&format!( + "uint {t}_n = (lane_id & 15u) < 8u ? (({b} >> (4u * (lane_id & 7u))) & 15u) : (({c} >> (4u * (lane_id & 7u))) & 15u);" + )); + self.line(&format!("uint {t}_l = (lane_id & ~31u) | (((lane_id & 16u) {other}) & 16u) | {t}_n;")); + let (el, eh) = (self.sreg(126), self.sreg(127)); + let eh = if self.opt.wave64 { eh } else { "0u".into() }; + self.line(&format!("bool {t}_ok = {fi} || lanebit_at({el}, {eh}, {t}_l);")); + self.line(&format!("uint {t} = WaveReadLaneAt({a}, {t}_l);")); + if bound { + format!("{t}_ok ? {t} : 0u") + } else { + format!("{t}_ok ? {t} : {cur}") + } + } + "v_readfirstlane_b32" => { + let (el, eh) = (self.sreg(126), self.sreg(127)); + let eh = if self.opt.wave64 { eh } else { "0u".into() }; + let t = self.t(); + self.line(&format!("uint {t} = WaveReadLaneAt({a}, first_lane({el}, {eh}));")); + self.write32(&dst, &t); + return Ok(()); + } + "v_readlane_b32" => { + let t = self.t(); + self.line(&format!("uint {t} = WaveReadLaneAt({a}, {b} & {wmask}u);")); + self.write32(&dst, &t); + return Ok(()); + } + "v_writelane_b32" => { + // ignores EXEC + if let Dst::V(n) = &dst { + let v = self.vreg(*n); + self.line(&format!("if (lane_id == ({b} & {wmask}u)) {v} = {a};")); + } + return Ok(()); + } + "v_add_co_u32" | "v_sub_co_u32" | "v_subrev_co_u32" => { + let (x, y) = if name == "v_subrev_co_u32" { (b.clone(), a.clone()) } else { (a.clone(), b.clone()) }; + let t = self.t(); + let carry = if name == "v_add_co_u32" { + self.line(&format!("uint {t} = {x} + {y};")); + format!("{t} < {x}") + } else { + self.line(&format!("uint {t} = {x} - {y};")); + format!("{y} > {x}") + }; + let sdst = outs.get(1).map(|o| Self::dst_of(d, o)).unwrap_or(Dst::S(106)); + self.write_mask(&sdst, &carry); + self.vwrite(d, &dst, &t); + return Ok(()); + } + "v_add_co_ci_u32" | "v_sub_co_ci_u32" | "v_subrev_co_ci_u32" => { + let (l, h) = u.get(2).ok_or("maska")?.split_once('|').ok_or("maska")?; + let cin = format!("({} ? 1u : 0u)", self.lane_of(l, h)); + let (x, y) = if name == "v_subrev_co_ci_u32" { (b.clone(), a.clone()) } else { (a.clone(), b.clone()) }; + let t = self.t(); + if name == "v_add_co_ci_u32" { + self.line(&format!("uint64_t {t}w = (uint64_t){x} + (uint64_t){y} + (uint64_t){cin};")); + } else { + self.line(&format!("uint64_t {t}w = (uint64_t){x} - (uint64_t){y} - (uint64_t){cin};")); + } + self.line(&format!("uint {t} = (uint){t}w;")); + let sdst = outs.get(1).map(|o| Self::dst_of(d, o)).unwrap_or(Dst::S(106)); + self.write_mask(&sdst, &format!("({t}w >> 32) != 0ull")); + self.vwrite(d, &dst, &t); + return Ok(()); + } + _ => return Err("VALU"), + }; + let t = self.t(); + self.line(&format!("uint {t} = {res};")); + self.vwrite(d, &dst, &t); + Ok(()) + } + + fn vopc(&mut self, d: &Decoded, rest: &str, cmpx: bool, outs: &[&Operand], u: &[String], m: &Mods) -> Result<(), &'static str> { + let (op, ty) = rest.rsplit_once('_').ok_or("VOPC")?; + if u.len() < 2 { + return Err("VOPC"); + } + let (mut ua, mut ub) = (u[0].clone(), u[1].clone()); + let half = |i: u64, s: &str| if m.opsel >> i & 1 == 1 { format!("(({s}) >> 16)") } else { format!("(({s}) & 0xFFFFu)") }; + let ty = match ty { + "f16" => { + // compare in f32: exact for every f16 value (class keeps the f16 view) + if op == "class" { + let (h, c) = (half(0, &ua), ub.clone()); + let mut v = format!("f16tof32({h})"); + if m.abs[0] { + v = format!("abs({v})"); + } + if m.neg[0] { + v = format!("(-{v})"); + } + let cond = format!("((({c}) >> fclass16(f32tof16({v}))) & 1u) != 0u"); + return self.vopc_write(d, cmpx, outs, &cond); + } + ua = format!("asuint(f16tof32({}))", half(0, &ua)); + ub = format!("asuint(f16tof32({}))", half(1, &ub)); + "f32" + } + "u16" => { + ua = half(0, &ua); + ub = half(1, &ub); + "u32" + } + "i16" => { + ua = format!("(uint)(((int)({} << 16)) >> 16)", half(0, &ua)); + ub = format!("(uint)(((int)({} << 16)) >> 16)", half(1, &ub)); + "i32" + } + t => t, + }; + let cond = match ty { + "f32" => { + let (a, b) = (Self::fsrc(m, 0, &ua), Self::fsrc(m, 1, &ub)); + match op { + "class" => format!("((({ub}) >> fclass({a})) & 1u) != 0u"), + "f" => "false".to_string(), + "lt" => format!("{a} < {b}"), + "eq" => format!("{a} == {b}"), + "le" => format!("{a} <= {b}"), + "gt" => format!("{a} > {b}"), + "lg" => format!("({a} < {b} || {a} > {b})"), + "ge" => format!("{a} >= {b}"), + "o" => format!("(!isnan({a}) && !isnan({b}))"), + "u" => format!("(isnan({a}) || isnan({b}))"), + "nge" => format!("!({a} >= {b})"), + "nlg" => format!("!({a} < {b} || {a} > {b})"), + "ngt" => format!("!({a} > {b})"), + "nle" => format!("!({a} <= {b})"), + "neq" => format!("!({a} == {b})"), + "nlt" => format!("!({a} < {b})"), + "tru" => "true".to_string(), + _ => return Err("VOPC f32"), + } + } + "i32" | "u32" => { + let (a, b) = if ty == "i32" { (format!("(int){ua}"), format!("(int){ub}")) } else { (ua.clone(), ub.clone()) }; + match op { + "f" => "false".to_string(), + "lt" => format!("{a} < {b}"), + "eq" => format!("{a} == {b}"), + "le" => format!("{a} <= {b}"), + "gt" => format!("{a} > {b}"), + "ne" | "lg" => format!("{a} != {b}"), + "ge" => format!("{a} >= {b}"), + "t" | "tru" => "true".to_string(), + _ => return Err("VOPC int"), + } + } + _ => return Err("VOPC typ"), + }; + self.vopc_write(d, cmpx, outs, &cond) + } + + /// Destination of a compare: VCC / SDST (SDWA SD) / EXEC (cmpx). + fn vopc_write(&mut self, d: &Decoded, cmpx: bool, outs: &[&Operand], cond: &str) -> Result<(), &'static str> { + let mut dst = outs.first().map(|o| Self::dst_of(d, o)).unwrap_or(Dst::S(106)); + if d.variant == Variant::Sdwa { + // SDWA compares write VCC unless SD selects SDST + if let Some(e) = ext_encoding(d) { + if rdna2::field_value(e, &d.words, "SD") == Some(1) { + let sd = rdna2::field_value(e, &d.words, "SDST").unwrap_or(106); + dst = if sd == 125 { Dst::Null } else { Dst::S(sd) }; + } + } + } + if cmpx { + dst = Dst::S(126); + } + self.write_mask(&dst, cond); + Ok(()) + } + + // ---------------------------------------------------------------- cross-lane (DS) + + /// buffer_atomic_*: interlocked operations on the flat memory (GLC returns the old value). + fn buffer_atomic(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + let f = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + let op = name.trim_start_matches("buffer_atomic_"); + let func = match op { + "add" => "InterlockedAdd", + "smin" | "umin" => "InterlockedMin", + "smax" | "umax" => "InterlockedMax", + "and" => "InterlockedAnd", + "or" => "InterlockedOr", + "xor" => "InterlockedXor", + "swap" => "InterlockedExchange", + "cmpswap" => "InterlockedCompareExchange", + _ => return Err("buffer_atomic"), + }; + let (vdata, vaddr, srsrc) = (f("VDATA"), f("VADDR"), Self::field(d, "SRSRC")); + let soff = self.code32(f("SOFFSET"), None, false).ok_or("op")?; + let (offen, idxen) = (f("OFFEN") != 0, f("IDXEN") != 0); + let (d0, d1, d2) = (self.sreg(srsrc), self.sreg(srsrc + 1), self.sreg(srsrc + 2)); + let index = if idxen { self.vreg(vaddr) } else { "0u".into() }; + let voff = if offen { self.vreg(vaddr + idxen as u64) } else { "0u".into() }; + let t = self.t(); + self.line(&format!("uint {t}_stride = ({d1} >> 16) & 0x3FFFu;")); + self.line(&format!("uint {t}_off = {voff} + {}u;", f("OFFSET"))); + self.line(&format!("uint {t}_a = ({d0} + {soff} + {t}_off + {t}_stride * {index}) & ~3u;")); + self.line(&format!("bool {t}_ok = ({t}_stride == 0u) ? ({t}_off + 4u <= {d2}) : ({index} < {d2});")); + let v = self.vreg(vdata); + let act = self.act(); + let signed = op == "smin" || op == "smax"; + let ty = if signed { "int" } else { "uint" }; + self.line(&format!("{ty} {t}_old = 0;")); + let call = if op == "cmpswap" { + let cmp = self.vreg(vdata + 1); + format!("mem.InterlockedCompareExchange({t}_a, {cmp}, {v}, {t}_old);") + } else if signed { + format!("mem.{func}({t}_a, (int){v}, {t}_old);") + } else { + format!("mem.{func}({t}_a, {v}, {t}_old);") + }; + self.line(&format!("if ({act} && {t}_ok) {{ {call} }}")); + if f("GLC") == 1 { + self.line(&format!("if ({act}) {v} = {t}_ok ? (uint){t}_old : 0u;")); + } + Ok(()) + } + + /// FLAT / global: the flat memory model (address = low 32 bits). + fn flat(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + let f = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + let op = name.trim_start_matches("global_").trim_start_matches("flat_"); + let (store, count) = match op { + "load_dword" => (false, 1), + "load_dwordx2" => (false, 2), + "load_dwordx3" => (false, 3), + "load_dwordx4" => (false, 4), + "store_dword" => (true, 1), + "store_dwordx2" => (true, 2), + "store_dwordx3" => (true, 3), + "store_dwordx4" => (true, 4), + _ => return Err("FLAT"), + }; + let global = d.enc.name == "ENC_FLAT_GLBL"; + let addr = self.vreg(f("ADDR")); + let saddr = f("SADDR"); + let base = if global && saddr != 0x7D && saddr != 0x7F { + let s = self.sreg(saddr); + format!("{s} + {addr}") + } else { + addr + }; + let raw = f("OFFSET") as u32; + let off = if global { (((raw << 20) as i32) >> 20) as u32 } else { raw }; + let t = self.t(); + self.line(&format!("uint {t}_a = {base} + {};", hex(off))); + let act = self.act(); + let mut st = Vec::new(); + for i in 0..count { + if store { + let v = self.vreg(f("DATA") + i); + st.push(format!("mem.Store(({t}_a + {}u) & ~3u, {v});", 4 * i)); + } else { + let v = self.vreg(f("VDST") + i); + st.push(format!("{v} = mem.Load(({t}_a + {}u) & ~3u);", 4 * i)); + } + } + self.line(&format!("if ({act}) {{ {} }}", st.join(" "))); + Ok(()) + } + + /// LDS (`groupshared`, compute only) and the DS cross-lane permutes. + fn ds(&mut self, d: &Decoded, name: &str) -> Result<(), &'static str> { + let f = |n: &str| rdna2::field_value(d.enc, &d.words, n).unwrap_or(0); + let act = self.act(); + let t = self.t(); + let (o0, o1) = (f("OFFSET0"), f("OFFSET1")); + let off16 = o0 | o1 << 8; + match name { + "ds_swizzle_b32" => { + let pat = off16; + let a = self.vreg(f("ADDR")); + let src = if pat & 0x8000 != 0 { + format!("(lane_id & ~3u) | (({pat}u >> (2u * (lane_id & 3u))) & 3u)") + } else if pat >> 14 == 0 { + let (and, or, xor) = (pat & 0x1F, (pat >> 5) & 0x1F, (pat >> 10) & 0x1F); + format!("(lane_id & 0x20u) | ((((lane_id & 0x1Fu) & {and}u) | {or}u) ^ {xor}u)") + } else { + return Err("ds_swizzle: tryb FFT/rotacji"); + }; + self.line(&format!("uint {t} = WaveReadLaneAt({a}, {src});")); + let dst = Dst::V(f("VDST")); + self.write32(&dst, &t); + return Ok(()); + } + "ds_bpermute_b32" => { + let (a, v) = (self.vreg(f("ADDR")), self.vreg(f("DATA0"))); + let m = if self.opt.wave64 { 63 } else { 31 }; + self.line(&format!("uint {t} = WaveReadLaneAt({v}, (({a} + {off16}u) >> 2) & {m}u);")); + let dst = Dst::V(f("VDST")); + self.write32(&dst, &t); + return Ok(()); + } + _ => {} + } + if !matches!(self.opt.mode, Mode::Kernel | Mode::Mesh(_)) { + return Err("LDS poza compute"); + } + self.uses_lds = true; + let a = self.vreg(f("ADDR")); + let lds = |at: String| format!("xcl_lds[(({at}) >> 2) & 8191u]"); + let mut st = Vec::new(); + let rw = |n: &str| -> Option<(bool, u64, u64, bool)> { + // (write?, dwords per element, stride of offsets (bytes), two elements?) + Some(match n { + "ds_read_b32" => (false, 1, 1, false), + "ds_read_b64" => (false, 2, 1, false), + "ds_read_b96" => (false, 3, 1, false), + "ds_read_b128" => (false, 4, 1, false), + "ds_write_b32" => (true, 1, 1, false), + "ds_write_b64" => (true, 2, 1, false), + "ds_write_b96" => (true, 3, 1, false), + "ds_write_b128" => (true, 4, 1, false), + "ds_read2_b32" => (false, 1, 4, true), + "ds_read2_b64" => (false, 2, 8, true), + "ds_read2st64_b32" => (false, 1, 256, true), + "ds_read2st64_b64" => (false, 2, 512, true), + "ds_write2_b32" => (true, 1, 4, true), + "ds_write2_b64" => (true, 2, 8, true), + "ds_write2st64_b32" => (true, 1, 256, true), + "ds_write2st64_b64" => (true, 2, 512, true), + _ => return None, + }) + }; + if let Some((write, n, stride, two)) = rw(name) { + let addrs: Vec<String> = if two { + vec![format!("{a} + {}u", o0 * stride), format!("{a} + {}u", o1 * stride)] + } else { + vec![format!("{a} + {off16}u")] + }; + let (vd, d0, d1) = (f("VDST"), f("DATA0"), f("DATA1")); + for (e, at) in addrs.iter().enumerate() { + for k in 0..n { + let slot = lds(format!("{at} + {}u", 4 * k)); + if write { + let src = self.vreg(if e == 0 { d0 } else { d1 } + k); + st.push(format!("{slot} = {src};")); + } else { + let v = self.vreg(vd + e as u64 * n + k); + st.push(format!("{v} = {slot};")); + } + } + } + self.line(&format!("if ({act}) {{ {} }}", st.join(" "))); + return Ok(()); + } + let (op, rtn) = match name.strip_prefix("ds_") { + Some(r) if r.contains("_rtn_") => (r.replacen("_rtn", "", 1), true), + Some(r) => (r.to_string(), false), + None => return Err("DS"), + }; + let func = match op.as_str() { + "add_u32" => "InterlockedAdd", + "min_u32" | "min_i32" => "InterlockedMin", + "max_u32" | "max_i32" => "InterlockedMax", + "and_b32" => "InterlockedAnd", + "or_b32" => "InterlockedOr", + "xor_b32" => "InterlockedXor", + "wrxchg_b32" => "InterlockedExchange", + "sub_u32" => "InterlockedAdd", + _ => return Err("DS"), + }; + if op.ends_with("_i32") { + return Err("DS min/max i32"); + } + let v = self.vreg(f("DATA0")); + let val = if op == "sub_u32" { format!("(0u - {v})") } else { v }; + let slot = lds(format!("{a} + {off16}u")); + self.line(&format!("uint {t}_o = 0u; if ({act}) {{ {func}({slot}, {val}, {t}_o); }}")); + if rtn { + let r = self.vreg(f("VDST")); + self.line(&format!("if ({act}) {r} = {t}_o;")); + } + Ok(()) + } + + // ---------------------------------------------------------------- whole shader + + pub fn finish(&self, body: &str) -> String { + let mut h = String::new(); + h.push_str("// generated by XCL (RDNA2 -> HLSL), do not edit\n"); + h.push_str("RWByteAddressBuffer io : register(u0);\nRWByteAddressBuffer res : register(u1);\nRWByteAddressBuffer mem : register(u2);\n"); + h.push_str(PRELUDE); + let infos: Vec<String> = (0..BUF_FORMATS.len()).map(|i| format!("0x{:08X}u", buf_format_info(i))).collect(); + let _ = writeln!(h, "static const uint FMT_INFO[78] = {{ {} }};", infos.join(", ")); + h.push_str(PRELUDE_MEM); + let mut sg: BTreeSet<u64> = self.sgprs.clone(); + sg.extend([106, 107, 124, 126, 127]); + let load_sgprs = |h: &mut String| { + for &c in &sg { + let _ = writeln!(h, " uint {} = io.Load({}u);", sname(c).unwrap(), c * 4); + } + }; + match &self.opt.mode { + Mode::Kernel => { + let lanes = if self.opt.wave64 { 64 } else { 32 }; + if self.uses_lds { + h.push_str("groupshared uint xcl_lds[8192]; // D3D12 limit: 32 KB (the console allows 64 KB)\n"); + } + let _ = writeln!(h, "[WaveSize({lanes})]\n[numthreads({lanes}, 1, 1)]\nvoid main(uint gi : SV_GroupIndex)\n{{"); + h.push_str(" lane_id = WaveGetLaneIndex();\n"); + load_sgprs(&mut h); + let _ = writeln!(h, " uint scc = io.Load({}u);", KERNEL_SCC_SLOT * 4); + for &v in &self.vgprs { + let _ = writeln!(h, " uint v{v} = io.Load(({}u + lane_id * {}u + {v}u) * 4u);", KERNEL_SGPRS, KERNEL_VGPRS); + } + h.push_str(body); + h.push_str(" if (lane_id == 0u) {\n"); + for &c in &sg { + let _ = writeln!(h, " res.Store({}u, {});", c * 4, sname(c).unwrap()); + } + let _ = writeln!(h, " res.Store({}u, scc);", KERNEL_SCC_SLOT * 4); + h.push_str(" }\n"); + for &v in &self.vgprs { + let _ = writeln!(h, " res.Store(({}u + lane_id * {}u + {v}u) * 4u, v{v});", KERNEL_SGPRS, KERNEL_VGPRS); + } + h.push_str("}\n"); + } + Mode::Vertex(vs) => { + h.push_str("struct XclIn {\n"); + let inputs: Vec<&SigElement> = vs.inputs.iter().filter(|e| e.system_value == 0 && !e.name.starts_with("SV_")).collect(); + for e in &inputs { + let _ = writeln!(h, " {}4 a{} : {};", hlsl_type(e), e.register, e.semantic()); + } + h.push_str(" uint xcl_vid : SV_VertexID;\n uint xcl_iid : SV_InstanceID;\n};\n"); + out_struct(&mut h, "XclOut", &vs.outputs); + h.push_str("XclOut main(XclIn xi)\n{\n XclOut xo = (XclOut)0;\n lane_id = WaveGetLaneIndex();\n"); + load_sgprs(&mut h); + h.push_str(" uint scc = 0u;\n { uint2 e0 = ballot(true); exec_lo = e0.x; exec_hi = e0.y; }\n"); + for &v in &self.vgprs { + let init = if v == 0 { + "xi.xcl_vid".to_string() + } else if v == 3 { + "xi.xcl_iid".to_string() + } else { + inputs + .iter() + .find(|e| v >= vs.attr_base + 4 * e.register as u64 && v < vs.attr_base + 4 * e.register as u64 + 4) + .map(|e| format!("asuint(xi.a{}[{}])", e.register, v - vs.attr_base - 4 * e.register as u64)) + .unwrap_or_else(|| "0u".into()) + }; + let _ = writeln!(h, " uint v{v} = {init};"); + } + h.push_str(body); + h.push_str(" return xo;\n}\n"); + } + Mode::Mesh(ms) => { + let lanes = if self.opt.wave64 { 64 } else { 32 }; + if self.uses_lds { + h.push_str("groupshared uint xcl_lds[8192]; // D3D12 limit: 32 KB (the console allows 64 KB)\n"); + } + let t = ms.threads; + let _ = writeln!(h, "[WaveSize({lanes})]\n[numthreads({t}, 1, 1)]\nvoid main(uint gi : SV_GroupIndex, uint3 gid : SV_GroupID)\n{{"); + h.push_str(" lane_id = WaveGetLaneIndex();\n"); + // thread index in the group as the console numbers it: wave · lanes + lane + let _ = writeln!(h, " uint xcl_wave = gi / {lanes}u;\n uint xcl_slot = xcl_wave * {lanes}u + lane_id;"); + let _ = writeln!(h, " uint xcl_rec = gid.x * {}u;", ms.record_dwords()); + let _ = writeln!(h, " uint xcl_vtx = xcl_rec + {MESH_HEADER}u + xcl_slot * {}u;", ms.vert_dwords()); + let _ = writeln!(h, " uint xcl_prm = xcl_rec + {}u + xcl_slot;", MESH_HEADER + ms.max_vertices as usize * ms.vert_dwords()); + load_sgprs(&mut h); + if sg.contains(&3) { + h.push_str(" s3 = (s3 & 0xF0FFFFFFu) | (xcl_wave << 24);\n"); + } + h.push_str(" uint scc = 0u;\n { uint2 e0 = ballot(true); exec_lo = e0.x; exec_hi = e0.y; }\n"); + for &v in &self.vgprs { + let init = if v == 5 { format!("gid.x * {t}u + xcl_slot") } else { "0u".into() }; + let _ = writeln!(h, " uint v{v} = {init};"); + } + h.push_str(body); + h.push_str("}\n"); + } + Mode::Pixel(ps) => { + h.push_str("struct XclIn {\n float4 xcl_pos : SV_Position;\n"); + for (k, e) in ranked(&ps.inputs, false).iter().enumerate() { + let mut m = self.ps_modes.get(&(k as u32)).cloned().unwrap_or_default(); + if e.component_type != 3 { + m = "nointerpolation".into(); + } + let _ = writeln!(h, " {m} {}4 a{k} : {};", hlsl_type(e), e.semantic()); + } + if ps.input_ena >> 12 & 1 == 1 { + h.push_str(" bool xcl_ff : SV_IsFrontFace;\n"); + } + if ps.input_ena >> 14 & 1 == 1 { + h.push_str(" uint xcl_cov : SV_Coverage;\n"); + } + h.push_str("};\nstruct XclOut {\n"); + for e in &ps.outputs { + match e.system_value { + 64 => { + let _ = writeln!(h, " {}4 t{} : SV_Target{};", hlsl_type(e), e.index, e.index); + } + 65 => h.push_str(" float xcl_depth : SV_Depth;\n"), + 67 => h.push_str(" float xcl_depth : SV_DepthGreaterEqual;\n"), + 68 => h.push_str(" float xcl_depth : SV_DepthLessEqual;\n"), + _ => {} + } + } + if !ps.outputs.iter().any(|e| matches!(e.system_value, 64 | 65 | 67 | 68)) { + h.push_str(" float4 xcl_unused : SV_Target7;\n"); + } + h.push_str("};\nXclOut main(XclIn xi)\n{\n XclOut xo = (XclOut)0;\n bool xcl_live = false;\n lane_id = WaveGetLaneIndex();\n"); + load_sgprs(&mut h); + h.push_str(" uint scc = 0u;\n { uint2 e0 = ballot(true); exec_lo = e0.x; exec_hi = e0.y; }\n"); + let sys = |bit: u32| ps_input_vgpr(ps.input_ena, bit); + for &v in &self.vgprs { + let init = if Some(v) == sys(8) { + "asuint(xi.xcl_pos.x)" + } else if Some(v) == sys(9) { + "asuint(xi.xcl_pos.y)" + } else if Some(v) == sys(10) { + "asuint(xi.xcl_pos.z)" + } else if Some(v) == sys(11) { + "asuint(xi.xcl_pos.w)" + } else if Some(v) == sys(12) { + "asuint(xi.xcl_ff ? 1.0f : 0.0f)" + } else if Some(v) == sys(14) { + "xi.xcl_cov" + } else { + "0u" + }; + let _ = writeln!(h, " uint v{v} = {init};"); + } + h.push_str(body); + if self.ps_done { + h.push_str(" if (!xcl_live) discard;\n"); + } + h.push_str(" return xo;\n}\n"); + } + } + h + } +} + +/// Vertex output struct shared by the VS mode and the mesh pass-through: SV_Position, then +/// the params in `exp param` order (non-system OSG1 elements, then clip/cull distances). +fn out_struct(h: &mut String, name: &str, outputs: &[SigElement]) { + let _ = writeln!(h, "struct {name} {{\n float4 pos : SV_Position;"); + for (k, e) in ranked(outputs, true).iter().enumerate() { + let n = out_comps(e); + let ty = if n == 1 { hlsl_type(e).to_string() } else { format!("{}{n}", hlsl_type(e)) }; + let _ = writeln!(h, " {ty} p{k} : {};", e.semantic()); + } + h.push_str("};\n"); +} + +/// Second pass of the mesh mode: a mesh shader that turns the records written by the +/// translated program (one per group, see `MsInterface::record_dwords`) into vertices and +/// triangles. Null primitives (bit 31) and out-of-range indices are culled. +pub fn mesh_passthrough(ms: &MsInterface) -> String { + let mut h = String::new(); + h.push_str("// generated by XCL: mesh pass-through for a translated NGG program\n"); + h.push_str("RWByteAddressBuffer io : register(u0);\nRWByteAddressBuffer res : register(u1);\n"); + out_struct(&mut h, "XclVert", &ms.outputs); + h.push_str("struct XclPrim { bool cull : SV_CullPrimitive; };\n"); + let (mv, mp, vd, rec) = (ms.max_vertices, ms.max_primitives, ms.vert_dwords(), ms.record_dwords()); + let t = ms.threads.clamp(1, 128); + let _ = writeln!( + h, + "[outputtopology(\"triangle\")]\n[numthreads({t}, 1, 1)]\nvoid main(uint gi : SV_GroupIndex, uint3 gid : SV_GroupID, out vertices XclVert verts[{mv}], out indices uint3 tris[{mp}], out primitives XclPrim prims[{mp}])\n{{" + ); + let _ = writeln!(h, " uint rec = gid.x * {rec}u;"); + let _ = writeln!(h, " uint nv = min(res.Load(rec * 4u), {mv}u);\n uint np = min(res.Load(rec * 4u + 4u), {mp}u);"); + h.push_str(" SetMeshOutputCounts(nv, np);\n"); + let _ = writeln!(h, " for (uint i = gi; i < nv; i += {t}u) {{"); + let _ = writeln!(h, " uint b = (rec + {MESH_HEADER}u + i * {vd}u) * 4u;"); + h.push_str(" XclVert o;\n o.pos = asfloat(res.Load4(b));\n"); + for (k, e) in ranked(&ms.outputs, true).iter().enumerate() { + let n = out_comps(e); + let sw = ["x", "y", "z", "w"][..n].concat(); + let raw = format!("res.Load4(b + {}u).{sw}", 16 * (k + 1)); + let v = match e.component_type { + 1 => raw, + 2 => format!("asint({raw})"), + _ => format!("asfloat({raw})"), + }; + let _ = writeln!(h, " o.p{k} = {v};"); + } + h.push_str(" verts[i] = o;\n }\n"); + let _ = writeln!(h, " for (uint j = gi; j < np; j += {t}u) {{"); + let _ = writeln!(h, " uint p = res.Load((rec + {}u + j) * 4u);", MESH_HEADER + mv as usize * vd); + h.push_str(" uint3 x = uint3(p & 0x3FFu, (p >> 10) & 0x3FFu, (p >> 20) & 0x3FFu);\n"); + h.push_str(" bool bad = (p >> 31) != 0u || any(x >= nv);\n"); + h.push_str(" tris[j] = bad ? uint3(0u, 0u, 0u) : x;\n XclPrim q; q.cull = bad; prims[j] = q;\n }\n}\n"); + h +} + +fn hlsl_type(e: &SigElement) -> &'static str { + match e.component_type { + 1 => "uint", + 2 => "int", + _ => "float", + } +} + +/// Components of an output element: clip/cull distances by their mask, the rest as 4-vectors. +fn out_comps(e: &SigElement) -> usize { + if matches!(e.system_value, 2 | 3) { + (8 - e.mask.leading_zeros()) as usize + } else { + 4 + } +} + +/// Interpolation modifier of every PS attribute from the I/J pair its v_interp uses. +pub fn ps_attr_modes(insts: &[Decoded], ena: u32) -> BTreeMap<u32, String> { + let mut out = BTreeMap::new(); + for d in insts { + let name = d.inst.name.to_ascii_lowercase(); + if !name.starts_with("v_interp_") { + continue; + } + let (_, ij, attr, _) = Em::interp_fields(d); + let mode = if name == "v_interp_mov_f32" { + "nointerpolation" + } else { + let pair = [(0u32, "sample"), (1, ""), (2, "centroid"), (4, "noperspective sample"), (5, "noperspective"), (6, "noperspective centroid")] + .into_iter() + .find(|&(bit, _)| ps_input_vgpr(ena, bit).is_some_and(|b| ij == b || ij == b + 1)); + match pair { + Some((_, m)) => m, + None => continue, + } + }; + out.entry(attr as u32).or_insert_with(|| mode.to_string()); + } + out +} + +/// `lt` → ("<", signed) for s_cmp_* / s_cmpk_* suffixes like "eq_i32". +fn cmp_op(rest: &str) -> Option<(&'static str, bool)> { + let (op, ty) = rest.rsplit_once('_')?; + let signed = ty == "i32"; + Some(( + match op { + "eq" => "==", + "lg" => "!=", + "gt" => ">", + "ge" => ">=", + "lt" => "<", + "le" => "<=", + _ => return None, + }, + signed, + )) +} + +const PRELUDE_MEM: &str = r#" +uint4 ld_raw(uint a) { + uint b = a & ~3u; uint s = (a & 3u) * 8u; + uint w0 = mem.Load(b), w1 = mem.Load(b + 4u), w2 = mem.Load(b + 8u), w3 = mem.Load(b + 12u), w4 = mem.Load(b + 16u); + if (s == 0u) return uint4(w0, w1, w2, w3); + return uint4((w0 >> s) | (w1 << (32u - s)), (w1 >> s) | (w2 << (32u - s)), (w2 >> s) | (w3 << (32u - s)), (w3 >> s) | (w4 << (32u - s))); +} +uint bits_at(uint4 r, uint off, uint w) { + uint i = off >> 5; uint s = off & 31u; + uint lo = r[i]; uint hi = (i < 3u) ? r[i + 1u] : 0u; + uint v = (s == 0u) ? lo : ((lo >> s) | (hi << (32u - s))); + return w >= 32u ? v : (v & ((1u << w) - 1u)); +} +float uf_small(uint v, uint mb) { + uint e = v >> mb; uint m = v & ((1u << mb) - 1u); float fm = (float)m / (float)(1u << mb); + if (e == 31u) return m != 0u ? asfloat(0x7FC00000u) : asfloat(0x7F800000u); + if (e == 0u) return fm * exp2(-14.0f); + return exp2((float)e - 15.0f) * (1.0f + fm); +} +uint fmt_bytes(uint info) { uint n = 0u; [unroll] for (uint k = 0u; k < 4u; k++) n += (info >> (8u + 6u * k)) & 63u; return n / 8u; } +uint fmt_comp(uint4 r, uint info, uint c) { + uint n = info & 7u; uint ty = (info >> 3) & 7u; + bool isint = ty == 4u || ty == 5u; + if (c >= n) return c == 3u ? (isint ? 1u : 0x3F800000u) : 0u; + uint off = 0u; [unroll] for (uint k = 0u; k < 3u; k++) if (k < c) off += (info >> (8u + 6u * k)) & 63u; + uint w = (info >> (8u + 6u * c)) & 63u; + uint v = bits_at(r, off, w); + int sv = w >= 32u ? (int)v : (((int)(v << (32u - w))) >> (32u - w)); + float maxu = w >= 32u ? 4294967295.0f : (float)((1u << w) - 1u); + float maxs = w >= 32u ? 2147483647.0f : (float)((1u << (w - 1u)) - 1u); + // exact endpoints (the hardware conversion is exact; DXC divides approximately) + if (ty == 0u) return asuint(v == 0u ? 0.0f : ((float)v >= maxu ? 1.0f : (float)v / maxu)); + if (ty == 1u) return asuint(sv == 0 ? 0.0f : ((float)sv >= maxs ? 1.0f : max((float)sv / maxs, -1.0f))); + if (ty == 2u) return asuint((float)v); + if (ty == 3u) return asuint((float)sv); + if (ty == 4u) return v; + if (ty == 5u) return (uint)sv; + return w == 32u ? v : (w == 16u ? asuint(f16tof32(v)) : asuint(uf_small(v, w == 11u ? 6u : 5u))); +} +uint img_cls(uint fmt) { uint ty = fmt <= 77u ? ((FMT_INFO[fmt] >> 3) & 7u) : 6u; return ty == 4u ? 1u : (ty == 5u ? 2u : 0u); } +void put_bits(inout uint4 r, uint off, uint w, uint v) { + uint m = w >= 32u ? 0xFFFFFFFFu : ((1u << w) - 1u); v &= m; + uint i = off >> 5; uint s = off & 31u; + r[i] |= v << s; + if (s != 0u && s + w > 32u && i < 3u) r[i + 1u] |= v >> (32u - s); +} +uint fmt_encode(uint x, uint info, uint c) { + uint ty = (info >> 3) & 7u; uint w = (info >> (8u + 6u * c)) & 63u; float f = asfloat(x); + float maxu = w >= 32u ? 4294967295.0f : (float)((1u << w) - 1u); + float maxs = w >= 32u ? 2147483647.0f : (float)((1u << (w - 1u)) - 1u); + if (ty == 0u) return (uint)round(saturate(f) * maxu); + if (ty == 1u) return (uint)(int)round(clamp(f, -1.0f, 1.0f) * maxs); + if (ty == 2u) return (uint)f; + if (ty == 3u) return (uint)(int)f; + if (ty == 4u || ty == 5u || w == 32u) return x; + uint h = f32tof16(f); + return w == 16u ? h : (w == 11u ? ((h >> 4) & 0x7FFu) : ((h >> 5) & 0x3FFu)); +} +uint4 fmt_pack(uint4 v, uint info) { + uint4 r = uint4(0u, 0u, 0u, 0u); uint n = info & 7u; uint off = 0u; + [unroll] for (uint c = 0u; c < 4u; c++) { if (c < n) { uint w = (info >> (8u + 6u * c)) & 63u; put_bits(r, off, w, fmt_encode(v[c], info, c)); off += w; } } + return r; +} +void st_part(uint b, uint m, uint v) { mem.InterlockedAnd(b, ~m); mem.InterlockedOr(b, v & m); } +void st_bytes(uint a, uint4 r, uint n) { + uint s = (a & 3u) * 8u; uint b = a & ~3u; + if (s == 0u && (n & 3u) == 0u) { [unroll] for (uint k = 0u; k < 4u; k++) if (k * 4u < n) mem.Store(b + 4u * k, r[k]); return; } + uint m = n >= 4u ? 0xFFFFFFFFu : ((1u << (8u * n)) - 1u); + st_part(b, m << s, r.x << s); + if (s != 0u && s + 8u * n > 32u) st_part(b + 4u, m >> (32u - s), r.x >> (32u - s)); +} +uint dst_sel(uint4 c, uint sel, bool isint) { return sel == 0u ? 0u : (sel == 1u ? (isint ? 1u : 0x3F800000u) : c[(sel - 4u) & 3u]); } +"#; + +const PRELUDE: &str = r#" +static uint lane_id; +bool lanebit(uint lo, uint hi) { return lane_id < 32u ? ((lo >> lane_id) & 1u) != 0u : ((hi >> (lane_id - 32u)) & 1u) != 0u; } +uint2 ballot(bool b) { uint4 m = WaveActiveBallot(b); return m.xy; } +bool lanebit_at(uint lo, uint hi, uint l) { return l < 32u ? ((lo >> l) & 1u) != 0u : ((hi >> (l - 32u)) & 1u) != 0u; } +uint sdwa_sel(uint x, uint sel, bool sext) { + if (sel >= 6u) return x; + uint sh = sel < 4u ? 8u * sel : 16u * (sel - 4u); uint w = sel < 4u ? 8u : 16u; + uint v = (x >> sh) & ((1u << w) - 1u); + return sext ? (uint)(((int)(v << (32u - w))) >> (32u - w)) : v; +} +uint sdwa_dst(uint r, uint old, uint sel, uint unused) { + if (sel >= 6u) return r; + uint sh = sel < 4u ? 8u * sel : 16u * (sel - 4u); uint w = sel < 4u ? 8u : 16u; + uint m = ((1u << w) - 1u) << sh; uint v = (r << sh) & m; + if (unused == 2u) return (old & ~m) | v; + if (unused == 1u) { uint top = sh + w; bool s = ((r >> (w - 1u)) & 1u) != 0u; return v | ((s && top < 32u) ? (0xFFFFFFFFu << top) : 0u); } + return v; +} +float cube_id(float x, float y, float z) { if (abs(z) >= abs(x) && abs(z) >= abs(y)) return z < 0.0f ? 5.0f : 4.0f; if (abs(y) >= abs(x)) return y < 0.0f ? 3.0f : 2.0f; return x < 0.0f ? 1.0f : 0.0f; } +float cube_sc(float x, float y, float z) { if (abs(z) >= abs(x) && abs(z) >= abs(y)) return z < 0.0f ? -x : x; if (abs(y) >= abs(x)) return x; return x < 0.0f ? z : -z; } +float cube_tc(float x, float y, float z) { if (abs(z) >= abs(x) && abs(z) >= abs(y)) return -y; if (abs(y) >= abs(x)) return y < 0.0f ? -z : z; return -y; } +float cube_ma(float x, float y, float z) { if (abs(z) >= abs(x) && abs(z) >= abs(y)) return 2.0f * z; if (abs(y) >= abs(x)) return 2.0f * y; return 2.0f * x; } +// AMD cube coordinates (sc/|2ma| + 1.5, tc/|2ma| + 1.5, face) back to a direction +float3 cube_dir(float s, float t, float face) { + float u = (s - 1.5f) * 2.0f; float v = (t - 1.5f) * 2.0f; uint f = ((uint)round(face)) % 8u; + if (f == 0u) return float3(1.0f, -v, -u); + if (f == 1u) return float3(-1.0f, -v, u); + if (f == 2u) return float3(u, 1.0f, v); + if (f == 3u) return float3(u, -1.0f, -v); + if (f == 4u) return float3(u, -v, 1.0f); + return float3(-u, -v, -1.0f); +} +uint first_lane(uint lo, uint hi) { return lo != 0u ? firstbitlow(lo) : (hi != 0u ? 32u + firstbitlow(hi) : 0u); } +uint lanemask_lt_lo() { return lane_id >= 32u ? 0xFFFFFFFFu : (lane_id == 0u ? 0u : (0xFFFFFFFFu >> (32u - lane_id))); } +uint lanemask_lt_hi() { return lane_id <= 32u ? 0u : (0xFFFFFFFFu >> (64u - lane_id)); } +uint wqm(uint m) { uint q = m | (m >> 1); q = q | (q >> 2); q &= 0x11111111u; return q * 15u; } +float mul_legacy(float a, float b) { return (a == 0.0f || b == 0.0f) ? 0.0f : a * b; } +float fma_legacy(float a, float b, float c) { return (a == 0.0f || b == 0.0f) ? c : mad(a, b, c); } +float mad_nf(float a, float b, float c) { precise float p = a * b; precise float r = p + c; return r; } +float med3f(float a, float b, float c) { return max(min(a, b), min(max(a, b), c)); } +uint med3u(uint a, uint b, uint c) { return max(min(a, b), min(max(a, b), c)); } +int med3i(int a, int b, int c) { return max(min(a, b), min(max(a, b), c)); } +float fract_f(float x) { return min(x - floor(x), asfloat(0x3F7FFFFFu)); } +uint cvt_u32(float f) { return (isnan(f) || f <= 0.0f) ? 0u : (f >= 4294967296.0f ? 0xFFFFFFFFu : (uint)f); } +int cvt_i32(float f) { return isnan(f) ? 0 : (f <= -2147483648.0f ? (int)0x80000000u : (f >= 2147483648.0f ? 0x7FFFFFFF : (int)f)); } +int i24(uint v) { return ((int)(v << 8)) >> 8; } +uint bfe_u(uint v, uint o, uint w) { o &= 31u; w &= 31u; return w == 0u ? 0u : ((v >> o) & (0xFFFFFFFFu >> (32u - w))); } +int bfe_i(uint v, uint o, uint w) { o &= 31u; w &= 31u; if (w == 0u) return 0; uint s = 32u - w; return ((int)((v >> o) << s)) >> s; } +uint sbfe_u(uint v, uint c) { uint o = c & 31u; uint w = (c >> 16) & 0x7Fu; return w == 0u ? 0u : (w >= 32u ? (v >> o) : ((v >> o) & (0xFFFFFFFFu >> (32u - w)))); } +int sbfe_i(uint v, uint c) { uint o = c & 31u; uint w = (c >> 16) & 0x7Fu; if (w == 0u) return 0; if (w >= 32u) return ((int)v) >> o; uint s = 32u - w; return ((int)((v >> o) << s)) >> s; } +uint ffbh_i(uint v) { uint x = ((int)v < 0) ? ~v : v; return x == 0u ? 0xFFFFFFFFu : 31u - firstbithigh(x); } +uint alignbit(uint s0, uint s1, uint s) { s &= 31u; return s == 0u ? s1 : ((s1 >> s) | (s0 << (32u - s))); } +uint perm_b32(uint s0, uint s1, uint sel) { + uint r = 0u; + [unroll] for (uint i = 0u; i < 4u; i++) { + uint k = (sel >> (8u * i)) & 0xFFu; uint b; + if (k >= 13u) b = 0xFFu; else if (k == 12u) b = 0u; + else if (k >= 8u) { uint s = (k == 8u) ? (s1 >> 15) : ((k == 9u) ? (s1 >> 31) : ((k == 10u) ? (s0 >> 15) : (s0 >> 31))); b = (s & 1u) != 0u ? 0xFFu : 0u; } + else b = ((k < 4u) ? (s1 >> (8u * k)) : (s0 >> (8u * (k - 4u)))) & 0xFFu; + r |= b << (8u * i); + } + return r; +} +uint f16_rtz(float f) { uint h = f32tof16(f) & 0xFFFFu; if (!isnan(f) && (h & 0x7FFFu) != 0u && abs(f16tof32(h)) > abs(f)) h -= 1u; return h; } +float frexp_mant(float x) { float e; return (isinf(x) || isnan(x)) ? x : frexp(x, e); } +int frexp_exp(float x) { float e; frexp(x, e); return (isinf(x) || isnan(x)) ? 0 : (int)e; } +double floor_d(double x) { double t = (double)(int64_t)x; return t > x ? t - 1.0 : t; } +uint dot4_u8(uint a, uint b, uint c) { uint r = c; [unroll] for (uint i = 0u; i < 32u; i += 8u) r += ((a >> i) & 0xFFu) * ((b >> i) & 0xFFu); return r; } +uint dot4_i8(uint a, uint b, uint c) { int r = (int)c; [unroll] for (uint i = 0u; i < 32u; i += 8u) r += (((int)(a << (24u - i))) >> 24) * (((int)(b << (24u - i))) >> 24); return (uint)r; } +uint dot8_u4(uint a, uint b, uint c) { uint r = c; [unroll] for (uint i = 0u; i < 32u; i += 4u) r += ((a >> i) & 0xFu) * ((b >> i) & 0xFu); return r; } +uint dot8_i4(uint a, uint b, uint c) { int r = (int)c; [unroll] for (uint i = 0u; i < 32u; i += 4u) r += (((int)(a << (28u - i))) >> 28) * (((int)(b << (28u - i))) >> 28); return (uint)r; } +uint fclass16(uint h) { + uint e = (h >> 10) & 0x1Fu; uint m = h & 0x3FFu; bool n = (h & 0x8000u) != 0u; + if (e == 0x1Fu) return m != 0u ? (((m & 0x200u) != 0u) ? 1u : 0u) : (n ? 2u : 9u); + if (e == 0u) return m == 0u ? (n ? 5u : 6u) : (n ? 4u : 7u); + return n ? 3u : 8u; +} +uint fclass(float f) { + uint u = asuint(f); uint e = (u >> 23) & 0xFFu; uint m = u & 0x7FFFFFu; bool n = (u >> 31) != 0u; + if (e == 0xFFu) return m != 0u ? (((m & 0x400000u) != 0u) ? 1u : 0u) : (n ? 2u : 9u); + if (e == 0u) return m == 0u ? (n ? 5u : 6u) : (n ? 4u : 7u); + return n ? 3u : 8u; +} +"#; diff --git a/crates/xcl/src/gpu/recomp/mod.rs b/crates/xcl/src/gpu/recomp/mod.rs new file mode 100644 index 0000000..67e8361 --- /dev/null +++ b/crates/xcl/src/gpu/recomp/mod.rs @@ -0,0 +1,357 @@ +//! RDNA2 → HLSL recompiler (design §5.7a / §5.7b). +//! +//! Execution model – exact without control-flow structurisation: +//! * every branch in AMD GPU code is scalar, i.e. uniform across the wave, so the program +//! becomes a dispatcher loop over basic blocks (`switch (pc)`) with one `pc` per wave; +//! branch-free programs are emitted as straight-line code, +//! * SGPRs, VCC, EXEC, M0 and SCC are ordinary variables that every lane computes alike +//! (uniform); lane masks produced by vector instructions come from `WaveActiveBallot`, +//! * VGPRs are per-lane variables; vector writes are masked by the lane's EXEC bit, +//! * cross-lane reads use `WaveReadLaneAt`. +//! +//! Modes: `Kernel` – a compute shader that loads the initial register file from a buffer, +//! runs the program and stores registers and exports back (instruction tests on the real +//! GPU, see `runner`). `Vertex` / `Pixel` – graphics entry points whose inputs and outputs +//! follow the DXBC signatures (rules measured on retail data, design §5.7b): +//! * VS: the fetch shader puts ISG1 element r into v[4 + 4r + c] (ES variant: v[9 + 4r + c]), +//! v0 = SV_VertexID, v3 = SV_InstanceID; `exp pos0` = SV_Position, `exp param N` = N-th +//! non-system OSG1 element (register order), then SV_ClipDistance / SV_CullDistance, +//! * PS: the initial VGPRs follow SPI_PS_INPUT_ENA (FSSM +0x248); `v_interp_* attrN` reads the +//! N-th non-system ISG1 element, interpolated by the PC rasteriser in the mode given by the +//! I/J pair it uses; `exp mrtN` / `mrtz` = SV_Target / SV_Depth; lanes without a DONE export +//! are discarded. +//! * MS (NGG, 9 282 programs in the retail pack): a compute shader (`[WaveSize(64)]`, the +//! thread group of PSV0) runs the program; `s_sendmsg 9` (GS_ALLOC_REQ, M0 = primitives << 12 +//! | vertices), `exp pos/param` (vertex = thread index in the group) and `exp prim` (packed +//! indices, bit 31 = null) go to a record per group in `res`; a generated pass-through mesh +//! shader ([`mesh_passthrough`]) rasterises the records. DXC allows `WaveSize` only for +//! compute, and the console code relies on 64-lane ballots, hence two passes. Inputs: +//! s3[27:24] = wave index in the group, v5 = group · threads + thread (the group id is v5 >> 7 +//! in the retail code, as in RADV's gfx10.3 mesh emulation), other SGPRs from `io`. +//! Memory instructions use a flat model: descriptor/base addresses index one +//! `ByteAddressBuffer` (`mem`); initial SGPRs (user data) come from `io`. Textures come next. + +pub mod dxc; +pub(crate) mod emit; +pub mod pso; +pub use emit::mesh_passthrough; +pub mod runner; +#[cfg(test)] +mod tests; + +use std::collections::{BTreeMap, BTreeSet}; + +use super::dxbc::SigElement; +use super::rdna2::{self, Decoded}; + +/// Kernel ABI: register file slots in the `io` / `res` buffers (dwords). +pub const KERNEL_SGPRS: usize = 128; +pub const KERNEL_VGPRS: usize = 256; +pub const KERNEL_LANES: usize = 64; +/// SCC is passed in the slot of the `null` register (125). +pub const KERNEL_SCC_SLOT: usize = 125; +/// first dword of the export area in `res`: 64 targets × 64 lanes × 4 components +pub const KERNEL_EXPORTS: usize = KERNEL_SGPRS + KERNEL_LANES * KERNEL_VGPRS; +pub const KERNEL_RES_DWORDS: usize = KERNEL_EXPORTS + 64 * KERNEL_LANES * 4; + +/// Vertex shader interface. +#[derive(Debug, Clone, Default, PartialEq, Eq)] +pub struct VsInterface { + pub inputs: Vec<SigElement>, + pub outputs: Vec<SigElement>, + /// first attribute VGPR: 4 (hardware VS) or 9 (ES variant) + pub attr_base: u64, +} + +/// Pixel shader interface. +#[derive(Debug, Clone, Default, PartialEq, Eq)] +pub struct PsInterface { + pub inputs: Vec<SigElement>, + pub outputs: Vec<SigElement>, + /// SPI_PS_INPUT_ENA: which system values occupy the initial VGPRs + pub input_ena: u32, +} + +/// Mesh (NGG) shader interface. +#[derive(Debug, Clone, Default, PartialEq, Eq)] +pub struct MsInterface { + /// per-vertex outputs (OSG1) + pub outputs: Vec<SigElement>, + /// threads per group (PSV0 numthreads.x) + pub threads: u32, + pub max_vertices: u32, + pub max_primitives: u32, +} + +/// dwords before the vertices of a mesh record: vertex count, primitive count, 2 spare +pub const MESH_HEADER: usize = 4; + +impl MsInterface { + /// dwords per vertex: pos0 + every param (4 each, raw bits) + pub fn vert_dwords(&self) -> usize { + 4 * (1 + ranked(&self.outputs, true).len()) + } + /// dwords of one group's record: header, vertices, primitives (1 dword each) + pub fn record_dwords(&self) -> usize { + MESH_HEADER + self.max_vertices as usize * self.vert_dwords() + self.max_primitives as usize + } +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum Mode { + Kernel, + Vertex(VsInterface), + Pixel(PsInterface), + Mesh(MsInterface), +} + +/// Non-system elements in register order – the order of `exp param N` / `v_interp attrN`. +pub fn ranked(sig: &[SigElement], with_clip: bool) -> Vec<&SigElement> { + let mut user: Vec<&SigElement> = sig.iter().filter(|e| e.system_value == 0 && !e.name.starts_with("SV_")).collect(); + user.sort_by_key(|e| e.register); + if with_clip { + let mut clip: Vec<&SigElement> = sig.iter().filter(|e| matches!(e.system_value, 2 | 3)).collect(); + clip.sort_by_key(|e| e.register); + user.extend(clip); + } + user +} + +/// Hardware order and VGPR sizes of the PS inputs enabled in SPI_PS_INPUT_ENA (bit → size): +/// persp sample/center/centroid (2), pull model (3), linear sample/center/centroid (2), +/// line stipple, pos x/y/z/w, front face, ancillary, sample coverage, pos fixed (1 each). +pub const PS_INPUT_SIZES: [u64; 16] = [2, 2, 2, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1]; + +/// First VGPR of PS input `bit` (None if not enabled). +pub fn ps_input_vgpr(ena: u32, bit: u32) -> Option<u64> { + if ena >> bit & 1 == 0 { + return None; + } + Some((0..bit).filter(|b| ena >> b & 1 == 1).map(|b| PS_INPUT_SIZES[b as usize]).sum()) +} + +/// Interface of a console program from its container (None: not a VS/PS we can drive). +pub fn interface(blob: &[u8], sh: &super::xbox::XboxShader, f: &super::xbox::Fssm) -> Option<Mode> { + let (inputs, outputs) = super::dxbc::signatures(blob); + let hw = f.stages.first()?.hw; + match (sh.stage.as_str(), hw) { + ("VS", 4) => Some(Mode::Vertex(VsInterface { inputs, outputs, attr_base: 4 })), + ("VS", 2) => Some(Mode::Vertex(VsInterface { inputs, outputs, attr_base: 9 })), + ("PS", 5) => { + let ena = f.data.get(0x248..0x24C).map(|b| u32::from_le_bytes(b.try_into().unwrap()))?; + Some(Mode::Pixel(PsInterface { inputs, outputs, input_ena: ena })) + } + ("MS", 7) => { + let p = super::dxbc::psv(blob)?; + let threads = p.numthreads.map(|t| t[0] * t[1].max(1) * t[2].max(1)).filter(|&t| t > 0).unwrap_or(128); + if p.ms_topology != 2 { + return None; // lines / points: not yet + } + Some(Mode::Mesh(MsInterface { + outputs, + threads, + max_vertices: (p.ms_max_vertices as u32).clamp(1, 256), + max_primitives: (p.ms_max_primitives as u32).clamp(1, 256), + })) + } + _ => None, + } +} + +#[derive(Debug, Clone)] +pub struct Options { + pub mode: Mode, + /// wave64 (64-bit EXEC/VCC) or wave32 program + pub wave64: bool, +} + +impl Default for Options { + fn default() -> Self { + Options { mode: Mode::Kernel, wave64: true } + } +} + +#[derive(Debug, Clone, Default)] +pub struct Translation { + pub hlsl: String, + /// instructions we cannot translate yet (mnemonic → count); the HLSL still compiles, + /// these become comments + pub unsupported: BTreeMap<String, usize>, + /// "mnemonic: reason" → count + pub unsupported_why: BTreeMap<String, usize>, + /// instructions without an effect in this model (waits, prefetch, mode changes…) + pub ignored: BTreeMap<String, usize>, + pub instructions: usize, + pub blocks: usize, +} + +impl Translation { + pub fn complete(&self) -> bool { + self.unsupported.is_empty() + } +} + +struct Ctx<'a> { + insts: &'a [Decoded], + starts: &'a BTreeSet<u64>, + leaders: &'a [u64], + loops: &'a [(u64, u64)], +} + +/// Emit the blocks starting in [lo, hi) at nesting `depth`; loop ranges become `while`. +fn emit_range(c: &Ctx, em: &mut emit::Em, body: &mut String, lo: u64, hi: u64, depth: usize, blocks: &mut usize) { + let pad = " ".repeat(depth); + let mut i = c.leaders.partition_point(|&l| l < lo); + while i < c.leaders.len() && c.leaders[i] < hi { + let start = c.leaders[i]; + let inner = c.loops.iter().filter(|&&(a, b)| a == start && b <= hi && (a, b) != (lo, hi)).max_by_key(|x| x.1).copied(); + if let Some((a, b)) = inner { + body.push_str(&format!("{pad}[loop] while (pc >= {a}u && pc < {b}u) {{\n")); + emit_range(c, em, body, a, b, depth + 1, blocks); + body.push_str(&format!("{pad}}}\n")); + i = c.leaders.partition_point(|&l| l < b); + continue; + } + let end = c.leaders.get(i + 1).copied().unwrap_or(u64::MAX); + body.push_str(&format!("{pad}if (pc == {start}u) {{\n")); + em.indent = depth + 1; + let mut flow = emit::Flow::Next; + let block: Vec<&Decoded> = c.insts.iter().filter(|d| d.pc >= start && d.pc < end).collect(); + for (k, d) in block.iter().enumerate() { + let next = block.get(k + 1).map(|n| n.pc).unwrap_or(end); + flow = em.inst(d, next); + if !matches!(flow, emit::Flow::Next) { + break; + } + } + body.push_str(&em.take()); + let fallthrough = if end == u64::MAX || !c.starts.contains(&end) { "0xFFFFFFFFu".to_string() } else { format!("{end}u") }; + let tail = match flow { + emit::Flow::Next => format!("pc = {fallthrough};"), + emit::Flow::Jump(t) => format!("pc = {t}u;"), + emit::Flow::Cond(cond, t) => format!("pc = ({cond}) ? {t}u : {fallthrough};"), + emit::Flow::End => "pc = 0xFFFFFFFFu;".to_string(), + }; + body.push_str(&format!("{pad} {tail}\n{pad}}}\n")); + *blocks += 1; + i += 1; + } +} + +/// Wave size the program was compiled for: 64-bit EXEC/VCC writes mean wave64. +pub fn detect_wave64(code: &[u8]) -> bool { + let mut off = 0; + let (mut w64, mut w32) = (0, 0); + while off + 4 <= code.len() { + let Ok(d) = rdna2::decode(&code[off..], off as u64) else { break }; + let n = d.inst.name; + if n.ends_with("_SAVEEXEC_B64") || n.ends_with("_WREXEC_B64") || n.starts_with("V_CMPX") { + w64 += n.ends_with("_B64") as i32; + } + if n.ends_with("_SAVEEXEC_B32") || n.ends_with("_WREXEC_B32") { + w32 += 1; + } + // s_mov_b64 exec / s_and_b64 exec …: SDST 126 + if let Some(sd) = rdna2::field_value(d.enc, &d.words, "SDST") { + if sd == 126 && n.ends_with("_B64") { + w64 += 1; + } + if sd == 126 && n.ends_with("_B32") { + w32 += 1; + } + } + off += d.len; + } + !(w32 > 0 && w64 == 0) +} + +pub fn translate(code: &[u8], opt: &Options) -> Result<Translation, String> { + let mut insts: Vec<Decoded> = Vec::new(); + let mut off = 0usize; + while off + 4 <= code.len() { + let d = rdna2::decode(&code[off..], off as u64).map_err(|e| format!("+{off:#x}: nie da się zdekodować ({e:?})"))?; + off += d.len; + insts.push(d); + } + let starts: BTreeSet<u64> = insts.iter().map(|d| d.pc).collect(); + let mut leaders: BTreeSet<u64> = BTreeSet::from([0]); + let mut branches = 0usize; + for d in &insts { + let next = d.pc + d.len as u64; + if let Some(t) = rdna2::branch_target(d) { + if !starts.contains(&t) { + return Err(format!("+{:#x}: skok do {t:#x}, który nie jest początkiem instrukcji", d.pc)); + } + leaders.insert(t); + leaders.insert(next); + branches += 1; + } else if d.inst.flags & rdna2::F_TERMINATOR != 0 { + leaders.insert(next); + } + } + let mut em = emit::Em::new(opt.clone()); + em.max_vgpr = insts + .iter() + .flat_map(|d| { + let (r, w) = rdna2::vgpr_uses(d); + r.into_iter().chain(w) + }) + .max() + .unwrap_or(0); + if let Mode::Pixel(ps) = &opt.mode { + em.ps_modes = emit::ps_attr_modes(&insts, ps.input_ena); + } + let mut body = String::new(); + let mut blocks = 0usize; + if branches == 0 { + // straight line: stop at the first s_endpgm (the rest is unreachable) + em.indent = 1; + for (i, d) in insts.iter().enumerate() { + let next = insts.get(i + 1).map(|n| n.pc).unwrap_or(u64::MAX); + if let emit::Flow::End = em.inst(d, next) { + break; + } + } + body.push_str(&em.take()); + blocks = 1; + } else { + // Blocks in address order as a chain of `if (pc == start)`: a forward branch is found + // further down the chain, so only ranges spanned by backward branches need a loop + // (`while (pc in range)`); ranges are merged until they nest. Same semantics as a + // dispatcher loop over all blocks, but DXC sees an acyclic graph almost everywhere + // (optimising one big dispatcher loop took minutes on large retail programs). + let leaders: Vec<u64> = leaders.into_iter().filter(|l| starts.contains(l)).collect(); + let mut loops: Vec<(u64, u64)> = Vec::new(); + for d in &insts { + if let Some(t) = rdna2::branch_target(d) { + if t <= d.pc { + loops.push((t, d.pc + d.len as u64)); + } + } + } + loop { + let mut merged = false; + 'scan: for i in 0..loops.len() { + for j in 0..loops.len() { + let (a, b) = (loops[i], loops[j]); + if i != j && a.0 < b.0 && b.0 < a.1 && a.1 < b.1 { + loops[i] = (a.0, b.1); + loops.remove(j); + merged = true; + break 'scan; + } + } + } + if !merged { + break; + } + } + loops.sort(); + loops.dedup(); + let ctx = Ctx { insts: &insts, starts: &starts, leaders: &leaders, loops: &loops }; + body.push_str(" uint pc = 0;\n"); + emit_range(&ctx, &mut em, &mut body, 0, u64::MAX, 1, &mut blocks); + } + let hlsl = em.finish(&body); + Ok(Translation { hlsl, unsupported: em.unsupported, unsupported_why: em.unsupported_why, ignored: em.ignored, instructions: insts.len(), blocks }) +} diff --git a/crates/xcl/src/gpu/recomp/pso.rs b/crates/xcl/src/gpu/recomp/pso.rs new file mode 100644 index 0000000..8edf84a --- /dev/null +++ b/crates/xcl/src/gpu/recomp/pso.rs @@ -0,0 +1,82 @@ +//! Console shaders in pipeline states: a shader blob a title passes to Create*PipelineState +//! (DXBC container with XDAT/XBCH/FSSM, no usable DXIL) becomes DXIL through the recompiler, +//! and the pipeline gets XCL's shader ABI root signature instead of the title's one: +//! root UAVs u0 `io` (initial SGPRs = user data), u1 `res`, u2 `mem` (flat memory), plus the +//! directly indexed descriptor heaps (images / samplers). Mapping the title's root arguments +//! onto that ABI at draw time is the next step (needs the console runtime's user-data layout). + +use windows::Win32::Graphics::Direct3D::ID3DBlob; +use windows::Win32::Graphics::Direct3D12::*; + +use super::{dxc, interface, translate, Mode, Options}; +use crate::gpu::xbox; + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum Stage { + Vertex, + Pixel, +} + +/// A console (xbox-native) shader container? +pub fn is_console(blob: &[u8]) -> bool { + xbox::is_xbox(blob) +} + +/// Translate a console shader for `stage` to signed DXIL (DXC, disk-cached). +/// Fails when the blob is not a console shader or the program is not fully translated. +pub fn console_to_dxil(blob: &[u8], stage: Stage) -> Result<Vec<u8>, String> { + let sh = xbox::parse(blob).ok_or("to nie jest kontener shadera konsoli")?; + // the hardware variant for this pipeline slot: VS (not the ES variant used with GS), PS + let want = match stage { + Stage::Vertex => 4, + Stage::Pixel => 5, + }; + let f = sh + .fssm + .iter() + .find(|f| f.stages.first().is_some_and(|s| s.hw == want)) + .ok_or_else(|| format!("brak wariantu sprzętowego {}", xbox::hw_stage_name(want)))?; + let mode = interface(blob, &sh, f).ok_or("nieznany interfejs shadera")?; + let profile = match (&mode, stage) { + (Mode::Vertex(_), Stage::Vertex) => "vs_6_6", + (Mode::Pixel(_), Stage::Pixel) => "ps_6_6", + _ => return Err("etap shadera nie pasuje do miejsca w PSO".into()), + }; + let p = f.programs.first().ok_or("FSSM bez programu")?; + let code = &f.data[p.offset..p.offset + p.len]; + let t = translate(code, &Options { mode, wave64: super::detect_wave64(code) })?; + if !t.complete() { + let missing: Vec<&String> = t.unsupported.keys().collect(); + return Err(format!("niepełne tłumaczenie, brakuje: {missing:?}")); + } + dxc::compile_cached(&t.hlsl, "main", profile).map(|(b, _)| b) +} + +/// XCL shader ABI root signature (see the module docs); `graphics` allows an input layout. +pub fn abi_root_signature(dev: &ID3D12Device, graphics: bool) -> Result<ID3D12RootSignature, String> { + unsafe { + let params: Vec<D3D12_ROOT_PARAMETER1> = (0..3) + .map(|i| D3D12_ROOT_PARAMETER1 { + ParameterType: D3D12_ROOT_PARAMETER_TYPE_UAV, + Anonymous: D3D12_ROOT_PARAMETER1_0 { + Descriptor: D3D12_ROOT_DESCRIPTOR1 { ShaderRegister: i, RegisterSpace: 0, Flags: D3D12_ROOT_DESCRIPTOR_FLAG_DATA_VOLATILE }, + }, + ShaderVisibility: D3D12_SHADER_VISIBILITY_ALL, + }) + .collect(); + let mut flags = D3D12_ROOT_SIGNATURE_FLAG_CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED | D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED; + if graphics { + flags |= D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT; + } + let desc = D3D12_VERSIONED_ROOT_SIGNATURE_DESC { + Version: D3D_ROOT_SIGNATURE_VERSION_1_1, + Anonymous: D3D12_VERSIONED_ROOT_SIGNATURE_DESC_0 { + Desc_1_1: D3D12_ROOT_SIGNATURE_DESC1 { NumParameters: 3, pParameters: params.as_ptr(), NumStaticSamplers: 0, pStaticSamplers: std::ptr::null(), Flags: flags }, + }, + }; + let mut blob: Option<ID3DBlob> = None; + D3D12SerializeVersionedRootSignature(&desc, &mut blob, None).map_err(|e| format!("{e}"))?; + let blob = blob.ok_or("root signature")?; + dev.CreateRootSignature(0, std::slice::from_raw_parts(blob.GetBufferPointer() as *const u8, blob.GetBufferSize())).map_err(|e| format!("CreateRootSignature: {e}")) + } +} diff --git a/crates/xcl/src/gpu/recomp/runner.rs b/crates/xcl/src/gpu/recomp/runner.rs new file mode 100644 index 0000000..eb9d6ab --- /dev/null +++ b/crates/xcl/src/gpu/recomp/runner.rs @@ -0,0 +1,1098 @@ +//! Runs recompiled kernels on the real GPU (D3D12 compute): the test bench for +//! instruction semantics and for whole console shaders. +//! +//! Kernel ABI (see `recomp`): u0 `io` = initial SGPRs (128 dwords, SCC in slot 125) then +//! 64 lanes × 256 VGPRs; u1 `res` = the same layout after the program plus exports; +//! u2 `mem` = flat memory for scalar/buffer loads. + +use std::mem::{transmute_copy, ManuallyDrop}; +use std::sync::Mutex; + +use windows::core::Interface; +use windows::Win32::Foundation::HANDLE; +use windows::Win32::Graphics::Direct3D::*; +use windows::Win32::Graphics::Direct3D12::*; +use windows::Win32::Graphics::Dxgi::Common::*; +use windows::Win32::Graphics::Dxgi::*; + +use super::{KERNEL_LANES, KERNEL_RES_DWORDS, KERNEL_SCC_SLOT, KERNEL_SGPRS, KERNEL_VGPRS}; + +/// Initial state of a kernel run. +#[derive(Clone)] +pub struct KernelState { + pub sgpr: Vec<u32>, + /// `vgpr[lane][reg]` + pub vgpr: Vec<Vec<u32>>, + pub scc: u32, +} + +impl Default for KernelState { + fn default() -> Self { + let mut sgpr = vec![0u32; KERNEL_SGPRS]; + sgpr[126] = u32::MAX; // EXEC: all 64 lanes + sgpr[127] = u32::MAX; + KernelState { sgpr, vgpr: vec![vec![0u32; KERNEL_VGPRS]; KERNEL_LANES], scc: 0 } + } +} + +/// Final state + exports (`exports[target][lane][component]`, raw dwords). +pub struct KernelResult { + pub sgpr: Vec<u32>, + pub vgpr: Vec<Vec<u32>>, + pub scc: u32, + pub raw: Vec<u32>, + /// flat memory after the kernel (stores) + pub mem: Vec<u32>, + /// contents of the UAV test textures after the kernel (tightly packed) + pub textures: Vec<Vec<u8>>, +} + +impl KernelResult { + pub fn export(&self, target: usize, lane: usize, comp: usize) -> u32 { + self.raw[super::KERNEL_EXPORTS + (target * KERNEL_LANES + lane) * 4 + comp] + } +} + +struct Gpu { + dev: ID3D12Device, + queue: ID3D12CommandQueue, + rs: ID3D12RootSignature, + fence: ID3D12Fence, + value: u64, + adapter: String, +} + +// D3D12 objects are free-threaded; access is serialised by the mutex. +unsafe impl Send for Gpu {} + +static GPU: Mutex<Option<Result<Gpu, String>>> = Mutex::new(None); + +fn e(x: windows::core::Error) -> String { + format!("{x}") +} + +fn init() -> Result<Gpu, String> { + unsafe { + let factory: IDXGIFactory6 = CreateDXGIFactory2(DXGI_CREATE_FACTORY_FLAGS(0)).map_err(e)?; + let adapter: IDXGIAdapter1 = factory.EnumAdapterByGpuPreference(0, DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE).map_err(e)?; + let desc = adapter.GetDesc1().map_err(e)?; + let name = String::from_utf16_lossy(&desc.Description).trim_end_matches('\0').to_string(); + let mut dev: Option<ID3D12Device> = None; + D3D12CreateDevice(&adapter, D3D_FEATURE_LEVEL_12_0, &mut dev).map_err(e)?; + let dev = dev.ok_or("brak urządzenia")?; + let mut sm = D3D12_FEATURE_DATA_SHADER_MODEL { HighestShaderModel: D3D_SHADER_MODEL_6_6 }; + dev.CheckFeatureSupport(D3D12_FEATURE_SHADER_MODEL, &mut sm as *mut _ as _, std::mem::size_of_val(&sm) as u32) + .map_err(|x| format!("SM 6.6: {x}"))?; + if sm.HighestShaderModel.0 < D3D_SHADER_MODEL_6_6.0 { + return Err(format!("{name}: brak SM 6.6")); + } + let mut o1 = D3D12_FEATURE_DATA_D3D12_OPTIONS1::default(); + dev.CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS1, &mut o1 as *mut _ as _, std::mem::size_of_val(&o1) as u32).map_err(e)?; + if !o1.WaveOps.as_bool() || o1.WaveLaneCountMax < 64 || !o1.Int64ShaderOps.as_bool() { + return Err(format!("{name}: brak wave64/operacji falowych/int64 ({}..{})", o1.WaveLaneCountMin, o1.WaveLaneCountMax)); + } + let queue: ID3D12CommandQueue = + dev.CreateCommandQueue(&D3D12_COMMAND_QUEUE_DESC { Type: D3D12_COMMAND_LIST_TYPE_DIRECT, ..Default::default() }).map_err(e)?; + let rs = root_signature(&dev, false)?; + let fence: ID3D12Fence = dev.CreateFence(0, D3D12_FENCE_FLAG_NONE).map_err(e)?; + Ok(Gpu { dev, queue, rs, fence, value: 0, adapter: name }) + } +} + +/// Root signature: u0 io, u1 res, u2 mem as root UAVs; CBV/SRV/UAV and sampler heaps +/// directly indexed (SM 6.6 `ResourceDescriptorHeap`); `graphics` adds the input assembler. +fn root_signature(dev: &ID3D12Device, graphics: bool) -> Result<ID3D12RootSignature, String> { + super::pso::abi_root_signature(dev, graphics) +} + +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum TexDim { + D2, + D2Array, + D3, + Cube, +} + +/// A texture for kernel tests: SRV at heap index 2·i, UAV (if `uav`) at 2·i + 1. +pub struct TestTexture { + pub dim: TexDim, + pub format: DXGI_FORMAT, + pub width: u32, + pub height: u32, + /// array slices (cube: 6) or depth + pub depth: u32, + pub texel_bytes: u32, + /// tightly packed texels, slice after slice + pub data: Vec<u8>, + pub uav: bool, +} + +/// A sampler for kernel tests at sampler heap index j. +pub struct TestSampler { + pub filter: D3D12_FILTER, + pub address: D3D12_TEXTURE_ADDRESS_MODE, + pub comparison: Option<D3D12_COMPARISON_FUNC>, +} + +struct Bound { + _heaps: [ID3D12DescriptorHeap; 2], + textures: Vec<(ID3D12Resource, Vec<D3D12_PLACED_SUBRESOURCE_FOOTPRINT>, u64)>, + _upload: Option<ID3D12Resource>, +} + +/// Create the descriptor heaps (always, so the directly indexed root signature is valid), +/// the test textures and samplers; record the uploads into `list`. +unsafe fn bind_resources(dev: &ID3D12Device, list: &ID3D12GraphicsCommandList, textures: &[TestTexture], samplers: &[TestSampler]) -> Result<Bound, String> { + let n = (2 * textures.len()).max(2) as u32; + let heap: ID3D12DescriptorHeap = dev + .CreateDescriptorHeap(&D3D12_DESCRIPTOR_HEAP_DESC { + Type: D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, + NumDescriptors: n, + Flags: D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, + NodeMask: 0, + }) + .map_err(e)?; + let sheap: ID3D12DescriptorHeap = dev + .CreateDescriptorHeap(&D3D12_DESCRIPTOR_HEAP_DESC { + Type: D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER, + NumDescriptors: samplers.len().max(1) as u32, + Flags: D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, + NodeMask: 0, + }) + .map_err(e)?; + let inc = dev.GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV) as usize; + let sinc = dev.GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER) as usize; + let at = |h: &ID3D12DescriptorHeap, k: usize, step: usize| D3D12_CPU_DESCRIPTOR_HANDLE { ptr: h.GetCPUDescriptorHandleForHeapStart().ptr + k * step }; + for (j, sm) in samplers.iter().enumerate() { + let mut sd = D3D12_SAMPLER_DESC { + Filter: sm.filter, + AddressU: sm.address, + AddressV: sm.address, + AddressW: sm.address, + MaxAnisotropy: 1, + ComparisonFunc: D3D12_COMPARISON_FUNC_NEVER, + MaxLOD: f32::MAX, + ..Default::default() + }; + if let Some(c) = sm.comparison { + sd.ComparisonFunc = c; + } + dev.CreateSampler(&sd, at(&sheap, j, sinc)); + } + // all texture data through one upload buffer + let mut descs = Vec::new(); + let mut total = 0u64; + let mut plans = Vec::new(); + for t in textures { + let (dim, depth_or_array) = match t.dim { + TexDim::D3 => (D3D12_RESOURCE_DIMENSION_TEXTURE3D, t.depth), + _ => (D3D12_RESOURCE_DIMENSION_TEXTURE2D, t.depth), + }; + let rd = D3D12_RESOURCE_DESC { + Dimension: dim, + Width: t.width as u64, + Height: t.height, + DepthOrArraySize: depth_or_array as u16, + MipLevels: 1, + Format: t.format, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + Flags: if t.uav { D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS } else { D3D12_RESOURCE_FLAG_NONE }, + ..Default::default() + }; + let subs = if t.dim == TexDim::D3 { 1 } else { t.depth }; + let mut fps = vec![D3D12_PLACED_SUBRESOURCE_FOOTPRINT::default(); subs as usize]; + let mut size = 0u64; + dev.GetCopyableFootprints(&rd, 0, subs, total, Some(fps.as_mut_ptr()), None, None, Some(&mut size)); + total = (total + size + 511) & !511; + plans.push(fps); + descs.push(rd); + } + let upload = if total > 0 { Some(buffer(dev, total, D3D12_HEAP_TYPE_UPLOAD, D3D12_RESOURCE_STATE_GENERIC_READ, false)?) } else { None }; + let mut out = Vec::new(); + if let Some(up) = &upload { + let mut p = std::ptr::null_mut(); + up.Map(0, None, Some(&mut p)).map_err(e)?; + for (t, fps) in textures.iter().zip(&plans) { + let row = (t.width * t.texel_bytes) as usize; + let slices = t.depth as usize; + for z in 0..slices { + let fp = if t.dim == TexDim::D3 { &fps[0] } else { &fps[z] }; + let slice_pitch = fp.Footprint.RowPitch as usize * t.height as usize; + let zoff = if t.dim == TexDim::D3 { z * slice_pitch } else { 0 }; + for y in 0..t.height as usize { + let src = &t.data[(z * t.height as usize + y) * row..][..row]; + let dst = (p as *mut u8).add(fp.Offset as usize + zoff + y * fp.Footprint.RowPitch as usize); + std::ptr::copy_nonoverlapping(src.as_ptr(), dst, row); + } + } + } + up.Unmap(0, None); + } + for (i, ((t, rd), fps)) in textures.iter().zip(&descs).zip(&plans).enumerate() { + let mut r: Option<ID3D12Resource> = None; + dev.CreateCommittedResource(&D3D12_HEAP_PROPERTIES { Type: D3D12_HEAP_TYPE_DEFAULT, ..Default::default() }, D3D12_HEAP_FLAG_NONE, rd, D3D12_RESOURCE_STATE_COPY_DEST, None, &mut r) + .map_err(e)?; + let r = r.ok_or("tekstura")?; + for (k, fp) in fps.iter().enumerate() { + let dst = D3D12_TEXTURE_COPY_LOCATION { pResource: transmute_copy(&r), Type: D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX, Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { SubresourceIndex: k as u32 } }; + let src = D3D12_TEXTURE_COPY_LOCATION { + pResource: transmute_copy(upload.as_ref().unwrap()), + Type: D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT, + Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { PlacedFootprint: *fp }, + }; + list.CopyTextureRegion(&dst, 0, 0, 0, &src, None); + } + let after = if t.uav { D3D12_RESOURCE_STATE_UNORDERED_ACCESS } else { D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE | D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE }; + list.ResourceBarrier(&[transition(&r, D3D12_RESOURCE_STATE_COPY_DEST, after)]); + let mut sv = D3D12_SHADER_RESOURCE_VIEW_DESC { Format: t.format, Shader4ComponentMapping: D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING, ..Default::default() }; + let mut uv = D3D12_UNORDERED_ACCESS_VIEW_DESC { Format: t.format, ..Default::default() }; + match t.dim { + TexDim::D2 => { + sv.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2D; + sv.Anonymous.Texture2D = D3D12_TEX2D_SRV { MipLevels: 1, ..Default::default() }; + uv.ViewDimension = D3D12_UAV_DIMENSION_TEXTURE2D; + } + TexDim::D2Array => { + sv.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2DARRAY; + sv.Anonymous.Texture2DArray = D3D12_TEX2D_ARRAY_SRV { MipLevels: 1, ArraySize: t.depth, ..Default::default() }; + uv.ViewDimension = D3D12_UAV_DIMENSION_TEXTURE2DARRAY; + uv.Anonymous.Texture2DArray = D3D12_TEX2D_ARRAY_UAV { ArraySize: t.depth, ..Default::default() }; + } + TexDim::D3 => { + sv.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE3D; + sv.Anonymous.Texture3D = D3D12_TEX3D_SRV { MipLevels: 1, ..Default::default() }; + uv.ViewDimension = D3D12_UAV_DIMENSION_TEXTURE3D; + uv.Anonymous.Texture3D = D3D12_TEX3D_UAV { WSize: t.depth, ..Default::default() }; + } + TexDim::Cube => { + sv.ViewDimension = D3D12_SRV_DIMENSION_TEXTURECUBE; + sv.Anonymous.TextureCube = D3D12_TEXCUBE_SRV { MipLevels: 1, ..Default::default() }; + uv.ViewDimension = D3D12_UAV_DIMENSION_TEXTURE2DARRAY; + uv.Anonymous.Texture2DArray = D3D12_TEX2D_ARRAY_UAV { ArraySize: 6, ..Default::default() }; + } + } + if !t.uav { + dev.CreateShaderResourceView(&r, Some(&sv), at(&heap, 2 * i, inc)); + } + if t.uav { + dev.CreateUnorderedAccessView(&r, None::<&ID3D12Resource>, Some(&uv), at(&heap, 2 * i + 1, inc)); + } + let mut readable = 0u64; + let subs = fps.len() as u32; + let mut rfps = vec![D3D12_PLACED_SUBRESOURCE_FOOTPRINT::default(); subs as usize]; + dev.GetCopyableFootprints(rd, 0, subs, 0, Some(rfps.as_mut_ptr()), None, None, Some(&mut readable)); + out.push((r, rfps, readable)); + } + list.SetDescriptorHeaps(&[Some(heap.clone()), Some(sheap.clone())]); + Ok(Bound { _heaps: [heap, sheap], textures: out, _upload: upload }) +} + +fn buffer(dev: &ID3D12Device, size: u64, heap: D3D12_HEAP_TYPE, state: D3D12_RESOURCE_STATES, uav: bool) -> Result<ID3D12Resource, String> { + let desc = D3D12_RESOURCE_DESC { + Dimension: D3D12_RESOURCE_DIMENSION_BUFFER, + Width: size.max(256), + Height: 1, + DepthOrArraySize: 1, + MipLevels: 1, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR, + Flags: if uav { D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS } else { D3D12_RESOURCE_FLAG_NONE }, + ..Default::default() + }; + let mut r: Option<ID3D12Resource> = None; + unsafe { + dev.CreateCommittedResource(&D3D12_HEAP_PROPERTIES { Type: heap, ..Default::default() }, D3D12_HEAP_FLAG_NONE, &desc, state, None, &mut r) + .map_err(e)?; + } + r.ok_or_else(|| "bufor".into()) +} + +fn transition(r: &ID3D12Resource, before: D3D12_RESOURCE_STATES, after: D3D12_RESOURCE_STATES) -> D3D12_RESOURCE_BARRIER { + D3D12_RESOURCE_BARRIER { + Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, + Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, + Anonymous: D3D12_RESOURCE_BARRIER_0 { + Transition: ManuallyDrop::new(D3D12_RESOURCE_TRANSITION_BARRIER { + pResource: unsafe { transmute_copy(r) }, + Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, + StateBefore: before, + StateAfter: after, + }), + }, + } +} + +/// Name of the GPU the kernels run on (None: no usable GPU). +pub fn adapter() -> Result<String, String> { + let mut g = GPU.lock().unwrap(); + let gpu = g.get_or_insert_with(init); + gpu.as_ref().map(|x| x.adapter.clone()).map_err(|x| x.clone()) +} + +/// Run a compiled kernel (DXIL) with `state` and flat memory `mem`. +pub fn run(dxil: &[u8], state: &KernelState, mem: &[u32]) -> Result<KernelResult, String> { + run_with(dxil, state, mem, &[], &[]) +} + +/// `run` with test textures (SRV at heap index 2·i, UAV at 2·i + 1) and samplers. +pub fn run_with(dxil: &[u8], state: &KernelState, mem: &[u32], textures: &[TestTexture], samplers: &[TestSampler]) -> Result<KernelResult, String> { + let mut g = GPU.lock().unwrap(); + let gpu = g.get_or_insert_with(init).as_mut().map_err(|x| x.clone())?; + let mut io: Vec<u32> = state.sgpr.clone(); + io.resize(KERNEL_SGPRS, 0); + io[KERNEL_SCC_SLOT] = state.scc; + for lane in 0..KERNEL_LANES { + let mut regs = state.vgpr.get(lane).cloned().unwrap_or_default(); + regs.resize(KERNEL_VGPRS, 0); + io.extend_from_slice(®s); + } + let mem_len = mem.len().max(64); + unsafe { + let dev = &gpu.dev; + let pso: ID3D12PipelineState = dev + .CreateComputePipelineState(&D3D12_COMPUTE_PIPELINE_STATE_DESC { + pRootSignature: transmute_copy(&gpu.rs), + CS: D3D12_SHADER_BYTECODE { pShaderBytecode: dxil.as_ptr() as _, BytecodeLength: dxil.len() }, + ..Default::default() + }) + .map_err(|x| format!("CreateComputePipelineState: {x}"))?; + let io_bytes = (io.len() * 4) as u64; + let res_bytes = (KERNEL_RES_DWORDS * 4) as u64; + let mem_bytes = (mem_len * 4) as u64; + let upload = buffer(dev, io_bytes + mem_bytes, D3D12_HEAP_TYPE_UPLOAD, D3D12_RESOURCE_STATE_GENERIC_READ, false)?; + let io_buf = buffer(dev, io_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let mem_buf = buffer(dev, mem_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let res_buf = buffer(dev, res_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let readback = buffer(dev, res_bytes + mem_bytes, D3D12_HEAP_TYPE_READBACK, D3D12_RESOURCE_STATE_COPY_DEST, false)?; + let mut p = std::ptr::null_mut(); + upload.Map(0, None, Some(&mut p)).map_err(e)?; + std::ptr::copy_nonoverlapping(io.as_ptr(), p as *mut u32, io.len()); + let mut m = mem.to_vec(); + m.resize(mem_len, 0); + std::ptr::copy_nonoverlapping(m.as_ptr(), (p as *mut u32).add(io.len()), m.len()); + upload.Unmap(0, None); + + let alloc: ID3D12CommandAllocator = dev.CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT).map_err(e)?; + let list: ID3D12GraphicsCommandList = dev.CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, &alloc, &pso).map_err(e)?; + list.CopyBufferRegion(&io_buf, 0, &upload, 0, io_bytes); + list.CopyBufferRegion(&mem_buf, 0, &upload, io_bytes, mem_bytes); + list.ResourceBarrier(&[ + transition(&io_buf, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + transition(&mem_buf, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + transition(&res_buf, D3D12_RESOURCE_STATE_COMMON, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + ]); + let bound = bind_resources(dev, &list, textures, samplers)?; + list.SetComputeRootSignature(&gpu.rs); + list.SetComputeRootUnorderedAccessView(0, io_buf.GetGPUVirtualAddress()); + list.SetComputeRootUnorderedAccessView(1, res_buf.GetGPUVirtualAddress()); + list.SetComputeRootUnorderedAccessView(2, mem_buf.GetGPUVirtualAddress()); + list.Dispatch(1, 1, 1); + list.ResourceBarrier(&[ + transition(&res_buf, D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COPY_SOURCE), + transition(&mem_buf, D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COPY_SOURCE), + ]); + list.CopyBufferRegion(&readback, 0, &res_buf, 0, res_bytes); + list.CopyBufferRegion(&readback, res_bytes, &mem_buf, 0, mem_bytes); + // UAV textures back for checks + let mut tex_back = Vec::new(); + for (i, t) in textures.iter().enumerate() { + if !t.uav { + continue; + } + let (r, fps, size) = &bound.textures[i]; + let rb = buffer(dev, *size, D3D12_HEAP_TYPE_READBACK, D3D12_RESOURCE_STATE_COPY_DEST, false)?; + list.ResourceBarrier(&[transition(r, D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COPY_SOURCE)]); + for (k, fp) in fps.iter().enumerate() { + let dst = D3D12_TEXTURE_COPY_LOCATION { pResource: transmute_copy(&rb), Type: D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT, Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { PlacedFootprint: *fp } }; + let src = D3D12_TEXTURE_COPY_LOCATION { pResource: transmute_copy(r), Type: D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX, Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { SubresourceIndex: k as u32 } }; + list.CopyTextureRegion(&dst, 0, 0, 0, &src, None); + } + tex_back.push((i, rb)); + } + list.Close().map_err(e)?; + gpu.queue.ExecuteCommandLists(&[Some(list.cast().map_err(e)?)]); + gpu.value += 1; + gpu.queue.Signal(&gpu.fence, gpu.value).map_err(e)?; + let ev = windows::Win32::System::Threading::CreateEventW(None, false, false, None).map_err(e)?; + gpu.fence.SetEventOnCompletion(gpu.value, ev).map_err(e)?; + windows::Win32::System::Threading::WaitForSingleObject(ev, 10_000); + let _ = windows::Win32::Foundation::CloseHandle(HANDLE(ev.0)); + if gpu.fence.GetCompletedValue() < gpu.value { + return Err(format!("GPU nie skończył w 10 s (usunięte urządzenie: {:?})", dev.GetDeviceRemovedReason())); + } + let mut p = std::ptr::null_mut(); + readback.Map(0, None, Some(&mut p)).map_err(e)?; + let raw = std::slice::from_raw_parts(p as *const u32, KERNEL_RES_DWORDS).to_vec(); + let mem_out = std::slice::from_raw_parts((p as *const u32).add(KERNEL_RES_DWORDS), mem_len).to_vec(); + readback.Unmap(0, None); + let mut tex_out = Vec::new(); + for (i, rb) in &tex_back { + let t = &textures[*i]; + let (_, fps, _) = &bound.textures[*i]; + let mut q = std::ptr::null_mut(); + rb.Map(0, None, Some(&mut q)).map_err(e)?; + let row = (t.width * t.texel_bytes) as usize; + let mut v = Vec::new(); + for z in 0..t.depth as usize { + let fp = if t.dim == TexDim::D3 { &fps[0] } else { &fps[z] }; + let zoff = if t.dim == TexDim::D3 { z * fp.Footprint.RowPitch as usize * t.height as usize } else { 0 }; + for y in 0..t.height as usize { + let s = std::slice::from_raw_parts((q as *const u8).add(fp.Offset as usize + zoff + y * fp.Footprint.RowPitch as usize), row); + v.extend_from_slice(s); + } + } + rb.Unmap(0, None); + tex_out.push(v); + } + let mut p = std::ptr::null_mut(); + readback.Map(0, None, Some(&mut p)).map_err(e)?; + readback.Unmap(0, None); + let vgpr = (0..KERNEL_LANES) + .map(|l| raw[KERNEL_SGPRS + l * KERNEL_VGPRS..KERNEL_SGPRS + (l + 1) * KERNEL_VGPRS].to_vec()) + .collect(); + drop(bound); + Ok(KernelResult { sgpr: raw[..KERNEL_SGPRS].to_vec(), vgpr, scc: raw[KERNEL_SCC_SLOT], raw, mem: mem_out, textures: tex_out }) + } +} + +/// Run a whole console program: its code region is also placed in `mem` at address 0, +/// so constants addressed through s_getpc_b64 are found; `extra` follows the code +/// (dword-aligned, at the returned offset). +pub fn run_program(code: &[u8], state: &KernelState, extra: &[u32]) -> Result<(KernelResult, usize), String> { + let mut mem: Vec<u32> = code.chunks(4).map(|c| { + let mut b = [0u8; 4]; + b[..c.len()].copy_from_slice(c); + u32::from_le_bytes(b) + }).collect(); + let at = mem.len() * 4; + mem.extend_from_slice(extra); + Ok((run_code(code, state, &mem)?, at)) +} + +/// Translate + compile + run RDNA2 code as a kernel, with test textures and samplers. +pub fn run_code_with(code: &[u8], state: &KernelState, mem: &[u32], textures: &[TestTexture], samplers: &[TestSampler]) -> Result<KernelResult, String> { + let t = super::translate(code, &super::Options::default())?; + if !t.complete() { + return Err(format!("nieobsługiwane instrukcje: {:?}", t.unsupported)); + } + let dxil = super::dxc::compile(&t.hlsl, "main", "cs_6_6", &[]).map_err(|x| format!("{x}\n--- HLSL ---\n{}", t.hlsl))?; + run_with(&dxil, state, mem, textures, samplers) +} + +/// Translate + compile + run RDNA2 code as a kernel. +pub fn run_code(code: &[u8], state: &KernelState, mem: &[u32]) -> Result<KernelResult, String> { + let opt = super::Options::default(); + let t = super::translate(code, &opt)?; + if !t.complete() { + return Err(format!("nieobsługiwane instrukcje: {:?}", t.unsupported)); + } + let dxil = super::dxc::compile(&t.hlsl, "main", "cs_6_6", &[]).map_err(|x| format!("{x}\n--- HLSL ---\n{}", t.hlsl))?; + run(&dxil, state, mem) +} + +/// One vertex input element: (semantic name, index, format, byte offset). +pub struct VertexElement { + pub semantic: &'static str, + pub index: u32, + pub format: DXGI_FORMAT, + pub offset: u32, +} + +/// Draw the vertices (triangle list) with recompiled VS/PS (DXIL) into a `size`×`size` +/// R32G32B32A32_FLOAT target cleared to `clear`; returns the pixels row by row. +#[allow(clippy::too_many_arguments)] +pub fn draw( + vs: &[u8], + ps: &[u8], + layout: &[VertexElement], + vertices: &[f32], + stride: u32, + sgprs: &[u32], + mem: &[u32], + size: u32, + clear: [f32; 4], +) -> Result<Vec<[f32; 4]>, String> { + let mut g = GPU.lock().unwrap(); + let gpu = g.get_or_insert_with(init).as_mut().map_err(|x| x.clone())?; + unsafe { + let dev = &gpu.dev; + let rs = root_signature(dev, true)?; + let names: Vec<std::ffi::CString> = layout.iter().map(|l| std::ffi::CString::new(l.semantic).unwrap()).collect(); + let elems: Vec<D3D12_INPUT_ELEMENT_DESC> = layout + .iter() + .zip(&names) + .map(|(l, n)| D3D12_INPUT_ELEMENT_DESC { + SemanticName: windows::core::PCSTR(n.as_ptr() as *const u8), + SemanticIndex: l.index, + Format: l.format, + InputSlot: 0, + AlignedByteOffset: l.offset, + InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, + InstanceDataStepRate: 0, + }) + .collect(); + let mut pd = D3D12_GRAPHICS_PIPELINE_STATE_DESC { + pRootSignature: transmute_copy(&rs), + VS: D3D12_SHADER_BYTECODE { pShaderBytecode: vs.as_ptr() as _, BytecodeLength: vs.len() }, + PS: D3D12_SHADER_BYTECODE { pShaderBytecode: ps.as_ptr() as _, BytecodeLength: ps.len() }, + SampleMask: u32::MAX, + InputLayout: D3D12_INPUT_LAYOUT_DESC { pInputElementDescs: elems.as_ptr(), NumElements: elems.len() as u32 }, + PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE, + NumRenderTargets: 1, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + ..Default::default() + }; + pd.BlendState.RenderTarget[0].RenderTargetWriteMask = D3D12_COLOR_WRITE_ENABLE_ALL.0 as u8; + pd.RasterizerState.FillMode = D3D12_FILL_MODE_SOLID; + pd.RasterizerState.CullMode = D3D12_CULL_MODE_NONE; + pd.RasterizerState.DepthClipEnable = true.into(); + pd.RTVFormats[0] = DXGI_FORMAT_R32G32B32A32_FLOAT; + let pso: ID3D12PipelineState = dev.CreateGraphicsPipelineState(&pd).map_err(|x| format!("CreateGraphicsPipelineState: {x}"))?; + draw_on(dev, &pso, &rs, vertices, stride, sgprs, mem, size, clear) + } +} + +/// Render with an existing graphics pipeline on `dev` (its own queue): vertex buffer +/// `vertices` (`stride` bytes per vertex, triangle list), the XCL shader ABI bound – root +/// signature `rs`, u0 = `sgprs` (initial SGPRs), u1 = scratch, u2 = `mem` (flat memory) – +/// into a `size`² RGBA32F target cleared to `clear`. Returns the pixels, row by row. +#[allow(clippy::too_many_arguments)] +pub fn draw_on( + dev: &ID3D12Device, + pso: &ID3D12PipelineState, + rs: &ID3D12RootSignature, + vertices: &[f32], + stride: u32, + sgprs: &[u32], + mem: &[u32], + size: u32, + clear: [f32; 4], +) -> Result<Vec<[f32; 4]>, String> { + let draw = Draw { sgprs: sgprs.to_vec(), scissor: [0, 0, size as i32, size as i32] }; + draw_on_multi(dev, pso, rs, vertices, stride, &[draw], mem, &[], &[], size, clear) +} + +/// A texture in D3D12 terms (e.g. decoded from a console T# by `gpu::desc`): SRV at +/// descriptor heap index 2·i; `data` = subresource 0, rows of `row_bytes` tightly packed. +pub struct ViewTexture { + pub res: D3D12_RESOURCE_DESC, + pub srv: D3D12_SHADER_RESOURCE_VIEW_DESC, + pub data: Vec<u8>, + pub row_bytes: usize, +} + +/// One draw of `draw_on_multi`: its initial SGPRs (u0 – user data) and scissor rectangle +/// (left, top, right, bottom). +pub struct Draw { + pub sgprs: Vec<u32>, + pub scissor: [i32; 4], +} + +/// Heaps with `textures` (SRV at 2·i) and `samplers` (at j), bound on `list`. +unsafe fn bind_views(dev: &ID3D12Device, list: &ID3D12GraphicsCommandList, textures: &[ViewTexture], samplers: &[D3D12_SAMPLER_DESC]) -> Result<Vec<windows::core::IUnknown>, String> { + let heap: ID3D12DescriptorHeap = dev + .CreateDescriptorHeap(&D3D12_DESCRIPTOR_HEAP_DESC { + Type: D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, + NumDescriptors: (2 * textures.len()).max(2) as u32, + Flags: D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, + NodeMask: 0, + }) + .map_err(e)?; + let sheap: ID3D12DescriptorHeap = dev + .CreateDescriptorHeap(&D3D12_DESCRIPTOR_HEAP_DESC { + Type: D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER, + NumDescriptors: samplers.len().max(1) as u32, + Flags: D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, + NodeMask: 0, + }) + .map_err(e)?; + let inc = dev.GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV) as usize; + let sinc = dev.GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER) as usize; + let at = |h: &ID3D12DescriptorHeap, k: usize, step: usize| D3D12_CPU_DESCRIPTOR_HANDLE { ptr: h.GetCPUDescriptorHandleForHeapStart().ptr + k * step }; + for (j, sd) in samplers.iter().enumerate() { + dev.CreateSampler(sd, at(&sheap, j, sinc)); + } + let mut keep: Vec<windows::core::IUnknown> = vec![heap.cast().map_err(e)?, sheap.cast().map_err(e)?]; + for (i, t) in textures.iter().enumerate() { + let mut fp = D3D12_PLACED_SUBRESOURCE_FOOTPRINT::default(); + let (mut rows, mut total) = (0u32, 0u64); + dev.GetCopyableFootprints(&t.res, 0, 1, 0, Some(&mut fp), Some(&mut rows), None, Some(&mut total)); + let up = buffer(dev, total, D3D12_HEAP_TYPE_UPLOAD, D3D12_RESOURCE_STATE_GENERIC_READ, false)?; + let mut p = std::ptr::null_mut(); + up.Map(0, None, Some(&mut p)).map_err(e)?; + for y in 0..rows as usize { + if let Some(src) = t.data.get(y * t.row_bytes..(y + 1) * t.row_bytes) { + std::ptr::copy_nonoverlapping(src.as_ptr(), (p as *mut u8).add(fp.Offset as usize + y * fp.Footprint.RowPitch as usize), t.row_bytes); + } + } + up.Unmap(0, None); + let mut r: Option<ID3D12Resource> = None; + dev.CreateCommittedResource(&D3D12_HEAP_PROPERTIES { Type: D3D12_HEAP_TYPE_DEFAULT, ..Default::default() }, D3D12_HEAP_FLAG_NONE, &t.res, D3D12_RESOURCE_STATE_COPY_DEST, None, &mut r) + .map_err(|x| format!("tekstura {i}: {x}"))?; + let r = r.ok_or("tekstura")?; + let dst = D3D12_TEXTURE_COPY_LOCATION { pResource: transmute_copy(&r), Type: D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX, Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { SubresourceIndex: 0 } }; + let src = D3D12_TEXTURE_COPY_LOCATION { pResource: transmute_copy(&up), Type: D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT, Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { PlacedFootprint: fp } }; + list.CopyTextureRegion(&dst, 0, 0, 0, &src, None); + list.ResourceBarrier(&[transition(&r, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE | D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE)]); + dev.CreateShaderResourceView(&r, Some(&t.srv), at(&heap, 2 * i, inc)); + keep.push(r.cast().map_err(e)?); + keep.push(up.cast().map_err(e)?); + } + list.SetDescriptorHeaps(&[Some(heap), Some(sheap)]); + Ok(keep) +} + +/// Several draws with one pipeline in one command list: each draw gets its own user data +/// (u0 – e.g. a different descriptor table pointer) and scissor; textures and samplers in +/// the directly indexed heaps (see `ViewTexture`). Otherwise as `draw_on`. +#[allow(clippy::too_many_arguments)] +pub fn draw_on_multi( + dev: &ID3D12Device, + pso: &ID3D12PipelineState, + rs: &ID3D12RootSignature, + vertices: &[f32], + stride: u32, + draws: &[Draw], + mem: &[u32], + textures: &[ViewTexture], + samplers: &[D3D12_SAMPLER_DESC], + size: u32, + clear: [f32; 4], +) -> Result<Vec<[f32; 4]>, String> { + unsafe { + let queue: ID3D12CommandQueue = + dev.CreateCommandQueue(&D3D12_COMMAND_QUEUE_DESC { Type: D3D12_COMMAND_LIST_TYPE_DIRECT, ..Default::default() }).map_err(e)?; + let fence: ID3D12Fence = dev.CreateFence(0, D3D12_FENCE_FLAG_NONE).map_err(e)?; + + let tex = D3D12_RESOURCE_DESC { + Dimension: D3D12_RESOURCE_DIMENSION_TEXTURE2D, + Width: size as u64, + Height: size, + DepthOrArraySize: 1, + MipLevels: 1, + Format: DXGI_FORMAT_R32G32B32A32_FLOAT, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + Flags: D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET, + ..Default::default() + }; + let cv = D3D12_CLEAR_VALUE { Format: DXGI_FORMAT_R32G32B32A32_FLOAT, Anonymous: D3D12_CLEAR_VALUE_0 { Color: clear } }; + let mut rt: Option<ID3D12Resource> = None; + dev.CreateCommittedResource( + &D3D12_HEAP_PROPERTIES { Type: D3D12_HEAP_TYPE_DEFAULT, ..Default::default() }, + D3D12_HEAP_FLAG_NONE, + &tex, + D3D12_RESOURCE_STATE_RENDER_TARGET, + Some(&cv), + &mut rt, + ) + .map_err(e)?; + let rt = rt.ok_or("render target")?; + let heap: ID3D12DescriptorHeap = dev + .CreateDescriptorHeap(&D3D12_DESCRIPTOR_HEAP_DESC { Type: D3D12_DESCRIPTOR_HEAP_TYPE_RTV, NumDescriptors: 1, ..Default::default() }) + .map_err(e)?; + let rtv = heap.GetCPUDescriptorHandleForHeapStart(); + dev.CreateRenderTargetView(&rt, None, rtv); + + // vertex buffer + io (SGPRs) + mem in one upload heap + let vb_bytes = (vertices.len() * 4) as u64; + // user data of every draw, 128 dwords (512 bytes) apart + let mut io = Vec::with_capacity(draws.len() * KERNEL_SGPRS); + for d in draws { + let mut r = d.sgprs.clone(); + r.resize(KERNEL_SGPRS, 0); + io.extend_from_slice(&r); + } + let io_bytes = (io.len() * 4) as u64; + let mem_len = mem.len().max(64); + let mem_bytes = (mem_len * 4) as u64; + let upload = buffer(dev, vb_bytes + io_bytes + mem_bytes, D3D12_HEAP_TYPE_UPLOAD, D3D12_RESOURCE_STATE_GENERIC_READ, false)?; + let mut p = std::ptr::null_mut(); + upload.Map(0, None, Some(&mut p)).map_err(e)?; + std::ptr::copy_nonoverlapping(vertices.as_ptr() as *const u32, p as *mut u32, vertices.len()); + std::ptr::copy_nonoverlapping(io.as_ptr(), (p as *mut u32).add(vertices.len()), io.len()); + let mut m = mem.to_vec(); + m.resize(mem_len, 0); + std::ptr::copy_nonoverlapping(m.as_ptr(), (p as *mut u32).add(vertices.len() + io.len()), m.len()); + upload.Unmap(0, None); + let io_buf = buffer(dev, io_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let mem_buf = buffer(dev, mem_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let res_buf = buffer(dev, 256, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + + let mut layout_fp = D3D12_PLACED_SUBRESOURCE_FOOTPRINT::default(); + let mut total = 0u64; + dev.GetCopyableFootprints(&tex, 0, 1, 0, Some(&mut layout_fp), None, None, Some(&mut total)); + let readback = buffer(dev, total, D3D12_HEAP_TYPE_READBACK, D3D12_RESOURCE_STATE_COPY_DEST, false)?; + + let alloc: ID3D12CommandAllocator = dev.CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT).map_err(e)?; + let list: ID3D12GraphicsCommandList = dev.CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, &alloc, pso).map_err(e)?; + list.CopyBufferRegion(&io_buf, 0, &upload, vb_bytes, io_bytes); + list.CopyBufferRegion(&mem_buf, 0, &upload, vb_bytes + io_bytes, mem_bytes); + list.ResourceBarrier(&[ + transition(&io_buf, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + transition(&mem_buf, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + transition(&res_buf, D3D12_RESOURCE_STATE_COMMON, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + ]); + list.OMSetRenderTargets(1, Some(&rtv), false, None); + list.ClearRenderTargetView(rtv, &clear, None); + list.RSSetViewports(&[D3D12_VIEWPORT { TopLeftX: 0.0, TopLeftY: 0.0, Width: size as f32, Height: size as f32, MinDepth: 0.0, MaxDepth: 1.0 }]); + list.RSSetScissorRects(&[windows::Win32::Foundation::RECT { left: 0, top: 0, right: size as i32, bottom: size as i32 }]); + let _bound = if textures.is_empty() && samplers.is_empty() { bind_resources(dev, &list, &[], &[]).map(|_| Vec::new())? } else { bind_views(dev, &list, textures, samplers)? }; + list.SetGraphicsRootSignature(rs); + list.SetGraphicsRootUnorderedAccessView(0, io_buf.GetGPUVirtualAddress()); + list.SetGraphicsRootUnorderedAccessView(1, res_buf.GetGPUVirtualAddress()); + list.SetGraphicsRootUnorderedAccessView(2, mem_buf.GetGPUVirtualAddress()); + list.IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST); + let vbv = D3D12_VERTEX_BUFFER_VIEW { BufferLocation: upload.GetGPUVirtualAddress(), SizeInBytes: vb_bytes as u32, StrideInBytes: stride }; + list.IASetVertexBuffers(0, Some(&[vbv])); + for (k, d) in draws.iter().enumerate() { + list.SetGraphicsRootUnorderedAccessView(0, io_buf.GetGPUVirtualAddress() + (k * KERNEL_SGPRS * 4) as u64); + let [left, top, right, bottom] = d.scissor; + list.RSSetScissorRects(&[windows::Win32::Foundation::RECT { left, top, right, bottom }]); + list.DrawInstanced((vertices.len() as u32 * 4) / stride, 1, 0, 0); + } + list.ResourceBarrier(&[transition(&rt, D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_COPY_SOURCE)]); + let dst = D3D12_TEXTURE_COPY_LOCATION { + pResource: transmute_copy(&readback), + Type: D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT, + Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { PlacedFootprint: layout_fp }, + }; + let src = D3D12_TEXTURE_COPY_LOCATION { + pResource: transmute_copy(&rt), + Type: D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX, + Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { SubresourceIndex: 0 }, + }; + list.CopyTextureRegion(&dst, 0, 0, 0, &src, None); + list.Close().map_err(e)?; + queue.ExecuteCommandLists(&[Some(list.cast().map_err(e)?)]); + queue.Signal(&fence, 1).map_err(e)?; + let ev = windows::Win32::System::Threading::CreateEventW(None, false, false, None).map_err(e)?; + fence.SetEventOnCompletion(1, ev).map_err(e)?; + windows::Win32::System::Threading::WaitForSingleObject(ev, 10_000); + let _ = windows::Win32::Foundation::CloseHandle(HANDLE(ev.0)); + if fence.GetCompletedValue() < 1 { + return Err(format!("GPU nie skończył w 10 s ({:?})", dev.GetDeviceRemovedReason())); + } + let mut p = std::ptr::null_mut(); + readback.Map(0, None, Some(&mut p)).map_err(e)?; + let pitch = layout_fp.Footprint.RowPitch as usize; + let mut px = Vec::with_capacity((size * size) as usize); + for y in 0..size as usize { + for x in 0..size as usize { + let q = (p as *const u8).add(y * pitch + x * 16) as *const f32; + px.push([*q, *q.add(1), *q.add(2), *q.add(3)]); + } + } + readback.Unmap(0, None); + Ok(px) + } +} + +fn uav_barrier(r: &ID3D12Resource) -> D3D12_RESOURCE_BARRIER { + D3D12_RESOURCE_BARRIER { + Type: D3D12_RESOURCE_BARRIER_TYPE_UAV, + Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, + Anonymous: D3D12_RESOURCE_BARRIER_0 { UAV: ManuallyDrop::new(D3D12_RESOURCE_UAV_BARRIER { pResource: unsafe { transmute_copy(r) } }) }, + } +} + +/// One pipeline-state-stream subobject (aligned to a pointer, as in d3dx12.h). +#[repr(C, align(8))] +struct Sub<T> { + ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE, + v: T, +} + +#[repr(C)] +struct MeshStream { + rs: Sub<*mut std::ffi::c_void>, + ms: Sub<D3D12_SHADER_BYTECODE>, + ps: Sub<D3D12_SHADER_BYTECODE>, + blend: Sub<D3D12_BLEND_DESC>, + mask: Sub<u32>, + rast: Sub<D3D12_RASTERIZER_DESC>, + depth: Sub<D3D12_DEPTH_STENCIL_DESC>, + rtv: Sub<D3D12_RT_FORMAT_ARRAY>, + samples: Sub<DXGI_SAMPLE_DESC>, +} + +/// Mesh mode, both passes: `cs` = the translated NGG program (writes one record of +/// `record_dwords` per group into u1), `ms` = its pass-through mesh shader, `ps` = pixel +/// shader; `groups` thread groups, initial SGPRs `sgprs` (u0), flat memory `mem` (u2). +/// Returns the RGBA32F pixels of a `size`² target and the records. +#[allow(clippy::too_many_arguments)] +pub fn mesh_draw( + cs: &[u8], + ms: &[u8], + ps: &[u8], + groups: u32, + record_dwords: usize, + sgprs: &[u32], + mem: &[u32], + size: u32, + clear: [f32; 4], +) -> Result<(Vec<[f32; 4]>, Vec<u32>), String> { + let mut g = GPU.lock().unwrap(); + let gpu = g.get_or_insert_with(init).as_mut().map_err(|x| x.clone())?; + unsafe { + let dev = &gpu.dev; + let cpso: ID3D12PipelineState = dev + .CreateComputePipelineState(&D3D12_COMPUTE_PIPELINE_STATE_DESC { + pRootSignature: transmute_copy(&gpu.rs), + CS: D3D12_SHADER_BYTECODE { pShaderBytecode: cs.as_ptr() as _, BytecodeLength: cs.len() }, + ..Default::default() + }) + .map_err(|x| format!("CreateComputePipelineState: {x}"))?; + let mut blend = D3D12_BLEND_DESC::default(); + blend.RenderTarget[0].RenderTargetWriteMask = D3D12_COLOR_WRITE_ENABLE_ALL.0 as u8; + let rast = D3D12_RASTERIZER_DESC { FillMode: D3D12_FILL_MODE_SOLID, CullMode: D3D12_CULL_MODE_NONE, DepthClipEnable: true.into(), ..Default::default() }; + let mut rtv_formats = D3D12_RT_FORMAT_ARRAY { NumRenderTargets: 1, ..Default::default() }; + rtv_formats.RTFormats[0] = DXGI_FORMAT_R32G32B32A32_FLOAT; + let mut stream = MeshStream { + rs: Sub { ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_ROOT_SIGNATURE, v: gpu.rs.as_raw() }, + ms: Sub { ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MS, v: D3D12_SHADER_BYTECODE { pShaderBytecode: ms.as_ptr() as _, BytecodeLength: ms.len() } }, + ps: Sub { ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PS, v: D3D12_SHADER_BYTECODE { pShaderBytecode: ps.as_ptr() as _, BytecodeLength: ps.len() } }, + blend: Sub { ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_BLEND, v: blend }, + mask: Sub { ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_MASK, v: u32::MAX }, + rast: Sub { ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER, v: rast }, + depth: Sub { ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL, v: D3D12_DEPTH_STENCIL_DESC::default() }, + rtv: Sub { ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RENDER_TARGET_FORMATS, v: rtv_formats }, + samples: Sub { ty: D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC, v: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 } }, + }; + let dev2: ID3D12Device2 = dev.cast().map_err(e)?; + let mpso: ID3D12PipelineState = dev2 + .CreatePipelineState(&D3D12_PIPELINE_STATE_STREAM_DESC { + SizeInBytes: std::mem::size_of::<MeshStream>(), + pPipelineStateSubobjectStream: &mut stream as *mut MeshStream as *mut std::ffi::c_void, + }) + .map_err(|x| format!("CreatePipelineState (mesh): {x}"))?; + + let tex = D3D12_RESOURCE_DESC { + Dimension: D3D12_RESOURCE_DIMENSION_TEXTURE2D, + Width: size as u64, + Height: size, + DepthOrArraySize: 1, + MipLevels: 1, + Format: DXGI_FORMAT_R32G32B32A32_FLOAT, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + Flags: D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET, + ..Default::default() + }; + let cv = D3D12_CLEAR_VALUE { Format: DXGI_FORMAT_R32G32B32A32_FLOAT, Anonymous: D3D12_CLEAR_VALUE_0 { Color: clear } }; + let mut rt: Option<ID3D12Resource> = None; + dev.CreateCommittedResource( + &D3D12_HEAP_PROPERTIES { Type: D3D12_HEAP_TYPE_DEFAULT, ..Default::default() }, + D3D12_HEAP_FLAG_NONE, + &tex, + D3D12_RESOURCE_STATE_RENDER_TARGET, + Some(&cv), + &mut rt, + ) + .map_err(e)?; + let rt = rt.ok_or("render target")?; + let heap: ID3D12DescriptorHeap = dev + .CreateDescriptorHeap(&D3D12_DESCRIPTOR_HEAP_DESC { Type: D3D12_DESCRIPTOR_HEAP_TYPE_RTV, NumDescriptors: 1, ..Default::default() }) + .map_err(e)?; + let rtv = heap.GetCPUDescriptorHandleForHeapStart(); + dev.CreateRenderTargetView(&rt, None, rtv); + + let mut io = sgprs.to_vec(); + io.resize(KERNEL_SGPRS, 0); + let io_bytes = (io.len() * 4) as u64; + let mem_len = mem.len().max(64); + let mem_bytes = (mem_len * 4) as u64; + let res_len = record_dwords * groups as usize; + let res_bytes = (res_len * 4) as u64; + let upload = buffer(dev, io_bytes + mem_bytes, D3D12_HEAP_TYPE_UPLOAD, D3D12_RESOURCE_STATE_GENERIC_READ, false)?; + let mut p = std::ptr::null_mut(); + upload.Map(0, None, Some(&mut p)).map_err(e)?; + std::ptr::copy_nonoverlapping(io.as_ptr(), p as *mut u32, io.len()); + let mut m = mem.to_vec(); + m.resize(mem_len, 0); + std::ptr::copy_nonoverlapping(m.as_ptr(), (p as *mut u32).add(io.len()), m.len()); + upload.Unmap(0, None); + let io_buf = buffer(dev, io_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let mem_buf = buffer(dev, mem_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let res_buf = buffer(dev, res_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let mut fp = D3D12_PLACED_SUBRESOURCE_FOOTPRINT::default(); + let mut total = 0u64; + dev.GetCopyableFootprints(&tex, 0, 1, 0, Some(&mut fp), None, None, Some(&mut total)); + let readback = buffer(dev, total + res_bytes, D3D12_HEAP_TYPE_READBACK, D3D12_RESOURCE_STATE_COPY_DEST, false)?; + + let alloc: ID3D12CommandAllocator = dev.CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT).map_err(e)?; + let list: ID3D12GraphicsCommandList = dev.CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, &alloc, &cpso).map_err(e)?; + list.CopyBufferRegion(&io_buf, 0, &upload, 0, io_bytes); + list.CopyBufferRegion(&mem_buf, 0, &upload, io_bytes, mem_bytes); + list.ResourceBarrier(&[ + transition(&io_buf, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + transition(&mem_buf, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + transition(&res_buf, D3D12_RESOURCE_STATE_COMMON, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + ]); + // pass 1: the console program as a compute shader + let _bound = bind_resources(dev, &list, &[], &[])?; + list.SetComputeRootSignature(&gpu.rs); + list.SetComputeRootUnorderedAccessView(0, io_buf.GetGPUVirtualAddress()); + list.SetComputeRootUnorderedAccessView(1, res_buf.GetGPUVirtualAddress()); + list.SetComputeRootUnorderedAccessView(2, mem_buf.GetGPUVirtualAddress()); + list.Dispatch(groups, 1, 1); + list.ResourceBarrier(&[uav_barrier(&res_buf)]); + // pass 2: rasterise the records + list.SetPipelineState(&mpso); + list.SetGraphicsRootSignature(&gpu.rs); + list.SetGraphicsRootUnorderedAccessView(0, io_buf.GetGPUVirtualAddress()); + list.SetGraphicsRootUnorderedAccessView(1, res_buf.GetGPUVirtualAddress()); + list.SetGraphicsRootUnorderedAccessView(2, mem_buf.GetGPUVirtualAddress()); + list.OMSetRenderTargets(1, Some(&rtv), false, None); + list.ClearRenderTargetView(rtv, &clear, None); + list.RSSetViewports(&[D3D12_VIEWPORT { TopLeftX: 0.0, TopLeftY: 0.0, Width: size as f32, Height: size as f32, MinDepth: 0.0, MaxDepth: 1.0 }]); + list.RSSetScissorRects(&[windows::Win32::Foundation::RECT { left: 0, top: 0, right: size as i32, bottom: size as i32 }]); + let list6: ID3D12GraphicsCommandList6 = list.cast().map_err(e)?; + list6.DispatchMesh(groups, 1, 1); + list.ResourceBarrier(&[ + transition(&rt, D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_COPY_SOURCE), + transition(&res_buf, D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COPY_SOURCE), + ]); + let dst = D3D12_TEXTURE_COPY_LOCATION { pResource: transmute_copy(&readback), Type: D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT, Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { PlacedFootprint: fp } }; + let src = D3D12_TEXTURE_COPY_LOCATION { pResource: transmute_copy(&rt), Type: D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX, Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { SubresourceIndex: 0 } }; + list.CopyTextureRegion(&dst, 0, 0, 0, &src, None); + list.CopyBufferRegion(&readback, total, &res_buf, 0, res_bytes); + list.Close().map_err(e)?; + gpu.queue.ExecuteCommandLists(&[Some(list.cast().map_err(e)?)]); + gpu.value += 1; + gpu.queue.Signal(&gpu.fence, gpu.value).map_err(e)?; + let ev = windows::Win32::System::Threading::CreateEventW(None, false, false, None).map_err(e)?; + gpu.fence.SetEventOnCompletion(gpu.value, ev).map_err(e)?; + windows::Win32::System::Threading::WaitForSingleObject(ev, 10_000); + let _ = windows::Win32::Foundation::CloseHandle(HANDLE(ev.0)); + if gpu.fence.GetCompletedValue() < gpu.value { + return Err(format!("GPU nie skończył w 10 s ({:?})", dev.GetDeviceRemovedReason())); + } + let mut q = std::ptr::null_mut(); + readback.Map(0, None, Some(&mut q)).map_err(e)?; + let pitch = fp.Footprint.RowPitch as usize; + let mut px = Vec::with_capacity((size * size) as usize); + for y in 0..size as usize { + for x in 0..size as usize { + let c = (q as *const u8).add(y * pitch + x * 16) as *const f32; + px.push([*c, *c.add(1), *c.add(2), *c.add(3)]); + } + } + let recs = std::slice::from_raw_parts((q as *const u8).add(total as usize) as *const u32, res_len).to_vec(); + readback.Unmap(0, None); + Ok((px, recs)) + } +} + +/// A process memory region for `run_in_region` (see `gpu::uma`). +struct Arena { + pub base: *mut u8, + pub size: usize, +} + +unsafe impl Send for Arena {} +unsafe impl Sync for Arena {} + + +/// `run` with a unified memory region as `mem` (u2): the GPU works on the process memory +/// itself, no copies. +pub fn run_in_arena(dxil: &[u8], state: &KernelState, arena: &crate::gpu::uma::Uma) -> Result<KernelResult, String> { + let arena = Arena { base: arena.base() as *mut u8, size: arena.size() }; + let r = run_in_region(dxil, state, &arena); + std::mem::forget(arena); // owned by the Uma + r +} + +fn run_in_region(dxil: &[u8], state: &KernelState, arena: &Arena) -> Result<KernelResult, String> { + let mut g = GPU.lock().unwrap(); + let gpu = g.get_or_insert_with(init).as_mut().map_err(|x| x.clone())?; + let mut io: Vec<u32> = state.sgpr.clone(); + io.resize(KERNEL_SGPRS, 0); + io[KERNEL_SCC_SLOT] = state.scc; + for lane in 0..KERNEL_LANES { + let mut regs = state.vgpr.get(lane).cloned().unwrap_or_default(); + regs.resize(KERNEL_VGPRS, 0); + io.extend_from_slice(®s); + } + unsafe { + let dev = &gpu.dev; + let dev3: ID3D12Device3 = dev.cast().map_err(e)?; + let heap: ID3D12Heap = dev3.OpenExistingHeapFromAddress(arena.base as *const std::ffi::c_void).map_err(|x| format!("OpenExistingHeapFromAddress: {x}"))?; + let desc = D3D12_RESOURCE_DESC { + Dimension: D3D12_RESOURCE_DIMENSION_BUFFER, + Width: arena.size as u64, + Height: 1, + DepthOrArraySize: 1, + MipLevels: 1, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR, + Flags: D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS | D3D12_RESOURCE_FLAG_ALLOW_CROSS_ADAPTER, + ..Default::default() + }; + let mut mem_buf: Option<ID3D12Resource> = None; + dev.CreatePlacedResource(&heap, 0, &desc, D3D12_RESOURCE_STATE_COMMON, None, &mut mem_buf).map_err(|x| format!("CreatePlacedResource: {x}"))?; + let mem_buf = mem_buf.ok_or("arena")?; + let pso: ID3D12PipelineState = dev + .CreateComputePipelineState(&D3D12_COMPUTE_PIPELINE_STATE_DESC { + pRootSignature: transmute_copy(&gpu.rs), + CS: D3D12_SHADER_BYTECODE { pShaderBytecode: dxil.as_ptr() as _, BytecodeLength: dxil.len() }, + ..Default::default() + }) + .map_err(|x| format!("CreateComputePipelineState: {x}"))?; + let io_bytes = (io.len() * 4) as u64; + let res_bytes = (KERNEL_RES_DWORDS * 4) as u64; + let upload = buffer(dev, io_bytes, D3D12_HEAP_TYPE_UPLOAD, D3D12_RESOURCE_STATE_GENERIC_READ, false)?; + let io_buf = buffer(dev, io_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let res_buf = buffer(dev, res_bytes, D3D12_HEAP_TYPE_DEFAULT, D3D12_RESOURCE_STATE_COMMON, true)?; + let readback = buffer(dev, res_bytes, D3D12_HEAP_TYPE_READBACK, D3D12_RESOURCE_STATE_COPY_DEST, false)?; + let mut p = std::ptr::null_mut(); + upload.Map(0, None, Some(&mut p)).map_err(e)?; + std::ptr::copy_nonoverlapping(io.as_ptr(), p as *mut u32, io.len()); + upload.Unmap(0, None); + let alloc: ID3D12CommandAllocator = dev.CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT).map_err(e)?; + let list: ID3D12GraphicsCommandList = dev.CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, &alloc, &pso).map_err(e)?; + list.CopyBufferRegion(&io_buf, 0, &upload, 0, io_bytes); + list.ResourceBarrier(&[ + transition(&io_buf, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + transition(&res_buf, D3D12_RESOURCE_STATE_COMMON, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + transition(&mem_buf, D3D12_RESOURCE_STATE_COMMON, D3D12_RESOURCE_STATE_UNORDERED_ACCESS), + ]); + list.SetComputeRootSignature(&gpu.rs); + list.SetComputeRootUnorderedAccessView(0, io_buf.GetGPUVirtualAddress()); + list.SetComputeRootUnorderedAccessView(1, res_buf.GetGPUVirtualAddress()); + list.SetComputeRootUnorderedAccessView(2, mem_buf.GetGPUVirtualAddress()); + list.Dispatch(1, 1, 1); + list.ResourceBarrier(&[ + transition(&res_buf, D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COPY_SOURCE), + transition(&mem_buf, D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COMMON), + ]); + list.CopyBufferRegion(&readback, 0, &res_buf, 0, res_bytes); + list.Close().map_err(e)?; + gpu.queue.ExecuteCommandLists(&[Some(list.cast().map_err(e)?)]); + gpu.value += 1; + gpu.queue.Signal(&gpu.fence, gpu.value).map_err(e)?; + let ev = windows::Win32::System::Threading::CreateEventW(None, false, false, None).map_err(e)?; + gpu.fence.SetEventOnCompletion(gpu.value, ev).map_err(e)?; + windows::Win32::System::Threading::WaitForSingleObject(ev, 10_000); + let _ = windows::Win32::Foundation::CloseHandle(HANDLE(ev.0)); + if gpu.fence.GetCompletedValue() < gpu.value { + return Err(format!("GPU nie skończył w 10 s ({:?})", dev.GetDeviceRemovedReason())); + } + let mut q = std::ptr::null_mut(); + readback.Map(0, None, Some(&mut q)).map_err(e)?; + let raw = std::slice::from_raw_parts(q as *const u32, KERNEL_RES_DWORDS).to_vec(); + readback.Unmap(0, None); + let vgpr = (0..KERNEL_LANES).map(|l| raw[KERNEL_SGPRS + l * KERNEL_VGPRS..KERNEL_SGPRS + (l + 1) * KERNEL_VGPRS].to_vec()).collect(); + Ok(KernelResult { sgpr: raw[..KERNEL_SGPRS].to_vec(), vgpr, scc: raw[KERNEL_SCC_SLOT], raw, mem: Vec::new(), textures: Vec::new() }) + } +} + +/// Create a committed resource from a description (validation of decoded descriptors). +pub fn try_create_texture(desc: &D3D12_RESOURCE_DESC) -> Result<(), String> { + let mut g = GPU.lock().unwrap(); + let gpu = g.get_or_insert_with(init).as_mut().map_err(|x| x.clone())?; + let mut r: Option<ID3D12Resource> = None; + unsafe { + gpu.dev + .CreateCommittedResource(&D3D12_HEAP_PROPERTIES { Type: D3D12_HEAP_TYPE_DEFAULT, ..Default::default() }, D3D12_HEAP_FLAG_NONE, desc, D3D12_RESOURCE_STATE_COMMON, None, &mut r) + .map_err(|x| format!("CreateCommittedResource: {x}")) + } +} diff --git a/crates/xcl/src/gpu/recomp/tests.rs b/crates/xcl/src/gpu/recomp/tests.rs new file mode 100644 index 0000000..45a2483 --- /dev/null +++ b/crates/xcl/src/gpu/recomp/tests.rs @@ -0,0 +1,1242 @@ +//! Instruction semantics checked on the real GPU: small RDNA2 programs are assembled, +//! recompiled to HLSL, compiled with DXC and run as kernels. Skipped (with a note) when +//! there is no D3D12 GPU with SM 6.6 + wave64 or no DXC. + +use super::runner::{self, KernelState}; +use super::{translate, Mode, Options}; +use crate::gpu::rdna2::encode; + +fn gpu_ready() -> bool { + match (runner::adapter(), super::dxc::location()) { + (Ok(_), Ok(_)) => true, + (a, d) => { + println!("GPU/DXC niedostępne – pomijam ({:?} / {:?})", a.err(), d.err()); + false + } + } +} + +/// Assemble a program from (name, encoding, fields, literal). +fn prog(list: &[(&str, &str, &[(&str, u64)], Option<u32>)]) -> Vec<u8> { + let mut v = Vec::new(); + for (n, e, f, l) in list { + v.extend(encode(n, e, f, *l).unwrap_or_else(|x| panic!("{n}: {x}"))); + } + v.extend(encode("S_ENDPGM", "ENC_SOPP", &[], None).unwrap()); + v +} + +const V: u64 = 256; // VALU source code of v0 + +fn f(x: f32) -> u32 { + x.to_bits() +} + +#[test] +fn hlsl_is_generated_for_straight_line_and_branches() { + let code = prog(&[ + ("S_MOV_B32", "ENC_SOP1", &[("SDST", 0), ("SSRC0", 133)], None), + ("S_CMP_EQ_U32", "ENC_SOPC", &[("SSRC0", 0), ("SSRC1", 133)], None), + ("S_CBRANCH_SCC1", "ENC_SOPP", &[("SIMM16", 1)], None), + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 1), ("SRC0", 128)], None), + ]); + let t = translate(&code, &Options::default()).unwrap(); + assert!(t.complete(), "{:?}", t.unsupported); + assert_eq!(t.blocks, 3, "{}", t.hlsl); + // forward branches only: a chain of blocks, no loop + assert!(t.hlsl.contains("if (pc == 0u)") && !t.hlsl.contains("while") && t.hlsl.contains("[WaveSize(64)]"), "{}", t.hlsl); + // a backward branch: only its range becomes a loop + let code = prog(&[ + ("S_MOV_B32", "ENC_SOP1", &[("SDST", 0), ("SSRC0", 133)], None), + ("S_SUB_U32", "ENC_SOP2", &[("SDST", 0), ("SSRC0", 0), ("SSRC1", 129)], None), + ("S_CMP_LG_U32", "ENC_SOPC", &[("SSRC0", 0), ("SSRC1", 128)], None), + ("S_CBRANCH_SCC1", "ENC_SOPP", &[("SIMM16", 0xFFFD)], None), // back to s_sub + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 1), ("SRC0", 128)], None), + ]); + let t = translate(&code, &Options::default()).unwrap(); + assert!(t.hlsl.contains("[loop] while (pc >= 4u && pc < 16u)"), "{}", t.hlsl); + let t = translate(&prog(&[("V_ADD_F32", "ENC_VOP2", &[("VDST", 1), ("SRC0", V + 2), ("VSRC1", 3)], None)]), &Options::default()).unwrap(); + assert!(!t.hlsl.contains("pc =="), "{}", t.hlsl); + // unknown to the recompiler: reported, HLSL still produced + let t = translate(&prog(&[("V_INTERP_P1_F32", "ENC_VINTRP", &[("VDST", 0), ("VSRC", 0), ("ATTR", 0)], None)]), &Options::default()).unwrap(); + assert_eq!(t.unsupported.get("v_interp_p1_f32"), Some(&1)); + let _ = Mode::Kernel; +} + +#[test] +fn gpu_valu_float_and_int() { + if !gpu_ready() { + return; + } + let code = prog(&[ + ("V_ADD_F32", "ENC_VOP2", &[("VDST", 10), ("SRC0", V + 1), ("VSRC1", 2)], None), + ("V_MUL_LEGACY_F32", "ENC_VOP2", &[("VDST", 11), ("SRC0", 128), ("VSRC1", 3)], None), // 0 * inf = 0 + ("V_FMA_F32", "ENC_VOP3", &[("VDST", 12), ("SRC0", V + 1), ("SRC1", 244), ("SRC2", 243)], None), // v1*2-1 + ("V_MAC_F32", "ENC_VOP2", &[("VDST", 13), ("SRC0", V + 1), ("VSRC1", 2)], None), // v13 += v1*v2 + ("V_ADD_NC_U32", "ENC_VOP2", &[("VDST", 14), ("SRC0", V + 4), ("VSRC1", 5)], None), + ("V_LSHLREV_B32", "ENC_VOP2", &[("VDST", 15), ("SRC0", 132), ("VSRC1", 4)], None), // v4 << 4 + ("V_BFE_U32", "ENC_VOP3", &[("VDST", 16), ("SRC0", V + 6), ("SRC1", 136), ("SRC2", 132)], None), // bits 8..11 + ("V_CVT_F32_UBYTE1", "ENC_VOP1", &[("VDST", 17), ("SRC0", V + 6)], None), + ("V_MBCNT_LO_U32_B32", "ENC_VOP3", &[("VDST", 18), ("SRC0", 193), ("SRC1", 128)], None), // lane index (low half) + ("V_MBCNT_HI_U32_B32", "ENC_VOP3", &[("VDST", 18), ("SRC0", 193), ("SRC1", V + 18)], None), // + high half + ("V_MED3_F32", "ENC_VOP3", &[("VDST", 19), ("SRC0", V + 1), ("SRC1", 128), ("SRC2", 242)], None), // clamp to [0,1] + ("V_ADD_F32", "ENC_VOP3", &[("VDST", 20), ("SRC0", V + 1), ("SRC1", V + 2), ("NEG", 1), ("OMOD", 1)], None), // (-v1 + v2) * 2 + ]); + let mut st = KernelState::default(); + for (l, r) in st.vgpr.iter_mut().enumerate() { + r[1] = f(l as f32 * 0.25); + r[2] = f(1.5); + r[3] = f(f32::INFINITY); + r[4] = l as u32; + r[5] = 1000; + r[6] = 0x0000_AB00 | l as u32; + r[13] = f(10.0); + } + let r = runner::run_code(&code, &st, &[]).unwrap(); + for l in 0..64 { + let v = &r.vgpr[l]; + let x = l as f32 * 0.25; + let fl = |i: usize| f32::from_bits(v[i]); + assert_eq!(fl(10), x + 1.5, "lane {l} v_add_f32"); + assert_eq!(v[11], 0, "lane {l} v_mul_legacy_f32 0*inf"); + assert_eq!(fl(12), x * 2.0 - 1.0, "lane {l} v_fma_f32"); + assert_eq!(fl(13), 10.0 + x * 1.5, "lane {l} v_mac_f32"); + assert_eq!(v[14], l as u32 + 1000, "lane {l} v_add_nc_u32"); + assert_eq!(v[15], (l as u32) << 4, "lane {l} v_lshlrev_b32"); + assert_eq!(v[16], 0xB, "lane {l} v_bfe_u32"); + assert_eq!(fl(17), 0xAB as f32, "lane {l} v_cvt_f32_ubyte1"); + assert_eq!(v[18], l as u32, "lane {l} v_mbcnt"); + assert_eq!(fl(19), x.clamp(0.0, 1.0), "lane {l} v_med3_f32"); + assert_eq!(fl(20), (1.5 - x) * 2.0, "lane {l} VOP3 neg+omod"); + } +} + +#[test] +fn gpu_bench_really_runs() { + if !gpu_ready() { + return; + } + println!("GPU: {} / DXC: {}", runner::adapter().unwrap(), super::dxc::location().unwrap().display()); + // v1 = lane * 3 must differ per lane – proves the kernel ran on the GPU, per lane + let code = prog(&[("V_MUL_U32_U24", "ENC_VOP2", &[("VDST", 1), ("SRC0", 131), ("VSRC1", 0)], None)]); + let mut st = KernelState::default(); + for (l, r) in st.vgpr.iter_mut().enumerate() { + r[0] = l as u32; + r[1] = 0xDEAD; + } + // EXEC = only even lanes + st.sgpr[126] = 0x5555_5555; + st.sgpr[127] = 0x5555_5555; + let r = runner::run_code(&code, &st, &[]).unwrap(); + for l in 0..64 { + let want = if l % 2 == 0 { 3 * l as u32 } else { 0xDEAD }; + assert_eq!(r.vgpr[l][1], want, "lane {l}"); + } + assert_eq!((r.sgpr[126], r.sgpr[127]), (0x5555_5555, 0x5555_5555)); +} + +#[test] +fn gpu_scalar_loop_and_scc() { + if !gpu_ready() { + return; + } + let code = prog(&[ + ("S_MOV_B32", "ENC_SOP1", &[("SDST", 0), ("SSRC0", 128)], None), // 0: s0 = 0 + ("S_MOV_B32", "ENC_SOP1", &[("SDST", 1), ("SSRC0", 138)], None), // 4: s1 = 10 + ("S_ADD_U32", "ENC_SOP2", &[("SDST", 0), ("SSRC0", 0), ("SSRC1", 1)], None), // 8: loop: s0 += s1 + ("S_SUB_U32", "ENC_SOP2", &[("SDST", 1), ("SSRC0", 1), ("SSRC1", 129)], None), // 12: s1 -= 1 + ("S_CMP_LG_U32", "ENC_SOPC", &[("SSRC0", 1), ("SSRC1", 128)], None), // 16 + ("S_CBRANCH_SCC1", "ENC_SOPP", &[("SIMM16", 0xFFFC)], None), // 20: → 8 + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 1), ("SRC0", 0)], None), // v1 = s0 + // SCC rules + ("S_ADD_U32", "ENC_SOP2", &[("SDST", 2), ("SSRC0", 255), ("SSRC1", 130)], Some(0xFFFF_FFFF)), // carry + ("S_ADDC_U32", "ENC_SOP2", &[("SDST", 3), ("SSRC0", 128), ("SSRC1", 128)], None), // 0+0+carry + ("S_ADD_I32", "ENC_SOP2", &[("SDST", 4), ("SSRC0", 255), ("SSRC1", 129)], Some(0x7FFF_FFFF)), // overflow + ("S_CSELECT_B32", "ENC_SOP2", &[("SDST", 5), ("SSRC0", 135), ("SSRC1", 136)], None), // scc ? 7 : 8 + ("S_BFE_U32", "ENC_SOP2", &[("SDST", 6), ("SSRC0", 255), ("SSRC1", 20)], Some(0x00AB_CD00)), // s20 = (8 << 16) | 8 + ("S_FF1_I32_B32", "ENC_SOP1", &[("SDST", 7), ("SSRC0", 255)], Some(0x0000_0100)), + ("S_BCNT1_I32_B64", "ENC_SOP1", &[("SDST", 8), ("SSRC0", 126)], None), // popcount(exec) + ("S_LSHL_B64", "ENC_SOP2", &[("SDST", 10), ("SSRC0", 255), ("SSRC1", 160)], Some(0x0000_0003)), // 3 << 32 + ("S_MUL_I32", "ENC_SOP2", &[("SDST", 12), ("SSRC0", 193), ("SSRC1", 255)], Some(1234)), // -1 * 1234 + ]); + let mut st = KernelState::default(); + st.sgpr[20] = (8 << 16) | 8; + let r = runner::run_code(&code, &st, &[]).unwrap(); + assert_eq!(r.sgpr[0], 55, "pętla"); + assert!(r.vgpr.iter().all(|v| v[1] == 55)); + assert_eq!(r.sgpr[2], 1, "s_add_u32 wraps"); + assert_eq!(r.sgpr[3], 1, "s_addc_u32 uses the carry"); + assert_eq!(r.sgpr[4], 0x8000_0000, "s_add_i32"); + assert_eq!(r.sgpr[5], 7, "s_cselect after signed overflow → scc=1"); + assert_eq!(r.sgpr[6], 0xCD, "s_bfe_u32"); + assert_eq!(r.sgpr[7], 8, "s_ff1"); + assert_eq!(r.sgpr[8], 64, "s_bcnt1 exec"); + assert_eq!((r.sgpr[10], r.sgpr[11]), (0, 3), "s_lshl_b64"); + assert_eq!(r.sgpr[12] as i32, -1234, "s_mul_i32"); +} + +#[test] +fn gpu_divergence_through_exec() { + if !gpu_ready() { + return; + } + let code = prog(&[ + ("V_CMP_GT_U32", "ENC_VOPC", &[("SRC0", 160), ("VSRC1", 0)], None), // vcc = 32 > lane + ("S_AND_SAVEEXEC_B64", "ENC_SOP1", &[("SDST", 2), ("SSRC0", 106)], None), + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 1), ("SRC0", 129)], None), // lanes 0..31: 1 + ("S_XOR_B64", "ENC_SOP2", &[("SDST", 126), ("SSRC0", 126), ("SSRC1", 2)], None), + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 1), ("SRC0", 130)], None), // lanes 32..63: 2 + ("S_MOV_B64", "ENC_SOP1", &[("SDST", 126), ("SSRC0", 2)], None), + ("V_CNDMASK_B32", "ENC_VOP2", &[("VDST", 2), ("SRC0", 128), ("VSRC1", 3)], None), // vcc ? v3 : 0 + ("V_READFIRSTLANE_B32", "ENC_VOP1", &[("VDST", 4), ("SRC0", V + 3)], None), + ("V_READLANE_B32", "ENC_VOP3", &[("VDST", 5), ("SRC0", V), ("SRC1", 255)], Some(45)), + // nobody matches: exec = 0 → the block is skipped + ("V_CMPX_EQ_U32", "ENC_VOPC", &[("SRC0", 255), ("VSRC1", 0)], Some(1000)), // 36: (literal: 8 bytes) + ("S_CBRANCH_EXECZ", "ENC_SOPP", &[("SIMM16", 2)], None), // 44 → 56 + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 6), ("SRC0", 192)], None), // 48 (skipped) + ("S_MOV_B32", "ENC_SOP1", &[("SDST", 7), ("SSRC0", 129)], None), // 52 (skipped) + ("S_MOV_B64", "ENC_SOP1", &[("SDST", 126), ("SSRC0", 193)], None), // 56: exec = -1 + ("V_ADD_CO_U32", "VOP3_SDST_ENC", &[("VDST", 8), ("SDST", 20), ("SRC0", V + 9), ("SRC1", 255)], Some(0x8000_0000)), + ]); + let mut st = KernelState::default(); + for (l, r) in st.vgpr.iter_mut().enumerate() { + r[0] = l as u32; + r[3] = 7 + l as u32; + r[6] = 0x66; + r[9] = if l % 4 == 0 { 0x8000_0000 } else { 1 }; + } + let r = runner::run_code(&code, &st, &[]).unwrap(); + for l in 0..64 { + assert_eq!(r.vgpr[l][1], if l < 32 { 1 } else { 2 }, "lane {l} masked writes"); + assert_eq!(r.vgpr[l][2], if l < 32 { 7 + l as u32 } else { 0 }, "lane {l} cndmask"); + assert_eq!(r.vgpr[l][6], 0x66, "lane {l}: skipped block must not run"); + } + assert_eq!((r.sgpr[2], r.sgpr[3]), (u32::MAX, u32::MAX), "saved exec"); + assert_eq!((r.sgpr[106], r.sgpr[107]), (u32::MAX, 0), "vcc from v_cmp"); + assert_eq!(r.sgpr[4], 7, "readfirstlane"); + assert_eq!(r.sgpr[5], 45, "readlane 45"); + assert_eq!(r.sgpr[7], 0, "scalar code in the skipped block"); + assert_eq!((r.sgpr[126], r.sgpr[127]), (u32::MAX, u32::MAX)); + assert_eq!((r.sgpr[20], r.sgpr[21]), (0x1111_1111, 0x1111_1111), "carry mask of v_add_co_u32"); +} + +#[test] +fn gpu_memory_and_exports() { + if !gpu_ready() { + return; + } + let code = prog(&[ + ("S_LOAD_DWORDX2", "ENC_SMEM", &[("SDATA", 8), ("SBASE", 0), ("OFFSET", 0x10), ("SOFFSET", 125)], None), + ("S_BUFFER_LOAD_DWORD", "ENC_SMEM", &[("SDATA", 10), ("SBASE", 6), ("OFFSET", 4), ("SOFFSET", 125)], None), + ("S_BUFFER_LOAD_DWORD", "ENC_SMEM", &[("SDATA", 11), ("SBASE", 6), ("OFFSET", 0x400), ("SOFFSET", 125)], None), // out of range + ("BUFFER_LOAD_DWORD", "ENC_MUBUF", &[("VDATA", 3), ("VADDR", 0), ("SRSRC", 3), ("SOFFSET", 128), ("OFFSET", 8), ("OFFEN", 1)], None), + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 4), ("SRC0", 8)], None), + ("EXP", "ENC_EXP", &[("TGT", 12), ("EN", 0xF), ("VSRC0", 3), ("VSRC1", 4), ("VSRC2", 0), ("VSRC3", 0), ("DONE", 1)], None), + ("V_CVT_PKRTZ_F16_F32", "ENC_VOP2", &[("VDST", 5), ("SRC0", 242), ("VSRC1", 6)], None), + ("EXP", "ENC_EXP", &[("TGT", 0), ("EN", 0x3), ("VSRC0", 5), ("VSRC1", 5), ("COMPR", 1), ("DONE", 1), ("VM", 1)], None), + ]); + let mut mem = vec![0u32; 256]; + for (i, m) in mem.iter_mut().enumerate() { + *m = 0x1000 + i as u32; + } + let mut st = KernelState::default(); + st.sgpr[0] = 0; // flat pointer + st.sgpr[12] = 0x40; // V#: base 0x40, stride 0, 0x100 bytes + st.sgpr[13] = 0; + st.sgpr[14] = 0x100; + for (l, r) in st.vgpr.iter_mut().enumerate() { + r[0] = 4 * l as u32; + r[6] = f(0.5); + } + let r = runner::run_code(&code, &st, &mem).unwrap(); + assert_eq!((r.sgpr[8], r.sgpr[9]), (0x1004, 0x1005), "s_load_dwordx2"); + assert_eq!(r.sgpr[10], 0x1000 + 0x44 / 4, "s_buffer_load_dword"); + assert_eq!(r.sgpr[11], 0, "s_buffer_load out of range → 0"); + for l in 0..64 { + let want = if 8 + 4 * l < 0x100 { 0x1000 + (0x40 + 8 + 4 * l as u32) / 4 } else { 0 }; + assert_eq!(r.vgpr[l][3], want, "lane {l} buffer_load_dword offen"); + assert_eq!(r.export(12, l, 0), want, "lane {l} pos0.x"); + assert_eq!(r.export(12, l, 1), 0x1004, "lane {l} pos0.y"); + assert_eq!(r.export(12, l, 2), 4 * l as u32, "lane {l} pos0.z"); + assert_eq!((r.export(0, l, 0), r.export(0, l, 1)), (0x3C00, 0x3800), "lane {l} mrt0 compr (1.0, 0.5)"); + } +} + +/// A real console vertex shader from the retail pack, run on the PC GPU +/// (needs XCL_SAMPLE_RPF=…\shaders.rpf). +#[test] +fn gpu_retail_vs_blit_gen_amb_cube() { + let Ok(path) = std::env::var("XCL_SAMPLE_RPF") else { + println!("XCL_SAMPLE_RPF nie ustawione – pomijam"); + return; + }; + if !gpu_ready() { + return; + } + let data = std::fs::read(&path).unwrap(); + let rec = crate::gpu::pack::scan(&data, 0x40).into_iter().find(|r| r.name == "VS_BlitGenAmbCube_0cfdb358_Wrapped").expect("rekord"); + let blob = crate::gpu::pack::inflate(&data, &rec).unwrap(); + let sh = crate::gpu::xbox::parse(&blob).unwrap(); + let fs = &sh.fssm[0]; + let p = fs.programs[0]; + let code = &fs.data[p.offset..p.offset + p.len]; + let t = translate(code, &Options::default()).unwrap(); + assert!(t.complete(), "{:?}\n{}", t.unsupported, t.hlsl); + println!("{}", t.hlsl); + // the fetch shader would load POSITION into v4..; give every lane its own vertex + let mut st = KernelState::default(); + for (l, r) in st.vgpr.iter_mut().enumerate() { + r[4] = f((l % 8) as f32 / 7.0); + r[5] = f((l / 8) as f32 / 7.0); + } + let (r, _) = runner::run_program(code, &st, &[]).unwrap(); + for l in 0..64 { + let x = (l % 8) as f32 / 7.0; + let y = (l / 8) as f32 / 7.0; + let pos: Vec<f32> = (0..4).map(|c| f32::from_bits(r.export(12, l, c))).collect(); + assert_eq!(pos, vec![x * 2.0 - 1.0, y * 2.0 - 1.0, 0.0, 1.0], "lane {l}: SV_Position"); + let p0: Vec<f32> = (0..4).map(|c| f32::from_bits(r.export(32, l, c))).collect(); + assert_eq!(p0, vec![0.0, 0.0, 0.0, 1.0], "lane {l}: param0"); + } +} + +#[test] +fn gpu_sdwa_dpp_and_cross_lane() { + if !gpu_ready() { + return; + } + let code = prog(&[ + // v10 = (float)(v1 byte 2) SRC0=0xF9 (SDWA), VSRC0=1, SRC0_SEL=BYTE_2, DST_SEL=DWORD + ("V_CVT_F32_U32", "VOP1_VOP_SDWA", &[("VDST", 10), ("SRC0", 0xF9), ("VSRC0", 1), ("SRC0_SEL", 2), ("DST_SEL", 6)], None), + // v11 = sext(v1 word1) + v2 written into word 0 of v11, upper word preserved + ("V_ADD_NC_U32", "VOP2_VOP_SDWA", &[("VDST", 11), ("SRC0", 0xF9), ("VSRC0", 1), ("VSRC1", 2), ("SRC0_SEL", 5), ("SRC0_SEXT", 1), ("SRC1_SEL", 6), ("DST_SEL", 4), ("DST_UNUSED", 2)], None), + // v12 = v0 of lane (lane ^ 1 within quad): quad_perm [1,0,3,2] = 0b10_11_00_01 = 0xB1 + ("V_MOV_B32", "VOP1_VOP_DPP16", &[("VDST", 12), ("SRC0", 0xFA), ("VSRC0", 0), ("DPP_CTRL", 0xB1), ("ROW_MASK", 0xF), ("BANK_MASK", 0xF)], None), + // v13 = v0 of lane-1 within row; lane 0 of each row has no source → 0 (bound_ctrl) + ("V_MOV_B32", "VOP1_VOP_DPP16", &[("VDST", 13), ("SRC0", 0xFA), ("VSRC0", 0), ("DPP_CTRL", 0x111), ("ROW_MASK", 0xF), ("BANK_MASK", 0xF), ("BOUND_CTRL", 1)], None), + // v14 = row_mirror, rows 1 and 3 only (row_mask 0b1010) + ("V_MOV_B32", "VOP1_VOP_DPP16", &[("VDST", 14), ("SRC0", 0xFA), ("VSRC0", 0), ("DPP_CTRL", 0x140), ("ROW_MASK", 0xA), ("BANK_MASK", 0xF)], None), + // v15 = v0 of lane 7 - (lane & 7) in each group of 8 (DPP8) + ("V_MOV_B32", "VOP1_VOP_DPP8", &[("VDST", 15), ("SRC0", 0xE9), ("VSRC0", 0), ("LANE_SEL_0", 7), ("LANE_SEL_1", 6), ("LANE_SEL_2", 5), ("LANE_SEL_3", 4), ("LANE_SEL_4", 3), ("LANE_SEL_5", 2), ("LANE_SEL_6", 1), ("LANE_SEL_7", 0)], None), + // v16 = swizzle: lane ^ 4 (BitMode: and 0x1F, or 0, xor 4) + ("DS_SWIZZLE_B32", "ENC_DS", &[("VDST", 16), ("ADDR", 0), ("OFFSET0", 0x1F), ("OFFSET1", 4 << 2)], None), + // v17 = permlanex16 with identity selects → lane ^ 16 + ("V_PERMLANEX16_B32", "ENC_VOP3", &[("VDST", 17), ("SRC0", V), ("SRC1", 255), ("SRC2", 3)], Some(0x7654_3210)), + // v18 = fma_mix(f16 lo of v3, f16 hi of v3, f32 v4) = 1.5 * 2.0 + 0.25 + ("V_FMA_MIX_F32", "ENC_VOP3P", &[("VDST", 18), ("SRC0", V + 3), ("SRC1", V + 3), ("SRC2", V + 4), ("OP_SEL", 0b010), ("OP_SEL_HI", 0b11), ("OP_SEL_HI_2", 0)], None), + // v19 = cube face of (v5, v6, v7) + ("V_CUBEID_F32", "ENC_VOP3", &[("VDST", 19), ("SRC0", V + 5), ("SRC1", V + 6), ("SRC2", V + 7)], None), + ]); + let mut st = KernelState::default(); + st.sgpr[3] = 0xFEDC_BA98; // permlanex16 selects for lanes 8..15 of a row + for (l, r) in st.vgpr.iter_mut().enumerate() { + r[0] = 100 + l as u32; + r[1] = 0x8001_0000 | ((l as u32) << 16 & 0x00F0_0000) ; + r[2] = 10; + r[11] = 0xAAAA_5555; + r[14] = 0xDEAD; + r[3] = 0x4000_3E00; // hi = 2.0h, lo = 1.5h + r[4] = f(0.25); + let axis = l % 3; + r[5] = f(if axis == 0 { -3.0 } else { 0.5 }); + r[6] = f(if axis == 1 { 3.0 } else { 0.5 }); + r[7] = f(if axis == 2 { -3.0 } else { 0.5 }); + } + let r = runner::run_code(&code, &st, &[]).unwrap(); + for l in 0..64usize { + let v = &r.vgpr[l]; + let v1 = 0x8001_0000u32 | ((l as u32) << 16 & 0x00F0_0000); + assert_eq!(f32::from_bits(v[10]), ((v1 >> 16) & 0xFF) as f32, "lane {l} sdwa byte2"); + let w1 = ((v1 >> 16) as u16 as i16 as i32) as u32; + assert_eq!(v[11], 0xAAAA_0000 | (w1.wrapping_add(10) & 0xFFFF), "lane {l} sdwa word1 sext + preserve"); + assert_eq!(v[12], 100 + (l ^ 1) as u32, "lane {l} quad_perm"); + assert_eq!(v[13], if l % 16 == 0 { 0 } else { 100 + l as u32 - 1 }, "lane {l} row_shr:1 bound_ctrl"); + let row = l / 16; + assert_eq!(v[14], if row % 2 == 1 { 100 + (row * 16 + 15 - l % 16) as u32 } else { 0xDEAD }, "lane {l} row_mirror row_mask"); + assert_eq!(v[15], 100 + ((l & !7) | (7 - (l & 7))) as u32, "lane {l} dpp8"); + assert_eq!(v[16], 100 + (l ^ 4) as u32, "lane {l} ds_swizzle"); + let n = if l % 16 < 8 { (0x7654_3210u32 >> (4 * (l % 8))) & 15 } else { (0xFEDC_BA98u32 >> (4 * (l % 8))) & 15 }; + assert_eq!(v[17], 100 + ((l & !31) | ((l & 16) ^ 16) | n as usize) as u32, "lane {l} permlanex16"); + assert_eq!(f32::from_bits(v[18]), 1.5 * 2.0 + 0.25, "lane {l} fma_mix"); + let face = match l % 3 { + 0 => 1.0, + 1 => 2.0, + _ => 5.0, + }; + assert_eq!(f32::from_bits(v[19]), face, "lane {l} cubeid"); + } +} + +#[test] +fn buffer_format_table_matches_llvm() { + // every BUF_FMT_* in LLVM's gfx10 MTBUF tests must decode to the same name + let dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../tests/data/llvm-amdgpu"); + let mut checked = 0; + for e in std::fs::read_dir(&dir).unwrap().flatten() { + for line in std::fs::read_to_string(e.path()).unwrap_or_default().lines() { + let Some(i) = line.find("format:[BUF_FMT_") else { continue }; + if !line.starts_with("# GFX10") { + continue; + } + let name = &line[i + 16..line[i..].find(']').unwrap() + i]; + let Some(enc) = line.split("encoding: [").nth(1) else { continue }; + let b: Vec<u8> = enc.trim_end_matches(']').split(',').filter_map(|x| u8::from_str_radix(x.trim().trim_start_matches("0x"), 16).ok()).collect(); + let w = u32::from_le_bytes([b[0], b[1], b[2], b[3]]); + assert_eq!(super::emit::BUF_FORMATS[((w >> 19) & 0x7F) as usize], name, "{line}"); + checked += 1; + } + } + assert!(checked >= 10, "{checked}"); +} + +#[test] +fn gpu_typed_buffer_loads_and_stores() { + if !gpu_ready() { + return; + } + let ident = 4 | 5 << 3 | 6 << 6 | 7 << 9; + let bgra = 6 | 5 << 3 | 4 << 6 | 7 << 9; + let vs = |base: u32, fmt: u32, sel: u32| [base, 0, 0x100, sel | fmt << 12]; + let code = prog(&[ + ("BUFFER_LOAD_FORMAT_XYZW", "ENC_MUBUF", &[("VDATA", 10), ("SRSRC", 3), ("SOFFSET", 128)], None), // A + ("BUFFER_LOAD_FORMAT_XYZW", "ENC_MUBUF", &[("VDATA", 14), ("SRSRC", 4), ("SOFFSET", 128)], None), // B + ("BUFFER_LOAD_FORMAT_XYZW", "ENC_MUBUF", &[("VDATA", 18), ("SRSRC", 5), ("SOFFSET", 128)], None), // C + ("BUFFER_LOAD_FORMAT_X", "ENC_MUBUF", &[("VDATA", 22), ("SRSRC", 6), ("SOFFSET", 128), ("OFFSET", 2)], None), // D (unaligned) + ("BUFFER_LOAD_FORMAT_XYZ", "ENC_MUBUF", &[("VDATA", 23), ("SRSRC", 7), ("SOFFSET", 128)], None), // E + ("TBUFFER_LOAD_FORMAT_XY", "ENC_MTBUF", &[("VDATA", 26), ("SRSRC", 8), ("SOFFSET", 128), ("FORMAT", 64)], None), // F + ("BUFFER_LOAD_FORMAT_X", "ENC_MUBUF", &[("VDATA", 28), ("SRSRC", 6), ("SOFFSET", 128), ("OFFSET", 0x200)], None), // out of range + ("V_CVT_PK_U8_F32", "ENC_VOP3", &[("VDST", 29), ("SRC0", V + 30), ("SRC1", 130), ("SRC2", 255)], Some(0x1122_3344)), + ("BUFFER_STORE_DWORD", "ENC_MUBUF", &[("VDATA", 0), ("VADDR", 1), ("SRSRC", 9), ("SOFFSET", 128), ("OFFEN", 1)], None), + ("S_BITSET1_B32", "ENC_SOP1", &[("SDST", 50), ("SSRC0", 133)], None), + ]); + let mut mem = vec![0u32; 512]; + mem[0x100 / 4] = u32::from_le_bytes([0x00, 0x80, 0xFF, 0x40]); // A: 8_8_8_8_UNORM + mem[0x110 / 4] = 0x3C00 | 0xC000 << 16; // B: 16_16_FLOAT (1.0, -2.0) + mem[0x114 / 4] = 1023 | 512 << 20 | 3 << 30; // C: 2_10_10_10_UNORM + mem[0x118 / 4] = 0x8001 << 16; // D: 16_SNORM at byte 0x11A + mem[0x11C / 4] = 0x3C0 | 0x400 << 11 | 0x1C0 << 22; // E: 10_11_11_FLOAT (1.0, 2.0, 0.5) + mem[0x120 / 4] = f(1.5); + mem[0x124 / 4] = f(-3.25); // F: 32_32_FLOAT + let mut st = KernelState::default(); + for (i, v) in [ + vs(0x100, 56, bgra), + vs(0x110, 29, ident), + vs(0x114, 50, ident), + vs(0x118, 8, ident), + vs(0x11C, 36, ident), + vs(0x120, 0, ident), + [0x400, 0, 0x100, 0], + ] + .iter() + .enumerate() + { + st.sgpr[12 + 4 * i..16 + 4 * i].copy_from_slice(v); + } + st.sgpr[50] = 1; + for (l, r) in st.vgpr.iter_mut().enumerate() { + r[0] = 0xC0DE_0000 | l as u32; + r[1] = 4 * l as u32; + r[30] = f(200.6); + } + let r = runner::run_code(&code, &st, &mem).unwrap(); + let fl = |x: u32| f32::from_bits(x); + // normalised mid values: within 2 ULP (DXC divides approximately); endpoints exact + let near = |got: u32, want: f32| (got as i64 - want.to_bits() as i64).abs() <= 2; + for l in 0..64 { + let v = &r.vgpr[l]; + assert!( + v[10] == f(1.0) && near(v[11], 128.0 / 255.0) && v[12] == 0 && near(v[13], 64.0 / 255.0), + "lane {l} A unorm8 bgra {:?}", + [fl(v[10]), fl(v[11]), fl(v[12]), fl(v[13])] + ); + assert_eq!([fl(v[14]), fl(v[15]), fl(v[16]), fl(v[17])], [1.0, -2.0, 0.0, 1.0], "lane {l} B 16_16_float"); + assert!( + v[18] == f(1.0) && v[19] == 0 && near(v[20], 512.0 / 1023.0) && v[21] == f(1.0), + "lane {l} C 2_10_10_10 {:?}", + [fl(v[18]), fl(v[19]), fl(v[20]), fl(v[21])] + ); + assert_eq!(fl(v[22]), -1.0, "lane {l} D 16_snorm unaligned"); + assert_eq!([fl(v[23]), fl(v[24]), fl(v[25])], [1.0, 2.0, 0.5], "lane {l} E 10_11_11_float"); + assert_eq!([fl(v[26]), fl(v[27])], [1.5, -3.25], "lane {l} F tbuffer 32_32_float"); + assert_eq!(v[28], 0, "lane {l} out of range"); + assert_eq!(v[29], 0x11C9_3344, "lane {l} v_cvt_pk_u8_f32 into byte 2"); + assert_eq!(r.mem[0x400 / 4 + l], 0xC0DE_0000 | l as u32, "lane {l} buffer_store_dword"); + } + assert_eq!(r.sgpr[50], 1 | 1 << 5, "s_bitset1"); +} + +fn el(name: &str, index: u32, sv: u32, ct: u32, reg: u32, mask: u8) -> crate::gpu::dxbc::SigElement { + crate::gpu::dxbc::SigElement { name: name.into(), index, system_value: sv, component_type: ct, register: reg, mask, rw_mask: mask, stream: 0 } +} + +/// VS + PS pair recompiled to graphics stages and drawn on the GPU: VS inputs from the +/// fetch-shader VGPRs, exp pos0/param0, PS interpolation through v_interp, discard via v_cmpx. +#[test] +fn gpu_graphics_vs_ps_draw() { + if !gpu_ready() { + return; + } + use super::{PsInterface, VsInterface}; + use windows::Win32::Graphics::Dxgi::Common::{DXGI_FORMAT_R32G32B32A32_FLOAT, DXGI_FORMAT_R32G32_FLOAT}; + let vs_code = prog(&[ + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 0), ("SRC0", V + 4)], None), + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 1), ("SRC0", V + 5)], None), + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 2), ("SRC0", 128)], None), + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 3), ("SRC0", 242)], None), + ("EXP", "ENC_EXP", &[("TGT", 12), ("EN", 0xF), ("VSRC0", 0), ("VSRC1", 1), ("VSRC2", 2), ("VSRC3", 3), ("DONE", 1)], None), + ("EXP", "ENC_EXP", &[("TGT", 32), ("EN", 0xF), ("VSRC0", 8), ("VSRC1", 9), ("VSRC2", 10), ("VSRC3", 11)], None), + ]); + let vsi = VsInterface { + inputs: vec![el("POSITION", 0, 0, 3, 0, 3), el("COLOR", 0, 0, 3, 1, 0xF)], + outputs: vec![el("SV_Position", 0, 1, 3, 0, 0xF), el("COLOR", 0, 0, 3, 1, 0xF)], + attr_base: 4, + }; + let ps_code = prog(&[ + ("V_CMPX_LT_F32", "ENC_VOPC", &[("SRC0", 255), ("VSRC1", 2)], Some(8.0f32.to_bits())), // keep pos.x > 8 + ("V_INTERP_P1_F32", "ENC_VINTRP", &[("VDST", 4), ("VSRC", 0), ("ATTR", 0), ("ATTRCHAN", 0)], None), + ("V_INTERP_P2_F32", "ENC_VINTRP", &[("VDST", 4), ("VSRC", 1), ("ATTR", 0), ("ATTRCHAN", 0)], None), + ("V_INTERP_P2_F32", "ENC_VINTRP", &[("VDST", 5), ("VSRC", 1), ("ATTR", 0), ("ATTRCHAN", 1)], None), + ("V_INTERP_P2_F32", "ENC_VINTRP", &[("VDST", 6), ("VSRC", 1), ("ATTR", 0), ("ATTRCHAN", 2)], None), + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 7), ("SRC0", 242)], None), + ("V_MUL_F32", "ENC_VOP2", &[("VDST", 4), ("SRC0", 240), ("VSRC1", 4)], None), + ("EXP", "ENC_EXP", &[("TGT", 0), ("EN", 0xF), ("VSRC0", 4), ("VSRC1", 5), ("VSRC2", 6), ("VSRC3", 7), ("DONE", 1), ("VM", 1)], None), + ]); + let psi = PsInterface { + inputs: vec![el("SV_Position", 0, 1, 3, 0, 0xF), el("COLOR", 0, 0, 3, 1, 0xF)], + outputs: vec![el("SV_Target", 0, 64, 3, 0, 0xF)], + input_ena: 0x302, + }; + let vt = translate(&vs_code, &Options { mode: Mode::Vertex(vsi), wave64: true }).unwrap(); + let pt = translate(&ps_code, &Options { mode: Mode::Pixel(psi), wave64: true }).unwrap(); + assert!(vt.complete() && pt.complete(), "{:?} {:?}", vt.unsupported, pt.unsupported); + let vs = super::dxc::compile(&vt.hlsl, "main", "vs_6_6", &[]).unwrap_or_else(|e| panic!("{e}\n{}", vt.hlsl)); + let ps = super::dxc::compile(&pt.hlsl, "main", "ps_6_6", &[]).unwrap_or_else(|e| panic!("{e}\n{}", pt.hlsl)); + let c = [0.8f32, 0.6, 0.4, 1.0]; + let verts: Vec<f32> = [[-1.0f32, -1.0], [-1.0, 3.0], [3.0, -1.0]].iter().flat_map(|p| [p[0], p[1], c[0], c[1], c[2], c[3]]).collect(); + let layout = [ + runner::VertexElement { semantic: "POSITION", index: 0, format: DXGI_FORMAT_R32G32_FLOAT, offset: 0 }, + runner::VertexElement { semantic: "COLOR", index: 0, format: DXGI_FORMAT_R32G32B32A32_FLOAT, offset: 8 }, + ]; + let clear = [0.0, 0.0, 1.0, 1.0]; + let px = runner::draw(&vs, &ps, &layout, &verts, 24, &[], &[], 16, clear).unwrap(); + for y in 0..16 { + for x in 0..16 { + let want = if x >= 8 { [0.4, 0.6, 0.4, 1.0] } else { clear }; + let got = px[y * 16 + x]; + assert!(got.iter().zip(want).all(|(a, b)| (a - b).abs() < 1e-5), "piksel ({x},{y}) = {got:?}, oczekiwano {want:?}"); + } + } +} + +/// XCL image descriptor (T#, GFX10 layout): BASE_ADDRESS = SRV heap index, FORMAT, TYPE. +fn tsharp(index: u32, format: u32, ty: u32) -> [u32; 8] { + [index, format << 20, 0, ty << 28, 0, 0, 0, 0] +} + +#[test] +fn gpu_images_sample_load_store_atomic() { + if !gpu_ready() { + return; + } + use runner::{TestSampler, TestTexture, TexDim}; + use windows::Win32::Graphics::Direct3D12::*; + use windows::Win32::Graphics::Dxgi::Common::{DXGI_FORMAT_R32G32B32A32_FLOAT, DXGI_FORMAT_R32_UINT}; + let mimg = |name: &'static str, f: &[(&str, u64)]| -> Vec<u8> { encode(name, "ENC_MIMG", f, None).unwrap() }; + let mut code = Vec::new(); + // T# tex0 in s[16:23] (SRSRC = 4), S# point in s[24:27] (SSAMP = 6), S# linear in s[28:31] (7) + code.extend(mimg("IMAGE_SAMPLE_LZ", &[("VDATA", 10), ("VADDR", 0), ("SRSRC", 4), ("SSAMP", 6), ("DMASK", 0xF), ("DIM", 1)])); + code.extend(mimg("IMAGE_SAMPLE_L", &[("VDATA", 20), ("VADDR", 30), ("SRSRC", 4), ("SSAMP", 7), ("DMASK", 0xF), ("DIM", 1)])); + code.extend(mimg("IMAGE_GATHER4_LZ", &[("VDATA", 40), ("VADDR", 33), ("SRSRC", 4), ("SSAMP", 6), ("DMASK", 0x1), ("DIM", 1)])); + code.extend(mimg("IMAGE_LOAD", &[("VDATA", 14), ("VADDR", 3), ("SRSRC", 4), ("DMASK", 0x5), ("DIM", 1), ("UNORM", 1)])); + code.extend(mimg("IMAGE_GET_RESINFO", &[("VDATA", 50), ("VADDR", 5), ("SRSRC", 4), ("DMASK", 0xF), ("DIM", 1)])); + // tex1: R32_UINT UAV, T# in s[32:39] (SRSRC = 8); tex2: 1x1 R32_UINT UAV in s[40:47] (10) + code.extend(mimg("IMAGE_STORE", &[("VDATA", 6), ("VADDR", 37), ("SRSRC", 8), ("DMASK", 0x1), ("DIM", 1), ("UNORM", 1)])); + code.extend(mimg("IMAGE_ATOMIC_UMAX", &[("VDATA", 7), ("VADDR", 35), ("SRSRC", 10), ("DMASK", 0x1), ("DIM", 1), ("UNORM", 1)])); + code.extend(encode("S_ENDPGM", "ENC_SOPP", &[], None).unwrap()); + + let mut st = KernelState::default(); + st.sgpr[16..24].copy_from_slice(&tsharp(0, 77, 9)); + st.sgpr[24..28].copy_from_slice(&[0, 0, 0, 0]); + st.sgpr[28..32].copy_from_slice(&[0, 0, 0, 1]); + st.sgpr[32..40].copy_from_slice(&tsharp(2, 20, 9)); + st.sgpr[40..48].copy_from_slice(&tsharp(4, 20, 9)); + for (l, r) in st.vgpr.iter_mut().enumerate() { + let (x, y) = ((l % 4) as u32, (l / 4 % 4) as u32); + r[0] = f((x as f32 + 0.5) / 4.0); + r[1] = f((y as f32 + 0.5) / 4.0); + r[3] = x; + r[4] = y; + r[5] = 0; + r[6] = if l < 16 { 10 * l as u32 } else { 0 }; + r[7] = l as u32; + r[30] = f(0.5); // between texel columns 1 and 2 + r[31] = f(0.125); // row 0 + r[32] = f(0.0); // lod + r[33] = f(0.5); + r[34] = f(0.5); + r[35] = 0; + r[36] = 0; + r[37] = x; // lanes 16.. land outside the 4x4 texture: their stores are dropped + r[38] = l as u32 / 4; + } + // tex0: 4x4 RGBA32F, texel (x, y) = (x, y, x + 4y, 1) + let mut t0 = Vec::new(); + for y in 0..4 { + for x in 0..4 { + for v in [x as f32, y as f32, (x + 4 * y) as f32, 1.0] { + t0.extend_from_slice(&v.to_le_bytes()); + } + } + } + let tex = vec![ + TestTexture { dim: TexDim::D2, format: DXGI_FORMAT_R32G32B32A32_FLOAT, width: 4, height: 4, depth: 1, texel_bytes: 16, data: t0, uav: false }, + TestTexture { dim: TexDim::D2, format: DXGI_FORMAT_R32_UINT, width: 4, height: 4, depth: 1, texel_bytes: 4, data: vec![0xEE; 64], uav: true }, + TestTexture { dim: TexDim::D2, format: DXGI_FORMAT_R32_UINT, width: 1, height: 1, depth: 1, texel_bytes: 4, data: vec![0; 4], uav: true }, + ]; + let samp = vec![ + TestSampler { filter: D3D12_FILTER_MIN_MAG_MIP_POINT, address: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, comparison: None }, + TestSampler { filter: D3D12_FILTER_MIN_MAG_MIP_LINEAR, address: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, comparison: None }, + ]; + let r = runner::run_code_with(&code, &st, &[], &tex, &samp).unwrap(); + for l in 0..64 { + let v = &r.vgpr[l]; + let (x, y) = ((l % 4) as f32, (l / 4 % 4) as f32); + let fl = |i: usize| f32::from_bits(v[i]); + assert_eq!([fl(10), fl(11), fl(12), fl(13)], [x, y, x + 4.0 * y, 1.0], "lane {l} sample_lz point"); + assert_eq!([fl(20), fl(21), fl(22), fl(23)], [1.5, 0.0, 1.5, 1.0], "lane {l} sample_l linear"); + assert_eq!([fl(40), fl(41), fl(42), fl(43)], [1.0, 2.0, 2.0, 1.0], "lane {l} gather4 red"); + assert_eq!([fl(14), fl(15)], [x, x + 4.0 * y], "lane {l} image_load dmask x,z"); + assert_eq!(&v[50..54], &[4, 4, 1, 1], "lane {l} get_resinfo"); + } + let t1: Vec<u32> = r.textures[0].chunks(4).map(|c| u32::from_le_bytes(c.try_into().unwrap())).collect(); + for i in 0..16 { + assert_eq!(t1[i], 10 * i as u32, "image_store texel {i}"); + } + assert_eq!(u32::from_le_bytes(r.textures[1][..4].try_into().unwrap()), 63, "image_atomic_umax"); +} + +#[test] +fn gpu_images_a16_d16() { + if !gpu_ready() { + return; + } + use runner::{TestSampler, TestTexture, TexDim}; + use windows::Win32::Graphics::Direct3D12::*; + use windows::Win32::Graphics::Dxgi::Common::DXGI_FORMAT_R32G32B32A32_FLOAT; + let mimg = |name: &'static str, f: &[(&str, u64)]| -> Vec<u8> { encode(name, "ENC_MIMG", f, None).unwrap() }; + let mut code = Vec::new(); + // coordinates (u, v) as f16 in v0; result as 4 halves in v[10:11] + code.extend(mimg("IMAGE_SAMPLE_LZ", &[("VDATA", 10), ("VADDR", 0), ("SRSRC", 4), ("SSAMP", 6), ("DMASK", 0xF), ("DIM", 1), ("A16", 1), ("D16", 1)])); + // integer coordinates (x, y) as 16-bit in v1; x and z in v[12:13] as 32-bit + code.extend(mimg("IMAGE_LOAD", &[("VDATA", 12), ("VADDR", 1), ("SRSRC", 4), ("DMASK", 0x5), ("DIM", 1), ("UNORM", 1), ("A16", 1)])); + code.extend(encode("S_ENDPGM", "ENC_SOPP", &[], None).unwrap()); + let mut st = KernelState::default(); + st.sgpr[16..24].copy_from_slice(&tsharp(0, 77, 9)); + let h = |x: f32| half_bits(x); + for (l, r) in st.vgpr.iter_mut().enumerate() { + let (x, y) = ((l % 4) as u32, (l / 4 % 4) as u32); + r[0] = h((x as f32 + 0.5) / 4.0) | h((y as f32 + 0.5) / 4.0) << 16; + r[1] = x | y << 16; + } + let mut t0 = Vec::new(); + for y in 0..4 { + for x in 0..4 { + for v in [x as f32, y as f32, (x + 4 * y) as f32, 1.0] { + t0.extend_from_slice(&v.to_le_bytes()); + } + } + } + let tex = vec![TestTexture { dim: TexDim::D2, format: DXGI_FORMAT_R32G32B32A32_FLOAT, width: 4, height: 4, depth: 1, texel_bytes: 16, data: t0, uav: false }]; + let samp = vec![TestSampler { filter: D3D12_FILTER_MIN_MAG_MIP_POINT, address: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, comparison: None }]; + let r = runner::run_code_with(&code, &st, &[], &tex, &samp).unwrap(); + for l in 0..64 { + let v = &r.vgpr[l]; + let (x, y) = ((l % 4) as f32, (l / 4 % 4) as f32); + assert_eq!((v[10], v[11]), (h(x) | h(y) << 16, h(x + 4.0 * y) | h(1.0) << 16), "lane {l} a16+d16 sample"); + assert_eq!([f32::from_bits(v[12]), f32::from_bits(v[13])], [x, x + 4.0 * y], "lane {l} a16 load"); + } +} + +/// f32 → IEEE half bits (exact for the small values used in tests). +fn half_bits(x: f32) -> u32 { + if x == 0.0 { + return 0; + } + let b = x.to_bits(); + let e = ((b >> 23) & 0xFF) as i32 - 127 + 15; + (b >> 16 & 0x8000) | ((e as u32) << 10) | ((b >> 13) & 0x3FF) +} + +#[test] +fn gpu_format_stores_atomics_global_lds() { + if !gpu_ready() { + return; + } + let mubuf = |n: &'static str, f: &[(&str, u64)]| -> Vec<u8> { encode(n, "ENC_MUBUF", f, None).unwrap() }; + let mut code = Vec::new(); + // V# A (s[12:15]): 8_8_8_8_UNORM at 0x100, stride 4 (idxen with v0 = lane) + code.extend(mubuf("BUFFER_STORE_FORMAT_XYZW", &[("VDATA", 10), ("VADDR", 0), ("SRSRC", 3), ("SOFFSET", 128), ("IDXEN", 1)])); + // V# B (s[16:19]): 16_FLOAT at 0x300, stride 2 → neighbouring lanes share dwords + code.extend(mubuf("BUFFER_STORE_FORMAT_X", &[("VDATA", 14), ("VADDR", 0), ("SRSRC", 4), ("SOFFSET", 128), ("IDXEN", 1)])); + // V# C (s[20:23]): raw at 0x400: every lane adds 1, umax returns the old value + code.extend(mubuf("BUFFER_ATOMIC_ADD", &[("VDATA", 15), ("VADDR", 0), ("SRSRC", 5), ("SOFFSET", 128)])); + code.extend(mubuf("BUFFER_ATOMIC_UMAX", &[("VDATA", 16), ("VADDR", 0), ("SRSRC", 5), ("SOFFSET", 128), ("OFFSET", 4), ("GLC", 1)])); + // global: store lane*3 to s[2:3] + v1 (lane*4), load it back through the 64-bit form + code.extend(encode("GLOBAL_STORE_DWORD", "ENC_FLAT_GLBL", &[("ADDR", 1), ("DATA", 17), ("SADDR", 2), ("OFFSET", 0)], None).unwrap()); + code.extend(encode("GLOBAL_LOAD_DWORD", "ENC_FLAT_GLBL", &[("VDST", 18), ("ADDR", 20), ("SADDR", 0x7D), ("OFFSET", 0xFFC)], None).unwrap()); // offset -4 + // LDS: write lane at lane*4, barrier, read reversed, read2 of two neighbours, counter, bpermute + code.extend(encode("DS_WRITE_B32", "ENC_DS", &[("ADDR", 1), ("DATA0", 0)], None).unwrap()); + code.extend(encode("S_BARRIER", "ENC_SOPP", &[], None).unwrap()); + code.extend(encode("DS_READ_B32", "ENC_DS", &[("VDST", 22), ("ADDR", 23)], None).unwrap()); + code.extend(encode("DS_READ2_B32", "ENC_DS", &[("VDST", 24), ("ADDR", 1), ("OFFSET0", 0), ("OFFSET1", 1)], None).unwrap()); + code.extend(encode("DS_ADD_RTN_U32", "ENC_DS", &[("VDST", 26), ("ADDR", 27), ("DATA0", 28), ("OFFSET0", 0), ("OFFSET1", 2)], None).unwrap()); // at 512 + code.extend(encode("DS_BPERMUTE_B32", "ENC_DS", &[("VDST", 29), ("ADDR", 23), ("DATA0", 0)], None).unwrap()); + code.extend(encode("S_ENDPGM", "ENC_SOPP", &[], None).unwrap()); + let mut st = KernelState::default(); + st.sgpr[2] = 0x500; // global base + st.sgpr[12..16].copy_from_slice(&[0x100, 4 << 16, 64, (4 | 5 << 3 | 6 << 6 | 7 << 9) | 56 << 12]); + st.sgpr[16..20].copy_from_slice(&[0x300, 2 << 16, 64, (4 | 5 << 3 | 6 << 6 | 7 << 9) | 13 << 12]); + st.sgpr[20..24].copy_from_slice(&[0x400, 0, 16, 0]); + for (l, r) in st.vgpr.iter_mut().enumerate() { + let l32 = l as u32; + r[0] = l32; + r[1] = 4 * l32; + r[10] = f(1.0); + r[11] = f(0.0); + r[12] = f(l as f32 / 63.0); + r[13] = f(0.5); + r[14] = f(l as f32); + r[15] = 1; + r[16] = 100 + l32; + r[17] = 3 * l32; + r[20] = 0x500 + 4 * l32 + 4; // 64-bit address (hi in v21 = 0), offset -4 + r[23] = 4 * (63 - l32); + r[27] = 0; + r[28] = 1; + } + let r = runner::run_code(&code, &st, &vec![0u32; 1024]).unwrap(); + let byte = |a: usize| (r.mem[a / 4] >> (8 * (a % 4))) & 0xFF; + for l in 0..64usize { + let px = [byte(0x100 + 4 * l), byte(0x100 + 4 * l + 1), byte(0x100 + 4 * l + 2), byte(0x100 + 4 * l + 3)]; + assert_eq!(px, [255, 0, ((l as f32 / 63.0) * 255.0).round() as u32, 128], "lane {l} store 8_8_8_8_UNORM"); + let h = (r.mem[(0x300 + 2 * l) / 4] >> (16 * (l % 2))) & 0xFFFF; + assert_eq!(h, half_bits(l as f32), "lane {l} store 16_FLOAT (shared dwords)"); + let v = &r.vgpr[l]; + assert_eq!(r.mem[0x500 / 4 + l], 3 * l as u32, "lane {l} global_store saddr"); + assert_eq!(v[18], 3 * l as u32, "lane {l} global_load 64-bit address, offset -4"); + assert_eq!(v[22], 63 - l as u32, "lane {l} LDS reversed"); + assert_eq!(v[24], l as u32, "lane {l} ds_read2 (first)"); + if l < 63 { + assert_eq!(v[25], l as u32 + 1, "lane {l} ds_read2 (second; LDS is not zeroed past the written area)"); + } + assert_eq!(v[29], 63 - l as u32, "lane {l} ds_bpermute"); + assert!(v[16] < 164, "lane {l} umax old value"); + } + assert_eq!(r.mem[0x400 / 4], 64, "buffer_atomic_add"); + assert_eq!(r.mem[0x404 / 4], 163, "buffer_atomic_umax"); + let mut olds: Vec<u32> = r.vgpr.iter().map(|v| v[26]).collect(); + olds.sort(); + // LDS is not zeroed between dispatches (nor on the console): consecutive values from any start + let base = olds[0]; + assert_eq!(olds, (0..64).map(|k| base.wrapping_add(k)).collect::<Vec<u32>>(), "ds_add_rtn_u32 returns every old value once"); +} + +#[test] +fn gpu_valu_16_and_64_bit() { + if !gpu_ready() { + return; + } + let p = prog(&[ + ("V_ADD_F16", "ENC_VOP2", &[("VDST", 2), ("SRC0", V), ("VSRC1", 1)], None), // low halves, high kept + ("V_MUL_F16", "ENC_VOP3", &[("VDST", 3), ("SRC0", V), ("SRC1", V + 1), ("OP_SEL", 0b1001)], None), // src0.hi * src1.lo → dst.hi + ("V_LSHRREV_B16", "ENC_VOP3", &[("VDST", 4), ("SRC0", 132), ("SRC1", V + 5)], None), + ("V_CMP_LT_F16", "ENC_VOPC", &[("SRC0", V + 6), ("VSRC1", 7)], None), + ("V_LSHLREV_B64", "ENC_VOP3", &[("VDST", 8), ("SRC0", V + 10), ("SRC1", V + 12)], None), + ("V_CMP_EQ_U64", "ENC_VOP3", &[("VDST", 20), ("SRC0", V + 8), ("SRC1", V + 14)], None), + ("V_MAD_U64_U32", "VOP3_SDST_ENC", &[("VDST", 16), ("SDST", 22), ("SRC0", V + 18), ("SRC1", V + 19), ("SRC2", V + 24)], None), + ("V_ADD_F64", "ENC_VOP3", &[("VDST", 26), ("SRC0", V + 26), ("SRC1", 242)], None), // + 1.0 (double inline constant) + ("V_CVT_F32_F64", "ENC_VOP3", &[("VDST", 28), ("SRC0", V + 26)], None), + ]); + let h = half_bits; + let mut st = KernelState::default(); + for (l, r) in st.vgpr.iter_mut().enumerate() { + let l32 = l as u32; + r[0] = h(1.5) | h(-2.0) << 16; + r[1] = h(2.25) | h(0.5) << 16; + r[2] = 0xBEEF_1234; + r[3] = 0x0000_1111; + r[4] = 0xCAFE_0000; + r[5] = 0xFFFF_8421; + r[6] = h(l as f32); + r[7] = h(31.5); + r[10] = l32; + r[12] = 1; + let e = if l % 2 == 0 { 1u64 << l } else { 0 }; + r[14] = e as u32; + r[15] = (e >> 32) as u32; + r[18] = 0xFFFF_FFFF; + r[19] = l32 + 1; + let c = if l % 2 == 1 { u64::MAX } else { l as u64 }; + r[24] = c as u32; + r[25] = (c >> 32) as u32; + let dv = (l as f64 + 0.25).to_bits(); + r[26] = dv as u32; + r[27] = (dv >> 32) as u32; + } + let r = runner::run_program(&p, &st, &[]).unwrap().0; + for l in 0..64usize { + let v = &r.vgpr[l]; + assert_eq!(v[2], 0xBEEF_0000 | h(3.75), "lane {l} v_add_f16 keeps the high half"); + assert_eq!(v[3], 0x1111 | h(-4.5) << 16, "lane {l} v_mul_f16 op_sel"); + assert_eq!(v[4], 0xCAFE_0842, "lane {l} v_lshrrev_b16"); + assert_eq!(v[8] as u64 | (v[9] as u64) << 32, 1u64 << l, "lane {l} v_lshlrev_b64"); + let c = if l % 2 == 1 { u64::MAX } else { l as u64 }; + let (w, carry) = (0xFFFF_FFFFu64 * (l as u64 + 1)).overflowing_add(c); + assert_eq!(v[16] as u64 | (v[17] as u64) << 32, w, "lane {l} v_mad_u64_u32"); + let _ = carry; + assert_eq!(f64::from_bits(v[26] as u64 | (v[27] as u64) << 32), l as f64 + 1.25, "lane {l} v_add_f64"); + assert_eq!(f32::from_bits(v[28]), l as f32 + 1.25, "lane {l} v_cvt_f32_f64"); + } + assert_eq!((r.sgpr[106], r.sgpr[107]), (0xFFFF_FFFF, 0), "v_cmp_lt_f16 → vcc"); + assert_eq!((r.sgpr[20], r.sgpr[21]), (0x5555_5555, 0x5555_5555), "v_cmp_eq_u64 → sdst"); + let carries: u64 = (0..64).filter(|&l| (0xFFFF_FFFFu64 * (l as u64 + 1)).overflowing_add(if l % 2 == 1 { u64::MAX } else { l as u64 }).1).map(|l| 1u64 << l).sum(); + assert_eq!(r.sgpr[22] as u64 | (r.sgpr[23] as u64) << 32, carries, "v_mad_u64_u32 carry mask"); +} + +#[test] +fn gpu_packed_math_dots_movrel() { + if !gpu_ready() { + return; + } + let p = prog(&[ + ("V_PK_ADD_F16", "ENC_VOP3P", &[("VDST", 2), ("SRC0", V), ("SRC1", V + 1), ("OP_SEL_HI", 3), ("OP_SEL_HI_2", 1)], None), + // lo = src0.hi * src1.lo, hi = -(src0.lo * src1.hi) + ("V_PK_MUL_F16", "ENC_VOP3P", &[("VDST", 3), ("SRC0", V), ("SRC1", V + 1), ("OP_SEL", 1), ("OP_SEL_HI", 2), ("NEG_HI", 1)], None), + ("V_DOT2_F32_F16", "ENC_VOP3P", &[("VDST", 4), ("SRC0", V), ("SRC1", V + 1), ("SRC2", V + 5), ("OP_SEL_HI", 3), ("OP_SEL_HI_2", 1)], None), + ("V_DOT4_U32_U8", "ENC_VOP3P", &[("VDST", 6), ("SRC0", V + 7), ("SRC1", V + 8), ("SRC2", V + 9), ("OP_SEL_HI", 3), ("OP_SEL_HI_2", 1)], None), + ("V_DOT4_I32_I8", "ENC_VOP3P", &[("VDST", 11), ("SRC0", V + 7), ("SRC1", V + 12), ("SRC2", V + 9), ("OP_SEL_HI", 3), ("OP_SEL_HI_2", 1)], None), + ("V_PK_FMAC_F16", "ENC_VOP2", &[("VDST", 13), ("SRC0", V), ("VSRC1", 1)], None), + ("S_MOV_B32", "ENC_SOP1", &[("SDST", 124), ("SSRC0", 131)], None), // m0 = 3 + ("V_MOVRELS_B32", "ENC_VOP1", &[("VDST", 10), ("SRC0", V + 20)], None), // v10 = v23 + ("V_MOVRELD_B32", "ENC_VOP1", &[("VDST", 30), ("SRC0", V + 9)], None), // v33 = v9 + ("V_MOV_B32", "ENC_VOP1", &[("VDST", 40), ("SRC0", V + 33)], None), + ]); + let h = half_bits; + let mut st = KernelState::default(); + for (l, r) in st.vgpr.iter_mut().enumerate() { + r[0] = h(1.5) | h(-2.0) << 16; + r[1] = h(2.25) | h(0.5) << 16; + r[5] = f(10.0); + r[7] = 0x0102_0304; + r[8] = 0x0506_0708; + r[9] = l as u32; + r[12] = 0xFF06_0708; // -1, 6, 7, 8 + r[13] = h(1.0) | h(2.0) << 16; + for k in 0..8 { + r[20 + k] = 100 + k as u32; + } + r[33] = 0xDEAD; + } + let r = runner::run_program(&p, &st, &[]).unwrap().0; + for l in 0..64usize { + let v = &r.vgpr[l]; + assert_eq!(v[2], h(3.75) | h(-1.5) << 16, "lane {l} v_pk_add_f16"); + assert_eq!(v[3], h(-4.5) | h(-0.75) << 16, "lane {l} v_pk_mul_f16 op_sel / neg_hi"); + assert_eq!(f32::from_bits(v[4]), 12.375, "lane {l} v_dot2_f32_f16"); + assert_eq!(v[6], 70 + l as u32, "lane {l} v_dot4_u32_u8"); + assert_eq!(v[11] as i32, 4 * 8 + 3 * 7 + 2 * 6 - 1 + l as i32, "lane {l} v_dot4_i32_i8 (bytes from the low end)"); + assert_eq!(v[13], h(1.0 + 1.5 * 2.25) | h(2.0 - 2.0 * 0.5) << 16, "lane {l} v_pk_fmac_f16"); + assert_eq!(v[10], 103, "lane {l} v_movrels_b32"); + assert_eq!(v[40], l as u32, "lane {l} v_movreld_b32"); + } +} + +#[test] +fn dxc_mesh_shader_probe() { + use super::dxc; + if dxc::location().is_err() { + return; + } + let src = r#" +struct V { float4 pos : SV_Position; float4 p0 : TEXCOORD0; }; +struct P { bool cull : SV_CullPrimitive; }; +groupshared uint xcl_nv; +[WaveSize(64)] +[outputtopology("triangle")] +[numthreads(128, 1, 1)] +void main(uint gi : SV_GroupIndex, out vertices V verts[128], out indices uint3 tris[128], out primitives P prims[128]) { + if (gi == 0) xcl_nv = 3; + GroupMemoryBarrierWithGroupSync(); + uint n = xcl_nv; + SetMeshOutputCounts(n, 1); + if (gi < n) { verts[gi].pos = float4(gi, 0, 0, 1); verts[gi].p0 = 0; } + if (gi < 1) { tris[gi] = uint3(0, 1, 2); prims[gi].cull = false; } +} +"#; + for prof in ["ms_6_6", "ms_6_8"] { + let r = dxc::compile(src, "main", prof, &[]); + println!("{prof}: {:?}", r.as_ref().map(|b| b.len()).map_err(|e| e.lines().take(3).collect::<Vec<_>>().join(" | "))); + } +} + +/// Mesh mode end to end: an NGG program in the console's style (wave index from s3, group +/// from v5 >> 7, GS_ALLOC_REQ, exp pos0/param0/prim, two waves per group) runs as a compute +/// shader, the pass-through mesh shader rasterises its records. +#[test] +fn gpu_mesh_mode_two_passes() { + if !gpu_ready() { + return; + } + use super::{dxc, mesh_passthrough, MsInterface, MESH_HEADER}; + let sig = |name: &str, sv: u32, reg: u32| crate::gpu::dxbc::SigElement { + name: name.into(), + index: 0, + system_value: sv, + component_type: 3, + register: reg, + mask: 0xF, + rw_mask: 0xF, + stream: 0, + }; + let ms = MsInterface { outputs: vec![sig("SV_Position", 1, 0), sig("TEXCOORD", 0, 1)], threads: 128, max_vertices: 128, max_primitives: 128 }; + let exp = |tgt: u64, en: u64, v: [u64; 4], done: u64| -> (&'static str, &'static str, Vec<(&'static str, u64)>, Option<u32>) { + ("EXP", "ENC_EXP", vec![("TGT", tgt), ("EN", en), ("VSRC0", v[0]), ("VSRC1", v[1]), ("VSRC2", v[2]), ("VSRC3", v[3]), ("DONE", done)], None) + }; + let mut list: Vec<(&str, &str, Vec<(&str, u64)>, Option<u32>)> = vec![ + ("S_BFE_U32", "ENC_SOP2", vec![("SDST", 0), ("SSRC0", 3), ("SSRC1", 255)], Some(0x40018)), // wave index + ("V_MBCNT_LO_U32_B32", "ENC_VOP3", vec![("VDST", 0), ("SRC0", 193), ("SRC1", 128)], None), + ("V_MBCNT_HI_U32_B32", "ENC_VOP3", vec![("VDST", 0), ("SRC0", 193), ("SRC1", V)], None), + ("V_LSHL_ADD_U32", "ENC_VOP3", vec![("VDST", 0), ("SRC0", 0), ("SRC1", 134), ("SRC2", V)], None), // thread in group + ("V_READFIRSTLANE_B32", "ENC_VOP1", vec![("VDST", 1), ("SRC0", V + 5)], None), + ("S_LSHR_B32", "ENC_SOP2", vec![("SDST", 1), ("SSRC0", 1), ("SSRC1", 135)], None), // group = v5 >> 7 + ("S_MOV_B32", "ENC_SOP1", vec![("SDST", 124), ("SSRC0", 255)], Some(1 << 12 | 3)), // 1 primitive, 3 vertices + ("S_SENDMSG", "ENC_SOPP", vec![("SIMM16", 9)], None), + ("S_BARRIER", "ENC_SOPP", vec![], None), + ("V_CMPX_GT_U32", "ENC_VOPC", vec![("SRC0", 131), ("VSRC1", 0)], None), // threads 0..2 + ("BUFFER_LOAD_DWORDX4", "ENC_MUBUF", vec![("VDATA", 10), ("VADDR", 0), ("SRSRC", 4), ("SOFFSET", 128), ("IDXEN", 1)], None), + ("V_CVT_F32_U32", "ENC_VOP1", vec![("VDST", 20), ("SRC0", 1)], None), + ("V_ADD_F32", "ENC_VOP2", vec![("VDST", 10), ("SRC0", V + 20), ("VSRC1", 10)], None), // x += group + ("V_MOV_B32", "ENC_VOP1", vec![("VDST", 14), ("SRC0", V + 20)], None), + ("V_CVT_F32_U32", "ENC_VOP1", vec![("VDST", 15), ("SRC0", V)], None), + ("V_MOV_B32", "ENC_VOP1", vec![("VDST", 16), ("SRC0", 128)], None), + ("V_MOV_B32", "ENC_VOP1", vec![("VDST", 17), ("SRC0", 242)], None), + ]; + list.push(exp(12, 0xF, [10, 11, 12, 13], 1)); + list.push(exp(32, 0xF, [14, 15, 16, 17], 0)); + list.push(("S_MOV_B64", "ENC_SOP1", vec![("SDST", 126), ("SSRC0", 193)], None)); + list.push(("V_CMPX_EQ_U32", "ENC_VOPC", vec![("SRC0", 128), ("VSRC1", 0)], None)); // thread 0 + list.push(("V_MOV_B32", "ENC_VOP1", vec![("VDST", 21), ("SRC0", 255)], Some(1 << 10 | 2 << 20))); + list.push(exp(20, 1, [21, 0, 0, 0], 1)); + let refs: Vec<(&str, &str, &[(&str, u64)], Option<u32>)> = list.iter().map(|(a, b, c, d)| (*a, *b, c.as_slice(), *d)).collect(); + let code = prog(&refs); + let t = translate(&code, &Options { mode: Mode::Mesh(ms.clone()), wave64: true }).unwrap(); + assert!(t.complete(), "{:?}", t.unsupported_why); + let cs = dxc::compile(&t.hlsl, "main", "cs_6_6", &[]).unwrap(); + let pass = mesh_passthrough(&ms); + let msb = dxc::compile(&pass, "main", "ms_6_6", &[]).unwrap_or_else(|e| panic!("{e}\n{pass}")); + let ps_src = "struct V { float4 pos : SV_Position; float4 p0 : TEXCOORD0; };\nfloat4 main(V v) : SV_Target0 { return v.p0; }\n"; + let ps = dxc::compile(ps_src, "main", "ps_6_6", &[]).unwrap(); + // vertex table at byte 0x100, V# in s[16:19] (stride 16, 3 records) + let mut mem = vec![0u32; 256]; + for (i, (x, y)) in [(-1.0f32, -1.0f32), (-1.0, 1.0), (0.0, -1.0)].iter().enumerate() { + mem[0x40 + 4 * i..0x40 + 4 * i + 4].copy_from_slice(&[f(*x), f(*y), f(0.0), f(1.0)]); + } + let mut sg = vec![0u32; 128]; + sg[16..20].copy_from_slice(&[0x100, 16 << 16, 3, 0]); + let (px, rec) = runner::mesh_draw(&cs, &msb, &ps, 2, ms.record_dwords(), &sg, &mem, 32, [-1.0; 4]).unwrap(); + let (rd, vd) = (ms.record_dwords(), ms.vert_dwords()); + for g in 0..2usize { + let r = &rec[g * rd..(g + 1) * rd]; + assert_eq!((r[0], r[1]), (3, 1), "group {g}: GS_ALLOC_REQ counts"); + for v in 0..3usize { + let b = MESH_HEADER + v * vd; + let x = [-1.0f32, -1.0, 0.0][v] + g as f32; + assert_eq!(f32::from_bits(r[b]), x, "group {g} vertex {v} pos.x"); + assert_eq!([f32::from_bits(r[b + 4]), f32::from_bits(r[b + 5]), f32::from_bits(r[b + 7])], [g as f32, v as f32, 1.0], "group {g} vertex {v} param0"); + } + assert_eq!(r[MESH_HEADER + 128 * vd], 1 << 10 | 2 << 20, "group {g} primitive"); + } + let at = |x: usize, y: usize| px[y * 32 + x]; + assert_eq!((at(3, 29)[0], at(3, 29)[3]), (0.0, 1.0), "group 0 triangle (left)"); + assert_eq!((at(19, 29)[0], at(19, 29)[3]), (1.0, 1.0), "group 1 triangle (right)"); + assert_eq!(at(29, 3), [-1.0; 4], "outside both triangles"); +} + +/// DXC optimisation levels on a saved HLSL file (`XCL_TIME_HLSL=path`, profile in `XCL_TIME_PROFILE`). +#[test] +#[ignore] +fn dxc_time_levels() { + use super::dxc; + let Ok(path) = std::env::var("XCL_TIME_HLSL") else { return }; + let src = std::fs::read_to_string(path).unwrap(); + let prof = std::env::var("XCL_TIME_PROFILE").unwrap_or("cs_6_6".into()); + for args in [vec!["-O0"], vec!["-O1"], vec!["-O2"], vec!["-O3"]] { + let t0 = std::time::Instant::now(); + let r = dxc::compile(&src, "main", &prof, &args); + println!("{args:?}: {:.1} s, {:?}", t0.elapsed().as_secs_f64(), r.map(|b| b.len()).map_err(|e| e.chars().take(200).collect::<String>())); + } +} + +/// Minimal RGB8 PNG writer (zlib via miniz_oxide). +fn write_png(path: &std::path::Path, w: u32, h: u32, rgb: &[u8]) { + fn crc(data: &[u8]) -> u32 { + let mut c = 0xFFFF_FFFFu32; + for &b in data { + c ^= b as u32; + for _ in 0..8 { + c = if c & 1 != 0 { 0xEDB8_8320 ^ (c >> 1) } else { c >> 1 }; + } + } + !c + } + let chunk = |out: &mut Vec<u8>, ty: &[u8], d: &[u8]| { + out.extend_from_slice(&(d.len() as u32).to_be_bytes()); + let mut td = ty.to_vec(); + td.extend_from_slice(d); + out.extend_from_slice(&td); + out.extend_from_slice(&crc(&td).to_be_bytes()); + }; + let mut raw = Vec::with_capacity((w * 3 + 1) as usize * h as usize); + for y in 0..h as usize { + raw.push(0); + raw.extend_from_slice(&rgb[y * w as usize * 3..(y + 1) * w as usize * 3]); + } + let mut out = b"\x89PNG\r\n\x1a\n".to_vec(); + let mut ihdr = w.to_be_bytes().to_vec(); + ihdr.extend_from_slice(&h.to_be_bytes()); + ihdr.extend_from_slice(&[8, 2, 0, 0, 0]); + chunk(&mut out, b"IHDR", &ihdr); + chunk(&mut out, b"IDAT", &miniz_oxide::deflate::compress_to_vec_zlib(&raw, 6)); + chunk(&mut out, b"IEND", &[]); + std::fs::write(path, out).unwrap(); +} + +/// Retail pixel shaders (no textures) translated and drawn full screen on the GPU: +/// attributes = screen uv, constants from a pattern. `XCL_SAMPLE_RPF`, `XCL_GALLERY_DIR`. +#[test] +#[ignore] +fn retail_ps_gallery() { + use super::{dxc, ranked}; + let (Ok(path), Ok(dir)) = (std::env::var("XCL_SAMPLE_RPF"), std::env::var("XCL_GALLERY_DIR")) else { return }; + if !gpu_ready() { + return; + } + let dir = std::path::PathBuf::from(dir); + std::fs::create_dir_all(&dir).unwrap(); + let data = std::fs::read(&path).unwrap(); + // descriptor table at 0x100: every V# points at the constants at 0x4000 + let mut mem = vec![0u32; 0x3000]; + for i in 0..256 { + mem[0x40 + 4 * i..0x40 + 4 * i + 4].copy_from_slice(&[0x4000, 0, 0x8000, 0x27FAC]); + } + for i in 0..0x2000 { + mem[0x1000 + i] = f(0.5 + 0.45 * ((i as f32) * 0.37).sin()); + } + let mut io = vec![0u32; 128]; + for k in (0..106).step_by(2) { + io[k] = 0x100; + } + let size = 160u32; + let t0 = std::time::Instant::now(); + let (mut tried, mut kept) = (0, Vec::new()); + for rec in crate::gpu::pack::scan(&data, 0x40) { + if kept.len() >= 24 || t0.elapsed().as_secs() > 150 { + break; + } + if !rec.name.starts_with("PS_") { + continue; + } + let Some(blob) = crate::gpu::pack::inflate(&data, &rec) else { continue }; + let Some(sh) = crate::gpu::xbox::parse(&blob) else { continue }; + let Some(fs) = sh.fssm.first() else { continue }; + let Some(p) = fs.programs.first() else { continue }; + let Some(mode) = super::interface(&blob, &sh, fs) else { continue }; + let Mode::Pixel(ps) = mode.clone() else { continue }; + if !ps.outputs.iter().any(|e| e.system_value == 64 && e.index == 0) { + continue; + } + let code = &fs.data[p.offset..p.offset + p.len]; + let Ok(t) = translate(code, &Options { mode, wave64: super::detect_wave64(code) }) else { continue }; + if !t.complete() || t.hlsl.contains("ResourceDescriptorHeap") || t.hlsl.len() > 150_000 { + continue; + } + tried += 1; + let mut vs = String::from("struct O {\n float4 pos : SV_Position;\n"); + let ins = ranked(&ps.inputs, false); + for (k, e) in ins.iter().enumerate() { + let ty = match e.component_type { + 1 => "uint", + 2 => "int", + _ => "float", + }; + vs.push_str(&format!(" {ty}4 a{k} : {};\n", e.semantic())); + } + vs.push_str("};\nO main(uint id : SV_VertexID) {\n O o;\n float2 uv = float2((id << 1) & 2, id & 2);\n"); + vs.push_str(" o.pos = float4(uv * float2(2, -2) + float2(-1, 1), 0.5, 1);\n"); + for (k, e) in ins.iter().enumerate() { + let v = match e.component_type { + 1 => "uint4(uv * 255.0, 0, 1)", + 2 => "int4(uv * 255.0, 0, 1)", + _ => "float4(uv, 1.0 - uv.x, 1.0)", + }; + vs.push_str(&format!(" o.a{k} = {v};\n")); + } + vs.push_str(" return o;\n}\n"); + let (Ok(vsb), Ok(psb)) = (dxc::compile(&vs, "main", "vs_6_6", &[]), dxc::compile(&t.hlsl, "main", "ps_6_6", &[])) else { continue }; + let px = match runner::draw(&vsb, &psb, &[], &[0.0f32; 3], 4, &io, &mem, size, [0.0, 0.0, 0.0, 1.0]) { + Ok(px) => px, + Err(e) => { + println!("{}: {e}", rec.name); + break; // device trouble: stop + } + }; + let rgb: Vec<f32> = px.iter().flat_map(|c| [c[0], c[1], c[2]]).map(|x| if x.is_finite() { x.clamp(0.0, 1.0) } else { 0.0 }).collect(); + let mean = rgb.iter().sum::<f32>() / rgb.len() as f32; + let var = rgb.iter().map(|x| (x - mean) * (x - mean)).sum::<f32>() / rgb.len() as f32; + if var < 0.002 { + continue; // flat colour: not worth a picture + } + let bytes: Vec<u8> = rgb.iter().map(|x| (x.powf(1.0 / 2.2) * 255.0).round() as u8).collect(); + let file = format!("{:02}_{}.png", kept.len(), rec.name.split('_').take(4).collect::<Vec<_>>().join("_")); + write_png(&dir.join(&file), size, size, &bytes); + println!("{file}: {} instrukcji, wariancja {var:.3}", t.instructions); + kept.push(format!("{file}\t{}\t{}", rec.name, t.instructions)); + } + std::fs::write(dir.join("index.txt"), kept.join("\n")).unwrap(); + println!("spróbowano {tried}, zapisano {} w {:.0} s", kept.len(), t0.elapsed().as_secs_f64()); +} + +#[test] +fn gpu_image_sample_offset() { + if !gpu_ready() { + return; + } + use runner::{TestSampler, TestTexture, TexDim}; + use windows::Win32::Graphics::Direct3D12::*; + use windows::Win32::Graphics::Dxgi::Common::DXGI_FORMAT_R32G32B32A32_FLOAT; + let mut code = encode("IMAGE_SAMPLE_LZ_O", "ENC_MIMG", &[("VDATA", 10), ("VADDR", 0), ("SRSRC", 4), ("SSAMP", 6), ("DMASK", 0x3), ("DIM", 1)], None).unwrap(); + code.extend(encode("S_ENDPGM", "ENC_SOPP", &[], None).unwrap()); + let mut st = KernelState::default(); + st.sgpr[16..24].copy_from_slice(&tsharp(0, 77, 9)); + for (l, r) in st.vgpr.iter_mut().enumerate() { + let (x, y) = ((l % 4) as f32, (l / 4 % 4) as f32); + r[0] = 1 | 0x3F << 8; // offset (+1, -1) + r[1] = f((x + 0.5) / 4.0); + r[2] = f((y + 0.5) / 4.0); + } + let mut t0 = Vec::new(); + for y in 0..4 { + for x in 0..4 { + for v in [x as f32, y as f32, 0.0, 1.0] { + t0.extend_from_slice(&f32::to_le_bytes(v)); + } + } + } + let tex = vec![TestTexture { dim: TexDim::D2, format: DXGI_FORMAT_R32G32B32A32_FLOAT, width: 4, height: 4, depth: 1, texel_bytes: 16, data: t0, uav: false }]; + let samp = vec![TestSampler { filter: D3D12_FILTER_MIN_MAG_MIP_POINT, address: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, comparison: None }]; + let r = runner::run_code_with(&code, &st, &[], &tex, &samp).unwrap(); + for l in 0..64 { + let (x, y) = ((l % 4) as f32, (l / 4 % 4) as f32); + let got = [f32::from_bits(r.vgpr[l][10]), f32::from_bits(r.vgpr[l][11])]; + assert_eq!(got, [(x + 1.0).min(3.0), (y - 1.0).max(0.0)], "lane {l} sample_lz_o"); + } +} + +/// Console unified memory: the GPU reads constants and buffers straight from process memory +/// (4 GiB-aligned arena opened as a D3D12 heap) and its stores land there, no copies. +#[test] +fn gpu_unified_memory_arena() { + if !gpu_ready() { + return; + } + let arena = crate::gpu::uma::Uma::new(1 << 20).unwrap(); + let va = arena.base() as u64; + assert_eq!(va & 0xFFFF_FFFF, 0, "4 GiB alignment"); + let words = || unsafe { std::slice::from_raw_parts_mut(arena.base() as *mut u32, arena.size() / 4) }; + let w = words(); + w[0x1000 / 4] = 0xC0FFEE; + w[0x1000 / 4 + 1] = 0x1234; + for l in 0..64 { + w[0x2000 / 4 + l] = 1000 + l as u32; + } + let p = prog(&[ + ("S_LOAD_DWORDX2", "ENC_SMEM", &[("SDATA", 20), ("SBASE", 1), ("OFFSET", 0)], None), // s[2:3] = console address + ("BUFFER_LOAD_DWORD", "ENC_MUBUF", &[("VDATA", 1), ("VADDR", 0), ("SRSRC", 2), ("SOFFSET", 128), ("IDXEN", 1)], None), + ("BUFFER_STORE_DWORD", "ENC_MUBUF", &[("VDATA", 2), ("VADDR", 0), ("SRSRC", 3), ("SOFFSET", 128), ("IDXEN", 1)], None), + ]); + let t = translate(&p, &Options::default()).unwrap(); + let dxil = super::dxc::compile(&t.hlsl, "main", "cs_6_6", &[]).unwrap(); + let hi = (va >> 32) as u32; + let mut st = KernelState::default(); + st.sgpr[2..4].copy_from_slice(&[(va + 0x1000) as u32, hi]); + st.sgpr[8..12].copy_from_slice(&[(va + 0x2000) as u32, hi & 0xFFFF | 4 << 16, 64, 0]); + st.sgpr[12..16].copy_from_slice(&[(va + 0x3000) as u32, hi & 0xFFFF | 4 << 16, 64, 0]); + for (l, r) in st.vgpr.iter_mut().enumerate() { + r[0] = l as u32; + r[2] = 7 * l as u32; + } + let r = runner::run_in_arena(&dxil, &st, &arena).unwrap(); + assert_eq!((r.sgpr[20], r.sgpr[21]), (0xC0FFEE, 0x1234), "s_load from process memory"); + for l in 0..64 { + assert_eq!(r.vgpr[l][1], 1000 + l as u32, "lane {l} buffer_load from process memory"); + assert_eq!(words()[0x3000 / 4 + l], 7 * l as u32, "lane {l} buffer_store visible to the CPU"); + } +} + +/// Experiment: does OpenExistingHeapFromAddress accept a reservation with only part committed? +#[test] +#[ignore] +fn gpu_arena_partial_commit_probe() { + use windows::core::Interface; + use windows::Win32::Graphics::Direct3D::D3D_FEATURE_LEVEL_12_0; + use windows::Win32::Graphics::Direct3D12::*; + use windows_sys::Win32::System::Memory::*; + unsafe { + let mut dev: Option<ID3D12Device> = None; + D3D12CreateDevice(None, D3D_FEATURE_LEVEL_12_0, &mut dev).unwrap(); + let dev3: ID3D12Device3 = dev.unwrap().cast().unwrap(); + let size = 256usize << 20; + let p = VirtualAlloc(std::ptr::null(), size, MEM_RESERVE, PAGE_READWRITE); + let c = VirtualAlloc(p, 1 << 20, MEM_COMMIT, PAGE_READWRITE); + println!("reserve {p:?} commit {c:?}"); + let r: windows::core::Result<ID3D12Heap> = dev3.OpenExistingHeapFromAddress(p); + println!("partial commit: {:?}", r.as_ref().map(|h| h.GetDesc().SizeInBytes)); + let q = VirtualAlloc(std::ptr::null(), size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); + let r2: windows::core::Result<ID3D12Heap> = dev3.OpenExistingHeapFromAddress(q); + println!("full commit 256 MB: {:?}", r2.as_ref().map(|h| h.GetDesc().SizeInBytes)); + for mb in [1024usize, 2047, 2048, 3072, 4095] { + let big = mb << 20; + let b = VirtualAlloc(std::ptr::null(), big, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); + let t0 = std::time::Instant::now(); + let r3: windows::core::Result<ID3D12Heap> = if b.is_null() { Err(windows::core::Error::from_thread()) } else { dev3.OpenExistingHeapFromAddress(b) }; + println!("full commit {mb} MB: {:?} in {:.2} s", r3.as_ref().map(|h| h.GetDesc().SizeInBytes), t0.elapsed().as_secs_f64()); + drop(r3); + VirtualFree(b, 0, MEM_RELEASE); + } + } +} + +/// Decoded GFX10 T#s give resource descriptions the driver accepts. +#[test] +fn gpu_tsharp_to_d3d12_resources() { + if !gpu_ready() { + return; + } + use crate::gpu::desc; + let t = |fmt: u32, w: u32, h: u32, depth: u32, ty: u32, mips: u32| -> [u32; 8] { + let (w1, h1) = (w - 1, h - 1); + [0, fmt << 20 | (w1 & 3) << 30, (w1 >> 2) | h1 << 14, 4 | 5 << 3 | 6 << 6 | 7 << 9 | (mips - 1) << 16 | ty << 28, depth - 1, (mips - 1) << 4, 0, 0] + }; + for (name, words) in [ + ("2D RGBA8 9 mipów", t(56, 256, 256, 1, 9, 9)), + ("2D BC7 sRGB", t(182, 128, 64, 1, 9, 1)), + ("cube RGBA16F", t(71, 64, 64, 6, 11, 7)), + ("3D R11G11B10", t(36, 32, 32, 16, 10, 1)), + ("2D array BC1 ×8", t(169, 64, 64, 8, 13, 4)), + ("1D R32F", t(22, 1024, 1, 1, 8, 1)), + ] { + let img = desc::image(&words).unwrap(); + let (res, _srv) = desc::image_d3d12(&img).unwrap(); + runner::try_create_texture(&res).unwrap_or_else(|e| panic!("{name}: {e} ({res:?})")); + } +} diff --git a/crates/xcl/src/gpu/shader.rs b/crates/xcl/src/gpu/shader.rs new file mode 100644 index 0000000..37f19e0 --- /dev/null +++ b/crates/xcl/src/gpu/shader.rs @@ -0,0 +1,415 @@ +//! Shader capture and classification. +//! +//! Every shader blob a title hands to D3D12.X (pipeline state creation, root +//! signatures) is classified and – once per unique hash – written to +//! `<data>\shaders\`. Unknown formats are scanned for RDNA2 programs and a +//! disassembly is written next to the blob. This is how we learn, per title, whether +//! shaders still carry DXIL/DXBC or only console GPU microcode. + +use std::collections::{BTreeMap, HashSet}; +use std::path::PathBuf; +use std::sync::Mutex; + +use serde::{Deserialize, Serialize}; + +use super::{rdna2, xbox}; + +/// DXBC container part FourCCs that are well understood on PC. +const KNOWN_PARTS: &[&str] = &[ + "DXIL", "SHEX", "SHDR", "ISGN", "OSGN", "ISG1", "OSG1", "PSG1", "PCSG", "PSV0", "RTS0", "STAT", "ILDB", "ILDN", + "HASH", "SFI0", "RDEF", "SPDB", "PRIV", "VERS", "SRCI", "PDBI", "SPDB", "OSG5", "IFCE", "RDAT", "MESH", +]; + +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +pub struct Part { + pub fourcc: String, + pub offset: usize, + pub size: usize, +} + +/// Parse a DXBC-style container ("DXBC", hash, version, size, part table). +pub fn container_parts(blob: &[u8]) -> Option<Vec<Part>> { + if blob.len() < 32 || &blob[0..4] != b"DXBC" { + return None; + } + let rd = |o: usize| blob.get(o..o + 4).map(|b| u32::from_le_bytes([b[0], b[1], b[2], b[3]]) as usize); + let count = rd(28)?; + if count > 64 { + return None; + } + let mut parts = Vec::with_capacity(count); + for i in 0..count { + let off = rd(32 + i * 4)?; + let fourcc = blob.get(off..off + 4)?; + let size = rd(off + 4)?; + if off + 8 + size > blob.len() { + return None; + } + parts.push(Part { + fourcc: String::from_utf8_lossy(fourcc).chars().map(|c| if c.is_ascii_graphic() { c } else { '?' }).collect(), + offset: off + 8, + size, + }); + } + Some(parts) +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum Kind { + /// DXBC container with a DXIL part – runnable on PC D3D12 (after re-signing if needed) + Dxil, + /// DXBC container with SM5 byte code – runnable on PC D3D12 + Dxbc, + /// console container: DXIL part with XDAT → XBCH → FSSM (native RDNA2 code), no bitcode + XboxNative, + /// DXBC container with only parts we do not know (console microcode?) + ContainerUnknown, + /// ELF object (AMD code objects are ELF) + Elf, + /// no container, but RDNA2 programs were found + Rdna2Raw, + Unknown, +} + +impl Kind { + pub fn label(&self) -> &'static str { + match self { + Kind::Dxil => "dxil", + Kind::Dxbc => "dxbc", + Kind::XboxNative => "xbox-native", + Kind::ContainerUnknown => "container-unknown", + Kind::Elf => "elf", + Kind::Rdna2Raw => "rdna2-raw", + Kind::Unknown => "unknown", + } + } +} + +pub fn classify(blob: &[u8]) -> (Kind, Vec<Part>) { + if let Some(parts) = container_parts(blob) { + let has = |n: &str| parts.iter().any(|p| p.fourcc == n); + let kind = if has("DXIL") && xbox::is_xbox(blob) { + Kind::XboxNative + } else if has("DXIL") { + Kind::Dxil + } else if has("SHEX") || has("SHDR") { + Kind::Dxbc + } else if has("RTS0") && parts.iter().all(|p| KNOWN_PARTS.contains(&p.fourcc.as_str())) { + Kind::Dxbc // root signature container + } else { + Kind::ContainerUnknown + }; + return (kind, parts); + } + if blob.len() >= 4 && &blob[0..4] == b"\x7fELF" { + return (Kind::Elf, Vec::new()); + } + if !rdna2::find_programs(blob).is_empty() { + return (Kind::Rdna2Raw, Vec::new()); + } + (Kind::Unknown, Vec::new()) +} + +/// Disassembly of every plausible RDNA2 program in the blob's unknown regions. +pub fn rdna2_listing(blob: &[u8]) -> String { + if let Some(sh) = xbox::parse(blob) { + return xbox::listing(&sh); + } + let mut regions: Vec<(String, usize, usize)> = Vec::new(); + match container_parts(blob) { + Some(parts) => { + for p in parts.iter().filter(|p| !KNOWN_PARTS.contains(&p.fourcc.as_str())) { + regions.push((format!("part {}", p.fourcc), p.offset, p.size)); + } + } + None => regions.push(("blob".into(), 0, blob.len())), + } + let mut out = String::new(); + for (label, off, size) in regions { + let data = &blob[off..off + size]; + for (start, len) in rdna2::find_programs(data) { + out.push_str(&format!("; {label}: program at +{:#x} ({} bytes)\n", off + start, len)); + for l in rdna2::disassemble(&data[start..start + len], (off + start) as u64, false) { + let hex: Vec<String> = l.bytes.iter().map(|b| format!("{b:02x}")).collect(); + out.push_str(&format!(" {:08x}: {:<48} {}\n", l.pc, l.text, hex.join(" "))); + } + } + } + out +} + +pub fn fnv64(bytes: &[u8]) -> u64 { + let mut h: u64 = 0xcbf2_9ce4_8422_2325; + for b in bytes { + h ^= *b as u64; + h = h.wrapping_mul(0x100_0000_01b3); + } + h +} + +#[derive(Debug, Default, Clone, Serialize, Deserialize)] +pub struct ShaderStats { + pub unique: usize, + pub submitted: usize, + pub by_kind: BTreeMap<String, usize>, + pub unknown_parts: BTreeMap<String, usize>, + pub by_stage: BTreeMap<String, usize>, + pub rejected_pointers: usize, + pub dump_dir: String, + /// console containers: hardware stages of their FSSM variants (VS, PS, NGG, ES, GS+VS, CS …) + #[serde(default)] + pub xbox_hw_stages: BTreeMap<String, usize>, + /// console containers whose FSSM could not be fully parsed + #[serde(default)] + pub xbox_errors: usize, + /// RDNA2 instructions decoded from unique console shaders (recompiler priorities) + #[serde(default)] + pub rdna2_instructions: u64, + #[serde(default)] + pub rdna2_undecoded_dwords: u64, + /// (mnemonic, count), most frequent first + #[serde(default)] + pub rdna2_mnemonics: Vec<(String, u64)>, + /// recompiler at capture: programs translated (HLSL next to the dumps), complete ones, + /// by mode, mnemonics still missing + #[serde(default)] + pub recomp_programs: usize, + #[serde(default)] + pub recomp_complete: usize, + #[serde(default)] + pub recomp_modes: BTreeMap<String, usize>, + #[serde(default)] + pub recomp_unsupported: BTreeMap<String, usize>, + /// DXC on the translations (`XCL_RECOMP_DXC=1`; cached in `recomp::dxc::cache_dir()`) + #[serde(default)] + pub recomp_dxc_ok: usize, + #[serde(default)] + pub recomp_dxc_cached: usize, + #[serde(default)] + pub recomp_dxc_failed: usize, +} + +struct State { + seen: HashSet<u64>, + stats: ShaderStats, + insts: xbox::InstStats, +} + +static STATE: Mutex<Option<State>> = Mutex::new(None); + +fn dump_dir() -> PathBuf { + crate::state::data_dir().join("shaders") +} + +/// Is `[p, p+len)` committed, readable memory? (Game-provided pointers may be garbage +/// when our guess of a console struct layout is wrong.) +pub fn readable(p: usize, len: usize) -> bool { + use windows_sys::Win32::System::Memory::{VirtualQuery, MEMORY_BASIC_INFORMATION, MEM_COMMIT, PAGE_GUARD, PAGE_NOACCESS}; + if p == 0 || len == 0 || len > 256 << 20 { + return false; + } + let end = match p.checked_add(len) { + Some(e) => e, + None => return false, + }; + let mut cur = p; + while cur < end { + let mut mbi: MEMORY_BASIC_INFORMATION = unsafe { std::mem::zeroed() }; + let n = unsafe { VirtualQuery(cur as *const _, &mut mbi, std::mem::size_of::<MEMORY_BASIC_INFORMATION>()) }; + if n == 0 || mbi.State != MEM_COMMIT || mbi.Protect & (PAGE_NOACCESS | PAGE_GUARD) != 0 || mbi.Protect == 0 { + return false; + } + cur = mbi.BaseAddress as usize + mbi.RegionSize; + } + true +} + +/// Record a shader blob submitted by the title. Safe on garbage pointers. +pub fn capture(stage: &str, ptr: usize, len: usize) { + if ptr == 0 && len == 0 { + return; // unused stage + } + let mut g = STATE.lock().unwrap(); + let st = g.get_or_insert_with(|| State { seen: HashSet::new(), stats: ShaderStats::default(), insts: xbox::InstStats::default() }); + st.stats.submitted += 1; + if !readable(ptr, len) { + st.stats.rejected_pointers += 1; + if st.stats.rejected_pointers <= 5 { + crate::xlog_warn!("[SHADER] {stage}: niepoprawny wskaźnik/rozmiar ({ptr:#x}, {len}) – inny układ struktury na konsoli?"); + } + return; + } + let blob = unsafe { std::slice::from_raw_parts(ptr as *const u8, len) }.to_vec(); + let h = fnv64(&blob); + *st.stats.by_stage.entry(stage.to_string()).or_default() += 1; + if !st.seen.insert(h) { + return; + } + st.stats.unique += 1; + let (kind, parts) = classify(&blob); + *st.stats.by_kind.entry(kind.label().to_string()).or_default() += 1; + for p in parts.iter().filter(|p| !KNOWN_PARTS.contains(&p.fourcc.as_str())) { + *st.stats.unknown_parts.entry(p.fourcc.clone()).or_default() += 1; + } + drop(g); + let dir = dump_dir(); + let _ = std::fs::create_dir_all(&dir); + let base = dir.join(format!("{h:016x}_{stage}")); + let _ = std::fs::write(base.with_extension("bin"), &blob); + let names: Vec<&str> = parts.iter().map(|p| p.fourcc.as_str()).collect(); + crate::xlog_info!("[SHADER] {stage} {h:016x}: {} B, format {}, części [{}]", blob.len(), kind.label(), names.join(",")); + if kind == Kind::XboxNative { + capture_xbox(&blob, &base, h); + } else if matches!(kind, Kind::ContainerUnknown | Kind::Rdna2Raw | Kind::Unknown) { + let listing = rdna2_listing(&blob); + if !listing.is_empty() { + let _ = std::fs::write(base.with_extension("rdna2.txt"), listing); + crate::xlog_info!("[SHADER] {h:016x}: znaleziono kod RDNA2 – dezasemblacja w {}", base.with_extension("rdna2.txt").display()); + } + } +} + +/// Console container: account its FSSM variants and instructions, write the +/// decompressed FSSMs and the disassembly next to the blob. +fn capture_xbox(blob: &[u8], base: &std::path::Path, h: u64) { + let Some(sh) = xbox::parse(blob) else { return }; + let mut insts = xbox::InstStats::default(); + insts.add_shader(&sh); + let failed = !sh.notes.is_empty() || sh.fssm.iter().any(|f| f.error.is_some() || f.programs.is_empty()); + if let Some(st) = STATE.lock().unwrap().as_mut() { + for f in &sh.fssm { + *st.stats.xbox_hw_stages.entry(f.stage_label()).or_default() += 1; + } + st.stats.xbox_errors += failed as usize; + st.insts.merge(&insts); + } + for (i, f) in sh.fssm.iter().enumerate() { + let _ = std::fs::write(base.with_extension(format!("fssm{i}.bin")), &f.data); + } + let listing = xbox::listing(&sh); + let _ = std::fs::write(base.with_extension("rdna2.txt"), &listing); + recompile(blob, &sh, base); + let stages: Vec<String> = sh.fssm.iter().map(|f| f.stage_label()).collect(); + crate::xlog_info!( + "[SHADER] {h:016x}: kontener konsolowy {} SM {}.{}, FSSM [{}], {} instrukcji RDNA2{}", + sh.stage, + sh.shader_model.0, + sh.shader_model.1, + stages.join(", "), + insts.instructions, + if failed { " – UWAGA: niepełny parse (xcl disasm)" } else { "" } + ); +} + +/// Translate every program of a captured console shader (mode from its interface) and +/// write the HLSL next to the dumps; with `XCL_RECOMP_DXC=1` also compile it (cached). +fn recompile(blob: &[u8], sh: &xbox::XboxShader, base: &std::path::Path) { + use crate::gpu::recomp; + let dxc = std::env::var("XCL_RECOMP_DXC").is_ok_and(|v| v == "1"); + for (i, f) in sh.fssm.iter().enumerate() { + let mode = recomp::interface(blob, sh, f).unwrap_or(recomp::Mode::Kernel); + let (label, profile) = match &mode { + recomp::Mode::Vertex(_) => ("VS", "vs_6_6"), + recomp::Mode::Pixel(_) => ("PS", "ps_6_6"), + recomp::Mode::Mesh(_) => ("MS", "cs_6_6"), + recomp::Mode::Kernel => ("kernel", "cs_6_6"), + }; + for (j, p) in f.programs.iter().enumerate() { + let code = &f.data[p.offset..p.offset + p.len]; + let opt = recomp::Options { mode: mode.clone(), wave64: recomp::detect_wave64(code) }; + let Ok(t) = recomp::translate(code, &opt) else { continue }; + let _ = std::fs::write(base.with_extension(format!("fssm{i}.p{j}.hlsl")), &t.hlsl); + let built = if dxc && t.complete() { Some(recomp::dxc::compile_cached(&t.hlsl, "main", profile)) } else { None }; + if let Some(Err(e)) = &built { + crate::xlog_warn!("[SHADER] DXC odrzucił tłumaczenie {}: {}", base.display(), e.lines().next().unwrap_or("")); + } + if let Some(st) = STATE.lock().unwrap().as_mut() { + let s = &mut st.stats; + s.recomp_programs += 1; + s.recomp_complete += t.complete() as usize; + *s.recomp_modes.entry(label.into()).or_default() += 1; + for (m, n) in &t.unsupported { + *s.recomp_unsupported.entry(m.clone()).or_default() += n; + } + match &built { + Some(Ok((_, true))) => s.recomp_dxc_cached += 1, + Some(Ok(_)) => s.recomp_dxc_ok += 1, + Some(Err(_)) => s.recomp_dxc_failed += 1, + None => {} + } + } + } + } +} + +pub fn stats() -> ShaderStats { + let g = STATE.lock().ok(); + let mut s = g.as_ref().and_then(|g| g.as_ref().map(|st| st.stats.clone())).unwrap_or_default(); + if let Some(st) = g.as_ref().and_then(|g| g.as_ref()) { + s.rdna2_instructions = st.insts.instructions; + s.rdna2_undecoded_dwords = st.insts.undecoded; + s.rdna2_mnemonics = st.insts.sorted(); + } + s.dump_dir = dump_dir().to_string_lossy().into_owned(); + s +} + +#[cfg(test)] +mod tests { + use super::*; + + fn container(parts: &[(&[u8; 4], &[u8])]) -> Vec<u8> { + let header = 32 + parts.len() * 4; + let mut v = vec![0u8; header]; + v[0..4].copy_from_slice(b"DXBC"); + v[24..28].copy_from_slice(&1u32.to_le_bytes()); + v[28..32].copy_from_slice(&(parts.len() as u32).to_le_bytes()); + for (i, (cc, data)) in parts.iter().enumerate() { + let off = v.len() as u32; + v[32 + i * 4..36 + i * 4].copy_from_slice(&off.to_le_bytes()); + v.extend_from_slice(*cc); + v.extend_from_slice(&(data.len() as u32).to_le_bytes()); + v.extend_from_slice(data); + } + let total = v.len() as u32; + v[24..28].copy_from_slice(&total.to_le_bytes()); + v + } + + #[test] + fn classifies_containers() { + assert_eq!(classify(&container(&[(b"ISG1", b"x"), (b"DXIL", b"bitcode")])).0, Kind::Dxil); + assert_eq!(classify(&container(&[(b"SHEX", b"code")])).0, Kind::Dxbc); + // a made-up console part with RDNA2 code inside: s_mov_b32 s0, s1 ; s_endpgm + let code = [0x01u8, 0x03, 0x80, 0xbe, 0x00, 0x00, 0x81, 0xbf]; + let blob = container(&[(b"XBOX", &code)]); + let (k, parts) = classify(&blob); + assert_eq!(k, Kind::ContainerUnknown); + assert_eq!(parts[0].fourcc, "XBOX"); + let listing = rdna2_listing(&blob); + assert!(listing.contains("s_mov_b32 s0, s1"), "{listing}"); + assert!(listing.contains("s_endpgm")); + assert_eq!(classify(&code).0, Kind::Rdna2Raw); + assert_eq!(classify(b"\x7fELF....").0, Kind::Elf); + assert_eq!(classify(b"random junk!").0, Kind::Unknown); + } + + #[test] + fn classifies_and_lists_console_containers() { + use crate::gpu::xbox::tests::{fssm, sample, CODE}; + let blob = sample(0, &[fssm(&CODE, &[(5, 1)])]); + let (k, parts) = classify(&blob); + assert_eq!(k, Kind::XboxNative); + assert!(parts.iter().any(|p| p.fourcc == "DXIL")); + let l = rdna2_listing(&blob); + assert!(l.contains("FSSM #0 [PS]") && l.contains("v_add_f32"), "{l}"); + } + + #[test] + fn readable_rejects_garbage() { + assert!(!readable(0, 10)); + assert!(!readable(0x10, 10)); + let v = vec![1u8; 100]; + assert!(readable(v.as_ptr() as usize, 100)); + } +} diff --git a/crates/xcl/src/gpu/uma.rs b/crates/xcl/src/gpu/uma.rs new file mode 100644 index 0000000..430fe41 --- /dev/null +++ b/crates/xcl/src/gpu/uma.rs @@ -0,0 +1,169 @@ +//! Console unified memory (UMA). On the console CPU and GPU share memory and shaders reach +//! it through plain addresses in SGPRs. XCL keeps the title's graphics memory in one region +//! that D3D12 can open as a heap (`ID3D12Device3::OpenExistingHeapFromAddress`), so the GPU +//! works on it directly. The region starts at a 4 GiB-aligned address and is smaller than +//! 4 GiB, hence the low 32 bits of a console GPU address are the offset in that heap: the +//! recompiler's flat `mem` buffer model applies to title memory unchanged. +//! +//! Measured on Windows 11 + RX 9070 (2026-11-20): the heap must cover a fully committed +//! `VirtualAlloc` allocation (a reservation with partial commit is rejected); up to +//! 4095 MiB works (exactly 4 GiB is rejected), opening 4 GiB takes ~0.5 s. + +use std::collections::BTreeMap; +use std::sync::{Mutex, OnceLock}; + +use windows_sys::Win32::System::Memory::{VirtualAlloc, VirtualFree, MEM_COMMIT, MEM_RELEASE, MEM_RESERVE, PAGE_READWRITE}; + +/// allocation granularity (as VirtualAlloc) +pub const GRAIN: usize = 0x1_0000; +/// largest region D3D12 opens as a heap +pub const MAX_SIZE: usize = (4096 << 20) - GRAIN; + +pub struct Uma { + base: usize, + size: usize, + inner: Mutex<Inner>, +} + +#[derive(Default)] +struct Inner { + /// free ranges: offset → length (coalesced) + free: BTreeMap<usize, usize>, + /// live allocations: offset → length + used: BTreeMap<usize, usize>, +} + +impl Uma { + /// Commit `size` bytes at the first free 4 GiB-aligned address above 16 GiB. + pub fn new(size: usize) -> Option<Uma> { + let size = ((size + GRAIN - 1) & !(GRAIN - 1)).clamp(GRAIN, MAX_SIZE); + for slot in 4usize..512 { + let want = (slot << 32) as *const std::ffi::c_void; + let p = unsafe { VirtualAlloc(want, size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE) }; + if !p.is_null() { + let mut inner = Inner::default(); + inner.free.insert(0, size); + return Some(Uma { base: p as usize, size, inner: Mutex::new(inner) }); + } + } + None + } + + pub fn base(&self) -> usize { + self.base + } + + pub fn size(&self) -> usize { + self.size + } + + pub fn contains(&self, p: usize) -> bool { + p >= self.base && p < self.base + self.size + } + + /// Zeroed block of `size` bytes aligned to `align` (at least 64 KiB), first fit. + pub fn alloc(&self, size: usize, align: usize) -> Option<*mut u8> { + let size = (size.max(1) + GRAIN - 1) & !(GRAIN - 1); + let align = align.max(GRAIN).next_power_of_two(); + let mut g = self.inner.lock().unwrap(); + let (start, len, at) = g.free.iter().find_map(|(&o, &l)| { + let at = ((self.base + o + align - 1) & !(align - 1)) - self.base; + (at + size <= o + l).then_some((o, l, at)) + })?; + g.free.remove(&start); + if at > start { + g.free.insert(start, at - start); + } + if at + size < start + len { + g.free.insert(at + size, start + len - at - size); + } + g.used.insert(at, size); + drop(g); + let p = (self.base + at) as *mut u8; + unsafe { std::ptr::write_bytes(p, 0, size) }; + Some(p) + } + + /// Release a block from `alloc` (false: not one of ours). + pub fn free(&self, p: usize) -> bool { + if !self.contains(p) { + return false; + } + let mut g = self.inner.lock().unwrap(); + let off = p - self.base; + let Some(orig) = g.used.remove(&off) else { return false }; + let (mut start, mut len) = (off, orig); + // merge with the free neighbours + if let Some((&o, &l)) = g.free.range(..off).next_back() { + if o + l == off { + g.free.remove(&o); + start = o; + len += l; + } + } + if let Some(l) = g.free.remove(&(off + orig)) { + len += l; + } + g.free.insert(start, len); + true + } + + /// Bytes handed out. + pub fn used(&self) -> usize { + self.inner.lock().unwrap().used.values().sum() + } +} + +impl Drop for Uma { + fn drop(&mut self) { + unsafe { + VirtualFree(self.base as *mut std::ffi::c_void, 0, MEM_RELEASE); + } + } +} + +static GLOBAL: OnceLock<Option<Uma>> = OnceLock::new(); + +/// The title's graphics memory (created on first use; `XCL_UMA_MB`, default 2048). +pub fn get() -> Option<&'static Uma> { + GLOBAL + .get_or_init(|| { + let mb = std::env::var("XCL_UMA_MB").ok().and_then(|v| v.parse::<usize>().ok()).unwrap_or(2048); + let u = Uma::new(mb << 20); + match &u { + Some(u) => crate::xlog_info!("UMA: {} MB pamięci graficznej pod {:#x} (dostępna dla GPU bez kopiowania)", u.size >> 20, u.base), + None => crate::xlog_warn!("UMA: nie udało się zarezerwować {mb} MB pod adresem wyrównanym do 4 GiB – zwykłe alokacje"), + } + u + }) + .as_ref() +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn alloc_free_coalesce() { + let u = Uma::new(16 << 20).unwrap(); + assert_eq!(u.base() & 0xFFFF_FFFF, 0, "4 GiB alignment"); + let a = u.alloc(100, 0).unwrap() as usize; + let b = u.alloc(0x2_0000, 0).unwrap() as usize; + let c = u.alloc(0x1_0000, 0x10_0000).unwrap() as usize; + assert_eq!(a, u.base()); + assert_eq!(b, u.base() + GRAIN); + assert_eq!(c % 0x10_0000, 0, "alignment"); + assert_eq!(u.used(), 4 * GRAIN); + unsafe { *(b as *mut u32) = 0xDEAD }; + assert!(u.free(b) && !u.free(b) && !u.free(12345)); + assert!(u.free(a)); + // a + b coalesced: a 3-grain block fits at the base again, zeroed + let d = u.alloc(3 * GRAIN, 0).unwrap() as usize; + assert_eq!(d, u.base()); + assert_eq!(unsafe { *((d + GRAIN) as *const u32) }, 0); + assert!(u.free(c) && u.free(d)); + assert_eq!(u.used(), 0); + // everything merged back into one range + assert!(u.alloc(16 << 20, 0).is_some()); + } +} diff --git a/crates/xcl/src/gpu/xbox.rs b/crates/xcl/src/gpu/xbox.rs new file mode 100644 index 0000000..39f701b --- /dev/null +++ b/crates/xcl/src/gpu/xbox.rs @@ -0,0 +1,808 @@ +//! Xbox Series shader containers: precompiled console GPU code (RDNA2), no DXIL. +//! +//! Layout reverse-engineered from a retail title's shader pack (23 869 shaders, all +//! stages, 2026-11-20). The outer DXBC container looks normal (SFI0, ISG1, OSG1, PSV0, +//! HASH, DXIL, PRIV), but the DXIL part carries no LLVM bitcode: +//! +//! ```text +//! DXIL part DxilProgramHeader (24 B: kind/SM, size in dwords, "DXIL", version, +//! bitcode offset, bitcode size) – the bitcode is a 4-byte "NOBC" placeholder. +//! Between the header and the placeholder: +//! XDAT +0 "XDAT" +4 u32 count +8 u32 table offset +//! table: count × (u32 id, u32 offset, u32 size); offsets relative to the +//! DXIL part data (= the program header) +//! 0x12 16 B hash +//! 0x0D XBCH – one per hardware-stage variant (a VS feeding a GS has two: ES + VS) +//! 0x07 nested DxilProgramHeader whose bitcode is "NOBC" +//! XBCH +0 "XBCH" +4 u32 version (3) +8 u32 compressed size +0x10 u32 raw size +//! +0x18 zlib stream → FSSM +//! FSSM +0 "FSSM" +4 u32 version (0x101) +8 u32 size of everything after the 16-B header +//! +0xC0 u64 code offset, +0xC8 u64 code size (offsets relative to +0x10) +//! +0x100 hardware-stage descriptor u64 0x000000C0_0002_AAHH +//! (HH = PAL hardware stage, AA = API stage; one more every 0x88 B, +//! e.g. GS + its VS copy shader); unused fields are 0xDEADBEEF. +//! The code is padded with s_code_end; metadata (user data mapping?) and the +//! shader name follow it. +//! ``` +//! +//! Exact semantics of most FSSM fields are unknown, so every step has a fallback: the +//! XDAT table is validated against both plausible bases, the zlib header is searched +//! for, and when the code pointer does not check out the FSSM is scanned for programs. + +use serde::{Deserialize, Serialize}; + +use super::rdna2; +use super::shader::container_parts; + +pub const XDAT_HASH: u32 = 0x12; +pub const XDAT_XBCH: u32 = 0x0D; +pub const XDAT_NESTED_HEADER: u32 = 0x07; + +const S_ENDPGM: u32 = 0xBF81_0000; +const S_CODE_END: u32 = 0xBF9F_0000; +/// Decompressed FSSM size limit (the largest seen is well under 1 MB). +const MAX_FSSM: usize = 64 << 20; + +const DXIL_KINDS: [&str; 16] = [ + "PS", "VS", "GS", "HS", "DS", "CS", "Library", "RayGen", "Intersection", "AnyHit", "ClosestHit", "Miss", "Callable", + "MS", "AS", "Node", +]; + +fn rd32(b: &[u8], o: usize) -> Option<u32> { + b.get(o..o.checked_add(4)?).map(|x| u32::from_le_bytes([x[0], x[1], x[2], x[3]])) +} + +fn rd64(b: &[u8], o: usize) -> Option<u64> { + b.get(o..o.checked_add(8)?).map(|x| u64::from_le_bytes(x.try_into().unwrap())) +} + +/// PAL hardware stage numbering (Ls, Hs, Es, Gs, Vs, Ps, Cs); 7 only appears for mesh +/// shaders, i.e. most likely the NGG (primitive shader) path. +pub fn hw_stage_name(hw: u8) -> String { + match hw { + 0 => "LS".into(), + 1 => "HS".into(), + 2 => "ES".into(), + 3 => "GS".into(), + 4 => "VS".into(), + 5 => "PS".into(), + 6 => "CS".into(), + 7 => "NGG".into(), + n => format!("hw#{n}"), + } +} + +/// API stage byte of the descriptor. Only the values seen in real data are named. +pub fn api_stage_name(api: u8) -> String { + match api { + 0 => "VS".into(), + 1 => "PS".into(), + 2 => "GS".into(), + 3 => "CS".into(), + 6 => "MS".into(), + n => format!("api#{n}"), + } +} + +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +pub struct XdatEntry { + pub id: u32, + /// offset of the entry's data in the whole blob + pub offset: usize, + pub size: usize, +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct HwStage { + /// offset of the descriptor inside the FSSM + pub offset: usize, + pub hw: u8, + pub api: u8, +} + +impl HwStage { + pub fn label(&self) -> String { + format!("{} (API {})", hw_stage_name(self.hw), api_stage_name(self.api)) + } +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct Program { + /// offset inside the FSSM + pub offset: usize, + pub len: usize, +} + +/// One decompressed FSSM (native code + metadata for one hardware-stage variant). +#[derive(Debug, Clone, Default)] +pub struct Fssm { + /// offset of the XBCH header in the whole blob + pub xbch_offset: usize, + pub xbch_version: u32, + pub compressed: usize, + /// decompressed FSSM (empty when decompression failed) + pub data: Vec<u8>, + pub version: u32, + /// code region (offset, len) inside `data` + pub code: Option<(usize, usize)>, + /// `code` came from the header pointer (false: found by scanning) + pub code_from_header: bool, + pub stages: Vec<HwStage>, + pub programs: Vec<Program>, + /// constant data embedded in the code region (after a program's s_endpgm; + /// the compiler closes such blocks with another s_endpgm) + pub data_blocks: Vec<Program>, + pub error: Option<String>, +} + +impl Fssm { + pub fn code_bytes(&self) -> &[u8] { + match self.code { + Some((o, l)) => &self.data[o..o + l], + None => &[], + } + } + + pub fn stage_label(&self) -> String { + if self.stages.is_empty() { + return "?".into(); + } + self.stages.iter().map(|s| hw_stage_name(s.hw)).collect::<Vec<_>>().join("+") + } +} + +#[derive(Debug, Clone, Default)] +pub struct XboxShader { + /// API stage from the DXIL program header (PS, VS, MS, …) + pub stage: String, + pub shader_model: (u8, u8), + /// offset of the DXIL part data (program header) in the blob + pub dxil_offset: usize, + pub xdat_offset: usize, + pub entries: Vec<XdatEntry>, + pub hash: Option<[u8; 16]>, + pub fssm: Vec<Fssm>, + pub notes: Vec<String>, +} + +/// (DXIL part, offset of XDAT inside it) – the cheap part of [`parse`]. +fn find_xdat(blob: &[u8]) -> Option<(super::shader::Part, usize)> { + let parts = container_parts(blob)?; + let dxil = parts.into_iter().find(|p| p.fourcc == "DXIL")?; + let d = &blob[dxil.offset..dxil.offset + dxil.size]; + // XDAT normally sits right after the 24-byte program header + let x = (0..d.len().min(256).saturating_sub(3)).step_by(4).find(|&o| &d[o..o + 4] == b"XDAT")?; + Some((dxil, x)) +} + +/// Is this a console shader container (DXIL part carrying XDAT instead of bitcode)? +pub fn is_xbox(blob: &[u8]) -> bool { + find_xdat(blob).is_some() +} + +/// Parse a console shader container. `None` when the blob is not one (no DXBC container, +/// no DXIL part or no XDAT inside it) – PC shaders included. +pub fn parse(blob: &[u8]) -> Option<XboxShader> { + let (dxil, x) = find_xdat(blob)?; + let d = &blob[dxil.offset..dxil.offset + dxil.size]; + let pv = rd32(d, 0).unwrap_or(0); + let mut sh = XboxShader { + stage: DXIL_KINDS.get((pv >> 16) as usize).map(|s| s.to_string()).unwrap_or_else(|| format!("kind#{}", pv >> 16)), + shader_model: (((pv >> 4) & 0xf) as u8, (pv & 0xf) as u8), + dxil_offset: dxil.offset, + xdat_offset: dxil.offset + x, + ..Default::default() + }; + if x != 0x18 { + sh.notes.push(format!("XDAT pod +{x:#x} w części DXIL (oczekiwano +0x18)")); + } + match xdat_entries(d, x) { + Some(e) => sh.entries = e.into_iter().map(|(id, o, s)| XdatEntry { id, offset: dxil.offset + o, size: s }).collect(), + None => sh.notes.push("nie udało się odczytać tabeli XDAT".into()), + } + for e in &sh.entries { + let data = &blob[e.offset..e.offset + e.size]; + if data.starts_with(b"XBCH") { + if e.id != XDAT_XBCH { + sh.notes.push(format!("XBCH we wpisie o nieoczekiwanym id {:#x}", e.id)); + } + sh.fssm.push(parse_xbch(data, e.offset)); + } else if e.id == XDAT_HASH && e.size == 16 { + sh.hash = Some(data.try_into().unwrap()); + } else if e.id == XDAT_XBCH { + sh.notes.push(format!("wpis {:#x} bez nagłówka XBCH", e.id)); + } + } + if sh.fssm.is_empty() { + sh.notes.push("brak FSSM (kodu natywnego) w kontenerze".into()); + } + Some(sh) +} + +/// Read the XDAT table at `x` inside the DXIL part `d`; returns (id, offset in `d`, size). +fn xdat_entries(d: &[u8], x: usize) -> Option<Vec<(u32, usize, usize)>> { + let count = rd32(d, x + 4)? as usize; + if count == 0 || count > 64 { + return None; + } + let table_off = rd32(d, x + 8)? as usize; + // table position: the stated offset (relative to the program header), else right after the XDAT header + for table in [table_off, x + 12] { + if table < x + 12 || table + count * 12 > d.len() { + continue; + } + let raw: Vec<(u32, usize, usize)> = (0..count) + .map(|i| (rd32(d, table + i * 12).unwrap(), rd32(d, table + i * 12 + 4).unwrap() as usize, rd32(d, table + i * 12 + 8).unwrap() as usize)) + .collect(); + // entry offsets: relative to the program header (seen in practice) or to XDAT + for base in [0usize, x] { + if raw.iter().all(|&(_, o, s)| base + o >= table + count * 12 && base + o + s <= d.len()) { + return Some(raw.iter().map(|&(id, o, s)| (id, base + o, s)).collect()); + } + } + } + None +} + +fn is_zlib_header(b: &[u8]) -> bool { + b.len() >= 2 && b[0] & 0x0f == 8 && b[0] >> 4 <= 7 && ((b[0] as u16) << 8 | b[1] as u16) % 31 == 0 && b[1] & 0x20 == 0 +} + +fn parse_xbch(x: &[u8], blob_offset: usize) -> Fssm { + let mut f = Fssm { xbch_offset: blob_offset, xbch_version: rd32(x, 4).unwrap_or(0), ..Default::default() }; + let csize = rd32(x, 8).unwrap_or(0) as usize; + let rsize = rd32(x, 0x10).unwrap_or(0) as usize; + let start = if x.len() > 0x18 && is_zlib_header(&x[0x18..]) { + Some(0x18) + } else { + (8..x.len().min(64)).find(|&o| x[o] == 0x78 && is_zlib_header(&x[o..])) + }; + let Some(start) = start else { + f.error = Some("XBCH: nie znaleziono strumienia zlib".into()); + return f; + }; + let end = if csize > 0 && start + csize <= x.len() { start + csize } else { x.len() }; + f.compressed = end - start; + let limit = if rsize > 0 && rsize <= MAX_FSSM { rsize } else { MAX_FSSM }; + match miniz_oxide::inflate::decompress_to_vec_zlib_with_limit(&x[start..end], limit) { + Ok(data) => { + if rsize != 0 && data.len() != rsize { + f.error = Some(format!("XBCH: rozpakowano {} B, nagłówek podaje {rsize} B", data.len())); + } + f.data = data; + analyze_fssm(&mut f); + } + Err(e) => f.error = Some(format!("XBCH: błąd zlib ({:?})", e.status)), + } + f +} + +fn analyze_fssm(f: &mut Fssm) { + let d = &f.data; + let magic_ok = d.starts_with(b"FSSM"); + if magic_ok { + f.version = rd32(d, 4).unwrap_or(0); + if let (Some(off), Some(len)) = (rd64(d, 0xC0), rd64(d, 0xC8)) { + let (off, len) = (off as usize, len as usize); + let start = off.wrapping_add(0x10); + if off < d.len() && len > 0 && start % 4 == 0 && start.checked_add(len).is_some_and(|e| e <= d.len()) { + let has_end = d[start..start + len].chunks_exact(4).any(|w| u32::from_le_bytes(w.try_into().unwrap()) == S_ENDPGM); + if has_end { + f.code = Some((start, len)); + f.code_from_header = true; + } + } + } + } else { + f.error.get_or_insert_with(|| "brak nagłówka FSSM".into()); + } + let code_start = f.code.map(|c| c.0).unwrap_or(d.len()); + if magic_ok { + let mut o = 0x10; + while o + 8 <= code_start { + let q = rd64(d, o).unwrap(); + if q >> 16 == 0xC0_0002 && q & 0xff <= 7 { + f.stages.push(HwStage { offset: o, hw: q as u8, api: (q >> 8) as u8 }); + } + o += 8; + } + } + if f.code.is_none() { + f.code = scan_code_region(d); + } + if let Some((o, l)) = f.code { + let code = &f.data[o..o + l]; + // Segments end at s_endpgm. One that is linked to the previous program by a + // direct branch (either way) is part of it: the shared "all pixels discarded" + // exit in PS, or a trampoline entered via s_setpc that jumps back. + let mut targets: Vec<u64> = Vec::new(); + for (i, p) in split_segments(code).into_iter().enumerate() { + if p.counted_data { + f.data_blocks.push(Program { offset: o + p.offset, len: p.len }); + continue; + } + let seg = &code[p.offset..p.offset + p.len]; + let own = branch_targets(seg, p.offset as u64); + let range = p.offset as u64..(p.offset + p.len) as u64; + let reached = targets.iter().any(|t| range.contains(t)); + let jumps_back = f.programs.last().is_some_and(|last| { + let r = (last.offset - o) as u64..(last.offset - o + last.len) as u64; + own.iter().any(|t| r.contains(t)) + }); + if i > 0 && !reached && seg.len() == 4 && rd32(seg, 0) == Some(S_ENDPGM) { + continue; // lone s_endpgm guarding the constant data block that follows + } + if i > 0 && !reached && !jumps_back && is_data_block(seg) { + f.data_blocks.push(Program { offset: o + p.offset, len: p.len }); + continue; + } + targets.extend(own); + match f.programs.last_mut() { + Some(last) if reached || jumps_back => last.len = o + p.offset + p.len - last.offset, + _ => f.programs.push(Program { offset: o + p.offset, len: p.len }), + } + } + } +} + +/// Static branch targets of a code segment (PCs in the same space as `pc`). +fn branch_targets(seg: &[u8], pc: u64) -> Vec<u64> { + let mut out = Vec::new(); + let mut off = 0usize; + while off + 4 <= seg.len() { + match rdna2::decode(&seg[off..], pc + off as u64) { + Ok(d) => { + out.extend(rdna2::branch_target(&d)); + off += d.len; + } + Err(_) => off += 4, + } + } + out +} + +/// u32 N, N dwords, s_endpgm – the exact layout of constant data embedded in code. +fn counted_data_block(seg: &[u8]) -> bool { + rd32(seg, 0).is_some_and(|n| (n as usize).checked_mul(4).and_then(|x| x.checked_add(8)) == Some(seg.len())) +} + +/// A segment after the first program that is constant data, not code. Retail layout: +/// u32 N, N dwords, s_endpgm. Otherwise: it starts with an undecodable dword or a +/// quarter of it does not decode (floats, small integers – VOP2 opcode 0 is unassigned). +pub fn is_data_block(seg: &[u8]) -> bool { + if counted_data_block(seg) { + return true; + } + let mut off = 0usize; + let (mut words, mut bad) = (0usize, 0usize); + while off + 4 <= seg.len() { + match rdna2::decode(&seg[off..], off as u64) { + Ok(d) => { + words += d.len / 4; + off += d.len; + } + Err(_) => { + if off == 0 { + return true; + } + words += 1; + bad += 1; + off += 4; + } + } + } + bad * 4 >= words.max(1) +} + +/// Fallback when the header's code pointer does not check out: the code region ends +/// with the last s_endpgm and starts after the metadata in front of the first one +/// (walking back to 0xDEADBEEF filler or a run of zero dwords). +fn scan_code_region(d: &[u8]) -> Option<(usize, usize)> { + let word = |o: usize| u32::from_le_bytes(d[o..o + 4].try_into().unwrap()); + let ends: Vec<usize> = (0x10..d.len().saturating_sub(3)).step_by(4).filter(|&o| word(o) == S_ENDPGM).collect(); + let first = *ends.first()?; + let mut s = first; + let mut zeros = 0; + while s >= 0x14 { + let w = word(s - 4); + zeros = if w == 0 { zeros + 1 } else { 0 }; + if w == 0xDEAD_BEEF || zeros >= 4 { + break; + } + s -= 4; + } + while s < first && word(s) == 0 { + s += 4; + } + let mut end = first + 4; + for &e in &ends[1..] { + if (end..e).step_by(4).any(|o| word(o) == 0xDEAD_BEEF) { + break; + } + end = e + 4; + } + Some((s, end - s)) +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct Segment { + pub offset: usize, + pub len: usize, + /// constant data in the exact retail layout (u32 N, N dwords, s_endpgm) + pub counted_data: bool, +} + +/// Split a code region into segments that end with s_endpgm; s_code_end / zero padding +/// between them is skipped. Counted data blocks are recognised from raw dwords before +/// decoding (their contents may contain s_endpgm-like words). Undecodable dwords stay +/// inside their segment (they are counted, not hidden). +pub fn split_segments(code: &[u8]) -> Vec<Segment> { + let word = |o: usize| u32::from_le_bytes(code[o..o + 4].try_into().unwrap()); + let mut out: Vec<Segment> = Vec::new(); + let mut off = 0usize; + loop { + while off + 4 <= code.len() && matches!(word(off), S_CODE_END | 0) { + off += 4; + } + if off + 4 > code.len() { + break; + } + let start = off; + if !out.is_empty() { + let n = word(start) as usize; + let end = start + 4 + 4 * n; + if n > 0 && end + 4 <= code.len() && word(end) == S_ENDPGM { + out.push(Segment { offset: start, len: end + 4 - start, counted_data: true }); + off = end + 4; + continue; + } + } + let mut ended = false; + while off + 4 <= code.len() { + match rdna2::decode(&code[off..], off as u64) { + Ok(d) => { + off += d.len; + if d.inst.flags & rdna2::F_TERMINATOR != 0 && word(off - d.len) == S_ENDPGM { + ended = true; + break; + } + } + Err(_) => off += 4, + } + } + out.push(Segment { offset: start, len: off.min(code.len()) - start, counted_data: false }); + if !ended { + break; + } + } + out +} + +/// Instruction statistics for a set of programs. +#[derive(Debug, Default, Clone)] +pub struct InstStats { + pub instructions: u64, + pub undecoded: u64, + pub by_mnemonic: std::collections::BTreeMap<String, u64>, +} + +impl InstStats { + pub fn add_code(&mut self, code: &[u8]) { + let mut off = 0usize; + while off + 4 <= code.len() { + match rdna2::decode(&code[off..], off as u64) { + Ok(d) => { + self.instructions += 1; + *self.by_mnemonic.entry(rdna2::mnemonic(&d)).or_default() += 1; + off += d.len; + } + Err(_) => { + self.undecoded += 1; + off += 4; + } + } + } + } + + pub fn add_shader(&mut self, sh: &XboxShader) { + for f in &sh.fssm { + for p in &f.programs { + self.add_code(&f.data[p.offset..p.offset + p.len]); + } + } + } + + pub fn merge(&mut self, other: &InstStats) { + self.instructions += other.instructions; + self.undecoded += other.undecoded; + for (k, v) in &other.by_mnemonic { + *self.by_mnemonic.entry(k.clone()).or_default() += v; + } + } + + /// Mnemonics sorted by count (descending). + pub fn sorted(&self) -> Vec<(String, u64)> { + let mut v: Vec<(String, u64)> = self.by_mnemonic.iter().map(|(k, v)| (k.clone(), *v)).collect(); + v.sort_by(|a, b| b.1.cmp(&a.1).then_with(|| a.0.cmp(&b.0))); + v + } +} + +/// Disassembly of every program of a console shader (PCs relative to the code region). +pub fn listing(sh: &XboxShader) -> String { + let mut out = String::new(); + for (i, f) in sh.fssm.iter().enumerate() { + let Some((co, _)) = f.code else { continue }; + let mut blocks: Vec<(bool, &Program)> = f.programs.iter().map(|p| (false, p)).chain(f.data_blocks.iter().map(|p| (true, p))).collect(); + blocks.sort_by_key(|b| b.1.offset); + for (is_data, p) in blocks { + if is_data { + out.push_str(&format!("; FSSM #{i}: dane w kodzie +{:#x} (FSSM +{:#x}), {} B\n", p.offset - co, p.offset, p.len)); + for (k, w) in f.data[p.offset..p.offset + p.len].chunks_exact(4).enumerate() { + let w = u32::from_le_bytes(w.try_into().unwrap()); + // show a float only where the bits look like one (|x| ≈ 1e-10 … 1e10) + let exp = (w >> 23) & 0xff; + let val = if (0x60..=0x9e).contains(&exp) { format!("{}", f32::from_bits(w)) } else { format!("{w}") }; + out.push_str(&format!(" {:08x}: .long {w:#010x} ; {val}\n", p.offset - co + k * 4)); + } + continue; + } + out.push_str(&format!( + "; FSSM #{i} [{}]: program +{:#x} w kodzie (FSSM +{:#x}), {} B\n", + f.stage_label(), + p.offset - co, + p.offset, + p.len + )); + let code = &f.data[p.offset..p.offset + p.len]; + for l in rdna2::disassemble(code, (p.offset - co) as u64, false) { + let hex: Vec<String> = l.bytes.iter().map(|b| format!("{b:02x}")).collect(); + out.push_str(&format!(" {:08x}: {:<48} {}\n", l.pc, l.text, hex.join(" "))); + } + } + } + out +} + +/// Non-trivial qwords of an FSSM header (skipping 0 and 0xDEADBEEF filler) – for +/// reverse engineering the metadata. +pub fn header_qwords(f: &Fssm, limit: usize) -> Vec<(usize, u64)> { + let end = f.code.map(|c| c.0).unwrap_or(f.data.len()).min(limit); + (0..end / 8).map(|i| (i * 8, rd64(&f.data, i * 8).unwrap())).filter(|&(_, q)| q != 0 && q != 0xDEAD_BEEF_DEAD_BEEF).collect() +} + +#[cfg(test)] +pub(crate) mod tests { + use super::*; + + pub(crate) fn container(parts: &[(&[u8; 4], &[u8])]) -> Vec<u8> { + let header = 32 + parts.len() * 4; + let mut v = vec![0u8; header]; + v[0..4].copy_from_slice(b"DXBC"); + v[20..24].copy_from_slice(&1u32.to_le_bytes()); + v[28..32].copy_from_slice(&(parts.len() as u32).to_le_bytes()); + for (i, (cc, data)) in parts.iter().enumerate() { + let off = v.len() as u32; + v[32 + i * 4..36 + i * 4].copy_from_slice(&off.to_le_bytes()); + v.extend_from_slice(*cc); + v.extend_from_slice(&(data.len() as u32).to_le_bytes()); + v.extend_from_slice(data); + } + let total = v.len() as u32; + v[24..28].copy_from_slice(&total.to_le_bytes()); + v + } + + fn le32(v: &mut Vec<u8>, x: u32) { + v.extend_from_slice(&x.to_le_bytes()); + } + + /// FSSM with the observed layout: code pointer at 0xC0, stage descriptors at 0x100 (+0x88). + pub(crate) fn fssm(code: &[u8], stages: &[(u8, u8)]) -> Vec<u8> { + let code_at = 0x308usize; + let mut v = vec![0u8; code_at]; + v[0..4].copy_from_slice(b"FSSM"); + v[4..8].copy_from_slice(&0x101u32.to_le_bytes()); + for q in (0x18..0xC0).step_by(8) { + v[q..q + 8].copy_from_slice(&0xDEAD_BEEF_DEAD_BEEFu64.to_le_bytes()); + } + v[0xC0..0xC8].copy_from_slice(&((code_at - 0x10) as u64).to_le_bytes()); + v[0xC8..0xD0].copy_from_slice(&(code.len() as u64 + 8).to_le_bytes()); + for (i, &(hw, api)) in stages.iter().enumerate() { + let o = 0x100 + i * 0x88; + let q = 0x0000_00C0_0002_0000u64 | (api as u64) << 8 | hw as u64; + v[o..o + 8].copy_from_slice(&q.to_le_bytes()); + } + v.extend_from_slice(code); + v.extend_from_slice(&[0x00, 0x00, 0x9f, 0xbf, 0x00, 0x00, 0x9f, 0xbf]); // s_code_end padding + v.extend_from_slice(b"\x03\0\0\0metadata\0\0\0\0"); + let size = (v.len() - 0x10) as u32; + v[8..12].copy_from_slice(&size.to_le_bytes()); + v + } + + fn xbch(fssm: &[u8]) -> Vec<u8> { + let z = miniz_oxide::deflate::compress_to_vec_zlib(fssm, 6); + let mut v = b"XBCH".to_vec(); + le32(&mut v, 3); + le32(&mut v, z.len() as u32); + le32(&mut v, 0); + le32(&mut v, fssm.len() as u32); + le32(&mut v, 0); + v.extend_from_slice(&z); + v + } + + fn program_header(kind: u32, size_dw: u32, bitcode_off: u32) -> Vec<u8> { + let mut v = Vec::new(); + le32(&mut v, kind << 16 | 0x66); + le32(&mut v, size_dw); + v.extend_from_slice(b"DXIL"); + le32(&mut v, 0x106); + le32(&mut v, bitcode_off); + le32(&mut v, 4); + v + } + + /// DXIL part exactly as found in retail data: header, XDAT (hash, XBCH…, nested header), NOBC. + pub(crate) fn dxil_part(kind: u32, fssms: &[Vec<u8>]) -> Vec<u8> { + let mut blobs: Vec<(u32, Vec<u8>)> = vec![(XDAT_HASH, (0u8..16).collect())]; + for f in fssms { + blobs.push((XDAT_XBCH, xbch(f))); + } + let mut nested = program_header(kind, 0x8000_0007, 0x10); + nested.extend_from_slice(b"NOBC"); + blobs.push((XDAT_NESTED_HEADER, nested)); + let table = 0x18 + 12; + let mut data_at = table + blobs.len() * 12; + let mut xdat = b"XDAT".to_vec(); + le32(&mut xdat, blobs.len() as u32); + le32(&mut xdat, table as u32); + for (id, b) in &blobs { + le32(&mut xdat, *id); + le32(&mut xdat, data_at as u32); + le32(&mut xdat, b.len() as u32); + data_at += b.len(); + } + for (_, b) in &blobs { + xdat.extend_from_slice(b); + } + while (0x18 + xdat.len()) % 4 != 0 { + xdat.push(0); + } + let nobc_at = 0x18 + xdat.len(); + let mut v = program_header(kind, ((nobc_at + 4) / 4) as u32, (nobc_at - 8) as u32); + v.extend_from_slice(&xdat); + v.extend_from_slice(b"NOBC"); + v + } + + /// s_mov_b32 s0, s1 ; v_add_f32 v0, v1, v5 ; s_endpgm + pub(crate) const CODE: [u8; 12] = [0x01, 0x03, 0x80, 0xbe, 0x01, 0x0b, 0x00, 0x06, 0x00, 0x00, 0x81, 0xbf]; + + pub(crate) fn sample(kind: u32, fssms: &[Vec<u8>]) -> Vec<u8> { + container(&[(b"SFI0", &[0; 8]), (b"HASH", &[0; 20]), (b"DXIL", &dxil_part(kind, fssms)), (b"PRIV", &[7; 16])]) + } + + #[test] + fn parses_retail_layout() { + let blob = sample(0, &[fssm(&CODE, &[(5, 1)])]); + let sh = parse(&blob).expect("xbox container"); + assert_eq!(sh.stage, "PS"); + assert_eq!(sh.shader_model, (6, 6)); + assert!(sh.notes.is_empty(), "{:?}", sh.notes); + assert_eq!(sh.entries.iter().map(|e| e.id).collect::<Vec<_>>(), vec![0x12, 0x0d, 0x07]); + assert_eq!(sh.hash, Some(core::array::from_fn(|i| i as u8))); + assert_eq!(sh.fssm.len(), 1); + let f = &sh.fssm[0]; + assert_eq!(f.error, None); + assert_eq!(f.version, 0x101); + assert!(f.code_from_header); + assert_eq!(f.stages, vec![HwStage { offset: 0x100, hw: 5, api: 1 }]); + assert_eq!(f.programs, vec![Program { offset: 0x308, len: 12 }]); + let l = listing(&sh); + assert!(l.contains("s_mov_b32 s0, s1") && l.contains("v_add_f32") && l.contains("s_endpgm"), "{l}"); + assert!(!l.contains("s_code_end"), "padding must not be listed: {l}"); + let mut st = InstStats::default(); + st.add_shader(&sh); + assert_eq!(st.instructions, 3); + assert_eq!(st.undecoded, 0); + assert_eq!(st.by_mnemonic.get("s_endpgm"), Some(&1)); + } + + #[test] + fn gs_with_copy_shader_and_es_variant() { + // GS: two programs in one code region, two stage descriptors + let mut two = CODE.to_vec(); + two.extend_from_slice(&[0x00, 0x00, 0x9f, 0xbf]); + two.extend_from_slice(&CODE); + let gs = parse(&sample(2, &[fssm(&two, &[(3, 2), (4, 2)])])).unwrap(); + let f = &gs.fssm[0]; + assert_eq!(f.stage_label(), "GS+VS"); + assert_eq!(f.programs.len(), 2); + assert_eq!(f.programs[1].offset - f.programs[0].offset, 16); + // VS feeding a GS: two XBCH entries (ES + VS) + let vs = parse(&sample(1, &[fssm(&CODE, &[(2, 0)]), fssm(&CODE, &[(4, 0)])])).unwrap(); + assert_eq!(vs.fssm.iter().map(|f| f.stage_label()).collect::<Vec<_>>(), vec!["ES", "VS"]); + } + + #[test] + fn branch_target_after_endpgm_belongs_to_the_program() { + // s_cbranch_scc0 → +12 ; s_mov ; s_endpgm ; [+12] s_mov ; s_endpgm (PS discard exit) + let code = [ + 0x02, 0x00, 0x84, 0xbf, 0x01, 0x03, 0x80, 0xbe, 0x00, 0x00, 0x81, 0xbf, 0x01, 0x03, 0x80, 0xbe, 0x00, 0x00, 0x81, 0xbf, + ]; + let sh = parse(&sample(0, &[fssm(&code, &[(5, 1)])])).unwrap(); + assert_eq!(sh.fssm[0].programs, vec![Program { offset: 0x308, len: 20 }]); + assert!(sh.fssm[0].data_blocks.is_empty()); + // without the branch the tail is a second program + let mut code2 = code; + code2[0..4].copy_from_slice(&[0x00, 0x00, 0x80, 0xbf]); // s_nop + assert_eq!(parse(&sample(0, &[fssm(&code2, &[(5, 1)])])).unwrap().fssm[0].programs.len(), 2); + // a branch into the middle of the next segment also links it + let mut code3 = code; + code3[0..4].copy_from_slice(&[0x03, 0x00, 0x82, 0xbf]); // s_branch → +16 (second s_mov... s_endpgm) + assert_eq!(parse(&sample(0, &[fssm(&code3, &[(5, 1)])])).unwrap().fssm[0].programs, vec![Program { offset: 0x308, len: 20 }]); + } + + #[test] + fn counted_data_may_contain_endpgm_words() { + let mut code = CODE.to_vec(); + for w in [0xBF81_0000u32, 3, 0x3f80_0000, 0xBF81_0000, 0x1234_5678, 0xBF81_0000] { + code.extend_from_slice(&w.to_le_bytes()); + } + let f = &parse(&sample(0, &[fssm(&code, &[(5, 1)])])).unwrap().fssm[0]; + assert_eq!(f.programs, vec![Program { offset: 0x308, len: 12 }]); + assert_eq!(f.data_blocks, vec![Program { offset: 0x308 + 16, len: 20 }]); + } + + #[test] + fn constant_data_after_program_is_not_code() { + // as in retail data: program, guard s_endpgm, table (u32 N, N dwords), s_endpgm + let mut code = CODE.to_vec(); + for w in [0xBF81_0000u32, 4, 0x3e63_3333, 0x3df5_c28f, 0, 1, 0xBF81_0000] { + code.extend_from_slice(&w.to_le_bytes()); + } + let sh = parse(&sample(1, &[fssm(&code, &[(4, 0)])])).unwrap(); + let f = &sh.fssm[0]; + assert_eq!(f.programs, vec![Program { offset: 0x308, len: 12 }]); + assert_eq!(f.data_blocks, vec![Program { offset: 0x308 + 16, len: 24 }]); + let mut st = InstStats::default(); + st.add_shader(&sh); + assert_eq!((st.instructions, st.undecoded), (3, 0)); + assert!(listing(&sh).contains(".long 0x3e633333 ; 0.22"), "{}", listing(&sh)); + } + + #[test] + fn falls_back_when_header_pointer_is_wrong() { + let mut f = fssm(&CODE, &[(4, 0)]); + f[0xC0..0xC8].copy_from_slice(&0xFFFF_FFFFu64.to_le_bytes()); + let sh = parse(&sample(1, &[f])).unwrap(); + let f = &sh.fssm[0]; + assert!(!f.code_from_header); + assert!(f.programs.iter().any(|p| p.offset == 0x308), "{:?}", f.programs); + } + + #[test] + fn pc_shaders_are_not_xbox() { + assert!(parse(&container(&[(b"DXIL", b"\x66\0\0\0\x04\0\0\0DXIL\0\0\0\0")])).is_none()); + assert!(parse(b"random").is_none()); + // truncated XDAT table must not panic + let mut d = program_header(0, 8, 0x10); + d.extend_from_slice(b"XDAT\x05\0\0\0\x24\0\0\0"); + let sh = parse(&container(&[(b"DXIL", &d)])).unwrap(); + assert!(sh.fssm.is_empty() && !sh.notes.is_empty()); + } + + #[test] + fn split_skips_padding_and_keeps_unknown_words() { + let mut code = vec![0, 0, 0, 0, 0x00, 0x00, 0x9f, 0xbf]; + code.extend_from_slice(&[0xff, 0xff, 0xff, 0xff]); // undecodable + code.extend_from_slice(&CODE); + let p = split_segments(&code); + assert_eq!(p, vec![Segment { offset: 8, len: 16, counted_data: false }]); + let mut st = InstStats::default(); + st.add_code(&code[8..24]); + assert_eq!((st.instructions, st.undecoded), (3, 1)); + } +} diff --git a/crates/xcl/src/hle/d3d12_layout.rs b/crates/xcl/src/hle/d3d12_layout.rs new file mode 100644 index 0000000..3653181 --- /dev/null +++ b/crates/xcl/src/hle/d3d12_layout.rs @@ -0,0 +1,113 @@ +// @generated by scripts/gen_d3d12_layout.py from d3d12.h (microsoft/DirectX-Headers, MIT) – do not edit. + +pub struct Iface { + pub name: &'static str, + pub iid: &'static str, + pub parent: &'static str, + pub methods: &'static [&'static str], +} + +pub static IFACES: &[Iface] = &[ + Iface { name: "ID3D12ApplicationIdentity", iid: "82dc6c85-727b-4a8d-9169-db6ce3e975a0", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "SetApplicationIdentity"] }, + Iface { name: "ID3D12AsyncCommandsFallback", iid: "fbddf9e8-33a3-488c-9775-1a970dc54862", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "SetFallbackLayerEnabled", "GetFallbackLayerEnabled"] }, + Iface { name: "ID3D12CommandAllocator", iid: "6102dee4-af59-4b09-b999-b44d73f09b24", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "Reset"] }, + Iface { name: "ID3D12CommandList", iid: "7116d91c-e7e4-47ce-b8c6-ec8168f437e5", parent: "ID3D12DeviceChild", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType"] }, + Iface { name: "ID3D12CommandQueue", iid: "0ec870a6-5d7e-4c22-8cfc-5baae07616ed", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "UpdateTileMappings", "CopyTileMappings", "ExecuteCommandLists", "SetMarker", "BeginEvent", "EndEvent", "Signal", "Wait", "GetTimestampFrequency", "GetClockCalibration", "GetDesc"] }, + Iface { name: "ID3D12CommandQueue1", iid: "3a3c3165-0ee7-4b8e-a0af-6356b4c3bbb9", parent: "ID3D12CommandQueue", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "UpdateTileMappings", "CopyTileMappings", "ExecuteCommandLists", "SetMarker", "BeginEvent", "EndEvent", "Signal", "Wait", "GetTimestampFrequency", "GetClockCalibration", "GetDesc", "SetProcessPriority", "GetProcessPriority", "SetGlobalPriority", "GetGlobalPriority"] }, + Iface { name: "ID3D12CommandSignature", iid: "c36a797c-ec80-4f0a-8985-a7b2475082d1", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice"] }, + Iface { name: "ID3D12DSRDeviceFactory", iid: "f343d1a0-afe3-439f-b13d-cd87a43b70ca", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "CreateDSRDevice"] }, + Iface { name: "ID3D12DescriptorHeap", iid: "8efb471d-616c-4f49-90f7-127bb763fa51", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetDesc", "GetCPUDescriptorHandleForHeapStart", "GetGPUDescriptorHandleForHeapStart"] }, + Iface { name: "ID3D12Device", iid: "189819f1-1db6-4b57-be54-1821339b85f7", parent: "ID3D12Object", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid"] }, + Iface { name: "ID3D12Device1", iid: "77acce80-638e-4e65-8895-c1f23386863e", parent: "ID3D12Device", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority"] }, + Iface { name: "ID3D12Device10", iid: "517f8718-aa66-49f9-b02b-a7ab89c06031", parent: "ID3D12Device9", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1", "GetResourceAllocationInfo2", "CreateCommittedResource2", "CreatePlacedResource1", "CreateSamplerFeedbackUnorderedAccessView", "GetCopyableFootprints1", "CreateShaderCacheSession", "ShaderCacheControl", "CreateCommandQueue1", "CreateCommittedResource3", "CreatePlacedResource2", "CreateReservedResource2"] }, + Iface { name: "ID3D12Device11", iid: "5405c344-d457-444e-b4dd-2366e45aee39", parent: "ID3D12Device10", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1", "GetResourceAllocationInfo2", "CreateCommittedResource2", "CreatePlacedResource1", "CreateSamplerFeedbackUnorderedAccessView", "GetCopyableFootprints1", "CreateShaderCacheSession", "ShaderCacheControl", "CreateCommandQueue1", "CreateCommittedResource3", "CreatePlacedResource2", "CreateReservedResource2", "CreateSampler2"] }, + Iface { name: "ID3D12Device12", iid: "5af5c532-4c91-4cd0-b541-15a405395fc5", parent: "ID3D12Device11", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1", "GetResourceAllocationInfo2", "CreateCommittedResource2", "CreatePlacedResource1", "CreateSamplerFeedbackUnorderedAccessView", "GetCopyableFootprints1", "CreateShaderCacheSession", "ShaderCacheControl", "CreateCommandQueue1", "CreateCommittedResource3", "CreatePlacedResource2", "CreateReservedResource2", "CreateSampler2", "GetResourceAllocationInfo3"] }, + Iface { name: "ID3D12Device13", iid: "14eecffc-4df8-40f7-a118-5c816f45695e", parent: "ID3D12Device12", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1", "GetResourceAllocationInfo2", "CreateCommittedResource2", "CreatePlacedResource1", "CreateSamplerFeedbackUnorderedAccessView", "GetCopyableFootprints1", "CreateShaderCacheSession", "ShaderCacheControl", "CreateCommandQueue1", "CreateCommittedResource3", "CreatePlacedResource2", "CreateReservedResource2", "CreateSampler2", "GetResourceAllocationInfo3", "OpenExistingHeapFromAddress1"] }, + Iface { name: "ID3D12Device14", iid: "5f6e592d-d895-44c2-8e4a-88ad4926d323", parent: "ID3D12Device13", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1", "GetResourceAllocationInfo2", "CreateCommittedResource2", "CreatePlacedResource1", "CreateSamplerFeedbackUnorderedAccessView", "GetCopyableFootprints1", "CreateShaderCacheSession", "ShaderCacheControl", "CreateCommandQueue1", "CreateCommittedResource3", "CreatePlacedResource2", "CreateReservedResource2", "CreateSampler2", "GetResourceAllocationInfo3", "OpenExistingHeapFromAddress1", "CreateRootSignatureFromSubobjectInLibrary"] }, + Iface { name: "ID3D12Device15", iid: "76cff76f-1e9b-4450-8cdc-34f1af788e5b", parent: "ID3D12Device14", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1", "GetResourceAllocationInfo2", "CreateCommittedResource2", "CreatePlacedResource1", "CreateSamplerFeedbackUnorderedAccessView", "GetCopyableFootprints1", "CreateShaderCacheSession", "ShaderCacheControl", "CreateCommandQueue1", "CreateCommittedResource3", "CreatePlacedResource2", "CreateReservedResource2", "CreateSampler2", "GetResourceAllocationInfo3", "OpenExistingHeapFromAddress1", "CreateRootSignatureFromSubobjectInLibrary", "RegisterTrimNotificationCallback", "UnregisterTrimNotificationCallback", "TryCreateShaderResourceView", "TryCreateUnorderedAccessView", "TryCreateConstantBufferView", "TryCreateSampler2", "TryCreateRenderTargetView", "TryCreateDepthStencilView", "TryCreateSamplerFeedbackUnorderedAccessView", "CreateQueryHeap1", "ResolveQueryData"] }, + Iface { name: "ID3D12Device16", iid: "b34a50dd-e102-428f-82a0-82294a27bbe6", parent: "ID3D12Device15", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1", "GetResourceAllocationInfo2", "CreateCommittedResource2", "CreatePlacedResource1", "CreateSamplerFeedbackUnorderedAccessView", "GetCopyableFootprints1", "CreateShaderCacheSession", "ShaderCacheControl", "CreateCommandQueue1", "CreateCommittedResource3", "CreatePlacedResource2", "CreateReservedResource2", "CreateSampler2", "GetResourceAllocationInfo3", "OpenExistingHeapFromAddress1", "CreateRootSignatureFromSubobjectInLibrary", "RegisterTrimNotificationCallback", "UnregisterTrimNotificationCallback", "TryCreateShaderResourceView", "TryCreateUnorderedAccessView", "TryCreateConstantBufferView", "TryCreateSampler2", "TryCreateRenderTargetView", "TryCreateDepthStencilView", "TryCreateSamplerFeedbackUnorderedAccessView", "CreateQueryHeap1", "ResolveQueryData", "GetTextureLayoutCount", "GetTextureLayouts", "CreateCommittedResource4", "CreatePlacedResource3", "GetResourceAllocationInfo4", "GetCopyableFootprints2", "GetRowMajorTextureLayoutInfo", "CreateShaderCacheSession1", "DeleteShaderCache", "CheckFeatureSupport1"] }, + Iface { name: "ID3D12Device2", iid: "30baa41e-b15b-475c-a0bb-1af5c5b64328", parent: "ID3D12Device1", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState"] }, + Iface { name: "ID3D12Device3", iid: "81dadc15-2bad-4392-93c5-101345c4aa98", parent: "ID3D12Device2", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident"] }, + Iface { name: "ID3D12Device4", iid: "e865df17-a9ee-46f9-a463-3098315aa2e5", parent: "ID3D12Device3", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1"] }, + Iface { name: "ID3D12Device5", iid: "8b4f173b-2fea-4b80-8f58-4307191ab95d", parent: "ID3D12Device4", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier"] }, + Iface { name: "ID3D12Device6", iid: "c70b221b-40e4-4a17-89af-025a0727a6dc", parent: "ID3D12Device5", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode"] }, + Iface { name: "ID3D12Device7", iid: "5c014b53-68a1-4b9b-8bd1-dd6046b9358b", parent: "ID3D12Device6", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1"] }, + Iface { name: "ID3D12Device8", iid: "9218e6bb-f944-4f7e-a75c-b1b2c7b701f3", parent: "ID3D12Device7", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1", "GetResourceAllocationInfo2", "CreateCommittedResource2", "CreatePlacedResource1", "CreateSamplerFeedbackUnorderedAccessView", "GetCopyableFootprints1"] }, + Iface { name: "ID3D12Device9", iid: "4c80e962-f032-4f60-bc9e-ebc2cfa1d83c", parent: "ID3D12Device8", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetNodeCount", "CreateCommandQueue", "CreateCommandAllocator", "CreateGraphicsPipelineState", "CreateComputePipelineState", "CreateCommandList", "CheckFeatureSupport", "CreateDescriptorHeap", "GetDescriptorHandleIncrementSize", "CreateRootSignature", "CreateConstantBufferView", "CreateShaderResourceView", "CreateUnorderedAccessView", "CreateRenderTargetView", "CreateDepthStencilView", "CreateSampler", "CopyDescriptors", "CopyDescriptorsSimple", "GetResourceAllocationInfo", "GetCustomHeapProperties", "CreateCommittedResource", "CreateHeap", "CreatePlacedResource", "CreateReservedResource", "CreateSharedHandle", "OpenSharedHandle", "OpenSharedHandleByName", "MakeResident", "Evict", "CreateFence", "GetDeviceRemovedReason", "GetCopyableFootprints", "CreateQueryHeap", "SetStablePowerState", "CreateCommandSignature", "GetResourceTiling", "GetAdapterLuid", "CreatePipelineLibrary", "SetEventOnMultipleFenceCompletion", "SetResidencyPriority", "CreatePipelineState", "OpenExistingHeapFromAddress", "OpenExistingHeapFromFileMapping", "EnqueueMakeResident", "CreateCommandList1", "CreateProtectedResourceSession", "CreateCommittedResource1", "CreateHeap1", "CreateReservedResource1", "GetResourceAllocationInfo1", "CreateLifetimeTracker", "RemoveDevice", "EnumerateMetaCommands", "EnumerateMetaCommandParameters", "CreateMetaCommand", "CreateStateObject", "GetRaytracingAccelerationStructurePrebuildInfo", "CheckDriverMatchingIdentifier", "SetBackgroundProcessingMode", "AddToStateObject", "CreateProtectedResourceSession1", "GetResourceAllocationInfo2", "CreateCommittedResource2", "CreatePlacedResource1", "CreateSamplerFeedbackUnorderedAccessView", "GetCopyableFootprints1", "CreateShaderCacheSession", "ShaderCacheControl", "CreateCommandQueue1"] }, + Iface { name: "ID3D12DeviceChild", iid: "905db94b-a00c-4140-9df5-2b64ca9ea357", parent: "ID3D12Object", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice"] }, + Iface { name: "ID3D12DeviceConfiguration", iid: "78dbf87b-f766-422b-a61c-c8c446bdb9ad", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetDesc", "GetEnabledExperimentalFeatures", "SerializeVersionedRootSignature", "CreateVersionedRootSignatureDeserializer"] }, + Iface { name: "ID3D12DeviceConfiguration1", iid: "ed342442-6343-4e16-bb82-a3a577874e56", parent: "ID3D12DeviceConfiguration", methods: &["QueryInterface", "AddRef", "Release", "GetDesc", "GetEnabledExperimentalFeatures", "SerializeVersionedRootSignature", "CreateVersionedRootSignatureDeserializer", "CreateVersionedRootSignatureDeserializerFromSubobjectInLibrary"] }, + Iface { name: "ID3D12DeviceDumpFile", iid: "db82bfed-784d-40ea-aebf-08bcd7f0a9e4", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "ConfigureDumpFile", "SetDumpFileCallbacks", "AddBlobToDumpFile", "RetainDumpFile", "GetDeviceErrorCode"] }, + Iface { name: "ID3D12DeviceFactory", iid: "61f307d3-d34e-4e7c-8374-3ba4de23cccb", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "InitializeFromGlobalState", "ApplyToGlobalState", "SetFlags", "GetFlags", "GetConfigurationInterface", "EnableExperimentalFeatures", "CreateDevice"] }, + Iface { name: "ID3D12DeviceRemovedExtendedData", iid: "98931d33-5ae8-4791-aa3c-1a73a2934e71", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetAutoBreadcrumbsOutput", "GetPageFaultAllocationOutput"] }, + Iface { name: "ID3D12DeviceRemovedExtendedData1", iid: "9727a022-cf1d-4dda-9eba-effa653fc506", parent: "ID3D12DeviceRemovedExtendedData", methods: &["QueryInterface", "AddRef", "Release", "GetAutoBreadcrumbsOutput", "GetPageFaultAllocationOutput", "GetAutoBreadcrumbsOutput1", "GetPageFaultAllocationOutput1"] }, + Iface { name: "ID3D12DeviceRemovedExtendedData2", iid: "67fc5816-e4ca-4915-bf18-42541272da54", parent: "ID3D12DeviceRemovedExtendedData1", methods: &["QueryInterface", "AddRef", "Release", "GetAutoBreadcrumbsOutput", "GetPageFaultAllocationOutput", "GetAutoBreadcrumbsOutput1", "GetPageFaultAllocationOutput1", "GetPageFaultAllocationOutput2", "GetDeviceState"] }, + Iface { name: "ID3D12DeviceRemovedExtendedDataSettings", iid: "82bc481c-6b9b-4030-aedb-7ee3d1df1e63", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "SetAutoBreadcrumbsEnablement", "SetPageFaultEnablement", "SetWatsonDumpEnablement"] }, + Iface { name: "ID3D12DeviceRemovedExtendedDataSettings1", iid: "dbd5ae51-3317-4f0a-adf9-1d7cedcaae0b", parent: "ID3D12DeviceRemovedExtendedDataSettings", methods: &["QueryInterface", "AddRef", "Release", "SetAutoBreadcrumbsEnablement", "SetPageFaultEnablement", "SetWatsonDumpEnablement", "SetBreadcrumbContextEnablement"] }, + Iface { name: "ID3D12DeviceRemovedExtendedDataSettings2", iid: "61552388-01ab-4008-a436-83db189566ea", parent: "ID3D12DeviceRemovedExtendedDataSettings1", methods: &["QueryInterface", "AddRef", "Release", "SetAutoBreadcrumbsEnablement", "SetPageFaultEnablement", "SetWatsonDumpEnablement", "SetBreadcrumbContextEnablement", "UseMarkersOnlyAutoBreadcrumbs"] }, + Iface { name: "ID3D12DeviceStatistics", iid: "3d5ca1a8-a39e-4619-95e0-f9b0a40340f5", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetStateObjectStatistics"] }, + Iface { name: "ID3D12DeviceTools", iid: "2ea68e9c-19c3-4e47-a109-6cdadff0aca9", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "SetNextAllocationAddress"] }, + Iface { name: "ID3D12DeviceTools1", iid: "e30e9fc7-e641-4d6e-8a81-9dd9206ec47a", parent: "ID3D12DeviceTools", methods: &["QueryInterface", "AddRef", "Release", "SetNextAllocationAddress", "GetApplicationSpecificDriverState", "GetApplicationSpecificDriverBlobStatus"] }, + Iface { name: "ID3D12DeviceTools2", iid: "0edb4324-20a7-45ed-8016-c317a073be33", parent: "ID3D12DeviceTools1", methods: &["QueryInterface", "AddRef", "Release", "SetNextAllocationAddress", "GetApplicationSpecificDriverState", "GetApplicationSpecificDriverBlobStatus", "SetUserDefinedAnnotationMode", "GetUserDefinedAnnotationMode"] }, + Iface { name: "ID3D12Fence", iid: "0a753dcf-c4d8-4b91-adf6-be5a60d95a76", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetCompletedValue", "SetEventOnCompletion", "Signal"] }, + Iface { name: "ID3D12Fence1", iid: "433685fe-e22b-4ca0-a8db-b5b4f4dd0e4a", parent: "ID3D12Fence", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetCompletedValue", "SetEventOnCompletion", "Signal", "GetCreationFlags"] }, + Iface { name: "ID3D12GBVDiagnostics", iid: "597985ab-9b75-4dbb-be23-0761195bebee", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetGBVEntireSubresourceStatesData", "GetGBVSubresourceState", "GetGBVResourceUniformState", "GetGBVResourceInfo", "GBVReserved0", "GBVReserved1"] }, + Iface { name: "ID3D12GraphicsCommandList", iid: "5b160d0f-ac1b-4185-8ba8-b3ae42a5a455", parent: "ID3D12CommandList", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect"] }, + Iface { name: "ID3D12GraphicsCommandList1", iid: "553103fb-1fe7-4557-bb38-946d7d0e7ca7", parent: "ID3D12GraphicsCommandList", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask"] }, + Iface { name: "ID3D12GraphicsCommandList10", iid: "7013c015-d161-4b63-a08c-238552dd8acc", parent: "ID3D12GraphicsCommandList9", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession", "BeginRenderPass", "EndRenderPass", "InitializeMetaCommand", "ExecuteMetaCommand", "BuildRaytracingAccelerationStructure", "EmitRaytracingAccelerationStructurePostbuildInfo", "CopyRaytracingAccelerationStructure", "SetPipelineState1", "DispatchRays", "RSSetShadingRate", "RSSetShadingRateImage", "DispatchMesh", "Barrier", "OMSetFrontAndBackStencilRef", "RSSetDepthBias", "IASetIndexBufferStripCutValue", "SetProgram", "DispatchGraph"] }, + Iface { name: "ID3D12GraphicsCommandList11", iid: "823aee5b-c932-4b15-b4c4-4a28e7c34dea", parent: "ID3D12GraphicsCommandList10", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession", "BeginRenderPass", "EndRenderPass", "InitializeMetaCommand", "ExecuteMetaCommand", "BuildRaytracingAccelerationStructure", "EmitRaytracingAccelerationStructurePostbuildInfo", "CopyRaytracingAccelerationStructure", "SetPipelineState1", "DispatchRays", "RSSetShadingRate", "RSSetShadingRateImage", "DispatchMesh", "Barrier", "OMSetFrontAndBackStencilRef", "RSSetDepthBias", "IASetIndexBufferStripCutValue", "SetProgram", "DispatchGraph", "WaitBarrier", "SignalBarrier"] }, + Iface { name: "ID3D12GraphicsCommandList12", iid: "9524ea5e-c1b0-4fe5-a203-a75abc5d8e3a", parent: "ID3D12GraphicsCommandList11", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession", "BeginRenderPass", "EndRenderPass", "InitializeMetaCommand", "ExecuteMetaCommand", "BuildRaytracingAccelerationStructure", "EmitRaytracingAccelerationStructurePostbuildInfo", "CopyRaytracingAccelerationStructure", "SetPipelineState1", "DispatchRays", "RSSetShadingRate", "RSSetShadingRateImage", "DispatchMesh", "Barrier", "OMSetFrontAndBackStencilRef", "RSSetDepthBias", "IASetIndexBufferStripCutValue", "SetProgram", "DispatchGraph", "WaitBarrier", "SignalBarrier", "CopyBufferRegions", "CopyTextureRegions", "CopyResources", "CopyTilesAsync", "ResolveSubresourceRegionAsync", "ResolveQueryDataAsync", "ClearBoundDepthStencilView", "ClearBoundRenderTargetViews", "ClearTextureSubresources", "FillBuffers"] }, + Iface { name: "ID3D12GraphicsCommandList2", iid: "38c3e585-ff17-412c-9150-4fc6f9d72a28", parent: "ID3D12GraphicsCommandList1", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate"] }, + Iface { name: "ID3D12GraphicsCommandList3", iid: "6fda83a7-b84c-4e38-9ac8-c7bd22016b3d", parent: "ID3D12GraphicsCommandList2", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession"] }, + Iface { name: "ID3D12GraphicsCommandList4", iid: "8754318e-d3a9-4541-98cf-645b50dc4874", parent: "ID3D12GraphicsCommandList3", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession", "BeginRenderPass", "EndRenderPass", "InitializeMetaCommand", "ExecuteMetaCommand", "BuildRaytracingAccelerationStructure", "EmitRaytracingAccelerationStructurePostbuildInfo", "CopyRaytracingAccelerationStructure", "SetPipelineState1", "DispatchRays"] }, + Iface { name: "ID3D12GraphicsCommandList5", iid: "55050859-4024-474c-87f5-6472eaee44ea", parent: "ID3D12GraphicsCommandList4", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession", "BeginRenderPass", "EndRenderPass", "InitializeMetaCommand", "ExecuteMetaCommand", "BuildRaytracingAccelerationStructure", "EmitRaytracingAccelerationStructurePostbuildInfo", "CopyRaytracingAccelerationStructure", "SetPipelineState1", "DispatchRays", "RSSetShadingRate", "RSSetShadingRateImage"] }, + Iface { name: "ID3D12GraphicsCommandList6", iid: "c3827890-e548-4cfa-96cf-5689a9370f80", parent: "ID3D12GraphicsCommandList5", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession", "BeginRenderPass", "EndRenderPass", "InitializeMetaCommand", "ExecuteMetaCommand", "BuildRaytracingAccelerationStructure", "EmitRaytracingAccelerationStructurePostbuildInfo", "CopyRaytracingAccelerationStructure", "SetPipelineState1", "DispatchRays", "RSSetShadingRate", "RSSetShadingRateImage", "DispatchMesh"] }, + Iface { name: "ID3D12GraphicsCommandList7", iid: "dd171223-8b61-4769-90e3-160ccde4e2c1", parent: "ID3D12GraphicsCommandList6", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession", "BeginRenderPass", "EndRenderPass", "InitializeMetaCommand", "ExecuteMetaCommand", "BuildRaytracingAccelerationStructure", "EmitRaytracingAccelerationStructurePostbuildInfo", "CopyRaytracingAccelerationStructure", "SetPipelineState1", "DispatchRays", "RSSetShadingRate", "RSSetShadingRateImage", "DispatchMesh", "Barrier"] }, + Iface { name: "ID3D12GraphicsCommandList8", iid: "ee936ef9-599d-4d28-938e-23c4ad05ce51", parent: "ID3D12GraphicsCommandList7", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession", "BeginRenderPass", "EndRenderPass", "InitializeMetaCommand", "ExecuteMetaCommand", "BuildRaytracingAccelerationStructure", "EmitRaytracingAccelerationStructurePostbuildInfo", "CopyRaytracingAccelerationStructure", "SetPipelineState1", "DispatchRays", "RSSetShadingRate", "RSSetShadingRateImage", "DispatchMesh", "Barrier", "OMSetFrontAndBackStencilRef"] }, + Iface { name: "ID3D12GraphicsCommandList9", iid: "34ed2808-ffe6-4c2b-b11a-cabd2b0c59e1", parent: "ID3D12GraphicsCommandList8", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetType", "Close", "Reset", "ClearState", "DrawInstanced", "DrawIndexedInstanced", "Dispatch", "CopyBufferRegion", "CopyTextureRegion", "CopyResource", "CopyTiles", "ResolveSubresource", "IASetPrimitiveTopology", "RSSetViewports", "RSSetScissorRects", "OMSetBlendFactor", "OMSetStencilRef", "SetPipelineState", "ResourceBarrier", "ExecuteBundle", "SetDescriptorHeaps", "SetComputeRootSignature", "SetGraphicsRootSignature", "SetComputeRootDescriptorTable", "SetGraphicsRootDescriptorTable", "SetComputeRoot32BitConstant", "SetGraphicsRoot32BitConstant", "SetComputeRoot32BitConstants", "SetGraphicsRoot32BitConstants", "SetComputeRootConstantBufferView", "SetGraphicsRootConstantBufferView", "SetComputeRootShaderResourceView", "SetGraphicsRootShaderResourceView", "SetComputeRootUnorderedAccessView", "SetGraphicsRootUnorderedAccessView", "IASetIndexBuffer", "IASetVertexBuffers", "SOSetTargets", "OMSetRenderTargets", "ClearDepthStencilView", "ClearRenderTargetView", "ClearUnorderedAccessViewUint", "ClearUnorderedAccessViewFloat", "DiscardResource", "BeginQuery", "EndQuery", "ResolveQueryData", "SetPredication", "SetMarker", "BeginEvent", "EndEvent", "ExecuteIndirect", "AtomicCopyBufferUINT", "AtomicCopyBufferUINT64", "OMSetDepthBounds", "SetSamplePositions", "ResolveSubresourceRegion", "SetViewInstanceMask", "WriteBufferImmediate", "SetProtectedResourceSession", "BeginRenderPass", "EndRenderPass", "InitializeMetaCommand", "ExecuteMetaCommand", "BuildRaytracingAccelerationStructure", "EmitRaytracingAccelerationStructurePostbuildInfo", "CopyRaytracingAccelerationStructure", "SetPipelineState1", "DispatchRays", "RSSetShadingRate", "RSSetShadingRateImage", "DispatchMesh", "Barrier", "OMSetFrontAndBackStencilRef", "RSSetDepthBias", "IASetIndexBufferStripCutValue"] }, + Iface { name: "ID3D12Heap", iid: "6b3b2502-6e51-45b3-90ee-9884265e8df3", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetDesc"] }, + Iface { name: "ID3D12Heap1", iid: "572f7389-2168-49e3-9693-d6df5871bf6d", parent: "ID3D12Heap", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetDesc", "GetProtectedResourceSession"] }, + Iface { name: "ID3D12LifetimeOwner", iid: "e667af9f-cd56-4f46-83ce-032e595d70a8", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "LifetimeStateUpdated"] }, + Iface { name: "ID3D12LifetimeTracker", iid: "3fd03d36-4eb1-424a-a582-494ecb8ba813", parent: "ID3D12DeviceChild", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "DestroyOwnedObject"] }, + Iface { name: "ID3D12MetaCommand", iid: "dbb84c27-36ce-4fc9-b801-f048c46ac570", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetRequiredParameterResourceSize"] }, + Iface { name: "ID3D12Object", iid: "c4fec28f-7966-4e95-9f94-f431cb56c3b8", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName"] }, + Iface { name: "ID3D12Pageable", iid: "63ee58fb-1268-4835-86da-f008ce62f0d6", parent: "ID3D12DeviceChild", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice"] }, + Iface { name: "ID3D12PageableTools", iid: "8f1359db-d8d1-42f9-b5cf-79f4cbad0d3d", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetAllocation"] }, + Iface { name: "ID3D12PipelineLibrary", iid: "c64226a8-9201-46af-b4cc-53fb9ff7414f", parent: "ID3D12DeviceChild", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "StorePipeline", "LoadGraphicsPipeline", "LoadComputePipeline", "GetSerializedSize", "Serialize"] }, + Iface { name: "ID3D12PipelineLibrary1", iid: "80eabf42-2568-4e5e-bd82-c37f86961dc3", parent: "ID3D12PipelineLibrary", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "StorePipeline", "LoadGraphicsPipeline", "LoadComputePipeline", "GetSerializedSize", "Serialize", "LoadPipeline"] }, + Iface { name: "ID3D12PipelineState", iid: "765a30f3-f624-4c6f-a828-ace948622445", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetCachedBlob"] }, + Iface { name: "ID3D12PipelineState1", iid: "5646804c-9638-48f7-9182-b3ee5a6b60fb", parent: "ID3D12PipelineState", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetCachedBlob", "GetRootSignature"] }, + Iface { name: "ID3D12ProtectedResourceSession", iid: "6cd696f4-f289-40cc-8091-5a6c0a099c3d", parent: "ID3D12ProtectedSession", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetStatusFence", "GetSessionStatus", "GetDesc"] }, + Iface { name: "ID3D12ProtectedResourceSession1", iid: "d6f12dd6-76fb-406e-8961-4296eefc0409", parent: "ID3D12ProtectedResourceSession", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetStatusFence", "GetSessionStatus", "GetDesc", "GetDesc1"] }, + Iface { name: "ID3D12ProtectedSession", iid: "a1533d18-0ac1-4084-85b9-89a96116806b", parent: "ID3D12DeviceChild", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetStatusFence", "GetSessionStatus"] }, + Iface { name: "ID3D12QueryHeap", iid: "0d9658ae-ed45-469e-a61d-970ec583cab4", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice"] }, + Iface { name: "ID3D12Resource", iid: "696442be-a72e-4059-bc79-5b5c98040fad", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "Map", "Unmap", "GetDesc", "GetGPUVirtualAddress", "WriteToSubresource", "ReadFromSubresource", "GetHeapProperties"] }, + Iface { name: "ID3D12Resource1", iid: "9d5e227a-4430-4161-88b3-3eca6bb16e19", parent: "ID3D12Resource", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "Map", "Unmap", "GetDesc", "GetGPUVirtualAddress", "WriteToSubresource", "ReadFromSubresource", "GetHeapProperties", "GetProtectedResourceSession"] }, + Iface { name: "ID3D12Resource2", iid: "be36ec3b-ea85-4aeb-a45a-e9d76404a495", parent: "ID3D12Resource1", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "Map", "Unmap", "GetDesc", "GetGPUVirtualAddress", "WriteToSubresource", "ReadFromSubresource", "GetHeapProperties", "GetProtectedResourceSession", "GetDesc1"] }, + Iface { name: "ID3D12Resource3", iid: "b5e58a68-46f3-4ece-a278-2246c1eb4093", parent: "ID3D12Resource2", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "Map", "Unmap", "GetDesc", "GetGPUVirtualAddress", "WriteToSubresource", "ReadFromSubresource", "GetHeapProperties", "GetProtectedResourceSession", "GetDesc1", "GetDesc2", "GetCastableFormatsCount", "GetCastableFormats"] }, + Iface { name: "ID3D12ResourceOpaqueTextureLayout", iid: "a7c3f1e8-2b94-4d06-9f5a-e8d1c40b7263", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetOpaqueTextureRowMajorLayoutInfo"] }, + Iface { name: "ID3D12RootSignature", iid: "c54a6b66-72df-4ee8-8be5-a946a1429214", parent: "ID3D12DeviceChild", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice"] }, + Iface { name: "ID3D12RootSignature1", iid: "c390bd7d-9142-4a95-b072-6d3439ade5c4", parent: "ID3D12RootSignature", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "GetSerializedSize", "GetSerializedData"] }, + Iface { name: "ID3D12RootSignatureDeserializer", iid: "34ab647b-3cc8-46ac-841b-c0965645c046", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetRootSignatureDesc"] }, + Iface { name: "ID3D12RuntimeValidationControl", iid: "c706c811-3663-4bf1-91b9-1e8a7c114ab9", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "DisableFailuresFromStricterValidationInAppLocalRuntime", "FailuresFromStricterValidationInAppLocalRuntimeDisabled"] }, + Iface { name: "ID3D12SDKConfiguration", iid: "e9eb5314-33aa-42b2-a718-d77f58b1f1c7", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "SetSDKVersion"] }, + Iface { name: "ID3D12SDKConfiguration1", iid: "8aaf9303-ad25-48b9-9a57-d9c37e009d9f", parent: "ID3D12SDKConfiguration", methods: &["QueryInterface", "AddRef", "Release", "SetSDKVersion", "CreateDeviceFactory", "FreeUnusedSDKs"] }, + Iface { name: "ID3D12ShaderCacheSession", iid: "28e2495d-0f64-4ae4-a6ec-129255dc49a8", parent: "ID3D12DeviceChild", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "FindValue", "StoreValue", "SetDeleteOnDestroy", "GetDesc"] }, + Iface { name: "ID3D12ShaderCacheSession1", iid: "1c5789ff-9203-490f-b971-984acf1eb5fe", parent: "ID3D12ShaderCacheSession", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice", "FindValue", "StoreValue", "SetDeleteOnDestroy", "GetDesc", "FindValue1", "StoreValue1", "GetSessionInfo", "TrimTo"] }, + Iface { name: "ID3D12StateObject", iid: "47016943-fca8-4594-93ea-af258b55346d", parent: "ID3D12Pageable", methods: &["QueryInterface", "AddRef", "Release", "GetPrivateData", "SetPrivateData", "SetPrivateDataInterface", "SetName", "GetDevice"] }, + Iface { name: "ID3D12StateObjectDatabase", iid: "c56060b7-b5fc-4135-98e0-a1e9997eace0", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "SetApplicationDesc", "GetApplicationDesc", "StorePipelineStateDesc", "FindPipelineStateDesc", "StoreStateObjectDesc", "FindStateObjectDesc", "FindObjectVersion"] }, + Iface { name: "ID3D12StateObjectDatabase1", iid: "c700e43f-47a6-4ec6-ad83-f275400231af", parent: "ID3D12StateObjectDatabase", methods: &["QueryInterface", "AddRef", "Release", "SetApplicationDesc", "GetApplicationDesc", "StorePipelineStateDesc", "FindPipelineStateDesc", "StoreStateObjectDesc", "FindStateObjectDesc", "FindObjectVersion", "EnumeratePipelineStates", "EnumerateStateObjects", "GetStateObjectDependencies", "SetApplicationDesc1", "GetApplicationDesc1", "FindPipelineStateDesc1", "FindStateObjectDesc1", "GetPipelineStateDescCount", "GetStateObjectDescCount", "BeginTransaction", "CommitTransaction", "RollbackTransaction", "IsTransactionActive", "Checkpoint", "StorePipelineStateDesc1", "StoreStateObjectDesc1"] }, + Iface { name: "ID3D12StateObjectDatabaseCapture", iid: "d67447bc-4d6c-4ca5-a2a8-deeea4c145c4", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "EnableCapture"] }, + Iface { name: "ID3D12StateObjectDatabaseFactory", iid: "f5b066f0-648a-4611-bd41-27fd0948b9eb", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "CreateStateObjectDatabaseFromFile"] }, + Iface { name: "ID3D12StateObjectDatabaseFactory1", iid: "68a6585d-0ac7-4fa4-ba33-e3bd442f2833", parent: "ID3D12StateObjectDatabaseFactory", methods: &["QueryInterface", "AddRef", "Release", "CreateStateObjectDatabaseFromFile", "CreateStateObjectDatabaseFromFile1"] }, + Iface { name: "ID3D12StateObjectProperties", iid: "de5fa827-9bf9-4f26-89ff-d7f56fde3860", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetShaderIdentifier", "GetShaderStackSize", "GetPipelineStackSize", "SetPipelineStackSize"] }, + Iface { name: "ID3D12StateObjectProperties1", iid: "460caac7-1d24-446a-a184-ca67db494138", parent: "ID3D12StateObjectProperties", methods: &["QueryInterface", "AddRef", "Release", "GetShaderIdentifier", "GetShaderStackSize", "GetPipelineStackSize", "SetPipelineStackSize", "GetProgramIdentifier"] }, + Iface { name: "ID3D12StateObjectProperties2", iid: "d5e82917-f0f1-44cf-ae5e-ce222dd0b884", parent: "ID3D12StateObjectProperties1", methods: &["QueryInterface", "AddRef", "Release", "GetShaderIdentifier", "GetShaderStackSize", "GetPipelineStackSize", "SetPipelineStackSize", "GetProgramIdentifier", "GetGlobalRootSignatureForProgram", "GetGlobalRootSignatureForShader"] }, + Iface { name: "ID3D12SwapChainAssistant", iid: "f1df64b6-57fd-49cd-8807-c0eb88b45c8f", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetLUID", "GetSwapChainObject", "GetCurrentResourceAndCommandQueue", "InsertImplicitSync"] }, + Iface { name: "ID3D12Tools", iid: "7071e1f0-e84b-4b33-974f-12fa49de65c5", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "EnableShaderInstrumentation", "ShaderInstrumentationEnabled"] }, + Iface { name: "ID3D12Tools1", iid: "e4fbc019-dd3c-43e1-8f32-7f649575f0a0", parent: "ID3D12Tools", methods: &["QueryInterface", "AddRef", "Release", "EnableShaderInstrumentation", "ShaderInstrumentationEnabled", "ReserveGPUVARangesAtCreate", "ClearReservedGPUVARangesList"] }, + Iface { name: "ID3D12Tools2", iid: "01d393c5-c9b0-42a1-958c-c26b02d4d097", parent: "ID3D12Tools1", methods: &["QueryInterface", "AddRef", "Release", "EnableShaderInstrumentation", "ShaderInstrumentationEnabled", "ReserveGPUVARangesAtCreate", "ClearReservedGPUVARangesList", "SetApplicationSpecificDriverState"] }, + Iface { name: "ID3D12VersionedRootSignatureDeserializer", iid: "7f91ce67-090c-4bb7-b78e-ed8ff2e31da0", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetRootSignatureDescAtVersion", "GetUnconvertedRootSignatureDesc"] }, + Iface { name: "ID3D12VirtualizationGuestDevice", iid: "bc66d368-7373-4943-8757-fc87dc79e476", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "ShareWithHost", "CreateFenceFd"] }, + Iface { name: "ID3D12WorkGraphProperties", iid: "065acf71-f863-4b89-82f4-02e4d5886757", parent: "IUnknown", methods: &["QueryInterface", "AddRef", "Release", "GetNumWorkGraphs", "GetProgramName", "GetWorkGraphIndex", "GetNumNodes", "GetNodeID", "GetNodeIndex", "GetNodeLocalRootArgumentsTableIndex", "GetNumEntrypoints", "GetEntrypointID", "GetEntrypointIndex", "GetEntrypointRecordSizeInBytes", "GetWorkGraphMemoryRequirements", "GetEntrypointRecordAlignmentInBytes"] }, +]; diff --git a/crates/xcl/src/hle/d3d12x/guard.rs b/crates/xcl/src/hle/d3d12x/guard.rs new file mode 100644 index 0000000..bdec261 --- /dev/null +++ b/crates/xcl/src/hle/d3d12x/guard.rs @@ -0,0 +1,84 @@ +//! Slot guards for extended vtables. +//! +//! Real D3D12 objects keep internal virtual methods right after their public +//! interface (probe on Windows 11: device 125 entries vs 104 public, queue 42 vs 19). +//! The runtime calls those internally, so they must stay intact – but a console title +//! calling the same slot index means an Xbox-only method (e.g. PresentX). +//! +//! A guard thunk looks at its return address: called from the game's image → log it +//! as an Xbox method and return 0; called from anywhere else (the runtime itself) → +//! jump to the original function with all argument registers untouched. +//! +//! ```text +//! push rcx/rdx/r8/r9 ; sub rsp,0x68 ; save xmm0-3 +//! rcx = [rsp+0x88] (return address), rdx = StubInfo*, call classify +//! restore xmm0-3 ; add rsp,0x68 ; pop r9/r8/rdx/rcx +//! test rax,rax ; jnz stub ; mov rax, original ; jmp rax +//! stub: xor eax,eax ; ret +//! ``` + +use crate::stubs::{self, StubInfo}; + +unsafe extern "system" fn classify(caller: usize, info: *const StubInfo) -> usize { + if crate::modules::image_base_for_addr(caller).is_some() { + stubs::record_call(&*info, caller); + 1 + } else { + 0 + } +} + +pub fn make_guard(original: usize, info: &'static StubInfo) -> usize { + let mut c: Vec<u8> = Vec::with_capacity(128); + c.extend_from_slice(&[0x51, 0x52, 0x41, 0x50, 0x41, 0x51]); // push rcx, rdx, r8, r9 + c.extend_from_slice(&[0x48, 0x83, 0xEC, 0x68]); // sub rsp, 0x68 + for (reg, off) in [(0x44u8, 0x20u8), (0x4C, 0x30), (0x54, 0x40), (0x5C, 0x50)] { + c.extend_from_slice(&[0xF3, 0x0F, 0x7F, reg, 0x24, off]); // movdqu [rsp+off], xmmN + } + c.extend_from_slice(&[0x48, 0x8B, 0x8C, 0x24, 0x88, 0x00, 0x00, 0x00]); // mov rcx, [rsp+0x88] + c.extend_from_slice(&[0x48, 0xBA]); // mov rdx, imm64 + c.extend_from_slice(&(info as *const StubInfo as u64).to_le_bytes()); + c.extend_from_slice(&[0x48, 0xB8]); // mov rax, imm64 + c.extend_from_slice(&(classify as usize as u64).to_le_bytes()); + c.extend_from_slice(&[0xFF, 0xD0]); // call rax + for (reg, off) in [(0x44u8, 0x20u8), (0x4C, 0x30), (0x54, 0x40), (0x5C, 0x50)] { + c.extend_from_slice(&[0xF3, 0x0F, 0x6F, reg, 0x24, off]); // movdqu xmmN, [rsp+off] + } + c.extend_from_slice(&[0x48, 0x83, 0xC4, 0x68]); // add rsp, 0x68 + c.extend_from_slice(&[0x41, 0x59, 0x41, 0x58, 0x5A, 0x59]); // pop r9, r8, rdx, rcx + c.extend_from_slice(&[0x48, 0x85, 0xC0]); // test rax, rax + c.extend_from_slice(&[0x75, 0x0C]); // jnz +12 + c.extend_from_slice(&[0x48, 0xB8]); // mov rax, imm64 + c.extend_from_slice(&(original as u64).to_le_bytes()); + c.extend_from_slice(&[0xFF, 0xE0]); // jmp rax + c.extend_from_slice(&[0x31, 0xC0, 0xC3]); // xor eax, eax ; ret + let p = stubs::alloc_code(c.len()); + unsafe { + std::ptr::copy_nonoverlapping(c.as_ptr(), p, c.len()); + windows_sys::Win32::System::Diagnostics::Debug::FlushInstructionCache( + windows_sys::Win32::System::Threading::GetCurrentProcess(), + p as *const _, + c.len(), + ); + } + p as usize +} + +#[cfg(test)] +mod tests { + use super::*; + + extern "system" fn original(a: u64, b: u64, c: u64, d: u64, e: u64, f: f64) -> u64 { + a + 10 * b + 100 * c + 1000 * d + 10000 * e + (f * 100000.0) as u64 + } + + #[test] + fn guard_forwards_calls_that_do_not_come_from_a_game_image() { + let info = stubs::new_info("unit.dll", "IGuard::#7", 0); + let g = make_guard(original as usize, info); + let f: extern "system" fn(u64, u64, u64, u64, u64, f64) -> u64 = unsafe { std::mem::transmute(g) }; + // all integer args, a stack arg and a float arg survive the round trip + assert_eq!(f(1, 2, 3, 4, 5, 6.0), 654321); + assert_eq!(info.calls.load(std::sync::atomic::Ordering::Relaxed), 0); + } +} diff --git a/crates/xcl/src/hle/d3d12x/layout.rs b/crates/xcl/src/hle/d3d12x/layout.rs new file mode 100644 index 0000000..f0744d4 --- /dev/null +++ b/crates/xcl/src/hle/d3d12x/layout.rs @@ -0,0 +1,59 @@ +//! Lookups over the generated PC D3D12 interface table (`hle/d3d12_layout.rs`). + +use windows_sys::core::GUID; + +pub use crate::hle::d3d12_layout::Iface; +use crate::hle::d3d12_layout::IFACES; + +pub fn find(name: &str) -> Option<&'static Iface> { + IFACES.iter().find(|i| i.name == name) +} + +pub fn slot(iface: &Iface, method: &str) -> Option<usize> { + iface.methods.iter().position(|m| *m == method) +} + +/// `base` and its numbered versions (ID3D12Device, ID3D12Device1, …), most derived first. +pub fn chain(base: &str) -> Vec<&'static Iface> { + let mut v: Vec<&'static Iface> = IFACES + .iter() + .filter(|i| i.name == base || (i.name.starts_with(base) && i.name[base.len()..].chars().all(|c| c.is_ascii_digit()))) + .collect(); + v.sort_by(|a, b| b.methods.len().cmp(&a.methods.len())); + v +} + +pub fn parse_guid(s: &str) -> GUID { + let hex: String = s.chars().filter(|c| c.is_ascii_hexdigit()).collect(); + GUID::from_u128(u128::from_str_radix(&hex, 16).unwrap_or(0)) +} + +pub fn guid_string(g: &GUID) -> String { + format!( + "{:08x}-{:04x}-{:04x}-{:02x}{:02x}-{:02x}{:02x}{:02x}{:02x}{:02x}{:02x}", + g.data1, g.data2, g.data3, g.data4[0], g.data4[1], g.data4[2], g.data4[3], g.data4[4], g.data4[5], g.data4[6], g.data4[7] + ) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn known_slots_and_chains() { + let dev = find("ID3D12Device").unwrap(); + assert_eq!(slot(dev, "CreateCommandQueue"), Some(8)); + assert_eq!(slot(dev, "CreateCommittedResource"), Some(27)); + assert_eq!(slot(dev, "CreateFence"), Some(36)); + let q = find("ID3D12CommandQueue").unwrap(); + assert_eq!(slot(q, "ExecuteCommandLists"), Some(10)); + let cl = find("ID3D12GraphicsCommandList").unwrap(); + assert_eq!(slot(cl, "OMSetRenderTargets"), Some(46)); + let c = chain("ID3D12Device"); + assert!(c.len() >= 10 && c[0].methods.len() > c[c.len() - 1].methods.len()); + assert!(c.iter().all(|i| i.name.starts_with("ID3D12Device"))); + assert!(!chain("ID3D12Device").iter().any(|i| i.name == "ID3D12DeviceChild")); + let g = parse_guid(dev.iid); + assert_eq!(guid_string(&g), "189819f1-1db6-4b57-be54-1821339b85f7"); + } +} diff --git a/crates/xcl/src/hle/d3d12x/mod.rs b/crates/xcl/src/hle/d3d12x/mod.rs new file mode 100644 index 0000000..8e1f915 --- /dev/null +++ b/crates/xcl/src/hle/d3d12x/mod.rs @@ -0,0 +1,162 @@ +//! d3d12_xs.dll – D3D12.X. +//! +//! Backends: +//! * `real` (default): genuine PC D3D12 objects from the GPU driver with extended +//! vtables (PC methods go straight to the driver, console-only slots are guarded and +//! logged), shader capture, fallback pipeline states, presentation window. +//! * `null`: stand-in objects that render nothing (`graphics = "null"` in xcl.toml or +//! when no D3D12 device can be created). + +#![allow(non_snake_case)] + +pub mod guard; +pub mod layout; +pub mod null; +pub mod present; +pub mod real; + +use std::ffi::c_void; +use std::sync::OnceLock; + +use crate::util::{HRESULT, S_OK}; + +pub fn exports() -> Vec<(&'static str, usize)> { + crate::hle_exports![ + D3D12CreateDevice, + D3D12XboxCreateDevice, + D3D12GetDebugInterface, + D3D12SerializeRootSignature, + D3D12SerializeVersionedRootSignature, + D3D12CreateRootSignatureDeserializer, + D3D12CreateVersionedRootSignatureDeserializer, + D3D12EnableExperimentalFeatures, + D3D12GetInterface, + D3D10CreateBlob, + D3D12XboxSetProcessDebugFlags, + ] +} + +#[derive(Clone, Copy, PartialEq, Eq, Debug)] +pub enum Backend { + Real, + Null, +} + +/// Decided once: the real backend unless disabled or the driver refuses. +pub fn backend() -> Backend { + static B: OnceLock<Backend> = OnceLock::new(); + *B.get_or_init(|| { + let cfg = crate::state::config(); + if cfg.graphics.eq_ignore_ascii_case("null") { + crate::xlog_info!("D3D12.X: backend 'null' (z konfiguracji)"); + return Backend::Null; + } + match real::init() { + Ok(desc) => { + crate::xlog_info!("D3D12.X: backend 'real' – {desc}"); + Backend::Real + } + Err(e) => { + crate::xlog_warn!("D3D12.X: nie udało się utworzyć urządzenia D3D12 ({e}) – przełączam na urządzenie zastępcze"); + Backend::Null + } + } + }) +} + +/// Call a function of the system d3d12.dll by name. +unsafe fn sys(name: &str) -> Option<usize> { + crate::resolver::system_proc("d3d12.dll", &crate::pe::ImportName::Name { hint: 0, name: name.into() }) +} + +macro_rules! forward { + ($name:literal, $ty:ty, $null:expr, ($($a:ident),*)) => {{ + if backend() == Backend::Real { + if let Some(f) = sys($name) { + let f: $ty = std::mem::transmute(f); + return f($($a),*); + } + } + $null($($a),*) + }}; +} + +pub unsafe extern "system" fn D3D12CreateDevice(adapter: *mut c_void, fl: u32, riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if backend() == Backend::Real { + return real::create_device(riid, ppv); + } + null::D3D12CreateDevice(adapter, fl, riid, ppv) +} + +pub unsafe extern "system" fn D3D12XboxCreateDevice(adapter: *mut c_void, params: *const c_void, riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if backend() == Backend::Real { + return real::create_device(riid, ppv); + } + null::D3D12XboxCreateDevice(adapter, params, riid, ppv) +} + +pub unsafe extern "system" fn D3D12GetDebugInterface(riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + forward!("D3D12GetDebugInterface", unsafe extern "system" fn(*const c_void, *mut *mut c_void) -> HRESULT, null::D3D12GetDebugInterface, (riid, ppv)) +} + +pub unsafe extern "system" fn D3D12SerializeRootSignature(d: *const c_void, v: u32, blob: *mut *mut c_void, err: *mut *mut c_void) -> HRESULT { + forward!( + "D3D12SerializeRootSignature", + unsafe extern "system" fn(*const c_void, u32, *mut *mut c_void, *mut *mut c_void) -> HRESULT, + null::D3D12SerializeRootSignature, + (d, v, blob, err) + ) +} + +pub unsafe extern "system" fn D3D12SerializeVersionedRootSignature(d: *const c_void, blob: *mut *mut c_void, err: *mut *mut c_void) -> HRESULT { + forward!( + "D3D12SerializeVersionedRootSignature", + unsafe extern "system" fn(*const c_void, *mut *mut c_void, *mut *mut c_void) -> HRESULT, + null::D3D12SerializeVersionedRootSignature, + (d, blob, err) + ) +} + +pub unsafe extern "system" fn D3D12CreateRootSignatureDeserializer(d: *const c_void, l: usize, r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + forward!( + "D3D12CreateRootSignatureDeserializer", + unsafe extern "system" fn(*const c_void, usize, *const c_void, *mut *mut c_void) -> HRESULT, + null::D3D12CreateRootSignatureDeserializer, + (d, l, r, ppv) + ) +} + +pub unsafe extern "system" fn D3D12CreateVersionedRootSignatureDeserializer(d: *const c_void, l: usize, r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + forward!( + "D3D12CreateVersionedRootSignatureDeserializer", + unsafe extern "system" fn(*const c_void, usize, *const c_void, *mut *mut c_void) -> HRESULT, + null::D3D12CreateVersionedRootSignatureDeserializer, + (d, l, r, ppv) + ) +} + +pub unsafe extern "system" fn D3D12EnableExperimentalFeatures(n: u32, i: *const c_void, c: *mut c_void, s: *mut u32) -> HRESULT { + forward!( + "D3D12EnableExperimentalFeatures", + unsafe extern "system" fn(u32, *const c_void, *mut c_void, *mut u32) -> HRESULT, + null::D3D12EnableExperimentalFeatures, + (n, i, c, s) + ) +} + +pub unsafe extern "system" fn D3D12GetInterface(clsid: *const c_void, riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + forward!( + "D3D12GetInterface", + unsafe extern "system" fn(*const c_void, *const c_void, *mut *mut c_void) -> HRESULT, + null::D3D12GetInterface, + (clsid, riid, ppv) + ) +} + +pub unsafe extern "system" fn D3D10CreateBlob(size: usize, out: *mut *mut c_void) -> HRESULT { + null::D3D10CreateBlob(size, out) +} + +pub unsafe extern "system" fn D3D12XboxSetProcessDebugFlags(_flags: u32) -> HRESULT { + S_OK +} diff --git a/crates/xcl/src/hle/d3d12x/null.rs b/crates/xcl/src/hle/d3d12x/null.rs new file mode 100644 index 0000000..e8d7365 --- /dev/null +++ b/crates/xcl/src/hle/d3d12x/null.rs @@ -0,0 +1,790 @@ +//! D3D12.X "null device" – fallback backend (design §5.5a). +//! +//! Objects accept every call, log it, and hand back plausible outputs (child objects, +//! descriptor handles, completed fences, mappable memory) so a title can get past +//! graphics initialisation and keep loading data. Nothing is rendered. Used when the +//! real backend is disabled (`graphics = "null"`) or no D3D12 device can be created. +//! +//! Vtable layout guess: public PC D3D12 order (DirectX-Headers). Every slot we do not +//! implement is a logging stub named "<Interface>::#<slot>", so reports from real titles +//! show exactly where the console layout differs. + +#![allow(non_snake_case)] + +use std::ffi::c_void; +use std::sync::atomic::{AtomicU32, AtomicU64, Ordering}; +use std::sync::{Mutex, OnceLock}; + +use crate::util::{E_INVALIDARG, E_NOINTERFACE, E_NOTIMPL, HRESULT, S_FALSE, S_OK}; + +const VTBL_SLOTS: usize = 256; +const DLL: &str = "d3d12_xs.dll"; + +#[derive(Clone, Copy, PartialEq, Eq, Debug)] +pub enum Kind { + Device, + CommandQueue, + CommandAllocator, + CommandList, + Fence, + DescriptorHeap, + Resource, + Heap, + PipelineState, + RootSignature, + QueryHeap, + CommandSignature, + PipelineLibrary, + StateObject, + Blob, +} + +impl Kind { + fn iface(self) -> &'static str { + match self { + Kind::Device => "ID3D12Device", + Kind::CommandQueue => "ID3D12CommandQueue", + Kind::CommandAllocator => "ID3D12CommandAllocator", + Kind::CommandList => "ID3D12GraphicsCommandList", + Kind::Fence => "ID3D12Fence", + Kind::DescriptorHeap => "ID3D12DescriptorHeap", + Kind::Resource => "ID3D12Resource", + Kind::Heap => "ID3D12Heap", + Kind::PipelineState => "ID3D12PipelineState", + Kind::RootSignature => "ID3D12RootSignature", + Kind::QueryHeap => "ID3D12QueryHeap", + Kind::CommandSignature => "ID3D12CommandSignature", + Kind::PipelineLibrary => "ID3D12PipelineLibrary", + Kind::StateObject => "ID3D12StateObject", + Kind::Blob => "ID3DBlob", + } + } +} + +#[repr(C)] +pub struct NullObj { + vtbl: *const usize, + refs: AtomicU32, + kind: Kind, + /// Fence value / descriptor heap base / resource GPU VA. + value: AtomicU64, + /// Resource backing memory or blob data. + mem: Mutex<(usize, usize)>, + /// Raw descriptor (resource desc 56 B, heap desc 16 B, …). + desc: [u8; 64], +} + +unsafe impl Sync for NullObj {} +unsafe impl Send for NullObj {} + +static CREATED: AtomicU64 = AtomicU64::new(0); + +fn vtable(kind: Kind) -> *const usize { + static TABLES: OnceLock<Mutex<Vec<(Kind, usize)>>> = OnceLock::new(); + let t = TABLES.get_or_init(|| Mutex::new(Vec::new())); + let mut g = t.lock().unwrap(); + if let Some(&(_, p)) = g.iter().find(|(k, _)| *k == kind) { + return p as *const usize; + } + let mut v: Vec<usize> = (0..VTBL_SLOTS) + .map(|i| crate::stubs::make_stub(DLL, &format!("{}::#{i}", kind.iface()), 0)) + .collect(); + v[0] = QueryInterface as usize; + v[1] = AddRef as usize; + v[2] = Release as usize; + if kind == Kind::Blob { + v[3] = Blob_GetBufferPointer as usize; + v[4] = Blob_GetBufferSize as usize; + } else { + // ID3D12Object + v[3] = Object_GetPrivateData as usize; + v[4] = Object_Ok3 as usize; // SetPrivateData + v[5] = Object_Ok2 as usize; // SetPrivateDataInterface + v[6] = Object_Ok1 as usize; // SetName + if kind != Kind::Device { + v[7] = DeviceChild_GetDevice as usize; + } + } + match kind { + Kind::Device => { + v[7] = Device_GetNodeCount as usize; + v[8] = Device_CreateCommandQueue as usize; + v[9] = Device_CreateCommandAllocator as usize; + v[10] = Device_CreateGraphicsPipelineState as usize; + v[11] = Device_CreateComputePipelineState as usize; + v[12] = Device_CreateCommandList as usize; + v[13] = Device_CheckFeatureSupport as usize; + v[14] = Device_CreateDescriptorHeap as usize; + v[15] = Device_GetDescriptorHandleIncrementSize as usize; + v[16] = Device_CreateRootSignature as usize; + v[25] = Device_GetResourceAllocationInfo as usize; + v[26] = Device_GetCustomHeapProperties as usize; + v[27] = Device_CreateCommittedResource as usize; + v[28] = Device_CreateHeap as usize; + v[29] = Device_CreatePlacedResource as usize; + v[30] = Device_CreateReservedResource as usize; + v[31] = Ret_E_NOTIMPL as usize; // CreateSharedHandle + v[34] = Ret_S_OK as usize; // MakeResident + v[35] = Ret_S_OK as usize; // Evict + v[36] = Device_CreateFence as usize; + v[37] = Ret_S_OK as usize; // GetDeviceRemovedReason + v[38] = Device_GetCopyableFootprints as usize; + v[39] = Device_CreateQueryHeap as usize; + v[40] = Ret_S_OK as usize; // SetStablePowerState + v[41] = Device_CreateCommandSignature as usize; + v[43] = Device_GetAdapterLuid as usize; + v[44] = Device_CreatePipelineLibrary as usize; + v[45] = Device_SetEventOnMultipleFenceCompletion as usize; + v[46] = Ret_S_OK as usize; // SetResidencyPriority + v[47] = Device_CreatePipelineStateStream as usize; // CreatePipelineState (Device2) + v[51] = Device_CreateCommandList1 as usize; + v[53] = Device_CreateCommittedResource1 as usize; + v[54] = Device_CreateHeap1 as usize; + v[62] = Device_CreatePipelineState4 as usize; // CreateStateObject (Device5) + } + Kind::CommandQueue => { + v[10] = Ret_Void as usize; // ExecuteCommandLists + v[14] = Queue_Signal as usize; + v[15] = Ret_S_OK as usize; // Wait + v[16] = Queue_GetTimestampFrequency as usize; + v[17] = Queue_GetClockCalibration as usize; + v[18] = Hidden_ZeroDesc16 as usize; // GetDesc + } + Kind::CommandAllocator => v[8] = Ret_S_OK as usize, // Reset + Kind::CommandList => { + v[8] = Ret_Zero as usize; // GetType → DIRECT + v[9] = Ret_S_OK as usize; // Close + v[10] = Ret_S_OK as usize; // Reset + } + Kind::Fence => { + v[8] = Fence_GetCompletedValue as usize; + v[9] = Fence_SetEventOnCompletion as usize; + v[10] = Fence_Signal as usize; + } + Kind::DescriptorHeap => { + v[8] = Heap_GetDesc16 as usize; + v[9] = Heap_GetHandleStart as usize; // CPU + v[10] = Heap_GetHandleStart as usize; // GPU + } + Kind::Resource => { + v[8] = Resource_Map as usize; + v[9] = Ret_Void as usize; // Unmap + v[10] = Resource_GetDesc as usize; + v[11] = Resource_GetGPUVirtualAddress as usize; + v[12] = Ret_S_OK as usize; // WriteToSubresource + v[13] = Ret_S_OK as usize; // ReadFromSubresource + v[14] = Resource_GetHeapProperties as usize; + } + Kind::Heap => v[8] = Hidden_ZeroDesc40 as usize, + Kind::PipelineState => v[8] = Ret_E_NOTIMPL as usize, // GetCachedBlob + _ => {} + } + let leaked: &'static [usize] = Box::leak(v.into_boxed_slice()); + g.push((kind, leaked.as_ptr() as usize)); + leaked.as_ptr() +} + +fn new_obj(kind: Kind) -> *mut NullObj { + let n = CREATED.fetch_add(1, Ordering::Relaxed); + if n < 64 || n % 10_000 == 0 { + crate::xlog_debug!("D3D12.X null: nowy {} (#{n})", kind.iface()); + } + Box::into_raw(Box::new(NullObj { + vtbl: vtable(kind), + refs: AtomicU32::new(1), + kind, + value: AtomicU64::new(0), + mem: Mutex::new((0, 0)), + desc: [0; 64], + })) +} + +unsafe fn out_obj(ppv: *mut *mut c_void, kind: Kind) -> HRESULT { + if ppv.is_null() { + return S_FALSE; + } + *ppv = new_obj(kind) as *mut c_void; + S_OK +} + +fn device() -> *mut NullObj { + static DEV: OnceLock<usize> = OnceLock::new(); + *DEV.get_or_init(|| new_obj(Kind::Device) as usize) as *mut NullObj +} + +// --------------------------------------------------------------------------------------- +// common slots +// --------------------------------------------------------------------------------------- + +unsafe extern "system" fn QueryInterface(this: *mut NullObj, _riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if ppv.is_null() { + return E_INVALIDARG; + } + (*this).refs.fetch_add(1, Ordering::AcqRel); + *ppv = this as *mut c_void; + S_OK +} +unsafe extern "system" fn AddRef(this: *mut NullObj) -> u32 { + (*this).refs.fetch_add(1, Ordering::AcqRel) + 1 +} +unsafe extern "system" fn Release(this: *mut NullObj) -> u32 { + // Objects are intentionally leaked: a null device must never free memory a title + // may still reference through a mis-guessed vtable slot. + (*this).refs.fetch_sub(1, Ordering::AcqRel).saturating_sub(1) +} +unsafe extern "system" fn Object_GetPrivateData(_t: *mut NullObj, _g: *const c_void, size: *mut u32, _d: *mut c_void) -> HRESULT { + if !size.is_null() { + *size = 0; + } + 0x887A_0002u32 as i32 // DXGI_ERROR_NOT_FOUND +} +unsafe extern "system" fn Object_Ok3(_t: *mut NullObj, _a: usize, _b: usize, _c: usize) -> HRESULT { + S_OK +} +unsafe extern "system" fn Object_Ok2(_t: *mut NullObj, _a: usize, _b: usize) -> HRESULT { + S_OK +} +unsafe extern "system" fn Object_Ok1(_t: *mut NullObj, _a: usize) -> HRESULT { + S_OK +} +unsafe extern "system" fn DeviceChild_GetDevice(_t: *mut NullObj, _riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if ppv.is_null() { + return E_INVALIDARG; + } + *ppv = device() as *mut c_void; + S_OK +} +unsafe extern "system" fn Ret_S_OK(_t: *mut NullObj) -> HRESULT { + S_OK +} +unsafe extern "system" fn Ret_E_NOTIMPL(_t: *mut NullObj) -> HRESULT { + E_NOTIMPL +} +unsafe extern "system" fn Ret_Zero(_t: *mut NullObj) -> usize { + 0 +} +unsafe extern "system" fn Ret_Void(_t: *mut NullObj) {} +/// Methods returning a 16-byte struct via hidden pointer (MSVC member-function ABI). +unsafe extern "system" fn Hidden_ZeroDesc16(_t: *mut NullObj, ret: *mut u8) -> *mut u8 { + if !ret.is_null() { + std::ptr::write_bytes(ret, 0, 16); + } + ret +} +unsafe extern "system" fn Hidden_ZeroDesc40(_t: *mut NullObj, ret: *mut u8) -> *mut u8 { + if !ret.is_null() { + std::ptr::write_bytes(ret, 0, 40); + } + ret +} + +// --------------------------------------------------------------------------------------- +// device +// --------------------------------------------------------------------------------------- + +unsafe extern "system" fn Device_GetNodeCount(_t: *mut NullObj) -> u32 { + 1 +} +unsafe extern "system" fn Device_CreateCommandQueue(_t: *mut NullObj, _d: *const c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::CommandQueue) +} +unsafe extern "system" fn Device_CreateCommandAllocator(_t: *mut NullObj, _ty: u32, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::CommandAllocator) +} +unsafe extern "system" fn Device_CreatePipelineState4(_t: *mut NullObj, _d: *const c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::PipelineState) +} + +/// D3D12_SHADER_BYTECODE { const void* pShaderBytecode; SIZE_T BytecodeLength; } +unsafe fn capture_bytecode(stage: &str, at: *const u8) { + let p = *(at as *const usize); + let n = *(at.add(8) as *const usize); + crate::gpu::shader::capture(stage, p, n); +} + +/// D3D12_GRAPHICS_PIPELINE_STATE_DESC: pRootSignature @0, VS @8, PS @24, DS @40, HS @56, GS @72. +pub unsafe fn capture_graphics_desc(desc: *const u8) { + if !crate::gpu::shader::readable(desc as usize, 88) { + return; + } + for (stage, off) in [("vs", 8), ("ps", 24), ("ds", 40), ("hs", 56), ("gs", 72)] { + capture_bytecode(stage, desc.add(off)); + } +} + +/// D3D12_COMPUTE_PIPELINE_STATE_DESC: pRootSignature @0, CS @8. +pub unsafe fn capture_compute_desc(desc: *const u8) { + if crate::gpu::shader::readable(desc as usize, 24) { + capture_bytecode("cs", desc.add(8)); + } +} + +/// (payload size, payload alignment) of D3D12_PIPELINE_STATE_SUBOBJECT_TYPE values. +pub fn subobject_payload(ty: u32) -> Option<(usize, usize)> { + Some(match ty { + 0 => (8, 8), // ROOT_SIGNATURE + 1..=6 | 24 | 25 => (16, 8), // VS PS DS HS GS CS AS MS + 7 => (32, 8), // STREAM_OUTPUT + 8 => (328, 4), // BLEND + 9 | 13 | 14 | 16 | 18 | 20 => (4, 4), // SAMPLE_MASK, IB_STRIP_CUT, TOPOLOGY, DS_FORMAT, NODE_MASK, FLAGS + 10 | 27 => (44, 4), // RASTERIZER, RASTERIZER1 + 11 => (52, 4), // DEPTH_STENCIL + 12 => (16, 8), // INPUT_LAYOUT + 15 => (36, 4), // RENDER_TARGET_FORMATS + 17 => (8, 4), // SAMPLE_DESC + 19 => (16, 8), // CACHED_PSO + 21 => (56, 4), // DEPTH_STENCIL1 + 22 => (24, 8), // VIEW_INSTANCING + 26 => (60, 4), // DEPTH_STENCIL2 + 28 => (40, 4), // RASTERIZER2 + _ => return None, + }) +} + +/// D3D12_PIPELINE_STATE_STREAM_DESC { SIZE_T SizeInBytes; void* pPipelineStateSubobjectStream; } +pub unsafe fn capture_stream_desc(desc: *const u8) { + if !crate::gpu::shader::readable(desc as usize, 16) { + return; + } + let size = *(desc as *const usize); + let base = *(desc.add(8) as *const usize); + if !crate::gpu::shader::readable(base, size) { + return; + } + let mut off = 0usize; + while off + 8 <= size { + let ty = *((base + off) as *const u32); + let Some((psize, palign)) = subobject_payload(ty) else { + crate::xlog_debug!("[SHADER] strumień PSO: nieznany podobiekt typu {ty} – przerywam analizę"); + break; + }; + let poff = if palign == 8 { 8 } else { 4 }; + let stage = match ty { + 1 => Some("vs"), + 2 => Some("ps"), + 3 => Some("ds"), + 4 => Some("hs"), + 5 => Some("gs"), + 6 => Some("cs"), + 24 => Some("as"), + 25 => Some("ms"), + _ => None, + }; + if let Some(s) = stage { + capture_bytecode(s, (base + off + poff) as *const u8); + } + off += (poff + psize + 7) & !7; + } +} + +unsafe extern "system" fn Device_CreateGraphicsPipelineState(_t: *mut NullObj, d: *const u8, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + capture_graphics_desc(d); + out_obj(ppv, Kind::PipelineState) +} +unsafe extern "system" fn Device_CreateComputePipelineState(_t: *mut NullObj, d: *const u8, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + capture_compute_desc(d); + out_obj(ppv, Kind::PipelineState) +} +unsafe extern "system" fn Device_CreatePipelineStateStream(_t: *mut NullObj, d: *const u8, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + capture_stream_desc(d); + out_obj(ppv, Kind::PipelineState) +} +unsafe extern "system" fn Device_CreateCommandList(_t: *mut NullObj, _m: u32, _ty: u32, _a: *mut c_void, _p: *mut c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::CommandList) +} +unsafe extern "system" fn Device_CreateCommandList1(_t: *mut NullObj, _m: u32, _ty: u32, _f: u32, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::CommandList) +} +unsafe extern "system" fn Device_CheckFeatureSupport(_t: *mut NullObj, feature: u32, _d: *mut c_void, _s: u32) -> HRESULT { + crate::xlog_debug!("D3D12.X null: CheckFeatureSupport({feature})"); + S_OK +} +unsafe extern "system" fn Device_CreateDescriptorHeap(_t: *mut NullObj, desc: *const u8, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if ppv.is_null() { + return S_FALSE; + } + let o = new_obj(Kind::DescriptorHeap); + if !desc.is_null() { + std::ptr::copy_nonoverlapping(desc, (*o).desc.as_mut_ptr(), 16); + let n = *(desc.add(4) as *const u32) as usize; + // unique, never-dereferenced-by-us address range for the handles + let mem = vec![0u8; (n.max(1) * 32).min(64 << 20)].leak(); + (*o).value.store(mem.as_ptr() as u64, Ordering::Relaxed); + } + *ppv = o as *mut c_void; + S_OK +} +unsafe extern "system" fn Device_GetDescriptorHandleIncrementSize(_t: *mut NullObj, _ty: u32) -> u32 { + 32 +} +unsafe extern "system" fn Device_CreateRootSignature(_t: *mut NullObj, _m: u32, b: *const c_void, l: usize, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + crate::gpu::shader::capture("rootsig", b as usize, l); + out_obj(ppv, Kind::RootSignature) +} + +/// D3D12_RESOURCE_DESC: Dimension u32 @0, Alignment u64 @8, Width u64 @16, Height u32 @24, +/// DepthOrArraySize u16 @28, MipLevels u16 @30, Format u32 @32 … (56 bytes). +unsafe fn approx_size(desc: *const u8) -> usize { + if desc.is_null() { + return 0x1000; + } + let dim = *(desc as *const u32); + let width = *(desc.add(16) as *const u64) as usize; + if dim == 1 { + return width.max(1); + } + let height = (*(desc.add(24) as *const u32)).max(1) as usize; + let depth = (*(desc.add(28) as *const u16)).max(1) as usize; + (width.max(1) * height * depth * 4 * 4 / 3).min(256 << 20) +} + +unsafe fn new_resource(desc: *const u8, ppv: *mut *mut c_void) -> HRESULT { + if ppv.is_null() { + return S_FALSE; + } + let o = new_obj(Kind::Resource); + if !desc.is_null() { + std::ptr::copy_nonoverlapping(desc, (*o).desc.as_mut_ptr(), 56); + } + let size = approx_size(desc); + *(*o).mem.lock().unwrap() = (0, size); + // unique fake GPU VA (64 KiB aligned bump allocator) + static NEXT_VA: AtomicU64 = AtomicU64::new(0x1_0000_0000); + let va = NEXT_VA.fetch_add(((size as u64) + 0xFFFF) & !0xFFFF, Ordering::Relaxed); + (*o).value.store(va, Ordering::Relaxed); + *ppv = o as *mut c_void; + S_OK +} + +unsafe extern "system" fn Device_GetResourceAllocationInfo(_t: *mut NullObj, ret: *mut u64, _mask: u32, n: u32, descs: *const u8) -> *mut u64 { + let mut total = 0usize; + for i in 0..n as usize { + total += (approx_size(descs.add(i * 56)) + 0xFFFF) & !0xFFFF; + } + if !ret.is_null() { + *ret = total as u64; + *ret.add(1) = 0x10000; + } + ret +} +unsafe extern "system" fn Device_GetCustomHeapProperties(_t: *mut NullObj, ret: *mut u8, _m: u32, ty: u32) -> *mut u8 { + if !ret.is_null() { + std::ptr::write_bytes(ret, 0, 20); + *(ret as *mut u32) = 4; // CUSTOM + *(ret.add(4) as *mut u32) = if ty == 2 || ty == 3 { 3 } else { 1 }; // CPU page property + *(ret.add(8) as *mut u32) = 1; // memory pool L0 + } + ret +} +unsafe extern "system" fn Device_CreateCommittedResource(_t: *mut NullObj, _hp: *const c_void, _hf: u32, desc: *const u8, _st: u32, _cv: *const c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + new_resource(desc, ppv) +} +unsafe extern "system" fn Device_CreateCommittedResource1(_t: *mut NullObj, _hp: *const c_void, _hf: u32, desc: *const u8, _st: u32, _cv: *const c_void, _ps: *mut c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + new_resource(desc, ppv) +} +unsafe extern "system" fn Device_CreateHeap(_t: *mut NullObj, _d: *const c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::Heap) +} +unsafe extern "system" fn Device_CreateHeap1(_t: *mut NullObj, _d: *const c_void, _s: *mut c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::Heap) +} +unsafe extern "system" fn Device_CreatePlacedResource(_t: *mut NullObj, _h: *mut c_void, _o: u64, desc: *const u8, _st: u32, _cv: *const c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + new_resource(desc, ppv) +} +unsafe extern "system" fn Device_CreateReservedResource(_t: *mut NullObj, desc: *const u8, _st: u32, _cv: *const c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + new_resource(desc, ppv) +} +unsafe extern "system" fn Device_CreateFence(_t: *mut NullObj, initial: u64, _f: u32, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if ppv.is_null() { + return S_FALSE; + } + let o = new_obj(Kind::Fence); + (*o).value.store(initial, Ordering::Relaxed); + *ppv = o as *mut c_void; + S_OK +} +unsafe extern "system" fn Device_GetCopyableFootprints( + _t: *mut NullObj, + desc: *const u8, + _first: u32, + num: u32, + base: u64, + layouts: *mut u8, + num_rows: *mut u32, + row_sizes: *mut u64, + total: *mut u64, +) { + let size = approx_size(desc) as u64; + let width = if desc.is_null() { 1 } else { (*(desc.add(16) as *const u64)).max(1) }; + let height = if desc.is_null() { 1 } else { (*(desc.add(24) as *const u32)).max(1) }; + let format = if desc.is_null() { 0 } else { *(desc.add(32) as *const u32) }; + let row = ((width * 4 + 255) & !255) as u32; + for i in 0..num as usize { + if !layouts.is_null() { + let l = layouts.add(i * 32); + *(l as *mut u64) = base; + *(l.add(8) as *mut u32) = format; + *(l.add(12) as *mut u32) = width as u32; + *(l.add(16) as *mut u32) = height; + *(l.add(20) as *mut u32) = 1; + *(l.add(24) as *mut u32) = row; + } + if !num_rows.is_null() { + *num_rows.add(i) = height; + } + if !row_sizes.is_null() { + *row_sizes.add(i) = width * 4; + } + } + if !total.is_null() { + *total = size.max(row as u64 * height as u64); + } +} +unsafe extern "system" fn Device_CreateQueryHeap(_t: *mut NullObj, _d: *const c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::QueryHeap) +} +unsafe extern "system" fn Device_CreateCommandSignature(_t: *mut NullObj, _d: *const c_void, _rs: *mut c_void, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::CommandSignature) +} +unsafe extern "system" fn Device_GetAdapterLuid(_t: *mut NullObj, ret: *mut u64) -> *mut u64 { + if !ret.is_null() { + *ret = 0x5843_4C00; + } + ret +} +unsafe extern "system" fn Device_CreatePipelineLibrary(_t: *mut NullObj, _b: *const c_void, _l: usize, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + out_obj(ppv, Kind::PipelineLibrary) +} +unsafe extern "system" fn Device_SetEventOnMultipleFenceCompletion(_t: *mut NullObj, _f: *const c_void, _v: *const u64, _n: u32, _flags: u32, ev: *mut c_void) -> HRESULT { + if !ev.is_null() { + windows_sys::Win32::System::Threading::SetEvent(ev); + } + S_OK +} + +// --------------------------------------------------------------------------------------- +// queue / fence / heap / resource / blob +// --------------------------------------------------------------------------------------- + +unsafe extern "system" fn Queue_Signal(_t: *mut NullObj, fence: *mut NullObj, value: u64) -> HRESULT { + if !fence.is_null() && (*fence).kind == Kind::Fence { + (*fence).value.fetch_max(value, Ordering::AcqRel); + } + S_OK +} +unsafe extern "system" fn Queue_GetTimestampFrequency(_t: *mut NullObj, f: *mut u64) -> HRESULT { + if f.is_null() { + return E_INVALIDARG; + } + *f = 10_000_000; + S_OK +} +unsafe extern "system" fn Queue_GetClockCalibration(_t: *mut NullObj, gpu: *mut u64, cpu: *mut u64) -> HRESULT { + let mut qpc = 0i64; + windows_sys::Win32::System::Performance::QueryPerformanceCounter(&mut qpc); + if !gpu.is_null() { + *gpu = qpc as u64; + } + if !cpu.is_null() { + *cpu = qpc as u64; + } + S_OK +} +unsafe extern "system" fn Fence_GetCompletedValue(this: *mut NullObj) -> u64 { + (*this).value.load(Ordering::Acquire) +} +unsafe extern "system" fn Fence_SetEventOnCompletion(this: *mut NullObj, value: u64, ev: *mut c_void) -> HRESULT { + // the null GPU finishes everything instantly + (*this).value.fetch_max(value, Ordering::AcqRel); + if !ev.is_null() { + windows_sys::Win32::System::Threading::SetEvent(ev); + } + S_OK +} +unsafe extern "system" fn Fence_Signal(this: *mut NullObj, value: u64) -> HRESULT { + (*this).value.store(value, Ordering::Release); + S_OK +} +unsafe extern "system" fn Heap_GetDesc16(this: *mut NullObj, ret: *mut u8) -> *mut u8 { + if !ret.is_null() { + std::ptr::copy_nonoverlapping((*this).desc.as_ptr(), ret, 16); + } + ret +} +unsafe extern "system" fn Heap_GetHandleStart(this: *mut NullObj, ret: *mut u64) -> *mut u64 { + if !ret.is_null() { + *ret = (*this).value.load(Ordering::Relaxed); + } + ret +} +unsafe extern "system" fn Resource_Map(this: *mut NullObj, _sub: u32, _range: *const c_void, data: *mut *mut c_void) -> HRESULT { + let mut g = (*this).mem.lock().unwrap(); + if g.0 == 0 { + use windows_sys::Win32::System::Memory::{VirtualAlloc, MEM_COMMIT, MEM_RESERVE, PAGE_READWRITE}; + g.0 = VirtualAlloc(std::ptr::null(), g.1.max(1), MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE) as usize; + } + if !data.is_null() { + *data = g.0 as *mut c_void; + } + if g.0 == 0 { + crate::util::E_OUTOFMEMORY + } else { + S_OK + } +} +unsafe extern "system" fn Resource_GetDesc(this: *mut NullObj, ret: *mut u8) -> *mut u8 { + if !ret.is_null() { + std::ptr::copy_nonoverlapping((*this).desc.as_ptr(), ret, 56); + } + ret +} +unsafe extern "system" fn Resource_GetGPUVirtualAddress(this: *mut NullObj) -> u64 { + (*this).value.load(Ordering::Relaxed) +} +unsafe extern "system" fn Resource_GetHeapProperties(_t: *mut NullObj, props: *mut u8, flags: *mut u32) -> HRESULT { + if !props.is_null() { + std::ptr::write_bytes(props, 0, 20); + *(props as *mut u32) = 1; // DEFAULT + } + if !flags.is_null() { + *flags = 0; + } + S_OK +} +unsafe extern "system" fn Blob_GetBufferPointer(this: *mut NullObj) -> *mut c_void { + (*this).mem.lock().unwrap().0 as *mut c_void +} +unsafe extern "system" fn Blob_GetBufferSize(this: *mut NullObj) -> usize { + (*this).mem.lock().unwrap().1 +} + +unsafe fn new_blob(size: usize, out: *mut *mut c_void) -> HRESULT { + if out.is_null() { + return E_INVALIDARG; + } + let o = new_obj(Kind::Blob); + let buf = vec![0u8; size.max(1)].leak(); + *(*o).mem.lock().unwrap() = (buf.as_mut_ptr() as usize, size); + *out = o as *mut c_void; + S_OK +} + +// --------------------------------------------------------------------------------------- +// exports +// --------------------------------------------------------------------------------------- + +static ANNOUNCED: AtomicU32 = AtomicU32::new(0); + +unsafe fn create_device(ppv: *mut *mut c_void) -> HRESULT { + if ANNOUNCED.fetch_add(1, Ordering::Relaxed) == 0 { + crate::xlog_warn!("D3D12.X: tworzę URZĄDZENIE ZASTĘPCZE (null device) – grafika nie jest renderowana w etapie M1"); + } + if ppv.is_null() { + return S_FALSE; + } + let d = device(); + (*d).refs.fetch_add(1, Ordering::AcqRel); + *ppv = d as *mut c_void; + S_OK +} + +pub unsafe extern "system" fn D3D12CreateDevice(_adapter: *mut c_void, _fl: u32, _riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + create_device(ppv) +} +pub unsafe extern "system" fn D3D12XboxCreateDevice(_adapter: *mut c_void, _params: *const c_void, _riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + create_device(ppv) +} +pub unsafe extern "system" fn D3D12GetDebugInterface(_riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if !ppv.is_null() { + *ppv = std::ptr::null_mut(); + } + E_NOINTERFACE +} +pub unsafe extern "system" fn D3D12SerializeRootSignature(_d: *const c_void, _v: u32, blob: *mut *mut c_void, err: *mut *mut c_void) -> HRESULT { + if !err.is_null() { + *err = std::ptr::null_mut(); + } + new_blob(16, blob) +} +pub unsafe extern "system" fn D3D12SerializeVersionedRootSignature(_d: *const c_void, blob: *mut *mut c_void, err: *mut *mut c_void) -> HRESULT { + if !err.is_null() { + *err = std::ptr::null_mut(); + } + new_blob(16, blob) +} +pub unsafe extern "system" fn D3D12CreateRootSignatureDeserializer(_d: *const c_void, _l: usize, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if !ppv.is_null() { + *ppv = std::ptr::null_mut(); + } + E_NOTIMPL +} +pub unsafe extern "system" fn D3D12CreateVersionedRootSignatureDeserializer(_d: *const c_void, _l: usize, _r: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if !ppv.is_null() { + *ppv = std::ptr::null_mut(); + } + E_NOTIMPL +} +pub unsafe extern "system" fn D3D12EnableExperimentalFeatures(_n: u32, _i: *const c_void, _c: *mut c_void, _s: *mut u32) -> HRESULT { + E_NOINTERFACE +} +pub unsafe extern "system" fn D3D12GetInterface(_clsid: *const c_void, _riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if !ppv.is_null() { + *ppv = std::ptr::null_mut(); + } + E_NOINTERFACE +} +pub unsafe extern "system" fn D3D10CreateBlob(size: usize, out: *mut *mut c_void) -> HRESULT { + new_blob(size, out) +} +pub unsafe extern "system" fn D3D12XboxSetProcessDebugFlags(_flags: u32) -> HRESULT { + S_OK +} + +#[cfg(test)] +mod tests { + use super::*; + + type Fn4 = unsafe extern "system" fn(*mut c_void, *const c_void, *const c_void, *mut *mut c_void) -> HRESULT; + + unsafe fn slot(obj: *mut c_void, i: usize) -> usize { + *(*(obj as *const *const usize)).add(i) + } + + #[test] + fn device_queue_fence_resource_roundtrip() { + unsafe { + let mut dev = std::ptr::null_mut(); + assert_eq!(D3D12CreateDevice(std::ptr::null_mut(), 0xC100, std::ptr::null(), &mut dev), S_OK); + let create_queue: Fn4 = std::mem::transmute(slot(dev, 8)); + let mut q = std::ptr::null_mut(); + assert_eq!(create_queue(dev, std::ptr::null(), std::ptr::null(), &mut q), S_OK); + // fence: CreateFence(initial=5) + let create_fence: unsafe extern "system" fn(*mut c_void, u64, u32, *const c_void, *mut *mut c_void) -> HRESULT = + std::mem::transmute(slot(dev, 36)); + let mut f = std::ptr::null_mut(); + assert_eq!(create_fence(dev, 5, 0, std::ptr::null(), &mut f), S_OK); + let signal: unsafe extern "system" fn(*mut c_void, *mut c_void, u64) -> HRESULT = std::mem::transmute(slot(q, 14)); + assert_eq!(signal(q, f, 9), S_OK); + let completed: unsafe extern "system" fn(*mut c_void) -> u64 = std::mem::transmute(slot(f, 8)); + assert_eq!(completed(f), 9); + // buffer resource: Map gives writable memory + let mut desc = [0u8; 56]; + desc[0] = 1; // BUFFER + desc[16..24].copy_from_slice(&4096u64.to_le_bytes()); + let create_res: unsafe extern "system" fn(*mut c_void, *const c_void, u32, *const u8, u32, *const c_void, *const c_void, *mut *mut c_void) -> HRESULT = + std::mem::transmute(slot(dev, 27)); + let mut r = std::ptr::null_mut(); + assert_eq!(create_res(dev, std::ptr::null(), 0, desc.as_ptr(), 0, std::ptr::null(), std::ptr::null(), &mut r), S_OK); + let map: unsafe extern "system" fn(*mut c_void, u32, *const c_void, *mut *mut c_void) -> HRESULT = std::mem::transmute(slot(r, 8)); + let mut p = std::ptr::null_mut(); + assert_eq!(map(r, 0, std::ptr::null(), &mut p), S_OK); + std::ptr::write_bytes(p as *mut u8, 0xAB, 4096); + let gpu: unsafe extern "system" fn(*mut c_void) -> u64 = std::mem::transmute(slot(r, 11)); + assert_ne!(gpu(r), 0); + // unknown slot → logging stub returning 0 + let unknown: unsafe extern "system" fn(*mut c_void) -> usize = std::mem::transmute(slot(dev, 200)); + assert_eq!(unknown(dev), 0); + assert!(crate::stubs::all_stubs().iter().any(|s| s.name == "ID3D12Device::#200" && s.calls.load(Ordering::Relaxed) > 0)); + } + } +} diff --git a/crates/xcl/src/hle/d3d12x/present.rs b/crates/xcl/src/hle/d3d12x/present.rs new file mode 100644 index 0000000..ccc0c7c --- /dev/null +++ b/crates/xcl/src/hle/d3d12x/present.rs @@ -0,0 +1,396 @@ +//! Presentation for the real backend. +//! +//! Console titles do not use DXGI swap chains: they render into their own back buffers +//! and call `PresentX` (a console-only queue method whose slot is not public). XCL: +//! * remembers which resource every RTV descriptor points to (CreateRenderTargetView), +//! * remembers the first render target of each command list (OMSetRenderTargets), +//! * after ExecuteCommandLists picks the latest back-buffer-like render target, +//! * presents it in its own window – on every call of a console-only queue method +//! (very likely PresentX → exact frame boundaries), or rate-limited after submissions +//! when no such call has been seen. +//! +//! The back buffer is copied on the title's own queue (implicit promotion from +//! COMMON/PRESENT state, which consoles require before PresentX). + +use std::cell::Cell; +use std::collections::HashMap; +use std::ffi::c_void; +use std::sync::atomic::{AtomicIsize, AtomicU64, Ordering}; +use std::sync::{Mutex, Once}; +use std::time::{Duration, Instant}; + +use windows::core::{Interface, HSTRING, PCWSTR}; +use windows::Win32::Foundation::{CloseHandle, HANDLE, HWND, LPARAM, LRESULT, RECT, WPARAM}; +use windows::Win32::Graphics::Direct3D12::*; +use windows::Win32::Graphics::Dxgi::Common::*; +use windows::Win32::Graphics::Dxgi::*; +use windows::Win32::System::LibraryLoader::GetModuleHandleW; +use windows::Win32::System::Threading::{CreateEventW, WaitForSingleObject}; +use windows::Win32::UI::WindowsAndMessaging::*; + +use crate::stubs::StubInfo; + +static RTVS: Mutex<Option<HashMap<usize, usize>>> = Mutex::new(None); +static LISTS: Mutex<Option<HashMap<usize, usize>>> = Mutex::new(None); +static CANDIDATE: Mutex<Option<(usize, usize)>> = Mutex::new(None); // (queue, resource) – resource AddRef'd +static PRESENTS: AtomicU64 = AtomicU64::new(0); +static BOUNDARIES: AtomicU64 = AtomicU64::new(0); +static LAST_BOUNDARY_MS: AtomicU64 = AtomicU64::new(0); +static HWND_RAW: AtomicIsize = AtomicIsize::new(0); + +thread_local! { + static IN_PRESENT: Cell<bool> = const { Cell::new(false) }; +} + +fn now_ms() -> u64 { + static T0: std::sync::OnceLock<Instant> = std::sync::OnceLock::new(); + T0.get_or_init(Instant::now).elapsed().as_millis() as u64 +} + +pub fn counters() -> (u64, u64) { + (PRESENTS.load(Ordering::Relaxed), BOUNDARIES.load(Ordering::Relaxed)) +} + +fn enabled() -> bool { + !crate::state::config().present.eq_ignore_ascii_case("off") +} + +unsafe fn add_ref(p: usize) { + let f: unsafe extern "system" fn(usize) -> u32 = std::mem::transmute(*(*(p as *const *const usize)).add(1)); + f(p); +} + +unsafe fn release(p: usize) { + let f: unsafe extern "system" fn(usize) -> u32 = std::mem::transmute(*(*(p as *const *const usize)).add(2)); + f(p); +} + +pub unsafe fn note_rtv(handle: usize, res: *mut c_void) { + if !enabled() { + return; + } + let mut g = RTVS.lock().unwrap(); + let m = g.get_or_insert_with(HashMap::new); + if !res.is_null() { + add_ref(res as usize); + } + let old = if res.is_null() { m.remove(&handle) } else { m.insert(handle, res as usize) }; + if let Some(o) = old { + release(o); + } +} + +pub fn note_rt0(list: usize, handle: usize) { + if !enabled() { + return; + } + LISTS.lock().unwrap().get_or_insert_with(HashMap::new).insert(list, handle); +} + +/// Format the swap chain uses for a back buffer of `f` (None = not presentable). +pub fn swap_format(f: DXGI_FORMAT) -> Option<DXGI_FORMAT> { + Some(match f { + DXGI_FORMAT_R8G8B8A8_UNORM | DXGI_FORMAT_R8G8B8A8_UNORM_SRGB | DXGI_FORMAT_R8G8B8A8_TYPELESS => DXGI_FORMAT_R8G8B8A8_UNORM, + DXGI_FORMAT_B8G8R8A8_UNORM | DXGI_FORMAT_B8G8R8A8_UNORM_SRGB | DXGI_FORMAT_B8G8R8A8_TYPELESS => DXGI_FORMAT_B8G8R8A8_UNORM, + DXGI_FORMAT_R10G10B10A2_UNORM | DXGI_FORMAT_R10G10B10A2_TYPELESS => DXGI_FORMAT_R10G10B10A2_UNORM, + DXGI_FORMAT_R16G16B16A16_FLOAT | DXGI_FORMAT_R16G16B16A16_TYPELESS => DXGI_FORMAT_R16G16B16A16_FLOAT, + _ => return None, + }) +} + +unsafe fn backbuffer_like(res: usize) -> Option<D3D12_RESOURCE_DESC> { + let raw = res as *mut c_void; + let r = ID3D12Resource::from_raw_borrowed(&raw)?; + let d = r.GetDesc(); + let ok = d.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE2D + && d.Width >= 640 + && d.Height >= 360 + && d.DepthOrArraySize == 1 + && d.SampleDesc.Count == 1 + && swap_format(d.Format).is_some(); + ok.then_some(d) +} + +pub unsafe fn note_execute(queue: *mut c_void, lists: &[*mut c_void]) { + if !enabled() || IN_PRESENT.with(|c| c.get()) { + return; + } + let handle = { + let g = LISTS.lock().unwrap(); + let Some(m) = g.as_ref() else { return }; + lists.iter().rev().find_map(|l| m.get(&(*l as usize)).copied()) + }; + let Some(h) = handle else { return }; + let res = RTVS.lock().unwrap().as_ref().and_then(|m| m.get(&h).copied()); + let Some(res) = res else { return }; + if backbuffer_like(res).is_none() { + return; + } + { + let mut c = CANDIDATE.lock().unwrap(); + if c.map(|(_, r)| r) != Some(res) { + add_ref(res); + if let Some((_, old)) = c.replace((queue as usize, res)) { + release(old); + } + } + } + // no console present call seen recently → present on submissions (rate limited) + if now_ms().saturating_sub(LAST_BOUNDARY_MS.load(Ordering::Relaxed)) > 500 { + present_now(Duration::from_millis(15)); + } +} + +/// StubHook for console-only queue methods (PresentX, frame events, …). +pub fn on_queue_console_method(_info: &StubInfo, _caller: usize) { + if !enabled() { + return; + } + BOUNDARIES.fetch_add(1, Ordering::Relaxed); + LAST_BOUNDARY_MS.store(now_ms(), Ordering::Relaxed); + unsafe { present_now(Duration::from_millis(4)) }; +} + +// --------------------------------------------------------------------------------------- +// window +// --------------------------------------------------------------------------------------- + +unsafe extern "system" fn wndproc(hwnd: HWND, msg: u32, wp: WPARAM, lp: LPARAM) -> LRESULT { + match msg { + WM_CLOSE => { + crate::xlog_info!("okno XCL zamknięte – kończę proces gry"); + crate::report::write_final(None); + crate::log::flush(); + windows::Win32::System::Threading::ExitProcess(0); + } + WM_DESTROY => { + PostQuitMessage(0); + LRESULT(0) + } + _ => DefWindowProcW(hwnd, msg, wp, lp), + } +} + +fn window_thread() { + unsafe { + let Ok(inst) = GetModuleHandleW(PCWSTR::null()) else { return }; + let class = windows::core::w!("XCLGameWindow"); + let wc = WNDCLASSW { + lpfnWndProc: Some(wndproc), + hInstance: inst.into(), + lpszClassName: class, + hCursor: LoadCursorW(None, IDC_ARROW).unwrap_or_default(), + ..Default::default() + }; + RegisterClassW(&wc); + let cfg = crate::state::config(); + let title = crate::state::boot().map(|b| b.title.clone()).unwrap_or_else(|| "XCL".into()); + let mut rc = RECT { left: 0, top: 0, right: cfg.window_width as i32, bottom: cfg.window_height as i32 }; + let _ = AdjustWindowRect(&mut rc, WS_OVERLAPPEDWINDOW, false); + let hwnd = CreateWindowExW( + WINDOW_EX_STYLE(0), + class, + &HSTRING::from(format!("XCL – {title}")), + WS_OVERLAPPEDWINDOW | WS_VISIBLE, + CW_USEDEFAULT, + CW_USEDEFAULT, + rc.right - rc.left, + rc.bottom - rc.top, + None, + None, + Some(inst.into()), + None, + ); + let Ok(hwnd) = hwnd else { + crate::xlog_error!("nie udało się utworzyć okna XCL"); + return; + }; + HWND_RAW.store(hwnd.0 as isize, Ordering::Release); + crate::xlog_info!("okno XCL utworzone ({}x{})", cfg.window_width, cfg.window_height); + let mut msg = MSG::default(); + while GetMessageW(&mut msg, None, 0, 0).as_bool() { + let _ = TranslateMessage(&msg); + DispatchMessageW(&msg); + } + } +} + +fn ensure_window() -> Option<HWND> { + static START: Once = Once::new(); + START.call_once(|| { + let _ = std::thread::Builder::new().name("xcl-window".into()).spawn(window_thread); + }); + let t0 = Instant::now(); + while HWND_RAW.load(Ordering::Acquire) == 0 { + if t0.elapsed() > Duration::from_secs(3) { + return None; + } + std::thread::sleep(Duration::from_millis(5)); + } + Some(HWND(HWND_RAW.load(Ordering::Acquire) as *mut c_void)) +} + +// --------------------------------------------------------------------------------------- +// presenter +// --------------------------------------------------------------------------------------- + +struct Presenter { + queue: usize, + sc: Option<IDXGISwapChain3>, + w: u32, + h: u32, + fmt: DXGI_FORMAT, + alloc: ID3D12CommandAllocator, + list: ID3D12GraphicsCommandList, + fence: ID3D12Fence, + value: u64, + event: HANDLE, + last: Instant, +} + +unsafe impl Send for Presenter {} + +static PRESENTER: Mutex<Option<Presenter>> = Mutex::new(None); + +unsafe fn transition(res: &ID3D12Resource, before: D3D12_RESOURCE_STATES, after: D3D12_RESOURCE_STATES) -> D3D12_RESOURCE_BARRIER { + D3D12_RESOURCE_BARRIER { + Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, + Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, + Anonymous: D3D12_RESOURCE_BARRIER_0 { + Transition: std::mem::ManuallyDrop::new(D3D12_RESOURCE_TRANSITION_BARRIER { + pResource: std::mem::transmute_copy(res), + Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, + StateBefore: before, + StateAfter: after, + }), + }, + } +} + +unsafe fn new_presenter(queue: usize) -> Option<Presenter> { + let dev_raw = super::real::device_raw(); + let dev = ID3D12Device::from_raw_borrowed(&dev_raw)?; + let alloc: ID3D12CommandAllocator = dev.CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT).ok()?; + let list: ID3D12GraphicsCommandList = dev.CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, &alloc, None).ok()?; + list.Close().ok()?; + let fence: ID3D12Fence = dev.CreateFence(0, D3D12_FENCE_FLAG_NONE).ok()?; + let event = CreateEventW(None, false, false, None).ok()?; + Some(Presenter { queue, sc: None, w: 0, h: 0, fmt: DXGI_FORMAT_UNKNOWN, alloc, list, fence, value: 0, event, last: Instant::now() - Duration::from_secs(1) }) +} + +unsafe fn ensure_swapchain(p: &mut Presenter, hwnd: HWND, w: u32, h: u32, fmt: DXGI_FORMAT) -> bool { + if let Some(sc) = &p.sc { + if p.w == w && p.h == h && p.fmt == fmt { + return true; + } + if sc.ResizeBuffers(2, w, h, fmt, DXGI_SWAP_CHAIN_FLAG(0)).is_ok() { + p.w = w; + p.h = h; + p.fmt = fmt; + crate::xlog_info!("prezentacja: swap chain {w}x{h} {:?}", fmt); + return true; + } + return false; + } + let Ok(factory) = CreateDXGIFactory2::<IDXGIFactory2>(DXGI_CREATE_FACTORY_FLAGS(0)) else { return false }; + let qraw = p.queue as *mut c_void; + let Some(queue) = ID3D12CommandQueue::from_raw_borrowed(&qraw) else { return false }; + let desc = DXGI_SWAP_CHAIN_DESC1 { + Width: w, + Height: h, + Format: fmt, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, + BufferCount: 2, + Scaling: DXGI_SCALING_STRETCH, + SwapEffect: DXGI_SWAP_EFFECT_FLIP_DISCARD, + AlphaMode: DXGI_ALPHA_MODE_IGNORE, + ..Default::default() + }; + match factory.CreateSwapChainForHwnd(queue, hwnd, &desc, None, None) { + Ok(sc1) => { + let _ = factory.MakeWindowAssociation(hwnd, DXGI_MWA_NO_ALT_ENTER); + p.sc = sc1.cast::<IDXGISwapChain3>().ok(); + p.w = w; + p.h = h; + p.fmt = fmt; + crate::xlog_info!("prezentacja: swap chain {w}x{h} {:?} – obraz gry pojawi się w oknie XCL", fmt); + p.sc.is_some() + } + Err(e) => { + crate::xlog_error!("prezentacja: CreateSwapChainForHwnd: {e}"); + false + } + } +} + +unsafe fn present_now(min_interval: Duration) { + if IN_PRESENT.with(|c| c.replace(true)) { + return; + } + struct Reset; + impl Drop for Reset { + fn drop(&mut self) { + IN_PRESENT.with(|c| c.set(false)); + } + } + let _reset = Reset; + let Some((queue, res)) = *CANDIDATE.lock().unwrap() else { return }; + let Ok(mut guard) = PRESENTER.try_lock() else { return }; + if guard.is_none() { + *guard = new_presenter(queue); + } + let Some(p) = guard.as_mut() else { return }; + if p.last.elapsed() < min_interval { + return; + } + let Some(desc) = backbuffer_like(res) else { return }; + let Some(fmt) = swap_format(desc.Format) else { return }; + let Some(hwnd) = ensure_window() else { return }; + if p.queue != queue { + return; // swap chain is bound to the first queue we presented from + } + // wait for the previous copy so the allocator can be reused + if p.fence.GetCompletedValue() < p.value { + let _ = p.fence.SetEventOnCompletion(p.value, p.event); + WaitForSingleObject(p.event, 100); + } + if !ensure_swapchain(p, hwnd, desc.Width as u32, desc.Height, fmt) { + return; + } + let Some(sc) = p.sc.clone() else { return }; + let rraw = res as *mut c_void; + let Some(src) = ID3D12Resource::from_raw_borrowed(&rraw) else { return }; + let Ok(bb) = sc.GetBuffer::<ID3D12Resource>(sc.GetCurrentBackBufferIndex()) else { return }; + if p.alloc.Reset().is_err() || p.list.Reset(&p.alloc, None).is_err() { + return; + } + let b1 = [transition(&bb, D3D12_RESOURCE_STATE_PRESENT, D3D12_RESOURCE_STATE_COPY_DEST)]; + p.list.ResourceBarrier(&b1); + p.list.CopyResource(&bb, src); + let b2 = [transition(&bb, D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_PRESENT)]; + p.list.ResourceBarrier(&b2); + if p.list.Close().is_err() { + return; + } + let qraw = queue as *mut c_void; + let Some(q) = ID3D12CommandQueue::from_raw_borrowed(&qraw) else { return }; + let Ok(cl) = p.list.cast::<ID3D12CommandList>() else { return }; + q.ExecuteCommandLists(&[Some(cl)]); + p.value += 1; + let _ = q.Signal(&p.fence, p.value); + let _ = sc.Present(0, DXGI_PRESENT(0)); + p.last = Instant::now(); + let n = PRESENTS.fetch_add(1, Ordering::Relaxed); + if n == 0 { + crate::xlog_info!("prezentacja: pierwsza klatka gry wyświetlona ({}x{})", desc.Width, desc.Height); + } +} + +impl Drop for Presenter { + fn drop(&mut self) { + unsafe { + let _ = CloseHandle(self.event); + } + } +} diff --git a/crates/xcl/src/hle/d3d12x/real.rs b/crates/xcl/src/hle/d3d12x/real.rs new file mode 100644 index 0000000..6077a41 --- /dev/null +++ b/crates/xcl/src/hle/d3d12x/real.rs @@ -0,0 +1,859 @@ +//! Real D3D12.X backend: the title gets genuine D3D12 objects from the PC driver. +//! +//! Every object handed to the title is "adopted": its vtable pointer is replaced with +//! an extended copy: +//! +//! ```text +//! ext[-1] original vtable (for calling originals) +//! ext[0 .. public) original PC methods (a few overridden, see below) +//! ext[public .. internal) guard thunks: runtime/DXGI calls → original internal virtual, +//! calls from the game image → logged as console-only method +//! ext[internal .. +64) logging stubs (console-only methods past the end) +//! ``` +//! +//! Overrides: QueryInterface (logs unknown IIDs), every Create* on the device (adopts +//! the new object, retries with the PC IID when the console one is unknown, captures +//! shaders, builds fallback pipeline states when console shaders are rejected), +//! CreateRenderTargetView / OMSetRenderTargets / ExecuteCommandLists (presentation). + +#![allow(non_snake_case)] + +use std::collections::{BTreeSet, HashSet}; +use std::ffi::c_void; +use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; +use std::sync::{Mutex, OnceLock}; + +use serde::Serialize; +use windows::core::{Interface, PCSTR}; +use windows::Win32::Graphics::Direct3D::Fxc::D3DCompile; +use windows::Win32::Graphics::Direct3D::*; +use windows::Win32::Graphics::Direct3D12::*; +use windows::Win32::Graphics::Dxgi::*; +use windows_sys::core::GUID; + +use super::layout::{self, Iface}; +use crate::stubs; +use crate::util::{HRESULT, E_INVALIDARG, E_NOINTERFACE, S_FALSE, S_OK}; + +const DLL: &str = "d3d12_xs.dll"; +const EXTRA_SLOTS: usize = 64; +const MAX_SCAN: usize = 512; + +#[derive(Clone, Copy, PartialEq, Eq, Debug, Hash)] +pub enum Kind { + Device, + CommandQueue, + CommandAllocator, + CommandList, + Fence, + DescriptorHeap, + Resource, + Heap, + PipelineState, + RootSignature, + QueryHeap, + CommandSignature, + PipelineLibrary, + StateObject, +} + +impl Kind { + pub fn base(self) -> &'static str { + match self { + Kind::Device => "ID3D12Device", + Kind::CommandQueue => "ID3D12CommandQueue", + Kind::CommandAllocator => "ID3D12CommandAllocator", + Kind::CommandList => "ID3D12GraphicsCommandList", + Kind::Fence => "ID3D12Fence", + Kind::DescriptorHeap => "ID3D12DescriptorHeap", + Kind::Resource => "ID3D12Resource", + Kind::Heap => "ID3D12Heap", + Kind::PipelineState => "ID3D12PipelineState", + Kind::RootSignature => "ID3D12RootSignature", + Kind::QueryHeap => "ID3D12QueryHeap", + Kind::CommandSignature => "ID3D12CommandSignature", + Kind::PipelineLibrary => "ID3D12PipelineLibrary", + Kind::StateObject => "ID3D12StateObject", + } + } +} + +// --------------------------------------------------------------------------------------- +// statistics for the report +// --------------------------------------------------------------------------------------- + +#[derive(Debug, Default, Clone, Serialize, serde::Deserialize)] +pub struct ClassStat { + pub interface: String, + pub public_methods: usize, + pub internal_slots: usize, +} + +#[derive(Debug, Default, Clone, Serialize, serde::Deserialize)] +pub struct D3d12Stats { + pub backend: String, + pub adapter: String, + pub classes: Vec<ClassStat>, + pub unknown_iids: Vec<String>, + pub fallback_pipelines: u64, + pub failed_pipelines: u64, + pub fallback_root_signatures: u64, + pub presents: u64, + pub frame_boundaries: u64, + /// unified memory region opened as a GPU heap (`gpu::uma`): size, bytes in use, buffer VA + #[serde(default)] + pub uma_mb: u64, + #[serde(default)] + pub uma_used_kb: u64, + #[serde(default)] + pub uma_gpu_va: String, + #[serde(default)] + pub uma_error: String, + /// graphics pipelines built from recompiled console shaders (XCL shader ABI root signature) + #[serde(default)] + pub translated_pipelines: u64, + /// why console shaders could not be used (first messages) + #[serde(default)] + pub translation_errors: Vec<String>, +} + +static ADAPTER: Mutex<String> = Mutex::new(String::new()); +static UNKNOWN_IIDS: Mutex<BTreeSet<String>> = Mutex::new(BTreeSet::new()); +static FALLBACK_PSO: AtomicU64 = AtomicU64::new(0); +static FAILED_PSO: AtomicU64 = AtomicU64::new(0); +static FALLBACK_RS: AtomicU64 = AtomicU64::new(0); +static TRANSLATED_PSO: AtomicU64 = AtomicU64::new(0); +static TRANSLATE_ERRORS: Mutex<Vec<String>> = Mutex::new(Vec::new()); +/// XCL shader ABI root signature on the backend device (raw, kept for the process lifetime) +static ABI_RS: AtomicUsize = AtomicUsize::new(0); + +/// Root signature of the pipelines built from translated console shaders (bind it, then the +/// XCL ABI root UAVs io / res / mem, to draw with them). +pub fn abi_root_signature() -> Option<ID3D12RootSignature> { + let raw = ABI_RS.load(Ordering::Acquire) as *mut c_void; + if raw.is_null() { + return None; + } + unsafe { ID3D12RootSignature::from_raw_borrowed(&raw).cloned() } +} +/// UMA as one D3D12 buffer (placed in a heap opened over the process memory): the `mem` +/// of recompiled shaders. Kept for the process lifetime. +static UMA_BUFFER: Mutex<Option<(usize, u64)>> = Mutex::new(None); +static UMA_ERROR: Mutex<String> = Mutex::new(String::new()); + +/// GPU virtual address of the unified memory buffer (0: not available). +pub fn uma_gpu_va() -> u64 { + UMA_BUFFER.lock().ok().and_then(|g| g.map(|b| b.1)).unwrap_or(0) +} + +unsafe fn open_uma(device: &ID3D12Device) { + let Some(u) = crate::gpu::uma::get() else { + *UMA_ERROR.lock().unwrap() = "brak regionu UMA".into(); + return; + }; + let r = (|| -> Result<(usize, u64), String> { + let dev3: ID3D12Device3 = device.cast().map_err(|e| format!("ID3D12Device3: {e}"))?; + let heap: ID3D12Heap = dev3.OpenExistingHeapFromAddress(u.base() as *const c_void).map_err(|e| format!("OpenExistingHeapFromAddress: {e}"))?; + let desc = D3D12_RESOURCE_DESC { + Dimension: D3D12_RESOURCE_DIMENSION_BUFFER, + Width: u.size() as u64, + Height: 1, + DepthOrArraySize: 1, + MipLevels: 1, + SampleDesc: windows::Win32::Graphics::Dxgi::Common::DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR, + Flags: D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS | D3D12_RESOURCE_FLAG_ALLOW_CROSS_ADAPTER, + ..Default::default() + }; + let mut buf: Option<ID3D12Resource> = None; + device.CreatePlacedResource(&heap, 0, &desc, D3D12_RESOURCE_STATE_COMMON, None, &mut buf).map_err(|e| format!("CreatePlacedResource: {e}"))?; + let buf = buf.ok_or("CreatePlacedResource")?; + let va = buf.GetGPUVirtualAddress(); + std::mem::forget(heap); + Ok((buf.into_raw() as usize, va)) + })(); + match r { + Ok(b) => { + crate::xlog_info!("D3D12.X: UMA ({} MB) otwarta jako sterta GPU, bufor pod VA {:#x}", u.size() >> 20, b.1); + *UMA_BUFFER.lock().unwrap() = Some(b); + } + Err(e) => { + crate::xlog_warn!("D3D12.X: UMA niedostępna dla GPU: {e}"); + *UMA_ERROR.lock().unwrap() = e; + } + } +} + +pub fn stats() -> D3d12Stats { + let classes = CLASSES + .lock() + .map(|g| { + g.iter() + .map(|c| ClassStat { interface: c.iface.name.to_string(), public_methods: c.public, internal_slots: c.scanned - c.public }) + .collect() + }) + .unwrap_or_default(); + let (presents, boundaries) = super::present::counters(); + D3d12Stats { + backend: format!("{:?}", super::backend()).to_lowercase(), + adapter: ADAPTER.lock().map(|a| a.clone()).unwrap_or_default(), + classes, + unknown_iids: UNKNOWN_IIDS.lock().map(|s| s.iter().cloned().collect()).unwrap_or_default(), + fallback_pipelines: FALLBACK_PSO.load(Ordering::Relaxed), + failed_pipelines: FAILED_PSO.load(Ordering::Relaxed), + fallback_root_signatures: FALLBACK_RS.load(Ordering::Relaxed), + presents, + frame_boundaries: boundaries, + uma_mb: crate::gpu::uma::get().map(|u| (u.size() >> 20) as u64).unwrap_or(0), + uma_used_kb: crate::gpu::uma::get().map(|u| (u.used() >> 10) as u64).unwrap_or(0), + uma_gpu_va: match uma_gpu_va() { + 0 => String::new(), + v => format!("{v:#x}"), + }, + uma_error: UMA_ERROR.lock().map(|e| e.clone()).unwrap_or_default(), + translated_pipelines: TRANSLATED_PSO.load(Ordering::Relaxed), + translation_errors: TRANSLATE_ERRORS.lock().map(|e| e.clone()).unwrap_or_default(), + } +} + +// --------------------------------------------------------------------------------------- +// device creation +// --------------------------------------------------------------------------------------- + +static DEVICE: AtomicUsize = AtomicUsize::new(0); + +pub fn device_raw() -> *mut c_void { + DEVICE.load(Ordering::Acquire) as *mut c_void +} + +fn adapter_name(desc: &DXGI_ADAPTER_DESC1) -> String { + let n = desc.Description.iter().position(|&c| c == 0).unwrap_or(desc.Description.len()); + String::from_utf16_lossy(&desc.Description[..n]) +} + +/// Create the process-wide D3D12 device (high-performance GPU → WARP); once – later calls +/// return the existing device's adapter. +pub fn init() -> Result<String, String> { + if !device_raw().is_null() { + return Ok(ADAPTER.lock().map(|a| a.clone()).unwrap_or_default()); + } + unsafe { + let cfg = crate::state::config(); + if cfg.d3d12_debug { + let mut dbg: Option<ID3D12Debug> = None; + if D3D12GetDebugInterface(&mut dbg).is_ok() { + if let Some(d) = dbg { + d.EnableDebugLayer(); + crate::xlog_info!("D3D12: warstwa debug włączona"); + } + } + } + let factory: IDXGIFactory6 = CreateDXGIFactory2(DXGI_CREATE_FACTORY_FLAGS(0)).map_err(|e| format!("DXGI: {e}"))?; + let mut device: Option<ID3D12Device> = None; + let mut name = String::new(); + if !cfg.d3d12_adapter.eq_ignore_ascii_case("warp") { + let mut i = 0; + while let Ok(adapter) = factory.EnumAdapterByGpuPreference::<IDXGIAdapter1>(i, DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE) { + i += 1; + let Ok(desc) = adapter.GetDesc1() else { continue }; + if desc.Flags & DXGI_ADAPTER_FLAG_SOFTWARE.0 as u32 != 0 { + continue; + } + if D3D12CreateDevice(&adapter, D3D_FEATURE_LEVEL_12_0, &mut device).is_ok() { + name = format!("{} ({} MiB VRAM)", adapter_name(&desc), desc.DedicatedVideoMemory >> 20); + break; + } + } + } + if device.is_none() { + let warp: IDXGIAdapter = factory.EnumWarpAdapter().map_err(|e| format!("WARP: {e}"))?; + D3D12CreateDevice(&warp, D3D_FEATURE_LEVEL_11_0, &mut device).map_err(|e| format!("D3D12CreateDevice(WARP): {e}"))?; + name = "WARP (renderer programowy)".into(); + } + let device = device.ok_or("brak urządzenia")?; + open_uma(&device); + let raw = device.into_raw(); // one reference kept for the process lifetime + adopt(raw, Kind::Device); + DEVICE.store(raw as usize, Ordering::Release); + *ADAPTER.lock().unwrap() = name.clone(); + Ok(name) + } +} + +type QiFn = unsafe extern "system" fn(*mut c_void, *const GUID, *mut *mut c_void) -> HRESULT; +type RefFn = unsafe extern "system" fn(*mut c_void) -> u32; + +pub unsafe fn create_device(riid: *const c_void, ppv: *mut *mut c_void) -> HRESULT { + if ppv.is_null() { + return S_FALSE; + } + let dev = device_raw(); + if dev.is_null() { + return E_INVALIDARG; + } + if !riid.is_null() { + let qi: QiFn = std::mem::transmute(*vt(dev)); + let hr = qi(dev, riid as *const GUID, ppv); + if hr >= 0 { + return hr; + } + } + let add: RefFn = std::mem::transmute(*vt(dev).add(1)); + add(dev); + *ppv = dev; + S_OK +} + +// --------------------------------------------------------------------------------------- +// vtable adoption +// --------------------------------------------------------------------------------------- + +struct Class { + orig: usize, + ext: usize, + iface: &'static Iface, + public: usize, + scanned: usize, +} + +static CLASSES: Mutex<Vec<Class>> = Mutex::new(Vec::new()); +static EXTS: Mutex<Option<HashSet<usize>>> = Mutex::new(None); + +unsafe fn vt(obj: *mut c_void) -> *const usize { + *(obj as *const *const usize) +} + +/// Original function of `slot` for an adopted object. +pub unsafe fn orig_fn(this: *mut c_void, slot: usize) -> usize { + let ext = vt(this); + let orig = *ext.sub(1) as *const usize; + *orig.add(slot) +} + +fn module_of(addr: usize) -> usize { + use windows_sys::Win32::System::LibraryLoader::{ + GetModuleHandleExW, GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, + }; + let mut h = std::ptr::null_mut(); + unsafe { + GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, addr as *const u16, &mut h); + } + h as usize +} + +fn is_ext(v: usize) -> bool { + EXTS.lock().map(|g| g.as_ref().map(|s| s.contains(&v)).unwrap_or(false)).unwrap_or(false) +} + +/// Give a genuine D3D12 object the extended vtable for `kind`. +pub unsafe fn adopt(obj: *mut c_void, kind: Kind) { + if obj.is_null() { + return; + } + let v = vt(obj) as usize; + if is_ext(v) { + return; + } + let ext = class_for(obj, v, kind); + *(obj as *mut usize) = ext; +} + +unsafe fn class_for(obj: *mut c_void, orig: usize, kind: Kind) -> usize { + if let Some(c) = CLASSES.lock().unwrap().iter().find(|c| c.orig == orig) { + return c.ext; + } + let ot = orig as *const usize; + // most derived PC interface this object implements + let chain = layout::chain(kind.base()); + let qi: QiFn = std::mem::transmute(*ot); + let release: RefFn = std::mem::transmute(*ot.add(2)); + let mut iface = *chain.last().expect("layout chain"); + for i in &chain { + let iid = layout::parse_guid(i.iid); + let mut out = std::ptr::null_mut(); + if qi(obj, &iid, &mut out) >= 0 && !out.is_null() { + release(out); + iface = i; + break; + } + } + let public = iface.methods.len(); + let m0 = module_of(*ot); + let mut scanned = 0; + while scanned < public + MAX_SCAN && module_of(*ot.add(scanned)) == m0 { + scanned += 1; + } + let scanned = scanned.max(public); + let total = scanned + EXTRA_SLOTS; + let mut v: Vec<usize> = Vec::with_capacity(total + 1); + v.push(orig); + for i in 0..scanned { + v.push(*ot.add(i)); + } + let hook = if kind == Kind::CommandQueue { super::present::on_queue_console_method as usize } else { 0 }; + for i in public..scanned { + let info = stubs::new_info(DLL, &format!("{}::#{i} (spoza PC)", iface.name), 0); + info.hook.store(hook, Ordering::Release); + v[1 + i] = super::guard::make_guard(v[1 + i], info); + } + for i in scanned..total { + let (addr, info) = stubs::make_stub_info(DLL, &format!("{}::#{i} (spoza PC)", iface.name), 0); + info.hook.store(hook, Ordering::Release); + v.push(addr); + } + for (method, f) in overrides(kind) { + if let Some(s) = layout::slot(iface, method) { + if s < public { + v[1 + s] = f; + } + } + } + let leaked: &'static [usize] = Box::leak(v.into_boxed_slice()); + let ext = leaked.as_ptr() as usize + 8; + EXTS.lock().unwrap().get_or_insert_with(HashSet::new).insert(ext); + crate::xlog_info!( + "D3D12.X: {} – {public} metod PC, {} slotów wewnętrznych pod strażnikiem, +{EXTRA_SLOTS} zaślepek", + iface.name, + scanned - public + ); + CLASSES.lock().unwrap().push(Class { orig, ext, iface, public, scanned }); + ext +} + +fn overrides(kind: Kind) -> Vec<(&'static str, usize)> { + let mut v: Vec<(&'static str, usize)> = vec![("QueryInterface", qi_override as usize)]; + match kind { + Kind::Device => v.extend_from_slice(&[ + ("CreateCommandQueue", dev_create_command_queue as usize), + ("CreateCommandAllocator", dev_create_command_allocator as usize), + ("CreateGraphicsPipelineState", dev_create_graphics_pso as usize), + ("CreateComputePipelineState", dev_create_compute_pso as usize), + ("CreateCommandList", dev_create_command_list as usize), + ("CreateDescriptorHeap", dev_create_descriptor_heap as usize), + ("CreateRootSignature", dev_create_root_signature as usize), + ("CreateRenderTargetView", dev_create_rtv as usize), + ("CreateCommittedResource", dev_create_committed_resource as usize), + ("CreateHeap", dev_create_heap as usize), + ("CreatePlacedResource", dev_create_placed_resource as usize), + ("CreateReservedResource", dev_create_reserved_resource as usize), + ("CreateFence", dev_create_fence as usize), + ("CreateQueryHeap", dev_create_query_heap as usize), + ("CreateCommandSignature", dev_create_command_signature as usize), + ("CreatePipelineLibrary", dev_create_pipeline_library as usize), + ("CreatePipelineState", dev_create_pipeline_state as usize), + ("CreateCommandList1", dev_create_command_list1 as usize), + ("CreateCommittedResource1", dev_create_committed_resource1 as usize), + ("CreateHeap1", dev_create_heap1 as usize), + ("CreateReservedResource1", dev_create_reserved_resource1 as usize), + ("CreateStateObject", dev_create_state_object as usize), + ("CreateCommittedResource2", dev_create_committed_resource2 as usize), + ("CreatePlacedResource1", dev_create_placed_resource1 as usize), + ("CreateCommandQueue1", dev_create_command_queue1 as usize), + ]), + Kind::CommandList => v.push(("OMSetRenderTargets", cl_om_set_render_targets as usize)), + Kind::CommandQueue => v.push(("ExecuteCommandLists", q_execute_command_lists as usize)), + _ => {} + } + v +} + +/// Slot of `method` in the class of an adopted object. +unsafe fn slot_of(this: *mut c_void, method: &str) -> usize { + let ext = vt(this) as usize; + let g = CLASSES.lock().unwrap(); + let c = g.iter().find(|c| c.ext == ext).expect("adopted class"); + layout::slot(c.iface, method).expect("method in layout") +} + +unsafe extern "system" fn qi_override(this: *mut c_void, riid: *const GUID, ppv: *mut *mut c_void) -> HRESULT { + let f: QiFn = std::mem::transmute(orig_fn(this, 0)); + let hr = f(this, riid, ppv); + if hr == E_NOINTERFACE && !riid.is_null() { + let s = layout::guid_string(&*riid); + if UNKNOWN_IIDS.lock().unwrap().insert(s.clone()) { + crate::xlog_warn!("D3D12.X: QueryInterface({s}) – interfejs nieznany na PC (konsolowy?)"); + } + } + hr +} + +fn pc_iid(kind: Kind) -> GUID { + layout::parse_guid(layout::find(kind.base()).map(|i| i.iid).unwrap_or("")) +} + +macro_rules! as_usize { + ($x:ident) => { + usize + }; +} + +/// Device creation methods ending in (REFIID riid, void** ppv). +macro_rules! creator { + ($name:ident, $method:literal, $kind:expr, [$($a:ident),*]) => { + unsafe extern "system" fn $name(this: *mut c_void, $($a: usize,)* riid: *const GUID, ppv: *mut *mut c_void) -> HRESULT { + type F = unsafe extern "system" fn(*mut c_void, $(as_usize!($a),)* *const GUID, *mut *mut c_void) -> HRESULT; + let f: F = std::mem::transmute(orig_fn(this, slot_of(this, $method))); + let mut hr = f(this, $($a,)* riid, ppv); + if hr == E_NOINTERFACE { + let iid = pc_iid($kind); + hr = f(this, $($a,)* &iid, ppv); + } + if hr >= 0 && !ppv.is_null() && !(*ppv).is_null() { + adopt(*ppv, $kind); + } + hr + } + }; +} + +creator!(dev_create_command_queue, "CreateCommandQueue", Kind::CommandQueue, [a1]); +creator!(dev_create_command_queue1, "CreateCommandQueue1", Kind::CommandQueue, [a1, a2]); +creator!(dev_create_command_allocator, "CreateCommandAllocator", Kind::CommandAllocator, [a1]); +creator!(dev_create_command_list, "CreateCommandList", Kind::CommandList, [a1, a2, a3, a4]); +creator!(dev_create_command_list1, "CreateCommandList1", Kind::CommandList, [a1, a2, a3]); +creator!(dev_create_descriptor_heap, "CreateDescriptorHeap", Kind::DescriptorHeap, [a1]); +creator!(dev_create_committed_resource, "CreateCommittedResource", Kind::Resource, [a1, a2, a3, a4, a5]); +creator!(dev_create_committed_resource1, "CreateCommittedResource1", Kind::Resource, [a1, a2, a3, a4, a5, a6]); +creator!(dev_create_committed_resource2, "CreateCommittedResource2", Kind::Resource, [a1, a2, a3, a4, a5, a6]); +creator!(dev_create_placed_resource, "CreatePlacedResource", Kind::Resource, [a1, a2, a3, a4, a5]); +creator!(dev_create_placed_resource1, "CreatePlacedResource1", Kind::Resource, [a1, a2, a3, a4, a5]); +creator!(dev_create_reserved_resource, "CreateReservedResource", Kind::Resource, [a1, a2, a3]); +creator!(dev_create_reserved_resource1, "CreateReservedResource1", Kind::Resource, [a1, a2, a3, a4]); +creator!(dev_create_heap, "CreateHeap", Kind::Heap, [a1]); +creator!(dev_create_heap1, "CreateHeap1", Kind::Heap, [a1, a2]); +creator!(dev_create_fence, "CreateFence", Kind::Fence, [a1, a2]); +creator!(dev_create_query_heap, "CreateQueryHeap", Kind::QueryHeap, [a1]); +creator!(dev_create_command_signature, "CreateCommandSignature", Kind::CommandSignature, [a1, a2]); +creator!(dev_create_pipeline_library, "CreatePipelineLibrary", Kind::PipelineLibrary, [a1, a2]); +creator!(dev_create_state_object, "CreateStateObject", Kind::StateObject, [a1]); + +// --------------------------------------------------------------------------------------- +// pipeline states: capture + fallback +// --------------------------------------------------------------------------------------- + +struct Dummy { + vs: Vec<u8>, + ps: Vec<u8>, + cs: Vec<u8>, +} + +fn compile(src: &str, target: &str) -> Vec<u8> { + unsafe { + let mut blob = None; + let t = format!("{target}\0"); + let r = D3DCompile( + src.as_ptr() as *const c_void, + src.len(), + PCSTR::null(), + None, + None, + PCSTR(b"main\0".as_ptr()), + PCSTR(t.as_ptr()), + 0, + 0, + &mut blob, + None, + ); + match (r, blob) { + (Ok(()), Some(b)) => std::slice::from_raw_parts(b.GetBufferPointer() as *const u8, b.GetBufferSize()).to_vec(), + _ => Vec::new(), + } + } +} + +/// Stand-in shaders used when the PC driver rejects a console shader. +fn dummy() -> &'static Dummy { + static D: OnceLock<Dummy> = OnceLock::new(); + D.get_or_init(|| Dummy { + vs: compile("float4 main(uint id : SV_VertexID) : SV_Position { return float4(0, 0, 0, 1); }", "vs_5_0"), + ps: compile("float4 main() : SV_Target { return float4(1, 0, 1, 1); }", "ps_5_0"), + cs: compile("[numthreads(1, 1, 1)] void main() {}", "cs_5_0"), + }) +} + +fn bytecode(b: &[u8]) -> D3D12_SHADER_BYTECODE { + D3D12_SHADER_BYTECODE { pShaderBytecode: b.as_ptr() as *const c_void, BytecodeLength: b.len() } +} + +fn note_fallback(what: &str, hr: HRESULT, ok: bool) { + let n = if ok { FALLBACK_PSO.fetch_add(1, Ordering::Relaxed) } else { FAILED_PSO.fetch_add(1, Ordering::Relaxed) }; + if n < 5 || n % 1000 == 0 { + if ok { + crate::xlog_warn!("D3D12.X: {what} odrzucony przez sterownik ({hr:#x}) – użyto zastępczych shaderów (#{})", n + 1); + } else { + crate::xlog_error!("D3D12.X: {what} odrzucony ({hr:#x}), także w wersji zastępczej (#{})", n + 1); + } + } +} + +type PsoFn = unsafe extern "system" fn(*mut c_void, *const c_void, *const GUID, *mut *mut c_void) -> HRESULT; + +unsafe fn finish_pso(this: *mut c_void, f: PsoFn, desc: *const c_void, riid: *const GUID, ppv: *mut *mut c_void) -> HRESULT { + let mut hr = f(this, desc, riid, ppv); + if hr == E_NOINTERFACE { + let iid = pc_iid(Kind::PipelineState); + hr = f(this, desc, &iid, ppv); + } + if hr >= 0 && !ppv.is_null() && !(*ppv).is_null() { + adopt(*ppv, Kind::PipelineState); + } + hr +} + +fn note_translation_error(e: String) { + let mut g = TRANSLATE_ERRORS.lock().unwrap(); + if g.len() < 5 { + crate::xlog_warn!("D3D12.X: shadery konsoli w PSO bez tłumaczenia: {e}"); + } + if g.len() < 20 && !g.contains(&e) { + g.push(e); + } +} + +unsafe fn shader_bytes<'a>(b: &D3D12_SHADER_BYTECODE) -> Option<&'a [u8]> { + let (p, n) = (b.pShaderBytecode as usize, b.BytecodeLength); + (p != 0 && n > 0 && crate::gpu::shader::readable(p, n)).then(|| std::slice::from_raw_parts(p as *const u8, n)) +} + +/// XCL ABI root signature, created once on the backend device. +unsafe fn abi_rs_raw(this: *mut c_void) -> Option<*mut c_void> { + let cur = ABI_RS.load(Ordering::Acquire); + if cur != 0 { + return Some(cur as *mut c_void); + } + let dev = ID3D12Device::from_raw_borrowed(&this)?; + match crate::gpu::recomp::pso::abi_root_signature(dev, true) { + Ok(rs) => { + let raw = rs.into_raw(); + match ABI_RS.compare_exchange(0, raw as usize, Ordering::AcqRel, Ordering::Acquire) { + Ok(_) => Some(raw), + Err(other) => { + drop(ID3D12RootSignature::from_raw(raw)); + Some(other as *mut c_void) + } + } + } + Err(e) => { + note_translation_error(format!("root signature ABI XCL: {e}")); + None + } + } +} + +/// A graphics pipeline whose VS (and PS) are console shaders: recompiled VS/PS + the XCL +/// shader ABI root signature. None: not console shaders, or not translatable (the caller +/// goes on with the title's description and the stand-in fallback). +unsafe fn translated_graphics_pso(this: *mut c_void, f: PsoFn, desc: *const c_void, riid: *const GUID, ppv: *mut *mut c_void) -> Option<HRESULT> { + use crate::gpu::recomp::pso::{console_to_dxil, is_console, Stage}; + if !crate::gpu::shader::readable(desc as usize, std::mem::size_of::<D3D12_GRAPHICS_PIPELINE_STATE_DESC>()) { + return None; + } + let d = &*(desc as *const D3D12_GRAPHICS_PIPELINE_STATE_DESC); + let vs = shader_bytes(&d.VS)?; + if !is_console(vs) { + return None; + } + if shader_bytes(&d.GS).is_some() || shader_bytes(&d.HS).is_some() || shader_bytes(&d.DS).is_some() { + note_translation_error("PSO z GS/HS/DS – jeszcze nieobsługiwane".into()); + return None; + } + let vs_dxil = match console_to_dxil(vs, Stage::Vertex) { + Ok(b) => b, + Err(e) => { + note_translation_error(format!("VS: {e}")); + return None; + } + }; + let ps_dxil = match shader_bytes(&d.PS) { + Some(p) if is_console(p) => match console_to_dxil(p, Stage::Pixel) { + Ok(b) => Some(b), + Err(e) => { + note_translation_error(format!("PS: {e}")); + return None; + } + }, + Some(p) => Some(p.to_vec()), + None => None, + }; + let rs = abi_rs_raw(this)?; + let mut copy: D3D12_GRAPHICS_PIPELINE_STATE_DESC = std::ptr::read(d); + copy.pRootSignature = std::mem::transmute::<*mut c_void, std::mem::ManuallyDrop<Option<ID3D12RootSignature>>>(rs); + copy.VS = bytecode(&vs_dxil); + copy.PS = ps_dxil.as_deref().map(bytecode).unwrap_or_default(); + copy.CachedPSO = D3D12_CACHED_PIPELINE_STATE::default(); + let hr = finish_pso(this, f, © as *const _ as *const c_void, riid, ppv); + if hr < 0 { + note_translation_error(format!("sterownik odrzucił PSO z przetłumaczonymi shaderami ({hr:#x})")); + return None; + } + let n = TRANSLATED_PSO.fetch_add(1, Ordering::Relaxed); + if n < 5 || n % 1000 == 0 { + crate::xlog_info!("D3D12.X: graficzny PSO z przetłumaczonych shaderów konsoli (#{})", n + 1); + } + Some(hr) +} + +unsafe extern "system" fn dev_create_graphics_pso(this: *mut c_void, desc: *const c_void, riid: *const GUID, ppv: *mut *mut c_void) -> HRESULT { + super::null::capture_graphics_desc(desc as *const u8); + let f: PsoFn = std::mem::transmute(orig_fn(this, slot_of(this, "CreateGraphicsPipelineState"))); + if let Some(hr) = translated_graphics_pso(this, f, desc, riid, ppv) { + return hr; + } + let hr = finish_pso(this, f, desc, riid, ppv); + if hr >= 0 || !crate::gpu::shader::readable(desc as usize, std::mem::size_of::<D3D12_GRAPHICS_PIPELINE_STATE_DESC>()) { + return hr; + } + let d = dummy(); + let mut copy: D3D12_GRAPHICS_PIPELINE_STATE_DESC = std::ptr::read(desc as *const D3D12_GRAPHICS_PIPELINE_STATE_DESC); + copy.VS = bytecode(&d.vs); + copy.PS = bytecode(&d.ps); + copy.DS = D3D12_SHADER_BYTECODE::default(); + copy.HS = D3D12_SHADER_BYTECODE::default(); + copy.GS = D3D12_SHADER_BYTECODE::default(); + copy.StreamOutput = std::mem::zeroed(); + copy.InputLayout = D3D12_INPUT_LAYOUT_DESC::default(); + copy.CachedPSO = D3D12_CACHED_PIPELINE_STATE::default(); + let hr2 = finish_pso(this, f, © as *const _ as *const c_void, riid, ppv); + note_fallback("graficzny PSO", hr, hr2 >= 0); + if hr2 >= 0 { + hr2 + } else { + hr + } +} + +unsafe extern "system" fn dev_create_compute_pso(this: *mut c_void, desc: *const c_void, riid: *const GUID, ppv: *mut *mut c_void) -> HRESULT { + super::null::capture_compute_desc(desc as *const u8); + let f: PsoFn = std::mem::transmute(orig_fn(this, slot_of(this, "CreateComputePipelineState"))); + let hr = finish_pso(this, f, desc, riid, ppv); + if hr >= 0 || !crate::gpu::shader::readable(desc as usize, std::mem::size_of::<D3D12_COMPUTE_PIPELINE_STATE_DESC>()) { + return hr; + } + let mut copy: D3D12_COMPUTE_PIPELINE_STATE_DESC = std::ptr::read(desc as *const D3D12_COMPUTE_PIPELINE_STATE_DESC); + copy.CS = bytecode(&dummy().cs); + copy.CachedPSO = D3D12_CACHED_PIPELINE_STATE::default(); + let hr2 = finish_pso(this, f, © as *const _ as *const c_void, riid, ppv); + note_fallback("obliczeniowy PSO", hr, hr2 >= 0); + if hr2 >= 0 { + hr2 + } else { + hr + } +} + +/// Rewrite a pipeline state stream with stand-in shaders. None if not possible. +unsafe fn fallback_stream(desc: *const u8) -> Option<(Vec<u8>, [usize; 2])> { + let size = *(desc as *const usize); + let base = *(desc.add(8) as *const usize); + if !crate::gpu::shader::readable(base, size) { + return None; + } + let mut buf = std::slice::from_raw_parts(base as *const u8, size).to_vec(); + let d = dummy(); + let mut off = 0usize; + while off + 8 <= size { + let ty = u32::from_le_bytes(buf[off..off + 4].try_into().ok()?); + let (psize, palign) = super::null::subobject_payload(ty)?; + let poff = if palign == 8 { 8 } else { 4 }; + let at = off + poff; + let put = |buf: &mut Vec<u8>, b: &[u8]| { + buf[at..at + 8].copy_from_slice(&(b.as_ptr() as u64).to_le_bytes()); + buf[at + 8..at + 16].copy_from_slice(&(b.len() as u64).to_le_bytes()); + }; + match ty { + 1 => put(&mut buf, &d.vs), + 2 => put(&mut buf, &d.ps), + 6 => put(&mut buf, &d.cs), + 3 | 4 | 5 => put(&mut buf, &[]), + 24 | 25 => return None, // mesh pipelines need SM6.5 stand-ins + 12 | 19 => buf[at..at + 16].fill(0), // input layout, cached PSO + 7 => buf[at..at + 32].fill(0), // stream output + _ => {} + } + off += (poff + psize + 7) & !7; + } + Some((buf, [size, 0])) +} + +unsafe extern "system" fn dev_create_pipeline_state(this: *mut c_void, desc: *const c_void, riid: *const GUID, ppv: *mut *mut c_void) -> HRESULT { + super::null::capture_stream_desc(desc as *const u8); + let f: PsoFn = std::mem::transmute(orig_fn(this, slot_of(this, "CreatePipelineState"))); + let hr = finish_pso(this, f, desc, riid, ppv); + if hr >= 0 || !crate::gpu::shader::readable(desc as usize, 16) { + return hr; + } + let Some((buf, _)) = fallback_stream(desc as *const u8) else { + note_fallback("strumień PSO", hr, false); + return hr; + }; + let new_desc: [usize; 2] = [buf.len(), buf.as_ptr() as usize]; + let hr2 = finish_pso(this, f, new_desc.as_ptr() as *const c_void, riid, ppv); + note_fallback("strumień PSO", hr, hr2 >= 0); + if hr2 >= 0 { + hr2 + } else { + hr + } +} + +unsafe extern "system" fn dev_create_root_signature(this: *mut c_void, mask: u32, blob: *const c_void, len: usize, riid: *const GUID, ppv: *mut *mut c_void) -> HRESULT { + crate::gpu::shader::capture("rootsig", blob as usize, len); + type F = unsafe extern "system" fn(*mut c_void, u32, *const c_void, usize, *const GUID, *mut *mut c_void) -> HRESULT; + let f: F = std::mem::transmute(orig_fn(this, slot_of(this, "CreateRootSignature"))); + let mut hr = f(this, mask, blob, len, riid, ppv); + if hr == E_NOINTERFACE { + let iid = pc_iid(Kind::RootSignature); + hr = f(this, mask, blob, len, &iid, ppv); + } + if hr < 0 { + // console root signature rejected → empty one so the title keeps going + let desc = D3D12_ROOT_SIGNATURE_DESC { Flags: D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT, ..Default::default() }; + let mut ser = None; + if D3D12SerializeRootSignature(&desc, D3D_ROOT_SIGNATURE_VERSION_1, &mut ser, None).is_ok() { + if let Some(b) = ser { + let iid = pc_iid(Kind::RootSignature); + let hr2 = f(this, mask, b.GetBufferPointer(), b.GetBufferSize(), &iid, ppv); + if hr2 >= 0 { + let n = FALLBACK_RS.fetch_add(1, Ordering::Relaxed); + if n < 5 { + crate::xlog_warn!("D3D12.X: root signature odrzucona ({hr:#x}) – zastępcza pusta (#{})", n + 1); + } + hr = hr2; + } + } + } + } + if hr >= 0 && !ppv.is_null() && !(*ppv).is_null() { + adopt(*ppv, Kind::RootSignature); + } + hr +} + +// --------------------------------------------------------------------------------------- +// presentation tracking +// --------------------------------------------------------------------------------------- + +unsafe extern "system" fn dev_create_rtv(this: *mut c_void, res: *mut c_void, desc: *const c_void, handle: usize) { + type F = unsafe extern "system" fn(*mut c_void, *mut c_void, *const c_void, usize); + let f: F = std::mem::transmute(orig_fn(this, slot_of(this, "CreateRenderTargetView"))); + f(this, res, desc, handle); + super::present::note_rtv(handle, res); +} + +unsafe extern "system" fn cl_om_set_render_targets(this: *mut c_void, n: u32, rtvs: *const usize, single: i32, dsv: *const usize) { + type F = unsafe extern "system" fn(*mut c_void, u32, *const usize, i32, *const usize); + let f: F = std::mem::transmute(orig_fn(this, slot_of(this, "OMSetRenderTargets"))); + f(this, n, rtvs, single, dsv); + if n > 0 && !rtvs.is_null() { + super::present::note_rt0(this as usize, *rtvs); + } +} + +unsafe extern "system" fn q_execute_command_lists(this: *mut c_void, n: u32, lists: *const *mut c_void) { + type F = unsafe extern "system" fn(*mut c_void, u32, *const *mut c_void); + let f: F = std::mem::transmute(orig_fn(this, slot_of(this, "ExecuteCommandLists"))); + f(this, n, lists); + if n > 0 && !lists.is_null() { + super::present::note_execute(this, std::slice::from_raw_parts(lists, n as usize)); + } +} diff --git a/crates/xcl/src/hle/kernelx.rs b/crates/xcl/src/hle/kernelx.rs new file mode 100644 index 0000000..45f08b3 --- /dev/null +++ b/crates/xcl/src/hle/kernelx.rs @@ -0,0 +1,662 @@ +//! kernelx.dll – the console flavour of kernel32/kernelbase. +//! +//! Only functions that differ from Windows are implemented here; everything else falls +//! back to the real KERNELBASE/KERNEL32 export of the same name (see resolver). +//! Signatures and constants: public GDK docs + WinDurango (LGPL-3.0) as reference only (no code taken). + +#![allow(non_snake_case)] + +use std::ffi::c_void; +use std::sync::atomic::{AtomicU32, AtomicUsize, Ordering}; + +use windows_sys::Win32::Foundation as fnd; +use windows_sys::Win32::System::LibraryLoader as ll; +use windows_sys::Win32::System::Memory as mem; +use windows_sys::Win32::System::Threading as thr; + +use crate::modules; +use crate::pe::ImportName; +use crate::resolver; +use crate::util::{dll_key, from_ansi_ptr, from_wide_ptr, write_ansi_out, write_wide_out}; + +type HANDLE = *mut c_void; +type BOOL = i32; + +pub fn exports() -> Vec<(&'static str, usize)> { + crate::hle_exports![ + // memory + VirtualAlloc, + VirtualAllocEx, + VirtualFree, + VirtualFreeEx, + VirtualProtect, + VirtualProtectEx, + XMemAlloc, + XMemFree, + XMemAllocDefault, + XMemFreeDefault, + XMemSetAllocationHooks, + TitleMemoryStatus, + JobTitleMemoryStatus, + ToolingMemoryStatus, + AllocateTitlePhysicalPages, + FreeTitlePhysicalPages, + MapTitlePhysicalPages, + // threads / system + SetThreadName, + GetThreadName, + SetThreadpoolAffinityMask, + QueryProcessorSchedulingStatistics, + GetConsoleType, + GetSystemOSVersion, + // modules + LoadLibraryW, + LoadLibraryA, + LoadLibraryExW, + LoadLibraryExA, + LoadPackagedLibrary, + GetProcAddress, + GetModuleHandleW, + GetModuleHandleA, + GetModuleHandleExW, + GetModuleHandleExA, + GetModuleFileNameW, + GetModuleFileNameA, + FreeLibrary, + DisableThreadLibraryCalls, + ] +} + +// --------------------------------------------------------------------------------------- +// Memory +// --------------------------------------------------------------------------------------- + +pub const MEM_GRAPHICS: u32 = 0x1000_0000; +pub const MEM_TITLE: u32 = 0x4000_0000; +const STD_ALLOC_MASK: u32 = 0x1000 | 0x2000 | 0x8_0000 | 0x10_0000 | 0x20_0000 | 0x100_0000; +const STD_PROTECT_MASK: u32 = 0xFF | 0x100 | 0x200 | 0x400; + +static WARNED_FLAGS: AtomicU32 = AtomicU32::new(0); + +pub fn sanitize_alloc_type(t: u32) -> u32 { + let s = t & STD_ALLOC_MASK; + let dropped = t & !STD_ALLOC_MASK; + if dropped != 0 && WARNED_FLAGS.fetch_or(dropped, Ordering::Relaxed) & dropped != dropped { + crate::xlog_debug!("VirtualAlloc: pomijam konsolowe flagi alokacji {dropped:#x}"); + } + if s == 0 { + 0x1000 | 0x2000 + } else { + s + } +} + +pub fn sanitize_protect(p: u32) -> u32 { + let s = p & STD_PROTECT_MASK; + if s & 0xFF == 0 { + (s & !0xFF) | mem::PAGE_READWRITE + } else { + s + } +} + +/// Graphics memory (MEM_GRAPHICS, committed, no fixed address) comes from the unified +/// memory region the GPU uses directly (`gpu::uma`); everything else from Windows. +pub unsafe extern "system" fn VirtualAlloc(addr: *const c_void, size: usize, t: u32, p: u32) -> *mut c_void { + if addr.is_null() && t & MEM_GRAPHICS != 0 && t & 0x1000 != 0 { + if let Some(q) = crate::gpu::uma::get().and_then(|u| u.alloc(size, 0)) { + return q as *mut c_void; + } + } + mem::VirtualAlloc(addr, size, sanitize_alloc_type(t), sanitize_protect(p)) +} + +/// Blocks of the unified memory region go back to it (MEM_RELEASE) or stay (MEM_DECOMMIT +/// zeroes them); others to Windows. +pub unsafe extern "system" fn VirtualFree(addr: *mut c_void, size: usize, t: u32) -> BOOL { + if let Some(u) = crate::gpu::uma::get().filter(|u| u.contains(addr as usize)) { + if t & 0x8000 != 0 { + return u.free(addr as usize) as BOOL; + } + if t & 0x4000 != 0 && size > 0 { + std::ptr::write_bytes(addr as *mut u8, 0, size); + } + return 1; + } + mem::VirtualFree(addr, size, t) +} + +pub unsafe extern "system" fn VirtualFreeEx(proc_: HANDLE, addr: *mut c_void, size: usize, t: u32) -> BOOL { + if crate::gpu::uma::get().is_some_and(|u| u.contains(addr as usize)) { + return VirtualFree(addr, size, t); + } + mem::VirtualFreeEx(proc_, addr, size, t) +} + +pub unsafe extern "system" fn VirtualAllocEx(proc_: HANDLE, addr: *const c_void, size: usize, t: u32, p: u32) -> *mut c_void { + mem::VirtualAllocEx(proc_, addr, size, sanitize_alloc_type(t), sanitize_protect(p)) +} + +pub unsafe extern "system" fn VirtualProtect(addr: *const c_void, size: usize, p: u32, old: *mut u32) -> BOOL { + mem::VirtualProtect(addr, size, sanitize_protect(p), old) +} + +pub unsafe extern "system" fn VirtualProtectEx(proc_: HANDLE, addr: *const c_void, size: usize, p: u32, old: *mut u32) -> BOOL { + mem::VirtualProtectEx(proc_, addr, size, sanitize_protect(p), old) +} + +/// XALLOC_ATTRIBUTES bit fields. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct XAllocAttrs { + pub object_type: u32, + pub page_size: u32, + pub allocator_id: u32, + pub alignment: u32, + pub memory_type: u32, +} + +impl XAllocAttrs { + pub fn decode(a: u64) -> Self { + XAllocAttrs { + object_type: (a & 0x3FFF) as u32, + page_size: ((a >> 14) & 0x3) as u32, + allocator_id: ((a >> 16) & 0xFF) as u32, + alignment: ((a >> 24) & 0x1F) as u32, + memory_type: ((a >> 29) & 0xF) as u32, + } + } +} + +unsafe fn aligned_heap_alloc(size: usize, align: usize) -> *mut c_void { + let total = size + align + 16; + let raw = mem::HeapAlloc(mem::GetProcessHeap(), mem::HEAP_ZERO_MEMORY, total) as usize; + if raw == 0 { + return std::ptr::null_mut(); + } + let aligned = (raw + 16 + align - 1) & !(align - 1); + *((aligned - 8) as *mut usize) = raw; + aligned as *mut c_void +} + +unsafe fn aligned_heap_free(p: *mut c_void) { + if p.is_null() { + return; + } + let raw = *((p as usize - 8) as *const usize); + mem::HeapFree(mem::GetProcessHeap(), 0, raw as *const c_void); +} + +pub unsafe extern "system" fn XMemAllocDefault(size: usize, attrs: u64) -> *mut c_void { + let a = XAllocAttrs::decode(attrs); + if a.memory_type == 0 { + aligned_heap_alloc(size, 1usize << a.alignment.max(4)) + } else if let Some(q) = crate::gpu::uma::get().and_then(|u| u.alloc(size, 1usize << a.alignment.min(30))) { + q as *mut c_void // graphics memory types: GPU-visible + } else { + mem::VirtualAlloc(std::ptr::null(), size, mem::MEM_COMMIT | mem::MEM_RESERVE, mem::PAGE_READWRITE) + } +} + +pub unsafe extern "system" fn XMemFreeDefault(p: *mut c_void, attrs: u64) { + if p.is_null() { + return; + } + if XAllocAttrs::decode(attrs).memory_type == 0 { + aligned_heap_free(p); + } else if !crate::gpu::uma::get().is_some_and(|u| u.free(p as usize)) { + mem::VirtualFree(p, 0, mem::MEM_RELEASE); + } +} + +type XMemAllocFn = unsafe extern "system" fn(usize, u64) -> *mut c_void; +type XMemFreeFn = unsafe extern "system" fn(*mut c_void, u64); +static XMEM_ALLOC_HOOK: AtomicUsize = AtomicUsize::new(0); +static XMEM_FREE_HOOK: AtomicUsize = AtomicUsize::new(0); + +pub unsafe extern "system" fn XMemAlloc(size: usize, attrs: u64) -> *mut c_void { + match XMEM_ALLOC_HOOK.load(Ordering::Acquire) { + 0 => XMemAllocDefault(size, attrs), + f => std::mem::transmute::<usize, XMemAllocFn>(f)(size, attrs), + } +} + +pub unsafe extern "system" fn XMemFree(p: *mut c_void, attrs: u64) { + match XMEM_FREE_HOOK.load(Ordering::Acquire) { + 0 => XMemFreeDefault(p, attrs), + f => std::mem::transmute::<usize, XMemFreeFn>(f)(p, attrs), + } +} + +pub unsafe extern "system" fn XMemSetAllocationHooks(alloc: usize, free: usize) { + if alloc == 0 { + XMEM_ALLOC_HOOK.store(0, Ordering::Release); + XMEM_FREE_HOOK.store(0, Ordering::Release); + } else { + XMEM_ALLOC_HOOK.store(alloc, Ordering::Release); + XMEM_FREE_HOOK.store(free, Ordering::Release); + } +} + +#[repr(C)] +pub struct TitleMemoryStatusT { + pub dw_length: u32, + pub dw_reserved: u32, + pub total: u64, + pub avail: u64, + pub legacy_used: u64, + pub legacy_peak: u64, + pub legacy_avail: u64, + pub title_used: u64, + pub title_avail: u64, + pub legacy_page_table_used: u64, + pub title_page_table_used: u64, +} + +fn process_private_bytes() -> u64 { + use windows_sys::Win32::System::ProcessStatus::{K32GetProcessMemoryInfo, PROCESS_MEMORY_COUNTERS_EX}; + unsafe { + let mut c: PROCESS_MEMORY_COUNTERS_EX = std::mem::zeroed(); + c.cb = std::mem::size_of::<PROCESS_MEMORY_COUNTERS_EX>() as u32; + if K32GetProcessMemoryInfo(thr::GetCurrentProcess(), &mut c as *mut _ as *mut _, c.cb) != 0 { + c.PrivateUsage as u64 + } else { + 0 + } + } +} + +pub unsafe extern "system" fn TitleMemoryStatus(buf: *mut TitleMemoryStatusT) -> BOOL { + if buf.is_null() || (*buf).dw_length < std::mem::size_of::<TitleMemoryStatusT>() as u32 { + fnd::SetLastError(fnd::ERROR_INVALID_PARAMETER); + return 0; + } + let total = crate::state::config().title_memory_mb * 1024 * 1024; + let used = process_private_bytes().min(total); + let b = &mut *buf; + b.total = total; + b.avail = total - used; + b.legacy_used = 0; + b.legacy_peak = 0; + b.legacy_avail = 0; + b.title_used = used; + b.title_avail = total - used; + b.legacy_page_table_used = 0; + b.title_page_table_used = 0; + 1 +} + +pub unsafe extern "system" fn JobTitleMemoryStatus(buf: *mut TitleMemoryStatusT) -> BOOL { + TitleMemoryStatus(buf) +} + +pub unsafe extern "system" fn ToolingMemoryStatus(buf: *mut u32) -> BOOL { + if buf.is_null() || *buf < 40 { + fnd::SetLastError(fnd::ERROR_INVALID_PARAMETER); + return 0; + } + std::ptr::write_bytes((buf as *mut u8).add(8), 0, 32); + 1 +} + +pub unsafe extern "system" fn AllocateTitlePhysicalPages(_p: HANDLE, _t: u32, num: *mut usize, _arr: *mut usize) -> BOOL { + crate::xlog_warn!("AllocateTitlePhysicalPages({}) – strony fizyczne nie są jeszcze emulowane", if num.is_null() { 0 } else { *num }); + fnd::SetLastError(fnd::ERROR_NOT_SUPPORTED); + 0 +} + +pub unsafe extern "system" fn FreeTitlePhysicalPages(_p: HANDLE, _n: usize, _arr: *mut usize) -> BOOL { + fnd::SetLastError(fnd::ERROR_NOT_SUPPORTED); + 0 +} + +pub unsafe extern "system" fn MapTitlePhysicalPages(_va: *mut c_void, _n: usize, _t: u32, _p: u32, _arr: *mut usize) -> *mut c_void { + crate::xlog_warn!("MapTitlePhysicalPages – strony fizyczne nie są jeszcze emulowane"); + fnd::SetLastError(fnd::ERROR_NOT_SUPPORTED); + std::ptr::null_mut() +} + +// --------------------------------------------------------------------------------------- +// Threads / system info +// --------------------------------------------------------------------------------------- + +pub unsafe extern "system" fn SetThreadName(h: HANDLE, name: *const u16) -> BOOL { + if let Some(n) = from_wide_ptr(name) { + crate::xlog_debug!("SetThreadName({n})"); + } + (thr::SetThreadDescription(h, name) >= 0) as BOOL +} + +pub unsafe extern "system" fn GetThreadName(h: HANDLE, buf: *mut u16, len: usize, ret_len: *mut usize) -> BOOL { + let mut p: *mut u16 = std::ptr::null_mut(); + if thr::GetThreadDescription(h, &mut p) < 0 || p.is_null() { + return 0; + } + let s = from_wide_ptr(p).unwrap_or_default(); + fnd::LocalFree(p as *mut c_void); + let n = s.encode_utf16().count(); + if !ret_len.is_null() { + *ret_len = n; + } + if buf.is_null() || len == 0 { + return (len == 0) as BOOL; + } + write_wide_out(&s, buf, len.min(u32::MAX as usize) as u32); + 1 +} + +pub unsafe extern "system" fn SetThreadpoolAffinityMask(_pool: *mut c_void, _mask: usize) -> BOOL { + 1 +} + +pub unsafe extern "system" fn QueryProcessorSchedulingStatistics(out: *mut [u64; 3]) { + if out.is_null() { + return; + } + let mut idle = std::mem::zeroed::<fnd::FILETIME>(); + let mut kern = std::mem::zeroed::<fnd::FILETIME>(); + let mut user = std::mem::zeroed::<fnd::FILETIME>(); + thr::GetSystemTimes(&mut idle, &mut kern, &mut user); + let ft = |f: fnd::FILETIME| ((f.dwHighDateTime as u64) << 32) | f.dwLowDateTime as u64; + let (i, k, u) = (ft(idle), ft(kern), ft(user)); + *out = [(k + u).saturating_sub(i), i, k + u]; +} + +pub unsafe extern "system" fn GetConsoleType() -> u32 { + crate::state::config().console_type_raw +} + +#[repr(C)] +pub struct SystemOsVersionInfo { + pub major: u8, + pub minor: u8, + pub build: u16, + pub revision: u16, +} + +#[repr(C)] +struct OsVersionInfoW { + size: u32, + major: u32, + minor: u32, + build: u32, + platform: u32, + csd: [u16; 128], +} + +#[link(name = "ntdll", kind = "raw-dylib")] +extern "system" { + fn RtlGetVersion(info: *mut OsVersionInfoW) -> i32; +} + +pub fn host_os_version() -> (u32, u32, u32) { + unsafe { + let mut v: OsVersionInfoW = std::mem::zeroed(); + v.size = std::mem::size_of::<OsVersionInfoW>() as u32; + RtlGetVersion(&mut v); + (v.major, v.minor, v.build) + } +} + +pub unsafe extern "system" fn GetSystemOSVersion(out: *mut SystemOsVersionInfo) { + if out.is_null() { + return; + } + let (major, minor, build) = host_os_version(); + *out = SystemOsVersionInfo { major: major as u8, minor: minor as u8, build: build as u16, revision: 0 }; +} + +// --------------------------------------------------------------------------------------- +// Modules +// --------------------------------------------------------------------------------------- + +const LOAD_AS_DATA: u32 = 0x2 | 0x20 | 0x40; // DATAFILE | IMAGE_RESOURCE | DATAFILE_EXCLUSIVE + +fn load_library_impl(name: Option<String>) -> usize { + let Some(name) = name else { + unsafe { fnd::SetLastError(fnd::ERROR_INVALID_PARAMETER) }; + return 0; + }; + match resolver::load_library(&name) { + Some(h) => { + crate::xlog_debug!("LoadLibrary({name}) → {h:#x}"); + h + } + None => { + crate::xlog_warn!("LoadLibrary({name}) → NULL"); + unsafe { fnd::SetLastError(fnd::ERROR_MOD_NOT_FOUND) }; + 0 + } + } +} + +pub unsafe extern "system" fn LoadLibraryW(name: *const u16) -> usize { + load_library_impl(from_wide_ptr(name)) +} + +pub unsafe extern "system" fn LoadLibraryA(name: *const u8) -> usize { + load_library_impl(from_ansi_ptr(name)) +} + +unsafe fn load_as_data(name: &str, file: HANDLE, flags: u32) -> usize { + let real = crate::vfs::get().and_then(|v| v.real_path_for_read(name)).unwrap_or_else(|| name.to_string()); + ll::LoadLibraryExW(crate::util::wide(&real).as_ptr(), file, flags) as usize +} + +pub unsafe extern "system" fn LoadLibraryExW(name: *const u16, file: HANDLE, flags: u32) -> usize { + if flags & LOAD_AS_DATA != 0 { + return load_as_data(&from_wide_ptr(name).unwrap_or_default(), file, flags); + } + load_library_impl(from_wide_ptr(name)) +} + +pub unsafe extern "system" fn LoadLibraryExA(name: *const u8, file: HANDLE, flags: u32) -> usize { + if flags & LOAD_AS_DATA != 0 { + return load_as_data(&from_ansi_ptr(name).unwrap_or_default(), file, flags); + } + load_library_impl(from_ansi_ptr(name)) +} + +pub unsafe extern "system" fn LoadPackagedLibrary(name: *const u16, _reserved: u32) -> usize { + load_library_impl(from_wide_ptr(name)) +} + +pub unsafe extern "system" fn GetProcAddress(h: usize, name: *const u8) -> usize { + let what = if (name as usize) >> 16 == 0 { + ImportName::Ordinal(name as usize as u16) + } else { + ImportName::Name { hint: 0, name: crate::util::from_cstr_ptr(name).unwrap_or_default() } + }; + let h = if h == 0 { modules::main_module().map(|m| m.base).unwrap_or(0) } else { h }; + match resolver::get_proc_address(h, &what) { + Some(a) => a, + None => { + fnd::SetLastError(fnd::ERROR_PROC_NOT_FOUND); + 0 + } + } +} + +fn module_handle_impl(name: &str) -> usize { + let key = dll_key(name); + let reg = crate::hle::registry(); + if let Some(m) = reg.hle_for(&key) { + if !(m.aliases_are_system() && key != m.name) { + return modules::hle_handle(m.name); + } + } + if let Some(m) = modules::find_mapped_by_name(&key) { + return m.base; + } + unsafe { ll::GetModuleHandleW(crate::util::wide(name).as_ptr()) as usize } +} + +fn main_or_real_base() -> usize { + modules::main_module() + .map(|m| m.base) + .unwrap_or_else(|| unsafe { ll::GetModuleHandleW(std::ptr::null()) as usize }) +} + +pub unsafe extern "system" fn GetModuleHandleW(name: *const u16) -> usize { + match from_wide_ptr(name) { + None => main_or_real_base(), + Some(n) => { + let h = module_handle_impl(&n); + if h == 0 { + fnd::SetLastError(fnd::ERROR_MOD_NOT_FOUND); + } + h + } + } +} + +pub unsafe extern "system" fn GetModuleHandleA(name: *const u8) -> usize { + match from_ansi_ptr(name) { + None => main_or_real_base(), + Some(n) => { + let h = module_handle_impl(&n); + if h == 0 { + fnd::SetLastError(fnd::ERROR_MOD_NOT_FOUND); + } + h + } + } +} + +const FROM_ADDRESS: u32 = 0x4; + +unsafe fn module_handle_ex(flags: u32, name: Option<String>, addr: usize, out: *mut usize) -> BOOL { + if out.is_null() { + fnd::SetLastError(fnd::ERROR_INVALID_PARAMETER); + return 0; + } + let h = if flags & FROM_ADDRESS != 0 { + match modules::image_base_for_addr(addr) { + Some(b) => b, + None => { + let mut r = std::ptr::null_mut(); + if ll::GetModuleHandleExW(flags, addr as *const u16, &mut r) != 0 { + r as usize + } else { + 0 + } + } + } + } else { + match name { + None => main_or_real_base(), + Some(n) => module_handle_impl(&n), + } + }; + *out = h; + if h == 0 { + fnd::SetLastError(fnd::ERROR_MOD_NOT_FOUND); + 0 + } else { + 1 + } +} + +pub unsafe extern "system" fn GetModuleHandleExW(flags: u32, name: *const u16, out: *mut usize) -> BOOL { + let n = if flags & FROM_ADDRESS != 0 { None } else { from_wide_ptr(name) }; + module_handle_ex(flags, n, name as usize, out) +} + +pub unsafe extern "system" fn GetModuleHandleExA(flags: u32, name: *const u8, out: *mut usize) -> BOOL { + let n = if flags & FROM_ADDRESS != 0 { None } else { from_ansi_ptr(name) }; + module_handle_ex(flags, n, name as usize, out) +} + +fn module_path_for(h: usize) -> Option<String> { + let main = modules::main_module(); + if h == 0 || main.as_ref().map(|m| m.base) == Some(h) { + return main.map(|m| m.path.to_string_lossy().into_owned()); + } + if let Some(m) = modules::find_mapped_by_base(h) { + return Some(m.path.to_string_lossy().into_owned()); + } + modules::hle_name_by_handle(h).map(|n| format!("C:\\Windows\\System32\\{n}")) +} + +pub unsafe extern "system" fn GetModuleFileNameW(h: usize, buf: *mut u16, size: u32) -> u32 { + match module_path_for(h) { + Some(p) => write_wide_out(&p, buf, size), + None => ll::GetModuleFileNameW(h as _, buf, size), + } +} + +pub unsafe extern "system" fn GetModuleFileNameA(h: usize, buf: *mut u8, size: u32) -> u32 { + match module_path_for(h) { + Some(p) => write_ansi_out(&p, buf, size), + None => ll::GetModuleFileNameA(h as _, buf, size), + } +} + +pub unsafe extern "system" fn FreeLibrary(h: usize) -> BOOL { + if modules::find_mapped_by_base(h).is_some() || modules::hle_name_by_handle(h).is_some() { + return 1; + } + fnd::FreeLibrary(h as _) +} + +pub unsafe extern "system" fn DisableThreadLibraryCalls(h: usize) -> BOOL { + if let Some(m) = modules::find_mapped_by_base(h) { + m.no_thread_calls.store(true, Ordering::Relaxed); + return 1; + } + ll::DisableThreadLibraryCalls(h as _) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn console_alloc_flags_are_stripped() { + assert_eq!(sanitize_alloc_type(MEM_GRAPHICS | 0x1000 | 0x2000), 0x3000); + assert_eq!(sanitize_alloc_type(MEM_TITLE), 0x3000); + assert_eq!(sanitize_protect(0x1000_0004), 0x04); + assert_eq!(sanitize_protect(0x2000_0000), mem::PAGE_READWRITE); + unsafe { + let p = VirtualAlloc(std::ptr::null(), 0x10000, MEM_GRAPHICS | MEM_TITLE | 0x3000, 0x0400_0004); + assert!(!p.is_null()); + *(p as *mut u64) = 0xABCD; + // graphics memory: from the GPU-visible region (when it could be created) + if let Some(u) = crate::gpu::uma::get() { + assert!(u.contains(p as usize)); + } + assert_eq!(VirtualFree(p, 0, mem::MEM_RELEASE), 1); + let q = VirtualAlloc(std::ptr::null(), 0x10000, 0x3000, 0x04); // ordinary memory: Windows + assert!(crate::gpu::uma::get().is_none_or(|u| !u.contains(q as usize))); + assert_eq!(VirtualFree(q, 0, mem::MEM_RELEASE), 1); + } + } + + #[test] + fn xmem_alignment_and_zeroing() { + let attrs = |align_log2: u64, mtype: u64| (align_log2 << 24) | (mtype << 29); + assert_eq!(XAllocAttrs::decode(attrs(8, 0)).alignment, 8); + unsafe { + let p = XMemAlloc(1000, attrs(8, 0)); + assert!(!p.is_null()); + assert_eq!(p as usize % 256, 0); + assert!(std::slice::from_raw_parts(p as *const u8, 1000).iter().all(|&b| b == 0)); + XMemFree(p, attrs(8, 0)); + let g = XMemAlloc(0x20000, attrs(0, 1)); // graphics memory → VirtualAlloc + assert!(!g.is_null()); + assert_eq!(g as usize % 0x10000, 0); + XMemFree(g, attrs(0, 1)); + } + } + + #[test] + fn title_memory_status_reports_budget() { + let mut s: TitleMemoryStatusT = unsafe { std::mem::zeroed() }; + s.dw_length = std::mem::size_of::<TitleMemoryStatusT>() as u32; + assert_eq!(std::mem::size_of::<TitleMemoryStatusT>(), 80); + assert_eq!(unsafe { TitleMemoryStatus(&mut s) }, 1); + assert_eq!(s.total, 13_824 * 1024 * 1024); + assert!(s.avail <= s.total); + s.dw_length = 8; + assert_eq!(unsafe { TitleMemoryStatus(&mut s) }, 0); + } +} diff --git a/crates/xcl/src/hle/mod.rs b/crates/xcl/src/hle/mod.rs new file mode 100644 index 0000000..b75e242 --- /dev/null +++ b/crates/xcl/src/hle/mod.rs @@ -0,0 +1,190 @@ +//! HLE ("high-level emulation") modules: our own implementations of console DLLs. +//! +//! A module is just a name → function address table. Routing decides which imported DLL +//! names go to which module (`kernelx.dll`, `kernel32.dll`, `api-ms-win-core-*` → kernelx; +//! `xgameruntime*.dll` → xgameruntime; `d3d12_xs.dll` → d3d12x …). Config aliases win. + +use std::collections::HashMap; +use std::sync::OnceLock; + +use crate::config::Config; +use crate::util::glob_match; + +pub mod d3d12_layout; +pub mod d3d12x; +pub mod kernelx; +pub mod xaudio2; +pub mod xgameruntime; + +/// Build an export list from functions whose Rust names equal the exported names. +#[macro_export] +macro_rules! hle_exports { + ($($name:ident),* $(,)?) => { + vec![$( (stringify!($name), $name as usize) ),*] + }; +} + +pub struct HleModule { + /// Canonical DLL name, e.g. "kernelx.dll". + pub name: &'static str, + pub exports: HashMap<&'static str, usize>, + pub ordinals: HashMap<u16, &'static str>, + /// For names we do not implement: real Windows DLLs to try, in order. `"@self"` is + /// the DLL name the title imported (when it is not our canonical name). + pub fallback: &'static [&'static str], +} + +/// The real DLL a name we route here stands for. +pub const SELF: &str = "@self"; + +impl HleModule { + fn new(name: &'static str, list: Vec<(&'static str, usize)>, fallback: &'static [&'static str]) -> Self { + HleModule { name, exports: list.into_iter().collect(), ordinals: HashMap::new(), fallback } + } + + /// Kernel family: the names routed here (kernel32.dll, api-ms-win-core-*) are real + /// Windows DLLs, so LoadLibrary / GetModuleHandle hand out the genuine module. + pub fn aliases_are_system(&self) -> bool { + self.fallback.contains(&SELF) + } +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum Route { + /// Index into `Registry::modules`. + Hle(usize), + /// Load the real DLL with LoadLibrary. + System, + /// Every import becomes an auto-stub. + Stub, +} + +pub struct Registry { + pub modules: Vec<HleModule>, + routes: Vec<(String, Route)>, +} + +static REG: OnceLock<Registry> = OnceLock::new(); + +pub const KERNELX: &str = "kernelx.dll"; +pub const XGAMERUNTIME: &str = "xgameruntime.dll"; +pub const D3D12X: &str = "d3d12_xs.dll"; +pub const XAUDIO2: &str = "xaudio2_9.dll"; + +fn build(config: &Config) -> Registry { + let modules = vec![ + HleModule::new(KERNELX, kernelx::exports(), &[SELF, "kernelbase.dll", "kernel32.dll"]), + HleModule::new(XGAMERUNTIME, xgameruntime::exports(), &[]), + HleModule::new(D3D12X, d3d12x::exports(), &[]), + HleModule::new(XAUDIO2, xaudio2::exports(), &["xaudio2_9.dll"]), + ]; + let idx = |n: &str| modules.iter().position(|m| m.name == n).unwrap(); + let mut routes: Vec<(String, Route)> = Vec::new(); + // user aliases first – they take precedence + for (pat, target) in &config.aliases { + let t = target.trim().to_ascii_lowercase(); + let route = match t.as_str() { + "@system" => Some(Route::System), + "@stub" => Some(Route::Stub), + other => modules + .iter() + .position(|m| m.name == crate::util::dll_key(other)) + .map(Route::Hle), + }; + match route { + Some(r) => routes.push((pat.to_ascii_lowercase(), r)), + None => crate::xlog_warn!("aliases: nieznany cel '{target}' dla '{pat}' – pomijam"), + } + } + let k = idx(KERNELX); + for p in ["kernelx.dll", "kernel32.dll", "kernelbase.dll", "api-ms-win-core-*", "ext-ms-win-core-*"] { + routes.push((p.into(), Route::Hle(k))); + } + let x = idx(XGAMERUNTIME); + for p in ["xgameruntime.dll", "xgameruntime*.dll", "xgameplatform.dll"] { + routes.push((p.into(), Route::Hle(x))); + } + let d = idx(D3D12X); + for p in ["d3d12_xs.dll", "d3d12_x.dll", "d3d12x.dll"] { + routes.push((p.into(), Route::Hle(d))); + } + let a = idx(XAUDIO2); + for p in ["xaudio2_9.dll", "xaudio2_9redist.dll"] { + routes.push((p.into(), Route::Hle(a))); + } + Registry { modules, routes } +} + +pub fn init(config: &Config) { + let _ = REG.set(build(config)); +} + +pub fn registry() -> &'static Registry { + REG.get_or_init(|| build(&Config::default())) +} + +impl Registry { + pub fn route(&self, dll_key: &str) -> Option<&Route> { + self.routes.iter().find(|(p, _)| glob_match(p, dll_key)).map(|(_, r)| r) + } + + pub fn module_by_name(&self, name: &str) -> Option<&HleModule> { + let k = crate::util::dll_key(name); + self.modules.iter().find(|m| m.name == k) + } + + /// Which HLE module (if any) a DLL name routes to. + pub fn hle_for(&self, dll_key: &str) -> Option<&HleModule> { + match self.route(dll_key)? { + Route::Hle(i) => self.modules.get(*i), + _ => None, + } + } + + /// Cross-module lookup: functions whose hosting DLL on the console is unknown + /// (e.g. XMem*, XThread*) are found wherever we implemented them. + pub fn find_any(&self, name: &str) -> Option<(&HleModule, usize)> { + self.modules + .iter() + .find_map(|m| m.exports.get(name).map(|&a| (m, a))) + } +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn default_routes() { + let r = build(&Config::default()); + let name = |k: &str| r.hle_for(k).map(|m| m.name); + assert_eq!(name("kernelx.dll"), Some(KERNELX)); + assert_eq!(name("kernel32.dll"), Some(KERNELX)); + assert_eq!(name("api-ms-win-core-file-l1-1-0.dll"), Some(KERNELX)); + assert_eq!(name("xgameruntime.dll"), Some(XGAMERUNTIME)); + assert_eq!(name("d3d12_xs.dll"), Some(D3D12X)); + assert_eq!(name("xaudio2_9.dll"), Some(XAUDIO2)); + assert!(r.hle_for("kernel32.dll").unwrap().aliases_are_system()); + assert!(!r.hle_for("xaudio2_9.dll").unwrap().aliases_are_system()); + assert_eq!(name("ucrtbase.dll"), None); + assert_eq!(name("api-ms-win-crt-runtime-l1-1-0.dll"), None); + } + + #[test] + fn aliases_take_precedence() { + let mut c = Config::default(); + c.aliases.insert("kernel32.dll".into(), "@system".into()); + c.aliases.insert("mystery*.dll".into(), "@stub".into()); + c.aliases.insert("xboxthing.dll".into(), "xgameruntime".into()); + let r = build(&c); + assert_eq!(r.route("kernel32.dll"), Some(&Route::System)); + assert_eq!(r.route("mystery42.dll"), Some(&Route::Stub)); + assert_eq!(r.hle_for("xboxthing.dll").map(|m| m.name), Some(XGAMERUNTIME)); + } + + #[test] + fn cross_module_lookup_finds_xmem() { + let r = build(&Config::default()); + assert_eq!(r.find_any("XMemAlloc").map(|(m, _)| m.name), Some(KERNELX)); + } +} diff --git a/crates/xcl/src/hle/xaudio2.rs b/crates/xcl/src/hle/xaudio2.rs new file mode 100644 index 0000000..79a35c3 --- /dev/null +++ b/crates/xcl/src/hle/xaudio2.rs @@ -0,0 +1,610 @@ +//! xaudio2_9.dll – console XAudio2 on top of the Windows XAudio2 2.9. +//! +//! The console API is the Windows 2.9 API plus XMA2 source voices (decoded by audio +//! hardware on the console) and a few console-only flags. `XAudio2Create` / +//! `XAudio2CreateWithVersionInfo` create the genuine Windows engine with console-only +//! flags dropped and patch its vtables **in place** (the Windows classes have internal +//! virtual methods after the public ones, so a vtable copy of the public part is not +//! safe): +//! +//! * IXAudio2 slot 5 `CreateSourceVoice` – XMA/XMA2 formats become a PCM16 voice with +//! the same channel count and sample rate; other formats pass through, and a compressed +//! format Windows rejects (e.g. Opus, 0x704F) also gets a silent PCM16 voice, +//! * IXAudio2 slot 7 `CreateMasteringVoice` – console device ids are ignored (default +//! device); on failure retried with default channels/rate and the game-effects category, +//! * IXAudio2SourceVoice slot 21 `SubmitSourceBuffer` – on such voices the buffer becomes +//! silence of the same length, so callbacks (OnBufferEnd, OnStreamEnd, loops) keep the +//! title's timing, +//! * IXAudio2SourceVoice slot 18 `DestroyVoice` – forget the silent voice. +//! +//! Next step: a real XMA2 decoder (FFmpeg libavcodec, LGPL-2.1+). +//! Exports we do not implement (X3DAudio*, CreateFX, CreateAudioReverb…) fall back to the +//! system xaudio2_9.dll (see `hle::build`). + +#![allow(non_snake_case)] + +use std::collections::HashMap; +use std::ffi::c_void; +use std::sync::atomic::{AtomicU64, Ordering}; +use std::sync::{Mutex, OnceLock}; + +use serde::{Deserialize, Serialize}; + +use crate::util::{E_FAIL, E_POINTER, HRESULT, S_OK}; + +pub const WAVE_FORMAT_PCM: u16 = 1; +pub const WAVE_FORMAT_XMA: u16 = 0x165; +pub const WAVE_FORMAT_XMA2: u16 = 0x166; +pub const WAVE_FORMAT_IEEE_FLOAT: u16 = 3; +pub const WAVE_FORMAT_EXTENSIBLE: u16 = 0xFFFE; + +/// XAudio2Create flags Windows accepts: STOP_ENGINE_WHEN_IDLE, 1024_QUANTUM, NO_VIRTUAL_AUDIO_CLIENT. +pub const ENGINE_FLAGS: u32 = 0x2000 | 0x8000 | 0x1_0000; +/// CreateSourceVoice flags Windows accepts: NOPITCH, NOSRC, USEFILTER. +pub const VOICE_FLAGS: u32 = 0x2 | 0x4 | 0x8; +/// CreateMasteringVoice flags Windows accepts: NO_VIRTUAL_AUDIO_CLIENT. +pub const MASTERING_FLAGS: u32 = 0x1_0000; +const XAUDIO2_DEFAULT_PROCESSOR: u32 = 1; +const NTDDI_WIN10_RS5: u32 = 0x0A00_0006; +const AUDIO_CATEGORY_GAME_EFFECTS: u32 = 6; +const CO_E_NOTINITIALIZED: HRESULT = 0x8004_01F0u32 as i32; + +const ENGINE_CREATE_SOURCE_VOICE: usize = 5; +const ENGINE_CREATE_MASTERING_VOICE: usize = 7; +const VOICE_DESTROY: usize = 18; +const VOICE_SUBMIT_SOURCE_BUFFER: usize = 21; + +/// Size of the shared silence buffer (zero pages are only backed once read). +const SILENCE_BYTES: usize = 32 << 20; + +#[repr(C, packed)] +#[derive(Clone, Copy, Default, Debug)] +pub struct WaveFormatEx { + pub tag: u16, + pub channels: u16, + pub rate: u32, + pub avg_bytes: u32, + pub block_align: u16, + pub bits: u16, + pub cb_size: u16, +} + +/// XMA2WAVEFORMATEX (xma2defs.h, packed). +#[repr(C, packed)] +#[derive(Clone, Copy, Default, Debug)] +pub struct Xma2WaveFormatEx { + pub wfx: WaveFormatEx, + pub num_streams: u16, + pub channel_mask: u32, + pub samples_encoded: u32, + pub bytes_per_block: u32, + pub play_begin: u32, + pub play_length: u32, + pub loop_begin: u32, + pub loop_length: u32, + pub loop_count: u8, + pub encoder_version: u8, + pub block_count: u16, +} + +/// XAUDIO2_BUFFER (packed). +#[repr(C, packed)] +#[derive(Clone, Copy, Debug)] +pub struct XAudio2Buffer { + pub flags: u32, + pub audio_bytes: u32, + pub audio_data: *const u8, + pub play_begin: u32, + pub play_length: u32, + pub loop_begin: u32, + pub loop_length: u32, + pub loop_count: u32, + pub context: *mut c_void, +} + +const _: () = assert!(std::mem::size_of::<WaveFormatEx>() == 18); +const _: () = assert!(std::mem::size_of::<Xma2WaveFormatEx>() == 52); +const _: () = assert!(std::mem::size_of::<XAudio2Buffer>() == 44); + +type CreateWithVersionFn = unsafe extern "system" fn(*mut *mut c_void, u32, u32, u32) -> HRESULT; +type CreateFn = unsafe extern "system" fn(*mut *mut c_void, u32, u32) -> HRESULT; +type CreateSourceVoiceFn = + unsafe extern "system" fn(*mut c_void, *mut *mut c_void, *const WaveFormatEx, u32, f32, *mut c_void, *const c_void, *const c_void) -> HRESULT; +type CreateMasteringVoiceFn = unsafe extern "system" fn(*mut c_void, *mut *mut c_void, u32, u32, u32, *const u16, *const c_void, u32) -> HRESULT; +type DestroyVoiceFn = unsafe extern "system" fn(*mut c_void); +type SubmitSourceBufferFn = unsafe extern "system" fn(*mut c_void, *const XAudio2Buffer, *const c_void) -> HRESULT; + +pub fn exports() -> Vec<(&'static str, usize)> { + crate::hle_exports![XAudio2Create, XAudio2CreateWithVersionInfo] +} + +// --------------------------------------------------------------------------------------- +// statistics (report.json → audio) +// --------------------------------------------------------------------------------------- + +#[derive(Debug, Default, Clone, Serialize, Deserialize)] +pub struct AudioStats { + pub engines: u64, + pub engine_errors: u64, + pub mastering_voices: u64, + pub mastering_retries: u64, + pub mastering_errors: u64, + pub source_voices: u64, + /// XMA/XMA2 voices replaced by PCM16 voices (no decoder yet → silence) + pub xma_voices: u64, + /// other formats the Windows engine rejected, replaced the same way (tags, e.g. "0x704f") + pub unsupported_formats: Vec<String>, + pub silent_voices: u64, + pub buffers_silenced: u64, + pub source_voice_errors: u64, + /// console-only flags we dropped, e.g. "XAudio2Create:0x1" + pub dropped_flags: Vec<String>, +} + +static ENGINES: AtomicU64 = AtomicU64::new(0); +static ENGINE_ERRORS: AtomicU64 = AtomicU64::new(0); +static MASTERING: AtomicU64 = AtomicU64::new(0); +static MASTERING_RETRIES: AtomicU64 = AtomicU64::new(0); +static MASTERING_ERRORS: AtomicU64 = AtomicU64::new(0); +static SOURCE_VOICES: AtomicU64 = AtomicU64::new(0); +static XMA_VOICES: AtomicU64 = AtomicU64::new(0); +static SILENT_VOICES: AtomicU64 = AtomicU64::new(0); +static SILENCED: AtomicU64 = AtomicU64::new(0); +static UNSUPPORTED: Mutex<Vec<String>> = Mutex::new(Vec::new()); +static SOURCE_ERRORS: AtomicU64 = AtomicU64::new(0); +static DROPPED: Mutex<Vec<String>> = Mutex::new(Vec::new()); + +pub fn stats() -> AudioStats { + AudioStats { + engines: ENGINES.load(Ordering::Relaxed), + engine_errors: ENGINE_ERRORS.load(Ordering::Relaxed), + mastering_voices: MASTERING.load(Ordering::Relaxed), + mastering_retries: MASTERING_RETRIES.load(Ordering::Relaxed), + mastering_errors: MASTERING_ERRORS.load(Ordering::Relaxed), + source_voices: SOURCE_VOICES.load(Ordering::Relaxed), + xma_voices: XMA_VOICES.load(Ordering::Relaxed), + unsupported_formats: UNSUPPORTED.lock().map(|d| d.clone()).unwrap_or_default(), + silent_voices: SILENT_VOICES.load(Ordering::Relaxed), + buffers_silenced: SILENCED.load(Ordering::Relaxed), + source_voice_errors: SOURCE_ERRORS.load(Ordering::Relaxed), + dropped_flags: DROPPED.lock().map(|d| d.clone()).unwrap_or_default(), + } +} + +fn note_dropped(what: &str, flags: u32, allowed: u32) { + let extra = flags & !allowed; + if extra == 0 { + return; + } + let key = format!("{what}:{extra:#x}"); + let mut d = DROPPED.lock().unwrap(); + if !d.contains(&key) { + crate::xlog_info!("XAudio2: {what} – pomijam flagi konsoli {extra:#x}"); + d.push(key); + } +} + +// --------------------------------------------------------------------------------------- +// pure helpers (unit tested) +// --------------------------------------------------------------------------------------- + +/// What we remember about a silent voice (XMA or another format Windows cannot play) +/// to size its buffers. +#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)] +pub struct XmaInfo { + pub channels: u16, + pub rate: u32, + /// WAVEFORMATEX.nAvgBytesPerSec of the original format + pub avg_bytes: u32, + pub samples_encoded: u32, + pub bytes_per_block: u32, + pub block_count: u16, +} + +pub fn is_xma(tag: u16) -> bool { + tag == WAVE_FORMAT_XMA || tag == WAVE_FORMAT_XMA2 +} + +/// Formats the Windows engine decodes itself – never replaced. +pub fn is_plain_pcm(tag: u16) -> bool { + matches!(tag, WAVE_FORMAT_PCM | WAVE_FORMAT_IEEE_FLOAT | WAVE_FORMAT_EXTENSIBLE) +} + +/// Voice info from a format (XMA2WAVEFORMATEX fields only when cbSize says they are there). +/// +/// # Safety +/// `fmt` must point to a WAVEFORMATEX followed by `cbSize` readable bytes. +pub unsafe fn xma_info(fmt: *const WaveFormatEx) -> XmaInfo { + let w = fmt.read_unaligned(); + let mut i = XmaInfo { + channels: w.channels.clamp(1, 8), + rate: if w.rate == 0 { 48_000 } else { w.rate }, + avg_bytes: w.avg_bytes, + ..Default::default() + }; + if w.tag == WAVE_FORMAT_XMA2 && w.cb_size as usize >= std::mem::size_of::<Xma2WaveFormatEx>() - 18 { + let x = (fmt as *const Xma2WaveFormatEx).read_unaligned(); + i.samples_encoded = x.samples_encoded; + i.bytes_per_block = x.bytes_per_block; + i.block_count = x.block_count; + } + i +} + +/// PCM16 format with the channel count and sample rate of an XMA voice. +pub fn pcm16_for(i: &XmaInfo) -> WaveFormatEx { + let block = i.channels * 2; + WaveFormatEx { tag: WAVE_FORMAT_PCM, channels: i.channels, rate: i.rate, avg_bytes: i.rate * block as u32, block_align: block, bits: 16, cb_size: 0 } +} + +/// Frames (samples per channel) a compressed buffer of `audio_bytes` decodes to: XMA2 in +/// proportion to SamplesEncoded over the whole stream (BlockCount × BytesPerBlock), else from +/// the format's average byte rate, else ~4 frames per byte per channel (≈ 8:1 against PCM16). +pub fn estimate_frames(i: &XmaInfo, audio_bytes: u32) -> u64 { + let total_bytes = i.block_count as u64 * i.bytes_per_block as u64; + let f = if i.samples_encoded > 0 && total_bytes > 0 { + i.samples_encoded as u64 * audio_bytes as u64 / total_bytes + } else if i.avg_bytes > 0 { + audio_bytes as u64 * i.rate as u64 / i.avg_bytes as u64 + } else { + audio_bytes as u64 * 4 / i.channels.max(1) as u64 + }; + f.max(128) +} + +/// The PCM16 silence buffer that stands in for an XMA buffer: same play/loop region and +/// flags/context; length from PlayBegin+PlayLength (or the estimate), clamped to +/// `max_bytes` (then the whole – shorter – buffer is played). +pub fn silent_buffer(i: &XmaInfo, b: &XAudio2Buffer, silence: *const u8, max_bytes: usize) -> XAudio2Buffer { + let mut nb = *b; + let (pb, pl, lb, ll) = (b.play_begin as u64, b.play_length as u64, b.loop_begin as u64, b.loop_length as u64); + let mut frames = if pl > 0 { pb + pl } else { estimate_frames(i, b.audio_bytes).max(pb + 1) }; + if b.loop_count > 0 { + frames = frames.max(lb + ll); + } + let frame_bytes = i.channels.max(1) as u64 * 2; + let max_frames = max_bytes as u64 / frame_bytes; + if frames > max_frames { + frames = max_frames; + nb.play_begin = 0; + nb.play_length = 0; + nb.loop_begin = 0; + nb.loop_length = 0; + } + nb.audio_bytes = (frames * frame_bytes) as u32; + nb.audio_data = silence; + nb +} + +// --------------------------------------------------------------------------------------- +// the system engine and in-place vtable patches +// --------------------------------------------------------------------------------------- + +/// Originals of patched slots: (vtable address, slot) → function. +static ORIGINALS: Mutex<Vec<(usize, usize, usize)>> = Mutex::new(Vec::new()); +/// Live XMA voices (voice pointer → info). +static XMA: Mutex<Option<HashMap<usize, XmaInfo>>> = Mutex::new(None); + +unsafe fn vtable(obj: *mut c_void) -> *mut usize { + *(obj as *const *mut usize) +} + +/// Patch `slot` of `obj`'s vtable in place (once per vtable). +unsafe fn patch(obj: *mut c_void, slot: usize, hook: usize) { + use windows_sys::Win32::System::Memory::{VirtualProtect, PAGE_READWRITE}; + let vt = vtable(obj); + let p = vt.add(slot); + let cur = p.read(); + if cur == hook { + return; + } + let mut g = ORIGINALS.lock().unwrap(); + if g.iter().any(|&(v, s, _)| v == vt as usize && s == slot) { + return; + } + let mut old = 0u32; + if VirtualProtect(p as *const c_void, 8, PAGE_READWRITE, &mut old) == 0 { + crate::xlog_error!("XAudio2: nie można odblokować vtable {vt:p} (slot {slot})"); + return; + } + g.push((vt as usize, slot, cur)); + p.write(hook); + VirtualProtect(p as *const c_void, 8, old, &mut old); +} + +/// The original implementation of `slot` for `obj`'s class. +unsafe fn original(obj: *mut c_void, slot: usize) -> Option<usize> { + let vt = vtable(obj) as usize; + ORIGINALS.lock().unwrap().iter().find(|&&(v, s, _)| v == vt && s == slot).map(|&(_, _, f)| f) +} + +fn system_create() -> Option<(Option<CreateWithVersionFn>, Option<CreateFn>)> { + static F: OnceLock<Option<(usize, usize)>> = OnceLock::new(); + let &(a, b) = F + .get_or_init(|| { + let h = crate::resolver::system_module("xaudio2_9.dll")?; + let name = |n: &str| crate::resolver::system_proc_in(h, &crate::pe::ImportName::Name { hint: 0, name: n.into() }).unwrap_or(0); + Some((name("XAudio2CreateWithVersionInfo"), name("XAudio2Create"))) + }) + .as_ref()?; + unsafe { + Some(( + (a != 0).then(|| std::mem::transmute::<usize, CreateWithVersionFn>(a)), + (b != 0).then(|| std::mem::transmute::<usize, CreateFn>(b)), + )) + } +} + +unsafe fn create_engine(pp: *mut *mut c_void, flags: u32, processor: u32) -> HRESULT { + if pp.is_null() { + return E_POINTER; + } + note_dropped("XAudio2Create", flags, ENGINE_FLAGS); + let _ = processor; // console core masks mean nothing here + let Some((with_version, plain)) = system_create() else { + crate::xlog_error!("XAudio2: brak systemowego xaudio2_9.dll"); + ENGINE_ERRORS.fetch_add(1, Ordering::Relaxed); + return E_FAIL; + }; + let clean = flags & ENGINE_FLAGS; + let hr = match (with_version, plain) { + (Some(f), _) => f(pp, clean, XAUDIO2_DEFAULT_PROCESSOR, NTDDI_WIN10_RS5), + (None, Some(f)) => f(pp, clean, XAUDIO2_DEFAULT_PROCESSOR), + _ => E_FAIL, + }; + if hr < 0 || (*pp).is_null() { + crate::xlog_error!("XAudio2: utworzenie silnika nie powiodło się ({:#x})", hr as u32); + ENGINE_ERRORS.fetch_add(1, Ordering::Relaxed); + return if hr < 0 { hr } else { E_FAIL }; + } + patch(*pp, ENGINE_CREATE_SOURCE_VOICE, create_source_voice as usize); + patch(*pp, ENGINE_CREATE_MASTERING_VOICE, create_mastering_voice as usize); + ENGINES.fetch_add(1, Ordering::Relaxed); + crate::xlog_info!("XAudio2: silnik utworzony (systemowe XAudio2 2.9, flagi {clean:#x})"); + S_OK +} + +pub unsafe extern "system" fn XAudio2Create(pp: *mut *mut c_void, flags: u32, processor: u32) -> HRESULT { + create_engine(pp, flags, processor) +} + +pub unsafe extern "system" fn XAudio2CreateWithVersionInfo(pp: *mut *mut c_void, flags: u32, processor: u32, _ntddi: u32) -> HRESULT { + create_engine(pp, flags, processor) +} + +unsafe extern "system" fn create_source_voice( + this: *mut c_void, + pp: *mut *mut c_void, + fmt: *const WaveFormatEx, + flags: u32, + max_ratio: f32, + cb: *mut c_void, + sends: *const c_void, + chain: *const c_void, +) -> HRESULT { + let Some(orig) = original(this, ENGINE_CREATE_SOURCE_VOICE) else { return E_FAIL }; + let orig: CreateSourceVoiceFn = std::mem::transmute(orig); + note_dropped("CreateSourceVoice", flags, VOICE_FLAGS); + let flags = flags & VOICE_FLAGS; + if pp.is_null() || fmt.is_null() { + return orig(this, pp, fmt, flags, max_ratio, cb, sends, chain); + } + let tag = (*fmt).tag; + let mut silent = is_xma(tag).then(|| xma_info(fmt)); + let mut hr = match &silent { + Some(i) => orig(this, pp, &pcm16_for(i), flags, max_ratio, cb, sends, chain), + None => orig(this, pp, fmt, flags, max_ratio, cb, sends, chain), + }; + if hr < 0 && silent.is_none() && !is_plain_pcm(tag) { + // a compressed format the Windows engine does not know (console-only, e.g. Opus) + let i = xma_info(fmt); + let h2 = orig(this, pp, &pcm16_for(&i), flags, max_ratio, cb, sends, chain); + if h2 >= 0 { + let key = format!("{tag:#x}"); + let mut u = UNSUPPORTED.lock().unwrap(); + if !u.contains(&key) { + crate::xlog_warn!( + "XAudio2: format {key} nieobsługiwany przez Windows ({:#x}) → głos PCM16 ({} kan., {} Hz) grający ciszę", + hr as u32, + i.channels, + i.rate + ); + u.push(key); + } + hr = h2; + silent = Some(i); + } + } + if hr < 0 || (*pp).is_null() { + SOURCE_ERRORS.fetch_add(1, Ordering::Relaxed); + crate::xlog_warn!("XAudio2: CreateSourceVoice (format {tag:#x}) nie powiodło się ({:#x})", hr as u32); + return hr; + } + let voice = *pp; + patch(voice, VOICE_SUBMIT_SOURCE_BUFFER, submit_source_buffer as usize); + patch(voice, VOICE_DESTROY, destroy_voice as usize); + SOURCE_VOICES.fetch_add(1, Ordering::Relaxed); + if let Some(i) = silent { + XMA.lock().unwrap().get_or_insert_with(HashMap::new).insert(voice as usize, i); + SILENT_VOICES.fetch_add(1, Ordering::Relaxed); + if is_xma(tag) && XMA_VOICES.fetch_add(1, Ordering::Relaxed) == 0 { + crate::xlog_warn!( + "XAudio2: głos XMA{} ({} kan., {} Hz) → PCM16; brak dekodera XMA – bufory grają ciszę o tej samej długości", + if tag == WAVE_FORMAT_XMA2 { "2" } else { "" }, + i.channels, + i.rate + ); + } + } + hr +} + +unsafe extern "system" fn create_mastering_voice( + this: *mut c_void, + pp: *mut *mut c_void, + channels: u32, + rate: u32, + flags: u32, + device: *const u16, + chain: *const c_void, + category: u32, +) -> HRESULT { + let Some(orig) = original(this, ENGINE_CREATE_MASTERING_VOICE) else { return E_FAIL }; + let orig: CreateMasteringVoiceFn = std::mem::transmute(orig); + note_dropped("CreateMasteringVoice", flags, MASTERING_FLAGS); + if !device.is_null() { + crate::xlog_info!("XAudio2: CreateMasteringVoice – identyfikator urządzenia konsoli pominięty (domyślne urządzenie)"); + } + let flags = flags & MASTERING_FLAGS; + let mut hr = orig(this, pp, channels, rate, flags, std::ptr::null(), chain, category); + if hr == CO_E_NOTINITIALIZED { + // the console needs no COM for audio; Windows' device enumeration does + let ci = windows_sys::Win32::System::Com::CoInitializeEx(std::ptr::null(), windows_sys::Win32::System::Com::COINIT_MULTITHREADED as u32); + crate::xlog_info!("XAudio2: COM nie był zainicjowany na wątku tytułu – CoInitializeEx(MTA) → {:#x}", ci as u32); + hr = orig(this, pp, channels, rate, flags, std::ptr::null(), chain, category); + } + if hr < 0 { + MASTERING_RETRIES.fetch_add(1, Ordering::Relaxed); + crate::xlog_warn!( + "XAudio2: CreateMasteringVoice({channels} kan., {rate} Hz, kategoria {category}) → {:#x}; ponawiam z domyślnymi", + hr as u32 + ); + hr = orig(this, pp, 0, 0, flags, std::ptr::null(), chain, AUDIO_CATEGORY_GAME_EFFECTS); + if hr < 0 && !chain.is_null() { + hr = orig(this, pp, 0, 0, flags, std::ptr::null(), std::ptr::null(), AUDIO_CATEGORY_GAME_EFFECTS); + } + } + if hr < 0 { + MASTERING_ERRORS.fetch_add(1, Ordering::Relaxed); + crate::xlog_error!("XAudio2: CreateMasteringVoice nie powiodło się ({:#x}) – brak urządzenia audio?", hr as u32); + } else { + MASTERING.fetch_add(1, Ordering::Relaxed); + } + hr +} + +fn silence() -> *const u8 { + use windows_sys::Win32::System::Memory::{VirtualAlloc, MEM_COMMIT, MEM_RESERVE, PAGE_READONLY}; + static P: OnceLock<usize> = OnceLock::new(); + *P.get_or_init(|| unsafe { VirtualAlloc(std::ptr::null(), SILENCE_BYTES, MEM_COMMIT | MEM_RESERVE, PAGE_READONLY) as usize }) as *const u8 +} + +unsafe extern "system" fn submit_source_buffer(this: *mut c_void, buf: *const XAudio2Buffer, wma: *const c_void) -> HRESULT { + let Some(orig) = original(this, VOICE_SUBMIT_SOURCE_BUFFER) else { return E_FAIL }; + let orig: SubmitSourceBufferFn = std::mem::transmute(orig); + let info = XMA.lock().unwrap().as_ref().and_then(|m| m.get(&(this as usize)).copied()); + match info { + Some(i) if !buf.is_null() => { + let s = silence(); + if s.is_null() { + return E_FAIL; + } + let nb = silent_buffer(&i, &buf.read_unaligned(), s, SILENCE_BYTES); + SILENCED.fetch_add(1, Ordering::Relaxed); + orig(this, &nb, std::ptr::null()) + } + _ => orig(this, buf, wma), + } +} + +unsafe extern "system" fn destroy_voice(this: *mut c_void) { + let Some(orig) = original(this, VOICE_DESTROY) else { return }; + let orig: DestroyVoiceFn = std::mem::transmute(orig); + if let Some(m) = XMA.lock().unwrap().as_mut() { + m.remove(&(this as usize)); + } + orig(this) +} + +#[cfg(test)] +mod tests { + use super::*; + + fn xma2(channels: u16, rate: u32, samples: u32, bpb: u32, blocks: u16) -> Xma2WaveFormatEx { + Xma2WaveFormatEx { + wfx: WaveFormatEx { tag: WAVE_FORMAT_XMA2, channels, rate, avg_bytes: 0, block_align: 1, bits: 16, cb_size: 34 }, + samples_encoded: samples, + bytes_per_block: bpb, + block_count: blocks, + ..Default::default() + } + } + + fn buffer(bytes: u32, pb: u32, pl: u32, lb: u32, ll: u32, lc: u32) -> XAudio2Buffer { + XAudio2Buffer { + flags: 0x40, + audio_bytes: bytes, + audio_data: 0x1000 as *const u8, + play_begin: pb, + play_length: pl, + loop_begin: lb, + loop_length: ll, + loop_count: lc, + context: 0x1234 as *mut c_void, + } + } + + #[test] + fn xma2_format_to_pcm16() { + let f = xma2(2, 44_100, 441_000, 0x8000, 4); + let i = unsafe { xma_info(&f as *const Xma2WaveFormatEx as *const WaveFormatEx) }; + assert_eq!(i, XmaInfo { channels: 2, rate: 44_100, avg_bytes: 0, samples_encoded: 441_000, bytes_per_block: 0x8000, block_count: 4 }); + let p = pcm16_for(&i); + assert_eq!((p.tag, p.channels, p.rate, p.block_align, p.bits, p.avg_bytes), (1, 2, 44_100, 4, 16, 176_400)); + // plain XMA (or a short cbSize): no XMA2 fields are read + let mut w = f.wfx; + w.cb_size = 0; + assert_eq!(unsafe { xma_info(&w) }.samples_encoded, 0); + assert!(is_xma(0x166) && is_xma(0x165) && !is_xma(1)); + } + + #[test] + fn silence_has_the_length_of_the_xma_buffer() { + let i = XmaInfo { channels: 2, rate: 48_000, avg_bytes: 0, samples_encoded: 480_000, bytes_per_block: 0x10000, block_count: 2 }; + let z = 0x5000 as *const u8; + // explicit play region: PlayBegin + PlayLength frames + let b = silent_buffer(&i, &buffer(4096, 128, 4800, 0, 0, 0), z, 1 << 20); + assert_eq!({ b.audio_bytes }, (128 + 4800) * 4); + assert_eq!(({ b.play_begin }, { b.play_length }, { b.flags }, b.audio_data), (128, 4800, 0x40, z)); + assert_eq!({ b.context } as usize, 0x1234); + // whole buffer: in proportion to SamplesEncoded (1/32 of the stream here) + let b = silent_buffer(&i, &buffer(0x1000, 0, 0, 0, 0, 0), z, 1 << 20); + assert_eq!({ b.audio_bytes } / 4, 480_000 / 32); + // the loop region must fit + let b = silent_buffer(&i, &buffer(0x1000, 0, 100, 0, 9000, 255), z, 1 << 20); + assert_eq!({ b.audio_bytes } / 4, 9000); + // too long for the silence buffer → clamped, regions reset + let b = silent_buffer(&i, &buffer(0x1000, 1000, 1_000_000, 0, 0, 0), z, 4000); + assert_eq!(({ b.audio_bytes }, { b.play_begin }, { b.play_length }), (4000, 0, 0)); + // no XMA2 metadata: rough ratio, never empty + let j = XmaInfo { channels: 1, rate: 48_000, ..Default::default() }; + assert_eq!(estimate_frames(&j, 2048), 8192); + assert_eq!(estimate_frames(&j, 0), 128); + // other compressed formats: from the average byte rate (Opus at 64 kbit/s: 8000 B/s) + let o = XmaInfo { channels: 1, rate: 48_000, avg_bytes: 8000, ..Default::default() }; + assert_eq!(estimate_frames(&o, 8000), 48_000); + assert!(is_plain_pcm(1) && is_plain_pcm(3) && is_plain_pcm(0xFFFE) && !is_plain_pcm(0x704F)); + } + + #[test] + fn engine_from_the_system_dll() { + // the genuine Windows engine is created and patched; console flags are dropped + unsafe { + let mut eng: *mut c_void = std::ptr::null_mut(); + let hr = XAudio2Create(&mut eng, 0x1 | 0x8000, 0xff); + assert_eq!(hr, S_OK, "{:#x}", hr as u32); + assert!(!eng.is_null()); + let vt = vtable(eng); + assert_eq!(vt.add(ENGINE_CREATE_SOURCE_VOICE).read(), create_source_voice as usize); + assert!(original(eng, ENGINE_CREATE_SOURCE_VOICE).is_some()); + // a second engine shares the vtable: no double patch, originals kept + let mut eng2: *mut c_void = std::ptr::null_mut(); + assert_eq!(XAudio2CreateWithVersionInfo(&mut eng2, 0, 1, 0), S_OK); + assert_eq!(ORIGINALS.lock().unwrap().iter().filter(|o| o.1 == ENGINE_CREATE_SOURCE_VOICE).count(), 1); + let release: unsafe extern "system" fn(*mut c_void) -> u32 = std::mem::transmute(vtable(eng2).add(2).read()); + release(eng2); + release(eng); + assert!(stats().dropped_flags.iter().any(|f| f == "XAudio2Create:0x1")); + } + } +} diff --git a/crates/xcl/src/hle/xgameruntime/gamesave.rs b/crates/xcl/src/hle/xgameruntime/gamesave.rs new file mode 100644 index 0000000..8d5ba90 --- /dev/null +++ b/crates/xcl/src/hle/xgameruntime/gamesave.rs @@ -0,0 +1,542 @@ +//! XGameSave – containers of named blobs (public GDK `XGameSave.h`), stored as files: +//! `<data>/gamesave/<configuration id>/<container>/b/<blob>` + `display` (display name). +//! Offline: no cloud sync, every operation completes at once (async variants through XAsync). + +use std::ffi::{c_void, CString}; +use std::path::{Path, PathBuf}; + +use super::xasync::*; +use crate::util::{from_cstr_ptr, E_INVALIDARG, HRESULT, S_OK}; + +pub const E_GS_INVALID_CONTAINER_NAME: HRESULT = 0x8083_0001u32 as i32; +pub const E_GS_PROVIDED_BUFFER_TOO_SMALL: HRESULT = 0x8083_0007u32 as i32; +pub const E_GS_BLOB_NOT_FOUND: HRESULT = 0x8083_0008u32 as i32; +pub const E_GS_CONTAINER_NOT_FOUND: HRESULT = 0x8083_0010u32 as i32; +/// quota reported to the title (the GDK default) +pub const QUOTA: i64 = 256 << 20; + +const MAGIC_PROVIDER: u32 = 0x5053_4758; // "XGSP" +const MAGIC_CONTAINER: u32 = 0x4353_4758; +const MAGIC_UPDATE: u32 = 0x5553_4758; + +pub struct Provider { + magic: u32, + root: PathBuf, +} + +pub struct Container { + magic: u32, + name: String, + dir: PathBuf, +} + +pub struct Update { + magic: u32, + dir: PathBuf, + display: Option<String>, + /// blob name → new contents (None: delete) + ops: Vec<(String, Option<Vec<u8>>)>, +} + +#[repr(C)] +pub struct ContainerInfo { + pub name: *const u8, + pub display_name: *const u8, + pub blob_count: u32, + pub total_size: u64, + pub last_modified_time: i64, + pub needs_sync: bool, +} + +#[repr(C)] +pub struct BlobInfo { + pub name: *const u8, + pub size: u32, +} + +#[repr(C)] +pub struct Blob { + pub info: BlobInfo, + pub data: *mut u8, +} + +type ContainerCb = unsafe extern "system" fn(*const ContainerInfo, *mut c_void) -> bool; +type BlobCb = unsafe extern "system" fn(*const BlobInfo, *mut c_void) -> bool; + +/// File-name form of a container / blob name: unusual characters as %XX. +fn enc(name: &str) -> String { + name.bytes() + .map(|b| if b.is_ascii_alphanumeric() || b"._- ".contains(&b) { (b as char).to_string() } else { format!("%{b:02X}") }) + .collect() +} + +fn dec(file: &str) -> String { + let b = file.as_bytes(); + let mut out = Vec::new(); + let mut i = 0; + while i < b.len() { + if b[i] == b'%' && i + 2 < b.len() { + if let Ok(v) = u8::from_str_radix(&file[i + 1..i + 3], 16) { + out.push(v); + i += 3; + continue; + } + } + out.push(b[i]); + i += 1; + } + String::from_utf8_lossy(&out).into_owned() +} + +fn blobs_of(dir: &Path) -> Vec<(String, PathBuf, u64)> { + let mut v: Vec<(String, PathBuf, u64)> = std::fs::read_dir(dir.join("b")) + .into_iter() + .flatten() + .flatten() + .filter(|e| e.file_type().is_ok_and(|t| t.is_file())) + .map(|e| (dec(&e.file_name().to_string_lossy()), e.path(), e.metadata().map(|m| m.len()).unwrap_or(0))) + .collect(); + v.sort(); + v +} + +unsafe fn provider<'a>(p: *mut Provider) -> Option<&'a Provider> { + p.as_ref().filter(|p| p.magic == MAGIC_PROVIDER) +} + +unsafe fn container<'a>(c: *mut Container) -> Option<&'a Container> { + c.as_ref().filter(|c| c.magic == MAGIC_CONTAINER) +} + +fn open_provider(config: Option<String>) -> *mut Provider { + let id: String = enc(&config.unwrap_or_else(|| "default".into())); + let root = crate::state::data_dir().join("gamesave").join(if id.is_empty() { "default".into() } else { id }); + let _ = std::fs::create_dir_all(&root); + Box::into_raw(Box::new(Provider { magic: MAGIC_PROVIDER, root })) +} + +pub unsafe extern "system" fn XGameSaveInitializeProvider(_user: *mut c_void, config: *const u8, _sync_on_demand: bool, out: *mut *mut Provider) -> HRESULT { + if out.is_null() { + return E_INVALIDARG; + } + *out = open_provider(from_cstr_ptr(config)); + S_OK +} + +static INIT_ID: u8 = 0; + +pub unsafe extern "system" fn XGameSaveInitializeProviderAsync(_user: *mut c_void, config: *const u8, _sync: bool, b: *mut XAsyncBlock) -> HRESULT { + let config = from_cstr_ptr(config); + begin_with(b, &INIT_ID as *const u8 as usize, move || Ok((open_provider(config) as usize).to_le_bytes().to_vec())) +} + +pub unsafe extern "system" fn XGameSaveInitializeProviderResult(b: *mut XAsyncBlock, out: *mut *mut Provider) -> HRESULT { + let mut p = 0usize; + let hr = XAsyncGetResult(b, &INIT_ID as *const u8 as *const c_void, 8, &mut p as *mut usize as *mut c_void, std::ptr::null_mut()); + if hr >= 0 && !out.is_null() { + *out = p as *mut Provider; + } + hr +} + +pub unsafe extern "system" fn XGameSaveCloseProvider(p: *mut Provider) { + if provider(p).is_some() { + (*p).magic = 0; + drop(Box::from_raw(p)); + } +} + +pub unsafe extern "system" fn XGameSaveGetRemainingQuota(p: *mut Provider, quota: *mut i64) -> HRESULT { + let Some(pr) = provider(p) else { return E_INVALIDARG }; + if quota.is_null() { + return E_INVALIDARG; + } + let used: u64 = std::fs::read_dir(&pr.root).into_iter().flatten().flatten().flat_map(|e| blobs_of(&e.path())).map(|b| b.2).sum(); + *quota = (QUOTA - used as i64).max(0); + S_OK +} + +static QUOTA_ID: u8 = 0; + +pub unsafe extern "system" fn XGameSaveGetRemainingQuotaAsync(p: *mut Provider, b: *mut XAsyncBlock) -> HRESULT { + let mut q = 0i64; + let hr = XGameSaveGetRemainingQuota(p, &mut q); + begin_with(b, "A_ID as *const u8 as usize, move || if hr < 0 { Err(hr) } else { Ok(q.to_le_bytes().to_vec()) }) +} + +pub unsafe extern "system" fn XGameSaveGetRemainingQuotaResult(b: *mut XAsyncBlock, quota: *mut i64) -> HRESULT { + XAsyncGetResult(b, "A_ID as *const u8 as *const c_void, 8, quota as *mut c_void, std::ptr::null_mut()) +} + +pub unsafe extern "system" fn XGameSaveDeleteContainer(p: *mut Provider, name: *const u8) -> HRESULT { + let (Some(pr), Some(n)) = (provider(p), from_cstr_ptr(name)) else { return E_INVALIDARG }; + let _ = std::fs::remove_dir_all(pr.root.join(enc(&n))); + S_OK +} + +static DELETE_ID: u8 = 0; + +pub unsafe extern "system" fn XGameSaveDeleteContainerAsync(p: *mut Provider, name: *const u8, b: *mut XAsyncBlock) -> HRESULT { + let hr = XGameSaveDeleteContainer(p, name); + begin_with(b, &DELETE_ID as *const u8 as usize, move || if hr < 0 { Err(hr) } else { Ok(Vec::new()) }) +} + +pub unsafe extern "system" fn XGameSaveDeleteContainerResult(b: *mut XAsyncBlock) -> HRESULT { + XAsyncGetResult(b, &DELETE_ID as *const u8 as *const c_void, 0, std::ptr::null_mut(), std::ptr::null_mut()) +} + +pub unsafe extern "system" fn XGameSaveCreateContainer(p: *mut Provider, name: *const u8, out: *mut *mut Container) -> HRESULT { + let (Some(pr), Some(n)) = (provider(p), from_cstr_ptr(name)) else { return E_INVALIDARG }; + if out.is_null() { + return E_INVALIDARG; + } + if n.is_empty() || n.len() > 256 { + return E_GS_INVALID_CONTAINER_NAME; + } + *out = Box::into_raw(Box::new(Container { magic: MAGIC_CONTAINER, dir: pr.root.join(enc(&n)), name: n })); + S_OK +} + +pub unsafe extern "system" fn XGameSaveCloseContainer(c: *mut Container) { + if container(c).is_some() { + (*c).magic = 0; + drop(Box::from_raw(c)); + } +} + +/// Call `cb` for every stored container whose name starts with `prefix`. +unsafe fn each_container(pr: &Provider, prefix: &str, exact: bool, ctx: *mut c_void, cb: ContainerCb) -> usize { + let mut dirs: Vec<PathBuf> = std::fs::read_dir(&pr.root).into_iter().flatten().flatten().filter(|e| e.path().is_dir()).map(|e| e.path()).collect(); + dirs.sort(); + let mut n = 0; + for d in dirs { + let name = dec(&d.file_name().unwrap_or_default().to_string_lossy()); + if (exact && name != prefix) || !name.starts_with(prefix) { + continue; + } + let blobs = blobs_of(&d); + if blobs.is_empty() && !d.join("display").exists() { + continue; // created but never written + } + let display = std::fs::read_to_string(d.join("display")).unwrap_or_else(|_| name.clone()); + let modified = std::fs::metadata(&d) + .and_then(|m| m.modified()) + .ok() + .and_then(|t| t.duration_since(std::time::UNIX_EPOCH).ok()) + .map(|t| t.as_secs() as i64) + .unwrap_or(0); + let (cn, cd) = (CString::new(name).unwrap_or_default(), CString::new(display).unwrap_or_default()); + let info = ContainerInfo { + name: cn.as_ptr() as *const u8, + display_name: cd.as_ptr() as *const u8, + blob_count: blobs.len() as u32, + total_size: blobs.iter().map(|b| b.2).sum(), + last_modified_time: modified, + needs_sync: false, + }; + n += 1; + if !cb(&info, ctx) { + break; + } + } + n +} + +pub unsafe extern "system" fn XGameSaveGetContainerInfo(p: *mut Provider, name: *const u8, ctx: *mut c_void, cb: Option<ContainerCb>) -> HRESULT { + let (Some(pr), Some(n), Some(cb)) = (provider(p), from_cstr_ptr(name), cb) else { return E_INVALIDARG }; + if each_container(pr, &n, true, ctx, cb) == 0 { + return E_GS_CONTAINER_NOT_FOUND; + } + S_OK +} + +pub unsafe extern "system" fn XGameSaveEnumerateContainerInfo(p: *mut Provider, ctx: *mut c_void, cb: Option<ContainerCb>) -> HRESULT { + let (Some(pr), Some(cb)) = (provider(p), cb) else { return E_INVALIDARG }; + each_container(pr, "", false, ctx, cb); + S_OK +} + +pub unsafe extern "system" fn XGameSaveEnumerateContainerInfoByName(p: *mut Provider, prefix: *const u8, ctx: *mut c_void, cb: Option<ContainerCb>) -> HRESULT { + let (Some(pr), Some(cb)) = (provider(p), cb) else { return E_INVALIDARG }; + each_container(pr, &from_cstr_ptr(prefix).unwrap_or_default(), false, ctx, cb); + S_OK +} + +unsafe fn each_blob(c: &Container, prefix: &str, ctx: *mut c_void, cb: BlobCb) { + for (name, _, size) in blobs_of(&c.dir) { + if !name.starts_with(prefix) { + continue; + } + let cn = CString::new(name).unwrap_or_default(); + if !cb(&BlobInfo { name: cn.as_ptr() as *const u8, size: size as u32 }, ctx) { + break; + } + } +} + +pub unsafe extern "system" fn XGameSaveEnumerateBlobInfo(c: *mut Container, ctx: *mut c_void, cb: Option<BlobCb>) -> HRESULT { + let (Some(c), Some(cb)) = (container(c), cb) else { return E_INVALIDARG }; + each_blob(c, "", ctx, cb); + S_OK +} + +pub unsafe extern "system" fn XGameSaveEnumerateBlobInfoByName(c: *mut Container, prefix: *const u8, ctx: *mut c_void, cb: Option<BlobCb>) -> HRESULT { + let (Some(c), Some(cb)) = (container(c), cb) else { return E_INVALIDARG }; + each_blob(c, &from_cstr_ptr(prefix).unwrap_or_default(), ctx, cb); + S_OK +} + +/// Blobs `names` (all when empty) laid out as the API returns them: `Blob` array, then the +/// names and data; pointers stored as offsets from the start (fixed up by the caller). +fn read_layout(dir: &Path, names: &[String]) -> Result<(Vec<u8>, u32), HRESULT> { + let all = blobs_of(dir); + let picked: Vec<(String, PathBuf)> = if names.is_empty() { + all.into_iter().map(|b| (b.0, b.1)).collect() + } else { + names + .iter() + .map(|n| all.iter().find(|b| &b.0 == n).map(|b| (b.0.clone(), b.1.clone())).ok_or(E_GS_BLOB_NOT_FOUND)) + .collect::<Result<_, _>>()? + }; + let head = picked.len() * std::mem::size_of::<Blob>(); + let mut out = vec![0u8; head]; + for (k, (name, path)) in picked.iter().enumerate() { + let data = std::fs::read(path).map_err(|_| E_GS_BLOB_NOT_FOUND)?; + let name_at = out.len(); + out.extend_from_slice(name.as_bytes()); + out.push(0); + let data_at = out.len(); + out.extend_from_slice(&data); + let e = k * std::mem::size_of::<Blob>(); + out[e..e + 8].copy_from_slice(&(name_at as u64).to_le_bytes()); + out[e + 8..e + 12].copy_from_slice(&(data.len() as u32).to_le_bytes()); + out[e + 16..e + 24].copy_from_slice(&(data_at as u64).to_le_bytes()); + } + Ok((out, picked.len() as u32)) +} + +unsafe fn names_of(names: *const *const u8, count: u32) -> Vec<String> { + if names.is_null() { + return Vec::new(); + } + (0..count as usize).filter_map(|i| from_cstr_ptr(*names.add(i))).collect() +} + +/// Turn the offsets of a copied layout into pointers. +unsafe fn fix_up(buf: *mut Blob, count: u32) { + for k in 0..count as usize { + let b = &mut *buf.add(k); + b.info.name = (buf as *const u8).add(b.info.name as usize); + b.data = (buf as *mut u8).add(b.data as usize); + } +} + +pub unsafe extern "system" fn XGameSaveReadBlobData(c: *mut Container, names: *const *const u8, count: *mut u32, size: usize, out: *mut Blob) -> HRESULT { + let Some(c) = container(c) else { return E_INVALIDARG }; + if count.is_null() { + return E_INVALIDARG; + } + let (bytes, n) = match read_layout(&c.dir, &names_of(names, *count)) { + Ok(x) => x, + Err(e) => return e, + }; + if out.is_null() || size < bytes.len() { + return E_GS_PROVIDED_BUFFER_TOO_SMALL; + } + std::ptr::copy_nonoverlapping(bytes.as_ptr(), out as *mut u8, bytes.len()); + fix_up(out, n); + *count = n; + S_OK +} + +static READ_ID: u8 = 0; + +pub unsafe extern "system" fn XGameSaveReadBlobDataAsync(c: *mut Container, names: *const *const u8, count: u32, b: *mut XAsyncBlock) -> HRESULT { + let Some(c) = container(c) else { return E_INVALIDARG }; + let (dir, list) = (c.dir.clone(), names_of(names, count)); + begin_with(b, &READ_ID as *const u8 as usize, move || { + let (mut bytes, n) = read_layout(&dir, &list)?; + bytes.splice(0..0, n.to_le_bytes()); // count travels in front, dropped by the Result + Ok(bytes) + }) +} + +pub unsafe extern "system" fn XGameSaveReadBlobDataResult(b: *mut XAsyncBlock, size: usize, out: *mut Blob, count: *mut u32) -> HRESULT { + let mut need = 0usize; + let hr = XAsyncGetResultSize(b, &mut need); + if hr < 0 { + return hr; + } + let mut tmp = vec![0u8; need]; + let hr = XAsyncGetResult(b, &READ_ID as *const u8 as *const c_void, need, tmp.as_mut_ptr() as *mut c_void, std::ptr::null_mut()); + if hr < 0 { + return hr; + } + let n = u32::from_le_bytes(tmp[..4].try_into().unwrap()); + let body = &tmp[4..]; + if out.is_null() || size < body.len() { + return E_GS_PROVIDED_BUFFER_TOO_SMALL; + } + std::ptr::copy_nonoverlapping(body.as_ptr(), out as *mut u8, body.len()); + fix_up(out, n); + if !count.is_null() { + *count = n; + } + S_OK +} + +pub unsafe extern "system" fn XGameSaveCreateUpdate(c: *mut Container, display: *const u8, out: *mut *mut Update) -> HRESULT { + let Some(c) = container(c) else { return E_INVALIDARG }; + if out.is_null() { + return E_INVALIDARG; + } + let _ = &c.name; + *out = Box::into_raw(Box::new(Update { magic: MAGIC_UPDATE, dir: c.dir.clone(), display: from_cstr_ptr(display), ops: Vec::new() })); + S_OK +} + +pub unsafe extern "system" fn XGameSaveCloseUpdate(u: *mut Update) { + if u.as_ref().is_some_and(|u| u.magic == MAGIC_UPDATE) { + (*u).magic = 0; + drop(Box::from_raw(u)); + } +} + +unsafe fn update<'a>(u: *mut Update) -> Option<&'a mut Update> { + u.as_mut().filter(|u| u.magic == MAGIC_UPDATE) +} + +pub unsafe extern "system" fn XGameSaveSubmitBlobWrite(u: *mut Update, name: *const u8, data: *const u8, size: usize) -> HRESULT { + let (Some(u), Some(n)) = (update(u), from_cstr_ptr(name)) else { return E_INVALIDARG }; + if data.is_null() && size > 0 { + return E_INVALIDARG; + } + let bytes = if size == 0 { Vec::new() } else { std::slice::from_raw_parts(data, size).to_vec() }; + u.ops.push((n, Some(bytes))); + S_OK +} + +pub unsafe extern "system" fn XGameSaveSubmitBlobDelete(u: *mut Update, name: *const u8) -> HRESULT { + let (Some(u), Some(n)) = (update(u), from_cstr_ptr(name)) else { return E_INVALIDARG }; + u.ops.push((n, None)); + S_OK +} + +fn apply(dir: &Path, display: Option<&str>, ops: &[(String, Option<Vec<u8>>)]) -> HRESULT { + let blobs = dir.join("b"); + if std::fs::create_dir_all(&blobs).is_err() { + return crate::util::E_FAIL; + } + if let Some(d) = display { + let _ = std::fs::write(dir.join("display"), d); + } + for (name, data) in ops { + let path = blobs.join(enc(name)); + match data { + Some(d) => { + // write next to it, then replace: a crash never leaves half a blob + let tmp = path.with_extension("xcltmp"); + if std::fs::write(&tmp, d).is_err() || std::fs::rename(&tmp, &path).is_err() { + return crate::util::E_FAIL; + } + } + None => { + let _ = std::fs::remove_file(&path); + } + } + } + S_OK +} + +pub unsafe extern "system" fn XGameSaveSubmitUpdate(u: *mut Update) -> HRESULT { + let Some(u) = update(u) else { return E_INVALIDARG }; + apply(&u.dir, u.display.as_deref(), &u.ops) +} + +static SUBMIT_ID: u8 = 0; + +pub unsafe extern "system" fn XGameSaveSubmitUpdateAsync(u: *mut Update, b: *mut XAsyncBlock) -> HRESULT { + let Some(u) = update(u) else { return E_INVALIDARG }; + let (dir, display, ops) = (u.dir.clone(), u.display.clone(), u.ops.clone()); + begin_with(b, &SUBMIT_ID as *const u8 as usize, move || match apply(&dir, display.as_deref(), &ops) { + S_OK => Ok(Vec::new()), + e => Err(e), + }) +} + +pub unsafe extern "system" fn XGameSaveSubmitUpdateResult(b: *mut XAsyncBlock) -> HRESULT { + XAsyncGetResult(b, &SUBMIT_ID as *const u8 as *const c_void, 0, std::ptr::null_mut(), std::ptr::null_mut()) +} + +#[cfg(test)] +mod tests { + use super::*; + + unsafe extern "system" fn count_containers(i: *const ContainerInfo, ctx: *mut c_void) -> bool { + let v = &mut *(ctx as *mut Vec<(String, String, u32, u64)>); + let i = &*i; + v.push((from_cstr_ptr(i.name).unwrap(), from_cstr_ptr(i.display_name).unwrap(), i.blob_count, i.total_size)); + true + } + + #[test] + fn containers_blobs_round_trip() { + unsafe { + let cfg = format!("xcl-test-{}\0", std::process::id()); + let mut p = std::ptr::null_mut(); + assert_eq!(XGameSaveInitializeProvider(std::ptr::null_mut(), cfg.as_ptr(), false, &mut p), S_OK); + let mut c = std::ptr::null_mut(); + assert_eq!(XGameSaveCreateContainer(p, b"slot/1\0".as_ptr(), &mut c), S_OK); + let mut u = std::ptr::null_mut(); + assert_eq!(XGameSaveCreateUpdate(c, b"Save 1\0".as_ptr(), &mut u), S_OK); + assert_eq!(XGameSaveSubmitBlobWrite(u, b"data\0".as_ptr(), b"hello".as_ptr(), 5), S_OK); + assert_eq!(XGameSaveSubmitBlobWrite(u, b"meta\0".as_ptr(), b"xy".as_ptr(), 2), S_OK); + // async submit + let mut blk: XAsyncBlock = std::mem::zeroed(); + assert_eq!(XGameSaveSubmitUpdateAsync(u, &mut blk), S_OK); + assert_eq!(XAsyncGetStatus(&mut blk, true), S_OK); + assert_eq!(XGameSaveSubmitUpdateResult(&mut blk), S_OK); + XGameSaveCloseUpdate(u); + let mut list: Vec<(String, String, u32, u64)> = Vec::new(); + assert_eq!(XGameSaveEnumerateContainerInfo(p, &mut list as *mut _ as *mut c_void, Some(count_containers)), S_OK); + assert_eq!(list, vec![("slot/1".to_string(), "Save 1".to_string(), 2, 7)]); + // read everything (sync): too small first + let mut n = 0u32; + let mut buf = vec![0u64; 32]; + assert_eq!(XGameSaveReadBlobData(c, std::ptr::null(), &mut n, 8, buf.as_mut_ptr() as *mut Blob), E_GS_PROVIDED_BUFFER_TOO_SMALL); + n = 0; + assert_eq!(XGameSaveReadBlobData(c, std::ptr::null(), &mut n, 256, buf.as_mut_ptr() as *mut Blob), S_OK); + assert_eq!(n, 2); + let b0 = &*(buf.as_ptr() as *const Blob); + assert_eq!((from_cstr_ptr(b0.info.name).unwrap(), b0.info.size), ("data".to_string(), 5)); + assert_eq!(std::slice::from_raw_parts(b0.data, 5), b"hello"); + // read one by name (async), then delete it + let names = [b"meta\0".as_ptr()]; + let mut blk: XAsyncBlock = std::mem::zeroed(); + assert_eq!(XGameSaveReadBlobDataAsync(c, names.as_ptr(), 1, &mut blk), S_OK); + assert_eq!(XAsyncGetStatus(&mut blk, true), S_OK); + let mut buf2 = vec![0u64; 16]; + let mut n2 = 0u32; + assert_eq!(XGameSaveReadBlobDataResult(&mut blk, 128, buf2.as_mut_ptr() as *mut Blob, &mut n2), S_OK); + let b1 = &*(buf2.as_ptr() as *const Blob); + assert_eq!((n2, std::slice::from_raw_parts(b1.data, 2)), (1, &b"xy"[..])); + let mut u = std::ptr::null_mut(); + assert_eq!(XGameSaveCreateUpdate(c, std::ptr::null(), &mut u), S_OK); + assert_eq!(XGameSaveSubmitBlobDelete(u, b"meta\0".as_ptr()), S_OK); + assert_eq!(XGameSaveSubmitUpdate(u), S_OK); + XGameSaveCloseUpdate(u); + let names = [b"meta\0".as_ptr()]; + let mut n3 = 1u32; + assert_eq!(XGameSaveReadBlobData(c, names.as_ptr(), &mut n3, 256, buf.as_mut_ptr() as *mut Blob), E_GS_BLOB_NOT_FOUND); + let mut q = 0i64; + assert_eq!(XGameSaveGetRemainingQuota(p, &mut q), S_OK); + assert_eq!(q, QUOTA - 5); + XGameSaveCloseContainer(c); + assert_eq!(XGameSaveDeleteContainer(p, b"slot/1\0".as_ptr()), S_OK); + assert_eq!(XGameSaveGetContainerInfo(p, b"slot/1\0".as_ptr(), std::ptr::null_mut(), Some(count_containers)), E_GS_CONTAINER_NOT_FOUND); + let root = (*p).root.clone(); + XGameSaveCloseProvider(p); + let _ = std::fs::remove_dir_all(root); + } + } +} diff --git a/crates/xcl/src/hle/xgameruntime/mod.rs b/crates/xcl/src/hle/xgameruntime/mod.rs new file mode 100644 index 0000000..c6a1110 --- /dev/null +++ b/crates/xcl/src/hle/xgameruntime/mod.rs @@ -0,0 +1,584 @@ +//! XGameRuntime – offline implementation of the GDK system APIs a title needs to boot. +//! Signatures: public GDK reference (docs.xbox.com). + +#![allow(non_snake_case)] + +pub mod gamesave; +pub mod taskqueue; +pub mod xasync; + +use std::ffi::c_void; +use std::path::PathBuf; +use std::sync::atomic::{AtomicU32, Ordering}; + +use crate::util::{write_cstr_out, E_INVALIDARG, E_NOT_FOUND, E_NOT_SUFFICIENT_BUFFER, E_NOT_SUPPORTED, HRESULT, S_OK}; +use gamesave::*; +use taskqueue::*; +use xasync::*; + +pub fn exports() -> Vec<(&'static str, usize)> { + crate::hle_exports![ + // runtime + XGameRuntimeInitialize, + XGameRuntimeInitializeWithOptions, + XGameRuntimeUninitialize, + XGameRuntimeIsFeatureAvailable, + // task queue + XTaskQueueCreate, + XTaskQueueDuplicateHandle, + XTaskQueueCloseHandle, + XTaskQueueSubmitCallback, + XTaskQueueSubmitDelayedCallback, + XTaskQueueDispatch, + XTaskQueueIsEmpty, + XTaskQueueTerminate, + XTaskQueueGetCurrentProcessTaskQueue, + XTaskQueueSetCurrentProcessTaskQueue, + XTaskQueueRegisterWaiter, + XTaskQueueUnregisterWaiter, + XTaskQueueRegisterMonitor, + XTaskQueueUnregisterMonitor, + // async + XAsyncBegin, + XAsyncSchedule, + XAsyncComplete, + XAsyncGetStatus, + XAsyncGetResultSize, + XAsyncGetResult, + XAsyncCancel, + XAsyncRun, + // threads + XThreadSetTimeSensitive, + XThreadIsTimeSensitive, + // system + XSystemGetDeviceType, + XSystemGetConsoleId, + XSystemGetAnalyticsInfo, + XSystemGetXboxLiveSandboxId, + // package + XPackageIsPackagedProcess, + XPackageGetCurrentProcessPackageIdentifier, + XPackageMount, + XPackageGetMountPathSize, + XPackageGetMountPath, + XPackageCloseMountHandle, + XPackageEnumeratePackages, + // storage + XPersistentLocalStorageGetPathSize, + XPersistentLocalStorageGetPath, + XPersistentLocalStorageGetSpaceInfo, + XGameSaveFilesGetFolderWithUiAsync, + XGameSaveFilesGetFolderWithUiResult, + // game save containers + XGameSaveInitializeProvider, + XGameSaveInitializeProviderAsync, + XGameSaveInitializeProviderResult, + XGameSaveCloseProvider, + XGameSaveGetRemainingQuota, + XGameSaveGetRemainingQuotaAsync, + XGameSaveGetRemainingQuotaResult, + XGameSaveDeleteContainer, + XGameSaveDeleteContainerAsync, + XGameSaveDeleteContainerResult, + XGameSaveCreateContainer, + XGameSaveCloseContainer, + XGameSaveGetContainerInfo, + XGameSaveEnumerateContainerInfo, + XGameSaveEnumerateContainerInfoByName, + XGameSaveEnumerateBlobInfo, + XGameSaveEnumerateBlobInfoByName, + XGameSaveReadBlobData, + XGameSaveReadBlobDataAsync, + XGameSaveReadBlobDataResult, + XGameSaveCreateUpdate, + XGameSaveCloseUpdate, + XGameSaveSubmitBlobWrite, + XGameSaveSubmitBlobDelete, + XGameSaveSubmitUpdate, + XGameSaveSubmitUpdateAsync, + XGameSaveSubmitUpdateResult, + // users + XUserAddAsync, + XUserAddResult, + XUserDuplicateHandle, + XUserCloseHandle, + XUserCompare, + XUserGetMaxUsers, + XUserGetId, + XUserGetLocalId, + XUserFindUserByLocalId, + XUserFindUserById, + XUserGetIsGuest, + XUserGetState, + XUserGetGamertag, + XUserGetAgeGroup, + XUserRegisterForChangeEvent, + XUserUnregisterForChangeEvent, + // store (offline) + XStoreCreateContext, + XStoreCloseContextHandle, + ] +} + +// --------------------------------------------------------------------------------------- +// runtime +// --------------------------------------------------------------------------------------- + +static INIT_COUNT: AtomicU32 = AtomicU32::new(0); + +pub unsafe extern "system" fn XGameRuntimeInitialize() -> HRESULT { + if INIT_COUNT.fetch_add(1, Ordering::AcqRel) == 0 { + crate::xlog_info!("XGameRuntimeInitialize (XCL offline runtime)"); + } + S_OK +} + +pub unsafe extern "system" fn XGameRuntimeInitializeWithOptions(_options: *const c_void) -> HRESULT { + XGameRuntimeInitialize() +} + +pub unsafe extern "system" fn XGameRuntimeUninitialize() { + INIT_COUNT.fetch_sub(1, Ordering::AcqRel); +} + +pub unsafe extern "system" fn XGameRuntimeIsFeatureAvailable(_feature: u32) -> bool { + true +} + +// --------------------------------------------------------------------------------------- +// XThread +// --------------------------------------------------------------------------------------- + +thread_local! { + static TIME_SENSITIVE: std::cell::Cell<bool> = const { std::cell::Cell::new(false) }; +} + +pub unsafe extern "system" fn XThreadSetTimeSensitive(v: bool) -> HRESULT { + TIME_SENSITIVE.with(|c| c.set(v)); + S_OK +} + +pub unsafe extern "system" fn XThreadIsTimeSensitive() -> bool { + TIME_SENSITIVE.with(|c| c.get()) +} + +// --------------------------------------------------------------------------------------- +// XSystem +// --------------------------------------------------------------------------------------- + +pub const DEVICE_XBOX_SCARLETT_LOCKHART: u32 = 0x06; +pub const DEVICE_XBOX_SCARLETT_ANACONDA: u32 = 0x07; + +pub unsafe extern "system" fn XSystemGetDeviceType() -> u32 { + if crate::state::config().is_series_s() { + DEVICE_XBOX_SCARLETT_LOCKHART + } else { + DEVICE_XBOX_SCARLETT_ANACONDA + } +} + +pub unsafe extern "system" fn XSystemGetConsoleId(size: usize, buf: *mut u8, used: *mut usize) -> HRESULT { + write_cstr_out(&crate::state::config().console_id, buf, size, used) +} + +pub unsafe extern "system" fn XSystemGetXboxLiveSandboxId(size: usize, buf: *mut u8, used: *mut usize) -> HRESULT { + write_cstr_out(&crate::state::config().sandbox_id, buf, size, used) +} + +#[repr(C)] +#[derive(Clone, Copy)] +pub struct XVersion { + pub major: u16, + pub minor: u16, + pub build: u16, + pub revision: u16, +} + +#[repr(C)] +pub struct XSystemAnalyticsInfo { + pub os_version: XVersion, + pub hosting_os_version: XVersion, + pub family: [u8; 64], + pub form: [u8; 64], +} + +fn fixed64(s: &str) -> [u8; 64] { + let mut a = [0u8; 64]; + let b = s.as_bytes(); + a[..b.len().min(63)].copy_from_slice(&b[..b.len().min(63)]); + a +} + +pub unsafe extern "system" fn XSystemGetAnalyticsInfo() -> XSystemAnalyticsInfo { + let (major, minor, build) = super::kernelx::host_os_version(); + let v = XVersion { major: major as u16, minor: minor as u16, build: build as u16, revision: 0 }; + let form = if crate::state::config().is_series_s() { "Xbox Series S" } else { "Xbox Series X" }; + XSystemAnalyticsInfo { os_version: v, hosting_os_version: v, family: fixed64("Gaming"), form: fixed64(form) } +} + +// --------------------------------------------------------------------------------------- +// XPackage +// --------------------------------------------------------------------------------------- + +pub fn package_identifier() -> String { + let c = crate::state::config(); + if !c.package_identifier.is_empty() { + return c.package_identifier.clone(); + } + let title = crate::state::boot().map(|b| b.title.clone()).unwrap_or_else(|| "XCL.Title".into()); + format!("{title}_1.0.0.0_x64__xcl") +} + +fn game_root() -> String { + crate::state::boot() + .map(|b| b.game_root.to_string_lossy().into_owned()) + .unwrap_or_else(|| ".".into()) +} + +pub unsafe extern "system" fn XPackageIsPackagedProcess() -> bool { + true +} + +pub unsafe extern "system" fn XPackageGetCurrentProcessPackageIdentifier(size: usize, buf: *mut u8) -> HRESULT { + write_cstr_out(&package_identifier(), buf, size, std::ptr::null_mut()) +} + +struct Mount { + path: String, +} + +pub unsafe extern "system" fn XPackageMount(id: *const u8, out: *mut *mut c_void) -> HRESULT { + if out.is_null() { + return E_INVALIDARG; + } + let id = crate::util::from_cstr_ptr(id).unwrap_or_default(); + if !id.is_empty() && !id.eq_ignore_ascii_case(&package_identifier()) { + crate::xlog_warn!("XPackageMount({id}) – nieznany pakiet (DLC?)"); + return E_NOT_FOUND; + } + *out = Box::into_raw(Box::new(Mount { path: game_root() })) as *mut c_void; + S_OK +} + +pub unsafe extern "system" fn XPackageGetMountPathSize(m: *mut c_void, size: *mut usize) -> HRESULT { + if m.is_null() || size.is_null() { + return E_INVALIDARG; + } + let mount = &*(m as *const Mount); + *size = mount.path.len() + 1; + S_OK +} + +pub unsafe extern "system" fn XPackageGetMountPath(m: *mut c_void, size: usize, buf: *mut u8) -> HRESULT { + if m.is_null() { + return E_INVALIDARG; + } + write_cstr_out(&(*(m as *const Mount)).path, buf, size, std::ptr::null_mut()) +} + +pub unsafe extern "system" fn XPackageCloseMountHandle(m: *mut c_void) { + if !m.is_null() { + drop(Box::from_raw(m as *mut Mount)); + } +} + +pub unsafe extern "system" fn XPackageEnumeratePackages(_kind: u32, _scope: u32, _ctx: *mut c_void, _cb: usize) -> HRESULT { + // No DLC/related packages offline. + S_OK +} + +// --------------------------------------------------------------------------------------- +// Persistent local storage + save files +// --------------------------------------------------------------------------------------- + +fn data_subdir(name: &str) -> PathBuf { + let p = crate::state::data_dir().join(name); + let _ = std::fs::create_dir_all(&p); + p +} + +fn pls_path() -> String { + data_subdir("pls").to_string_lossy().into_owned() +} + +pub unsafe extern "system" fn XPersistentLocalStorageGetPathSize(size: *mut usize) -> HRESULT { + if size.is_null() { + return E_INVALIDARG; + } + *size = pls_path().len() + 1; + S_OK +} + +pub unsafe extern "system" fn XPersistentLocalStorageGetPath(size: usize, buf: *mut u8, used: *mut usize) -> HRESULT { + write_cstr_out(&pls_path(), buf, size, used) +} + +#[repr(C)] +pub struct XPersistentLocalStorageSpaceInfo { + pub available_free_bytes: u64, + pub total_free_bytes: u64, + pub used_bytes: u64, + pub total_bytes: u64, +} + +pub unsafe extern "system" fn XPersistentLocalStorageGetSpaceInfo(info: *mut XPersistentLocalStorageSpaceInfo) -> HRESULT { + use windows_sys::Win32::Storage::FileSystem::GetDiskFreeSpaceExW; + if info.is_null() { + return E_INVALIDARG; + } + let (mut avail, mut total, mut free) = (0u64, 0u64, 0u64); + GetDiskFreeSpaceExW(crate::util::wide(&pls_path()).as_ptr(), &mut avail, &mut total, &mut free); + let budget = 4u64 << 30; // report a 4 GiB PLS quota + *info = XPersistentLocalStorageSpaceInfo { + available_free_bytes: avail.min(budget), + total_free_bytes: free.min(budget), + used_bytes: 0, + total_bytes: budget, + }; + S_OK +} + +static SAVE_FILES_IDENTITY: u8 = 0; + +pub unsafe extern "system" fn XGameSaveFilesGetFolderWithUiAsync(_user: *mut c_void, scid: *const u8, b: *mut XAsyncBlock) -> HRESULT { + let scid = crate::util::from_cstr_ptr(scid).unwrap_or_else(|| "default".into()); + let safe: String = scid.chars().map(|c| if c.is_ascii_alphanumeric() || c == '-' { c } else { '_' }).collect(); + begin_with(b, &SAVE_FILES_IDENTITY as *const u8 as usize, move || { + let p = data_subdir("saves").join(if safe.is_empty() { "default".into() } else { safe }); + std::fs::create_dir_all(&p).map_err(|_| crate::util::E_FAIL)?; + let mut v = p.to_string_lossy().into_owned().into_bytes(); + v.push(0); + Ok(v) + }) +} + +pub unsafe extern "system" fn XGameSaveFilesGetFolderWithUiResult(b: *mut XAsyncBlock, size: usize, buf: *mut u8) -> HRESULT { + XAsyncGetResult(b, &SAVE_FILES_IDENTITY as *const u8 as *const c_void, size, buf as *mut c_void, std::ptr::null_mut()) +} + +// --------------------------------------------------------------------------------------- +// XUser – one signed-in offline user +// --------------------------------------------------------------------------------------- + +#[repr(C)] +pub struct User { + magic: u32, + refs: AtomicU32, +} + +static USER: User = User { magic: 0x5553_4552, refs: AtomicU32::new(1) }; +const LOCAL_ID: u64 = 1; +static USER_ADD_IDENTITY: u8 = 0; + +fn user_ptr() -> *mut c_void { + &USER as *const User as *mut c_void +} + +unsafe fn valid_user(h: *mut c_void) -> bool { + h == user_ptr() +} + +pub unsafe extern "system" fn XUserAddAsync(options: u32, b: *mut XAsyncBlock) -> HRESULT { + crate::xlog_info!("XUserAddAsync(options={options:#x}) → lokalny użytkownik offline '{}'", crate::state::config().gamertag); + begin_with(b, &USER_ADD_IDENTITY as *const u8 as usize, || { + USER.refs.fetch_add(1, Ordering::AcqRel); + Ok((user_ptr() as usize).to_le_bytes().to_vec()) + }) +} + +pub unsafe extern "system" fn XUserAddResult(b: *mut XAsyncBlock, out: *mut *mut c_void) -> HRESULT { + if out.is_null() { + return E_INVALIDARG; + } + XAsyncGetResult(b, &USER_ADD_IDENTITY as *const u8 as *const c_void, 8, out as *mut c_void, std::ptr::null_mut()) +} + +pub unsafe extern "system" fn XUserDuplicateHandle(h: *mut c_void, out: *mut *mut c_void) -> HRESULT { + if !valid_user(h) || out.is_null() { + return E_INVALIDARG; + } + USER.refs.fetch_add(1, Ordering::AcqRel); + *out = h; + S_OK +} + +pub unsafe extern "system" fn XUserCloseHandle(h: *mut c_void) { + if valid_user(h) { + let _ = USER.refs.fetch_update(Ordering::AcqRel, Ordering::Acquire, |v| Some(v.saturating_sub(1).max(1))); + } +} + +pub unsafe extern "system" fn XUserCompare(a: *mut c_void, b: *mut c_void) -> i32 { + (a as isize - b as isize).signum() as i32 +} + +pub unsafe extern "system" fn XUserGetMaxUsers(out: *mut u32) -> HRESULT { + if out.is_null() { + return E_INVALIDARG; + } + *out = 1; + S_OK +} + +pub unsafe extern "system" fn XUserGetId(h: *mut c_void, out: *mut u64) -> HRESULT { + if !valid_user(h) || out.is_null() { + return E_INVALIDARG; + } + *out = crate::state::config().user_id; + S_OK +} + +pub unsafe extern "system" fn XUserGetLocalId(h: *mut c_void, out: *mut u64) -> HRESULT { + if !valid_user(h) || out.is_null() { + return E_INVALIDARG; + } + *out = LOCAL_ID; + S_OK +} + +pub unsafe extern "system" fn XUserFindUserByLocalId(id: u64, out: *mut *mut c_void) -> HRESULT { + if out.is_null() { + return E_INVALIDARG; + } + if id != LOCAL_ID { + return E_NOT_FOUND; + } + USER.refs.fetch_add(1, Ordering::AcqRel); + *out = user_ptr(); + S_OK +} + +pub unsafe extern "system" fn XUserFindUserById(id: u64, out: *mut *mut c_void) -> HRESULT { + if out.is_null() { + return E_INVALIDARG; + } + if id != crate::state::config().user_id { + return E_NOT_FOUND; + } + USER.refs.fetch_add(1, Ordering::AcqRel); + *out = user_ptr(); + S_OK +} + +pub unsafe extern "system" fn XUserGetIsGuest(h: *mut c_void, out: *mut bool) -> HRESULT { + if !valid_user(h) || out.is_null() { + return E_INVALIDARG; + } + *out = false; + S_OK +} + +pub unsafe extern "system" fn XUserGetState(h: *mut c_void, out: *mut u32) -> HRESULT { + if !valid_user(h) || out.is_null() { + return E_INVALIDARG; + } + *out = 0; // SignedIn + S_OK +} + +pub const GAMERTAG_SIZES: [usize; 4] = [16, 97, 15, 101]; // Classic, Modern, ModernSuffix, UniqueModern + +pub unsafe extern "system" fn XUserGetGamertag(h: *mut c_void, component: u32, size: usize, buf: *mut u8, used: *mut usize) -> HRESULT { + if !valid_user(h) || component > 3 { + return E_INVALIDARG; + } + let tag = crate::state::config().gamertag.clone(); + let value = match component { + 2 => String::new(), // ModernSuffix: none + 3 => format!("{tag}#0001"), + _ => tag, + }; + if size < value.len() + 1 { + if !used.is_null() { + *used = value.len() + 1; + } + return E_NOT_SUFFICIENT_BUFFER; + } + write_cstr_out(&value, buf, size, used) +} + +pub unsafe extern "system" fn XUserGetAgeGroup(h: *mut c_void, out: *mut u32) -> HRESULT { + if !valid_user(h) || out.is_null() { + return E_INVALIDARG; + } + *out = 3; // Adult + S_OK +} + +pub unsafe extern "system" fn XUserRegisterForChangeEvent(_q: *mut c_void, _ctx: *mut c_void, _cb: usize, token: *mut RegistrationToken) -> HRESULT { + if token.is_null() { + return E_INVALIDARG; + } + (*token).token = 1; // offline: the user never changes + S_OK +} + +pub unsafe extern "system" fn XUserUnregisterForChangeEvent(_token: RegistrationToken, _wait: bool) -> bool { + true +} + +// --------------------------------------------------------------------------------------- +// XStore – deliberately unavailable (no fake licences) +// --------------------------------------------------------------------------------------- + +pub unsafe extern "system" fn XStoreCreateContext(_user: *mut c_void, out: *mut *mut c_void) -> HRESULT { + crate::xlog_warn!("XStoreCreateContext → niedostępne (tryb offline, XCL nie udaje licencji)"); + if !out.is_null() { + *out = std::ptr::null_mut(); + } + E_NOT_SUPPORTED +} + +pub unsafe extern "system" fn XStoreCloseContextHandle(_h: *mut c_void) {} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn user_add_and_queries() { + unsafe { + let mut b: XAsyncBlock = std::mem::zeroed(); + assert_eq!(XUserAddAsync(1, &mut b), S_OK); + assert_eq!(XAsyncGetStatus(&mut b, true), S_OK); + let mut u = std::ptr::null_mut(); + assert_eq!(XUserAddResult(&mut b, &mut u), S_OK); + assert!(!u.is_null()); + let mut tag = [0u8; 16]; + let mut used = 0usize; + assert_eq!(XUserGetGamertag(u, 0, 16, tag.as_mut_ptr(), &mut used), S_OK); + assert_eq!(&tag[..used - 1], b"Player1"); + assert_eq!(XUserGetGamertag(u, 0, 3, tag.as_mut_ptr(), &mut used), E_NOT_SUFFICIENT_BUFFER); + let mut id = 0u64; + assert_eq!(XUserGetId(u, &mut id), S_OK); + assert_ne!(id, 0); + XUserCloseHandle(u); + assert_eq!(XUserGetId(std::ptr::null_mut(), &mut id), E_INVALIDARG); + } + } + + #[test] + fn system_info() { + unsafe { + assert_eq!(XSystemGetDeviceType(), DEVICE_XBOX_SCARLETT_ANACONDA); + let info = XSystemGetAnalyticsInfo(); + assert!(info.os_version.major >= 10); + assert_eq!(&info.form[..13], b"Xbox Series X"); + assert_eq!(std::mem::size_of::<XSystemAnalyticsInfo>(), 144); + } + } + + #[test] + fn save_folder_async() { + unsafe { + let mut b: XAsyncBlock = std::mem::zeroed(); + assert_eq!(XGameSaveFilesGetFolderWithUiAsync(std::ptr::null_mut(), b"scid-1\0".as_ptr(), &mut b), S_OK); + assert_eq!(XAsyncGetStatus(&mut b, true), S_OK); + let mut buf = [0u8; 512]; + assert_eq!(XGameSaveFilesGetFolderWithUiResult(&mut b, 512, buf.as_mut_ptr()), S_OK); + let s = std::ffi::CStr::from_ptr(buf.as_ptr() as *const _).to_string_lossy().into_owned(); + assert!(s.ends_with("saves\\scid-1"), "{s}"); + assert!(std::path::Path::new(&s).is_dir()); + } + } +} diff --git a/crates/xcl/src/hle/xgameruntime/taskqueue.rs b/crates/xcl/src/hle/xgameruntime/taskqueue.rs new file mode 100644 index 0000000..f0aaad3 --- /dev/null +++ b/crates/xcl/src/hle/xgameruntime/taskqueue.rs @@ -0,0 +1,525 @@ +//! XTaskQueue – GDK's async dispatch primitive (contract: libHttpClient XTaskQueue.h, MIT). +//! +//! Dispatch modes: Manual (caller pumps `XTaskQueueDispatch`), ThreadPool, +//! SerializedThreadPool (pool, one at a time) and Immediate (run on the submitting +//! thread). Callbacks submitted after `XTaskQueueTerminate` run with `canceled = true`. + +#![allow(non_snake_case)] + +use std::collections::{BinaryHeap, VecDeque}; +use std::ffi::c_void; +use std::sync::atomic::{AtomicBool, AtomicU64, AtomicUsize, Ordering}; +use std::sync::mpsc; +use std::sync::{Arc, Condvar, Mutex, OnceLock}; +use std::time::{Duration, Instant}; + +use crate::util::{E_INVALIDARG, HRESULT, S_OK}; + +pub const MODE_MANUAL: u32 = 0; +pub const MODE_THREAD_POOL: u32 = 1; +pub const MODE_SERIALIZED_THREAD_POOL: u32 = 2; +pub const MODE_IMMEDIATE: u32 = 3; +pub const PORT_WORK: u32 = 0; +pub const PORT_COMPLETION: u32 = 1; +pub const E_ABORT_QUEUE_TERMINATED: HRESULT = 0x8004_0001u32 as i32; // E_ABORT-like + +pub type XTaskQueueCallback = unsafe extern "system" fn(*mut c_void, bool); +pub type XTaskQueueTerminatedCallback = unsafe extern "system" fn(*mut c_void); + +#[derive(Clone, Copy)] +pub struct Item { + pub cb: usize, + pub ctx: usize, +} + +impl Item { + pub unsafe fn run(self, canceled: bool) { + let f: XTaskQueueCallback = std::mem::transmute(self.cb); + f(self.ctx as *mut c_void, canceled); + } +} + +pub struct Port { + mode: u32, + items: Mutex<VecDeque<Item>>, + cv: Condvar, + running: AtomicBool, +} + +impl Port { + fn new(mode: u32) -> Port { + Port { mode, items: Mutex::new(VecDeque::new()), cv: Condvar::new(), running: AtomicBool::new(false) } + } +} + +pub struct Queue { + ports: [Port; 2], + terminated: AtomicBool, + inflight: AtomicUsize, + idle: (Mutex<()>, Condvar), +} + +/// What an `XTaskQueueHandle` points to. +pub struct QueueHandle { + magic: u64, + pub queue: Arc<Queue>, +} + +const MAGIC: u64 = 0x5843_4C51_5545_5545; // "XCLQUEUE" + +// --------------------------------------------------------------------------------------- +// shared worker pool + timer +// --------------------------------------------------------------------------------------- + +type Job = Box<dyn FnOnce() + Send>; + +fn pool() -> &'static Mutex<mpsc::Sender<Job>> { + static POOL: OnceLock<Mutex<mpsc::Sender<Job>>> = OnceLock::new(); + POOL.get_or_init(|| { + let (tx, rx) = mpsc::channel::<Job>(); + let rx = Arc::new(Mutex::new(rx)); + let n = std::thread::available_parallelism().map(|n| n.get()).unwrap_or(4).clamp(2, 8); + for i in 0..n { + let rx = rx.clone(); + std::thread::Builder::new() + .name(format!("xcl-taskqueue-{i}")) + .spawn(move || loop { + let job = { rx.lock().unwrap().recv() }; + match job { + Ok(j) => j(), + Err(_) => break, + } + }) + .expect("spawn task queue worker"); + } + Mutex::new(tx) + }) +} + +fn spawn(job: Job) { + let _ = pool().lock().unwrap().send(job); +} + +struct Timed { + at: Instant, + seq: u64, + queue: Arc<Queue>, + port: u32, + item: Item, +} +impl PartialEq for Timed { + fn eq(&self, o: &Self) -> bool { + self.at == o.at && self.seq == o.seq + } +} +impl Eq for Timed {} +impl PartialOrd for Timed { + fn partial_cmp(&self, o: &Self) -> Option<std::cmp::Ordering> { + Some(self.cmp(o)) + } +} +impl Ord for Timed { + fn cmp(&self, o: &Self) -> std::cmp::Ordering { + // min-heap on (at, seq) + o.at.cmp(&self.at).then(o.seq.cmp(&self.seq)) + } +} + +fn timer() -> &'static (Mutex<BinaryHeap<Timed>>, Condvar) { + static T: OnceLock<(Mutex<BinaryHeap<Timed>>, Condvar)> = OnceLock::new(); + static STARTED: AtomicBool = AtomicBool::new(false); + let t = T.get_or_init(|| (Mutex::new(BinaryHeap::new()), Condvar::new())); + if !STARTED.swap(true, Ordering::AcqRel) { + std::thread::Builder::new() + .name("xcl-taskqueue-timer".into()) + .spawn(|| { + let (m, cv) = timer(); + let mut g = m.lock().unwrap(); + loop { + let now = Instant::now(); + match g.peek() { + None => g = cv.wait(g).unwrap(), + Some(t) if t.at <= now => { + let t = g.pop().unwrap(); + drop(g); + submit_now(&t.queue, t.port, t.item); + g = m.lock().unwrap(); + } + Some(t) => { + let d = t.at - now; + g = cv.wait_timeout(g, d).unwrap().0; + } + } + } + }) + .expect("spawn timer"); + } + t +} + +static SEQ: AtomicU64 = AtomicU64::new(0); + +// --------------------------------------------------------------------------------------- +// core operations +// --------------------------------------------------------------------------------------- + +impl Queue { + pub fn new(work_mode: u32, completion_mode: u32) -> Arc<Queue> { + Arc::new(Queue { + ports: [Port::new(work_mode), Port::new(completion_mode)], + terminated: AtomicBool::new(false), + inflight: AtomicUsize::new(0), + idle: (Mutex::new(()), Condvar::new()), + }) + } + + fn done_one(&self) { + if self.inflight.fetch_sub(1, Ordering::AcqRel) == 1 { + let _g = self.idle.0.lock().unwrap(); + self.idle.1.notify_all(); + } + } + + unsafe fn execute(self: &Arc<Queue>, item: Item) { + let canceled = self.terminated.load(Ordering::Acquire); + item.run(canceled); + self.done_one(); + } +} + +fn drain_serialized(q: Arc<Queue>, port: u32) { + let p = &q.ports[port as usize]; + loop { + let next = p.items.lock().unwrap().pop_front(); + match next { + Some(it) => unsafe { q.execute(it) }, + None => { + p.running.store(false, Ordering::Release); + // re-check: an item may have arrived after pop but before the store + let more = !p.items.lock().unwrap().is_empty(); + if more && !p.running.swap(true, Ordering::AcqRel) { + continue; + } + break; + } + } + } +} + +pub fn submit_now(q: &Arc<Queue>, port: u32, item: Item) { + let p = &q.ports[port as usize]; + q.inflight.fetch_add(1, Ordering::AcqRel); + match p.mode { + MODE_IMMEDIATE => unsafe { q.execute(item) }, + MODE_THREAD_POOL => { + let q2 = q.clone(); + spawn(Box::new(move || unsafe { q2.execute(item) })); + } + MODE_SERIALIZED_THREAD_POOL => { + p.items.lock().unwrap().push_back(item); + if !p.running.swap(true, Ordering::AcqRel) { + let q2 = q.clone(); + spawn(Box::new(move || drain_serialized(q2, port))); + } + } + _ => { + p.items.lock().unwrap().push_back(item); + p.cv.notify_one(); + } + } +} + +pub fn submit_delayed(q: &Arc<Queue>, port: u32, delay_ms: u32, item: Item) { + if delay_ms == 0 { + return submit_now(q, port, item); + } + let (m, cv) = timer(); + m.lock().unwrap().push(Timed { + at: Instant::now() + Duration::from_millis(delay_ms as u64), + seq: SEQ.fetch_add(1, Ordering::Relaxed), + queue: q.clone(), + port, + item, + }); + cv.notify_all(); +} + +/// Dispatch one item from a Manual port. Returns true when something ran. +pub fn dispatch(q: &Arc<Queue>, port: u32, timeout_ms: u32) -> bool { + let p = &q.ports[port as usize]; + let mut g = p.items.lock().unwrap(); + if g.is_empty() && timeout_ms != 0 { + let dur = if timeout_ms == u32::MAX { Duration::from_secs(u64::MAX / 4) } else { Duration::from_millis(timeout_ms as u64) }; + let deadline = Instant::now() + dur.min(Duration::from_secs(365 * 24 * 3600)); + while g.is_empty() { + let now = Instant::now(); + if now >= deadline { + break; + } + g = p.cv.wait_timeout(g, deadline - now).unwrap().0; + } + } + let Some(item) = g.pop_front() else { return false }; + drop(g); + unsafe { q.execute(item) }; + true +} + +// --------------------------------------------------------------------------------------- +// handles + process queue +// --------------------------------------------------------------------------------------- + +pub fn new_handle(q: Arc<Queue>) -> *mut QueueHandle { + Box::into_raw(Box::new(QueueHandle { magic: MAGIC, queue: q })) +} + +pub unsafe fn queue_from(h: *mut c_void) -> Option<Arc<Queue>> { + if h.is_null() { + return Some(process_queue()); + } + let qh = &*(h as *const QueueHandle); + (qh.magic == MAGIC).then(|| qh.queue.clone()) +} + +static PROCESS_QUEUE: Mutex<Option<Arc<Queue>>> = Mutex::new(None); + +pub fn process_queue() -> Arc<Queue> { + PROCESS_QUEUE + .lock() + .unwrap() + .get_or_insert_with(|| Queue::new(MODE_THREAD_POOL, MODE_THREAD_POOL)) + .clone() +} + +// --------------------------------------------------------------------------------------- +// exported API +// --------------------------------------------------------------------------------------- + +pub unsafe extern "system" fn XTaskQueueCreate(work: u32, completion: u32, out: *mut *mut c_void) -> HRESULT { + if out.is_null() || work > 3 || completion > 3 { + return E_INVALIDARG; + } + *out = new_handle(Queue::new(work, completion)) as *mut c_void; + S_OK +} + +pub unsafe extern "system" fn XTaskQueueDuplicateHandle(h: *mut c_void, out: *mut *mut c_void) -> HRESULT { + if out.is_null() { + return E_INVALIDARG; + } + match queue_from(h) { + Some(q) => { + *out = new_handle(q) as *mut c_void; + S_OK + } + None => E_INVALIDARG, + } +} + +pub unsafe extern "system" fn XTaskQueueCloseHandle(h: *mut c_void) { + if h.is_null() { + return; + } + let qh = h as *mut QueueHandle; + if (*qh).magic == MAGIC { + (*qh).magic = 0; + drop(Box::from_raw(qh)); + } +} + +pub unsafe extern "system" fn XTaskQueueSubmitCallback(h: *mut c_void, port: u32, ctx: *mut c_void, cb: usize) -> HRESULT { + if cb == 0 || port > 1 { + return E_INVALIDARG; + } + let Some(q) = queue_from(h) else { return E_INVALIDARG }; + submit_now(&q, port, Item { cb, ctx: ctx as usize }); + S_OK +} + +pub unsafe extern "system" fn XTaskQueueSubmitDelayedCallback(h: *mut c_void, port: u32, delay: u32, ctx: *mut c_void, cb: usize) -> HRESULT { + if cb == 0 || port > 1 { + return E_INVALIDARG; + } + let Some(q) = queue_from(h) else { return E_INVALIDARG }; + submit_delayed(&q, port, delay, Item { cb, ctx: ctx as usize }); + S_OK +} + +pub unsafe extern "system" fn XTaskQueueDispatch(h: *mut c_void, port: u32, timeout: u32) -> bool { + if port > 1 { + return false; + } + match queue_from(h) { + Some(q) => dispatch(&q, port, timeout), + None => false, + } +} + +pub unsafe extern "system" fn XTaskQueueIsEmpty(h: *mut c_void, port: u32) -> bool { + match queue_from(h) { + Some(q) if port <= 1 => q.ports[port as usize].items.lock().unwrap().is_empty() && q.inflight.load(Ordering::Acquire) == 0, + _ => true, + } +} + +pub unsafe extern "system" fn XTaskQueueTerminate(h: *mut c_void, wait: bool, ctx: *mut c_void, cb: usize) -> HRESULT { + let Some(q) = queue_from(h) else { return E_INVALIDARG }; + q.terminated.store(true, Ordering::Release); + // cancel everything still queued on manual/serialized ports + for port in 0..2 { + let pending: Vec<Item> = q.ports[port].items.lock().unwrap().drain(..).collect(); + for it in pending { + q.execute(it); + } + } + let ctx = ctx as usize; // raw pointers are not Send + let finish = move || { + let (m, cv) = &q.idle; + let mut g = m.lock().unwrap(); + while q.inflight.load(Ordering::Acquire) != 0 { + g = cv.wait_timeout(g, Duration::from_millis(50)).unwrap().0; + } + drop(g); + if cb != 0 { + let f: XTaskQueueTerminatedCallback = std::mem::transmute(cb); + f(ctx as *mut c_void); + } + }; + if wait { + finish(); + } else { + spawn(Box::new(finish)); + } + S_OK +} + +pub unsafe extern "system" fn XTaskQueueGetCurrentProcessTaskQueue(out: *mut *mut c_void) -> bool { + if out.is_null() { + return false; + } + *out = new_handle(process_queue()) as *mut c_void; + true +} + +pub unsafe extern "system" fn XTaskQueueSetCurrentProcessTaskQueue(h: *mut c_void) { + let q = if h.is_null() { None } else { queue_from(h) }; + *PROCESS_QUEUE.lock().unwrap() = q; +} + +#[repr(C)] +pub struct RegistrationToken { + pub token: u64, +} + +struct Waiter { + queue: Arc<Queue>, + port: u32, + item: Item, + wait: usize, +} + +unsafe extern "system" fn waiter_fired(ctx: *mut c_void, _timed_out: bool) { + let w = &*(ctx as *const Waiter); + submit_now(&w.queue, w.port, w.item); +} + +pub unsafe extern "system" fn XTaskQueueRegisterWaiter( + h: *mut c_void, + port: u32, + handle: *mut c_void, + ctx: *mut c_void, + cb: usize, + token: *mut RegistrationToken, +) -> HRESULT { + use windows_sys::Win32::System::Threading::{RegisterWaitForSingleObject, INFINITE, WT_EXECUTEDEFAULT}; + let Some(q) = queue_from(h) else { return E_INVALIDARG }; + if token.is_null() || cb == 0 { + return E_INVALIDARG; + } + let w = Box::into_raw(Box::new(Waiter { queue: q, port, item: Item { cb, ctx: ctx as usize }, wait: 0 })); + let mut wh = std::ptr::null_mut(); + if RegisterWaitForSingleObject(&mut wh, handle, Some(waiter_fired), w as *const c_void, INFINITE, WT_EXECUTEDEFAULT) == 0 { + drop(Box::from_raw(w)); + return crate::util::E_FAIL; + } + (*w).wait = wh as usize; + (*token).token = w as u64; + S_OK +} + +pub unsafe extern "system" fn XTaskQueueUnregisterWaiter(_h: *mut c_void, token: RegistrationToken) { + use windows_sys::Win32::System::Threading::UnregisterWaitEx; + let w = token.token as *mut Waiter; + if w.is_null() { + return; + } + UnregisterWaitEx((*w).wait as *mut c_void, windows_sys::Win32::Foundation::INVALID_HANDLE_VALUE); + drop(Box::from_raw(w)); +} + +pub unsafe extern "system" fn XTaskQueueRegisterMonitor(_h: *mut c_void, _ctx: *mut c_void, _cb: usize, token: *mut RegistrationToken) -> HRESULT { + // Monitors are notified when work is queued; games use them to wake manual pumps. + // Not needed for thread-pool queues – accept and never fire. + if !token.is_null() { + (*token).token = 1; + } + S_OK +} + +pub unsafe extern "system" fn XTaskQueueUnregisterMonitor(_h: *mut c_void, _token: RegistrationToken) {} + +#[cfg(test)] +mod tests { + use super::*; + use std::sync::atomic::AtomicU32; + + static HITS: AtomicU32 = AtomicU32::new(0); + static CANCELED: AtomicU32 = AtomicU32::new(0); + + unsafe extern "system" fn bump(ctx: *mut c_void, canceled: bool) { + HITS.fetch_add(ctx as usize as u32, Ordering::SeqCst); + if canceled { + CANCELED.fetch_add(1, Ordering::SeqCst); + } + } + + #[test] + fn manual_threadpool_immediate_delayed_and_terminate() { + unsafe { + let mut h = std::ptr::null_mut(); + assert_eq!(XTaskQueueCreate(MODE_MANUAL, MODE_IMMEDIATE, &mut h), S_OK); + let before = HITS.load(Ordering::SeqCst); + assert_eq!(XTaskQueueSubmitCallback(h, PORT_WORK, 1 as _, bump as usize), S_OK); + assert_eq!(HITS.load(Ordering::SeqCst), before, "manual port must wait for dispatch"); + assert!(XTaskQueueDispatch(h, PORT_WORK, 0)); + assert_eq!(HITS.load(Ordering::SeqCst), before + 1); + assert!(!XTaskQueueDispatch(h, PORT_WORK, 0)); + // immediate completion port runs inline + XTaskQueueSubmitCallback(h, PORT_COMPLETION, 10 as _, bump as usize); + assert_eq!(HITS.load(Ordering::SeqCst), before + 11); + // delayed on manual port: dispatch with timeout waits for it + XTaskQueueSubmitDelayedCallback(h, PORT_WORK, 30, 100 as _, bump as usize); + assert!(XTaskQueueDispatch(h, PORT_WORK, 2000)); + assert_eq!(HITS.load(Ordering::SeqCst), before + 111); + // terminate cancels pending manual work + XTaskQueueSubmitCallback(h, PORT_WORK, 1000 as _, bump as usize); + let c0 = CANCELED.load(Ordering::SeqCst); + assert_eq!(XTaskQueueTerminate(h, true, std::ptr::null_mut(), 0), S_OK); + assert_eq!(CANCELED.load(Ordering::SeqCst), c0 + 1); + XTaskQueueCloseHandle(h); + + // thread pool + serialized + for mode in [MODE_THREAD_POOL, MODE_SERIALIZED_THREAD_POOL] { + let mut t = std::ptr::null_mut(); + XTaskQueueCreate(mode, mode, &mut t); + let b = HITS.load(Ordering::SeqCst); + for _ in 0..50 { + XTaskQueueSubmitCallback(t, PORT_WORK, 1 as _, bump as usize); + } + XTaskQueueTerminate(t, true, std::ptr::null_mut(), 0); + assert_eq!(HITS.load(Ordering::SeqCst), b + 50); + XTaskQueueCloseHandle(t); + } + } + } +} diff --git a/crates/xcl/src/hle/xgameruntime/xasync.rs b/crates/xcl/src/hle/xgameruntime/xasync.rs new file mode 100644 index 0000000..ce849ed --- /dev/null +++ b/crates/xcl/src/hle/xgameruntime/xasync.rs @@ -0,0 +1,383 @@ +//! XAsync / XAsyncProvider (contract: libHttpClient XAsync.h + XAsyncProvider.h, MIT). +//! +//! `XAsyncBlock` = { queue, context, callback, internal[32] }. We keep a pointer to our +//! state in `internal[0..8]`. + +#![allow(non_snake_case)] + +use std::ffi::c_void; +use std::sync::{Arc, Condvar, Mutex}; + +use super::taskqueue::{self, Item, PORT_COMPLETION, PORT_WORK}; +use crate::util::{E_ABORT, E_INVALIDARG, E_NOT_SUFFICIENT_BUFFER, E_PENDING, HRESULT, S_OK}; + +pub const OP_BEGIN: u32 = 0; +pub const OP_DO_WORK: u32 = 1; +pub const OP_GET_RESULT: u32 = 2; +pub const OP_CANCEL: u32 = 3; +pub const OP_CLEANUP: u32 = 4; + +#[repr(C)] +pub struct XAsyncBlock { + pub queue: *mut c_void, + pub context: *mut c_void, + pub callback: usize, + pub internal: [u8; 32], +} + +#[repr(C)] +pub struct XAsyncProviderData { + pub async_: *mut XAsyncBlock, + pub buffer_size: usize, + pub buffer: *mut c_void, + pub context: *mut c_void, +} + +pub type XAsyncProvider = unsafe extern "system" fn(u32, *const XAsyncProviderData) -> HRESULT; +pub type XAsyncWork = unsafe extern "system" fn(*mut XAsyncBlock) -> HRESULT; +type Completion = unsafe extern "system" fn(*mut XAsyncBlock); + +struct Inner { + status: HRESULT, + result_size: usize, + done: bool, + cleaned: bool, +} + +pub struct State { + provider: usize, + context: usize, + identity: usize, + /// For XAsyncRun. + work: usize, + inner: Mutex<Inner>, + cv: Condvar, +} + +unsafe fn state_of(b: *mut XAsyncBlock) -> Option<Arc<State>> { + if b.is_null() { + return None; + } + let p = *((*b).internal.as_ptr() as *const usize); + if p == 0 { + return None; + } + let arc = Arc::from_raw(p as *const State); + let c = arc.clone(); + std::mem::forget(arc); + Some(c) +} + +unsafe fn set_state(b: *mut XAsyncBlock, s: Option<Arc<State>>) { + let slot = (*b).internal.as_mut_ptr() as *mut usize; + let old = *slot; + *slot = s.map(|a| Arc::into_raw(a) as usize).unwrap_or(0); + if old != 0 { + drop(Arc::from_raw(old as *const State)); + } +} + +unsafe fn call_provider(s: &State, op: u32, b: *mut XAsyncBlock, buffer: *mut c_void, size: usize) -> HRESULT { + if s.provider == 0 { + return S_OK; + } + let data = XAsyncProviderData { async_: b, buffer_size: size, buffer, context: s.context as *mut c_void }; + let f: XAsyncProvider = std::mem::transmute(s.provider); + f(op, &data) +} + +unsafe extern "system" fn do_work_cb(ctx: *mut c_void, canceled: bool) { + let b = ctx as *mut XAsyncBlock; + let Some(s) = state_of(b) else { return }; + if canceled { + XAsyncComplete(b, E_ABORT, 0); + return; + } + let hr = if s.work != 0 { + let f: XAsyncWork = std::mem::transmute(s.work); + f(b) + } else { + call_provider(&s, OP_DO_WORK, b, std::ptr::null_mut(), 0) + }; + if hr != E_PENDING { + // providers that finish synchronously in DoWork may not call XAsyncComplete + let done = s.inner.lock().unwrap().done; + if !done { + XAsyncComplete(b, hr, 0); + } + } +} + +unsafe extern "system" fn completion_cb(ctx: *mut c_void, _canceled: bool) { + let b = ctx as *mut XAsyncBlock; + if (*b).callback != 0 { + let f: Completion = std::mem::transmute((*b).callback); + f(b); + } +} + +pub unsafe extern "system" fn XAsyncBegin( + b: *mut XAsyncBlock, + context: *mut c_void, + identity: *const c_void, + _identity_name: *const u8, + provider: usize, +) -> HRESULT { + if b.is_null() || provider == 0 { + return E_INVALIDARG; + } + let s = Arc::new(State { + provider, + context: context as usize, + identity: identity as usize, + work: 0, + inner: Mutex::new(Inner { status: E_PENDING, result_size: 0, done: false, cleaned: false }), + cv: Condvar::new(), + }); + set_state(b, Some(s.clone())); + let hr = call_provider(&s, OP_BEGIN, b, std::ptr::null_mut(), 0); + if hr < 0 { + XAsyncComplete(b, hr, 0); + } + hr +} + +pub unsafe extern "system" fn XAsyncSchedule(b: *mut XAsyncBlock, delay_ms: u32) -> HRESULT { + if b.is_null() { + return E_INVALIDARG; + } + let Some(q) = taskqueue::queue_from((*b).queue) else { return E_INVALIDARG }; + taskqueue::submit_delayed(&q, PORT_WORK, delay_ms, Item { cb: do_work_cb as usize, ctx: b as usize }); + S_OK +} + +pub unsafe extern "system" fn XAsyncComplete(b: *mut XAsyncBlock, result: HRESULT, required: usize) { + let Some(s) = state_of(b) else { return }; + let cleanup_now; + { + let mut g = s.inner.lock().unwrap(); + if g.done { + return; + } + g.status = if result == E_PENDING { crate::util::E_FAIL } else { result }; + g.result_size = if result >= 0 { required } else { 0 }; + g.done = true; + cleanup_now = g.result_size == 0; + if cleanup_now { + g.cleaned = true; + } + } + if cleanup_now { + call_provider(&s, OP_CLEANUP, b, std::ptr::null_mut(), 0); + } + s.cv.notify_all(); + if (*b).callback != 0 { + if let Some(q) = taskqueue::queue_from((*b).queue) { + taskqueue::submit_now(&q, PORT_COMPLETION, Item { cb: completion_cb as usize, ctx: b as usize }); + } + } +} + +pub unsafe extern "system" fn XAsyncGetStatus(b: *mut XAsyncBlock, wait: bool) -> HRESULT { + let Some(s) = state_of(b) else { return E_INVALIDARG }; + let mut g = s.inner.lock().unwrap(); + if wait { + while !g.done { + g = s.cv.wait(g).unwrap(); + } + } + if g.done { + g.status + } else { + E_PENDING + } +} + +pub unsafe extern "system" fn XAsyncGetResultSize(b: *mut XAsyncBlock, size: *mut usize) -> HRESULT { + let Some(s) = state_of(b) else { return E_INVALIDARG }; + let g = s.inner.lock().unwrap(); + if !g.done { + return E_PENDING; + } + if !size.is_null() { + *size = g.result_size; + } + g.status +} + +pub unsafe extern "system" fn XAsyncGetResult( + b: *mut XAsyncBlock, + identity: *const c_void, + size: usize, + buffer: *mut c_void, + used: *mut usize, +) -> HRESULT { + let Some(s) = state_of(b) else { return E_INVALIDARG }; + let (status, need, cleaned) = { + let g = s.inner.lock().unwrap(); + if !g.done { + return E_PENDING; + } + (g.status, g.result_size, g.cleaned) + }; + if !identity.is_null() && s.identity != 0 && identity as usize != s.identity { + return E_INVALIDARG; + } + if status < 0 { + return status; + } + if need > 0 { + if cleaned { + return E_INVALIDARG; // result already consumed + } + if size < need || buffer.is_null() { + return E_NOT_SUFFICIENT_BUFFER; + } + let hr = call_provider(&s, OP_GET_RESULT, b, buffer, size); + if !used.is_null() { + *used = need; + } + s.inner.lock().unwrap().cleaned = true; + call_provider(&s, OP_CLEANUP, b, std::ptr::null_mut(), 0); + return hr; + } + if !used.is_null() { + *used = 0; + } + S_OK +} + +pub unsafe extern "system" fn XAsyncCancel(b: *mut XAsyncBlock) { + let Some(s) = state_of(b) else { return }; + if s.inner.lock().unwrap().done { + return; + } + let _ = call_provider(&s, OP_CANCEL, b, std::ptr::null_mut(), 0); + XAsyncComplete(b, E_ABORT, 0); +} + +pub unsafe extern "system" fn XAsyncRun(b: *mut XAsyncBlock, work: usize) -> HRESULT { + if b.is_null() || work == 0 { + return E_INVALIDARG; + } + let s = Arc::new(State { + provider: 0, + context: 0, + identity: 0, + work, + inner: Mutex::new(Inner { status: E_PENDING, result_size: 0, done: false, cleaned: false }), + cv: Condvar::new(), + }); + set_state(b, Some(s)); + XAsyncSchedule(b, 0) +} + +// --------------------------------------------------------------------------------------- +// Helper for our own async APIs: run `work` on the queue, complete with a byte payload. +// --------------------------------------------------------------------------------------- + +struct Payload { + result: Mutex<Option<Result<Vec<u8>, HRESULT>>>, + work: Mutex<Option<Box<dyn FnOnce() -> Result<Vec<u8>, HRESULT> + Send>>>, +} + +unsafe extern "system" fn payload_provider(op: u32, data: *const XAsyncProviderData) -> HRESULT { + let d = &*data; + let p = &*(d.context as *const Payload); + match op { + OP_BEGIN => XAsyncSchedule(d.async_, 0), + OP_DO_WORK => { + let w = p.work.lock().unwrap().take(); + let r = w.map(|f| f()).unwrap_or(Err(crate::util::E_FAIL)); + let (hr, size) = match &r { + Ok(v) => (S_OK, v.len()), + Err(e) => (*e, 0), + }; + *p.result.lock().unwrap() = Some(r); + XAsyncComplete(d.async_, hr, size); + S_OK + } + OP_GET_RESULT => { + if let Some(Ok(v)) = p.result.lock().unwrap().as_ref() { + std::ptr::copy_nonoverlapping(v.as_ptr(), d.buffer as *mut u8, v.len().min(d.buffer_size)); + } + S_OK + } + OP_CLEANUP => { + drop(Box::from_raw(d.context as *mut Payload)); + S_OK + } + _ => S_OK, + } +} + +/// Start an async op whose result is `work()`'s bytes; `identity` ties GetResult calls. +pub unsafe fn begin_with<F>(b: *mut XAsyncBlock, identity: usize, work: F) -> HRESULT +where + F: FnOnce() -> Result<Vec<u8>, HRESULT> + Send + 'static, +{ + let p = Box::into_raw(Box::new(Payload { result: Mutex::new(None), work: Mutex::new(Some(Box::new(work))) })); + // On failure XAsyncBegin completes the block, which runs OP_CLEANUP and frees `p`. + XAsyncBegin(b, p as *mut c_void, identity as *const c_void, std::ptr::null(), payload_provider as usize) +} + +#[cfg(test)] +mod tests { + use super::*; + use std::sync::atomic::{AtomicU32, Ordering}; + + static DONE: AtomicU32 = AtomicU32::new(0); + unsafe extern "system" fn on_done(_b: *mut XAsyncBlock) { + DONE.fetch_add(1, Ordering::SeqCst); + } + + #[test] + fn begin_with_payload_roundtrip() { + unsafe { + let mut b: XAsyncBlock = std::mem::zeroed(); + b.callback = on_done as usize; + let id = 0x1234usize; + assert_eq!(begin_with(&mut b, id, || Ok(b"hello".to_vec())), S_OK); + assert_eq!(XAsyncGetStatus(&mut b, true), S_OK); + let mut size = 0usize; + assert_eq!(XAsyncGetResultSize(&mut b, &mut size), S_OK); + assert_eq!(size, 5); + let mut buf = [0u8; 8]; + let mut used = 0usize; + assert_eq!(XAsyncGetResult(&mut b, id as _, 2, buf.as_mut_ptr() as _, &mut used), E_NOT_SUFFICIENT_BUFFER); + assert_eq!(XAsyncGetResult(&mut b, id as _, 8, buf.as_mut_ptr() as _, &mut used), S_OK); + assert_eq!(&buf[..5], b"hello"); + assert_eq!(used, 5); + // completion callback is delivered on the (thread pool) completion port + for _ in 0..200 { + if DONE.load(Ordering::SeqCst) > 0 { + break; + } + std::thread::sleep(std::time::Duration::from_millis(5)); + } + assert!(DONE.load(Ordering::SeqCst) > 0); + } + } + + #[test] + fn errors_propagate() { + unsafe { + let mut b: XAsyncBlock = std::mem::zeroed(); + begin_with(&mut b, 1, || Err(crate::util::E_FAIL)); + assert_eq!(XAsyncGetStatus(&mut b, true), crate::util::E_FAIL); + } + } + + unsafe extern "system" fn run_work(_b: *mut XAsyncBlock) -> HRESULT { + 7 + } + + #[test] + fn xasync_run() { + unsafe { + let mut b: XAsyncBlock = std::mem::zeroed(); + assert_eq!(XAsyncRun(&mut b, run_work as usize), S_OK); + assert_eq!(XAsyncGetStatus(&mut b, true), 7); + } + } +} diff --git a/crates/xcl/src/hooks.rs b/crates/xcl/src/hooks.rs new file mode 100644 index 0000000..131bf52 --- /dev/null +++ b/crates/xcl/src/hooks.rs @@ -0,0 +1,30 @@ +//! Inline hooks on real Windows functions (via `retour`), used where calls into Windows +//! do not go through the game's import table: file APIs called by the CRT, exception +//! machinery, etc. + +use std::sync::atomic::{AtomicUsize, Ordering}; + +use retour::RawDetour; + +use crate::util::wide; + +/// Detour `module!func` to `detour`; the trampoline (call-original) address is stored +/// in `orig`. The detour object is leaked on purpose – hooks live for the process. +pub unsafe fn hook(module: &str, func: &str, detour: usize, orig: &AtomicUsize) -> Result<(), String> { + use windows_sys::Win32::System::LibraryLoader::{GetModuleHandleW, GetProcAddress, LoadLibraryW}; + let mut h = GetModuleHandleW(wide(module).as_ptr()); + if h.is_null() { + h = LoadLibraryW(wide(module).as_ptr()); + } + if h.is_null() { + return Err(format!("hook {module}!{func}: brak modułu")); + } + let cname = std::ffi::CString::new(func).unwrap(); + let target = GetProcAddress(h, cname.as_ptr() as *const u8).ok_or_else(|| format!("hook: brak {module}!{func}"))?; + let d = RawDetour::new(target as *const (), detour as *const ()).map_err(|e| format!("hook {module}!{func}: {e}"))?; + orig.store(d.trampoline() as *const () as usize, Ordering::Release); + d.enable().map_err(|e| format!("hook {module}!{func}: {e}"))?; + Box::leak(Box::new(d)); + crate::xlog_debug!("hook {module}!{func} aktywny"); + Ok(()) +} diff --git a/crates/xcl/src/host.rs b/crates/xcl/src/host.rs new file mode 100644 index 0000000..d765fea --- /dev/null +++ b/crates/xcl/src/host.rs @@ -0,0 +1,67 @@ +//! The host process: started by the launcher with the game's command line. Sets up +//! logging, the VFS, hooks and HLE, maps the title and jumps to its entry point. + +use std::path::Path; +use std::sync::atomic::{AtomicBool, Ordering}; + +use crate::config::Boot; + +pub static HOST_MODE: AtomicBool = AtomicBool::new(false); + +pub fn host_main(boot_path: &Path) -> i32 { + let boot: Boot = match std::fs::read_to_string(boot_path).map_err(|e| e.to_string()).and_then(|s| serde_json::from_str(&s).map_err(|e| e.to_string())) { + Ok(b) => b, + Err(e) => { + eprintln!("xcl host: nie można odczytać {}: {e}", boot_path.display()); + return 0x7C1_0001; + } + }; + crate::log::init( + Some(&boot.logs_dir().join("xcl.log")), + crate::log::Level::parse(&boot.config.log_level), + boot.config.log_to_stderr, + ); + crate::xlog_info!("XCL {} – host dla '{}'", env!("CARGO_PKG_VERSION"), boot.title); + crate::xlog_info!("gra: {} (folder tylko do odczytu: {})", boot.exe_path.display(), boot.game_root.display()); + crate::xlog_info!("dane XCL: {}", boot.data_dir.display()); + + crate::state::set_boot(boot.clone()); + crate::stubs::init_db(&boot.config.stub_returns); + crate::hle::init(&boot.config); + crate::loader::set_cache_dir(boot.cache_dir()); + let mut dirs = vec![boot.game_root.clone()]; + if let Some(p) = boot.exe_path.parent() { + if p != boot.game_root { + dirs.insert(0, p.to_path_buf()); + } + } + crate::resolver::set_search_dirs(dirs); + + let mounts: Vec<(String, String)> = boot.config.mounts.iter().map(|(k, v)| (k.clone(), boot.expand(v))).collect(); + crate::vfs::init(crate::vfs::Vfs::new(&boot.game_root, &boot.data_dir, mounts)); + let _ = std::fs::create_dir_all(boot.data_dir.join("temp")); + + if let Err(e) = crate::vfs_hooks::install() { + crate::xlog_error!("VFS: nie wszystkie hooki zainstalowane: {e}"); + } + if let Err(e) = crate::eh::install_pc_hook() { + crate::xlog_error!("hook RtlPcToFileHeader: {e} – wyjątki C++ w grze mogą nie działać"); + } + crate::eh::install_crash_handler(); + HOST_MODE.store(true, Ordering::Release); + + let main = match crate::loader::load_main(&boot.exe_path) { + Ok(m) => m, + Err(e) => { + crate::xlog_error!("ładowanie gry nie powiodło się: {e}"); + crate::report::write_final(Some(format!("loader: {e}"))); + return 0x7C1_0002; + } + }; + crate::report::write_final(None); + let code = crate::loader::run_main(&main); + crate::xlog_info!("punkt wejścia gry zakończył się kodem {code}"); + crate::report::write_final(None); + crate::log::flush(); + code as i32 +} diff --git a/crates/xcl/src/inspect.rs b/crates/xcl/src/inspect.rs new file mode 100644 index 0000000..07d3173 --- /dev/null +++ b/crates/xcl/src/inspect.rs @@ -0,0 +1,156 @@ +//! `xcl inspect <exe>` – static analysis without running anything (read-only). + +use std::collections::BTreeMap; +use std::path::Path; + +use serde::Serialize; + +use crate::pe::{Layout, Pe}; +use crate::resolver::{self, Source}; + +#[derive(Serialize)] +struct Entry { + dll: String, + function: String, + delay: bool, + status: String, +} + +#[derive(Serialize)] +struct Out { + file: String, + machine: String, + image_base: String, + entry_rva: String, + size_of_image: String, + subsystem: u16, + is_dll: bool, + has_relocations: bool, + tls_template_bytes: Option<u64>, + exception_entries: u32, + stack_reserve: String, + imports: Vec<Entry>, +} + +/// Console-only DLLs a PE imports (kernelx.dll, xgameruntime*, d3d12_xs …). +/// `None` when the file is not a valid x64 PE. A plain Windows program yields `Some([])`. +pub fn console_imports(path: &Path) -> Option<Vec<String>> { + let data = std::fs::read(path).ok()?; + let pe = Pe::parse(&data, Layout::File).ok()?; + let mut all = pe.imports().unwrap_or_default(); + all.extend(pe.delay_imports().unwrap_or_default()); + let reg = crate::hle::registry(); + let mut out: Vec<String> = Vec::new(); + for d in &all { + let key = crate::util::dll_key(&d.dll); + let console = key == crate::hle::KERNELX + || reg + .hle_for(&key) + .map(|m| m.name == crate::hle::XGAMERUNTIME || m.name == crate::hle::D3D12X) + .unwrap_or(false); + if console && !out.contains(&key) { + out.push(key); + } + } + Some(out) +} + +fn status(s: &Source) -> String { + match s { + Source::Hle(m) => format!("HLE ({m})"), + Source::HleOther(m) => format!("HLE ({m}, inny moduł)"), + Source::System(d) => format!("Windows ({d})"), + Source::GameDll(d) => format!("DLL gry ({d})"), + Source::Stub => "ZAŚLEPKA".into(), + } +} + +pub fn run(path: &Path, json: bool) -> i32 { + let data = match std::fs::read(path) { + Ok(d) => d, + Err(e) => { + eprintln!("xcl inspect: nie można odczytać {}: {e}", path.display()); + return 2; + } + }; + let pe = match Pe::parse(&data, Layout::File) { + Ok(p) => p, + Err(e) => { + eprintln!( + "xcl inspect: {}: {e}\n(Jeśli to plik z paczki XVC/MSIXVC – XCL działa tylko na już rozpakowanych plikach.)", + path.display() + ); + return 3; + } + }; + if let Some(dir) = path.parent() { + resolver::set_search_dirs(vec![dir.to_path_buf()]); + } + let mut imports = Vec::new(); + let mut all = pe.imports().unwrap_or_default(); + all.extend(pe.delay_imports().unwrap_or_default()); + for d in &all { + for e in &d.entries { + let s = resolver::classify(&d.dll, &e.what); + imports.push(Entry { dll: d.dll.clone(), function: e.what.to_string(), delay: d.delay, status: status(&s) }); + } + } + let tls = pe.tls().ok().flatten().map(|t| t.total_len()); + let ex = pe.dir(crate::pe::DIR_EXCEPTION); + let out = Out { + file: path.to_string_lossy().into_owned(), + machine: format!("{:#06x}", pe.machine), + image_base: format!("{:#x}", pe.image_base), + entry_rva: format!("{:#x}", pe.entry_rva), + size_of_image: format!("{:#x}", pe.size_of_image), + subsystem: pe.subsystem, + is_dll: pe.is_dll(), + has_relocations: pe.has_relocs(), + tls_template_bytes: tls, + exception_entries: ex.size / 12, + stack_reserve: format!("{:#x}", pe.stack_reserve), + imports, + }; + if json { + println!("{}", serde_json::to_string_pretty(&out).unwrap_or_default()); + return 0; + } + println!("Plik: {}", out.file); + println!("Typ: {} x64, podsystem {}", if out.is_dll { "DLL" } else { "EXE" }, out.subsystem); + println!("ImageBase: {} (rozmiar {}, wejście +{})", out.image_base, out.size_of_image, out.entry_rva); + println!("Relokacje: {}", if out.has_relocations { "tak" } else { "NIE (obraz musi trafić pod ImageBase)" }); + println!("Statyczny TLS: {}", tls.map(|n| format!("{n} B (obsługiwany przez nośnik TLS)")).unwrap_or_else(|| "brak".into())); + println!("Wyjątki: {} wpisów .pdata", out.exception_entries); + println!("Stos: {}", out.stack_reserve); + match console_imports(path) { + Some(c) if !c.is_empty() => println!("Gra z konsoli: tak (importuje {})", c.join(", ")), + _ => println!("Gra z konsoli: NIE – brak importów kernelx / xgameruntime / d3d12_xs (zwykły program Windows?)"), + } + let mut per_dll: BTreeMap<String, Vec<&Entry>> = BTreeMap::new(); + for e in &out.imports { + per_dll.entry(format!("{}{}", e.dll, if e.delay { " (delay-load)" } else { "" })).or_default().push(e); + } + let total_stub = out.imports.iter().filter(|e| e.status == "ZAŚLEPKA").count(); + println!("\nImporty: {} funkcji z {} DLL, z czego {} bez implementacji (zaślepki):", out.imports.len(), per_dll.len(), total_stub); + for (dll, entries) in &per_dll { + let mut counts: BTreeMap<&str, usize> = BTreeMap::new(); + for e in entries { + let k = if e.status.starts_with("HLE") { + "HLE" + } else if e.status.starts_with("Windows") { + "Windows" + } else if e.status.starts_with("DLL gry") { + "DLL gry" + } else { + "zaślepki" + }; + *counts.entry(k).or_default() += 1; + } + let c: Vec<String> = counts.iter().map(|(k, v)| format!("{v} {k}")).collect(); + println!(" {dll}: {}", c.join(", ")); + for e in entries.iter().filter(|e| e.status == "ZAŚLEPKA") { + println!(" - {}", e.function); + } + } + 0 +} diff --git a/crates/xcl/src/launcher.rs b/crates/xcl/src/launcher.rs new file mode 100644 index 0000000..dd54942 --- /dev/null +++ b/crates/xcl/src/launcher.rs @@ -0,0 +1,400 @@ +//! `xcl run <game folder | exe> [-- args]` – prepares data folders and config, then +//! starts the host process with the game's own command line (argv[0] = game exe). + +use std::path::{Path, PathBuf}; + +use crate::config::{Boot, Config}; +use crate::util::wide; + +/// Data root: `%XCL_DATA_ROOT%` or `%LOCALAPPDATA%\XCL`. +pub fn data_root() -> PathBuf { + if let Ok(p) = std::env::var("XCL_DATA_ROOT") { + return PathBuf::from(p); + } + let base = std::env::var("LOCALAPPDATA").unwrap_or_else(|_| std::env::temp_dir().to_string_lossy().into_owned()); + PathBuf::from(base).join("XCL") +} + +/// Values of `attr` on every `<tag …>` element (so "<Executable" != "<ExecutableList"). +fn xml_attrs(xml: &str, tag: &str, attr: &str) -> Vec<String> { + let open = format!("<{tag}"); + let key = format!("{attr}=\""); + let mut out = Vec::new(); + let mut from = 0; + while let Some(i) = xml[from..].find(&open).map(|i| from + i) { + from = i + open.len(); + let Some(next) = xml[from..].chars().next() else { break }; + if !(next.is_whitespace() || next == '/' || next == '>') { + continue; + } + let Some(end) = xml[from..].find('>') else { break }; + let t = &xml[from..from + end]; + // attribute must start at a whitespace boundary ("Name=" but not "DisplayName=") + let mut pos = 0; + while let Some(k) = t[pos..].find(&key).map(|k| pos + k) { + if k == 0 || t[..k].ends_with(char::is_whitespace) { + let a = k + key.len(); + if let Some(b) = t[a..].find('"') { + out.push(t[a..a + b].to_string()); + } + break; + } + pos = k + key.len(); + } + } + out +} + +fn xml_attr(xml: &str, tag: &str, attr: &str) -> Option<String> { + xml_attrs(xml, tag, attr).into_iter().next() +} + +/// (executables, title) from MicrosoftGame.config if present. +pub fn read_game_config(root: &Path) -> (Vec<String>, Option<String>) { + let p = root.join("MicrosoftGame.config"); + let Ok(xml) = std::fs::read_to_string(p) else { return (Vec::new(), None) }; + (xml_attrs(&xml, "Executable", "Name"), xml_attr(&xml, "Identity", "Name")) +} + +/// `xcl.exe` itself (by name, path or identical bytes) must never be picked as the game. +fn is_xcl_copy(p: &Path) -> bool { + if p.file_name().map(|n| n.to_string_lossy().eq_ignore_ascii_case("xcl.exe")).unwrap_or(false) { + return true; + } + let Ok(me) = std::env::current_exe() else { return false }; + if std::fs::canonicalize(p).ok() == std::fs::canonicalize(&me).ok() { + return true; + } + match (std::fs::metadata(p), std::fs::metadata(&me)) { + (Ok(a), Ok(b)) if a.len() == b.len() => std::fs::read(p).ok() == std::fs::read(&me).ok(), + _ => false, + } +} + +fn is_exe(p: &Path) -> bool { + p.is_file() && p.extension().map(|x| x.eq_ignore_ascii_case("exe")).unwrap_or(false) +} + +/// Executables in `dir` and its subfolders (up to `depth` levels), excluding XCL itself. +fn find_exes(dir: &Path, depth: u32, skipped_self: &mut bool) -> Vec<PathBuf> { + let mut out = Vec::new(); + let Ok(rd) = std::fs::read_dir(dir) else { return out }; + let mut entries: Vec<PathBuf> = rd.flatten().map(|e| e.path()).collect(); + entries.sort(); + for p in entries { + if p.is_dir() && depth > 0 { + out.extend(find_exes(&p, depth - 1, skipped_self)); + } else if is_exe(&p) { + if is_xcl_copy(&p) { + *skipped_self = true; + } else { + out.push(p); + } + } + } + out +} + +fn pick_exe(root: &Path) -> Result<PathBuf, String> { + let (cfg_exes, _) = read_game_config(root); + if !cfg_exes.is_empty() { + for e in &cfg_exes { + let p = root.join(e); + if is_exe(&p) && !is_xcl_copy(&p) { + return Ok(p); + } + } + return Err(format!( + "MicrosoftGame.config wskazuje {}, ale takiego pliku nie ma w {}", + cfg_exes.join(", "), + root.display() + )); + } + let mut skipped_self = false; + let rel = |p: &PathBuf| p.strip_prefix(root).unwrap_or(p).display().to_string(); + let top = find_exes(root, 0, &mut skipped_self); + let candidates = if top.is_empty() { find_exes(root, 2, &mut skipped_self) } else { top }; + match candidates.len() { + 1 => Ok(candidates.into_iter().next().unwrap()), + 0 => Err(format!( + "w {} nie ma pliku .exe gry{}", + root.display(), + if skipped_self { " (jest tylko xcl.exe – czyli sam XCL; nie kopiuj go do folderu gry)" } else { "" } + )), + _ => Err(format!( + "kilka plików .exe ({}) – wskaż exe gry bezpośrednio albo ustaw 'exe' w xcl.toml", + candidates.iter().map(rel).collect::<Vec<_>>().join(", ") + )), + } +} + +fn sanitize(s: &str) -> String { + let t: String = s.chars().map(|c| if c.is_alphanumeric() || "._-".contains(c) { c } else { '_' }).collect(); + if t.is_empty() { + "title".into() + } else { + t + } +} + +pub fn resolve_target(target: &Path) -> Result<(PathBuf, PathBuf, String), String> { + let target = std::fs::canonicalize(target).map_err(|e| format!("{}: {e}", target.display()))?; + let target = PathBuf::from(target.to_string_lossy().trim_start_matches("\\\\?\\")); + let (root, exe) = if target.is_dir() { + (target.clone(), pick_exe(&target)?) + } else { + if is_xcl_copy(&target) { + return Err(format!("{} to sam XCL, nie gra – podaj exe albo folder gry", target.display())); + } + (target.parent().ok_or("brak folderu nadrzędnego")?.to_path_buf(), target.clone()) + }; + let (_, identity) = read_game_config(&root); + let title = sanitize(&identity.unwrap_or_else(|| root.file_name().map(|n| n.to_string_lossy().into_owned()).unwrap_or_default())); + Ok((root, exe, title)) +} + +fn quote(a: &str) -> String { + if !a.is_empty() && !a.contains([' ', '\t', '"']) { + return a.to_string(); + } + let mut s = String::from("\""); + let mut bs = 0; + for c in a.chars() { + match c { + '\\' => bs += 1, + '"' => { + s.push_str(&"\\".repeat(bs * 2 + 1)); + s.push('"'); + bs = 0; + } + _ => { + s.push_str(&"\\".repeat(bs)); + bs = 0; + s.push(c); + } + } + } + s.push_str(&"\\".repeat(bs * 2)); + s.push('"'); + s +} + +pub fn run(target: &Path, args: &[String]) -> i32 { + let (root, exe, title) = match resolve_target(target) { + Ok(x) => x, + Err(e) => { + eprintln!("xcl: {e}"); + return 2; + } + }; + let data_dir = data_root().join(&title); + for d in ["logs", "cache", "overlay", "saves", "pls", "temp"] { + let _ = std::fs::create_dir_all(data_dir.join(d)); + } + let mut config = match Config::load_or_create(&data_dir.join("xcl.toml")) { + Ok(c) => c, + Err(e) => { + eprintln!("xcl: błąd w xcl.toml: {e}"); + return 2; + } + }; + let exe = if !config.exe.is_empty() && root.join(&config.exe).is_file() { root.join(&config.exe) } else { exe }; + config.exe = exe.file_name().map(|n| n.to_string_lossy().into_owned()).unwrap_or_default(); + crate::tls::cleanup_cache(&data_dir.join("cache")); + let boot = Boot { title: title.clone(), exe_path: exe.clone(), game_root: root.clone(), data_dir: data_dir.clone(), config }; + let boot_path = data_dir.join("cache").join("boot.json"); + if let Err(e) = std::fs::write(&boot_path, serde_json::to_string_pretty(&boot).unwrap()) { + eprintln!("xcl: zapis {}: {e}", boot_path.display()); + return 2; + } + let _ = std::fs::remove_file(boot.report_path()); + + println!("XCL {} – uruchamiam '{title}'", env!("CARGO_PKG_VERSION")); + println!(" exe: {}", exe.display()); + println!(" dane: {}", data_dir.display()); + match crate::inspect::console_imports(&exe) { + Some(c) if c.is_empty() => println!( + " UWAGA: ten plik nie importuje żadnej biblioteki konsoli (kernelx / xgameruntime / d3d12_xs) –\n to raczej zwykły program Windows, a nie gra z Xbox Series." + ), + Some(c) => println!(" konsola: importuje {}", c.join(", ")), + None => println!(" UWAGA: to nie jest poprawny plik PE x64 (zaszyfrowany? z paczki XVC?)"), + } + + let mut cmdline = quote(&exe.to_string_lossy()); + for a in args { + cmdline.push(' '); + cmdline.push_str("e(a)); + } + let code = match spawn_host(&cmdline, &root, &boot_path) { + Ok(c) => c, + Err(e) => { + eprintln!("xcl: nie udało się uruchomić procesu gry: {e}"); + return 2; + } + }; + summarize(&boot, code); + code as i32 +} + +fn spawn_host(cmdline: &str, cwd: &Path, boot_path: &Path) -> Result<u32, String> { + use windows_sys::Win32::Foundation::{CloseHandle, GetLastError}; + use windows_sys::Win32::System::Threading::{ + CreateProcessW, GetExitCodeProcess, WaitForSingleObject, INFINITE, PROCESS_INFORMATION, STARTUPINFOW, + }; + let me = std::env::current_exe().map_err(|e| e.to_string())?; + std::env::set_var("XCL_HOST", boot_path); + let app = wide(&me.to_string_lossy()); + let mut cmd = wide(cmdline); + let dir = wide(&cwd.to_string_lossy()); + unsafe { + let mut si: STARTUPINFOW = std::mem::zeroed(); + si.cb = std::mem::size_of::<STARTUPINFOW>() as u32; + let mut pi: PROCESS_INFORMATION = std::mem::zeroed(); + let ok = CreateProcessW( + app.as_ptr(), + cmd.as_mut_ptr(), + std::ptr::null(), + std::ptr::null(), + 1, + 0, + std::ptr::null(), + dir.as_ptr(), + &si, + &mut pi, + ); + std::env::remove_var("XCL_HOST"); + if ok == 0 { + return Err(format!("CreateProcessW: błąd {}", GetLastError())); + } + WaitForSingleObject(pi.hProcess, INFINITE); + let mut code = 0u32; + GetExitCodeProcess(pi.hProcess, &mut code); + CloseHandle(pi.hThread); + CloseHandle(pi.hProcess); + Ok(code) + } +} + +fn summarize(boot: &Boot, code: u32) { + let path = boot.report_path(); + let mut report = crate::report::load(&path); + if let Some(r) = report.as_mut() { + r.exit_code = Some(code as i64); + let _ = std::fs::write(&path, serde_json::to_string_pretty(r).unwrap_or_default()); + } + println!(); + println!("Gra zakończyła się kodem {code:#x} ({code})"); + let Some(r) = report else { + println!("Brak raportu – zobacz log: {}", boot.logs_dir().join("xcl.log").display()); + return; + }; + if let Some(c) = &r.crash { + println!("CRASH: {c}"); + } + let total: usize = r.imports_by_source.values().sum(); + println!("Importy: {total} ({})", r.imports_by_source.iter().map(|(k, v)| format!("{k}: {v}")).collect::<Vec<_>>().join(", ")); + if !r.called_stubs.is_empty() { + println!("Wywołane niezaimplementowane funkcje ({}):", r.called_stubs.len()); + for s in r.called_stubs.iter().take(15) { + println!(" {:>8}× {}!{} (pierwsze wywołanie: {})", s.calls, s.dll, s.function, s.first_caller); + } + } + if !r.vfs.unmapped_paths.is_empty() { + println!("Niezmapowane ścieżki konsolowe: {}", r.vfs.unmapped_paths.len()); + for p in r.vfs.unmapped_paths.iter().take(5) { + println!(" {p}"); + } + } + if !r.vfs.redirected_writes.is_empty() { + println!("Zapisy do plików gry przekierowane do nakładki: {}", r.vfs.redirected_writes.len()); + } + println!("Raport: {}", path.display()); + println!("Log: {}", boot.logs_dir().join("xcl.log").display()); +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn microsoft_game_config_parsing() { + let xml = r#"<?xml version="1.0"?><Game configVersion="1"><Identity Name="Contoso.Game" Publisher="CN=X" Version="1.0.0.0"/> + <ExecutableList><Executable Name="game_scarlett.exe" TargetDeviceFamily="Scarlett" Id="Game"/></ExecutableList></Game>"#; + assert_eq!(xml_attr(xml, "Identity", "Name").as_deref(), Some("Contoso.Game")); + assert_eq!(xml_attr(xml, "Executable", "Name").as_deref(), Some("game_scarlett.exe")); + } + + #[test] + fn several_executables_in_config() { + let xml = r#"<ExecutableList><Executable Name="Bin\game.exe" Id="Game"/><Executable Name="tool.exe" Id="T"/></ExecutableList> + <ShellVisuals DefaultDisplayName="X" Name="no"/>"#; + assert_eq!(xml_attrs(xml, "Executable", "Name"), vec!["Bin\\game.exe".to_string(), "tool.exe".to_string()]); + assert_eq!(xml_attr(xml, "ShellVisuals", "Name").as_deref(), Some("no"), "DisplayName= must not match Name="); + } + + struct TempDir(PathBuf); + impl TempDir { + fn new(tag: &str) -> TempDir { + let p = std::env::temp_dir().join(format!("xcl_launcher_{tag}_{}", std::process::id())); + let _ = std::fs::remove_dir_all(&p); + std::fs::create_dir_all(&p).unwrap(); + TempDir(p) + } + } + impl Drop for TempDir { + fn drop(&mut self) { + let _ = std::fs::remove_dir_all(&self.0); + } + } + + #[test] + fn never_picks_xcl_itself() { + let d = TempDir::new("self"); + let me = std::env::current_exe().unwrap(); + std::fs::copy(&me, d.0.join("xcl.exe")).unwrap(); + std::fs::copy(&me, d.0.join("renamed_copy.exe")).unwrap(); // byte-identical copy of XCL + let e = resolve_target(&d.0).unwrap_err(); + assert!(e.contains("xcl.exe") && e.contains("sam XCL"), "{e}"); + assert!(resolve_target(&d.0.join("xcl.exe")).unwrap_err().contains("sam XCL")); + // a real game exe next to it wins + std::fs::write(d.0.join("game.exe"), b"MZ not really a game").unwrap(); + let (_, exe, _) = resolve_target(&d.0).unwrap(); + assert_eq!(exe.file_name().unwrap(), "game.exe"); + } + + #[test] + fn finds_exe_in_subfolder_and_via_config() { + let d = TempDir::new("sub"); + std::fs::create_dir_all(d.0.join("Bin")).unwrap(); + std::fs::write(d.0.join("Bin").join("game.exe"), b"MZ").unwrap(); + let (_, exe, _) = resolve_target(&d.0).unwrap(); + assert!(exe.ends_with("Bin\\game.exe"), "{exe:?}"); + std::fs::write( + d.0.join("MicrosoftGame.config"), + r#"<Game><Identity Name="Contoso.Test"/><ExecutableList><Executable Name="Bin\missing.exe"/></ExecutableList></Game>"#, + ) + .unwrap(); + let e = resolve_target(&d.0).unwrap_err(); + assert!(e.contains("missing.exe"), "{e}"); + } + + #[test] + fn console_detection() { + // a plain Windows binary imports no console DLLs + let me = std::env::current_exe().unwrap(); + assert_eq!(crate::inspect::console_imports(&me), Some(vec![])); + let sys = std::path::PathBuf::from(std::env::var("SystemRoot").unwrap_or("C:\\Windows".into())).join("System32\\notepad.exe"); + assert_eq!(crate::inspect::console_imports(&sys), Some(vec![])); + let d = TempDir::new("pe"); + std::fs::write(d.0.join("junk.exe"), b"not a PE").unwrap(); + assert_eq!(crate::inspect::console_imports(&d.0.join("junk.exe")), None); + } + + #[test] + fn command_line_quoting() { + assert_eq!(quote("plain"), "plain"); + assert_eq!(quote("C:\\Games\\My Game\\a.exe"), "\"C:\\Games\\My Game\\a.exe\""); + assert_eq!(quote("say \"hi\""), "\"say \\\"hi\\\"\""); + assert_eq!(quote(""), "\"\""); + } +} diff --git a/crates/xcl/src/lib.rs b/crates/xcl/src/lib.rs new file mode 100644 index 0000000..cb373e4 --- /dev/null +++ b/crates/xcl/src/lib.rs @@ -0,0 +1,31 @@ +//! XCL — Xbox Series X|S → Windows compatibility layer. +//! +//! See `docs/specs/2026-11-20-xcl-design.md` for the design. + +// Function → address casts are the whole point of an import resolver. +#![allow(function_casts_as_integer)] + +#[macro_use] +pub mod log; +pub mod config; +pub mod disasm; +pub mod eh; +pub mod gpu; +pub mod hle; +pub mod hooks; +pub mod host; +pub mod inspect; +pub mod launcher; +pub mod loader; +pub mod modules; +pub mod pe; +pub mod report; +pub mod resolver; +pub mod rpf; +pub mod shaders; +pub mod state; +pub mod stubs; +pub mod tls; +pub mod util; +pub mod vfs; +pub mod vfs_hooks; diff --git a/crates/xcl/src/loader.rs b/crates/xcl/src/loader.rs new file mode 100644 index 0000000..edabf96 --- /dev/null +++ b/crates/xcl/src/loader.rs @@ -0,0 +1,390 @@ +//! The XCL PE loader: maps console executables/DLLs into the current process and wires +//! them to HLE modules, game DLLs and real Windows DLLs (design §5.1). + +use std::ffi::c_void; +use std::path::{Path, PathBuf}; +use std::sync::atomic::{AtomicBool, Ordering}; +use std::sync::{Arc, Mutex, OnceLock}; + +use windows_sys::Win32::System::Memory::{ + VirtualAlloc, VirtualFree, VirtualProtect, MEM_COMMIT, MEM_RELEASE, MEM_RESERVE, PAGE_EXECUTE, + PAGE_EXECUTE_READ, PAGE_EXECUTE_READWRITE, PAGE_NOACCESS, PAGE_READONLY, PAGE_READWRITE, +}; + +use crate::modules::{self, MappedModule}; +use crate::pe::{self, Layout, OwnedExports, Pe}; +use crate::resolver; + +static CACHE_DIR: OnceLock<PathBuf> = OnceLock::new(); +/// Serialises loads so that two threads calling LoadLibrary on the same game DLL do not +/// map it twice. Re-entrant loads (import resolution mapping dependencies) happen on the +/// same thread, so a re-entrant flag is used instead of holding the mutex across them. +static LOAD_LOCK: Mutex<()> = Mutex::new(()); +thread_local! { + static IN_LOAD: std::cell::Cell<u32> = const { std::cell::Cell::new(0) }; +} +/// Set once the main image is ready; thread notifications are ignored before that. +static READY: AtomicBool = AtomicBool::new(false); + +pub fn set_cache_dir(p: PathBuf) { + let _ = CACHE_DIR.set(p); +} + +fn cache_dir() -> PathBuf { + CACHE_DIR + .get() + .cloned() + .unwrap_or_else(|| std::env::temp_dir().join("xcl_cache")) +} + +fn section_protection(ch: u32) -> u32 { + let x = ch & pe::SCN_MEM_EXECUTE != 0; + let r = ch & pe::SCN_MEM_READ != 0; + let w = ch & pe::SCN_MEM_WRITE != 0; + match (x, r, w) { + (true, _, true) => PAGE_EXECUTE_READWRITE, + (true, true, false) => PAGE_EXECUTE_READ, + (true, false, false) => PAGE_EXECUTE, + (false, _, true) => PAGE_READWRITE, + (false, true, false) => PAGE_READONLY, + (false, false, false) => PAGE_NOACCESS, + } +} + +type TlsCallback = unsafe extern "system" fn(*mut c_void, u32, *mut c_void); +type DllMain = unsafe extern "system" fn(*mut c_void, u32, *mut c_void) -> i32; +type ExeEntry = unsafe extern "system" fn(*mut c_void) -> u32; + +/// Map an image, apply relocations, resolve imports, set up TLS / exception data and +/// page protections. Does NOT run any code of the image. +pub fn map_image(path: &Path) -> Result<Arc<MappedModule>, String> { + map_image_ex(path, false) +} + +fn map_image_ex(path: &Path, is_main: bool) -> Result<Arc<MappedModule>, String> { + let file = std::fs::read(path).map_err(|e| format!("odczyt {}: {e}", path.display()))?; + let pe = Pe::parse(&file, Layout::File).map_err(|e| format!("{}: {e}", path.display()))?; + let name = crate::util::dll_key(&path.file_name().map(|s| s.to_string_lossy().into_owned()).unwrap_or_default()); + let size = pe.size_of_image as usize; + + // 1. reserve + commit + let mut base = unsafe { + VirtualAlloc(pe.image_base as *const c_void, size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE) + } as usize; + if base == 0 { + if !pe.has_relocs() { + return Err(format!( + "{name}: preferowany adres {:#x} zajęty, a obraz nie ma relokacji", + pe.image_base + )); + } + base = unsafe { VirtualAlloc(std::ptr::null(), size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE) } as usize; + if base == 0 { + return Err(format!("{name}: VirtualAlloc({size:#x}) nie powiodło się")); + } + } + let delta = base as i64 - pe.image_base as i64; + let fail = |msg: String| { + unsafe { VirtualFree(base as *mut c_void, 0, MEM_RELEASE) }; + Err(msg) + }; + + // 2. headers + sections + unsafe { + let hdr = (pe.size_of_headers as usize).min(file.len()).min(size); + std::ptr::copy_nonoverlapping(file.as_ptr(), base as *mut u8, hdr); + for s in &pe.sections { + let raw = (s.raw_size as usize).min(s.mapped_size() as usize); + if raw == 0 { + continue; + } + let src = s.raw_ptr as usize; + if src + raw > file.len() || s.va as usize + raw > size { + return fail(format!("{name}: sekcja {} poza plikiem/obrazem", s.name)); + } + std::ptr::copy_nonoverlapping(file.as_ptr().add(src), (base + s.va as usize) as *mut u8, raw); + } + } + + // 3. relocations + if delta != 0 { + let relocs = match pe.relocations() { + Ok(r) => r, + Err(e) => return fail(format!("{name}: relokacje: {e}")), + }; + for r in relocs { + let p = base + r.rva as usize; + unsafe { + match r.kind { + pe::IMAGE_REL_BASED_DIR64 => { + let v = (p as *mut u64).read_unaligned(); + (p as *mut u64).write_unaligned((v as i64 + delta) as u64); + } + pe::IMAGE_REL_BASED_HIGHLOW => { + let v = (p as *mut u32).read_unaligned(); + (p as *mut u32).write_unaligned((v as i64 + delta) as u32); + } + k => crate::xlog_warn!("{name}: nieobsługiwany typ relokacji {k} @ {:#x}", r.rva), + } + } + } + } + + let exports = OwnedExports::from_pe(&pe).unwrap_or_default(); + let module = Arc::new(MappedModule { + name: name.clone(), + path: path.to_path_buf(), + base, + size, + entry_rva: pe.entry_rva, + is_dll: pe.is_dll(), + exports, + tls_callbacks: Mutex::new(Vec::new()), + no_thread_calls: AtomicBool::new(false), + initialized: AtomicBool::new(false), + stack_reserve: pe.stack_reserve, + }); + // registered before import resolution so cyclic game-DLL imports terminate + modules::register_mapped(module.clone()); + if is_main { + // game DLLs initialised during import resolution may already ask for + // GetModuleHandle(NULL) / GetModuleFileName(NULL) + modules::set_main(module.clone()); + } + crate::xlog_info!( + "załadowano {name} @ {base:#x} (rozmiar {size:#x}, preferowany {:#x}{})", + pe.image_base, + if delta != 0 { ", relokowany" } else { "" } + ); + + // 4. imports (normal + delay-load, resolved eagerly) + let mut all = match pe.imports() { + Ok(v) => v, + Err(e) => return fail(format!("{name}: tablica importów: {e}")), + }; + match pe.delay_imports() { + Ok(v) => all.extend(v), + Err(e) => crate::xlog_warn!("{name}: delay-imports: {e}"), + } + for dll in &all { + for e in &dll.entries { + let addr = resolver::resolve_import(&dll.dll, &e.what, &name, dll.delay); + unsafe { ((base + e.iat_rva as usize) as *mut u64).write_unaligned(addr as u64) }; + } + if dll.delay && dll.module_handle_rva != 0 { + let h = resolver::load_library(&dll.dll).unwrap_or(1); + unsafe { ((base + dll.module_handle_rva as usize) as *mut u64).write_unaligned(h as u64) }; + } + } + + // 5. static TLS + if let Ok(Some(t)) = pe.tls() { + let adj = |va: u64| (va as i64 + delta) as usize; + let template = adj(t.start_raw); + let template_len = t.template_len() as usize; + let index_ptr = adj(t.address_of_index) as *mut u32; + unsafe { + tls_install(&module, template, template_len, t.total_len(), index_ptr)?; + if t.address_of_callbacks != 0 { + let mut cb = adj(t.address_of_callbacks) as *const u64; + let mut list = module.tls_callbacks.lock().unwrap(); + while *cb != 0 { + list.push(*cb as usize); + cb = cb.add(1); + } + } + } + } + + // 6. page protections + unsafe { + let mut old = 0u32; + VirtualProtect(base as *const c_void, pe.size_of_headers as usize, PAGE_READONLY, &mut old); + for s in &pe.sections { + let len = ((s.mapped_size() as usize) + 0xFFF) & !0xFFF; + if len == 0 { + continue; + } + VirtualProtect((base + s.va as usize) as *const c_void, len, section_protection(s.characteristics), &mut old); + } + windows_sys::Win32::System::Diagnostics::Debug::FlushInstructionCache( + windows_sys::Win32::System::Threading::GetCurrentProcess(), + base as *const c_void, + size, + ); + } + + // 7. exception data + let ex = pe.dir(pe::DIR_EXCEPTION); + if ex.rva != 0 && ex.size != 0 { + crate::eh::register_function_table(base, ex.rva, ex.size); + } + Ok(module) +} + +unsafe fn tls_install(m: &MappedModule, template: usize, len: usize, total: u64, index_ptr: *mut u32) -> Result<(), String> { + crate::tls::install(&m.name, template, len, total, index_ptr, &cache_dir()).map(|_| ()) +} + +unsafe fn run_tls_callbacks(m: &MappedModule, reason: u32) { + let cbs = m.tls_callbacks.lock().map(|v| v.clone()).unwrap_or_default(); + for cb in cbs { + let f: TlsCallback = std::mem::transmute(cb); + f(m.base as *mut c_void, reason, std::ptr::null_mut()); + } +} + +/// Run TLS callbacks (PROCESS_ATTACH) and DllMain of a freshly mapped DLL. +pub fn init_dll(m: &Arc<MappedModule>) -> Result<(), String> { + unsafe { + run_tls_callbacks(m, 1); + if m.entry_rva != 0 { + let f: DllMain = std::mem::transmute(m.base + m.entry_rva as usize); + crate::xlog_info!("DllMain({}, PROCESS_ATTACH)", m.name); + if f(m.base as *mut c_void, 1, std::ptr::null_mut()) == 0 { + return Err(format!("DllMain({}) zwrócił FALSE", m.name)); + } + } + } + m.initialized.store(true, Ordering::Release); + Ok(()) +} + +struct LoadGuard; +impl LoadGuard { + fn enter() -> (LoadGuard, Option<std::sync::MutexGuard<'static, ()>>) { + let outer = IN_LOAD.with(|c| { + let v = c.get(); + c.set(v + 1); + v == 0 + }); + let g = if outer { Some(LOAD_LOCK.lock().unwrap_or_else(|e| e.into_inner())) } else { None }; + (LoadGuard, g) + } +} +impl Drop for LoadGuard { + fn drop(&mut self) { + IN_LOAD.with(|c| c.set(c.get().saturating_sub(1))); + } +} + +/// Map + initialise a DLL that ships with the game (idempotent). +pub fn load_game_dll(path: &Path) -> Result<Arc<MappedModule>, String> { + let key = crate::util::dll_key(&path.to_string_lossy()); + let (_g, _lock) = LoadGuard::enter(); + if let Some(m) = modules::find_mapped_by_name(&key) { + return Ok(m); + } + let m = map_image(path)?; + if !m.is_dll { + crate::xlog_warn!("{key} nie jest DLL, a jest ładowany jako biblioteka"); + } + init_dll(&m)?; + Ok(m) +} + +/// Map the title's main executable. +pub fn load_main(path: &Path) -> Result<Arc<MappedModule>, String> { + let (_g, _lock) = LoadGuard::enter(); + map_image_ex(path, true) +} + +#[inline(always)] +unsafe fn peb() -> *mut u8 { + let p: *mut u8; + core::arch::asm!("mov {}, gs:[0x60]", out(reg) p, options(nostack, readonly, preserves_flags)); + p +} + +struct EntryArgs { + entry: usize, +} + +unsafe extern "system" fn main_thread(param: *mut c_void) -> u32 { + let args = Box::from_raw(param as *mut EntryArgs); + let f: ExeEntry = std::mem::transmute(args.entry); + f(peb() as *mut c_void) +} + +/// Make the game the "main image" of the process and run its entry point on a thread +/// with the stack size its PE header asks for. Usually never returns (the game calls +/// ExitProcess); if the entry returns, its value is returned. +pub fn run_main(m: &Arc<MappedModule>) -> u32 { + use windows_sys::Win32::Foundation::{CloseHandle, WAIT_OBJECT_0}; + use windows_sys::Win32::System::Threading::{ + CreateThread, GetExitCodeThread, WaitForSingleObject, INFINITE, STACK_SIZE_PARAM_IS_A_RESERVATION, + }; + unsafe { + // PEB.ImageBaseAddress → GetModuleHandle(NULL), resources with NULL module, … + *(peb().add(0x10) as *mut usize) = m.base; + run_tls_callbacks(m, 1); + } + READY.store(true, Ordering::Release); + let stack = (m.stack_reserve as usize).max(1 << 20); + let args = Box::into_raw(Box::new(EntryArgs { entry: m.base + m.entry_rva as usize })); + crate::xlog_info!( + "start {}: punkt wejścia {} , stos {:#x}", + m.name, + modules::describe_address(m.base + m.entry_rva as usize), + stack + ); + crate::log::flush(); + unsafe { + let h = CreateThread( + std::ptr::null(), + stack, + Some(main_thread), + args as *const c_void, + STACK_SIZE_PARAM_IS_A_RESERVATION, + std::ptr::null_mut(), + ); + if h.is_null() { + crate::xlog_error!("CreateThread dla wątku gry nie powiodło się"); + return 0xC000_0001; + } + let mut code = 0u32; + if WaitForSingleObject(h, INFINITE) == WAIT_OBJECT_0 { + GetExitCodeThread(h, &mut code); + } + CloseHandle(h); + code + } +} + +/// Called from xcl.exe's own TLS callback for every thread event in the process. +pub fn on_tls_event(reason: u32) { + match reason { + 2 => unsafe { + // DLL_THREAD_ATTACH: game TLS blocks first, then game callbacks/DllMains. + crate::tls::on_thread_attach(); + if !READY.load(Ordering::Acquire) { + return; + } + for m in modules::mapped_modules() { + run_tls_callbacks(&m, 2); + if m.is_dll && m.initialized.load(Ordering::Acquire) && !m.no_thread_calls.load(Ordering::Relaxed) && m.entry_rva != 0 { + let f: DllMain = std::mem::transmute(m.base + m.entry_rva as usize); + f(m.base as *mut c_void, 2, std::ptr::null_mut()); + } + } + }, + 3 => unsafe { + if !READY.load(Ordering::Acquire) { + return; + } + for m in modules::mapped_modules().into_iter().rev() { + if m.is_dll && m.initialized.load(Ordering::Acquire) && !m.no_thread_calls.load(Ordering::Relaxed) && m.entry_rva != 0 { + let f: DllMain = std::mem::transmute(m.base + m.entry_rva as usize); + f(m.base as *mut c_void, 3, std::ptr::null_mut()); + } + run_tls_callbacks(&m, 3); + } + }, + 0 => { + // DLL_PROCESS_DETACH (ExitProcess): write the report while everything is alive. + crate::report::write_final(None); + crate::log::flush(); + } + _ => {} + } +} diff --git a/crates/xcl/src/log.rs b/crates/xcl/src/log.rs new file mode 100644 index 0000000..db3e0c4 --- /dev/null +++ b/crates/xcl/src/log.rs @@ -0,0 +1,104 @@ +//! Process-wide logger. The file handle is opened once at startup (before any file +//! hooks are installed) so logging never re-enters the VFS. + +use std::fs::File; +use std::io::Write; +use std::path::Path; +use std::sync::atomic::{AtomicBool, AtomicU8, Ordering}; +use std::sync::{Mutex, OnceLock}; +use std::time::Instant; + +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] +#[repr(u8)] +pub enum Level { + Error = 0, + Warn = 1, + Info = 2, + Debug = 3, + Trace = 4, +} + +impl Level { + pub fn parse(s: &str) -> Level { + match s.to_ascii_lowercase().as_str() { + "error" => Level::Error, + "warn" | "warning" => Level::Warn, + "debug" => Level::Debug, + "trace" => Level::Trace, + _ => Level::Info, + } + } + fn tag(self) -> &'static str { + match self { + Level::Error => "ERROR", + Level::Warn => "WARN ", + Level::Info => "INFO ", + Level::Debug => "DEBUG", + Level::Trace => "TRACE", + } + } +} + +static FILE: Mutex<Option<File>> = Mutex::new(None); +static LEVEL: AtomicU8 = AtomicU8::new(Level::Info as u8); +static ECHO: AtomicBool = AtomicBool::new(true); +static START: OnceLock<Instant> = OnceLock::new(); + +pub fn init(path: Option<&Path>, level: Level, echo_stderr: bool) { + START.get_or_init(Instant::now); + LEVEL.store(level as u8, Ordering::Relaxed); + ECHO.store(echo_stderr, Ordering::Relaxed); + if let Some(p) = path { + if let Some(dir) = p.parent() { + let _ = std::fs::create_dir_all(dir); + } + if let Ok(f) = File::create(p) { + if let Ok(mut g) = FILE.lock() { + *g = Some(f); + } + } + } +} + +pub fn enabled(level: Level) -> bool { + level as u8 <= LEVEL.load(Ordering::Relaxed) +} + +pub fn write(level: Level, args: std::fmt::Arguments<'_>) { + if !enabled(level) { + return; + } + let t = START.get_or_init(Instant::now).elapsed().as_secs_f64(); + let tid = unsafe { windows_sys::Win32::System::Threading::GetCurrentThreadId() }; + let line = format!("[{t:9.3}][{tid:5}][{}] {args}\n", level.tag()); + if let Ok(mut g) = FILE.try_lock().or_else(|_| FILE.lock()) { + if let Some(f) = g.as_mut() { + let _ = f.write_all(line.as_bytes()); + if level <= Level::Warn { + let _ = f.flush(); + } + } + } + if ECHO.load(Ordering::Relaxed) && level <= Level::Info { + let _ = std::io::stderr().write_all(format!("xcl: {args}\n").as_bytes()); + } +} + +pub fn flush() { + if let Ok(mut g) = FILE.lock() { + if let Some(f) = g.as_mut() { + let _ = f.flush(); + } + } +} + +#[macro_export] +macro_rules! xlog_error { ($($a:tt)*) => { $crate::log::write($crate::log::Level::Error, format_args!($($a)*)) } } +#[macro_export] +macro_rules! xlog_warn { ($($a:tt)*) => { $crate::log::write($crate::log::Level::Warn, format_args!($($a)*)) } } +#[macro_export] +macro_rules! xlog_info { ($($a:tt)*) => { $crate::log::write($crate::log::Level::Info, format_args!($($a)*)) } } +#[macro_export] +macro_rules! xlog_debug { ($($a:tt)*) => { if $crate::log::enabled($crate::log::Level::Debug) { $crate::log::write($crate::log::Level::Debug, format_args!($($a)*)) } } } +#[macro_export] +macro_rules! xlog_trace { ($($a:tt)*) => { if $crate::log::enabled($crate::log::Level::Trace) { $crate::log::write($crate::log::Level::Trace, format_args!($($a)*)) } } } diff --git a/crates/xcl/src/main.rs b/crates/xcl/src/main.rs new file mode 100644 index 0000000..f4a753d --- /dev/null +++ b/crates/xcl/src/main.rs @@ -0,0 +1,79 @@ +//! xcl.exe – command line front-end and (in host mode) the process the game runs in. + +use std::ffi::c_void; +use std::path::PathBuf; +use std::sync::atomic::Ordering; + +/// Our own TLS callback: ntdll calls it for every thread start/exit in the process. +/// In host mode it initialises the game's static TLS for the new thread and forwards +/// the notification to the game's TLS callbacks / DllMains. +unsafe extern "system" fn xcl_tls_callback(_h: *mut c_void, reason: u32, _r: *mut c_void) { + if xcl::host::HOST_MODE.load(Ordering::Acquire) { + xcl::loader::on_tls_event(reason); + } +} + +#[used] +#[link_section = ".CRT$XLY"] +static XCL_TLS_CALLBACK: unsafe extern "system" fn(*mut c_void, u32, *mut c_void) = xcl_tls_callback; + +const HELP: &str = "\ +XCL – warstwa zgodności Xbox Series X|S → Windows + +Użycie: + xcl run <folder gry | plik.exe> [-- argumenty gry] + Uruchamia grę. Folder gry jest tylko czytany; zapisy, zapisy gry i logi trafiają do + %LOCALAPPDATA%\\XCL\\<tytuł>\\ (lub %XCL_DATA_ROOT%\\<tytuł>\\). + xcl inspect <plik.exe|plik.dll> [--json] + Analiza bez uruchamiania: importy i co XCL dla nich ma (HLE / Windows / zaślepka). + xcl disasm <plik> [--offset N] [--length N] [--all] [--hex] [--fssm PLIK] + Dezasembler kodu GPU konsoli (RDNA2) – np. dla shaderów zapisanych w <dane>\\shaders\\. + Kontenery konsolowe (XDAT/XBCH/FSSM) są rozpakowywane; --fssm zapisuje rozpakowany FSSM. + xcl shaders <plik | folder | paczka.rpf> [--top N] [--json] [--recomp] [--compile N] + Statystyki korpusu shaderów: formaty, etapy, histogram instrukcji RDNA2 (priorytety + dla recompilera). Paczki RPF9 są skanowane w poszukiwaniu rekordów shaderów. + --recomp: tłumaczy wszystkie programy RDNA2 → HLSL i pokazuje, czego brakuje; + --compile N: dodatkowo kompiluje N pełnych tłumaczeń przez DXC. + xcl --version +"; + +fn main() { + // keep the TLS callback from being discarded by the linker + unsafe { std::ptr::read_volatile(&XCL_TLS_CALLBACK) }; + + if let Some(boot) = std::env::var_os("XCL_HOST") { + std::env::remove_var("XCL_HOST"); + std::process::exit(xcl::host::host_main(&PathBuf::from(boot))); + } + + let args: Vec<String> = std::env::args().skip(1).collect(); + let code = match args.first().map(String::as_str) { + Some("run") if args.len() >= 2 => { + let rest: Vec<String> = match args.iter().position(|a| a == "--") { + Some(i) => args[i + 1..].to_vec(), + None => args[2..].to_vec(), + }; + xcl::launcher::run(&PathBuf::from(&args[1]), &rest) + } + Some("inspect") if args.len() >= 2 => { + let json = args.iter().any(|a| a == "--json"); + xcl::inspect::run(&PathBuf::from(&args[1]), json) + } + Some("disasm") if args.len() >= 2 => xcl::disasm::run(&PathBuf::from(&args[1]), &args[2..]), + Some("shaders") if args.len() >= 2 => xcl::shaders::run(&PathBuf::from(&args[1]), &args[2..]), + Some("rpf") if args.len() >= 2 => xcl::rpf::run(&PathBuf::from(&args[1]), &args[2..]), + Some("--version") | Some("-V") => { + println!("xcl {}", env!("CARGO_PKG_VERSION")); + 0 + } + _ => { + print!("{HELP}"); + if args.is_empty() || args[0] == "--help" || args[0] == "-h" { + 0 + } else { + 2 + } + } + }; + std::process::exit(code); +} diff --git a/crates/xcl/src/modules.rs b/crates/xcl/src/modules.rs new file mode 100644 index 0000000..fd106b0 --- /dev/null +++ b/crates/xcl/src/modules.rs @@ -0,0 +1,152 @@ +//! Process-wide table of modules XCL knows about: +//! * images mapped by the XCL loader (game exe + game-shipped DLLs), +//! * pseudo handles for HLE modules (`kernelx.dll` & co. have no real image). +//! +//! Address → module lookups used from exception dispatch (`RtlPcToFileHeader` hook) go +//! through a lock-free fixed array so they can never deadlock. + +use std::collections::HashMap; +use std::path::PathBuf; +use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; +use std::sync::{Arc, Mutex, RwLock}; + +use crate::pe::OwnedExports; + +pub struct MappedModule { + /// Lower-case file name, e.g. "game.exe". + pub name: String, + pub path: PathBuf, + pub base: usize, + pub size: usize, + pub entry_rva: u32, + pub is_dll: bool, + pub exports: OwnedExports, + pub tls_callbacks: Mutex<Vec<usize>>, + /// DisableThreadLibraryCalls was called. + pub no_thread_calls: AtomicBool, + /// DllMain(PROCESS_ATTACH) has completed. + pub initialized: AtomicBool, + pub stack_reserve: u64, +} + +impl MappedModule { + pub fn contains(&self, addr: usize) -> bool { + addr >= self.base && addr < self.base + self.size + } +} + +static MAPPED: RwLock<Vec<Arc<MappedModule>>> = RwLock::new(Vec::new()); +static MAIN: RwLock<Option<Arc<MappedModule>>> = RwLock::new(None); + +const MAX_RANGES: usize = 512; +static RANGE_BASE: [AtomicUsize; MAX_RANGES] = [const { AtomicUsize::new(0) }; MAX_RANGES]; +static RANGE_SIZE: [AtomicUsize; MAX_RANGES] = [const { AtomicUsize::new(0) }; MAX_RANGES]; +static RANGE_COUNT: AtomicUsize = AtomicUsize::new(0); + +pub fn register_mapped(m: Arc<MappedModule>) { + let i = RANGE_COUNT.fetch_add(1, Ordering::AcqRel); + if i < MAX_RANGES { + RANGE_SIZE[i].store(m.size, Ordering::Release); + RANGE_BASE[i].store(m.base, Ordering::Release); + } + MAPPED.write().unwrap().push(m); +} + +/// Lock-free: base of the mapped image containing `addr`. +pub fn image_base_for_addr(addr: usize) -> Option<usize> { + let n = RANGE_COUNT.load(Ordering::Acquire).min(MAX_RANGES); + for i in 0..n { + let b = RANGE_BASE[i].load(Ordering::Acquire); + let s = RANGE_SIZE[i].load(Ordering::Acquire); + if b != 0 && addr >= b && addr < b + s { + return Some(b); + } + } + None +} + +pub fn mapped_modules() -> Vec<Arc<MappedModule>> { + MAPPED.read().map(|v| v.clone()).unwrap_or_default() +} + +pub fn find_mapped_by_name(name: &str) -> Option<Arc<MappedModule>> { + let key = crate::util::dll_key(name); + MAPPED.read().ok()?.iter().find(|m| m.name == key).cloned() +} + +pub fn find_mapped_by_base(base: usize) -> Option<Arc<MappedModule>> { + MAPPED.read().ok()?.iter().find(|m| m.base == base).cloned() +} + +pub fn find_mapped_by_addr(addr: usize) -> Option<Arc<MappedModule>> { + MAPPED.read().ok()?.iter().find(|m| m.contains(addr)).cloned() +} + +pub fn set_main(m: Arc<MappedModule>) { + *MAIN.write().unwrap() = Some(m); +} + +pub fn main_module() -> Option<Arc<MappedModule>> { + MAIN.read().ok()?.clone() +} + +// --------------------------------------------------------------------------------------- +// HLE pseudo handles +// --------------------------------------------------------------------------------------- + +static HLE_HANDLES: Mutex<Option<HashMap<String, usize>>> = Mutex::new(None); + +/// Stable fake HMODULE for an HLE module: a committed page starting with "MZ". +pub fn hle_handle(module_name: &str) -> usize { + use windows_sys::Win32::System::Memory::{VirtualAlloc, MEM_COMMIT, MEM_RESERVE, PAGE_READWRITE}; + let key = crate::util::dll_key(module_name); + let mut g = HLE_HANDLES.lock().unwrap(); + let map = g.get_or_insert_with(HashMap::new); + if let Some(&h) = map.get(&key) { + return h; + } + let p = unsafe { VirtualAlloc(std::ptr::null(), 0x1000, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE) } as *mut u8; + unsafe { + *p = b'M'; + *p.add(1) = b'Z'; + } + map.insert(key, p as usize); + p as usize +} + +pub fn hle_name_by_handle(h: usize) -> Option<String> { + let g = HLE_HANDLES.lock().ok()?; + g.as_ref()?.iter().find(|(_, &v)| v == h).map(|(k, _)| k.clone()) +} + +/// "game.exe+0x1234", "KERNELBASE.dll+0x5678" or "0x...". +pub fn describe_address(addr: usize) -> String { + if let Some(b) = image_base_for_addr(addr) { + if let Ok(g) = MAPPED.try_read() { + if let Some(m) = g.iter().find(|m| m.base == b) { + return format!("{}+{:#x}", m.name, addr - b); + } + } + return format!("{b:#x}+{:#x}", addr - b); + } + unsafe { + use windows_sys::Win32::System::LibraryLoader::{ + GetModuleFileNameW, GetModuleHandleExW, GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, + GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, + }; + let mut h = std::ptr::null_mut(); + if GetModuleHandleExW( + GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, + addr as *const u16, + &mut h, + ) != 0 + { + let mut buf = [0u16; 260]; + let n = GetModuleFileNameW(h, buf.as_mut_ptr(), 260) as usize; + let full = String::from_utf16_lossy(&buf[..n]); + let name = full.rsplit('\\').next().unwrap_or(&full).to_string(); + return format!("{name}+{:#x}", addr - h as usize); + } + } + format!("{addr:#x}") +} diff --git a/crates/xcl/src/pe.rs b/crates/xcl/src/pe.rs new file mode 100644 index 0000000..5f3d2df --- /dev/null +++ b/crates/xcl/src/pe.rs @@ -0,0 +1,614 @@ +//! Minimal, allocation-light PE32+ (x64) parser. +//! +//! Works on two layouts: +//! * `Layout::File` – raw bytes of a file on disk (RVA → file offset via section table), +//! * `Layout::Mapped` – an image already mapped in memory (RVA == offset). +//! +//! Everything is read with explicit little-endian accessors and bounds checks, so a +//! malformed file produces a `PeError` instead of undefined behaviour. + +use std::fmt; + +pub const IMAGE_FILE_MACHINE_AMD64: u16 = 0x8664; +pub const IMAGE_FILE_RELOCS_STRIPPED: u16 = 0x0001; +pub const IMAGE_FILE_DLL: u16 = 0x2000; + +pub const DIR_EXPORT: usize = 0; +pub const DIR_IMPORT: usize = 1; +pub const DIR_RESOURCE: usize = 2; +pub const DIR_EXCEPTION: usize = 3; +pub const DIR_BASERELOC: usize = 5; +pub const DIR_TLS: usize = 9; +pub const DIR_IAT: usize = 12; +pub const DIR_DELAY_IMPORT: usize = 13; + +pub const IMAGE_REL_BASED_ABSOLUTE: u16 = 0; +pub const IMAGE_REL_BASED_HIGHLOW: u16 = 3; +pub const IMAGE_REL_BASED_DIR64: u16 = 10; + +pub const SCN_MEM_EXECUTE: u32 = 0x2000_0000; +pub const SCN_MEM_READ: u32 = 0x4000_0000; +pub const SCN_MEM_WRITE: u32 = 0x8000_0000; + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum PeError { + Truncated(&'static str), + BadMagic(&'static str), + NotX64(u16), + BadRva(u32), +} + +impl fmt::Display for PeError { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match self { + PeError::Truncated(w) => write!(f, "plik obcięty/uszkodzony ({w})"), + PeError::BadMagic(w) => write!(f, "niepoprawny podpis {w} (to nie jest plik PE)"), + PeError::NotX64(m) => write!(f, "architektura 0x{m:04x} nie jest x64 (0x8664)"), + PeError::BadRva(r) => write!(f, "RVA 0x{r:x} poza obrazem"), + } + } +} + +impl std::error::Error for PeError {} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum Layout { + File, + Mapped, +} + +#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)] +pub struct DataDir { + pub rva: u32, + pub size: u32, +} + +#[derive(Debug, Clone)] +pub struct Section { + pub name: String, + pub va: u32, + pub vsize: u32, + pub raw_ptr: u32, + pub raw_size: u32, + pub characteristics: u32, +} + +impl Section { + /// Size the section occupies once mapped. + pub fn mapped_size(&self) -> u32 { + if self.vsize == 0 { + self.raw_size + } else { + self.vsize + } + } +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum ImportName { + Name { hint: u16, name: String }, + Ordinal(u16), +} + +impl fmt::Display for ImportName { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match self { + ImportName::Name { name, .. } => write!(f, "{name}"), + ImportName::Ordinal(o) => write!(f, "#{o}"), + } + } +} + +#[derive(Debug, Clone)] +pub struct ImportEntry { + /// RVA of the IAT slot that receives the resolved address. + pub iat_rva: u32, + pub what: ImportName, +} + +#[derive(Debug, Clone)] +pub struct ImportDll { + pub dll: String, + pub delay: bool, + pub entries: Vec<ImportEntry>, + /// Delay-load only: RVA of the HMODULE slot. + pub module_handle_rva: u32, +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct Reloc { + pub rva: u32, + pub kind: u16, +} + +/// IMAGE_TLS_DIRECTORY64 – all address fields are absolute VAs. +#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)] +pub struct TlsDir { + pub start_raw: u64, + pub end_raw: u64, + pub address_of_index: u64, + pub address_of_callbacks: u64, + pub size_of_zero_fill: u32, + pub characteristics: u32, +} + +impl TlsDir { + pub fn template_len(&self) -> u64 { + self.end_raw.saturating_sub(self.start_raw) + } + pub fn total_len(&self) -> u64 { + self.template_len() + self.size_of_zero_fill as u64 + } +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum ExportTarget { + Rva(u32), + Forwarder(String), +} + +#[derive(Debug, Clone, Default)] +pub struct Exports { + pub dll_name: String, + pub ordinal_base: u32, + /// Function RVAs, indexed by (ordinal - base). + pub functions: Vec<u32>, + /// (name, index into `functions`) + pub names: Vec<(String, u16)>, + pub dir: DataDir, +} + +impl Exports { + fn target(&self, rva: u32, fwd: Option<String>) -> Option<ExportTarget> { + if rva == 0 { + return None; + } + match fwd { + Some(s) => Some(ExportTarget::Forwarder(s)), + None => Some(ExportTarget::Rva(rva)), + } + } + + pub fn by_name_raw(&self, name: &str) -> Option<u32> { + // names are sorted in valid PE files, but be tolerant of unsorted tables + self.names + .iter() + .find(|(n, _)| n == name) + .and_then(|(_, idx)| self.functions.get(*idx as usize).copied()) + } + + pub fn by_ordinal_raw(&self, ordinal: u32) -> Option<u32> { + let idx = ordinal.checked_sub(self.ordinal_base)?; + self.functions.get(idx as usize).copied() + } + + pub fn is_forwarder_rva(&self, rva: u32) -> bool { + rva >= self.dir.rva && rva < self.dir.rva.saturating_add(self.dir.size) + } +} + +pub struct Pe<'a> { + data: &'a [u8], + layout: Layout, + pub machine: u16, + pub characteristics: u16, + pub image_base: u64, + pub size_of_image: u32, + pub size_of_headers: u32, + pub entry_rva: u32, + pub section_alignment: u32, + pub file_alignment: u32, + pub subsystem: u16, + pub dll_characteristics: u16, + pub stack_reserve: u64, + pub stack_commit: u64, + pub timestamp: u32, + pub sections: Vec<Section>, + pub dirs: [DataDir; 16], +} + +fn rd_u16(d: &[u8], off: usize) -> Option<u16> { + d.get(off..off + 2).map(|b| u16::from_le_bytes([b[0], b[1]])) +} +fn rd_u32(d: &[u8], off: usize) -> Option<u32> { + d.get(off..off + 4) + .map(|b| u32::from_le_bytes([b[0], b[1], b[2], b[3]])) +} +fn rd_u64(d: &[u8], off: usize) -> Option<u64> { + d.get(off..off + 8).map(|b| { + let mut a = [0u8; 8]; + a.copy_from_slice(b); + u64::from_le_bytes(a) + }) +} + +impl<'a> Pe<'a> { + pub fn parse(data: &'a [u8], layout: Layout) -> Result<Self, PeError> { + if rd_u16(data, 0).ok_or(PeError::Truncated("DOS"))? != 0x5A4D { + return Err(PeError::BadMagic("MZ")); + } + let nt = rd_u32(data, 0x3C).ok_or(PeError::Truncated("e_lfanew"))? as usize; + if rd_u32(data, nt).ok_or(PeError::Truncated("NT"))? != 0x0000_4550 { + return Err(PeError::BadMagic("PE")); + } + let coff = nt + 4; + let machine = rd_u16(data, coff).ok_or(PeError::Truncated("COFF"))?; + let nsec = rd_u16(data, coff + 2).ok_or(PeError::Truncated("COFF"))? as usize; + let timestamp = rd_u32(data, coff + 4).ok_or(PeError::Truncated("COFF"))?; + let opt_size = rd_u16(data, coff + 16).ok_or(PeError::Truncated("COFF"))? as usize; + let characteristics = rd_u16(data, coff + 18).ok_or(PeError::Truncated("COFF"))?; + let opt = coff + 20; + let magic = rd_u16(data, opt).ok_or(PeError::Truncated("optional header"))?; + if magic != 0x20B { + if machine != IMAGE_FILE_MACHINE_AMD64 { + return Err(PeError::NotX64(machine)); + } + return Err(PeError::BadMagic("PE32+ (0x20B)")); + } + if machine != IMAGE_FILE_MACHINE_AMD64 { + return Err(PeError::NotX64(machine)); + } + let t = |o: usize| PeError::Truncated(if o < 112 { "optional header" } else { "data directories" }); + let entry_rva = rd_u32(data, opt + 16).ok_or(t(16))?; + let image_base = rd_u64(data, opt + 24).ok_or(t(24))?; + let section_alignment = rd_u32(data, opt + 32).ok_or(t(32))?; + let file_alignment = rd_u32(data, opt + 36).ok_or(t(36))?; + let size_of_image = rd_u32(data, opt + 56).ok_or(t(56))?; + let size_of_headers = rd_u32(data, opt + 60).ok_or(t(60))?; + let subsystem = rd_u16(data, opt + 68).ok_or(t(68))?; + let dll_characteristics = rd_u16(data, opt + 70).ok_or(t(70))?; + let stack_reserve = rd_u64(data, opt + 72).ok_or(t(72))?; + let stack_commit = rd_u64(data, opt + 80).ok_or(t(80))?; + let ndirs = (rd_u32(data, opt + 108).ok_or(t(108))? as usize).min(16); + let mut dirs = [DataDir::default(); 16]; + for (i, d) in dirs.iter_mut().enumerate().take(ndirs) { + let o = opt + 112 + i * 8; + d.rva = rd_u32(data, o).ok_or(t(112))?; + d.size = rd_u32(data, o + 4).ok_or(t(112))?; + } + let mut sections = Vec::with_capacity(nsec); + let sec0 = opt + opt_size; + for i in 0..nsec { + let o = sec0 + i * 40; + let raw_name = data.get(o..o + 8).ok_or(PeError::Truncated("section table"))?; + let end = raw_name.iter().position(|&c| c == 0).unwrap_or(8); + sections.push(Section { + name: String::from_utf8_lossy(&raw_name[..end]).into_owned(), + vsize: rd_u32(data, o + 8).ok_or(PeError::Truncated("section table"))?, + va: rd_u32(data, o + 12).ok_or(PeError::Truncated("section table"))?, + raw_size: rd_u32(data, o + 16).ok_or(PeError::Truncated("section table"))?, + raw_ptr: rd_u32(data, o + 20).ok_or(PeError::Truncated("section table"))?, + characteristics: rd_u32(data, o + 36).ok_or(PeError::Truncated("section table"))?, + }); + } + Ok(Pe { + data, + layout, + machine, + characteristics, + image_base, + size_of_image, + size_of_headers, + entry_rva, + section_alignment, + file_alignment, + subsystem, + dll_characteristics, + stack_reserve, + stack_commit, + timestamp, + sections, + dirs, + }) + } + + pub fn data(&self) -> &'a [u8] { + self.data + } + + pub fn is_dll(&self) -> bool { + self.characteristics & IMAGE_FILE_DLL != 0 + } + + pub fn has_relocs(&self) -> bool { + self.characteristics & IMAGE_FILE_RELOCS_STRIPPED == 0 && self.dirs[DIR_BASERELOC].size != 0 + } + + pub fn dir(&self, idx: usize) -> DataDir { + self.dirs[idx] + } + + pub fn rva_to_offset(&self, rva: u32) -> Option<usize> { + match self.layout { + Layout::Mapped => { + if (rva as usize) < self.data.len() { + Some(rva as usize) + } else { + None + } + } + Layout::File => { + if rva < self.size_of_headers { + return Some(rva as usize); + } + for s in &self.sections { + let size = s.mapped_size().max(s.raw_size); + if rva >= s.va && rva < s.va.saturating_add(size) { + let delta = rva - s.va; + if delta >= s.raw_size { + return None; // in zero-filled tail, not present in file + } + return Some(s.raw_ptr as usize + delta as usize); + } + } + None + } + } + } + + pub fn bytes_at(&self, rva: u32, len: usize) -> Option<&'a [u8]> { + let off = self.rva_to_offset(rva)?; + self.data.get(off..off.checked_add(len)?) + } + + pub fn u16_at(&self, rva: u32) -> Option<u16> { + rd_u16(self.data, self.rva_to_offset(rva)?) + } + pub fn u32_at(&self, rva: u32) -> Option<u32> { + rd_u32(self.data, self.rva_to_offset(rva)?) + } + pub fn u64_at(&self, rva: u32) -> Option<u64> { + rd_u64(self.data, self.rva_to_offset(rva)?) + } + + pub fn cstr_at(&self, rva: u32) -> Option<String> { + let off = self.rva_to_offset(rva)?; + let tail = self.data.get(off..)?; + let end = tail.iter().take(4096).position(|&c| c == 0)?; + Some(String::from_utf8_lossy(&tail[..end]).into_owned()) + } + + /// Convert an absolute VA (as stored in TLS directory, etc.) to an RVA. + pub fn va_to_rva(&self, va: u64) -> Option<u32> { + let r = va.checked_sub(self.image_base)?; + u32::try_from(r).ok() + } + + fn thunks(&self, int_rva: u32, iat_rva: u32) -> Result<Vec<ImportEntry>, PeError> { + let mut out = Vec::new(); + let names_rva = if int_rva != 0 { int_rva } else { iat_rva }; + for i in 0..65536u32 { + let slot = names_rva + i * 8; + let v = self.u64_at(slot).ok_or(PeError::BadRva(slot))?; + if v == 0 { + break; + } + let what = if v & (1u64 << 63) != 0 { + ImportName::Ordinal((v & 0xFFFF) as u16) + } else { + let hn = (v & 0x7FFF_FFFF) as u32; + let hint = self.u16_at(hn).ok_or(PeError::BadRva(hn))?; + let name = self.cstr_at(hn + 2).ok_or(PeError::BadRva(hn + 2))?; + ImportName::Name { hint, name } + }; + out.push(ImportEntry { iat_rva: iat_rva + i * 8, what }); + } + Ok(out) + } + + pub fn imports(&self) -> Result<Vec<ImportDll>, PeError> { + let d = self.dirs[DIR_IMPORT]; + let mut out = Vec::new(); + if d.rva == 0 || d.size == 0 { + return Ok(out); + } + for i in 0..4096u32 { + let o = d.rva + i * 20; + let int_rva = self.u32_at(o).ok_or(PeError::BadRva(o))?; + let name_rva = self.u32_at(o + 12).ok_or(PeError::BadRva(o))?; + let iat_rva = self.u32_at(o + 16).ok_or(PeError::BadRva(o))?; + if int_rva == 0 && name_rva == 0 && iat_rva == 0 { + break; + } + let dll = self.cstr_at(name_rva).ok_or(PeError::BadRva(name_rva))?; + let entries = self.thunks(int_rva, iat_rva)?; + out.push(ImportDll { dll, delay: false, entries, module_handle_rva: 0 }); + } + Ok(out) + } + + pub fn delay_imports(&self) -> Result<Vec<ImportDll>, PeError> { + let d = self.dirs[DIR_DELAY_IMPORT]; + let mut out = Vec::new(); + if d.rva == 0 || d.size == 0 { + return Ok(out); + } + for i in 0..4096u32 { + let o = d.rva + i * 32; + let attrs = self.u32_at(o).ok_or(PeError::BadRva(o))?; + let mut name_rva = self.u32_at(o + 4).ok_or(PeError::BadRva(o))?; + let mut hmod_rva = self.u32_at(o + 8).ok_or(PeError::BadRva(o))?; + let mut iat_rva = self.u32_at(o + 12).ok_or(PeError::BadRva(o))?; + let mut int_rva = self.u32_at(o + 16).ok_or(PeError::BadRva(o))?; + if name_rva == 0 && iat_rva == 0 { + break; + } + if attrs & 1 == 0 { + // very old VA-based descriptors + let fix = |v: u32| self.va_to_rva(v as u64).unwrap_or(v); + name_rva = fix(name_rva); + hmod_rva = fix(hmod_rva); + iat_rva = fix(iat_rva); + int_rva = fix(int_rva); + } + let dll = self.cstr_at(name_rva).ok_or(PeError::BadRva(name_rva))?; + let entries = self.thunks(int_rva, iat_rva)?; + out.push(ImportDll { dll, delay: true, entries, module_handle_rva: hmod_rva }); + } + Ok(out) + } + + pub fn relocations(&self) -> Result<Vec<Reloc>, PeError> { + let d = self.dirs[DIR_BASERELOC]; + let mut out = Vec::new(); + if d.rva == 0 || d.size == 0 { + return Ok(out); + } + let mut pos = 0u32; + while pos + 8 <= d.size { + let page = self.u32_at(d.rva + pos).ok_or(PeError::BadRva(d.rva + pos))?; + let block = self.u32_at(d.rva + pos + 4).ok_or(PeError::BadRva(d.rva + pos))?; + if block < 8 { + break; + } + let n = (block - 8) / 2; + for i in 0..n { + let e = self + .u16_at(d.rva + pos + 8 + i * 2) + .ok_or(PeError::BadRva(d.rva + pos))?; + let kind = e >> 12; + if kind == IMAGE_REL_BASED_ABSOLUTE { + continue; + } + out.push(Reloc { rva: page + (e & 0x0FFF) as u32, kind }); + } + pos += block; + } + Ok(out) + } + + pub fn tls(&self) -> Result<Option<TlsDir>, PeError> { + let d = self.dirs[DIR_TLS]; + if d.rva == 0 || d.size == 0 { + return Ok(None); + } + let r = |o: u32| self.u64_at(d.rva + o).ok_or(PeError::BadRva(d.rva + o)); + Ok(Some(TlsDir { + start_raw: r(0)?, + end_raw: r(8)?, + address_of_index: r(16)?, + address_of_callbacks: r(24)?, + size_of_zero_fill: self.u32_at(d.rva + 32).ok_or(PeError::BadRva(d.rva + 32))?, + characteristics: self.u32_at(d.rva + 36).ok_or(PeError::BadRva(d.rva + 36))?, + })) + } + + pub fn exports(&self) -> Result<Option<Exports>, PeError> { + let d = self.dirs[DIR_EXPORT]; + if d.rva == 0 || d.size == 0 { + return Ok(None); + } + let g = |o: u32| self.u32_at(d.rva + o).ok_or(PeError::BadRva(d.rva + o)); + let name_rva = g(12)?; + let base = g(16)?; + let nfunc = g(20)?.min(65536); + let nnames = g(24)?.min(65536); + let afunc = g(28)?; + let anames = g(32)?; + let aords = g(36)?; + let mut functions = Vec::with_capacity(nfunc as usize); + for i in 0..nfunc { + functions.push(self.u32_at(afunc + i * 4).ok_or(PeError::BadRva(afunc))?); + } + let mut names = Vec::with_capacity(nnames as usize); + for i in 0..nnames { + let nr = self.u32_at(anames + i * 4).ok_or(PeError::BadRva(anames))?; + let idx = self.u16_at(aords + i * 2).ok_or(PeError::BadRva(aords))?; + if let Some(n) = self.cstr_at(nr) { + names.push((n, idx)); + } + } + Ok(Some(Exports { + dll_name: self.cstr_at(name_rva).unwrap_or_default(), + ordinal_base: base, + functions, + names, + dir: d, + })) + } + + /// Resolve an export to an RVA or a forwarder string ("DLL.Func" / "DLL.#12"). + pub fn export_target(&self, ex: &Exports, rva: u32) -> Option<ExportTarget> { + let fwd = if ex.is_forwarder_rva(rva) { self.cstr_at(rva) } else { None }; + ex.target(rva, fwd) + } +} + +/// Owned export table with forwarders already decoded – safe to keep after the +/// source bytes are gone. +#[derive(Debug, Clone, Default)] +pub struct OwnedExports { + pub by_name: std::collections::HashMap<String, ExportTarget>, + pub by_ordinal: std::collections::HashMap<u32, ExportTarget>, +} + +impl OwnedExports { + pub fn from_pe(pe: &Pe<'_>) -> Result<Self, PeError> { + let mut out = OwnedExports::default(); + if let Some(ex) = pe.exports()? { + for (i, &rva) in ex.functions.iter().enumerate() { + if let Some(t) = pe.export_target(&ex, rva) { + out.by_ordinal.insert(ex.ordinal_base + i as u32, t); + } + } + for (name, idx) in &ex.names { + if let Some(&rva) = ex.functions.get(*idx as usize) { + if let Some(t) = pe.export_target(&ex, rva) { + out.by_name.insert(name.clone(), t); + } + } + } + } + Ok(out) + } +} + +#[cfg(test)] +mod tests { + use super::*; + + fn system_file(name: &str) -> Vec<u8> { + let root = std::env::var("SystemRoot").unwrap_or_else(|_| "C:\\Windows".into()); + std::fs::read(format!("{root}\\System32\\{name}")).expect("read system dll") + } + + #[test] + fn rejects_non_pe() { + assert_eq!(Pe::parse(b"h", Layout::File).err(), Some(PeError::Truncated("DOS"))); + assert_eq!(Pe::parse(b"hello", Layout::File).err(), Some(PeError::BadMagic("MZ"))); + let mut buf = vec![0u8; 256]; + buf[0] = b'M'; + buf[1] = b'Z'; + buf[0x3C] = 0x40; + assert_eq!(Pe::parse(&buf, Layout::File).err(), Some(PeError::BadMagic("PE"))); + } + + #[test] + fn parses_kernel32_exports_and_imports() { + let data = system_file("kernel32.dll"); + let pe = Pe::parse(&data, Layout::File).unwrap(); + assert!(pe.is_dll()); + assert!(pe.has_relocs()); + let ex = OwnedExports::from_pe(&pe).unwrap(); + assert!(ex.by_name.contains_key("CreateFileW")); + assert!(ex.by_name.contains_key("GetProcAddress")); + // kernel32 forwards plenty of functions to NTDLL / api sets + assert!(ex.by_name.values().any(|t| matches!(t, ExportTarget::Forwarder(_)))); + let imps = pe.imports().unwrap(); + assert!(imps.iter().any(|d| d.dll.to_ascii_lowercase().starts_with("api-ms-win-") + || d.dll.eq_ignore_ascii_case("ntdll.dll"))); + assert!(pe.relocations().unwrap().iter().all(|r| r.kind == IMAGE_REL_BASED_DIR64)); + } + + #[test] + fn parses_own_test_binary_tls() { + // The test harness itself is an x64 Rust binary with static TLS. + let me = std::env::current_exe().unwrap(); + let data = std::fs::read(me).unwrap(); + let pe = Pe::parse(&data, Layout::File).unwrap(); + assert!(!pe.is_dll()); + let tls = pe.tls().unwrap().expect("rust binaries have a TLS directory"); + assert!(tls.end_raw >= tls.start_raw); + assert!(pe.va_to_rva(tls.address_of_index).is_some()); + } +} diff --git a/crates/xcl/src/report.rs b/crates/xcl/src/report.rs new file mode 100644 index 0000000..f19893e --- /dev/null +++ b/crates/xcl/src/report.rs @@ -0,0 +1,154 @@ +//! `report.json`: what the title imported, which stubs it actually called, which console +//! paths were not mapped, which game files were redirected – the to-do list for the +//! next iteration. + +use std::collections::BTreeMap; +use std::sync::atomic::Ordering; +use std::sync::Mutex; + +use serde::{Deserialize, Serialize}; + +use crate::resolver::{self, Source}; + +#[derive(Debug, Serialize, Deserialize, Default)] +pub struct StubCall { + pub dll: String, + pub function: String, + pub calls: u64, + pub first_caller: String, +} + +#[derive(Debug, Serialize, Deserialize, Default)] +pub struct MissingImport { + pub importer: String, + pub dll: String, + pub function: String, +} + +#[derive(Debug, Serialize, Deserialize, Default)] +pub struct ModuleInfo { + pub name: String, + pub base: String, + pub size: String, +} + +#[derive(Debug, Serialize, Deserialize, Default)] +pub struct VfsInfo { + pub unmapped_paths: Vec<String>, + pub redirected_writes: Vec<String>, + pub whiteouts: Vec<String>, +} + +#[derive(Debug, Serialize, Deserialize, Default)] +pub struct Report { + pub xcl_version: String, + pub title: String, + pub exe: String, + pub crash: Option<String>, + pub exit_code: Option<i64>, + /// counts of static imports by how they were resolved + pub imports_by_source: BTreeMap<String, usize>, + /// imports that ended up as auto-stubs (static analysis) + pub stubbed_imports: Vec<MissingImport>, + /// stubs the title actually called at run time (sorted by call count) + pub called_stubs: Vec<StubCall>, + pub modules: Vec<ModuleInfo>, + pub vfs: VfsInfo, + /// shader formats seen at pipeline creation (dxil / dxbc / container-unknown / rdna2-raw …) + #[serde(default)] + pub shaders: crate::gpu::shader::ShaderStats, + /// D3D12.X backend: adapter, interface layouts, unknown IIDs, fallbacks, presented frames + #[serde(default)] + pub d3d12: crate::hle::d3d12x::real::D3d12Stats, + /// XAudio2: engines, mastering/source voices, XMA voices played as silence, dropped console flags + #[serde(default)] + pub audio: crate::hle::xaudio2::AudioStats, + pub notes: Vec<String>, +} + +static CRASH: Mutex<Option<String>> = Mutex::new(None); +static WRITE_LOCK: Mutex<()> = Mutex::new(()); + +fn source_label(s: &Source) -> String { + match s { + Source::Hle(m) => format!("hle:{m}"), + Source::HleOther(m) => format!("hle-cross:{m}"), + Source::System(d) => format!("system:{d}"), + Source::GameDll(d) => format!("game-dll:{d}"), + Source::Stub => "stub".into(), + } +} + +pub fn build() -> Report { + let boot = crate::state::boot(); + let records = resolver::records(); + let mut by_source: BTreeMap<String, usize> = BTreeMap::new(); + let mut stubbed = Vec::new(); + for r in &records { + let label = match &r.source { + Source::System(_) => "system".to_string(), + other => source_label(other), + }; + *by_source.entry(label).or_default() += 1; + if r.source == Source::Stub { + stubbed.push(MissingImport { importer: r.importer.clone(), dll: r.dll.clone(), function: r.function.clone() }); + } + } + let mut called: Vec<StubCall> = crate::stubs::all_stubs() + .into_iter() + .filter(|s| s.calls.load(Ordering::Relaxed) > 0) + .map(|s| StubCall { + dll: s.dll.clone(), + function: s.name.clone(), + calls: s.calls.load(Ordering::Relaxed), + first_caller: crate::modules::describe_address(s.first_caller.load(Ordering::Relaxed)), + }) + .collect(); + called.sort_by(|a, b| b.calls.cmp(&a.calls)); + let modules = crate::modules::mapped_modules() + .iter() + .map(|m| ModuleInfo { name: m.name.clone(), base: format!("{:#x}", m.base), size: format!("{:#x}", m.size) }) + .collect(); + let vfs = crate::vfs::get() + .map(|v| VfsInfo { unmapped_paths: v.unmapped_paths(), redirected_writes: v.redirected_writes(), whiteouts: v.whiteouts() }) + .unwrap_or_default(); + Report { + xcl_version: env!("CARGO_PKG_VERSION").to_string(), + title: boot.map(|b| b.title.clone()).unwrap_or_default(), + exe: boot.map(|b| b.exe_path.to_string_lossy().into_owned()).unwrap_or_default(), + crash: CRASH.lock().ok().and_then(|g| g.clone()), + exit_code: None, + imports_by_source: by_source, + stubbed_imports: stubbed, + called_stubs: called, + modules, + vfs, + shaders: crate::gpu::shader::stats(), + d3d12: crate::hle::d3d12x::real::stats(), + audio: crate::hle::xaudio2::stats(), + notes: vec![ + "Metody D3D12.X spoza PC widać w called_stubs jako '<Interfejs>::#slot (spoza PC)'.".into(), + "Shadery w formacie konsolowym są zastępowane (fallback_pipelines) do czasu ukończenia recompilera RDNA2.".into(), + "Bezpośrednie wywołania Nt* na plikach nie przechodzą przez VFS.".into(), + ], + } +} + +/// Write `report.json` (host side). `crash` is remembered for later writes. +pub fn write_final(crash: Option<String>) { + let Ok(_g) = WRITE_LOCK.try_lock() else { return }; + if let Some(c) = crash { + if let Ok(mut g) = CRASH.lock() { + g.get_or_insert(c); + } + } + let Some(boot) = crate::state::boot() else { return }; + let r = build(); + if let Ok(s) = serde_json::to_string_pretty(&r) { + let _ = std::fs::write(boot.report_path(), s); + } +} + +pub fn load(path: &std::path::Path) -> Option<Report> { + serde_json::from_str(&std::fs::read_to_string(path).ok()?).ok() +} diff --git a/crates/xcl/src/resolver.rs b/crates/xcl/src/resolver.rs new file mode 100644 index 0000000..4de6fe8 --- /dev/null +++ b/crates/xcl/src/resolver.rs @@ -0,0 +1,353 @@ +//! Import resolution policy (design §5.2). +//! +//! For `dll!function`: +//! 1. routing/aliases → HLE module (+ cross-HLE lookup, + system fallback for the +//! kernel family), `@system` or `@stub`; +//! 2. a DLL shipped in the game folder → mapped by our loader; +//! 3. a real Windows DLL → LoadLibrary/GetProcAddress; +//! 4. otherwise → automatic logging stub. + +use std::collections::HashMap; +use std::path::{Path, PathBuf}; +use std::sync::{Mutex, RwLock}; + +use serde::Serialize; + +use crate::hle::{registry, HleModule, Route}; +use crate::modules; +use crate::pe::{ExportTarget, ImportName}; +use crate::stubs; +use crate::util::{dll_key, wide}; + +#[derive(Debug, Clone, Serialize, PartialEq, Eq)] +#[serde(tag = "kind", content = "detail")] +pub enum Source { + /// Implemented by the HLE module the DLL routes to. + Hle(String), + /// Implemented by a different HLE module (cross lookup). + HleOther(String), + /// Real Windows DLL. + System(String), + /// DLL from the game folder, mapped by XCL. + GameDll(String), + Stub, +} + +#[derive(Debug, Clone, Serialize)] +pub struct ImportRecord { + pub importer: String, + pub dll: String, + pub function: String, + pub delay: bool, + pub source: Source, +} + +static RECORDS: Mutex<Vec<ImportRecord>> = Mutex::new(Vec::new()); +static SEARCH_DIRS: RwLock<Vec<PathBuf>> = RwLock::new(Vec::new()); +static SYS_CACHE: Mutex<Option<HashMap<String, usize>>> = Mutex::new(None); + +pub fn set_search_dirs(dirs: Vec<PathBuf>) { + *SEARCH_DIRS.write().unwrap() = dirs; +} + +pub fn records() -> Vec<ImportRecord> { + RECORDS.lock().map(|v| v.clone()).unwrap_or_default() +} + +fn fname(what: &ImportName) -> String { + what.to_string() +} + +/// Real Windows module handle (cached). Never maps through our loader. +pub fn system_module(dll: &str) -> Option<usize> { + use windows_sys::Win32::System::LibraryLoader::LoadLibraryW; + let key = dll_key(dll); + { + let g = SYS_CACHE.lock().unwrap(); + if let Some(&h) = g.as_ref().and_then(|m| m.get(&key)) { + return (h != 0).then_some(h); + } + } + let h = unsafe { LoadLibraryW(wide(dll).as_ptr()) } as usize; + SYS_CACHE.lock().unwrap().get_or_insert_with(HashMap::new).insert(key, h); + (h != 0).then_some(h) +} + +pub fn system_proc_in(h: usize, what: &ImportName) -> Option<usize> { + use windows_sys::Win32::System::LibraryLoader::GetProcAddress; + let p = unsafe { + match what { + ImportName::Name { name, .. } => { + let c = std::ffi::CString::new(name.as_str()).ok()?; + GetProcAddress(h as _, c.as_ptr() as *const u8) + } + ImportName::Ordinal(o) => GetProcAddress(h as _, *o as usize as *const u8), + } + }; + p.map(|f| f as usize) +} + +pub fn system_proc(dll: &str, what: &ImportName) -> Option<usize> { + system_proc_in(system_module(dll)?, what) +} + +fn hle_name_for<'a>(m: &'a HleModule, dll: &str, what: &'a ImportName) -> Option<&'a str> { + match what { + ImportName::Name { name, .. } => Some(name.as_str()), + ImportName::Ordinal(o) => m + .ordinals + .get(o) + .copied() + .or_else(|| stubs::db().ordinal_name(dll, *o)), + } +} + +/// HLE lookup with cross-module search and (kernel family) system fallback. +fn resolve_hle(m: &HleModule, key: &str, what: &ImportName) -> Option<(usize, Source)> { + let name = hle_name_for(m, key, what)?; + if let Some(&a) = m.exports.get(name) { + return Some((a, Source::Hle(m.name.to_string()))); + } + if let Some((other, a)) = registry().find_any(name) { + return Some((a, Source::HleOther(other.name.to_string()))); + } + let n = ImportName::Name { hint: 0, name: name.to_string() }; + for &c in m.fallback { + let c = if c == crate::hle::SELF { + if key == m.name { + continue; + } + key + } else { + c + }; + if let Some(a) = system_proc(c, &n) { + return Some((a, Source::System(c.to_string()))); + } + } + None +} + +/// Find a DLL shipped with the game (case-insensitive file name match). +pub fn find_game_dll(name: &str) -> Option<PathBuf> { + let p = Path::new(name); + if p.is_absolute() && p.is_file() { + return Some(p.to_path_buf()); + } + let key = dll_key(name); + for dir in SEARCH_DIRS.read().ok()?.iter() { + let direct = dir.join(name); + if direct.is_file() { + return Some(direct); + } + if let Ok(rd) = std::fs::read_dir(dir) { + for e in rd.flatten() { + if e.file_name().to_string_lossy().to_ascii_lowercase() == key && e.path().is_file() { + return Some(e.path()); + } + } + } + } + None +} + +pub fn resolve_export_of_mapped(m: &modules::MappedModule, what: &ImportName, depth: u32) -> Option<usize> { + let t = match what { + ImportName::Name { name, .. } => m.exports.by_name.get(name)?, + ImportName::Ordinal(o) => m.exports.by_ordinal.get(&(*o as u32))?, + }; + match t { + ExportTarget::Rva(r) => Some(m.base + *r as usize), + ExportTarget::Forwarder(f) => { + if depth > 8 { + return None; + } + let (dll, func) = f.split_once('.')?; + let what = match func.strip_prefix('#') { + Some(n) => ImportName::Ordinal(n.parse().ok()?), + None => ImportName::Name { hint: 0, name: func.to_string() }, + }; + Some(resolve_inner(&dll_key(dll), &what, depth + 1).0) + } + } +} + +fn stub_for(key: &str, what: &ImportName) -> (usize, Source) { + let name = fname(what); + let ret = stubs::db().return_for(key, &name); + (stubs::make_stub(key, &name, ret), Source::Stub) +} + +fn resolve_inner(key: &str, what: &ImportName, depth: u32) -> (usize, Source) { + let reg = registry(); + match reg.route(key) { + Some(Route::Stub) => return stub_for(key, what), + Some(Route::System) => { + return match system_proc(key, what) { + Some(a) => (a, Source::System(key.to_string())), + None => stub_for(key, what), + } + } + Some(Route::Hle(i)) => { + let m = ®.modules[*i]; + return resolve_hle(m, key, what).unwrap_or_else(|| stub_for(key, what)); + } + None => {} + } + // DLL shipped with the game → our loader + if let Some(m) = modules::find_mapped_by_name(key) { + if let Some(a) = resolve_export_of_mapped(&m, what, depth) { + return (a, Source::GameDll(key.to_string())); + } + return stub_for(key, what); + } + if let Some(path) = find_game_dll(key) { + match crate::loader::load_game_dll(&path) { + Ok(m) => { + if let Some(a) = resolve_export_of_mapped(&m, what, depth) { + return (a, Source::GameDll(key.to_string())); + } + return stub_for(key, what); + } + Err(e) => crate::xlog_error!("nie udało się załadować {}: {e}", path.display()), + } + } + // Real Windows DLL + if let Some(a) = system_proc(key, what) { + return (a, Source::System(key.to_string())); + } + // A known console function imported from an unexpected DLL + if let ImportName::Name { name, .. } = what { + if let Some((m, a)) = reg.find_any(name) { + return (a, Source::HleOther(m.name.to_string())); + } + } + stub_for(key, what) +} + +/// Resolve one static/delay import and record the outcome for the report. +pub fn resolve_import(dll: &str, what: &ImportName, importer: &str, delay: bool) -> usize { + let key = dll_key(dll); + let (addr, source) = resolve_inner(&key, what, 0); + crate::xlog_debug!("import {importer}: {key}!{what} → {source:?}"); + RECORDS.lock().unwrap().push(ImportRecord { + importer: importer.to_string(), + dll: key, + function: fname(what), + delay, + source, + }); + addr +} + +/// Dry-run classification used by `xcl inspect` (does not map game DLLs). +pub fn classify(dll: &str, what: &ImportName) -> Source { + let key = dll_key(dll); + let reg = registry(); + match reg.route(&key) { + Some(Route::Stub) => Source::Stub, + Some(Route::System) => { + if system_proc(&key, what).is_some() { + Source::System(key) + } else { + Source::Stub + } + } + Some(Route::Hle(i)) => resolve_hle(®.modules[*i], &key, what).map(|x| x.1).unwrap_or(Source::Stub), + None => { + if find_game_dll(&key).is_some() { + return Source::GameDll(key); + } + if system_proc(&key, what).is_some() { + return Source::System(key); + } + if let ImportName::Name { name, .. } = what { + if let Some((m, _)) = reg.find_any(name) { + return Source::HleOther(m.name.to_string()); + } + } + Source::Stub + } + } +} + +// --------------------------------------------------------------------------------------- +// Runtime LoadLibrary / GetProcAddress semantics (used by kernelx shims) +// --------------------------------------------------------------------------------------- + +/// LoadLibrary as seen by the game. Returns an HMODULE-like value or None. +pub fn load_library(name: &str) -> Option<usize> { + let key = dll_key(name); + let reg = registry(); + match reg.route(&key) { + Some(Route::Hle(i)) => { + let m = ®.modules[*i]; + if m.aliases_are_system() && key != m.name { + // kernel32 / kernelbase / api sets: hand out the real module; GetProcAddress + // on it still prefers our overrides. + if let Some(h) = system_module(name) { + return Some(h); + } + } + return Some(modules::hle_handle(m.name)); + } + Some(Route::Stub) => return Some(modules::hle_handle(&key)), + Some(Route::System) => return system_module(name), + None => {} + } + if let Some(m) = modules::find_mapped_by_name(&key) { + return Some(m.base); + } + let candidate = crate::vfs::get() + .and_then(|v| v.real_path_for_read(name)) + .map(PathBuf::from) + .filter(|p| p.is_file()) + .or_else(|| find_game_dll(name)); + if let Some(path) = candidate { + let under_game = crate::vfs::get().map(|v| v.is_game_path(&path)).unwrap_or(false); + if under_game || find_game_dll(&key).is_some() { + match crate::loader::load_game_dll(&path) { + Ok(m) => return Some(m.base), + Err(e) => { + crate::xlog_error!("LoadLibrary({name}): {e}"); + return None; + } + } + } + } + system_module(name) +} + +/// GetProcAddress as seen by the game. Missing functions return None (no stub) so +/// that optional-API probing works. +pub fn get_proc_address(h: usize, what: &ImportName) -> Option<usize> { + let reg = registry(); + if let Some(name) = modules::hle_name_by_handle(h) { + let r = match reg.module_by_name(&name).or_else(|| reg.hle_for(&name)) { + Some(m) => resolve_hle(m, &name, what).map(|x| x.0), + None => None, + }; + if r.is_none() { + crate::xlog_warn!("GetProcAddress({name}, {what}) → NULL (brak implementacji)"); + } + return r; + } + if let Some(m) = modules::find_mapped_by_base(h) { + return resolve_export_of_mapped(&m, what, 0); + } + // A real module: kernel-family modules prefer our overrides. + let mut buf = [0u16; 260]; + let n = unsafe { windows_sys::Win32::System::LibraryLoader::GetModuleFileNameW(h as _, buf.as_mut_ptr(), 260) }; + if n > 0 { + let full = String::from_utf16_lossy(&buf[..n as usize]); + let key = dll_key(&full); + if let Some(m) = reg.hle_for(&key) { + if let ImportName::Name { name, .. } = what { + if let Some(&a) = m.exports.get(name.as_str()) { + return Some(a); + } + } + } + } + system_proc_in(h, what) +} diff --git a/crates/xcl/src/rpf.rs b/crates/xcl/src/rpf.rs new file mode 100644 index 0000000..4e75f1e --- /dev/null +++ b/crates/xcl/src/rpf.rs @@ -0,0 +1,103 @@ +//! `xcl rpf <paczka> [--top N] [--find FRAGMENT] [--extract FRAGMENT --out FOLDER]`: +//! lists the records of an RPF9 package (name, sizes, signature of the unpacked data) and +//! extracts the matching ones. Same record scan as the shader pack (`gpu::pack`). + +use std::collections::BTreeMap; +use std::path::{Path, PathBuf}; + +use crate::gpu::pack; + +/// Printable signature of unpacked data: 4 ASCII bytes or hex. +fn magic(b: &[u8]) -> String { + let m = &b[..b.len().min(4)]; + if m.len() == 4 && m.iter().all(|c| c.is_ascii_alphanumeric() || *c == b' ') { + String::from_utf8_lossy(m).into_owned() + } else { + m.iter().map(|c| format!("{c:02x}")).collect() + } +} + +pub fn run(path: &Path, args: &[String]) -> i32 { + let opt = |n: &str| args.iter().position(|a| a == n).and_then(|i| args.get(i + 1)).cloned(); + let top: usize = opt("--top").and_then(|v| v.parse().ok()).unwrap_or(30); + let find = opt("--find"); + let extract = opt("--extract"); + let out = opt("--out").map(PathBuf::from).unwrap_or_else(|| PathBuf::from("rpf_out")); + let data = match std::fs::read(path) { + Ok(d) => d, + Err(e) => { + eprintln!("xcl rpf: {}: {e}", path.display()); + return 2; + } + }; + if !data.starts_with(pack::RPF9_MAGIC) { + eprintln!("xcl rpf: {} nie jest paczką RPF9", path.display()); + return 2; + } + let recs = pack::scan(&data, 0x40); + if recs.is_empty() { + // no inline records: list the (nested) RPF9 headers and say whether the TOC is readable + let heads: Vec<usize> = data.windows(4).enumerate().filter(|(i, w)| i % 0x800 == 0 && *w == pack::RPF9_MAGIC).map(|(i, _)| i).collect(); + let toc = |h: usize| data.get(h + 0x40..h + 0x60).map(|b| b.to_vec()).unwrap_or_default(); + let same = heads.len() > 1 && heads.iter().all(|&h| toc(h) == toc(heads[0])); + println!("{}: {:.1} MB, brak rekordów z jawnymi nazwami", path.display(), data.len() as f64 / 1048576.0); + println!("archiwa RPF9 (nagłówki co 2 KB): {}", heads.len()); + for &h in heads.iter().take(top) { + let w = |o: usize| u32::from_le_bytes(data[h + o..h + o + 4].try_into().unwrap()); + println!(" {h:#010x}: pola {:#x} {:#x} {:#x}", w(4), w(8), w(12)); + } + if same { + println!("TOC zaszyfrowany: wszystkie archiwa zaczynają spis od tych samych bajtów (stały klucz z gry) – bez exe nie do odczytania"); + } + return 0; + } + let (csum, usum): (usize, usize) = recs.iter().fold((0, 0), |a, r| (a.0 + r.csize, a.1 + r.usize)); + println!( + "{}: {:.1} MB, {} rekordów, spakowane {:.1} MB → {:.1} MB", + path.display(), + data.len() as f64 / 1048576.0, + recs.len(), + csum as f64 / 1048576.0, + usum as f64 / 1048576.0 + ); + // kinds by extension / name prefix and by signature + let mut by_ext: BTreeMap<String, (usize, usize)> = BTreeMap::new(); + let mut by_magic: BTreeMap<String, usize> = BTreeMap::new(); + let mut shown = 0; + let mut extracted = 0; + for r in &recs { + let ext = r.name.rsplit_once('.').map(|x| x.1.to_ascii_lowercase()).unwrap_or_else(|| "(bez rozszerzenia)".into()); + let e = by_ext.entry(ext).or_default(); + e.0 += 1; + e.1 += r.usize; + let hit = find.as_deref().is_none_or(|f| r.name.contains(f)); + let want = extract.as_deref().is_some_and(|f| r.name.contains(f)); + if !(hit && shown < top) && !want && by_magic.len() > 64 { + continue; + } + let Some(blob) = pack::inflate(&data, r) else { continue }; + *by_magic.entry(magic(&blob)).or_default() += 1; + if hit && shown < top { + println!(" {:#010x} {:>9} → {:>9} B [{}] {}", r.offset, r.csize, r.usize, magic(&blob), r.name); + shown += 1; + } + if want { + let _ = std::fs::create_dir_all(&out); + let file = out.join(r.name.replace(['/', '\\', ':'], "_")); + if std::fs::write(&file, &blob).is_ok() { + extracted += 1; + } + } + } + println!("rozszerzenia (rekordy, rozmiar po rozpakowaniu):"); + for (k, (n, s)) in &by_ext { + println!(" {k:<20} {n:>7} {:>10.1} MB", *s as f64 / 1048576.0); + } + let mut m: Vec<_> = by_magic.into_iter().collect(); + m.sort_by(|a, b| b.1.cmp(&a.1)); + println!("sygnatury danych (z próbki): {}", m.iter().take(12).map(|(k, n)| format!("{k} {n}")).collect::<Vec<_>>().join(", ")); + if extract.is_some() { + println!("wypakowano {extracted} do {}", out.display()); + } + 0 +} diff --git a/crates/xcl/src/shaders.rs b/crates/xcl/src/shaders.rs new file mode 100644 index 0000000..dbf3a89 --- /dev/null +++ b/crates/xcl/src/shaders.rs @@ -0,0 +1,995 @@ +//! `xcl shaders <plik|folder> [--top N] [--json] [--recomp] [--compile N]` – statistics over +//! a shader corpus: formats, stages, FSSM variants and the RDNA2 instruction histogram that +//! sets the recompiler's priorities. Inputs: a single blob, a folder (e.g. `<dane>\shaders\`) +//! or an RPF9 shader pack (records found by scanning, see `gpu::pack`). `--recomp` +//! translates every program to HLSL (kernel mode) and reports what is still missing; +//! `--compile N` also compiles N of the complete translations with DXC. + +use std::collections::{BTreeMap, HashMap}; +use std::path::{Path, PathBuf}; +use std::sync::atomic::{AtomicUsize, Ordering}; +use std::sync::Mutex; + +use crate::gpu::{dxbc, pack, rdna2, recomp, shader, xbox}; + +/// `--iface`: how console programs connect to their DXBC signatures (hypothesis checks for +/// the VS/PS interface of the recompiler). +#[derive(Default)] +struct IfaceAgg { + ps: usize, + ps_in_regs: usize, + ps_eq_regs: usize, + ps_examples: Vec<String>, + vs: usize, + vs_param_in_regs: usize, + vs_param_eq: usize, + vs_param_examples: Vec<String>, + vs_inputs: usize, + vs_in_vec4: usize, + vs_in_packed: usize, + vs_input_examples: Vec<String>, + /// attr / param index = rank among the non-system elements (register order) + ps_rank: usize, + vs_rank: usize, + /// (hw stage, smallest base B with inputs ⊆ {B + 4·register + c}) → programs + vs_base: BTreeMap<String, usize>, + /// PS: SPI_PS_INPUT_ENA at FSSM +0x248 explains the I/J VGPRs of v_interp / the initial VGPRs read + ps_ena_ij: usize, + ps_ena_reads: usize, + ps_ena_examples: Vec<String>, + /// hardware stage → (programs, VGPR read before written → programs, SGPR → programs, export target → programs) + inputs: BTreeMap<String, StageInputs>, +} + +#[derive(Default)] +struct StageInputs { + programs: usize, + vgpr: BTreeMap<u64, usize>, + sgpr: BTreeMap<u64, usize>, + exports: BTreeMap<u64, usize>, + sendmsg: BTreeMap<u64, usize>, + /// PSV0: "kind / max verts / max prims / topology / numthreads / groupshared" → programs + psv: BTreeMap<String, usize>, + /// first instruction reading an input register (v0–v7, s0–s3) → programs + first_use: BTreeMap<String, usize>, +} + +impl IfaceAgg { + fn merge(&mut self, o: IfaceAgg) { + self.ps += o.ps; + self.ps_in_regs += o.ps_in_regs; + self.ps_eq_regs += o.ps_eq_regs; + self.vs += o.vs; + self.vs_param_in_regs += o.vs_param_in_regs; + self.vs_param_eq += o.vs_param_eq; + self.vs_inputs += o.vs_inputs; + self.vs_in_vec4 += o.vs_in_vec4; + self.vs_in_packed += o.vs_in_packed; + self.ps_rank += o.ps_rank; + self.ps_ena_ij += o.ps_ena_ij; + self.ps_ena_reads += o.ps_ena_reads; + self.ps_ena_examples.extend(o.ps_ena_examples); + self.ps_ena_examples.truncate(8); + self.vs_rank += o.vs_rank; + for (k, v) in o.vs_base { + *self.vs_base.entry(k).or_default() += v; + } + for (a, b) in [(&mut self.ps_examples, o.ps_examples), (&mut self.vs_param_examples, o.vs_param_examples), (&mut self.vs_input_examples, o.vs_input_examples)] { + a.extend(b); + a.truncate(8); + } + for (k, x) in o.inputs { + let e = self.inputs.entry(k).or_default(); + e.programs += x.programs; + for (a, b) in [(&mut e.vgpr, x.vgpr), (&mut e.sgpr, x.sgpr), (&mut e.exports, x.exports), (&mut e.sendmsg, x.sendmsg)] { + for (r, n) in b { + *a.entry(r).or_default() += n; + } + } + for (r, n) in x.psv { + *e.psv.entry(r).or_default() += n; + } + for (r, n) in x.first_use { + *e.first_use.entry(r).or_default() += n; + } + } + } + + fn add(&mut self, name: &str, blob: &[u8], sh: &xbox::XboxShader) { + let (isg, osg) = dxbc::signatures(blob); + let user = |s: &[dxbc::SigElement]| -> Vec<(u32, u8, String)> { + s.iter().filter(|e| e.system_value == 0 && !e.name.starts_with("SV_")).map(|e| (e.register, e.mask, e.semantic())).collect() + }; + let sig_txt = |s: &[dxbc::SigElement]| s.iter().map(|e| format!("{}@r{}:{:x}", e.semantic(), e.register, e.mask)).collect::<Vec<_>>().join(" "); + for f in &sh.fssm { + let Some(p) = f.programs.first() else { continue }; + let code = &f.data[p.offset..p.offset + p.len]; + let mut attrs = std::collections::BTreeSet::new(); + let mut ij = std::collections::BTreeSet::new(); + let mut params = std::collections::BTreeSet::new(); + let (mut read, mut written) = (std::collections::BTreeSet::new(), std::collections::BTreeSet::new()); + let (mut sread, mut swritten) = (std::collections::BTreeSet::new(), std::collections::BTreeSet::new()); + let (mut exps, mut msgs) = (std::collections::BTreeSet::new(), std::collections::BTreeSet::new()); + let mut first: Vec<String> = Vec::new(); + let mut off = 0; + while off + 4 <= code.len() { + let Ok(d) = rdna2::decode(&code[off..], off as u64) else { break }; + off += d.len; + let n = d.inst.name; + if n.starts_with("V_INTERP") { + let a = rdna2::field_value(d.enc, &d.words, "ATTR") + .or_else(|| rdna2::field_value(d.enc, &d.words, "SRC0").map(|v| v & 0x3f)); + if let Some(a) = a { + attrs.insert(a as u32); + } + if n == "V_INTERP_P1_F32" || n == "V_INTERP_P2_F32" { + if let Some(v) = rdna2::field_value(d.enc, &d.words, "VSRC") { + ij.insert(v); + } + } + } + if n == "EXP" { + let t = rdna2::field_value(d.enc, &d.words, "TGT").unwrap_or(0); + if (32..64).contains(&t) { + params.insert((t - 32) as u32); + } + } + let (r, w) = rdna2::vgpr_uses(&d); + for v in r { + if !written.contains(&v) { + if v < 8 && !read.contains(&v) { + first.push(format!("v{v}: {}", rdna2::format(&d))); + } + read.insert(v); + } + } + written.extend(w); + let (r, w) = rdna2::sgpr_uses(&d); + for v in r { + if !swritten.contains(&v) { + if v < 4 && !sread.contains(&v) { + first.push(format!("s{v}: {}", rdna2::format(&d))); + } + sread.insert(v); + } + } + swritten.extend(w); + if n == "EXP" { + exps.insert(rdna2::field_value(d.enc, &d.words, "TGT").unwrap_or(0)); + } + if n == "S_SENDMSG" || n == "S_SENDMSGHALT" { + msgs.insert(rdna2::field_value(d.enc, &d.words, "SIMM16").unwrap_or(0) & 0xF); + } + } + { + let hw0 = f.stages.first().map(|s| s.hw).unwrap_or(99); + let e = self.inputs.entry(format!("{} {}", sh.stage, xbox::hw_stage_name(hw0))).or_default(); + e.programs += 1; + for &v in &read { + *e.vgpr.entry(v).or_default() += 1; + } + for &v in &sread { + *e.sgpr.entry(v).or_default() += 1; + } + for &t in &exps { + *e.exports.entry(t).or_default() += 1; + } + for &m in &msgs { + *e.sendmsg.entry(m).or_default() += 1; + } + let key = match dxbc::psv(blob) { + Some(p) if p.kind == Some(13) => format!( + "MS v{} p{} topo{} threads{:?} lds{} fala{}-{}", + p.ms_max_vertices, p.ms_max_primitives, p.ms_topology, p.numthreads.unwrap_or_default(), p.ms_groupshared, p.min_wave, p.max_wave + ), + Some(p) => format!("rodzaj {:?} threads{:?} fala{}-{}", p.kind, p.numthreads, p.min_wave, p.max_wave), + None => "brak PSV0".into(), + }; + *e.psv.entry(key).or_default() += 1; + for u in first { + *e.first_use.entry(u).or_default() += 1; + } + } + let hw = f.stages.first().map(|s| s.hw).unwrap_or(99); + if sh.stage == "PS" && hw == 5 && !attrs.is_empty() { + self.ps += 1; + let regs: std::collections::BTreeSet<u32> = user(&isg).iter().map(|x| x.0).collect(); + let inside = attrs.is_subset(®s); + self.ps_in_regs += inside as usize; + self.ps_eq_regs += (attrs == regs) as usize; + let n = user(&isg).len() as u32; + self.ps_rank += attrs.iter().all(|&a| a < n) as usize; + // VGPR layout of the enabled PS inputs (hardware order, sizes 2/2/2/3/2/2/2/1…) + let ena = f.data.get(0x248..0x24C).map(|b| u32::from_le_bytes(b.try_into().unwrap())).unwrap_or(0); + let sizes = [2u64, 2, 2, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1]; + let (mut at, mut pairs) = (0u64, std::collections::BTreeSet::new()); + for (bit, sz) in sizes.iter().enumerate() { + if ena >> bit & 1 == 1 { + if bit <= 6 && bit != 3 { + pairs.insert(at); + pairs.insert(at + 1); + } + at += sz; + } + } + let ij_ok = ij.is_subset(&pairs); + let rd_ok = read.iter().all(|&v| v < at); + self.ps_ena_ij += ij_ok as usize; + self.ps_ena_reads += rd_ok as usize; + if (!ij_ok || !rd_ok) && self.ps_ena_examples.len() < 8 { + self.ps_ena_examples.push(format!("{name}: ena {ena:#x} ({at} VGPR) I/J {ij:?} czytane przed zapisem {:?}", read.iter().take(12).collect::<Vec<_>>())); + } + if !inside && self.ps_examples.len() < 8 { + self.ps_examples.push(format!("{name}: attr {attrs:?} vs ISG1 {}", sig_txt(&isg))); + } + } + if sh.stage == "VS" && (hw == 4 || hw == 2) { + self.vs += 1; + let regs: std::collections::BTreeSet<u32> = user(&osg).iter().map(|x| x.0).collect(); + let inside = params.is_subset(®s); + self.vs_param_in_regs += inside as usize; + self.vs_param_eq += (params == regs) as usize; + let n = user(&osg).len() as u32; + let rank_ok = params.iter().all(|&a| a < n); + self.vs_rank += rank_ok as usize; + if !rank_ok && self.vs_param_examples.len() < 8 { + self.vs_param_examples.push(format!("RANGA {name} [{}]: param {params:?} vs OSG1 {}", xbox::hw_stage_name(hw), sig_txt(&osg))); + } + + // attribute VGPRs the fetch shader fills: read before written, above the 4 system VGPRs + let ins: std::collections::BTreeSet<u64> = read.iter().copied().filter(|&v| v >= 4).collect(); + let u = user(&isg); + if !ins.is_empty() && !u.is_empty() { + self.vs_inputs += 1; + let vec4: std::collections::BTreeSet<u64> = + u.iter().flat_map(|(r, m, _)| (0..4).filter(move |c| m >> c & 1 == 1).map(move |c| 4 + 4 * *r as u64 + c)).collect(); + let mut packed = std::collections::BTreeSet::new(); + let mut sorted = u.clone(); + sorted.sort(); + let mut next = 4u64; + for (_, m, _) in &sorted { + let n = 8 - m.leading_zeros() as u64; // highest component + 1 + packed.extend(next..next + n); + next += n; + } + for b in [4u64, 9] { + let all: std::collections::BTreeSet<u64> = u.iter().flat_map(|(r, _, _)| (0..4).map(move |c| b + 4 * *r as u64 + c)).collect(); + if ins.is_subset(&all) { + *self.vs_base.entry(format!("{} pasuje v{b}+4r+c", xbox::hw_stage_name(hw))).or_default() += 1; + } else if b == 4 && hw == 4 && self.vs_input_examples.len() < 8 { + let extra: Vec<u64> = ins.difference(&all).copied().collect(); + self.vs_input_examples.push(format!("v4 NIE: {name}: reads {ins:?} poza: {extra:?} | ISG1 {}", sig_txt(&isg))); + } + } + *self.vs_base.entry(format!("{} razem", xbox::hw_stage_name(hw))).or_default() += 1; + let a = ins.is_subset(&vec4); + let b = ins.is_subset(&packed); + self.vs_in_vec4 += a as usize; + self.vs_in_packed += b as usize; +let _ = b; + } + } + } + } +} + +static HEADER_SHOWN: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false); + +/// `xcl shaders --example MNEMONIC` +static EXAMPLE_FOR: std::sync::OnceLock<String> = std::sync::OnceLock::new(); + +#[derive(Default)] +struct RecompAgg { + programs: usize, + complete: usize, + wave32: usize, + errors: usize, + error_examples: Vec<String>, + /// mnemonic → (instructions, programs that use it) + missing: HashMap<String, (usize, usize)>, + /// programs whose only missing mnemonic is this one + sole: HashMap<String, usize>, + /// "mnemonic: reason" → programs + why: HashMap<String, usize>, + /// (name, HLSL, profile) of complete translations kept for the DXC check + samples: Vec<(String, String, &'static str)>, + /// programs translated in a graphics mode (VS / PS interface from the container) + by_mode: BTreeMap<String, (usize, usize)>, + hlsl_bytes: usize, + /// `--example MNEMONIC`: listing of the first program missing it, its HLSL and profile + example: Option<(String, String, &'static str)>, +} + +impl RecompAgg { + fn merge(&mut self, o: RecompAgg, keep: usize) { + self.programs += o.programs; + self.complete += o.complete; + self.wave32 += o.wave32; + self.errors += o.errors; + self.error_examples.extend(o.error_examples); + self.error_examples.truncate(10); + for (k, (a, b)) in o.missing { + let e = self.missing.entry(k).or_default(); + e.0 += a; + e.1 += b; + } + for (k, v) in o.sole { + *self.sole.entry(k).or_default() += v; + } + for (k, v) in o.why { + *self.why.entry(k).or_default() += v; + } + self.samples.extend(o.samples); + self.samples.truncate(keep); + if self.example.is_none() { + self.example = o.example; + } + for (k, (a, b)) in o.by_mode { + let e = self.by_mode.entry(k).or_default(); + e.0 += a; + e.1 += b; + } + self.hlsl_bytes += o.hlsl_bytes; + } + + fn add(&mut self, name: &str, code: &[u8], keep: usize, mode: recomp::Mode) { + self.programs += 1; + let wave64 = recomp::detect_wave64(code); + self.wave32 += !wave64 as usize; + let (label, profile) = match &mode { + recomp::Mode::Vertex(_) => ("VS", "vs_6_6"), + recomp::Mode::Pixel(_) => ("PS", "ps_6_6"), + recomp::Mode::Kernel => ("kernel", "cs_6_6"), + recomp::Mode::Mesh(_) => ("MS", "cs_6_6"), + }; + match recomp::translate(code, &recomp::Options { mode, wave64 }) { + Ok(t) => { + let e = self.by_mode.entry(label.to_string()).or_default(); + e.0 += 1; + e.1 += t.complete() as usize; + self.hlsl_bytes += t.hlsl.len(); + for (m, n) in &t.unsupported { + let e = self.missing.entry(m.clone()).or_default(); + e.0 += n; + e.1 += 1; + } + for k in t.unsupported_why.keys() { + *self.why.entry(k.clone()).or_default() += 1; + } + if t.unsupported.len() == 1 { + *self.sole.entry(t.unsupported.keys().next().unwrap().clone()).or_default() += 1; + } + if let (Some(want), None) = (EXAMPLE_FOR.get(), &self.example) { + // `--example MNEMONIC` (first program missing it) or `--example name=SUBSTR` + let hit = match want.strip_prefix("name=") { + Some(sub) => name.contains(sub), + None => t.unsupported.contains_key(want), + }; + if hit { + let why: Vec<&String> = t.unsupported_why.keys().collect(); + let mut txt = format!("{name} (tryb {label}, wave{}): {why:?} +", if wave64 { 64 } else { 32 }); + for l in crate::gpu::rdna2::disassemble(code, 0, false) { + txt.push_str(&format!(" {:04x}: {} +", l.pc, l.text)); + } + self.example = Some((txt, t.hlsl.clone(), profile)); + } + } + if t.complete() { + self.complete += 1; + if self.samples.len() < keep { + self.samples.push((name.to_string(), t.hlsl, profile)); + } + } + } + Err(e) => { + self.errors += 1; + if self.error_examples.len() < 10 { + self.error_examples.push(format!("{name}: {e}")); + } + } + } + } +} + +#[derive(Default)] +struct Agg { + /// translate programs (`--recomp`), keep this many complete HLSL samples + recomp_on: bool, + keep: usize, + rc: RecompAgg, + iface_on: bool, + iface: IfaceAgg, + total: usize, + by_kind: BTreeMap<String, usize>, + by_stage: BTreeMap<String, usize>, + by_hw: BTreeMap<String, usize>, + fssm: usize, + programs: usize, + data_blocks: usize, + no_code: usize, + failed: Vec<String>, + failed_count: usize, + /// examples: FSSM with several programs, programs with undecodable dwords + odd: Vec<String>, + odd_count: usize, + inflate_errors: usize, + insts: xbox::InstStats, + /// in how many shaders a mnemonic appears + shader_count: HashMap<String, usize>, + /// distinct mnemonics of every console shader (for coverage) + sets: Vec<Vec<String>>, +} + +impl Agg { + fn merge(&mut self, o: Agg) { + self.total += o.total; + for (k, v) in o.by_kind { + *self.by_kind.entry(k).or_default() += v; + } + for (k, v) in o.by_stage { + *self.by_stage.entry(k).or_default() += v; + } + for (k, v) in o.by_hw { + *self.by_hw.entry(k).or_default() += v; + } + self.fssm += o.fssm; + self.programs += o.programs; + self.data_blocks += o.data_blocks; + self.no_code += o.no_code; + self.failed_count += o.failed_count; + self.failed.extend(o.failed); + self.failed.truncate(20); + self.odd_count += o.odd_count; + self.odd.extend(o.odd); + self.odd.truncate(20); + self.inflate_errors += o.inflate_errors; + self.insts.merge(&o.insts); + for (k, v) in o.shader_count { + *self.shader_count.entry(k).or_default() += v; + } + self.sets.extend(o.sets); + let keep = self.keep; + self.rc.merge(o.rc, keep); + self.iface.merge(o.iface); + } + + fn add(&mut self, name: &str, blob: &[u8]) { + self.total += 1; + let (kind, _) = shader::classify(blob); + *self.by_kind.entry(kind.label().to_string()).or_default() += 1; + if kind != shader::Kind::XboxNative { + return; + } + let Some(sh) = xbox::parse(blob) else { return }; + *self.by_stage.entry(sh.stage.clone()).or_default() += 1; + let mut failed = !sh.notes.is_empty() || sh.fssm.is_empty(); + let mut st = xbox::InstStats::default(); + for f in &sh.fssm { + self.fssm += 1; + *self.by_hw.entry(f.stage_label()).or_default() += 1; + self.programs += f.programs.len(); + self.data_blocks += f.data_blocks.len(); + if f.programs.is_empty() { + self.no_code += 1; + } + failed |= f.error.is_some() || f.programs.is_empty() || !f.code_from_header; + } + st.add_shader(&sh); + let multi = sh.fssm.iter().filter(|f| f.programs.len() > 1).count(); + if multi > 0 || st.undecoded > 0 { + self.odd_count += 1; + if self.odd.len() < 20 { + self.odd.push(format!("{name}: FSSM z kilkoma programami: {multi}, niezdekodowane dwordy: {}", st.undecoded)); + } + } + if failed { + self.failed_count += 1; + if self.failed.len() < 20 { + let why: Vec<String> = + sh.notes.iter().cloned().chain(sh.fssm.iter().filter_map(|f| f.error.clone())).collect(); + self.failed.push(format!("{name}: {}", if why.is_empty() { "brak kodu / kod znaleziony skanowaniem".into() } else { why.join("; ") })); + } + } + if self.iface_on { + self.iface.add(name, blob, &sh); + } + // `--example name=SUBSTR` only needs the matching programs + let wanted = match EXAMPLE_FOR.get().and_then(|w| w.strip_prefix("name=")) { + Some(sub) => name.contains(sub), + None => true, + }; + if self.recomp_on && wanted { + for (fi, f) in sh.fssm.iter().enumerate() { + let mode = recomp::interface(blob, &sh, f).unwrap_or(recomp::Mode::Kernel); + for p in &f.programs { + let keep = self.keep; + self.rc.add(&format!("{name} FSSM#{fi}"), &f.data[p.offset..p.offset + p.len], keep, mode.clone()); + // `--example name=…`: FSSM header (up to the code) as dwords, once + if EXAMPLE_FOR.get().is_some_and(|w| w.starts_with("name=")) && !HEADER_SHOWN.swap(true, Ordering::Relaxed) { + let end = f.code.map(|c| c.0).unwrap_or(0x400).min(f.data.len()).min(0x800); + let mut txt = format!("nagłówek FSSM {name} (do kodu, {end:#x} B): +"); + for (i, c) in f.data[..end].chunks(4).enumerate() { + if i % 8 == 0 { + txt.push_str(&format!(" {:04x}:", i * 4)); + } + let v = u32::from_le_bytes([c[0], *c.get(1).unwrap_or(&0), *c.get(2).unwrap_or(&0), *c.get(3).unwrap_or(&0)]); + txt.push_str(&format!(" {v:08x}")); + if i % 8 == 7 { + txt.push(10 as char); + } + } + println!("{txt}"); + } + } + } + } + let set: Vec<String> = st.by_mnemonic.keys().cloned().collect(); + for m in &set { + *self.shader_count.entry(m.clone()).or_default() += 1; + } + self.sets.push(set); + self.insts.merge(&st); + } +} + +enum Input { + Pack { data: Vec<u8>, records: Vec<pack::Record> }, + Files(Vec<PathBuf>), +} + +impl Input { + fn len(&self) -> usize { + match self { + Input::Pack { records, .. } => records.len(), + Input::Files(f) => f.len(), + } + } + + /// (name, blob); blob is None when a record does not inflate + fn get(&self, i: usize) -> (String, Option<Vec<u8>>) { + match self { + Input::Pack { data, records } => (format!("{} @{:#x}", records[i].name, records[i].offset), pack::inflate(data, &records[i])), + Input::Files(f) => (f[i].display().to_string(), std::fs::read(&f[i]).ok()), + } + } +} + +fn collect_files(dir: &Path, out: &mut Vec<PathBuf>) { + let Ok(rd) = std::fs::read_dir(dir) else { return }; + let mut entries: Vec<PathBuf> = rd.filter_map(|e| e.ok().map(|e| e.path())).collect(); + entries.sort(); + for p in entries { + if p.is_dir() { + collect_files(&p, out); + continue; + } + let name = p.file_name().map(|n| n.to_string_lossy().to_lowercase()).unwrap_or_default(); + // our own side files in <dane>\shaders\ (FSSM dumps, listings) + if name.ends_with(".txt") || name.contains(".fssm") { + continue; + } + out.push(p); + } +} + +fn analyze(input: &Input, recomp_on: bool, keep: usize, iface_on: bool) -> Agg { + let n = input.len(); + let next = AtomicUsize::new(0); + let threads = std::thread::available_parallelism().map(|n| n.get()).unwrap_or(4).min(32); + let parts: Vec<Agg> = std::thread::scope(|s| { + let handles: Vec<_> = (0..threads) + .map(|_| { + s.spawn(|| { + let mut a = Agg { recomp_on, keep, iface_on, ..Default::default() }; + loop { + let i = next.fetch_add(1, Ordering::Relaxed); + if i >= n { + break; + } + match input.get(i) { + (name, Some(blob)) => a.add(&name, &blob), + (_, None) => a.inflate_errors += 1, + } + } + a + }) + }) + .collect(); + handles.into_iter().map(|h| h.join().unwrap()).collect() + }); + let mut agg = Agg { recomp_on, keep, iface_on, ..Default::default() }; + for p in parts { + agg.merge(p); + } + agg +} + +fn fmt_map(m: &BTreeMap<String, usize>) -> String { + let mut v: Vec<_> = m.iter().collect(); + v.sort_by(|a, b| b.1.cmp(a.1).then_with(|| a.0.cmp(b.0))); + v.iter().map(|(k, c)| format!("{k} {c}")).collect::<Vec<_>>().join(", ") +} + +/// Mnemonics in implementation order: used by the most shaders first (ties: more +/// frequent first) – the order that unlocks whole shaders soonest. +fn by_shader_count(agg: &Agg, ranked: &[(String, u64)]) -> Vec<String> { + let mut v: Vec<(&String, usize, u64)> = ranked.iter().map(|(m, c)| (m, agg.shader_count.get(m).copied().unwrap_or(0), *c)).collect(); + v.sort_by(|a, b| b.1.cmp(&a.1).then(b.2.cmp(&a.2)).then_with(|| a.0.cmp(b.0))); + v.into_iter().map(|x| x.0.clone()).collect() +} + +/// Shaders whose every mnemonic is among the first `k` of `order`. +fn coverage(agg: &Agg, order: &[String], ks: &[usize]) -> Vec<(usize, usize)> { + let rank: HashMap<&str, usize> = order.iter().enumerate().map(|(i, m)| (m.as_str(), i)).collect(); + let max_rank: Vec<usize> = agg.sets.iter().map(|s| s.iter().map(|m| rank[m.as_str()] + 1).max().unwrap_or(0)).collect(); + ks.iter().map(|&k| (k, max_rank.iter().filter(|&&r| r <= k).count())).collect() +} + +pub fn run(path: &Path, args: &[String]) -> i32 { + let opt = |name: &str| args.iter().position(|a| a == name).and_then(|i| args.get(i + 1)).and_then(|v| v.parse::<usize>().ok()); + let top = opt("--top").unwrap_or(60); + let json = args.iter().any(|a| a == "--json"); + let compile = opt("--compile").unwrap_or(0); + let recomp_on = compile > 0 || args.iter().any(|a| a == "--recomp"); + let iface_on = args.iter().any(|a| a == "--iface"); + if let Some(m) = args.iter().position(|a| a == "--example").and_then(|i| args.get(i + 1)) { + let _ = EXAMPLE_FOR.set(m.clone()); + } + let t0 = std::time::Instant::now(); + + let (input, what) = if path.is_dir() { + let mut files = Vec::new(); + collect_files(path, &mut files); + let n = files.len(); + (Input::Files(files), format!("folder, {n} plików")) + } else { + let data = match std::fs::read(path) { + Ok(d) => d, + Err(e) => { + eprintln!("xcl shaders: {}: {e}", path.display()); + return 2; + } + }; + if data.starts_with(pack::RPF9_MAGIC) { + let records = pack::scan(&data, 0x40); + let what = format!("paczka RPF9 {:.1} MB, {} rekordów shaderów", data.len() as f64 / 1048576.0, records.len()); + (Input::Pack { data, records }, what) + } else { + let mut a = Agg { recomp_on, keep: compile, iface_on, ..Default::default() }; + a.add(&path.display().to_string(), &data); + return print(path, "pojedynczy plik", a, top, json, t0, compile); + } + }; + let agg = analyze(&input, recomp_on, compile, iface_on); + drop(input); + print(path, &what, agg, top, json, t0, compile) +} + +/// Compile the kept HLSL samples with DXC on all cores: (ok, failures with the first error line). +fn compile_samples(samples: &[(String, String, &'static str)]) -> (usize, Vec<String>) { + let next = AtomicUsize::new(0); + let done = AtomicUsize::new(0); + let times: Mutex<Vec<(f64, usize, String)>> = Mutex::new(Vec::new()); + let threads = std::thread::available_parallelism().map(|n| n.get()).unwrap_or(4).min(16); + let parts: Vec<(usize, Vec<String>)> = std::thread::scope(|s| { + let hs: Vec<_> = (0..threads) + .map(|_| { + s.spawn(|| { + let (mut ok, mut bad) = (0usize, Vec::new()); + loop { + let i = next.fetch_add(1, Ordering::Relaxed); + let Some((name, hlsl, profile)) = samples.get(i) else { break }; + let t0 = std::time::Instant::now(); + match recomp::dxc::compile(hlsl, "main", profile, &[]) { + Ok(_) => ok += 1, + Err(e) => bad.push(format!("{name}: {}", e.lines().find(|l| l.contains("error")).unwrap_or(e.as_str()))), + } + times.lock().unwrap().push((t0.elapsed().as_secs_f64(), hlsl.len(), name.clone())); + let n = done.fetch_add(1, Ordering::Relaxed) + 1; + if n % 100 == 0 { + eprintln!("DXC: {n}/{}", samples.len()); + } + } + (ok, bad) + }) + }) + .collect(); + hs.into_iter().map(|h| h.join().unwrap()).collect() + }); + let ok = parts.iter().map(|p| p.0).sum(); + let mut t = times.into_inner().unwrap(); + t.sort_by(|a, b| a.0.total_cmp(&b.0)); + if !t.is_empty() { + let q = |f: f64| t[((t.len() - 1) as f64 * f) as usize].0; + let sum: f64 = t.iter().map(|x| x.0).sum(); + println!( + "DXC czas na shader: mediana {:.2} s, p90 {:.2} s, max {:.2} s, suma {:.0} s (wątki: równolegle)", + q(0.5), + q(0.9), + q(1.0), + sum + ); + for (secs, len, name) in t.iter().rev().take(5) { + println!(" {secs:.1} s, HLSL {} KB: {name}", len / 1024); + } + } + (ok, parts.into_iter().flat_map(|p| p.1).collect()) +} + +#[allow(clippy::too_many_arguments)] +fn print(path: &Path, what: &str, agg: Agg, top: usize, json: bool, t0: std::time::Instant, compile: usize) -> i32 { + let rc = &agg.rc; + let compiled = if compile > 0 && !rc.samples.is_empty() { Some(compile_samples(&rc.samples)) } else { None }; + let mut missing: Vec<(&String, &(usize, usize))> = rc.missing.iter().collect(); + missing.sort_by(|a, b| b.1 .1.cmp(&a.1 .1).then_with(|| a.0.cmp(b.0))); + let ranked = agg.insts.sorted(); + let ks: Vec<usize> = [10, 25, 50, 75, 100, 150, 200, 300].into_iter().filter(|&k| k < ranked.len()).chain([ranked.len()]).collect(); + let order = by_shader_count(&agg, &ranked); + let cov = coverage(&agg, &order, &ks); + let n_xbox = agg.sets.len(); + let total_inst = agg.insts.instructions.max(1); + + if json { + let mnemonics: Vec<serde_json::Value> = ranked + .iter() + .map(|(m, c)| serde_json::json!({ "mnemonic": m, "count": c, "shaders": agg.shader_count.get(m).copied().unwrap_or(0) })) + .collect(); + let v = serde_json::json!({ + "path": path.display().to_string(), + "source": what, + "shaders": agg.total, + "inflate_errors": agg.inflate_errors, + "by_kind": agg.by_kind, + "by_dxil_stage": agg.by_stage, + "by_hw_stage": agg.by_hw, + "fssm": agg.fssm, + "programs": agg.programs, + "embedded_data_blocks": agg.data_blocks, + "fssm_without_code": agg.no_code, + "parse_problems": agg.failed_count, + "parse_problem_examples": agg.failed, + "unusual": agg.odd_count, + "unusual_examples": agg.odd, + "instructions": agg.insts.instructions, + "undecoded_dwords": agg.insts.undecoded, + "distinct_mnemonics": ranked.len(), + "implementation_order": order, + "coverage_top_k": cov.iter().map(|(k, c)| serde_json::json!({ "k": k, "shaders": c })).collect::<Vec<_>>(), + "mnemonics": mnemonics, + "recomp": agg.recomp_on.then(|| serde_json::json!({ + "programs": rc.programs, + "complete": rc.complete, + "wave32_programs": rc.wave32, + "translate_errors": rc.errors, + "translate_error_examples": rc.error_examples, + "hlsl_bytes": rc.hlsl_bytes, + "missing": missing.iter().map(|(m, (n, p))| serde_json::json!({ + "mnemonic": m, "instructions": n, "programs": p, "sole_blocker": rc.sole.get(*m).copied().unwrap_or(0) + })).collect::<Vec<_>>(), + "dxc_compiled": compiled.as_ref().map(|c| c.0), + "dxc_failed": compiled.as_ref().map(|c| c.1.clone()), + })), + "seconds": t0.elapsed().as_secs_f64(), + }); + println!("{}", serde_json::to_string_pretty(&v).unwrap()); + return 0; + } + + println!("{} – {what}", path.display()); + println!("shaderów: {}{}", agg.total, if agg.inflate_errors > 0 { format!(" (+{} rekordów nie dało się rozpakować)", agg.inflate_errors) } else { String::new() }); + println!("formaty: {}", fmt_map(&agg.by_kind)); + if n_xbox == 0 { + println!("brak kontenerów konsolowych (xbox-native)"); + return 0; + } + println!("etapy (DXIL): {}", fmt_map(&agg.by_stage)); + println!("warianty FSSM wg etapu sprzętowego: {}", fmt_map(&agg.by_hw)); + println!("FSSM: {}, programów: {}, bloków danych w kodzie: {}, FSSM bez kodu: {}", agg.fssm, agg.programs, agg.data_blocks, agg.no_code); + println!( + "instrukcje RDNA2: {}, niezdekodowane dwordy: {} ({:.4}%), różnych mnemoników: {}", + agg.insts.instructions, + agg.insts.undecoded, + agg.insts.undecoded as f64 * 100.0 / (agg.insts.instructions + agg.insts.undecoded).max(1) as f64, + ranked.len() + ); + if agg.failed_count > 0 { + println!("problemy z parsowaniem: {} kontenerów, np.:", agg.failed_count); + for f in &agg.failed { + println!(" {f}"); + } + } + if agg.odd_count > 0 { + println!("nietypowe: {} kontenerów (kilka programów w FSSM lub niezdekodowane dwordy), np.:", agg.odd_count); + for o in agg.odd.iter().take(10) { + println!(" {o}"); + } + } + println!("pokrycie: shadery złożone wyłącznie z K pierwszych mnemoników (kolejność: w ilu shaderach występuje):"); + for (k, c) in &cov { + let last = order.get(k.saturating_sub(1)).map(String::as_str).unwrap_or(""); + println!(" K = {k:>4}: {c:>6} / {n_xbox} ({:>5.1}%) K-ty: {last}", *c as f64 * 100.0 / n_xbox as f64); + } + println!("top {} mnemoników (liczba, % instrukcji, % narastająco, w ilu shaderach):", top.min(ranked.len())); + let mut cum = 0u64; + for (i, (m, c)) in ranked.iter().take(top).enumerate() { + cum += c; + let sc = agg.shader_count.get(m).copied().unwrap_or(0); + println!( + " {:>4}. {m:<34} {c:>10} {:>6.2}% {:>6.2}% {sc:>6} ({:.0}%)", + i + 1, + *c as f64 * 100.0 / total_inst as f64, + cum as f64 * 100.0 / total_inst as f64, + sc as f64 * 100.0 / n_xbox as f64 + ); + } + if agg.iface_on { + let i = &agg.iface; + println!("interfejs (hipotezy):"); + println!( + " PS: {} programów z v_interp; atrybuty ⊆ rejestry ISG1: {}, = rejestry ISG1: {}, atrybut < liczba elementów bez SV (ranga): {}", + i.ps, i.ps_in_regs, i.ps_eq_regs, i.ps_rank + ); + for e in &i.ps_examples { + println!(" {e}"); + } + println!( + " PS: SPI_PS_INPUT_ENA z FSSM+0x248 tłumaczy I/J v_interp: {} / {}, wszystkie VGPR czytane przed zapisem mieszczą się w układzie: {} / {}", + i.ps_ena_ij, i.ps, i.ps_ena_reads, i.ps + ); + for e in &i.ps_ena_examples { + println!(" {e}"); + } + println!( + " VS: {} programów; exp param ⊆ rejestry OSG1: {}, = rejestry OSG1: {}, param < liczba elementów bez SV (ranga): {}", + i.vs, i.vs_param_in_regs, i.vs_param_eq, i.vs_rank + ); + for e in &i.vs_param_examples { + println!(" {e}"); + } + println!( + " VS wejścia (VGPR ≥ v4 czytane przed zapisem): {} programów; zgodne z v4+4·rejestr: {}, z upakowaniem kolejnych atrybutów: {}", + i.vs_inputs, i.vs_in_vec4, i.vs_in_packed + ); + for e in &i.vs_input_examples { + println!(" {e}"); + } + println!(" wejścia wg etapu (API etap sprzętowy: rejestr czytany przed zapisem → w ilu programach; eksporty; s_sendmsg):"); + let sreg = |r: u64| match r { + 106 => "vcc_lo".to_string(), + 107 => "vcc_hi".to_string(), + 124 => "m0".to_string(), + 126 => "exec_lo".to_string(), + 127 => "exec_hi".to_string(), + r => format!("s{r}"), + }; + let tgt = |t: u64| match t { + 0..=7 => format!("mrt{t}"), + 8 => "mrtz".into(), + 9 => "null".into(), + 12..=15 => format!("pos{}", t - 12), + 20 => "prim".into(), + 32..=63 => format!("param{}", t - 32), + t => format!("tgt{t}"), + }; + for (k, e) in &i.inputs { + let pct = |n: usize| n * 100 / e.programs.max(1); + let list = |m: &BTreeMap<u64, usize>, f: &dyn Fn(u64) -> String| { + m.iter().filter(|(_, &n)| pct(n) >= 1).map(|(r, &n)| format!("{} {}%", f(*r), pct(n))).collect::<Vec<_>>().join(", ") + }; + println!(" {k}: {} programów", e.programs); + println!(" VGPR: {}", list(&e.vgpr, &|r| format!("v{r}"))); + println!(" SGPR: {}", list(&e.sgpr, &sreg)); + println!(" exp: {}", list(&e.exports, &tgt)); + println!(" sendmsg: {}", list(&e.sendmsg, &|m| m.to_string())); + let mut ps: Vec<_> = e.psv.iter().collect(); + ps.sort_by(|a, b| b.1.cmp(a.1)); + println!(" PSV0: {}", ps.iter().take(6).map(|(k, n)| format!("{k}: {n}")).collect::<Vec<_>>().join("; ")); + let mut fu: Vec<_> = e.first_use.iter().collect(); + fu.sort_by(|a, b| a.0.split(':').next().cmp(&b.0.split(':').next()).then(b.1.cmp(a.1))); + let mut shown: BTreeMap<String, usize> = BTreeMap::new(); + for (k, n) in fu { + let reg = k.split(':').next().unwrap_or("").to_string(); + let c = shown.entry(reg).or_default(); + if *c < 4 && *n * 100 >= e.programs { + println!(" pierwsze użycie {k} ({n})"); + } + *c += 1; + } + } + println!(" układ wejść VS (najmniejsza baza B: wejścia ⊆ B + 4·rejestr + komponent): {}", fmt_map(&i.vs_base)); + } + if agg.recomp_on { + println!( + "recompiler (tryb kernel): programów {}, przetłumaczonych w całości {} ({:.1}%), błędów tłumaczenia {}, wave32: {}, HLSL: {:.1} MB", + rc.programs, + rc.complete, + rc.complete as f64 * 100.0 / rc.programs.max(1) as f64, + rc.errors, + rc.wave32, + rc.hlsl_bytes as f64 / 1048576.0 + ); + for e in &rc.error_examples { + println!(" błąd: {e}"); + } + for (m, (n, c)) in &rc.by_mode { + println!(" tryb {m}: {n} programów, w całości {c} ({:.1}%)", *c as f64 * 100.0 / (*n).max(1) as f64); + } + println!("brakujące instrukcje (w ilu programach; ile programów blokuje jako jedyna brakująca; liczba wystąpień):"); + for (m, (n, p)) in missing.iter().take(top) { + println!(" {m:<34} {p:>6} {:>6} {n:>9}", rc.sole.get(*m).copied().unwrap_or(0)); + } + let mut why: Vec<(&String, &usize)> = rc.why.iter().collect(); + why.sort_by(|a, b| b.1.cmp(a.1).then_with(|| a.0.cmp(b.0))); + println!("powody (instrukcja: powód → w ilu programach):"); + for (k, v) in why.iter().take(top) { + println!(" {k:<60} {v:>6}"); + } + if let Some((x, hlsl, profile)) = &rc.example { + println!("przykład: +{x}"); + match recomp::dxc::compile(hlsl, "main", profile, &[]) { + Ok(b) => println!("DXC ({profile}): OK, {} B DXIL", b.len()), + Err(e) => println!("DXC ({profile}): {}", e.split("--- HLSL ---").next().unwrap_or("").trim()), + } + if let Ok(path) = std::env::var("XCL_EXAMPLE_HLSL") { + let _ = std::fs::write(&path, hlsl); + println!("HLSL zapisany: {path}"); + } + } + if let Some((ok, bad)) = &compiled { + println!("DXC (vs/ps/cs_6_6) na próbce pełnych tłumaczeń: {ok} OK, {} błędów", bad.len()); + for b in bad.iter().take(10) { + println!(" {b}"); + } + } + } + println!("czas: {:.1} s", t0.elapsed().as_secs_f64()); + 0 +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::gpu::xbox::tests::{fssm, sample, CODE}; + + #[test] + fn aggregates_console_shaders() { + let mut a = Agg::default(); + a.add("PS_a", &sample(0, &[fssm(&CODE, &[(5, 1)])])); + a.add("VS_b", &sample(1, &[fssm(&CODE, &[(2, 0)]), fssm(&CODE, &[(4, 0)])])); + a.add("junk", b"not a shader"); + assert_eq!(a.total, 3); + assert_eq!(a.by_kind.get("xbox-native"), Some(&2)); + assert_eq!(a.by_hw.get("ES"), Some(&1)); + assert_eq!(a.fssm, 3); + assert_eq!(a.programs, 3); + assert_eq!(a.insts.instructions, 9); + assert_eq!(a.failed_count, 0, "{:?}", a.failed); + assert_eq!(a.shader_count.get("s_endpgm"), Some(&2)); + let ranked = a.insts.sorted(); + let order = by_shader_count(&a, &ranked); + assert_eq!(order.len(), 3); + let cov = coverage(&a, &order, &[1, 3]); + assert_eq!(cov, vec![(1, 0), (3, 2)]); + } + + /// Real data check (skipped unless XCL_SAMPLE_RPF points at an RPF9 shader pack). + #[test] + fn retail_pack_sample() { + let Ok(p) = std::env::var("XCL_SAMPLE_RPF") else { + println!("XCL_SAMPLE_RPF nie ustawione – pomijam"); + return; + }; + let data = std::fs::read(&p).unwrap(); + let mut records = pack::scan(&data, 0x40); + records.truncate(300); + let agg = analyze(&Input::Pack { data, records }, false, 0, false); + assert_eq!(agg.inflate_errors, 0); + assert_eq!(agg.by_kind.get("xbox-native"), Some(&agg.total), "{:?}", agg.by_kind); + assert_eq!(agg.failed_count, 0, "{:?}", agg.failed); + assert_eq!(agg.insts.undecoded, 0); + } +} diff --git a/crates/xcl/src/state.rs b/crates/xcl/src/state.rs new file mode 100644 index 0000000..2b34165 --- /dev/null +++ b/crates/xcl/src/state.rs @@ -0,0 +1,31 @@ +//! Global host state (set once at host start; defaults in unit tests). + +use std::sync::OnceLock; + +use crate::config::{Boot, Config}; + +static BOOT: OnceLock<Boot> = OnceLock::new(); +static DEFAULT_CONFIG: OnceLock<Config> = OnceLock::new(); + +pub fn set_boot(b: Boot) { + let _ = BOOT.set(b); +} + +pub fn boot() -> Option<&'static Boot> { + BOOT.get() +} + +pub fn config() -> &'static Config { + match BOOT.get() { + Some(b) => &b.config, + None => DEFAULT_CONFIG.get_or_init(Config::default), + } +} + +/// Folder for title data (saves, PLS, temp…) – a temp folder when no boot record. +pub fn data_dir() -> std::path::PathBuf { + match BOOT.get() { + Some(b) => b.data_dir.clone(), + None => std::env::temp_dir().join("xcl_unit_data"), + } +} diff --git a/crates/xcl/src/stubs.rs b/crates/xcl/src/stubs.rs new file mode 100644 index 0000000..60e9058 --- /dev/null +++ b/crates/xcl/src/stubs.rs @@ -0,0 +1,273 @@ +//! Automatic stubs for functions XCL does not implement yet. +//! +//! Each stub is a tiny x64 thunk: +//! ```text +//! sub rsp, 0x28 +//! mov rcx, <StubInfo*> +//! mov rdx, [rsp+0x28] ; return address = caller +//! mov rax, <stub_report> +//! call rax +//! add rsp, 0x28 +//! ret ; rax = configured return value +//! ``` +//! Argument registers are clobbered but the stub never looks at them; RCX/RDX are +//! volatile in the Win64 ABI so the caller does not care either. + +use std::collections::HashMap; +use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; +use std::sync::{Mutex, OnceLock}; + +use serde::Deserialize; + +use crate::util::parse_ret; + +pub struct StubInfo { + pub dll: String, + pub name: String, + pub ret: u64, + pub calls: AtomicU64, + pub first_caller: AtomicUsize, + /// Optional `fn(&StubInfo, caller)` invoked on every call (e.g. present heuristics). + pub hook: AtomicUsize, +} + +pub type StubHook = fn(&StubInfo, usize); + +static ALL: Mutex<Vec<&'static StubInfo>> = Mutex::new(Vec::new()); +static ARENA: Mutex<(usize, usize)> = Mutex::new((0, 0)); // (next, end) +static BY_KEY: OnceLock<Mutex<HashMap<String, usize>>> = OnceLock::new(); + +const THUNK_SIZE: usize = 48; +const ARENA_CHUNK: usize = 64 * 1024; + +/// Count a call, log the first one, run the hook. +pub fn record_call(info: &StubInfo, caller: usize) { + let n = info.calls.fetch_add(1, Ordering::Relaxed); + if n == 0 { + info.first_caller.store(caller, Ordering::Relaxed); + crate::xlog_warn!( + "[STUB] {}!{} wywołane po raz pierwszy z {} → zwracam {:#x}", + info.dll, + info.name, + crate::modules::describe_address(caller), + info.ret + ); + } + let h = info.hook.load(Ordering::Acquire); + if h != 0 { + let f: StubHook = unsafe { std::mem::transmute(h) }; + f(info, caller); + } +} + +unsafe extern "system" fn stub_report(info: *const StubInfo, caller: usize) -> u64 { + let info = &*info; + record_call(info, caller); + info.ret +} + +/// A StubInfo that is not backed by a stub thunk (used by D3D12.X slot guards). +pub fn new_info(dll: &str, name: &str, ret: u64) -> &'static StubInfo { + let info: &'static StubInfo = Box::leak(Box::new(StubInfo { + dll: dll.to_string(), + name: name.to_string(), + ret, + calls: AtomicU64::new(0), + first_caller: AtomicUsize::new(0), + hook: AtomicUsize::new(0), + })); + ALL.lock().unwrap().push(info); + info +} + +/// Allocate `size` bytes of executable memory for generated thunks. +pub fn alloc_code(size: usize) -> *mut u8 { + use windows_sys::Win32::System::Memory::{VirtualAlloc, MEM_COMMIT, MEM_RESERVE, PAGE_EXECUTE_READWRITE}; + let size = (size + 15) & !15; + let mut a = ARENA.lock().unwrap(); + if a.0 == 0 || a.0 + size > a.1 { + let p = unsafe { + VirtualAlloc(std::ptr::null(), ARENA_CHUNK, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE) + } as usize; + assert!(p != 0, "VirtualAlloc for stub arena failed"); + *a = (p, p + ARENA_CHUNK); + } + let p = a.0; + a.0 += size; + p as *mut u8 +} + +fn alloc_thunk() -> *mut u8 { + alloc_code(THUNK_SIZE) +} + +pub fn info_of_stub(addr: usize) -> Option<&'static StubInfo> { + let map = BY_KEY.get()?; + let g = map.lock().ok()?; + let key = g.iter().find(|(_, &a)| a == addr).map(|(k, _)| k.clone())?; + drop(g); + ALL.lock().ok()?.iter().copied().find(|s| format!("{}!{}", s.dll.to_ascii_lowercase(), s.name) == key) +} + +/// Create (or reuse) a stub for `dll!name`. Returns the callable address. +pub fn make_stub(dll: &str, name: &str, ret: u64) -> usize { + make_stub_info(dll, name, ret).0 +} + +/// Like `make_stub`, also returning the StubInfo (to attach a hook). +pub fn make_stub_info(dll: &str, name: &str, ret: u64) -> (usize, &'static StubInfo) { + let key = format!("{}!{}", dll.to_ascii_lowercase(), name); + let map = BY_KEY.get_or_init(|| Mutex::new(HashMap::new())); + if let Some(&addr) = map.lock().unwrap().get(&key) { + let info = ALL.lock().unwrap().iter().copied().find(|s| s.dll.eq_ignore_ascii_case(dll) && s.name == name); + if let Some(i) = info { + return (addr, i); + } + } + let info: &'static StubInfo = Box::leak(Box::new(StubInfo { + dll: dll.to_string(), + name: name.to_string(), + ret, + calls: AtomicU64::new(0), + first_caller: AtomicUsize::new(0), + hook: AtomicUsize::new(0), + })); + let p = alloc_thunk(); + let mut code: Vec<u8> = Vec::with_capacity(THUNK_SIZE); + code.extend_from_slice(&[0x48, 0x83, 0xEC, 0x28]); // sub rsp, 0x28 + code.extend_from_slice(&[0x48, 0xB9]); // mov rcx, imm64 + code.extend_from_slice(&(info as *const StubInfo as u64).to_le_bytes()); + code.extend_from_slice(&[0x48, 0x8B, 0x54, 0x24, 0x28]); // mov rdx, [rsp+0x28] + code.extend_from_slice(&[0x48, 0xB8]); // mov rax, imm64 + code.extend_from_slice(&(stub_report as usize as u64).to_le_bytes()); + code.extend_from_slice(&[0xFF, 0xD0]); // call rax + code.extend_from_slice(&[0x48, 0x83, 0xC4, 0x28]); // add rsp, 0x28 + code.push(0xC3); // ret + debug_assert!(code.len() <= THUNK_SIZE); + unsafe { + std::ptr::copy_nonoverlapping(code.as_ptr(), p, code.len()); + windows_sys::Win32::System::Diagnostics::Debug::FlushInstructionCache( + windows_sys::Win32::System::Threading::GetCurrentProcess(), + p as *const _, + code.len(), + ); + } + ALL.lock().unwrap().push(info); + map.lock().unwrap().insert(key, p as usize); + (p as usize, info) +} + +pub fn all_stubs() -> Vec<&'static StubInfo> { + ALL.lock().map(|v| v.clone()).unwrap_or_default() +} + +// --------------------------------------------------------------------------------------- +// Stub database: default return values + ordinal names +// --------------------------------------------------------------------------------------- + +#[derive(Deserialize, Default)] +struct RawDb { + #[serde(default)] + module_defaults: HashMap<String, String>, + #[serde(default)] + functions: HashMap<String, String>, + #[serde(default)] + ordinals: HashMap<String, HashMap<String, String>>, +} + +pub struct StubDb { + module_defaults: HashMap<String, u64>, + functions: HashMap<String, u64>, + ordinals: HashMap<String, HashMap<u16, String>>, +} + +static DB: OnceLock<StubDb> = OnceLock::new(); + +const BUILTIN_DB: &str = include_str!("../data/stubdb.toml"); + +impl StubDb { + fn parse(text: &str, overrides: &std::collections::BTreeMap<String, String>) -> StubDb { + let raw: RawDb = toml::from_str(text).unwrap_or_default(); + let mut functions: HashMap<String, u64> = raw + .functions + .iter() + .filter_map(|(k, v)| Some((k.to_ascii_lowercase(), parse_ret(v)?))) + .collect(); + for (k, v) in overrides { + if let Some(r) = parse_ret(v) { + functions.insert(k.to_ascii_lowercase(), r); + } + } + StubDb { + module_defaults: raw + .module_defaults + .iter() + .filter_map(|(k, v)| Some((k.to_ascii_lowercase(), parse_ret(v)?))) + .collect(), + functions, + ordinals: raw + .ordinals + .into_iter() + .map(|(dll, m)| { + ( + dll.to_ascii_lowercase(), + m.into_iter().filter_map(|(o, n)| Some((o.parse().ok()?, n))).collect(), + ) + }) + .collect(), + } + } + + pub fn return_for(&self, dll: &str, name: &str) -> u64 { + let dll = dll.to_ascii_lowercase(); + let n = name.to_ascii_lowercase(); + if let Some(&r) = self.functions.get(&format!("{dll}!{n}")) { + return r; + } + if let Some(&r) = self.functions.get(&format!("*!{n}")) { + return r; + } + self.module_defaults.get(&dll).copied().unwrap_or(0) + } + + pub fn ordinal_name(&self, dll: &str, ordinal: u16) -> Option<&str> { + self.ordinals.get(&dll.to_ascii_lowercase())?.get(&ordinal).map(String::as_str) + } +} + +pub fn init_db(overrides: &std::collections::BTreeMap<String, String>) { + let _ = DB.set(StubDb::parse(BUILTIN_DB, overrides)); +} + +pub fn db() -> &'static StubDb { + DB.get_or_init(|| StubDb::parse(BUILTIN_DB, &Default::default())) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn stub_returns_configured_value_and_counts_calls() { + let addr = make_stub("unit.dll", "Answer", 42); + let f: extern "system" fn(usize, usize, usize, usize, usize) -> u64 = unsafe { std::mem::transmute(addr) }; + assert_eq!(f(1, 2, 3, 4, 5), 42); + assert_eq!(f(0, 0, 0, 0, 0), 42); + let info = all_stubs().into_iter().find(|s| s.name == "Answer").unwrap(); + assert_eq!(info.calls.load(Ordering::Relaxed), 2); + assert_ne!(info.first_caller.load(Ordering::Relaxed), 0); + // same key → same thunk + assert_eq!(make_stub("UNIT.dll", "Answer", 1), addr); + } + + #[test] + fn builtin_db_parses_with_overrides() { + let mut ov = std::collections::BTreeMap::new(); + ov.insert("kernelx.dll!Foo".to_string(), "7".to_string()); + let db = StubDb::parse(BUILTIN_DB, &ov); + assert_eq!(db.return_for("kernelx.dll", "Foo"), 7); + assert_eq!(db.return_for("xgameruntime.dll", "XSomethingUnknown"), 0x8000_4001); + assert_eq!(db.return_for("kernelx.dll", "SomethingUnknown"), 0); + assert_eq!(db.ordinal_name("d3d12_x.dll", 7), Some("D3D12CreateDevice")); + } +} diff --git a/crates/xcl/src/tls.rs b/crates/xcl/src/tls.rs new file mode 100644 index 0000000..8b9582d --- /dev/null +++ b/crates/xcl/src/tls.rs @@ -0,0 +1,456 @@ +//! Static TLS (`__declspec(thread)` / Rust `thread_local!`) for manually mapped images. +//! +//! Problem: the Windows loader only allocates static-TLS blocks for modules it loaded +//! itself. A manually mapped game image would read `ThreadLocalStoragePointer[_tls_index]` +//! and crash. +//! +//! Solution ("TLS carrier"): for every mapped image that has a TLS directory we synthesise +//! a tiny DLL whose own TLS template is at least as large as the game's and load it with +//! `LoadLibraryW`. Windows then owns a real TLS slot for it – allocated for every existing +//! and future thread, re-allocated when other TLS modules load, freed at thread exit. We +//! write that slot's index into the game's `_tls_index` and copy the game's TLS template +//! into the block of each thread: +//! * existing threads – right after the carrier is loaded (via their TEB), +//! * new threads – from `xcl.exe`'s own TLS callback (`on_thread_attach`), which ntdll +//! calls after allocating all TLS blocks and before the thread start routine runs. +//! +//! Two empirical findings on Windows 11 (verified by `carrier_variants_probe`): +//! 1. ntdll only processes the TLS directory of a dynamically loaded DLL that has an +//! import table (it happens during import snapping) – so the carrier imports +//! `KERNEL32!GetTickCount`. +//! 2. `SizeOfZeroFill` is ignored for dynamically loaded DLLs – the block is only +//! `End - Start` bytes. So the whole size lives in the "initialised" range, which is +//! simply zero-filled virtual memory past the end of the section's raw data. + +use std::path::{Path, PathBuf}; +use std::sync::atomic::{AtomicU32, Ordering}; +use std::sync::{Arc, RwLock}; + +use crate::util::wide; + +pub const NO_INDEX: u32 = u32::MAX; + +// --------------------------------------------------------------------------------------- +// Carrier DLL synthesis (pure, unit-tested) +// --------------------------------------------------------------------------------------- + +const CARRIER_BASE: u64 = 0x0000_0001_7F00_0000; +const FILE_ALIGN: usize = 0x200; +const TEXT_RVA: u32 = 0x1000; +const RELOC_RVA: u32 = 0x2000; +pub const DATA_RVA: u32 = 0x3000; +// Offsets inside .data +const OFF_TLS_DIR: u32 = 0x00; +pub const OFF_INDEX: u32 = 0x30; +const OFF_CALLBACKS: u32 = 0x38; +const OFF_IMPORT_DESC: u32 = 0x60; +const OFF_INT: u32 = 0x88; +const OFF_IAT: u32 = 0x98; +const OFF_HINTNAME: u32 = 0xA8; +const OFF_DLLNAME: u32 = 0xB8; +const OFF_TEMPLATE: u32 = 0x100; + +#[derive(Clone, Copy, Debug)] +pub struct CarrierOpts { + pub entry_point: bool, + pub with_import: bool, +} + +impl Default for CarrierOpts { + fn default() -> Self { + CarrierOpts { entry_point: true, with_import: true } + } +} + +fn put16(b: &mut [u8], o: usize, v: u16) { + b[o..o + 2].copy_from_slice(&v.to_le_bytes()); +} +fn put32(b: &mut [u8], o: usize, v: u32) { + b[o..o + 4].copy_from_slice(&v.to_le_bytes()); +} +fn put64(b: &mut [u8], o: usize, v: u64) { + b[o..o + 8].copy_from_slice(&v.to_le_bytes()); +} + +/// TLS block size the carrier must provide for a game template of `total_len` bytes. +pub fn carrier_template_size_for(total_len: u64) -> u32 { + let n = total_len.max(16); + (((n + 15) & !15).min(u32::MAX as u64 - 0x10000)) as u32 +} + +pub fn build_carrier_dll(template_size: u32) -> Vec<u8> { + build_carrier_dll_with(template_size, CarrierOpts::default()) +} + +/// Build a minimal x64 DLL whose TLS block is exactly `template_size` bytes. +pub fn build_carrier_dll_with(template_size: u32, opts: CarrierOpts) -> Vec<u8> { + let template_size = template_size.max(16); + let data_vsize = OFF_TEMPLATE + template_size; + let size_of_image = (DATA_RVA + data_vsize + 0xFFF) & !0xFFF; + let mut f = vec![0u8; FILE_ALIGN * 4]; + // DOS header + f[0] = b'M'; + f[1] = b'Z'; + put32(&mut f, 0x3C, 0x40); + // PE signature + COFF + let nt = 0x40; + f[nt..nt + 4].copy_from_slice(b"PE\0\0"); + let coff = nt + 4; + put16(&mut f, coff, 0x8664); + put16(&mut f, coff + 2, 3); // NumberOfSections + put16(&mut f, coff + 16, 240); // SizeOfOptionalHeader + put16(&mut f, coff + 18, 0x0002 | 0x0020 | 0x2000); // EXECUTABLE | LARGE_ADDRESS_AWARE | DLL + // Optional header (PE32+) + let opt = coff + 20; + put16(&mut f, opt, 0x20B); + f[opt + 2] = 14; + put32(&mut f, opt + 4, FILE_ALIGN as u32); // SizeOfCode + put32(&mut f, opt + 8, (FILE_ALIGN * 2) as u32); // SizeOfInitializedData + put32(&mut f, opt + 16, if opts.entry_point { TEXT_RVA } else { 0 }); + put32(&mut f, opt + 20, TEXT_RVA); // BaseOfCode + put64(&mut f, opt + 24, CARRIER_BASE); + put32(&mut f, opt + 32, 0x1000); // SectionAlignment + put32(&mut f, opt + 36, FILE_ALIGN as u32); + put16(&mut f, opt + 40, 6); // MajorOperatingSystemVersion + put16(&mut f, opt + 48, 6); // MajorSubsystemVersion + put32(&mut f, opt + 56, size_of_image); + put32(&mut f, opt + 60, FILE_ALIGN as u32); // SizeOfHeaders + put16(&mut f, opt + 68, 2); // GUI + put16(&mut f, opt + 70, 0x0020 | 0x0040 | 0x0100); // HIGH_ENTROPY_VA | DYNAMIC_BASE | NX_COMPAT + put64(&mut f, opt + 72, 0x10_0000); + put64(&mut f, opt + 80, 0x1000); + put64(&mut f, opt + 88, 0x10_0000); + put64(&mut f, opt + 96, 0x1000); + put32(&mut f, opt + 108, 16); + let dirs = opt + 112; + let reloc_size: u32 = 8 + 4 * 2; + if opts.with_import { + put32(&mut f, dirs + 8, DATA_RVA + OFF_IMPORT_DESC); + put32(&mut f, dirs + 8 + 4, 40); + put32(&mut f, dirs + 12 * 8, DATA_RVA + OFF_IAT); + put32(&mut f, dirs + 12 * 8 + 4, 16); + } + put32(&mut f, dirs + 5 * 8, RELOC_RVA); + put32(&mut f, dirs + 5 * 8 + 4, reloc_size); + put32(&mut f, dirs + 9 * 8, DATA_RVA + OFF_TLS_DIR); + put32(&mut f, dirs + 9 * 8 + 4, 40); + // Section table: .text, .reloc, .data (last – it grows with the template) + let mut sec = opt + 240; + let mut section = |f: &mut Vec<u8>, name: &[u8], vsize: u32, rva: u32, raw: usize, ch: u32| { + f[sec..sec + name.len()].copy_from_slice(name); + put32(f, sec + 8, vsize); + put32(f, sec + 12, rva); + put32(f, sec + 16, FILE_ALIGN as u32); + put32(f, sec + 20, raw as u32); + put32(f, sec + 36, ch); + sec += 40; + }; + section(&mut f, b".text", 6, TEXT_RVA, FILE_ALIGN, 0x0000_0020 | 0x2000_0000 | 0x4000_0000); + section(&mut f, b".reloc", reloc_size, RELOC_RVA, FILE_ALIGN * 2, 0x0000_0040 | 0x0200_0000 | 0x4000_0000); + section(&mut f, b".data", data_vsize, DATA_RVA, FILE_ALIGN * 3, 0x0000_0040 | 0x4000_0000 | 0x8000_0000); + // .text: DllMain = mov eax, 1 ; ret + f[FILE_ALIGN..FILE_ALIGN + 6].copy_from_slice(&[0xB8, 0x01, 0x00, 0x00, 0x00, 0xC3]); + // .reloc: four DIR64 entries for the TLS directory's VA fields + let r = FILE_ALIGN * 2; + put32(&mut f, r, DATA_RVA); + put32(&mut f, r + 4, reloc_size); + for i in 0..4u16 { + put16(&mut f, r + 8 + i as usize * 2, (10 << 12) | (OFF_TLS_DIR as u16 + i * 8)); + } + // .data: IMAGE_TLS_DIRECTORY64 + let d = FILE_ALIGN * 3; + let va = |off: u32| CARRIER_BASE + (DATA_RVA + off) as u64; + put64(&mut f, d + OFF_TLS_DIR as usize, va(OFF_TEMPLATE)); + put64(&mut f, d + OFF_TLS_DIR as usize + 8, va(OFF_TEMPLATE + template_size)); + put64(&mut f, d + OFF_TLS_DIR as usize + 16, va(OFF_INDEX)); + put64(&mut f, d + OFF_TLS_DIR as usize + 24, va(OFF_CALLBACKS)); + // SizeOfZeroFill = 0, Characteristics = 0 + put32(&mut f, d + OFF_INDEX as usize, NO_INDEX); // sentinel: was a slot assigned? + if opts.with_import { + let desc = d + OFF_IMPORT_DESC as usize; + put32(&mut f, desc, DATA_RVA + OFF_INT); + put32(&mut f, desc + 12, DATA_RVA + OFF_DLLNAME); + put32(&mut f, desc + 16, DATA_RVA + OFF_IAT); + put64(&mut f, d + OFF_INT as usize, (DATA_RVA + OFF_HINTNAME) as u64); + put64(&mut f, d + OFF_IAT as usize, (DATA_RVA + OFF_HINTNAME) as u64); + let hn = d + OFF_HINTNAME as usize + 2; + f[hn..hn + 12].copy_from_slice(b"GetTickCount"); + let dn = d + OFF_DLLNAME as usize; + f[dn..dn + 12].copy_from_slice(b"KERNEL32.dll"); + } + f +} + +// --------------------------------------------------------------------------------------- +// Runtime +// --------------------------------------------------------------------------------------- + +pub struct TlsImage { + pub name: String, + pub template: usize, + pub template_len: usize, + pub index: AtomicU32, +} + +static IMAGES: RwLock<Vec<Arc<TlsImage>>> = RwLock::new(Vec::new()); + +#[repr(C)] +struct ThreadBasicInformation { + exit_status: i32, + teb: *mut u8, + client_id: [usize; 2], + affinity: usize, + priority: i32, + base_priority: i32, +} + +#[link(name = "ntdll", kind = "raw-dylib")] +extern "system" { + fn NtQueryInformationThread( + thread: *mut core::ffi::c_void, + class: u32, + info: *mut core::ffi::c_void, + len: u32, + ret: *mut u32, + ) -> i32; +} + +#[inline(always)] +pub unsafe fn current_teb() -> *mut u8 { + let t: *mut u8; + core::arch::asm!("mov {}, gs:[0x30]", out(reg) t, options(nostack, readonly, preserves_flags)); + t +} + +/// TEB.ThreadLocalStoragePointer (offset 0x58 on x64) [index]. +unsafe fn tls_block_of(teb: *mut u8, index: u32) -> *mut u8 { + if teb.is_null() { + return std::ptr::null_mut(); + } + let arr = *(teb.add(0x58) as *const *mut *mut u8); + if arr.is_null() { + return std::ptr::null_mut(); + } + *arr.add(index as usize) +} + +unsafe fn fill_block(block: *mut u8, img: &TlsImage) { + if block.is_null() || img.template_len == 0 { + return; + } + std::ptr::copy_nonoverlapping(img.template as *const u8, block, img.template_len); +} + +/// Called for every new thread from xcl.exe's TLS callback (DLL_THREAD_ATTACH). +pub unsafe fn on_thread_attach() { + let teb = current_teb(); + let Ok(images) = IMAGES.try_read() else { return }; + for img in images.iter() { + let idx = img.index.load(Ordering::Acquire); + if idx != NO_INDEX { + fill_block(tls_block_of(teb, idx), img); + } + } +} + +unsafe fn fill_existing_threads(img: &TlsImage, index: u32) -> usize { + use windows_sys::Win32::Foundation::{CloseHandle, INVALID_HANDLE_VALUE}; + use windows_sys::Win32::System::Diagnostics::ToolHelp::{ + CreateToolhelp32Snapshot, Thread32First, Thread32Next, TH32CS_SNAPTHREAD, THREADENTRY32, + }; + use windows_sys::Win32::System::Threading::{ + GetCurrentProcessId, GetCurrentThreadId, OpenThread, THREAD_QUERY_INFORMATION, + }; + let me_pid = GetCurrentProcessId(); + let me_tid = GetCurrentThreadId(); + fill_block(tls_block_of(current_teb(), index), img); + let mut filled = 1usize; + let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); + if snap == INVALID_HANDLE_VALUE { + return filled; + } + let mut te: THREADENTRY32 = std::mem::zeroed(); + te.dwSize = std::mem::size_of::<THREADENTRY32>() as u32; + let mut ok = Thread32First(snap, &mut te) != 0; + while ok { + if te.th32OwnerProcessID == me_pid && te.th32ThreadID != me_tid { + let h = OpenThread(THREAD_QUERY_INFORMATION, 0, te.th32ThreadID); + if !h.is_null() { + let mut tbi: ThreadBasicInformation = std::mem::zeroed(); + let st = NtQueryInformationThread( + h, + 0, + &mut tbi as *mut _ as *mut _, + std::mem::size_of::<ThreadBasicInformation>() as u32, + std::ptr::null_mut(), + ); + if st >= 0 { + let b = tls_block_of(tbi.teb, index); + if !b.is_null() { + fill_block(b, img); + filled += 1; + } + } + CloseHandle(h); + } + } + ok = Thread32Next(snap, &mut te) != 0; + } + CloseHandle(snap); + filled +} + +static SEQ: AtomicU32 = AtomicU32::new(0); + +/// Create + load a carrier for `img_name` and wire the image's TLS to it. +/// +/// * `template`/`template_len` – the image's initialised TLS data (already relocated), +/// * `total_len` – template + zero fill, +/// * `index_ptr` – the image's `_tls_index` variable. +pub unsafe fn install( + img_name: &str, + template: usize, + template_len: usize, + total_len: u64, + index_ptr: *mut u32, + cache_dir: &Path, +) -> Result<u32, String> { + use windows_sys::Win32::System::LibraryLoader::LoadLibraryW; + let img = Arc::new(TlsImage { + name: img_name.to_string(), + template, + template_len, + index: AtomicU32::new(NO_INDEX), + }); + IMAGES.write().map_err(|_| "TLS lock poisoned")?.push(img.clone()); + + let size = carrier_template_size_for(total_len); + let bytes = build_carrier_dll(size); + std::fs::create_dir_all(cache_dir).map_err(|e| format!("cache dir: {e}"))?; + let safe: String = img_name + .chars() + .map(|c| if c.is_ascii_alphanumeric() { c } else { '_' }) + .collect(); + let path: PathBuf = cache_dir.join(format!( + "xcl_tls_{}_{}_{}.dll", + std::process::id(), + SEQ.fetch_add(1, Ordering::Relaxed), + safe + )); + std::fs::write(&path, &bytes).map_err(|e| format!("zapis nośnika TLS {}: {e}", path.display()))?; + let h = LoadLibraryW(wide(&path.to_string_lossy()).as_ptr()); + if h.is_null() { + return Err(format!( + "LoadLibrary nośnika TLS nie powiodło się (błąd {})", + windows_sys::Win32::Foundation::GetLastError() + )); + } + let index = *((h as usize + (DATA_RVA + OFF_INDEX) as usize) as *const u32); + if index == NO_INDEX { + return Err("Windows nie przydzielił slotu TLS dla nośnika (katalog TLS zignorowany)".into()); + } + *index_ptr = index; + img.index.store(index, Ordering::Release); + let n = fill_existing_threads(&img, index); + crate::xlog_info!( + "TLS: {img_name}: szablon {template_len} B, blok {size} B, indeks {index}, wątków zainicjowanych: {n}" + ); + Ok(index) +} + +/// Best-effort removal of carrier files left behind by previous runs. +pub fn cleanup_cache(cache_dir: &Path) { + if let Ok(rd) = std::fs::read_dir(cache_dir) { + for e in rd.flatten() { + let n = e.file_name().to_string_lossy().to_string(); + if n.starts_with("xcl_tls_") && n.ends_with(".dll") { + let _ = std::fs::remove_file(e.path()); + } + } + } +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::pe::{Layout, Pe, IMAGE_REL_BASED_DIR64}; + + #[test] + fn carrier_is_a_valid_pe_with_tls_imports_and_relocs() { + let bytes = build_carrier_dll(0x3000); + let pe = Pe::parse(&bytes, Layout::File).unwrap(); + assert!(pe.is_dll()); + assert!(pe.has_relocs()); + let tls = pe.tls().unwrap().unwrap(); + assert_eq!(tls.template_len(), 0x3000); + assert_eq!(tls.size_of_zero_fill, 0); + assert_eq!(pe.va_to_rva(tls.address_of_index), Some(DATA_RVA + OFF_INDEX)); + let relocs = pe.relocations().unwrap(); + assert_eq!(relocs.len(), 4); + assert!(relocs.iter().all(|r| r.kind == IMAGE_REL_BASED_DIR64)); + let imps = pe.imports().unwrap(); + assert_eq!(imps.len(), 1); + assert_eq!(imps[0].dll, "KERNEL32.dll"); + assert!(pe.size_of_image >= DATA_RVA + OFF_TEMPLATE + 0x3000); + } + + #[test] + fn template_size_rounding() { + assert_eq!(carrier_template_size_for(0), 16); + assert_eq!(carrier_template_size_for(17), 32); + assert_eq!(carrier_template_size_for(0x1000), 0x1000); + } + + /// Diagnostic: which carrier variants does this Windows build honour? + /// `cargo test -p xcl carrier_variants_probe -- --ignored --nocapture` + #[test] + #[ignore] + fn carrier_variants_probe() { + use windows_sys::Win32::System::LibraryLoader::LoadLibraryW; + let dir = std::env::temp_dir().join(format!("xcl_tls_probe_{}", std::process::id())); + std::fs::create_dir_all(&dir).unwrap(); + for (i, (entry, imp)) in [(false, false), (true, false), (false, true), (true, true)].into_iter().enumerate() { + let bytes = build_carrier_dll_with(0x1000, CarrierOpts { entry_point: entry, with_import: imp }); + let p = dir.join(format!("probe{i}.dll")); + std::fs::write(&p, bytes).unwrap(); + let h = unsafe { LoadLibraryW(wide(&p.to_string_lossy()).as_ptr()) }; + let idx = (!h.is_null()) + .then(|| unsafe { *((h as usize + (DATA_RVA + OFF_INDEX) as usize) as *const u32) }); + println!("entry={entry} import={imp} -> loaded={} index={idx:?}", !h.is_null()); + } + } + + #[test] + fn windows_loads_carrier_and_allocates_full_block_for_all_threads() { + use windows_sys::Win32::System::Memory::{GetProcessHeap, HeapValidate}; + let dir = std::env::temp_dir().join(format!("xcl_tls_test_{}", std::process::id())); + let mut template = [0u8; 64]; + for (i, b) in template.iter_mut().enumerate() { + *b = i as u8 ^ 0x5A; + } + let template: &'static [u8; 64] = Box::leak(Box::new(template)); + let mut index_var: u32 = 0xDEAD; + let total = 0x2000u64; + let idx = unsafe { + install("unit", template.as_ptr() as usize, 64, total, &mut index_var, &dir).unwrap() + }; + assert_eq!(index_var, idx); + unsafe { + let b = tls_block_of(current_teb(), idx); + assert!(!b.is_null()); + assert_eq!(std::slice::from_raw_parts(b, 64), &template[..]); + // the whole requested size is ours: writing it must not corrupt the heap + std::ptr::write_bytes(b.add(64), 0xCC, total as usize - 64); + assert_ne!(HeapValidate(GetProcessHeap(), 0, std::ptr::null()), 0); + std::ptr::write_bytes(b.add(64), 0, total as usize - 64); + } + let ok = std::thread::spawn(move || unsafe { + on_thread_attach(); + let b = tls_block_of(current_teb(), idx); + !b.is_null() && std::slice::from_raw_parts(b, 64) == &template[..] + }) + .join() + .unwrap(); + assert!(ok); + } +} diff --git a/crates/xcl/src/util.rs b/crates/xcl/src/util.rs new file mode 100644 index 0000000..bc7ea6e --- /dev/null +++ b/crates/xcl/src/util.rs @@ -0,0 +1,219 @@ +//! Small helpers shared by all modules: strings, HRESULTs, GDK-style string outputs. + +use std::ffi::c_void; + +pub type HRESULT = i32; + +pub const S_OK: HRESULT = 0; +pub const S_FALSE: HRESULT = 1; +pub const E_NOTIMPL: HRESULT = 0x8000_4001u32 as i32; +pub const E_NOINTERFACE: HRESULT = 0x8000_4002u32 as i32; +pub const E_POINTER: HRESULT = 0x8000_4003u32 as i32; +pub const E_ABORT: HRESULT = 0x8000_4004u32 as i32; +pub const E_FAIL: HRESULT = 0x8000_4005u32 as i32; +pub const E_PENDING: HRESULT = 0x8000_000Au32 as i32; +pub const E_INVALIDARG: HRESULT = 0x8007_0057u32 as i32; +pub const E_OUTOFMEMORY: HRESULT = 0x8007_000Eu32 as i32; +pub const E_NOT_SUFFICIENT_BUFFER: HRESULT = 0x8007_007Au32 as i32; +pub const E_NOT_FOUND: HRESULT = 0x8007_0490u32 as i32; +pub const E_NOT_SUPPORTED: HRESULT = 0x8007_0032u32 as i32; + +pub fn hresult_from_win32(code: u32) -> HRESULT { + if code == 0 { + 0 + } else { + ((code & 0xFFFF) | 0x8007_0000) as i32 + } +} + +/// Parse a return value spec used by the stub DB and config: "E_NOTIMPL", "S_OK", +/// "0x80004001", "-1", "42". +pub fn parse_ret(s: &str) -> Option<u64> { + let t = s.trim(); + let named = match t.to_ascii_uppercase().as_str() { + "S_OK" | "0" | "FALSE" | "NULL" => Some(0u64), + "S_FALSE" | "TRUE" => Some(1), + "E_NOTIMPL" => Some(E_NOTIMPL as u32 as u64), + "E_NOINTERFACE" => Some(E_NOINTERFACE as u32 as u64), + "E_FAIL" => Some(E_FAIL as u32 as u64), + "E_ABORT" => Some(E_ABORT as u32 as u64), + "E_INVALIDARG" => Some(E_INVALIDARG as u32 as u64), + "E_NOT_SUPPORTED" => Some(E_NOT_SUPPORTED as u32 as u64), + _ => None, + }; + if named.is_some() { + return named; + } + if let Some(h) = t.strip_prefix("0x").or_else(|| t.strip_prefix("0X")) { + return u64::from_str_radix(h, 16).ok(); + } + if let Some(n) = t.strip_prefix('-') { + return n.parse::<u64>().ok().map(|v| (v as i64).wrapping_neg() as u64); + } + t.parse::<u64>().ok() +} + +/// UTF-16, NUL-terminated. +pub fn wide(s: &str) -> Vec<u16> { + s.encode_utf16().chain(std::iter::once(0)).collect() +} + +pub unsafe fn wcslen(p: *const u16) -> usize { + let mut n = 0; + while *p.add(n) != 0 { + n += 1; + } + n +} + +pub unsafe fn from_wide_ptr(p: *const u16) -> Option<String> { + if p.is_null() { + return None; + } + let n = wcslen(p); + Some(String::from_utf16_lossy(std::slice::from_raw_parts(p, n))) +} + +pub unsafe fn from_cstr_ptr(p: *const u8) -> Option<String> { + if p.is_null() { + return None; + } + Some( + std::ffi::CStr::from_ptr(p as *const std::ffi::c_char) + .to_string_lossy() + .into_owned(), + ) +} + +/// ANSI (current code page) → String. Falls back to lossy UTF-8. +pub unsafe fn from_ansi_ptr(p: *const u8) -> Option<String> { + use windows_sys::Win32::Globalization::{MultiByteToWideChar, CP_ACP}; + if p.is_null() { + return None; + } + let len = std::ffi::CStr::from_ptr(p as *const std::ffi::c_char).to_bytes().len(); + if len == 0 { + return Some(String::new()); + } + let n = MultiByteToWideChar(CP_ACP, 0, p, len as i32, std::ptr::null_mut(), 0); + if n <= 0 { + return from_cstr_ptr(p); + } + let mut buf = vec![0u16; n as usize]; + MultiByteToWideChar(CP_ACP, 0, p, len as i32, buf.as_mut_ptr(), n); + Some(String::from_utf16_lossy(&buf)) +} + +/// Normalised DLL key: lower-case file name, ".dll" appended when no extension. +pub fn dll_key(name: &str) -> String { + let base = name.rsplit(['\\', '/']).next().unwrap_or(name); + let mut s = base.trim().to_ascii_lowercase(); + if !s.contains('.') { + s.push_str(".dll"); + } + s +} + +/// Simple glob: only a single trailing or embedded '*' is supported ("api-ms-win-core-*"). +pub fn glob_match(pattern: &str, s: &str) -> bool { + match pattern.split_once('*') { + None => pattern == s, + Some((pre, post)) => s.len() >= pre.len() + post.len() && s.starts_with(pre) && s.ends_with(post), + } +} + +/// GDK-style "copy string into caller buffer" helper: `size` includes the terminator. +pub unsafe fn write_cstr_out(src: &str, buf: *mut u8, size: usize, used: *mut usize) -> HRESULT { + let needed = src.len() + 1; + if !used.is_null() { + *used = needed; + } + if buf.is_null() || size < needed { + return E_NOT_SUFFICIENT_BUFFER; + } + std::ptr::copy_nonoverlapping(src.as_ptr(), buf, src.len()); + *buf.add(src.len()) = 0; + S_OK +} + +/// Win32-style "copy wide string" (GetModuleFileNameW semantics): returns chars written +/// (without terminator) or `size` when truncated. +pub unsafe fn write_wide_out(src: &str, buf: *mut u16, size: u32) -> u32 { + if buf.is_null() || size == 0 { + return 0; + } + let w: Vec<u16> = src.encode_utf16().collect(); + let n = w.len().min(size as usize - 1); + std::ptr::copy_nonoverlapping(w.as_ptr(), buf, n); + *buf.add(n) = 0; + if w.len() >= size as usize { + windows_sys::Win32::Foundation::SetLastError(122); // ERROR_INSUFFICIENT_BUFFER + size + } else { + n as u32 + } +} + +pub unsafe fn write_ansi_out(src: &str, buf: *mut u8, size: u32) -> u32 { + if buf.is_null() || size == 0 { + return 0; + } + let b = src.as_bytes(); + let n = b.len().min(size as usize - 1); + std::ptr::copy_nonoverlapping(b.as_ptr(), buf, n); + *buf.add(n) = 0; + if b.len() >= size as usize { + windows_sys::Win32::Foundation::SetLastError(122); + size + } else { + n as u32 + } +} + +/// Wrapper to keep raw pointers in statics. +#[derive(Clone, Copy, Debug)] +pub struct SendPtr(pub *mut c_void); +unsafe impl Send for SendPtr {} +unsafe impl Sync for SendPtr {} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn dll_keys() { + assert_eq!(dll_key("KERNELX"), "kernelx.dll"); + assert_eq!(dll_key("G:\\Bin\\Foo.DLL"), "foo.dll"); + assert_eq!(dll_key("api-ms-win-core-file-l1-1-0.dll"), "api-ms-win-core-file-l1-1-0.dll"); + } + + #[test] + fn globbing() { + assert!(glob_match("api-ms-win-core-*", "api-ms-win-core-file-l1-1-0.dll")); + assert!(!glob_match("api-ms-win-core-*", "api-ms-win-crt-runtime-l1-1-0.dll")); + assert!(glob_match("xgameruntime*.dll", "xgameruntime.thunks.dll")); + assert!(glob_match("kernelx.dll", "kernelx.dll")); + } + + #[test] + fn return_specs() { + assert_eq!(parse_ret("E_NOTIMPL"), Some(0x8000_4001)); + assert_eq!(parse_ret("0x10"), Some(16)); + assert_eq!(parse_ret("-1"), Some(u64::MAX)); + assert_eq!(parse_ret("7"), Some(7)); + assert_eq!(parse_ret("bogus"), None); + } + + #[test] + fn cstr_out() { + let mut buf = [0u8; 8]; + let mut used = 0usize; + unsafe { + assert_eq!(write_cstr_out("abc", buf.as_mut_ptr(), 8, &mut used), S_OK); + assert_eq!(used, 4); + assert_eq!(&buf[..4], b"abc\0"); + assert_eq!(write_cstr_out("toolongstr", buf.as_mut_ptr(), 8, &mut used), E_NOT_SUFFICIENT_BUFFER); + assert_eq!(used, 11); + } + } +} diff --git a/crates/xcl/src/vfs.rs b/crates/xcl/src/vfs.rs new file mode 100644 index 0000000..fe7596c --- /dev/null +++ b/crates/xcl/src/vfs.rs @@ -0,0 +1,617 @@ +//! Virtual file system (design §5.4). +//! +//! * Console path prefixes (`G:\`, `GAME:`, `T:\` …) are translated via mounts. +//! * The game folder is **read-only**. A write to a game file first copies that single +//! file into `<data>\overlay\` and the write goes to the copy. Reads prefer the +//! overlay. Deleting a game file records a "whiteout" instead of touching the original. +//! * This module is pure logic + std::fs; the Win32 hooks that feed it live in +//! `vfs_hooks.rs`. + +use std::collections::{BTreeSet, HashSet}; +use std::path::{Path, PathBuf}; +use std::sync::{Mutex, OnceLock}; + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum Target { + /// Not ours – use the path unchanged. + Pass, + /// A console path translated to a real, writable location (e.g. T:\ → data\temp). + Translated(String), + /// Inside the (read-only) game folder; `rel` has no leading separator ("" = root). + Game { rel: String }, +} + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum Decision { + Pass, + Use(String), + /// Fail with this Win32 error code. + Fail(u32), +} + +pub const ERROR_FILE_NOT_FOUND: u32 = 2; +pub const ERROR_PATH_NOT_FOUND: u32 = 3; +pub const ERROR_ACCESS_DENIED: u32 = 5; +pub const ERROR_FILE_EXISTS: u32 = 80; +pub const ERROR_ALREADY_EXISTS: u32 = 183; +pub const ERROR_DIR_NOT_EMPTY: u32 = 145; + +const CREATE_NEW: u32 = 1; +const CREATE_ALWAYS: u32 = 2; +const OPEN_EXISTING: u32 = 3; +const OPEN_ALWAYS: u32 = 4; +const TRUNCATE_EXISTING: u32 = 5; + +const WRITE_ACCESS: u32 = 0x4000_0000 // GENERIC_WRITE + | 0x1000_0000 // GENERIC_ALL + | 0x0000_0002 // FILE_WRITE_DATA / ADD_FILE + | 0x0000_0004 // FILE_APPEND_DATA / ADD_SUBDIRECTORY + | 0x0000_0010 // FILE_WRITE_EA + | 0x0000_0100 // FILE_WRITE_ATTRIBUTES + | 0x0001_0000 // DELETE + | 0x0004_0000 // WRITE_DAC + | 0x0008_0000; // WRITE_OWNER +const FILE_FLAG_DELETE_ON_CLOSE: u32 = 0x0400_0000; + +pub struct Vfs { + game_root: String, + game_root_lc: String, + overlay: String, + mounts: Vec<(String, String)>, + whiteouts: Mutex<HashSet<String>>, + whiteout_file: PathBuf, + existing_drives: u32, + unmapped: Mutex<BTreeSet<String>>, + writes: Mutex<BTreeSet<String>>, +} + +static VFS: OnceLock<Vfs> = OnceLock::new(); + +pub fn init(v: Vfs) -> &'static Vfs { + let _ = VFS.set(v); + VFS.get().unwrap() +} + +pub fn get() -> Option<&'static Vfs> { + VFS.get() +} + +fn norm(s: &str) -> String { + s.replace('/', "\\") +} + +fn trim_sep(s: &str) -> String { + s.trim_end_matches('\\').to_string() +} + +fn strip_verbatim(p: &str) -> String { + if let Some(r) = p.strip_prefix("\\\\?\\UNC\\") { + return format!("\\\\{r}"); + } + if let Some(r) = p.strip_prefix("\\\\?\\") { + return r.to_string(); + } + if let Some(r) = p.strip_prefix("\\??\\") { + return r.to_string(); + } + p.to_string() +} + +fn is_device(p: &str) -> bool { + let l = p.to_ascii_lowercase(); + if l.starts_with("\\\\.\\") || l.starts_with("\\\\?\\globalroot") { + return true; + } + let base = l.trim_end_matches(':'); + matches!(base, "con" | "nul" | "prn" | "aux" | "conin$" | "conout$" | "clock$") + || (base.len() == 4 && (base.starts_with("com") || base.starts_with("lpt")) && base.as_bytes()[3].is_ascii_digit()) +} + +/// Full path via GetFullPathNameW (no file system access). +pub fn full_path(p: &str) -> Option<String> { + use windows_sys::Win32::Storage::FileSystem::GetFullPathNameW; + let w = crate::util::wide(p); + let mut buf = vec![0u16; 1024]; + let n = unsafe { GetFullPathNameW(w.as_ptr(), buf.len() as u32, buf.as_mut_ptr(), std::ptr::null_mut()) } as usize; + if n == 0 { + return None; + } + if n > buf.len() { + buf.resize(n + 1, 0); + let n2 = unsafe { GetFullPathNameW(w.as_ptr(), buf.len() as u32, buf.as_mut_ptr(), std::ptr::null_mut()) } as usize; + return (n2 > 0).then(|| String::from_utf16_lossy(&buf[..n2])); + } + Some(String::from_utf16_lossy(&buf[..n])) +} + +fn logical_drives() -> u32 { + unsafe { windows_sys::Win32::Storage::FileSystem::GetLogicalDrives() } +} + +impl Vfs { + pub fn new(game_root: &Path, data_dir: &Path, mounts: Vec<(String, String)>) -> Vfs { + let game_root = trim_sep(&norm(&game_root.to_string_lossy())); + let overlay_dir = data_dir.join("overlay"); + let whiteout_file = overlay_dir.join(".xcl_whiteouts"); + let whiteouts = std::fs::read_to_string(&whiteout_file) + .map(|s| s.lines().filter(|l| !l.is_empty()).map(str::to_string).collect()) + .unwrap_or_default(); + let mut mounts: Vec<(String, String)> = mounts + .into_iter() + .map(|(p, t)| (p.to_ascii_lowercase().trim_end_matches(['\\', '/']).to_string(), trim_sep(&norm(&t)))) + .collect(); + // longest prefix first ("GAME:" before "G:") + mounts.sort_by(|a, b| b.0.len().cmp(&a.0.len())); + Vfs { + game_root_lc: game_root.to_lowercase(), + game_root, + overlay: trim_sep(&norm(&overlay_dir.to_string_lossy())), + mounts, + whiteouts: Mutex::new(whiteouts), + whiteout_file, + existing_drives: logical_drives(), + unmapped: Mutex::new(BTreeSet::new()), + writes: Mutex::new(BTreeSet::new()), + } + } + + pub fn game_root(&self) -> &str { + &self.game_root + } + + fn apply_mounts(&self, p: &str) -> Option<String> { + // to_ascii_lowercase keeps byte offsets, so slicing `p` with prefix.len() is safe + let l = p.to_ascii_lowercase(); + for (prefix, target) in &self.mounts { + if !l.starts_with(prefix.as_str()) { + continue; + } + let rest = &p[prefix.len()..]; + // "G:" / "GAME:" accept anything after the colon ("G:foo" == "G:\foo"); + // directory-style prefixes need a separator boundary. + if !(prefix.ends_with(':') || rest.is_empty() || rest.starts_with('\\')) { + continue; + } + let tail = rest.trim_start_matches('\\'); + return Some(if tail.is_empty() { target.clone() } else { format!("{target}\\{tail}") }); + } + // Embedded "...\GAME:\rest": some runtimes treat "GAME:\x" as a relative path and + // prepend the current directory. A component ending in ':' is never a valid file + // name, so it can only be a console mount. + for (prefix, target) in &self.mounts { + if !prefix.ends_with(':') { + continue; + } + let needle = format!("\\{prefix}"); + let mut from = 0; + while let Some(i) = l[from..].find(&needle) { + let at = from + i; + let after = at + needle.len(); + let rest = &p[after..]; + if rest.is_empty() || rest.starts_with('\\') { + let tail = rest.trim_start_matches('\\'); + return Some(if tail.is_empty() { target.clone() } else { format!("{target}\\{tail}") }); + } + from = after; + } + } + None + } + + /// Classify a path using `full` to absolutise (injected for unit tests). + pub fn classify_with(&self, path: &str, full: impl Fn(&str) -> Option<String>) -> Target { + if path.is_empty() { + return Target::Pass; + } + let p = norm(path); + if is_device(&p) { + return Target::Pass; + } + let p = strip_verbatim(&p); + if p.starts_with("\\\\") { + return Target::Pass; // UNC + } + let (p, translated) = match self.apply_mounts(&p) { + Some(t) => (t, true), + None => (p, false), + }; + if !translated { + let b = p.as_bytes(); + if b.len() >= 2 && b[1] == b':' && b[0].is_ascii_alphabetic() { + let bit = (b[0].to_ascii_uppercase() - b'A') as u32; + if self.existing_drives & (1 << bit) == 0 { + let mut u = self.unmapped.lock().unwrap(); + if u.len() < 1000 && u.insert(p.clone()) { + crate::xlog_warn!("[VFS] niezmapowana ścieżka konsolowa: {p}"); + } + return Target::Pass; + } + } + } + let Some(abs) = full(&p) else { return Target::Pass }; + let abs = trim_sep(&strip_verbatim(&norm(&abs))); + let lc = abs.to_lowercase(); + if lc == self.game_root_lc { + return Target::Game { rel: String::new() }; + } + if let Some(rest) = lc.strip_prefix(&self.game_root_lc) { + if rest.starts_with('\\') { + return Target::Game { rel: abs[self.game_root.len() + 1..].to_string() }; + } + } + if translated { + Target::Translated(abs) + } else { + Target::Pass + } + } + + pub fn classify(&self, path: &str) -> Target { + self.classify_with(path, full_path) + } + + pub fn is_game_path(&self, p: &Path) -> bool { + matches!(self.classify(&p.to_string_lossy()), Target::Game { .. }) + } + + pub fn overlay_path(&self, rel: &str) -> String { + if rel.is_empty() { + self.overlay.clone() + } else { + format!("{}\\{rel}", self.overlay) + } + } + + pub fn original_path(&self, rel: &str) -> String { + if rel.is_empty() { + self.game_root.clone() + } else { + format!("{}\\{rel}", self.game_root) + } + } + + fn wkey(rel: &str) -> String { + rel.to_lowercase() + } + + pub fn is_whiteout(&self, rel: &str) -> bool { + let k = Self::wkey(rel); + let g = self.whiteouts.lock().unwrap(); + if g.is_empty() { + return false; + } + // a whiteout on a parent directory hides everything below it + if g.contains(&k) { + return true; + } + let mut cur = k.as_str(); + while let Some((parent, _)) = cur.rsplit_once('\\') { + if g.contains(parent) { + return true; + } + cur = parent; + } + false + } + + pub fn has_whiteouts_under(&self, rel_dir: &str) -> bool { + let k = Self::wkey(rel_dir); + let g = self.whiteouts.lock().unwrap(); + if k.is_empty() { + return !g.is_empty(); + } + let pre = format!("{k}\\"); + g.iter().any(|w| w.starts_with(&pre)) + } + + fn persist_whiteouts(&self, g: &HashSet<String>) { + let _ = std::fs::create_dir_all(&self.overlay); + let mut v: Vec<&String> = g.iter().collect(); + v.sort(); + let body: String = v.into_iter().map(|s| format!("{s}\n")).collect(); + let _ = std::fs::write(&self.whiteout_file, body); + } + + fn add_whiteout(&self, rel: &str) { + let mut g = self.whiteouts.lock().unwrap(); + if g.insert(Self::wkey(rel)) { + self.persist_whiteouts(&g); + } + } + + fn remove_whiteout(&self, rel: &str) { + let mut g = self.whiteouts.lock().unwrap(); + let k = Self::wkey(rel); + let mut changed = g.remove(&k); + // re-creating something below a whited-out parent un-hides the parent path + let mut cur = k.as_str(); + while let Some((parent, _)) = cur.rsplit_once('\\') { + changed |= g.remove(parent); + cur = parent; + } + if changed { + self.persist_whiteouts(&g); + } + } + + fn record_write(&self, rel: &str) { + let mut w = self.writes.lock().unwrap(); + if w.len() < 10_000 && w.insert(rel.to_string()) { + crate::xlog_info!("[VFS] zapis do pliku gry przekierowany do nakładki: {rel}"); + } + } + + pub fn visible_in_overlay(&self, rel: &str) -> bool { + Path::new(&self.overlay_path(rel)).exists() + } + + pub fn visible_in_original(&self, rel: &str) -> bool { + !self.is_whiteout(rel) && Path::new(&self.original_path(rel)).exists() + } + + /// Real path to read `path` from. None = hidden by a whiteout. + pub fn real_path_for_read(&self, path: &str) -> Option<String> { + match self.classify(path) { + Target::Pass => Some(path.to_string()), + Target::Translated(p) => Some(p), + Target::Game { rel } => self.read_path_rel(&rel), + } + } + + pub fn read_path_rel(&self, rel: &str) -> Option<String> { + if self.visible_in_overlay(rel) { + return Some(self.overlay_path(rel)); + } + if self.is_whiteout(rel) { + return None; + } + Some(self.original_path(rel)) + } + + /// Ensure `rel` exists in the overlay (copying the original when `keep_content`) + /// and return the overlay path. + pub fn prepare_write(&self, rel: &str, keep_content: bool) -> Result<String, u32> { + let ov = self.overlay_path(rel); + if let Some(parent) = Path::new(&ov).parent() { + std::fs::create_dir_all(parent).map_err(|_| ERROR_PATH_NOT_FOUND)?; + } + if keep_content && !Path::new(&ov).exists() && self.visible_in_original(rel) { + let orig = self.original_path(rel); + if Path::new(&orig).is_dir() { + std::fs::create_dir_all(&ov).map_err(|_| ERROR_ACCESS_DENIED)?; + } else { + std::fs::copy(&orig, &ov).map_err(|_| ERROR_ACCESS_DENIED)?; + } + } + self.remove_whiteout(rel); + self.record_write(rel); + Ok(ov) + } + + fn is_write(access: u32, disposition: u32, flags: u32) -> bool { + access & WRITE_ACCESS != 0 + || matches!(disposition, CREATE_NEW | CREATE_ALWAYS | TRUNCATE_EXISTING) + || flags & FILE_FLAG_DELETE_ON_CLOSE != 0 + } + + pub fn open_decision_for(&self, target: Target, access: u32, disposition: u32, flags: u32) -> Decision { + match target { + Target::Pass => Decision::Pass, + Target::Translated(p) => { + if Self::is_write(access, disposition, flags) || disposition == OPEN_ALWAYS { + if let Some(parent) = Path::new(&p).parent() { + let _ = std::fs::create_dir_all(parent); + } + } + Decision::Use(p) + } + Target::Game { rel } => { + let in_ov = self.visible_in_overlay(&rel); + let in_orig = self.visible_in_original(&rel); + let visible = in_ov || in_orig; + let write = Self::is_write(access, disposition, flags) || (disposition == OPEN_ALWAYS && !visible); + if !write { + return match self.read_path_rel(&rel) { + Some(p) => Decision::Use(p), + None => Decision::Fail(ERROR_FILE_NOT_FOUND), + }; + } + match disposition { + CREATE_NEW if visible => return Decision::Fail(ERROR_FILE_EXISTS), + OPEN_EXISTING | TRUNCATE_EXISTING if !visible => return Decision::Fail(ERROR_FILE_NOT_FOUND), + _ => {} + } + let keep = matches!(disposition, OPEN_EXISTING | OPEN_ALWAYS); + match self.prepare_write(&rel, keep) { + Ok(p) => Decision::Use(p), + Err(e) => Decision::Fail(e), + } + } + } + } + + pub fn open_decision(&self, path: &str, access: u32, disposition: u32, flags: u32) -> Decision { + self.open_decision_for(self.classify(path), access, disposition, flags) + } + + pub fn delete_file(&self, rel: &str) -> Result<(), u32> { + let ov = self.overlay_path(rel); + let had_ov = Path::new(&ov).is_file(); + let had_orig = self.visible_in_original(rel); + if !had_ov && !had_orig { + return Err(ERROR_FILE_NOT_FOUND); + } + if had_ov { + std::fs::remove_file(&ov).map_err(|_| ERROR_ACCESS_DENIED)?; + } + if had_orig { + self.add_whiteout(rel); + } + self.record_write(rel); + Ok(()) + } + + pub fn create_dir(&self, rel: &str) -> Result<(), u32> { + if self.visible_in_overlay(rel) || self.visible_in_original(rel) { + return Err(ERROR_ALREADY_EXISTS); + } + std::fs::create_dir_all(self.overlay_path(rel)).map_err(|_| ERROR_PATH_NOT_FOUND)?; + self.remove_whiteout(rel); + self.record_write(rel); + Ok(()) + } + + pub fn remove_dir(&self, rel: &str) -> Result<(), u32> { + let ov = self.overlay_path(rel); + let had_ov = Path::new(&ov).is_dir(); + let had_orig = self.visible_in_original(rel); + if !had_ov && !had_orig { + return Err(ERROR_FILE_NOT_FOUND); + } + if had_ov { + std::fs::remove_dir(&ov).map_err(|_| ERROR_DIR_NOT_EMPTY)?; + } + if had_orig { + self.add_whiteout(rel); + } + self.record_write(rel); + Ok(()) + } + + /// Whether directory listings under `rel_dir` must merge overlay + original. + pub fn needs_merge(&self, rel_dir: &str) -> bool { + Path::new(&self.overlay_path(rel_dir)).is_dir() || self.has_whiteouts_under(rel_dir) + } + + pub fn unmapped_paths(&self) -> Vec<String> { + self.unmapped.lock().map(|g| g.iter().cloned().collect()).unwrap_or_default() + } + + pub fn redirected_writes(&self) -> Vec<String> { + self.writes.lock().map(|g| g.iter().cloned().collect()).unwrap_or_default() + } + + pub fn whiteouts(&self) -> Vec<String> { + let mut v: Vec<String> = self.whiteouts.lock().map(|g| g.iter().cloned().collect()).unwrap_or_default(); + v.sort(); + v + } +} + +#[cfg(test)] +mod tests { + use super::*; + + struct Fixture { + dir: PathBuf, + vfs: Vfs, + } + + impl Fixture { + fn new(tag: &str) -> Fixture { + let dir = std::env::temp_dir().join(format!("xcl_vfs_{tag}_{}", std::process::id())); + let _ = std::fs::remove_dir_all(&dir); + let game = dir.join("game"); + std::fs::create_dir_all(game.join("data")).unwrap(); + std::fs::write(game.join("data").join("hello.txt"), b"original").unwrap(); + std::fs::write(game.join("data").join("gone.txt"), b"bye").unwrap(); + let data = dir.join("xcldata"); + let mounts = vec![ + ("G:".to_string(), game.to_string_lossy().to_string()), + ("GAME:".to_string(), game.to_string_lossy().to_string()), + ("T:".to_string(), data.join("temp").to_string_lossy().to_string()), + ]; + let vfs = Vfs::new(&game, &data, mounts); + Fixture { dir, vfs } + } + fn game(&self) -> PathBuf { + self.dir.join("game") + } + } + + impl Drop for Fixture { + fn drop(&mut self) { + let _ = std::fs::remove_dir_all(&self.dir); + } + } + + #[test] + fn mounts_and_classification() { + let f = Fixture::new("cls"); + let v = &f.vfs; + assert_eq!(v.classify("G:\\data\\hello.txt"), Target::Game { rel: "data\\hello.txt".into() }); + assert_eq!(v.classify("g:/data/hello.txt"), Target::Game { rel: "data\\hello.txt".into() }); + assert_eq!(v.classify("GAME:\\data\\hello.txt"), Target::Game { rel: "data\\hello.txt".into() }); + assert_eq!(v.classify("G:\\"), Target::Game { rel: String::new() }); + // "GAME:\x" absolutised by a runtime as if it were relative + let mangled = format!("\\\\?\\{}\\GAME:\\data\\hello.txt", f.game().display()); + assert_eq!(v.classify(&mangled), Target::Game { rel: "data\\hello.txt".into() }); + assert_eq!(v.classify("C:\\somewhere\\G:\\data\\hello.txt"), Target::Game { rel: "data\\hello.txt".into() }); + let real = f.game().join("data").join("hello.txt"); + assert_eq!(v.classify(&real.to_string_lossy()), Target::Game { rel: "data\\hello.txt".into() }); + assert!(matches!(v.classify("T:\\scratch.bin"), Target::Translated(p) if p.ends_with("xcldata\\temp\\scratch.bin"))); + assert_eq!(v.classify("CONOUT$"), Target::Pass); + assert_eq!(v.classify("\\\\.\\pipe\\x"), Target::Pass); + assert_eq!(v.classify("C:\\Windows\\notepad.exe"), Target::Pass); + } + + #[test] + fn reads_never_touch_and_writes_copy_on_write() { + let f = Fixture::new("cow"); + let v = &f.vfs; + let orig = f.game().join("data").join("hello.txt"); + // read → original + assert_eq!( + v.open_decision("G:\\data\\hello.txt", 0x8000_0000, OPEN_EXISTING, 0), + Decision::Use(orig.to_string_lossy().to_string()) + ); + // write → overlay copy with original content + let d = v.open_decision("G:\\data\\hello.txt", 0x4000_0000, OPEN_EXISTING, 0); + let Decision::Use(ov) = d else { panic!("{d:?}") }; + assert!(ov.contains("overlay")); + assert_eq!(std::fs::read(&ov).unwrap(), b"original"); + std::fs::write(&ov, b"modified").unwrap(); + // later reads see the overlay + assert_eq!(v.open_decision("G:\\data\\hello.txt", 0x8000_0000, OPEN_EXISTING, 0), Decision::Use(ov.clone())); + // original untouched + assert_eq!(std::fs::read(&orig).unwrap(), b"original"); + // CREATE_ALWAYS on a new file → overlay, nothing created in the game folder + let Decision::Use(newp) = v.open_decision("G:\\data\\new.bin", 0x4000_0000, CREATE_ALWAYS, 0) else { panic!() }; + assert!(newp.contains("overlay")); + assert!(!f.game().join("data").join("new.bin").exists()); + // CREATE_NEW on an existing file fails + assert_eq!(v.open_decision("G:\\data\\hello.txt", 0x4000_0000, CREATE_NEW, 0), Decision::Fail(ERROR_FILE_EXISTS)); + assert_eq!(v.redirected_writes(), vec!["data\\hello.txt".to_string(), "data\\new.bin".to_string()]); + } + + #[test] + fn delete_is_a_persistent_whiteout() { + let f = Fixture::new("wo"); + let v = &f.vfs; + assert_eq!(v.delete_file("data\\gone.txt"), Ok(())); + assert!(f.game().join("data").join("gone.txt").exists(), "original must stay"); + assert_eq!(v.open_decision("G:\\data\\gone.txt", 0x8000_0000, OPEN_EXISTING, 0), Decision::Fail(ERROR_FILE_NOT_FOUND)); + assert_eq!(v.delete_file("data\\gone.txt"), Err(ERROR_FILE_NOT_FOUND)); + assert!(v.needs_merge("data")); + // persisted + let v2 = Vfs::new(&f.game(), &f.dir.join("xcldata"), vec![]); + assert!(v2.is_whiteout("data\\gone.txt")); + // re-creating the file un-hides it (in the overlay) + let Decision::Use(p) = v.open_decision("G:\\data\\gone.txt", 0x4000_0000, CREATE_ALWAYS, 0) else { panic!() }; + assert!(p.contains("overlay")); + assert!(!v.is_whiteout("data\\gone.txt")); + } + + #[test] + fn directories() { + let f = Fixture::new("dir"); + let v = &f.vfs; + assert_eq!(v.create_dir("data"), Err(ERROR_ALREADY_EXISTS)); + assert_eq!(v.create_dir("saves\\slot1"), Ok(())); + assert!(!f.game().join("saves").exists()); + assert!(v.visible_in_overlay("saves\\slot1")); + assert_eq!(v.remove_dir("data"), Ok(())); + assert!(f.game().join("data").exists()); + assert!(v.is_whiteout("data\\hello.txt"), "children of a removed dir are hidden"); + } +} diff --git a/crates/xcl/src/vfs_hooks.rs b/crates/xcl/src/vfs_hooks.rs new file mode 100644 index 0000000..c20b607 --- /dev/null +++ b/crates/xcl/src/vfs_hooks.rs @@ -0,0 +1,633 @@ +//! Process-wide Win32 file API hooks feeding the VFS. +//! +//! Hooks sit on KERNELBASE exports, so they also catch calls made by the CRT +//! (`fopen` → `CreateFileW`) and other system DLLs on the game's behalf – not just +//! the game's own imports. A thread-local guard makes the hooks transparent for any +//! file I/O the VFS itself performs. +//! +//! Known gap (documented in the report): direct `Nt*` file syscalls are not hooked. + +use std::cell::Cell; +use std::collections::HashSet; +use std::ffi::c_void; +use std::sync::atomic::{AtomicUsize, Ordering}; +use std::sync::Mutex; + +use windows_sys::Win32::Foundation::{SetLastError, HANDLE, INVALID_HANDLE_VALUE}; +use windows_sys::Win32::Storage::FileSystem::{WIN32_FIND_DATAA, WIN32_FIND_DATAW}; + +use crate::hooks::hook; +use crate::util::{from_ansi_ptr, from_wide_ptr, wide}; +use crate::vfs::{self, Decision, Target}; + +thread_local! { + static IN_HOOK: Cell<bool> = const { Cell::new(false) }; +} + +struct Guard; +impl Guard { + fn enter() -> Option<Guard> { + IN_HOOK.with(|c| { + if c.get() { + None + } else { + c.set(true); + Some(Guard) + } + }) + } +} +impl Drop for Guard { + fn drop(&mut self) { + IN_HOOK.with(|c| c.set(false)); + } +} + +macro_rules! orig { + ($slot:ident as $ty:ty) => { + std::mem::transmute::<usize, $ty>($slot.load(Ordering::Acquire)) + }; +} + +const INVALID_FILE_ATTRIBUTES: u32 = u32::MAX; + +// --------------------------------------------------------------------------------------- +// CreateFile* +// --------------------------------------------------------------------------------------- + +type FnCreateFileW = unsafe extern "system" fn(*const u16, u32, u32, *const c_void, u32, u32, HANDLE) -> HANDLE; +type FnCreateFileA = unsafe extern "system" fn(*const u8, u32, u32, *const c_void, u32, u32, HANDLE) -> HANDLE; +type FnCreateFile2 = unsafe extern "system" fn(*const u16, u32, u32, u32, *const c_void) -> HANDLE; +static O_CREATE_FILE_W: AtomicUsize = AtomicUsize::new(0); +static O_CREATE_FILE_A: AtomicUsize = AtomicUsize::new(0); +static O_CREATE_FILE_2: AtomicUsize = AtomicUsize::new(0); + +unsafe extern "system" fn hk_create_file_w(n: *const u16, acc: u32, sh: u32, sa: *const c_void, disp: u32, fl: u32, t: HANDLE) -> HANDLE { + let orig = orig!(O_CREATE_FILE_W as FnCreateFileW); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(n, acc, sh, sa, disp, fl, t) }; + let Some(path) = from_wide_ptr(n) else { return orig(n, acc, sh, sa, disp, fl, t) }; + match v.open_decision(&path, acc, disp, fl) { + Decision::Pass => orig(n, acc, sh, sa, disp, fl, t), + Decision::Use(p) => orig(wide(&p).as_ptr(), acc, sh, sa, disp, fl, t), + Decision::Fail(e) => { + SetLastError(e); + INVALID_HANDLE_VALUE + } + } +} + +unsafe extern "system" fn hk_create_file_a(n: *const u8, acc: u32, sh: u32, sa: *const c_void, disp: u32, fl: u32, t: HANDLE) -> HANDLE { + let orig = orig!(O_CREATE_FILE_A as FnCreateFileA); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(n, acc, sh, sa, disp, fl, t) }; + let Some(path) = from_ansi_ptr(n) else { return orig(n, acc, sh, sa, disp, fl, t) }; + match v.open_decision(&path, acc, disp, fl) { + Decision::Pass => orig(n, acc, sh, sa, disp, fl, t), + Decision::Use(p) => orig!(O_CREATE_FILE_W as FnCreateFileW)(wide(&p).as_ptr(), acc, sh, sa, disp, fl, t), + Decision::Fail(e) => { + SetLastError(e); + INVALID_HANDLE_VALUE + } + } +} + +unsafe extern "system" fn hk_create_file_2(n: *const u16, acc: u32, sh: u32, disp: u32, params: *const c_void) -> HANDLE { + let orig = orig!(O_CREATE_FILE_2 as FnCreateFile2); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(n, acc, sh, disp, params) }; + let Some(path) = from_wide_ptr(n) else { return orig(n, acc, sh, disp, params) }; + // CREATEFILE2_EXTENDED_PARAMETERS { dwSize, dwFileAttributes, dwFileFlags, ... } + let flags = if params.is_null() { 0 } else { *((params as *const u8).add(8) as *const u32) }; + match v.open_decision(&path, acc, disp, flags) { + Decision::Pass => orig(n, acc, sh, disp, params), + Decision::Use(p) => orig(wide(&p).as_ptr(), acc, sh, disp, params), + Decision::Fail(e) => { + SetLastError(e); + INVALID_HANDLE_VALUE + } + } +} + +// --------------------------------------------------------------------------------------- +// Attributes +// --------------------------------------------------------------------------------------- + +type FnGetAttrW = unsafe extern "system" fn(*const u16) -> u32; +type FnGetAttrExW = unsafe extern "system" fn(*const u16, i32, *mut c_void) -> i32; +type FnSetAttrW = unsafe extern "system" fn(*const u16, u32) -> i32; +static O_GET_ATTR_W: AtomicUsize = AtomicUsize::new(0); +static O_GET_ATTR_EX_W: AtomicUsize = AtomicUsize::new(0); +static O_GET_ATTR_A: AtomicUsize = AtomicUsize::new(0); +static O_GET_ATTR_EX_A: AtomicUsize = AtomicUsize::new(0); +static O_SET_ATTR_W: AtomicUsize = AtomicUsize::new(0); + +/// None = pass through untouched; Some(Ok(path)) = use path; Some(Err(code)) = fail. +fn read_target(path: &str) -> Option<Result<String, u32>> { + let v = vfs::get()?; + match v.classify(path) { + Target::Pass => None, + Target::Translated(p) => Some(Ok(p)), + Target::Game { rel } => Some(v.read_path_rel(&rel).ok_or(vfs::ERROR_FILE_NOT_FOUND)), + } +} + +unsafe extern "system" fn hk_get_attr_w(n: *const u16) -> u32 { + let orig = orig!(O_GET_ATTR_W as FnGetAttrW); + let Some(_g) = Guard::enter() else { return orig(n) }; + let Some(path) = from_wide_ptr(n) else { return orig(n) }; + match read_target(&path) { + None => orig(n), + Some(Ok(p)) => orig(wide(&p).as_ptr()), + Some(Err(e)) => { + SetLastError(e); + INVALID_FILE_ATTRIBUTES + } + } +} + +unsafe extern "system" fn hk_get_attr_a(n: *const u8) -> u32 { + type FnA = unsafe extern "system" fn(*const u8) -> u32; + let orig = orig!(O_GET_ATTR_A as FnA); + let Some(_g) = Guard::enter() else { return orig(n) }; + let Some(path) = from_ansi_ptr(n) else { return orig(n) }; + match read_target(&path) { + None => orig(n), + Some(Ok(p)) => orig!(O_GET_ATTR_W as FnGetAttrW)(wide(&p).as_ptr()), + Some(Err(e)) => { + SetLastError(e); + INVALID_FILE_ATTRIBUTES + } + } +} + +unsafe extern "system" fn hk_get_attr_ex_w(n: *const u16, lvl: i32, info: *mut c_void) -> i32 { + let orig = orig!(O_GET_ATTR_EX_W as FnGetAttrExW); + let Some(_g) = Guard::enter() else { return orig(n, lvl, info) }; + let Some(path) = from_wide_ptr(n) else { return orig(n, lvl, info) }; + match read_target(&path) { + None => orig(n, lvl, info), + Some(Ok(p)) => orig(wide(&p).as_ptr(), lvl, info), + Some(Err(e)) => { + SetLastError(e); + 0 + } + } +} + +unsafe extern "system" fn hk_get_attr_ex_a(n: *const u8, lvl: i32, info: *mut c_void) -> i32 { + type FnA = unsafe extern "system" fn(*const u8, i32, *mut c_void) -> i32; + let orig = orig!(O_GET_ATTR_EX_A as FnA); + let Some(_g) = Guard::enter() else { return orig(n, lvl, info) }; + let Some(path) = from_ansi_ptr(n) else { return orig(n, lvl, info) }; + match read_target(&path) { + None => orig(n, lvl, info), + Some(Ok(p)) => orig!(O_GET_ATTR_EX_W as FnGetAttrExW)(wide(&p).as_ptr(), lvl, info), + Some(Err(e)) => { + SetLastError(e); + 0 + } + } +} + +unsafe extern "system" fn hk_set_attr_w(n: *const u16, attrs: u32) -> i32 { + let orig = orig!(O_SET_ATTR_W as FnSetAttrW); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(n, attrs) }; + let Some(path) = from_wide_ptr(n) else { return orig(n, attrs) }; + match v.classify(&path) { + Target::Pass => orig(n, attrs), + Target::Translated(p) => orig(wide(&p).as_ptr(), attrs), + Target::Game { rel } => { + if !v.visible_in_overlay(&rel) && !v.visible_in_original(&rel) { + SetLastError(vfs::ERROR_FILE_NOT_FOUND); + return 0; + } + match v.prepare_write(&rel, true) { + Ok(p) => orig(wide(&p).as_ptr(), attrs), + Err(e) => { + SetLastError(e); + 0 + } + } + } + } +} + +// --------------------------------------------------------------------------------------- +// Directory / delete / move / copy +// --------------------------------------------------------------------------------------- + +type FnCreateDirW = unsafe extern "system" fn(*const u16, *const c_void) -> i32; +type FnPathW = unsafe extern "system" fn(*const u16) -> i32; +type FnMoveFileExW = unsafe extern "system" fn(*const u16, *const u16, u32) -> i32; +type FnCopyFileExW = unsafe extern "system" fn(*const u16, *const u16, *const c_void, *const c_void, *mut i32, u32) -> i32; +type FnCopyFile2 = unsafe extern "system" fn(*const u16, *const u16, *const c_void) -> i32; +static O_CREATE_DIR_W: AtomicUsize = AtomicUsize::new(0); +static O_REMOVE_DIR_W: AtomicUsize = AtomicUsize::new(0); +static O_DELETE_FILE_W: AtomicUsize = AtomicUsize::new(0); +static O_MOVE_FILE_EX_W: AtomicUsize = AtomicUsize::new(0); +static O_COPY_FILE_EX_W: AtomicUsize = AtomicUsize::new(0); +static O_COPY_FILE_2: AtomicUsize = AtomicUsize::new(0); + +unsafe fn bool_result(r: Result<(), u32>) -> i32 { + match r { + Ok(()) => 1, + Err(e) => { + SetLastError(e); + 0 + } + } +} + +unsafe extern "system" fn hk_create_dir_w(n: *const u16, sa: *const c_void) -> i32 { + let orig = orig!(O_CREATE_DIR_W as FnCreateDirW); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(n, sa) }; + let Some(path) = from_wide_ptr(n) else { return orig(n, sa) }; + match v.classify(&path) { + Target::Pass => orig(n, sa), + Target::Translated(p) => orig(wide(&p).as_ptr(), sa), + Target::Game { rel } => bool_result(v.create_dir(&rel)), + } +} + +unsafe extern "system" fn hk_remove_dir_w(n: *const u16) -> i32 { + let orig = orig!(O_REMOVE_DIR_W as FnPathW); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(n) }; + let Some(path) = from_wide_ptr(n) else { return orig(n) }; + match v.classify(&path) { + Target::Pass => orig(n), + Target::Translated(p) => orig(wide(&p).as_ptr()), + Target::Game { rel } => bool_result(v.remove_dir(&rel)), + } +} + +unsafe extern "system" fn hk_delete_file_w(n: *const u16) -> i32 { + let orig = orig!(O_DELETE_FILE_W as FnPathW); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(n) }; + let Some(path) = from_wide_ptr(n) else { return orig(n) }; + match v.classify(&path) { + Target::Pass => orig(n), + Target::Translated(p) => orig(wide(&p).as_ptr()), + Target::Game { rel } => bool_result(v.delete_file(&rel)), + } +} + +/// Source for a copy/move: (real path to read, game rel if it lives in the game folder). +fn source_of(v: &vfs::Vfs, path: &str) -> Result<(String, Option<String>), u32> { + match v.classify(path) { + Target::Pass => Ok((path.to_string(), None)), + Target::Translated(p) => Ok((p, None)), + Target::Game { rel } => { + let p = v.read_path_rel(&rel).ok_or(vfs::ERROR_FILE_NOT_FOUND)?; + Ok((p, Some(rel))) + } + } +} + +fn dest_of(v: &vfs::Vfs, path: &str) -> Result<String, u32> { + match v.classify(path) { + Target::Pass => Ok(path.to_string()), + Target::Translated(p) => { + if let Some(parent) = std::path::Path::new(&p).parent() { + let _ = std::fs::create_dir_all(parent); + } + Ok(p) + } + Target::Game { rel } => v.prepare_write(&rel, false), + } +} + +unsafe extern "system" fn hk_move_file_ex_w(src: *const u16, dst: *const u16, flags: u32) -> i32 { + let orig = orig!(O_MOVE_FILE_EX_W as FnMoveFileExW); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(src, dst, flags) }; + let (Some(s), d) = (from_wide_ptr(src), from_wide_ptr(dst)) else { return orig(src, dst, flags) }; + let Some(d) = d else { return orig(src, dst, flags) }; // delete-on-reboot form + let s_game = matches!(v.classify(&s), Target::Game { .. }); + let d_game = matches!(v.classify(&d), Target::Game { .. }); + if !s_game && !d_game { + let (rs, _) = match source_of(v, &s) { + Ok(x) => x, + Err(e) => return bool_result(Err(e)), + }; + let rd = match dest_of(v, &d) { + Ok(x) => x, + Err(e) => return bool_result(Err(e)), + }; + return orig(wide(&rs).as_ptr(), wide(&rd).as_ptr(), flags); + } + let r = (|| -> Result<(), u32> { + let (rs, srel) = source_of(v, &s)?; + let rd = dest_of(v, &d)?; + match &srel { + // source in the game folder: copy, then hide the source + Some(rel) => { + if std::path::Path::new(&rs).is_dir() { + return Err(vfs::ERROR_ACCESS_DENIED); // moving whole game dirs is not supported + } + std::fs::copy(&rs, &rd).map_err(|_| vfs::ERROR_ACCESS_DENIED)?; + v.delete_file(rel).or_else(|e| if e == vfs::ERROR_FILE_NOT_FOUND { Ok(()) } else { Err(e) })?; + Ok(()) + } + None => { + if orig(wide(&rs).as_ptr(), wide(&rd).as_ptr(), flags | 0x2 /* COPY_ALLOWED */) == 0 { + return Err(windows_sys::Win32::Foundation::GetLastError()); + } + Ok(()) + } + } + })(); + bool_result(r) +} + +unsafe extern "system" fn hk_copy_file_ex_w(src: *const u16, dst: *const u16, prog: *const c_void, data: *const c_void, cancel: *mut i32, flags: u32) -> i32 { + let orig = orig!(O_COPY_FILE_EX_W as FnCopyFileExW); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(src, dst, prog, data, cancel, flags) }; + let (Some(s), Some(d)) = (from_wide_ptr(src), from_wide_ptr(dst)) else { return orig(src, dst, prog, data, cancel, flags) }; + let rs = match source_of(v, &s) { + Ok((p, _)) => p, + Err(e) => return bool_result(Err(e)), + }; + let rd = match dest_of(v, &d) { + Ok(p) => p, + Err(e) => return bool_result(Err(e)), + }; + orig(wide(&rs).as_ptr(), wide(&rd).as_ptr(), prog, data, cancel, flags) +} + +unsafe extern "system" fn hk_copy_file_2(src: *const u16, dst: *const u16, params: *const c_void) -> i32 { + let orig = orig!(O_COPY_FILE_2 as FnCopyFile2); + let (Some(_g), Some(v)) = (Guard::enter(), vfs::get()) else { return orig(src, dst, params) }; + let (Some(s), Some(d)) = (from_wide_ptr(src), from_wide_ptr(dst)) else { return orig(src, dst, params) }; + let rs = match source_of(v, &s) { + Ok((p, _)) => p, + Err(e) => return crate::util::hresult_from_win32(e), + }; + let rd = match dest_of(v, &d) { + Ok(p) => p, + Err(e) => return crate::util::hresult_from_win32(e), + }; + orig(wide(&rs).as_ptr(), wide(&rd).as_ptr(), params) +} + +// --------------------------------------------------------------------------------------- +// Directory enumeration (merges overlay + original, hides whiteouts) +// --------------------------------------------------------------------------------------- + +type FnFindFirstExW = unsafe extern "system" fn(*const u16, i32, *mut c_void, i32, *const c_void, u32) -> HANDLE; +type FnFindFirstW = unsafe extern "system" fn(*const u16, *mut WIN32_FIND_DATAW) -> HANDLE; +type FnFindFirstA = unsafe extern "system" fn(*const u8, *mut WIN32_FIND_DATAA) -> HANDLE; +type FnFindNextW = unsafe extern "system" fn(HANDLE, *mut WIN32_FIND_DATAW) -> i32; +type FnFindNextA = unsafe extern "system" fn(HANDLE, *mut WIN32_FIND_DATAA) -> i32; +type FnFindClose = unsafe extern "system" fn(HANDLE) -> i32; +static O_FIND_FIRST_EX_W: AtomicUsize = AtomicUsize::new(0); +static O_FIND_FIRST_W: AtomicUsize = AtomicUsize::new(0); +static O_FIND_FIRST_A: AtomicUsize = AtomicUsize::new(0); +static O_FIND_NEXT_W: AtomicUsize = AtomicUsize::new(0); +static O_FIND_NEXT_A: AtomicUsize = AtomicUsize::new(0); +static O_FIND_CLOSE: AtomicUsize = AtomicUsize::new(0); + +struct MergedFind { + items: Vec<WIN32_FIND_DATAW>, + pos: usize, +} + +static MERGED: Mutex<Option<HashSet<usize>>> = Mutex::new(None); + +fn is_merged(h: HANDLE) -> bool { + MERGED.lock().ok().and_then(|g| g.as_ref().map(|s| s.contains(&(h as usize)))).unwrap_or(false) +} + +fn name_of(d: &WIN32_FIND_DATAW) -> String { + let n = d.cFileName.iter().position(|&c| c == 0).unwrap_or(d.cFileName.len()); + String::from_utf16_lossy(&d.cFileName[..n]) +} + +unsafe fn collect(pattern: &str) -> Vec<WIN32_FIND_DATAW> { + let first = orig!(O_FIND_FIRST_EX_W as FnFindFirstExW); + let next = orig!(O_FIND_NEXT_W as FnFindNextW); + let close = orig!(O_FIND_CLOSE as FnFindClose); + let mut out = Vec::new(); + let mut d: WIN32_FIND_DATAW = std::mem::zeroed(); + let h = first(wide(pattern).as_ptr(), 0, &mut d as *mut _ as *mut c_void, 0, std::ptr::null(), 0); + if h == INVALID_HANDLE_VALUE { + return out; + } + loop { + out.push(d); + if next(h, &mut d) == 0 { + break; + } + } + close(h); + out +} + +/// Some(handle) when the VFS handled the call; None to pass through. +unsafe fn find_first_vfs(path: &str, out: *mut WIN32_FIND_DATAW) -> Option<Result<HANDLE, u32>> { + let v = vfs::get()?; + match v.classify(path) { + Target::Pass => None, + Target::Translated(p) => { + let first = orig!(O_FIND_FIRST_EX_W as FnFindFirstExW); + let h = first(wide(&p).as_ptr(), 0, out as *mut c_void, 0, std::ptr::null(), 0); + Some(if h == INVALID_HANDLE_VALUE { Err(windows_sys::Win32::Foundation::GetLastError()) } else { Ok(h) }) + } + Target::Game { rel } => { + let (dir_rel, pattern) = match rel.rsplit_once('\\') { + Some((d, p)) => (d.to_string(), p.to_string()), + None => (String::new(), rel.clone()), + }; + let wildcard = pattern.contains('*') || pattern.contains('?'); + if !wildcard && !v.visible_in_overlay(&rel) && v.is_whiteout(&rel) { + return Some(Err(vfs::ERROR_FILE_NOT_FOUND)); + } + let join = |base: String| if pattern.is_empty() { base } else { format!("{base}\\{pattern}") }; + let mut items: Vec<WIN32_FIND_DATAW> = Vec::new(); + let mut seen: HashSet<String> = HashSet::new(); + if v.needs_merge(&dir_rel) || v.visible_in_overlay(&rel) { + for d in collect(&join(v.overlay_path(&dir_rel))) { + let n = name_of(&d); + if n.eq_ignore_ascii_case(".xcl_whiteouts") { + continue; + } + if seen.insert(n.to_lowercase()) { + items.push(d); + } + } + } + for d in collect(&join(v.original_path(&dir_rel))) { + let n = name_of(&d); + let child = if dir_rel.is_empty() { n.clone() } else { format!("{dir_rel}\\{n}") }; + if n != "." && n != ".." && v.is_whiteout(&child) { + continue; + } + if seen.insert(n.to_lowercase()) { + items.push(d); + } + } + if items.is_empty() { + return Some(Err(vfs::ERROR_FILE_NOT_FOUND)); + } + *out = items[0]; + let h = Box::into_raw(Box::new(MergedFind { items, pos: 1 })) as HANDLE; + MERGED.lock().unwrap().get_or_insert_with(HashSet::new).insert(h as usize); + Some(Ok(h)) + } + } +} + +unsafe extern "system" fn hk_find_first_ex_w(n: *const u16, lvl: i32, data: *mut c_void, op: i32, filt: *const c_void, fl: u32) -> HANDLE { + let orig = orig!(O_FIND_FIRST_EX_W as FnFindFirstExW); + // only the common info levels/ops are virtualised + if lvl > 1 || op != 0 { + return orig(n, lvl, data, op, filt, fl); + } + let Some(_g) = Guard::enter() else { return orig(n, lvl, data, op, filt, fl) }; + let Some(path) = from_wide_ptr(n) else { return orig(n, lvl, data, op, filt, fl) }; + match find_first_vfs(&path, data as *mut WIN32_FIND_DATAW) { + None => orig(n, lvl, data, op, filt, fl), + Some(Ok(h)) => h, + Some(Err(e)) => { + SetLastError(e); + INVALID_HANDLE_VALUE + } + } +} + +unsafe extern "system" fn hk_find_first_w(n: *const u16, data: *mut WIN32_FIND_DATAW) -> HANDLE { + let orig = orig!(O_FIND_FIRST_W as FnFindFirstW); + let Some(_g) = Guard::enter() else { return orig(n, data) }; + let Some(path) = from_wide_ptr(n) else { return orig(n, data) }; + match find_first_vfs(&path, data) { + None => orig(n, data), + Some(Ok(h)) => h, + Some(Err(e)) => { + SetLastError(e); + INVALID_HANDLE_VALUE + } + } +} + +unsafe fn w_to_a(w: &WIN32_FIND_DATAW, a: *mut WIN32_FIND_DATAA) { + use windows_sys::Win32::Globalization::{WideCharToMultiByte, CP_ACP}; + let a = &mut *a; + a.dwFileAttributes = w.dwFileAttributes; + a.ftCreationTime = w.ftCreationTime; + a.ftLastAccessTime = w.ftLastAccessTime; + a.ftLastWriteTime = w.ftLastWriteTime; + a.nFileSizeHigh = w.nFileSizeHigh; + a.nFileSizeLow = w.nFileSizeLow; + a.dwReserved0 = w.dwReserved0; + a.dwReserved1 = w.dwReserved1; + a.cFileName = [0; 260]; + a.cAlternateFileName = [0; 14]; + WideCharToMultiByte(CP_ACP, 0, w.cFileName.as_ptr(), -1, a.cFileName.as_mut_ptr() as *mut u8, 260, std::ptr::null(), std::ptr::null_mut()); + WideCharToMultiByte(CP_ACP, 0, w.cAlternateFileName.as_ptr(), -1, a.cAlternateFileName.as_mut_ptr() as *mut u8, 14, std::ptr::null(), std::ptr::null_mut()); +} + +unsafe extern "system" fn hk_find_first_a(n: *const u8, data: *mut WIN32_FIND_DATAA) -> HANDLE { + let orig = orig!(O_FIND_FIRST_A as FnFindFirstA); + let Some(_g) = Guard::enter() else { return orig(n, data) }; + let Some(path) = from_ansi_ptr(n) else { return orig(n, data) }; + let mut w: WIN32_FIND_DATAW = std::mem::zeroed(); + match find_first_vfs(&path, &mut w) { + None => orig(n, data), + Some(Ok(h)) => { + w_to_a(&w, data); + h + } + Some(Err(e)) => { + SetLastError(e); + INVALID_HANDLE_VALUE + } + } +} + +unsafe fn merged_next(h: HANDLE) -> Option<WIN32_FIND_DATAW> { + let m = &mut *(h as *mut MergedFind); + let r = m.items.get(m.pos).copied(); + m.pos += 1; + r +} + +unsafe extern "system" fn hk_find_next_w(h: HANDLE, data: *mut WIN32_FIND_DATAW) -> i32 { + if is_merged(h) { + return match merged_next(h) { + Some(d) => { + *data = d; + 1 + } + None => { + SetLastError(18); // ERROR_NO_MORE_FILES + 0 + } + }; + } + orig!(O_FIND_NEXT_W as FnFindNextW)(h, data) +} + +unsafe extern "system" fn hk_find_next_a(h: HANDLE, data: *mut WIN32_FIND_DATAA) -> i32 { + if is_merged(h) { + return match merged_next(h) { + Some(d) => { + w_to_a(&d, data); + 1 + } + None => { + SetLastError(18); + 0 + } + }; + } + orig!(O_FIND_NEXT_A as FnFindNextA)(h, data) +} + +unsafe extern "system" fn hk_find_close(h: HANDLE) -> i32 { + let was = MERGED + .lock() + .ok() + .and_then(|mut g| g.as_mut().map(|s| s.remove(&(h as usize)))) + .unwrap_or(false); + if was { + drop(Box::from_raw(h as *mut MergedFind)); + return 1; + } + orig!(O_FIND_CLOSE as FnFindClose)(h) +} + +// --------------------------------------------------------------------------------------- + +pub fn install() -> Result<(), String> { + let kb = "kernelbase.dll"; + let list: &[(&str, usize, &AtomicUsize)] = &[ + ("CreateFileW", hk_create_file_w as usize, &O_CREATE_FILE_W), + ("CreateFileA", hk_create_file_a as usize, &O_CREATE_FILE_A), + ("CreateFile2", hk_create_file_2 as usize, &O_CREATE_FILE_2), + ("GetFileAttributesW", hk_get_attr_w as usize, &O_GET_ATTR_W), + ("GetFileAttributesA", hk_get_attr_a as usize, &O_GET_ATTR_A), + ("GetFileAttributesExW", hk_get_attr_ex_w as usize, &O_GET_ATTR_EX_W), + ("GetFileAttributesExA", hk_get_attr_ex_a as usize, &O_GET_ATTR_EX_A), + ("SetFileAttributesW", hk_set_attr_w as usize, &O_SET_ATTR_W), + ("CreateDirectoryW", hk_create_dir_w as usize, &O_CREATE_DIR_W), + ("RemoveDirectoryW", hk_remove_dir_w as usize, &O_REMOVE_DIR_W), + ("DeleteFileW", hk_delete_file_w as usize, &O_DELETE_FILE_W), + ("MoveFileExW", hk_move_file_ex_w as usize, &O_MOVE_FILE_EX_W), + ("CopyFileExW", hk_copy_file_ex_w as usize, &O_COPY_FILE_EX_W), + ("CopyFile2", hk_copy_file_2 as usize, &O_COPY_FILE_2), + ("FindFirstFileExW", hk_find_first_ex_w as usize, &O_FIND_FIRST_EX_W), + ("FindFirstFileW", hk_find_first_w as usize, &O_FIND_FIRST_W), + ("FindFirstFileA", hk_find_first_a as usize, &O_FIND_FIRST_A), + ("FindNextFileW", hk_find_next_w as usize, &O_FIND_NEXT_W), + ("FindNextFileA", hk_find_next_a as usize, &O_FIND_NEXT_A), + ("FindClose", hk_find_close as usize, &O_FIND_CLOSE), + ]; + let mut errors = Vec::new(); + for (name, det, slot) in list { + if let Err(e) = unsafe { hook(kb, name, *det, slot) } { + errors.push(e); + } + } + if errors.is_empty() { + crate::xlog_info!("VFS: {} hooków plikowych aktywnych", list.len()); + Ok(()) + } else { + Err(errors.join("; ")) + } +} diff --git a/crates/xcl/tests/e2e.rs b/crates/xcl/tests/e2e.rs new file mode 100644 index 0000000..3f7bee8 --- /dev/null +++ b/crates/xcl/tests/e2e.rs @@ -0,0 +1,182 @@ +//! End-to-end: run the fake console title through `xcl run` and verify that +//! (1) every check inside the title passes, (2) the game folder is byte-for-byte +//! unchanged, (3) writes landed in the overlay, (4) the report lists the stub it hit. +//! +//! Needs the test title and DLL built first: cargo build --workspace + +use std::collections::BTreeMap; +use std::path::{Path, PathBuf}; +use std::process::Command; + +fn fnv(bytes: &[u8]) -> u64 { + let mut h: u64 = 0xcbf2_9ce4_8422_2325; + for b in bytes { + h ^= *b as u64; + h = h.wrapping_mul(0x100_0000_01b3); + } + h ^ bytes.len() as u64 +} + +fn snapshot(dir: &Path) -> BTreeMap<String, u64> { + fn walk(base: &Path, dir: &Path, out: &mut BTreeMap<String, u64>) { + for e in std::fs::read_dir(dir).unwrap().flatten() { + let p = e.path(); + let rel = p.strip_prefix(base).unwrap().to_string_lossy().into_owned(); + if p.is_dir() { + out.insert(format!("{rel}\\"), 0); + walk(base, &p, out); + } else { + out.insert(rel, fnv(&std::fs::read(&p).unwrap())); + } + } + } + let mut m = BTreeMap::new(); + walk(dir, dir, &mut m); + m +} + +fn copy_dir(src: &Path, dst: &Path) { + std::fs::create_dir_all(dst).unwrap(); + for e in std::fs::read_dir(src).unwrap().flatten() { + let p = e.path(); + let t = dst.join(e.file_name()); + if p.is_dir() { + copy_dir(&p, &t); + } else { + std::fs::copy(&p, &t).unwrap(); + } + } +} + +#[test] +fn test_title_runs_and_game_folder_is_untouched() { + let xcl = PathBuf::from(env!("CARGO_BIN_EXE_xcl")); + let bin_dir = xcl.parent().unwrap(); + let title = bin_dir.join("xcl_testtitle.exe"); + let dll = bin_dir.join("testgame_mw.dll"); + assert!( + title.is_file() && dll.is_file(), + "brak {} / {} – zbuduj najpierw: cargo build --workspace", + title.display(), + dll.display() + ); + let manifest = Path::new(env!("CARGO_MANIFEST_DIR")); + let root = manifest.join("..").join("..").join("target").join("e2e"); + let _ = std::fs::remove_dir_all(&root); + let game = root.join("game"); + let data = root.join("data"); + copy_dir(&manifest.join("..").join("..").join("tests").join("data").join("testgame"), &game); + std::fs::copy(&title, game.join("xcl_testtitle.exe")).unwrap(); + std::fs::copy(&dll, game.join("testgame_mw.dll")).unwrap(); + let before = snapshot(&game); + + let out = Command::new(&xcl) + .arg("run") + .arg(&game) + .arg("--") + .arg("--hello") + .env("XCL_DATA_ROOT", &data) + .output() + .expect("spawn xcl"); + let stdout = String::from_utf8_lossy(&out.stdout); + let stderr = String::from_utf8_lossy(&out.stderr); + println!("--- stdout ---\n{stdout}\n--- stderr ---\n{stderr}"); + + assert!( + stdout.contains("konsola: importuje kernelx.dll") && !stdout.contains("UWAGA"), + "launcher powinien rozpoznać tytuł konsolowy" + ); + let fails: Vec<&str> = stdout.lines().filter(|l| l.starts_with("[FAIL]")).collect(); + assert!(fails.is_empty(), "nieudane sprawdzenia w tytule testowym:\n{}", fails.join("\n")); + assert!(stdout.contains("xcl_testtitle: koniec, błędów: 0"), "tytuł testowy nie doszedł do końca"); + assert!(out.status.success(), "kod wyjścia {:?}", out.status.code()); + + // (2) the game folder is untouched + assert_eq!(snapshot(&game), before, "FOLDER GRY ZOSTAŁ ZMIENIONY"); + + // (3) overlay contents + let tdata = data.join("XCL.TestTitle"); + let ov = tdata.join("overlay").join("data"); + let hello = std::fs::read_to_string(ov.join("hello.txt")).expect("overlay hello.txt"); + assert!(hello.starts_with("hello from the game folder") && hello.contains("+modified by title")); + assert_eq!(std::fs::read(ov.join("renamed.bin")).unwrap(), b"save-data"); + assert!(!ov.join("new_save.bin").exists()); + let wo = std::fs::read_to_string(tdata.join("overlay").join(".xcl_whiteouts")).unwrap(); + assert!(wo.lines().any(|l| l == "data\\delete_me.txt"), "whiteouts: {wo}"); + assert!(tdata.join("temp").join("scratch.tmp").is_file()); + assert!(tdata.join("saves").join("test-scid").join("slot0.sav").is_file()); + + // (4) report + let report: serde_json::Value = + serde_json::from_str(&std::fs::read_to_string(tdata.join("logs").join("report.json")).unwrap()).unwrap(); + assert_eq!(report["exit_code"], 0); + let called = report["called_stubs"].as_array().unwrap(); + assert!( + called.iter().any(|s| s["function"] == "XclDefinitelyMissingFunction"), + "report.called_stubs: {called:?}" + ); + assert!(report["crash"].is_null(), "crash: {}", report["crash"]); + + // (5) shader capture: the PC DXBC and the fake console container were classified, + // dumped, and the RDNA2 code in the unknown part was disassembled + let sh = &report["shaders"]; + assert!(sh["by_kind"]["dxbc"].as_u64().unwrap_or(0) >= 3, "shaders: {sh}"); + assert_eq!(sh["by_kind"]["container-unknown"], 1, "shaders: {sh}"); + assert_eq!(sh["unknown_parts"]["XBOX"], 1, "shaders: {sh}"); + let dumps: Vec<String> = std::fs::read_dir(tdata.join("shaders")) + .unwrap() + .flatten() + .map(|e| e.file_name().to_string_lossy().into_owned()) + .collect(); + let blobs = dumps.iter().filter(|n| n.ends_with(".bin") && !n.contains(".fssm")).count() as u64; + assert_eq!(blobs, sh["unique"].as_u64().unwrap(), "{dumps:?}"); + // retail-format console shader: unpacked down to the FSSM, console-only v_mac_f32 decoded + assert_eq!(sh["by_kind"]["xbox-native"], 1, "shaders: {sh}"); + assert_eq!(sh["xbox_hw_stages"]["PS"], 1, "shaders: {sh}"); + assert_eq!(sh["xbox_errors"], 0, "shaders: {sh}"); + assert_eq!(sh["rdna2_undecoded_dwords"], 0, "shaders: {sh}"); + let mnem: Vec<&str> = sh["rdna2_mnemonics"].as_array().unwrap().iter().filter_map(|m| m[0].as_str()).collect(); + assert!(mnem.contains(&"v_mac_f32") && mnem.contains(&"s_endpgm"), "rdna2_mnemonics: {mnem:?}"); + assert_eq!(dumps.iter().filter(|n| n.ends_with(".fssm0.bin")).count(), 1, "{dumps:?}"); + // recompiled at capture: PS mode from the container, HLSL next to the dumps + assert_eq!((sh["recomp_programs"].as_u64(), sh["recomp_complete"].as_u64()), (Some(1), Some(1)), "shaders: {sh}"); + assert_eq!(sh["recomp_modes"]["PS"], 1, "shaders: {sh}"); + // console unified memory opened as a GPU heap on the real device + let d3 = &report["d3d12"]; + assert!(d3["uma_mb"].as_u64().unwrap_or(0) >= 1, "d3d12: {d3}"); + assert!(d3["uma_gpu_va"].as_str().is_some_and(|v| v.starts_with("0x")), "d3d12: {d3}"); + assert_eq!(dumps.iter().filter(|n| n.ends_with(".fssm0.p0.hlsl")).count(), 1, "{dumps:?}"); + + // (5b) XAudio2: genuine Windows engine; XMA2 voice replaced, console flags dropped + let a = &report["audio"]; + assert_eq!(a["engines"], 1, "audio: {a}"); + assert_eq!(a["engine_errors"], 0, "audio: {a}"); + assert!(a["dropped_flags"].as_array().unwrap().iter().any(|f| f == "XAudio2Create:0x41"), "audio: {a}"); + if a["mastering_voices"] == 1 { + assert_eq!(a["xma_voices"], 1, "audio: {a}"); + assert_eq!(a["silent_voices"], 1, "audio: {a}"); + assert_eq!(a["source_voices"], 2, "audio: {a}"); + assert_eq!(a["buffers_silenced"], 1, "audio: {a}"); + assert_eq!(a["source_voice_errors"], 0, "audio: {a}"); + } else { + eprintln!("e2e: brak urządzenia audio – głosy XAudio2 niesprawdzone ({a})"); + } + + // (6) real D3D12 backend: genuine GPU objects, console shader replaced by a stand-in + let d = &report["d3d12"]; + assert_eq!(d["backend"], "real", "d3d12: {d}"); + assert!(d["fallback_pipelines"].as_u64().unwrap_or(0) >= 1, "d3d12: {d}"); + let classes: Vec<&str> = d["classes"].as_array().unwrap().iter().filter_map(|c| c["interface"].as_str()).collect(); + assert!(classes.iter().any(|c| c.starts_with("ID3D12Device")), "classes: {classes:?}"); + assert!(classes.iter().any(|c| c.starts_with("ID3D12GraphicsCommandList")), "classes: {classes:?}"); + let listings: Vec<String> = dumps + .iter() + .filter(|n| n.ends_with(".rdna2.txt")) + .map(|n| std::fs::read_to_string(tdata.join("shaders").join(n)).unwrap()) + .collect(); + assert!( + listings.iter().any(|t| t.contains("s_mov_b32 s0, s1") && t.contains("v_add_f32 v5, v1, v2") && t.contains("s_endpgm")), + "{listings:?}" + ); + assert!(listings.iter().any(|t| t.contains("FSSM #0 [PS]") && t.contains("v_mac_f32 v6, s40, v21")), "{listings:?}"); +} diff --git a/crates/xcl/tests/gpu_pso_e2e.rs b/crates/xcl/tests/gpu_pso_e2e.rs new file mode 100644 index 0000000..6e7d06b --- /dev/null +++ b/crates/xcl/tests/gpu_pso_e2e.rs @@ -0,0 +1,307 @@ +//! End to end without a game executable: real console shaders from the retail pack +//! (`XCL_SAMPLE_RPF`) go through the D3D12.X backend's CreateGraphicsPipelineState hook +//! exactly as a title would hand them over → recompiled VS/PS → D3D12 pipeline → drawn into +//! a texture on the GPU → pixels read back and compared with values computed here from the +//! inputs the tests set explicitly (vertex buffer, user SGPRs, descriptor tables, constants, +//! textures, samplers). +//! +//! The stand-in shaders XCL uses when a console shader cannot be translated draw nothing +//! (degenerate position) or magenta, and the pipeline counters are checked, so these tests +//! cannot pass on the fallback path. + +use std::ffi::CStr; +use std::sync::{Mutex, OnceLock}; + +use windows::core::Interface; +use windows::Win32::Graphics::Direct3D12::*; +use windows::Win32::Graphics::Dxgi::Common::*; + +use xcl::gpu::recomp::runner; +use xcl::gpu::{desc, pack}; +use xcl::hle::d3d12x::real; + +const SIZE: u32 = 64; +const CLEAR: [f32; 4] = [0.1, 0.2, 0.3, 0.4]; + +/// The tests share the backend's pipeline counters: one at a time. +static SERIAL: Mutex<()> = Mutex::new(()); + +fn f(x: f32) -> u32 { + x.to_bits() +} + +/// Console shader containers by record name (as a title passes them in +/// D3D12_SHADER_BYTECODE) and the backend device. None: no sample pack / DXC / GPU. +fn setup(names: &[&str]) -> Option<(Vec<Vec<u8>>, ID3D12Device)> { + static PACK: OnceLock<Option<Vec<u8>>> = OnceLock::new(); + let data = PACK.get_or_init(|| std::env::var("XCL_SAMPLE_RPF").ok().and_then(|p| std::fs::read(p).ok())).as_ref(); + let Some(data) = data else { + println!("XCL_SAMPLE_RPF nie ustawione – pomijam"); + return None; + }; + if xcl::gpu::recomp::dxc::location().is_err() { + println!("brak DXC – pomijam"); + return None; + } + let recs = pack::scan(data, 0x40); + let blobs: Vec<Vec<u8>> = names + .iter() + .map(|n| { + let r = recs.iter().find(|r| r.name == *n).unwrap_or_else(|| panic!("brak rekordu {n}")); + let b = pack::inflate(data, r).unwrap(); + assert!(xcl::gpu::xbox::is_xbox(&b), "{n}: oczekiwany kontener konsoli"); + b + }) + .collect(); + if xcl::hle::d3d12x::backend() != xcl::hle::d3d12x::Backend::Real { + println!("brak prawdziwego urządzenia D3D12 – pomijam"); + return None; + } + println!("urządzenie backendu: {}", real::stats().adapter); + let raw = real::device_raw(); + Some((blobs, unsafe { ID3D12Device::from_raw_borrowed(&raw) }.unwrap().clone())) +} + +/// CreateGraphicsPipelineState through the backend hook with the title's own (empty) +/// root signature and input layout; asserts the pipeline came from translated shaders. +fn pso_through_hook(dev: &ID3D12Device, vs: &[u8], ps: &[u8], layout: &[(&CStr, DXGI_FORMAT, u32)]) -> ID3D12PipelineState { + let game_rs: ID3D12RootSignature = unsafe { + let desc = D3D12_ROOT_SIGNATURE_DESC { Flags: D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT, ..Default::default() }; + let mut ser = None; + D3D12SerializeRootSignature(&desc, D3D_ROOT_SIGNATURE_VERSION_1, &mut ser, None).unwrap(); + let ser = ser.unwrap(); + dev.CreateRootSignature(0, std::slice::from_raw_parts(ser.GetBufferPointer() as *const u8, ser.GetBufferSize())).unwrap() + }; + let elems: Vec<D3D12_INPUT_ELEMENT_DESC> = layout + .iter() + .map(|(name, fmt, off)| D3D12_INPUT_ELEMENT_DESC { + SemanticName: windows::core::PCSTR(name.as_ptr() as *const u8), + Format: *fmt, + AlignedByteOffset: *off, + InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, + ..Default::default() + }) + .collect(); + let mut desc = D3D12_GRAPHICS_PIPELINE_STATE_DESC { + pRootSignature: std::mem::ManuallyDrop::new(Some(game_rs)), + VS: D3D12_SHADER_BYTECODE { pShaderBytecode: vs.as_ptr() as _, BytecodeLength: vs.len() }, + PS: D3D12_SHADER_BYTECODE { pShaderBytecode: ps.as_ptr() as _, BytecodeLength: ps.len() }, + SampleMask: u32::MAX, + InputLayout: D3D12_INPUT_LAYOUT_DESC { pInputElementDescs: elems.as_ptr(), NumElements: elems.len() as u32 }, + PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE, + NumRenderTargets: 1, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + ..Default::default() + }; + desc.BlendState.RenderTarget[0].RenderTargetWriteMask = D3D12_COLOR_WRITE_ENABLE_ALL.0 as u8; + desc.RasterizerState.FillMode = D3D12_FILL_MODE_SOLID; + desc.RasterizerState.CullMode = D3D12_CULL_MODE_NONE; + desc.RasterizerState.DepthClipEnable = true.into(); + desc.RTVFormats[0] = DXGI_FORMAT_R32G32B32A32_FLOAT; + let before = real::stats(); + let pso: ID3D12PipelineState = unsafe { dev.CreateGraphicsPipelineState(&desc) }.expect("CreateGraphicsPipelineState przez hak backendu"); + unsafe { std::mem::ManuallyDrop::drop(&mut desc.pRootSignature) }; + let after = real::stats(); + assert_eq!(after.translated_pipelines, before.translated_pipelines + 1, "PSO nie powstał z przetłumaczonych shaderów: {:?}", after.translation_errors); + assert_eq!(after.fallback_pipelines, before.fallback_pipelines, "użyto zastępczych shaderów"); + pso +} + +/// `VS_Rage_TransformPosCpv` (POSITION · world 4×3 · view-projection 4×4, COLOR passed on; +/// s[8:9] = address of a table of two V#s) + `PS_Rage_Untextured` (interpolated COLOR → +/// SV_Target0 through f16): one triangle, interpolated colours checked pixel by pixel. +#[test] +fn retail_vs_ps_through_the_pso_hook_render_and_read_back() { + let _serial = SERIAL.lock().unwrap_or_else(|e| e.into_inner()); + let Some((blobs, dev)) = setup(&["VS_Rage_TransformPosCpv_f020b20e_Wrapped", "PS_Rage_Untextured_14f8529b_Wrapped"]) else { return }; + let pso = pso_through_hook(&dev, &blobs[0], &blobs[1], &[(c"POSITION", DXGI_FORMAT_R32G32B32_FLOAT, 0), (c"COLOR", DXGI_FORMAT_R32G32B32A32_FLOAT, 12)]); + let rs = real::abi_root_signature().expect("root signature ABI XCL"); + + // explicit inputs: user SGPR s[8:9] → descriptor table at 0x100 with two V#s + let mut io = vec![0u32; 128]; + io[8] = 0x100; + io[9] = 0; + let mut mem = vec![0u32; 0xC00]; + let vsharp = |base: u32| [base, 0, 0x1000, 0]; + mem[0x100 / 4..0x100 / 4 + 4].copy_from_slice(&vsharp(0x1000)); // world (VS reads 0x00..0x3F) + mem[0x120 / 4..0x120 / 4 + 4].copy_from_slice(&vsharp(0x2000)); // view-projection (0x160..0x19F) + // world rows = coefficients of x, y, z, then translation: (0.5·x + 0.25, 0.5·y, z) + let world: [[f32; 4]; 4] = [[0.5, 0.0, 0.0, 0.0], [0.0, 0.5, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.25, 0.0, 0.0, 0.0]]; + for (r, row) in world.iter().enumerate() { + for (c, v) in row.iter().enumerate() { + mem[0x1000 / 4 + 4 * r + c] = f(*v); + } + } + // view-projection: out.k = Σ m[4·i + k]·world_i + m[12 + k]; flips y + let mut vp = [0.0f32; 16]; + vp[0] = 1.0; + vp[5] = -1.0; + vp[10] = 1.0; + vp[15] = 1.0; + for (i, v) in vp.iter().enumerate() { + mem[(0x2000 + 0x160) / 4 + i] = f(*v); + } + let corners = [([-1.0f32, -1.0, 0.5], [1.0f32, 0.0, 0.0, 1.0]), ([-1.0, 1.0, 0.5], [0.0, 1.0, 0.0, 1.0]), ([1.0, -1.0, 0.5], [0.0, 0.0, 1.0, 0.5])]; + let mut vertices = Vec::new(); + for (p, c) in &corners { + vertices.extend_from_slice(p); + vertices.extend_from_slice(c); + } + let px = runner::draw_on(&dev, &pso, &rs, &vertices, 28, &io, &mem, SIZE, CLEAR).expect("rysowanie"); + + // expected: the same transform on the CPU → pixel-space triangle → interpolated colour + let to_px = |p: [f32; 3]| { + let (wx, wy) = (0.5 * p[0] + 0.25, 0.5 * p[1]); + let (cx, cy) = (wx, -wy); + ((cx + 1.0) * 0.5 * SIZE as f32, (1.0 - cy) * 0.5 * SIZE as f32) + }; + let (a, b, c) = (to_px(corners[0].0), to_px(corners[1].0), to_px(corners[2].0)); + let area = (b.0 - a.0) * (c.1 - a.1) - (c.0 - a.0) * (b.1 - a.1); + let (mut inside, mut outside) = (0, 0); + for y in 0..SIZE as usize { + for x in 0..SIZE as usize { + let (qx, qy) = (x as f32 + 0.5, y as f32 + 0.5); + let l1 = ((b.0 - qx) * (c.1 - qy) - (c.0 - qx) * (b.1 - qy)) / area; + let l2 = ((c.0 - qx) * (a.1 - qy) - (a.0 - qx) * (c.1 - qy)) / area; + let l3 = 1.0 - l1 - l2; + let got = px[y * SIZE as usize + x]; + let m = l1.min(l2).min(l3); + if m > 0.02 { + let want: Vec<f32> = (0..4).map(|k| l1 * corners[0].1[k] + l2 * corners[1].1[k] + l3 * corners[2].1[k]).collect(); + let ok = (0..4).all(|k| (got[k] - want[k]).abs() < 0.01); + assert!(ok, "piksel ({x},{y}) wewnątrz: {got:?}, oczekiwane {want:?}"); + inside += 1; + } else if m < -0.02 { + assert_eq!(got, CLEAR, "piksel ({x},{y}) poza trójkątem"); + outside += 1; + } + } + } + println!("sprawdzone piksele: {inside} wewnątrz, {outside} na zewnątrz; trójkąt {a:?} {b:?} {c:?}"); + assert!(inside > 400 && outside > 2500, "za mało sprawdzonych pikseli: {inside} / {outside}"); +} + +/// Texel (x, y) of the two test textures, RGBA8. +fn texel_a(x: usize, y: usize) -> [u8; 4] { + [(x * 4) as u8, (y * 4) as u8, if (x / 8 + y / 8) % 2 == 0 { 255 } else { 0 }, 255] +} + +fn texel_b(x: usize, y: usize) -> [u8; 4] { + [(255 - y * 4) as u8, 128, (x * 4) as u8, 200] +} + +/// Console T# of a linear (SW_MODE 0) 64×64 8_8_8_8_UNORM 2D texture at `address`. +fn console_tsharp(address: u64, dst_sel: [u32; 4]) -> [u32; 8] { + let (w1, h1) = (SIZE - 1, SIZE - 1); + [ + (address >> 8) as u32, + ((address >> 40) as u32 & 0xFF) | 56 << 20 | (w1 & 3) << 30, + (w1 >> 2) | h1 << 14, + dst_sel[0] | dst_sel[1] << 3 | dst_sel[2] << 6 | dst_sel[3] << 9 | 9 << 28, + 0, + 0, + 0, + 0, + ] +} + +/// `VS_Rage_TransformPosCpvTex` + `PS_Rage_Textured` (texture · vertex colour; the T# comes +/// from the descriptor table at s[8:9] + 0x20, the S# is built into the code). Two console +/// T#s → our decoder → D3D12 textures and views; one pipeline, two draws in one command list +/// whose only difference is the descriptor table (left half: texture A, right half: +/// texture B with BGRA swizzle). Checked texel by texel, then that the change took effect. +#[test] +fn retail_textured_ps_decoded_descriptors_and_a_descriptor_change_between_draws() { + let _serial = SERIAL.lock().unwrap_or_else(|e| e.into_inner()); + let Some((blobs, dev)) = setup(&["VS_Rage_TransformPosCpvTex_1702efec_Wrapped", "PS_Rage_Textured_1702efec_Wrapped"]) else { return }; + let pso = pso_through_hook( + &dev, + &blobs[0], + &blobs[1], + &[(c"POSITION", DXGI_FORMAT_R32G32B32_FLOAT, 0), (c"COLOR", DXGI_FORMAT_R32G32B32A32_FLOAT, 12), (c"TEXCOORD", DXGI_FORMAT_R32G32_FLOAT, 28)], + ); + let rs = real::abi_root_signature().expect("root signature ABI XCL"); + + // console memory: texel data at the addresses the T#s name, constants, two descriptor tables + let (addr_a, addr_b) = (0x1_0000u64, 0x2_0000u64); + let mut mem = vec![0u32; 0x2_4000 / 4]; + let bytes = |mem: &mut Vec<u32>, at: u64, texel: fn(usize, usize) -> [u8; 4]| { + for y in 0..SIZE as usize { + for x in 0..SIZE as usize { + mem[at as usize / 4 + y * SIZE as usize + x] = u32::from_le_bytes(texel(x, y)); + } + } + }; + bytes(&mut mem, addr_a, texel_a); + bytes(&mut mem, addr_b, texel_b); + let t_a = console_tsharp(addr_a, [4, 5, 6, 7]); // identity + let t_b = console_tsharp(addr_b, [6, 5, 4, 7]); // r ← z, b ← x + // the static sampler the PS builds in code: s[0:3] = 0x400, 0xC00000, 0x18F00000, 0 + let s_code = [0x400u32, 0xC0_0000, 0x18F0_0000, 0]; + + // our decoder: T# → D3D12 resource + SRV (texel data read from the T#'s address), S# → sampler + let mut textures = Vec::new(); + for t in [t_a, t_b] { + let img = desc::image(&t).expect("T#"); + assert_eq!(img.swizzle_mode, 0, "test używa liniowych tekstur"); + let (res, srv) = desc::image_d3d12(&img).expect("format DXGI"); + assert_eq!((res.Width, res.Height, res.Format), (SIZE as u64, SIZE, DXGI_FORMAT_R8G8B8A8_UNORM)); + let at = img.address as usize; + let data: Vec<u8> = mem[at / 4..at / 4 + (SIZE * SIZE) as usize].iter().flat_map(|w| w.to_le_bytes()).collect(); + textures.push(runner::ViewTexture { res, srv, data, row_bytes: SIZE as usize * 4 }); + } + let sampler = desc::sampler_d3d12(&s_code, false); + assert_eq!((sampler.Filter, sampler.AddressU, sampler.MaxAnisotropy), (D3D12_FILTER_ANISOTROPIC, D3D12_TEXTURE_ADDRESS_MODE_WRAP, 4)); + + // descriptor tables in the XCL shader ABI form: +0x00 world V#, +0x20 T#, +0x40 view-projection V# + let vsharp = |base: u32| [base, 0, 0x1000, 0]; + for (table, t, heap_index) in [(0x100usize, t_a, 0u32), (0x200, t_b, 2)] { + mem[table / 4..table / 4 + 4].copy_from_slice(&vsharp(0x1000)); + mem[(table + 0x20) / 4..(table + 0x20) / 4 + 8].copy_from_slice(&desc::xcl_image_words(&t, heap_index)); + mem[(table + 0x40) / 4..(table + 0x40) / 4 + 4].copy_from_slice(&vsharp(0x2000)); + } + assert_eq!(desc::xcl_sampler_words(&s_code, 0), s_code, "S# z kodu wskazuje sampler 0"); + // identity world and view-projection + for (i, v) in [1.0f32, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0].iter().enumerate() { + mem[0x1000 / 4 + i] = f(*v); + } + for (i, v) in [1.0f32, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0].iter().enumerate() { + mem[(0x2000 + 0x160) / 4 + i] = f(*v); + } + // full-screen quad, white, uv = screen position → every pixel centre hits a texel centre + let mut vertices = Vec::new(); + for (x, y) in [(-1.0f32, -1.0f32), (-1.0, 1.0), (1.0, -1.0), (1.0, -1.0), (-1.0, 1.0), (1.0, 1.0)] { + vertices.extend_from_slice(&[x, y, 0.5, 1.0, 1.0, 1.0, 1.0, (x + 1.0) * 0.5, (1.0 - y) * 0.5]); + } + let half = SIZE as i32 / 2; + let user_data = |table: u32| { + let mut io = vec![0u32; 128]; + io[8] = table; + io + }; + let draws = [ + runner::Draw { sgprs: user_data(0x100), scissor: [0, 0, half, SIZE as i32] }, + runner::Draw { sgprs: user_data(0x200), scissor: [half, 0, SIZE as i32, SIZE as i32] }, + ]; + let px = runner::draw_on_multi(&dev, &pso, &rs, &vertices, 36, &draws, &mem, &textures, &[sampler], SIZE, CLEAR).expect("rysowanie"); + + let unorm = |t: [u8; 4]| t.map(|c| c as f32 / 255.0); + let (mut checked, mut changed) = (0, 0); + for y in 0..SIZE as usize { + for x in 0..SIZE as usize { + let got = px[y * SIZE as usize + x]; + let a = unorm(texel_a(x, y)); + let b = unorm(texel_b(x, y)); + let want = if x < half as usize { a } else { [b[2], b[1], b[0], b[3]] }; + assert!((0..4).all(|k| (got[k] - want[k]).abs() < 0.005), "piksel ({x},{y}): {got:?}, oczekiwane {want:?}"); + checked += 1; + // right half: the second draw saw the other descriptor, not texture A + if x >= half as usize && (0..4).any(|k| (got[k] - a[k]).abs() > 0.05) { + changed += 1; + } + } + } + let right = (SIZE * SIZE / 2) as usize; + println!("sprawdzone piksele: {checked}; po zmianie deskryptora różnych od tekstury A: {changed} / {right}"); + assert!(changed > right * 9 / 10, "zmiana deskryptora między draw callami nie zmieniła wyniku: {changed} / {right}"); +} diff --git a/docs/specs/2026-11-20-xcl-design.md b/docs/specs/2026-11-20-xcl-design.md new file mode 100644 index 0000000..53d408b --- /dev/null +++ b/docs/specs/2026-11-20-xcl-design.md @@ -0,0 +1,502 @@ +# XCL — warstwa zgodności Xbox Series X|S → Windows (projekt) + +Data: 2026-11-20 · Status: do akceptacji · Nazwa robocza: **XCL** (do zmiany) + +## 1. Cel i dlaczego + +Uruchamiać na zwykłym PC z Windows 11 (x64) gry zbudowane dla Xbox Series X|S +(GDK, „Scarlett”) **bez emulacji CPU** — kod gry to natywny x64, więc wykonuje +się bezpośrednio. Warstwa podstawia własne implementacje bibliotek, których na +PC nie ma (`kernelx`, XGameRuntime, D3D12.X, XAudio2 z XMA2, GameInput), +podobnie jak Wine/Proton robią to dla Windows na Linuksie, a WinDurango dla +Xbox One. + +**Pierwszy sukces (słowami użytkownika):** „odpalenie gry poprawnie, czyli +obsłużenie plików (rpf itd.) i odpalenie gierki na kompie”. W praktyce: +exe gry ładuje się, wszystkie jego importy są podpięte, gra przechodzi +inicjalizację i czyta swoje pliki danych (archiwa takie jak RPF czyta kod +samej gry — warstwa musi tylko dostarczyć działające operacje na plikach). + +Warstwa ma być **ogólna** — dla dowolnego tytułu z Series, nie pod jedną grę. + +## 2. Cele, nie-cele, antycele + +**Cele** +- Uniwersalny loader gier z Series (x64 PE) z automatycznymi zaślepkami dla + niezaimplementowanych funkcji i pełnym raportem, czego brakuje. +- `kernelx` + podstawowy XGameRuntime wystarczające, by gra wystartowała, + czytała pliki i zapisywała dane (zapisy, cache) poza folderem gry. +- Ścieżka rozwoju do grafiki (D3D12.X → D3D12), audio (XAudio2/XMA2) i + wejścia (GameInput) — kolejne etapy. + +**Nie-cele (poza zakresem)** +- Odszyfrowywanie paczek (XVC/MSIXVC) i jakiekolwiek obchodzenie DRM. + Warstwa zakłada pliki gry już w postaci zwykłych plików PE/danych. +- Usługi online Xbox Live (XSAPI, multiplayer, osiągnięcia) — tylko tryb offline. +- Gry z Xbox One (XDK/ERA, D3D11.X) — to robi WinDurango. +- Tłumaczenie natywnego kodu GPU konsoli (ISA RDNA2), jeśli gra nie zawiera + DXIL (zob. ryzyka). +- macOS i Linux. Platforma docelowa to wyłącznie Windows x64. Jedyny wymóg + „na przyszłość”: backend grafiki da się podmienić na vkd3d-proton (§5.7). + Działanie `xcl.exe` pod Wine **nie** jest wymagane, więc techniki hooków + nie muszą być z nim zgodne. macOS na Apple Silicon wymagałby tłumaczenia + CPU (Rosetta), co kłóci się z założeniem „bez emulacji CPU”. + +**Antycele (porażka, nawet jeśli „działa”)** +- **Jakakolwiek zmiana lub usunięcie pliku w folderze gry.** Folder gry jest + wyłącznie do odczytu; jeśli gra chce coś zmienić, kopiujemy pojedynczy plik + do nakładki (overlay) i zmieniamy kopię. (Wymóg użytkownika.) +- Ciche błędy — każde wywołanie niezaimplementowanej funkcji musi być zalogowane. +- Kod lub nagłówki z wycieków SDK w repozytorium. Deklaracje piszemy sami na + podstawie publicznej dokumentacji (docs.xbox.com, learn.microsoft.com). +- Udawanie licencji sklepu (XStore zwraca „offline/niedostępne”, nie „kupione”). + +## 3. Ograniczenia + +- Host: Windows 11 x64. Narzędzia dostępne na maszynie: Visual Studio 2022 + Community (MSVC, CMake i Ninja dołączone do VS), Git, Python 3.12, MSYS2 gcc. +- Na konsoli Series dostępne jest **tylko D3D12.X** (D3D11.X nie istnieje) — + źródło: publiczna dokumentacja GDK. +- Pełna dokumentacja niektórych tematów (np. definicje kompilatora shaderów + Xbox) jest za NDA; opieramy się tylko na publicznych stronach. +- Brak legalnych testowych binarek z Series → testujemy na własnym programie + testowym (§7), który ma tablicę importów jak tytuł konsolowy. +- **Prawdziwe tytuły uruchamia użytkownik** na własnych plikach i na swoim + komputerze. Wykonawca nie ma do nich dostępu i nie testuje na nich. Pętla + pracy: użytkownik uruchamia `xcl inspect` / `xcl run` i przekazuje + `report.json` + log, a wykonawca na tej podstawie dopisuje kolejne funkcje. + Program testowy sprawdza mechanikę (loader, TLS, VFS…), ale nie wychwyci + błędnych sygnatur, ordinali ani układów struktur, bo obie strony testu + bazują na tych samych deklaracjach. To wychwycą dopiero raporty z + prawdziwych tytułów. +- Warunek wstępny dla prawdziwego tytułu: pliki są już zwykłymi plikami + PE/danych, a nie zaszyfrowaną paczką XVC/MSIXVC. `xcl inspect` wykrywa i + zgłasza plik, który nie jest poprawnym PE x64. +- Nazwy importów prawdziwych gier z Series nie są znane z góry (mogą to być + `kernelx.dll`, API-sety `api-ms-win-*`, eksporty tylko konsolowe, importy + po samym ordinalu). Dlatego resolver jest sterowany danymi (aliasy + baza + ordinali/zaślepek), a nie zaszyte listy. + +## 4. Podejścia + +| | Opis | Plusy | Minusy | +|---|---|---|---| +| A | **Podmiana DLL** (jak WinDurango): Windows ładuje exe gry, obok leżą nasze `kernelx.dll` itd. | Najprościej; TLS, wyjątki, ładowanie robi Windows. | Jedna brakująca funkcja = gra nie startuje („nie znaleziono punktu wejścia”). Każdą funkcję trzeba dopisać i przebudować. DLL muszą leżeć obok exe → kopiowanie exe do folderu tymczasowego. | +| **B** | **Własny loader PE** (`xcl.exe`): sami mapujemy exe gry do pamięci i rozwiązujemy importy przez centralną tablicę; brakujące funkcje → automatyczne zaślepki logujące. | Gra zawsze idzie tak daleko, jak się da; pełny raport braków po 1. uruchomieniu; nic nie trzeba kopiować do folderu gry; jedno miejsce kontroli (ścieżki, pamięć, wątki). | Sami robimy to, co zwykle robi Windows: statyczny TLS, rejestracja wyjątków, widoczność obrazu dla systemu. | +| C | Hybryda: kopia exe z przepisaną tablicą importów, ładowana przez Windows. | Windows robi TLS. | Wady A (sztywne listy eksportów), bez przewagi nad B. | + +**Wybór: B** (decyzja projektanta; użytkownik oddał „jak” — „rób ogólnie”). +Uzasadnienie: cel to ogólna warstwa i „gra startuje”; B jako jedyne daje +start mimo braków i raport, co dalej, dla każdego tytułu. Ryzyka B (TLS, +wyjątki C++) są sprawdzane jako pierwsze zadania etapu M1 na programie testowym. + +**DXVK/DXMT** (sugestia użytkownika): rozważone, **nieużywane dla gier z +Series** — oba tłumaczą tylko D3D8–11 (DXVK → Vulkan, DXMT → Metal/macOS), +a gry z Series używają wyłącznie D3D12.X. Odpowiednikiem dla D3D12 jest +natywne D3D12 na Windows lub vkd3d-proton (D3D12 → Vulkan) — zob. §5.7. + +## 5. Architektura + +Jeden proces: `xcl.exe` (launcher + loader + wszystkie moduły HLE jako +biblioteki statyczne). Gra jest mapowana do tego procesu i wykonywana natywnie. + +``` +xcl.exe + ├─ launcher CLI: `xcl run <folder|exe>`, `xcl inspect <exe>` + ├─ loader mapowanie PE, relokacje, TLS, wyjątki, tabela modułów + ├─ resolver polityka importów, aliasy, generator zaślepek + ├─ vfs montowania, tłumaczenie ścieżek, overlay copy-on-write + ├─ hle/kernelx (M1) + ├─ hle/xgameruntime (M1, podzbiór offline) + ├─ hle/d3d12x (M2) + ├─ hle/xaudio2 (M3) + ├─ hle/gameinput (M4) + └─ common log, konfiguracja, raport +``` + +### 5.1 Loader PE (M1) + +1. Wczytaj exe gry (tylko odczyt), sprawdź: PE32+, `IMAGE_FILE_MACHINE_AMD64`. +2. Zarezerwuj pamięć pod preferowanym `ImageBase`; jeśli zajęte i są relokacje + → relokuj; jeśli zajęte i brak relokacji → czytelny błąd. (`xcl.exe` jest + budowany z ASLR, więc typowy adres `0x140000000` jest zwykle wolny.) +3. Zmapuj sekcje, zastosuj relokacje, rozwiąż importy **zwykłe i opóźnione + (delay-load)** przez resolver (§5.2), ustaw ochronę stron sekcji. +4. **Wyjątki:** zarejestruj `.pdata` (`RtlAddFunctionTable`). Dodatkowo obraz + musi być „widoczny” dla systemu: wyjątki C++ na x64 używają + `RtlPcToFileHeader`, który szuka modułu na liście loadera Windows — + zmapowany ręcznie obraz tam nie występuje. Rozwiązanie: hook + `RtlPcToFileHeader` i `GetModuleHandleExW(FROM_ADDRESS)` (Microsoft + Detours, MIT) albo wpis do list modułów w PEB — wybór dla wykonawcy; + test: wyjątek C++ rzucony i złapany w kodzie gry musi działać. +5. **Statyczny TLS** (`__declspec(thread)`, używany powszechnie): przydziel + indeks, wpisz go do `AddressOfIndex` gry, dla każdego wątku zbuduj blok + z szablonu TLS gry i wstaw go do tablicy `ThreadLocalStoragePointer` w TEB + (rozszerzając ją). Nowe wątki: przez własny callback TLS `xcl.exe` + (dostaje `DLL_THREAD_ATTACH` dla każdego nowego wątku, także z puli + wątków systemu). Wątki istniejące przed załadowaniem: uzupełnić przy + ładowaniu. Wywołać callbacki TLS gry (process/thread attach/detach). + Dokładna technika — dla wykonawcy; wymagane testy wielowątkowe. +6. Ustaw `PEB->ImageBaseAddress` na obraz gry przed startem (zasoby, + `GetModuleHandle(NULL)` w kodzie systemowym) — po weryfikacji, że nie psuje + launchera; inaczej obsłużyć w shimach. +7. Wywołaj punkt wejścia gry na wątku z dużym stosem (rozmiar z nagłówka PE + gry, `SizeOfStackReserve`). + +DLL dostarczone **przez grę** (middleware itp.) ładowane są tym samym +loaderem, rekurencyjnie, z importami przez resolver. + +### 5.2 Resolver importów (M1) + +Dla każdego importu `dll!funkcja` (lub `dll!#ordinal`), w kolejności: + +1. **Aliasy z konfiguracji** (np. `api-ms-win-core-*` → `kernelx` albo → system). +2. **Moduł HLE** o tej nazwie (`kernelx`, `xgameruntime`, …): jeśli funkcja + zaimplementowana → nasza implementacja. Moduł może mieć **fallback do + systemowej DLL** (np. `kernelx` → `kernelbase`/`kernel32` dla funkcji o + tych samych nazwach, których nie nadpisujemy). +3. **DLL z folderu gry** → nasz loader (5.1). +4. **Systemowa DLL Windows z białej listy** (np. `ucrtbase`, `vcruntime140`, + `msvcp140`, `user32`, `ws2_32`) → `LoadLibrary` + `GetProcAddress`. +5. **Brak** → **automatyczna zaślepka**: mały thunk x64 (np. `mov r10, info; + jmp handler` — bez ruszania rejestrów argumentów), który przy pierwszym + wywołaniu loguje `[STUB] dll!funkcja` z adresem wywołującego (RVA w + obrazie gry) i zwraca wartość z bazy zaślepek (domyślnie `0`; dla funkcji + znanych jako HRESULT — `E_NOTIMPL`; nadpisywalne w konfiguracji). + +**Importy po ordinalu:** ordinali nie da się ustalić z publicznej dokumentacji. +Resolver ma bazę `dll → {ordinal → nazwa, wartość zwracana}` w pliku danych +(np. TOML/JSON w repo), uzupełnianą na podstawie raportów. Nieznany ordinal +dostaje zaślepkę `dll!#N`, a `inspect` i `report.json` wypisują go osobno. + +Runtime: `LoadLibrary*`/`GetModuleHandle*`/`GetProcAddress` wywołane przez grę +trafiają do shimów, które używają tej samej tabeli modułów (moduły HLE mają +pseudo-uchwyty). + +### 5.3 kernelx (M1) + +Grupy funkcji (sygnatury z publicznej dokumentacji + raporty importów; +WinDurango `kernelx.cpp`, LGPL-3.0, jako referencja logiki): + +- **Pamięć:** `VirtualAlloc*/Free/Protect/Query` z usuwaniem flag + konsolowych (np. pamięć graficzna/tytułu), rodzina `XMemAlloc/XMemFree/ + XMemSetAllocationHooks`, API stron fizycznych (emulacja przez + `VirtualAlloc`/file mapping), `TitleMemoryStatus` (budżet z konfiguracji). +- **Wątki:** nazwy wątków, maski koligacji (rdzenie konsoli → rdzenie PC), + rodzina `XThread*`. +- **Pliki:** przez VFS (§5.4). +- **Moduły:** shimy z §5.2. +- **System:** typ konsoli (`XSystemGetDeviceType` itp. — konfigurowalnie + Series X / Series S), wersja OS, info o procesorze. +- Reszta (synchronizacja, czas, …) → fallback do systemu. + +### 5.4 System plików (VFS) (M1) + +- **Montowania:** katalog główny gry = oryginalny folder gry, **tylko do + odczytu**. Litery dysków / ścieżki konsolowe → mapowanie z konfiguracji. + Każda nieznana ścieżka konsolowa jest logowana `[VFS] unmapped`, żeby + dopisać mapowanie. +- **Dane zapisywalne** w `%LOCALAPPDATA%\XCL\<tytuł>\`: `overlay\`, `saves\`, + `pls\` (persistent local storage), `temp\`, `logs\`. +- **Copy-on-write:** otwarcie pliku gry do zapisu → skopiuj **ten jeden plik** + do `overlay\` i otwórz kopię. Odczyt: najpierw overlay, potem oryginał. + Usunięcie → znacznik w overlay (oryginał nietknięty). Wyliczanie katalogów + scala obie warstwy. +- **Zasięg:** VFS musi łapać także operacje z DLL ładowanych przez Windows + (np. CRT: `fopen` → `ucrtbase` → `CreateFileW`), więc działa jako globalne + hooki w procesie (Detours) na API plików (Win32 lub `Nt*` — wybór + wykonawcy), a nie tylko na importach gry. +- Launcher nigdy nie tworzy plików w folderze gry. + +### 5.5 XGameRuntime — podzbiór offline (M1) + +- `XGameRuntimeInitialize/Uninitialize`. +- `XTaskQueue` + `XAsync` — port z **libHttpClient** (Microsoft, MIT), który + zawiera ich implementację. +- `XSystem*` (typ urządzenia, ID konsoli — z konfiguracji). +- `XPackage*` (ścieżka montowania = katalog gry; DLC = podfoldery z konfiguracji). +- `XUser*` — jeden lokalny użytkownik offline (gamertag z konfiguracji). +- `XGameSave*` → `saves\`, `XPersistentLocalStorage*` → `pls\`. +- `XGameUI*` → zaślepki zwracające „anulowano/niedostępne”. +- `XStore*` → błąd „offline/niedostępne” (bez udawania licencji). + +### 5.5a „Pusta” grafika D3D12.X — null device (M1) + +Bez tego gra zakończyłaby się przy pierwszym wywołaniu grafiki, zanim zdąży +wczytać większość danych. Dlatego M1 zawiera minimalny `d3d12_xs`: + +- Eksporty tworzące urządzenie/kolejki zwracają **atrapy obiektów**, które + przyjmują każde wywołanie, logują je i zwracają sukces z poprawnymi + atrapami parametrów wyjściowych (np. kolejne obiekty-atrapy, deskryptory, + „spełnione” fence). +- Okno Win32 gry (tworzy je sama gra przez `user32`) i „prezentacja”, która + co klatkę tylko czyści okno jednym kolorem. **W M1 nie ma obrazu gry**, + obraz to M2. +- Układ vtable: na start kolejność metod z publicznych nagłówków PC D3D12 + (DirectX-Headers) + metody Xbox dopisane na końcu. Każda tablica wirtualna + ma dodatkowo zapas slotów prowadzących do zaślepek, które logują **numer + slotu i interfejs**. Dzięki temu raport z prawdziwego tytułu pokazuje, + gdzie zgadywany układ się rozjeżdża (dane wejściowe do M2). + +### 5.6 Logowanie i raport (M1) + +- `logs\xcl.log` — poziomy, wątek, czas. +- `logs\report.json` po zakończeniu: brakujące importy (statycznie), wywołane + zaślepki (dynamicznie, z licznikiem i miejscem wywołania), niezmapowane + ścieżki, (M2) formaty shaderów i brakujące metody D3D12.X. +- `xcl inspect <exe>` — raport bez uruchamiania: nagłówek PE, TLS, relokacje, + importy (też delay-load) ze statusem: zaimplementowane / fallback do + systemu / zaślepka. Tylko odczyt. + +### 5.7 Grafika D3D12.X → D3D12 (M2 — kierunek, osobna runda projektowa) + +- Backend: **natywne D3D12** na Windows (Agility SDK, publiczne). Architektura + pozwala podmienić `d3d12.dll` na **vkd3d-proton** (LGPL-2.1, D3D12 → Vulkan) + w przyszłości (Linux/Vulkan). +- Eksporty `d3d12_xs.dll` i interfejsy D3D12.X — sygnatury z publicznej + referencji docs.xbox.com; obiekty-opakowania przekazujące wywołania do + D3D12 na PC; metody tylko-Xbox emulowane lub no-op z logiem. +- Prezentacja: konsolowe `PresentX`/zdarzenia klatek → swap chain DXGI + (flip model) na oknie Win32 gry. +- Shadery: parsowanie kontenera; jeśli jest część **DXIL** → usunąć części + Xbox, ponownie podpisać (walidator z DirectXShaderCompiler) i utworzyć PSO; + jeśli tylko kod sprzętowy → log + raport (poza zakresem). +- Najtrudniejsze tematy do osobnego projektu: zunifikowana pamięć i adresy + GPU nadawane przez aplikację, układ vtable interfejsów D3D12.X (nagłówki są + za NDA). + +### 5.7a Shadery konsolowe — recompiler RDNA2 (M2, decyzja z 2026-11-20) + +Użytkownik wskazał (i zgadza się to z ryzykiem nr 1), że D3D12.X dostarcza +shadery skompilowane z góry do mikrokodu GPU konsoli (RDNA2), a nie tylko DXIL. +Żaden sterownik PC nie przyjmuje surowego ISA, a karta użytkownika (RDNA4) ma +inny zestaw instrukcji — potrzebny jest **recompiler mikrokod RDNA2 → shader PC**. + +Etapy: +1. **Przechwytywanie** (zrobione): każdy blob z tworzenia PSO / root signature + jest klasyfikowany (DXIL / DXBC / kontener z nieznanymi częściami / ELF / + surowy RDNA2), zapisywany do `<dane>\shaders\` i liczony w `report.json`. +2. **Dekoder/dezasembler RDNA2** (zrobione): tablice generowane z oficjalnej + specyfikacji AMD Machine-Readable ISA (MIT) skryptem `scripts/gen_rdna2.py`; + walidacja na 23 812 instrukcjach z testów LLVM — 100% zgodności nazw i długości + dla wszystkich instrukcji istniejących w RDNA2; `xcl disasm`. +3. Graf przepływu sterowania + strukturyzacja (EXEC mask → rozgałęzienia per-lane). +4. IR i semantyka instrukcji (najpierw te, które występują w zrzutach z gier). +5. Model zasobów: sprzętowe deskryptory V#/T#/S# → D3D12 bindless + (SM 6.6 `ResourceDescriptorHeap`), konwersja formatów w czasie działania. +6. Backend: HLSL → `dxcompiler`/`d3dcompiler_47`, cache wyników. +7. Wejścia shadera (user SGPR, początkowe VGPR) — wymagają danych z prawdziwych + kontenerów konsolowych (nieznane części) — stąd etap 1 jako pierwszy. + +**Format kontenera konsolowego (zrobione 2026-11-20, `gpu/xbox.rs`)** — ustalony na +paczce shaderów prawdziwej gry (23 869 shaderów: PS 12 101, MS 9 282, VS 2 236, GS 195, CS 55): + +- DXBC: SFI0, ISG1, OSG1, PSV0, HASH, DXIL, PRIV. Część DXIL ma zwykły + `DxilProgramHeader` (SM 6.6), bitcode = 4-bajtowe `NOBC`; między nagłówkiem a nim + `XDAT` (+0x18): liczba wpisów, offset tabeli, wpisy (id, offset, rozmiar) liczone od + nagłówka programu. 0x12 = hash 16 B, 0x0D = XBCH, 0x07 = zagnieżdżony nagłówek (NOBC). +- `XBCH` v3: rozmiar skompresowany (+8), rozpakowany (+0x10), strumień zlib od +0x18. +- `FSSM` v0x101: rozmiar (+8); u64 offset/rozmiar kodu pod +0xC0/+0xC8 (offset od +0x10); + deskryptory etapów `0x000000C0_0002_AAHH` od +0x100 (co 0x88): HH = etap sprzętowy PAL + (2 ES, 3 GS, 4 VS, 5 PS, 6 CS, 7 = MS/NGG), AA = etap API (0 VS, 1 PS, 2 GS, 3 CS, 6 MS). + VS używany z GS ma dwa XBCH (ES + VS); GS ma deskryptory GS + VS (copy shader), ale tylko + jeden program — copy shader powstaje poza FSSM. Nieużywane pola = 0xDEADBEEF; w PS + nagłówek zawiera tablicę wariantów eksportu (łatki `exp` dla formatów RT). +- Kod: jeden program na FSSM, może mieć kilka `s_endpgm` (wspólne wyjście „wszystkie + piksele odrzucone” w PS, trampoliny wchodzone przez `s_setpc`); stałe osadzone w kodzie + jako `s_endpgm | u32 N | N dwordów | s_endpgm` (adresowane przez `s_getpc_b64`). + Kod zaczyna się od dwóch `v_nop` (VOP3 + literał), w których polach i literałach zaszyty + jest MD5 z części HASH (bajty 0–2, 4–10, 12–15 widać wprost); VS zaczyna się dalej od + `s_swappc_b64 s[4:5]` — wywołanie fetch shadera (atrybuty wierzchołków → VGPR wg ISG1). +- Za kodem: tablica wpisów (3, offset w kodzie, 1, wartość, 8) – wygląda na mapowanie + PC → linia źródła; potem nazwa shadera. +- ISA: RDNA2 + zachowane z gfx10.1 `v_mac_f32` (VOP2 0x1F/VOP3 0x11F), `v_madmk_f32` + (0x20), `v_madak_f32` (0x21), `v_mad_f32` (VOP3 0x141) — `gpu/rdna2_xbox.rs`. Sprzęt + pobiera literał, gdy dowolne pole SRC VALU = 255 (również nieużywane przez opcode). + Po tym dekoder rozpoznaje 100% z 28,97 mln instrukcji korpusu (395 mnemoników). +- Priorytety recompilera: `xcl shaders <paczka|folder>` — histogram, w ilu shaderach + występuje mnemonik i pokrycie (ile shaderów ma wyłącznie K pierwszych mnemoników): + K=100 → 6,8%, 150 → 29%, 200 → 54%, 300 → 97,5%, 395 → 100%. Najczęstsze: + `v_mul_legacy_f32` (13,3% instrukcji, semantyka DX9: 0·x = 0), `v_fmac_f32`, `s_waitcnt`, + `v_fma_f32`, `v_mov_b32`. + +Referencje: shadPS4 (GCN → SPIR-V, GPL-2.0 — tylko jako wzorzec, bez kopiowania +kodu), AnyPS5 (RDNA → SPIR-V dla PS5, **GPL-2.0-only** — od 2026-11-20 XCL też jest +GPL-2.0-only, więc logikę można przenosić z adnotacją pochodzenia; inny backend: Vulkan/SPIR-V +i model zasobów PS5/SRT), +Mesa ACO (MIT, semantyka RDNA2), dokumentacja ISA RDNA2 (AMD), LLVM AMDGPU +(Apache-2.0 z wyjątkiem LLVM — tabela formatów buforów GFX10). + +### 5.7b Recompiler — stan (2026-11-20, `gpu/recomp/`) + +**Model wykonania (dokładny bez strukturyzacji grafu):** każdy skok w kodzie AMD jest +skalarny, czyli wspólny dla całej fali, więc program to pętla-dyspozytor po blokach +podstawowych (`switch (pc)`); programy bez skoków są emitowane liniowo. SGPR/VCC/EXEC/M0/SCC +to zwykłe zmienne liczone identycznie przez wszystkie wątki (jednolite), maski z instrukcji +wektorowych przez `WaveActiveBallot`, VGPR per wątek z zapisem maskowanym bitem EXEC, +odczyty między wątkami (`v_readlane`, DPP16/DPP8, `ds_swizzle`, `v_permlane(x)16`) przez +`WaveReadLaneAt` (zmienny indeks działa na RX 9070 + DXC 1.8). Wave64/wave32 wykrywane +z kodu (`detect_wave64`). + +**Tryb kernel (weryfikacja):** compute shader `[WaveSize(64)]` — rejestry startowe z bufora, +końcowe rejestry i eksporty do bufora, pamięć płaska (`mem`: adresy z V#/wskaźników). +`runner` (D3D12 na GPU wysokiej wydajności) + `dxc` (dxcompiler.dll z Windows SDK lub +`XCL_DXC_DIR`, podpis przez dxil.dll). Testy instrukcji na prawdziwym GPU (asembler +`rdna2::encode`): ALU f32/u32/i32 z modyfikatorami VOP3, SCC, pętle, rozbieżność przez EXEC +(łącznie z pomijanym blokiem), SDWA (sel/sext/dst_sel/preserve), DPP16/DPP8, cross-lane, +`v_fma_mix*`, cube, `s_load`/`s_buffer_load`/`buffer_load`/`buffer_store`, typowane odczyty +(`buffer_load_format_*`, `tbuffer_*`: 78 formatów GFX10, DST_SEL, niewyrównane adresy, +dokładne końce zakresu UNORM/SNORM — DXC dzieli w przybliżeniu), eksporty (z COMPR). +**Prawdziwy shader konsoli `VS_BlitGenAmbCube` wykonuje się na RX 9070 z poprawnym +SV_Position** (`s_swappc_b64 s[4:5], s[4:5]` = wywołanie fetch shadera → atrybuty w VGPR). + +**Korpus (`xcl shaders … --recomp --compile N`):** 24 064 programy, 0 błędów tłumaczenia, +**7 442 (30,9%) tłumaczy się w całości**, DXC kompiluje 500/500 próbek. Pozostałe bariery to +wyłącznie interfejs grafiki: `v_interp_*` (wejścia PS) i `image_*` (tekstury). + +**Dalej:** (1) tryby VS/PS: wejścia VS z ISG1 zamiast fetch shadera, `v_interp_p1/p2/mov` +→ wejścia PS z ISG1 (indeks atrybutu = rejestr), `exp pos/param/mrt/mrtz` → wyjścia HLSL +(OSG1), (2) model zasobów: dekodowanie T#/S# i odwzorowanie pamięci GPU konsoli na zasoby +D3D12 (bindless SM 6.6 + bufory „płaskie”), (3) LDS (`ds_*` → groupshared w CS), +(4) zwięzłość HLSL (5,6 GB dla całego korpusu — eliminacja martwych rejestrów, scalanie +wyrażeń) i strukturyzacja dla wydajności, (5) cache DXIL. + +### 5.8 Audio (M3 — kierunek) + +- Domyślnie: konsolowe API XAudio2 → **systemowe XAudio2.9** Windows; źródła + **XMA2** (`WAVE_FORMAT_XMA2`) dekodowane do PCM przez **FFmpeg libavcodec** + (ma dekoder XMA2, LGPL-2.1+); port `XmaDecoder` z WinDurango odpada (LGPL-3.0 niezgodne z GPL-2.0-only XCL). +- AcpHal / APU / SHAPE (sprzęt audio konsoli, publiczna referencja istnieje) + → najpierw zaślepki + raport; emulacja kontekstów SHAPE-XMA, jeśli tytuły + ich używają bezpośrednio. + +**Zrobione 2026-11-20 (`hle/xaudio2.rs`)**: `XAudio2Create` / `XAudio2CreateWithVersionInfo` +tworzą prawdziwy silnik Windows (flagi spoza 0x2000|0x8000|0x10000 i maska rdzeni konsoli +pomijane, procesor = `XAUDIO2_DEFAULT_PROCESSOR`), vtable łatane w miejscu: IXAudio2 #5 +CreateSourceVoice (XMA/XMA2 → PCM16, te same kanały i częstotliwość; inny format, którego +Windows nie przyjmie, np. Opus 0x704F, też → PCM16), #7 CreateMasteringVoice (identyfikator +urządzenia konsoli → domyślne; `CO_E_NOTINITIALIZED` → `CoInitializeEx(MTA)` i ponowienie — +konsola nie wymaga COM; potem ponowienie z 0/0 i kategorią GameEffects), IXAudio2SourceVoice +#21 SubmitSourceBuffer (dla takich głosów bufor = cisza o długości PlayBegin+PlayLength albo +oszacowanej z SamplesEncoded/BlockCount·BytesPerBlock lub nAvgBytesPerSec; kontekst, flagi, +pętle zachowane → callbacki w czasie tytułu), #18 DestroyVoice. Reszta eksportów → systemowe +`xaudio2_9.dll` (lista `fallback` modułu HLE). Statystyki: `report.json → audio`. + +**Dane z prawdziwej gry (`audio.rpf`, 28,5 GB, kontenery AWC „ADAT”)**: brak XMA2 — kodek AWC +0x0B = **Opus** 48 kHz (bloki 2048 B: `u16 LE długość + pakiet Opus`, ramki 20 ms, TOC +CELT/Hybrid fullband; strumienie muzyki: bloki 512 KB). Wniosek: dla tego tytułu dekoder XMA2 +nie jest potrzebny; gra albo dekoduje Opus sama (PCM → XAudio2, działa), albo używa +konsolowego sprzętowego dekodowania Opus — do sprawdzenia importów exe (`xcl inspect`). +Windows ma dekoder Opus w Media Foundation (`MSOpusDecoder.dll`) — kandydat na backend. + +### 5.9 Wejście i reszta (M4 — kierunek) + +- GameInput → **GameInput na PC** (Microsoft, redistributable); fallback XInput. +- DirectStorage konsolowe → DirectStorage na PC lub własna implementacja + (plik + zlib). BCPack — brak publicznego dekodera (ryzyko). + +### 5.10 Konfiguracja + +Plik TOML na tytuł w `%LOCALAPPDATA%\XCL\<tytuł>\xcl.toml`: typ konsoli, +montowania, aliasy DLL, nadpisania wartości zaślepek, poziom logów, gamertag. +Rozsądne wartości domyślne — gra ma się dać uruchomić bez pisania configu. + +## 6. Etapy i kryteria sukcesu + +| Etap | Zakres | Gotowe, gdy | +|---|---|---| +| **M0** | Szkielet repo, CMake+Ninja+MSVC, testy jednostkowe, CI lokalne (`ctest`). | `cmake --build` + `ctest` przechodzą. | +| **M1** | Loader, resolver, zaślepki, kernelx, VFS, XGameRuntime offline, null D3D12.X (§5.5a), log/raport, `inspect`. **= pierwszy sukces użytkownika (bez obrazu).** | Program testowy (§7) przechodzi wszystkie sprawdzenia przez `xcl run`; folder gry bajt w bajt niezmieniony; `xcl inspect` działa dla dowolnego PE x64. **Odbiór przez użytkownika** (nie jest warunkiem ukończenia, tylko kolejną iteracją): uruchomienie na własnym tytule, raport → kolejne poprawki. | +| M2 | D3D12.X → D3D12 (osobny projekt). | Program testowy renderuje przez nasze D3D12.X. | +| M3 | XAudio2 + XMA2. | Program testowy odtwarza klip XMA2. | +| M4 | GameInput, DirectStorage. | Pad steruje programem testowym. | + +## 7. Testowanie + +- **Testy jednostkowe** (doctest, MIT): parser PE, relokacje, polityka + resolvera, generator zaślepek, tłumaczenie ścieżek, copy-on-write, TLS. +- **Program testowy `xcl_testtitle.exe`** — nasz własny „tytuł konsolowy”: + linkowany z bibliotekami importów wygenerowanymi z plików `.def` o nazwach + konsolowych DLL (`kernelx.dll` itd.), więc jego tablica importów wygląda + jak u gry z Series; na samym Windows się nie uruchomi — tylko przez `xcl`. + Sprawdza: statyczny TLS w wielu wątkach, wyjątki C++ i SEH, wątki z + nazwami, `VirtualAlloc` z flagami konsolowymi, `XMemAlloc`, odczyt plików + z zamontowanego folderu, próbę zapisu (→ overlay), `XTaskQueue`/`XAsync`, + `XUser`, `XGameSave`, `LoadLibrary`/`GetProcAddress` DLL „gry” (testowa DLL + ładowana naszym loaderem), wywołanie niezaimplementowanej funkcji + (→ zaślepka, program działa dalej). Wynik: kod wyjścia + log. +- **Test nienaruszalności:** przed i po każdym uruchomieniu hash wszystkich + plików folderu testowej gry + lista plików — muszą być identyczne. + +## 8. Gotowe źródła i komponenty + +| Co | Źródło | Licencja | Użycie | +|---|---|---|---| +| Sygnatury API konsoli (D3D12_XS, XGameRuntime, XMA2, SHAPE, DStorage, GameInput) | docs.xbox.com (publiczne, indeks `llms.txt`) | dokumentacja | deklaracje pisane samodzielnie | +| Implementacje kernelx, D3D11.X, XMA | github.com/WinDurango/WinDurango | LGPL-3.0 | wyłącznie referencja (od zmiany licencji XCL na GPL-2.0-only kodu nie wolno przenosić) | +| Recompiler RDNA → SPIR-V (PS5): dekodowanie deskryptorów, obrazy, interpolacja, strukturyzacja | github.com/boykopovar/AnyPS5 | GPL-2.0-only | port logiki z adnotacją pochodzenia | +| XTaskQueue/XAsync | github.com/microsoft/libHttpClient | MIT | port | +| Hooki API | github.com/microsoft/Detours | MIT | VFS, widoczność obrazu | +| Nagłówki D3D12 | github.com/microsoft/DirectX-Headers, Agility SDK | MIT / MS | M2 | +| Walidator/podpis DXIL | github.com/microsoft/DirectXShaderCompiler | NCSA/MS | M2 | +| D3D12 → Vulkan (opcja) | github.com/HansKristian-Work/vkd3d-proton | LGPL-2.1 | M2+ | +| Dekoder XMA2 | FFmpeg libavcodec | LGPL-2.1+ | M3 | +| Referencja loadera PE | github.com/fancycode/MemoryModule | MPL-2.0 | referencja | +| Testy / config / JSON | doctest, toml++, nlohmann/json | MIT | M0+ | + +**Licencja projektu:** GPL-2.0-only (od 2026-11-20, decyzja użytkownika; wcześniej +LGPL-3.0-or-later). Powód: korzystanie z kodu AnyPS5 (GPL-2.0-only). Skutki: kod z WinDurango +(LGPL-3.0) tylko jako referencja; zależności muszą być zgodne z GPL-2 (MIT/BSD/Zlib/LGPL-2.1+; +nie: Apache-2.0 bez alternatywy, GPL-3/LGPL-3); DXC (`dxcompiler.dll`/`dxil.dll`) jest ładowany +z Windows SDK użytkownika, nie dystrybuowany z XCL. Lista: `THIRD_PARTY.md`. + +## 9. Ryzyka + +1. **Shadery bez DXIL** — czy gry z Series zawierają DXIL obok kodu + sprzętowego, opisuje dokumentacja za NDA. Jeśli nie → grafika dla takiego + tytułu zablokowana. Sprawdzane w M2 przez raport formatów shaderów. +2. **Układ vtable D3D12.X** nie jest publiczny → musi być ustalony na + podstawie analizy binarek; błąd = crash. Dotyczy M2. +3. **Model pamięci GPU** (pamięć zunifikowana, adresy GPU = adresy CPU) — + możliwe problemy z wydajnością na kartach z osobną pamięcią VRAM. M2. +4. **Statyczny TLS i wyjątki C++** w ręcznym loaderze — testowane jako + pierwsze w M1. +5. **BCPack / sprzętowa dekompresja** w DirectStorage — brak publicznego + dekodera. +6. Zabezpieczenia antytamper w grach — poza zakresem. +7. Wymagania sprzętowe: konsola ma 16 GB zunifikowanej pamięci; PC potrzebuje + porównywalnej ilości RAM + VRAM. + +## 10. Kto co zdecydował + +**Użytkownik:** cel = gra startuje i czyta swoje pliki; warstwa ogólna, nie +pod jeden tytuł; **nic w folderze gry nie może być usunięte ani zmienione — +tylko kopiowanie pojedynczych plików**; preferencja DXVK/DXMT (rozważona — +§4, nie pasuje do D3D12.X). + +**Zmiana po akceptacji (użytkownik):** język **Rust** zamiast C++, bez +osobnego planu wdrożenia. Konsekwencje: cargo workspace zamiast CMake; +hooki przez crate `retour` (BSD-2) zamiast Detours; XTaskQueue/XAsync +napisane w Rust według nagłówków libHttpClient (MIT) jako specyfikacji; +testy przez `cargo test`; program testowy też w Rust (importy „konsolowe” +przez `#[link(kind = "raw-dylib")]`). Statyczny TLS: tzw. „nośnik TLS” — +generowana w locie minimalna DLL z katalogiem TLS o rozmiarze szablonu +gry, którą ładuje Windows (zarządza slotem dla wszystkich wątków), a XCL +kopiuje do niej szablon gry przy starcie każdego wątku. Launcher uruchamia +grę w procesie potomnym `xcl.exe` z linią poleceń gry (argv[0] = exe gry). + +**Projektant (do skorygowania):** podejście B; jeden proces `xcl.exe` z +modułami statycznymi; tylko x64; licencja LGPL-3.0 (od 2026-11-20: GPL-2.0-only, §8); XGameRuntime offline; XStore bez +udawania licencji; natywne D3D12 jako backend; XAudio2 → systemowe XAudio2.9 ++ FFmpeg dla XMA2; dane w `%LOCALAPPDATA%\XCL\`; nazwa XCL; projekt +w `<repo>`; **null D3D12.X w M1, obraz dopiero w M2**; +tylko Windows (bez wymogu zgodności z Wine); prawdziwe tytuły testuje +użytkownik, a wykonawca pracuje na raportach; resolver sterowany danymi +(baza ordinali). + +## 11. Pozostawione wykonawcy + +Dokładna technika TLS i widoczności obrazu (hook vs wpis w PEB), poziom +hooków VFS (Win32 vs `Nt*`), implementacja thunków zaślepek, biblioteka logów, +układ katalogów repo, format `report.json`, domyślne wartości zwracane przez +zaślepki poza zasadą „HRESULT → E_NOTIMPL”. diff --git a/scripts/gen_d3d12_layout.py b/scripts/gen_d3d12_layout.py new file mode 100644 index 0000000..ed12b06 --- /dev/null +++ b/scripts/gen_d3d12_layout.py @@ -0,0 +1,52 @@ +"""Generate crates/xcl/src/hle/d3d12_layout.rs from d3d12.h (microsoft/DirectX-Headers, MIT). + +Usage: python -I scripts/gen_d3d12_layout.py <d3d12.h> crates/xcl/src/hle/d3d12_layout.rs + +Extracts, for every ID3D12* COM interface: IID, parent interface and the full vtable +method order (including inherited IUnknown/ID3D12Object methods) from the C-style +`XxxVtbl` structs. XCL uses PC order as the first guess for D3D12.X objects and names +every slot in its logs/reports. +""" + +import re +import sys + + +def main(src, dst): + text = open(src, encoding="utf-8", errors="replace").read() + iids = {} + parents = {} + for m in re.finditer(r'MIDL_INTERFACE\("([0-9a-fA-F-]{36})"\)\s*(\w+)\s*:\s*public\s+(\w+)', text): + iids[m.group(2)] = m.group(1).lower() + parents[m.group(2)] = m.group(3) + vtbls = {} + for m in re.finditer(r"typedef struct (\w+)Vtbl\s*\{(.*?)\}\s*\1Vtbl;", text, re.S): + name, body = m.group(1), m.group(2) + raw = re.findall(r"\(\s*STDMETHODCALLTYPE\s*\*\s*(\w+)\s*\)", body) + # struct-returning methods are declared twice (#if !defined(_WIN32) / #else) + methods = [m for i, m in enumerate(raw) if i == 0 or raw[i - 1] != m] + vtbls[name] = methods + names = sorted(n for n in vtbls if n.startswith("ID3D12") and n in iids) + out = [ + "// @generated by scripts/gen_d3d12_layout.py from d3d12.h (microsoft/DirectX-Headers, MIT) – do not edit.", + "", + "pub struct Iface {", + " pub name: &'static str,", + " pub iid: &'static str,", + " pub parent: &'static str,", + " pub methods: &'static [&'static str],", + "}", + "", + "pub static IFACES: &[Iface] = &[", + ] + for n in names: + ms = ", ".join(f'"{x}"' for x in vtbls[n]) + out.append(f' Iface {{ name: "{n}", iid: "{iids[n]}", parent: "{parents.get(n, "")}", methods: &[{ms}] }},') + out.append("];") + open(dst, "w", encoding="utf-8", newline="\n").write("\n".join(out) + "\n") + dev = max((n for n in names if re.fullmatch(r"ID3D12Device\d*", n)), key=lambda n: len(vtbls[n])) + print(f"{len(names)} interfaces; most derived device {dev} with {len(vtbls[dev])} methods -> {dst}") + + +if __name__ == "__main__": + main(sys.argv[1], sys.argv[2]) diff --git a/scripts/gen_rdna2.py b/scripts/gen_rdna2.py new file mode 100644 index 0000000..7b8505e --- /dev/null +++ b/scripts/gen_rdna2.py @@ -0,0 +1,138 @@ +"""Generate crates/xcl/src/gpu/rdna2_spec.rs from AMD's Machine-Readable ISA spec. + +Input: amdgpu_isa_rdna2.xml from https://gpuopen.com/machine-readable-isa/ (MIT licence) +Usage: python -I scripts/gen_rdna2.py <path/to/amdgpu_isa_rdna2.xml> crates/xcl/src/gpu/rdna2_spec.rs + +Only the "primary" encodings (condition "default") are emitted with operands; the +literal / SDWA / DPP / NSA variants are derived at decode time from operand values, +exactly as the hardware does. Instructions that *always* carry a literal (e.g. +V_FMAMK_F32) are flagged. +""" + +import sys +import xml.etree.ElementTree as ET + + +def bits_of(text): + text = text.strip() + return int(text, 2), len(text) + + +def rust_str(s): + return '"' + s.replace("\\", "\\\\").replace('"', '\\"') + '"' + + +def main(src, dst): + root = ET.parse(src).getroot() + doc = root.find("Document") + isa = root.find("ISA") + arch = isa.find("Architecture").findtext("ArchitectureName") + + encodings = [] # (name, bits, order, fixed_mask, fixed_value, fields, op_ranges) + enc_index = {} + for e in isa.find("Encodings"): + name = e.findtext("EncodingName") + nbits = int(e.findtext("BitCount")) + order = int(e.get("Order", "0")) + mask, _ = bits_of(e.find("EncodingIdentifierMask").text) + ids = [bits_of(i.text)[0] for i in e.find("EncodingIdentifiers")] + fields = [] + op_bits = 0 + for f in e.find("MicrocodeFormat").find("BitMap").iter("Field"): + fname = f.findtext("FieldName") + ranges = [] + for r in sorted(f.find("BitLayout").findall("Range"), key=lambda r: int(r.get("Order", "0"))): + off, cnt = int(r.findtext("BitOffset")), int(r.findtext("BitCount")) + ranges.append((off, cnt)) + if fname == "OP": + op_bits |= ((1 << cnt) - 1) << off + fields.append((fname, ranges)) + # identification bits always live in the first 64 bits (NSA masks are longer) + fixed_mask = mask & ~op_bits & ((1 << 64) - 1) + values = {i & fixed_mask for i in ids} + if len(values) != 1: + raise SystemExit(f"{name}: identifiers disagree outside OP: {sorted(values)}") + encodings.append((name, nbits, order, fixed_mask, values.pop(), fields)) + enc_index[name] = len(encodings) - 1 + + insts = [] + primary_used = set() + for i in isa.find("Instructions"): + name = i.findtext("InstructionName") + fl = i.find("InstructionFlags") + flag = 0 + for bit, tag in enumerate(["IsBranch", "IsConditionalBranch", "IsIndirectBranch", "IsProgramTerminator", "IsImmediatelyExecuted"]): + if (fl.findtext(tag) or "FALSE").upper() == "TRUE": + flag |= 1 << bit + encs = [] + always_lit = False + for ie in i.find("InstructionEncodings"): + ename = ie.findtext("EncodingName") + cond = ie.findtext("EncodingCondition") + primary = ename.startswith("ENC_") or ename == "VOP3_SDST_ENC" + if "LITERAL" in ename and cond == "default": + # e.g. V_FMAMK_F32 / S_SETREG_IMM32_B32: the literal is part of the + # instruction, so the "literal" encoding is its only form – map it onto + # the base encoding and flag the extra dword. + always_lit = True + base = "ENC_" + ename.replace("_INST_LITERAL", "") + if base in enc_index: + ename, primary = base, True + if not primary or not cond.startswith(("default", "Nothas")): + continue + ops = [] + for o in sorted(ie.find("Operands"), key=lambda o: int(o.get("Order", "0"))): + ops.append(( + o.findtext("FieldName"), + o.findtext("OperandType"), + int(o.findtext("OperandSize") or "0"), + o.get("Input") == "true", + o.get("Output") == "true", + o.get("IsImplicit") == "true", + )) + encs.append((enc_index[ename], int(ie.findtext("Opcode")), ops)) + primary_used.add(ename) + if encs: + insts.append((name, flag, always_lit, encs)) + + out = [] + w = out.append + w("// @generated by scripts/gen_rdna2.py – do not edit by hand.") + w(f"// Source: AMD Machine-Readable GPU ISA Specification, {arch}") + w(f"// {doc.findtext('Copyright')} Licence: {doc.findtext('License')}. Release {doc.findtext('ReleaseDate')}.") + w("#![allow(clippy::all)]") + w("") + w("use super::rdna2::{Encoding, Field, Inst, InstEnc, Operand};") + w("") + w(f"pub const ARCH: &str = {rust_str(arch)};") + w("") + w("pub static ENCODINGS: &[Encoding] = &[") + for (name, nbits, order, fmask, fval, fields) in encodings: + fs = ", ".join( + "Field { name: %s, ranges: &[%s] }" % (rust_str(fn), ", ".join(f"({o}, {c})" for o, c in rs)) + for fn, rs in fields + ) + prim = "true" if name in primary_used else "false" + w(f" Encoding {{ name: {rust_str(name)}, bits: {nbits}, order: {order}, primary: {prim}, fixed_mask: {fmask:#x}, fixed_value: {fval:#x}, fields: &[{fs}] }},") + w("];") + w("") + w("pub static INSTRUCTIONS: &[Inst] = &[") + for (name, flag, always_lit, encs) in insts: + es = [] + for (ei, opc, ops) in encs: + os_ = ", ".join( + "Operand { field: %s, ty: %s, size: %d, input: %s, output: %s, implicit: %s }" % ( + ("Some(%s)" % rust_str(f)) if f else "None", rust_str(t), sz, + str(inp).lower(), str(outp).lower(), str(imp).lower()) + for (f, t, sz, inp, outp, imp) in ops + ) + es.append(f"InstEnc {{ encoding: {ei}, opcode: {opc}, operands: &[{os_}] }}") + w(f" Inst {{ name: {rust_str(name)}, flags: {flag}, always_literal: {str(always_lit).lower()}, encs: &[{', '.join(es)}] }},") + w("];") + with open(dst, "w", encoding="utf-8", newline="\n") as f: + f.write("\n".join(out) + "\n") + print(f"{arch}: {len(encodings)} encodings ({len(primary_used)} primary), {len(insts)} instructions -> {dst}") + + +if __name__ == "__main__": + main(sys.argv[1], sys.argv[2]) diff --git a/scripts/test.ps1 b/scripts/test.ps1 new file mode 100644 index 0000000..8e78464 --- /dev/null +++ b/scripts/test.ps1 @@ -0,0 +1,7 @@ +# Build everything (the e2e test needs the test title + DLL) and run all tests. +$ErrorActionPreference = 'Stop' +Set-Location (Join-Path $PSScriptRoot '..') +cargo build --workspace +if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } +cargo test --workspace -- --test-threads=4 +exit $LASTEXITCODE diff --git a/tests/data/llvm-amdgpu/LICENSE.TXT b/tests/data/llvm-amdgpu/LICENSE.TXT new file mode 100644 index 0000000..fa6ac54 --- /dev/null +++ b/tests/data/llvm-amdgpu/LICENSE.TXT @@ -0,0 +1,279 @@ +============================================================================== +The LLVM Project is under the Apache License v2.0 with LLVM Exceptions: +============================================================================== + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +---- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. + +============================================================================== +Software from third parties included in the LLVM Project: +============================================================================== +The LLVM Project contains third party software which is under different license +terms. All such code will be identified clearly using at least one of two +mechanisms: +1) It will be in a separate directory tree with its own `LICENSE.txt` or + `LICENSE` file at the top containing the specific license and restrictions + which apply to that software, or +2) It will contain specific license and restriction terms at the top of every + file. + +============================================================================== +Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy): +============================================================================== +University of Illinois/NCSA +Open Source License + +Copyright (c) 2003-2019 University of Illinois at Urbana-Champaign. +All rights reserved. + +Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.org + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal with +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at + Urbana-Champaign, nor the names of its contributors may be used to + endorse or promote products derived from this Software without specific + prior written permission. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE +SOFTWARE. + diff --git a/tests/data/llvm-amdgpu/gfx1030_new.txt b/tests/data/llvm-amdgpu/gfx1030_new.txt new file mode 100644 index 0000000..63d4f0f --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx1030_new.txt @@ -0,0 +1,273 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.30 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.31 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.32 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.33 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.34 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.35 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.36 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX10 %s + +#===------------------------------------------------------------------------===# +# s_waitcnt_depctr. +#===------------------------------------------------------------------------===# + +0xff,0x4f,0xd0,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_csub v5, off, s[8:11], -1 offset:4095 glc ; encoding: [0xff,0x4f,0xd0,0xe0,0x00,0x05,0x02,0xc1] + +0x00,0x00,0xd0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_csub v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xd0,0xe0,0x00,0x05,0x02,0x03] + +0x00,0x40,0xd0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_csub v5, off, s[8:11], s3 glc ; encoding: [0x00,0x40,0xd0,0xe0,0x00,0x05,0x02,0x03] + +0x00,0x40,0xd0,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_csub v5, off, s[8:11], s3 glc slc ; encoding: [0x00,0x40,0xd0,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x4f,0xd0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_csub v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xd0,0xe0,0x00,0x05,0x02,0x03] + +0x00,0x00,0xd0,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_csub v5, off, s[8:11], s3 slc ; encoding: [0x00,0x00,0xd0,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x6f,0xd0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_csub v5, v0, s[8:11], s3 idxen offset:4095 glc ; encoding: [0xff,0x6f,0xd0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x5f,0xd0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_csub v5, v0, s[8:11], s3 offen offset:4095 glc ; encoding: [0xff,0x5f,0xd0,0xe0,0x00,0x05,0x02,0x03] + +0x00,0x80,0xd1,0xdc,0x00,0x02,0x02,0x02 +# GFX10: global_atomic_csub v2, v0, v2, s[2:3] glc ; encoding: [0x00,0x80,0xd1,0xdc,0x00,0x02,0x02,0x02] + +0x64,0x80,0xd3,0xdc,0x00,0x02,0x02,0x02 +# GFX10: global_atomic_csub v2, v0, v2, s[2:3] offset:100 glc slc ; encoding: [0x64,0x80,0xd3,0xdc,0x00,0x02,0x02,0x02] + +0x00,0x80,0xd1,0xdc,0x00,0x02,0x7d,0x02 +# GFX10: global_atomic_csub v2, v[0:1], v2, off glc ; encoding: [0x00,0x80,0xd1,0xdc,0x00,0x02,0x7d,0x02] + +0x64,0x80,0xd3,0xdc,0x00,0x02,0x7d,0x02 +# GFX10: global_atomic_csub v2, v[0:1], v2, off offset:100 glc slc ; encoding: [0x64,0x80,0xd3,0xdc,0x00,0x02,0x7d,0x02] + +0x00,0x80,0xd0,0xdc,0x00,0x02,0x7d,0x00 +# GFX10: global_atomic_csub v[0:1], v2, off ; encoding: [0x00,0x80,0xd0,0xdc,0x00,0x02,0x7d,0x00] + +0x64,0x80,0xd2,0xdc,0x00,0x02,0x7d,0x00 +# GFX10: global_atomic_csub v[0:1], v2, off offset:100 slc ; encoding: [0x64,0x80,0xd2,0xdc,0x00,0x02,0x7d,0x00] + +0x10,0x80,0x58,0xdc,0x00,0x00,0x7d,0x01 +# GFX10: global_load_dword_addtid v1, off offset:16 ; encoding: [0x10,0x80,0x58,0xdc,0x00,0x00,0x7d,0x01] + +0x10,0x90,0x5b,0xdc,0x00,0x00,0x7d,0x01 +# GFX10: global_load_dword_addtid v1, off offset:16 glc slc dlc ; encoding: [0x10,0x90,0x5b,0xdc,0x00,0x00,0x7d,0x01] + +0x10,0x80,0x58,0xdc,0x00,0x00,0x02,0x01 +# GFX10: global_load_dword_addtid v1, s[2:3] offset:16 ; encoding: [0x10,0x80,0x58,0xdc,0x00,0x00,0x02,0x01] + +0x10,0x90,0x5b,0xdc,0x00,0x00,0x02,0x01 +# GFX10: global_load_dword_addtid v1, s[2:3] offset:16 glc slc dlc ; encoding: [0x10,0x90,0x5b,0xdc,0x00,0x00,0x02,0x01] + +0x10,0x80,0x70,0xdc,0xfe,0x01,0x02,0x00 +# GFX10: global_store_dword v254, v1, s[2:3] offset:16 ; encoding: [0x10,0x80,0x70,0xdc,0xfe,0x01,0x02,0x00] + +0x10,0x90,0x5f,0xdc,0x00,0x01,0x7d,0x00 +# GFX10: global_store_dword_addtid v1, off offset:16 glc slc dlc ; encoding: [0x10,0x90,0x5f,0xdc,0x00,0x01,0x7d,0x00] + +0x10,0x90,0x5f,0xdc,0x00,0x01,0x02,0x00 +# GFX10: global_store_dword_addtid v1, s[2:3] offset:16 glc slc dlc ; encoding: [0x10,0x90,0x5f,0xdc,0x00,0x01,0x02,0x00] + +0x07,0x9f,0x9c,0xf1,0x32,0x27,0x03,0x00,0x2e,0x17,0x11,0x10,0x0f,0x15,0x14,0x13,0x25,0x28,0x2a,0x00 +# GFX10: image_bvh64_intersect_ray v[39:42], [v50, v46, v23, v17, v16, v15, v21, v20, v19, v37, v40, v42], s[12:15] ; encoding: [0x07,0x9f,0x9c,0xf1,0x32,0x27,0x03,0x00,0x2e,0x17,0x11,0x10,0x0f,0x15,0x14,0x13,0x25,0x28,0x2a,0x00] + +0x05,0x9f,0x9c,0xf1,0x32,0x27,0x03,0x40,0x2e,0x17,0x11,0x10,0x0f,0x15,0x14,0x13 +# GFX10: image_bvh64_intersect_ray v[39:42], [v50, v46, v23, v17, v16, v15, v21, v20, v19], s[12:15] a16 ; encoding: [0x05,0x9f,0x9c,0xf1,0x32,0x27,0x03,0x40,0x2e,0x17,0x11,0x10,0x0f,0x15,0x14,0x13] + +0x01,0x9f,0x9c,0xf1,0x09,0x04,0x01,0x40 +# GFX10: image_bvh64_intersect_ray v[4:7], v[9:17], s[4:7] a16 ; encoding: [0x01,0x9f,0x9c,0xf1,0x09,0x04,0x01,0x40] + +0x01,0x9f,0x9c,0xf1,0x09,0x04,0x01,0x00 +# GFX10: image_bvh64_intersect_ray v[4:7], v[9:20], s[4:7] ; encoding: [0x01,0x9f,0x9c,0xf1,0x09,0x04,0x01,0x00] + +0x07,0x9f,0x98,0xf1,0x32,0x27,0x03,0x00,0x2e,0x17,0x11,0x10,0x0f,0x15,0x14,0x13,0x25,0x28,0x00,0x00 +# GFX10: image_bvh_intersect_ray v[39:42], [v50, v46, v23, v17, v16, v15, v21, v20, v19, v37, v40], s[12:15] ; encoding: [0x07,0x9f,0x98,0xf1,0x32,0x27,0x03,0x00,0x2e,0x17,0x11,0x10,0x0f,0x15,0x14,0x13,0x25,0x28,0x00,0x00] + +0x05,0x9f,0x98,0xf1,0x32,0x27,0x03,0x40,0x2e,0x17,0x11,0x10,0x0f,0x15,0x14,0x00 +# GFX10: image_bvh_intersect_ray v[39:42], [v50, v46, v23, v17, v16, v15, v21, v20], s[12:15] a16 ; encoding: [0x05,0x9f,0x98,0xf1,0x32,0x27,0x03,0x40,0x2e,0x17,0x11,0x10,0x0f,0x15,0x14,0x00] + +0x01,0x9f,0x98,0xf1,0x09,0x04,0x01,0x40 +# GFX10: image_bvh_intersect_ray v[4:7], v[9:16], s[4:7] a16 ; encoding: [0x01,0x9f,0x98,0xf1,0x09,0x04,0x01,0x40] + +0x01,0x9f,0x98,0xf1,0x09,0x04,0x01,0x00 +# GFX10: image_bvh_intersect_ray v[4:7], v[9:19], s[4:7] ; encoding: [0x01,0x9f,0x98,0xf1,0x09,0x04,0x01,0x00] + +0x3b,0x01,0x00,0xf0,0xcc,0x0e,0x0a,0x00,0x0b,0x0e,0x13,0x00 +# GFX10: image_msaa_load v14, [v204, v11, v14, v19], s[40:47] dmask:0x1 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY ; encoding: [0x3b,0x01,0x00,0xf0,0xcc,0x0e,0x0a,0x00,0x0b,0x0e,0x13,0x00] + +0x09,0x01,0x00,0xf0,0x01,0x05,0x02,0x80 +# GFX10: image_msaa_load v5, v[1:2], s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x09,0x01,0x00,0xf0,0x01,0x05,0x02,0x80] + +0x01,0x0f,0x00,0xf0,0x05,0x01,0x02,0x00 +# GFX10: image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x01,0x0f,0x00,0xf0,0x05,0x01,0x02,0x00] + +0x01,0x2f,0x00,0xf0,0x05,0x01,0x02,0x00 +# GFX10: image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D glc ; encoding: [0x01,0x2f,0x00,0xf0,0x05,0x01,0x02,0x00] + +0x20,0x00,0xa3,0xbf +# GFX10: s_waitcnt_depctr 0x20 ; encoding: [0x20,0x00,0xa3,0xbf] + +0x40,0x00,0xa3,0xbf +# GFX10: s_waitcnt_depctr 0x40 ; encoding: [0x40,0x00,0xa3,0xbf] + +0x60,0x00,0xa3,0xbf +# GFX10: s_waitcnt_depctr 0x60 ; encoding: [0x60,0x00,0xa3,0xbf] + +0xff,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr 0xffff ; encoding: [0xff,0xff,0xa3,0xbf] + +0x1f,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_hold_cnt(0) ; encoding: [0x1f,0xff,0xa3,0xbf] + +0x00,0x00,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_hold_cnt(0) depctr_sa_sdst(0) depctr_va_vdst(0) depctr_va_sdst(0) depctr_va_ssrc(0) depctr_va_vcc(0) depctr_vm_vsrc(0) ; encoding: [0x00,0x00,0xa3,0xbf] + +0x9f,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_hold_cnt(1) depctr_sa_sdst(1) depctr_va_vdst(15) depctr_va_sdst(7) depctr_va_ssrc(1) depctr_va_vcc(1) depctr_vm_vsrc(7) ; encoding: [0x9f,0xff,0xa3,0xbf] + +0x9e,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_sa_sdst(0) ; encoding: [0x9e,0xff,0xa3,0xbf] + +0x9f,0xf1,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_sdst(0) ; encoding: [0x9f,0xf1,0xa3,0xbf] + +0x9f,0xfd,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_sdst(6) ; encoding: [0x9f,0xfd,0xa3,0xbf] + +0x9f,0xfe,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_ssrc(0) ; encoding: [0x9f,0xfe,0xa3,0xbf] + +0x9d,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vcc(0) ; encoding: [0x9d,0xff,0xa3,0xbf] + +0x9f,0x0f,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vdst(0) ; encoding: [0x9f,0x0f,0xa3,0xbf] + +0x9f,0x1f,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vdst(1) ; encoding: [0x9f,0x1f,0xa3,0xbf] + +0x87,0x13,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vdst(1) depctr_va_sdst(1) depctr_vm_vsrc(1) ; encoding: [0x87,0x13,0xa3,0xbf] + +0x9f,0xef,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vdst(14) ; encoding: [0x9f,0xef,0xa3,0xbf] + +0x83,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_vm_vsrc(0) ; encoding: [0x83,0xff,0xa3,0xbf] + +0x87,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_vm_vsrc(1) ; encoding: [0x87,0xff,0xa3,0xbf] + +0x9b,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_vm_vsrc(6) ; encoding: [0x9b,0xff,0xa3,0xbf] + +0x00,0x64,0x30,0xdc,0x00,0x00,0x7f,0x00 +# GFX10: scratch_load_dword off, off offset:1024 lds ; encoding: [0x00,0x64,0x30,0xdc,0x00,0x00,0x7f,0x00] + +0x00,0x40,0x30,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_dword v1, off, off ; encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x7f,0x01] + +0xff,0x47,0x30,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_dword v1, off, off offset:2047 ; encoding: [0xff,0x47,0x30,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x34,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_dwordx2 v[1:2], off, off ; encoding: [0x00,0x40,0x34,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x3c,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_dwordx3 v[1:3], off, off ; encoding: [0x00,0x40,0x3c,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x38,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_dwordx4 v[1:4], off, off ; encoding: [0x00,0x40,0x38,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x64,0x24,0xdc,0x00,0x00,0x7f,0x00 +# GFX10: scratch_load_sbyte off, off offset:1024 lds ; encoding: [0x00,0x64,0x24,0xdc,0x00,0x00,0x7f,0x00] + +0x00,0x40,0x24,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_sbyte v1, off, off ; encoding: [0x00,0x40,0x24,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x88,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_sbyte_d16 v1, off, off ; encoding: [0x00,0x40,0x88,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x8c,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_sbyte_d16_hi v1, off, off ; encoding: [0x00,0x40,0x8c,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x90,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_short_d16 v1, off, off ; encoding: [0x00,0x40,0x90,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x94,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_short_d16_hi v1, off, off ; encoding: [0x00,0x40,0x94,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x64,0x2c,0xdc,0x00,0x00,0x7f,0x00 +# GFX10: scratch_load_sshort off, off offset:1024 lds ; encoding: [0x00,0x64,0x2c,0xdc,0x00,0x00,0x7f,0x00] + +0x00,0x40,0x2c,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_sshort v1, off, off ; encoding: [0x00,0x40,0x2c,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x64,0x20,0xdc,0x00,0x00,0x7f,0x00 +# GFX10: scratch_load_ubyte off, off offset:1024 lds ; encoding: [0x00,0x64,0x20,0xdc,0x00,0x00,0x7f,0x00] + +0x00,0x40,0x20,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_ubyte v1, off, off ; encoding: [0x00,0x40,0x20,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x80,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_ubyte_d16 v1, off, off ; encoding: [0x00,0x40,0x80,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x84,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_ubyte_d16_hi v1, off, off ; encoding: [0x00,0x40,0x84,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x64,0x28,0xdc,0x00,0x00,0x7f,0x00 +# GFX10: scratch_load_ushort off, off offset:1024 lds ; encoding: [0x00,0x64,0x28,0xdc,0x00,0x00,0x7f,0x00] + +0x00,0x40,0x28,0xdc,0x00,0x00,0x7f,0x01 +# GFX10: scratch_load_ushort v1, off, off ; encoding: [0x00,0x40,0x28,0xdc,0x00,0x00,0x7f,0x01] + +0x00,0x40,0x60,0xdc,0x00,0x02,0x7f,0x00 +# GFX10: scratch_store_byte off, v2, off ; encoding: [0x00,0x40,0x60,0xdc,0x00,0x02,0x7f,0x00] + +0x00,0x40,0x64,0xdc,0x00,0x02,0x7f,0x00 +# GFX10: scratch_store_byte_d16_hi off, v2, off ; encoding: [0x00,0x40,0x64,0xdc,0x00,0x02,0x7f,0x00] + +0x00,0x40,0x70,0xdc,0x00,0x02,0x7f,0x00 +# GFX10: scratch_store_dword off, v2, off ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7f,0x00] + +0xff,0x47,0x70,0xdc,0x00,0x02,0x7f,0x00 +# GFX10: scratch_store_dword off, v2, off offset:2047 ; encoding: [0xff,0x47,0x70,0xdc,0x00,0x02,0x7f,0x00] + +0x00,0x40,0x74,0xdc,0x00,0x02,0x7f,0x00 +# GFX10: scratch_store_dwordx2 off, v[2:3], off ; encoding: [0x00,0x40,0x74,0xdc,0x00,0x02,0x7f,0x00] + +0x00,0x40,0x7c,0xdc,0x00,0x02,0x7f,0x00 +# GFX10: scratch_store_dwordx3 off, v[2:4], off ; encoding: [0x00,0x40,0x7c,0xdc,0x00,0x02,0x7f,0x00] + +0x00,0x40,0x78,0xdc,0x00,0x02,0x7f,0x00 +# GFX10: scratch_store_dwordx4 off, v[2:5], off ; encoding: [0x00,0x40,0x78,0xdc,0x00,0x02,0x7f,0x00] + +0x00,0x40,0x68,0xdc,0x00,0x02,0x7f,0x00 +# GFX10: scratch_store_short off, v2, off ; encoding: [0x00,0x40,0x68,0xdc,0x00,0x02,0x7f,0x00] + +0x00,0x40,0x6c,0xdc,0x00,0x02,0x7f,0x00 +# GFX10: scratch_store_short_d16_hi off, v2, off ; encoding: [0x00,0x40,0x6c,0xdc,0x00,0x02,0x7f,0x00] + +0x00,0x00,0x40,0xd5,0x01,0xe8,0x0d,0x84 +# GFX10: v_fma_legacy_f32 v0, s1, 2.0, -v3 ; encoding: [0x00,0x00,0x40,0xd5,0x01,0xe8,0x0d,0x84] + +0x00,0x00,0x40,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_legacy_f32 v0, v1, v2, v3 ; encoding: [0x00,0x00,0x40,0xd5,0x01,0x05,0x0e,0x04] + +0x00,0x02,0x40,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_fma_legacy_f32 v0, v1, |v2|, -v3 ; encoding: [0x00,0x02,0x40,0xd5,0x01,0x05,0x0e,0x84] + +0x01,0x05,0x00,0x0c +# GFX10: v_fmac_legacy_f32_e32 v0, v1, v2 ; encoding: [0x01,0x05,0x00,0x0c] + +0x00,0x00,0x06,0xd5,0x01,0xe8,0x01,0x00 +# GFX10: v_fmac_legacy_f32_e64 v0, s1, 2.0 ; encoding: [0x00,0x00,0x06,0xd5,0x01,0xe8,0x01,0x02] + +0x00,0x01,0x06,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_fmac_legacy_f32_e64 v0, |v1|, -v2 ; encoding: [0x00,0x01,0x06,0xd5,0x01,0x05,0x02,0x42] diff --git a/tests/data/llvm-amdgpu/gfx10_ds.txt b/tests/data/llvm-amdgpu/gfx10_ds.txt new file mode 100644 index 0000000..4be5690 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_ds.txt @@ -0,0 +1,5623 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0x00,0x00,0x54,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_f32 v0, v1 ; encoding: [0x00,0x00,0x54,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x56,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_f32 v0, v1 gds ; encoding: [0x00,0x00,0x56,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x54,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_f32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x54,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x56,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_f32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x56,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x54,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_f32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x54,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x56,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_f32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x54,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v0, v254 ; encoding: [0x00,0x00,0x54,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x56,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v0, v254 gds ; encoding: [0x00,0x00,0x56,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x54,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x54,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x56,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x56,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x54,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x54,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x56,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x54,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_f32 v255, v1 ; encoding: [0x00,0x00,0x54,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x56,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_f32 v255, v1 gds ; encoding: [0x00,0x00,0x56,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x54,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_f32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x54,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x56,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_f32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x56,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x54,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_f32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x54,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x56,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_f32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x54,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v255, v254 ; encoding: [0x00,0x00,0x54,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x56,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v255, v254 gds ; encoding: [0x00,0x00,0x56,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x54,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x54,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x56,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x56,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x54,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x54,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x56,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_f32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x54,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v1, v2 ; encoding: [0x00,0x00,0x54,0xd9,0x01,0x02,0x00,0x00] + +0x00,0x00,0x56,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x56,0xd9,0x01,0x02,0x00,0x00] + +0x34,0x12,0x54,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x54,0xd9,0x01,0x02,0x00,0x00] + +0x34,0x12,0x56,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x56,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x54,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x54,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x56,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xd9,0x01,0x02,0x00,0x00] + +0x00,0x00,0x54,0xd9,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v254, v253 ; encoding: [0x00,0x00,0x54,0xd9,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x56,0xd9,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x56,0xd9,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x54,0xd9,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x54,0xd9,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x56,0xd9,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x56,0xd9,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x54,0xd9,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x54,0xd9,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x56,0xd9,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_f32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xd9,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x54,0xd9,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v1, v253 ; encoding: [0x00,0x00,0x54,0xd9,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x56,0xd9,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x56,0xd9,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x54,0xd9,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x54,0xd9,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x56,0xd9,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x56,0xd9,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x54,0xd9,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x54,0xd9,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x56,0xd9,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xd9,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x54,0xd9,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v2 ; encoding: [0x00,0x00,0x54,0xd9,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x56,0xd9,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x56,0xd9,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x54,0xd9,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x54,0xd9,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x56,0xd9,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x56,0xd9,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x54,0xd9,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x54,0xd9,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x56,0xd9,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xd9,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x54,0xd9,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v253 ; encoding: [0x00,0x00,0x54,0xd9,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x56,0xd9,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x56,0xd9,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x54,0xd9,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x54,0xd9,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x56,0xd9,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x56,0xd9,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x54,0xd9,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x54,0xd9,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x56,0xd9,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_f32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xd9,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x80,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v1, v2 ; encoding: [0x00,0x00,0x80,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x82,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x82,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x80,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x80,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x82,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x82,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x80,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x80,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x82,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x82,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x80,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v254, v253 ; encoding: [0x00,0x00,0x80,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x82,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x82,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x80,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x80,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x82,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x82,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x80,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x80,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x82,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_add_rtn_u32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x82,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x80,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v1, v253 ; encoding: [0x00,0x00,0x80,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x82,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x82,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x80,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x80,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x82,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x82,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x80,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x80,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x82,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x82,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x80,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v2 ; encoding: [0x00,0x00,0x80,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x82,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x82,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x80,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x80,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x82,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x82,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x80,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x80,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x82,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x82,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x80,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v253 ; encoding: [0x00,0x00,0x80,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x82,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x82,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x80,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x80,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x82,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x82,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x80,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x80,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x82,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_add_rtn_u32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x82,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x80,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_add_rtn_u64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x80,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0x80,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_add_rtn_u64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x80,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0x80,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_add_rtn_u64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0x80,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0x80,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_add_rtn_u64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x80,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x80,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_add_rtn_u64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x80,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x82,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_add_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x82,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x80,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_add_rtn_u64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x80,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x54,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_f32 v1 ; encoding: [0x00,0x00,0x54,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x54,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_f32 v1 offset:4 ; encoding: [0x04,0x00,0x54,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x54,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_f32 v1 offset:65535 ; encoding: [0xff,0xff,0x54,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x56,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_f32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x56,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x54,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_add_src2_f32 v255 offset:65535 ; encoding: [0xff,0xff,0x54,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x00,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_u32 v1 ; encoding: [0x00,0x00,0x00,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x00,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_u32 v1 offset:4 ; encoding: [0x04,0x00,0x00,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x00,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_u32 v1 offset:65535 ; encoding: [0xff,0xff,0x00,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x02,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_u32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x02,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x00,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_add_src2_u32 v255 offset:65535 ; encoding: [0xff,0xff,0x00,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x00,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_u64 v1 ; encoding: [0x00,0x00,0x00,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x00,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_u64 v1 offset:4 ; encoding: [0x04,0x00,0x00,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x00,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_u64 v1 offset:65535 ; encoding: [0xff,0xff,0x00,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x02,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_add_src2_u64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x02,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x00,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_add_src2_u64 v255 offset:65535 ; encoding: [0xff,0xff,0x00,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x00,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_u32 v0, v1 ; encoding: [0x00,0x00,0x00,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x02,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_u32 v0, v1 gds ; encoding: [0x00,0x00,0x02,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x00,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_u32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x00,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x02,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_u32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x02,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x00,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_u32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x00,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x02,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_add_u32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x02,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x00,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v0, v254 ; encoding: [0x00,0x00,0x00,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x02,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v0, v254 gds ; encoding: [0x00,0x00,0x02,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x00,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x00,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x02,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x02,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x00,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x00,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x02,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x02,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x00,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_u32 v255, v1 ; encoding: [0x00,0x00,0x00,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x02,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_u32 v255, v1 gds ; encoding: [0x00,0x00,0x02,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x00,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_u32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x00,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x02,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_u32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x02,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x00,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_u32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x00,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x02,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_add_u32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x02,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x00,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v255, v254 ; encoding: [0x00,0x00,0x00,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x02,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v255, v254 gds ; encoding: [0x00,0x00,0x02,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x00,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x00,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x02,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x02,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x00,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x00,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x02,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_add_u32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x02,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x00,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_add_u64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x00,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x00,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_u64 v1, v[2:3] ; encoding: [0x00,0x00,0x00,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x00,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_u64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x00,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x00,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_u64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x00,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x02,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_add_u64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x02,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x00,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_add_u64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x00,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0x24,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_and_b32 v0, v1 ; encoding: [0x00,0x00,0x24,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x26,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_and_b32 v0, v1 gds ; encoding: [0x00,0x00,0x26,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x24,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_and_b32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x24,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x26,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_and_b32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x26,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x24,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_and_b32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x24,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x26,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_and_b32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x26,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x24,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v0, v254 ; encoding: [0x00,0x00,0x24,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x26,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v0, v254 gds ; encoding: [0x00,0x00,0x26,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x24,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x24,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x26,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x26,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x24,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x24,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x26,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x26,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x24,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_and_b32 v255, v1 ; encoding: [0x00,0x00,0x24,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x26,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_and_b32 v255, v1 gds ; encoding: [0x00,0x00,0x26,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x24,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_and_b32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x24,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x26,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_and_b32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x26,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x24,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_and_b32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x24,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x26,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_and_b32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x26,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x24,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v255, v254 ; encoding: [0x00,0x00,0x24,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x26,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v255, v254 gds ; encoding: [0x00,0x00,0x26,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x24,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x24,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x26,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x26,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x24,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x24,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x26,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_and_b32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x26,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x24,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_and_b64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x24,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x24,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_and_b64 v1, v[2:3] ; encoding: [0x00,0x00,0x24,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x24,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_and_b64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x24,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x24,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_and_b64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x24,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x26,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_and_b64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x26,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x24,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_and_b64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x24,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0xa4,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v1, v2 ; encoding: [0x00,0x00,0xa4,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xa6,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v1, v2 gds ; encoding: [0x00,0x00,0xa6,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xa4,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0xa4,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xa6,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0xa6,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xa4,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xa4,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xa6,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0xa6,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xa4,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v254, v253 ; encoding: [0x00,0x00,0xa4,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xa6,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v254, v253 gds ; encoding: [0x00,0x00,0xa6,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xa4,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xa4,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xa6,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xa6,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xa4,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xa4,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xa6,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_and_rtn_b32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xa6,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xa4,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v1, v253 ; encoding: [0x00,0x00,0xa4,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xa6,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v1, v253 gds ; encoding: [0x00,0x00,0xa6,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xa4,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0xa4,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xa6,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0xa6,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xa4,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0xa4,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xa6,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0xa6,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xa4,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v2 ; encoding: [0x00,0x00,0xa4,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xa6,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v2 gds ; encoding: [0x00,0x00,0xa6,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xa4,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0xa4,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xa6,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0xa6,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xa4,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0xa4,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xa6,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0xa6,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xa4,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v253 ; encoding: [0x00,0x00,0xa4,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0xa6,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v253 gds ; encoding: [0x00,0x00,0xa6,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xa4,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xa4,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xa6,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xa6,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xa4,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xa4,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xa6,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_and_rtn_b32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xa6,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xa4,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_and_rtn_b64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xa4,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0xa4,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_and_rtn_b64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xa4,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0xa4,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_and_rtn_b64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0xa4,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0xa4,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_and_rtn_b64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xa4,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xa4,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_and_rtn_b64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xa4,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xa6,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_and_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xa6,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xa4,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_and_rtn_b64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xa4,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x24,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_and_src2_b32 v1 ; encoding: [0x00,0x00,0x24,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x24,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_and_src2_b32 v1 offset:4 ; encoding: [0x04,0x00,0x24,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x24,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_and_src2_b32 v1 offset:65535 ; encoding: [0xff,0xff,0x24,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x26,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_and_src2_b32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x26,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x24,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_and_src2_b32 v255 offset:65535 ; encoding: [0xff,0xff,0x24,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x24,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_and_src2_b64 v1 ; encoding: [0x00,0x00,0x24,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x24,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_and_src2_b64 v1 offset:4 ; encoding: [0x04,0x00,0x24,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x24,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_and_src2_b64 v1 offset:65535 ; encoding: [0xff,0xff,0x24,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x26,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_and_src2_b64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x26,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x24,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_and_src2_b64 v255 offset:65535 ; encoding: [0xff,0xff,0x24,0xdb,0xff,0x00,0x00,0x00] + +0xff,0xff,0xf8,0xd8,0x00,0x00,0x00,0xff +# GFX10: ds_append v255 offset:65535 ; encoding: [0xff,0xff,0xf8,0xd8,0x00,0x00,0x00,0xff] + +0x00,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05 +# GFX10: ds_append v5 ; encoding: [0x00,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05] + +0x04,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05 +# GFX10: ds_append v5 offset:4 ; encoding: [0x04,0x00,0xf8,0xd8,0x00,0x00,0x00,0x05] + +0xff,0xff,0xf8,0xd8,0x00,0x00,0x00,0x05 +# GFX10: ds_append v5 offset:65535 ; encoding: [0xff,0xff,0xf8,0xd8,0x00,0x00,0x00,0x05] + +0xff,0xff,0xfa,0xd8,0x00,0x00,0x00,0x05 +# GFX10: ds_append v5 offset:65535 gds ; encoding: [0xff,0xff,0xfa,0xd8,0x00,0x00,0x00,0x05] + +0x00,0x00,0xcc,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_bpermute_b32 v0, v1, v2 ; encoding: [0x00,0x00,0xcc,0xda,0x01,0x02,0x00,0x00] + +0x34,0x12,0xcc,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_bpermute_b32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0xcc,0xda,0x01,0x02,0x00,0x00] + +0xff,0xff,0xcc,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_bpermute_b32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xcc,0xda,0x01,0x02,0x00,0x00] + +0x00,0x00,0xcc,0xda,0xfe,0xfd,0x00,0x00 +# GFX10: ds_bpermute_b32 v0, v254, v253 ; encoding: [0x00,0x00,0xcc,0xda,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xcc,0xda,0xfe,0xfd,0x00,0x00 +# GFX10: ds_bpermute_b32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xcc,0xda,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xcc,0xda,0xfe,0xfd,0x00,0x00 +# GFX10: ds_bpermute_b32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xcc,0xda,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xcc,0xda,0x01,0xfd,0x00,0xff +# GFX10: ds_bpermute_b32 v255, v1, v253 ; encoding: [0x00,0x00,0xcc,0xda,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xcc,0xda,0x01,0xfd,0x00,0xff +# GFX10: ds_bpermute_b32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0xcc,0xda,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xcc,0xda,0x01,0xfd,0x00,0xff +# GFX10: ds_bpermute_b32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0xcc,0xda,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xcc,0xda,0xfe,0x02,0x00,0xff +# GFX10: ds_bpermute_b32 v255, v254, v2 ; encoding: [0x00,0x00,0xcc,0xda,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xcc,0xda,0xfe,0x02,0x00,0xff +# GFX10: ds_bpermute_b32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0xcc,0xda,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xcc,0xda,0xfe,0x02,0x00,0xff +# GFX10: ds_bpermute_b32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0xcc,0xda,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xcc,0xda,0xfe,0xfd,0x00,0xff +# GFX10: ds_bpermute_b32 v255, v254, v253 ; encoding: [0x00,0x00,0xcc,0xda,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xcc,0xda,0xfe,0xfd,0x00,0xff +# GFX10: ds_bpermute_b32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xcc,0xda,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xcc,0xda,0xfe,0xfd,0x00,0xff +# GFX10: ds_bpermute_b32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xcc,0xda,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x40,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_b32 v0, v1, v2 ; encoding: [0x00,0x00,0x40,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x42,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_b32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x42,0xd8,0x00,0x01,0x02,0x00] + +0x34,0x12,0x40,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_b32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x40,0xd8,0x00,0x01,0x02,0x00] + +0x34,0x12,0x42,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_b32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x42,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x40,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_b32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x40,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x42,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_b32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x42,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x40,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v0, v254, v253 ; encoding: [0x00,0x00,0x40,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x42,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x42,0xd8,0x00,0xfe,0xfd,0x00] + +0x34,0x12,0x40,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x40,0xd8,0x00,0xfe,0xfd,0x00] + +0x34,0x12,0x42,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x42,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x40,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x40,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x42,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x42,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x40,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v1, v253 ; encoding: [0x00,0x00,0x40,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x42,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x42,0xd8,0xff,0x01,0xfd,0x00] + +0x34,0x12,0x40,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x40,0xd8,0xff,0x01,0xfd,0x00] + +0x34,0x12,0x42,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x42,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x40,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x40,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x42,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x42,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x40,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v2 ; encoding: [0x00,0x00,0x40,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x42,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x42,0xd8,0xff,0xfe,0x02,0x00] + +0x34,0x12,0x40,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x40,0xd8,0xff,0xfe,0x02,0x00] + +0x34,0x12,0x42,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x42,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x40,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x40,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x42,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x42,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x40,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v253 ; encoding: [0x00,0x00,0x40,0xd8,0xff,0xfe,0xfd,0x00] + +0x00,0x00,0x42,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x42,0xd8,0xff,0xfe,0xfd,0x00] + +0x34,0x12,0x40,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x40,0xd8,0xff,0xfe,0xfd,0x00] + +0x34,0x12,0x42,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x42,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x40,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x40,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x42,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_b32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x42,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x40,0xd9,0x01,0xfe,0x03,0x00 +# GFX10: ds_cmpst_b64 v1, v[254:255], v[3:4] offset:65535 ; encoding: [0xff,0xff,0x40,0xd9,0x01,0xfe,0x03,0x00] + +0xff,0xff,0x40,0xd9,0x01,0x02,0xfe,0x00 +# GFX10: ds_cmpst_b64 v1, v[2:3], v[254:255] offset:65535 ; encoding: [0xff,0xff,0x40,0xd9,0x01,0x02,0xfe,0x00] + +0x00,0x00,0x40,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_cmpst_b64 v1, v[2:3], v[3:4] ; encoding: [0x00,0x00,0x40,0xd9,0x01,0x02,0x03,0x00] + +0x04,0x00,0x40,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_cmpst_b64 v1, v[2:3], v[3:4] offset:4 ; encoding: [0x04,0x00,0x40,0xd9,0x01,0x02,0x03,0x00] + +0xff,0xff,0x40,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_cmpst_b64 v1, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0x40,0xd9,0x01,0x02,0x03,0x00] + +0xff,0xff,0x42,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_cmpst_b64 v1, v[2:3], v[3:4] offset:65535 gds ; encoding: [0xff,0xff,0x42,0xd9,0x01,0x02,0x03,0x00] + +0xff,0xff,0x40,0xd9,0xff,0x02,0x03,0x00 +# GFX10: ds_cmpst_b64 v255, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0x40,0xd9,0xff,0x02,0x03,0x00] + +0x00,0x00,0x44,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_f32 v0, v1, v2 ; encoding: [0x00,0x00,0x44,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x46,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_f32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x46,0xd8,0x00,0x01,0x02,0x00] + +0x34,0x12,0x44,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_f32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x44,0xd8,0x00,0x01,0x02,0x00] + +0x34,0x12,0x46,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_f32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x46,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x44,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_f32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x44,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x46,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_cmpst_f32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x46,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x44,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v0, v254, v253 ; encoding: [0x00,0x00,0x44,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x46,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x46,0xd8,0x00,0xfe,0xfd,0x00] + +0x34,0x12,0x44,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x44,0xd8,0x00,0xfe,0xfd,0x00] + +0x34,0x12,0x46,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x46,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x44,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x44,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x46,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x46,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x44,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v1, v253 ; encoding: [0x00,0x00,0x44,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x46,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x46,0xd8,0xff,0x01,0xfd,0x00] + +0x34,0x12,0x44,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x44,0xd8,0xff,0x01,0xfd,0x00] + +0x34,0x12,0x46,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x46,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x44,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x44,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x46,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x46,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x44,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v2 ; encoding: [0x00,0x00,0x44,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x46,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x46,0xd8,0xff,0xfe,0x02,0x00] + +0x34,0x12,0x44,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x44,0xd8,0xff,0xfe,0x02,0x00] + +0x34,0x12,0x46,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x46,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x44,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x44,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x46,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x46,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x44,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v253 ; encoding: [0x00,0x00,0x44,0xd8,0xff,0xfe,0xfd,0x00] + +0x00,0x00,0x46,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x46,0xd8,0xff,0xfe,0xfd,0x00] + +0x34,0x12,0x44,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x44,0xd8,0xff,0xfe,0xfd,0x00] + +0x34,0x12,0x46,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x46,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x44,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x44,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x46,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_cmpst_f32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x46,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x44,0xd9,0x01,0xfe,0x03,0x00 +# GFX10: ds_cmpst_f64 v1, v[254:255], v[3:4] offset:65535 ; encoding: [0xff,0xff,0x44,0xd9,0x01,0xfe,0x03,0x00] + +0xff,0xff,0x44,0xd9,0x01,0x02,0xfe,0x00 +# GFX10: ds_cmpst_f64 v1, v[2:3], v[254:255] offset:65535 ; encoding: [0xff,0xff,0x44,0xd9,0x01,0x02,0xfe,0x00] + +0x00,0x00,0x44,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_cmpst_f64 v1, v[2:3], v[3:4] ; encoding: [0x00,0x00,0x44,0xd9,0x01,0x02,0x03,0x00] + +0x04,0x00,0x44,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_cmpst_f64 v1, v[2:3], v[3:4] offset:4 ; encoding: [0x04,0x00,0x44,0xd9,0x01,0x02,0x03,0x00] + +0xff,0xff,0x44,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_cmpst_f64 v1, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0x44,0xd9,0x01,0x02,0x03,0x00] + +0xff,0xff,0x46,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_cmpst_f64 v1, v[2:3], v[3:4] offset:65535 gds ; encoding: [0xff,0xff,0x46,0xd9,0x01,0x02,0x03,0x00] + +0xff,0xff,0x44,0xd9,0xff,0x02,0x03,0x00 +# GFX10: ds_cmpst_f64 v255, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0x44,0xd9,0xff,0x02,0x03,0x00] + +0xff,0xff,0xc0,0xd8,0x01,0x02,0x03,0xff +# GFX10: ds_cmpst_rtn_b32 v255, v1, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x03,0xff] + +0xff,0xff,0xc0,0xd8,0x01,0x02,0xff,0x05 +# GFX10: ds_cmpst_rtn_b32 v5, v1, v2, v255 offset:65535 ; encoding: [0xff,0xff,0xc0,0xd8,0x01,0x02,0xff,0x05] + +0x00,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b32 v5, v1, v2, v3 ; encoding: [0x00,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05] + +0x04,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:4 ; encoding: [0x04,0x00,0xc0,0xd8,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc0,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xc0,0xd8,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc2,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b32 v5, v1, v2, v3 offset:65535 gds ; encoding: [0xff,0xff,0xc2,0xd8,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc0,0xd8,0x01,0xff,0x03,0x05 +# GFX10: ds_cmpst_rtn_b32 v5, v1, v255, v3 offset:65535 ; encoding: [0xff,0xff,0xc0,0xd8,0x01,0xff,0x03,0x05] + +0xff,0xff,0xc0,0xd8,0xff,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b32 v5, v255, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xc0,0xd8,0xff,0x02,0x03,0x05] + +0xff,0xff,0xc0,0xd9,0x01,0x02,0x03,0xfe +# GFX10: ds_cmpst_rtn_b64 v[254:255], v1, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xc0,0xd9,0x01,0x02,0x03,0xfe] + +0xff,0xff,0xc0,0xd9,0x01,0xfe,0x03,0x05 +# GFX10: ds_cmpst_rtn_b64 v[5:6], v1, v[254:255], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xc0,0xd9,0x01,0xfe,0x03,0x05] + +0xff,0xff,0xc0,0xd9,0x01,0x02,0xfe,0x05 +# GFX10: ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[254:255] offset:65535 ; encoding: [0xff,0xff,0xc0,0xd9,0x01,0x02,0xfe,0x05] + +0x00,0x00,0xc0,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[3:4] ; encoding: [0x00,0x00,0xc0,0xd9,0x01,0x02,0x03,0x05] + +0x04,0x00,0xc0,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:4 ; encoding: [0x04,0x00,0xc0,0xd9,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc0,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xc0,0xd9,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc2,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535 gds ; encoding: [0xff,0xff,0xc2,0xd9,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc0,0xd9,0xff,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_b64 v[5:6], v255, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xc0,0xd9,0xff,0x02,0x03,0x05] + +0xff,0xff,0xc4,0xd8,0x01,0x02,0x03,0xff +# GFX10: ds_cmpst_rtn_f32 v255, v1, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x03,0xff] + +0xff,0xff,0xc4,0xd8,0x01,0x02,0xff,0x05 +# GFX10: ds_cmpst_rtn_f32 v5, v1, v2, v255 offset:65535 ; encoding: [0xff,0xff,0xc4,0xd8,0x01,0x02,0xff,0x05] + +0x00,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f32 v5, v1, v2, v3 ; encoding: [0x00,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05] + +0x04,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:4 ; encoding: [0x04,0x00,0xc4,0xd8,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc4,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xc4,0xd8,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc6,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f32 v5, v1, v2, v3 offset:65535 gds ; encoding: [0xff,0xff,0xc6,0xd8,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc4,0xd8,0x01,0xff,0x03,0x05 +# GFX10: ds_cmpst_rtn_f32 v5, v1, v255, v3 offset:65535 ; encoding: [0xff,0xff,0xc4,0xd8,0x01,0xff,0x03,0x05] + +0xff,0xff,0xc4,0xd8,0xff,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f32 v5, v255, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xc4,0xd8,0xff,0x02,0x03,0x05] + +0xff,0xff,0xc4,0xd9,0x01,0x02,0x03,0xfe +# GFX10: ds_cmpst_rtn_f64 v[254:255], v1, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xc4,0xd9,0x01,0x02,0x03,0xfe] + +0xff,0xff,0xc4,0xd9,0x01,0xfe,0x03,0x05 +# GFX10: ds_cmpst_rtn_f64 v[5:6], v1, v[254:255], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xc4,0xd9,0x01,0xfe,0x03,0x05] + +0xff,0xff,0xc4,0xd9,0x01,0x02,0xfe,0x05 +# GFX10: ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[254:255] offset:65535 ; encoding: [0xff,0xff,0xc4,0xd9,0x01,0x02,0xfe,0x05] + +0x00,0x00,0xc4,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] ; encoding: [0x00,0x00,0xc4,0xd9,0x01,0x02,0x03,0x05] + +0x04,0x00,0xc4,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] offset:4 ; encoding: [0x04,0x00,0xc4,0xd9,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc4,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xc4,0xd9,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc6,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f64 v[5:6], v1, v[2:3], v[3:4] offset:65535 gds ; encoding: [0xff,0xff,0xc6,0xd9,0x01,0x02,0x03,0x05] + +0xff,0xff,0xc4,0xd9,0xff,0x02,0x03,0x05 +# GFX10: ds_cmpst_rtn_f64 v[5:6], v255, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xc4,0xd9,0xff,0x02,0x03,0x05] + +0xff,0xff,0xf8,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_condxchg32_rtn_b64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xf8,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0xf8,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_condxchg32_rtn_b64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xf8,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0xf8,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_condxchg32_rtn_b64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0xf8,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0xf8,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_condxchg32_rtn_b64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xf8,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xf8,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_condxchg32_rtn_b64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xf8,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xfa,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_condxchg32_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xfa,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xf8,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_condxchg32_rtn_b64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xf8,0xd9,0xff,0x02,0x00,0x05] + +0xff,0xff,0xf4,0xd8,0x00,0x00,0x00,0xff +# GFX10: ds_consume v255 offset:65535 ; encoding: [0xff,0xff,0xf4,0xd8,0x00,0x00,0x00,0xff] + +0x00,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05 +# GFX10: ds_consume v5 ; encoding: [0x00,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05] + +0x04,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05 +# GFX10: ds_consume v5 offset:4 ; encoding: [0x04,0x00,0xf4,0xd8,0x00,0x00,0x00,0x05] + +0xff,0xff,0xf4,0xd8,0x00,0x00,0x00,0x05 +# GFX10: ds_consume v5 offset:65535 ; encoding: [0xff,0xff,0xf4,0xd8,0x00,0x00,0x00,0x05] + +0xff,0xff,0xf6,0xd8,0x00,0x00,0x00,0x05 +# GFX10: ds_consume v5 offset:65535 gds ; encoding: [0xff,0xff,0xf6,0xd8,0x00,0x00,0x00,0x05] + +0x00,0x00,0x90,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v1, v2 ; encoding: [0x00,0x00,0x90,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x92,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x92,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x90,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x90,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x92,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x92,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x90,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x90,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x92,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x92,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x90,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v254, v253 ; encoding: [0x00,0x00,0x90,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x92,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x92,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x90,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x90,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x92,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x92,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x90,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x90,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x92,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_dec_rtn_u32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x92,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x90,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v1, v253 ; encoding: [0x00,0x00,0x90,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x92,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x92,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x90,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x90,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x92,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x92,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x90,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x90,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x92,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x92,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x90,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v2 ; encoding: [0x00,0x00,0x90,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x92,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x92,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x90,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x90,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x92,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x92,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x90,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x90,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x92,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x92,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x90,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v253 ; encoding: [0x00,0x00,0x90,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x92,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x92,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x90,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x90,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x92,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x92,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x90,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x90,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x92,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_dec_rtn_u32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x92,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x90,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_dec_rtn_u64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x90,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0x90,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_dec_rtn_u64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x90,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0x90,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_dec_rtn_u64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0x90,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0x90,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_dec_rtn_u64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x90,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x90,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_dec_rtn_u64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x90,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x92,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_dec_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x92,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x90,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_dec_rtn_u64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x90,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x10,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u32 v1 ; encoding: [0x00,0x00,0x10,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x10,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u32 v1 offset:4 ; encoding: [0x04,0x00,0x10,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x10,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u32 v1 offset:65535 ; encoding: [0xff,0xff,0x10,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x12,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x12,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x10,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u32 v255 offset:65535 ; encoding: [0xff,0xff,0x10,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x10,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u64 v1 ; encoding: [0x00,0x00,0x10,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x10,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u64 v1 offset:4 ; encoding: [0x04,0x00,0x10,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x10,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u64 v1 offset:65535 ; encoding: [0xff,0xff,0x10,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x12,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x12,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x10,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_dec_src2_u64 v255 offset:65535 ; encoding: [0xff,0xff,0x10,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x10,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v0, v1 ; encoding: [0x00,0x00,0x10,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x12,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v0, v1 gds ; encoding: [0x00,0x00,0x12,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x10,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x10,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x12,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x12,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x10,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x10,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x12,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x12,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x10,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v0, v254 ; encoding: [0x00,0x00,0x10,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x12,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v0, v254 gds ; encoding: [0x00,0x00,0x12,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x10,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x10,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x12,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x12,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x10,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x10,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x12,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x12,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x10,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v255, v1 ; encoding: [0x00,0x00,0x10,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x12,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v255, v1 gds ; encoding: [0x00,0x00,0x12,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x10,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x10,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x12,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x12,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x10,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x10,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x12,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_dec_u32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x12,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x10,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v255, v254 ; encoding: [0x00,0x00,0x10,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x12,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v255, v254 gds ; encoding: [0x00,0x00,0x12,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x10,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x10,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x12,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x12,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x10,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x10,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x12,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_dec_u32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x12,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x10,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_dec_u64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x10,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x10,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_u64 v1, v[2:3] ; encoding: [0x00,0x00,0x10,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x10,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_u64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x10,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x10,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_u64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x10,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x12,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_dec_u64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x12,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x10,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_dec_u64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x10,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0x76,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_barrier v0 gds ; encoding: [0x00,0x00,0x76,0xd8,0x00,0x00,0x00,0x00] + +0x34,0x12,0x76,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_barrier v0 offset:4660 gds ; encoding: [0x34,0x12,0x76,0xd8,0x00,0x00,0x00,0x00] + +0xff,0xff,0x76,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_barrier v0 offset:65535 gds ; encoding: [0xff,0xff,0x76,0xd8,0x00,0x00,0x00,0x00] + +0x00,0x00,0x76,0xd8,0xff,0x00,0x00,0x00 +# GFX10: ds_gws_barrier v255 gds ; encoding: [0x00,0x00,0x76,0xd8,0xff,0x00,0x00,0x00] + +0x34,0x12,0x76,0xd8,0xff,0x00,0x00,0x00 +# GFX10: ds_gws_barrier v255 offset:4660 gds ; encoding: [0x34,0x12,0x76,0xd8,0xff,0x00,0x00,0x00] + +0xff,0xff,0x76,0xd8,0xff,0x00,0x00,0x00 +# GFX10: ds_gws_barrier v255 offset:65535 gds ; encoding: [0xff,0xff,0x76,0xd8,0xff,0x00,0x00,0x00] + +0x00,0x00,0x66,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_init v0 gds ; encoding: [0x00,0x00,0x66,0xd8,0x00,0x00,0x00,0x00] + +0x34,0x12,0x66,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_init v0 offset:4660 gds ; encoding: [0x34,0x12,0x66,0xd8,0x00,0x00,0x00,0x00] + +0xff,0xff,0x66,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_init v0 offset:65535 gds ; encoding: [0xff,0xff,0x66,0xd8,0x00,0x00,0x00,0x00] + +0x00,0x00,0x66,0xd8,0xff,0x00,0x00,0x00 +# GFX10: ds_gws_init v255 gds ; encoding: [0x00,0x00,0x66,0xd8,0xff,0x00,0x00,0x00] + +0x34,0x12,0x66,0xd8,0xff,0x00,0x00,0x00 +# GFX10: ds_gws_init v255 offset:4660 gds ; encoding: [0x34,0x12,0x66,0xd8,0xff,0x00,0x00,0x00] + +0xff,0xff,0x66,0xd8,0xff,0x00,0x00,0x00 +# GFX10: ds_gws_init v255 offset:65535 gds ; encoding: [0xff,0xff,0x66,0xd8,0xff,0x00,0x00,0x00] + +0x00,0x00,0x6e,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_br v0 gds ; encoding: [0x00,0x00,0x6e,0xd8,0x00,0x00,0x00,0x00] + +0x34,0x12,0x6e,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_br v0 offset:4660 gds ; encoding: [0x34,0x12,0x6e,0xd8,0x00,0x00,0x00,0x00] + +0xff,0xff,0x6e,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_br v0 offset:65535 gds ; encoding: [0xff,0xff,0x6e,0xd8,0x00,0x00,0x00,0x00] + +0x00,0x00,0x6e,0xd8,0xff,0x00,0x00,0x00 +# GFX10: ds_gws_sema_br v255 gds ; encoding: [0x00,0x00,0x6e,0xd8,0xff,0x00,0x00,0x00] + +0x34,0x12,0x6e,0xd8,0xff,0x00,0x00,0x00 +# GFX10: ds_gws_sema_br v255 offset:4660 gds ; encoding: [0x34,0x12,0x6e,0xd8,0xff,0x00,0x00,0x00] + +0xff,0xff,0x6e,0xd8,0xff,0x00,0x00,0x00 +# GFX10: ds_gws_sema_br v255 offset:65535 gds ; encoding: [0xff,0xff,0x6e,0xd8,0xff,0x00,0x00,0x00] + +0x00,0x00,0x72,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_p gds ; encoding: [0x00,0x00,0x72,0xd8,0x00,0x00,0x00,0x00] + +0x34,0x12,0x72,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_p offset:4660 gds ; encoding: [0x34,0x12,0x72,0xd8,0x00,0x00,0x00,0x00] + +0xff,0xff,0x72,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_p offset:65535 gds ; encoding: [0xff,0xff,0x72,0xd8,0x00,0x00,0x00,0x00] + +0x00,0x00,0x62,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_release_all gds ; encoding: [0x00,0x00,0x62,0xd8,0x00,0x00,0x00,0x00] + +0x34,0x12,0x62,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_release_all offset:4660 gds ; encoding: [0x34,0x12,0x62,0xd8,0x00,0x00,0x00,0x00] + +0xff,0xff,0x62,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_release_all offset:65535 gds ; encoding: [0xff,0xff,0x62,0xd8,0x00,0x00,0x00,0x00] + +0x00,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_v gds ; encoding: [0x00,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00] + +0x34,0x12,0x6a,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_v offset:4660 gds ; encoding: [0x34,0x12,0x6a,0xd8,0x00,0x00,0x00,0x00] + +0xff,0xff,0x6a,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_gws_sema_v offset:65535 gds ; encoding: [0xff,0xff,0x6a,0xd8,0x00,0x00,0x00,0x00] + +0x00,0x00,0x8c,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v1, v2 ; encoding: [0x00,0x00,0x8c,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x8e,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x8e,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x8c,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x8c,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x8e,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x8e,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x8c,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x8c,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x8e,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x8e,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x8c,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v254, v253 ; encoding: [0x00,0x00,0x8c,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x8e,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x8e,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x8c,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x8c,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x8e,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x8e,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x8c,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x8c,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x8e,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_inc_rtn_u32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x8e,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x8c,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v1, v253 ; encoding: [0x00,0x00,0x8c,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x8e,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x8e,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x8c,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x8c,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x8e,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x8e,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x8c,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x8c,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x8e,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x8e,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x8c,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v2 ; encoding: [0x00,0x00,0x8c,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x8e,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x8e,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x8c,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x8c,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x8e,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x8e,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x8c,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x8c,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x8e,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x8e,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x8c,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v253 ; encoding: [0x00,0x00,0x8c,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x8e,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x8e,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x8c,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x8c,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x8e,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x8e,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x8c,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x8c,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x8e,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_inc_rtn_u32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x8e,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x8c,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_inc_rtn_u64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x8c,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0x8c,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_inc_rtn_u64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x8c,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0x8c,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_inc_rtn_u64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0x8c,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0x8c,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_inc_rtn_u64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x8c,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x8c,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_inc_rtn_u64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x8c,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x8e,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_inc_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x8e,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x8c,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_inc_rtn_u64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x8c,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x0c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u32 v1 ; encoding: [0x00,0x00,0x0c,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x0c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u32 v1 offset:4 ; encoding: [0x04,0x00,0x0c,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x0c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u32 v1 offset:65535 ; encoding: [0xff,0xff,0x0c,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x0e,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x0e,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x0c,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u32 v255 offset:65535 ; encoding: [0xff,0xff,0x0c,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x0c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u64 v1 ; encoding: [0x00,0x00,0x0c,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x0c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u64 v1 offset:4 ; encoding: [0x04,0x00,0x0c,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x0c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u64 v1 offset:65535 ; encoding: [0xff,0xff,0x0c,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x0e,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x0e,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x0c,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_inc_src2_u64 v255 offset:65535 ; encoding: [0xff,0xff,0x0c,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x0c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v0, v1 ; encoding: [0x00,0x00,0x0c,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x0e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v0, v1 gds ; encoding: [0x00,0x00,0x0e,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x0c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x0c,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x0e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x0e,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x0c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x0c,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x0e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x0e,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x0c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v0, v254 ; encoding: [0x00,0x00,0x0c,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x0e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v0, v254 gds ; encoding: [0x00,0x00,0x0e,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x0c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x0c,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x0e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x0e,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x0c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x0c,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x0e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x0e,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x0c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v255, v1 ; encoding: [0x00,0x00,0x0c,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x0e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v255, v1 gds ; encoding: [0x00,0x00,0x0e,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x0c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x0c,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x0e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x0e,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x0c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x0c,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x0e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_inc_u32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x0e,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x0c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v255, v254 ; encoding: [0x00,0x00,0x0c,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x0e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v255, v254 gds ; encoding: [0x00,0x00,0x0e,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x0c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x0c,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x0e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x0e,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x0c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x0c,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x0e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_inc_u32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x0e,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x0c,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_inc_u64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x0c,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_u64 v1, v[2:3] ; encoding: [0x00,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_u64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x0c,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x0c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_u64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x0c,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x0e,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_inc_u64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x0e,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x0c,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_inc_u64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x0c,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0x4c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_f32 v0, v1 ; encoding: [0x00,0x00,0x4c,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x4e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_f32 v0, v1 gds ; encoding: [0x00,0x00,0x4e,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x4c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_f32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x4c,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x4e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_f32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x4e,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x4c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_f32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x4c,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x4e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_f32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x4e,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x4c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v0, v254 ; encoding: [0x00,0x00,0x4c,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x4e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v0, v254 gds ; encoding: [0x00,0x00,0x4e,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x4c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x4c,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x4e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x4e,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x4c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x4c,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x4e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x4e,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x4c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_f32 v255, v1 ; encoding: [0x00,0x00,0x4c,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x4e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_f32 v255, v1 gds ; encoding: [0x00,0x00,0x4e,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x4c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_f32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x4c,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x4e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_f32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x4e,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x4c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_f32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x4c,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x4e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_f32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x4e,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x4c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v255, v254 ; encoding: [0x00,0x00,0x4c,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x4e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v255, v254 gds ; encoding: [0x00,0x00,0x4e,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x4c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x4c,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x4e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x4e,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x4c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x4c,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x4e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_f32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x4e,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x4c,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_max_f64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x4c,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x4c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_f64 v1, v[2:3] ; encoding: [0x00,0x00,0x4c,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x4c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_f64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x4c,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x4c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_f64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x4c,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x4e,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_f64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x4e,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x4c,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_max_f64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x4c,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0x18,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_i32 v0, v1 ; encoding: [0x00,0x00,0x18,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x1a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_i32 v0, v1 gds ; encoding: [0x00,0x00,0x1a,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x18,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_i32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x18,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x1a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_i32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x1a,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x18,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_i32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x18,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x1a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_i32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x1a,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x18,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v0, v254 ; encoding: [0x00,0x00,0x18,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x1a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v0, v254 gds ; encoding: [0x00,0x00,0x1a,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x18,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x18,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x1a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x1a,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x18,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x18,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x1a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x1a,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x18,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_i32 v255, v1 ; encoding: [0x00,0x00,0x18,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x1a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_i32 v255, v1 gds ; encoding: [0x00,0x00,0x1a,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x18,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_i32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x18,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x1a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_i32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x1a,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x18,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_i32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x18,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x1a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_i32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x1a,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x18,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v255, v254 ; encoding: [0x00,0x00,0x18,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x1a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v255, v254 gds ; encoding: [0x00,0x00,0x1a,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x18,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x18,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x1a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x1a,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x18,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x18,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x1a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_i32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x1a,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x18,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_max_i64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x18,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x18,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_i64 v1, v[2:3] ; encoding: [0x00,0x00,0x18,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x18,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_i64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x18,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x18,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_i64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x18,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x1a,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_i64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x1a,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x18,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_max_i64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x18,0xd9,0xff,0x02,0x00,0x00] + +0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0xff +# GFX10: ds_max_rtn_f32 v255, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0xff] + +0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f32 v5, v1, v2 ; encoding: [0x00,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05] + +0x04,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f32 v5, v1, v2 offset:4 ; encoding: [0x04,0x00,0xcc,0xd8,0x01,0x02,0x00,0x05] + +0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f32 v5, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xcc,0xd8,0x01,0x02,0x00,0x05] + +0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f32 v5, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0xce,0xd8,0x01,0x02,0x00,0x05] + +0xff,0xff,0xcc,0xd8,0x01,0xff,0x00,0x05 +# GFX10: ds_max_rtn_f32 v5, v1, v255 offset:65535 ; encoding: [0xff,0xff,0xcc,0xd8,0x01,0xff,0x00,0x05] + +0xff,0xff,0xcc,0xd8,0xff,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f32 v5, v255, v2 offset:65535 ; encoding: [0xff,0xff,0xcc,0xd8,0xff,0x02,0x00,0x05] + +0xff,0xff,0xcc,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_max_rtn_f64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xcc,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0xcc,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_max_rtn_f64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xcc,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0xcc,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0xcc,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0xcc,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xcc,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xcc,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xcc,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xce,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xce,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xcc,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_max_rtn_f64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xcc,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x98,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v1, v2 ; encoding: [0x00,0x00,0x98,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x9a,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x9a,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x98,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x98,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x9a,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x9a,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x98,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x98,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x9a,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x9a,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x98,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v254, v253 ; encoding: [0x00,0x00,0x98,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x9a,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x9a,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x98,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x98,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x9a,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x9a,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x98,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x98,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x9a,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_i32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x9a,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x98,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v1, v253 ; encoding: [0x00,0x00,0x98,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x9a,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x9a,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x98,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x98,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x9a,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x9a,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x98,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x98,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x9a,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x9a,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x98,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v2 ; encoding: [0x00,0x00,0x98,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x9a,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x9a,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x98,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x98,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x9a,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x9a,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x98,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x98,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x9a,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x9a,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x98,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v253 ; encoding: [0x00,0x00,0x98,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x9a,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x9a,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x98,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x98,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x9a,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x9a,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x98,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x98,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x9a,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_i32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x9a,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x98,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_max_rtn_i64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x98,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0x98,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_max_rtn_i64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x98,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0x98,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_i64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0x98,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0x98,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_i64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x98,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x98,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_i64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x98,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x9a,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_i64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x9a,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x98,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_max_rtn_i64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x98,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0xa0,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v1, v2 ; encoding: [0x00,0x00,0xa0,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xa2,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v1, v2 gds ; encoding: [0x00,0x00,0xa2,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xa0,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0xa0,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xa2,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0xa2,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xa0,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xa0,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xa2,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0xa2,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xa0,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v254, v253 ; encoding: [0x00,0x00,0xa0,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xa2,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v254, v253 gds ; encoding: [0x00,0x00,0xa2,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xa0,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xa0,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xa2,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xa2,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xa0,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xa0,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xa2,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_max_rtn_u32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xa2,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xa0,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v1, v253 ; encoding: [0x00,0x00,0xa0,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xa2,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v1, v253 gds ; encoding: [0x00,0x00,0xa2,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xa0,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0xa0,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xa2,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0xa2,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xa0,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0xa0,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xa2,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0xa2,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xa0,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v2 ; encoding: [0x00,0x00,0xa0,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xa2,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v2 gds ; encoding: [0x00,0x00,0xa2,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xa0,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0xa0,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xa2,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0xa2,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xa0,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0xa0,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xa2,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0xa2,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xa0,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v253 ; encoding: [0x00,0x00,0xa0,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0xa2,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v253 gds ; encoding: [0x00,0x00,0xa2,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xa0,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xa0,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xa2,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xa2,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xa0,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xa0,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xa2,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_max_rtn_u32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xa2,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xa0,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_max_rtn_u64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xa0,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0xa0,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_max_rtn_u64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xa0,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0xa0,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_u64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0xa0,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0xa0,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_u64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xa0,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xa0,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_u64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xa0,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xa2,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_max_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xa2,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xa0,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_max_rtn_u64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xa0,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x4c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_f32 v1 ; encoding: [0x00,0x00,0x4c,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x4c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_f32 v1 offset:4 ; encoding: [0x04,0x00,0x4c,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x4c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_f32 v1 offset:65535 ; encoding: [0xff,0xff,0x4c,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x4e,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_f32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x4e,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x4c,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_max_src2_f32 v255 offset:65535 ; encoding: [0xff,0xff,0x4c,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x4c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_f64 v1 ; encoding: [0x00,0x00,0x4c,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x4c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_f64 v1 offset:4 ; encoding: [0x04,0x00,0x4c,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x4c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_f64 v1 offset:65535 ; encoding: [0xff,0xff,0x4c,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x4e,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_f64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x4e,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x4c,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_max_src2_f64 v255 offset:65535 ; encoding: [0xff,0xff,0x4c,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x18,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_i32 v1 ; encoding: [0x00,0x00,0x18,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x18,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_i32 v1 offset:4 ; encoding: [0x04,0x00,0x18,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x18,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_i32 v1 offset:65535 ; encoding: [0xff,0xff,0x18,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x1a,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_i32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x1a,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x18,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_max_src2_i32 v255 offset:65535 ; encoding: [0xff,0xff,0x18,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x18,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_i64 v1 ; encoding: [0x00,0x00,0x18,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x18,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_i64 v1 offset:4 ; encoding: [0x04,0x00,0x18,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x18,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_i64 v1 offset:65535 ; encoding: [0xff,0xff,0x18,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x1a,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_i64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x1a,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x18,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_max_src2_i64 v255 offset:65535 ; encoding: [0xff,0xff,0x18,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x20,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_u32 v1 ; encoding: [0x00,0x00,0x20,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x20,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_u32 v1 offset:4 ; encoding: [0x04,0x00,0x20,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x20,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_u32 v1 offset:65535 ; encoding: [0xff,0xff,0x20,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x22,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_u32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x22,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x20,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_max_src2_u32 v255 offset:65535 ; encoding: [0xff,0xff,0x20,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x20,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_u64 v1 ; encoding: [0x00,0x00,0x20,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x20,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_u64 v1 offset:4 ; encoding: [0x04,0x00,0x20,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x20,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_u64 v1 offset:65535 ; encoding: [0xff,0xff,0x20,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x22,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_max_src2_u64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x22,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x20,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_max_src2_u64 v255 offset:65535 ; encoding: [0xff,0xff,0x20,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x20,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_u32 v0, v1 ; encoding: [0x00,0x00,0x20,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x22,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_u32 v0, v1 gds ; encoding: [0x00,0x00,0x22,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x20,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_u32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x20,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x22,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_u32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x22,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x20,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_u32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x20,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x22,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_max_u32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x22,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x20,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v0, v254 ; encoding: [0x00,0x00,0x20,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x22,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v0, v254 gds ; encoding: [0x00,0x00,0x22,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x20,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x20,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x22,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x22,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x20,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x20,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x22,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x22,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x20,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_u32 v255, v1 ; encoding: [0x00,0x00,0x20,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x22,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_u32 v255, v1 gds ; encoding: [0x00,0x00,0x22,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x20,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_u32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x20,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x22,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_u32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x22,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x20,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_u32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x20,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x22,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_max_u32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x22,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x20,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v255, v254 ; encoding: [0x00,0x00,0x20,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x22,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v255, v254 gds ; encoding: [0x00,0x00,0x22,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x20,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x20,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x22,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x22,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x20,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x20,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x22,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_max_u32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x22,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x20,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_max_u64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x20,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x20,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_u64 v1, v[2:3] ; encoding: [0x00,0x00,0x20,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x20,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_u64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x20,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x20,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_u64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x20,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x22,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_max_u64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x22,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x20,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_max_u64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x20,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0x48,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_f32 v0, v1 ; encoding: [0x00,0x00,0x48,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x4a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_f32 v0, v1 gds ; encoding: [0x00,0x00,0x4a,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x48,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_f32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x48,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x4a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_f32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x4a,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x48,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_f32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x48,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x4a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_f32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x4a,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x48,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v0, v254 ; encoding: [0x00,0x00,0x48,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x4a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v0, v254 gds ; encoding: [0x00,0x00,0x4a,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x48,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x48,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x4a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x4a,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x48,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x48,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x4a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x4a,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x48,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_f32 v255, v1 ; encoding: [0x00,0x00,0x48,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x4a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_f32 v255, v1 gds ; encoding: [0x00,0x00,0x4a,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x48,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_f32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x48,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x4a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_f32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x4a,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x48,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_f32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x48,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x4a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_f32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x4a,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x48,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v255, v254 ; encoding: [0x00,0x00,0x48,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x4a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v255, v254 gds ; encoding: [0x00,0x00,0x4a,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x48,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x48,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x4a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x4a,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x48,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x48,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x4a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_f32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x4a,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x48,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_min_f64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x48,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x48,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_f64 v1, v[2:3] ; encoding: [0x00,0x00,0x48,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x48,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_f64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x48,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x48,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_f64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x48,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x4a,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_f64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x4a,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x48,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_min_f64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x48,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0x14,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_i32 v0, v1 ; encoding: [0x00,0x00,0x14,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x16,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_i32 v0, v1 gds ; encoding: [0x00,0x00,0x16,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x14,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_i32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x14,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x16,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_i32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x16,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x14,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_i32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x14,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x16,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_i32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x16,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x14,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v0, v254 ; encoding: [0x00,0x00,0x14,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x16,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v0, v254 gds ; encoding: [0x00,0x00,0x16,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x14,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x14,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x16,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x16,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x14,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x14,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x16,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x16,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x14,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_i32 v255, v1 ; encoding: [0x00,0x00,0x14,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x16,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_i32 v255, v1 gds ; encoding: [0x00,0x00,0x16,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x14,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_i32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x14,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x16,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_i32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x16,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x14,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_i32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x14,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x16,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_i32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x16,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x14,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v255, v254 ; encoding: [0x00,0x00,0x14,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x16,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v255, v254 gds ; encoding: [0x00,0x00,0x16,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x14,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x14,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x16,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x16,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x14,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x14,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x16,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_i32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x16,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x14,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_min_i64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x14,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x14,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_i64 v1, v[2:3] ; encoding: [0x00,0x00,0x14,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x14,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_i64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x14,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x14,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_i64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x14,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x16,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_i64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x16,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x14,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_min_i64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x14,0xd9,0xff,0x02,0x00,0x00] + +0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0xff +# GFX10: ds_min_rtn_f32 v255, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0xff] + +0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f32 v5, v1, v2 ; encoding: [0x00,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05] + +0x04,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f32 v5, v1, v2 offset:4 ; encoding: [0x04,0x00,0xc8,0xd8,0x01,0x02,0x00,0x05] + +0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f32 v5, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xc8,0xd8,0x01,0x02,0x00,0x05] + +0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f32 v5, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0xca,0xd8,0x01,0x02,0x00,0x05] + +0xff,0xff,0xc8,0xd8,0x01,0xff,0x00,0x05 +# GFX10: ds_min_rtn_f32 v5, v1, v255 offset:65535 ; encoding: [0xff,0xff,0xc8,0xd8,0x01,0xff,0x00,0x05] + +0xff,0xff,0xc8,0xd8,0xff,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f32 v5, v255, v2 offset:65535 ; encoding: [0xff,0xff,0xc8,0xd8,0xff,0x02,0x00,0x05] + +0xff,0xff,0xc8,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_min_rtn_f64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xc8,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0xc8,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_min_rtn_f64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xc8,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0xc8,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0xc8,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0xc8,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xc8,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xc8,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xc8,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xca,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xca,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xc8,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_min_rtn_f64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xc8,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x94,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v1, v2 ; encoding: [0x00,0x00,0x94,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x96,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x96,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x94,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x94,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x96,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x96,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x94,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x94,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x96,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x96,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x94,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v254, v253 ; encoding: [0x00,0x00,0x94,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x96,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x96,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x94,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x94,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x96,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x96,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x94,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x94,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x96,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_i32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x96,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x94,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v1, v253 ; encoding: [0x00,0x00,0x94,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x96,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x96,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x94,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x94,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x96,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x96,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x94,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x94,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x96,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x96,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x94,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v2 ; encoding: [0x00,0x00,0x94,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x96,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x96,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x94,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x94,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x96,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x96,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x94,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x94,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x96,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x96,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x94,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v253 ; encoding: [0x00,0x00,0x94,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x96,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x96,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x94,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x94,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x96,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x96,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x94,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x94,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x96,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_i32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x96,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x94,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_min_rtn_i64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x94,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0x94,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_min_rtn_i64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x94,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0x94,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_i64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0x94,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0x94,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_i64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x94,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x94,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_i64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x94,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x96,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_i64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x96,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x94,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_min_rtn_i64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x94,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x9c,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v1, v2 ; encoding: [0x00,0x00,0x9c,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x9e,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x9e,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x9c,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x9c,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x9e,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x9e,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x9c,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x9c,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x9e,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x9e,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x9c,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v254, v253 ; encoding: [0x00,0x00,0x9c,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x9e,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x9e,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x9c,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x9c,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x9e,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x9e,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x9c,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x9c,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x9e,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_min_rtn_u32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x9e,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x9c,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v1, v253 ; encoding: [0x00,0x00,0x9c,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x9e,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x9e,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x9c,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x9c,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x9e,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x9e,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x9c,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x9c,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x9e,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x9e,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x9c,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v2 ; encoding: [0x00,0x00,0x9c,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x9e,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x9e,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x9c,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x9c,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x9e,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x9e,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x9c,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x9c,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x9e,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x9e,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x9c,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v253 ; encoding: [0x00,0x00,0x9c,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x9e,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x9e,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x9c,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x9c,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x9e,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x9e,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x9c,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x9c,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x9e,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_min_rtn_u32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x9e,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x9c,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_min_rtn_u64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x9c,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0x9c,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_min_rtn_u64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x9c,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0x9c,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_u64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0x9c,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0x9c,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_u64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x9c,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x9c,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_u64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x9c,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x9e,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_min_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x9e,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x9c,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_min_rtn_u64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x9c,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x48,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_f32 v1 ; encoding: [0x00,0x00,0x48,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x48,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_f32 v1 offset:4 ; encoding: [0x04,0x00,0x48,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x48,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_f32 v1 offset:65535 ; encoding: [0xff,0xff,0x48,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x4a,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_f32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x4a,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x48,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_min_src2_f32 v255 offset:65535 ; encoding: [0xff,0xff,0x48,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x48,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_f64 v1 ; encoding: [0x00,0x00,0x48,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x48,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_f64 v1 offset:4 ; encoding: [0x04,0x00,0x48,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x48,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_f64 v1 offset:65535 ; encoding: [0xff,0xff,0x48,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x4a,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_f64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x4a,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x48,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_min_src2_f64 v255 offset:65535 ; encoding: [0xff,0xff,0x48,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x14,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_i32 v1 ; encoding: [0x00,0x00,0x14,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x14,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_i32 v1 offset:4 ; encoding: [0x04,0x00,0x14,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x14,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_i32 v1 offset:65535 ; encoding: [0xff,0xff,0x14,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x16,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_i32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x16,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x14,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_min_src2_i32 v255 offset:65535 ; encoding: [0xff,0xff,0x14,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x14,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_i64 v1 ; encoding: [0x00,0x00,0x14,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x14,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_i64 v1 offset:4 ; encoding: [0x04,0x00,0x14,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x14,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_i64 v1 offset:65535 ; encoding: [0xff,0xff,0x14,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x16,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_i64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x16,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x14,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_min_src2_i64 v255 offset:65535 ; encoding: [0xff,0xff,0x14,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x1c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_u32 v1 ; encoding: [0x00,0x00,0x1c,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x1c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_u32 v1 offset:4 ; encoding: [0x04,0x00,0x1c,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x1c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_u32 v1 offset:65535 ; encoding: [0xff,0xff,0x1c,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x1e,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_u32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x1e,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x1c,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_min_src2_u32 v255 offset:65535 ; encoding: [0xff,0xff,0x1c,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x1c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_u64 v1 ; encoding: [0x00,0x00,0x1c,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x1c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_u64 v1 offset:4 ; encoding: [0x04,0x00,0x1c,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x1c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_u64 v1 offset:65535 ; encoding: [0xff,0xff,0x1c,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x1e,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_min_src2_u64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x1e,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x1c,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_min_src2_u64 v255 offset:65535 ; encoding: [0xff,0xff,0x1c,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x1c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_u32 v0, v1 ; encoding: [0x00,0x00,0x1c,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x1e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_u32 v0, v1 gds ; encoding: [0x00,0x00,0x1e,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x1c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_u32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x1c,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x1e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_u32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x1e,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x1c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_u32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x1c,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x1e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_min_u32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x1e,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x1c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v0, v254 ; encoding: [0x00,0x00,0x1c,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x1e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v0, v254 gds ; encoding: [0x00,0x00,0x1e,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x1c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x1c,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x1e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x1e,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x1c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x1c,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x1e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x1e,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x1c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_u32 v255, v1 ; encoding: [0x00,0x00,0x1c,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x1e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_u32 v255, v1 gds ; encoding: [0x00,0x00,0x1e,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x1c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_u32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x1c,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x1e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_u32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x1e,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x1c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_u32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x1c,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x1e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_min_u32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x1e,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x1c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v255, v254 ; encoding: [0x00,0x00,0x1c,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x1e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v255, v254 gds ; encoding: [0x00,0x00,0x1e,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x1c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x1c,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x1e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x1e,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x1c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x1c,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x1e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_min_u32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x1e,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x1c,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_min_u64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x1c,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_u64 v1, v[2:3] ; encoding: [0x00,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_u64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x1c,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x1c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_u64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x1c,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x1e,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_min_u64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x1e,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x1c,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_min_u64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x1c,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0x30,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_mskor_b32 v0, v1, v2 ; encoding: [0x00,0x00,0x30,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x32,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_mskor_b32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x32,0xd8,0x00,0x01,0x02,0x00] + +0x34,0x12,0x30,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_mskor_b32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x30,0xd8,0x00,0x01,0x02,0x00] + +0x34,0x12,0x32,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_mskor_b32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x32,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x30,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_mskor_b32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x30,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x32,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_mskor_b32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x32,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x30,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v0, v254, v253 ; encoding: [0x00,0x00,0x30,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x32,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x32,0xd8,0x00,0xfe,0xfd,0x00] + +0x34,0x12,0x30,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x30,0xd8,0x00,0xfe,0xfd,0x00] + +0x34,0x12,0x32,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x32,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x30,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x30,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x32,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x32,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x30,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v1, v253 ; encoding: [0x00,0x00,0x30,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x32,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x32,0xd8,0xff,0x01,0xfd,0x00] + +0x34,0x12,0x30,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x30,0xd8,0xff,0x01,0xfd,0x00] + +0x34,0x12,0x32,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x32,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x30,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x30,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x32,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x32,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x30,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_mskor_b32 v255, v254, v2 ; encoding: [0x00,0x00,0x30,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x32,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_mskor_b32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x32,0xd8,0xff,0xfe,0x02,0x00] + +0x34,0x12,0x30,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_mskor_b32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x30,0xd8,0xff,0xfe,0x02,0x00] + +0x34,0x12,0x32,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_mskor_b32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x32,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x30,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_mskor_b32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x30,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x32,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_mskor_b32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x32,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x30,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v254, v253 ; encoding: [0x00,0x00,0x30,0xd8,0xff,0xfe,0xfd,0x00] + +0x00,0x00,0x32,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x32,0xd8,0xff,0xfe,0xfd,0x00] + +0x34,0x12,0x30,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x30,0xd8,0xff,0xfe,0xfd,0x00] + +0x34,0x12,0x32,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x32,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x30,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x30,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x32,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_mskor_b32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x32,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x30,0xd9,0x01,0xfe,0x03,0x00 +# GFX10: ds_mskor_b64 v1, v[254:255], v[3:4] offset:65535 ; encoding: [0xff,0xff,0x30,0xd9,0x01,0xfe,0x03,0x00] + +0xff,0xff,0x30,0xd9,0x01,0x02,0xfe,0x00 +# GFX10: ds_mskor_b64 v1, v[2:3], v[254:255] offset:65535 ; encoding: [0xff,0xff,0x30,0xd9,0x01,0x02,0xfe,0x00] + +0x00,0x00,0x30,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_b64 v1, v[2:3], v[3:4] ; encoding: [0x00,0x00,0x30,0xd9,0x01,0x02,0x03,0x00] + +0x04,0x00,0x30,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_b64 v1, v[2:3], v[3:4] offset:4 ; encoding: [0x04,0x00,0x30,0xd9,0x01,0x02,0x03,0x00] + +0xff,0xff,0x30,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_b64 v1, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0x30,0xd9,0x01,0x02,0x03,0x00] + +0xff,0xff,0x32,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_b64 v1, v[2:3], v[3:4] offset:65535 gds ; encoding: [0xff,0xff,0x32,0xd9,0x01,0x02,0x03,0x00] + +0xff,0xff,0x30,0xd9,0xff,0x02,0x03,0x00 +# GFX10: ds_mskor_b64 v255, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0x30,0xd9,0xff,0x02,0x03,0x00] + +0x00,0x00,0xb0,0xd8,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v1, v2, v3 ; encoding: [0x00,0x00,0xb0,0xd8,0x01,0x02,0x03,0x00] + +0x00,0x00,0xb2,0xd8,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v1, v2, v3 gds ; encoding: [0x00,0x00,0xb2,0xd8,0x01,0x02,0x03,0x00] + +0x34,0x12,0xb0,0xd8,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v1, v2, v3 offset:4660 ; encoding: [0x34,0x12,0xb0,0xd8,0x01,0x02,0x03,0x00] + +0x34,0x12,0xb2,0xd8,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v1, v2, v3 offset:4660 gds ; encoding: [0x34,0x12,0xb2,0xd8,0x01,0x02,0x03,0x00] + +0xff,0xff,0xb0,0xd8,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v1, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xb0,0xd8,0x01,0x02,0x03,0x00] + +0xff,0xff,0xb2,0xd8,0x01,0x02,0x03,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v1, v2, v3 offset:65535 gds ; encoding: [0xff,0xff,0xb2,0xd8,0x01,0x02,0x03,0x00] + +0x00,0x00,0xb0,0xd8,0xfe,0xfd,0xfc,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v254, v253, v252 ; encoding: [0x00,0x00,0xb0,0xd8,0xfe,0xfd,0xfc,0x00] + +0x00,0x00,0xb2,0xd8,0xfe,0xfd,0xfc,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v254, v253, v252 gds ; encoding: [0x00,0x00,0xb2,0xd8,0xfe,0xfd,0xfc,0x00] + +0x34,0x12,0xb0,0xd8,0xfe,0xfd,0xfc,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v254, v253, v252 offset:4660 ; encoding: [0x34,0x12,0xb0,0xd8,0xfe,0xfd,0xfc,0x00] + +0x34,0x12,0xb2,0xd8,0xfe,0xfd,0xfc,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v254, v253, v252 offset:4660 gds ; encoding: [0x34,0x12,0xb2,0xd8,0xfe,0xfd,0xfc,0x00] + +0xff,0xff,0xb0,0xd8,0xfe,0xfd,0xfc,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v254, v253, v252 offset:65535 ; encoding: [0xff,0xff,0xb0,0xd8,0xfe,0xfd,0xfc,0x00] + +0xff,0xff,0xb2,0xd8,0xfe,0xfd,0xfc,0x00 +# GFX10: ds_mskor_rtn_b32 v0, v254, v253, v252 offset:65535 gds ; encoding: [0xff,0xff,0xb2,0xd8,0xfe,0xfd,0xfc,0x00] + +0x00,0x00,0xb0,0xd8,0x01,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v1, v253, v252 ; encoding: [0x00,0x00,0xb0,0xd8,0x01,0xfd,0xfc,0xff] + +0x00,0x00,0xb2,0xd8,0x01,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v1, v253, v252 gds ; encoding: [0x00,0x00,0xb2,0xd8,0x01,0xfd,0xfc,0xff] + +0x34,0x12,0xb0,0xd8,0x01,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v1, v253, v252 offset:4660 ; encoding: [0x34,0x12,0xb0,0xd8,0x01,0xfd,0xfc,0xff] + +0x34,0x12,0xb2,0xd8,0x01,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v1, v253, v252 offset:4660 gds ; encoding: [0x34,0x12,0xb2,0xd8,0x01,0xfd,0xfc,0xff] + +0xff,0xff,0xb0,0xd8,0x01,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v1, v253, v252 offset:65535 ; encoding: [0xff,0xff,0xb0,0xd8,0x01,0xfd,0xfc,0xff] + +0xff,0xff,0xb2,0xd8,0x01,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v1, v253, v252 offset:65535 gds ; encoding: [0xff,0xff,0xb2,0xd8,0x01,0xfd,0xfc,0xff] + +0x00,0x00,0xb0,0xd8,0xfe,0x02,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v2, v252 ; encoding: [0x00,0x00,0xb0,0xd8,0xfe,0x02,0xfc,0xff] + +0x00,0x00,0xb2,0xd8,0xfe,0x02,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v2, v252 gds ; encoding: [0x00,0x00,0xb2,0xd8,0xfe,0x02,0xfc,0xff] + +0x34,0x12,0xb0,0xd8,0xfe,0x02,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v2, v252 offset:4660 ; encoding: [0x34,0x12,0xb0,0xd8,0xfe,0x02,0xfc,0xff] + +0x34,0x12,0xb2,0xd8,0xfe,0x02,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v2, v252 offset:4660 gds ; encoding: [0x34,0x12,0xb2,0xd8,0xfe,0x02,0xfc,0xff] + +0xff,0xff,0xb0,0xd8,0xfe,0x02,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v2, v252 offset:65535 ; encoding: [0xff,0xff,0xb0,0xd8,0xfe,0x02,0xfc,0xff] + +0xff,0xff,0xb2,0xd8,0xfe,0x02,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v2, v252 offset:65535 gds ; encoding: [0xff,0xff,0xb2,0xd8,0xfe,0x02,0xfc,0xff] + +0x00,0x00,0xb0,0xd8,0xfe,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v252 ; encoding: [0x00,0x00,0xb0,0xd8,0xfe,0xfd,0xfc,0xff] + +0x00,0x00,0xb2,0xd8,0xfe,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v252 gds ; encoding: [0x00,0x00,0xb2,0xd8,0xfe,0xfd,0xfc,0xff] + +0x34,0x12,0xb0,0xd8,0xfe,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v252 offset:4660 ; encoding: [0x34,0x12,0xb0,0xd8,0xfe,0xfd,0xfc,0xff] + +0x34,0x12,0xb2,0xd8,0xfe,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v252 offset:4660 gds ; encoding: [0x34,0x12,0xb2,0xd8,0xfe,0xfd,0xfc,0xff] + +0xff,0xff,0xb0,0xd8,0xfe,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v252 offset:65535 ; encoding: [0xff,0xff,0xb0,0xd8,0xfe,0xfd,0xfc,0xff] + +0xff,0xff,0xb2,0xd8,0xfe,0xfd,0xfc,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v252 offset:65535 gds ; encoding: [0xff,0xff,0xb2,0xd8,0xfe,0xfd,0xfc,0xff] + +0x00,0x00,0xb0,0xd8,0xfe,0xfd,0x03,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v3 ; encoding: [0x00,0x00,0xb0,0xd8,0xfe,0xfd,0x03,0xff] + +0x00,0x00,0xb2,0xd8,0xfe,0xfd,0x03,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v3 gds ; encoding: [0x00,0x00,0xb2,0xd8,0xfe,0xfd,0x03,0xff] + +0x34,0x12,0xb0,0xd8,0xfe,0xfd,0x03,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v3 offset:4660 ; encoding: [0x34,0x12,0xb0,0xd8,0xfe,0xfd,0x03,0xff] + +0x34,0x12,0xb2,0xd8,0xfe,0xfd,0x03,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v3 offset:4660 gds ; encoding: [0x34,0x12,0xb2,0xd8,0xfe,0xfd,0x03,0xff] + +0xff,0xff,0xb0,0xd8,0xfe,0xfd,0x03,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v3 offset:65535 ; encoding: [0xff,0xff,0xb0,0xd8,0xfe,0xfd,0x03,0xff] + +0xff,0xff,0xb2,0xd8,0xfe,0xfd,0x03,0xff +# GFX10: ds_mskor_rtn_b32 v255, v254, v253, v3 offset:65535 gds ; encoding: [0xff,0xff,0xb2,0xd8,0xfe,0xfd,0x03,0xff] + +0xff,0xff,0xb0,0xd9,0x01,0x02,0x03,0xfe +# GFX10: ds_mskor_rtn_b64 v[254:255], v1, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xb0,0xd9,0x01,0x02,0x03,0xfe] + +0xff,0xff,0xb0,0xd9,0x01,0xfe,0x03,0x05 +# GFX10: ds_mskor_rtn_b64 v[5:6], v1, v[254:255], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xb0,0xd9,0x01,0xfe,0x03,0x05] + +0xff,0xff,0xb0,0xd9,0x01,0x02,0xfe,0x05 +# GFX10: ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[254:255] offset:65535 ; encoding: [0xff,0xff,0xb0,0xd9,0x01,0x02,0xfe,0x05] + +0x00,0x00,0xb0,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] ; encoding: [0x00,0x00,0xb0,0xd9,0x01,0x02,0x03,0x05] + +0x04,0x00,0xb0,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:4 ; encoding: [0x04,0x00,0xb0,0xd9,0x01,0x02,0x03,0x05] + +0xff,0xff,0xb0,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xb0,0xd9,0x01,0x02,0x03,0x05] + +0xff,0xff,0xb2,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_mskor_rtn_b64 v[5:6], v1, v[2:3], v[3:4] offset:65535 gds ; encoding: [0xff,0xff,0xb2,0xd9,0x01,0x02,0x03,0x05] + +0xff,0xff,0xb0,0xd9,0xff,0x02,0x03,0x05 +# GFX10: ds_mskor_rtn_b64 v[5:6], v255, v[2:3], v[3:4] offset:65535 ; encoding: [0xff,0xff,0xb0,0xd9,0xff,0x02,0x03,0x05] + +0x00,0x00,0x50,0xd8,0x00,0x00,0x00,0x00 +# GFX10: ds_nop ; encoding: [0x00,0x00,0x50,0xd8,0x00,0x00,0x00,0x00] + +0x00,0x00,0x28,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_or_b32 v0, v1 ; encoding: [0x00,0x00,0x28,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x2a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_or_b32 v0, v1 gds ; encoding: [0x00,0x00,0x2a,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x28,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_or_b32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x28,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x2a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_or_b32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x2a,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x28,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_or_b32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x28,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x2a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_or_b32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x2a,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x28,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v0, v254 ; encoding: [0x00,0x00,0x28,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x2a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v0, v254 gds ; encoding: [0x00,0x00,0x2a,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x28,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x28,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x2a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x2a,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x28,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x28,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x2a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x2a,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x28,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_or_b32 v255, v1 ; encoding: [0x00,0x00,0x28,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x2a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_or_b32 v255, v1 gds ; encoding: [0x00,0x00,0x2a,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x28,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_or_b32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x28,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x2a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_or_b32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x2a,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x28,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_or_b32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x28,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x2a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_or_b32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x2a,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x28,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v255, v254 ; encoding: [0x00,0x00,0x28,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x2a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v255, v254 gds ; encoding: [0x00,0x00,0x2a,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x28,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x28,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x2a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x2a,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x28,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x28,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x2a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_or_b32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x2a,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x28,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_or_b64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x28,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x28,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_or_b64 v1, v[2:3] ; encoding: [0x00,0x00,0x28,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x28,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_or_b64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x28,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x28,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_or_b64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x28,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x2a,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_or_b64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x2a,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x28,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_or_b64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x28,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0xa8,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v1, v2 ; encoding: [0x00,0x00,0xa8,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xaa,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v1, v2 gds ; encoding: [0x00,0x00,0xaa,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xa8,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0xa8,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xaa,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0xaa,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xa8,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xa8,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xaa,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0xaa,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xa8,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v254, v253 ; encoding: [0x00,0x00,0xa8,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xaa,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v254, v253 gds ; encoding: [0x00,0x00,0xaa,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xa8,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xa8,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xaa,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xaa,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xa8,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xa8,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xaa,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_or_rtn_b32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xaa,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xa8,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v1, v253 ; encoding: [0x00,0x00,0xa8,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xaa,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v1, v253 gds ; encoding: [0x00,0x00,0xaa,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xa8,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0xa8,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xaa,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0xaa,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xa8,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0xa8,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xaa,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0xaa,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xa8,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v2 ; encoding: [0x00,0x00,0xa8,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xaa,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v2 gds ; encoding: [0x00,0x00,0xaa,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xa8,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0xa8,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xaa,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0xaa,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xa8,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0xa8,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xaa,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0xaa,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xa8,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v253 ; encoding: [0x00,0x00,0xa8,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0xaa,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v253 gds ; encoding: [0x00,0x00,0xaa,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xa8,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xa8,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xaa,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xaa,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xa8,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xa8,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xaa,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_or_rtn_b32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xaa,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xa8,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_or_rtn_b64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xa8,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0xa8,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_or_rtn_b64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xa8,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0xa8,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_or_rtn_b64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0xa8,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0xa8,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_or_rtn_b64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xa8,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xa8,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_or_rtn_b64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xa8,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xaa,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_or_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xaa,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xa8,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_or_rtn_b64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xa8,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x28,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_or_src2_b32 v1 ; encoding: [0x00,0x00,0x28,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x28,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_or_src2_b32 v1 offset:4 ; encoding: [0x04,0x00,0x28,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x28,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_or_src2_b32 v1 offset:65535 ; encoding: [0xff,0xff,0x28,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x2a,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_or_src2_b32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x2a,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x28,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_or_src2_b32 v255 offset:65535 ; encoding: [0xff,0xff,0x28,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x28,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_or_src2_b64 v1 ; encoding: [0x00,0x00,0x28,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x28,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_or_src2_b64 v1 offset:4 ; encoding: [0x04,0x00,0x28,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x28,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_or_src2_b64 v1 offset:65535 ; encoding: [0xff,0xff,0x28,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x2a,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_or_src2_b64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x2a,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x28,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_or_src2_b64 v255 offset:65535 ; encoding: [0xff,0xff,0x28,0xdb,0xff,0x00,0x00,0x00] + +0xff,0xff,0xfe,0xd8,0x01,0x00,0x00,0xff +# GFX10: ds_ordered_count v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0xfe,0xd8,0x01,0x00,0x00,0xff] + +0x00,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_ordered_count v5, v1 gds ; encoding: [0x00,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05] + +0x04,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_ordered_count v5, v1 offset:4 gds ; encoding: [0x04,0x00,0xfe,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xfe,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_ordered_count v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0xfe,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xfe,0xd8,0xff,0x00,0x00,0x05 +# GFX10: ds_ordered_count v5, v255 offset:65535 gds ; encoding: [0xff,0xff,0xfe,0xd8,0xff,0x00,0x00,0x05] + +0x00,0x00,0xc8,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_permute_b32 v0, v1, v2 ; encoding: [0x00,0x00,0xc8,0xda,0x01,0x02,0x00,0x00] + +0x34,0x12,0xc8,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_permute_b32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0xc8,0xda,0x01,0x02,0x00,0x00] + +0xff,0xff,0xc8,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_permute_b32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xc8,0xda,0x01,0x02,0x00,0x00] + +0x00,0x00,0xc8,0xda,0xfe,0xfd,0x00,0x00 +# GFX10: ds_permute_b32 v0, v254, v253 ; encoding: [0x00,0x00,0xc8,0xda,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xc8,0xda,0xfe,0xfd,0x00,0x00 +# GFX10: ds_permute_b32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xc8,0xda,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xc8,0xda,0xfe,0xfd,0x00,0x00 +# GFX10: ds_permute_b32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xc8,0xda,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xc8,0xda,0x01,0xfd,0x00,0xff +# GFX10: ds_permute_b32 v255, v1, v253 ; encoding: [0x00,0x00,0xc8,0xda,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xc8,0xda,0x01,0xfd,0x00,0xff +# GFX10: ds_permute_b32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0xc8,0xda,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xc8,0xda,0x01,0xfd,0x00,0xff +# GFX10: ds_permute_b32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0xc8,0xda,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xc8,0xda,0xfe,0x02,0x00,0xff +# GFX10: ds_permute_b32 v255, v254, v2 ; encoding: [0x00,0x00,0xc8,0xda,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xc8,0xda,0xfe,0x02,0x00,0xff +# GFX10: ds_permute_b32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0xc8,0xda,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xc8,0xda,0xfe,0x02,0x00,0xff +# GFX10: ds_permute_b32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0xc8,0xda,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xc8,0xda,0xfe,0xfd,0x00,0xff +# GFX10: ds_permute_b32 v255, v254, v253 ; encoding: [0x00,0x00,0xc8,0xda,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xc8,0xda,0xfe,0xfd,0x00,0xff +# GFX10: ds_permute_b32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xc8,0xda,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xc8,0xda,0xfe,0xfd,0x00,0xff +# GFX10: ds_permute_b32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xc8,0xda,0xfe,0xfd,0x00,0xff] + +0x7f,0xff,0xdc,0xd8,0x01,0x00,0x00,0xfe +# GFX10: ds_read2_b32 v[254:255], v1 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xdc,0xd8,0x01,0x00,0x00,0xfe] + +0x7f,0x00,0xdc,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b32 v[5:6], v1 offset0:127 ; encoding: [0x7f,0x00,0xdc,0xd8,0x01,0x00,0x00,0x05] + +0x7f,0x01,0xdc,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b32 v[5:6], v1 offset0:127 offset1:1 ; encoding: [0x7f,0x01,0xdc,0xd8,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b32 v[5:6], v1 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xde,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b32 v[5:6], v1 offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0xde,0xd8,0x01,0x00,0x00,0x05] + +0x10,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b32 v[5:6], v1 offset0:16 offset1:255 ; encoding: [0x10,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05] + +0x00,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b32 v[5:6], v1 offset1:255 ; encoding: [0x00,0xff,0xdc,0xd8,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xdc,0xd8,0xff,0x00,0x00,0x05 +# GFX10: ds_read2_b32 v[5:6], v255 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xdc,0xd8,0xff,0x00,0x00,0x05] + +0x7f,0xff,0xdc,0xd9,0x01,0x00,0x00,0xfc +# GFX10: ds_read2_b64 v[252:255], v1 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xdc,0xd9,0x01,0x00,0x00,0xfc] + +0x7f,0x00,0xdc,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b64 v[5:8], v1 offset0:127 ; encoding: [0x7f,0x00,0xdc,0xd9,0x01,0x00,0x00,0x05] + +0x7f,0x01,0xdc,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b64 v[5:8], v1 offset0:127 offset1:1 ; encoding: [0x7f,0x01,0xdc,0xd9,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b64 v[5:8], v1 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xde,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b64 v[5:8], v1 offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0xde,0xd9,0x01,0x00,0x00,0x05] + +0x10,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b64 v[5:8], v1 offset0:16 offset1:255 ; encoding: [0x10,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05] + +0x00,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2_b64 v[5:8], v1 offset1:255 ; encoding: [0x00,0xff,0xdc,0xd9,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xdc,0xd9,0xff,0x00,0x00,0x05 +# GFX10: ds_read2_b64 v[5:8], v255 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xdc,0xd9,0xff,0x00,0x00,0x05] + +0x7f,0xff,0xe0,0xd8,0x01,0x00,0x00,0xfe +# GFX10: ds_read2st64_b32 v[254:255], v1 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xe0,0xd8,0x01,0x00,0x00,0xfe] + +0x7f,0x00,0xe0,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b32 v[5:6], v1 offset0:127 ; encoding: [0x7f,0x00,0xe0,0xd8,0x01,0x00,0x00,0x05] + +0x7f,0x01,0xe0,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:1 ; encoding: [0x7f,0x01,0xe0,0xd8,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xe2,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b32 v[5:6], v1 offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0xe2,0xd8,0x01,0x00,0x00,0x05] + +0x10,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b32 v[5:6], v1 offset0:16 offset1:255 ; encoding: [0x10,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05] + +0x00,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b32 v[5:6], v1 offset1:255 ; encoding: [0x00,0xff,0xe0,0xd8,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xe0,0xd8,0xff,0x00,0x00,0x05 +# GFX10: ds_read2st64_b32 v[5:6], v255 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xe0,0xd8,0xff,0x00,0x00,0x05] + +0x7f,0xff,0xe0,0xd9,0x01,0x00,0x00,0xfc +# GFX10: ds_read2st64_b64 v[252:255], v1 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xe0,0xd9,0x01,0x00,0x00,0xfc] + +0x7f,0x00,0xe0,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b64 v[5:8], v1 offset0:127 ; encoding: [0x7f,0x00,0xe0,0xd9,0x01,0x00,0x00,0x05] + +0x7f,0x01,0xe0,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b64 v[5:8], v1 offset0:127 offset1:1 ; encoding: [0x7f,0x01,0xe0,0xd9,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b64 v[5:8], v1 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xe2,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b64 v[5:8], v1 offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0xe2,0xd9,0x01,0x00,0x00,0x05] + +0x10,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b64 v[5:8], v1 offset0:16 offset1:255 ; encoding: [0x10,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05] + +0x00,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read2st64_b64 v[5:8], v1 offset1:255 ; encoding: [0x00,0xff,0xe0,0xd9,0x01,0x00,0x00,0x05] + +0x7f,0xff,0xe0,0xd9,0xff,0x00,0x00,0x05 +# GFX10: ds_read2st64_b64 v[5:8], v255 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xe0,0xd9,0xff,0x00,0x00,0x05] + +0xff 0xff 0xc4 0xda 0x00 0x00 0x00 0xff +# GFX10: ds_read_addtid_b32 v255 offset:65535 ; encoding: [0xff,0xff,0xc4,0xda,0x00,0x00,0x00,0xff] + +0x00 0x00 0xc4 0xda 0x00 0x00 0x00 0x05 +# GFX10: ds_read_addtid_b32 v5 ; encoding: [0x00,0x00,0xc4,0xda,0x00,0x00,0x00,0x05] + +0x04 0x00 0xc4 0xda 0x00 0x00 0x00 0x05 +# GFX10: ds_read_addtid_b32 v5 offset:4 ; encoding: [0x04,0x00,0xc4,0xda,0x00,0x00,0x00,0x05] + +0xff 0xff 0xc4 0xda 0x00 0x00 0x00 0x05 +# GFX10: ds_read_addtid_b32 v5 offset:65535 ; encoding: [0xff,0xff,0xc4,0xda,0x00,0x00,0x00,0x05] + +0xff 0xff 0xc6 0xda 0x00 0x00 0x00 0x05 +# GFX10: ds_read_addtid_b32 v5 offset:65535 gds ; encoding: [0xff,0xff,0xc6,0xda,0x00,0x00,0x00,0x05] + +0xff,0xff,0xfc,0xdb,0x01,0x00,0x00,0xfc +# GFX10: ds_read_b128 v[252:255], v1 offset:65535 ; encoding: [0xff,0xff,0xfc,0xdb,0x01,0x00,0x00,0xfc] + +0x00,0x00,0xfc,0xdb,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b128 v[5:8], v1 ; encoding: [0x00,0x00,0xfc,0xdb,0x01,0x00,0x00,0x05] + +0x04,0x00,0xfc,0xdb,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b128 v[5:8], v1 offset:4 ; encoding: [0x04,0x00,0xfc,0xdb,0x01,0x00,0x00,0x05] + +0xff,0xff,0xfc,0xdb,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b128 v[5:8], v1 offset:65535 ; encoding: [0xff,0xff,0xfc,0xdb,0x01,0x00,0x00,0x05] + +0xff,0xff,0xfe,0xdb,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b128 v[5:8], v1 offset:65535 gds ; encoding: [0xff,0xff,0xfe,0xdb,0x01,0x00,0x00,0x05] + +0xff,0xff,0xfc,0xdb,0xff,0x00,0x00,0x05 +# GFX10: ds_read_b128 v[5:8], v255 offset:65535 ; encoding: [0xff,0xff,0xfc,0xdb,0xff,0x00,0x00,0x05] + +0xff,0xff,0xd8,0xd8,0x01,0x00,0x00,0xff +# GFX10: ds_read_b32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0xd8,0xd8,0x01,0x00,0x00,0xff] + +0x00,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b32 v5, v1 ; encoding: [0x00,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05] + +0x04,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b32 v5, v1 offset:4 ; encoding: [0x04,0x00,0xd8,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xd8,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b32 v5, v1 offset:65535 ; encoding: [0xff,0xff,0xd8,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xda,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b32 v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0xda,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xd8,0xd8,0xff,0x00,0x00,0x05 +# GFX10: ds_read_b32 v5, v255 offset:65535 ; encoding: [0xff,0xff,0xd8,0xd8,0xff,0x00,0x00,0x05] + +0xff,0xff,0xd8,0xd9,0x01,0x00,0x00,0xfe +# GFX10: ds_read_b64 v[254:255], v1 offset:65535 ; encoding: [0xff,0xff,0xd8,0xd9,0x01,0x00,0x00,0xfe] + +0x00,0x00,0xd8,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b64 v[5:6], v1 ; encoding: [0x00,0x00,0xd8,0xd9,0x01,0x00,0x00,0x05] + +0x04,0x00,0xd8,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b64 v[5:6], v1 offset:4 ; encoding: [0x04,0x00,0xd8,0xd9,0x01,0x00,0x00,0x05] + +0xff,0xff,0xd8,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b64 v[5:6], v1 offset:65535 ; encoding: [0xff,0xff,0xd8,0xd9,0x01,0x00,0x00,0x05] + +0xff,0xff,0xda,0xd9,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b64 v[5:6], v1 offset:65535 gds ; encoding: [0xff,0xff,0xda,0xd9,0x01,0x00,0x00,0x05] + +0xff,0xff,0xd8,0xd9,0xff,0x00,0x00,0x05 +# GFX10: ds_read_b64 v[5:6], v255 offset:65535 ; encoding: [0xff,0xff,0xd8,0xd9,0xff,0x00,0x00,0x05] + +0xff,0xff,0xf8,0xdb,0x01,0x00,0x00,0xfd +# GFX10: ds_read_b96 v[253:255], v1 offset:65535 ; encoding: [0xff,0xff,0xf8,0xdb,0x01,0x00,0x00,0xfd] + +0x00,0x00,0xf8,0xdb,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b96 v[5:7], v1 ; encoding: [0x00,0x00,0xf8,0xdb,0x01,0x00,0x00,0x05] + +0x04,0x00,0xf8,0xdb,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b96 v[5:7], v1 offset:4 ; encoding: [0x04,0x00,0xf8,0xdb,0x01,0x00,0x00,0x05] + +0xff,0xff,0xf8,0xdb,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b96 v[5:7], v1 offset:65535 ; encoding: [0xff,0xff,0xf8,0xdb,0x01,0x00,0x00,0x05] + +0xff,0xff,0xfa,0xdb,0x01,0x00,0x00,0x05 +# GFX10: ds_read_b96 v[5:7], v1 offset:65535 gds ; encoding: [0xff,0xff,0xfa,0xdb,0x01,0x00,0x00,0x05] + +0xff,0xff,0xf8,0xdb,0xff,0x00,0x00,0x05 +# GFX10: ds_read_b96 v[5:7], v255 offset:65535 ; encoding: [0xff,0xff,0xf8,0xdb,0xff,0x00,0x00,0x05] + +0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0xff +# GFX10: ds_read_i16 v255, v1 offset:65535 ; encoding: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0xff] + +0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i16 v5, v1 ; encoding: [0x00,0x00,0xec,0xd8,0x01,0x00,0x00,0x05] + +0x04,0x00,0xec,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i16 v5, v1 offset:4 ; encoding: [0x04,0x00,0xec,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i16 v5, v1 offset:65535 ; encoding: [0xff,0xff,0xec,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xee,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i16 v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0xee,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x05 +# GFX10: ds_read_i16 v5, v255 offset:65535 ; encoding: [0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x05] + +0xff,0xff,0xe4,0xd8,0x01,0x00,0x00,0xff +# GFX10: ds_read_i8 v255, v1 offset:65535 ; encoding: [0xff,0xff,0xe4,0xd8,0x01,0x00,0x00,0xff] + +0x00,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8 v5, v1 ; encoding: [0x00,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05] + +0x04,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8 v5, v1 offset:4 ; encoding: [0x04,0x00,0xe4,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xe4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8 v5, v1 offset:65535 ; encoding: [0xff,0xff,0xe4,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xe6,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8 v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0xe6,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xe4,0xd8,0xff,0x00,0x00,0x05 +# GFX10: ds_read_i8 v5, v255 offset:65535 ; encoding: [0xff,0xff,0xe4,0xd8,0xff,0x00,0x00,0x05] + +0xff,0xff,0x90,0xda,0x01,0x00,0x00,0xff +# GFX10: ds_read_i8_d16 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x90,0xda,0x01,0x00,0x00,0xff] + +0x00,0x00,0x90,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16 v5, v1 ; encoding: [0x00,0x00,0x90,0xda,0x01,0x00,0x00,0x05] + +0x04,0x00,0x90,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16 v5, v1 offset:4 ; encoding: [0x04,0x00,0x90,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x90,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16 v5, v1 offset:65535 ; encoding: [0xff,0xff,0x90,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x92,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16 v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0x92,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x90,0xda,0xff,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16 v5, v255 offset:65535 ; encoding: [0xff,0xff,0x90,0xda,0xff,0x00,0x00,0x05] + +0xff,0xff,0x94,0xda,0x01,0x00,0x00,0xff +# GFX10: ds_read_i8_d16_hi v255, v1 offset:65535 ; encoding: [0xff,0xff,0x94,0xda,0x01,0x00,0x00,0xff] + +0x00,0x00,0x94,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16_hi v5, v1 ; encoding: [0x00,0x00,0x94,0xda,0x01,0x00,0x00,0x05] + +0x04,0x00,0x94,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16_hi v5, v1 offset:4 ; encoding: [0x04,0x00,0x94,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x94,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16_hi v5, v1 offset:65535 ; encoding: [0xff,0xff,0x94,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x96,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16_hi v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0x96,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x94,0xda,0xff,0x00,0x00,0x05 +# GFX10: ds_read_i8_d16_hi v5, v255 offset:65535 ; encoding: [0xff,0xff,0x94,0xda,0xff,0x00,0x00,0x05] + +0xff,0xff,0xf0,0xd8,0x01,0x00,0x00,0xff +# GFX10: ds_read_u16 v255, v1 offset:65535 ; encoding: [0xff,0xff,0xf0,0xd8,0x01,0x00,0x00,0xff] + +0x00,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16 v5, v1 ; encoding: [0x00,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05] + +0x04,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16 v5, v1 offset:4 ; encoding: [0x04,0x00,0xf0,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16 v5, v1 offset:65535 ; encoding: [0xff,0xff,0xf0,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xf2,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16 v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0xf2,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xf0,0xd8,0xff,0x00,0x00,0x05 +# GFX10: ds_read_u16 v5, v255 offset:65535 ; encoding: [0xff,0xff,0xf0,0xd8,0xff,0x00,0x00,0x05] + +0xff,0xff,0x98,0xda,0x01,0x00,0x00,0xff +# GFX10: ds_read_u16_d16 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x98,0xda,0x01,0x00,0x00,0xff] + +0x00,0x00,0x98,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16 v5, v1 ; encoding: [0x00,0x00,0x98,0xda,0x01,0x00,0x00,0x05] + +0x04,0x00,0x98,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16 v5, v1 offset:4 ; encoding: [0x04,0x00,0x98,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x98,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16 v5, v1 offset:65535 ; encoding: [0xff,0xff,0x98,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x9a,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16 v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0x9a,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x98,0xda,0xff,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16 v5, v255 offset:65535 ; encoding: [0xff,0xff,0x98,0xda,0xff,0x00,0x00,0x05] + +0xff,0xff,0x9c,0xda,0x01,0x00,0x00,0xff +# GFX10: ds_read_u16_d16_hi v255, v1 offset:65535 ; encoding: [0xff,0xff,0x9c,0xda,0x01,0x00,0x00,0xff] + +0x00,0x00,0x9c,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16_hi v5, v1 ; encoding: [0x00,0x00,0x9c,0xda,0x01,0x00,0x00,0x05] + +0x04,0x00,0x9c,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16_hi v5, v1 offset:4 ; encoding: [0x04,0x00,0x9c,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x9c,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16_hi v5, v1 offset:65535 ; encoding: [0xff,0xff,0x9c,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x9e,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16_hi v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0x9e,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x9c,0xda,0xff,0x00,0x00,0x05 +# GFX10: ds_read_u16_d16_hi v5, v255 offset:65535 ; encoding: [0xff,0xff,0x9c,0xda,0xff,0x00,0x00,0x05] + +0xff,0xff,0xe8,0xd8,0x01,0x00,0x00,0xff +# GFX10: ds_read_u8 v255, v1 offset:65535 ; encoding: [0xff,0xff,0xe8,0xd8,0x01,0x00,0x00,0xff] + +0x00,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8 v5, v1 ; encoding: [0x00,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05] + +0x04,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8 v5, v1 offset:4 ; encoding: [0x04,0x00,0xe8,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xe8,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8 v5, v1 offset:65535 ; encoding: [0xff,0xff,0xe8,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xea,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8 v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0xea,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xe8,0xd8,0xff,0x00,0x00,0x05 +# GFX10: ds_read_u8 v5, v255 offset:65535 ; encoding: [0xff,0xff,0xe8,0xd8,0xff,0x00,0x00,0x05] + +0xff,0xff,0x88,0xda,0x01,0x00,0x00,0xff +# GFX10: ds_read_u8_d16 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x88,0xda,0x01,0x00,0x00,0xff] + +0x00,0x00,0x88,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16 v5, v1 ; encoding: [0x00,0x00,0x88,0xda,0x01,0x00,0x00,0x05] + +0x04,0x00,0x88,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16 v5, v1 offset:4 ; encoding: [0x04,0x00,0x88,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x88,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16 v5, v1 offset:65535 ; encoding: [0xff,0xff,0x88,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x8a,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16 v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0x8a,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x88,0xda,0xff,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16 v5, v255 offset:65535 ; encoding: [0xff,0xff,0x88,0xda,0xff,0x00,0x00,0x05] + +0xff,0xff,0x8c,0xda,0x01,0x00,0x00,0xff +# GFX10: ds_read_u8_d16_hi v255, v1 offset:65535 ; encoding: [0xff,0xff,0x8c,0xda,0x01,0x00,0x00,0xff] + +0x00,0x00,0x8c,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16_hi v5, v1 ; encoding: [0x00,0x00,0x8c,0xda,0x01,0x00,0x00,0x05] + +0x04,0x00,0x8c,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16_hi v5, v1 offset:4 ; encoding: [0x04,0x00,0x8c,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x8c,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16_hi v5, v1 offset:65535 ; encoding: [0xff,0xff,0x8c,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x8e,0xda,0x01,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16_hi v5, v1 offset:65535 gds ; encoding: [0xff,0xff,0x8e,0xda,0x01,0x00,0x00,0x05] + +0xff,0xff,0x8c,0xda,0xff,0x00,0x00,0x05 +# GFX10: ds_read_u8_d16_hi v5, v255 offset:65535 ; encoding: [0xff,0xff,0x8c,0xda,0xff,0x00,0x00,0x05] + +0x00,0x00,0x88,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v1, v2 ; encoding: [0x00,0x00,0x88,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x8a,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x8a,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x88,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x88,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x8a,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x8a,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x88,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x88,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x8a,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x8a,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x88,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v254, v253 ; encoding: [0x00,0x00,0x88,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x8a,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x8a,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x88,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x88,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x8a,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x8a,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x88,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x88,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x8a,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_rsub_rtn_u32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x8a,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x88,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v1, v253 ; encoding: [0x00,0x00,0x88,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x8a,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x8a,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x88,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x88,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x8a,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x8a,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x88,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x88,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x8a,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x8a,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x88,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v2 ; encoding: [0x00,0x00,0x88,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x8a,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x8a,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x88,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x88,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x8a,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x8a,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x88,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x88,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x8a,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x8a,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x88,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v253 ; encoding: [0x00,0x00,0x88,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x8a,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x8a,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x88,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x88,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x8a,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x8a,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x88,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x88,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x8a,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_rsub_rtn_u32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x8a,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x88,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_rsub_rtn_u64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x88,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0x88,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_rsub_rtn_u64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x88,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0x88,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_rsub_rtn_u64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0x88,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0x88,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_rsub_rtn_u64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x88,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x88,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_rsub_rtn_u64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x88,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x8a,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_rsub_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x8a,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x88,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_rsub_rtn_u64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x88,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x08,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u32 v1 ; encoding: [0x00,0x00,0x08,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x08,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u32 v1 offset:4 ; encoding: [0x04,0x00,0x08,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x08,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u32 v1 offset:65535 ; encoding: [0xff,0xff,0x08,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x0a,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x0a,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x08,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u32 v255 offset:65535 ; encoding: [0xff,0xff,0x08,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x08,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u64 v1 ; encoding: [0x00,0x00,0x08,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x08,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u64 v1 offset:4 ; encoding: [0x04,0x00,0x08,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x08,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u64 v1 offset:65535 ; encoding: [0xff,0xff,0x08,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x0a,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x0a,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x08,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_rsub_src2_u64 v255 offset:65535 ; encoding: [0xff,0xff,0x08,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x08,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v1 ; encoding: [0x00,0x00,0x08,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x0a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v1 gds ; encoding: [0x00,0x00,0x0a,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x08,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x08,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x0a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x0a,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x08,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x08,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x0a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x0a,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x08,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v254 ; encoding: [0x00,0x00,0x08,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x0a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v254 gds ; encoding: [0x00,0x00,0x0a,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x08,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x08,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x0a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x0a,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x08,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x08,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x0a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x0a,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x08,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v1 ; encoding: [0x00,0x00,0x08,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x0a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v1 gds ; encoding: [0x00,0x00,0x0a,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x08,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x08,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x0a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x0a,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x08,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x08,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x0a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x0a,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x08,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v254 ; encoding: [0x00,0x00,0x08,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x0a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v254 gds ; encoding: [0x00,0x00,0x0a,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x08,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x08,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x0a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x0a,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x08,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x08,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x0a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_rsub_u32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x0a,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x08,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_rsub_u64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x08,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x08,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_u64 v1, v[2:3] ; encoding: [0x00,0x00,0x08,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x08,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_u64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x08,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x08,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_u64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x08,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x0a,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_rsub_u64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x0a,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x08,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_rsub_u64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x08,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0x84,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v1, v2 ; encoding: [0x00,0x00,0x84,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x86,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x86,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x84,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0x84,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0x86,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0x86,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x84,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0x84,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0x86,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x86,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0x84,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v254, v253 ; encoding: [0x00,0x00,0x84,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x86,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x86,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x84,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x84,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0x86,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x86,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x84,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x84,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0x86,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_sub_rtn_u32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x86,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0x84,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v1, v253 ; encoding: [0x00,0x00,0x84,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x86,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x86,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x84,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0x84,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0x86,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0x86,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x84,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0x84,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0x86,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0x86,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0x84,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v2 ; encoding: [0x00,0x00,0x84,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x86,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x86,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x84,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0x84,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0x86,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0x86,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x84,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0x84,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0x86,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0x86,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0x84,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v253 ; encoding: [0x00,0x00,0x84,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0x86,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x86,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x84,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0x84,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0x86,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0x86,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x84,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0x84,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x86,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_sub_rtn_u32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0x86,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0x84,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_sub_rtn_u64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x84,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0x84,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_sub_rtn_u64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x84,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0x84,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_sub_rtn_u64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0x84,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0x84,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_sub_rtn_u64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x84,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x84,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_sub_rtn_u64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x84,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x86,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_sub_rtn_u64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x86,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0x84,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_sub_rtn_u64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x84,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x04,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u32 v1 ; encoding: [0x00,0x00,0x04,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x04,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u32 v1 offset:4 ; encoding: [0x04,0x00,0x04,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x04,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u32 v1 offset:65535 ; encoding: [0xff,0xff,0x04,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x06,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x06,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x04,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u32 v255 offset:65535 ; encoding: [0xff,0xff,0x04,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x04,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u64 v1 ; encoding: [0x00,0x00,0x04,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x04,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u64 v1 offset:4 ; encoding: [0x04,0x00,0x04,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x04,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u64 v1 offset:65535 ; encoding: [0xff,0xff,0x04,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x06,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x06,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x04,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_sub_src2_u64 v255 offset:65535 ; encoding: [0xff,0xff,0x04,0xdb,0xff,0x00,0x00,0x00] + +0x00,0x00,0x04,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v0, v1 ; encoding: [0x00,0x00,0x04,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x06,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v0, v1 gds ; encoding: [0x00,0x00,0x06,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x04,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x04,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x06,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x06,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x04,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x04,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x06,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x06,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x04,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v0, v254 ; encoding: [0x00,0x00,0x04,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x06,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v0, v254 gds ; encoding: [0x00,0x00,0x06,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x04,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x04,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x06,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x06,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x04,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x04,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x06,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x06,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x04,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v255, v1 ; encoding: [0x00,0x00,0x04,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x06,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v255, v1 gds ; encoding: [0x00,0x00,0x06,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x04,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x04,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x06,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x06,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x04,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x04,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x06,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_sub_u32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x06,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x04,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v255, v254 ; encoding: [0x00,0x00,0x04,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x06,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v255, v254 gds ; encoding: [0x00,0x00,0x06,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x04,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x04,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x06,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x06,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x04,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x04,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x06,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_sub_u32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x06,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x04,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_sub_u64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x04,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x04,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_u64 v1, v[2:3] ; encoding: [0x00,0x00,0x04,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x04,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_u64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x04,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x04,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_u64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x04,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x06,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_sub_u64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x06,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x04,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_sub_u64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x04,0xd9,0xff,0x02,0x00,0x00] + +0xff,0xff,0xd4,0xd8,0x01,0x00,0x00,0xff +# GFX10: ds_swizzle_b32 v255, v1 offset:swizzle(FFT,31) ; encoding: [0xff,0xff,0xd4,0xd8,0x01,0x00,0x00,0xff] + +0x00,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 ; encoding: [0x00,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0x04,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(BITMASK_PERM,"00p00") ; encoding: [0x04,0x00,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0x00,0xe0,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(FFT,0) ; encoding: [0x00,0xe0,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0x10,0xe0,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(FFT,16) ; encoding: [0x10,0xe0,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(FFT,31) ; encoding: [0xff,0xff,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xd6,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(FFT,31) gds ; encoding: [0xff,0xff,0xd6,0xd8,0x01,0x00,0x00,0x05] + +0x00,0xc0,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(ROTATE,0,0) ; encoding: [0x00,0xc0,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0x20,0xc0,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(ROTATE,0,1) ; encoding: [0x20,0xc0,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0xe0,0xc3,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(ROTATE,0,31) ; encoding: [0xe0,0xc3,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0x00,0xc4,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(ROTATE,1,0) ; encoding: [0x00,0xc4,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0x20,0xc4,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(ROTATE,1,1) ; encoding: [0x20,0xc4,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0xe0,0xc7,0xd4,0xd8,0x01,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v1 offset:swizzle(ROTATE,1,31) ; encoding: [0xe0,0xc7,0xd4,0xd8,0x01,0x00,0x00,0x05] + +0xff,0xff,0xd4,0xd8,0xff,0x00,0x00,0x05 +# GFX10: ds_swizzle_b32 v5, v255 offset:swizzle(FFT,31) ; encoding: [0xff,0xff,0xd4,0xd8,0xff,0x00,0x00,0x05] + +0xff,0xff,0xd0,0xd8,0x01,0x02,0x03,0xff +# GFX10: ds_wrap_rtn_b32 v255, v1, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xd0,0xd8,0x01,0x02,0x03,0xff] + +0xff,0xff,0xd0,0xd8,0x01,0x02,0xff,0x05 +# GFX10: ds_wrap_rtn_b32 v5, v1, v2, v255 offset:65535 ; encoding: [0xff,0xff,0xd0,0xd8,0x01,0x02,0xff,0x05] + +0x00,0x00,0xd0,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrap_rtn_b32 v5, v1, v2, v3 ; encoding: [0x00,0x00,0xd0,0xd8,0x01,0x02,0x03,0x05] + +0x04,0x00,0xd0,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrap_rtn_b32 v5, v1, v2, v3 offset:4 ; encoding: [0x04,0x00,0xd0,0xd8,0x01,0x02,0x03,0x05] + +0xff,0xff,0xd0,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrap_rtn_b32 v5, v1, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xd0,0xd8,0x01,0x02,0x03,0x05] + +0xff,0xff,0xd2,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrap_rtn_b32 v5, v1, v2, v3 offset:65535 gds ; encoding: [0xff,0xff,0xd2,0xd8,0x01,0x02,0x03,0x05] + +0xff,0xff,0xd0,0xd8,0x01,0xff,0x03,0x05 +# GFX10: ds_wrap_rtn_b32 v5, v1, v255, v3 offset:65535 ; encoding: [0xff,0xff,0xd0,0xd8,0x01,0xff,0x03,0x05] + +0xff,0xff,0xd0,0xd8,0xff,0x02,0x03,0x05 +# GFX10: ds_wrap_rtn_b32 v5, v255, v2, v3 offset:65535 ; encoding: [0xff,0xff,0xd0,0xd8,0xff,0x02,0x03,0x05] + +0x00,0x00,0x38,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 ; encoding: [0x00,0x00,0x38,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x3a,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x3a,0xd8,0x00,0x01,0x02,0x00] + +0x7b,0x00,0x38,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:123 ; encoding: [0x7b,0x00,0x38,0xd8,0x00,0x01,0x02,0x00] + +0x7b,0x00,0x3a,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:123 gds ; encoding: [0x7b,0x00,0x3a,0xd8,0x00,0x01,0x02,0x00] + +0x7b,0x40,0x38,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x38,0xd8,0x00,0x01,0x02,0x00] + +0x7b,0x40,0x3a,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3a,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x38,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x38,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x3a,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3a,0xd8,0x00,0x01,0x02,0x00] + +0xff,0x40,0x38,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x38,0xd8,0x00,0x01,0x02,0x00] + +0xff,0x40,0x3a,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3a,0xd8,0x00,0x01,0x02,0x00] + +0x40,0x7b,0x38,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x38,0xd8,0x00,0x01,0x02,0x00] + +0x40,0x7b,0x3a,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3a,0xd8,0x00,0x01,0x02,0x00] + +0x40,0xff,0x38,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x38,0xd8,0x00,0x01,0x02,0x00] + +0x40,0xff,0x3a,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3a,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x7b,0x38,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset1:123 ; encoding: [0x00,0x7b,0x38,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x7b,0x3a,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2_b32 v0, v1, v2 offset1:123 gds ; encoding: [0x00,0x7b,0x3a,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x38,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 ; encoding: [0x00,0x00,0x38,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x3a,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x3a,0xd8,0x00,0xfe,0xfd,0x00] + +0x7b,0x00,0x38,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:123 ; encoding: [0x7b,0x00,0x38,0xd8,0x00,0xfe,0xfd,0x00] + +0x7b,0x00,0x3a,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:123 gds ; encoding: [0x7b,0x00,0x3a,0xd8,0x00,0xfe,0xfd,0x00] + +0x7b,0x40,0x38,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x38,0xd8,0x00,0xfe,0xfd,0x00] + +0x7b,0x40,0x3a,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3a,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x38,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x38,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x3a,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3a,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0x40,0x38,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x38,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0x40,0x3a,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3a,0xd8,0x00,0xfe,0xfd,0x00] + +0x40,0x7b,0x38,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x38,0xd8,0x00,0xfe,0xfd,0x00] + +0x40,0x7b,0x3a,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3a,0xd8,0x00,0xfe,0xfd,0x00] + +0x40,0xff,0x38,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x38,0xd8,0x00,0xfe,0xfd,0x00] + +0x40,0xff,0x3a,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3a,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x7b,0x38,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset1:123 ; encoding: [0x00,0x7b,0x38,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x7b,0x3a,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v0, v254, v253 offset1:123 gds ; encoding: [0x00,0x7b,0x3a,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x38,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 ; encoding: [0x00,0x00,0x38,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x3a,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x3a,0xd8,0xff,0x01,0xfd,0x00] + +0x7b,0x00,0x38,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:123 ; encoding: [0x7b,0x00,0x38,0xd8,0xff,0x01,0xfd,0x00] + +0x7b,0x00,0x3a,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:123 gds ; encoding: [0x7b,0x00,0x3a,0xd8,0xff,0x01,0xfd,0x00] + +0x7b,0x40,0x38,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x38,0xd8,0xff,0x01,0xfd,0x00] + +0x7b,0x40,0x3a,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3a,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x38,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x38,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x3a,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3a,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0x40,0x38,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x38,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0x40,0x3a,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3a,0xd8,0xff,0x01,0xfd,0x00] + +0x40,0x7b,0x38,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x38,0xd8,0xff,0x01,0xfd,0x00] + +0x40,0x7b,0x3a,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3a,0xd8,0xff,0x01,0xfd,0x00] + +0x40,0xff,0x38,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x38,0xd8,0xff,0x01,0xfd,0x00] + +0x40,0xff,0x3a,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3a,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x7b,0x38,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset1:123 ; encoding: [0x00,0x7b,0x38,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x7b,0x3a,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v1, v253 offset1:123 gds ; encoding: [0x00,0x7b,0x3a,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x38,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 ; encoding: [0x00,0x00,0x38,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x3a,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x3a,0xd8,0xff,0xfe,0x02,0x00] + +0x7b,0x00,0x38,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:123 ; encoding: [0x7b,0x00,0x38,0xd8,0xff,0xfe,0x02,0x00] + +0x7b,0x00,0x3a,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:123 gds ; encoding: [0x7b,0x00,0x3a,0xd8,0xff,0xfe,0x02,0x00] + +0x7b,0x40,0x38,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x38,0xd8,0xff,0xfe,0x02,0x00] + +0x7b,0x40,0x3a,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3a,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x38,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x38,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x3a,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3a,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0x40,0x38,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x38,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0x40,0x3a,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3a,0xd8,0xff,0xfe,0x02,0x00] + +0x40,0x7b,0x38,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x38,0xd8,0xff,0xfe,0x02,0x00] + +0x40,0x7b,0x3a,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3a,0xd8,0xff,0xfe,0x02,0x00] + +0x40,0xff,0x38,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x38,0xd8,0xff,0xfe,0x02,0x00] + +0x40,0xff,0x3a,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3a,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x7b,0x38,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset1:123 ; encoding: [0x00,0x7b,0x38,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x7b,0x3a,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2_b32 v255, v254, v2 offset1:123 gds ; encoding: [0x00,0x7b,0x3a,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x38,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 ; encoding: [0x00,0x00,0x38,0xd8,0xff,0xfe,0xfd,0x00] + +0x00,0x00,0x3a,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x3a,0xd8,0xff,0xfe,0xfd,0x00] + +0x7b,0x00,0x38,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:123 ; encoding: [0x7b,0x00,0x38,0xd8,0xff,0xfe,0xfd,0x00] + +0x7b,0x00,0x3a,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:123 gds ; encoding: [0x7b,0x00,0x3a,0xd8,0xff,0xfe,0xfd,0x00] + +0x7b,0x40,0x38,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x38,0xd8,0xff,0xfe,0xfd,0x00] + +0x7b,0x40,0x3a,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3a,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x38,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x38,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x3a,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3a,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0x40,0x38,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x38,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0x40,0x3a,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3a,0xd8,0xff,0xfe,0xfd,0x00] + +0x40,0x7b,0x38,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x38,0xd8,0xff,0xfe,0xfd,0x00] + +0x40,0x7b,0x3a,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3a,0xd8,0xff,0xfe,0xfd,0x00] + +0x40,0xff,0x38,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x38,0xd8,0xff,0xfe,0xfd,0x00] + +0x40,0xff,0x3a,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3a,0xd8,0xff,0xfe,0xfd,0x00] + +0x00,0x7b,0x38,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset1:123 ; encoding: [0x00,0x7b,0x38,0xd8,0xff,0xfe,0xfd,0x00] + +0x00,0x7b,0x3a,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2_b32 v255, v254, v253 offset1:123 gds ; encoding: [0x00,0x7b,0x3a,0xd8,0xff,0xfe,0xfd,0x00] + +0x7f,0xff,0x38,0xd9,0x01,0xfe,0x03,0x00 +# GFX10: ds_write2_b64 v1, v[254:255], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0x38,0xd9,0x01,0xfe,0x03,0x00] + +0x7f,0xff,0x38,0xd9,0x01,0x02,0xfe,0x00 +# GFX10: ds_write2_b64 v1, v[2:3], v[254:255] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0x38,0xd9,0x01,0x02,0xfe,0x00] + +0x7f,0x00,0x38,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 ; encoding: [0x7f,0x00,0x38,0xd9,0x01,0x02,0x03,0x00] + +0x7f,0x01,0x38,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:1 ; encoding: [0x7f,0x01,0x38,0xd9,0x01,0x02,0x03,0x00] + +0x7f,0xff,0x38,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0x38,0xd9,0x01,0x02,0x03,0x00] + +0x7f,0xff,0x3a,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0x3a,0xd9,0x01,0x02,0x03,0x00] + +0x10,0xff,0x38,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2_b64 v1, v[2:3], v[3:4] offset0:16 offset1:255 ; encoding: [0x10,0xff,0x38,0xd9,0x01,0x02,0x03,0x00] + +0x00,0xff,0x38,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2_b64 v1, v[2:3], v[3:4] offset1:255 ; encoding: [0x00,0xff,0x38,0xd9,0x01,0x02,0x03,0x00] + +0x7f,0xff,0x38,0xd9,0xff,0x02,0x03,0x00 +# GFX10: ds_write2_b64 v255, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0x38,0xd9,0xff,0x02,0x03,0x00] + +0x00,0x00,0x3c,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 ; encoding: [0x00,0x00,0x3c,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x3e,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 gds ; encoding: [0x00,0x00,0x3e,0xd8,0x00,0x01,0x02,0x00] + +0x7b,0x00,0x3c,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:123 ; encoding: [0x7b,0x00,0x3c,0xd8,0x00,0x01,0x02,0x00] + +0x7b,0x00,0x3e,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:123 gds ; encoding: [0x7b,0x00,0x3e,0xd8,0x00,0x01,0x02,0x00] + +0x7b,0x40,0x3c,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x3c,0xd8,0x00,0x01,0x02,0x00] + +0x7b,0x40,0x3e,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3e,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x3c,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x3c,0xd8,0x00,0x01,0x02,0x00] + +0xff,0xff,0x3e,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3e,0xd8,0x00,0x01,0x02,0x00] + +0xff,0x40,0x3c,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x3c,0xd8,0x00,0x01,0x02,0x00] + +0xff,0x40,0x3e,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3e,0xd8,0x00,0x01,0x02,0x00] + +0x40,0x7b,0x3c,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x3c,0xd8,0x00,0x01,0x02,0x00] + +0x40,0x7b,0x3e,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3e,0xd8,0x00,0x01,0x02,0x00] + +0x40,0xff,0x3c,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x3c,0xd8,0x00,0x01,0x02,0x00] + +0x40,0xff,0x3e,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3e,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x7b,0x3c,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset1:123 ; encoding: [0x00,0x7b,0x3c,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x7b,0x3e,0xd8,0x00,0x01,0x02,0x00 +# GFX10: ds_write2st64_b32 v0, v1, v2 offset1:123 gds ; encoding: [0x00,0x7b,0x3e,0xd8,0x00,0x01,0x02,0x00] + +0x00,0x00,0x3c,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 ; encoding: [0x00,0x00,0x3c,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x3e,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 gds ; encoding: [0x00,0x00,0x3e,0xd8,0x00,0xfe,0xfd,0x00] + +0x7b,0x00,0x3c,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:123 ; encoding: [0x7b,0x00,0x3c,0xd8,0x00,0xfe,0xfd,0x00] + +0x7b,0x00,0x3e,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:123 gds ; encoding: [0x7b,0x00,0x3e,0xd8,0x00,0xfe,0xfd,0x00] + +0x7b,0x40,0x3c,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x3c,0xd8,0x00,0xfe,0xfd,0x00] + +0x7b,0x40,0x3e,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3e,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x3c,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x3c,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0xff,0x3e,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3e,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0x40,0x3c,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x3c,0xd8,0x00,0xfe,0xfd,0x00] + +0xff,0x40,0x3e,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3e,0xd8,0x00,0xfe,0xfd,0x00] + +0x40,0x7b,0x3c,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x3c,0xd8,0x00,0xfe,0xfd,0x00] + +0x40,0x7b,0x3e,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3e,0xd8,0x00,0xfe,0xfd,0x00] + +0x40,0xff,0x3c,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x3c,0xd8,0x00,0xfe,0xfd,0x00] + +0x40,0xff,0x3e,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3e,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x7b,0x3c,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset1:123 ; encoding: [0x00,0x7b,0x3c,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x7b,0x3e,0xd8,0x00,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v0, v254, v253 offset1:123 gds ; encoding: [0x00,0x7b,0x3e,0xd8,0x00,0xfe,0xfd,0x00] + +0x00,0x00,0x3c,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 ; encoding: [0x00,0x00,0x3c,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x3e,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 gds ; encoding: [0x00,0x00,0x3e,0xd8,0xff,0x01,0xfd,0x00] + +0x7b,0x00,0x3c,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:123 ; encoding: [0x7b,0x00,0x3c,0xd8,0xff,0x01,0xfd,0x00] + +0x7b,0x00,0x3e,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:123 gds ; encoding: [0x7b,0x00,0x3e,0xd8,0xff,0x01,0xfd,0x00] + +0x7b,0x40,0x3c,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x3c,0xd8,0xff,0x01,0xfd,0x00] + +0x7b,0x40,0x3e,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3e,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x3c,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x3c,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0xff,0x3e,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3e,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0x40,0x3c,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x3c,0xd8,0xff,0x01,0xfd,0x00] + +0xff,0x40,0x3e,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3e,0xd8,0xff,0x01,0xfd,0x00] + +0x40,0x7b,0x3c,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x3c,0xd8,0xff,0x01,0xfd,0x00] + +0x40,0x7b,0x3e,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3e,0xd8,0xff,0x01,0xfd,0x00] + +0x40,0xff,0x3c,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x3c,0xd8,0xff,0x01,0xfd,0x00] + +0x40,0xff,0x3e,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3e,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x7b,0x3c,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset1:123 ; encoding: [0x00,0x7b,0x3c,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x7b,0x3e,0xd8,0xff,0x01,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v1, v253 offset1:123 gds ; encoding: [0x00,0x7b,0x3e,0xd8,0xff,0x01,0xfd,0x00] + +0x00,0x00,0x3c,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 ; encoding: [0x00,0x00,0x3c,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x3e,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 gds ; encoding: [0x00,0x00,0x3e,0xd8,0xff,0xfe,0x02,0x00] + +0x7b,0x00,0x3c,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:123 ; encoding: [0x7b,0x00,0x3c,0xd8,0xff,0xfe,0x02,0x00] + +0x7b,0x00,0x3e,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:123 gds ; encoding: [0x7b,0x00,0x3e,0xd8,0xff,0xfe,0x02,0x00] + +0x7b,0x40,0x3c,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x3c,0xd8,0xff,0xfe,0x02,0x00] + +0x7b,0x40,0x3e,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3e,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x3c,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x3c,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0xff,0x3e,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3e,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0x40,0x3c,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x3c,0xd8,0xff,0xfe,0x02,0x00] + +0xff,0x40,0x3e,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3e,0xd8,0xff,0xfe,0x02,0x00] + +0x40,0x7b,0x3c,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x3c,0xd8,0xff,0xfe,0x02,0x00] + +0x40,0x7b,0x3e,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3e,0xd8,0xff,0xfe,0x02,0x00] + +0x40,0xff,0x3c,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x3c,0xd8,0xff,0xfe,0x02,0x00] + +0x40,0xff,0x3e,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3e,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x7b,0x3c,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset1:123 ; encoding: [0x00,0x7b,0x3c,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x7b,0x3e,0xd8,0xff,0xfe,0x02,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v2 offset1:123 gds ; encoding: [0x00,0x7b,0x3e,0xd8,0xff,0xfe,0x02,0x00] + +0x00,0x00,0x3c,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 ; encoding: [0x00,0x00,0x3c,0xd8,0xff,0xfe,0xfd,0x00] + +0x00,0x00,0x3e,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 gds ; encoding: [0x00,0x00,0x3e,0xd8,0xff,0xfe,0xfd,0x00] + +0x7b,0x00,0x3c,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:123 ; encoding: [0x7b,0x00,0x3c,0xd8,0xff,0xfe,0xfd,0x00] + +0x7b,0x00,0x3e,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:123 gds ; encoding: [0x7b,0x00,0x3e,0xd8,0xff,0xfe,0xfd,0x00] + +0x7b,0x40,0x3c,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:123 offset1:64 ; encoding: [0x7b,0x40,0x3c,0xd8,0xff,0xfe,0xfd,0x00] + +0x7b,0x40,0x3e,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:123 offset1:64 gds ; encoding: [0x7b,0x40,0x3e,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x3c,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:255 offset1:255 ; encoding: [0xff,0xff,0x3c,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0xff,0x3e,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:255 offset1:255 gds ; encoding: [0xff,0xff,0x3e,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0x40,0x3c,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:255 offset1:64 ; encoding: [0xff,0x40,0x3c,0xd8,0xff,0xfe,0xfd,0x00] + +0xff,0x40,0x3e,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:255 offset1:64 gds ; encoding: [0xff,0x40,0x3e,0xd8,0xff,0xfe,0xfd,0x00] + +0x40,0x7b,0x3c,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:64 offset1:123 ; encoding: [0x40,0x7b,0x3c,0xd8,0xff,0xfe,0xfd,0x00] + +0x40,0x7b,0x3e,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:64 offset1:123 gds ; encoding: [0x40,0x7b,0x3e,0xd8,0xff,0xfe,0xfd,0x00] + +0x40,0xff,0x3c,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:64 offset1:255 ; encoding: [0x40,0xff,0x3c,0xd8,0xff,0xfe,0xfd,0x00] + +0x40,0xff,0x3e,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset0:64 offset1:255 gds ; encoding: [0x40,0xff,0x3e,0xd8,0xff,0xfe,0xfd,0x00] + +0x00,0x7b,0x3c,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset1:123 ; encoding: [0x00,0x7b,0x3c,0xd8,0xff,0xfe,0xfd,0x00] + +0x00,0x7b,0x3e,0xd8,0xff,0xfe,0xfd,0x00 +# GFX10: ds_write2st64_b32 v255, v254, v253 offset1:123 gds ; encoding: [0x00,0x7b,0x3e,0xd8,0xff,0xfe,0xfd,0x00] + +0x7f,0xff,0x3c,0xd9,0x01,0xfe,0x03,0x00 +# GFX10: ds_write2st64_b64 v1, v[254:255], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0x3c,0xd9,0x01,0xfe,0x03,0x00] + +0x7f,0xff,0x3c,0xd9,0x01,0x02,0xfe,0x00 +# GFX10: ds_write2st64_b64 v1, v[2:3], v[254:255] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0x3c,0xd9,0x01,0x02,0xfe,0x00] + +0x7f,0x00,0x3c,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 ; encoding: [0x7f,0x00,0x3c,0xd9,0x01,0x02,0x03,0x00] + +0x7f,0x01,0x3c,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 offset1:1 ; encoding: [0x7f,0x01,0x3c,0xd9,0x01,0x02,0x03,0x00] + +0x7f,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00] + +0x7f,0xff,0x3e,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0x3e,0xd9,0x01,0x02,0x03,0x00] + +0x10,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2st64_b64 v1, v[2:3], v[3:4] offset0:16 offset1:255 ; encoding: [0x10,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00] + +0x00,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00 +# GFX10: ds_write2st64_b64 v1, v[2:3], v[3:4] offset1:255 ; encoding: [0x00,0xff,0x3c,0xd9,0x01,0x02,0x03,0x00] + +0x7f,0xff,0x3c,0xd9,0xff,0x02,0x03,0x00 +# GFX10: ds_write2st64_b64 v255, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0x3c,0xd9,0xff,0x02,0x03,0x00] + +0xff 0xff 0xc0 0xda 0x00 0xff 0x00 0x00 +# GFX10: ds_write_addtid_b32 v255 offset:65535 ; encoding: [0xff,0xff,0xc0,0xda,0x00,0xff,0x00,0x00] + +0x00 0x00 0xc0 0xda 0x00 0x05 0x00 0x00 +# GFX10: ds_write_addtid_b32 v5 ; encoding: [0x00,0x00,0xc0,0xda,0x00,0x05,0x00,0x00] + +0x04 0x00 0xc0 0xda 0x00 0x05 0x00 0x00 +# GFX10: ds_write_addtid_b32 v5 offset:4 ; encoding: [0x04,0x00,0xc0,0xda,0x00,0x05,0x00,0x00] + +0xff 0xff 0xc0 0xda 0x00 0x05 0x00 0x00 +# GFX10: ds_write_addtid_b32 v5 offset:65535 ; encoding: [0xff,0xff,0xc0,0xda,0x00,0x05,0x00,0x00] + +0xff 0xff 0xc2 0xda 0x00 0x05 0x00 0x00 +# GFX10: ds_write_addtid_b32 v5 offset:65535 gds ; encoding: [0xff,0xff,0xc2,0xda,0x00,0x05,0x00,0x00] + +0xff,0xff,0x7c,0xdb,0x01,0xfc,0x00,0x00 +# GFX10: ds_write_b128 v1, v[252:255] offset:65535 ; encoding: [0xff,0xff,0x7c,0xdb,0x01,0xfc,0x00,0x00] + +0x00,0x00,0x7c,0xdb,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b128 v1, v[2:5] ; encoding: [0x00,0x00,0x7c,0xdb,0x01,0x02,0x00,0x00] + +0x04,0x00,0x7c,0xdb,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b128 v1, v[2:5] offset:4 ; encoding: [0x04,0x00,0x7c,0xdb,0x01,0x02,0x00,0x00] + +0xff,0xff,0x7c,0xdb,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b128 v1, v[2:5] offset:65535 ; encoding: [0xff,0xff,0x7c,0xdb,0x01,0x02,0x00,0x00] + +0xff,0xff,0x7e,0xdb,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b128 v1, v[2:5] offset:65535 gds ; encoding: [0xff,0xff,0x7e,0xdb,0x01,0x02,0x00,0x00] + +0xff,0xff,0x7c,0xdb,0xff,0x02,0x00,0x00 +# GFX10: ds_write_b128 v255, v[2:5] offset:65535 ; encoding: [0xff,0xff,0x7c,0xdb,0xff,0x02,0x00,0x00] + +0x00,0x00,0x7c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b16 v0, v1 ; encoding: [0x00,0x00,0x7c,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x7e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b16 v0, v1 gds ; encoding: [0x00,0x00,0x7e,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x7c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b16 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x7c,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x7e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b16 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x7e,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x7c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b16 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x7c,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x7e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b16 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x7e,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x7c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v0, v254 ; encoding: [0x00,0x00,0x7c,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x7e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v0, v254 gds ; encoding: [0x00,0x00,0x7e,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x7c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x7c,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x7e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x7e,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x7c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x7c,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x7e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x7e,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x7c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b16 v255, v1 ; encoding: [0x00,0x00,0x7c,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x7e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b16 v255, v1 gds ; encoding: [0x00,0x00,0x7e,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x7c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b16 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x7c,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x7e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b16 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x7e,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x7c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b16 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x7c,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x7e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b16 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x7e,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x7c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v255, v254 ; encoding: [0x00,0x00,0x7c,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x7e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v255, v254 gds ; encoding: [0x00,0x00,0x7e,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x7c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x7c,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x7e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x7e,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x7c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x7c,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x7e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b16 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x7e,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x84,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b16_d16_hi v1, v2 ; encoding: [0x00,0x00,0x84,0xda,0x01,0x02,0x00,0x00] + +0x04,0x00,0x84,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b16_d16_hi v1, v2 offset:4 ; encoding: [0x04,0x00,0x84,0xda,0x01,0x02,0x00,0x00] + +0xff,0xff,0x84,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b16_d16_hi v1, v2 offset:65535 ; encoding: [0xff,0xff,0x84,0xda,0x01,0x02,0x00,0x00] + +0xff,0xff,0x86,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b16_d16_hi v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x86,0xda,0x01,0x02,0x00,0x00] + +0xff,0xff,0x84,0xda,0x01,0xff,0x00,0x00 +# GFX10: ds_write_b16_d16_hi v1, v255 offset:65535 ; encoding: [0xff,0xff,0x84,0xda,0x01,0xff,0x00,0x00] + +0xff,0xff,0x84,0xda,0xff,0x02,0x00,0x00 +# GFX10: ds_write_b16_d16_hi v255, v2 offset:65535 ; encoding: [0xff,0xff,0x84,0xda,0xff,0x02,0x00,0x00] + +0x00,0x00,0x34,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b32 v0, v1 ; encoding: [0x00,0x00,0x34,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x36,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b32 v0, v1 gds ; encoding: [0x00,0x00,0x36,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x34,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x34,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x36,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x36,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x34,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x34,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x36,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x36,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x34,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v0, v254 ; encoding: [0x00,0x00,0x34,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x36,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v0, v254 gds ; encoding: [0x00,0x00,0x36,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x34,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x34,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x36,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x36,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x34,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x34,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x36,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x36,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x34,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b32 v255, v1 ; encoding: [0x00,0x00,0x34,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x36,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b32 v255, v1 gds ; encoding: [0x00,0x00,0x36,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x34,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x34,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x36,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x36,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x34,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x34,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x36,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x36,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x34,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v255, v254 ; encoding: [0x00,0x00,0x34,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x36,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v255, v254 gds ; encoding: [0x00,0x00,0x36,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x34,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x34,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x36,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x36,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x34,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x34,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x36,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x36,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x34,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_write_b64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x34,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x34,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b64 v1, v[2:3] ; encoding: [0x00,0x00,0x34,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x34,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x34,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x34,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x34,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x36,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x36,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x34,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_write_b64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x34,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0x78,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b8 v0, v1 ; encoding: [0x00,0x00,0x78,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x7a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b8 v0, v1 gds ; encoding: [0x00,0x00,0x7a,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x78,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b8 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x78,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x7a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b8 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x7a,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x78,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b8 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x78,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x7a,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_write_b8 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x7a,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x78,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v0, v254 ; encoding: [0x00,0x00,0x78,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x7a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v0, v254 gds ; encoding: [0x00,0x00,0x7a,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x78,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x78,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x7a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x7a,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x78,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x78,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x7a,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x7a,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x78,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b8 v255, v1 ; encoding: [0x00,0x00,0x78,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x7a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b8 v255, v1 gds ; encoding: [0x00,0x00,0x7a,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x78,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b8 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x78,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x7a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b8 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x7a,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x78,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b8 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x78,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x7a,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_write_b8 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x7a,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x78,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v255, v254 ; encoding: [0x00,0x00,0x78,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x7a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v255, v254 gds ; encoding: [0x00,0x00,0x7a,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x78,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x78,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x7a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x7a,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x78,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x78,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x7a,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_write_b8 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x7a,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x80,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b8_d16_hi v1, v2 ; encoding: [0x00,0x00,0x80,0xda,0x01,0x02,0x00,0x00] + +0x04,0x00,0x80,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b8_d16_hi v1, v2 offset:4 ; encoding: [0x04,0x00,0x80,0xda,0x01,0x02,0x00,0x00] + +0xff,0xff,0x80,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b8_d16_hi v1, v2 offset:65535 ; encoding: [0xff,0xff,0x80,0xda,0x01,0x02,0x00,0x00] + +0xff,0xff,0x82,0xda,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b8_d16_hi v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0x82,0xda,0x01,0x02,0x00,0x00] + +0xff,0xff,0x80,0xda,0x01,0xff,0x00,0x00 +# GFX10: ds_write_b8_d16_hi v1, v255 offset:65535 ; encoding: [0xff,0xff,0x80,0xda,0x01,0xff,0x00,0x00] + +0xff,0xff,0x80,0xda,0xff,0x02,0x00,0x00 +# GFX10: ds_write_b8_d16_hi v255, v2 offset:65535 ; encoding: [0xff,0xff,0x80,0xda,0xff,0x02,0x00,0x00] + +0xff,0xff,0x78,0xdb,0x01,0xfd,0x00,0x00 +# GFX10: ds_write_b96 v1, v[253:255] offset:65535 ; encoding: [0xff,0xff,0x78,0xdb,0x01,0xfd,0x00,0x00] + +0x00,0x00,0x78,0xdb,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b96 v1, v[2:4] ; encoding: [0x00,0x00,0x78,0xdb,0x01,0x02,0x00,0x00] + +0x04,0x00,0x78,0xdb,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b96 v1, v[2:4] offset:4 ; encoding: [0x04,0x00,0x78,0xdb,0x01,0x02,0x00,0x00] + +0xff,0xff,0x78,0xdb,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b96 v1, v[2:4] offset:65535 ; encoding: [0xff,0xff,0x78,0xdb,0x01,0x02,0x00,0x00] + +0xff,0xff,0x7a,0xdb,0x01,0x02,0x00,0x00 +# GFX10: ds_write_b96 v1, v[2:4] offset:65535 gds ; encoding: [0xff,0xff,0x7a,0xdb,0x01,0x02,0x00,0x00] + +0xff,0xff,0x78,0xdb,0xff,0x02,0x00,0x00 +# GFX10: ds_write_b96 v255, v[2:4] offset:65535 ; encoding: [0xff,0xff,0x78,0xdb,0xff,0x02,0x00,0x00] + +0x00,0x00,0x34,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_write_src2_b32 v1 ; encoding: [0x00,0x00,0x34,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x34,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_write_src2_b32 v1 offset:4 ; encoding: [0x04,0x00,0x34,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x34,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_write_src2_b32 v1 offset:65535 ; encoding: [0xff,0xff,0x34,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x36,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_write_src2_b32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x36,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x34,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_write_src2_b32 v255 offset:65535 ; encoding: [0xff,0xff,0x34,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x34,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_write_src2_b64 v1 ; encoding: [0x00,0x00,0x34,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x34,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_write_src2_b64 v1 offset:4 ; encoding: [0x04,0x00,0x34,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x34,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_write_src2_b64 v1 offset:65535 ; encoding: [0xff,0xff,0x34,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x36,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_write_src2_b64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x36,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x34,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_write_src2_b64 v255 offset:65535 ; encoding: [0xff,0xff,0x34,0xdb,0xff,0x00,0x00,0x00] + +0x7f,0xff,0xb8,0xd8,0x01,0x02,0x03,0xfe +# GFX10: ds_wrxchg2_rtn_b32 v[254:255], v1, v2, v3 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd8,0x01,0x02,0x03,0xfe] + +0x7f,0xff,0xb8,0xd8,0x01,0x02,0xff,0x05 +# GFX10: ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v255 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd8,0x01,0x02,0xff,0x05] + +0x7f,0x00,0xb8,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:127 ; encoding: [0x7f,0x00,0xb8,0xd8,0x01,0x02,0x03,0x05] + +0x7f,0x01,0xb8,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:1 ; encoding: [0x7f,0x01,0xb8,0xd8,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xba,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0xba,0xd8,0x01,0x02,0x03,0x05] + +0x10,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset0:16 offset1:255 ; encoding: [0x10,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05] + +0x00,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b32 v[5:6], v1, v2, v3 offset1:255 ; encoding: [0x00,0xff,0xb8,0xd8,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xb8,0xd8,0x01,0xff,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b32 v[5:6], v1, v255, v3 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd8,0x01,0xff,0x03,0x05] + +0x7f,0xff,0xb8,0xd8,0xff,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b32 v[5:6], v255, v2, v3 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd8,0xff,0x02,0x03,0x05] + +0x7f,0xff,0xb8,0xd9,0x01,0x02,0x03,0xfc +# GFX10: ds_wrxchg2_rtn_b64 v[252:255], v1, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd9,0x01,0x02,0x03,0xfc] + +0x7f,0xff,0xb8,0xd9,0x01,0xfe,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b64 v[5:8], v1, v[254:255], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd9,0x01,0xfe,0x03,0x05] + +0x7f,0xff,0xb8,0xd9,0x01,0x02,0xfe,0x05 +# GFX10: ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[254:255] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd9,0x01,0x02,0xfe,0x05] + +0x7f,0x00,0xb8,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 ; encoding: [0x7f,0x00,0xb8,0xd9,0x01,0x02,0x03,0x05] + +0x7f,0x01,0xb8,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:1 ; encoding: [0x7f,0x01,0xb8,0xd9,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xba,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0xba,0xd9,0x01,0x02,0x03,0x05] + +0x10,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:16 offset1:255 ; encoding: [0x10,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05] + +0x00,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset1:255 ; encoding: [0x00,0xff,0xb8,0xd9,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xb8,0xd9,0xff,0x02,0x03,0x05 +# GFX10: ds_wrxchg2_rtn_b64 v[5:8], v255, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xb8,0xd9,0xff,0x02,0x03,0x05] + +0x7f,0xff,0xbc,0xd8,0x01,0x02,0x03,0xfe +# GFX10: ds_wrxchg2st64_rtn_b32 v[254:255], v1, v2, v3 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd8,0x01,0x02,0x03,0xfe] + +0x7f,0xff,0xbc,0xd8,0x01,0x02,0xff,0x05 +# GFX10: ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v255 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd8,0x01,0x02,0xff,0x05] + +0x7f,0x00,0xbc,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:127 ; encoding: [0x7f,0x00,0xbc,0xd8,0x01,0x02,0x03,0x05] + +0x7f,0x01,0xbc,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:1 ; encoding: [0x7f,0x01,0xbc,0xd8,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xbe,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0xbe,0xd8,0x01,0x02,0x03,0x05] + +0x10,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset0:16 offset1:255 ; encoding: [0x10,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05] + +0x00,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b32 v[5:6], v1, v2, v3 offset1:255 ; encoding: [0x00,0xff,0xbc,0xd8,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xbc,0xd8,0x01,0xff,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b32 v[5:6], v1, v255, v3 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd8,0x01,0xff,0x03,0x05] + +0x7f,0xff,0xbc,0xd8,0xff,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b32 v[5:6], v255, v2, v3 offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd8,0xff,0x02,0x03,0x05] + +0x7f,0xff,0xbc,0xd9,0x01,0x02,0x03,0xfc +# GFX10: ds_wrxchg2st64_rtn_b64 v[252:255], v1, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd9,0x01,0x02,0x03,0xfc] + +0x7f,0xff,0xbc,0xd9,0x01,0xfe,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[254:255], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd9,0x01,0xfe,0x03,0x05] + +0x7f,0xff,0xbc,0xd9,0x01,0x02,0xfe,0x05 +# GFX10: ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[254:255] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd9,0x01,0x02,0xfe,0x05] + +0x7f,0x00,0xbc,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 ; encoding: [0x7f,0x00,0xbc,0xd9,0x01,0x02,0x03,0x05] + +0x7f,0x01,0xbc,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:1 ; encoding: [0x7f,0x01,0xbc,0xd9,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xbe,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:127 offset1:255 gds ; encoding: [0x7f,0xff,0xbe,0xd9,0x01,0x02,0x03,0x05] + +0x10,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset0:16 offset1:255 ; encoding: [0x10,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05] + +0x00,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b64 v[5:8], v1, v[2:3], v[3:4] offset1:255 ; encoding: [0x00,0xff,0xbc,0xd9,0x01,0x02,0x03,0x05] + +0x7f,0xff,0xbc,0xd9,0xff,0x02,0x03,0x05 +# GFX10: ds_wrxchg2st64_rtn_b64 v[5:8], v255, v[2:3], v[3:4] offset0:127 offset1:255 ; encoding: [0x7f,0xff,0xbc,0xd9,0xff,0x02,0x03,0x05] + +0x00,0x00,0xb4,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v1, v2 ; encoding: [0x00,0x00,0xb4,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xb6,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v1, v2 gds ; encoding: [0x00,0x00,0xb6,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xb4,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0xb4,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xb6,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0xb6,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xb4,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xb4,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xb6,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0xb6,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xb4,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v254, v253 ; encoding: [0x00,0x00,0xb4,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xb6,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v254, v253 gds ; encoding: [0x00,0x00,0xb6,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xb4,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xb4,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xb6,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xb6,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xb4,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xb4,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xb6,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_wrxchg_rtn_b32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xb6,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xb4,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v1, v253 ; encoding: [0x00,0x00,0xb4,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xb6,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v1, v253 gds ; encoding: [0x00,0x00,0xb6,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xb4,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0xb4,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xb6,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0xb6,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xb4,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0xb4,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xb6,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0xb6,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xb4,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v2 ; encoding: [0x00,0x00,0xb4,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xb6,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v2 gds ; encoding: [0x00,0x00,0xb6,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xb4,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0xb4,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xb6,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0xb6,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xb4,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0xb4,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xb6,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0xb6,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xb4,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v253 ; encoding: [0x00,0x00,0xb4,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0xb6,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v253 gds ; encoding: [0x00,0x00,0xb6,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xb4,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xb4,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xb6,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xb6,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xb4,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xb4,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xb6,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_wrxchg_rtn_b32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xb6,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xb4,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_wrxchg_rtn_b64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xb4,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0xb4,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_wrxchg_rtn_b64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xb4,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0xb4,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_wrxchg_rtn_b64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0xb4,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0xb4,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_wrxchg_rtn_b64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xb4,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xb4,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_wrxchg_rtn_b64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xb4,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xb6,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_wrxchg_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xb6,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xb4,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_wrxchg_rtn_b64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xb4,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x2c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v0, v1 ; encoding: [0x00,0x00,0x2c,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x2e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v0, v1 gds ; encoding: [0x00,0x00,0x2e,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x2c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v0, v1 offset:4660 ; encoding: [0x34,0x12,0x2c,0xd8,0x00,0x01,0x00,0x00] + +0x34,0x12,0x2e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v0, v1 offset:4660 gds ; encoding: [0x34,0x12,0x2e,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x2c,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v0, v1 offset:65535 ; encoding: [0xff,0xff,0x2c,0xd8,0x00,0x01,0x00,0x00] + +0xff,0xff,0x2e,0xd8,0x00,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v0, v1 offset:65535 gds ; encoding: [0xff,0xff,0x2e,0xd8,0x00,0x01,0x00,0x00] + +0x00,0x00,0x2c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v0, v254 ; encoding: [0x00,0x00,0x2c,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x2e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v0, v254 gds ; encoding: [0x00,0x00,0x2e,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x2c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v0, v254 offset:4660 ; encoding: [0x34,0x12,0x2c,0xd8,0x00,0xfe,0x00,0x00] + +0x34,0x12,0x2e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v0, v254 offset:4660 gds ; encoding: [0x34,0x12,0x2e,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x2c,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v0, v254 offset:65535 ; encoding: [0xff,0xff,0x2c,0xd8,0x00,0xfe,0x00,0x00] + +0xff,0xff,0x2e,0xd8,0x00,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v0, v254 offset:65535 gds ; encoding: [0xff,0xff,0x2e,0xd8,0x00,0xfe,0x00,0x00] + +0x00,0x00,0x2c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v255, v1 ; encoding: [0x00,0x00,0x2c,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x2e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v255, v1 gds ; encoding: [0x00,0x00,0x2e,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x2c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v255, v1 offset:4660 ; encoding: [0x34,0x12,0x2c,0xd8,0xff,0x01,0x00,0x00] + +0x34,0x12,0x2e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v255, v1 offset:4660 gds ; encoding: [0x34,0x12,0x2e,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x2c,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v255, v1 offset:65535 ; encoding: [0xff,0xff,0x2c,0xd8,0xff,0x01,0x00,0x00] + +0xff,0xff,0x2e,0xd8,0xff,0x01,0x00,0x00 +# GFX10: ds_xor_b32 v255, v1 offset:65535 gds ; encoding: [0xff,0xff,0x2e,0xd8,0xff,0x01,0x00,0x00] + +0x00,0x00,0x2c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v255, v254 ; encoding: [0x00,0x00,0x2c,0xd8,0xff,0xfe,0x00,0x00] + +0x00,0x00,0x2e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v255, v254 gds ; encoding: [0x00,0x00,0x2e,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x2c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v255, v254 offset:4660 ; encoding: [0x34,0x12,0x2c,0xd8,0xff,0xfe,0x00,0x00] + +0x34,0x12,0x2e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v255, v254 offset:4660 gds ; encoding: [0x34,0x12,0x2e,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x2c,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v255, v254 offset:65535 ; encoding: [0xff,0xff,0x2c,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x2e,0xd8,0xff,0xfe,0x00,0x00 +# GFX10: ds_xor_b32 v255, v254 offset:65535 gds ; encoding: [0xff,0xff,0x2e,0xd8,0xff,0xfe,0x00,0x00] + +0xff,0xff,0x2c,0xd9,0x01,0xfe,0x00,0x00 +# GFX10: ds_xor_b64 v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0x2c,0xd9,0x01,0xfe,0x00,0x00] + +0x00,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_b64 v1, v[2:3] ; encoding: [0x00,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00] + +0x04,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_b64 v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0x2c,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x2c,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_b64 v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x2c,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x2e,0xd9,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_b64 v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0x2e,0xd9,0x01,0x02,0x00,0x00] + +0xff,0xff,0x2c,0xd9,0xff,0x02,0x00,0x00 +# GFX10: ds_xor_b64 v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0x2c,0xd9,0xff,0x02,0x00,0x00] + +0x00,0x00,0xac,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v1, v2 ; encoding: [0x00,0x00,0xac,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xae,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v1, v2 gds ; encoding: [0x00,0x00,0xae,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xac,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v1, v2 offset:4660 ; encoding: [0x34,0x12,0xac,0xd8,0x01,0x02,0x00,0x00] + +0x34,0x12,0xae,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v1, v2 offset:4660 gds ; encoding: [0x34,0x12,0xae,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xac,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v1, v2 offset:65535 ; encoding: [0xff,0xff,0xac,0xd8,0x01,0x02,0x00,0x00] + +0xff,0xff,0xae,0xd8,0x01,0x02,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v1, v2 offset:65535 gds ; encoding: [0xff,0xff,0xae,0xd8,0x01,0x02,0x00,0x00] + +0x00,0x00,0xac,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v254, v253 ; encoding: [0x00,0x00,0xac,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xae,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v254, v253 gds ; encoding: [0x00,0x00,0xae,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xac,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xac,0xd8,0xfe,0xfd,0x00,0x00] + +0x34,0x12,0xae,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xae,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xac,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xac,0xd8,0xfe,0xfd,0x00,0x00] + +0xff,0xff,0xae,0xd8,0xfe,0xfd,0x00,0x00 +# GFX10: ds_xor_rtn_b32 v0, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xae,0xd8,0xfe,0xfd,0x00,0x00] + +0x00,0x00,0xac,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v1, v253 ; encoding: [0x00,0x00,0xac,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xae,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v1, v253 gds ; encoding: [0x00,0x00,0xae,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xac,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v1, v253 offset:4660 ; encoding: [0x34,0x12,0xac,0xd8,0x01,0xfd,0x00,0xff] + +0x34,0x12,0xae,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v1, v253 offset:4660 gds ; encoding: [0x34,0x12,0xae,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xac,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v1, v253 offset:65535 ; encoding: [0xff,0xff,0xac,0xd8,0x01,0xfd,0x00,0xff] + +0xff,0xff,0xae,0xd8,0x01,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v1, v253 offset:65535 gds ; encoding: [0xff,0xff,0xae,0xd8,0x01,0xfd,0x00,0xff] + +0x00,0x00,0xac,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v2 ; encoding: [0x00,0x00,0xac,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xae,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v2 gds ; encoding: [0x00,0x00,0xae,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xac,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v2 offset:4660 ; encoding: [0x34,0x12,0xac,0xd8,0xfe,0x02,0x00,0xff] + +0x34,0x12,0xae,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v2 offset:4660 gds ; encoding: [0x34,0x12,0xae,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xac,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v2 offset:65535 ; encoding: [0xff,0xff,0xac,0xd8,0xfe,0x02,0x00,0xff] + +0xff,0xff,0xae,0xd8,0xfe,0x02,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v2 offset:65535 gds ; encoding: [0xff,0xff,0xae,0xd8,0xfe,0x02,0x00,0xff] + +0x00,0x00,0xac,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v253 ; encoding: [0x00,0x00,0xac,0xd8,0xfe,0xfd,0x00,0xff] + +0x00,0x00,0xae,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v253 gds ; encoding: [0x00,0x00,0xae,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xac,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v253 offset:4660 ; encoding: [0x34,0x12,0xac,0xd8,0xfe,0xfd,0x00,0xff] + +0x34,0x12,0xae,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v253 offset:4660 gds ; encoding: [0x34,0x12,0xae,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xac,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v253 offset:65535 ; encoding: [0xff,0xff,0xac,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xae,0xd8,0xfe,0xfd,0x00,0xff +# GFX10: ds_xor_rtn_b32 v255, v254, v253 offset:65535 gds ; encoding: [0xff,0xff,0xae,0xd8,0xfe,0xfd,0x00,0xff] + +0xff,0xff,0xac,0xd9,0x01,0x02,0x00,0xfe +# GFX10: ds_xor_rtn_b64 v[254:255], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xac,0xd9,0x01,0x02,0x00,0xfe] + +0xff,0xff,0xac,0xd9,0x01,0xfe,0x00,0x05 +# GFX10: ds_xor_rtn_b64 v[5:6], v1, v[254:255] offset:65535 ; encoding: [0xff,0xff,0xac,0xd9,0x01,0xfe,0x00,0x05] + +0x00,0x00,0xac,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_xor_rtn_b64 v[5:6], v1, v[2:3] ; encoding: [0x00,0x00,0xac,0xd9,0x01,0x02,0x00,0x05] + +0x04,0x00,0xac,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_xor_rtn_b64 v[5:6], v1, v[2:3] offset:4 ; encoding: [0x04,0x00,0xac,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xac,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_xor_rtn_b64 v[5:6], v1, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xac,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xae,0xd9,0x01,0x02,0x00,0x05 +# GFX10: ds_xor_rtn_b64 v[5:6], v1, v[2:3] offset:65535 gds ; encoding: [0xff,0xff,0xae,0xd9,0x01,0x02,0x00,0x05] + +0xff,0xff,0xac,0xd9,0xff,0x02,0x00,0x05 +# GFX10: ds_xor_rtn_b64 v[5:6], v255, v[2:3] offset:65535 ; encoding: [0xff,0xff,0xac,0xd9,0xff,0x02,0x00,0x05] + +0x00,0x00,0x2c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b32 v1 ; encoding: [0x00,0x00,0x2c,0xda,0x01,0x00,0x00,0x00] + +0x04,0x00,0x2c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b32 v1 offset:4 ; encoding: [0x04,0x00,0x2c,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x2c,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b32 v1 offset:65535 ; encoding: [0xff,0xff,0x2c,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x2e,0xda,0x01,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b32 v1 offset:65535 gds ; encoding: [0xff,0xff,0x2e,0xda,0x01,0x00,0x00,0x00] + +0xff,0xff,0x2c,0xda,0xff,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b32 v255 offset:65535 ; encoding: [0xff,0xff,0x2c,0xda,0xff,0x00,0x00,0x00] + +0x00,0x00,0x2c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b64 v1 ; encoding: [0x00,0x00,0x2c,0xdb,0x01,0x00,0x00,0x00] + +0x04,0x00,0x2c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b64 v1 offset:4 ; encoding: [0x04,0x00,0x2c,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x2c,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b64 v1 offset:65535 ; encoding: [0xff,0xff,0x2c,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x2e,0xdb,0x01,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b64 v1 offset:65535 gds ; encoding: [0xff,0xff,0x2e,0xdb,0x01,0x00,0x00,0x00] + +0xff,0xff,0x2c,0xdb,0xff,0x00,0x00,0x00 +# GFX10: ds_xor_src2_b64 v255 offset:65535 ; encoding: [0xff,0xff,0x2c,0xdb,0xff,0x00,0x00,0x00] diff --git a/tests/data/llvm-amdgpu/gfx10_exp.txt b/tests/data/llvm-amdgpu/gfx10_exp.txt new file mode 100644 index 0000000..137effe --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_exp.txt @@ -0,0 +1,50 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -disassemble -show-encoding < %s | FileCheck %s -check-prefix=GFX10 + +0x0c,0x00,0x00,0xf8,0x00,0x00,0x01,0x02 +# GFX10: exp mrt0, off, off, v1, v2 ; encoding: [0x0c,0x00,0x00,0xf8,0x00,0x00,0x01,0x02] + +0x0c,0x0c,0x00,0xf8,0x00,0x08,0x00,0x00 +# GFX10: exp mrt0, off, off, v8, v8 done compr ; encoding: [0x0c,0x0c,0x00,0xf8,0x00,0x08,0x00,0x00] + +0x03,0x04,0x00,0xf8,0x01,0x00,0x00,0x00 +# GFX10: exp mrt0, v1, v1, off, off compr ; encoding: [0x03,0x04,0x00,0xf8,0x01,0x00,0x00,0x00] + +0x0f,0x04,0x00,0xf8,0x01,0x03,0x00,0x00 +# GFX10: exp mrt0, v1, v1, v3, v3 compr ; encoding: [0x0f,0x04,0x00,0xf8,0x01,0x03,0x00,0x00] + +0x0f,0x00,0x00,0xf8,0x01,0x02,0x03,0x04 +# GFX10: exp mrt0, v1, v2, v3, v4 ; encoding: [0x0f,0x00,0x00,0xf8,0x01,0x02,0x03,0x04] + +0x0f,0x08,0x00,0xf8,0x01,0x02,0x03,0x04 +# GFX10: exp mrt0, v1, v2, v3, v4 done ; encoding: [0x0f,0x08,0x00,0xf8,0x01,0x02,0x03,0x04] + +0x0f,0x10,0x00,0xf8,0x01,0x02,0x03,0x04 +# GFX10: exp mrt0, v1, v2, v3, v4 vm ; encoding: [0x0f,0x10,0x00,0xf8,0x01,0x02,0x03,0x04] + +0x0f,0x1c,0x00,0xf8,0x02,0x04,0x00,0x00 +# GFX10: exp mrt0, v2, v2, v4, v4 done compr vm ; encoding: [0x0f,0x1c,0x00,0xf8,0x02,0x04,0x00,0x00] + +0x01,0x10,0x00,0xf8,0x07,0x00,0x00,0x00 +# GFX10: exp mrt0, v7, off, off, off vm ; encoding: [0x01,0x10,0x00,0xf8,0x07,0x00,0x00,0x00] + +0x81,0x18,0x00,0xf8,0x00,0x00,0x00,0x00 +# GFX10: exp mrtz, v0, off, off, off done vm ; encoding: [0x81,0x18,0x00,0xf8,0x00,0x00,0x00,0x00] + +0x9f,0x00,0x00,0xf8,0xff,0x00,0xff,0x00 +# GFX10: exp null, v255, v0, v255, v0 ; encoding: [0x9f,0x00,0x00,0xf8,0xff,0x00,0xff,0x00] + +0x00,0x06,0x00,0xf8,0x00,0x00,0x00,0x00 +# GFX10: exp param0, off, off, off, off compr ; encoding: [0x00,0x06,0x00,0xf8,0x00,0x00,0x00,0x00] + +0xc1,0x00,0x00,0xf8,0x01,0x00,0x00,0x00 +# GFX10: exp pos0, v1, off, off, off ; encoding: [0xc1,0x00,0x00,0xf8,0x01,0x00,0x00,0x00] + +0xf1,0x00,0x00,0xf8,0x01,0x00,0x00,0x00 +# GFX10: exp pos3, v1, off, off, off ; encoding: [0xf1,0x00,0x00,0xf8,0x01,0x00,0x00,0x00] + +0x01,0x01,0x00,0xf8,0x01,0x00,0x00,0x00 +# GFX10: exp pos4, v1, off, off, off ; encoding: [0x01,0x01,0x00,0xf8,0x01,0x00,0x00,0x00] + +0x43,0x01,0x00,0xf8,0x02,0x03,0x00,0x00 +# GFX10: exp prim, v2, v3, off, off ; encoding: [0x43,0x01,0x00,0xf8,0x02,0x03,0x00,0x00] diff --git a/tests/data/llvm-amdgpu/gfx10_flat.txt b/tests/data/llvm-amdgpu/gfx10_flat.txt new file mode 100644 index 0000000..5aa0a4d --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_flat.txt @@ -0,0 +1,1006 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +#===------------------------------------------------------------------------===# +# scratch_load +#===------------------------------------------------------------------------===# + +#===------------------------------------------------------------------------===# +# scratch_store +#===------------------------------------------------------------------------===# + +#===------------------------------------------------------------------------===# +# FLAT opcodes: dlc support for atomics +#===------------------------------------------------------------------------===# + +#===------------------------------------------------------------------------===# +# FLAT GLOBAL opcodes: dlc support for atomics +#===------------------------------------------------------------------------===# + +#===------------------------------------------------------------------------===# +# FLAT GLOBAL opcodes: fcmpswap +#===------------------------------------------------------------------------===# + +#===------------------------------------------------------------------------===# +# Other FLAT opcodes +#===------------------------------------------------------------------------===# + +0x00,0x00,0xc8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_add v[1:2], v2 ; encoding: [0x00,0x00,0xc8,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xc8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_add v[1:2], v2 dlc ; encoding: [0x00,0x10,0xc8,0xdc,0x01,0x02,0x7d,0x00] + +0x08,0x00,0xca,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: flat_atomic_add v[3:4], v5 offset:8 slc ; encoding: [0x08,0x00,0xca,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x00,0x48,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_add_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x48,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x48,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_add_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x48,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xe4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_and v[1:2], v2 ; encoding: [0x00,0x00,0xe4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xe4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_and v[1:2], v2 dlc ; encoding: [0x00,0x10,0xe4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x64,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_and_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x64,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x64,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_and_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x64,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xc5,0xdc,0x01,0x03,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v0, v[1:2], v[3:4] glc ; encoding: [0x00,0x00,0xc5,0xdc,0x01,0x03,0x7d,0x00] + +0x00,0x00,0xc7,0xdc,0x01,0x03,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v0, v[1:2], v[3:4] glc slc ; encoding: [0x00,0x00,0xc7,0xdc,0x01,0x03,0x7d,0x00] + +0xff,0x07,0xc5,0xdc,0x01,0x03,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v0, v[1:2], v[3:4] offset:2047 glc ; encoding: [0xff,0x07,0xc5,0xdc,0x01,0x03,0x7d,0x00] + +0xff,0x07,0xc7,0xdc,0x01,0x03,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v0, v[1:2], v[3:4] offset:2047 glc slc ; encoding: [0xff,0x07,0xc7,0xdc,0x01,0x03,0x7d,0x00] + +0x00,0x00,0xc4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v[1:2], v[2:3] ; encoding: [0x00,0x00,0xc4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xc4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0xc4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xc4,0xdc,0x01,0x03,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v[1:2], v[3:4] ; encoding: [0x00,0x00,0xc4,0xdc,0x01,0x03,0x7d,0x00] + +0xff,0x07,0xc4,0xdc,0x01,0x03,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v[1:2], v[3:4] offset:2047 ; encoding: [0xff,0x07,0xc4,0xdc,0x01,0x03,0x7d,0x00] + +0xff,0x07,0xc6,0xdc,0x01,0x03,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v[1:2], v[3:4] offset:2047 slc ; encoding: [0xff,0x07,0xc6,0xdc,0x01,0x03,0x7d,0x00] + +0x00,0x00,0xc6,0xdc,0x01,0x03,0x7d,0x00 +# GFX10: flat_atomic_cmpswap v[1:2], v[3:4] slc ; encoding: [0x00,0x00,0xc6,0xdc,0x01,0x03,0x7d,0x00] + +0x00,0x00,0x44,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_cmpswap_x2 v[1:2], v[2:5] ; encoding: [0x00,0x00,0x44,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x44,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_cmpswap_x2 v[1:2], v[2:5] dlc ; encoding: [0x00,0x10,0x44,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xf4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_dec v[1:2], v2 ; encoding: [0x00,0x00,0xf4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xf4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_dec v[1:2], v2 dlc ; encoding: [0x00,0x10,0xf4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x74,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_dec_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x74,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x74,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_dec_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x74,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xf8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_fcmpswap v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0xf8,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x78,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_fcmpswap_x2 v[1:2], v[2:5] dlc ; encoding: [0x00,0x10,0x78,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x00,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_fmax v[1:2], v2 dlc ; encoding: [0x00,0x10,0x00,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x80,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_fmax_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x80,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xfc,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_fmin v[1:2], v2 dlc ; encoding: [0x00,0x10,0xfc,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x7c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_fmin_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x7c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xf0,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_inc v[1:2], v2 ; encoding: [0x00,0x00,0xf0,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xf0,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_inc v[1:2], v2 dlc ; encoding: [0x00,0x10,0xf0,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x70,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_inc_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x70,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x70,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_inc_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x70,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xe8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_or v[1:2], v2 ; encoding: [0x00,0x00,0xe8,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xe8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_or v[1:2], v2 dlc ; encoding: [0x00,0x10,0xe8,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x68,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_or_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x68,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x68,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_or_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x68,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xdc,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_smax v[1:2], v2 ; encoding: [0x00,0x00,0xdc,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xdc,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_smax v[1:2], v2 dlc ; encoding: [0x00,0x10,0xdc,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x5c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_smax_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x5c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x5c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_smax_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x5c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xd4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_smin v[1:2], v2 ; encoding: [0x00,0x00,0xd4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xd4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_smin v[1:2], v2 dlc ; encoding: [0x00,0x10,0xd4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x54,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_smin_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x54,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x54,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_smin_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x54,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xcc,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_sub v[1:2], v2 ; encoding: [0x00,0x00,0xcc,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xcc,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_sub v[1:2], v2 dlc ; encoding: [0x00,0x10,0xcc,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x4c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_sub_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x4c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x4c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_sub_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x4c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xc0,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_swap v[1:2], v2 ; encoding: [0x00,0x00,0xc0,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xc0,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_swap v[1:2], v2 dlc ; encoding: [0x00,0x10,0xc0,0xdc,0x01,0x02,0x7d,0x00] + +0x10,0x00,0xc0,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: flat_atomic_swap v[3:4], v5 offset:16 ; encoding: [0x10,0x00,0xc0,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x00,0x40,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_swap_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x40,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x40,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_swap_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x40,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xe0,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_umax v[1:2], v2 ; encoding: [0x00,0x00,0xe0,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xe0,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_umax v[1:2], v2 dlc ; encoding: [0x00,0x10,0xe0,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x60,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_umax_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x60,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x60,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_umax_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x60,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xd8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_umin v[1:2], v2 ; encoding: [0x00,0x00,0xd8,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xd8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_umin v[1:2], v2 dlc ; encoding: [0x00,0x10,0xd8,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x58,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_umin_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x58,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x58,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_umin_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x58,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0xec,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_xor v[1:2], v2 ; encoding: [0x00,0x00,0xec,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x10,0xec,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_xor v[1:2], v2 dlc ; encoding: [0x00,0x10,0xec,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x6c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_xor_x2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x6c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x10,0x6c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: flat_atomic_xor_x2 v[1:2], v[2:3] dlc ; encoding: [0x00,0x10,0x6c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x30,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_dword v1, v[3:4] ; encoding: [0x00,0x00,0x30,0xdc,0x03,0x00,0x7d,0x01] + +0xff,0x07,0x30,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_dword v1, v[3:4] offset:2047 ; encoding: [0xff,0x07,0x30,0xdc,0x03,0x00,0x7d,0x01] + +0x04,0x00,0x31,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_dword v1, v[3:4] offset:4 glc ; encoding: [0x04,0x00,0x31,0xdc,0x03,0x00,0x7d,0x01] + +0x04,0x00,0x33,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_dword v1, v[3:4] offset:4 glc slc ; encoding: [0x04,0x00,0x33,0xdc,0x03,0x00,0x7d,0x01] + +0x04,0x10,0x33,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_dword v1, v[3:4] offset:4 glc slc dlc ; encoding: [0x04,0x10,0x33,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x00,0x30,0xdc,0x01,0x00,0x7d,0x05 +# GFX10: flat_load_dword v5, v[1:2] ; encoding: [0x00,0x00,0x30,0xdc,0x01,0x00,0x7d,0x05] + +0x00,0x00,0x34,0xdc,0x01,0x00,0x7d,0x05 +# GFX10: flat_load_dwordx2 v[5:6], v[1:2] ; encoding: [0x00,0x00,0x34,0xdc,0x01,0x00,0x7d,0x05] + +0x00,0x00,0x3c,0xdc,0x01,0x00,0x7d,0x05 +# GFX10: flat_load_dwordx3 v[5:7], v[1:2] ; encoding: [0x00,0x00,0x3c,0xdc,0x01,0x00,0x7d,0x05] + +0x00,0x00,0x38,0xdc,0x01,0x00,0x7d,0x05 +# GFX10: flat_load_dwordx4 v[5:8], v[1:2] ; encoding: [0x00,0x00,0x38,0xdc,0x01,0x00,0x7d,0x05] + +0x00,0x00,0x24,0xdc,0x01,0x00,0x7d,0x05 +# GFX10: flat_load_sbyte v5, v[1:2] ; encoding: [0x00,0x00,0x24,0xdc,0x01,0x00,0x7d,0x05] + +0x00,0x00,0x88,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_sbyte_d16 v1, v[3:4] ; encoding: [0x00,0x00,0x88,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x00,0x8c,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_sbyte_d16_hi v1, v[3:4] ; encoding: [0x00,0x00,0x8c,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x00,0x90,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_short_d16 v1, v[3:4] ; encoding: [0x00,0x00,0x90,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x00,0x94,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_short_d16_hi v1, v[3:4] ; encoding: [0x00,0x00,0x94,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x00,0x2c,0xdc,0x01,0x00,0x7d,0x05 +# GFX10: flat_load_sshort v5, v[1:2] ; encoding: [0x00,0x00,0x2c,0xdc,0x01,0x00,0x7d,0x05] + +0x00,0x00,0x20,0xdc,0x01,0x00,0x7d,0x05 +# GFX10: flat_load_ubyte v5, v[1:2] ; encoding: [0x00,0x00,0x20,0xdc,0x01,0x00,0x7d,0x05] + +0x00,0x00,0x80,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_ubyte_d16 v1, v[3:4] ; encoding: [0x00,0x00,0x80,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x00,0x84,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: flat_load_ubyte_d16_hi v1, v[3:4] ; encoding: [0x00,0x00,0x84,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x00,0x28,0xdc,0x01,0x00,0x7d,0x05 +# GFX10: flat_load_ushort v5, v[1:2] ; encoding: [0x00,0x00,0x28,0xdc,0x01,0x00,0x7d,0x05] + +0x00,0x00,0x60,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_store_byte v[1:2], v2 ; encoding: [0x00,0x00,0x60,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x64,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: flat_store_byte_d16_hi v[3:4], v1 ; encoding: [0x00,0x00,0x64,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x00,0x70,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_store_dword v[1:2], v2 ; encoding: [0x00,0x00,0x70,0xdc,0x01,0x02,0x7d,0x00] + +0x10,0x00,0x70,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: flat_store_dword v[3:4], v1 offset:16 ; encoding: [0x10,0x00,0x70,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x00,0x74,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_store_dwordx2 v[1:2], v[2:3] ; encoding: [0x00,0x00,0x74,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x7c,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_store_dwordx3 v[1:2], v[2:4] ; encoding: [0x00,0x00,0x7c,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x78,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_store_dwordx4 v[1:2], v[2:5] ; encoding: [0x00,0x00,0x78,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x68,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: flat_store_short v[1:2], v2 ; encoding: [0x00,0x00,0x68,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x00,0x6c,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: flat_store_short_d16_hi v[3:4], v1 ; encoding: [0x00,0x00,0x6c,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x90,0xc8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_add v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xc8,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xc8,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_add v[3:4], v5, off ; encoding: [0x00,0x80,0xc8,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xc8,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_add v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xc8,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x48,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_add_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x48,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x48,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_add_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x48,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x48,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_add_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x48,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xe4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_and v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xe4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xe4,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_and v[3:4], v5, off ; encoding: [0x00,0x80,0xe4,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xe4,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_and v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xe4,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x64,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_and_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x64,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x64,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_and_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x64,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x64,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_and_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x64,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x80,0xc5,0xdc,0x03,0x05,0x02,0x01 +# GFX10: global_atomic_cmpswap v1, v3, v[5:6], s[2:3] glc ; encoding: [0x00,0x80,0xc5,0xdc,0x03,0x05,0x02,0x01] + +0x00,0x80,0xc5,0xdc,0x03,0x05,0x7d,0x01 +# GFX10: global_atomic_cmpswap v1, v[3:4], v[5:6], off glc ; encoding: [0x00,0x80,0xc5,0xdc,0x03,0x05,0x7d,0x01] + +0x00,0x90,0xc4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_cmpswap v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0xc4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xc4,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_cmpswap v[3:4], v[5:6], off ; encoding: [0x00,0x80,0xc4,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xc4,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_cmpswap v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0xc4,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x80,0x45,0xdd,0x05,0x07,0x02,0x01 +# GFX10: global_atomic_cmpswap_x2 v[1:2], v5, v[7:10], s[2:3] glc ; encoding: [0x00,0x80,0x45,0xdd,0x05,0x07,0x02,0x01] + +0x00,0x90,0x44,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_cmpswap_x2 v[1:2], v[2:5], off dlc ; encoding: [0x00,0x90,0x44,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x45,0xdd,0x05,0x07,0x7d,0x01 +# GFX10: global_atomic_cmpswap_x2 v[1:2], v[5:6], v[7:10], off glc ; encoding: [0x00,0x80,0x45,0xdd,0x05,0x07,0x7d,0x01] + +0x00,0x80,0x44,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_cmpswap_x2 v[3:4], v[5:8], off ; encoding: [0x00,0x80,0x44,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x44,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_cmpswap_x2 v[3:4], v[5:8], off offset:2032 ; encoding: [0xf0,0x87,0x44,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xf4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_dec v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xf4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xf4,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_dec v[3:4], v5, off ; encoding: [0x00,0x80,0xf4,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xf4,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_dec v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xf4,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x74,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_dec_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x74,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x74,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_dec_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x74,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x74,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_dec_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x74,0xdd,0x03,0x05,0x7d,0x00] + +0xff,0x8f,0xf9,0xdc,0x01,0x02,0x7d,0x05 +# GFX10: global_atomic_fcmpswap v5, v[1:2], v[2:3], off offset:-1 glc ; encoding: [0xff,0x8f,0xf9,0xdc,0x01,0x02,0x7d,0x05] + +0xff,0x8f,0xf8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:-1 ; encoding: [0xff,0x8f,0xf8,0xdc,0x01,0x02,0x7d,0x00] + +0xff,0x9f,0xf8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:-1 dlc ; encoding: [0xff,0x9f,0xf8,0xdc,0x01,0x02,0x7d,0x00] + +0xff,0x8f,0xfa,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:-1 slc ; encoding: [0xff,0x8f,0xfa,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x88,0xf8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:-2048 ; encoding: [0x00,0x88,0xf8,0xdc,0x01,0x02,0x7d,0x00] + +0xff,0x87,0xf8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap v[1:2], v[2:3], off offset:2047 ; encoding: [0xff,0x87,0xf8,0xdc,0x01,0x02,0x7d,0x00] + +0xff,0x8f,0x78,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:-1 ; encoding: [0xff,0x8f,0x78,0xdd,0x01,0x02,0x7d,0x00] + +0xff,0x9f,0x78,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:-1 dlc ; encoding: [0xff,0x9f,0x78,0xdd,0x01,0x02,0x7d,0x00] + +0xff,0x8f,0x7a,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:-1 slc ; encoding: [0xff,0x8f,0x7a,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x88,0x78,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:-2048 ; encoding: [0x00,0x88,0x78,0xdd,0x01,0x02,0x7d,0x00] + +0xff,0x87,0x78,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fcmpswap_x2 v[1:2], v[2:5], off offset:2047 ; encoding: [0xff,0x87,0x78,0xdd,0x01,0x02,0x7d,0x00] + +0xff,0x8f,0x79,0xdd,0x01,0x02,0x7d,0x05 +# GFX10: global_atomic_fcmpswap_x2 v[5:6], v[1:2], v[2:5], off offset:-1 glc ; encoding: [0xff,0x8f,0x79,0xdd,0x01,0x02,0x7d,0x05] + +0x00,0x90,0x00,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fmax v[1:2], v2, off dlc ; encoding: [0x00,0x90,0x00,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x90,0x80,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fmax_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x80,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x90,0xfc,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fmin v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xfc,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x90,0x7c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_fmin_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x7c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x90,0xf0,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_inc v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xf0,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xf0,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_inc v[3:4], v5, off ; encoding: [0x00,0x80,0xf0,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xf0,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_inc v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xf0,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x70,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_inc_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x70,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x70,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_inc_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x70,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x70,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_inc_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x70,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xe8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_or v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xe8,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xe8,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_or v[3:4], v5, off ; encoding: [0x00,0x80,0xe8,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xe8,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_or v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xe8,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x68,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_or_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x68,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x68,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_or_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x68,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x68,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_or_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x68,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xdc,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_smax v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xdc,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xdc,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_smax v[3:4], v5, off ; encoding: [0x00,0x80,0xdc,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xdc,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_smax v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xdc,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x5c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_smax_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x5c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x5c,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_smax_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x5c,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x5c,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_smax_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x5c,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xd4,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_smin v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xd4,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xd4,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_smin v[3:4], v5, off ; encoding: [0x00,0x80,0xd4,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xd4,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_smin v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xd4,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x54,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_smin_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x54,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x54,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_smin_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x54,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x54,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_smin_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x54,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xcc,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_sub v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xcc,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xcc,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_sub v[3:4], v5, off ; encoding: [0x00,0x80,0xcc,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xcc,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_sub v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xcc,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x4c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_sub_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x4c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x4c,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_sub_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x4c,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x4c,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_sub_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x4c,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xc0,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_swap v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xc0,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xc0,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_swap v[3:4], v5, off ; encoding: [0x00,0x80,0xc0,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xc0,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_swap v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xc0,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x40,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_swap_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x40,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x40,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_swap_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x40,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x40,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_swap_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x40,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xe0,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_umax v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xe0,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xe0,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_umax v[3:4], v5, off ; encoding: [0x00,0x80,0xe0,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xe0,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_umax v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xe0,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x60,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_umax_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x60,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x60,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_umax_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x60,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x60,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_umax_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x60,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xd8,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_umin v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xd8,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xd8,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_umin v[3:4], v5, off ; encoding: [0x00,0x80,0xd8,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xd8,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_umin v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xd8,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x58,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_umin_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x58,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x58,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_umin_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x58,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x58,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_umin_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x58,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x90,0xec,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_xor v[1:2], v2, off dlc ; encoding: [0x00,0x90,0xec,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x80,0xec,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_xor v[3:4], v5, off ; encoding: [0x00,0x80,0xec,0xdc,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0xec,0xdc,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_xor v[3:4], v5, off offset:2032 ; encoding: [0xf0,0x87,0xec,0xdc,0x03,0x05,0x7d,0x00] + +0x00,0x90,0x6c,0xdd,0x01,0x02,0x7d,0x00 +# GFX10: global_atomic_xor_x2 v[1:2], v[2:3], off dlc ; encoding: [0x00,0x90,0x6c,0xdd,0x01,0x02,0x7d,0x00] + +0x00,0x80,0x6c,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_xor_x2 v[3:4], v[5:6], off ; encoding: [0x00,0x80,0x6c,0xdd,0x03,0x05,0x7d,0x00] + +0xf0,0x87,0x6c,0xdd,0x03,0x05,0x7d,0x00 +# GFX10: global_atomic_xor_x2 v[3:4], v[5:6], off offset:2032 ; encoding: [0xf0,0x87,0x6c,0xdd,0x03,0x05,0x7d,0x00] + +0x00,0x80,0x30,0xdc,0x03,0x00,0x02,0x01 +# GFX10: global_load_dword v1, v3, s[2:3] ; encoding: [0x00,0x80,0x30,0xdc,0x03,0x00,0x02,0x01] + +0xf8,0x87,0x30,0xdc,0x03,0x00,0x02,0x01 +# GFX10: global_load_dword v1, v3, s[2:3] offset:2040 ; encoding: [0xf8,0x87,0x30,0xdc,0x03,0x00,0x02,0x01] + +0x18,0x80,0x30,0xdc,0x03,0x00,0x02,0x01 +# GFX10: global_load_dword v1, v3, s[2:3] offset:24 ; encoding: [0x18,0x80,0x30,0xdc,0x03,0x00,0x02,0x01] + +0x00,0x80,0x30,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_dword v1, v[3:4], off ; encoding: [0x00,0x80,0x30,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x90,0x30,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_dword v1, v[3:4], off dlc ; encoding: [0x00,0x90,0x30,0xdc,0x03,0x00,0x7d,0x01] + +0xff,0x87,0x30,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_dword v1, v[3:4], off offset:2047 ; encoding: [0xff,0x87,0x30,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0xa4,0x30,0xdc,0x02,0x00,0x04,0x00 +# GFX10: global_load_dword v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x30,0xdc,0x02,0x00,0x04,0x00] + +0x00,0xa4,0x30,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: global_load_dword v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x30,0xdc,0x02,0x00,0x7d,0x00] + +0x00,0x80,0x34,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_dwordx2 v[1:2], v[3:4], off ; encoding: [0x00,0x80,0x34,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x90,0x34,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_dwordx2 v[1:2], v[3:4], off dlc ; encoding: [0x00,0x90,0x34,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x80,0x3c,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_dwordx3 v[1:3], v[3:4], off ; encoding: [0x00,0x80,0x3c,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x90,0x3c,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_dwordx3 v[1:3], v[3:4], off dlc ; encoding: [0x00,0x90,0x3c,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x80,0x38,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_dwordx4 v[1:4], v[3:4], off ; encoding: [0x00,0x80,0x38,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x90,0x38,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_dwordx4 v[1:4], v[3:4], off dlc ; encoding: [0x00,0x90,0x38,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x80,0x24,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_sbyte v1, v[3:4], off ; encoding: [0x00,0x80,0x24,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x90,0x24,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_sbyte v1, v[3:4], off dlc ; encoding: [0x00,0x90,0x24,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0xa4,0x24,0xdc,0x02,0x00,0x04,0x00 +# GFX10: global_load_sbyte v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x24,0xdc,0x02,0x00,0x04,0x00] + +0x00,0xa4,0x24,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: global_load_sbyte v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x24,0xdc,0x02,0x00,0x7d,0x00] + +0x00,0x80,0x88,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_sbyte_d16 v1, v[3:4], off ; encoding: [0x00,0x80,0x88,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x80,0x8c,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_sbyte_d16_hi v1, v[3:4], off ; encoding: [0x00,0x80,0x8c,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x80,0x90,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_short_d16 v1, v[3:4], off ; encoding: [0x00,0x80,0x90,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x80,0x94,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_short_d16_hi v1, v[3:4], off ; encoding: [0x00,0x80,0x94,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x80,0x2c,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_sshort v1, v[3:4], off ; encoding: [0x00,0x80,0x2c,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x90,0x2c,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_sshort v1, v[3:4], off dlc ; encoding: [0x00,0x90,0x2c,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0xa4,0x2c,0xdc,0x02,0x00,0x04,0x00 +# GFX10: global_load_sshort v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x2c,0xdc,0x02,0x00,0x04,0x00] + +0x00,0xa4,0x2c,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: global_load_sshort v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x2c,0xdc,0x02,0x00,0x7d,0x00] + +0x00,0x80,0x20,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_ubyte v1, v[3:4], off ; encoding: [0x00,0x80,0x20,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x90,0x20,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_ubyte v1, v[3:4], off dlc ; encoding: [0x00,0x90,0x20,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0xa4,0x20,0xdc,0x02,0x00,0x04,0x00 +# GFX10: global_load_ubyte v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x20,0xdc,0x02,0x00,0x04,0x00] + +0x00,0xa4,0x20,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: global_load_ubyte v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x20,0xdc,0x02,0x00,0x7d,0x00] + +0x00,0x80,0x80,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_ubyte_d16 v1, v[3:4], off ; encoding: [0x00,0x80,0x80,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x80,0x84,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_ubyte_d16_hi v1, v[3:4], off ; encoding: [0x00,0x80,0x84,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x80,0x28,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_ushort v1, v[3:4], off ; encoding: [0x00,0x80,0x28,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x90,0x28,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: global_load_ushort v1, v[3:4], off dlc ; encoding: [0x00,0x90,0x28,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0xa4,0x28,0xdc,0x02,0x00,0x04,0x00 +# GFX10: global_load_ushort v2, s[4:5] offset:1024 lds ; encoding: [0x00,0xa4,0x28,0xdc,0x02,0x00,0x04,0x00] + +0x00,0xa4,0x28,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: global_load_ushort v[2:3], off offset:1024 lds ; encoding: [0x00,0xa4,0x28,0xdc,0x02,0x00,0x7d,0x00] + +0x00,0x80,0x60,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_byte v[3:4], v1, off ; encoding: [0x00,0x80,0x60,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x90,0x60,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_byte v[3:4], v1, off dlc ; encoding: [0x00,0x90,0x60,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x80,0x64,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_byte_d16_hi v[3:4], v1, off ; encoding: [0x00,0x80,0x64,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x80,0x70,0xdc,0x03,0x01,0x02,0x00 +# GFX10: global_store_dword v3, v1, s[2:3] ; encoding: [0x00,0x80,0x70,0xdc,0x03,0x01,0x02,0x00] + +0xf8,0x87,0x70,0xdc,0x03,0x01,0x02,0x00 +# GFX10: global_store_dword v3, v1, s[2:3] offset:2040 ; encoding: [0xf8,0x87,0x70,0xdc,0x03,0x01,0x02,0x00] + +0x18,0x80,0x70,0xdc,0x03,0x01,0x02,0x00 +# GFX10: global_store_dword v3, v1, s[2:3] offset:24 ; encoding: [0x18,0x80,0x70,0xdc,0x03,0x01,0x02,0x00] + +0x00,0x80,0x70,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_dword v[3:4], v1, off ; encoding: [0x00,0x80,0x70,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x90,0x70,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_dword v[3:4], v1, off dlc ; encoding: [0x00,0x90,0x70,0xdc,0x03,0x01,0x7d,0x00] + +0x0c,0x80,0x70,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_dword v[3:4], v1, off offset:12 ; encoding: [0x0c,0x80,0x70,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x80,0x74,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_dwordx2 v[3:4], v[1:2], off ; encoding: [0x00,0x80,0x74,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x90,0x74,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_dwordx2 v[3:4], v[1:2], off dlc ; encoding: [0x00,0x90,0x74,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x80,0x7c,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_dwordx3 v[3:4], v[1:3], off ; encoding: [0x00,0x80,0x7c,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x90,0x7c,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_dwordx3 v[3:4], v[1:3], off dlc ; encoding: [0x00,0x90,0x7c,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x80,0x78,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_dwordx4 v[3:4], v[1:4], off ; encoding: [0x00,0x80,0x78,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x90,0x78,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_dwordx4 v[3:4], v[1:4], off dlc ; encoding: [0x00,0x90,0x78,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x80,0x68,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_short v[3:4], v1, off ; encoding: [0x00,0x80,0x68,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x90,0x68,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_short v[3:4], v1, off dlc ; encoding: [0x00,0x90,0x68,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x80,0x6c,0xdc,0x03,0x01,0x7d,0x00 +# GFX10: global_store_short_d16_hi v[3:4], v1, off ; encoding: [0x00,0x80,0x6c,0xdc,0x03,0x01,0x7d,0x00] + +0x00,0x64,0x30,0xdc,0x00,0x00,0x04,0x00 +# GFX10: scratch_load_dword off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x30,0xdc,0x00,0x00,0x04,0x00] + +0x00 0x58 0x33 0xdc 0x01 0x00 0x7d 0x00 +# GFX10: scratch_load_dword v0, v1, off offset:-2048 glc slc dlc ; encoding: [0x00,0x58,0x33,0xdc,0x01,0x00,0x7d,0x00] + +0x00,0x40,0x30,0xdc,0x00,0x00,0x7e,0x01 +# GFX10: scratch_load_dword v1, off, exec_lo ; encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x7e,0x01] + +0x00,0x40,0x30,0xdc,0x00,0x00,0x7c,0x01 +# GFX10: scratch_load_dword v1, off, m0 ; encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x7c,0x01] + +0x00,0x40,0x30,0xdc,0x00,0x00,0x01,0x01 +# GFX10: scratch_load_dword v1, off, s1 ; encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x01,0x01] + +0x20,0x40,0x30,0xdc,0x00,0x00,0x01,0x01 +# GFX10: scratch_load_dword v1, off, s1 offset:32 ; encoding: [0x20,0x40,0x30,0xdc,0x00,0x00,0x01,0x01] + +0x00,0x40,0x30,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_dword v1, v2, off ; encoding: [0x00,0x40,0x30,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x50,0x30,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_dword v1, v2, off dlc ; encoding: [0x00,0x50,0x30,0xdc,0x02,0x00,0x7d,0x01] + +0xff,0x47,0x30,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_dword v1, v2, off offset:2047 ; encoding: [0xff,0x47,0x30,0xdc,0x02,0x00,0x7d,0x01] + +0xff 0x5f 0x31 0xdc 0xff 0x00 0x7d 0x01 +# GFX10: scratch_load_dword v1, v255, off offset:-1 glc dlc ; encoding: [0xff,0x5f,0x31,0xdc,0xff,0x00,0x7d,0x01] + +0x00,0x64,0x30,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: scratch_load_dword v2, off offset:1024 lds ; encoding: [0x00,0x64,0x30,0xdc,0x02,0x00,0x7d,0x00] + +0xff 0x57 0x30 0xdc 0x00 0x00 0x69 0xff +# GFX10: scratch_load_dword v255, off, s105 offset:2047 dlc ; encoding: [0xff,0x57,0x30,0xdc,0x00,0x00,0x69,0xff] + +0x01 0x40 0x30 0xdc 0x00 0x00 0x02 0xff +# GFX10: scratch_load_dword v255, off, s2 offset:1 ; encoding: [0x01,0x40,0x30,0xdc,0x00,0x00,0x02,0xff] + +0x00 0x40 0x30 0xdc 0x02 0x00 0x7d 0xff +# GFX10: scratch_load_dword v255, v2, off ; encoding: [0x00,0x40,0x30,0xdc,0x02,0x00,0x7d,0xff] + +0x00 0x50 0x30 0xdc 0x00 0x00 0x7d 0x05 +# GFX10: scratch_load_dword v5, v0, off dlc ; encoding: [0x00,0x50,0x30,0xdc,0x00,0x00,0x7d,0x05] + +0xff 0x4f 0x33 0xdc 0xff 0x00 0x7d 0x05 +# GFX10: scratch_load_dword v5, v255, off offset:-1 glc slc ; encoding: [0xff,0x4f,0x33,0xdc,0xff,0x00,0x7d,0x05] + +0x00 0x50 0x32 0xdc 0xff 0x00 0x7d 0x05 +# GFX10: scratch_load_dword v5, v255, off slc dlc ; encoding: [0x00,0x50,0x32,0xdc,0xff,0x00,0x7d,0x05] + +0x00 0x40 0x32 0xdc 0x03 0x00 0x7d 0x05 +# GFX10: scratch_load_dword v5, v3, off slc ; encoding: [0x00,0x40,0x32,0xdc,0x03,0x00,0x7d,0x05] + +0x00,0x40,0x34,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: scratch_load_dwordx2 v[1:2], v3, off ; encoding: [0x00,0x40,0x34,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x50,0x34,0xdc,0x03,0x00,0x7d,0x01 +# GFX10: scratch_load_dwordx2 v[1:2], v3, off dlc ; encoding: [0x00,0x50,0x34,0xdc,0x03,0x00,0x7d,0x01] + +0x00,0x40,0x3c,0xdc,0x04,0x00,0x7d,0x01 +# GFX10: scratch_load_dwordx3 v[1:3], v4, off ; encoding: [0x00,0x40,0x3c,0xdc,0x04,0x00,0x7d,0x01] + +0x00,0x50,0x3c,0xdc,0x04,0x00,0x7d,0x01 +# GFX10: scratch_load_dwordx3 v[1:3], v4, off dlc ; encoding: [0x00,0x50,0x3c,0xdc,0x04,0x00,0x7d,0x01] + +0x00,0x40,0x38,0xdc,0x05,0x00,0x7d,0x01 +# GFX10: scratch_load_dwordx4 v[1:4], v5, off ; encoding: [0x00,0x40,0x38,0xdc,0x05,0x00,0x7d,0x01] + +0x00,0x50,0x38,0xdc,0x05,0x00,0x7d,0x01 +# GFX10: scratch_load_dwordx4 v[1:4], v5, off dlc ; encoding: [0x00,0x50,0x38,0xdc,0x05,0x00,0x7d,0x01] + +0x00,0x64,0x24,0xdc,0x00,0x00,0x04,0x00 +# GFX10: scratch_load_sbyte off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x24,0xdc,0x00,0x00,0x04,0x00] + +0x00,0x40,0x24,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_sbyte v1, v2, off ; encoding: [0x00,0x40,0x24,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x50,0x24,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_sbyte v1, v2, off dlc ; encoding: [0x00,0x50,0x24,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x64,0x24,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: scratch_load_sbyte v2, off offset:1024 lds ; encoding: [0x00,0x64,0x24,0xdc,0x02,0x00,0x7d,0x00] + +0x00,0x40,0x88,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_sbyte_d16 v1, v2, off ; encoding: [0x00,0x40,0x88,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x40,0x8c,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_sbyte_d16_hi v1, v2, off ; encoding: [0x00,0x40,0x8c,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x40,0x90,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_short_d16 v1, v2, off ; encoding: [0x00,0x40,0x90,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x40,0x94,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_short_d16_hi v1, v2, off ; encoding: [0x00,0x40,0x94,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x64,0x2c,0xdc,0x00,0x00,0x04,0x00 +# GFX10: scratch_load_sshort off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x2c,0xdc,0x00,0x00,0x04,0x00] + +0x00,0x40,0x2c,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_sshort v1, v2, off ; encoding: [0x00,0x40,0x2c,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x50,0x2c,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_sshort v1, v2, off dlc ; encoding: [0x00,0x50,0x2c,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x64,0x2c,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: scratch_load_sshort v2, off offset:1024 lds ; encoding: [0x00,0x64,0x2c,0xdc,0x02,0x00,0x7d,0x00] + +0x00,0x64,0x20,0xdc,0x00,0x00,0x04,0x00 +# GFX10: scratch_load_ubyte off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x20,0xdc,0x00,0x00,0x04,0x00] + +0x00,0x40,0x20,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_ubyte v1, v2, off ; encoding: [0x00,0x40,0x20,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x50,0x20,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_ubyte v1, v2, off dlc ; encoding: [0x00,0x50,0x20,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x64,0x20,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: scratch_load_ubyte v2, off offset:1024 lds ; encoding: [0x00,0x64,0x20,0xdc,0x02,0x00,0x7d,0x00] + +0x00,0x40,0x80,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_ubyte_d16 v1, v2, off ; encoding: [0x00,0x40,0x80,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x40,0x84,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_ubyte_d16_hi v1, v2, off ; encoding: [0x00,0x40,0x84,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x64,0x28,0xdc,0x00,0x00,0x04,0x00 +# GFX10: scratch_load_ushort off, s4 offset:1024 lds ; encoding: [0x00,0x64,0x28,0xdc,0x00,0x00,0x04,0x00] + +0x00,0x40,0x28,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_ushort v1, v2, off ; encoding: [0x00,0x40,0x28,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x50,0x28,0xdc,0x02,0x00,0x7d,0x01 +# GFX10: scratch_load_ushort v1, v2, off dlc ; encoding: [0x00,0x50,0x28,0xdc,0x02,0x00,0x7d,0x01] + +0x00,0x64,0x28,0xdc,0x02,0x00,0x7d,0x00 +# GFX10: scratch_load_ushort v2, off offset:1024 lds ; encoding: [0x00,0x64,0x28,0xdc,0x02,0x00,0x7d,0x00] + +0x00,0x40,0x60,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_byte v1, v2, off ; encoding: [0x00,0x40,0x60,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x50,0x60,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_byte v1, v2, off dlc ; encoding: [0x00,0x50,0x60,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x40,0x64,0xdc,0x00,0x02,0x01,0x00 +# GFX10: scratch_store_byte_d16_hi off, v2, s1 ; encoding: [0x00,0x40,0x64,0xdc,0x00,0x02,0x01,0x00] + +0x00,0x40,0x70,0xdc,0x00,0x02,0x7e,0x00 +# GFX10: scratch_store_dword off, v2, exec_lo ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7e,0x00] + +0x00,0x40,0x70,0xdc,0x00,0x02,0x7c,0x00 +# GFX10: scratch_store_dword off, v2, m0 ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7c,0x00] + +0x00,0x40,0x70,0xdc,0x00,0x02,0x01,0x00 +# GFX10: scratch_store_dword off, v2, s1 ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x01,0x00] + +0x0c,0x40,0x70,0xdc,0x00,0x02,0x01,0x00 +# GFX10: scratch_store_dword off, v2, s1 offset:12 ; encoding: [0x0c,0x40,0x70,0xdc,0x00,0x02,0x01,0x00] + +0xff,0x4f,0x70,0xdc,0x00,0x02,0x69,0x00 +# GFX10: scratch_store_dword off, v2, s105 offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x69,0x00] + +0x00,0x40,0x70,0xdc,0x00,0x02,0x03,0x00 +# GFX10: scratch_store_dword off, v2, s3 ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x03,0x00] + +0xff,0x4f,0x70,0xdc,0x00,0x02,0x03,0x00 +# GFX10: scratch_store_dword off, v2, s3 offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x03,0x00] + +0xff,0x5f,0x70,0xdc,0x00,0x02,0x03,0x00 +# GFX10: scratch_store_dword off, v2, s3 offset:-1 dlc ; encoding: [0xff,0x5f,0x70,0xdc,0x00,0x02,0x03,0x00] + +0xff,0x4f,0x71,0xdc,0x00,0x02,0x03,0x00 +# GFX10: scratch_store_dword off, v2, s3 offset:-1 glc ; encoding: [0xff,0x4f,0x71,0xdc,0x00,0x02,0x03,0x00] + +0xff,0x4f,0x72,0xdc,0x00,0x02,0x03,0x00 +# GFX10: scratch_store_dword off, v2, s3 offset:-1 slc ; encoding: [0xff,0x4f,0x72,0xdc,0x00,0x02,0x03,0x00] + +0x00,0x48,0x70,0xdc,0x00,0x02,0x03,0x00 +# GFX10: scratch_store_dword off, v2, s3 offset:-2048 ; encoding: [0x00,0x48,0x70,0xdc,0x00,0x02,0x03,0x00] + +0xff,0x47,0x70,0xdc,0x00,0x02,0x03,0x00 +# GFX10: scratch_store_dword off, v2, s3 offset:2047 ; encoding: [0xff,0x47,0x70,0xdc,0x00,0x02,0x03,0x00] + +0xff,0x4f,0x70,0xdc,0x00,0x02,0x7b,0x00 +# GFX10: scratch_store_dword off, v2, ttmp15 offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x7b,0x00] + +0xff,0x4f,0x70,0xdc,0x00,0x02,0x6b,0x00 +# GFX10: scratch_store_dword off, v2, vcc_hi offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x6b,0x00] + +0xff,0x4f,0x70,0xdc,0x00,0x02,0x6a,0x00 +# GFX10: scratch_store_dword off, v2, vcc_lo offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x6a,0x00] + +0xff,0x4f,0x70,0xdc,0x00,0xff,0x03,0x00 +# GFX10: scratch_store_dword off, v255, s3 offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0xff,0x03,0x00] + +0xff,0x4f,0x70,0xdc,0x00,0x02,0x7d,0x00 +# GFX10: scratch_store_dword v0, v2, off offset:-1 ; encoding: [0xff,0x4f,0x70,0xdc,0x00,0x02,0x7d,0x00] + +0x00,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_dword v1, v2, off ; encoding: [0x00,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x50,0x70,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_dword v1, v2, off dlc ; encoding: [0x00,0x50,0x70,0xdc,0x01,0x02,0x7d,0x00] + +0x0c,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_dword v1, v2, off offset:12 ; encoding: [0x0c,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x40,0x74,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_dwordx2 v1, v[2:3], off ; encoding: [0x00,0x40,0x74,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x50,0x74,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_dwordx2 v1, v[2:3], off dlc ; encoding: [0x00,0x50,0x74,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x40,0x7c,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_dwordx3 v1, v[2:4], off ; encoding: [0x00,0x40,0x7c,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x50,0x7c,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_dwordx3 v1, v[2:4], off dlc ; encoding: [0x00,0x50,0x7c,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x40,0x78,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_dwordx4 v1, v[2:5], off ; encoding: [0x00,0x40,0x78,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x50,0x78,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_dwordx4 v1, v[2:5], off dlc ; encoding: [0x00,0x50,0x78,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x40,0x68,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_short v1, v2, off ; encoding: [0x00,0x40,0x68,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x50,0x68,0xdc,0x01,0x02,0x7d,0x00 +# GFX10: scratch_store_short v1, v2, off dlc ; encoding: [0x00,0x50,0x68,0xdc,0x01,0x02,0x7d,0x00] + +0x00,0x40,0x6c,0xdc,0x00,0x02,0x01,0x00 +# GFX10: scratch_store_short_d16_hi off, v2, s1 ; encoding: [0x00,0x40,0x6c,0xdc,0x00,0x02,0x01,0x00] diff --git a/tests/data/llvm-amdgpu/gfx10_mimg.txt b/tests/data/llvm-amdgpu/gfx10_mimg.txt new file mode 100644 index 0000000..6dcd48d --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_mimg.txt @@ -0,0 +1,776 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX10 %s + +# NOTE: Contents of unused NSA bytes are NOT preserved. + +#===------------------------------------------------------------------------===# +# MIMG, regular address +#===------------------------------------------------------------------------===# + +#===------------------------------------------------------------------------===# +# MIMG, NSA address +#===------------------------------------------------------------------------===# + +#===------------------------------------------------------------------------===# +# MIMG, Miscellaneous instructions +#===------------------------------------------------------------------------===# + +0x12,0x31,0x44,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x0b,0x0c +# GFX10: image_atomic_add v16, [v8, v9, v10], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_3D unorm glc ; encoding: [0x12,0x31,0x44,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x00,0x00] + +0x00,0x33,0x44,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_add v[4:5], v192, s[28:35] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm glc ; encoding: [0x00,0x33,0x44,0xf0,0xc0,0x04,0x07,0x00] + +0x00,0x31,0x60,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_atomic_and v16, v8, s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; encoding: [0x00,0x31,0x60,0xf0,0x08,0x10,0x18,0x00] + +0x00,0x11,0x60,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_and v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x60,0xf0,0xc0,0x04,0x07,0x00] + +0x0a,0x33,0x40,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x0b,0x0c +# GFX10: image_atomic_cmpswap v[16:17], [v8, v9], s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_2D unorm glc ; encoding: [0x0a,0x33,0x40,0xf0,0x08,0x10,0x18,0x00,0x09,0x00,0x00,0x00] + +0x00,0x31,0x40,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_cmpswap v[4:5], v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; encoding: [0x00,0x31,0x40,0xf0,0xc0,0x04,0x07,0x00] + +0x00,0x31,0x70,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_atomic_dec v16, v8, s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; encoding: [0x00,0x31,0x70,0xf0,0x08,0x10,0x18,0x00] + +0x00,0x11,0x70,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_dec v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x70,0xf0,0xc0,0x04,0x07,0x00] + +0x00,0x13,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v2, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x13,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x00,0x13,0x74,0xf0,0x02,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v2, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm a16 ; encoding: [0x00,0x13,0x74,0xf0,0x02,0x01,0x03,0x40] + +0x80,0x13,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v2, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm dlc ; encoding: [0x80,0x13,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x00,0x33,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v2, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm glc ; encoding: [0x00,0x33,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x00,0x13,0x76,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v2, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm lwe ; encoding: [0x00,0x13,0x76,0xf0,0x02,0x01,0x03,0x00] + +0x00,0x13,0x74,0xf2,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v2, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm slc ; encoding: [0x00,0x13,0x74,0xf2,0x02,0x01,0x03,0x00] + +0x20,0x13,0x74,0xf0,0x02,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v2, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D_ARRAY unorm a16 ; encoding: [0x20,0x13,0x74,0xf0,0x02,0x01,0x03,0x40] + +0x08,0x13,0x74,0xf0,0x02,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v2, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D unorm a16 ; encoding: [0x08,0x13,0x74,0xf0,0x02,0x01,0x03,0x40] + +0x00,0x13,0x74,0xf0,0x02,0x01,0x18,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v2, s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x13,0x74,0xf0,0x02,0x01,0x18,0x00] + +0x00,0x13,0x74,0xf0,0x02,0x01,0x1d,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v2, ttmp[8:15] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x13,0x74,0xf0,0x02,0x01,0x1d,0x00] + +0x00,0x13,0x74,0xf0,0xff,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v255, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x13,0x74,0xf0,0xff,0x01,0x03,0x00] + +0x00,0x13,0x74,0xf0,0xff,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v255, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm a16 ; encoding: [0x00,0x13,0x74,0xf0,0xff,0x01,0x03,0x40] + +0x20,0x13,0x74,0xf0,0xff,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v255, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D_ARRAY unorm a16 ; encoding: [0x20,0x13,0x74,0xf0,0xff,0x01,0x03,0x40] + +0x08,0x13,0x74,0xf0,0xff,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v255, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D unorm a16 ; encoding: [0x08,0x13,0x74,0xf0,0xff,0x01,0x03,0x40] + +0x38,0x13,0x74,0xf0,0xfc,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[252:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY unorm ; encoding: [0x38,0x13,0x74,0xf0,0xfc,0x01,0x03,0x00] + +0x28,0x13,0x74,0xf0,0xfd,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[253:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_ARRAY unorm ; encoding: [0x28,0x13,0x74,0xf0,0xfd,0x01,0x03,0x00] + +0x30,0x13,0x74,0xf0,0xfd,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[253:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_MSAA unorm ; encoding: [0x30,0x13,0x74,0xf0,0xfd,0x01,0x03,0x00] + +0x10,0x13,0x74,0xf0,0xfd,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[253:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_3D unorm ; encoding: [0x10,0x13,0x74,0xf0,0xfd,0x01,0x03,0x00] + +0x18,0x13,0x74,0xf0,0xfd,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[253:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_CUBE unorm ; encoding: [0x18,0x13,0x74,0xf0,0xfd,0x01,0x03,0x00] + +0x20,0x13,0x74,0xf0,0xfe,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[254:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D_ARRAY unorm ; encoding: [0x20,0x13,0x74,0xf0,0xfe,0x01,0x03,0x00] + +0x08,0x13,0x74,0xf0,0xfe,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[254:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D unorm ; encoding: [0x08,0x13,0x74,0xf0,0xfe,0x01,0x03,0x00] + +0x28,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[254:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_ARRAY unorm a16 ; encoding: [0x28,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40] + +0x30,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[254:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_MSAA unorm a16 ; encoding: [0x30,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40] + +0x38,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[254:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY unorm a16 ; encoding: [0x38,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40] + +0x10,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[254:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_3D unorm a16 ; encoding: [0x10,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40] + +0x18,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[254:255], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_CUBE unorm a16 ; encoding: [0x18,0x13,0x74,0xf0,0xfe,0x01,0x03,0x40] + +0x20,0x13,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:3], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D_ARRAY unorm ; encoding: [0x20,0x13,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x08,0x13,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:3], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D unorm ; encoding: [0x08,0x13,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x28,0x13,0x74,0xf0,0x02,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:3], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_ARRAY unorm a16 ; encoding: [0x28,0x13,0x74,0xf0,0x02,0x01,0x03,0x40] + +0x30,0x13,0x74,0xf0,0x02,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:3], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_MSAA unorm a16 ; encoding: [0x30,0x13,0x74,0xf0,0x02,0x01,0x03,0x40] + +0x38,0x13,0x74,0xf0,0x02,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:3], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY unorm a16 ; encoding: [0x38,0x13,0x74,0xf0,0x02,0x01,0x03,0x40] + +0x10,0x13,0x74,0xf0,0x02,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:3], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_3D unorm a16 ; encoding: [0x10,0x13,0x74,0xf0,0x02,0x01,0x03,0x40] + +0x18,0x13,0x74,0xf0,0x02,0x01,0x03,0x40 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:3], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_CUBE unorm a16 ; encoding: [0x18,0x13,0x74,0xf0,0x02,0x01,0x03,0x40] + +0x28,0x13,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:4], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_ARRAY unorm ; encoding: [0x28,0x13,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x30,0x13,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:4], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_MSAA unorm ; encoding: [0x30,0x13,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x10,0x13,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:4], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_3D unorm ; encoding: [0x10,0x13,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x18,0x13,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:4], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_CUBE unorm ; encoding: [0x18,0x13,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x38,0x13,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:2], v[2:5], s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY unorm ; encoding: [0x38,0x13,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x00,0x1f,0x74,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[1:4], v2, s[12:19] dmask:0xf dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x1f,0x74,0xf0,0x02,0x01,0x03,0x00] + +0x00,0x1f,0x74,0xf0,0x02,0xfc,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[252:255], v2, s[12:19] dmask:0xf dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x1f,0x74,0xf0,0x02,0xfc,0x03,0x00] + +0x00,0x13,0x74,0xf0,0x02,0xfe,0x03,0x00 +# GFX10: image_atomic_fcmpswap v[254:255], v2, s[12:19] dmask:0x3 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x13,0x74,0xf0,0x02,0xfe,0x03,0x00] + +0x00,0x23,0x74,0xf0,0x20,0x04,0x18,0x00 +# GFX10: image_atomic_fcmpswap v[4:5], v32, s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_1D glc ; encoding: [0x00,0x23,0x74,0xf0,0x20,0x04,0x18,0x00] + +0x00,0x21,0x7c,0xf0,0x20,0x04,0x18,0x00 +# GFX10: image_atomic_fmax v4, v32, s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_1D glc ; encoding: [0x00,0x21,0x7c,0xf0,0x20,0x04,0x18,0x00] + +0x00,0x21,0x78,0xf0,0x20,0x04,0x18,0x00 +# GFX10: image_atomic_fmin v4, v32, s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_1D glc ; encoding: [0x00,0x21,0x78,0xf0,0x20,0x04,0x18,0x00] + +0x00,0x31,0x6c,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_atomic_inc v16, v8, s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; encoding: [0x00,0x31,0x6c,0xf0,0x08,0x10,0x18,0x00] + +0x00,0x11,0x6c,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_inc v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x6c,0xf0,0xc0,0x04,0x07,0x00] + +0x00,0x31,0x64,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_atomic_or v16, v8, s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; encoding: [0x00,0x31,0x64,0xf0,0x08,0x10,0x18,0x00] + +0x00,0x11,0x64,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_or v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x64,0xf0,0xc0,0x04,0x07,0x00] + +0x32,0x31,0x58,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x0b,0x0c +# GFX10: image_atomic_smax v16, [v8, v9, v10], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D_MSAA unorm glc ; encoding: [0x32,0x31,0x58,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x00,0x00] + +0x00,0x11,0x58,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_smax v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x58,0xf0,0xc0,0x04,0x07,0x00] + +0x22,0x31,0x50,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x0b,0x0c +# GFX10: image_atomic_smin v16, [v8, v9], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_1D_ARRAY unorm glc ; encoding: [0x22,0x31,0x50,0xf0,0x08,0x10,0x18,0x00,0x09,0x00,0x00,0x00] + +0x00,0x11,0x50,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_smin v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x50,0xf0,0xc0,0x04,0x07,0x00] + +0x1a,0x31,0x48,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x0b,0x0c +# GFX10: image_atomic_sub v16, [v8, v9, v10], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_CUBE unorm glc ; encoding: [0x1a,0x31,0x48,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x00,0x00] + +0x00,0x11,0x48,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_sub v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x48,0xf0,0xc0,0x04,0x07,0x00] + +0x00,0x31,0x48,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_sub v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; encoding: [0x00,0x31,0x48,0xf0,0xc0,0x04,0x07,0x00] + +0x00,0x11,0x3c,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_atomic_swap v16, v8, s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x3c,0xf0,0x08,0x10,0x18,0x00] + +0x3a,0x31,0x5c,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x0b,0x0c +# GFX10: image_atomic_umax v16, [v8, v9, v10, v11], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY unorm glc ; encoding: [0x3a,0x31,0x5c,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x0b,0x00] + +0x00,0x11,0x5c,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_umax v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x5c,0xf0,0xc0,0x04,0x07,0x00] + +0x2a,0x31,0x54,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x0b,0x0c +# GFX10: image_atomic_umin v16, [v8, v9, v10], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D_ARRAY unorm glc ; encoding: [0x2a,0x31,0x54,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x00,0x00] + +0x00,0x11,0x54,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_umin v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x54,0xf0,0xc0,0x04,0x07,0x00] + +0x00,0x31,0x68,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_atomic_xor v16, v8, s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm glc ; encoding: [0x00,0x31,0x68,0xf0,0x08,0x10,0x18,0x00] + +0x00,0x11,0x68,0xf0,0xc0,0x04,0x07,0x00 +# GFX10: image_atomic_xor v4, v192, s[28:35] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x68,0xf0,0xc0,0x04,0x07,0x00] + +0x12,0x0f,0x00,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4 v[16:19], [v8, v9, v10], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x12,0x0f,0x00,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x00,0x00] + +0x08,0x08,0x00,0xf1,0x01,0xfc,0x62,0x00 +# GFX10: image_gather4 v[252:255], v[1:2], s[8:15], s[12:15] dmask:0x8 dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x08,0x00,0xf1,0x01,0xfc,0x62,0x00] + +0x08,0x08,0x00,0xf1,0x01,0xfe,0x62,0x80 +# GFX10: image_gather4 v[254:255], v[1:2], s[8:15], s[12:15] dmask:0x8 dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x08,0x08,0x00,0xf1,0x01,0xfe,0x62,0x80] + +0x2a,0x0f,0x14,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_b v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2a,0x0f,0x14,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x02,0x0f,0x18,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_b_cl v[16:19], [v8, v9, v10], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x02,0x0f,0x18,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x00,0x00] + +0x02,0x0f,0x58,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_b_cl_o v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x02,0x0f,0x58,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x2a,0x0f,0x54,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_b_o v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2a,0x0f,0x54,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x12,0x0f,0x20,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x12,0x0f,0x20,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x2a,0x0f,0x34,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c_b v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2a,0x0f,0x34,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x02,0x0f,0x38,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c_b_cl v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x02,0x0f,0x38,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x02,0x0f,0x78,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c_b_cl_o v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x02,0x0f,0x78,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x2c,0x0f,0x74,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_gather4_c_b_o v[16:19], [v8, v9, v10, v11, v12, v13], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2c,0x0f,0x74,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x00,0x00,0x00] + +0x1a,0x0f,0x24,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c_cl v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1a,0x0f,0x24,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x1c,0x0f,0x64,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_gather4_c_cl_o v[16:19], [v8, v9, v10, v11, v12, v13], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1c,0x0f,0x64,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x00,0x00,0x00] + +0x22,0x0f,0x30,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c_l v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY ; encoding: [0x22,0x0f,0x30,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x22,0x0f,0x70,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c_l_o v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY ; encoding: [0x22,0x0f,0x70,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x0a,0x0f,0x3c,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c_lz v[16:19], [v8, v9, v10], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0a,0x0f,0x3c,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x00,0x00] + +0x0a,0x0f,0x7c,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c_lz_o v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0a,0x0f,0x7c,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x12,0x0f,0x60,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_c_o v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x12,0x0f,0x60,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x1a,0x0f,0x04,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_cl v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1a,0x0f,0x04,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x1a,0x0f,0x44,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_cl_o v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1a,0x0f,0x44,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x22,0x0f,0x10,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_l v[16:19], [v8, v9, v10], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY ; encoding: [0x22,0x0f,0x10,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x00,0x00] + +0x22,0x0f,0x50,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_l_o v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY ; encoding: [0x22,0x0f,0x50,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x0a,0x0f,0x1c,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_lz v[16:19], [v8, v9], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0a,0x0f,0x1c,0xf1,0x08,0x10,0x25,0x03,0x09,0x00,0x00,0x00] + +0x0a,0x0f,0x5c,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_lz_o v[16:19], [v8, v9, v10], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0a,0x0f,0x5c,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x00,0x00] + +0x12,0x0f,0x40,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_gather4_o v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x12,0x0f,0x40,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x1a,0x02,0x84,0xf1,0x20,0x40,0x21,0x00,0x21,0x22,0x00,0x00 +# GFX10: image_gather4h v[64:67], [v32, v33, v34], s[4:11], s[4:7] dmask:0x2 dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1a,0x02,0x84,0xf1,0x20,0x40,0x21,0x00,0x21,0x22,0x00,0x00] + +0x12,0x0f,0x80,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_get_lod v[16:19], [v8, v9, v10], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x12,0x0f,0x80,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x00,0x00] + +0x00,0x01,0x38,0xf0,0x01,0x05,0x02,0x00 +# GFX10: image_get_resinfo v5, v1, s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_1D ; encoding: [0x00,0x01,0x38,0xf0,0x01,0x05,0x02,0x00] + +0x28,0x1f,0x38,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_get_resinfo v[16:19], v8, s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY unorm ; encoding: [0x28,0x1f,0x38,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x01,0x00,0xf0,0x01,0x01,0x04,0x40 +# GFX10: image_load v1, v1, s[16:23] dmask:0x1 dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x08,0x01,0x00,0xf0,0x01,0x01,0x04,0x40] + +0x08,0x01,0x02,0xf0,0x01,0x01,0x04,0x40 +# GFX10: image_load v1, v1, s[16:23] dmask:0x1 dim:SQ_RSRC_IMG_2D a16 lwe ; encoding: [0x08,0x01,0x02,0xf0,0x01,0x01,0x04,0x40] + +0x08,0x01,0x00,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_load v16, v[8:9], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x01,0x00,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x01,0x00,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_load v16, v[8:9], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x08,0x01,0x00,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x03,0x00,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_load v16, v[8:9], s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x08,0x03,0x00,0xf0,0x08,0x10,0x18,0x80] + +0x30,0x18,0x00,0xf0,0x06,0xff,0x00,0x00 +# GFX10: image_load v255, v[6:8], s[0:7] dmask:0x8 dim:SQ_RSRC_IMG_2D_MSAA unorm ; encoding: [0x30,0x18,0x00,0xf0,0x06,0xff,0x00,0x00] + +0x38,0x18,0x00,0xf0,0x07,0x41,0x00,0x00 +# GFX10: image_load v65, v[7:10], s[0:7] dmask:0x8 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY unorm ; encoding: [0x38,0x18,0x00,0xf0,0x07,0x41,0x00,0x00] + +0x00,0x1f,0x00,0xf0,0x00,0x00,0x00,0x00 +# GFX10: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x1f,0x00,0xf0,0x00,0x00,0x00,0x00] + +0x08,0x1f,0x00,0xf0,0x00,0x00,0x00,0x40 +# GFX10: image_load v[0:3], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_2D unorm a16 ; encoding: [0x08,0x1f,0x00,0xf0,0x00,0x00,0x00,0x40] + +0x08,0x1f,0x00,0xf0,0x01,0x00,0x00,0x00 +# GFX10: image_load v[0:3], v[1:2], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_2D unorm ; encoding: [0x08,0x1f,0x00,0xf0,0x01,0x00,0x00,0x00] + +0x08,0x1f,0x01,0xf0,0x00,0x00,0x00,0x40 +# GFX10: image_load v[0:4], v0, s[0:7] dmask:0xf dim:SQ_RSRC_IMG_2D unorm a16 tfe ; encoding: [0x08,0x1f,0x01,0xf0,0x00,0x00,0x00,0x40] + +0x08,0x1f,0x01,0xf0,0x00,0x00,0x00,0x00 +# GFX10: image_load v[0:4], v[0:1], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_2D unorm tfe ; encoding: [0x08,0x1f,0x01,0xf0,0x00,0x00,0x00,0x00] + +0x08,0x01,0x01,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_load v[16:17], v[8:9], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D tfe ; encoding: [0x08,0x01,0x01,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x01,0x01,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_load v[16:17], v[8:9], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D tfe d16 ; encoding: [0x08,0x01,0x01,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x03,0x00,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_load v[16:17], v[8:9], s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x03,0x00,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x03,0x01,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_load v[16:17], v[8:9], s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_2D tfe d16 ; encoding: [0x08,0x03,0x01,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x07,0x00,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_load v[16:17], v[8:9], s[96:103] dmask:0x7 dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x08,0x07,0x00,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x0f,0x00,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_load v[16:17], v[8:9], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x08,0x0f,0x00,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x03,0x01,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_load v[16:18], v[8:9], s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_2D tfe ; encoding: [0x08,0x03,0x01,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x07,0x00,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_load v[16:18], v[8:9], s[96:103] dmask:0x7 dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x07,0x00,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x07,0x01,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_load v[16:18], v[8:9], s[96:103] dmask:0x7 dim:SQ_RSRC_IMG_2D tfe d16 ; encoding: [0x08,0x07,0x01,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x0f,0x01,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_load v[16:18], v[8:9], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D tfe d16 ; encoding: [0x08,0x0f,0x01,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x07,0x01,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_load v[16:19], v[8:9], s[96:103] dmask:0x7 dim:SQ_RSRC_IMG_2D tfe ; encoding: [0x08,0x07,0x01,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x0f,0x00,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_load v[16:19], v[8:9], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x0f,0x00,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x0f,0x01,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_load v[16:20], v[8:9], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D tfe ; encoding: [0x08,0x0f,0x01,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x01,0x01,0xf0,0x01,0x01,0x04,0x40 +# GFX10: image_load v[1:2], v1, s[16:23] dmask:0x1 dim:SQ_RSRC_IMG_2D a16 tfe ; encoding: [0x08,0x01,0x01,0xf0,0x01,0x01,0x04,0x40] + +0x08,0x01,0x03,0xf0,0x01,0x01,0x04,0x40 +# GFX10: image_load v[1:2], v1, s[16:23] dmask:0x1 dim:SQ_RSRC_IMG_2D a16 tfe lwe ; encoding: [0x08,0x01,0x03,0xf0,0x01,0x01,0x04,0x40] + +0x08,0x03,0x00,0xf0,0x01,0x01,0x04,0x40 +# GFX10: image_load v[1:2], v1, s[16:23] dmask:0x3 dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x08,0x03,0x00,0xf0,0x01,0x01,0x04,0x40] + +0x08,0x05,0x03,0xf0,0x01,0x01,0x04,0x40 +# GFX10: image_load v[1:3], v1, s[16:23] dmask:0x5 dim:SQ_RSRC_IMG_2D a16 tfe lwe ; encoding: [0x08,0x05,0x03,0xf0,0x01,0x01,0x04,0x40] + +0x08,0x07,0x01,0xf0,0x01,0x01,0x04,0x40 +# GFX10: image_load v[1:4], v1, s[16:23] dmask:0x7 dim:SQ_RSRC_IMG_2D a16 tfe ; encoding: [0x08,0x07,0x01,0xf0,0x01,0x01,0x04,0x40] + +0x08,0x0f,0x02,0xf0,0x01,0x01,0x04,0x40 +# GFX10: image_load v[1:4], v1, s[16:23] dmask:0xf dim:SQ_RSRC_IMG_2D a16 lwe ; encoding: [0x08,0x0f,0x02,0xf0,0x01,0x01,0x04,0x40] + +0x10,0x1f,0x00,0xf0,0x02,0xfc,0x00,0x00 +# GFX10: image_load v[252:255], v[2:4], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_3D unorm ; encoding: [0x10,0x1f,0x00,0xf0,0x02,0xfc,0x00,0x00] + +0x18,0x1f,0x00,0xf0,0x03,0xfc,0x00,0x00 +# GFX10: image_load v[252:255], v[3:5], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_CUBE unorm ; encoding: [0x18,0x1f,0x00,0xf0,0x03,0xfc,0x00,0x00] + +0x20,0x1b,0x00,0xf0,0x04,0xfd,0x00,0x00 +# GFX10: image_load v[253:255], v[4:5], s[0:7] dmask:0xb dim:SQ_RSRC_IMG_1D_ARRAY unorm ; encoding: [0x20,0x1b,0x00,0xf0,0x04,0xfd,0x00,0x00] + +0x28,0x19,0x00,0xf0,0x05,0xfe,0x00,0x00 +# GFX10: image_load v[254:255], v[5:7], s[0:7] dmask:0x9 dim:SQ_RSRC_IMG_2D_ARRAY unorm ; encoding: [0x28,0x19,0x00,0xf0,0x05,0xfe,0x00,0x00] + +0x00,0x17,0x00,0xf0,0xee,0x04,0x07,0x00 +# GFX10: image_load v[4:6], v238, s[28:35] dmask:0x7 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x17,0x00,0xf0,0xee,0x04,0x07,0x00] + +0x00,0x00,0x04,0xf0,0x00,0x05,0x02,0x00 +# GFX10: image_load_mip v5, v[0:1], s[8:15] dim:SQ_RSRC_IMG_1D ; encoding: [0x00,0x00,0x04,0xf0,0x00,0x05,0x02,0x00] + +0x00,0x1f,0x04,0xf0,0x08,0x10,0x01,0x00 +# GFX10: image_load_mip v[16:19], v[8:9], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x1f,0x04,0xf0,0x08,0x10,0x01,0x00] + +0x00,0x01,0x10,0xf0,0x01,0x05,0x02,0x00 +# GFX10: image_load_mip_pck v5, v[1:2], s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_1D ; encoding: [0x00,0x01,0x10,0xf0,0x01,0x05,0x02,0x00] + +0x08,0x1f,0x10,0xf2,0x08,0x10,0x01,0x00 +# GFX10: image_load_mip_pck v[16:19], v[8:10], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_2D unorm slc ; encoding: [0x08,0x1f,0x10,0xf2,0x08,0x10,0x01,0x00] + +0x88,0x1f,0x14,0xf0,0x08,0x10,0x01,0x00 +# GFX10: image_load_mip_pck_sgn v[16:19], v[8:10], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_2D unorm dlc ; encoding: [0x88,0x1f,0x14,0xf0,0x08,0x10,0x01,0x00] + +# TODO: This is incorrect: r128 should use a 128-bit register for srsrc +0x08,0x9f,0x14,0xf0,0x08,0x10,0x01,0x00 +# GFX10: image_load_mip_pck_sgn v[16:19], v[8:10], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_2D unorm r128 ; encoding: [0x08,0x9f,0x14,0xf0,0x08,0x10,0x01,0x00] + +0x00,0x05,0x14,0xf0,0x00,0x04,0x02,0x00 +# GFX10: image_load_mip_pck_sgn v[4:5], v[0:1], s[8:15] dmask:0x5 dim:SQ_RSRC_IMG_1D ; encoding: [0x00,0x05,0x14,0xf0,0x00,0x04,0x02,0x00] + +0x00,0x21,0x08,0xf0,0x00,0x05,0x02,0x00 +# GFX10: image_load_pck v5, v0, s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_1D glc ; encoding: [0x00,0x21,0x08,0xf0,0x00,0x05,0x02,0x00] + +0x08,0x1f,0x08,0xf0,0x08,0x10,0x01,0x00 +# GFX10: image_load_pck v[16:19], v[8:9], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_2D unorm ; encoding: [0x08,0x1f,0x08,0xf0,0x08,0x10,0x01,0x00] + +0x00,0x01,0x0e,0xf0,0x00,0x05,0x02,0x00 +# GFX10: image_load_pck_sgn v5, v0, s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_1D lwe ; encoding: [0x00,0x01,0x0e,0xf0,0x00,0x05,0x02,0x00] + +0x08,0x3f,0x0c,0xf0,0x08,0x10,0x01,0x00 +# GFX10: image_load_pck_sgn v[16:19], v[8:9], s[4:11] dmask:0xf dim:SQ_RSRC_IMG_2D unorm glc ; encoding: [0x08,0x3f,0x0c,0xf0,0x08,0x10,0x01,0x00] + +0x00,0x01,0x80,0xf0,0x00,0x05,0x62,0x00 +# GFX10: image_sample v5, v0, s[8:15], s[12:15] dmask:0x1 dim:SQ_RSRC_IMG_1D ; encoding: [0x00,0x01,0x80,0xf0,0x00,0x05,0x62,0x00] + +0x00,0x0f,0x80,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_sample v[16:19], v8, s[96:103], s[0:3] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x00,0x0f,0x80,0xf0,0x08,0x10,0x18,0x00] + +0x1a,0x0f,0x94,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_b v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1a,0x0f,0x94,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x22,0x0f,0x98,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_b_cl v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY ; encoding: [0x22,0x0f,0x98,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x2c,0x0f,0xd8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_b_cl_o v[16:19], [v8, v9, v10, v11, v12, v13], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2c,0x0f,0xd8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x00,0x00,0x00] + +0x22,0x0f,0xd4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_b_o v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY ; encoding: [0x22,0x0f,0xd4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x0a,0x0f,0xa0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_c v[16:19], [v8, v9, v10], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0a,0x0f,0xa0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x00,0x00] + +0x18,0x0f,0xb4,0xf0,0x08,0x10,0x25,0x03 +# GFX10: image_sample_c_b v[16:19], v[8:12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x18,0x0f,0xb4,0xf0,0x08,0x10,0x25,0x03] + +0x18,0x0f,0xb8,0xf0,0xfa,0x10,0x25,0x03 +# GFX10: image_sample_c_b_cl v[16:19], v[250:255], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x18,0x0f,0xb8,0xf0,0xfa,0x10,0x25,0x03] + +0x02,0x0f,0xf8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_c_b_cl_o v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x02,0x0f,0xf8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x2c,0x0f,0xf4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_c_b_o v[16:19], [v8, v9, v10, v11, v12, v13], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2c,0x0f,0xf4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x00,0x00,0x00] + +0x2c,0x0f,0xa8,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_c_cd v[16:19], [v8, v9, v10, v11, v12, v13, v14, v15], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2c,0x0f,0xa8,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x00] + +0x00,0x0f,0xa8,0xf1,0x00,0x00,0x40,0x40 +# GFX10: image_sample_c_cd v[0:3], v[0:3], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D a16 ; encoding: [0x00,0x0f,0xa8,0xf1,0x00,0x00,0x40,0x40] + +0x08,0x0f,0xa8,0xf1,0x00,0x00,0x40,0x40 +# GFX10: image_sample_c_cd v[0:3], v[0:5], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x08,0x0f,0xa8,0xf1,0x00,0x00,0x40,0x40] + +0x0c,0x0f,0xac,0xf1,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x07,0x00,0x00 +# GFX10: image_sample_c_cd_cl v[0:3], [v0, v1, v2, v3, v4, v5, v7], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x0c,0x0f,0xac,0xf1,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x07,0x00,0x00] + +0x02,0x0f,0xac,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_c_cd_cl v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x02,0x0f,0xac,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x00,0x0f,0xac,0xf1,0x00,0x00,0x40,0x40 +# GFX10: image_sample_c_cd_cl v[0:3], v[0:3], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D a16 ; encoding: [0x00,0x0f,0xac,0xf1,0x00,0x00,0x40,0x40] + +0x0d,0x0f,0xac,0xf1,0x00,0x00,0x40,0x00,0x01,0x03,0x05,0x06,0x07,0x00,0x00,0x00 +# GFX10: image_sample_c_cd_cl_g16 v[0:3], [v0, v1, v3, v5, v6, v7], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0d,0x0f,0xac,0xf1,0x00,0x00,0x40,0x00,0x01,0x03,0x05,0x06,0x07,0x00,0x00,0x00] + +0x01,0x0f,0xac,0xf1,0x00,0x00,0x40,0x00 +# GFX10: image_sample_c_cd_cl_g16 v[0:3], v[0:4], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x01,0x0f,0xac,0xf1,0x00,0x00,0x40,0x00] + +0x24,0x0f,0xbc,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_c_cd_cl_o v[16:19], [v8, v9, v10, v11, v12, v13, v14], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY ; encoding: [0x24,0x0f,0xbc,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x00,0x00] + +0x0b,0x0f,0xa8,0xf1,0x00,0x00,0x40,0x00,0x01,0x03,0x05,0x06 +# GFX10: image_sample_c_cd_g16 v[0:3], [v0, v1, v3, v5, v6], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0b,0x0f,0xa8,0xf1,0x00,0x00,0x40,0x00,0x01,0x03,0x05,0x06] + +0x01,0x0f,0xa8,0xf1,0x00,0x00,0x40,0x00 +# GFX10: image_sample_c_cd_g16 v[0:3], v[0:3], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x01,0x0f,0xa8,0xf1,0x00,0x00,0x40,0x00] + +0x1c,0x0f,0xb8,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_c_cd_o v[16:19], [v8, v9, v10, v11, v12, v13, v14, v15, v16], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1c,0x0f,0xb8,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10] + +0x12,0x0f,0xa4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_c_cl v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x12,0x0f,0xa4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x14,0x0f,0xe4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_c_cl_o v[16:19], [v8, v9, v10, v11, v12, v13], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x14,0x0f,0xe4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x00,0x00,0x00] + +0x16,0x0f,0xa8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14 +# GFX10: image_sample_c_d v[16:19], [v8, v9, v10, v11, v12, v13, v14, v15, v16, v17], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x16,0x0f,0xa8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x00,0x00,0x00] + +0x00,0x0f,0xa8,0xf0,0x00,0x00,0x40,0x40 +# GFX10: image_sample_c_d v[0:3], v[0:3], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D a16 ; encoding: [0x00,0x0f,0xa8,0xf0,0x00,0x00,0x40,0x40] + +0x08,0x0f,0xa8,0xf0,0x00,0x00,0x40,0x40 +# GFX10: image_sample_c_d v[0:3], v[0:5], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x08,0x0f,0xa8,0xf0,0x00,0x00,0x40,0x40] + +0x0c,0x0f,0xac,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x07,0x00,0x00 +# GFX10: image_sample_c_d_cl v[0:3], [v0, v1, v2, v3, v4, v5, v7], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x0c,0x0f,0xac,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x07,0x00,0x00] + +0x1c,0x0f,0xac,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_c_d_cl v[16:19], [v8, v9, v10, v11, v12, v13, v14, v15, v16], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1c,0x0f,0xac,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10] + +0x00,0x0f,0xac,0xf0,0x00,0x00,0x40,0x40 +# GFX10: image_sample_c_d_cl v[0:3], v[0:3], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D a16 ; encoding: [0x00,0x0f,0xac,0xf0,0x00,0x00,0x40,0x40] + +0x0d,0x0f,0xac,0xf0,0x00,0x00,0x40,0x00,0x01,0x03,0x05,0x06,0x07,0x00,0x00,0x00 +# GFX10: image_sample_c_d_cl_g16 v[0:3], [v0, v1, v3, v5, v6, v7], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0d,0x0f,0xac,0xf0,0x00,0x00,0x40,0x00,0x01,0x03,0x05,0x06,0x07,0x00,0x00,0x00] + +0x01,0x0f,0xac,0xf0,0x00,0x00,0x40,0x00 +# GFX10: image_sample_c_d_cl_g16 v[0:3], v[0:4], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x01,0x0f,0xac,0xf0,0x00,0x00,0x40,0x00] + +0x16,0x0f,0xec,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14 +# GFX10: image_sample_c_d_cl_o v[16:19], [v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x16,0x0f,0xec,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x00] + +0x0b,0x0f,0xa8,0xf0,0x00,0x00,0x40,0x00,0x01,0x03,0x05,0x06 +# GFX10: image_sample_c_d_g16 v[0:3], [v0, v1, v3, v5, v6], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0b,0x0f,0xa8,0xf0,0x00,0x00,0x40,0x00,0x01,0x03,0x05,0x06] + +0x01,0x0f,0xa8,0xf0,0x00,0x00,0x40,0x00 +# GFX10: image_sample_c_d_g16 v[0:3], v[0:3], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x01,0x0f,0xa8,0xf0,0x00,0x00,0x40,0x00] + +0x2c,0x04,0xe8,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x06,0x08,0x00 +# GFX10: image_sample_c_d_o v0, [v0, v1, v2, v3, v4, v5, v6, v8], s[0:7], s[8:11] dmask:0x4 dim:SQ_RSRC_IMG_2D_ARRAY a16 ; encoding: [0x2c,0x04,0xe8,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x06,0x08,0x00] + +0x2c,0x06,0xe8,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x06,0x08,0x00 +# GFX10: image_sample_c_d_o v[0:1], [v0, v1, v2, v3, v4, v5, v6, v8], s[0:7], s[8:11] dmask:0x6 dim:SQ_RSRC_IMG_2D_ARRAY a16 ; encoding: [0x2c,0x06,0xe8,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x06,0x08,0x00] + +0x1c,0x0f,0xe8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_c_d_o v[16:19], [v8, v9, v10, v11, v12, v13, v14, v15, v16], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1c,0x0f,0xe8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10] + +0x2d,0x04,0xe8,0xf0,0x00,0x00,0x40,0x00,0x01,0x02,0x04,0x06,0x07,0x08,0x00,0x00 +# GFX10: image_sample_c_d_o_g16 v0, [v0, v1, v2, v4, v6, v7, v8], s[0:7], s[8:11] dmask:0x4 dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2d,0x04,0xe8,0xf0,0x00,0x00,0x40,0x00,0x01,0x02,0x04,0x06,0x07,0x08,0x00,0x00] + +0x2d,0x06,0xe8,0xf0,0x00,0x00,0x40,0x00,0x01,0x02,0x04,0x06,0x07,0x08,0x00,0x00 +# GFX10: image_sample_c_d_o_g16 v[0:1], [v0, v1, v2, v4, v6, v7, v8], s[0:7], s[8:11] dmask:0x6 dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2d,0x06,0xe8,0xf0,0x00,0x00,0x40,0x00,0x01,0x02,0x04,0x06,0x07,0x08,0x00,0x00] + +0x1a,0x0f,0xb0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_c_l v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1a,0x0f,0xb0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x22,0x0f,0xf0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_c_l_o v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY ; encoding: [0x22,0x0f,0xf0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x08,0x0f,0xbc,0xf0,0xfd,0x10,0x25,0x03 +# GFX10: image_sample_c_lz v[16:19], v[253:255], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x0f,0xbc,0xf0,0xfd,0x10,0x25,0x03] + +0x0a,0x0f,0xfc,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_c_lz_o v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0a,0x0f,0xfc,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x0a,0x0f,0xe0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_c_o v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0a,0x0f,0xe0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x1c,0x0f,0xa0,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_cd v[16:19], [v8, v9, v10, v11, v12, v13, v14], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1c,0x0f,0xa0,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x00,0x00] + +0x00,0x0f,0xa0,0xf1,0x00,0x00,0x40,0x40 +# GFX10: image_sample_cd v[0:3], v[0:2], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D a16 ; encoding: [0x00,0x0f,0xa0,0xf1,0x00,0x00,0x40,0x40] + +0x08,0x0f,0xa0,0xf1,0x00,0x00,0x40,0x40 +# GFX10: image_sample_cd v[0:3], v[0:4], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x08,0x0f,0xa0,0xf1,0x00,0x00,0x40,0x40] + +0x0c,0x0f,0xa4,0xf1,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x06,0x00,0x00,0x00 +# GFX10: image_sample_cd_cl v[0:3], [v0, v1, v2, v3, v4, v6], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x0c,0x0f,0xa4,0xf1,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x06,0x00,0x00,0x00] + +0x22,0x0f,0xa4,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_cd_cl v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY ; encoding: [0x22,0x0f,0xa4,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x00,0x0f,0xa4,0xf1,0x00,0x00,0x40,0x40 +# GFX10: image_sample_cd_cl v[0:3], v[0:2], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D a16 ; encoding: [0x00,0x0f,0xa4,0xf1,0x00,0x00,0x40,0x40] + +0x0b,0x0f,0xa4,0xf1,0x00,0x00,0x40,0x00,0x02,0x04,0x05,0x06 +# GFX10: image_sample_cd_cl_g16 v[0:3], [v0, v2, v4, v5, v6], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0b,0x0f,0xa4,0xf1,0x00,0x00,0x40,0x00,0x02,0x04,0x05,0x06] + +0x01,0x0f,0xa4,0xf1,0x00,0x00,0x40,0x00 +# GFX10: image_sample_cd_cl_g16 v[0:3], v[0:3], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x01,0x0f,0xa4,0xf1,0x00,0x00,0x40,0x00] + +0x16,0x0f,0xb4,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14 +# GFX10: image_sample_cd_cl_o v[16:19], [v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x16,0x0f,0xb4,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x00,0x00] + +0x0b,0x0f,0xa0,0xf1,0x00,0x00,0x40,0x00,0x02,0x04,0x05,0x00 +# GFX10: image_sample_cd_g16 v[0:3], [v0, v2, v4, v5], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0b,0x0f,0xa0,0xf1,0x00,0x00,0x40,0x00,0x02,0x04,0x05,0x00] + +0x01,0x0f,0xa0,0xf1,0x00,0x00,0x40,0x00 +# GFX10: image_sample_cd_g16 v[0:3], v[0:2], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x01,0x0f,0xa0,0xf1,0x00,0x00,0x40,0x00] + +0x0c,0x0f,0xb0,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_cd_o v[16:19], [v8, v9, v10, v11, v12, v13, v14], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0c,0x0f,0xb0,0xf1,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x00,0x00] + +0x0a,0x0f,0x84,0xf0,0x08,0x10,0x18,0x80,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_cl v[16:17], [v8, v9, v10], s[96:103], s[0:3] dmask:0xf dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x0a,0x0f,0x84,0xf0,0x08,0x10,0x18,0x80,0x09,0x0a,0x00,0x00] + +0x02,0x0f,0xc4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_cl_o v[16:19], [v8, v9, v10], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x02,0x0f,0xc4,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x00,0x00] + +0x14,0x0f,0x88,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x06,0x08,0x00 +# GFX10: image_sample_d v[0:3], [v0, v1, v2, v3, v4, v5, v6, v8], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_3D a16 ; encoding: [0x14,0x0f,0x88,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x05,0x06,0x08,0x00] + +0x02,0x0f,0x88,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_d v[16:19], [v8, v9, v10], s[96:103], s[0:3] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x02,0x0f,0x88,0xf0,0x08,0x10,0x18,0x00,0x09,0x0a,0x00,0x00] + +0x00,0x0f,0x88,0xf0,0x00,0x00,0x40,0x40 +# GFX10: image_sample_d v[0:3], v[0:2], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D a16 ; encoding: [0x00,0x0f,0x88,0xf0,0x00,0x00,0x40,0x40] + +0x08,0x0f,0x88,0xf0,0x00,0x00,0x40,0x40 +# GFX10: image_sample_d v[0:3], v[0:4], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x08,0x0f,0x88,0xf0,0x00,0x00,0x40,0x40] + +0x0c,0x0f,0x8c,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x06,0x00,0x00,0x00 +# GFX10: image_sample_d_cl v[0:3], [v0, v1, v2, v3, v4, v6], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D a16 ; encoding: [0x0c,0x0f,0x8c,0xf0,0x00,0x00,0x40,0x40,0x01,0x02,0x03,0x04,0x06,0x00,0x00,0x00] + +0x0c,0x0f,0x8c,0xf0,0x08,0x10,0x25,0x00,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_d_cl v[16:19], [v8, v9, v10, v11, v12, v13, v14], s[20:27], s[4:7] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0c,0x0f,0x8c,0xf0,0x08,0x10,0x25,0x00,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x00,0x00] + +0x00,0x0f,0x8c,0xf0,0x00,0x00,0x40,0x40 +# GFX10: image_sample_d_cl v[0:3], v[0:2], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D a16 ; encoding: [0x00,0x0f,0x8c,0xf0,0x00,0x00,0x40,0x40] + +0x0b,0x0f,0x8c,0xf0,0x00,0x00,0x40,0x00,0x02,0x04,0x05,0x06 +# GFX10: image_sample_d_cl_g16 v[0:3], [v0, v2, v4, v5, v6], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0b,0x0f,0x8c,0xf0,0x00,0x00,0x40,0x00,0x02,0x04,0x05,0x06] + +0x01,0x0f,0x8c,0xf0,0x00,0x00,0x40,0x00 +# GFX10: image_sample_d_cl_g16 v[0:3], v[0:3], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x01,0x0f,0x8c,0xf0,0x00,0x00,0x40,0x00] + +0x16,0x0f,0xcc,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14 +# GFX10: image_sample_d_cl_o v[16:19], [v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x16,0x0f,0xcc,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x00,0x00] + +0x15,0x0f,0x88,0xf0,0x00,0x00,0x40,0x00,0x02,0x03,0x05,0x06,0x07,0x08,0x00,0x00 +# GFX10: image_sample_d_g16 v[0:3], [v0, v2, v3, v5, v6, v7, v8], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x15,0x0f,0x88,0xf0,0x00,0x00,0x40,0x00,0x02,0x03,0x05,0x06,0x07,0x08,0x00,0x00] + +0x0b,0x0f,0x88,0xf0,0x00,0x00,0x40,0x00,0x02,0x04,0x05,0x00 +# GFX10: image_sample_d_g16 v[0:3], [v0, v2, v4, v5], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0b,0x0f,0x88,0xf0,0x00,0x00,0x40,0x00,0x02,0x04,0x05,0x00] + +0x01,0x0f,0x88,0xf0,0x00,0x00,0x40,0x00 +# GFX10: image_sample_d_g16 v[0:3], v[0:2], s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x01,0x0f,0x88,0xf0,0x00,0x00,0x40,0x00] + +0x0c,0x0f,0xc8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10 +# GFX10: image_sample_d_o v[16:19], [v8, v9, v10, v11, v12, v13, v14], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x0c,0x0f,0xc8,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x00,0x00] + +0x12,0x0f,0x90,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_l v[16:19], [v8, v9, v10, v11], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_3D ; encoding: [0x12,0x0f,0x90,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x00] + +0x1a,0x0f,0xd0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_l_o v[16:19], [v8, v9, v10, v11, v12], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_CUBE ; encoding: [0x1a,0x0f,0xd0,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c] + +0x2a,0x0f,0x9c,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_lz v[16:19], [v8, v9, v10], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x2a,0x0f,0x9c,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x00,0x00] + +0x02,0x0f,0xdc,0xf0,0x08,0x10,0x25,0x03,0x09,0x0a,0x0b,0x0c +# GFX10: image_sample_lz_o v[16:19], [v8, v9], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_1D ; encoding: [0x02,0x0f,0xdc,0xf0,0x08,0x10,0x25,0x03,0x09,0x00,0x00,0x00] + +0x28,0x0f,0xc0,0xf0,0xfc,0x10,0x25,0x03 +# GFX10: image_sample_o v[16:19], v[252:255], s[20:27], s[100:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY ; encoding: [0x28,0x0f,0xc0,0xf0,0xfc,0x10,0x25,0x03] + +0x08,0x01,0x20,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v16, v[8:9], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x01,0x20,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x01,0x20,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_store v16, v[8:9], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x08,0x01,0x20,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x03,0x20,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_store v16, v[8:9], s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x08,0x03,0x20,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x14,0x20,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v16, v[8:9], s[96:103] dmask:0x4 dim:SQ_RSRC_IMG_2D unorm ; encoding: [0x08,0x14,0x20,0xf0,0x08,0x10,0x18,0x00] + +0x10,0x15,0x20,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:17], v[8:10], s[96:103] dmask:0x5 dim:SQ_RSRC_IMG_3D unorm ; encoding: [0x10,0x15,0x20,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x01,0x21,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:17], v[8:9], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D tfe ; encoding: [0x08,0x01,0x21,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x01,0x21,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_store v[16:17], v[8:9], s[96:103] dmask:0x1 dim:SQ_RSRC_IMG_2D tfe d16 ; encoding: [0x08,0x01,0x21,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x03,0x20,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:17], v[8:9], s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x03,0x20,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x03,0x21,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_store v[16:17], v[8:9], s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_2D tfe d16 ; encoding: [0x08,0x03,0x21,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x07,0x20,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_store v[16:17], v[8:9], s[96:103] dmask:0x7 dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x08,0x07,0x20,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x0f,0x20,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_store v[16:17], v[8:9], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D d16 ; encoding: [0x08,0x0f,0x20,0xf0,0x08,0x10,0x18,0x80] + +0x18,0x1d,0x20,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:18], v[8:10], s[96:103] dmask:0xd dim:SQ_RSRC_IMG_CUBE unorm ; encoding: [0x18,0x1d,0x20,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x03,0x21,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:18], v[8:9], s[96:103] dmask:0x3 dim:SQ_RSRC_IMG_2D tfe ; encoding: [0x08,0x03,0x21,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x07,0x20,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:18], v[8:9], s[96:103] dmask:0x7 dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x07,0x20,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x07,0x21,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_store v[16:18], v[8:9], s[96:103] dmask:0x7 dim:SQ_RSRC_IMG_2D tfe d16 ; encoding: [0x08,0x07,0x21,0xf0,0x08,0x10,0x18,0x80] + +0x08,0x0f,0x21,0xf0,0x08,0x10,0x18,0x80 +# GFX10: image_store v[16:18], v[8:9], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D tfe d16 ; encoding: [0x08,0x0f,0x21,0xf0,0x08,0x10,0x18,0x80] + +0x28,0x1f,0x20,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:19], v[8:10], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D_ARRAY unorm ; encoding: [0x28,0x1f,0x20,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x07,0x21,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:19], v[8:9], s[96:103] dmask:0x7 dim:SQ_RSRC_IMG_2D tfe ; encoding: [0x08,0x07,0x21,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x0f,0x20,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:19], v[8:9], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D ; encoding: [0x08,0x0f,0x20,0xf0,0x08,0x10,0x18,0x00] + +0x08,0x0f,0x21,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store v[16:20], v[8:9], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_2D tfe ; encoding: [0x08,0x0f,0x21,0xf0,0x08,0x10,0x18,0x00] + +0x00,0x17,0x20,0xf0,0xee,0xc0,0x07,0x00 +# GFX10: image_store v[192:194], v238, s[28:35] dmask:0x7 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x17,0x20,0xf0,0xee,0xc0,0x07,0x00] + +0x00,0x00,0x24,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_store_mip v1, v[2:3], s[12:19] dim:SQ_RSRC_IMG_1D ; encoding: [0x00,0x00,0x24,0xf0,0x02,0x01,0x03,0x00] + +0x20,0x1f,0x24,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store_mip v[16:19], v[8:10], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_1D_ARRAY unorm ; encoding: [0x20,0x1f,0x24,0xf0,0x08,0x10,0x18,0x00] + +0x00,0x81,0x2c,0xf0,0x02,0xfc,0x03,0x00 +# GFX10: image_store_mip_pck v252, v[2:3], s[12:19] dmask:0x1 dim:SQ_RSRC_IMG_1D r128 ; encoding: [0x00,0x81,0x2c,0xf0,0x02,0xfc,0x03,0x00] + +0x10,0x1f,0x2c,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store_mip_pck v[16:19], v[8:11], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_3D unorm ; encoding: [0x10,0x1f,0x2c,0xf0,0x08,0x10,0x18,0x00] + +0x00,0x51,0x28,0xf0,0x02,0x01,0x03,0x00 +# GFX10: image_store_pck v1, v2, s[12:19] dmask:0x1 dim:SQ_RSRC_IMG_1D unorm ; encoding: [0x00,0x11,0x28,0xf0,0x02,0x01,0x03,0x00] + +0x10,0x1f,0x28,0xf0,0x08,0x10,0x18,0x00 +# GFX10: image_store_pck v[16:19], v[8:10], s[96:103] dmask:0xf dim:SQ_RSRC_IMG_3D unorm ; encoding: [0x10,0x1f,0x28,0xf0,0x08,0x10,0x18,0x00] diff --git a/tests/data/llvm-amdgpu/gfx10_mtbuf.txt b/tests/data/llvm-amdgpu/gfx10_mtbuf.txt new file mode 100644 index 0000000..f14c03b --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_mtbuf.txt @@ -0,0 +1,125 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -disassemble -show-encoding < %s | FileCheck %s -check-prefix=GFX10 + +0x00,0x00,0xb0,0xe8,0x00,0x00,0x20,0x80 +# GFX10: tbuffer_load_format_d16_x v0, off, s[0:3], 0 format:[BUF_FMT_32_FLOAT] ; encoding: [0x00,0x00,0xb0,0xe8,0x00,0x00,0x20,0x80] + +0x00,0x00,0x08,0xe8,0x00,0x00,0x20,0x00 +# GFX10: tbuffer_load_format_d16_x v0, off, s[0:3], s0 ; encoding: [0x00,0x00,0x08,0xe8,0x00,0x00,0x20,0x00] + +0x00,0x00,0x00,0xe8,0x00,0x00,0x20,0x00 +# GFX10: tbuffer_load_format_d16_x v0, off, s[0:3], s0 format:[BUF_FMT_INVALID] ; encoding: [0x00,0x00,0x00,0xe8,0x00,0x00,0x20,0x00] + +0x00,0x00,0xb1,0xe8,0x00,0x00,0x20,0x80 +# GFX10: tbuffer_load_format_d16_xy v0, off, s[0:3], 0 format:[BUF_FMT_32_FLOAT] ; encoding: [0x00,0x00,0xb1,0xe8,0x00,0x00,0x20,0x80] + +0x00,0x00,0xb2,0xe8,0x00,0x00,0x20,0x80 +# GFX10: tbuffer_load_format_d16_xyz v[0:1], off, s[0:3], 0 format:[BUF_FMT_32_FLOAT] ; encoding: [0x00,0x00,0xb2,0xe8,0x00,0x00,0x20,0x80] + +0x00,0x00,0xb3,0xe8,0x00,0x00,0x20,0x80 +# GFX10: tbuffer_load_format_d16_xyzw v[0:1], off, s[0:3], 0 format:[BUF_FMT_32_FLOAT] ; encoding: [0x00,0x00,0xb3,0xe8,0x00,0x00,0x20,0x80] + +0x00,0x00,0x68,0xea,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_load_format_x v0, off, s[0:3], 0 format:[BUF_FMT_32_32_32_32_FLOAT] ; encoding: [0x00,0x00,0x68,0xea,0x00,0x00,0x00,0x80] + +0x00,0x00,0x69,0xea,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_load_format_xy v[0:1], off, s[0:3], 0 format:[BUF_FMT_32_32_32_32_FLOAT] ; encoding: [0x00,0x00,0x69,0xea,0x00,0x00,0x00,0x80] + +0x00,0x00,0x73,0xea,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_load_format_xyzw v[0:3], off, s[0:3], 0 format:78 ; encoding: [0x00,0x00,0x73,0xea,0x00,0x00,0x00,0x80] + +0x2a,0x00,0x73,0xea,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_load_format_xyzw v[0:3], off, s[0:3], 0 format:78 offset:42 ; encoding: [0x2a,0x00,0x73,0xea,0x00,0x00,0x00,0x80] + +0xff,0x0f,0x7b,0xe9,0x00,0x00,0x00,0xbd +# GFX10: tbuffer_load_format_xyzw v[0:3], off, s[0:3], 61 format:[BUF_FMT_10_10_10_2_SSCALED] offset:4095 ; encoding: [0xff,0x0f,0x7b,0xe9,0x00,0x00,0x00,0xbd] + +0x00,0x20,0x73,0xea,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_load_format_xyzw v[0:3], v0, s[0:3], 0 format:78 idxen ; encoding: [0x00,0x20,0x73,0xea,0x00,0x00,0x00,0x80] + +0x00,0x10,0x73,0xea,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_load_format_xyzw v[0:3], v0, s[0:3], 0 format:78 offen ; encoding: [0x00,0x10,0x73,0xea,0x00,0x00,0x00,0x80] + +0x34,0x10,0x73,0xea,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_load_format_xyzw v[0:3], v0, s[0:3], 0 format:78 offen offset:52 ; encoding: [0x34,0x10,0x73,0xea,0x00,0x00,0x00,0x80] + +0x00,0x30,0x73,0xea,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_load_format_xyzw v[0:3], v[0:1], s[0:3], 0 format:78 idxen offen ; encoding: [0x00,0x30,0x73,0xea,0x00,0x00,0x00,0x80] + +0x00,0xc0,0xbb,0xe8,0x00,0x0c,0x00,0x80 +# GFX10: tbuffer_load_format_xyzw v[12:15], off, s[0:3], 0 format:[BUF_FMT_16_16_UNORM] glc dlc ; encoding: [0x00,0xc0,0xbb,0xe8,0x00,0x0c,0x00,0x80] + +0x00,0x40,0xfb,0xe9,0x00,0x04,0x00,0x80 +# GFX10: tbuffer_load_format_xyzw v[4:7], off, s[0:3], 0 format:[BUF_FMT_32_32_SINT] glc ; encoding: [0x00,0x40,0xfb,0xe9,0x00,0x04,0x00,0x80] + +0x49,0x00,0xf3,0xe9,0x00,0x04,0x00,0x04 +# GFX10: tbuffer_load_format_xyzw v[4:7], off, s[0:3], s4 format:[BUF_FMT_32_32_UINT] offset:73 ; encoding: [0x49,0x00,0xf3,0xe9,0x00,0x04,0x00,0x04] + +0x00,0x00,0xb3,0xe8,0x00,0x08,0x40,0x80 +# GFX10: tbuffer_load_format_xyzw v[8:11], off, s[0:3], 0 format:[BUF_FMT_32_FLOAT] slc ; encoding: [0x00,0x00,0xb3,0xe8,0x00,0x08,0x40,0x80] + +0x01,0x00,0x6b,0xea,0x00,0x08,0x00,0x04 +# GFX10: tbuffer_load_format_xyzw v[8:11], off, s[0:3], s4 format:[BUF_FMT_32_32_32_32_FLOAT] offset:1 ; encoding: [0x01,0x00,0x6b,0xea,0x00,0x08,0x00,0x04] + +0x00,0x20,0x0c,0xe9,0x01,0x00,0x21,0x80 +# GFX10: tbuffer_store_format_d16_x v0, v1, s[4:7], 0 format:[BUF_FMT_10_11_11_SSCALED] idxen ; encoding: [0x00,0x20,0x0c,0xe9,0x01,0x00,0x21,0x80] + +0x00,0x20,0x0d,0xe9,0x01,0x00,0x21,0x80 +# GFX10: tbuffer_store_format_d16_xy v0, v1, s[4:7], 0 format:[BUF_FMT_10_11_11_SSCALED] idxen ; encoding: [0x00,0x20,0x0d,0xe9,0x01,0x00,0x21,0x80] + +0x00,0x20,0x0e,0xe9,0x02,0x00,0x21,0x80 +# GFX10: tbuffer_store_format_d16_xyz v[0:1], v2, s[4:7], 0 format:[BUF_FMT_10_11_11_SSCALED] idxen ; encoding: [0x00,0x20,0x0e,0xe9,0x02,0x00,0x21,0x80] + +0x00,0x20,0x0f,0xe9,0x02,0x00,0x21,0x80 +# GFX10: tbuffer_store_format_d16_xyzw v[0:1], v2, s[4:7], 0 format:[BUF_FMT_10_11_11_SSCALED] idxen ; encoding: [0x00,0x20,0x0f,0xe9,0x02,0x00,0x21,0x80] + +0x00,0x20,0xec,0xeb,0x01,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_x v0, v1, s[0:3], 0 format:125 idxen ; encoding: [0x00,0x20,0xec,0xeb,0x01,0x00,0x00,0x80] + +0x00,0x20,0xfc,0xeb,0x01,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_x v0, v1, s[0:3], 0 format:127 idxen ; encoding: [0x00,0x20,0xfc,0xeb,0x01,0x00,0x00,0x80] + +0x00,0x20,0x04,0xe8,0x01,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_x v0, v1, s[0:3], 0 format:[BUF_FMT_INVALID] idxen ; encoding: [0x00,0x20,0x04,0xe8,0x01,0x00,0x00,0x80] + +0x00,0x20,0x0c,0xe8,0x01,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_x v0, v1, s[0:3], 0 idxen ; encoding: [0x00,0x20,0x0c,0xe8,0x01,0x00,0x00,0x80] + +0x00,0x20,0x14,0xe8,0x01,0x00,0x00,0x00 +# GFX10: tbuffer_store_format_x v0, v1, s[0:3], s0 format:[BUF_FMT_8_SNORM] idxen ; encoding: [0x00,0x20,0x14,0xe8,0x01,0x00,0x00,0x00] + +0x00,0x20,0x0d,0xe9,0x02,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_xy v[0:1], v2, s[0:3], 0 format:[BUF_FMT_10_11_11_SSCALED] idxen ; encoding: [0x00,0x20,0x0d,0xe9,0x02,0x00,0x00,0x80] + +0x2a,0x00,0xaf,0xeb,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_xyzw v[0:3], off, s[0:3], 0 format:117 offset:42 ; encoding: [0x2a,0x00,0xaf,0xeb,0x00,0x00,0x00,0x80] + +0x00,0x00,0x67,0xe9,0x00,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_xyzw v[0:3], off, s[0:3], 0 format:[BUF_FMT_10_10_10_2_UNORM] ; encoding: [0x00,0x00,0x67,0xe9,0x00,0x00,0x00,0x80] + +0x2a,0x00,0xaf,0xeb,0x00,0x00,0x00,0x04 +# GFX10: tbuffer_store_format_xyzw v[0:3], off, s[0:3], s4 format:117 offset:42 ; encoding: [0x2a,0x00,0xaf,0xeb,0x00,0x00,0x00,0x04] + +0x00,0x10,0x9f,0xeb,0x04,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_xyzw v[0:3], v4, s[0:3], 0 format:115 offen ; encoding: [0x00,0x10,0x9f,0xeb,0x04,0x00,0x00,0x80] + +0x00,0x20,0x7f,0xe9,0x04,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_xyzw v[0:3], v4, s[0:3], 0 format:[BUF_FMT_10_10_10_2_SSCALED] idxen ; encoding: [0x00,0x20,0x7f,0xe9,0x04,0x00,0x00,0x80] + +0x00,0x20,0xff,0xe9,0x04,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_xyzw v[0:3], v4, s[0:3], 0 format:[BUF_FMT_32_32_SINT] idxen ; encoding: [0x00,0x20,0xff,0xe9,0x04,0x00,0x00,0x80] + +0x00,0x20,0x77,0xe9,0x06,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_xyzw v[0:3], v6, s[0:3], 0 format:[BUF_FMT_10_10_10_2_USCALED] idxen ; encoding: [0x00,0x20,0x77,0xe9,0x06,0x00,0x00,0x80] + +0x00,0x30,0x37,0xea,0x04,0x00,0x00,0x80 +# GFX10: tbuffer_store_format_xyzw v[0:3], v[4:5], s[0:3], 0 format:[BUF_FMT_16_16_16_16_SINT] idxen offen ; encoding: [0x00,0x30,0x37,0xea,0x04,0x00,0x00,0x80] + +0x00,0x40,0xef,0xe9,0x00,0x04,0x00,0x80 +# GFX10: tbuffer_store_format_xyzw v[4:7], off, s[0:3], 0 format:[BUF_FMT_8_8_8_8_SINT] glc ; encoding: [0x00,0x40,0xef,0xe9,0x00,0x04,0x00,0x80] + +0x00,0x00,0x77,0xea,0x00,0x08,0x00,0x80 +# GFX10: tbuffer_store_format_xyzw v[8:11], off, s[0:3], 0 format:78 ; encoding: [0x00,0x00,0x77,0xea,0x00,0x08,0x00,0x80] + +0x00,0x00,0x77,0xea,0x00,0x08,0x40,0x80 +# GFX10: tbuffer_store_format_xyzw v[8:11], off, s[0:3], 0 format:78 slc ; encoding: [0x00,0x00,0x77,0xea,0x00,0x08,0x40,0x80] diff --git a/tests/data/llvm-amdgpu/gfx10_mubuf.txt b/tests/data/llvm-amdgpu/gfx10_mubuf.txt new file mode 100644 index 0000000..ced5cf9 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_mubuf.txt @@ -0,0 +1,2347 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0xff,0x0f,0xc8,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_add v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xc8,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xc8,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_add v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xc8,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_add v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_add v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_add v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_add v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xc8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xc8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xc8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xc8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xc8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc8,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_add v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xc8,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xc8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xc8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc8,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_add v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xc8,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xc8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xc8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xc8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xc8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x48,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_add_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x48,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x48,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x48,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x48,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x48,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x48,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x48,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x48,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x48,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x48,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x48,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x48,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x48,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_add_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x48,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x48,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x48,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x48,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_add_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x48,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe4,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_and v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xe4,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xe4,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_and v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xe4,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_and v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_and v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_and v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_and v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xe4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xe4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xe4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xe4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xe4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe4,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_and v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xe4,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xe4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xe4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe4,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_and v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xe4,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xe4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xe4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xe4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xe4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x64,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_and_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x64,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x64,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x64,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x64,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x64,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x64,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x64,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x64,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x64,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x64,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x64,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x64,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x64,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_and_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x64,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x64,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x64,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x64,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_and_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x64,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc4,0xe0,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_cmpswap v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xc4,0xe0,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0xc4,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xc4,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xc4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0xc4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xc4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xc4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xc4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc4,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xc4,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xc4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xc4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc4,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_cmpswap v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xc4,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xc4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xc4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xc4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xc4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x44,0xe1,0x00,0xfc,0x02,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[252:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0xfc,0x02,0x03] + +0xff,0x0f,0x44,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x44,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[8:11], s3 ; encoding: [0x00,0x00,0x44,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x44,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x44,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x44,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x44,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x44,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x44,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x44,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x44,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x44,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x44,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_cmpswap_x2 v[5:8], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x44,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xf4,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_dec v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xf4,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xf4,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_dec v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xf4,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_dec v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_dec v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_dec v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_dec v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xf4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xf4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xf4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xf4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xf4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xf4,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_dec v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xf4,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xf4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xf4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xf4,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_dec v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xf4,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xf4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xf4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xf4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xf4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x74,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_dec_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x74,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x74,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x74,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x74,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x74,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x74,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x74,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x74,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x74,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x74,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_dec_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x74,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x74,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x74,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_dec_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x74,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xf8,0xe0,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_fcmpswap v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xf8,0xe0,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0xf8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_fcmpswap v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xf8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x78,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_fcmpswap_x2 v[5:8], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x78,0xe1,0x00,0x05,0x02,0x03] + +0x07,0x00,0x78,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_fcmpswap_x2 v[5:8], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x78,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x2f,0x00,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_fmax v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x00,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x80,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_fmax_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x80,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x80,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_fmax_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x05,0x42,0x03] + +0x00,0x00,0xfc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_fmin v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xfc,0xe0,0x00,0x05,0x02,0x03] + +0x07,0x00,0xfc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_fmin v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xfc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x7c,0xe1,0x00,0x05,0x1e,0x03 +# GFX10: buffer_atomic_fmin_x2 v[5:6], off, ttmp[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe1,0x00,0x05,0x1e,0x03] + +0xff,0x0f,0xf0,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_inc v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xf0,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xf0,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_inc v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xf0,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_inc v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_inc v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_inc v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_inc v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xf0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xf0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xf0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xf0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xf0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xf0,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_inc v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xf0,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xf0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xf0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xf0,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_inc v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xf0,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xf0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xf0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xf0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xf0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x70,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_inc_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x70,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x70,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x70,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x70,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x70,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x70,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x70,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x70,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x70,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x70,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_inc_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x70,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x70,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x70,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_inc_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x70,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe8,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_or v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xe8,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xe8,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_or v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xe8,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_or v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_or v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_or v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_or v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xe8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xe8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xe8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xe8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xe8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe8,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_or v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xe8,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xe8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xe8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe8,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_or v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xe8,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xe8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xe8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xe8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xe8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x68,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_or_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x68,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x68,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x68,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x68,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x68,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x68,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x68,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x68,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x68,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x68,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_or_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x68,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x68,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x68,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_or_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x68,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xdc,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_smax v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xdc,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xdc,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_smax v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xdc,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_smax v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_smax v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_smax v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_smax v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xdc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xdc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xdc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xdc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xdc,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_smax v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xdc,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xdc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xdc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xdc,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_smax v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xdc,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xdc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xdc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xdc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xdc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x5c,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_smax_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x5c,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x5c,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x5c,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x5c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x5c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x5c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x5c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x5c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x5c,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x5c,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x5c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x5c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x5c,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_smax_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x5c,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x5c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x5c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x5c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smax_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x5c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xd4,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_smin v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xd4,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xd4,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_smin v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xd4,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_smin v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_smin v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_smin v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_smin v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xd4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xd4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xd4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xd4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xd4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xd4,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_smin v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xd4,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xd4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xd4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xd4,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_smin v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xd4,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xd4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xd4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xd4,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xd4,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x54,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_smin_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x54,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x54,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x54,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x54,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x54,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x54,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x54,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x54,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x54,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x54,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x54,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x54,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x54,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_smin_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x54,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x54,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x54,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x54,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_smin_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x54,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xcc,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_sub v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xcc,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xcc,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_sub v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xcc,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_sub v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_sub v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_sub v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_sub v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xcc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xcc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xcc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xcc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xcc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xcc,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_sub v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xcc,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xcc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xcc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xcc,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_sub v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xcc,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xcc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xcc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xcc,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xcc,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x4c,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_sub_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x4c,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x4c,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x4c,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x4c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x4c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x4c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x4c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x4c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x4c,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x4c,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x4c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x4c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x4c,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_sub_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x4c,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x4c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x4c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x4c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_sub_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x4c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc0,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_swap v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xc0,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xc0,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_swap v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xc0,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_swap v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_swap v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_swap v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_swap v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xc0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xc0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xc0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xc0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xc0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc0,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_swap v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xc0,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xc0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xc0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xc0,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_swap v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xc0,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xc0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xc0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xc0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xc0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x40,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_swap_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x40,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x40,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x40,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x40,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x40,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x40,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x40,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x40,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x40,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_swap_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x40,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x40,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x40,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x40,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_swap_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x40,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe0,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_umax v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xe0,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xe0,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_umax v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xe0,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_umax v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_umax v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_umax v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_umax v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xe0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xe0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xe0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xe0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xe0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe0,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_umax v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xe0,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xe0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xe0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xe0,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_umax v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xe0,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xe0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xe0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xe0,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xe0,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x60,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_umax_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x60,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x60,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x60,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x60,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x60,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x60,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x60,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x60,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x60,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x60,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_umax_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x60,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x60,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x60,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umax_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x60,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xd8,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_umin v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xd8,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xd8,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_umin v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xd8,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_umin v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_umin v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_umin v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_umin v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xd8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xd8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xd8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xd8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xd8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xd8,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_umin v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xd8,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xd8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xd8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xd8,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_umin v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xd8,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xd8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xd8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xd8,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xd8,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x58,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_umin_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x58,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x58,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x58,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x58,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x58,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x58,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x58,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x58,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x58,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x58,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x58,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x58,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x58,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_umin_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x58,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x58,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x58,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x58,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_umin_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x58,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xec,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_atomic_xor v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xec,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0xec,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_xor v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0xec,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_xor v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_xor v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_xor v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_xor v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0xec,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0xec,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0xec,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0xec,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0xec,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xec,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_xor v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0xec,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0xec,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0xec,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0xec,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_xor v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0xec,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0xec,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0xec,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0xec,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0xec,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x6c,0xe1,0x00,0xfe,0x02,0x03 +# GFX10: buffer_atomic_xor_x2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x6c,0xe1,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x6c,0xe1,0x00,0x05,0x03,0x03 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x6c,0xe1,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0xc1 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0x80 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0x7c +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0x65 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0x65] + +0x00,0x00,0x6c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x6c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x6c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x6c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x6c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x6c,0xe1,0x00,0x05,0x42,0x03 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x6c,0xe1,0x00,0x05,0x42,0x03] + +0x07,0x00,0x6c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x6c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x6c,0xe1,0x00,0x05,0x18,0x03 +# GFX10: buffer_atomic_xor_x2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x6c,0xe1,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x6c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor_x2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x6c,0xe1,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x6c,0xe1,0x00,0x05,0x02,0x03 +# GFX10: buffer_atomic_xor_x2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x6c,0xe1,0x00,0x05,0x02,0x03] + +0x00,0x00,0xc4,0xe1,0x00,0x00,0x00,0x00 +# GFX10: buffer_gl0_inv ; encoding: [0x00,0x00,0xc4,0xe1,0x00,0x00,0x00,0x00] + +0x00,0x00,0xc8,0xe1,0x00,0x00,0x00,0x00 +# GFX10: buffer_gl1_inv ; encoding: [0x00,0x00,0xc8,0xe1,0x00,0x00,0x00,0x00] + +0xff,0x0f,0x30,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_load_dword v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_dword v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_dword v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_dword v5, off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_dword v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_dword v5, off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_dword v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_dword v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x30,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dword v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0x30,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dword v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x30,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dword v5, off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x30,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x30,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dword v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x30,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x30,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_dword v5, off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x30,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_dword v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x30,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dword v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x30,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x30,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_dword v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x30,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x30,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dword v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x30,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x30,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dword v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x30,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x34,0xe0,0x00,0xfe,0x02,0x03 +# GFX10: buffer_load_dwordx2 v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x34,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x34,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x34,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x34,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x34,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x34,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x34,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x34,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x34,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x34,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x34,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x34,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x34,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x34,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x34,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx2 v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x34,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x3c,0xe0,0x00,0xfd,0x02,0x03 +# GFX10: buffer_load_dwordx3 v[253:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0xfd,0x02,0x03] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x3c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], s3 ; encoding: [0x00,0x00,0x3c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x3c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x3c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x3c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x3c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x3c,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x3c,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x3c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x3c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x3c,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x3c,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x3c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x3c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x3c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx3 v[5:7], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x3c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x38,0xe0,0x00,0xfc,0x02,0x03 +# GFX10: buffer_load_dwordx4 v[252:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0xfc,0x02,0x03] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x38,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], s3 ; encoding: [0x00,0x00,0x38,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x38,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x38,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x38,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x38,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x38,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x38,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x38,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x38,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x38,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x38,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x38,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x38,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x38,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_dwordx4 v[5:8], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x38,0xe0,0x00,0x05,0x02,0x03] + +0x00,0x00,0x98,0xe0,0x00,0x01,0x01,0x01 +# GFX10: buffer_load_format_d16_hi_x v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x98,0xe0,0x00,0x01,0x01,0x01] + +0x00,0x00,0x00,0xe2,0x00,0x01,0x01,0x01 +# GFX10: buffer_load_format_d16_x v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x00,0xe2,0x00,0x01,0x01,0x01] + +0x00,0x00,0x04,0xe2,0x00,0x01,0x01,0x01 +# GFX10: buffer_load_format_d16_xy v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x04,0xe2,0x00,0x01,0x01,0x01] + +0x00,0x00,0x08,0xe2,0x00,0x01,0x01,0x01 +# GFX10: buffer_load_format_d16_xyz v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x08,0xe2,0x00,0x01,0x01,0x01] + +0x00,0x00,0x0c,0xe2,0x00,0x01,0x01,0x01 +# GFX10: buffer_load_format_d16_xyzw v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x0c,0xe2,0x00,0x01,0x01,0x01] + +0xff,0x0f,0x00,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_load_format_x v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_format_x v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_format_x v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_format_x v5, off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_format_x v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_format_x v5, off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_format_x v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_format_x v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x00,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_x v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0x00,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_x v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x00,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_x v5, off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x00,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x00,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_x v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x00,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x00,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_format_x v5, off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x00,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_format_x v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x00,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_x v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x00,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x00,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_format_x v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x00,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_x v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x00,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x00,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_x v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x00,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x04,0xe0,0x00,0xfe,0x02,0x03 +# GFX10: buffer_load_format_xy v[254:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0xfe,0x02,0x03] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_format_xy v[5:6], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x04,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], s3 ; encoding: [0x00,0x00,0x04,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x04,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x04,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x04,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x04,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x04,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x04,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x04,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xy v[5:6], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x04,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x04,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_format_xy v[5:6], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x04,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xy v[5:6], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x04,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x04,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xy v[5:6], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x04,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x08,0xe0,0x00,0xfd,0x02,0x03 +# GFX10: buffer_load_format_xyz v[253:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0xfd,0x02,0x03] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_format_xyz v[5:7], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x08,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], s3 ; encoding: [0x00,0x00,0x08,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x08,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x08,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x08,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x08,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x08,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x08,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x08,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyz v[5:7], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x08,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x08,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_format_xyz v[5:7], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x08,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyz v[5:7], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x08,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x08,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyz v[5:7], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x08,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x0c,0xe0,0x00,0xfc,0x02,0x03 +# GFX10: buffer_load_format_xyzw v[252:255], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0xfc,0x02,0x03] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x0c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], s3 ; encoding: [0x00,0x00,0x0c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x0c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x0c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x0c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x0c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x0c,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x0c,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x0c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x0c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x0c,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x0c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x0c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x0c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_format_xyzw v[5:8], v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x0c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x24,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_load_sbyte v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_sbyte v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_sbyte v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_sbyte v5, off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_sbyte v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_sbyte v5, off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_sbyte v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_sbyte v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x24,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sbyte v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0x24,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sbyte v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x24,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sbyte v5, off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x24,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x24,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sbyte v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x24,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x24,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_sbyte v5, off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x24,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_sbyte v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x24,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sbyte v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x24,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x24,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_sbyte v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x24,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x24,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sbyte v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x24,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x24,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sbyte v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x24,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x2c,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_load_sshort v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_sshort v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_sshort v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_sshort v5, off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_sshort v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_sshort v5, off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_sshort v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_sshort v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x2c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sshort v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0x2c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sshort v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x2c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sshort v5, off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x2c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x2c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sshort v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x2c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x2c,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_sshort v5, off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x2c,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_sshort v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x2c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sshort v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x2c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x2c,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_sshort v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x2c,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x2c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sshort v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x2c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x2c,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_sshort v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x2c,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x20,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_load_ubyte v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_ubyte v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_ubyte v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_ubyte v5, off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_ubyte v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_ubyte v5, off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_ubyte v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_ubyte v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x20,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ubyte v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0x20,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ubyte v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x20,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ubyte v5, off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x20,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x20,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ubyte v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x20,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x20,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_ubyte v5, off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x20,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_ubyte v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x20,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ubyte v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x20,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x20,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_ubyte v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x20,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x20,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ubyte v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x20,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x20,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ubyte v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x20,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x28,0xe0,0x00,0xff,0x02,0x03 +# GFX10: buffer_load_ushort v255, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0xff,0x02,0x03] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x03,0x03 +# GFX10: buffer_load_ushort v5, off, s[12:15], s3 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x03,0x03] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0xc1 +# GFX10: buffer_load_ushort v5, off, s[8:11], -1 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0xc1] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0xf7 +# GFX10: buffer_load_ushort v5, off, s[8:11], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0xf7] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0x80 +# GFX10: buffer_load_ushort v5, off, s[8:11], 0 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0x80] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0xf0 +# GFX10: buffer_load_ushort v5, off, s[8:11], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0xf0] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0x7c +# GFX10: buffer_load_ushort v5, off, s[8:11], m0 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0x7c] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0x65 +# GFX10: buffer_load_ushort v5, off, s[8:11], s101 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0x65] + +0x00,0x00,0x28,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ushort v5, off, s[8:11], s3 ; encoding: [0x00,0x00,0x28,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ushort v5, off, s[8:11], s3 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x8f,0x28,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ushort v5, off, s[8:11], s3 offset:4095 dlc ; encoding: [0xff,0x8f,0x28,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x4f,0x28,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ushort v5, off, s[8:11], s3 offset:4095 glc ; encoding: [0xff,0x4f,0x28,0xe0,0x00,0x05,0x02,0x03] + +0xff,0xcf,0x28,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_ushort v5, off, s[8:11], s3 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x28,0xe0,0x00,0x05,0x42,0x03] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x42,0x03 +# GFX10: buffer_load_ushort v5, off, s[8:11], s3 offset:4095 slc ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x42,0x03] + +0x07,0x00,0x28,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ushort v5, off, s[8:11], s3 offset:7 ; encoding: [0x07,0x00,0x28,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x28,0xe0,0x00,0x05,0x18,0x03 +# GFX10: buffer_load_ushort v5, off, s[96:99], s3 offset:4095 ; encoding: [0xff,0x0f,0x28,0xe0,0x00,0x05,0x18,0x03] + +0xff,0x2f,0x28,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ushort v5, v0, s[8:11], s3 idxen offset:4095 ; encoding: [0xff,0x2f,0x28,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x1f,0x28,0xe0,0x00,0x05,0x02,0x03 +# GFX10: buffer_load_ushort v5, v0, s[8:11], s3 offen offset:4095 ; encoding: [0xff,0x1f,0x28,0xe0,0x00,0x05,0x02,0x03] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_byte v1, off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_byte v1, off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_byte v1, off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_byte v1, off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_byte v1, off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_byte v1, off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x60,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_byte v1, off, s[12:15], s4 ; encoding: [0x00,0x00,0x60,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_byte v1, off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x8f,0x60,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_byte v1, off, s[12:15], s4 offset:4095 dlc ; encoding: [0xff,0x8f,0x60,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x60,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_byte v1, off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x60,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x60,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_byte v1, off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x60,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_byte v1, off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x60,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_byte v1, off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x60,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_byte v1, off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x60,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_byte v1, off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x60,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_byte v1, v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x60,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x60,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_byte v1, v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x60,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x60,0xe0,0x00,0xff,0x03,0x04 +# GFX10: buffer_store_byte v255, off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0xff,0x03,0x04] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_dword v1, off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_dword v1, off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_dword v1, off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_dword v1, off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_dword v1, off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_dword v1, off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x70,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dword v1, off, s[12:15], s4 ; encoding: [0x00,0x00,0x70,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dword v1, off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x8f,0x70,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dword v1, off, s[12:15], s4 offset:4095 dlc ; encoding: [0xff,0x8f,0x70,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x70,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dword v1, off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x70,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x70,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_dword v1, off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x70,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_dword v1, off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x70,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dword v1, off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x70,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_dword v1, off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x70,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_dword v1, off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x70,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dword v1, v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x70,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x70,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dword v1, v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x70,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x70,0xe0,0x00,0xff,0x03,0x04 +# GFX10: buffer_store_dword v255, off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0xff,0x03,0x04] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x74,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], s4 ; encoding: [0x00,0x00,0x74,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x8f,0x74,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], s4 offset:4095 dlc ; encoding: [0xff,0x8f,0x74,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x74,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x74,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x74,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x74,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x74,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x74,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x74,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x74,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x74,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x74,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx2 v[1:2], v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x74,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x74,0xe0,0x00,0xfe,0x03,0x04 +# GFX10: buffer_store_dwordx2 v[254:255], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0xfe,0x03,0x04] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x7c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], s4 ; encoding: [0x00,0x00,0x7c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x7c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x7c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x7c,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x7c,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x7c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x7c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x7c,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x7c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x7c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x7c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx3 v[1:3], v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x7c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x7c,0xe0,0x00,0xfd,0x03,0x04 +# GFX10: buffer_store_dwordx3 v[253:255], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0xfd,0x03,0x04] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x78,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 ; encoding: [0x00,0x00,0x78,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x8f,0x78,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 offset:4095 dlc ; encoding: [0xff,0x8f,0x78,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x78,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x78,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x78,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x78,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x78,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x78,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x78,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x78,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x78,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x78,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_dwordx4 v[1:4], v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x78,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x78,0xe0,0x00,0xfc,0x03,0x04 +# GFX10: buffer_store_dwordx4 v[252:255], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0xfc,0x03,0x04] + +0x00,0x00,0x9c,0xe0,0x00,0x01,0x01,0x01 +# GFX10: buffer_store_format_d16_hi_x v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x9c,0xe0,0x00,0x01,0x01,0x01] + +0x00,0x00,0x10,0xe2,0x00,0x01,0x01,0x01 +# GFX10: buffer_store_format_d16_x v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x10,0xe2,0x00,0x01,0x01,0x01] + +0x00,0x00,0x14,0xe2,0x00,0x01,0x01,0x01 +# GFX10: buffer_store_format_d16_xy v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x14,0xe2,0x00,0x01,0x01,0x01] + +0x00,0x00,0x18,0xe2,0x00,0x01,0x01,0x01 +# GFX10: buffer_store_format_d16_xyz v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x18,0xe2,0x00,0x01,0x01,0x01] + +0x00,0x00,0x1c,0xe2,0x00,0x01,0x01,0x01 +# GFX10: buffer_store_format_d16_xyzw v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x1c,0xe2,0x00,0x01,0x01,0x01] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_format_x v1, off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_format_x v1, off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_format_x v1, off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_format_x v1, off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_format_x v1, off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_format_x v1, off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x10,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_x v1, off, s[12:15], s4 ; encoding: [0x00,0x00,0x10,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_x v1, off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x8f,0x10,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_x v1, off, s[12:15], s4 offset:4095 dlc ; encoding: [0xff,0x8f,0x10,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x10,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_x v1, off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x10,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x10,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_format_x v1, off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x10,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_format_x v1, off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x10,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_x v1, off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x10,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_format_x v1, off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x10,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_format_x v1, off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x10,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_x v1, v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x10,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x10,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_x v1, v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x10,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x10,0xe0,0x00,0xff,0x03,0x04 +# GFX10: buffer_store_format_x v255, off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0xff,0x03,0x04] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x14,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], s4 ; encoding: [0x00,0x00,0x14,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x8f,0x14,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], s4 offset:4095 dlc ; encoding: [0xff,0x8f,0x14,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x14,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x14,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x14,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x14,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x14,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xy v[1:2], off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x14,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_format_xy v[1:2], off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x14,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_format_xy v[1:2], off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x14,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xy v[1:2], v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x14,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x14,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xy v[1:2], v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x14,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x14,0xe0,0x00,0xfe,0x03,0x04 +# GFX10: buffer_store_format_xy v[254:255], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0xfe,0x03,0x04] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x18,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], s4 ; encoding: [0x00,0x00,0x18,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x8f,0x18,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], s4 offset:4095 dlc ; encoding: [0xff,0x8f,0x18,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x18,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x18,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x18,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x18,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x18,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyz v[1:3], off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x18,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_format_xyz v[1:3], off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x18,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_format_xyz v[1:3], off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x18,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyz v[1:3], v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x18,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x18,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyz v[1:3], v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x18,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x18,0xe0,0x00,0xfd,0x03,0x04 +# GFX10: buffer_store_format_xyz v[253:255], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0xfd,0x03,0x04] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x1c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], s4 ; encoding: [0x00,0x00,0x1c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x8f,0x1c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], s4 offset:4095 dlc ; encoding: [0xff,0x8f,0x1c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x1c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x1c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x1c,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x1c,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x1c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x1c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x1c,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x1c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x1c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x1c,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_format_xyzw v[1:4], v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x1c,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x1c,0xe0,0x00,0xfc,0x03,0x04 +# GFX10: buffer_store_format_xyzw v[252:255], off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0xfc,0x03,0x04] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xc1 +# GFX10: buffer_store_short v1, off, s[12:15], -1 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xc1] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xf7 +# GFX10: buffer_store_short v1, off, s[12:15], -4.0 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xf7] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x80 +# GFX10: buffer_store_short v1, off, s[12:15], 0 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x80] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xf0 +# GFX10: buffer_store_short v1, off, s[12:15], 0.5 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0xf0] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x7c +# GFX10: buffer_store_short v1, off, s[12:15], m0 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x7c] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x65 +# GFX10: buffer_store_short v1, off, s[12:15], s101 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x65] + +0x00,0x00,0x68,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_short v1, off, s[12:15], s4 ; encoding: [0x00,0x00,0x68,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_short v1, off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x8f,0x68,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_short v1, off, s[12:15], s4 offset:4095 dlc ; encoding: [0xff,0x8f,0x68,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x4f,0x68,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_short v1, off, s[12:15], s4 offset:4095 glc ; encoding: [0xff,0x4f,0x68,0xe0,0x00,0x01,0x03,0x04] + +0xff,0xcf,0x68,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_short v1, off, s[12:15], s4 offset:4095 glc slc dlc ; encoding: [0xff,0xcf,0x68,0xe0,0x00,0x01,0x43,0x04] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x43,0x04 +# GFX10: buffer_store_short v1, off, s[12:15], s4 offset:4095 slc ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x43,0x04] + +0x07,0x00,0x68,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_short v1, off, s[12:15], s4 offset:7 ; encoding: [0x07,0x00,0x68,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x04,0x04 +# GFX10: buffer_store_short v1, off, s[16:19], s4 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x04,0x04] + +0xff,0x0f,0x68,0xe0,0x00,0x01,0x18,0x04 +# GFX10: buffer_store_short v1, off, s[96:99], s4 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x01,0x18,0x04] + +0xff,0x2f,0x68,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_short v1, v0, s[12:15], s4 idxen offset:4095 ; encoding: [0xff,0x2f,0x68,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x1f,0x68,0xe0,0x00,0x01,0x03,0x04 +# GFX10: buffer_store_short v1, v0, s[12:15], s4 offen offset:4095 ; encoding: [0xff,0x1f,0x68,0xe0,0x00,0x01,0x03,0x04] + +0xff,0x0f,0x68,0xe0,0x00,0xff,0x03,0x04 +# GFX10: buffer_store_short v255, off, s[12:15], s4 offset:4095 ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0xff,0x03,0x04] diff --git a/tests/data/llvm-amdgpu/gfx10_smem.txt b/tests/data/llvm-amdgpu/gfx10_smem.txt new file mode 100644 index 0000000..29e9fad --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_smem.txt @@ -0,0 +1,1279 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0xc2,0x01,0x98,0xf4,0x64,0x00,0x00,0xfa +# GFX10: s_atc_probe 7, s[4:5], 0x64 ; encoding: [0xc2,0x01,0x98,0xf4,0x64,0x00,0x00,0xfa] + +0xc2,0x01,0x98,0xf4,0x00,0x00,0x00,0x04 +# GFX10: s_atc_probe 7, s[4:5], s2 ; encoding: [0xc2,0x01,0x98,0xf4,0x00,0x00,0x00,0x04] + +0xc2,0x01,0x98,0xf4,0x64,0x00,0x00,0x12 +# GFX10: s_atc_probe 7, s[4:5], s9 offset:0x64 ; encoding: [0xc2,0x01,0x98,0xf4,0x64,0x00,0x00,0x12] + +0xc4,0x01,0x9c,0xf4,0x64,0x00,0x00,0xfa +# GFX10: s_atc_probe_buffer 7, s[8:11], 0x64 ; encoding: [0xc4,0x01,0x9c,0xf4,0x64,0x00,0x00,0xfa] + +0xc4,0x01,0x9c,0xf4,0x00,0x00,0x00,0x04 +# GFX10: s_atc_probe_buffer 7, s[8:11], s2 ; encoding: [0xc4,0x01,0x9c,0xf4,0x00,0x00,0x00,0x04] + +0xc4,0x01,0x9c,0xf4,0x64,0x00,0x00,0x12 +# GFX10: s_atc_probe_buffer 7, s[8:11], s9 offset:0x64 ; encoding: [0xc4,0x01,0x9c,0xf4,0x64,0x00,0x00,0x12] + +0x41,0x01,0x08,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_add s5, s[2:3], 0x64 ; encoding: [0x41,0x01,0x08,0xf6,0x64,0x00,0x00,0xfa] + +0x41,0x41,0x08,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_add s5, s[2:3], 0x64 dlc ; encoding: [0x41,0x41,0x08,0xf6,0x64,0x00,0x00,0xfa] + +0x41,0x01,0x09,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_add s5, s[2:3], 0x64 glc ; encoding: [0x41,0x01,0x09,0xf6,0x64,0x00,0x00,0xfa] + +0x41,0x01,0x08,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_add s5, s[2:3], s101 ; encoding: [0x41,0x01,0x08,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x41,0x08,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_add s5, s[2:3], s101 dlc ; encoding: [0x41,0x41,0x08,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x09,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_add s5, s[2:3], s101 glc ; encoding: [0x41,0x01,0x09,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x08,0xf6,0x64,0x00,0x00,0x0e +# GFX10: s_atomic_add s5, s[2:3], s7 offset:0x64 ; encoding: [0x41,0x01,0x08,0xf6,0x64,0x00,0x00,0x0e] + +0x41,0x01,0x09,0xf6,0x64,0x00,0x00,0x0e +# GFX10: s_atomic_add s5, s[2:3], s7 offset:0x64 glc ; encoding: [0x41,0x01,0x09,0xf6,0x64,0x00,0x00,0x0e] + +0x81,0x02,0x88,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_add_x2 s[10:11], s[2:3], s101 ; encoding: [0x81,0x02,0x88,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x42,0x88,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_add_x2 s[10:11], s[2:3], s101 dlc ; encoding: [0x81,0x42,0x88,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x02,0x89,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_add_x2 s[10:11], s[2:3], s101 glc ; encoding: [0x81,0x02,0x89,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x20,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_and s5, s[2:3], s101 ; encoding: [0x41,0x01,0x20,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x41,0x20,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_and s5, s[2:3], s101 dlc ; encoding: [0x41,0x41,0x20,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x21,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_and s5, s[2:3], s101 glc ; encoding: [0x41,0x01,0x21,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x02,0xa0,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_and_x2 s[10:11], s[2:3], 0x64 ; encoding: [0x81,0x02,0xa0,0xf6,0x64,0x00,0x00,0xfa] + +0x81,0x42,0xa0,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_and_x2 s[10:11], s[2:3], 0x64 dlc ; encoding: [0x81,0x42,0xa0,0xf6,0x64,0x00,0x00,0xfa] + +0x81,0x02,0xa1,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_and_x2 s[10:11], s[2:3], 0x64 glc ; encoding: [0x81,0x02,0xa1,0xf6,0x64,0x00,0x00,0xfa] + +0x81,0x02,0x04,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_cmpswap s[10:11], s[2:3], 0x64 ; encoding: [0x81,0x02,0x04,0xf6,0x64,0x00,0x00,0xfa] + +0x81,0x42,0x04,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_cmpswap s[10:11], s[2:3], 0x64 dlc ; encoding: [0x81,0x42,0x04,0xf6,0x64,0x00,0x00,0xfa] + +0x81,0x02,0x05,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_cmpswap s[10:11], s[2:3], 0x64 glc ; encoding: [0x81,0x02,0x05,0xf6,0x64,0x00,0x00,0xfa] + +0x81,0x02,0x04,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_cmpswap s[10:11], s[2:3], s101 ; encoding: [0x81,0x02,0x04,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x42,0x04,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_cmpswap s[10:11], s[2:3], s101 dlc ; encoding: [0x81,0x42,0x04,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x02,0x05,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_cmpswap s[10:11], s[2:3], s101 glc ; encoding: [0x81,0x02,0x05,0xf6,0x00,0x00,0x00,0xca] + +0x01,0x05,0x84,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_cmpswap_x2 s[20:23], s[2:3], 0x64 ; encoding: [0x01,0x05,0x84,0xf6,0x64,0x00,0x00,0xfa] + +0x01,0x45,0x84,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_cmpswap_x2 s[20:23], s[2:3], 0x64 dlc ; encoding: [0x01,0x45,0x84,0xf6,0x64,0x00,0x00,0xfa] + +0x01,0x05,0x85,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_cmpswap_x2 s[20:23], s[2:3], 0x64 glc ; encoding: [0x01,0x05,0x85,0xf6,0x64,0x00,0x00,0xfa] + +0x01,0x05,0x84,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_cmpswap_x2 s[20:23], s[2:3], s101 ; encoding: [0x01,0x05,0x84,0xf6,0x00,0x00,0x00,0xca] + +0x01,0x45,0x84,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_cmpswap_x2 s[20:23], s[2:3], s101 dlc ; encoding: [0x01,0x45,0x84,0xf6,0x00,0x00,0x00,0xca] + +0x01,0x05,0x85,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_cmpswap_x2 s[20:23], s[2:3], s101 glc ; encoding: [0x01,0x05,0x85,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x02,0xb0,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_dec_x2 s[10:11], s[2:3], s101 ; encoding: [0x81,0x02,0xb0,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x42,0xb0,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_dec_x2 s[10:11], s[2:3], s101 dlc ; encoding: [0x81,0x42,0xb0,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x02,0xb1,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_dec_x2 s[10:11], s[2:3], s101 glc ; encoding: [0x81,0x02,0xb1,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x02,0xac,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_inc_x2 s[10:11], s[2:3], s101 ; encoding: [0x81,0x02,0xac,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x42,0xac,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_inc_x2 s[10:11], s[2:3], s101 dlc ; encoding: [0x81,0x42,0xac,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x02,0xad,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_inc_x2 s[10:11], s[2:3], s101 glc ; encoding: [0x81,0x02,0xad,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x24,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_or s5, s[2:3], 0x64 ; encoding: [0x41,0x01,0x24,0xf6,0x64,0x00,0x00,0xfa] + +0x41,0x41,0x24,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_or s5, s[2:3], 0x64 dlc ; encoding: [0x41,0x41,0x24,0xf6,0x64,0x00,0x00,0xfa] + +0x41,0x01,0x25,0xf6,0x64,0x00,0x00,0xfa +# GFX10: s_atomic_or s5, s[2:3], 0x64 glc ; encoding: [0x41,0x01,0x25,0xf6,0x64,0x00,0x00,0xfa] + +0x41,0x01,0x18,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_smax s5, s[2:3], s101 ; encoding: [0x41,0x01,0x18,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x41,0x18,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_smax s5, s[2:3], s101 dlc ; encoding: [0x41,0x41,0x18,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x19,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_smax s5, s[2:3], s101 glc ; encoding: [0x41,0x01,0x19,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x10,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_smin s5, s[2:3], s101 ; encoding: [0x41,0x01,0x10,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x41,0x10,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_smin s5, s[2:3], s101 dlc ; encoding: [0x41,0x41,0x10,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x11,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_smin s5, s[2:3], s101 glc ; encoding: [0x41,0x01,0x11,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x0c,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_sub s5, s[2:3], s101 ; encoding: [0x41,0x01,0x0c,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x41,0x0c,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_sub s5, s[2:3], s101 dlc ; encoding: [0x41,0x41,0x0c,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x0d,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_sub s5, s[2:3], s101 glc ; encoding: [0x41,0x01,0x0d,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x00,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_swap s5, s[2:3], s101 ; encoding: [0x41,0x01,0x00,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x41,0x00,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_swap s5, s[2:3], s101 dlc ; encoding: [0x41,0x41,0x00,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x01,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_swap s5, s[2:3], s101 glc ; encoding: [0x41,0x01,0x01,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x02,0x9c,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_umax_x2 s[10:11], s[2:3], s101 ; encoding: [0x81,0x02,0x9c,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x42,0x9c,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_umax_x2 s[10:11], s[2:3], s101 dlc ; encoding: [0x81,0x42,0x9c,0xf6,0x00,0x00,0x00,0xca] + +0x81,0x02,0x9d,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_umax_x2 s[10:11], s[2:3], s101 glc ; encoding: [0x81,0x02,0x9d,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x14,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_umin s5, s[2:3], s101 ; encoding: [0x41,0x01,0x14,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x41,0x14,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_umin s5, s[2:3], s101 dlc ; encoding: [0x41,0x41,0x14,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x15,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_umin s5, s[2:3], s101 glc ; encoding: [0x41,0x01,0x15,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x28,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_xor s5, s[2:3], s101 ; encoding: [0x41,0x01,0x28,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x41,0x28,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_xor s5, s[2:3], s101 dlc ; encoding: [0x41,0x41,0x28,0xf6,0x00,0x00,0x00,0xca] + +0x41,0x01,0x29,0xf6,0x00,0x00,0x00,0xca +# GFX10: s_atomic_xor s5, s[2:3], s101 glc ; encoding: [0x41,0x01,0x29,0xf6,0x00,0x00,0x00,0xca] + +0x42,0x01,0x08,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_add s5, s[4:7], 0x64 ; encoding: [0x42,0x01,0x08,0xf5,0x64,0x00,0x00,0xfa] + +0x42,0x41,0x08,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_add s5, s[4:7], 0x64 dlc ; encoding: [0x42,0x41,0x08,0xf5,0x64,0x00,0x00,0xfa] + +0x42,0x01,0x09,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_add s5, s[4:7], 0x64 glc ; encoding: [0x42,0x01,0x09,0xf5,0x64,0x00,0x00,0xfa] + +0x42,0x01,0x08,0xf5,0x00,0x00,0x00,0xca +# GFX10: s_buffer_atomic_add s5, s[4:7], s101 ; encoding: [0x42,0x01,0x08,0xf5,0x00,0x00,0x00,0xca] + +0x42,0x41,0x08,0xf5,0x00,0x00,0x00,0xca +# GFX10: s_buffer_atomic_add s5, s[4:7], s101 dlc ; encoding: [0x42,0x41,0x08,0xf5,0x00,0x00,0x00,0xca] + +0x42,0x01,0x09,0xf5,0x00,0x00,0x00,0xca +# GFX10: s_buffer_atomic_add s5, s[4:7], s101 glc ; encoding: [0x42,0x01,0x09,0xf5,0x00,0x00,0x00,0xca] + +0x82,0x02,0x88,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_add_x2 s[10:11], s[4:7], s2 ; encoding: [0x82,0x02,0x88,0xf5,0x00,0x00,0x00,0x04] + +0x82,0x42,0x88,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_add_x2 s[10:11], s[4:7], s2 dlc ; encoding: [0x82,0x42,0x88,0xf5,0x00,0x00,0x00,0x04] + +0x82,0x02,0x89,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_add_x2 s[10:11], s[4:7], s2 glc ; encoding: [0x82,0x02,0x89,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x19,0x20,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_and s101, s[4:7], s2 ; encoding: [0x42,0x19,0x20,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x59,0x20,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_and s101, s[4:7], s2 dlc ; encoding: [0x42,0x59,0x20,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x19,0x21,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_and s101, s[4:7], s2 glc ; encoding: [0x42,0x19,0x21,0xf5,0x00,0x00,0x00,0x04] + +0x84,0x02,0xa0,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_and_x2 s[10:11], s[8:11], s2 ; encoding: [0x84,0x02,0xa0,0xf5,0x00,0x00,0x00,0x04] + +0x84,0x42,0xa0,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_and_x2 s[10:11], s[8:11], s2 dlc ; encoding: [0x84,0x42,0xa0,0xf5,0x00,0x00,0x00,0x04] + +0x84,0x02,0xa1,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_and_x2 s[10:11], s[8:11], s2 glc ; encoding: [0x84,0x02,0xa1,0xf5,0x00,0x00,0x00,0x04] + +0x82,0x02,0x04,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_cmpswap s[10:11], s[4:7], 0x64 ; encoding: [0x82,0x02,0x04,0xf5,0x64,0x00,0x00,0xfa] + +0x82,0x42,0x04,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_cmpswap s[10:11], s[4:7], 0x64 dlc ; encoding: [0x82,0x42,0x04,0xf5,0x64,0x00,0x00,0xfa] + +0x82,0x02,0x05,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_cmpswap s[10:11], s[4:7], 0x64 glc ; encoding: [0x82,0x02,0x05,0xf5,0x64,0x00,0x00,0xfa] + +0x82,0x02,0x04,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_cmpswap s[10:11], s[4:7], s2 ; encoding: [0x82,0x02,0x04,0xf5,0x00,0x00,0x00,0x04] + +0x82,0x42,0x04,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_cmpswap s[10:11], s[4:7], s2 dlc ; encoding: [0x82,0x42,0x04,0xf5,0x00,0x00,0x00,0x04] + +0x82,0x02,0x05,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_cmpswap s[10:11], s[4:7], s2 glc ; encoding: [0x82,0x02,0x05,0xf5,0x00,0x00,0x00,0x04] + +0x02,0x05,0x84,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], 0x64 ; encoding: [0x02,0x05,0x84,0xf5,0x64,0x00,0x00,0xfa] + +0x02,0x45,0x84,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], 0x64 dlc ; encoding: [0x02,0x45,0x84,0xf5,0x64,0x00,0x00,0xfa] + +0x02,0x05,0x85,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], 0x64 glc ; encoding: [0x02,0x05,0x85,0xf5,0x64,0x00,0x00,0xfa] + +0x02,0x05,0x84,0xf5,0x00,0x00,0x00,0xca +# GFX10: s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], s101 ; encoding: [0x02,0x05,0x84,0xf5,0x00,0x00,0x00,0xca] + +0x02,0x45,0x84,0xf5,0x00,0x00,0x00,0xca +# GFX10: s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], s101 dlc ; encoding: [0x02,0x45,0x84,0xf5,0x00,0x00,0x00,0xca] + +0x02,0x05,0x85,0xf5,0x00,0x00,0x00,0xca +# GFX10: s_buffer_atomic_cmpswap_x2 s[20:23], s[4:7], s101 glc ; encoding: [0x02,0x05,0x85,0xf5,0x00,0x00,0x00,0xca] + +0x42,0x01,0x30,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_dec s5, s[4:7], s2 ; encoding: [0x42,0x01,0x30,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x41,0x30,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_dec s5, s[4:7], s2 dlc ; encoding: [0x42,0x41,0x30,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x31,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_dec s5, s[4:7], s2 glc ; encoding: [0x42,0x01,0x31,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x19,0x2c,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_inc s101, s[4:7], s2 ; encoding: [0x42,0x19,0x2c,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x59,0x2c,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_inc s101, s[4:7], s2 dlc ; encoding: [0x42,0x59,0x2c,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x19,0x2d,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_inc s101, s[4:7], s2 glc ; encoding: [0x42,0x19,0x2d,0xf5,0x00,0x00,0x00,0x04] + +0x82,0x02,0xac,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_inc_x2 s[10:11], s[4:7], 0x64 ; encoding: [0x82,0x02,0xac,0xf5,0x64,0x00,0x00,0xfa] + +0x82,0x42,0xac,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_inc_x2 s[10:11], s[4:7], 0x64 dlc ; encoding: [0x82,0x42,0xac,0xf5,0x64,0x00,0x00,0xfa] + +0x82,0x02,0xad,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_inc_x2 s[10:11], s[4:7], 0x64 glc ; encoding: [0x82,0x02,0xad,0xf5,0x64,0x00,0x00,0xfa] + +0x44,0x01,0x24,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_or s5, s[8:11], s2 ; encoding: [0x44,0x01,0x24,0xf5,0x00,0x00,0x00,0x04] + +0x44,0x41,0x24,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_or s5, s[8:11], s2 dlc ; encoding: [0x44,0x41,0x24,0xf5,0x00,0x00,0x00,0x04] + +0x44,0x01,0x25,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_or s5, s[8:11], s2 glc ; encoding: [0x44,0x01,0x25,0xf5,0x00,0x00,0x00,0x04] + +0xb0,0x02,0xa4,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_or_x2 s[10:11], s[96:99], s2 ; encoding: [0xb0,0x02,0xa4,0xf5,0x00,0x00,0x00,0x04] + +0xb0,0x42,0xa4,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_or_x2 s[10:11], s[96:99], s2 dlc ; encoding: [0xb0,0x42,0xa4,0xf5,0x00,0x00,0x00,0x04] + +0xb0,0x02,0xa5,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_or_x2 s[10:11], s[96:99], s2 glc ; encoding: [0xb0,0x02,0xa5,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x18,0xf5,0x00,0x00,0x00,0xca +# GFX10: s_buffer_atomic_smax s5, s[4:7], s101 ; encoding: [0x42,0x01,0x18,0xf5,0x00,0x00,0x00,0xca] + +0x42,0x41,0x18,0xf5,0x00,0x00,0x00,0xca +# GFX10: s_buffer_atomic_smax s5, s[4:7], s101 dlc ; encoding: [0x42,0x41,0x18,0xf5,0x00,0x00,0x00,0xca] + +0x42,0x01,0x19,0xf5,0x00,0x00,0x00,0xca +# GFX10: s_buffer_atomic_smax s5, s[4:7], s101 glc ; encoding: [0x42,0x01,0x19,0xf5,0x00,0x00,0x00,0xca] + +0x02,0x19,0x98,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_smax_x2 s[100:101], s[4:7], s2 ; encoding: [0x02,0x19,0x98,0xf5,0x00,0x00,0x00,0x04] + +0x02,0x59,0x98,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_smax_x2 s[100:101], s[4:7], s2 dlc ; encoding: [0x02,0x59,0x98,0xf5,0x00,0x00,0x00,0x04] + +0x02,0x19,0x99,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_smax_x2 s[100:101], s[4:7], s2 glc ; encoding: [0x02,0x19,0x99,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x10,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_smin s5, s[4:7], 0x64 ; encoding: [0x42,0x01,0x10,0xf5,0x64,0x00,0x00,0xfa] + +0x42,0x41,0x10,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_smin s5, s[4:7], 0x64 dlc ; encoding: [0x42,0x41,0x10,0xf5,0x64,0x00,0x00,0xfa] + +0x42,0x01,0x11,0xf5,0x64,0x00,0x00,0xfa +# GFX10: s_buffer_atomic_smin s5, s[4:7], 0x64 glc ; encoding: [0x42,0x01,0x11,0xf5,0x64,0x00,0x00,0xfa] + +0x02,0x03,0x90,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_smin_x2 s[12:13], s[4:7], s2 ; encoding: [0x02,0x03,0x90,0xf5,0x00,0x00,0x00,0x04] + +0x02,0x43,0x90,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_smin_x2 s[12:13], s[4:7], s2 dlc ; encoding: [0x02,0x43,0x90,0xf5,0x00,0x00,0x00,0x04] + +0x02,0x03,0x91,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_smin_x2 s[12:13], s[4:7], s2 glc ; encoding: [0x02,0x03,0x91,0xf5,0x00,0x00,0x00,0x04] + +0x82,0x02,0x8c,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_sub_x2 s[10:11], s[4:7], s2 ; encoding: [0x82,0x02,0x8c,0xf5,0x00,0x00,0x00,0x04] + +0x82,0x42,0x8c,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_sub_x2 s[10:11], s[4:7], s2 dlc ; encoding: [0x82,0x42,0x8c,0xf5,0x00,0x00,0x00,0x04] + +0x82,0x02,0x8d,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_sub_x2 s[10:11], s[4:7], s2 glc ; encoding: [0x82,0x02,0x8d,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x00,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_swap s5, s[4:7], s2 ; encoding: [0x42,0x01,0x00,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x41,0x00,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_swap s5, s[4:7], s2 dlc ; encoding: [0x42,0x41,0x00,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x01,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_swap s5, s[4:7], s2 glc ; encoding: [0x42,0x01,0x01,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x1c,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_umax s5, s[4:7], s2 ; encoding: [0x42,0x01,0x1c,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x41,0x1c,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_umax s5, s[4:7], s2 dlc ; encoding: [0x42,0x41,0x1c,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x1d,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_umax s5, s[4:7], s2 glc ; encoding: [0x42,0x01,0x1d,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x14,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_umin s5, s[4:7], s2 ; encoding: [0x42,0x01,0x14,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x41,0x14,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_umin s5, s[4:7], s2 dlc ; encoding: [0x42,0x41,0x14,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x15,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_umin s5, s[4:7], s2 glc ; encoding: [0x42,0x01,0x15,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x28,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_xor s5, s[4:7], s2 ; encoding: [0x42,0x01,0x28,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x41,0x28,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_xor s5, s[4:7], s2 dlc ; encoding: [0x42,0x41,0x28,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x01,0x29,0xf5,0x00,0x00,0x00,0x04 +# GFX10: s_buffer_atomic_xor s5, s[4:7], s2 glc ; encoding: [0x42,0x01,0x29,0xf5,0x00,0x00,0x00,0x04] + +0x42,0x19,0x20,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dword s101, s[4:7], s0 ; encoding: [0x42,0x19,0x20,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x41,0x21,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_buffer_load_dword s5, s[4:7], 0x1234 glc dlc ; encoding: [0x42,0x41,0x21,0xf4,0x34,0x12,0x00,0xfa] + +0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_buffer_load_dword s5, s[4:7], m0 ; encoding: [0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xf8] + +0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_buffer_load_dword s5, s[4:7], null ; encoding: [0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xfa] + +0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dword s5, s[4:7], s0 ; encoding: [0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x41,0x20,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dword s5, s[4:7], s0 dlc ; encoding: [0x42,0x41,0x20,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x01,0x21,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dword s5, s[4:7], s0 glc ; encoding: [0x42,0x01,0x21,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x41,0x21,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dword s5, s[4:7], s0 glc dlc ; encoding: [0x42,0x41,0x21,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x41,0x21,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_buffer_load_dword s5, s[4:7], s0 offset:0x12345 glc dlc ; encoding: [0x42,0x41,0x21,0xf4,0x45,0x23,0x01,0x00] + +0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_buffer_load_dword s5, s[4:7], s101 ; encoding: [0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xca] + +0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_buffer_load_dword s5, s[4:7], vcc_hi ; encoding: [0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xd6] + +0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_buffer_load_dword s5, s[4:7], vcc_lo ; encoding: [0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0xd4] + +0x44,0x01,0x20,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dword s5, s[8:11], s0 ; encoding: [0x44,0x01,0x20,0xf4,0x00,0x00,0x00,0x00] + +0x70,0x01,0x20,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dword s5, s[96:99], s0 ; encoding: [0x70,0x01,0x20,0xf4,0x00,0x00,0x00,0x00] + +0xc2,0x1a,0x20,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dword vcc_hi, s[4:7], s0 ; encoding: [0xc2,0x1a,0x20,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x1a,0x20,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dword vcc_lo, s[4:7], s0 ; encoding: [0x82,0x1a,0x20,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x31,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], 0x1234 glc dlc ; encoding: [0x02,0x45,0x31,0xf4,0x34,0x12,0x00,0xfa] + +0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], m0 ; encoding: [0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xf8] + +0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], null ; encoding: [0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xfa] + +0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], s0 ; encoding: [0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x30,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], s0 dlc ; encoding: [0x02,0x45,0x30,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x05,0x31,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], s0 glc ; encoding: [0x02,0x05,0x31,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x31,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], s0 glc dlc ; encoding: [0x02,0x45,0x31,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x31,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], s0 offset:0x12345 glc dlc ; encoding: [0x02,0x45,0x31,0xf4,0x45,0x23,0x01,0x00] + +0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], s101 ; encoding: [0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xca] + +0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], vcc_hi ; encoding: [0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xd6] + +0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[4:7], vcc_lo ; encoding: [0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0xd4] + +0x04,0x05,0x30,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[8:11], s0 ; encoding: [0x04,0x05,0x30,0xf4,0x00,0x00,0x00,0x00] + +0x30,0x05,0x30,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx16 s[20:35], s[96:99], s0 ; encoding: [0x30,0x05,0x30,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x06,0x30,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx16 s[24:39], s[4:7], s0 ; encoding: [0x02,0x06,0x30,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x15,0x30,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx16 s[84:99], s[4:7], s0 ; encoding: [0x02,0x15,0x30,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x19,0x24,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx2 s[100:101], s[4:7], s0 ; encoding: [0x02,0x19,0x24,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x42,0x25,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], 0x1234 glc dlc ; encoding: [0x82,0x42,0x25,0xf4,0x34,0x12,0x00,0xfa] + +0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], m0 ; encoding: [0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xf8] + +0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], null ; encoding: [0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xfa] + +0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], s0 ; encoding: [0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x42,0x24,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], s0 dlc ; encoding: [0x82,0x42,0x24,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x02,0x25,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], s0 glc ; encoding: [0x82,0x02,0x25,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x42,0x25,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], s0 glc dlc ; encoding: [0x82,0x42,0x25,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x42,0x25,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], s0 offset:0x12345 glc dlc ; encoding: [0x82,0x42,0x25,0xf4,0x45,0x23,0x01,0x00] + +0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], s101 ; encoding: [0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xca] + +0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], vcc_hi ; encoding: [0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xd6] + +0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[4:7], vcc_lo ; encoding: [0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0xd4] + +0x84,0x02,0x24,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[8:11], s0 ; encoding: [0x84,0x02,0x24,0xf4,0x00,0x00,0x00,0x00] + +0xb0,0x02,0x24,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx2 s[10:11], s[96:99], s0 ; encoding: [0xb0,0x02,0x24,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x03,0x24,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx2 s[12:13], s[4:7], s0 ; encoding: [0x02,0x03,0x24,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x1a,0x24,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx2 vcc, s[4:7], s0 ; encoding: [0x82,0x1a,0x24,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x29,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], 0x1234 glc dlc ; encoding: [0x02,0x45,0x29,0xf4,0x34,0x12,0x00,0xfa] + +0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], m0 ; encoding: [0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xf8] + +0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], null ; encoding: [0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xfa] + +0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], s0 ; encoding: [0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x28,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], s0 dlc ; encoding: [0x02,0x45,0x28,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x05,0x29,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], s0 glc ; encoding: [0x02,0x05,0x29,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x29,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], s0 glc dlc ; encoding: [0x02,0x45,0x29,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x29,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], s0 offset:0x12345 glc dlc ; encoding: [0x02,0x45,0x29,0xf4,0x45,0x23,0x01,0x00] + +0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], s101 ; encoding: [0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xca] + +0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], vcc_hi ; encoding: [0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xd6] + +0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[4:7], vcc_lo ; encoding: [0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0xd4] + +0x04,0x05,0x28,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[8:11], s0 ; encoding: [0x04,0x05,0x28,0xf4,0x00,0x00,0x00,0x00] + +0x30,0x05,0x28,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx4 s[20:23], s[96:99], s0 ; encoding: [0x30,0x05,0x28,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x06,0x28,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx4 s[24:27], s[4:7], s0 ; encoding: [0x02,0x06,0x28,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x18,0x28,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx4 s[96:99], s[4:7], s0 ; encoding: [0x02,0x18,0x28,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x2d,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], 0x1234 glc dlc ; encoding: [0x02,0x45,0x2d,0xf4,0x34,0x12,0x00,0xfa] + +0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], m0 ; encoding: [0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xf8] + +0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], null ; encoding: [0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xfa] + +0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], s0 ; encoding: [0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x2c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], s0 dlc ; encoding: [0x02,0x45,0x2c,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x05,0x2d,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], s0 glc ; encoding: [0x02,0x05,0x2d,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x2d,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], s0 glc dlc ; encoding: [0x02,0x45,0x2d,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x45,0x2d,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], s0 offset:0x12345 glc dlc ; encoding: [0x02,0x45,0x2d,0xf4,0x45,0x23,0x01,0x00] + +0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], s101 ; encoding: [0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xca] + +0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], vcc_hi ; encoding: [0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xd6] + +0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[4:7], vcc_lo ; encoding: [0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0xd4] + +0x04,0x05,0x2c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[8:11], s0 ; encoding: [0x04,0x05,0x2c,0xf4,0x00,0x00,0x00,0x00] + +0x30,0x05,0x2c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx8 s[20:27], s[96:99], s0 ; encoding: [0x30,0x05,0x2c,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x06,0x2c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx8 s[24:31], s[4:7], s0 ; encoding: [0x02,0x06,0x2c,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x17,0x2c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_load_dwordx8 s[92:99], s[4:7], s0 ; encoding: [0x02,0x17,0x2c,0xf4,0x00,0x00,0x00,0x00] + +0x46,0x00,0x60,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dword s1, s[12:15], s0 ; encoding: [0x46,0x00,0x60,0xf4,0x00,0x00,0x00,0x00] + +0x44,0x40,0x61,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_buffer_store_dword s1, s[8:11], 0x1234 glc dlc ; encoding: [0x44,0x40,0x61,0xf4,0x34,0x12,0x00,0xfa] + +0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_buffer_store_dword s1, s[8:11], m0 ; encoding: [0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xf8] + +0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_buffer_store_dword s1, s[8:11], null ; encoding: [0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xfa] + +0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dword s1, s[8:11], s0 ; encoding: [0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0x00] + +0x44,0x40,0x60,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dword s1, s[8:11], s0 dlc ; encoding: [0x44,0x40,0x60,0xf4,0x00,0x00,0x00,0x00] + +0x44,0x00,0x61,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dword s1, s[8:11], s0 glc ; encoding: [0x44,0x00,0x61,0xf4,0x00,0x00,0x00,0x00] + +0x44,0x40,0x61,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dword s1, s[8:11], s0 glc dlc ; encoding: [0x44,0x40,0x61,0xf4,0x00,0x00,0x00,0x00] + +0x44,0x40,0x61,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_buffer_store_dword s1, s[8:11], s0 offset:0x12345 glc dlc ; encoding: [0x44,0x40,0x61,0xf4,0x45,0x23,0x01,0x00] + +0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_buffer_store_dword s1, s[8:11], s101 ; encoding: [0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xca] + +0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_buffer_store_dword s1, s[8:11], vcc_hi ; encoding: [0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xd6] + +0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_buffer_store_dword s1, s[8:11], vcc_lo ; encoding: [0x44,0x00,0x60,0xf4,0x00,0x00,0x00,0xd4] + +0x70,0x00,0x60,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dword s1, s[96:99], s0 ; encoding: [0x70,0x00,0x60,0xf4,0x00,0x00,0x00,0x00] + +0x44,0x19,0x60,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dword s101, s[8:11], s0 ; encoding: [0x44,0x19,0x60,0xf4,0x00,0x00,0x00,0x00] + +0xc4,0x1a,0x60,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dword vcc_hi, s[8:11], s0 ; encoding: [0xc4,0x1a,0x60,0xf4,0x00,0x00,0x00,0x00] + +0x84,0x1a,0x60,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dword vcc_lo, s[8:11], s0 ; encoding: [0x84,0x1a,0x60,0xf4,0x00,0x00,0x00,0x00] + +0x04,0x19,0x64,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx2 s[100:101], s[8:11], s0 ; encoding: [0x04,0x19,0x64,0xf4,0x00,0x00,0x00,0x00] + +0x86,0x00,0x64,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[12:15], s0 ; encoding: [0x86,0x00,0x64,0xf4,0x00,0x00,0x00,0x00] + +0x84,0x40,0x65,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], 0x1234 glc dlc ; encoding: [0x84,0x40,0x65,0xf4,0x34,0x12,0x00,0xfa] + +0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], m0 ; encoding: [0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xf8] + +0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], null ; encoding: [0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xfa] + +0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], s0 ; encoding: [0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0x00] + +0x84,0x40,0x64,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], s0 dlc ; encoding: [0x84,0x40,0x64,0xf4,0x00,0x00,0x00,0x00] + +0x84,0x00,0x65,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], s0 glc ; encoding: [0x84,0x00,0x65,0xf4,0x00,0x00,0x00,0x00] + +0x84,0x40,0x65,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], s0 glc dlc ; encoding: [0x84,0x40,0x65,0xf4,0x00,0x00,0x00,0x00] + +0x84,0x40,0x65,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], s0 offset:0x12345 glc dlc ; encoding: [0x84,0x40,0x65,0xf4,0x45,0x23,0x01,0x00] + +0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], s101 ; encoding: [0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xca] + +0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], vcc_hi ; encoding: [0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xd6] + +0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[8:11], vcc_lo ; encoding: [0x84,0x00,0x64,0xf4,0x00,0x00,0x00,0xd4] + +0xb0,0x00,0x64,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx2 s[2:3], s[96:99], s0 ; encoding: [0xb0,0x00,0x64,0xf4,0x00,0x00,0x00,0x00] + +0x04,0x01,0x64,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx2 s[4:5], s[8:11], s0 ; encoding: [0x04,0x01,0x64,0xf4,0x00,0x00,0x00,0x00] + +0x84,0x1a,0x64,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx2 vcc, s[8:11], s0 ; encoding: [0x84,0x1a,0x64,0xf4,0x00,0x00,0x00,0x00] + +0x06,0x01,0x68,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[12:15], s0 ; encoding: [0x06,0x01,0x68,0xf4,0x00,0x00,0x00,0x00] + +0x04,0x41,0x69,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], 0x1234 glc dlc ; encoding: [0x04,0x41,0x69,0xf4,0x34,0x12,0x00,0xfa] + +0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], m0 ; encoding: [0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xf8] + +0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], null ; encoding: [0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xfa] + +0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], s0 ; encoding: [0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0x00] + +0x04,0x41,0x68,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], s0 dlc ; encoding: [0x04,0x41,0x68,0xf4,0x00,0x00,0x00,0x00] + +0x04,0x01,0x69,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], s0 glc ; encoding: [0x04,0x01,0x69,0xf4,0x00,0x00,0x00,0x00] + +0x04,0x41,0x69,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], s0 glc dlc ; encoding: [0x04,0x41,0x69,0xf4,0x00,0x00,0x00,0x00] + +0x04,0x41,0x69,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], s0 offset:0x12345 glc dlc ; encoding: [0x04,0x41,0x69,0xf4,0x45,0x23,0x01,0x00] + +0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], s101 ; encoding: [0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xca] + +0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], vcc_hi ; encoding: [0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xd6] + +0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[8:11], vcc_lo ; encoding: [0x04,0x01,0x68,0xf4,0x00,0x00,0x00,0xd4] + +0x30,0x01,0x68,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx4 s[4:7], s[96:99], s0 ; encoding: [0x30,0x01,0x68,0xf4,0x00,0x00,0x00,0x00] + +0x04,0x02,0x68,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx4 s[8:11], s[8:11], s0 ; encoding: [0x04,0x02,0x68,0xf4,0x00,0x00,0x00,0x00] + +0x04,0x18,0x68,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_buffer_store_dwordx4 s[96:99], s[8:11], s0 ; encoding: [0x04,0x18,0x68,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x00,0xa0,0xf4,0x64,0x00,0x00,0xfa +# GFX10: s_dcache_discard s[2:3], 0x64 ; encoding: [0x01,0x00,0xa0,0xf4,0x64,0x00,0x00,0xfa] + +0x01,0x00,0xa0,0xf4,0x00,0x00,0x00,0x04 +# GFX10: s_dcache_discard s[2:3], s2 ; encoding: [0x01,0x00,0xa0,0xf4,0x00,0x00,0x00,0x04] + +0x01,0x00,0xa0,0xf4,0x45,0x23,0x01,0x04 +# GFX10: s_dcache_discard s[2:3], s2 offset:0x12345 ; encoding: [0x01,0x00,0xa0,0xf4,0x45,0x23,0x01,0x04] + +0x01,0x00,0xa4,0xf4,0x64,0x00,0x00,0xfa +# GFX10: s_dcache_discard_x2 s[2:3], 0x64 ; encoding: [0x01,0x00,0xa4,0xf4,0x64,0x00,0x00,0xfa] + +0x01,0x00,0xa4,0xf4,0x00,0x00,0x00,0x04 +# GFX10: s_dcache_discard_x2 s[2:3], s2 ; encoding: [0x01,0x00,0xa4,0xf4,0x00,0x00,0x00,0x04] + +0x01,0x00,0xa4,0xf4,0x45,0x23,0x01,0x04 +# GFX10: s_dcache_discard_x2 s[2:3], s2 offset:0x12345 ; encoding: [0x01,0x00,0xa4,0xf4,0x45,0x23,0x01,0x04] + +0x00,0x00,0x80,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_dcache_inv ; encoding: [0x00,0x00,0x80,0xf4,0x00,0x00,0x00,0x00] + +0x00,0x00,0x84,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_dcache_wb ; encoding: [0x00,0x00,0x84,0xf4,0x00,0x00,0x00,0x00] + +0x00,0x00,0xa8,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_get_waveid_in_workgroup s0 ; encoding: [0x00,0x00,0xa8,0xf4,0x00,0x00,0x00,0x00] + +0x80,0x1a,0xa8,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_get_waveid_in_workgroup vcc_lo ; encoding: [0x80,0x1a,0xa8,0xf4,0x00,0x00,0x00,0x00] + +0x00,0x00,0x7c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_gl1_inv ; encoding: [0x00,0x00,0x7c,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x1f,0x00,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword null, s[2:3], s0 ; encoding: [0x41,0x1f,0x00,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x19,0x00,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword s101, s[2:3], s0 ; encoding: [0x41,0x19,0x00,0xf4,0x00,0x00,0x00,0x00] + +0x72,0x01,0x00,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword s5, s[100:101], s0 ; encoding: [0x72,0x01,0x00,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x41,0x01,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_load_dword s5, s[2:3], 0x1234 glc dlc ; encoding: [0x41,0x41,0x01,0xf4,0x34,0x12,0x00,0xfa] + +0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_load_dword s5, s[2:3], m0 ; encoding: [0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xf8] + +0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_load_dword s5, s[2:3], null ; encoding: [0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xfa] + +0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword s5, s[2:3], s0 ; encoding: [0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x41,0x00,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword s5, s[2:3], s0 dlc ; encoding: [0x41,0x41,0x00,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x01,0x01,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword s5, s[2:3], s0 glc ; encoding: [0x41,0x01,0x01,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x41,0x01,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword s5, s[2:3], s0 glc dlc ; encoding: [0x41,0x41,0x01,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x41,0x01,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_load_dword s5, s[2:3], s0 offset:0x12345 glc dlc ; encoding: [0x41,0x41,0x01,0xf4,0x45,0x23,0x01,0x00] + +0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_load_dword s5, s[2:3], s101 ; encoding: [0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xca] + +0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_load_dword s5, s[2:3], vcc_hi ; encoding: [0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xd6] + +0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_load_dword s5, s[2:3], vcc_lo ; encoding: [0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0xd4] + +0x42,0x01,0x00,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword s5, s[4:5], s0 ; encoding: [0x42,0x01,0x00,0xf4,0x00,0x00,0x00,0x00] + +0x75,0x01,0x00,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword s5, vcc, s0 ; encoding: [0x75,0x01,0x00,0xf4,0x00,0x00,0x00,0x00] + +0xc1,0x1a,0x00,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword vcc_hi, s[2:3], s0 ; encoding: [0xc1,0x1a,0x00,0xf4,0x00,0x00,0x00,0x00] + +0x81,0x1a,0x00,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dword vcc_lo, s[2:3], s0 ; encoding: [0x81,0x1a,0x00,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x1f,0x10,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 null, s[2:3], s0 ; encoding: [0x41,0x1f,0x10,0xf4,0x00,0x00,0x00,0x00] + +0x32,0x05,0x10,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 s[20:35], s[100:101], s0 ; encoding: [0x32,0x05,0x10,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x11,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_load_dwordx16 s[20:35], s[2:3], 0x1234 glc dlc ; encoding: [0x01,0x45,0x11,0xf4,0x34,0x12,0x00,0xfa] + +0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_load_dwordx16 s[20:35], s[2:3], m0 ; encoding: [0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xf8] + +0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_load_dwordx16 s[20:35], s[2:3], null ; encoding: [0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xfa] + +0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 s[20:35], s[2:3], s0 ; encoding: [0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x10,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 s[20:35], s[2:3], s0 dlc ; encoding: [0x01,0x45,0x10,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x05,0x11,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 s[20:35], s[2:3], s0 glc ; encoding: [0x01,0x05,0x11,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x11,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 s[20:35], s[2:3], s0 glc dlc ; encoding: [0x01,0x45,0x11,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x11,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_load_dwordx16 s[20:35], s[2:3], s0 offset:0x12345 glc dlc ; encoding: [0x01,0x45,0x11,0xf4,0x45,0x23,0x01,0x00] + +0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_load_dwordx16 s[20:35], s[2:3], s101 ; encoding: [0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xca] + +0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_load_dwordx16 s[20:35], s[2:3], vcc_hi ; encoding: [0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xd6] + +0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_load_dwordx16 s[20:35], s[2:3], vcc_lo ; encoding: [0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0xd4] + +0x02,0x05,0x10,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 s[20:35], s[4:5], s0 ; encoding: [0x02,0x05,0x10,0xf4,0x00,0x00,0x00,0x00] + +0x35,0x05,0x10,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 s[20:35], vcc, s0 ; encoding: [0x35,0x05,0x10,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x06,0x10,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 s[24:39], s[2:3], s0 ; encoding: [0x01,0x06,0x10,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x15,0x10,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx16 s[84:99], s[2:3], s0 ; encoding: [0x01,0x15,0x10,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x1f,0x04,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 null, s[2:3], s0 ; encoding: [0x41,0x1f,0x04,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x19,0x04,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 s[100:101], s[2:3], s0 ; encoding: [0x01,0x19,0x04,0xf4,0x00,0x00,0x00,0x00] + +0xb2,0x02,0x04,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 s[10:11], s[100:101], s0 ; encoding: [0xb2,0x02,0x04,0xf4,0x00,0x00,0x00,0x00] + +0x81,0x42,0x05,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_load_dwordx2 s[10:11], s[2:3], 0x1234 glc dlc ; encoding: [0x81,0x42,0x05,0xf4,0x34,0x12,0x00,0xfa] + +0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_load_dwordx2 s[10:11], s[2:3], m0 ; encoding: [0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xf8] + +0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_load_dwordx2 s[10:11], s[2:3], null ; encoding: [0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xfa] + +0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 s[10:11], s[2:3], s0 ; encoding: [0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0x00] + +0x81,0x42,0x04,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 s[10:11], s[2:3], s0 dlc ; encoding: [0x81,0x42,0x04,0xf4,0x00,0x00,0x00,0x00] + +0x81,0x02,0x05,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 s[10:11], s[2:3], s0 glc ; encoding: [0x81,0x02,0x05,0xf4,0x00,0x00,0x00,0x00] + +0x81,0x42,0x05,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 s[10:11], s[2:3], s0 glc dlc ; encoding: [0x81,0x42,0x05,0xf4,0x00,0x00,0x00,0x00] + +0x81,0x42,0x05,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_load_dwordx2 s[10:11], s[2:3], s0 offset:0x12345 glc dlc ; encoding: [0x81,0x42,0x05,0xf4,0x45,0x23,0x01,0x00] + +0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_load_dwordx2 s[10:11], s[2:3], s101 ; encoding: [0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xca] + +0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_load_dwordx2 s[10:11], s[2:3], vcc_hi ; encoding: [0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xd6] + +0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_load_dwordx2 s[10:11], s[2:3], vcc_lo ; encoding: [0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0xd4] + +0x82,0x02,0x04,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 s[10:11], s[4:5], s0 ; encoding: [0x82,0x02,0x04,0xf4,0x00,0x00,0x00,0x00] + +0xb5,0x02,0x04,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 s[10:11], vcc, s0 ; encoding: [0xb5,0x02,0x04,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x03,0x04,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 s[12:13], s[2:3], s0 ; encoding: [0x01,0x03,0x04,0xf4,0x00,0x00,0x00,0x00] + +0x81,0x1a,0x04,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx2 vcc, s[2:3], s0 ; encoding: [0x81,0x1a,0x04,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x1f,0x08,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 null, s[2:3], s0 ; encoding: [0x41,0x1f,0x08,0xf4,0x00,0x00,0x00,0x00] + +0x32,0x05,0x08,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 s[20:23], s[100:101], s0 ; encoding: [0x32,0x05,0x08,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x09,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_load_dwordx4 s[20:23], s[2:3], 0x1234 glc dlc ; encoding: [0x01,0x45,0x09,0xf4,0x34,0x12,0x00,0xfa] + +0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_load_dwordx4 s[20:23], s[2:3], m0 ; encoding: [0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xf8] + +0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_load_dwordx4 s[20:23], s[2:3], null ; encoding: [0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xfa] + +0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 s[20:23], s[2:3], s0 ; encoding: [0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x08,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 s[20:23], s[2:3], s0 dlc ; encoding: [0x01,0x45,0x08,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x05,0x09,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 s[20:23], s[2:3], s0 glc ; encoding: [0x01,0x05,0x09,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x09,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 s[20:23], s[2:3], s0 glc dlc ; encoding: [0x01,0x45,0x09,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x09,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_load_dwordx4 s[20:23], s[2:3], s0 offset:0x12345 glc dlc ; encoding: [0x01,0x45,0x09,0xf4,0x45,0x23,0x01,0x00] + +0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_load_dwordx4 s[20:23], s[2:3], s101 ; encoding: [0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xca] + +0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_load_dwordx4 s[20:23], s[2:3], vcc_hi ; encoding: [0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xd6] + +0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_load_dwordx4 s[20:23], s[2:3], vcc_lo ; encoding: [0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0xd4] + +0x02,0x05,0x08,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 s[20:23], s[4:5], s0 ; encoding: [0x02,0x05,0x08,0xf4,0x00,0x00,0x00,0x00] + +0x35,0x05,0x08,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 s[20:23], vcc, s0 ; encoding: [0x35,0x05,0x08,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x06,0x08,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 s[24:27], s[2:3], s0 ; encoding: [0x01,0x06,0x08,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x18,0x08,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx4 s[96:99], s[2:3], s0 ; encoding: [0x01,0x18,0x08,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x1f,0x0c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 null, s[2:3], s0 ; encoding: [0x41,0x1f,0x0c,0xf4,0x00,0x00,0x00,0x00] + +0x32,0x05,0x0c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 s[20:27], s[100:101], s0 ; encoding: [0x32,0x05,0x0c,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x0d,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_load_dwordx8 s[20:27], s[2:3], 0x1234 glc dlc ; encoding: [0x01,0x45,0x0d,0xf4,0x34,0x12,0x00,0xfa] + +0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_load_dwordx8 s[20:27], s[2:3], m0 ; encoding: [0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xf8] + +0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_load_dwordx8 s[20:27], s[2:3], null ; encoding: [0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xfa] + +0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 s[20:27], s[2:3], s0 ; encoding: [0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x0c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 s[20:27], s[2:3], s0 dlc ; encoding: [0x01,0x45,0x0c,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x05,0x0d,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 s[20:27], s[2:3], s0 glc ; encoding: [0x01,0x05,0x0d,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x0d,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 s[20:27], s[2:3], s0 glc dlc ; encoding: [0x01,0x45,0x0d,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x45,0x0d,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_load_dwordx8 s[20:27], s[2:3], s0 offset:0x12345 glc dlc ; encoding: [0x01,0x45,0x0d,0xf4,0x45,0x23,0x01,0x00] + +0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_load_dwordx8 s[20:27], s[2:3], s101 ; encoding: [0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xca] + +0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_load_dwordx8 s[20:27], s[2:3], vcc_hi ; encoding: [0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xd6] + +0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_load_dwordx8 s[20:27], s[2:3], vcc_lo ; encoding: [0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0xd4] + +0x02,0x05,0x0c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 s[20:27], s[4:5], s0 ; encoding: [0x02,0x05,0x0c,0xf4,0x00,0x00,0x00,0x00] + +0x35,0x05,0x0c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 s[20:27], vcc, s0 ; encoding: [0x35,0x05,0x0c,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x06,0x0c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 s[24:31], s[2:3], s0 ; encoding: [0x01,0x06,0x0c,0xf4,0x00,0x00,0x00,0x00] + +0x01,0x17,0x0c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_load_dwordx8 s[92:99], s[2:3], s0 ; encoding: [0x01,0x17,0x0c,0xf4,0x00,0x00,0x00,0x00] + +0x00,0x19,0x94,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_memrealtime s[100:101] ; encoding: [0x00,0x19,0x94,0xf4,0x00,0x00,0x00,0x00] + +0x80,0x02,0x94,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_memrealtime s[10:11] ; encoding: [0x80,0x02,0x94,0xf4,0x00,0x00,0x00,0x00] + +0x00,0x03,0x94,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_memrealtime s[12:13] ; encoding: [0x00,0x03,0x94,0xf4,0x00,0x00,0x00,0x00] + +0x80,0x1a,0x94,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_memrealtime vcc ; encoding: [0x80,0x1a,0x94,0xf4,0x00,0x00,0x00,0x00] + +0x00,0x19,0x90,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_memtime s[100:101] ; encoding: [0x00,0x19,0x90,0xf4,0x00,0x00,0x00,0x00] + +0x80,0x02,0x90,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_memtime s[10:11] ; encoding: [0x80,0x02,0x90,0xf4,0x00,0x00,0x00,0x00] + +0x00,0x03,0x90,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_memtime s[12:13] ; encoding: [0x00,0x03,0x90,0xf4,0x00,0x00,0x00,0x00] + +0x80,0x1a,0x90,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_memtime vcc ; encoding: [0x80,0x1a,0x90,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x01,0x15,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_scratch_load_dword s5, s[2:3], s0 glc ; encoding: [0x41,0x01,0x15,0xf4,0x00,0x00,0x00,0x00] + +0x41,0x01,0x14,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_scratch_load_dword s5, s[2:3], s101 ; encoding: [0x41,0x01,0x14,0xf4,0x00,0x00,0x00,0xca] + +0x01,0x19,0x18,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_scratch_load_dwordx2 s[100:101], s[2:3], s0 ; encoding: [0x01,0x19,0x18,0xf4,0x00,0x00,0x00,0x00] + +0x81,0x02,0x19,0xf4,0x01,0x00,0x00,0xfa +# GFX10: s_scratch_load_dwordx2 s[10:11], s[2:3], 0x1 glc ; encoding: [0x81,0x02,0x19,0xf4,0x01,0x00,0x00,0xfa] + +0x81,0x02,0x19,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_scratch_load_dwordx2 s[10:11], s[2:3], s0 offset:0x12345 glc ; encoding: [0x81,0x02,0x19,0xf4,0x45,0x23,0x01,0x00] + +0x02,0x05,0x1c,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_scratch_load_dwordx4 s[20:23], s[4:5], s0 ; encoding: [0x02,0x05,0x1c,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x00,0x55,0xf4,0x23,0x01,0x00,0xfa +# GFX10: s_scratch_store_dword s1, s[4:5], 0x123 glc ; encoding: [0x42,0x00,0x55,0xf4,0x23,0x01,0x00,0xfa] + +0x42,0x00,0x55,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_scratch_store_dword s1, s[4:5], s0 offset:0x12345 glc ; encoding: [0x42,0x00,0x55,0xf4,0x45,0x23,0x01,0x00] + +0x42,0x19,0x54,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_scratch_store_dword s101, s[4:5], s0 ; encoding: [0x42,0x19,0x54,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x00,0x59,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_scratch_store_dwordx2 s[2:3], s[4:5], s101 glc ; encoding: [0x82,0x00,0x59,0xf4,0x00,0x00,0x00,0xca] + +0x02,0x01,0x5d,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_scratch_store_dwordx4 s[4:7], s[4:5], s0 glc ; encoding: [0x02,0x01,0x5d,0xf4,0x00,0x00,0x00,0x00] + +0x72,0x00,0x40,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword s1, s[100:101], s0 ; encoding: [0x72,0x00,0x40,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x40,0x41,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_store_dword s1, s[4:5], 0x1234 glc dlc ; encoding: [0x42,0x40,0x41,0xf4,0x34,0x12,0x00,0xfa] + +0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_store_dword s1, s[4:5], m0 ; encoding: [0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xf8] + +0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_store_dword s1, s[4:5], null ; encoding: [0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xfa] + +0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword s1, s[4:5], s0 ; encoding: [0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x40,0x40,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword s1, s[4:5], s0 dlc ; encoding: [0x42,0x40,0x40,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x00,0x41,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword s1, s[4:5], s0 glc ; encoding: [0x42,0x00,0x41,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x40,0x41,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword s1, s[4:5], s0 glc dlc ; encoding: [0x42,0x40,0x41,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x40,0x41,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_store_dword s1, s[4:5], s0 offset:0x12345 glc dlc ; encoding: [0x42,0x40,0x41,0xf4,0x45,0x23,0x01,0x00] + +0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_store_dword s1, s[4:5], s101 ; encoding: [0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xca] + +0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_store_dword s1, s[4:5], vcc_hi ; encoding: [0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xd6] + +0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_store_dword s1, s[4:5], vcc_lo ; encoding: [0x42,0x00,0x40,0xf4,0x00,0x00,0x00,0xd4] + +0x43,0x00,0x40,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword s1, s[6:7], s0 ; encoding: [0x43,0x00,0x40,0xf4,0x00,0x00,0x00,0x00] + +0x75,0x00,0x40,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword s1, vcc, s0 ; encoding: [0x75,0x00,0x40,0xf4,0x00,0x00,0x00,0x00] + +0x42,0x19,0x40,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword s101, s[4:5], s0 ; encoding: [0x42,0x19,0x40,0xf4,0x00,0x00,0x00,0x00] + +0xc2,0x1a,0x40,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword vcc_hi, s[4:5], s0 ; encoding: [0xc2,0x1a,0x40,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x1a,0x40,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dword vcc_lo, s[4:5], s0 ; encoding: [0x82,0x1a,0x40,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x19,0x44,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 s[100:101], s[4:5], s0 ; encoding: [0x02,0x19,0x44,0xf4,0x00,0x00,0x00,0x00] + +0xb2,0x00,0x44,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 s[2:3], s[100:101], s0 ; encoding: [0xb2,0x00,0x44,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x40,0x45,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_store_dwordx2 s[2:3], s[4:5], 0x1234 glc dlc ; encoding: [0x82,0x40,0x45,0xf4,0x34,0x12,0x00,0xfa] + +0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_store_dwordx2 s[2:3], s[4:5], m0 ; encoding: [0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xf8] + +0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_store_dwordx2 s[2:3], s[4:5], null ; encoding: [0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xfa] + +0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 s[2:3], s[4:5], s0 ; encoding: [0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x40,0x44,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 s[2:3], s[4:5], s0 dlc ; encoding: [0x82,0x40,0x44,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x00,0x45,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 s[2:3], s[4:5], s0 glc ; encoding: [0x82,0x00,0x45,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x40,0x45,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 s[2:3], s[4:5], s0 glc dlc ; encoding: [0x82,0x40,0x45,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x40,0x45,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_store_dwordx2 s[2:3], s[4:5], s0 offset:0x12345 glc dlc ; encoding: [0x82,0x40,0x45,0xf4,0x45,0x23,0x01,0x00] + +0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_store_dwordx2 s[2:3], s[4:5], s101 ; encoding: [0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xca] + +0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_store_dwordx2 s[2:3], s[4:5], vcc_hi ; encoding: [0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xd6] + +0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_store_dwordx2 s[2:3], s[4:5], vcc_lo ; encoding: [0x82,0x00,0x44,0xf4,0x00,0x00,0x00,0xd4] + +0x83,0x00,0x44,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 s[2:3], s[6:7], s0 ; encoding: [0x83,0x00,0x44,0xf4,0x00,0x00,0x00,0x00] + +0xb5,0x00,0x44,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 s[2:3], vcc, s0 ; encoding: [0xb5,0x00,0x44,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x01,0x44,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 s[4:5], s[4:5], s0 ; encoding: [0x02,0x01,0x44,0xf4,0x00,0x00,0x00,0x00] + +0x82,0x1a,0x44,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx2 vcc, s[4:5], s0 ; encoding: [0x82,0x1a,0x44,0xf4,0x00,0x00,0x00,0x00] + +0x32,0x01,0x48,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx4 s[4:7], s[100:101], s0 ; encoding: [0x32,0x01,0x48,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x41,0x49,0xf4,0x34,0x12,0x00,0xfa +# GFX10: s_store_dwordx4 s[4:7], s[4:5], 0x1234 glc dlc ; encoding: [0x02,0x41,0x49,0xf4,0x34,0x12,0x00,0xfa] + +0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xf8 +# GFX10: s_store_dwordx4 s[4:7], s[4:5], m0 ; encoding: [0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xf8] + +0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xfa +# GFX10: s_store_dwordx4 s[4:7], s[4:5], null ; encoding: [0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xfa] + +0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx4 s[4:7], s[4:5], s0 ; encoding: [0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x41,0x48,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx4 s[4:7], s[4:5], s0 dlc ; encoding: [0x02,0x41,0x48,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x01,0x49,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx4 s[4:7], s[4:5], s0 glc ; encoding: [0x02,0x01,0x49,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x41,0x49,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx4 s[4:7], s[4:5], s0 glc dlc ; encoding: [0x02,0x41,0x49,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x41,0x49,0xf4,0x45,0x23,0x01,0x00 +# GFX10: s_store_dwordx4 s[4:7], s[4:5], s0 offset:0x12345 glc dlc ; encoding: [0x02,0x41,0x49,0xf4,0x45,0x23,0x01,0x00] + +0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xca +# GFX10: s_store_dwordx4 s[4:7], s[4:5], s101 ; encoding: [0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xca] + +0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xd6 +# GFX10: s_store_dwordx4 s[4:7], s[4:5], vcc_hi ; encoding: [0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xd6] + +0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xd4 +# GFX10: s_store_dwordx4 s[4:7], s[4:5], vcc_lo ; encoding: [0x02,0x01,0x48,0xf4,0x00,0x00,0x00,0xd4] + +0x03,0x01,0x48,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx4 s[4:7], s[6:7], s0 ; encoding: [0x03,0x01,0x48,0xf4,0x00,0x00,0x00,0x00] + +0x35,0x01,0x48,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx4 s[4:7], vcc, s0 ; encoding: [0x35,0x01,0x48,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x02,0x48,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx4 s[8:11], s[4:5], s0 ; encoding: [0x02,0x02,0x48,0xf4,0x00,0x00,0x00,0x00] + +0x02,0x18,0x48,0xf4,0x00,0x00,0x00,0x00 +# GFX10: s_store_dwordx4 s[96:99], s[4:5], s0 ; encoding: [0x02,0x18,0x48,0xf4,0x00,0x00,0x00,0x00] diff --git a/tests/data/llvm-amdgpu/gfx10_sop1.txt b/tests/data/llvm-amdgpu/gfx10_sop1.txt new file mode 100644 index 0000000..5eddd5d --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_sop1.txt @@ -0,0 +1,3178 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0x01,0x34,0xff,0xbe +# GFX10: s_abs_i32 exec_hi, s1 ; encoding: [0x01,0x34,0xff,0xbe] + +0x01,0x34,0xfe,0xbe +# GFX10: s_abs_i32 exec_lo, s1 ; encoding: [0x01,0x34,0xfe,0xbe] + +0x01,0x34,0xfc,0xbe +# GFX10: s_abs_i32 m0, s1 ; encoding: [0x01,0x34,0xfc,0xbe] + +0xc1,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, -1 ; encoding: [0xc1,0x34,0x80,0xbe] + +0xf7,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, -4.0 ; encoding: [0xf7,0x34,0x80,0xbe] + +0x80,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, 0 ; encoding: [0x80,0x34,0x80,0xbe] + +0xf0,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, 0.5 ; encoding: [0xf0,0x34,0x80,0xbe] + +0xff,0x34,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_abs_i32 s0, 0x3f717273 ; encoding: [0xff,0x34,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x34,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_abs_i32 s0, 0xaf123456 ; encoding: [0xff,0x34,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, exec_hi ; encoding: [0x7f,0x34,0x80,0xbe] + +0x7e,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, exec_lo ; encoding: [0x7e,0x34,0x80,0xbe] + +0x7c,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, m0 ; encoding: [0x7c,0x34,0x80,0xbe] + +0x01,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, s1 ; encoding: [0x01,0x34,0x80,0xbe] + +0x68,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, s104 ; encoding: [0x68,0x34,0x80,0xbe] + +0x6b,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, vcc_hi ; encoding: [0x6b,0x34,0x80,0xbe] + +0x6a,0x34,0x80,0xbe +# GFX10: s_abs_i32 s0, vcc_lo ; encoding: [0x6a,0x34,0x80,0xbe] + +0x01,0x34,0xe9,0xbe +# GFX10: s_abs_i32 s105, s1 ; encoding: [0x01,0x34,0xe9,0xbe] + +0x68,0x34,0xe9,0xbe +# GFX10: s_abs_i32 s105, s104 ; encoding: [0x68,0x34,0xe9,0xbe] + +0x01,0x34,0xeb,0xbe +# GFX10: s_abs_i32 vcc_hi, s1 ; encoding: [0x01,0x34,0xeb,0xbe] + +0x01,0x34,0xea,0xbe +# GFX10: s_abs_i32 vcc_lo, s1 ; encoding: [0x01,0x34,0xea,0xbe] + +0x01,0x3c,0xff,0xbe +# GFX10: s_and_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x3c,0xff,0xbe] + +0x01,0x3c,0xfe,0xbe +# GFX10: s_and_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x3c,0xfe,0xbe] + +0x01,0x3c,0xfc,0xbe +# GFX10: s_and_saveexec_b32 m0, s1 ; encoding: [0x01,0x3c,0xfc,0xbe] + +0xc1,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, -1 ; encoding: [0xc1,0x3c,0x80,0xbe] + +0xf7,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x3c,0x80,0xbe] + +0x80,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, 0 ; encoding: [0x80,0x3c,0x80,0xbe] + +0xf0,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x3c,0x80,0xbe] + +0xff,0x3c,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_and_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x3c,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x3c,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_and_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x3c,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x3c,0x80,0xbe] + +0x7e,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x3c,0x80,0xbe] + +0x7c,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, m0 ; encoding: [0x7c,0x3c,0x80,0xbe] + +0x01,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, s1 ; encoding: [0x01,0x3c,0x80,0xbe] + +0x68,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, s104 ; encoding: [0x68,0x3c,0x80,0xbe] + +0x6b,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x3c,0x80,0xbe] + +0x6a,0x3c,0x80,0xbe +# GFX10: s_and_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x3c,0x80,0xbe] + +0x01,0x3c,0xe9,0xbe +# GFX10: s_and_saveexec_b32 s105, s1 ; encoding: [0x01,0x3c,0xe9,0xbe] + +0x68,0x3c,0xe9,0xbe +# GFX10: s_and_saveexec_b32 s105, s104 ; encoding: [0x68,0x3c,0xe9,0xbe] + +0x01,0x3c,0xeb,0xbe +# GFX10: s_and_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x3c,0xeb,0xbe] + +0x01,0x3c,0xea,0xbe +# GFX10: s_and_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x3c,0xea,0xbe] + +0x02,0x24,0xfe,0xbe +# GFX10: s_and_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x24,0xfe,0xbe] + +0xc1,0x24,0x80,0xbe +# GFX10: s_and_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x24,0x80,0xbe] + +0xf7,0x24,0x80,0xbe +# GFX10: s_and_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x24,0x80,0xbe] + +0x80,0x24,0x80,0xbe +# GFX10: s_and_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x24,0x80,0xbe] + +0xf0,0x24,0x80,0xbe +# GFX10: s_and_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x24,0x80,0xbe] + +0xff,0x24,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_and_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x24,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x24,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_and_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x24,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x24,0x80,0xbe +# GFX10: s_and_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x24,0x80,0xbe] + +0x66,0x24,0x80,0xbe +# GFX10: s_and_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x24,0x80,0xbe] + +0x02,0x24,0x80,0xbe +# GFX10: s_and_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x24,0x80,0xbe] + +0x6a,0x24,0x80,0xbe +# GFX10: s_and_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x24,0x80,0xbe] + +0x66,0x24,0xe8,0xbe +# GFX10: s_and_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x24,0xe8,0xbe] + +0x02,0x24,0xe8,0xbe +# GFX10: s_and_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x24,0xe8,0xbe] + +0x02,0x24,0xea,0xbe +# GFX10: s_and_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x24,0xea,0xbe] + +0x01,0x44,0xff,0xbe +# GFX10: s_andn1_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x44,0xff,0xbe] + +0x01,0x44,0xfe,0xbe +# GFX10: s_andn1_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x44,0xfe,0xbe] + +0x01,0x44,0xfc,0xbe +# GFX10: s_andn1_saveexec_b32 m0, s1 ; encoding: [0x01,0x44,0xfc,0xbe] + +0xc1,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, -1 ; encoding: [0xc1,0x44,0x80,0xbe] + +0xf7,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x44,0x80,0xbe] + +0x80,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, 0 ; encoding: [0x80,0x44,0x80,0xbe] + +0xf0,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x44,0x80,0xbe] + +0xff,0x44,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_andn1_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x44,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x44,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_andn1_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x44,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x44,0x80,0xbe] + +0x7e,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x44,0x80,0xbe] + +0x7c,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, m0 ; encoding: [0x7c,0x44,0x80,0xbe] + +0x01,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, s1 ; encoding: [0x01,0x44,0x80,0xbe] + +0x68,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, s104 ; encoding: [0x68,0x44,0x80,0xbe] + +0x6b,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x44,0x80,0xbe] + +0x6a,0x44,0x80,0xbe +# GFX10: s_andn1_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x44,0x80,0xbe] + +0x01,0x44,0xe9,0xbe +# GFX10: s_andn1_saveexec_b32 s105, s1 ; encoding: [0x01,0x44,0xe9,0xbe] + +0x68,0x44,0xe9,0xbe +# GFX10: s_andn1_saveexec_b32 s105, s104 ; encoding: [0x68,0x44,0xe9,0xbe] + +0x01,0x44,0xeb,0xbe +# GFX10: s_andn1_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x44,0xeb,0xbe] + +0x01,0x44,0xea,0xbe +# GFX10: s_andn1_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x44,0xea,0xbe] + +0x02,0x37,0xfe,0xbe +# GFX10: s_andn1_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x37,0xfe,0xbe] + +0xc1,0x37,0x80,0xbe +# GFX10: s_andn1_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x37,0x80,0xbe] + +0xf7,0x37,0x80,0xbe +# GFX10: s_andn1_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x37,0x80,0xbe] + +0x80,0x37,0x80,0xbe +# GFX10: s_andn1_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x37,0x80,0xbe] + +0xf0,0x37,0x80,0xbe +# GFX10: s_andn1_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x37,0x80,0xbe] + +0xff,0x37,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_andn1_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x37,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x37,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_andn1_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x37,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x37,0x80,0xbe +# GFX10: s_andn1_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x37,0x80,0xbe] + +0x66,0x37,0x80,0xbe +# GFX10: s_andn1_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x37,0x80,0xbe] + +0x02,0x37,0x80,0xbe +# GFX10: s_andn1_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x37,0x80,0xbe] + +0x6a,0x37,0x80,0xbe +# GFX10: s_andn1_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x37,0x80,0xbe] + +0x66,0x37,0xe8,0xbe +# GFX10: s_andn1_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x37,0xe8,0xbe] + +0x02,0x37,0xe8,0xbe +# GFX10: s_andn1_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x37,0xe8,0xbe] + +0x02,0x37,0xea,0xbe +# GFX10: s_andn1_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x37,0xea,0xbe] + +0x01,0x46,0xff,0xbe +# GFX10: s_andn1_wrexec_b32 exec_hi, s1 ; encoding: [0x01,0x46,0xff,0xbe] + +0x01,0x46,0xfe,0xbe +# GFX10: s_andn1_wrexec_b32 exec_lo, s1 ; encoding: [0x01,0x46,0xfe,0xbe] + +0x01,0x46,0xfc,0xbe +# GFX10: s_andn1_wrexec_b32 m0, s1 ; encoding: [0x01,0x46,0xfc,0xbe] + +0xc1,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, -1 ; encoding: [0xc1,0x46,0x80,0xbe] + +0xf7,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, -4.0 ; encoding: [0xf7,0x46,0x80,0xbe] + +0x80,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, 0 ; encoding: [0x80,0x46,0x80,0xbe] + +0xf0,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, 0.5 ; encoding: [0xf0,0x46,0x80,0xbe] + +0xff,0x46,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_andn1_wrexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x46,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x46,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_andn1_wrexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x46,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, exec_hi ; encoding: [0x7f,0x46,0x80,0xbe] + +0x7e,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, exec_lo ; encoding: [0x7e,0x46,0x80,0xbe] + +0x7c,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, m0 ; encoding: [0x7c,0x46,0x80,0xbe] + +0x01,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, s1 ; encoding: [0x01,0x46,0x80,0xbe] + +0x68,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, s104 ; encoding: [0x68,0x46,0x80,0xbe] + +0x6b,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, vcc_hi ; encoding: [0x6b,0x46,0x80,0xbe] + +0x6a,0x46,0x80,0xbe +# GFX10: s_andn1_wrexec_b32 s0, vcc_lo ; encoding: [0x6a,0x46,0x80,0xbe] + +0x01,0x46,0xe9,0xbe +# GFX10: s_andn1_wrexec_b32 s105, s1 ; encoding: [0x01,0x46,0xe9,0xbe] + +0x68,0x46,0xe9,0xbe +# GFX10: s_andn1_wrexec_b32 s105, s104 ; encoding: [0x68,0x46,0xe9,0xbe] + +0x01,0x46,0xeb,0xbe +# GFX10: s_andn1_wrexec_b32 vcc_hi, s1 ; encoding: [0x01,0x46,0xeb,0xbe] + +0x01,0x46,0xea,0xbe +# GFX10: s_andn1_wrexec_b32 vcc_lo, s1 ; encoding: [0x01,0x46,0xea,0xbe] + +0x02,0x39,0xfe,0xbe +# GFX10: s_andn1_wrexec_b64 exec, s[2:3] ; encoding: [0x02,0x39,0xfe,0xbe] + +0xc1,0x39,0x80,0xbe +# GFX10: s_andn1_wrexec_b64 s[0:1], -1 ; encoding: [0xc1,0x39,0x80,0xbe] + +0xf7,0x39,0x80,0xbe +# GFX10: s_andn1_wrexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x39,0x80,0xbe] + +0x80,0x39,0x80,0xbe +# GFX10: s_andn1_wrexec_b64 s[0:1], 0 ; encoding: [0x80,0x39,0x80,0xbe] + +0xf0,0x39,0x80,0xbe +# GFX10: s_andn1_wrexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x39,0x80,0xbe] + +0xff,0x39,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_andn1_wrexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x39,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x39,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_andn1_wrexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x39,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x39,0x80,0xbe +# GFX10: s_andn1_wrexec_b64 s[0:1], exec ; encoding: [0x7e,0x39,0x80,0xbe] + +0x66,0x39,0x80,0xbe +# GFX10: s_andn1_wrexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x39,0x80,0xbe] + +0x02,0x39,0x80,0xbe +# GFX10: s_andn1_wrexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x39,0x80,0xbe] + +0x6a,0x39,0x80,0xbe +# GFX10: s_andn1_wrexec_b64 s[0:1], vcc ; encoding: [0x6a,0x39,0x80,0xbe] + +0x66,0x39,0xe8,0xbe +# GFX10: s_andn1_wrexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x39,0xe8,0xbe] + +0x02,0x39,0xe8,0xbe +# GFX10: s_andn1_wrexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x39,0xe8,0xbe] + +0x02,0x39,0xea,0xbe +# GFX10: s_andn1_wrexec_b64 vcc, s[2:3] ; encoding: [0x02,0x39,0xea,0xbe] + +0x01,0x3f,0xff,0xbe +# GFX10: s_andn2_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x3f,0xff,0xbe] + +0x01,0x3f,0xfe,0xbe +# GFX10: s_andn2_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x3f,0xfe,0xbe] + +0x01,0x3f,0xfc,0xbe +# GFX10: s_andn2_saveexec_b32 m0, s1 ; encoding: [0x01,0x3f,0xfc,0xbe] + +0xc1,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, -1 ; encoding: [0xc1,0x3f,0x80,0xbe] + +0xf7,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x3f,0x80,0xbe] + +0x80,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, 0 ; encoding: [0x80,0x3f,0x80,0xbe] + +0xf0,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x3f,0x80,0xbe] + +0xff,0x3f,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_andn2_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x3f,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x3f,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_andn2_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x3f,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x3f,0x80,0xbe] + +0x7e,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x3f,0x80,0xbe] + +0x7c,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, m0 ; encoding: [0x7c,0x3f,0x80,0xbe] + +0x01,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, s1 ; encoding: [0x01,0x3f,0x80,0xbe] + +0x68,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, s104 ; encoding: [0x68,0x3f,0x80,0xbe] + +0x6b,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x3f,0x80,0xbe] + +0x6a,0x3f,0x80,0xbe +# GFX10: s_andn2_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x3f,0x80,0xbe] + +0x01,0x3f,0xe9,0xbe +# GFX10: s_andn2_saveexec_b32 s105, s1 ; encoding: [0x01,0x3f,0xe9,0xbe] + +0x68,0x3f,0xe9,0xbe +# GFX10: s_andn2_saveexec_b32 s105, s104 ; encoding: [0x68,0x3f,0xe9,0xbe] + +0x01,0x3f,0xeb,0xbe +# GFX10: s_andn2_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x3f,0xeb,0xbe] + +0x01,0x3f,0xea,0xbe +# GFX10: s_andn2_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x3f,0xea,0xbe] + +0x02,0x27,0xfe,0xbe +# GFX10: s_andn2_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x27,0xfe,0xbe] + +0xc1,0x27,0x80,0xbe +# GFX10: s_andn2_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x27,0x80,0xbe] + +0xf7,0x27,0x80,0xbe +# GFX10: s_andn2_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x27,0x80,0xbe] + +0x80,0x27,0x80,0xbe +# GFX10: s_andn2_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x27,0x80,0xbe] + +0xf0,0x27,0x80,0xbe +# GFX10: s_andn2_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x27,0x80,0xbe] + +0xff,0x27,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_andn2_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x27,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x27,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_andn2_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x27,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x27,0x80,0xbe +# GFX10: s_andn2_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x27,0x80,0xbe] + +0x66,0x27,0x80,0xbe +# GFX10: s_andn2_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x27,0x80,0xbe] + +0x02,0x27,0x80,0xbe +# GFX10: s_andn2_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x27,0x80,0xbe] + +0x6a,0x27,0x80,0xbe +# GFX10: s_andn2_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x27,0x80,0xbe] + +0x66,0x27,0xe8,0xbe +# GFX10: s_andn2_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x27,0xe8,0xbe] + +0x02,0x27,0xe8,0xbe +# GFX10: s_andn2_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x27,0xe8,0xbe] + +0x02,0x27,0xea,0xbe +# GFX10: s_andn2_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x27,0xea,0xbe] + +0x01,0x47,0xff,0xbe +# GFX10: s_andn2_wrexec_b32 exec_hi, s1 ; encoding: [0x01,0x47,0xff,0xbe] + +0x01,0x47,0xfe,0xbe +# GFX10: s_andn2_wrexec_b32 exec_lo, s1 ; encoding: [0x01,0x47,0xfe,0xbe] + +0x01,0x47,0xfc,0xbe +# GFX10: s_andn2_wrexec_b32 m0, s1 ; encoding: [0x01,0x47,0xfc,0xbe] + +0xc1,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, -1 ; encoding: [0xc1,0x47,0x80,0xbe] + +0xf7,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, -4.0 ; encoding: [0xf7,0x47,0x80,0xbe] + +0x80,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, 0 ; encoding: [0x80,0x47,0x80,0xbe] + +0xf0,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, 0.5 ; encoding: [0xf0,0x47,0x80,0xbe] + +0xff,0x47,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_andn2_wrexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x47,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x47,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_andn2_wrexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x47,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, exec_hi ; encoding: [0x7f,0x47,0x80,0xbe] + +0x7e,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, exec_lo ; encoding: [0x7e,0x47,0x80,0xbe] + +0x7c,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, m0 ; encoding: [0x7c,0x47,0x80,0xbe] + +0x01,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, s1 ; encoding: [0x01,0x47,0x80,0xbe] + +0x68,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, s104 ; encoding: [0x68,0x47,0x80,0xbe] + +0x6b,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, vcc_hi ; encoding: [0x6b,0x47,0x80,0xbe] + +0x6a,0x47,0x80,0xbe +# GFX10: s_andn2_wrexec_b32 s0, vcc_lo ; encoding: [0x6a,0x47,0x80,0xbe] + +0x01,0x47,0xe9,0xbe +# GFX10: s_andn2_wrexec_b32 s105, s1 ; encoding: [0x01,0x47,0xe9,0xbe] + +0x68,0x47,0xe9,0xbe +# GFX10: s_andn2_wrexec_b32 s105, s104 ; encoding: [0x68,0x47,0xe9,0xbe] + +0x01,0x47,0xeb,0xbe +# GFX10: s_andn2_wrexec_b32 vcc_hi, s1 ; encoding: [0x01,0x47,0xeb,0xbe] + +0x01,0x47,0xea,0xbe +# GFX10: s_andn2_wrexec_b32 vcc_lo, s1 ; encoding: [0x01,0x47,0xea,0xbe] + +0x02,0x3a,0xfe,0xbe +# GFX10: s_andn2_wrexec_b64 exec, s[2:3] ; encoding: [0x02,0x3a,0xfe,0xbe] + +0xc1,0x3a,0x80,0xbe +# GFX10: s_andn2_wrexec_b64 s[0:1], -1 ; encoding: [0xc1,0x3a,0x80,0xbe] + +0xf7,0x3a,0x80,0xbe +# GFX10: s_andn2_wrexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x3a,0x80,0xbe] + +0x80,0x3a,0x80,0xbe +# GFX10: s_andn2_wrexec_b64 s[0:1], 0 ; encoding: [0x80,0x3a,0x80,0xbe] + +0xf0,0x3a,0x80,0xbe +# GFX10: s_andn2_wrexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x3a,0x80,0xbe] + +0xff,0x3a,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_andn2_wrexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x3a,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x3a,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_andn2_wrexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x3a,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x3a,0x80,0xbe +# GFX10: s_andn2_wrexec_b64 s[0:1], exec ; encoding: [0x7e,0x3a,0x80,0xbe] + +0x66,0x3a,0x80,0xbe +# GFX10: s_andn2_wrexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x3a,0x80,0xbe] + +0x02,0x3a,0x80,0xbe +# GFX10: s_andn2_wrexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x3a,0x80,0xbe] + +0x6a,0x3a,0x80,0xbe +# GFX10: s_andn2_wrexec_b64 s[0:1], vcc ; encoding: [0x6a,0x3a,0x80,0xbe] + +0x66,0x3a,0xe8,0xbe +# GFX10: s_andn2_wrexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x3a,0xe8,0xbe] + +0x02,0x3a,0xe8,0xbe +# GFX10: s_andn2_wrexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x3a,0xe8,0xbe] + +0x02,0x3a,0xea,0xbe +# GFX10: s_andn2_wrexec_b64 vcc, s[2:3] ; encoding: [0x02,0x3a,0xea,0xbe] + +0x01,0x0d,0xff,0xbe +# GFX10: s_bcnt0_i32_b32 exec_hi, s1 ; encoding: [0x01,0x0d,0xff,0xbe] + +0x01,0x0d,0xfe,0xbe +# GFX10: s_bcnt0_i32_b32 exec_lo, s1 ; encoding: [0x01,0x0d,0xfe,0xbe] + +0x01,0x0d,0xfc,0xbe +# GFX10: s_bcnt0_i32_b32 m0, s1 ; encoding: [0x01,0x0d,0xfc,0xbe] + +0xc1,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, -1 ; encoding: [0xc1,0x0d,0x80,0xbe] + +0xf7,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, -4.0 ; encoding: [0xf7,0x0d,0x80,0xbe] + +0x80,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, 0 ; encoding: [0x80,0x0d,0x80,0xbe] + +0xf0,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, 0.5 ; encoding: [0xf0,0x0d,0x80,0xbe] + +0xff,0x0d,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_bcnt0_i32_b32 s0, 0x3f717273 ; encoding: [0xff,0x0d,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x0d,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_bcnt0_i32_b32 s0, 0xaf123456 ; encoding: [0xff,0x0d,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, exec_hi ; encoding: [0x7f,0x0d,0x80,0xbe] + +0x7e,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, exec_lo ; encoding: [0x7e,0x0d,0x80,0xbe] + +0x7c,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, m0 ; encoding: [0x7c,0x0d,0x80,0xbe] + +0x01,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, s1 ; encoding: [0x01,0x0d,0x80,0xbe] + +0x68,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, s104 ; encoding: [0x68,0x0d,0x80,0xbe] + +0x6b,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, vcc_hi ; encoding: [0x6b,0x0d,0x80,0xbe] + +0x6a,0x0d,0x80,0xbe +# GFX10: s_bcnt0_i32_b32 s0, vcc_lo ; encoding: [0x6a,0x0d,0x80,0xbe] + +0x01,0x0d,0xe9,0xbe +# GFX10: s_bcnt0_i32_b32 s105, s1 ; encoding: [0x01,0x0d,0xe9,0xbe] + +0x68,0x0d,0xe9,0xbe +# GFX10: s_bcnt0_i32_b32 s105, s104 ; encoding: [0x68,0x0d,0xe9,0xbe] + +0x01,0x0d,0xeb,0xbe +# GFX10: s_bcnt0_i32_b32 vcc_hi, s1 ; encoding: [0x01,0x0d,0xeb,0xbe] + +0x01,0x0d,0xea,0xbe +# GFX10: s_bcnt0_i32_b32 vcc_lo, s1 ; encoding: [0x01,0x0d,0xea,0xbe] + +0x02,0x0e,0xff,0xbe +# GFX10: s_bcnt0_i32_b64 exec_hi, s[2:3] ; encoding: [0x02,0x0e,0xff,0xbe] + +0x02,0x0e,0xfe,0xbe +# GFX10: s_bcnt0_i32_b64 exec_lo, s[2:3] ; encoding: [0x02,0x0e,0xfe,0xbe] + +0x02,0x0e,0xfc,0xbe +# GFX10: s_bcnt0_i32_b64 m0, s[2:3] ; encoding: [0x02,0x0e,0xfc,0xbe] + +0xc1,0x0e,0x80,0xbe +# GFX10: s_bcnt0_i32_b64 s0, -1 ; encoding: [0xc1,0x0e,0x80,0xbe] + +0xf7,0x0e,0x80,0xbe +# GFX10: s_bcnt0_i32_b64 s0, -4.0 ; encoding: [0xf7,0x0e,0x80,0xbe] + +0x80,0x0e,0x80,0xbe +# GFX10: s_bcnt0_i32_b64 s0, 0 ; encoding: [0x80,0x0e,0x80,0xbe] + +0xf0,0x0e,0x80,0xbe +# GFX10: s_bcnt0_i32_b64 s0, 0.5 ; encoding: [0xf0,0x0e,0x80,0xbe] + +0xff,0x0e,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_bcnt0_i32_b64 s0, 0x3f717273 ; encoding: [0xff,0x0e,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x0e,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_bcnt0_i32_b64 s0, 0xaf123456 ; encoding: [0xff,0x0e,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x0e,0x80,0xbe +# GFX10: s_bcnt0_i32_b64 s0, exec ; encoding: [0x7e,0x0e,0x80,0xbe] + +0x66,0x0e,0x80,0xbe +# GFX10: s_bcnt0_i32_b64 s0, s[102:103] ; encoding: [0x66,0x0e,0x80,0xbe] + +0x02,0x0e,0x80,0xbe +# GFX10: s_bcnt0_i32_b64 s0, s[2:3] ; encoding: [0x02,0x0e,0x80,0xbe] + +0x6a,0x0e,0x80,0xbe +# GFX10: s_bcnt0_i32_b64 s0, vcc ; encoding: [0x6a,0x0e,0x80,0xbe] + +0x66,0x0e,0xe9,0xbe +# GFX10: s_bcnt0_i32_b64 s105, s[102:103] ; encoding: [0x66,0x0e,0xe9,0xbe] + +0x02,0x0e,0xe9,0xbe +# GFX10: s_bcnt0_i32_b64 s105, s[2:3] ; encoding: [0x02,0x0e,0xe9,0xbe] + +0x02,0x0e,0xeb,0xbe +# GFX10: s_bcnt0_i32_b64 vcc_hi, s[2:3] ; encoding: [0x02,0x0e,0xeb,0xbe] + +0x02,0x0e,0xea,0xbe +# GFX10: s_bcnt0_i32_b64 vcc_lo, s[2:3] ; encoding: [0x02,0x0e,0xea,0xbe] + +0x01,0x0f,0xff,0xbe +# GFX10: s_bcnt1_i32_b32 exec_hi, s1 ; encoding: [0x01,0x0f,0xff,0xbe] + +0x01,0x0f,0xfe,0xbe +# GFX10: s_bcnt1_i32_b32 exec_lo, s1 ; encoding: [0x01,0x0f,0xfe,0xbe] + +0x01,0x0f,0xfc,0xbe +# GFX10: s_bcnt1_i32_b32 m0, s1 ; encoding: [0x01,0x0f,0xfc,0xbe] + +0xc1,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, -1 ; encoding: [0xc1,0x0f,0x80,0xbe] + +0xf7,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, -4.0 ; encoding: [0xf7,0x0f,0x80,0xbe] + +0x80,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, 0 ; encoding: [0x80,0x0f,0x80,0xbe] + +0xf0,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, 0.5 ; encoding: [0xf0,0x0f,0x80,0xbe] + +0xff,0x0f,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_bcnt1_i32_b32 s0, 0x3f717273 ; encoding: [0xff,0x0f,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x0f,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_bcnt1_i32_b32 s0, 0xaf123456 ; encoding: [0xff,0x0f,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, exec_hi ; encoding: [0x7f,0x0f,0x80,0xbe] + +0x7e,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, exec_lo ; encoding: [0x7e,0x0f,0x80,0xbe] + +0x7c,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, m0 ; encoding: [0x7c,0x0f,0x80,0xbe] + +0x01,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, s1 ; encoding: [0x01,0x0f,0x80,0xbe] + +0x68,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, s104 ; encoding: [0x68,0x0f,0x80,0xbe] + +0x6b,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, vcc_hi ; encoding: [0x6b,0x0f,0x80,0xbe] + +0x6a,0x0f,0x80,0xbe +# GFX10: s_bcnt1_i32_b32 s0, vcc_lo ; encoding: [0x6a,0x0f,0x80,0xbe] + +0x01,0x0f,0xe9,0xbe +# GFX10: s_bcnt1_i32_b32 s105, s1 ; encoding: [0x01,0x0f,0xe9,0xbe] + +0x68,0x0f,0xe9,0xbe +# GFX10: s_bcnt1_i32_b32 s105, s104 ; encoding: [0x68,0x0f,0xe9,0xbe] + +0x01,0x0f,0xeb,0xbe +# GFX10: s_bcnt1_i32_b32 vcc_hi, s1 ; encoding: [0x01,0x0f,0xeb,0xbe] + +0x01,0x0f,0xea,0xbe +# GFX10: s_bcnt1_i32_b32 vcc_lo, s1 ; encoding: [0x01,0x0f,0xea,0xbe] + +0x02,0x10,0xff,0xbe +# GFX10: s_bcnt1_i32_b64 exec_hi, s[2:3] ; encoding: [0x02,0x10,0xff,0xbe] + +0x02,0x10,0xfe,0xbe +# GFX10: s_bcnt1_i32_b64 exec_lo, s[2:3] ; encoding: [0x02,0x10,0xfe,0xbe] + +0x02,0x10,0xfc,0xbe +# GFX10: s_bcnt1_i32_b64 m0, s[2:3] ; encoding: [0x02,0x10,0xfc,0xbe] + +0xc1,0x10,0x80,0xbe +# GFX10: s_bcnt1_i32_b64 s0, -1 ; encoding: [0xc1,0x10,0x80,0xbe] + +0xf7,0x10,0x80,0xbe +# GFX10: s_bcnt1_i32_b64 s0, -4.0 ; encoding: [0xf7,0x10,0x80,0xbe] + +0x80,0x10,0x80,0xbe +# GFX10: s_bcnt1_i32_b64 s0, 0 ; encoding: [0x80,0x10,0x80,0xbe] + +0xf0,0x10,0x80,0xbe +# GFX10: s_bcnt1_i32_b64 s0, 0.5 ; encoding: [0xf0,0x10,0x80,0xbe] + +0xff,0x10,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_bcnt1_i32_b64 s0, 0x3f717273 ; encoding: [0xff,0x10,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x10,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_bcnt1_i32_b64 s0, 0xaf123456 ; encoding: [0xff,0x10,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x10,0x80,0xbe +# GFX10: s_bcnt1_i32_b64 s0, exec ; encoding: [0x7e,0x10,0x80,0xbe] + +0x66,0x10,0x80,0xbe +# GFX10: s_bcnt1_i32_b64 s0, s[102:103] ; encoding: [0x66,0x10,0x80,0xbe] + +0x02,0x10,0x80,0xbe +# GFX10: s_bcnt1_i32_b64 s0, s[2:3] ; encoding: [0x02,0x10,0x80,0xbe] + +0x6a,0x10,0x80,0xbe +# GFX10: s_bcnt1_i32_b64 s0, vcc ; encoding: [0x6a,0x10,0x80,0xbe] + +0x66,0x10,0xe9,0xbe +# GFX10: s_bcnt1_i32_b64 s105, s[102:103] ; encoding: [0x66,0x10,0xe9,0xbe] + +0x02,0x10,0xe9,0xbe +# GFX10: s_bcnt1_i32_b64 s105, s[2:3] ; encoding: [0x02,0x10,0xe9,0xbe] + +0x02,0x10,0xeb,0xbe +# GFX10: s_bcnt1_i32_b64 vcc_hi, s[2:3] ; encoding: [0x02,0x10,0xeb,0xbe] + +0x02,0x10,0xea,0xbe +# GFX10: s_bcnt1_i32_b64 vcc_lo, s[2:3] ; encoding: [0x02,0x10,0xea,0xbe] + +0x02,0x3b,0xfe,0xbe +# GFX10: s_bitreplicate_b64_b32 exec, s2 ; encoding: [0x02,0x3b,0xfe,0xbe] + +0xc1,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], -1 ; encoding: [0xc1,0x3b,0x80,0xbe] + +0xf7,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], -4.0 ; encoding: [0xf7,0x3b,0x80,0xbe] + +0x80,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], 0 ; encoding: [0x80,0x3b,0x80,0xbe] + +0xf0,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], 0.5 ; encoding: [0xf0,0x3b,0x80,0xbe] + +0xff,0x3b,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_bitreplicate_b64_b32 s[0:1], 0x3f717273 ; encoding: [0xff,0x3b,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x3b,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_bitreplicate_b64_b32 s[0:1], 0xaf123456 ; encoding: [0xff,0x3b,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], exec_hi ; encoding: [0x7f,0x3b,0x80,0xbe] + +0x7e,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], exec_lo ; encoding: [0x7e,0x3b,0x80,0xbe] + +0x7c,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], m0 ; encoding: [0x7c,0x3b,0x80,0xbe] + +0x66,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], s102 ; encoding: [0x66,0x3b,0x80,0xbe] + +0x02,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], s2 ; encoding: [0x02,0x3b,0x80,0xbe] + +0x6b,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], vcc_hi ; encoding: [0x6b,0x3b,0x80,0xbe] + +0x6a,0x3b,0x80,0xbe +# GFX10: s_bitreplicate_b64_b32 s[0:1], vcc_lo ; encoding: [0x6a,0x3b,0x80,0xbe] + +0x66,0x3b,0xe8,0xbe +# GFX10: s_bitreplicate_b64_b32 s[104:105], s102 ; encoding: [0x66,0x3b,0xe8,0xbe] + +0x02,0x3b,0xe8,0xbe +# GFX10: s_bitreplicate_b64_b32 s[104:105], s2 ; encoding: [0x02,0x3b,0xe8,0xbe] + +0x02,0x3b,0xea,0xbe +# GFX10: s_bitreplicate_b64_b32 vcc, s2 ; encoding: [0x02,0x3b,0xea,0xbe] + +0x01,0x1b,0xff,0xbe +# GFX10: s_bitset0_b32 exec_hi, s1 ; encoding: [0x01,0x1b,0xff,0xbe] + +0x01,0x1b,0xfe,0xbe +# GFX10: s_bitset0_b32 exec_lo, s1 ; encoding: [0x01,0x1b,0xfe,0xbe] + +0x01,0x1b,0xfc,0xbe +# GFX10: s_bitset0_b32 m0, s1 ; encoding: [0x01,0x1b,0xfc,0xbe] + +0xc1,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, -1 ; encoding: [0xc1,0x1b,0x80,0xbe] + +0xf7,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, -4.0 ; encoding: [0xf7,0x1b,0x80,0xbe] + +0x80,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, 0 ; encoding: [0x80,0x1b,0x80,0xbe] + +0xf0,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, 0.5 ; encoding: [0xf0,0x1b,0x80,0xbe] + +0xff,0x1b,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_bitset0_b32 s0, 0x3f717273 ; encoding: [0xff,0x1b,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x1b,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_bitset0_b32 s0, 0xaf123456 ; encoding: [0xff,0x1b,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, exec_hi ; encoding: [0x7f,0x1b,0x80,0xbe] + +0x7e,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, exec_lo ; encoding: [0x7e,0x1b,0x80,0xbe] + +0x7c,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, m0 ; encoding: [0x7c,0x1b,0x80,0xbe] + +0x01,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, s1 ; encoding: [0x01,0x1b,0x80,0xbe] + +0x68,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, s104 ; encoding: [0x68,0x1b,0x80,0xbe] + +0x6b,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, vcc_hi ; encoding: [0x6b,0x1b,0x80,0xbe] + +0x6a,0x1b,0x80,0xbe +# GFX10: s_bitset0_b32 s0, vcc_lo ; encoding: [0x6a,0x1b,0x80,0xbe] + +0x01,0x1b,0xe9,0xbe +# GFX10: s_bitset0_b32 s105, s1 ; encoding: [0x01,0x1b,0xe9,0xbe] + +0x68,0x1b,0xe9,0xbe +# GFX10: s_bitset0_b32 s105, s104 ; encoding: [0x68,0x1b,0xe9,0xbe] + +0x01,0x1b,0xeb,0xbe +# GFX10: s_bitset0_b32 vcc_hi, s1 ; encoding: [0x01,0x1b,0xeb,0xbe] + +0x01,0x1b,0xea,0xbe +# GFX10: s_bitset0_b32 vcc_lo, s1 ; encoding: [0x01,0x1b,0xea,0xbe] + +0x02,0x1c,0xfe,0xbe +# GFX10: s_bitset0_b64 exec, s2 ; encoding: [0x02,0x1c,0xfe,0xbe] + +0xc1,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], -1 ; encoding: [0xc1,0x1c,0x80,0xbe] + +0xf7,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], -4.0 ; encoding: [0xf7,0x1c,0x80,0xbe] + +0x80,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], 0 ; encoding: [0x80,0x1c,0x80,0xbe] + +0xf0,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], 0.5 ; encoding: [0xf0,0x1c,0x80,0xbe] + +0xff,0x1c,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_bitset0_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x1c,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x1c,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_bitset0_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x1c,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], exec_hi ; encoding: [0x7f,0x1c,0x80,0xbe] + +0x7e,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], exec_lo ; encoding: [0x7e,0x1c,0x80,0xbe] + +0x7c,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], m0 ; encoding: [0x7c,0x1c,0x80,0xbe] + +0x66,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], s102 ; encoding: [0x66,0x1c,0x80,0xbe] + +0x02,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], s2 ; encoding: [0x02,0x1c,0x80,0xbe] + +0x6b,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], vcc_hi ; encoding: [0x6b,0x1c,0x80,0xbe] + +0x6a,0x1c,0x80,0xbe +# GFX10: s_bitset0_b64 s[0:1], vcc_lo ; encoding: [0x6a,0x1c,0x80,0xbe] + +0x66,0x1c,0xe8,0xbe +# GFX10: s_bitset0_b64 s[104:105], s102 ; encoding: [0x66,0x1c,0xe8,0xbe] + +0x02,0x1c,0xe8,0xbe +# GFX10: s_bitset0_b64 s[104:105], s2 ; encoding: [0x02,0x1c,0xe8,0xbe] + +0x02,0x1c,0xea,0xbe +# GFX10: s_bitset0_b64 vcc, s2 ; encoding: [0x02,0x1c,0xea,0xbe] + +0x01,0x1d,0xff,0xbe +# GFX10: s_bitset1_b32 exec_hi, s1 ; encoding: [0x01,0x1d,0xff,0xbe] + +0x01,0x1d,0xfe,0xbe +# GFX10: s_bitset1_b32 exec_lo, s1 ; encoding: [0x01,0x1d,0xfe,0xbe] + +0x01,0x1d,0xfc,0xbe +# GFX10: s_bitset1_b32 m0, s1 ; encoding: [0x01,0x1d,0xfc,0xbe] + +0xc1,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, -1 ; encoding: [0xc1,0x1d,0x80,0xbe] + +0xf7,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, -4.0 ; encoding: [0xf7,0x1d,0x80,0xbe] + +0x80,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, 0 ; encoding: [0x80,0x1d,0x80,0xbe] + +0xf0,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, 0.5 ; encoding: [0xf0,0x1d,0x80,0xbe] + +0xff,0x1d,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_bitset1_b32 s0, 0x3f717273 ; encoding: [0xff,0x1d,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x1d,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_bitset1_b32 s0, 0xaf123456 ; encoding: [0xff,0x1d,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, exec_hi ; encoding: [0x7f,0x1d,0x80,0xbe] + +0x7e,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, exec_lo ; encoding: [0x7e,0x1d,0x80,0xbe] + +0x7c,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, m0 ; encoding: [0x7c,0x1d,0x80,0xbe] + +0x01,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, s1 ; encoding: [0x01,0x1d,0x80,0xbe] + +0x68,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, s104 ; encoding: [0x68,0x1d,0x80,0xbe] + +0x6b,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, vcc_hi ; encoding: [0x6b,0x1d,0x80,0xbe] + +0x6a,0x1d,0x80,0xbe +# GFX10: s_bitset1_b32 s0, vcc_lo ; encoding: [0x6a,0x1d,0x80,0xbe] + +0x01,0x1d,0xe9,0xbe +# GFX10: s_bitset1_b32 s105, s1 ; encoding: [0x01,0x1d,0xe9,0xbe] + +0x68,0x1d,0xe9,0xbe +# GFX10: s_bitset1_b32 s105, s104 ; encoding: [0x68,0x1d,0xe9,0xbe] + +0x01,0x1d,0xeb,0xbe +# GFX10: s_bitset1_b32 vcc_hi, s1 ; encoding: [0x01,0x1d,0xeb,0xbe] + +0x01,0x1d,0xea,0xbe +# GFX10: s_bitset1_b32 vcc_lo, s1 ; encoding: [0x01,0x1d,0xea,0xbe] + +0x02,0x1e,0xfe,0xbe +# GFX10: s_bitset1_b64 exec, s2 ; encoding: [0x02,0x1e,0xfe,0xbe] + +0xc1,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], -1 ; encoding: [0xc1,0x1e,0x80,0xbe] + +0xf7,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], -4.0 ; encoding: [0xf7,0x1e,0x80,0xbe] + +0x80,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], 0 ; encoding: [0x80,0x1e,0x80,0xbe] + +0xf0,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], 0.5 ; encoding: [0xf0,0x1e,0x80,0xbe] + +0xff,0x1e,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_bitset1_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x1e,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x1e,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_bitset1_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x1e,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], exec_hi ; encoding: [0x7f,0x1e,0x80,0xbe] + +0x7e,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], exec_lo ; encoding: [0x7e,0x1e,0x80,0xbe] + +0x7c,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], m0 ; encoding: [0x7c,0x1e,0x80,0xbe] + +0x66,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], s102 ; encoding: [0x66,0x1e,0x80,0xbe] + +0x02,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], s2 ; encoding: [0x02,0x1e,0x80,0xbe] + +0x6b,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], vcc_hi ; encoding: [0x6b,0x1e,0x80,0xbe] + +0x6a,0x1e,0x80,0xbe +# GFX10: s_bitset1_b64 s[0:1], vcc_lo ; encoding: [0x6a,0x1e,0x80,0xbe] + +0x66,0x1e,0xe8,0xbe +# GFX10: s_bitset1_b64 s[104:105], s102 ; encoding: [0x66,0x1e,0xe8,0xbe] + +0x02,0x1e,0xe8,0xbe +# GFX10: s_bitset1_b64 s[104:105], s2 ; encoding: [0x02,0x1e,0xe8,0xbe] + +0x02,0x1e,0xea,0xbe +# GFX10: s_bitset1_b64 vcc, s2 ; encoding: [0x02,0x1e,0xea,0xbe] + +0x01,0x0b,0xff,0xbe +# GFX10: s_brev_b32 exec_hi, s1 ; encoding: [0x01,0x0b,0xff,0xbe] + +0x01,0x0b,0xfe,0xbe +# GFX10: s_brev_b32 exec_lo, s1 ; encoding: [0x01,0x0b,0xfe,0xbe] + +0x01,0x0b,0xfc,0xbe +# GFX10: s_brev_b32 m0, s1 ; encoding: [0x01,0x0b,0xfc,0xbe] + +0xc1,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, -1 ; encoding: [0xc1,0x0b,0x80,0xbe] + +0xf7,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, -4.0 ; encoding: [0xf7,0x0b,0x80,0xbe] + +0x80,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, 0 ; encoding: [0x80,0x0b,0x80,0xbe] + +0xf0,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, 0.5 ; encoding: [0xf0,0x0b,0x80,0xbe] + +0xff,0x0b,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_brev_b32 s0, 0x3f717273 ; encoding: [0xff,0x0b,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x0b,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_brev_b32 s0, 0xaf123456 ; encoding: [0xff,0x0b,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, exec_hi ; encoding: [0x7f,0x0b,0x80,0xbe] + +0x7e,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, exec_lo ; encoding: [0x7e,0x0b,0x80,0xbe] + +0x7c,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, m0 ; encoding: [0x7c,0x0b,0x80,0xbe] + +0x01,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, s1 ; encoding: [0x01,0x0b,0x80,0xbe] + +0x68,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, s104 ; encoding: [0x68,0x0b,0x80,0xbe] + +0x6b,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, vcc_hi ; encoding: [0x6b,0x0b,0x80,0xbe] + +0x6a,0x0b,0x80,0xbe +# GFX10: s_brev_b32 s0, vcc_lo ; encoding: [0x6a,0x0b,0x80,0xbe] + +0x01,0x0b,0xe9,0xbe +# GFX10: s_brev_b32 s105, s1 ; encoding: [0x01,0x0b,0xe9,0xbe] + +0x68,0x0b,0xe9,0xbe +# GFX10: s_brev_b32 s105, s104 ; encoding: [0x68,0x0b,0xe9,0xbe] + +0x01,0x0b,0xeb,0xbe +# GFX10: s_brev_b32 vcc_hi, s1 ; encoding: [0x01,0x0b,0xeb,0xbe] + +0x01,0x0b,0xea,0xbe +# GFX10: s_brev_b32 vcc_lo, s1 ; encoding: [0x01,0x0b,0xea,0xbe] + +0x02,0x0c,0xfe,0xbe +# GFX10: s_brev_b64 exec, s[2:3] ; encoding: [0x02,0x0c,0xfe,0xbe] + +0xc1,0x0c,0x80,0xbe +# GFX10: s_brev_b64 s[0:1], -1 ; encoding: [0xc1,0x0c,0x80,0xbe] + +0xf7,0x0c,0x80,0xbe +# GFX10: s_brev_b64 s[0:1], -4.0 ; encoding: [0xf7,0x0c,0x80,0xbe] + +0x80,0x0c,0x80,0xbe +# GFX10: s_brev_b64 s[0:1], 0 ; encoding: [0x80,0x0c,0x80,0xbe] + +0xf0,0x0c,0x80,0xbe +# GFX10: s_brev_b64 s[0:1], 0.5 ; encoding: [0xf0,0x0c,0x80,0xbe] + +0xff,0x0c,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_brev_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x0c,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x0c,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_brev_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x0c,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x0c,0x80,0xbe +# GFX10: s_brev_b64 s[0:1], exec ; encoding: [0x7e,0x0c,0x80,0xbe] + +0x66,0x0c,0x80,0xbe +# GFX10: s_brev_b64 s[0:1], s[102:103] ; encoding: [0x66,0x0c,0x80,0xbe] + +0x02,0x0c,0x80,0xbe +# GFX10: s_brev_b64 s[0:1], s[2:3] ; encoding: [0x02,0x0c,0x80,0xbe] + +0x6a,0x0c,0x80,0xbe +# GFX10: s_brev_b64 s[0:1], vcc ; encoding: [0x6a,0x0c,0x80,0xbe] + +0x66,0x0c,0xe8,0xbe +# GFX10: s_brev_b64 s[104:105], s[102:103] ; encoding: [0x66,0x0c,0xe8,0xbe] + +0x02,0x0c,0xe8,0xbe +# GFX10: s_brev_b64 s[104:105], s[2:3] ; encoding: [0x02,0x0c,0xe8,0xbe] + +0x02,0x0c,0xea,0xbe +# GFX10: s_brev_b64 vcc, s[2:3] ; encoding: [0x02,0x0c,0xea,0xbe] + +0x01,0x05,0xff,0xbe +# GFX10: s_cmov_b32 exec_hi, s1 ; encoding: [0x01,0x05,0xff,0xbe] + +0x01,0x05,0xfe,0xbe +# GFX10: s_cmov_b32 exec_lo, s1 ; encoding: [0x01,0x05,0xfe,0xbe] + +0x01,0x05,0xfc,0xbe +# GFX10: s_cmov_b32 m0, s1 ; encoding: [0x01,0x05,0xfc,0xbe] + +0xc1,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, -1 ; encoding: [0xc1,0x05,0x80,0xbe] + +0xf7,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, -4.0 ; encoding: [0xf7,0x05,0x80,0xbe] + +0x80,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, 0 ; encoding: [0x80,0x05,0x80,0xbe] + +0xf0,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, 0.5 ; encoding: [0xf0,0x05,0x80,0xbe] + +0xff,0x05,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_cmov_b32 s0, 0x3f717273 ; encoding: [0xff,0x05,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x05,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_cmov_b32 s0, 0xaf123456 ; encoding: [0xff,0x05,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, exec_hi ; encoding: [0x7f,0x05,0x80,0xbe] + +0x7e,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, exec_lo ; encoding: [0x7e,0x05,0x80,0xbe] + +0x7c,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, m0 ; encoding: [0x7c,0x05,0x80,0xbe] + +0x01,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, s1 ; encoding: [0x01,0x05,0x80,0xbe] + +0x68,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, s104 ; encoding: [0x68,0x05,0x80,0xbe] + +0x6b,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, vcc_hi ; encoding: [0x6b,0x05,0x80,0xbe] + +0x6a,0x05,0x80,0xbe +# GFX10: s_cmov_b32 s0, vcc_lo ; encoding: [0x6a,0x05,0x80,0xbe] + +0x01,0x05,0xe9,0xbe +# GFX10: s_cmov_b32 s105, s1 ; encoding: [0x01,0x05,0xe9,0xbe] + +0x68,0x05,0xe9,0xbe +# GFX10: s_cmov_b32 s105, s104 ; encoding: [0x68,0x05,0xe9,0xbe] + +0x01,0x05,0xeb,0xbe +# GFX10: s_cmov_b32 vcc_hi, s1 ; encoding: [0x01,0x05,0xeb,0xbe] + +0x01,0x05,0xea,0xbe +# GFX10: s_cmov_b32 vcc_lo, s1 ; encoding: [0x01,0x05,0xea,0xbe] + +0x02,0x06,0xfe,0xbe +# GFX10: s_cmov_b64 exec, s[2:3] ; encoding: [0x02,0x06,0xfe,0xbe] + +0xc1,0x06,0x80,0xbe +# GFX10: s_cmov_b64 s[0:1], -1 ; encoding: [0xc1,0x06,0x80,0xbe] + +0xf7,0x06,0x80,0xbe +# GFX10: s_cmov_b64 s[0:1], -4.0 ; encoding: [0xf7,0x06,0x80,0xbe] + +0x80,0x06,0x80,0xbe +# GFX10: s_cmov_b64 s[0:1], 0 ; encoding: [0x80,0x06,0x80,0xbe] + +0xf0,0x06,0x80,0xbe +# GFX10: s_cmov_b64 s[0:1], 0.5 ; encoding: [0xf0,0x06,0x80,0xbe] + +0xff,0x06,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_cmov_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x06,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x06,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_cmov_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x06,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x06,0x80,0xbe +# GFX10: s_cmov_b64 s[0:1], exec ; encoding: [0x7e,0x06,0x80,0xbe] + +0x66,0x06,0x80,0xbe +# GFX10: s_cmov_b64 s[0:1], s[102:103] ; encoding: [0x66,0x06,0x80,0xbe] + +0x02,0x06,0x80,0xbe +# GFX10: s_cmov_b64 s[0:1], s[2:3] ; encoding: [0x02,0x06,0x80,0xbe] + +0x6a,0x06,0x80,0xbe +# GFX10: s_cmov_b64 s[0:1], vcc ; encoding: [0x6a,0x06,0x80,0xbe] + +0x66,0x06,0xe8,0xbe +# GFX10: s_cmov_b64 s[104:105], s[102:103] ; encoding: [0x66,0x06,0xe8,0xbe] + +0x02,0x06,0xe8,0xbe +# GFX10: s_cmov_b64 s[104:105], s[2:3] ; encoding: [0x02,0x06,0xe8,0xbe] + +0x02,0x06,0xea,0xbe +# GFX10: s_cmov_b64 vcc, s[2:3] ; encoding: [0x02,0x06,0xea,0xbe] + +0x01,0x11,0xff,0xbe +# GFX10: s_ff0_i32_b32 exec_hi, s1 ; encoding: [0x01,0x11,0xff,0xbe] + +0x01,0x11,0xfe,0xbe +# GFX10: s_ff0_i32_b32 exec_lo, s1 ; encoding: [0x01,0x11,0xfe,0xbe] + +0x01,0x11,0xfc,0xbe +# GFX10: s_ff0_i32_b32 m0, s1 ; encoding: [0x01,0x11,0xfc,0xbe] + +0xc1,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, -1 ; encoding: [0xc1,0x11,0x80,0xbe] + +0xf7,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, -4.0 ; encoding: [0xf7,0x11,0x80,0xbe] + +0x80,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, 0 ; encoding: [0x80,0x11,0x80,0xbe] + +0xf0,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, 0.5 ; encoding: [0xf0,0x11,0x80,0xbe] + +0xff,0x11,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_ff0_i32_b32 s0, 0x3f717273 ; encoding: [0xff,0x11,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x11,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_ff0_i32_b32 s0, 0xaf123456 ; encoding: [0xff,0x11,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, exec_hi ; encoding: [0x7f,0x11,0x80,0xbe] + +0x7e,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, exec_lo ; encoding: [0x7e,0x11,0x80,0xbe] + +0x7c,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, m0 ; encoding: [0x7c,0x11,0x80,0xbe] + +0x01,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, s1 ; encoding: [0x01,0x11,0x80,0xbe] + +0x68,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, s104 ; encoding: [0x68,0x11,0x80,0xbe] + +0x6b,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, vcc_hi ; encoding: [0x6b,0x11,0x80,0xbe] + +0x6a,0x11,0x80,0xbe +# GFX10: s_ff0_i32_b32 s0, vcc_lo ; encoding: [0x6a,0x11,0x80,0xbe] + +0x01,0x11,0xe9,0xbe +# GFX10: s_ff0_i32_b32 s105, s1 ; encoding: [0x01,0x11,0xe9,0xbe] + +0x68,0x11,0xe9,0xbe +# GFX10: s_ff0_i32_b32 s105, s104 ; encoding: [0x68,0x11,0xe9,0xbe] + +0x01,0x11,0xeb,0xbe +# GFX10: s_ff0_i32_b32 vcc_hi, s1 ; encoding: [0x01,0x11,0xeb,0xbe] + +0x01,0x11,0xea,0xbe +# GFX10: s_ff0_i32_b32 vcc_lo, s1 ; encoding: [0x01,0x11,0xea,0xbe] + +0x02,0x12,0xff,0xbe +# GFX10: s_ff0_i32_b64 exec_hi, s[2:3] ; encoding: [0x02,0x12,0xff,0xbe] + +0x02,0x12,0xfe,0xbe +# GFX10: s_ff0_i32_b64 exec_lo, s[2:3] ; encoding: [0x02,0x12,0xfe,0xbe] + +0x02,0x12,0xfc,0xbe +# GFX10: s_ff0_i32_b64 m0, s[2:3] ; encoding: [0x02,0x12,0xfc,0xbe] + +0xc1,0x12,0x80,0xbe +# GFX10: s_ff0_i32_b64 s0, -1 ; encoding: [0xc1,0x12,0x80,0xbe] + +0xf7,0x12,0x80,0xbe +# GFX10: s_ff0_i32_b64 s0, -4.0 ; encoding: [0xf7,0x12,0x80,0xbe] + +0x80,0x12,0x80,0xbe +# GFX10: s_ff0_i32_b64 s0, 0 ; encoding: [0x80,0x12,0x80,0xbe] + +0xf0,0x12,0x80,0xbe +# GFX10: s_ff0_i32_b64 s0, 0.5 ; encoding: [0xf0,0x12,0x80,0xbe] + +0xff,0x12,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_ff0_i32_b64 s0, 0x3f717273 ; encoding: [0xff,0x12,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x12,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_ff0_i32_b64 s0, 0xaf123456 ; encoding: [0xff,0x12,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x12,0x80,0xbe +# GFX10: s_ff0_i32_b64 s0, exec ; encoding: [0x7e,0x12,0x80,0xbe] + +0x66,0x12,0x80,0xbe +# GFX10: s_ff0_i32_b64 s0, s[102:103] ; encoding: [0x66,0x12,0x80,0xbe] + +0x02,0x12,0x80,0xbe +# GFX10: s_ff0_i32_b64 s0, s[2:3] ; encoding: [0x02,0x12,0x80,0xbe] + +0x6a,0x12,0x80,0xbe +# GFX10: s_ff0_i32_b64 s0, vcc ; encoding: [0x6a,0x12,0x80,0xbe] + +0x66,0x12,0xe9,0xbe +# GFX10: s_ff0_i32_b64 s105, s[102:103] ; encoding: [0x66,0x12,0xe9,0xbe] + +0x02,0x12,0xe9,0xbe +# GFX10: s_ff0_i32_b64 s105, s[2:3] ; encoding: [0x02,0x12,0xe9,0xbe] + +0x02,0x12,0xeb,0xbe +# GFX10: s_ff0_i32_b64 vcc_hi, s[2:3] ; encoding: [0x02,0x12,0xeb,0xbe] + +0x02,0x12,0xea,0xbe +# GFX10: s_ff0_i32_b64 vcc_lo, s[2:3] ; encoding: [0x02,0x12,0xea,0xbe] + +0x01,0x13,0xff,0xbe +# GFX10: s_ff1_i32_b32 exec_hi, s1 ; encoding: [0x01,0x13,0xff,0xbe] + +0x01,0x13,0xfe,0xbe +# GFX10: s_ff1_i32_b32 exec_lo, s1 ; encoding: [0x01,0x13,0xfe,0xbe] + +0x01,0x13,0xfc,0xbe +# GFX10: s_ff1_i32_b32 m0, s1 ; encoding: [0x01,0x13,0xfc,0xbe] + +0xc1,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, -1 ; encoding: [0xc1,0x13,0x80,0xbe] + +0xf7,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, -4.0 ; encoding: [0xf7,0x13,0x80,0xbe] + +0x80,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, 0 ; encoding: [0x80,0x13,0x80,0xbe] + +0xf0,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, 0.5 ; encoding: [0xf0,0x13,0x80,0xbe] + +0xff,0x13,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_ff1_i32_b32 s0, 0x3f717273 ; encoding: [0xff,0x13,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x13,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_ff1_i32_b32 s0, 0xaf123456 ; encoding: [0xff,0x13,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, exec_hi ; encoding: [0x7f,0x13,0x80,0xbe] + +0x7e,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, exec_lo ; encoding: [0x7e,0x13,0x80,0xbe] + +0x7c,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, m0 ; encoding: [0x7c,0x13,0x80,0xbe] + +0x01,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, s1 ; encoding: [0x01,0x13,0x80,0xbe] + +0x68,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, s104 ; encoding: [0x68,0x13,0x80,0xbe] + +0x6b,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, vcc_hi ; encoding: [0x6b,0x13,0x80,0xbe] + +0x6a,0x13,0x80,0xbe +# GFX10: s_ff1_i32_b32 s0, vcc_lo ; encoding: [0x6a,0x13,0x80,0xbe] + +0x01,0x13,0xe9,0xbe +# GFX10: s_ff1_i32_b32 s105, s1 ; encoding: [0x01,0x13,0xe9,0xbe] + +0x68,0x13,0xe9,0xbe +# GFX10: s_ff1_i32_b32 s105, s104 ; encoding: [0x68,0x13,0xe9,0xbe] + +0x01,0x13,0xeb,0xbe +# GFX10: s_ff1_i32_b32 vcc_hi, s1 ; encoding: [0x01,0x13,0xeb,0xbe] + +0x01,0x13,0xea,0xbe +# GFX10: s_ff1_i32_b32 vcc_lo, s1 ; encoding: [0x01,0x13,0xea,0xbe] + +0x02,0x14,0xff,0xbe +# GFX10: s_ff1_i32_b64 exec_hi, s[2:3] ; encoding: [0x02,0x14,0xff,0xbe] + +0x02,0x14,0xfe,0xbe +# GFX10: s_ff1_i32_b64 exec_lo, s[2:3] ; encoding: [0x02,0x14,0xfe,0xbe] + +0x02,0x14,0xfc,0xbe +# GFX10: s_ff1_i32_b64 m0, s[2:3] ; encoding: [0x02,0x14,0xfc,0xbe] + +0xc1,0x14,0x80,0xbe +# GFX10: s_ff1_i32_b64 s0, -1 ; encoding: [0xc1,0x14,0x80,0xbe] + +0xf7,0x14,0x80,0xbe +# GFX10: s_ff1_i32_b64 s0, -4.0 ; encoding: [0xf7,0x14,0x80,0xbe] + +0x80,0x14,0x80,0xbe +# GFX10: s_ff1_i32_b64 s0, 0 ; encoding: [0x80,0x14,0x80,0xbe] + +0xf0,0x14,0x80,0xbe +# GFX10: s_ff1_i32_b64 s0, 0.5 ; encoding: [0xf0,0x14,0x80,0xbe] + +0xff,0x14,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_ff1_i32_b64 s0, 0x3f717273 ; encoding: [0xff,0x14,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x14,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_ff1_i32_b64 s0, 0xaf123456 ; encoding: [0xff,0x14,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x14,0x80,0xbe +# GFX10: s_ff1_i32_b64 s0, exec ; encoding: [0x7e,0x14,0x80,0xbe] + +0x66,0x14,0x80,0xbe +# GFX10: s_ff1_i32_b64 s0, s[102:103] ; encoding: [0x66,0x14,0x80,0xbe] + +0x02,0x14,0x80,0xbe +# GFX10: s_ff1_i32_b64 s0, s[2:3] ; encoding: [0x02,0x14,0x80,0xbe] + +0x6a,0x14,0x80,0xbe +# GFX10: s_ff1_i32_b64 s0, vcc ; encoding: [0x6a,0x14,0x80,0xbe] + +0x66,0x14,0xe9,0xbe +# GFX10: s_ff1_i32_b64 s105, s[102:103] ; encoding: [0x66,0x14,0xe9,0xbe] + +0x02,0x14,0xe9,0xbe +# GFX10: s_ff1_i32_b64 s105, s[2:3] ; encoding: [0x02,0x14,0xe9,0xbe] + +0x02,0x14,0xeb,0xbe +# GFX10: s_ff1_i32_b64 vcc_hi, s[2:3] ; encoding: [0x02,0x14,0xeb,0xbe] + +0x02,0x14,0xea,0xbe +# GFX10: s_ff1_i32_b64 vcc_lo, s[2:3] ; encoding: [0x02,0x14,0xea,0xbe] + +0x01,0x17,0xff,0xbe +# GFX10: s_flbit_i32 exec_hi, s1 ; encoding: [0x01,0x17,0xff,0xbe] + +0x01,0x17,0xfe,0xbe +# GFX10: s_flbit_i32 exec_lo, s1 ; encoding: [0x01,0x17,0xfe,0xbe] + +0x01,0x17,0xfc,0xbe +# GFX10: s_flbit_i32 m0, s1 ; encoding: [0x01,0x17,0xfc,0xbe] + +0xc1,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, -1 ; encoding: [0xc1,0x17,0x80,0xbe] + +0xf7,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, -4.0 ; encoding: [0xf7,0x17,0x80,0xbe] + +0x80,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, 0 ; encoding: [0x80,0x17,0x80,0xbe] + +0xf0,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, 0.5 ; encoding: [0xf0,0x17,0x80,0xbe] + +0xff,0x17,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_flbit_i32 s0, 0x3f717273 ; encoding: [0xff,0x17,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x17,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_flbit_i32 s0, 0xaf123456 ; encoding: [0xff,0x17,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, exec_hi ; encoding: [0x7f,0x17,0x80,0xbe] + +0x7e,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, exec_lo ; encoding: [0x7e,0x17,0x80,0xbe] + +0x7c,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, m0 ; encoding: [0x7c,0x17,0x80,0xbe] + +0x01,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, s1 ; encoding: [0x01,0x17,0x80,0xbe] + +0x68,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, s104 ; encoding: [0x68,0x17,0x80,0xbe] + +0x6b,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, vcc_hi ; encoding: [0x6b,0x17,0x80,0xbe] + +0x6a,0x17,0x80,0xbe +# GFX10: s_flbit_i32 s0, vcc_lo ; encoding: [0x6a,0x17,0x80,0xbe] + +0x01,0x17,0xe9,0xbe +# GFX10: s_flbit_i32 s105, s1 ; encoding: [0x01,0x17,0xe9,0xbe] + +0x68,0x17,0xe9,0xbe +# GFX10: s_flbit_i32 s105, s104 ; encoding: [0x68,0x17,0xe9,0xbe] + +0x01,0x17,0xeb,0xbe +# GFX10: s_flbit_i32 vcc_hi, s1 ; encoding: [0x01,0x17,0xeb,0xbe] + +0x01,0x17,0xea,0xbe +# GFX10: s_flbit_i32 vcc_lo, s1 ; encoding: [0x01,0x17,0xea,0xbe] + +0x01,0x15,0xff,0xbe +# GFX10: s_flbit_i32_b32 exec_hi, s1 ; encoding: [0x01,0x15,0xff,0xbe] + +0x01,0x15,0xfe,0xbe +# GFX10: s_flbit_i32_b32 exec_lo, s1 ; encoding: [0x01,0x15,0xfe,0xbe] + +0x01,0x15,0xfc,0xbe +# GFX10: s_flbit_i32_b32 m0, s1 ; encoding: [0x01,0x15,0xfc,0xbe] + +0xc1,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, -1 ; encoding: [0xc1,0x15,0x80,0xbe] + +0xf7,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, -4.0 ; encoding: [0xf7,0x15,0x80,0xbe] + +0x80,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, 0 ; encoding: [0x80,0x15,0x80,0xbe] + +0xf0,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, 0.5 ; encoding: [0xf0,0x15,0x80,0xbe] + +0xff,0x15,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_flbit_i32_b32 s0, 0x3f717273 ; encoding: [0xff,0x15,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x15,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_flbit_i32_b32 s0, 0xaf123456 ; encoding: [0xff,0x15,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, exec_hi ; encoding: [0x7f,0x15,0x80,0xbe] + +0x7e,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, exec_lo ; encoding: [0x7e,0x15,0x80,0xbe] + +0x7c,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, m0 ; encoding: [0x7c,0x15,0x80,0xbe] + +0x01,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, s1 ; encoding: [0x01,0x15,0x80,0xbe] + +0x68,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, s104 ; encoding: [0x68,0x15,0x80,0xbe] + +0x6b,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, vcc_hi ; encoding: [0x6b,0x15,0x80,0xbe] + +0x6a,0x15,0x80,0xbe +# GFX10: s_flbit_i32_b32 s0, vcc_lo ; encoding: [0x6a,0x15,0x80,0xbe] + +0x01,0x15,0xe9,0xbe +# GFX10: s_flbit_i32_b32 s105, s1 ; encoding: [0x01,0x15,0xe9,0xbe] + +0x68,0x15,0xe9,0xbe +# GFX10: s_flbit_i32_b32 s105, s104 ; encoding: [0x68,0x15,0xe9,0xbe] + +0x01,0x15,0xeb,0xbe +# GFX10: s_flbit_i32_b32 vcc_hi, s1 ; encoding: [0x01,0x15,0xeb,0xbe] + +0x01,0x15,0xea,0xbe +# GFX10: s_flbit_i32_b32 vcc_lo, s1 ; encoding: [0x01,0x15,0xea,0xbe] + +0x02,0x16,0xff,0xbe +# GFX10: s_flbit_i32_b64 exec_hi, s[2:3] ; encoding: [0x02,0x16,0xff,0xbe] + +0x02,0x16,0xfe,0xbe +# GFX10: s_flbit_i32_b64 exec_lo, s[2:3] ; encoding: [0x02,0x16,0xfe,0xbe] + +0x02,0x16,0xfc,0xbe +# GFX10: s_flbit_i32_b64 m0, s[2:3] ; encoding: [0x02,0x16,0xfc,0xbe] + +0xc1,0x16,0x80,0xbe +# GFX10: s_flbit_i32_b64 s0, -1 ; encoding: [0xc1,0x16,0x80,0xbe] + +0xf7,0x16,0x80,0xbe +# GFX10: s_flbit_i32_b64 s0, -4.0 ; encoding: [0xf7,0x16,0x80,0xbe] + +0x80,0x16,0x80,0xbe +# GFX10: s_flbit_i32_b64 s0, 0 ; encoding: [0x80,0x16,0x80,0xbe] + +0xf0,0x16,0x80,0xbe +# GFX10: s_flbit_i32_b64 s0, 0.5 ; encoding: [0xf0,0x16,0x80,0xbe] + +0xff,0x16,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_flbit_i32_b64 s0, 0x3f717273 ; encoding: [0xff,0x16,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x16,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_flbit_i32_b64 s0, 0xaf123456 ; encoding: [0xff,0x16,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x16,0x80,0xbe +# GFX10: s_flbit_i32_b64 s0, exec ; encoding: [0x7e,0x16,0x80,0xbe] + +0x66,0x16,0x80,0xbe +# GFX10: s_flbit_i32_b64 s0, s[102:103] ; encoding: [0x66,0x16,0x80,0xbe] + +0x02,0x16,0x80,0xbe +# GFX10: s_flbit_i32_b64 s0, s[2:3] ; encoding: [0x02,0x16,0x80,0xbe] + +0x6a,0x16,0x80,0xbe +# GFX10: s_flbit_i32_b64 s0, vcc ; encoding: [0x6a,0x16,0x80,0xbe] + +0x66,0x16,0xe9,0xbe +# GFX10: s_flbit_i32_b64 s105, s[102:103] ; encoding: [0x66,0x16,0xe9,0xbe] + +0x02,0x16,0xe9,0xbe +# GFX10: s_flbit_i32_b64 s105, s[2:3] ; encoding: [0x02,0x16,0xe9,0xbe] + +0x02,0x16,0xeb,0xbe +# GFX10: s_flbit_i32_b64 vcc_hi, s[2:3] ; encoding: [0x02,0x16,0xeb,0xbe] + +0x02,0x16,0xea,0xbe +# GFX10: s_flbit_i32_b64 vcc_lo, s[2:3] ; encoding: [0x02,0x16,0xea,0xbe] + +0x02,0x18,0xff,0xbe +# GFX10: s_flbit_i32_i64 exec_hi, s[2:3] ; encoding: [0x02,0x18,0xff,0xbe] + +0x02,0x18,0xfe,0xbe +# GFX10: s_flbit_i32_i64 exec_lo, s[2:3] ; encoding: [0x02,0x18,0xfe,0xbe] + +0x02,0x18,0xfc,0xbe +# GFX10: s_flbit_i32_i64 m0, s[2:3] ; encoding: [0x02,0x18,0xfc,0xbe] + +0xc1,0x18,0x80,0xbe +# GFX10: s_flbit_i32_i64 s0, -1 ; encoding: [0xc1,0x18,0x80,0xbe] + +0xf7,0x18,0x80,0xbe +# GFX10: s_flbit_i32_i64 s0, -4.0 ; encoding: [0xf7,0x18,0x80,0xbe] + +0x80,0x18,0x80,0xbe +# GFX10: s_flbit_i32_i64 s0, 0 ; encoding: [0x80,0x18,0x80,0xbe] + +0xf0,0x18,0x80,0xbe +# GFX10: s_flbit_i32_i64 s0, 0.5 ; encoding: [0xf0,0x18,0x80,0xbe] + +0xff,0x18,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_flbit_i32_i64 s0, 0x3f717273 ; encoding: [0xff,0x18,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x18,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_flbit_i32_i64 s0, 0xaf123456 ; encoding: [0xff,0x18,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x18,0x80,0xbe +# GFX10: s_flbit_i32_i64 s0, exec ; encoding: [0x7e,0x18,0x80,0xbe] + +0x66,0x18,0x80,0xbe +# GFX10: s_flbit_i32_i64 s0, s[102:103] ; encoding: [0x66,0x18,0x80,0xbe] + +0x02,0x18,0x80,0xbe +# GFX10: s_flbit_i32_i64 s0, s[2:3] ; encoding: [0x02,0x18,0x80,0xbe] + +0x6a,0x18,0x80,0xbe +# GFX10: s_flbit_i32_i64 s0, vcc ; encoding: [0x6a,0x18,0x80,0xbe] + +0x66,0x18,0xe9,0xbe +# GFX10: s_flbit_i32_i64 s105, s[102:103] ; encoding: [0x66,0x18,0xe9,0xbe] + +0x02,0x18,0xe9,0xbe +# GFX10: s_flbit_i32_i64 s105, s[2:3] ; encoding: [0x02,0x18,0xe9,0xbe] + +0x02,0x18,0xeb,0xbe +# GFX10: s_flbit_i32_i64 vcc_hi, s[2:3] ; encoding: [0x02,0x18,0xeb,0xbe] + +0x02,0x18,0xea,0xbe +# GFX10: s_flbit_i32_i64 vcc_lo, s[2:3] ; encoding: [0x02,0x18,0xea,0xbe] + +0x00,0x1f,0xfe,0xbe +# GFX10: s_getpc_b64 exec ; encoding: [0x00,0x1f,0xfe,0xbe] + +0x00,0x1f,0x80,0xbe +# GFX10: s_getpc_b64 s[0:1] ; encoding: [0x00,0x1f,0x80,0xbe] + +0x00,0x1f,0xe8,0xbe +# GFX10: s_getpc_b64 s[104:105] ; encoding: [0x00,0x1f,0xe8,0xbe] + +0x00,0x1f,0xea,0xbe +# GFX10: s_getpc_b64 vcc ; encoding: [0x00,0x1f,0xea,0xbe] + +0x01,0x03,0xff,0xbe +# GFX10: s_mov_b32 exec_hi, s1 ; encoding: [0x01,0x03,0xff,0xbe] + +0x01,0x03,0xfe,0xbe +# GFX10: s_mov_b32 exec_lo, s1 ; encoding: [0x01,0x03,0xfe,0xbe] + +0x01,0x03,0xfc,0xbe +# GFX10: s_mov_b32 m0, s1 ; encoding: [0x01,0x03,0xfc,0xbe] + +0xc1,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, -1 ; encoding: [0xc1,0x03,0x80,0xbe] + +0xf7,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, -4.0 ; encoding: [0xf7,0x03,0x80,0xbe] + +0x80,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, 0 ; encoding: [0x80,0x03,0x80,0xbe] + +0xf0,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, 0.5 ; encoding: [0xf0,0x03,0x80,0xbe] + +0xff,0x03,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_mov_b32 s0, 0x3f717273 ; encoding: [0xff,0x03,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x03,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_mov_b32 s0, 0xaf123456 ; encoding: [0xff,0x03,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, exec_hi ; encoding: [0x7f,0x03,0x80,0xbe] + +0x7e,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, exec_lo ; encoding: [0x7e,0x03,0x80,0xbe] + +0x7c,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, m0 ; encoding: [0x7c,0x03,0x80,0xbe] + +0x01,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, s1 ; encoding: [0x01,0x03,0x80,0xbe] + +0x68,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, s104 ; encoding: [0x68,0x03,0x80,0xbe] + +0x6b,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, vcc_hi ; encoding: [0x6b,0x03,0x80,0xbe] + +0x6a,0x03,0x80,0xbe +# GFX10: s_mov_b32 s0, vcc_lo ; encoding: [0x6a,0x03,0x80,0xbe] + +0x01,0x03,0xe9,0xbe +# GFX10: s_mov_b32 s105, s1 ; encoding: [0x01,0x03,0xe9,0xbe] + +0x68,0x03,0xe9,0xbe +# GFX10: s_mov_b32 s105, s104 ; encoding: [0x68,0x03,0xe9,0xbe] + +0x01,0x03,0xeb,0xbe +# GFX10: s_mov_b32 vcc_hi, s1 ; encoding: [0x01,0x03,0xeb,0xbe] + +0x01,0x03,0xea,0xbe +# GFX10: s_mov_b32 vcc_lo, s1 ; encoding: [0x01,0x03,0xea,0xbe] + +0x02,0x04,0xfe,0xbe +# GFX10: s_mov_b64 exec, s[2:3] ; encoding: [0x02,0x04,0xfe,0xbe] + +0x04,0x04,0xfd,0xbe +# GFX10: s_mov_b64 null, s[4:5] ; encoding: [0x04,0x04,0xfd,0xbe] + +0xc1,0x04,0x80,0xbe +# GFX10: s_mov_b64 s[0:1], -1 ; encoding: [0xc1,0x04,0x80,0xbe] + +0xf7,0x04,0x80,0xbe +# GFX10: s_mov_b64 s[0:1], -4.0 ; encoding: [0xf7,0x04,0x80,0xbe] + +0x80,0x04,0x80,0xbe +# GFX10: s_mov_b64 s[0:1], 0 ; encoding: [0x80,0x04,0x80,0xbe] + +0xf0,0x04,0x80,0xbe +# GFX10: s_mov_b64 s[0:1], 0.5 ; encoding: [0xf0,0x04,0x80,0xbe] + +0xff,0x04,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_mov_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x04,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_mov_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x04,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0xbe +# GFX10: s_mov_b64 s[0:1], exec ; encoding: [0x7e,0x04,0x80,0xbe] + +0x66,0x04,0x80,0xbe +# GFX10: s_mov_b64 s[0:1], s[102:103] ; encoding: [0x66,0x04,0x80,0xbe] + +0x02,0x04,0x80,0xbe +# GFX10: s_mov_b64 s[0:1], s[2:3] ; encoding: [0x02,0x04,0x80,0xbe] + +0x6a,0x04,0x80,0xbe +# GFX10: s_mov_b64 s[0:1], vcc ; encoding: [0x6a,0x04,0x80,0xbe] + +0x66,0x04,0xe8,0xbe +# GFX10: s_mov_b64 s[104:105], s[102:103] ; encoding: [0x66,0x04,0xe8,0xbe] + +0x02,0x04,0xe8,0xbe +# GFX10: s_mov_b64 s[104:105], s[2:3] ; encoding: [0x02,0x04,0xe8,0xbe] + +0x02,0x04,0xea,0xbe +# GFX10: s_mov_b64 vcc, s[2:3] ; encoding: [0x02,0x04,0xea,0xbe] + +0xc1,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, -1 ; encoding: [0xc1,0x30,0x80,0xbe] + +0xf7,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, -4.0 ; encoding: [0xf7,0x30,0x80,0xbe] + +0x80,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, 0 ; encoding: [0x80,0x30,0x80,0xbe] + +0xf0,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, 0.5 ; encoding: [0xf0,0x30,0x80,0xbe] + +0xff,0x30,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_movreld_b32 s0, 0x3f717273 ; encoding: [0xff,0x30,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x30,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_movreld_b32 s0, 0xaf123456 ; encoding: [0xff,0x30,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, exec_hi ; encoding: [0x7f,0x30,0x80,0xbe] + +0x7e,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, exec_lo ; encoding: [0x7e,0x30,0x80,0xbe] + +0x7c,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, m0 ; encoding: [0x7c,0x30,0x80,0xbe] + +0x01,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, s1 ; encoding: [0x01,0x30,0x80,0xbe] + +0x68,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, s104 ; encoding: [0x68,0x30,0x80,0xbe] + +0x6b,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, vcc_hi ; encoding: [0x6b,0x30,0x80,0xbe] + +0x6a,0x30,0x80,0xbe +# GFX10: s_movreld_b32 s0, vcc_lo ; encoding: [0x6a,0x30,0x80,0xbe] + +0x01,0x30,0xe9,0xbe +# GFX10: s_movreld_b32 s105, s1 ; encoding: [0x01,0x30,0xe9,0xbe] + +0x68,0x30,0xe9,0xbe +# GFX10: s_movreld_b32 s105, s104 ; encoding: [0x68,0x30,0xe9,0xbe] + +0x01,0x30,0xeb,0xbe +# GFX10: s_movreld_b32 vcc_hi, s1 ; encoding: [0x01,0x30,0xeb,0xbe] + +0x01,0x30,0xea,0xbe +# GFX10: s_movreld_b32 vcc_lo, s1 ; encoding: [0x01,0x30,0xea,0xbe] + +0xc1,0x31,0x80,0xbe +# GFX10: s_movreld_b64 s[0:1], -1 ; encoding: [0xc1,0x31,0x80,0xbe] + +0xf7,0x31,0x80,0xbe +# GFX10: s_movreld_b64 s[0:1], -4.0 ; encoding: [0xf7,0x31,0x80,0xbe] + +0x80,0x31,0x80,0xbe +# GFX10: s_movreld_b64 s[0:1], 0 ; encoding: [0x80,0x31,0x80,0xbe] + +0xf0,0x31,0x80,0xbe +# GFX10: s_movreld_b64 s[0:1], 0.5 ; encoding: [0xf0,0x31,0x80,0xbe] + +0xff,0x31,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_movreld_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x31,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x31,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_movreld_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x31,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x31,0x80,0xbe +# GFX10: s_movreld_b64 s[0:1], exec ; encoding: [0x7e,0x31,0x80,0xbe] + +0x66,0x31,0x80,0xbe +# GFX10: s_movreld_b64 s[0:1], s[102:103] ; encoding: [0x66,0x31,0x80,0xbe] + +0x02,0x31,0x80,0xbe +# GFX10: s_movreld_b64 s[0:1], s[2:3] ; encoding: [0x02,0x31,0x80,0xbe] + +0x6a,0x31,0x80,0xbe +# GFX10: s_movreld_b64 s[0:1], vcc ; encoding: [0x6a,0x31,0x80,0xbe] + +0x66,0x31,0xe8,0xbe +# GFX10: s_movreld_b64 s[104:105], s[102:103] ; encoding: [0x66,0x31,0xe8,0xbe] + +0x02,0x31,0xe8,0xbe +# GFX10: s_movreld_b64 s[104:105], s[2:3] ; encoding: [0x02,0x31,0xe8,0xbe] + +0x02,0x31,0xea,0xbe +# GFX10: s_movreld_b64 vcc, s[2:3] ; encoding: [0x02,0x31,0xea,0xbe] + +0x01,0x2e,0xff,0xbe +# GFX10: s_movrels_b32 exec_hi, s1 ; encoding: [0x01,0x2e,0xff,0xbe] + +0x01,0x2e,0xfe,0xbe +# GFX10: s_movrels_b32 exec_lo, s1 ; encoding: [0x01,0x2e,0xfe,0xbe] + +0x01,0x2e,0xfc,0xbe +# GFX10: s_movrels_b32 m0, s1 ; encoding: [0x01,0x2e,0xfc,0xbe] + +0x01,0x2e,0x80,0xbe +# GFX10: s_movrels_b32 s0, s1 ; encoding: [0x01,0x2e,0x80,0xbe] + +0x68,0x2e,0x80,0xbe +# GFX10: s_movrels_b32 s0, s104 ; encoding: [0x68,0x2e,0x80,0xbe] + +0x6b,0x2e,0x80,0xbe +# GFX10: s_movrels_b32 s0, vcc_hi ; encoding: [0x6b,0x2e,0x80,0xbe] + +0x6a,0x2e,0x80,0xbe +# GFX10: s_movrels_b32 s0, vcc_lo ; encoding: [0x6a,0x2e,0x80,0xbe] + +0x01,0x2e,0xe9,0xbe +# GFX10: s_movrels_b32 s105, s1 ; encoding: [0x01,0x2e,0xe9,0xbe] + +0x68,0x2e,0xe9,0xbe +# GFX10: s_movrels_b32 s105, s104 ; encoding: [0x68,0x2e,0xe9,0xbe] + +0x01,0x2e,0xeb,0xbe +# GFX10: s_movrels_b32 vcc_hi, s1 ; encoding: [0x01,0x2e,0xeb,0xbe] + +0x01,0x2e,0xea,0xbe +# GFX10: s_movrels_b32 vcc_lo, s1 ; encoding: [0x01,0x2e,0xea,0xbe] + +0x02,0x2f,0xfe,0xbe +# GFX10: s_movrels_b64 exec, s[2:3] ; encoding: [0x02,0x2f,0xfe,0xbe] + +0x66,0x2f,0x80,0xbe +# GFX10: s_movrels_b64 s[0:1], s[102:103] ; encoding: [0x66,0x2f,0x80,0xbe] + +0x02,0x2f,0x80,0xbe +# GFX10: s_movrels_b64 s[0:1], s[2:3] ; encoding: [0x02,0x2f,0x80,0xbe] + +0x6a,0x2f,0x80,0xbe +# GFX10: s_movrels_b64 s[0:1], vcc ; encoding: [0x6a,0x2f,0x80,0xbe] + +0x66,0x2f,0xe8,0xbe +# GFX10: s_movrels_b64 s[104:105], s[102:103] ; encoding: [0x66,0x2f,0xe8,0xbe] + +0x02,0x2f,0xe8,0xbe +# GFX10: s_movrels_b64 s[104:105], s[2:3] ; encoding: [0x02,0x2f,0xe8,0xbe] + +0x02,0x2f,0xea,0xbe +# GFX10: s_movrels_b64 vcc, s[2:3] ; encoding: [0x02,0x2f,0xea,0xbe] + +0x01,0x49,0x80,0xbe +# GFX10: s_movrelsd_2_b32 s0, s1 ; encoding: [0x01,0x49,0x80,0xbe] + +0x68,0x49,0x80,0xbe +# GFX10: s_movrelsd_2_b32 s0, s104 ; encoding: [0x68,0x49,0x80,0xbe] + +0x6b,0x49,0x80,0xbe +# GFX10: s_movrelsd_2_b32 s0, vcc_hi ; encoding: [0x6b,0x49,0x80,0xbe] + +0x6a,0x49,0x80,0xbe +# GFX10: s_movrelsd_2_b32 s0, vcc_lo ; encoding: [0x6a,0x49,0x80,0xbe] + +0x01,0x49,0xe9,0xbe +# GFX10: s_movrelsd_2_b32 s105, s1 ; encoding: [0x01,0x49,0xe9,0xbe] + +0x68,0x49,0xe9,0xbe +# GFX10: s_movrelsd_2_b32 s105, s104 ; encoding: [0x68,0x49,0xe9,0xbe] + +0x01,0x49,0xeb,0xbe +# GFX10: s_movrelsd_2_b32 vcc_hi, s1 ; encoding: [0x01,0x49,0xeb,0xbe] + +0x01,0x49,0xea,0xbe +# GFX10: s_movrelsd_2_b32 vcc_lo, s1 ; encoding: [0x01,0x49,0xea,0xbe] + +0x01,0x41,0xff,0xbe +# GFX10: s_nand_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x41,0xff,0xbe] + +0x01,0x41,0xfe,0xbe +# GFX10: s_nand_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x41,0xfe,0xbe] + +0x01,0x41,0xfc,0xbe +# GFX10: s_nand_saveexec_b32 m0, s1 ; encoding: [0x01,0x41,0xfc,0xbe] + +0xc1,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, -1 ; encoding: [0xc1,0x41,0x80,0xbe] + +0xf7,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x41,0x80,0xbe] + +0x80,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, 0 ; encoding: [0x80,0x41,0x80,0xbe] + +0xf0,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x41,0x80,0xbe] + +0xff,0x41,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_nand_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x41,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x41,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_nand_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x41,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x41,0x80,0xbe] + +0x7e,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x41,0x80,0xbe] + +0x7c,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, m0 ; encoding: [0x7c,0x41,0x80,0xbe] + +0x01,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, s1 ; encoding: [0x01,0x41,0x80,0xbe] + +0x68,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, s104 ; encoding: [0x68,0x41,0x80,0xbe] + +0x6b,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x41,0x80,0xbe] + +0x6a,0x41,0x80,0xbe +# GFX10: s_nand_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x41,0x80,0xbe] + +0x01,0x41,0xe9,0xbe +# GFX10: s_nand_saveexec_b32 s105, s1 ; encoding: [0x01,0x41,0xe9,0xbe] + +0x68,0x41,0xe9,0xbe +# GFX10: s_nand_saveexec_b32 s105, s104 ; encoding: [0x68,0x41,0xe9,0xbe] + +0x01,0x41,0xeb,0xbe +# GFX10: s_nand_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x41,0xeb,0xbe] + +0x01,0x41,0xea,0xbe +# GFX10: s_nand_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x41,0xea,0xbe] + +0x02,0x29,0xfe,0xbe +# GFX10: s_nand_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x29,0xfe,0xbe] + +0xc1,0x29,0x80,0xbe +# GFX10: s_nand_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x29,0x80,0xbe] + +0xf7,0x29,0x80,0xbe +# GFX10: s_nand_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x29,0x80,0xbe] + +0x80,0x29,0x80,0xbe +# GFX10: s_nand_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x29,0x80,0xbe] + +0xf0,0x29,0x80,0xbe +# GFX10: s_nand_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x29,0x80,0xbe] + +0xff,0x29,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_nand_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x29,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x29,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_nand_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x29,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x29,0x80,0xbe +# GFX10: s_nand_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x29,0x80,0xbe] + +0x66,0x29,0x80,0xbe +# GFX10: s_nand_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x29,0x80,0xbe] + +0x02,0x29,0x80,0xbe +# GFX10: s_nand_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x29,0x80,0xbe] + +0x6a,0x29,0x80,0xbe +# GFX10: s_nand_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x29,0x80,0xbe] + +0x66,0x29,0xe8,0xbe +# GFX10: s_nand_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x29,0xe8,0xbe] + +0x02,0x29,0xe8,0xbe +# GFX10: s_nand_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x29,0xe8,0xbe] + +0x02,0x29,0xea,0xbe +# GFX10: s_nand_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x29,0xea,0xbe] + +0x01,0x42,0xff,0xbe +# GFX10: s_nor_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x42,0xff,0xbe] + +0x01,0x42,0xfe,0xbe +# GFX10: s_nor_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x42,0xfe,0xbe] + +0x01,0x42,0xfc,0xbe +# GFX10: s_nor_saveexec_b32 m0, s1 ; encoding: [0x01,0x42,0xfc,0xbe] + +0xc1,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, -1 ; encoding: [0xc1,0x42,0x80,0xbe] + +0xf7,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x42,0x80,0xbe] + +0x80,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, 0 ; encoding: [0x80,0x42,0x80,0xbe] + +0xf0,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x42,0x80,0xbe] + +0xff,0x42,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_nor_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x42,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x42,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_nor_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x42,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x42,0x80,0xbe] + +0x7e,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x42,0x80,0xbe] + +0x7c,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, m0 ; encoding: [0x7c,0x42,0x80,0xbe] + +0x01,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, s1 ; encoding: [0x01,0x42,0x80,0xbe] + +0x68,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, s104 ; encoding: [0x68,0x42,0x80,0xbe] + +0x6b,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x42,0x80,0xbe] + +0x6a,0x42,0x80,0xbe +# GFX10: s_nor_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x42,0x80,0xbe] + +0x01,0x42,0xe9,0xbe +# GFX10: s_nor_saveexec_b32 s105, s1 ; encoding: [0x01,0x42,0xe9,0xbe] + +0x68,0x42,0xe9,0xbe +# GFX10: s_nor_saveexec_b32 s105, s104 ; encoding: [0x68,0x42,0xe9,0xbe] + +0x01,0x42,0xeb,0xbe +# GFX10: s_nor_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x42,0xeb,0xbe] + +0x01,0x42,0xea,0xbe +# GFX10: s_nor_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x42,0xea,0xbe] + +0x02,0x2a,0xfe,0xbe +# GFX10: s_nor_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x2a,0xfe,0xbe] + +0xc1,0x2a,0x80,0xbe +# GFX10: s_nor_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x2a,0x80,0xbe] + +0xf7,0x2a,0x80,0xbe +# GFX10: s_nor_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x2a,0x80,0xbe] + +0x80,0x2a,0x80,0xbe +# GFX10: s_nor_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x2a,0x80,0xbe] + +0xf0,0x2a,0x80,0xbe +# GFX10: s_nor_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x2a,0x80,0xbe] + +0xff,0x2a,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_nor_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x2a,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x2a,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_nor_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x2a,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x2a,0x80,0xbe +# GFX10: s_nor_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x2a,0x80,0xbe] + +0x66,0x2a,0x80,0xbe +# GFX10: s_nor_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x2a,0x80,0xbe] + +0x02,0x2a,0x80,0xbe +# GFX10: s_nor_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x2a,0x80,0xbe] + +0x6a,0x2a,0x80,0xbe +# GFX10: s_nor_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x2a,0x80,0xbe] + +0x66,0x2a,0xe8,0xbe +# GFX10: s_nor_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x2a,0xe8,0xbe] + +0x02,0x2a,0xe8,0xbe +# GFX10: s_nor_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x2a,0xe8,0xbe] + +0x02,0x2a,0xea,0xbe +# GFX10: s_nor_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x2a,0xea,0xbe] + +0x01,0x07,0xff,0xbe +# GFX10: s_not_b32 exec_hi, s1 ; encoding: [0x01,0x07,0xff,0xbe] + +0x01,0x07,0xfe,0xbe +# GFX10: s_not_b32 exec_lo, s1 ; encoding: [0x01,0x07,0xfe,0xbe] + +0x01,0x07,0xfc,0xbe +# GFX10: s_not_b32 m0, s1 ; encoding: [0x01,0x07,0xfc,0xbe] + +0xc1,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, -1 ; encoding: [0xc1,0x07,0x80,0xbe] + +0xf7,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, -4.0 ; encoding: [0xf7,0x07,0x80,0xbe] + +0x80,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, 0 ; encoding: [0x80,0x07,0x80,0xbe] + +0xf0,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, 0.5 ; encoding: [0xf0,0x07,0x80,0xbe] + +0xff,0x07,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_not_b32 s0, 0x3f717273 ; encoding: [0xff,0x07,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x07,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_not_b32 s0, 0xaf123456 ; encoding: [0xff,0x07,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, exec_hi ; encoding: [0x7f,0x07,0x80,0xbe] + +0x7e,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, exec_lo ; encoding: [0x7e,0x07,0x80,0xbe] + +0x7c,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, m0 ; encoding: [0x7c,0x07,0x80,0xbe] + +0x01,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, s1 ; encoding: [0x01,0x07,0x80,0xbe] + +0x68,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, s104 ; encoding: [0x68,0x07,0x80,0xbe] + +0x6b,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, vcc_hi ; encoding: [0x6b,0x07,0x80,0xbe] + +0x6a,0x07,0x80,0xbe +# GFX10: s_not_b32 s0, vcc_lo ; encoding: [0x6a,0x07,0x80,0xbe] + +0x01,0x07,0xe9,0xbe +# GFX10: s_not_b32 s105, s1 ; encoding: [0x01,0x07,0xe9,0xbe] + +0x68,0x07,0xe9,0xbe +# GFX10: s_not_b32 s105, s104 ; encoding: [0x68,0x07,0xe9,0xbe] + +0x01,0x07,0xeb,0xbe +# GFX10: s_not_b32 vcc_hi, s1 ; encoding: [0x01,0x07,0xeb,0xbe] + +0x01,0x07,0xea,0xbe +# GFX10: s_not_b32 vcc_lo, s1 ; encoding: [0x01,0x07,0xea,0xbe] + +0x02,0x08,0xfe,0xbe +# GFX10: s_not_b64 exec, s[2:3] ; encoding: [0x02,0x08,0xfe,0xbe] + +0xc1,0x08,0x80,0xbe +# GFX10: s_not_b64 s[0:1], -1 ; encoding: [0xc1,0x08,0x80,0xbe] + +0xf7,0x08,0x80,0xbe +# GFX10: s_not_b64 s[0:1], -4.0 ; encoding: [0xf7,0x08,0x80,0xbe] + +0x80,0x08,0x80,0xbe +# GFX10: s_not_b64 s[0:1], 0 ; encoding: [0x80,0x08,0x80,0xbe] + +0xf0,0x08,0x80,0xbe +# GFX10: s_not_b64 s[0:1], 0.5 ; encoding: [0xf0,0x08,0x80,0xbe] + +0xff,0x08,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_not_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x08,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x08,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_not_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x08,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x08,0x80,0xbe +# GFX10: s_not_b64 s[0:1], exec ; encoding: [0x7e,0x08,0x80,0xbe] + +0x66,0x08,0x80,0xbe +# GFX10: s_not_b64 s[0:1], s[102:103] ; encoding: [0x66,0x08,0x80,0xbe] + +0x02,0x08,0x80,0xbe +# GFX10: s_not_b64 s[0:1], s[2:3] ; encoding: [0x02,0x08,0x80,0xbe] + +0x6a,0x08,0x80,0xbe +# GFX10: s_not_b64 s[0:1], vcc ; encoding: [0x6a,0x08,0x80,0xbe] + +0x66,0x08,0xe8,0xbe +# GFX10: s_not_b64 s[104:105], s[102:103] ; encoding: [0x66,0x08,0xe8,0xbe] + +0x02,0x08,0xe8,0xbe +# GFX10: s_not_b64 s[104:105], s[2:3] ; encoding: [0x02,0x08,0xe8,0xbe] + +0x02,0x08,0xea,0xbe +# GFX10: s_not_b64 vcc, s[2:3] ; encoding: [0x02,0x08,0xea,0xbe] + +0x01,0x3d,0xff,0xbe +# GFX10: s_or_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x3d,0xff,0xbe] + +0x01,0x3d,0xfe,0xbe +# GFX10: s_or_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x3d,0xfe,0xbe] + +0x01,0x3d,0xfc,0xbe +# GFX10: s_or_saveexec_b32 m0, s1 ; encoding: [0x01,0x3d,0xfc,0xbe] + +0xc1,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, -1 ; encoding: [0xc1,0x3d,0x80,0xbe] + +0xf7,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x3d,0x80,0xbe] + +0x80,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, 0 ; encoding: [0x80,0x3d,0x80,0xbe] + +0xf0,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x3d,0x80,0xbe] + +0xff,0x3d,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_or_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x3d,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x3d,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_or_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x3d,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x3d,0x80,0xbe] + +0x7e,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x3d,0x80,0xbe] + +0x7c,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, m0 ; encoding: [0x7c,0x3d,0x80,0xbe] + +0x01,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, s1 ; encoding: [0x01,0x3d,0x80,0xbe] + +0x68,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, s104 ; encoding: [0x68,0x3d,0x80,0xbe] + +0x6b,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x3d,0x80,0xbe] + +0x6a,0x3d,0x80,0xbe +# GFX10: s_or_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x3d,0x80,0xbe] + +0x01,0x3d,0xe9,0xbe +# GFX10: s_or_saveexec_b32 s105, s1 ; encoding: [0x01,0x3d,0xe9,0xbe] + +0x68,0x3d,0xe9,0xbe +# GFX10: s_or_saveexec_b32 s105, s104 ; encoding: [0x68,0x3d,0xe9,0xbe] + +0x01,0x3d,0xeb,0xbe +# GFX10: s_or_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x3d,0xeb,0xbe] + +0x01,0x3d,0xea,0xbe +# GFX10: s_or_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x3d,0xea,0xbe] + +0x02,0x25,0xfe,0xbe +# GFX10: s_or_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x25,0xfe,0xbe] + +0xc1,0x25,0x80,0xbe +# GFX10: s_or_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x25,0x80,0xbe] + +0xf7,0x25,0x80,0xbe +# GFX10: s_or_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x25,0x80,0xbe] + +0x80,0x25,0x80,0xbe +# GFX10: s_or_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x25,0x80,0xbe] + +0xf0,0x25,0x80,0xbe +# GFX10: s_or_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x25,0x80,0xbe] + +0xff,0x25,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_or_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x25,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x25,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_or_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x25,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x25,0x80,0xbe +# GFX10: s_or_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x25,0x80,0xbe] + +0x66,0x25,0x80,0xbe +# GFX10: s_or_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x25,0x80,0xbe] + +0x02,0x25,0x80,0xbe +# GFX10: s_or_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x25,0x80,0xbe] + +0x6a,0x25,0x80,0xbe +# GFX10: s_or_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x25,0x80,0xbe] + +0x66,0x25,0xe8,0xbe +# GFX10: s_or_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x25,0xe8,0xbe] + +0x02,0x25,0xe8,0xbe +# GFX10: s_or_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x25,0xe8,0xbe] + +0x02,0x25,0xea,0xbe +# GFX10: s_or_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x25,0xea,0xbe] + +0x01,0x45,0xff,0xbe +# GFX10: s_orn1_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x45,0xff,0xbe] + +0x01,0x45,0xfe,0xbe +# GFX10: s_orn1_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x45,0xfe,0xbe] + +0x01,0x45,0xfc,0xbe +# GFX10: s_orn1_saveexec_b32 m0, s1 ; encoding: [0x01,0x45,0xfc,0xbe] + +0xc1,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, -1 ; encoding: [0xc1,0x45,0x80,0xbe] + +0xf7,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x45,0x80,0xbe] + +0x80,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, 0 ; encoding: [0x80,0x45,0x80,0xbe] + +0xf0,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x45,0x80,0xbe] + +0xff,0x45,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_orn1_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x45,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x45,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_orn1_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x45,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x45,0x80,0xbe] + +0x7e,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x45,0x80,0xbe] + +0x7c,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, m0 ; encoding: [0x7c,0x45,0x80,0xbe] + +0x01,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, s1 ; encoding: [0x01,0x45,0x80,0xbe] + +0x68,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, s104 ; encoding: [0x68,0x45,0x80,0xbe] + +0x6b,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x45,0x80,0xbe] + +0x6a,0x45,0x80,0xbe +# GFX10: s_orn1_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x45,0x80,0xbe] + +0x01,0x45,0xe9,0xbe +# GFX10: s_orn1_saveexec_b32 s105, s1 ; encoding: [0x01,0x45,0xe9,0xbe] + +0x68,0x45,0xe9,0xbe +# GFX10: s_orn1_saveexec_b32 s105, s104 ; encoding: [0x68,0x45,0xe9,0xbe] + +0x01,0x45,0xeb,0xbe +# GFX10: s_orn1_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x45,0xeb,0xbe] + +0x01,0x45,0xea,0xbe +# GFX10: s_orn1_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x45,0xea,0xbe] + +0x02,0x38,0xfe,0xbe +# GFX10: s_orn1_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x38,0xfe,0xbe] + +0xc1,0x38,0x80,0xbe +# GFX10: s_orn1_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x38,0x80,0xbe] + +0xf7,0x38,0x80,0xbe +# GFX10: s_orn1_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x38,0x80,0xbe] + +0x80,0x38,0x80,0xbe +# GFX10: s_orn1_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x38,0x80,0xbe] + +0xf0,0x38,0x80,0xbe +# GFX10: s_orn1_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x38,0x80,0xbe] + +0xff,0x38,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_orn1_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x38,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x38,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_orn1_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x38,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x38,0x80,0xbe +# GFX10: s_orn1_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x38,0x80,0xbe] + +0x66,0x38,0x80,0xbe +# GFX10: s_orn1_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x38,0x80,0xbe] + +0x02,0x38,0x80,0xbe +# GFX10: s_orn1_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x38,0x80,0xbe] + +0x6a,0x38,0x80,0xbe +# GFX10: s_orn1_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x38,0x80,0xbe] + +0x66,0x38,0xe8,0xbe +# GFX10: s_orn1_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x38,0xe8,0xbe] + +0x02,0x38,0xe8,0xbe +# GFX10: s_orn1_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x38,0xe8,0xbe] + +0x02,0x38,0xea,0xbe +# GFX10: s_orn1_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x38,0xea,0xbe] + +0x01,0x40,0xff,0xbe +# GFX10: s_orn2_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x40,0xff,0xbe] + +0x01,0x40,0xfe,0xbe +# GFX10: s_orn2_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x40,0xfe,0xbe] + +0x01,0x40,0xfc,0xbe +# GFX10: s_orn2_saveexec_b32 m0, s1 ; encoding: [0x01,0x40,0xfc,0xbe] + +0xc1,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, -1 ; encoding: [0xc1,0x40,0x80,0xbe] + +0xf7,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x40,0x80,0xbe] + +0x80,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, 0 ; encoding: [0x80,0x40,0x80,0xbe] + +0xf0,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x40,0x80,0xbe] + +0xff,0x40,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_orn2_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x40,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x40,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_orn2_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x40,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x40,0x80,0xbe] + +0x7e,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x40,0x80,0xbe] + +0x7c,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, m0 ; encoding: [0x7c,0x40,0x80,0xbe] + +0x01,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, s1 ; encoding: [0x01,0x40,0x80,0xbe] + +0x68,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, s104 ; encoding: [0x68,0x40,0x80,0xbe] + +0x6b,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x40,0x80,0xbe] + +0x6a,0x40,0x80,0xbe +# GFX10: s_orn2_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x40,0x80,0xbe] + +0x01,0x40,0xe9,0xbe +# GFX10: s_orn2_saveexec_b32 s105, s1 ; encoding: [0x01,0x40,0xe9,0xbe] + +0x68,0x40,0xe9,0xbe +# GFX10: s_orn2_saveexec_b32 s105, s104 ; encoding: [0x68,0x40,0xe9,0xbe] + +0x01,0x40,0xeb,0xbe +# GFX10: s_orn2_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x40,0xeb,0xbe] + +0x01,0x40,0xea,0xbe +# GFX10: s_orn2_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x40,0xea,0xbe] + +0x02,0x28,0xfe,0xbe +# GFX10: s_orn2_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x28,0xfe,0xbe] + +0xc1,0x28,0x80,0xbe +# GFX10: s_orn2_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x28,0x80,0xbe] + +0xf7,0x28,0x80,0xbe +# GFX10: s_orn2_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x28,0x80,0xbe] + +0x80,0x28,0x80,0xbe +# GFX10: s_orn2_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x28,0x80,0xbe] + +0xf0,0x28,0x80,0xbe +# GFX10: s_orn2_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x28,0x80,0xbe] + +0xff,0x28,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_orn2_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x28,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x28,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_orn2_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x28,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x28,0x80,0xbe +# GFX10: s_orn2_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x28,0x80,0xbe] + +0x66,0x28,0x80,0xbe +# GFX10: s_orn2_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x28,0x80,0xbe] + +0x02,0x28,0x80,0xbe +# GFX10: s_orn2_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x28,0x80,0xbe] + +0x6a,0x28,0x80,0xbe +# GFX10: s_orn2_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x28,0x80,0xbe] + +0x66,0x28,0xe8,0xbe +# GFX10: s_orn2_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x28,0xe8,0xbe] + +0x02,0x28,0xe8,0xbe +# GFX10: s_orn2_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x28,0xe8,0xbe] + +0x02,0x28,0xea,0xbe +# GFX10: s_orn2_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x28,0xea,0xbe] + +0x01,0x2c,0xff,0xbe +# GFX10: s_quadmask_b32 exec_hi, s1 ; encoding: [0x01,0x2c,0xff,0xbe] + +0x01,0x2c,0xfe,0xbe +# GFX10: s_quadmask_b32 exec_lo, s1 ; encoding: [0x01,0x2c,0xfe,0xbe] + +0x01,0x2c,0xfc,0xbe +# GFX10: s_quadmask_b32 m0, s1 ; encoding: [0x01,0x2c,0xfc,0xbe] + +0xc1,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, -1 ; encoding: [0xc1,0x2c,0x80,0xbe] + +0xf7,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, -4.0 ; encoding: [0xf7,0x2c,0x80,0xbe] + +0x80,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, 0 ; encoding: [0x80,0x2c,0x80,0xbe] + +0xf0,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, 0.5 ; encoding: [0xf0,0x2c,0x80,0xbe] + +0xff,0x2c,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_quadmask_b32 s0, 0x3f717273 ; encoding: [0xff,0x2c,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x2c,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_quadmask_b32 s0, 0xaf123456 ; encoding: [0xff,0x2c,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, exec_hi ; encoding: [0x7f,0x2c,0x80,0xbe] + +0x7e,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, exec_lo ; encoding: [0x7e,0x2c,0x80,0xbe] + +0x7c,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, m0 ; encoding: [0x7c,0x2c,0x80,0xbe] + +0x01,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, s1 ; encoding: [0x01,0x2c,0x80,0xbe] + +0x68,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, s104 ; encoding: [0x68,0x2c,0x80,0xbe] + +0x6b,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, vcc_hi ; encoding: [0x6b,0x2c,0x80,0xbe] + +0x6a,0x2c,0x80,0xbe +# GFX10: s_quadmask_b32 s0, vcc_lo ; encoding: [0x6a,0x2c,0x80,0xbe] + +0x01,0x2c,0xe9,0xbe +# GFX10: s_quadmask_b32 s105, s1 ; encoding: [0x01,0x2c,0xe9,0xbe] + +0x68,0x2c,0xe9,0xbe +# GFX10: s_quadmask_b32 s105, s104 ; encoding: [0x68,0x2c,0xe9,0xbe] + +0x01,0x2c,0xeb,0xbe +# GFX10: s_quadmask_b32 vcc_hi, s1 ; encoding: [0x01,0x2c,0xeb,0xbe] + +0x01,0x2c,0xea,0xbe +# GFX10: s_quadmask_b32 vcc_lo, s1 ; encoding: [0x01,0x2c,0xea,0xbe] + +0x02,0x2d,0xfe,0xbe +# GFX10: s_quadmask_b64 exec, s[2:3] ; encoding: [0x02,0x2d,0xfe,0xbe] + +0xc1,0x2d,0x80,0xbe +# GFX10: s_quadmask_b64 s[0:1], -1 ; encoding: [0xc1,0x2d,0x80,0xbe] + +0xf7,0x2d,0x80,0xbe +# GFX10: s_quadmask_b64 s[0:1], -4.0 ; encoding: [0xf7,0x2d,0x80,0xbe] + +0x80,0x2d,0x80,0xbe +# GFX10: s_quadmask_b64 s[0:1], 0 ; encoding: [0x80,0x2d,0x80,0xbe] + +0xf0,0x2d,0x80,0xbe +# GFX10: s_quadmask_b64 s[0:1], 0.5 ; encoding: [0xf0,0x2d,0x80,0xbe] + +0xff,0x2d,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_quadmask_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x2d,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x2d,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_quadmask_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x2d,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x2d,0x80,0xbe +# GFX10: s_quadmask_b64 s[0:1], exec ; encoding: [0x7e,0x2d,0x80,0xbe] + +0x66,0x2d,0x80,0xbe +# GFX10: s_quadmask_b64 s[0:1], s[102:103] ; encoding: [0x66,0x2d,0x80,0xbe] + +0x02,0x2d,0x80,0xbe +# GFX10: s_quadmask_b64 s[0:1], s[2:3] ; encoding: [0x02,0x2d,0x80,0xbe] + +0x6a,0x2d,0x80,0xbe +# GFX10: s_quadmask_b64 s[0:1], vcc ; encoding: [0x6a,0x2d,0x80,0xbe] + +0x66,0x2d,0xe8,0xbe +# GFX10: s_quadmask_b64 s[104:105], s[102:103] ; encoding: [0x66,0x2d,0xe8,0xbe] + +0x02,0x2d,0xe8,0xbe +# GFX10: s_quadmask_b64 s[104:105], s[2:3] ; encoding: [0x02,0x2d,0xe8,0xbe] + +0x02,0x2d,0xea,0xbe +# GFX10: s_quadmask_b64 vcc, s[2:3] ; encoding: [0x02,0x2d,0xea,0xbe] + +0x00,0x22,0x80,0xbe +# GFX10: s_rfe_b64 s[0:1] ; encoding: [0x00,0x22,0x80,0xbe] + +0x68,0x22,0x80,0xbe +# GFX10: s_rfe_b64 s[104:105] ; encoding: [0x68,0x22,0x80,0xbe] + +0x6a,0x22,0x80,0xbe +# GFX10: s_rfe_b64 vcc ; encoding: [0x6a,0x22,0x80,0xbe] + +0x00,0x20,0x80,0xbe +# GFX10: s_setpc_b64 s[0:1] ; encoding: [0x00,0x20,0x80,0xbe] + +0x68,0x20,0x80,0xbe +# GFX10: s_setpc_b64 s[104:105] ; encoding: [0x68,0x20,0x80,0xbe] + +0x6a,0x20,0x80,0xbe +# GFX10: s_setpc_b64 vcc ; encoding: [0x6a,0x20,0x80,0xbe] + +0x01,0x1a,0xff,0xbe +# GFX10: s_sext_i32_i16 exec_hi, s1 ; encoding: [0x01,0x1a,0xff,0xbe] + +0x01,0x1a,0xfe,0xbe +# GFX10: s_sext_i32_i16 exec_lo, s1 ; encoding: [0x01,0x1a,0xfe,0xbe] + +0x01,0x1a,0xfc,0xbe +# GFX10: s_sext_i32_i16 m0, s1 ; encoding: [0x01,0x1a,0xfc,0xbe] + +0xc1,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, -1 ; encoding: [0xc1,0x1a,0x80,0xbe] + +0xf7,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, -4.0 ; encoding: [0xf7,0x1a,0x80,0xbe] + +0x80,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, 0 ; encoding: [0x80,0x1a,0x80,0xbe] + +0xf0,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, 0.5 ; encoding: [0xf0,0x1a,0x80,0xbe] + +0xff,0x1a,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_sext_i32_i16 s0, 0x3f717273 ; encoding: [0xff,0x1a,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x1a,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_sext_i32_i16 s0, 0xaf123456 ; encoding: [0xff,0x1a,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, exec_hi ; encoding: [0x7f,0x1a,0x80,0xbe] + +0x7e,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, exec_lo ; encoding: [0x7e,0x1a,0x80,0xbe] + +0x7c,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, m0 ; encoding: [0x7c,0x1a,0x80,0xbe] + +0x01,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, s1 ; encoding: [0x01,0x1a,0x80,0xbe] + +0x68,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, s104 ; encoding: [0x68,0x1a,0x80,0xbe] + +0x6b,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, vcc_hi ; encoding: [0x6b,0x1a,0x80,0xbe] + +0x6a,0x1a,0x80,0xbe +# GFX10: s_sext_i32_i16 s0, vcc_lo ; encoding: [0x6a,0x1a,0x80,0xbe] + +0x01,0x1a,0xe9,0xbe +# GFX10: s_sext_i32_i16 s105, s1 ; encoding: [0x01,0x1a,0xe9,0xbe] + +0x68,0x1a,0xe9,0xbe +# GFX10: s_sext_i32_i16 s105, s104 ; encoding: [0x68,0x1a,0xe9,0xbe] + +0x01,0x1a,0xeb,0xbe +# GFX10: s_sext_i32_i16 vcc_hi, s1 ; encoding: [0x01,0x1a,0xeb,0xbe] + +0x01,0x1a,0xea,0xbe +# GFX10: s_sext_i32_i16 vcc_lo, s1 ; encoding: [0x01,0x1a,0xea,0xbe] + +0x01,0x19,0xff,0xbe +# GFX10: s_sext_i32_i8 exec_hi, s1 ; encoding: [0x01,0x19,0xff,0xbe] + +0x01,0x19,0xfe,0xbe +# GFX10: s_sext_i32_i8 exec_lo, s1 ; encoding: [0x01,0x19,0xfe,0xbe] + +0x01,0x19,0xfc,0xbe +# GFX10: s_sext_i32_i8 m0, s1 ; encoding: [0x01,0x19,0xfc,0xbe] + +0xc1,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, -1 ; encoding: [0xc1,0x19,0x80,0xbe] + +0xf7,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, -4.0 ; encoding: [0xf7,0x19,0x80,0xbe] + +0x80,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, 0 ; encoding: [0x80,0x19,0x80,0xbe] + +0xf0,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, 0.5 ; encoding: [0xf0,0x19,0x80,0xbe] + +0xff,0x19,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_sext_i32_i8 s0, 0x3f717273 ; encoding: [0xff,0x19,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x19,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_sext_i32_i8 s0, 0xaf123456 ; encoding: [0xff,0x19,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, exec_hi ; encoding: [0x7f,0x19,0x80,0xbe] + +0x7e,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, exec_lo ; encoding: [0x7e,0x19,0x80,0xbe] + +0x7c,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, m0 ; encoding: [0x7c,0x19,0x80,0xbe] + +0x01,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, s1 ; encoding: [0x01,0x19,0x80,0xbe] + +0x68,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, s104 ; encoding: [0x68,0x19,0x80,0xbe] + +0x6b,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, vcc_hi ; encoding: [0x6b,0x19,0x80,0xbe] + +0x6a,0x19,0x80,0xbe +# GFX10: s_sext_i32_i8 s0, vcc_lo ; encoding: [0x6a,0x19,0x80,0xbe] + +0x01,0x19,0xe9,0xbe +# GFX10: s_sext_i32_i8 s105, s1 ; encoding: [0x01,0x19,0xe9,0xbe] + +0x68,0x19,0xe9,0xbe +# GFX10: s_sext_i32_i8 s105, s104 ; encoding: [0x68,0x19,0xe9,0xbe] + +0x01,0x19,0xeb,0xbe +# GFX10: s_sext_i32_i8 vcc_hi, s1 ; encoding: [0x01,0x19,0xeb,0xbe] + +0x01,0x19,0xea,0xbe +# GFX10: s_sext_i32_i8 vcc_lo, s1 ; encoding: [0x01,0x19,0xea,0xbe] + +0x66,0x21,0x80,0xbe +# GFX10: s_swappc_b64 s[0:1], s[102:103] ; encoding: [0x66,0x21,0x80,0xbe] + +0x02,0x21,0x80,0xbe +# GFX10: s_swappc_b64 s[0:1], s[2:3] ; encoding: [0x02,0x21,0x80,0xbe] + +0x6a,0x21,0x80,0xbe +# GFX10: s_swappc_b64 s[0:1], vcc ; encoding: [0x6a,0x21,0x80,0xbe] + +0x66,0x21,0xe8,0xbe +# GFX10: s_swappc_b64 s[104:105], s[102:103] ; encoding: [0x66,0x21,0xe8,0xbe] + +0x02,0x21,0xe8,0xbe +# GFX10: s_swappc_b64 s[104:105], s[2:3] ; encoding: [0x02,0x21,0xe8,0xbe] + +0x02,0x21,0xea,0xbe +# GFX10: s_swappc_b64 vcc, s[2:3] ; encoding: [0x02,0x21,0xea,0xbe] + +0x01,0x09,0xff,0xbe +# GFX10: s_wqm_b32 exec_hi, s1 ; encoding: [0x01,0x09,0xff,0xbe] + +0x01,0x09,0xfe,0xbe +# GFX10: s_wqm_b32 exec_lo, s1 ; encoding: [0x01,0x09,0xfe,0xbe] + +0x01,0x09,0xfc,0xbe +# GFX10: s_wqm_b32 m0, s1 ; encoding: [0x01,0x09,0xfc,0xbe] + +0xc1,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, -1 ; encoding: [0xc1,0x09,0x80,0xbe] + +0xf7,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, -4.0 ; encoding: [0xf7,0x09,0x80,0xbe] + +0x80,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, 0 ; encoding: [0x80,0x09,0x80,0xbe] + +0xf0,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, 0.5 ; encoding: [0xf0,0x09,0x80,0xbe] + +0xff,0x09,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_wqm_b32 s0, 0x3f717273 ; encoding: [0xff,0x09,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x09,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_wqm_b32 s0, 0xaf123456 ; encoding: [0xff,0x09,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, exec_hi ; encoding: [0x7f,0x09,0x80,0xbe] + +0x7e,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, exec_lo ; encoding: [0x7e,0x09,0x80,0xbe] + +0x7c,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, m0 ; encoding: [0x7c,0x09,0x80,0xbe] + +0x01,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, s1 ; encoding: [0x01,0x09,0x80,0xbe] + +0x68,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, s104 ; encoding: [0x68,0x09,0x80,0xbe] + +0x6b,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, vcc_hi ; encoding: [0x6b,0x09,0x80,0xbe] + +0x6a,0x09,0x80,0xbe +# GFX10: s_wqm_b32 s0, vcc_lo ; encoding: [0x6a,0x09,0x80,0xbe] + +0x01,0x09,0xe9,0xbe +# GFX10: s_wqm_b32 s105, s1 ; encoding: [0x01,0x09,0xe9,0xbe] + +0x68,0x09,0xe9,0xbe +# GFX10: s_wqm_b32 s105, s104 ; encoding: [0x68,0x09,0xe9,0xbe] + +0x01,0x09,0xeb,0xbe +# GFX10: s_wqm_b32 vcc_hi, s1 ; encoding: [0x01,0x09,0xeb,0xbe] + +0x01,0x09,0xea,0xbe +# GFX10: s_wqm_b32 vcc_lo, s1 ; encoding: [0x01,0x09,0xea,0xbe] + +0x02,0x0a,0xfe,0xbe +# GFX10: s_wqm_b64 exec, s[2:3] ; encoding: [0x02,0x0a,0xfe,0xbe] + +0xc1,0x0a,0x80,0xbe +# GFX10: s_wqm_b64 s[0:1], -1 ; encoding: [0xc1,0x0a,0x80,0xbe] + +0xf7,0x0a,0x80,0xbe +# GFX10: s_wqm_b64 s[0:1], -4.0 ; encoding: [0xf7,0x0a,0x80,0xbe] + +0x80,0x0a,0x80,0xbe +# GFX10: s_wqm_b64 s[0:1], 0 ; encoding: [0x80,0x0a,0x80,0xbe] + +0xf0,0x0a,0x80,0xbe +# GFX10: s_wqm_b64 s[0:1], 0.5 ; encoding: [0xf0,0x0a,0x80,0xbe] + +0xff,0x0a,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_wqm_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x0a,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x0a,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_wqm_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x0a,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x0a,0x80,0xbe +# GFX10: s_wqm_b64 s[0:1], exec ; encoding: [0x7e,0x0a,0x80,0xbe] + +0x66,0x0a,0x80,0xbe +# GFX10: s_wqm_b64 s[0:1], s[102:103] ; encoding: [0x66,0x0a,0x80,0xbe] + +0x02,0x0a,0x80,0xbe +# GFX10: s_wqm_b64 s[0:1], s[2:3] ; encoding: [0x02,0x0a,0x80,0xbe] + +0x6a,0x0a,0x80,0xbe +# GFX10: s_wqm_b64 s[0:1], vcc ; encoding: [0x6a,0x0a,0x80,0xbe] + +0x66,0x0a,0xe8,0xbe +# GFX10: s_wqm_b64 s[104:105], s[102:103] ; encoding: [0x66,0x0a,0xe8,0xbe] + +0x02,0x0a,0xe8,0xbe +# GFX10: s_wqm_b64 s[104:105], s[2:3] ; encoding: [0x02,0x0a,0xe8,0xbe] + +0x02,0x0a,0xea,0xbe +# GFX10: s_wqm_b64 vcc, s[2:3] ; encoding: [0x02,0x0a,0xea,0xbe] + +0x01,0x43,0xff,0xbe +# GFX10: s_xnor_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x43,0xff,0xbe] + +0x01,0x43,0xfe,0xbe +# GFX10: s_xnor_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x43,0xfe,0xbe] + +0x01,0x43,0xfc,0xbe +# GFX10: s_xnor_saveexec_b32 m0, s1 ; encoding: [0x01,0x43,0xfc,0xbe] + +0xc1,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, -1 ; encoding: [0xc1,0x43,0x80,0xbe] + +0xf7,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x43,0x80,0xbe] + +0x80,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, 0 ; encoding: [0x80,0x43,0x80,0xbe] + +0xf0,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x43,0x80,0xbe] + +0xff,0x43,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_xnor_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x43,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x43,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_xnor_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x43,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x43,0x80,0xbe] + +0x7e,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x43,0x80,0xbe] + +0x7c,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, m0 ; encoding: [0x7c,0x43,0x80,0xbe] + +0x01,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, s1 ; encoding: [0x01,0x43,0x80,0xbe] + +0x68,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, s104 ; encoding: [0x68,0x43,0x80,0xbe] + +0x6b,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x43,0x80,0xbe] + +0x6a,0x43,0x80,0xbe +# GFX10: s_xnor_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x43,0x80,0xbe] + +0x01,0x43,0xe9,0xbe +# GFX10: s_xnor_saveexec_b32 s105, s1 ; encoding: [0x01,0x43,0xe9,0xbe] + +0x68,0x43,0xe9,0xbe +# GFX10: s_xnor_saveexec_b32 s105, s104 ; encoding: [0x68,0x43,0xe9,0xbe] + +0x01,0x43,0xeb,0xbe +# GFX10: s_xnor_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x43,0xeb,0xbe] + +0x01,0x43,0xea,0xbe +# GFX10: s_xnor_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x43,0xea,0xbe] + +0x02,0x2b,0xfe,0xbe +# GFX10: s_xnor_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x2b,0xfe,0xbe] + +0xc1,0x2b,0x80,0xbe +# GFX10: s_xnor_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x2b,0x80,0xbe] + +0xf7,0x2b,0x80,0xbe +# GFX10: s_xnor_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x2b,0x80,0xbe] + +0x80,0x2b,0x80,0xbe +# GFX10: s_xnor_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x2b,0x80,0xbe] + +0xf0,0x2b,0x80,0xbe +# GFX10: s_xnor_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x2b,0x80,0xbe] + +0xff,0x2b,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_xnor_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x2b,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x2b,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_xnor_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x2b,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x2b,0x80,0xbe +# GFX10: s_xnor_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x2b,0x80,0xbe] + +0x66,0x2b,0x80,0xbe +# GFX10: s_xnor_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x2b,0x80,0xbe] + +0x02,0x2b,0x80,0xbe +# GFX10: s_xnor_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x2b,0x80,0xbe] + +0x6a,0x2b,0x80,0xbe +# GFX10: s_xnor_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x2b,0x80,0xbe] + +0x66,0x2b,0xe8,0xbe +# GFX10: s_xnor_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x2b,0xe8,0xbe] + +0x02,0x2b,0xe8,0xbe +# GFX10: s_xnor_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x2b,0xe8,0xbe] + +0x02,0x2b,0xea,0xbe +# GFX10: s_xnor_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x2b,0xea,0xbe] + +0x01,0x3e,0xff,0xbe +# GFX10: s_xor_saveexec_b32 exec_hi, s1 ; encoding: [0x01,0x3e,0xff,0xbe] + +0x01,0x3e,0xfe,0xbe +# GFX10: s_xor_saveexec_b32 exec_lo, s1 ; encoding: [0x01,0x3e,0xfe,0xbe] + +0x01,0x3e,0xfc,0xbe +# GFX10: s_xor_saveexec_b32 m0, s1 ; encoding: [0x01,0x3e,0xfc,0xbe] + +0xc1,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, -1 ; encoding: [0xc1,0x3e,0x80,0xbe] + +0xf7,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, -4.0 ; encoding: [0xf7,0x3e,0x80,0xbe] + +0x80,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, 0 ; encoding: [0x80,0x3e,0x80,0xbe] + +0xf0,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, 0.5 ; encoding: [0xf0,0x3e,0x80,0xbe] + +0xff,0x3e,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_xor_saveexec_b32 s0, 0x3f717273 ; encoding: [0xff,0x3e,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x3e,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_xor_saveexec_b32 s0, 0xaf123456 ; encoding: [0xff,0x3e,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7f,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, exec_hi ; encoding: [0x7f,0x3e,0x80,0xbe] + +0x7e,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, exec_lo ; encoding: [0x7e,0x3e,0x80,0xbe] + +0x7c,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, m0 ; encoding: [0x7c,0x3e,0x80,0xbe] + +0x01,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, s1 ; encoding: [0x01,0x3e,0x80,0xbe] + +0x68,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, s104 ; encoding: [0x68,0x3e,0x80,0xbe] + +0x6b,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, vcc_hi ; encoding: [0x6b,0x3e,0x80,0xbe] + +0x6a,0x3e,0x80,0xbe +# GFX10: s_xor_saveexec_b32 s0, vcc_lo ; encoding: [0x6a,0x3e,0x80,0xbe] + +0x01,0x3e,0xe9,0xbe +# GFX10: s_xor_saveexec_b32 s105, s1 ; encoding: [0x01,0x3e,0xe9,0xbe] + +0x68,0x3e,0xe9,0xbe +# GFX10: s_xor_saveexec_b32 s105, s104 ; encoding: [0x68,0x3e,0xe9,0xbe] + +0x01,0x3e,0xeb,0xbe +# GFX10: s_xor_saveexec_b32 vcc_hi, s1 ; encoding: [0x01,0x3e,0xeb,0xbe] + +0x01,0x3e,0xea,0xbe +# GFX10: s_xor_saveexec_b32 vcc_lo, s1 ; encoding: [0x01,0x3e,0xea,0xbe] + +0x02,0x26,0xfe,0xbe +# GFX10: s_xor_saveexec_b64 exec, s[2:3] ; encoding: [0x02,0x26,0xfe,0xbe] + +0xc1,0x26,0x80,0xbe +# GFX10: s_xor_saveexec_b64 s[0:1], -1 ; encoding: [0xc1,0x26,0x80,0xbe] + +0xf7,0x26,0x80,0xbe +# GFX10: s_xor_saveexec_b64 s[0:1], -4.0 ; encoding: [0xf7,0x26,0x80,0xbe] + +0x80,0x26,0x80,0xbe +# GFX10: s_xor_saveexec_b64 s[0:1], 0 ; encoding: [0x80,0x26,0x80,0xbe] + +0xf0,0x26,0x80,0xbe +# GFX10: s_xor_saveexec_b64 s[0:1], 0.5 ; encoding: [0xf0,0x26,0x80,0xbe] + +0xff,0x26,0x80,0xbe,0x73,0x72,0x71,0x3f +# GFX10: s_xor_saveexec_b64 s[0:1], 0x3f717273 ; encoding: [0xff,0x26,0x80,0xbe,0x73,0x72,0x71,0x3f] + +0xff,0x26,0x80,0xbe,0x56,0x34,0x12,0xaf +# GFX10: s_xor_saveexec_b64 s[0:1], 0xaf123456 ; encoding: [0xff,0x26,0x80,0xbe,0x56,0x34,0x12,0xaf] + +0x7e,0x26,0x80,0xbe +# GFX10: s_xor_saveexec_b64 s[0:1], exec ; encoding: [0x7e,0x26,0x80,0xbe] + +0x66,0x26,0x80,0xbe +# GFX10: s_xor_saveexec_b64 s[0:1], s[102:103] ; encoding: [0x66,0x26,0x80,0xbe] + +0x02,0x26,0x80,0xbe +# GFX10: s_xor_saveexec_b64 s[0:1], s[2:3] ; encoding: [0x02,0x26,0x80,0xbe] + +0x6a,0x26,0x80,0xbe +# GFX10: s_xor_saveexec_b64 s[0:1], vcc ; encoding: [0x6a,0x26,0x80,0xbe] + +0x66,0x26,0xe8,0xbe +# GFX10: s_xor_saveexec_b64 s[104:105], s[102:103] ; encoding: [0x66,0x26,0xe8,0xbe] + +0x02,0x26,0xe8,0xbe +# GFX10: s_xor_saveexec_b64 s[104:105], s[2:3] ; encoding: [0x02,0x26,0xe8,0xbe] + +0x02,0x26,0xea,0xbe +# GFX10: s_xor_saveexec_b64 vcc, s[2:3] ; encoding: [0x02,0x26,0xea,0xbe] diff --git a/tests/data/llvm-amdgpu/gfx10_sop2.txt b/tests/data/llvm-amdgpu/gfx10_sop2.txt new file mode 100644 index 0000000..b8ddea0 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_sop2.txt @@ -0,0 +1,4981 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0x01,0x02,0x7f,0x96 +# GFX10: s_absdiff_i32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x96] + +0x01,0x02,0x7e,0x96 +# GFX10: s_absdiff_i32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x96] + +0x01,0x02,0x7c,0x96 +# GFX10: s_absdiff_i32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x96] + +0xc1,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x96] + +0xf7,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x96] + +0x80,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x96] + +0xf0,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x96] + +0xff,0x02,0x00,0x96,0x73,0x72,0x71,0x3f +# GFX10: s_absdiff_i32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x96,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x96,0x56,0x34,0x12,0xaf +# GFX10: s_absdiff_i32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x96,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x96] + +0x7e,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x96] + +0x7c,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x96] + +0x01,0xc1,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x96] + +0x01,0xf7,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x96] + +0x01,0x80,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x96] + +0x01,0xf0,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x96] + +0x01,0xff,0x00,0x96,0x73,0x72,0x71,0x3f +# GFX10: s_absdiff_i32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x96,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x96,0x56,0x34,0x12,0xaf +# GFX10: s_absdiff_i32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x96,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x96] + +0x01,0x7e,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x96] + +0x01,0x7c,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x96] + +0x01,0x67,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x96] + +0x01,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x96] + +0x01,0x6b,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x96] + +0x01,0x6a,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x96] + +0x68,0x67,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x96] + +0x68,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x96] + +0x6b,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x96] + +0x6a,0x02,0x00,0x96 +# GFX10: s_absdiff_i32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x96] + +0x01,0x67,0x69,0x96 +# GFX10: s_absdiff_i32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x96] + +0x01,0x02,0x69,0x96 +# GFX10: s_absdiff_i32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x96] + +0x68,0x67,0x69,0x96 +# GFX10: s_absdiff_i32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x96] + +0x68,0x02,0x69,0x96 +# GFX10: s_absdiff_i32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x96] + +0x01,0x02,0x6b,0x96 +# GFX10: s_absdiff_i32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x96] + +0x01,0x02,0x6a,0x96 +# GFX10: s_absdiff_i32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x96] + +0x01,0x02,0x7f,0x81 +# GFX10: s_add_i32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x81] + +0x01,0x02,0x7e,0x81 +# GFX10: s_add_i32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x81] + +0x01,0x02,0x7c,0x81 +# GFX10: s_add_i32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x81] + +0xc1,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x81] + +0xf7,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x81] + +0x80,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x81] + +0xf0,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x81] + +0xff,0x02,0x00,0x81,0x73,0x72,0x71,0x3f +# GFX10: s_add_i32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x81,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x81,0x56,0x34,0x12,0xaf +# GFX10: s_add_i32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x81,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x81] + +0x7e,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x81] + +0x7c,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x81] + +0x01,0xc1,0x00,0x81 +# GFX10: s_add_i32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x81] + +0x01,0xf7,0x00,0x81 +# GFX10: s_add_i32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x81] + +0x01,0x80,0x00,0x81 +# GFX10: s_add_i32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x81] + +0x01,0xf0,0x00,0x81 +# GFX10: s_add_i32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x81] + +0x01,0xff,0x00,0x81,0x73,0x72,0x71,0x3f +# GFX10: s_add_i32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x81,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x81,0x56,0x34,0x12,0xaf +# GFX10: s_add_i32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x81,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x81 +# GFX10: s_add_i32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x81] + +0x01,0x7e,0x00,0x81 +# GFX10: s_add_i32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x81] + +0x01,0x7c,0x00,0x81 +# GFX10: s_add_i32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x81] + +0x01,0x67,0x00,0x81 +# GFX10: s_add_i32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x81] + +0x01,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x81] + +0x01,0x6b,0x00,0x81 +# GFX10: s_add_i32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x81] + +0x01,0x6a,0x00,0x81 +# GFX10: s_add_i32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x81] + +0x68,0x67,0x00,0x81 +# GFX10: s_add_i32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x81] + +0x68,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x81] + +0x6b,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x81] + +0x6a,0x02,0x00,0x81 +# GFX10: s_add_i32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x81] + +0x01,0x67,0x69,0x81 +# GFX10: s_add_i32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x81] + +0x01,0x02,0x69,0x81 +# GFX10: s_add_i32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x81] + +0x68,0x67,0x69,0x81 +# GFX10: s_add_i32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x81] + +0x68,0x02,0x69,0x81 +# GFX10: s_add_i32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x81] + +0x01,0x02,0x6b,0x81 +# GFX10: s_add_i32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x81] + +0x01,0x02,0x6a,0x81 +# GFX10: s_add_i32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x81] + +0x01,0x02,0x7f,0x80 +# GFX10: s_add_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x80] + +0x01,0x02,0x7e,0x80 +# GFX10: s_add_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x80] + +0x01,0x02,0x7c,0x80 +# GFX10: s_add_u32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x80] + +0xc1,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x80] + +0xf7,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x80] + +0x80,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x80] + +0xf0,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x80] + +0xff,0x02,0x00,0x80,0x73,0x72,0x71,0x3f +# GFX10: s_add_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x80,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x80,0x56,0x34,0x12,0xaf +# GFX10: s_add_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x80,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x80] + +0x7e,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x80] + +0x7c,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x80] + +0x01,0xc1,0x00,0x80 +# GFX10: s_add_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x80] + +0x01,0xf7,0x00,0x80 +# GFX10: s_add_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x80] + +0x01,0x80,0x00,0x80 +# GFX10: s_add_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x80] + +0x01,0xf0,0x00,0x80 +# GFX10: s_add_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x80] + +0x01,0xff,0x00,0x80,0x73,0x72,0x71,0x3f +# GFX10: s_add_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x80,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x80,0x56,0x34,0x12,0xaf +# GFX10: s_add_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x80,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x80 +# GFX10: s_add_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x80] + +0x01,0x7e,0x00,0x80 +# GFX10: s_add_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x80] + +0x01,0x7c,0x00,0x80 +# GFX10: s_add_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x80] + +0x01,0x67,0x00,0x80 +# GFX10: s_add_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x80] + +0x01,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x80] + +0x01,0x6b,0x00,0x80 +# GFX10: s_add_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x80] + +0x01,0x6a,0x00,0x80 +# GFX10: s_add_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x80] + +0x68,0x67,0x00,0x80 +# GFX10: s_add_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x80] + +0x68,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x80] + +0x6b,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x80] + +0x6a,0x02,0x00,0x80 +# GFX10: s_add_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x80] + +0x01,0x67,0x69,0x80 +# GFX10: s_add_u32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x80] + +0x01,0x02,0x69,0x80 +# GFX10: s_add_u32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x80] + +0x68,0x67,0x69,0x80 +# GFX10: s_add_u32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x80] + +0x68,0x02,0x69,0x80 +# GFX10: s_add_u32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x80] + +0x01,0x02,0x6b,0x80 +# GFX10: s_add_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x80] + +0x01,0x02,0x6a,0x80 +# GFX10: s_add_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x80] + +0x01,0x02,0x7f,0x82 +# GFX10: s_addc_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x82] + +0x01,0x02,0x7e,0x82 +# GFX10: s_addc_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x82] + +0x01,0x02,0x7c,0x82 +# GFX10: s_addc_u32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x82] + +0xc1,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x82] + +0xf7,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x82] + +0x80,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x82] + +0xf0,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x82] + +0xff,0x02,0x00,0x82,0x73,0x72,0x71,0x3f +# GFX10: s_addc_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x82,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x82,0x56,0x34,0x12,0xaf +# GFX10: s_addc_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x82,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x82] + +0x7e,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x82] + +0x7c,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x82] + +0x01,0xc1,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x82] + +0x01,0xf7,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x82] + +0x01,0x80,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x82] + +0x01,0xf0,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x82] + +0x01,0xff,0x00,0x82,0x73,0x72,0x71,0x3f +# GFX10: s_addc_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x82,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x82,0x56,0x34,0x12,0xaf +# GFX10: s_addc_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x82,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x82] + +0x01,0x7e,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x82] + +0x01,0x7c,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x82] + +0x01,0x67,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x82] + +0x01,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x82] + +0x01,0x6b,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x82] + +0x01,0x6a,0x00,0x82 +# GFX10: s_addc_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x82] + +0x68,0x67,0x00,0x82 +# GFX10: s_addc_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x82] + +0x68,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x82] + +0x6b,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x82] + +0x6a,0x02,0x00,0x82 +# GFX10: s_addc_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x82] + +0x01,0x67,0x69,0x82 +# GFX10: s_addc_u32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x82] + +0x01,0x02,0x69,0x82 +# GFX10: s_addc_u32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x82] + +0x68,0x67,0x69,0x82 +# GFX10: s_addc_u32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x82] + +0x68,0x02,0x69,0x82 +# GFX10: s_addc_u32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x82] + +0x01,0x02,0x6b,0x82 +# GFX10: s_addc_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x82] + +0x01,0x02,0x6a,0x82 +# GFX10: s_addc_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x82] + +0x01,0x02,0x7f,0x87 +# GFX10: s_and_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x87] + +0x01,0x02,0x7e,0x87 +# GFX10: s_and_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x87] + +0x01,0x02,0x7c,0x87 +# GFX10: s_and_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x87] + +0xc1,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x87] + +0xf7,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x87] + +0x80,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x87] + +0xf0,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x87] + +0xff,0x02,0x00,0x87,0x73,0x72,0x71,0x3f +# GFX10: s_and_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x87,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x87,0x56,0x34,0x12,0xaf +# GFX10: s_and_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x87,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x87] + +0x7e,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x87] + +0x7c,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x87] + +0x01,0xc1,0x00,0x87 +# GFX10: s_and_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x87] + +0x01,0xf7,0x00,0x87 +# GFX10: s_and_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x87] + +0x01,0x80,0x00,0x87 +# GFX10: s_and_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x87] + +0x01,0xf0,0x00,0x87 +# GFX10: s_and_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x87] + +0x01,0xff,0x00,0x87,0x73,0x72,0x71,0x3f +# GFX10: s_and_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x87,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x87,0x56,0x34,0x12,0xaf +# GFX10: s_and_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x87,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x87 +# GFX10: s_and_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x87] + +0x01,0x7e,0x00,0x87 +# GFX10: s_and_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x87] + +0x01,0x7c,0x00,0x87 +# GFX10: s_and_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x87] + +0x01,0x67,0x00,0x87 +# GFX10: s_and_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x87] + +0x01,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x87] + +0x01,0x6b,0x00,0x87 +# GFX10: s_and_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x87] + +0x01,0x6a,0x00,0x87 +# GFX10: s_and_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x87] + +0x68,0x67,0x00,0x87 +# GFX10: s_and_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x87] + +0x68,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x87] + +0x6b,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x87] + +0x6a,0x02,0x00,0x87 +# GFX10: s_and_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x87] + +0x01,0x67,0x69,0x87 +# GFX10: s_and_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x87] + +0x01,0x02,0x69,0x87 +# GFX10: s_and_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x87] + +0x68,0x67,0x69,0x87 +# GFX10: s_and_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x87] + +0x68,0x02,0x69,0x87 +# GFX10: s_and_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x87] + +0x01,0x02,0x6b,0x87 +# GFX10: s_and_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x87] + +0x01,0x02,0x6a,0x87 +# GFX10: s_and_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x87] + +0x02,0x04,0xfe,0x87 +# GFX10: s_and_b64 exec, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfe,0x87] + +0x04,0x06,0xfd,0x87 +# GFX10: s_and_b64 null, s[4:5], s[6:7] ; encoding: [0x04,0x06,0xfd,0x87] + +0xc1,0x04,0x80,0x87 +# GFX10: s_and_b64 s[0:1], -1, s[4:5] ; encoding: [0xc1,0x04,0x80,0x87] + +0xf7,0x04,0x80,0x87 +# GFX10: s_and_b64 s[0:1], -4.0, s[4:5] ; encoding: [0xf7,0x04,0x80,0x87] + +0x80,0x04,0x80,0x87 +# GFX10: s_and_b64 s[0:1], 0, s[4:5] ; encoding: [0x80,0x04,0x80,0x87] + +0xf0,0x04,0x80,0x87 +# GFX10: s_and_b64 s[0:1], 0.5, s[4:5] ; encoding: [0xf0,0x04,0x80,0x87] + +0xff,0x04,0x80,0x87,0x73,0x72,0x71,0x3f +# GFX10: s_and_b64 s[0:1], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x80,0x87,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x87,0x56,0x34,0x12,0xaf +# GFX10: s_and_b64 s[0:1], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x80,0x87,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x87 +# GFX10: s_and_b64 s[0:1], exec, s[4:5] ; encoding: [0x7e,0x04,0x80,0x87] + +0x7d,0x7d,0x80,0x87 +# GFX10: s_and_b64 s[0:1], null, null ; encoding: [0x7d,0x7d,0x80,0x87] + +0x66,0x64,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[102:103], s[100:101] ; encoding: [0x66,0x64,0x80,0x87] + +0x66,0x04,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[102:103], s[4:5] ; encoding: [0x66,0x04,0x80,0x87] + +0x02,0xc1,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x87] + +0x02,0xf7,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x87] + +0x02,0x80,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x87] + +0x02,0xf0,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x87] + +0x02,0xff,0x80,0x87,0x73,0x72,0x71,0x3f +# GFX10: s_and_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x87,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x87,0x56,0x34,0x12,0xaf +# GFX10: s_and_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x87,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[2:3], exec ; encoding: [0x02,0x7e,0x80,0x87] + +0x02,0x64,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x80,0x87] + +0x02,0x04,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[2:3], s[4:5] ; encoding: [0x02,0x04,0x80,0x87] + +0x02,0x6a,0x80,0x87 +# GFX10: s_and_b64 s[0:1], s[2:3], vcc ; encoding: [0x02,0x6a,0x80,0x87] + +0x6a,0x04,0x80,0x87 +# GFX10: s_and_b64 s[0:1], vcc, s[4:5] ; encoding: [0x6a,0x04,0x80,0x87] + +0x66,0x64,0xe8,0x87 +# GFX10: s_and_b64 s[104:105], s[102:103], s[100:101] ; encoding: [0x66,0x64,0xe8,0x87] + +0x66,0x04,0xe8,0x87 +# GFX10: s_and_b64 s[104:105], s[102:103], s[4:5] ; encoding: [0x66,0x04,0xe8,0x87] + +0x02,0x64,0xe8,0x87 +# GFX10: s_and_b64 s[104:105], s[2:3], s[100:101] ; encoding: [0x02,0x64,0xe8,0x87] + +0x02,0x04,0xe8,0x87 +# GFX10: s_and_b64 s[104:105], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe8,0x87] + +0x02,0x04,0xea,0x87 +# GFX10: s_and_b64 vcc, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xea,0x87] + +0x01,0x02,0x7f,0x8a +# GFX10: s_andn2_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x8a] + +0x01,0x02,0x7e,0x8a +# GFX10: s_andn2_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x8a] + +0x01,0x02,0x7c,0x8a +# GFX10: s_andn2_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x8a] + +0xc1,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x8a] + +0xf7,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x8a] + +0x80,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x8a] + +0xf0,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x8a] + +0xff,0x02,0x00,0x8a,0x73,0x72,0x71,0x3f +# GFX10: s_andn2_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x8a,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x8a,0x56,0x34,0x12,0xaf +# GFX10: s_andn2_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x8a,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x8a] + +0x7e,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x8a] + +0x7c,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x8a] + +0x01,0xc1,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x8a] + +0x01,0xf7,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x8a] + +0x01,0x80,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x8a] + +0x01,0xf0,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x8a] + +0x01,0xff,0x00,0x8a,0x73,0x72,0x71,0x3f +# GFX10: s_andn2_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x8a,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x8a,0x56,0x34,0x12,0xaf +# GFX10: s_andn2_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x8a,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x8a] + +0x01,0x7e,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x8a] + +0x01,0x7c,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x8a] + +0x01,0x67,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x8a] + +0x01,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x8a] + +0x01,0x6b,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x8a] + +0x01,0x6a,0x00,0x8a +# GFX10: s_andn2_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x8a] + +0x68,0x67,0x00,0x8a +# GFX10: s_andn2_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x8a] + +0x68,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x8a] + +0x6b,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x8a] + +0x6a,0x02,0x00,0x8a +# GFX10: s_andn2_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x8a] + +0x01,0x67,0x69,0x8a +# GFX10: s_andn2_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x8a] + +0x01,0x02,0x69,0x8a +# GFX10: s_andn2_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x8a] + +0x68,0x67,0x69,0x8a +# GFX10: s_andn2_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x8a] + +0x68,0x02,0x69,0x8a +# GFX10: s_andn2_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x8a] + +0x01,0x02,0x6b,0x8a +# GFX10: s_andn2_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x8a] + +0x01,0x02,0x6a,0x8a +# GFX10: s_andn2_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x8a] + +0x02,0x04,0xfe,0x8a +# GFX10: s_andn2_b64 exec, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfe,0x8a] + +0xc1,0x04,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], -1, s[4:5] ; encoding: [0xc1,0x04,0x80,0x8a] + +0xf7,0x04,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], -4.0, s[4:5] ; encoding: [0xf7,0x04,0x80,0x8a] + +0x80,0x04,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], 0, s[4:5] ; encoding: [0x80,0x04,0x80,0x8a] + +0xf0,0x04,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], 0.5, s[4:5] ; encoding: [0xf0,0x04,0x80,0x8a] + +0xff,0x04,0x80,0x8a,0x73,0x72,0x71,0x3f +# GFX10: s_andn2_b64 s[0:1], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x80,0x8a,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x8a,0x56,0x34,0x12,0xaf +# GFX10: s_andn2_b64 s[0:1], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x80,0x8a,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], exec, s[4:5] ; encoding: [0x7e,0x04,0x80,0x8a] + +0x66,0x64,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[102:103], s[100:101] ; encoding: [0x66,0x64,0x80,0x8a] + +0x66,0x04,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[102:103], s[4:5] ; encoding: [0x66,0x04,0x80,0x8a] + +0x02,0xc1,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x8a] + +0x02,0xf7,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x8a] + +0x02,0x80,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x8a] + +0x02,0xf0,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x8a] + +0x02,0xff,0x80,0x8a,0x73,0x72,0x71,0x3f +# GFX10: s_andn2_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x8a,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x8a,0x56,0x34,0x12,0xaf +# GFX10: s_andn2_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x8a,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[2:3], exec ; encoding: [0x02,0x7e,0x80,0x8a] + +0x02,0x64,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x80,0x8a] + +0x02,0x04,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[2:3], s[4:5] ; encoding: [0x02,0x04,0x80,0x8a] + +0x02,0x6a,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], s[2:3], vcc ; encoding: [0x02,0x6a,0x80,0x8a] + +0x6a,0x04,0x80,0x8a +# GFX10: s_andn2_b64 s[0:1], vcc, s[4:5] ; encoding: [0x6a,0x04,0x80,0x8a] + +0x66,0x64,0xe8,0x8a +# GFX10: s_andn2_b64 s[104:105], s[102:103], s[100:101] ; encoding: [0x66,0x64,0xe8,0x8a] + +0x66,0x04,0xe8,0x8a +# GFX10: s_andn2_b64 s[104:105], s[102:103], s[4:5] ; encoding: [0x66,0x04,0xe8,0x8a] + +0x02,0x64,0xe8,0x8a +# GFX10: s_andn2_b64 s[104:105], s[2:3], s[100:101] ; encoding: [0x02,0x64,0xe8,0x8a] + +0x02,0x04,0xe8,0x8a +# GFX10: s_andn2_b64 s[104:105], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe8,0x8a] + +0x02,0x04,0xea,0x8a +# GFX10: s_andn2_b64 vcc, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xea,0x8a] + +0x01,0x02,0x7f,0x91 +# GFX10: s_ashr_i32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x91] + +0x01,0x02,0x7e,0x91 +# GFX10: s_ashr_i32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x91] + +0x01,0x02,0x7c,0x91 +# GFX10: s_ashr_i32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x91] + +0xc1,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x91] + +0xf7,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x91] + +0x80,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x91] + +0xf0,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x91] + +0xff,0x02,0x00,0x91,0x73,0x72,0x71,0x3f +# GFX10: s_ashr_i32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x91,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x91,0x56,0x34,0x12,0xaf +# GFX10: s_ashr_i32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x91,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x91] + +0x7e,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x91] + +0x7c,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x91] + +0x01,0xc1,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x91] + +0x01,0xf7,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x91] + +0x01,0x80,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x91] + +0x01,0xf0,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x91] + +0x01,0xff,0x00,0x91,0x73,0x72,0x71,0x3f +# GFX10: s_ashr_i32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x91,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x91,0x56,0x34,0x12,0xaf +# GFX10: s_ashr_i32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x91,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x91] + +0x01,0x7e,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x91] + +0x01,0x7c,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x91] + +0x01,0x67,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x91] + +0x01,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x91] + +0x01,0x6b,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x91] + +0x01,0x6a,0x00,0x91 +# GFX10: s_ashr_i32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x91] + +0x68,0x67,0x00,0x91 +# GFX10: s_ashr_i32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x91] + +0x68,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x91] + +0x6b,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x91] + +0x6a,0x02,0x00,0x91 +# GFX10: s_ashr_i32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x91] + +0x01,0x67,0x69,0x91 +# GFX10: s_ashr_i32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x91] + +0x01,0x02,0x69,0x91 +# GFX10: s_ashr_i32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x91] + +0x68,0x67,0x69,0x91 +# GFX10: s_ashr_i32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x91] + +0x68,0x02,0x69,0x91 +# GFX10: s_ashr_i32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x91] + +0x01,0x02,0x6b,0x91 +# GFX10: s_ashr_i32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x91] + +0x01,0x02,0x6a,0x91 +# GFX10: s_ashr_i32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x91] + +0x02,0x04,0xfe,0x91 +# GFX10: s_ashr_i64 exec, s[2:3], s4 ; encoding: [0x02,0x04,0xfe,0x91] + +0xc1,0x04,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], -1, s4 ; encoding: [0xc1,0x04,0x80,0x91] + +0xf7,0x04,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], -4.0, s4 ; encoding: [0xf7,0x04,0x80,0x91] + +0x80,0x04,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], 0, s4 ; encoding: [0x80,0x04,0x80,0x91] + +0xf0,0x04,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], 0.5, s4 ; encoding: [0xf0,0x04,0x80,0x91] + +0xff,0x04,0x80,0x91,0x73,0x72,0x71,0x3f +# GFX10: s_ashr_i64 s[0:1], 0x3f717273, s4 ; encoding: [0xff,0x04,0x80,0x91,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x91,0x56,0x34,0x12,0xaf +# GFX10: s_ashr_i64 s[0:1], 0xaf123456, s4 ; encoding: [0xff,0x04,0x80,0x91,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], exec, s4 ; encoding: [0x7e,0x04,0x80,0x91] + +0x7d,0x00,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], null, s0 ; encoding: [0x7d,0x00,0x80,0x91] + +0x66,0x64,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[102:103], s100 ; encoding: [0x66,0x64,0x80,0x91] + +0x66,0x04,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[102:103], s4 ; encoding: [0x66,0x04,0x80,0x91] + +0x02,0xc1,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x91] + +0x02,0xf7,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x91] + +0x02,0x80,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x91] + +0x02,0xf0,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x91] + +0x02,0xff,0x80,0x91,0x73,0x72,0x71,0x3f +# GFX10: s_ashr_i64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x91,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x91,0x56,0x34,0x12,0xaf +# GFX10: s_ashr_i64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x91,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[2:3], exec_lo ; encoding: [0x02,0x7e,0x80,0x91] + +0x02,0x64,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[2:3], s100 ; encoding: [0x02,0x64,0x80,0x91] + +0x02,0x04,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[2:3], s4 ; encoding: [0x02,0x04,0x80,0x91] + +0x02,0x6a,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], s[2:3], vcc_lo ; encoding: [0x02,0x6a,0x80,0x91] + +0x6a,0x04,0x80,0x91 +# GFX10: s_ashr_i64 s[0:1], vcc, s4 ; encoding: [0x6a,0x04,0x80,0x91] + +0x66,0x64,0xe8,0x91 +# GFX10: s_ashr_i64 s[104:105], s[102:103], s100 ; encoding: [0x66,0x64,0xe8,0x91] + +0x66,0x04,0xe8,0x91 +# GFX10: s_ashr_i64 s[104:105], s[102:103], s4 ; encoding: [0x66,0x04,0xe8,0x91] + +0x02,0x64,0xe8,0x91 +# GFX10: s_ashr_i64 s[104:105], s[2:3], s100 ; encoding: [0x02,0x64,0xe8,0x91] + +0x02,0x04,0xe8,0x91 +# GFX10: s_ashr_i64 s[104:105], s[2:3], s4 ; encoding: [0x02,0x04,0xe8,0x91] + +0x02,0x04,0xea,0x91 +# GFX10: s_ashr_i64 vcc, s[2:3], s4 ; encoding: [0x02,0x04,0xea,0x91] + +0x01,0x02,0x7f,0x94 +# GFX10: s_bfe_i32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x94] + +0x01,0x02,0x7e,0x94 +# GFX10: s_bfe_i32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x94] + +0x01,0x02,0x7c,0x94 +# GFX10: s_bfe_i32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x94] + +0xc1,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x94] + +0xf7,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x94] + +0x80,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x94] + +0xf0,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x94] + +0xff,0x02,0x00,0x94,0x73,0x72,0x71,0x3f +# GFX10: s_bfe_i32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x94,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x94,0x56,0x34,0x12,0xaf +# GFX10: s_bfe_i32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x94,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x94] + +0x7e,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x94] + +0x7c,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x94] + +0x01,0xc1,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x94] + +0x01,0xf7,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x94] + +0x01,0x80,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x94] + +0x01,0xf0,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x94] + +0x01,0xff,0x00,0x94,0x73,0x72,0x71,0x3f +# GFX10: s_bfe_i32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x94,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x94,0x56,0x34,0x12,0xaf +# GFX10: s_bfe_i32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x94,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x94] + +0x01,0x7e,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x94] + +0x01,0x7c,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x94] + +0x01,0x67,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x94] + +0x01,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x94] + +0x01,0x6b,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x94] + +0x01,0x6a,0x00,0x94 +# GFX10: s_bfe_i32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x94] + +0x68,0x67,0x00,0x94 +# GFX10: s_bfe_i32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x94] + +0x68,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x94] + +0x6b,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x94] + +0x6a,0x02,0x00,0x94 +# GFX10: s_bfe_i32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x94] + +0x01,0x67,0x69,0x94 +# GFX10: s_bfe_i32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x94] + +0x01,0x02,0x69,0x94 +# GFX10: s_bfe_i32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x94] + +0x68,0x67,0x69,0x94 +# GFX10: s_bfe_i32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x94] + +0x68,0x02,0x69,0x94 +# GFX10: s_bfe_i32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x94] + +0x01,0x02,0x6b,0x94 +# GFX10: s_bfe_i32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x94] + +0x01,0x02,0x6a,0x94 +# GFX10: s_bfe_i32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x94] + +0x02,0x04,0x7e,0x95 +# GFX10: s_bfe_i64 exec, s[2:3], s4 ; encoding: [0x02,0x04,0x7e,0x95] + +0xc1,0x04,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], -1, s4 ; encoding: [0xc1,0x04,0x00,0x95] + +0xf7,0x04,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], -4.0, s4 ; encoding: [0xf7,0x04,0x00,0x95] + +0x80,0x04,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], 0, s4 ; encoding: [0x80,0x04,0x00,0x95] + +0xf0,0x04,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], 0.5, s4 ; encoding: [0xf0,0x04,0x00,0x95] + +0xff,0x04,0x00,0x95,0x73,0x72,0x71,0x3f +# GFX10: s_bfe_i64 s[0:1], 0x3f717273, s4 ; encoding: [0xff,0x04,0x00,0x95,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x00,0x95,0x56,0x34,0x12,0xaf +# GFX10: s_bfe_i64 s[0:1], 0xaf123456, s4 ; encoding: [0xff,0x04,0x00,0x95,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], exec, s4 ; encoding: [0x7e,0x04,0x00,0x95] + +0x66,0x64,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[102:103], s100 ; encoding: [0x66,0x64,0x00,0x95] + +0x66,0x04,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[102:103], s4 ; encoding: [0x66,0x04,0x00,0x95] + +0x02,0xc1,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x00,0x95] + +0x02,0xf7,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x00,0x95] + +0x02,0x80,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x00,0x95] + +0x02,0xf0,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x00,0x95] + +0x02,0xff,0x00,0x95,0x73,0x72,0x71,0x3f +# GFX10: s_bfe_i64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x00,0x95,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x00,0x95,0x56,0x34,0x12,0xaf +# GFX10: s_bfe_i64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x00,0x95,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[2:3], exec_lo ; encoding: [0x02,0x7e,0x00,0x95] + +0x02,0x64,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[2:3], s100 ; encoding: [0x02,0x64,0x00,0x95] + +0x02,0x04,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[2:3], s4 ; encoding: [0x02,0x04,0x00,0x95] + +0x02,0x6a,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], s[2:3], vcc_lo ; encoding: [0x02,0x6a,0x00,0x95] + +0x6a,0x04,0x00,0x95 +# GFX10: s_bfe_i64 s[0:1], vcc, s4 ; encoding: [0x6a,0x04,0x00,0x95] + +0x66,0x64,0x68,0x95 +# GFX10: s_bfe_i64 s[104:105], s[102:103], s100 ; encoding: [0x66,0x64,0x68,0x95] + +0x66,0x04,0x68,0x95 +# GFX10: s_bfe_i64 s[104:105], s[102:103], s4 ; encoding: [0x66,0x04,0x68,0x95] + +0x02,0x64,0x68,0x95 +# GFX10: s_bfe_i64 s[104:105], s[2:3], s100 ; encoding: [0x02,0x64,0x68,0x95] + +0x02,0x04,0x68,0x95 +# GFX10: s_bfe_i64 s[104:105], s[2:3], s4 ; encoding: [0x02,0x04,0x68,0x95] + +0x02,0x04,0x6a,0x95 +# GFX10: s_bfe_i64 vcc, s[2:3], s4 ; encoding: [0x02,0x04,0x6a,0x95] + +0x01,0x02,0xff,0x93 +# GFX10: s_bfe_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x93] + +0x01,0x02,0xfe,0x93 +# GFX10: s_bfe_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x93] + +0x01,0x02,0xfc,0x93 +# GFX10: s_bfe_u32 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x93] + +0xc1,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x93] + +0xf7,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x93] + +0x80,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x93] + +0xf0,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x93] + +0xff,0x02,0x80,0x93,0x73,0x72,0x71,0x3f +# GFX10: s_bfe_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x93,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x93,0x56,0x34,0x12,0xaf +# GFX10: s_bfe_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x93,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x93] + +0x7e,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x93] + +0x7c,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x93] + +0x01,0xc1,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x93] + +0x01,0xf7,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x93] + +0x01,0x80,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x93] + +0x01,0xf0,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x93] + +0x01,0xff,0x80,0x93,0x73,0x72,0x71,0x3f +# GFX10: s_bfe_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x93,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x93,0x56,0x34,0x12,0xaf +# GFX10: s_bfe_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x93,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x93] + +0x01,0x7e,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x93] + +0x01,0x7c,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x93] + +0x01,0x67,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x93] + +0x01,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x93] + +0x01,0x6b,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x93] + +0x01,0x6a,0x80,0x93 +# GFX10: s_bfe_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x93] + +0x68,0x67,0x80,0x93 +# GFX10: s_bfe_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x93] + +0x68,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x93] + +0x6b,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x93] + +0x6a,0x02,0x80,0x93 +# GFX10: s_bfe_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x93] + +0x01,0x67,0xe9,0x93 +# GFX10: s_bfe_u32 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x93] + +0x01,0x02,0xe9,0x93 +# GFX10: s_bfe_u32 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x93] + +0x68,0x67,0xe9,0x93 +# GFX10: s_bfe_u32 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x93] + +0x68,0x02,0xe9,0x93 +# GFX10: s_bfe_u32 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x93] + +0x01,0x02,0xeb,0x93 +# GFX10: s_bfe_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x93] + +0x01,0x02,0xea,0x93 +# GFX10: s_bfe_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x93] + +0x02,0x04,0xfe,0x94 +# GFX10: s_bfe_u64 exec, s[2:3], s4 ; encoding: [0x02,0x04,0xfe,0x94] + +0xc1,0x04,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], -1, s4 ; encoding: [0xc1,0x04,0x80,0x94] + +0xf7,0x04,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], -4.0, s4 ; encoding: [0xf7,0x04,0x80,0x94] + +0x80,0x04,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], 0, s4 ; encoding: [0x80,0x04,0x80,0x94] + +0xf0,0x04,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], 0.5, s4 ; encoding: [0xf0,0x04,0x80,0x94] + +0xff,0x04,0x80,0x94,0x73,0x72,0x71,0x3f +# GFX10: s_bfe_u64 s[0:1], 0x3f717273, s4 ; encoding: [0xff,0x04,0x80,0x94,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x94,0x56,0x34,0x12,0xaf +# GFX10: s_bfe_u64 s[0:1], 0xaf123456, s4 ; encoding: [0xff,0x04,0x80,0x94,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], exec, s4 ; encoding: [0x7e,0x04,0x80,0x94] + +0x66,0x64,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[102:103], s100 ; encoding: [0x66,0x64,0x80,0x94] + +0x66,0x04,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[102:103], s4 ; encoding: [0x66,0x04,0x80,0x94] + +0x02,0xc1,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x94] + +0x02,0xf7,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x94] + +0x02,0x80,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x94] + +0x02,0xf0,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x94] + +0x02,0xff,0x80,0x94,0x73,0x72,0x71,0x3f +# GFX10: s_bfe_u64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x94,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x94,0x56,0x34,0x12,0xaf +# GFX10: s_bfe_u64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x94,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[2:3], exec_lo ; encoding: [0x02,0x7e,0x80,0x94] + +0x02,0x64,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[2:3], s100 ; encoding: [0x02,0x64,0x80,0x94] + +0x02,0x04,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[2:3], s4 ; encoding: [0x02,0x04,0x80,0x94] + +0x02,0x6a,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], s[2:3], vcc_lo ; encoding: [0x02,0x6a,0x80,0x94] + +0x6a,0x04,0x80,0x94 +# GFX10: s_bfe_u64 s[0:1], vcc, s4 ; encoding: [0x6a,0x04,0x80,0x94] + +0x66,0x64,0xe8,0x94 +# GFX10: s_bfe_u64 s[104:105], s[102:103], s100 ; encoding: [0x66,0x64,0xe8,0x94] + +0x66,0x04,0xe8,0x94 +# GFX10: s_bfe_u64 s[104:105], s[102:103], s4 ; encoding: [0x66,0x04,0xe8,0x94] + +0x02,0x64,0xe8,0x94 +# GFX10: s_bfe_u64 s[104:105], s[2:3], s100 ; encoding: [0x02,0x64,0xe8,0x94] + +0x02,0x04,0xe8,0x94 +# GFX10: s_bfe_u64 s[104:105], s[2:3], s4 ; encoding: [0x02,0x04,0xe8,0x94] + +0x02,0x04,0xea,0x94 +# GFX10: s_bfe_u64 vcc, s[2:3], s4 ; encoding: [0x02,0x04,0xea,0x94] + +0x01,0x02,0x7f,0x92 +# GFX10: s_bfm_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x92] + +0x01,0x02,0x7e,0x92 +# GFX10: s_bfm_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x92] + +0x01,0x02,0x7c,0x92 +# GFX10: s_bfm_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x92] + +0xc1,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x92] + +0xf7,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x92] + +0x80,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x92] + +0xf0,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x92] + +0xff,0x02,0x00,0x92,0x73,0x72,0x71,0x3f +# GFX10: s_bfm_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x92,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x92,0x56,0x34,0x12,0xaf +# GFX10: s_bfm_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x92,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x92] + +0x7e,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x92] + +0x7c,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x92] + +0x01,0xc1,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x92] + +0x01,0xf7,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x92] + +0x01,0x80,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x92] + +0x01,0xf0,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x92] + +0x01,0xff,0x00,0x92,0x73,0x72,0x71,0x3f +# GFX10: s_bfm_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x92,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x92,0x56,0x34,0x12,0xaf +# GFX10: s_bfm_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x92,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x92] + +0x01,0x7e,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x92] + +0x01,0x7c,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x92] + +0x01,0x67,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x92] + +0x01,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x92] + +0x01,0x6b,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x92] + +0x01,0x6a,0x00,0x92 +# GFX10: s_bfm_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x92] + +0x68,0x67,0x00,0x92 +# GFX10: s_bfm_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x92] + +0x68,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x92] + +0x6b,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x92] + +0x6a,0x02,0x00,0x92 +# GFX10: s_bfm_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x92] + +0x01,0x67,0x69,0x92 +# GFX10: s_bfm_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x92] + +0x01,0x02,0x69,0x92 +# GFX10: s_bfm_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x92] + +0x68,0x67,0x69,0x92 +# GFX10: s_bfm_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x92] + +0x68,0x02,0x69,0x92 +# GFX10: s_bfm_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x92] + +0x01,0x02,0x6b,0x92 +# GFX10: s_bfm_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x92] + +0x01,0x02,0x6a,0x92 +# GFX10: s_bfm_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x92] + +0x02,0x03,0xfe,0x92 +# GFX10: s_bfm_b64 exec, s2, s3 ; encoding: [0x02,0x03,0xfe,0x92] + +0xc1,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], -1, s3 ; encoding: [0xc1,0x03,0x80,0x92] + +0xf7,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], -4.0, s3 ; encoding: [0xf7,0x03,0x80,0x92] + +0x80,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], 0, s3 ; encoding: [0x80,0x03,0x80,0x92] + +0xf0,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], 0.5, s3 ; encoding: [0xf0,0x03,0x80,0x92] + +0xff,0x03,0x80,0x92,0x73,0x72,0x71,0x3f +# GFX10: s_bfm_b64 s[0:1], 0x3f717273, s3 ; encoding: [0xff,0x03,0x80,0x92,0x73,0x72,0x71,0x3f] + +0xff,0x03,0x80,0x92,0x56,0x34,0x12,0xaf +# GFX10: s_bfm_b64 s[0:1], 0xaf123456, s3 ; encoding: [0xff,0x03,0x80,0x92,0x56,0x34,0x12,0xaf] + +0x7f,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], exec_hi, s3 ; encoding: [0x7f,0x03,0x80,0x92] + +0x7e,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], exec_lo, s3 ; encoding: [0x7e,0x03,0x80,0x92] + +0x7c,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], m0, s3 ; encoding: [0x7c,0x03,0x80,0x92] + +0x68,0x67,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s104, s103 ; encoding: [0x68,0x67,0x80,0x92] + +0x68,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s104, s3 ; encoding: [0x68,0x03,0x80,0x92] + +0x02,0xc1,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, -1 ; encoding: [0x02,0xc1,0x80,0x92] + +0x02,0xf7,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, -4.0 ; encoding: [0x02,0xf7,0x80,0x92] + +0x02,0x80,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, 0 ; encoding: [0x02,0x80,0x80,0x92] + +0x02,0xf0,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, 0.5 ; encoding: [0x02,0xf0,0x80,0x92] + +0x02,0xff,0x80,0x92,0x73,0x72,0x71,0x3f +# GFX10: s_bfm_b64 s[0:1], s2, 0x3f717273 ; encoding: [0x02,0xff,0x80,0x92,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x92,0x56,0x34,0x12,0xaf +# GFX10: s_bfm_b64 s[0:1], s2, 0xaf123456 ; encoding: [0x02,0xff,0x80,0x92,0x56,0x34,0x12,0xaf] + +0x02,0x7f,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, exec_hi ; encoding: [0x02,0x7f,0x80,0x92] + +0x02,0x7e,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, exec_lo ; encoding: [0x02,0x7e,0x80,0x92] + +0x02,0x7c,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, m0 ; encoding: [0x02,0x7c,0x80,0x92] + +0x02,0x67,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, s103 ; encoding: [0x02,0x67,0x80,0x92] + +0x02,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, s3 ; encoding: [0x02,0x03,0x80,0x92] + +0x02,0x6b,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, vcc_hi ; encoding: [0x02,0x6b,0x80,0x92] + +0x02,0x6a,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], s2, vcc_lo ; encoding: [0x02,0x6a,0x80,0x92] + +0x6b,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], vcc_hi, s3 ; encoding: [0x6b,0x03,0x80,0x92] + +0x6a,0x03,0x80,0x92 +# GFX10: s_bfm_b64 s[0:1], vcc_lo, s3 ; encoding: [0x6a,0x03,0x80,0x92] + +0x67,0x66,0xe8,0x92 +# GFX10: s_bfm_b64 s[104:105], s103, s102 ; encoding: [0x67,0x66,0xe8,0x92] + +0x68,0x03,0xe8,0x92 +# GFX10: s_bfm_b64 s[104:105], s104, s3 ; encoding: [0x68,0x03,0xe8,0x92] + +0x02,0x67,0xe8,0x92 +# GFX10: s_bfm_b64 s[104:105], s2, s103 ; encoding: [0x02,0x67,0xe8,0x92] + +0x02,0x03,0xe8,0x92 +# GFX10: s_bfm_b64 s[104:105], s2, s3 ; encoding: [0x02,0x03,0xe8,0x92] + +0x02,0x03,0xea,0x92 +# GFX10: s_bfm_b64 vcc, s2, s3 ; encoding: [0x02,0x03,0xea,0x92] + +0x01,0x02,0x7f,0x85 +# GFX10: s_cselect_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x85] + +0x01,0x02,0x7e,0x85 +# GFX10: s_cselect_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x85] + +0x01,0x02,0x7c,0x85 +# GFX10: s_cselect_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x85] + +0xc1,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x85] + +0xf7,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x85] + +0x80,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x85] + +0xf0,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x85] + +0xff,0x02,0x00,0x85,0x73,0x72,0x71,0x3f +# GFX10: s_cselect_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x85,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x85,0x56,0x34,0x12,0xaf +# GFX10: s_cselect_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x85,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x85] + +0x7e,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x85] + +0x7c,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x85] + +0x01,0xc1,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x85] + +0x01,0xf7,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x85] + +0x01,0x80,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x85] + +0x01,0xf0,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x85] + +0x01,0xff,0x00,0x85,0x73,0x72,0x71,0x3f +# GFX10: s_cselect_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x85,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x85,0x56,0x34,0x12,0xaf +# GFX10: s_cselect_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x85,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x85] + +0x01,0x7e,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x85] + +0x01,0x7c,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x85] + +0x01,0x67,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x85] + +0x01,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x85] + +0x01,0x6b,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x85] + +0x01,0x6a,0x00,0x85 +# GFX10: s_cselect_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x85] + +0x68,0x67,0x00,0x85 +# GFX10: s_cselect_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x85] + +0x68,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x85] + +0x6b,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x85] + +0x6a,0x02,0x00,0x85 +# GFX10: s_cselect_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x85] + +0x01,0x67,0x69,0x85 +# GFX10: s_cselect_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x85] + +0x01,0x02,0x69,0x85 +# GFX10: s_cselect_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x85] + +0x68,0x67,0x69,0x85 +# GFX10: s_cselect_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x85] + +0x68,0x02,0x69,0x85 +# GFX10: s_cselect_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x85] + +0x01,0x02,0x6b,0x85 +# GFX10: s_cselect_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x85] + +0x01,0x02,0x6a,0x85 +# GFX10: s_cselect_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x85] + +0x02,0x04,0xfe,0x85 +# GFX10: s_cselect_b64 exec, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfe,0x85] + +0xc1,0x04,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], -1, s[4:5] ; encoding: [0xc1,0x04,0x80,0x85] + +0xf7,0x04,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], -4.0, s[4:5] ; encoding: [0xf7,0x04,0x80,0x85] + +0x80,0x04,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], 0, s[4:5] ; encoding: [0x80,0x04,0x80,0x85] + +0xf0,0x04,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], 0.5, s[4:5] ; encoding: [0xf0,0x04,0x80,0x85] + +0xff,0x04,0x80,0x85,0x73,0x72,0x71,0x3f +# GFX10: s_cselect_b64 s[0:1], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x80,0x85,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x85,0x56,0x34,0x12,0xaf +# GFX10: s_cselect_b64 s[0:1], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x80,0x85,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], exec, s[4:5] ; encoding: [0x7e,0x04,0x80,0x85] + +0x66,0x64,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[102:103], s[100:101] ; encoding: [0x66,0x64,0x80,0x85] + +0x66,0x04,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[102:103], s[4:5] ; encoding: [0x66,0x04,0x80,0x85] + +0x02,0xc1,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x85] + +0x02,0xf7,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x85] + +0x02,0x80,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x85] + +0x02,0xf0,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x85] + +0x02,0xff,0x80,0x85,0x73,0x72,0x71,0x3f +# GFX10: s_cselect_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x85,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x85,0x56,0x34,0x12,0xaf +# GFX10: s_cselect_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x85,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[2:3], exec ; encoding: [0x02,0x7e,0x80,0x85] + +0x02,0x64,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x80,0x85] + +0x02,0x04,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[2:3], s[4:5] ; encoding: [0x02,0x04,0x80,0x85] + +0x02,0x6a,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], s[2:3], vcc ; encoding: [0x02,0x6a,0x80,0x85] + +0x6a,0x04,0x80,0x85 +# GFX10: s_cselect_b64 s[0:1], vcc, s[4:5] ; encoding: [0x6a,0x04,0x80,0x85] + +0x66,0x64,0xe8,0x85 +# GFX10: s_cselect_b64 s[104:105], s[102:103], s[100:101] ; encoding: [0x66,0x64,0xe8,0x85] + +0x66,0x04,0xe8,0x85 +# GFX10: s_cselect_b64 s[104:105], s[102:103], s[4:5] ; encoding: [0x66,0x04,0xe8,0x85] + +0x02,0x64,0xe8,0x85 +# GFX10: s_cselect_b64 s[104:105], s[2:3], s[100:101] ; encoding: [0x02,0x64,0xe8,0x85] + +0x02,0x04,0xe8,0x85 +# GFX10: s_cselect_b64 s[104:105], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe8,0x85] + +0x02,0x04,0xea,0x85 +# GFX10: s_cselect_b64 vcc, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xea,0x85] + +0x01,0x02,0x7f,0x97 +# GFX10: s_lshl1_add_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x97] + +0x01,0x02,0x7e,0x97 +# GFX10: s_lshl1_add_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x97] + +0x01,0x02,0x7c,0x97 +# GFX10: s_lshl1_add_u32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x97] + +0xc1,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x97] + +0xf7,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x97] + +0x80,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x97] + +0xf0,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x97] + +0xff,0x02,0x00,0x97,0x73,0x72,0x71,0x3f +# GFX10: s_lshl1_add_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x97,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x97,0x56,0x34,0x12,0xaf +# GFX10: s_lshl1_add_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x97,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x97] + +0x7e,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x97] + +0x7c,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x97] + +0x01,0xc1,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x97] + +0x01,0xf7,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x97] + +0x01,0x80,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x97] + +0x01,0xf0,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x97] + +0x01,0xff,0x00,0x97,0x73,0x72,0x71,0x3f +# GFX10: s_lshl1_add_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x97,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x97,0x56,0x34,0x12,0xaf +# GFX10: s_lshl1_add_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x97,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x97] + +0x01,0x7e,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x97] + +0x01,0x7c,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x97] + +0x01,0x67,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x97] + +0x01,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x97] + +0x01,0x6b,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x97] + +0x01,0x6a,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x97] + +0x68,0x67,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x97] + +0x68,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x97] + +0x6b,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x97] + +0x6a,0x02,0x00,0x97 +# GFX10: s_lshl1_add_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x97] + +0x01,0x67,0x69,0x97 +# GFX10: s_lshl1_add_u32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x97] + +0x01,0x02,0x69,0x97 +# GFX10: s_lshl1_add_u32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x97] + +0x68,0x67,0x69,0x97 +# GFX10: s_lshl1_add_u32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x97] + +0x68,0x02,0x69,0x97 +# GFX10: s_lshl1_add_u32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x97] + +0x01,0x02,0x6b,0x97 +# GFX10: s_lshl1_add_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x97] + +0x01,0x02,0x6a,0x97 +# GFX10: s_lshl1_add_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x97] + +0x01,0x02,0xff,0x97 +# GFX10: s_lshl2_add_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x97] + +0x01,0x02,0xfe,0x97 +# GFX10: s_lshl2_add_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x97] + +0x01,0x02,0xfc,0x97 +# GFX10: s_lshl2_add_u32 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x97] + +0xc1,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x97] + +0xf7,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x97] + +0x80,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x97] + +0xf0,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x97] + +0xff,0x02,0x80,0x97,0x73,0x72,0x71,0x3f +# GFX10: s_lshl2_add_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x97,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x97,0x56,0x34,0x12,0xaf +# GFX10: s_lshl2_add_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x97,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x97] + +0x7e,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x97] + +0x7c,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x97] + +0x01,0xc1,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x97] + +0x01,0xf7,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x97] + +0x01,0x80,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x97] + +0x01,0xf0,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x97] + +0x01,0xff,0x80,0x97,0x73,0x72,0x71,0x3f +# GFX10: s_lshl2_add_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x97,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x97,0x56,0x34,0x12,0xaf +# GFX10: s_lshl2_add_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x97,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x97] + +0x01,0x7e,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x97] + +0x01,0x7c,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x97] + +0x01,0x67,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x97] + +0x01,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x97] + +0x01,0x6b,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x97] + +0x01,0x6a,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x97] + +0x68,0x67,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x97] + +0x68,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x97] + +0x6b,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x97] + +0x6a,0x02,0x80,0x97 +# GFX10: s_lshl2_add_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x97] + +0x01,0x67,0xe9,0x97 +# GFX10: s_lshl2_add_u32 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x97] + +0x01,0x02,0xe9,0x97 +# GFX10: s_lshl2_add_u32 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x97] + +0x68,0x67,0xe9,0x97 +# GFX10: s_lshl2_add_u32 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x97] + +0x68,0x02,0xe9,0x97 +# GFX10: s_lshl2_add_u32 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x97] + +0x01,0x02,0xeb,0x97 +# GFX10: s_lshl2_add_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x97] + +0x01,0x02,0xea,0x97 +# GFX10: s_lshl2_add_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x97] + +0x01,0x02,0x7f,0x98 +# GFX10: s_lshl3_add_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x98] + +0x01,0x02,0x7e,0x98 +# GFX10: s_lshl3_add_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x98] + +0x01,0x02,0x7c,0x98 +# GFX10: s_lshl3_add_u32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x98] + +0xc1,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x98] + +0xf7,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x98] + +0x80,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x98] + +0xf0,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x98] + +0xff,0x02,0x00,0x98,0x73,0x72,0x71,0x3f +# GFX10: s_lshl3_add_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x98,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x98,0x56,0x34,0x12,0xaf +# GFX10: s_lshl3_add_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x98,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x98] + +0x7e,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x98] + +0x7c,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x98] + +0x01,0xc1,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x98] + +0x01,0xf7,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x98] + +0x01,0x80,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x98] + +0x01,0xf0,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x98] + +0x01,0xff,0x00,0x98,0x73,0x72,0x71,0x3f +# GFX10: s_lshl3_add_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x98,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x98,0x56,0x34,0x12,0xaf +# GFX10: s_lshl3_add_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x98,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x98] + +0x01,0x7e,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x98] + +0x01,0x7c,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x98] + +0x01,0x67,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x98] + +0x01,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x98] + +0x01,0x6b,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x98] + +0x01,0x6a,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x98] + +0x68,0x67,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x98] + +0x68,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x98] + +0x6b,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x98] + +0x6a,0x02,0x00,0x98 +# GFX10: s_lshl3_add_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x98] + +0x01,0x67,0x69,0x98 +# GFX10: s_lshl3_add_u32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x98] + +0x01,0x02,0x69,0x98 +# GFX10: s_lshl3_add_u32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x98] + +0x68,0x67,0x69,0x98 +# GFX10: s_lshl3_add_u32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x98] + +0x68,0x02,0x69,0x98 +# GFX10: s_lshl3_add_u32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x98] + +0x01,0x02,0x6b,0x98 +# GFX10: s_lshl3_add_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x98] + +0x01,0x02,0x6a,0x98 +# GFX10: s_lshl3_add_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x98] + +0x01,0x02,0xff,0x98 +# GFX10: s_lshl4_add_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x98] + +0x01,0x02,0xfe,0x98 +# GFX10: s_lshl4_add_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x98] + +0x01,0x02,0xfc,0x98 +# GFX10: s_lshl4_add_u32 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x98] + +0xc1,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x98] + +0xf7,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x98] + +0x80,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x98] + +0xf0,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x98] + +0xff,0x02,0x80,0x98,0x73,0x72,0x71,0x3f +# GFX10: s_lshl4_add_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x98,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x98,0x56,0x34,0x12,0xaf +# GFX10: s_lshl4_add_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x98,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x98] + +0x7e,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x98] + +0x7c,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x98] + +0x01,0xc1,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x98] + +0x01,0xf7,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x98] + +0x01,0x80,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x98] + +0x01,0xf0,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x98] + +0x01,0xff,0x80,0x98,0x73,0x72,0x71,0x3f +# GFX10: s_lshl4_add_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x98,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x98,0x56,0x34,0x12,0xaf +# GFX10: s_lshl4_add_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x98,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x98] + +0x01,0x7e,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x98] + +0x01,0x7c,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x98] + +0x01,0x67,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x98] + +0x01,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x98] + +0x01,0x6b,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x98] + +0x01,0x6a,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x98] + +0x68,0x67,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x98] + +0x68,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x98] + +0x6b,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x98] + +0x6a,0x02,0x80,0x98 +# GFX10: s_lshl4_add_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x98] + +0x01,0x67,0xe9,0x98 +# GFX10: s_lshl4_add_u32 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x98] + +0x01,0x02,0xe9,0x98 +# GFX10: s_lshl4_add_u32 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x98] + +0x68,0x67,0xe9,0x98 +# GFX10: s_lshl4_add_u32 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x98] + +0x68,0x02,0xe9,0x98 +# GFX10: s_lshl4_add_u32 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x98] + +0x01,0x02,0xeb,0x98 +# GFX10: s_lshl4_add_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x98] + +0x01,0x02,0xea,0x98 +# GFX10: s_lshl4_add_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x98] + +0x01,0x02,0x7f,0x8f +# GFX10: s_lshl_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x8f] + +0x01,0x02,0x7e,0x8f +# GFX10: s_lshl_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x8f] + +0x01,0x02,0x7c,0x8f +# GFX10: s_lshl_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x8f] + +0xc1,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x8f] + +0xf7,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x8f] + +0x80,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x8f] + +0xf0,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x8f] + +0xff,0x02,0x00,0x8f,0x73,0x72,0x71,0x3f +# GFX10: s_lshl_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x8f,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x8f,0x56,0x34,0x12,0xaf +# GFX10: s_lshl_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x8f,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x8f] + +0x7e,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x8f] + +0x7c,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x8f] + +0x01,0xc1,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x8f] + +0x01,0xf7,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x8f] + +0x01,0x80,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x8f] + +0x01,0xf0,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x8f] + +0x01,0xff,0x00,0x8f,0x73,0x72,0x71,0x3f +# GFX10: s_lshl_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x8f,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x8f,0x56,0x34,0x12,0xaf +# GFX10: s_lshl_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x8f,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x8f] + +0x01,0x7e,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x8f] + +0x01,0x7c,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x8f] + +0x01,0x67,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x8f] + +0x01,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x8f] + +0x01,0x6b,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x8f] + +0x01,0x6a,0x00,0x8f +# GFX10: s_lshl_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x8f] + +0x68,0x67,0x00,0x8f +# GFX10: s_lshl_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x8f] + +0x68,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x8f] + +0x6b,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x8f] + +0x6a,0x02,0x00,0x8f +# GFX10: s_lshl_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x8f] + +0x01,0x67,0x69,0x8f +# GFX10: s_lshl_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x8f] + +0x01,0x02,0x69,0x8f +# GFX10: s_lshl_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x8f] + +0x68,0x67,0x69,0x8f +# GFX10: s_lshl_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x8f] + +0x68,0x02,0x69,0x8f +# GFX10: s_lshl_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x8f] + +0x01,0x02,0x6b,0x8f +# GFX10: s_lshl_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x8f] + +0x01,0x02,0x6a,0x8f +# GFX10: s_lshl_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x8f] + +0x02,0x04,0xfe,0x8f +# GFX10: s_lshl_b64 exec, s[2:3], s4 ; encoding: [0x02,0x04,0xfe,0x8f] + +0xc1,0x04,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], -1, s4 ; encoding: [0xc1,0x04,0x80,0x8f] + +0xf7,0x04,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], -4.0, s4 ; encoding: [0xf7,0x04,0x80,0x8f] + +0x80,0x04,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], 0, s4 ; encoding: [0x80,0x04,0x80,0x8f] + +0xf0,0x04,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], 0.5, s4 ; encoding: [0xf0,0x04,0x80,0x8f] + +0xff,0x04,0x80,0x8f,0x73,0x72,0x71,0x3f +# GFX10: s_lshl_b64 s[0:1], 0x3f717273, s4 ; encoding: [0xff,0x04,0x80,0x8f,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x8f,0x56,0x34,0x12,0xaf +# GFX10: s_lshl_b64 s[0:1], 0xaf123456, s4 ; encoding: [0xff,0x04,0x80,0x8f,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], exec, s4 ; encoding: [0x7e,0x04,0x80,0x8f] + +0x66,0x64,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[102:103], s100 ; encoding: [0x66,0x64,0x80,0x8f] + +0x66,0x04,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[102:103], s4 ; encoding: [0x66,0x04,0x80,0x8f] + +0x02,0xc1,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x8f] + +0x02,0xf7,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x8f] + +0x02,0x80,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x8f] + +0x02,0xf0,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x8f] + +0x02,0xff,0x80,0x8f,0x73,0x72,0x71,0x3f +# GFX10: s_lshl_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x8f,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x8f,0x56,0x34,0x12,0xaf +# GFX10: s_lshl_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x8f,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[2:3], exec_lo ; encoding: [0x02,0x7e,0x80,0x8f] + +0x02,0x64,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[2:3], s100 ; encoding: [0x02,0x64,0x80,0x8f] + +0x02,0x04,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[2:3], s4 ; encoding: [0x02,0x04,0x80,0x8f] + +0x02,0x6a,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], s[2:3], vcc_lo ; encoding: [0x02,0x6a,0x80,0x8f] + +0x6a,0x04,0x80,0x8f +# GFX10: s_lshl_b64 s[0:1], vcc, s4 ; encoding: [0x6a,0x04,0x80,0x8f] + +0x66,0x64,0xe8,0x8f +# GFX10: s_lshl_b64 s[104:105], s[102:103], s100 ; encoding: [0x66,0x64,0xe8,0x8f] + +0x66,0x04,0xe8,0x8f +# GFX10: s_lshl_b64 s[104:105], s[102:103], s4 ; encoding: [0x66,0x04,0xe8,0x8f] + +0x02,0x64,0xe8,0x8f +# GFX10: s_lshl_b64 s[104:105], s[2:3], s100 ; encoding: [0x02,0x64,0xe8,0x8f] + +0x02,0x04,0xe8,0x8f +# GFX10: s_lshl_b64 s[104:105], s[2:3], s4 ; encoding: [0x02,0x04,0xe8,0x8f] + +0x02,0x04,0xea,0x8f +# GFX10: s_lshl_b64 vcc, s[2:3], s4 ; encoding: [0x02,0x04,0xea,0x8f] + +0x01,0x02,0x7f,0x90 +# GFX10: s_lshr_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x90] + +0x01,0x02,0x7e,0x90 +# GFX10: s_lshr_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x90] + +0x01,0x02,0x7c,0x90 +# GFX10: s_lshr_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x90] + +0xc1,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x90] + +0xf7,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x90] + +0x80,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x90] + +0xf0,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x90] + +0xff,0x02,0x00,0x90,0x73,0x72,0x71,0x3f +# GFX10: s_lshr_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x90,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x90,0x56,0x34,0x12,0xaf +# GFX10: s_lshr_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x90,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x90] + +0x7e,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x90] + +0x7c,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x90] + +0x01,0xc1,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x90] + +0x01,0xf7,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x90] + +0x01,0x80,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x90] + +0x01,0xf0,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x90] + +0x01,0xff,0x00,0x90,0x73,0x72,0x71,0x3f +# GFX10: s_lshr_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x90,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x90,0x56,0x34,0x12,0xaf +# GFX10: s_lshr_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x90,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x90] + +0x01,0x7e,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x90] + +0x01,0x7c,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x90] + +0x01,0x67,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x90] + +0x01,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x90] + +0x01,0x6b,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x90] + +0x01,0x6a,0x00,0x90 +# GFX10: s_lshr_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x90] + +0x68,0x67,0x00,0x90 +# GFX10: s_lshr_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x90] + +0x68,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x90] + +0x6b,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x90] + +0x6a,0x02,0x00,0x90 +# GFX10: s_lshr_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x90] + +0x01,0x67,0x69,0x90 +# GFX10: s_lshr_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x90] + +0x01,0x02,0x69,0x90 +# GFX10: s_lshr_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x90] + +0x68,0x67,0x69,0x90 +# GFX10: s_lshr_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x90] + +0x68,0x02,0x69,0x90 +# GFX10: s_lshr_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x90] + +0x01,0x02,0x6b,0x90 +# GFX10: s_lshr_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x90] + +0x01,0x02,0x6a,0x90 +# GFX10: s_lshr_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x90] + +0x02,0x04,0xfe,0x90 +# GFX10: s_lshr_b64 exec, s[2:3], s4 ; encoding: [0x02,0x04,0xfe,0x90] + +0xc1,0x04,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], -1, s4 ; encoding: [0xc1,0x04,0x80,0x90] + +0xf7,0x04,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], -4.0, s4 ; encoding: [0xf7,0x04,0x80,0x90] + +0x80,0x04,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], 0, s4 ; encoding: [0x80,0x04,0x80,0x90] + +0xf0,0x04,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], 0.5, s4 ; encoding: [0xf0,0x04,0x80,0x90] + +0xff,0x04,0x80,0x90,0x73,0x72,0x71,0x3f +# GFX10: s_lshr_b64 s[0:1], 0x3f717273, s4 ; encoding: [0xff,0x04,0x80,0x90,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x90,0x56,0x34,0x12,0xaf +# GFX10: s_lshr_b64 s[0:1], 0xaf123456, s4 ; encoding: [0xff,0x04,0x80,0x90,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], exec, s4 ; encoding: [0x7e,0x04,0x80,0x90] + +0x66,0x64,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[102:103], s100 ; encoding: [0x66,0x64,0x80,0x90] + +0x66,0x04,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[102:103], s4 ; encoding: [0x66,0x04,0x80,0x90] + +0x02,0xc1,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x90] + +0x02,0xf7,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x90] + +0x02,0x80,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x90] + +0x02,0xf0,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x90] + +0x02,0xff,0x80,0x90,0x73,0x72,0x71,0x3f +# GFX10: s_lshr_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x90,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x90,0x56,0x34,0x12,0xaf +# GFX10: s_lshr_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x90,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[2:3], exec_lo ; encoding: [0x02,0x7e,0x80,0x90] + +0x02,0x64,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[2:3], s100 ; encoding: [0x02,0x64,0x80,0x90] + +0x02,0x04,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[2:3], s4 ; encoding: [0x02,0x04,0x80,0x90] + +0x02,0x6a,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], s[2:3], vcc_lo ; encoding: [0x02,0x6a,0x80,0x90] + +0x6a,0x04,0x80,0x90 +# GFX10: s_lshr_b64 s[0:1], vcc, s4 ; encoding: [0x6a,0x04,0x80,0x90] + +0x66,0x64,0xe8,0x90 +# GFX10: s_lshr_b64 s[104:105], s[102:103], s100 ; encoding: [0x66,0x64,0xe8,0x90] + +0x66,0x04,0xe8,0x90 +# GFX10: s_lshr_b64 s[104:105], s[102:103], s4 ; encoding: [0x66,0x04,0xe8,0x90] + +0x02,0x64,0xe8,0x90 +# GFX10: s_lshr_b64 s[104:105], s[2:3], s100 ; encoding: [0x02,0x64,0xe8,0x90] + +0x02,0x04,0xe8,0x90 +# GFX10: s_lshr_b64 s[104:105], s[2:3], s4 ; encoding: [0x02,0x04,0xe8,0x90] + +0x02,0x04,0xea,0x90 +# GFX10: s_lshr_b64 vcc, s[2:3], s4 ; encoding: [0x02,0x04,0xea,0x90] + +0x01,0x02,0x7f,0x84 +# GFX10: s_max_i32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x84] + +0x01,0x02,0x7e,0x84 +# GFX10: s_max_i32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x84] + +0x01,0x02,0x7c,0x84 +# GFX10: s_max_i32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x84] + +0xc1,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x84] + +0xf7,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x84] + +0x80,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x84] + +0xf0,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x84] + +0xff,0x02,0x00,0x84,0x73,0x72,0x71,0x3f +# GFX10: s_max_i32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x84,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x84,0x56,0x34,0x12,0xaf +# GFX10: s_max_i32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x84,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x84] + +0x7e,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x84] + +0x7c,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x84] + +0x01,0xc1,0x00,0x84 +# GFX10: s_max_i32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x84] + +0x01,0xf7,0x00,0x84 +# GFX10: s_max_i32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x84] + +0x01,0x80,0x00,0x84 +# GFX10: s_max_i32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x84] + +0x01,0xf0,0x00,0x84 +# GFX10: s_max_i32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x84] + +0x01,0xff,0x00,0x84,0x73,0x72,0x71,0x3f +# GFX10: s_max_i32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x84,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x84,0x56,0x34,0x12,0xaf +# GFX10: s_max_i32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x84,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x84 +# GFX10: s_max_i32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x84] + +0x01,0x7e,0x00,0x84 +# GFX10: s_max_i32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x84] + +0x01,0x7c,0x00,0x84 +# GFX10: s_max_i32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x84] + +0x01,0x67,0x00,0x84 +# GFX10: s_max_i32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x84] + +0x01,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x84] + +0x01,0x6b,0x00,0x84 +# GFX10: s_max_i32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x84] + +0x01,0x6a,0x00,0x84 +# GFX10: s_max_i32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x84] + +0x68,0x67,0x00,0x84 +# GFX10: s_max_i32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x84] + +0x68,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x84] + +0x6b,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x84] + +0x6a,0x02,0x00,0x84 +# GFX10: s_max_i32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x84] + +0x01,0x67,0x69,0x84 +# GFX10: s_max_i32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x84] + +0x01,0x02,0x69,0x84 +# GFX10: s_max_i32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x84] + +0x68,0x67,0x69,0x84 +# GFX10: s_max_i32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x84] + +0x68,0x02,0x69,0x84 +# GFX10: s_max_i32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x84] + +0x01,0x02,0x6b,0x84 +# GFX10: s_max_i32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x84] + +0x01,0x02,0x6a,0x84 +# GFX10: s_max_i32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x84] + +0x01,0x02,0xff,0x84 +# GFX10: s_max_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x84] + +0x01,0x02,0xfe,0x84 +# GFX10: s_max_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x84] + +0x01,0x02,0xfc,0x84 +# GFX10: s_max_u32 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x84] + +0xc1,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x84] + +0xf7,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x84] + +0x80,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x84] + +0xf0,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x84] + +0xff,0x02,0x80,0x84,0x73,0x72,0x71,0x3f +# GFX10: s_max_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x84,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x84,0x56,0x34,0x12,0xaf +# GFX10: s_max_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x84,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x84] + +0x7e,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x84] + +0x7c,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x84] + +0x01,0xc1,0x80,0x84 +# GFX10: s_max_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x84] + +0x01,0xf7,0x80,0x84 +# GFX10: s_max_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x84] + +0x01,0x80,0x80,0x84 +# GFX10: s_max_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x84] + +0x01,0xf0,0x80,0x84 +# GFX10: s_max_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x84] + +0x01,0xff,0x80,0x84,0x73,0x72,0x71,0x3f +# GFX10: s_max_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x84,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x84,0x56,0x34,0x12,0xaf +# GFX10: s_max_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x84,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x84 +# GFX10: s_max_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x84] + +0x01,0x7e,0x80,0x84 +# GFX10: s_max_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x84] + +0x01,0x7c,0x80,0x84 +# GFX10: s_max_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x84] + +0x01,0x67,0x80,0x84 +# GFX10: s_max_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x84] + +0x01,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x84] + +0x01,0x6b,0x80,0x84 +# GFX10: s_max_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x84] + +0x01,0x6a,0x80,0x84 +# GFX10: s_max_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x84] + +0x68,0x67,0x80,0x84 +# GFX10: s_max_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x84] + +0x68,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x84] + +0x6b,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x84] + +0x6a,0x02,0x80,0x84 +# GFX10: s_max_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x84] + +0x01,0x67,0xe9,0x84 +# GFX10: s_max_u32 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x84] + +0x01,0x02,0xe9,0x84 +# GFX10: s_max_u32 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x84] + +0x68,0x67,0xe9,0x84 +# GFX10: s_max_u32 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x84] + +0x68,0x02,0xe9,0x84 +# GFX10: s_max_u32 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x84] + +0x01,0x02,0xeb,0x84 +# GFX10: s_max_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x84] + +0x01,0x02,0xea,0x84 +# GFX10: s_max_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x84] + +0x01,0x02,0x7f,0x83 +# GFX10: s_min_i32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x83] + +0x01,0x02,0x7e,0x83 +# GFX10: s_min_i32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x83] + +0x01,0x02,0x7c,0x83 +# GFX10: s_min_i32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x83] + +0xc1,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x83] + +0xf7,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x83] + +0x80,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x83] + +0xf0,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x83] + +0xff,0x02,0x00,0x83,0x73,0x72,0x71,0x3f +# GFX10: s_min_i32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x83,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x83,0x56,0x34,0x12,0xaf +# GFX10: s_min_i32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x83,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x83] + +0x7e,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x83] + +0x7c,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x83] + +0x01,0xc1,0x00,0x83 +# GFX10: s_min_i32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x83] + +0x01,0xf7,0x00,0x83 +# GFX10: s_min_i32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x83] + +0x01,0x80,0x00,0x83 +# GFX10: s_min_i32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x83] + +0x01,0xf0,0x00,0x83 +# GFX10: s_min_i32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x83] + +0x01,0xff,0x00,0x83,0x73,0x72,0x71,0x3f +# GFX10: s_min_i32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x83,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x83,0x56,0x34,0x12,0xaf +# GFX10: s_min_i32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x83,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x83 +# GFX10: s_min_i32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x83] + +0x01,0x7e,0x00,0x83 +# GFX10: s_min_i32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x83] + +0x01,0x7c,0x00,0x83 +# GFX10: s_min_i32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x83] + +0x01,0x67,0x00,0x83 +# GFX10: s_min_i32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x83] + +0x01,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x83] + +0x01,0x6b,0x00,0x83 +# GFX10: s_min_i32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x83] + +0x01,0x6a,0x00,0x83 +# GFX10: s_min_i32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x83] + +0x68,0x67,0x00,0x83 +# GFX10: s_min_i32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x83] + +0x68,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x83] + +0x6b,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x83] + +0x6a,0x02,0x00,0x83 +# GFX10: s_min_i32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x83] + +0x01,0x67,0x69,0x83 +# GFX10: s_min_i32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x83] + +0x01,0x02,0x69,0x83 +# GFX10: s_min_i32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x83] + +0x68,0x67,0x69,0x83 +# GFX10: s_min_i32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x83] + +0x68,0x02,0x69,0x83 +# GFX10: s_min_i32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x83] + +0x01,0x02,0x6b,0x83 +# GFX10: s_min_i32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x83] + +0x01,0x02,0x6a,0x83 +# GFX10: s_min_i32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x83] + +0x01,0x02,0xff,0x83 +# GFX10: s_min_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x83] + +0x01,0x02,0xfe,0x83 +# GFX10: s_min_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x83] + +0x01,0x02,0xfc,0x83 +# GFX10: s_min_u32 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x83] + +0xc1,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x83] + +0xf7,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x83] + +0x80,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x83] + +0xf0,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x83] + +0xff,0x02,0x80,0x83,0x73,0x72,0x71,0x3f +# GFX10: s_min_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x83,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x83,0x56,0x34,0x12,0xaf +# GFX10: s_min_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x83,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x83] + +0x7e,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x83] + +0x7c,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x83] + +0x01,0xc1,0x80,0x83 +# GFX10: s_min_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x83] + +0x01,0xf7,0x80,0x83 +# GFX10: s_min_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x83] + +0x01,0x80,0x80,0x83 +# GFX10: s_min_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x83] + +0x01,0xf0,0x80,0x83 +# GFX10: s_min_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x83] + +0x01,0xff,0x80,0x83,0x73,0x72,0x71,0x3f +# GFX10: s_min_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x83,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x83,0x56,0x34,0x12,0xaf +# GFX10: s_min_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x83,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x83 +# GFX10: s_min_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x83] + +0x01,0x7e,0x80,0x83 +# GFX10: s_min_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x83] + +0x01,0x7c,0x80,0x83 +# GFX10: s_min_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x83] + +0x01,0x67,0x80,0x83 +# GFX10: s_min_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x83] + +0x01,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x83] + +0x01,0x6b,0x80,0x83 +# GFX10: s_min_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x83] + +0x01,0x6a,0x80,0x83 +# GFX10: s_min_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x83] + +0x68,0x67,0x80,0x83 +# GFX10: s_min_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x83] + +0x68,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x83] + +0x6b,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x83] + +0x6a,0x02,0x80,0x83 +# GFX10: s_min_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x83] + +0x01,0x67,0xe9,0x83 +# GFX10: s_min_u32 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x83] + +0x01,0x02,0xe9,0x83 +# GFX10: s_min_u32 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x83] + +0x68,0x67,0xe9,0x83 +# GFX10: s_min_u32 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x83] + +0x68,0x02,0xe9,0x83 +# GFX10: s_min_u32 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x83] + +0x01,0x02,0xeb,0x83 +# GFX10: s_min_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x83] + +0x01,0x02,0xea,0x83 +# GFX10: s_min_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x83] + +0x01,0x02,0x7f,0x9b +# GFX10: s_mul_hi_i32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x9b] + +0x01,0x02,0x7e,0x9b +# GFX10: s_mul_hi_i32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x9b] + +0x01,0x02,0x7c,0x9b +# GFX10: s_mul_hi_i32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x9b] + +0xc1,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x9b] + +0xf7,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x9b] + +0x80,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x9b] + +0xf0,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x9b] + +0xff,0x02,0x00,0x9b,0x73,0x72,0x71,0x3f +# GFX10: s_mul_hi_i32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x9b,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x9b,0x56,0x34,0x12,0xaf +# GFX10: s_mul_hi_i32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x9b,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x9b] + +0x7e,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x9b] + +0x7c,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x9b] + +0x01,0xc1,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x9b] + +0x01,0xf7,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x9b] + +0x01,0x80,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x9b] + +0x01,0xf0,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x9b] + +0x01,0xff,0x00,0x9b,0x73,0x72,0x71,0x3f +# GFX10: s_mul_hi_i32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x9b,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x9b,0x56,0x34,0x12,0xaf +# GFX10: s_mul_hi_i32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x9b,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x9b] + +0x01,0x7e,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x9b] + +0x01,0x7c,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x9b] + +0x01,0x67,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x9b] + +0x01,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x9b] + +0x01,0x6b,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x9b] + +0x01,0x6a,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x9b] + +0x68,0x67,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x9b] + +0x68,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x9b] + +0x6b,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x9b] + +0x6a,0x02,0x00,0x9b +# GFX10: s_mul_hi_i32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x9b] + +0x01,0x67,0x69,0x9b +# GFX10: s_mul_hi_i32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x9b] + +0x01,0x02,0x69,0x9b +# GFX10: s_mul_hi_i32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x9b] + +0x68,0x67,0x69,0x9b +# GFX10: s_mul_hi_i32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x9b] + +0x68,0x02,0x69,0x9b +# GFX10: s_mul_hi_i32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x9b] + +0x01,0x02,0x6b,0x9b +# GFX10: s_mul_hi_i32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x9b] + +0x01,0x02,0x6a,0x9b +# GFX10: s_mul_hi_i32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x9b] + +0x01,0x02,0xff,0x9a +# GFX10: s_mul_hi_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x9a] + +0x01,0x02,0xfe,0x9a +# GFX10: s_mul_hi_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x9a] + +0x01,0x02,0xfc,0x9a +# GFX10: s_mul_hi_u32 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x9a] + +0xc1,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x9a] + +0xf7,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x9a] + +0x80,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x9a] + +0xf0,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x9a] + +0xff,0x02,0x80,0x9a,0x73,0x72,0x71,0x3f +# GFX10: s_mul_hi_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x9a,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x9a,0x56,0x34,0x12,0xaf +# GFX10: s_mul_hi_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x9a,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x9a] + +0x7e,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x9a] + +0x7c,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x9a] + +0x01,0xc1,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x9a] + +0x01,0xf7,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x9a] + +0x01,0x80,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x9a] + +0x01,0xf0,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x9a] + +0x01,0xff,0x80,0x9a,0x73,0x72,0x71,0x3f +# GFX10: s_mul_hi_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x9a,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x9a,0x56,0x34,0x12,0xaf +# GFX10: s_mul_hi_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x9a,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x9a] + +0x01,0x7e,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x9a] + +0x01,0x7c,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x9a] + +0x01,0x67,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x9a] + +0x01,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x9a] + +0x01,0x6b,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x9a] + +0x01,0x6a,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x9a] + +0x68,0x67,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x9a] + +0x68,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x9a] + +0x6b,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x9a] + +0x6a,0x02,0x80,0x9a +# GFX10: s_mul_hi_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x9a] + +0x01,0x67,0xe9,0x9a +# GFX10: s_mul_hi_u32 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x9a] + +0x01,0x02,0xe9,0x9a +# GFX10: s_mul_hi_u32 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x9a] + +0x68,0x67,0xe9,0x9a +# GFX10: s_mul_hi_u32 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x9a] + +0x68,0x02,0xe9,0x9a +# GFX10: s_mul_hi_u32 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x9a] + +0x01,0x02,0xeb,0x9a +# GFX10: s_mul_hi_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x9a] + +0x01,0x02,0xea,0x9a +# GFX10: s_mul_hi_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x9a] + +0x01,0x02,0x7f,0x93 +# GFX10: s_mul_i32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x93] + +0x01,0x02,0x7e,0x93 +# GFX10: s_mul_i32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x93] + +0x01,0x02,0x7c,0x93 +# GFX10: s_mul_i32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x93] + +0xc1,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x93] + +0xf7,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x93] + +0x80,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x93] + +0xf0,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x93] + +0xff,0x02,0x00,0x93,0x73,0x72,0x71,0x3f +# GFX10: s_mul_i32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x93,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x93,0x56,0x34,0x12,0xaf +# GFX10: s_mul_i32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x93,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x93] + +0x7e,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x93] + +0x7c,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x93] + +0x01,0xc1,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x93] + +0x01,0xf7,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x93] + +0x01,0x80,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x93] + +0x01,0xf0,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x93] + +0x01,0xff,0x00,0x93,0x73,0x72,0x71,0x3f +# GFX10: s_mul_i32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x93,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x93,0x56,0x34,0x12,0xaf +# GFX10: s_mul_i32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x93,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x93] + +0x01,0x7e,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x93] + +0x01,0x7c,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x93] + +0x01,0x67,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x93] + +0x01,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x93] + +0x01,0x6b,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x93] + +0x01,0x6a,0x00,0x93 +# GFX10: s_mul_i32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x93] + +0x68,0x67,0x00,0x93 +# GFX10: s_mul_i32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x93] + +0x68,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x93] + +0x6b,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x93] + +0x6a,0x02,0x00,0x93 +# GFX10: s_mul_i32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x93] + +0x01,0x67,0x69,0x93 +# GFX10: s_mul_i32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x93] + +0x01,0x02,0x69,0x93 +# GFX10: s_mul_i32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x93] + +0x68,0x67,0x69,0x93 +# GFX10: s_mul_i32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x93] + +0x68,0x02,0x69,0x93 +# GFX10: s_mul_i32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x93] + +0x01,0x02,0x6b,0x93 +# GFX10: s_mul_i32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x93] + +0x01,0x02,0x6a,0x93 +# GFX10: s_mul_i32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x93] + +0x01,0x02,0x7f,0x8c +# GFX10: s_nand_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x8c] + +0x01,0x02,0x7e,0x8c +# GFX10: s_nand_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x8c] + +0x01,0x02,0x7c,0x8c +# GFX10: s_nand_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x8c] + +0xc1,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x8c] + +0xf7,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x8c] + +0x80,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x8c] + +0xf0,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x8c] + +0xff,0x02,0x00,0x8c,0x73,0x72,0x71,0x3f +# GFX10: s_nand_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x8c,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x8c,0x56,0x34,0x12,0xaf +# GFX10: s_nand_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x8c,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x8c] + +0x7e,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x8c] + +0x7c,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x8c] + +0x01,0xc1,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x8c] + +0x01,0xf7,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x8c] + +0x01,0x80,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x8c] + +0x01,0xf0,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x8c] + +0x01,0xff,0x00,0x8c,0x73,0x72,0x71,0x3f +# GFX10: s_nand_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x8c,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x8c,0x56,0x34,0x12,0xaf +# GFX10: s_nand_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x8c,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x8c] + +0x01,0x7e,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x8c] + +0x01,0x7c,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x8c] + +0x01,0x67,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x8c] + +0x01,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x8c] + +0x01,0x6b,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x8c] + +0x01,0x6a,0x00,0x8c +# GFX10: s_nand_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x8c] + +0x68,0x67,0x00,0x8c +# GFX10: s_nand_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x8c] + +0x68,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x8c] + +0x6b,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x8c] + +0x6a,0x02,0x00,0x8c +# GFX10: s_nand_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x8c] + +0x01,0x67,0x69,0x8c +# GFX10: s_nand_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x8c] + +0x01,0x02,0x69,0x8c +# GFX10: s_nand_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x8c] + +0x68,0x67,0x69,0x8c +# GFX10: s_nand_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x8c] + +0x68,0x02,0x69,0x8c +# GFX10: s_nand_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x8c] + +0x01,0x02,0x6b,0x8c +# GFX10: s_nand_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x8c] + +0x01,0x02,0x6a,0x8c +# GFX10: s_nand_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x8c] + +0x02,0x04,0xfe,0x8c +# GFX10: s_nand_b64 exec, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfe,0x8c] + +0xc1,0x04,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], -1, s[4:5] ; encoding: [0xc1,0x04,0x80,0x8c] + +0xf7,0x04,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], -4.0, s[4:5] ; encoding: [0xf7,0x04,0x80,0x8c] + +0x80,0x04,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], 0, s[4:5] ; encoding: [0x80,0x04,0x80,0x8c] + +0xf0,0x04,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], 0.5, s[4:5] ; encoding: [0xf0,0x04,0x80,0x8c] + +0xff,0x04,0x80,0x8c,0x73,0x72,0x71,0x3f +# GFX10: s_nand_b64 s[0:1], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x80,0x8c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x8c,0x56,0x34,0x12,0xaf +# GFX10: s_nand_b64 s[0:1], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x80,0x8c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], exec, s[4:5] ; encoding: [0x7e,0x04,0x80,0x8c] + +0x66,0x64,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[102:103], s[100:101] ; encoding: [0x66,0x64,0x80,0x8c] + +0x66,0x04,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[102:103], s[4:5] ; encoding: [0x66,0x04,0x80,0x8c] + +0x02,0xc1,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x8c] + +0x02,0xf7,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x8c] + +0x02,0x80,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x8c] + +0x02,0xf0,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x8c] + +0x02,0xff,0x80,0x8c,0x73,0x72,0x71,0x3f +# GFX10: s_nand_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x8c,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x8c,0x56,0x34,0x12,0xaf +# GFX10: s_nand_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x8c,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[2:3], exec ; encoding: [0x02,0x7e,0x80,0x8c] + +0x02,0x64,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x80,0x8c] + +0x02,0x04,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[2:3], s[4:5] ; encoding: [0x02,0x04,0x80,0x8c] + +0x02,0x6a,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], s[2:3], vcc ; encoding: [0x02,0x6a,0x80,0x8c] + +0x6a,0x04,0x80,0x8c +# GFX10: s_nand_b64 s[0:1], vcc, s[4:5] ; encoding: [0x6a,0x04,0x80,0x8c] + +0x66,0x64,0xe8,0x8c +# GFX10: s_nand_b64 s[104:105], s[102:103], s[100:101] ; encoding: [0x66,0x64,0xe8,0x8c] + +0x66,0x04,0xe8,0x8c +# GFX10: s_nand_b64 s[104:105], s[102:103], s[4:5] ; encoding: [0x66,0x04,0xe8,0x8c] + +0x02,0x64,0xe8,0x8c +# GFX10: s_nand_b64 s[104:105], s[2:3], s[100:101] ; encoding: [0x02,0x64,0xe8,0x8c] + +0x02,0x04,0xe8,0x8c +# GFX10: s_nand_b64 s[104:105], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe8,0x8c] + +0x02,0x04,0xea,0x8c +# GFX10: s_nand_b64 vcc, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xea,0x8c] + +0x01,0x02,0x7f,0x8d +# GFX10: s_nor_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x8d] + +0x01,0x02,0x7e,0x8d +# GFX10: s_nor_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x8d] + +0x01,0x02,0x7c,0x8d +# GFX10: s_nor_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x8d] + +0xc1,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x8d] + +0xf7,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x8d] + +0x80,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x8d] + +0xf0,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x8d] + +0xff,0x02,0x00,0x8d,0x73,0x72,0x71,0x3f +# GFX10: s_nor_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x8d,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x8d,0x56,0x34,0x12,0xaf +# GFX10: s_nor_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x8d,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x8d] + +0x7e,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x8d] + +0x7c,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x8d] + +0x01,0xc1,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x8d] + +0x01,0xf7,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x8d] + +0x01,0x80,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x8d] + +0x01,0xf0,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x8d] + +0x01,0xff,0x00,0x8d,0x73,0x72,0x71,0x3f +# GFX10: s_nor_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x8d,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x8d,0x56,0x34,0x12,0xaf +# GFX10: s_nor_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x8d,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x8d] + +0x01,0x7e,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x8d] + +0x01,0x7c,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x8d] + +0x01,0x67,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x8d] + +0x01,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x8d] + +0x01,0x6b,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x8d] + +0x01,0x6a,0x00,0x8d +# GFX10: s_nor_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x8d] + +0x68,0x67,0x00,0x8d +# GFX10: s_nor_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x8d] + +0x68,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x8d] + +0x6b,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x8d] + +0x6a,0x02,0x00,0x8d +# GFX10: s_nor_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x8d] + +0x01,0x67,0x69,0x8d +# GFX10: s_nor_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x8d] + +0x01,0x02,0x69,0x8d +# GFX10: s_nor_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x8d] + +0x68,0x67,0x69,0x8d +# GFX10: s_nor_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x8d] + +0x68,0x02,0x69,0x8d +# GFX10: s_nor_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x8d] + +0x01,0x02,0x6b,0x8d +# GFX10: s_nor_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x8d] + +0x01,0x02,0x6a,0x8d +# GFX10: s_nor_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x8d] + +0x02,0x04,0xfe,0x8d +# GFX10: s_nor_b64 exec, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfe,0x8d] + +0xc1,0x04,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], -1, s[4:5] ; encoding: [0xc1,0x04,0x80,0x8d] + +0xf7,0x04,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], -4.0, s[4:5] ; encoding: [0xf7,0x04,0x80,0x8d] + +0x80,0x04,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], 0, s[4:5] ; encoding: [0x80,0x04,0x80,0x8d] + +0xf0,0x04,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], 0.5, s[4:5] ; encoding: [0xf0,0x04,0x80,0x8d] + +0xff,0x04,0x80,0x8d,0x73,0x72,0x71,0x3f +# GFX10: s_nor_b64 s[0:1], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x80,0x8d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x8d,0x56,0x34,0x12,0xaf +# GFX10: s_nor_b64 s[0:1], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x80,0x8d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], exec, s[4:5] ; encoding: [0x7e,0x04,0x80,0x8d] + +0x66,0x64,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[102:103], s[100:101] ; encoding: [0x66,0x64,0x80,0x8d] + +0x66,0x04,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[102:103], s[4:5] ; encoding: [0x66,0x04,0x80,0x8d] + +0x02,0xc1,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x8d] + +0x02,0xf7,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x8d] + +0x02,0x80,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x8d] + +0x02,0xf0,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x8d] + +0x02,0xff,0x80,0x8d,0x73,0x72,0x71,0x3f +# GFX10: s_nor_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x8d,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x8d,0x56,0x34,0x12,0xaf +# GFX10: s_nor_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x8d,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[2:3], exec ; encoding: [0x02,0x7e,0x80,0x8d] + +0x02,0x64,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x80,0x8d] + +0x02,0x04,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[2:3], s[4:5] ; encoding: [0x02,0x04,0x80,0x8d] + +0x02,0x6a,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], s[2:3], vcc ; encoding: [0x02,0x6a,0x80,0x8d] + +0x6a,0x04,0x80,0x8d +# GFX10: s_nor_b64 s[0:1], vcc, s[4:5] ; encoding: [0x6a,0x04,0x80,0x8d] + +0x66,0x64,0xe8,0x8d +# GFX10: s_nor_b64 s[104:105], s[102:103], s[100:101] ; encoding: [0x66,0x64,0xe8,0x8d] + +0x66,0x04,0xe8,0x8d +# GFX10: s_nor_b64 s[104:105], s[102:103], s[4:5] ; encoding: [0x66,0x04,0xe8,0x8d] + +0x02,0x64,0xe8,0x8d +# GFX10: s_nor_b64 s[104:105], s[2:3], s[100:101] ; encoding: [0x02,0x64,0xe8,0x8d] + +0x02,0x04,0xe8,0x8d +# GFX10: s_nor_b64 s[104:105], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe8,0x8d] + +0x02,0x04,0xea,0x8d +# GFX10: s_nor_b64 vcc, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xea,0x8d] + +0x01,0x02,0x7f,0x88 +# GFX10: s_or_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x88] + +0x01,0x02,0x7e,0x88 +# GFX10: s_or_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x88] + +0x01,0x02,0x7c,0x88 +# GFX10: s_or_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x88] + +0xc1,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x88] + +0xf7,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x88] + +0x80,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x88] + +0xf0,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x88] + +0xff,0x02,0x00,0x88,0x73,0x72,0x71,0x3f +# GFX10: s_or_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x88,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x88,0x56,0x34,0x12,0xaf +# GFX10: s_or_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x88,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x88] + +0x7e,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x88] + +0x7c,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x88] + +0x01,0xc1,0x00,0x88 +# GFX10: s_or_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x88] + +0x01,0xf7,0x00,0x88 +# GFX10: s_or_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x88] + +0x01,0x80,0x00,0x88 +# GFX10: s_or_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x88] + +0x01,0xf0,0x00,0x88 +# GFX10: s_or_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x88] + +0x01,0xff,0x00,0x88,0x73,0x72,0x71,0x3f +# GFX10: s_or_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x88,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x88,0x56,0x34,0x12,0xaf +# GFX10: s_or_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x88,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x88 +# GFX10: s_or_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x88] + +0x01,0x7e,0x00,0x88 +# GFX10: s_or_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x88] + +0x01,0x7c,0x00,0x88 +# GFX10: s_or_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x88] + +0x01,0x67,0x00,0x88 +# GFX10: s_or_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x88] + +0x01,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x88] + +0x01,0x6b,0x00,0x88 +# GFX10: s_or_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x88] + +0x01,0x6a,0x00,0x88 +# GFX10: s_or_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x88] + +0x68,0x67,0x00,0x88 +# GFX10: s_or_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x88] + +0x68,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x88] + +0x6b,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x88] + +0x6a,0x02,0x00,0x88 +# GFX10: s_or_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x88] + +0x01,0x67,0x69,0x88 +# GFX10: s_or_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x88] + +0x01,0x02,0x69,0x88 +# GFX10: s_or_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x88] + +0x68,0x67,0x69,0x88 +# GFX10: s_or_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x88] + +0x68,0x02,0x69,0x88 +# GFX10: s_or_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x88] + +0x01,0x02,0x6b,0x88 +# GFX10: s_or_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x88] + +0x01,0x02,0x6a,0x88 +# GFX10: s_or_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x88] + +0x02,0x04,0xfe,0x88 +# GFX10: s_or_b64 exec, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfe,0x88] + +0xc1,0x04,0x80,0x88 +# GFX10: s_or_b64 s[0:1], -1, s[4:5] ; encoding: [0xc1,0x04,0x80,0x88] + +0xf7,0x04,0x80,0x88 +# GFX10: s_or_b64 s[0:1], -4.0, s[4:5] ; encoding: [0xf7,0x04,0x80,0x88] + +0x80,0x04,0x80,0x88 +# GFX10: s_or_b64 s[0:1], 0, s[4:5] ; encoding: [0x80,0x04,0x80,0x88] + +0xf0,0x04,0x80,0x88 +# GFX10: s_or_b64 s[0:1], 0.5, s[4:5] ; encoding: [0xf0,0x04,0x80,0x88] + +0xff,0x04,0x80,0x88,0x73,0x72,0x71,0x3f +# GFX10: s_or_b64 s[0:1], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x80,0x88,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x88,0x56,0x34,0x12,0xaf +# GFX10: s_or_b64 s[0:1], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x80,0x88,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x88 +# GFX10: s_or_b64 s[0:1], exec, s[4:5] ; encoding: [0x7e,0x04,0x80,0x88] + +0x66,0x64,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[102:103], s[100:101] ; encoding: [0x66,0x64,0x80,0x88] + +0x66,0x04,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[102:103], s[4:5] ; encoding: [0x66,0x04,0x80,0x88] + +0x02,0xc1,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x88] + +0x02,0xf7,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x88] + +0x02,0x80,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x88] + +0x02,0xf0,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x88] + +0x02,0xff,0x80,0x88,0x73,0x72,0x71,0x3f +# GFX10: s_or_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x88,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x88,0x56,0x34,0x12,0xaf +# GFX10: s_or_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x88,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[2:3], exec ; encoding: [0x02,0x7e,0x80,0x88] + +0x02,0x64,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x80,0x88] + +0x02,0x04,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[2:3], s[4:5] ; encoding: [0x02,0x04,0x80,0x88] + +0x02,0x6a,0x80,0x88 +# GFX10: s_or_b64 s[0:1], s[2:3], vcc ; encoding: [0x02,0x6a,0x80,0x88] + +0x6a,0x04,0x80,0x88 +# GFX10: s_or_b64 s[0:1], vcc, s[4:5] ; encoding: [0x6a,0x04,0x80,0x88] + +0x66,0x64,0xe8,0x88 +# GFX10: s_or_b64 s[104:105], s[102:103], s[100:101] ; encoding: [0x66,0x64,0xe8,0x88] + +0x66,0x04,0xe8,0x88 +# GFX10: s_or_b64 s[104:105], s[102:103], s[4:5] ; encoding: [0x66,0x04,0xe8,0x88] + +0x02,0x64,0xe8,0x88 +# GFX10: s_or_b64 s[104:105], s[2:3], s[100:101] ; encoding: [0x02,0x64,0xe8,0x88] + +0x02,0x04,0xe8,0x88 +# GFX10: s_or_b64 s[104:105], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe8,0x88] + +0x02,0x04,0xea,0x88 +# GFX10: s_or_b64 vcc, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xea,0x88] + +0x01,0x02,0x7f,0x8b +# GFX10: s_orn2_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x8b] + +0x01,0x02,0x7e,0x8b +# GFX10: s_orn2_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x8b] + +0x01,0x02,0x7c,0x8b +# GFX10: s_orn2_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x8b] + +0xc1,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x8b] + +0xf7,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x8b] + +0x80,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x8b] + +0xf0,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x8b] + +0xff,0x02,0x00,0x8b,0x73,0x72,0x71,0x3f +# GFX10: s_orn2_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x8b,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x8b,0x56,0x34,0x12,0xaf +# GFX10: s_orn2_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x8b,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x8b] + +0x7e,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x8b] + +0x7c,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x8b] + +0x01,0xc1,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x8b] + +0x01,0xf7,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x8b] + +0x01,0x80,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x8b] + +0x01,0xf0,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x8b] + +0x01,0xff,0x00,0x8b,0x73,0x72,0x71,0x3f +# GFX10: s_orn2_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x8b,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x8b,0x56,0x34,0x12,0xaf +# GFX10: s_orn2_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x8b,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x8b] + +0x01,0x7e,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x8b] + +0x01,0x7c,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x8b] + +0x01,0x67,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x8b] + +0x01,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x8b] + +0x01,0x6b,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x8b] + +0x01,0x6a,0x00,0x8b +# GFX10: s_orn2_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x8b] + +0x68,0x67,0x00,0x8b +# GFX10: s_orn2_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x8b] + +0x68,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x8b] + +0x6b,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x8b] + +0x6a,0x02,0x00,0x8b +# GFX10: s_orn2_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x8b] + +0x01,0x67,0x69,0x8b +# GFX10: s_orn2_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x8b] + +0x01,0x02,0x69,0x8b +# GFX10: s_orn2_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x8b] + +0x68,0x67,0x69,0x8b +# GFX10: s_orn2_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x8b] + +0x68,0x02,0x69,0x8b +# GFX10: s_orn2_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x8b] + +0x01,0x02,0x6b,0x8b +# GFX10: s_orn2_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x8b] + +0x01,0x02,0x6a,0x8b +# GFX10: s_orn2_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x8b] + +0x02,0x04,0xfe,0x8b +# GFX10: s_orn2_b64 exec, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfe,0x8b] + +0xc1,0x04,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], -1, s[4:5] ; encoding: [0xc1,0x04,0x80,0x8b] + +0xf7,0x04,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], -4.0, s[4:5] ; encoding: [0xf7,0x04,0x80,0x8b] + +0x80,0x04,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], 0, s[4:5] ; encoding: [0x80,0x04,0x80,0x8b] + +0xf0,0x04,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], 0.5, s[4:5] ; encoding: [0xf0,0x04,0x80,0x8b] + +0xff,0x04,0x80,0x8b,0x73,0x72,0x71,0x3f +# GFX10: s_orn2_b64 s[0:1], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x80,0x8b,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x8b,0x56,0x34,0x12,0xaf +# GFX10: s_orn2_b64 s[0:1], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x80,0x8b,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], exec, s[4:5] ; encoding: [0x7e,0x04,0x80,0x8b] + +0x66,0x64,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[102:103], s[100:101] ; encoding: [0x66,0x64,0x80,0x8b] + +0x66,0x04,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[102:103], s[4:5] ; encoding: [0x66,0x04,0x80,0x8b] + +0x02,0xc1,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x8b] + +0x02,0xf7,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x8b] + +0x02,0x80,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x8b] + +0x02,0xf0,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x8b] + +0x02,0xff,0x80,0x8b,0x73,0x72,0x71,0x3f +# GFX10: s_orn2_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x8b,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x8b,0x56,0x34,0x12,0xaf +# GFX10: s_orn2_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x8b,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[2:3], exec ; encoding: [0x02,0x7e,0x80,0x8b] + +0x02,0x64,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x80,0x8b] + +0x02,0x04,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[2:3], s[4:5] ; encoding: [0x02,0x04,0x80,0x8b] + +0x02,0x6a,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], s[2:3], vcc ; encoding: [0x02,0x6a,0x80,0x8b] + +0x6a,0x04,0x80,0x8b +# GFX10: s_orn2_b64 s[0:1], vcc, s[4:5] ; encoding: [0x6a,0x04,0x80,0x8b] + +0x66,0x64,0xe8,0x8b +# GFX10: s_orn2_b64 s[104:105], s[102:103], s[100:101] ; encoding: [0x66,0x64,0xe8,0x8b] + +0x66,0x04,0xe8,0x8b +# GFX10: s_orn2_b64 s[104:105], s[102:103], s[4:5] ; encoding: [0x66,0x04,0xe8,0x8b] + +0x02,0x64,0xe8,0x8b +# GFX10: s_orn2_b64 s[104:105], s[2:3], s[100:101] ; encoding: [0x02,0x64,0xe8,0x8b] + +0x02,0x04,0xe8,0x8b +# GFX10: s_orn2_b64 s[104:105], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe8,0x8b] + +0x02,0x04,0xea,0x8b +# GFX10: s_orn2_b64 vcc, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xea,0x8b] + +0x01,0x02,0x7f,0x9a +# GFX10: s_pack_hh_b32_b16 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x9a] + +0x01,0x02,0x7e,0x9a +# GFX10: s_pack_hh_b32_b16 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x9a] + +0x01,0x02,0x7c,0x9a +# GFX10: s_pack_hh_b32_b16 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x9a] + +0xc1,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x9a] + +0xf7,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x9a] + +0x80,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x9a] + +0xf0,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x9a] + +0xff,0x02,0x00,0x9a,0x73,0x72,0x71,0x3f +# GFX10: s_pack_hh_b32_b16 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x9a,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x9a,0x56,0x34,0x12,0xaf +# GFX10: s_pack_hh_b32_b16 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x9a,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x9a] + +0x7e,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x9a] + +0x7c,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x9a] + +0x01,0xc1,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x9a] + +0x01,0xf7,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x9a] + +0x01,0x80,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x9a] + +0x01,0xf0,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x9a] + +0x01,0xff,0x00,0x9a,0x73,0x72,0x71,0x3f +# GFX10: s_pack_hh_b32_b16 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x9a,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x9a,0x56,0x34,0x12,0xaf +# GFX10: s_pack_hh_b32_b16 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x9a,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x9a] + +0x01,0x7e,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x9a] + +0x01,0x7c,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x9a] + +0x01,0x67,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x9a] + +0x01,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x9a] + +0x01,0x6b,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x9a] + +0x01,0x6a,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x9a] + +0x68,0x67,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x9a] + +0x68,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x9a] + +0x6b,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x9a] + +0x6a,0x02,0x00,0x9a +# GFX10: s_pack_hh_b32_b16 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x9a] + +0x01,0x67,0x69,0x9a +# GFX10: s_pack_hh_b32_b16 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x9a] + +0x01,0x02,0x69,0x9a +# GFX10: s_pack_hh_b32_b16 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x9a] + +0x68,0x67,0x69,0x9a +# GFX10: s_pack_hh_b32_b16 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x9a] + +0x68,0x02,0x69,0x9a +# GFX10: s_pack_hh_b32_b16 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x9a] + +0x01,0x02,0x6b,0x9a +# GFX10: s_pack_hh_b32_b16 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x9a] + +0x01,0x02,0x6a,0x9a +# GFX10: s_pack_hh_b32_b16 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x9a] + +0x01,0x02,0xff,0x99 +# GFX10: s_pack_lh_b32_b16 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x99] + +0x01,0x02,0xfe,0x99 +# GFX10: s_pack_lh_b32_b16 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x99] + +0x01,0x02,0xfc,0x99 +# GFX10: s_pack_lh_b32_b16 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x99] + +0xc1,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x99] + +0xf7,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x99] + +0x80,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x99] + +0xf0,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x99] + +0xff,0x02,0x80,0x99,0x73,0x72,0x71,0x3f +# GFX10: s_pack_lh_b32_b16 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x99,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x99,0x56,0x34,0x12,0xaf +# GFX10: s_pack_lh_b32_b16 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x99,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x99] + +0x7e,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x99] + +0x7c,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x99] + +0x01,0xc1,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x99] + +0x01,0xf7,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x99] + +0x01,0x80,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x99] + +0x01,0xf0,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x99] + +0x01,0xff,0x80,0x99,0x73,0x72,0x71,0x3f +# GFX10: s_pack_lh_b32_b16 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x99,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x99,0x56,0x34,0x12,0xaf +# GFX10: s_pack_lh_b32_b16 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x99,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x99] + +0x01,0x7e,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x99] + +0x01,0x7c,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x99] + +0x01,0x67,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x99] + +0x01,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x99] + +0x01,0x6b,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x99] + +0x01,0x6a,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x99] + +0x68,0x67,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x99] + +0x68,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x99] + +0x6b,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x99] + +0x6a,0x02,0x80,0x99 +# GFX10: s_pack_lh_b32_b16 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x99] + +0x01,0x67,0xe9,0x99 +# GFX10: s_pack_lh_b32_b16 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x99] + +0x01,0x02,0xe9,0x99 +# GFX10: s_pack_lh_b32_b16 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x99] + +0x68,0x67,0xe9,0x99 +# GFX10: s_pack_lh_b32_b16 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x99] + +0x68,0x02,0xe9,0x99 +# GFX10: s_pack_lh_b32_b16 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x99] + +0x01,0x02,0xeb,0x99 +# GFX10: s_pack_lh_b32_b16 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x99] + +0x01,0x02,0xea,0x99 +# GFX10: s_pack_lh_b32_b16 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x99] + +0x01,0x02,0x7f,0x99 +# GFX10: s_pack_ll_b32_b16 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x99] + +0x01,0x02,0x7e,0x99 +# GFX10: s_pack_ll_b32_b16 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x99] + +0x01,0x02,0x7c,0x99 +# GFX10: s_pack_ll_b32_b16 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x99] + +0xc1,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x99] + +0xf7,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x99] + +0x80,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x99] + +0xf0,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x99] + +0xff,0x02,0x00,0x99,0x73,0x72,0x71,0x3f +# GFX10: s_pack_ll_b32_b16 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x99,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x99,0x56,0x34,0x12,0xaf +# GFX10: s_pack_ll_b32_b16 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x99,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x99] + +0x7e,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x99] + +0x7c,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x99] + +0x01,0xc1,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x99] + +0x01,0xf7,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x99] + +0x01,0x80,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x99] + +0x01,0xf0,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x99] + +0x01,0xff,0x00,0x99,0x73,0x72,0x71,0x3f +# GFX10: s_pack_ll_b32_b16 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x99,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x99,0x56,0x34,0x12,0xaf +# GFX10: s_pack_ll_b32_b16 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x99,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x99] + +0x01,0x7e,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x99] + +0x01,0x7c,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x99] + +0x01,0x67,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x99] + +0x01,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x99] + +0x01,0x6b,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x99] + +0x01,0x6a,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x99] + +0x68,0x67,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x99] + +0x68,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x99] + +0x6b,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x99] + +0x6a,0x02,0x00,0x99 +# GFX10: s_pack_ll_b32_b16 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x99] + +0x01,0x67,0x69,0x99 +# GFX10: s_pack_ll_b32_b16 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x99] + +0x01,0x02,0x69,0x99 +# GFX10: s_pack_ll_b32_b16 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x99] + +0x68,0x67,0x69,0x99 +# GFX10: s_pack_ll_b32_b16 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x99] + +0x68,0x02,0x69,0x99 +# GFX10: s_pack_ll_b32_b16 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x99] + +0x01,0x02,0x6b,0x99 +# GFX10: s_pack_ll_b32_b16 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x99] + +0x01,0x02,0x6a,0x99 +# GFX10: s_pack_ll_b32_b16 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x99] + +0x01,0x02,0xff,0x81 +# GFX10: s_sub_i32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x81] + +0x01,0x02,0xfe,0x81 +# GFX10: s_sub_i32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x81] + +0x01,0x02,0xfc,0x81 +# GFX10: s_sub_i32 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x81] + +0xc1,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x81] + +0xf7,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x81] + +0x80,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x81] + +0xf0,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x81] + +0xff,0x02,0x80,0x81,0x73,0x72,0x71,0x3f +# GFX10: s_sub_i32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x81,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x81,0x56,0x34,0x12,0xaf +# GFX10: s_sub_i32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x81,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x81] + +0x7e,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x81] + +0x7c,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x81] + +0x01,0xc1,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x81] + +0x01,0xf7,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x81] + +0x01,0x80,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x81] + +0x01,0xf0,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x81] + +0x01,0xff,0x80,0x81,0x73,0x72,0x71,0x3f +# GFX10: s_sub_i32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x81,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x81,0x56,0x34,0x12,0xaf +# GFX10: s_sub_i32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x81,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x81] + +0x01,0x7e,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x81] + +0x01,0x7c,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x81] + +0x01,0x67,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x81] + +0x01,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x81] + +0x01,0x6b,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x81] + +0x01,0x6a,0x80,0x81 +# GFX10: s_sub_i32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x81] + +0x68,0x67,0x80,0x81 +# GFX10: s_sub_i32 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x81] + +0x68,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x81] + +0x6b,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x81] + +0x6a,0x02,0x80,0x81 +# GFX10: s_sub_i32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x81] + +0x01,0x67,0xe9,0x81 +# GFX10: s_sub_i32 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x81] + +0x01,0x02,0xe9,0x81 +# GFX10: s_sub_i32 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x81] + +0x68,0x67,0xe9,0x81 +# GFX10: s_sub_i32 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x81] + +0x68,0x02,0xe9,0x81 +# GFX10: s_sub_i32 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x81] + +0x01,0x02,0xeb,0x81 +# GFX10: s_sub_i32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x81] + +0x01,0x02,0xea,0x81 +# GFX10: s_sub_i32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x81] + +0x01,0x02,0xff,0x80 +# GFX10: s_sub_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x80] + +0x01,0x02,0xfe,0x80 +# GFX10: s_sub_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x80] + +0x01,0x02,0xfc,0x80 +# GFX10: s_sub_u32 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x80] + +0xc1,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x80] + +0xf7,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x80] + +0x80,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x80] + +0xf0,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x80] + +0xff,0x02,0x80,0x80,0x73,0x72,0x71,0x3f +# GFX10: s_sub_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x80,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x80,0x56,0x34,0x12,0xaf +# GFX10: s_sub_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x80,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x80] + +0x7e,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x80] + +0x7c,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x80] + +0x01,0xc1,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x80] + +0x01,0xf7,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x80] + +0x01,0x80,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x80] + +0x01,0xf0,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x80] + +0x01,0xff,0x80,0x80,0x73,0x72,0x71,0x3f +# GFX10: s_sub_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x80,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x80,0x56,0x34,0x12,0xaf +# GFX10: s_sub_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x80,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x80] + +0x01,0x7e,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x80] + +0x01,0x7c,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x80] + +0x01,0x67,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x80] + +0x01,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x80] + +0x01,0x6b,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x80] + +0x01,0x6a,0x80,0x80 +# GFX10: s_sub_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x80] + +0x68,0x67,0x80,0x80 +# GFX10: s_sub_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x80] + +0x68,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x80] + +0x6b,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x80] + +0x6a,0x02,0x80,0x80 +# GFX10: s_sub_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x80] + +0x01,0x67,0xe9,0x80 +# GFX10: s_sub_u32 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x80] + +0x01,0x02,0xe9,0x80 +# GFX10: s_sub_u32 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x80] + +0x68,0x67,0xe9,0x80 +# GFX10: s_sub_u32 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x80] + +0x68,0x02,0xe9,0x80 +# GFX10: s_sub_u32 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x80] + +0x01,0x02,0xeb,0x80 +# GFX10: s_sub_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x80] + +0x01,0x02,0xea,0x80 +# GFX10: s_sub_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x80] + +0x01,0x02,0xff,0x82 +# GFX10: s_subb_u32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0xff,0x82] + +0x01,0x02,0xfe,0x82 +# GFX10: s_subb_u32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0xfe,0x82] + +0x01,0x02,0xfc,0x82 +# GFX10: s_subb_u32 m0, s1, s2 ; encoding: [0x01,0x02,0xfc,0x82] + +0xc1,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, -1, s2 ; encoding: [0xc1,0x02,0x80,0x82] + +0xf7,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x80,0x82] + +0x80,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, 0, s2 ; encoding: [0x80,0x02,0x80,0x82] + +0xf0,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x80,0x82] + +0xff,0x02,0x80,0x82,0x73,0x72,0x71,0x3f +# GFX10: s_subb_u32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x80,0x82,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x80,0x82,0x56,0x34,0x12,0xaf +# GFX10: s_subb_u32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x80,0x82,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x80,0x82] + +0x7e,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x80,0x82] + +0x7c,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, m0, s2 ; encoding: [0x7c,0x02,0x80,0x82] + +0x01,0xc1,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, -1 ; encoding: [0x01,0xc1,0x80,0x82] + +0x01,0xf7,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x80,0x82] + +0x01,0x80,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, 0 ; encoding: [0x01,0x80,0x80,0x82] + +0x01,0xf0,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x80,0x82] + +0x01,0xff,0x80,0x82,0x73,0x72,0x71,0x3f +# GFX10: s_subb_u32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x80,0x82,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x80,0x82,0x56,0x34,0x12,0xaf +# GFX10: s_subb_u32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x80,0x82,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x80,0x82] + +0x01,0x7e,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x80,0x82] + +0x01,0x7c,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, m0 ; encoding: [0x01,0x7c,0x80,0x82] + +0x01,0x67,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, s103 ; encoding: [0x01,0x67,0x80,0x82] + +0x01,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, s2 ; encoding: [0x01,0x02,0x80,0x82] + +0x01,0x6b,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x80,0x82] + +0x01,0x6a,0x80,0x82 +# GFX10: s_subb_u32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x80,0x82] + +0x68,0x67,0x80,0x82 +# GFX10: s_subb_u32 s0, s104, s103 ; encoding: [0x68,0x67,0x80,0x82] + +0x68,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, s104, s2 ; encoding: [0x68,0x02,0x80,0x82] + +0x6b,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x80,0x82] + +0x6a,0x02,0x80,0x82 +# GFX10: s_subb_u32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x80,0x82] + +0x01,0x67,0xe9,0x82 +# GFX10: s_subb_u32 s105, s1, s103 ; encoding: [0x01,0x67,0xe9,0x82] + +0x01,0x02,0xe9,0x82 +# GFX10: s_subb_u32 s105, s1, s2 ; encoding: [0x01,0x02,0xe9,0x82] + +0x68,0x67,0xe9,0x82 +# GFX10: s_subb_u32 s105, s104, s103 ; encoding: [0x68,0x67,0xe9,0x82] + +0x68,0x02,0xe9,0x82 +# GFX10: s_subb_u32 s105, s104, s2 ; encoding: [0x68,0x02,0xe9,0x82] + +0x01,0x02,0xeb,0x82 +# GFX10: s_subb_u32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0xeb,0x82] + +0x01,0x02,0xea,0x82 +# GFX10: s_subb_u32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0xea,0x82] + +0x01,0x02,0x7f,0x8e +# GFX10: s_xnor_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x8e] + +0x01,0x02,0x7e,0x8e +# GFX10: s_xnor_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x8e] + +0x01,0x02,0x7c,0x8e +# GFX10: s_xnor_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x8e] + +0xc1,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x8e] + +0xf7,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x8e] + +0x80,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x8e] + +0xf0,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x8e] + +0xff,0x02,0x00,0x8e,0x73,0x72,0x71,0x3f +# GFX10: s_xnor_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x8e,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x8e,0x56,0x34,0x12,0xaf +# GFX10: s_xnor_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x8e,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x8e] + +0x7e,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x8e] + +0x7c,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x8e] + +0x01,0xc1,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x8e] + +0x01,0xf7,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x8e] + +0x01,0x80,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x8e] + +0x01,0xf0,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x8e] + +0x01,0xff,0x00,0x8e,0x73,0x72,0x71,0x3f +# GFX10: s_xnor_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x8e,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x8e,0x56,0x34,0x12,0xaf +# GFX10: s_xnor_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x8e,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x8e] + +0x01,0x7e,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x8e] + +0x01,0x7c,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x8e] + +0x01,0x67,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x8e] + +0x01,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x8e] + +0x01,0x6b,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x8e] + +0x01,0x6a,0x00,0x8e +# GFX10: s_xnor_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x8e] + +0x68,0x67,0x00,0x8e +# GFX10: s_xnor_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x8e] + +0x68,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x8e] + +0x6b,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x8e] + +0x6a,0x02,0x00,0x8e +# GFX10: s_xnor_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x8e] + +0x01,0x67,0x69,0x8e +# GFX10: s_xnor_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x8e] + +0x01,0x02,0x69,0x8e +# GFX10: s_xnor_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x8e] + +0x68,0x67,0x69,0x8e +# GFX10: s_xnor_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x8e] + +0x68,0x02,0x69,0x8e +# GFX10: s_xnor_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x8e] + +0x01,0x02,0x6b,0x8e +# GFX10: s_xnor_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x8e] + +0x01,0x02,0x6a,0x8e +# GFX10: s_xnor_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x8e] + +0x02,0x04,0xfe,0x8e +# GFX10: s_xnor_b64 exec, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfe,0x8e] + +0xc1,0x04,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], -1, s[4:5] ; encoding: [0xc1,0x04,0x80,0x8e] + +0xf7,0x04,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], -4.0, s[4:5] ; encoding: [0xf7,0x04,0x80,0x8e] + +0x80,0x04,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], 0, s[4:5] ; encoding: [0x80,0x04,0x80,0x8e] + +0xf0,0x04,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], 0.5, s[4:5] ; encoding: [0xf0,0x04,0x80,0x8e] + +0xff,0x04,0x80,0x8e,0x73,0x72,0x71,0x3f +# GFX10: s_xnor_b64 s[0:1], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x80,0x8e,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x8e,0x56,0x34,0x12,0xaf +# GFX10: s_xnor_b64 s[0:1], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x80,0x8e,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], exec, s[4:5] ; encoding: [0x7e,0x04,0x80,0x8e] + +0x66,0x64,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[102:103], s[100:101] ; encoding: [0x66,0x64,0x80,0x8e] + +0x66,0x04,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[102:103], s[4:5] ; encoding: [0x66,0x04,0x80,0x8e] + +0x02,0xc1,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x8e] + +0x02,0xf7,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x8e] + +0x02,0x80,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x8e] + +0x02,0xf0,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x8e] + +0x02,0xff,0x80,0x8e,0x73,0x72,0x71,0x3f +# GFX10: s_xnor_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x8e,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x8e,0x56,0x34,0x12,0xaf +# GFX10: s_xnor_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x8e,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[2:3], exec ; encoding: [0x02,0x7e,0x80,0x8e] + +0x02,0x64,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x80,0x8e] + +0x02,0x04,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[2:3], s[4:5] ; encoding: [0x02,0x04,0x80,0x8e] + +0x02,0x6a,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], s[2:3], vcc ; encoding: [0x02,0x6a,0x80,0x8e] + +0x6a,0x04,0x80,0x8e +# GFX10: s_xnor_b64 s[0:1], vcc, s[4:5] ; encoding: [0x6a,0x04,0x80,0x8e] + +0x66,0x64,0xe8,0x8e +# GFX10: s_xnor_b64 s[104:105], s[102:103], s[100:101] ; encoding: [0x66,0x64,0xe8,0x8e] + +0x66,0x04,0xe8,0x8e +# GFX10: s_xnor_b64 s[104:105], s[102:103], s[4:5] ; encoding: [0x66,0x04,0xe8,0x8e] + +0x02,0x64,0xe8,0x8e +# GFX10: s_xnor_b64 s[104:105], s[2:3], s[100:101] ; encoding: [0x02,0x64,0xe8,0x8e] + +0x02,0x04,0xe8,0x8e +# GFX10: s_xnor_b64 s[104:105], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe8,0x8e] + +0x02,0x04,0xea,0x8e +# GFX10: s_xnor_b64 vcc, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xea,0x8e] + +0x01,0x02,0x7f,0x89 +# GFX10: s_xor_b32 exec_hi, s1, s2 ; encoding: [0x01,0x02,0x7f,0x89] + +0x01,0x02,0x7e,0x89 +# GFX10: s_xor_b32 exec_lo, s1, s2 ; encoding: [0x01,0x02,0x7e,0x89] + +0x01,0x02,0x7c,0x89 +# GFX10: s_xor_b32 m0, s1, s2 ; encoding: [0x01,0x02,0x7c,0x89] + +0xc1,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, -1, s2 ; encoding: [0xc1,0x02,0x00,0x89] + +0xf7,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, -4.0, s2 ; encoding: [0xf7,0x02,0x00,0x89] + +0x80,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, 0, s2 ; encoding: [0x80,0x02,0x00,0x89] + +0xf0,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, 0.5, s2 ; encoding: [0xf0,0x02,0x00,0x89] + +0xff,0x02,0x00,0x89,0x73,0x72,0x71,0x3f +# GFX10: s_xor_b32 s0, 0x3f717273, s2 ; encoding: [0xff,0x02,0x00,0x89,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x00,0x89,0x56,0x34,0x12,0xaf +# GFX10: s_xor_b32 s0, 0xaf123456, s2 ; encoding: [0xff,0x02,0x00,0x89,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, exec_hi, s2 ; encoding: [0x7f,0x02,0x00,0x89] + +0x7e,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, exec_lo, s2 ; encoding: [0x7e,0x02,0x00,0x89] + +0x7c,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, m0, s2 ; encoding: [0x7c,0x02,0x00,0x89] + +0x01,0xc1,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, -1 ; encoding: [0x01,0xc1,0x00,0x89] + +0x01,0xf7,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, -4.0 ; encoding: [0x01,0xf7,0x00,0x89] + +0x01,0x80,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, 0 ; encoding: [0x01,0x80,0x00,0x89] + +0x01,0xf0,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, 0.5 ; encoding: [0x01,0xf0,0x00,0x89] + +0x01,0xff,0x00,0x89,0x73,0x72,0x71,0x3f +# GFX10: s_xor_b32 s0, s1, 0x3f717273 ; encoding: [0x01,0xff,0x00,0x89,0x73,0x72,0x71,0x3f] + +0x01,0xff,0x00,0x89,0x56,0x34,0x12,0xaf +# GFX10: s_xor_b32 s0, s1, 0xaf123456 ; encoding: [0x01,0xff,0x00,0x89,0x56,0x34,0x12,0xaf] + +0x01,0x7f,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, exec_hi ; encoding: [0x01,0x7f,0x00,0x89] + +0x01,0x7e,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, exec_lo ; encoding: [0x01,0x7e,0x00,0x89] + +0x01,0x7c,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, m0 ; encoding: [0x01,0x7c,0x00,0x89] + +0x01,0x67,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, s103 ; encoding: [0x01,0x67,0x00,0x89] + +0x01,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, s2 ; encoding: [0x01,0x02,0x00,0x89] + +0x01,0x6b,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, vcc_hi ; encoding: [0x01,0x6b,0x00,0x89] + +0x01,0x6a,0x00,0x89 +# GFX10: s_xor_b32 s0, s1, vcc_lo ; encoding: [0x01,0x6a,0x00,0x89] + +0x68,0x67,0x00,0x89 +# GFX10: s_xor_b32 s0, s104, s103 ; encoding: [0x68,0x67,0x00,0x89] + +0x68,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, s104, s2 ; encoding: [0x68,0x02,0x00,0x89] + +0x6b,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, vcc_hi, s2 ; encoding: [0x6b,0x02,0x00,0x89] + +0x6a,0x02,0x00,0x89 +# GFX10: s_xor_b32 s0, vcc_lo, s2 ; encoding: [0x6a,0x02,0x00,0x89] + +0x01,0x67,0x69,0x89 +# GFX10: s_xor_b32 s105, s1, s103 ; encoding: [0x01,0x67,0x69,0x89] + +0x01,0x02,0x69,0x89 +# GFX10: s_xor_b32 s105, s1, s2 ; encoding: [0x01,0x02,0x69,0x89] + +0x68,0x67,0x69,0x89 +# GFX10: s_xor_b32 s105, s104, s103 ; encoding: [0x68,0x67,0x69,0x89] + +0x68,0x02,0x69,0x89 +# GFX10: s_xor_b32 s105, s104, s2 ; encoding: [0x68,0x02,0x69,0x89] + +0x01,0x02,0x6b,0x89 +# GFX10: s_xor_b32 vcc_hi, s1, s2 ; encoding: [0x01,0x02,0x6b,0x89] + +0x01,0x02,0x6a,0x89 +# GFX10: s_xor_b32 vcc_lo, s1, s2 ; encoding: [0x01,0x02,0x6a,0x89] + +0x02,0x04,0xfe,0x89 +# GFX10: s_xor_b64 exec, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfe,0x89] + +0xc1,0x04,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], -1, s[4:5] ; encoding: [0xc1,0x04,0x80,0x89] + +0xf7,0x04,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], -4.0, s[4:5] ; encoding: [0xf7,0x04,0x80,0x89] + +0x80,0x04,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], 0, s[4:5] ; encoding: [0x80,0x04,0x80,0x89] + +0xf0,0x04,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], 0.5, s[4:5] ; encoding: [0xf0,0x04,0x80,0x89] + +0xff,0x04,0x80,0x89,0x73,0x72,0x71,0x3f +# GFX10: s_xor_b64 s[0:1], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x80,0x89,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x89,0x56,0x34,0x12,0xaf +# GFX10: s_xor_b64 s[0:1], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x80,0x89,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], exec, s[4:5] ; encoding: [0x7e,0x04,0x80,0x89] + +0x66,0x64,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[102:103], s[100:101] ; encoding: [0x66,0x64,0x80,0x89] + +0x66,0x04,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[102:103], s[4:5] ; encoding: [0x66,0x04,0x80,0x89] + +0x02,0xc1,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[2:3], -1 ; encoding: [0x02,0xc1,0x80,0x89] + +0x02,0xf7,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[2:3], -4.0 ; encoding: [0x02,0xf7,0x80,0x89] + +0x02,0x80,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[2:3], 0 ; encoding: [0x02,0x80,0x80,0x89] + +0x02,0xf0,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[2:3], 0.5 ; encoding: [0x02,0xf0,0x80,0x89] + +0x02,0xff,0x80,0x89,0x73,0x72,0x71,0x3f +# GFX10: s_xor_b64 s[0:1], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x80,0x89,0x73,0x72,0x71,0x3f] + +0x02,0xff,0x80,0x89,0x56,0x34,0x12,0xaf +# GFX10: s_xor_b64 s[0:1], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x80,0x89,0x56,0x34,0x12,0xaf] + +0x02,0x7e,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[2:3], exec ; encoding: [0x02,0x7e,0x80,0x89] + +0x02,0x64,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x80,0x89] + +0x02,0x04,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[2:3], s[4:5] ; encoding: [0x02,0x04,0x80,0x89] + +0x02,0x6a,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], s[2:3], vcc ; encoding: [0x02,0x6a,0x80,0x89] + +0x6a,0x04,0x80,0x89 +# GFX10: s_xor_b64 s[0:1], vcc, s[4:5] ; encoding: [0x6a,0x04,0x80,0x89] + +0x66,0x64,0xe8,0x89 +# GFX10: s_xor_b64 s[104:105], s[102:103], s[100:101] ; encoding: [0x66,0x64,0xe8,0x89] + +0x66,0x04,0xe8,0x89 +# GFX10: s_xor_b64 s[104:105], s[102:103], s[4:5] ; encoding: [0x66,0x04,0xe8,0x89] + +0x02,0x64,0xe8,0x89 +# GFX10: s_xor_b64 s[104:105], s[2:3], s[100:101] ; encoding: [0x02,0x64,0xe8,0x89] + +0x02,0x04,0xe8,0x89 +# GFX10: s_xor_b64 s[104:105], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe8,0x89] + +0x02,0x04,0xea,0x89 +# GFX10: s_xor_b64 vcc, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xea,0x89] diff --git a/tests/data/llvm-amdgpu/gfx10_sopc.txt b/tests/data/llvm-amdgpu/gfx10_sopc.txt new file mode 100644 index 0000000..dbfbfd2 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_sopc.txt @@ -0,0 +1,1030 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0x7f,0x01,0x0c,0xbf +# GFX10: s_bitcmp0_b32 exec_hi, s1 ; encoding: [0x7f,0x01,0x0c,0xbf] + +0x7e,0x01,0x0c,0xbf +# GFX10: s_bitcmp0_b32 exec_lo, s1 ; encoding: [0x7e,0x01,0x0c,0xbf] + +0x7c,0x01,0x0c,0xbf +# GFX10: s_bitcmp0_b32 m0, s1 ; encoding: [0x7c,0x01,0x0c,0xbf] + +0x00,0xc1,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, -1 ; encoding: [0x00,0xc1,0x0c,0xbf] + +0x00,0xf7,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, -4.0 ; encoding: [0x00,0xf7,0x0c,0xbf] + +0x00,0x80,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, 0 ; encoding: [0x00,0x80,0x0c,0xbf] + +0x00,0xf0,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, 0.5 ; encoding: [0x00,0xf0,0x0c,0xbf] + +0x00,0xff,0x0c,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_bitcmp0_b32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x0c,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x0c,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_bitcmp0_b32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x0c,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, exec_hi ; encoding: [0x00,0x7f,0x0c,0xbf] + +0x00,0x7e,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, exec_lo ; encoding: [0x00,0x7e,0x0c,0xbf] + +0x00,0x7c,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, m0 ; encoding: [0x00,0x7c,0x0c,0xbf] + +0x00,0x01,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, s1 ; encoding: [0x00,0x01,0x0c,0xbf] + +0x00,0x68,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, s104 ; encoding: [0x00,0x68,0x0c,0xbf] + +0x00,0x6b,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, vcc_hi ; encoding: [0x00,0x6b,0x0c,0xbf] + +0x00,0x6a,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s0, vcc_lo ; encoding: [0x00,0x6a,0x0c,0xbf] + +0x69,0x01,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s105, s1 ; encoding: [0x69,0x01,0x0c,0xbf] + +0x69,0x68,0x0c,0xbf +# GFX10: s_bitcmp0_b32 s105, s104 ; encoding: [0x69,0x68,0x0c,0xbf] + +0x6b,0x01,0x0c,0xbf +# GFX10: s_bitcmp0_b32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x0c,0xbf] + +0x6a,0x01,0x0c,0xbf +# GFX10: s_bitcmp0_b32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x0c,0xbf] + +0x7e,0x02,0x0e,0xbf +# GFX10: s_bitcmp0_b64 exec, s2 ; encoding: [0x7e,0x02,0x0e,0xbf] + +0x00,0xc1,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], -1 ; encoding: [0x00,0xc1,0x0e,0xbf] + +0x00,0xf7,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], -4.0 ; encoding: [0x00,0xf7,0x0e,0xbf] + +0x00,0x80,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], 0 ; encoding: [0x00,0x80,0x0e,0xbf] + +0x00,0xf0,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], 0.5 ; encoding: [0x00,0xf0,0x0e,0xbf] + +0x00,0xff,0x0e,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_bitcmp0_b64 s[0:1], 0x3f717273 ; encoding: [0x00,0xff,0x0e,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x0e,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_bitcmp0_b64 s[0:1], 0xaf123456 ; encoding: [0x00,0xff,0x0e,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], exec_hi ; encoding: [0x00,0x7f,0x0e,0xbf] + +0x00,0x7e,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], exec_lo ; encoding: [0x00,0x7e,0x0e,0xbf] + +0x00,0x7c,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], m0 ; encoding: [0x00,0x7c,0x0e,0xbf] + +0x00,0x66,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], s102 ; encoding: [0x00,0x66,0x0e,0xbf] + +0x00,0x02,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], s2 ; encoding: [0x00,0x02,0x0e,0xbf] + +0x00,0x6b,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], vcc_hi ; encoding: [0x00,0x6b,0x0e,0xbf] + +0x00,0x6a,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[0:1], vcc_lo ; encoding: [0x00,0x6a,0x0e,0xbf] + +0x68,0x66,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[104:105], s102 ; encoding: [0x68,0x66,0x0e,0xbf] + +0x68,0x02,0x0e,0xbf +# GFX10: s_bitcmp0_b64 s[104:105], s2 ; encoding: [0x68,0x02,0x0e,0xbf] + +0x6a,0x02,0x0e,0xbf +# GFX10: s_bitcmp0_b64 vcc, s2 ; encoding: [0x6a,0x02,0x0e,0xbf] + +0x7f,0x01,0x0d,0xbf +# GFX10: s_bitcmp1_b32 exec_hi, s1 ; encoding: [0x7f,0x01,0x0d,0xbf] + +0x7e,0x01,0x0d,0xbf +# GFX10: s_bitcmp1_b32 exec_lo, s1 ; encoding: [0x7e,0x01,0x0d,0xbf] + +0x7c,0x01,0x0d,0xbf +# GFX10: s_bitcmp1_b32 m0, s1 ; encoding: [0x7c,0x01,0x0d,0xbf] + +0x00,0xc1,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, -1 ; encoding: [0x00,0xc1,0x0d,0xbf] + +0x00,0xf7,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, -4.0 ; encoding: [0x00,0xf7,0x0d,0xbf] + +0x00,0x80,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, 0 ; encoding: [0x00,0x80,0x0d,0xbf] + +0x00,0xf0,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, 0.5 ; encoding: [0x00,0xf0,0x0d,0xbf] + +0x00,0xff,0x0d,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_bitcmp1_b32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x0d,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x0d,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_bitcmp1_b32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x0d,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, exec_hi ; encoding: [0x00,0x7f,0x0d,0xbf] + +0x00,0x7e,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, exec_lo ; encoding: [0x00,0x7e,0x0d,0xbf] + +0x00,0x7c,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, m0 ; encoding: [0x00,0x7c,0x0d,0xbf] + +0x00,0x01,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, s1 ; encoding: [0x00,0x01,0x0d,0xbf] + +0x00,0x68,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, s104 ; encoding: [0x00,0x68,0x0d,0xbf] + +0x00,0x6b,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, vcc_hi ; encoding: [0x00,0x6b,0x0d,0xbf] + +0x00,0x6a,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s0, vcc_lo ; encoding: [0x00,0x6a,0x0d,0xbf] + +0x69,0x01,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s105, s1 ; encoding: [0x69,0x01,0x0d,0xbf] + +0x69,0x68,0x0d,0xbf +# GFX10: s_bitcmp1_b32 s105, s104 ; encoding: [0x69,0x68,0x0d,0xbf] + +0x6b,0x01,0x0d,0xbf +# GFX10: s_bitcmp1_b32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x0d,0xbf] + +0x6a,0x01,0x0d,0xbf +# GFX10: s_bitcmp1_b32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x0d,0xbf] + +0x7e,0x02,0x0f,0xbf +# GFX10: s_bitcmp1_b64 exec, s2 ; encoding: [0x7e,0x02,0x0f,0xbf] + +0x00,0xc1,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], -1 ; encoding: [0x00,0xc1,0x0f,0xbf] + +0x00,0xf7,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], -4.0 ; encoding: [0x00,0xf7,0x0f,0xbf] + +0x00,0x80,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], 0 ; encoding: [0x00,0x80,0x0f,0xbf] + +0x00,0xf0,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], 0.5 ; encoding: [0x00,0xf0,0x0f,0xbf] + +0x00,0xff,0x0f,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_bitcmp1_b64 s[0:1], 0x3f717273 ; encoding: [0x00,0xff,0x0f,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x0f,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_bitcmp1_b64 s[0:1], 0xaf123456 ; encoding: [0x00,0xff,0x0f,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], exec_hi ; encoding: [0x00,0x7f,0x0f,0xbf] + +0x00,0x7e,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], exec_lo ; encoding: [0x00,0x7e,0x0f,0xbf] + +0x00,0x7c,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], m0 ; encoding: [0x00,0x7c,0x0f,0xbf] + +0x00,0x66,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], s102 ; encoding: [0x00,0x66,0x0f,0xbf] + +0x00,0x02,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], s2 ; encoding: [0x00,0x02,0x0f,0xbf] + +0x00,0x6b,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], vcc_hi ; encoding: [0x00,0x6b,0x0f,0xbf] + +0x00,0x6a,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[0:1], vcc_lo ; encoding: [0x00,0x6a,0x0f,0xbf] + +0x68,0x66,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[104:105], s102 ; encoding: [0x68,0x66,0x0f,0xbf] + +0x68,0x02,0x0f,0xbf +# GFX10: s_bitcmp1_b64 s[104:105], s2 ; encoding: [0x68,0x02,0x0f,0xbf] + +0x6a,0x02,0x0f,0xbf +# GFX10: s_bitcmp1_b64 vcc, s2 ; encoding: [0x6a,0x02,0x0f,0xbf] + +0x7f,0x01,0x00,0xbf +# GFX10: s_cmp_eq_i32 exec_hi, s1 ; encoding: [0x7f,0x01,0x00,0xbf] + +0x7e,0x01,0x00,0xbf +# GFX10: s_cmp_eq_i32 exec_lo, s1 ; encoding: [0x7e,0x01,0x00,0xbf] + +0x7c,0x01,0x00,0xbf +# GFX10: s_cmp_eq_i32 m0, s1 ; encoding: [0x7c,0x01,0x00,0xbf] + +0x00,0xc1,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, -1 ; encoding: [0x00,0xc1,0x00,0xbf] + +0x00,0xf7,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, -4.0 ; encoding: [0x00,0xf7,0x00,0xbf] + +0x00,0x80,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, 0 ; encoding: [0x00,0x80,0x00,0xbf] + +0x00,0xf0,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, 0.5 ; encoding: [0x00,0xf0,0x00,0xbf] + +0x00,0xff,0x00,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_eq_i32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x00,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x00,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_eq_i32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x00,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, exec_hi ; encoding: [0x00,0x7f,0x00,0xbf] + +0x00,0x7e,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, exec_lo ; encoding: [0x00,0x7e,0x00,0xbf] + +0x00,0x7c,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, m0 ; encoding: [0x00,0x7c,0x00,0xbf] + +0x00,0x01,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, s1 ; encoding: [0x00,0x01,0x00,0xbf] + +0x00,0x68,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, s104 ; encoding: [0x00,0x68,0x00,0xbf] + +0x00,0x6b,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, vcc_hi ; encoding: [0x00,0x6b,0x00,0xbf] + +0x00,0x6a,0x00,0xbf +# GFX10: s_cmp_eq_i32 s0, vcc_lo ; encoding: [0x00,0x6a,0x00,0xbf] + +0x69,0x01,0x00,0xbf +# GFX10: s_cmp_eq_i32 s105, s1 ; encoding: [0x69,0x01,0x00,0xbf] + +0x69,0x68,0x00,0xbf +# GFX10: s_cmp_eq_i32 s105, s104 ; encoding: [0x69,0x68,0x00,0xbf] + +0x6b,0x01,0x00,0xbf +# GFX10: s_cmp_eq_i32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x00,0xbf] + +0x6a,0x01,0x00,0xbf +# GFX10: s_cmp_eq_i32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x00,0xbf] + +0x7f,0x01,0x06,0xbf +# GFX10: s_cmp_eq_u32 exec_hi, s1 ; encoding: [0x7f,0x01,0x06,0xbf] + +0x7e,0x01,0x06,0xbf +# GFX10: s_cmp_eq_u32 exec_lo, s1 ; encoding: [0x7e,0x01,0x06,0xbf] + +0x7c,0x01,0x06,0xbf +# GFX10: s_cmp_eq_u32 m0, s1 ; encoding: [0x7c,0x01,0x06,0xbf] + +0x00,0xc1,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, -1 ; encoding: [0x00,0xc1,0x06,0xbf] + +0x00,0xf7,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, -4.0 ; encoding: [0x00,0xf7,0x06,0xbf] + +0x00,0x80,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, 0 ; encoding: [0x00,0x80,0x06,0xbf] + +0x00,0xf0,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, 0.5 ; encoding: [0x00,0xf0,0x06,0xbf] + +0x00,0xff,0x06,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_eq_u32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x06,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x06,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_eq_u32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x06,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, exec_hi ; encoding: [0x00,0x7f,0x06,0xbf] + +0x00,0x7e,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, exec_lo ; encoding: [0x00,0x7e,0x06,0xbf] + +0x00,0x7c,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, m0 ; encoding: [0x00,0x7c,0x06,0xbf] + +0x00,0x01,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, s1 ; encoding: [0x00,0x01,0x06,0xbf] + +0x00,0x68,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, s104 ; encoding: [0x00,0x68,0x06,0xbf] + +0x00,0x6b,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, vcc_hi ; encoding: [0x00,0x6b,0x06,0xbf] + +0x00,0x6a,0x06,0xbf +# GFX10: s_cmp_eq_u32 s0, vcc_lo ; encoding: [0x00,0x6a,0x06,0xbf] + +0x69,0x01,0x06,0xbf +# GFX10: s_cmp_eq_u32 s105, s1 ; encoding: [0x69,0x01,0x06,0xbf] + +0x69,0x68,0x06,0xbf +# GFX10: s_cmp_eq_u32 s105, s104 ; encoding: [0x69,0x68,0x06,0xbf] + +0x6b,0x01,0x06,0xbf +# GFX10: s_cmp_eq_u32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x06,0xbf] + +0x6a,0x01,0x06,0xbf +# GFX10: s_cmp_eq_u32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x06,0xbf] + +0x7e,0x02,0x12,0xbf +# GFX10: s_cmp_eq_u64 exec, s[2:3] ; encoding: [0x7e,0x02,0x12,0xbf] + +0x00,0xc1,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[0:1], -1 ; encoding: [0x00,0xc1,0x12,0xbf] + +0x00,0xf7,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[0:1], -4.0 ; encoding: [0x00,0xf7,0x12,0xbf] + +0x00,0x80,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[0:1], 0 ; encoding: [0x00,0x80,0x12,0xbf] + +0x00,0xf0,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[0:1], 0.5 ; encoding: [0x00,0xf0,0x12,0xbf] + +0x00,0xff,0x12,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_eq_u64 s[0:1], 0x3f717273 ; encoding: [0x00,0xff,0x12,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x12,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_eq_u64 s[0:1], 0xaf123456 ; encoding: [0x00,0xff,0x12,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7e,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[0:1], exec ; encoding: [0x00,0x7e,0x12,0xbf] + +0x00,0x66,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[0:1], s[102:103] ; encoding: [0x00,0x66,0x12,0xbf] + +0x00,0x02,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[0:1], s[2:3] ; encoding: [0x00,0x02,0x12,0xbf] + +0x00,0x6a,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[0:1], vcc ; encoding: [0x00,0x6a,0x12,0xbf] + +0x68,0x66,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[104:105], s[102:103] ; encoding: [0x68,0x66,0x12,0xbf] + +0x68,0x02,0x12,0xbf +# GFX10: s_cmp_eq_u64 s[104:105], s[2:3] ; encoding: [0x68,0x02,0x12,0xbf] + +0x6a,0x02,0x12,0xbf +# GFX10: s_cmp_eq_u64 vcc, s[2:3] ; encoding: [0x6a,0x02,0x12,0xbf] + +0x7f,0x01,0x03,0xbf +# GFX10: s_cmp_ge_i32 exec_hi, s1 ; encoding: [0x7f,0x01,0x03,0xbf] + +0x7e,0x01,0x03,0xbf +# GFX10: s_cmp_ge_i32 exec_lo, s1 ; encoding: [0x7e,0x01,0x03,0xbf] + +0x7c,0x01,0x03,0xbf +# GFX10: s_cmp_ge_i32 m0, s1 ; encoding: [0x7c,0x01,0x03,0xbf] + +0x00,0xc1,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, -1 ; encoding: [0x00,0xc1,0x03,0xbf] + +0x00,0xf7,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, -4.0 ; encoding: [0x00,0xf7,0x03,0xbf] + +0x00,0x80,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, 0 ; encoding: [0x00,0x80,0x03,0xbf] + +0x00,0xf0,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, 0.5 ; encoding: [0x00,0xf0,0x03,0xbf] + +0x00,0xff,0x03,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_ge_i32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x03,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x03,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_ge_i32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x03,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, exec_hi ; encoding: [0x00,0x7f,0x03,0xbf] + +0x00,0x7e,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, exec_lo ; encoding: [0x00,0x7e,0x03,0xbf] + +0x00,0x7c,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, m0 ; encoding: [0x00,0x7c,0x03,0xbf] + +0x00,0x01,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, s1 ; encoding: [0x00,0x01,0x03,0xbf] + +0x00,0x68,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, s104 ; encoding: [0x00,0x68,0x03,0xbf] + +0x00,0x6b,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, vcc_hi ; encoding: [0x00,0x6b,0x03,0xbf] + +0x00,0x6a,0x03,0xbf +# GFX10: s_cmp_ge_i32 s0, vcc_lo ; encoding: [0x00,0x6a,0x03,0xbf] + +0x69,0x01,0x03,0xbf +# GFX10: s_cmp_ge_i32 s105, s1 ; encoding: [0x69,0x01,0x03,0xbf] + +0x69,0x68,0x03,0xbf +# GFX10: s_cmp_ge_i32 s105, s104 ; encoding: [0x69,0x68,0x03,0xbf] + +0x6b,0x01,0x03,0xbf +# GFX10: s_cmp_ge_i32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x03,0xbf] + +0x6a,0x01,0x03,0xbf +# GFX10: s_cmp_ge_i32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x03,0xbf] + +0x7f,0x01,0x09,0xbf +# GFX10: s_cmp_ge_u32 exec_hi, s1 ; encoding: [0x7f,0x01,0x09,0xbf] + +0x7e,0x01,0x09,0xbf +# GFX10: s_cmp_ge_u32 exec_lo, s1 ; encoding: [0x7e,0x01,0x09,0xbf] + +0x7c,0x01,0x09,0xbf +# GFX10: s_cmp_ge_u32 m0, s1 ; encoding: [0x7c,0x01,0x09,0xbf] + +0x00,0xc1,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, -1 ; encoding: [0x00,0xc1,0x09,0xbf] + +0x00,0xf7,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, -4.0 ; encoding: [0x00,0xf7,0x09,0xbf] + +0x00,0x80,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, 0 ; encoding: [0x00,0x80,0x09,0xbf] + +0x00,0xf0,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, 0.5 ; encoding: [0x00,0xf0,0x09,0xbf] + +0x00,0xff,0x09,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_ge_u32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x09,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x09,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_ge_u32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x09,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, exec_hi ; encoding: [0x00,0x7f,0x09,0xbf] + +0x00,0x7e,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, exec_lo ; encoding: [0x00,0x7e,0x09,0xbf] + +0x00,0x7c,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, m0 ; encoding: [0x00,0x7c,0x09,0xbf] + +0x00,0x01,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, s1 ; encoding: [0x00,0x01,0x09,0xbf] + +0x00,0x68,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, s104 ; encoding: [0x00,0x68,0x09,0xbf] + +0x00,0x6b,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, vcc_hi ; encoding: [0x00,0x6b,0x09,0xbf] + +0x00,0x6a,0x09,0xbf +# GFX10: s_cmp_ge_u32 s0, vcc_lo ; encoding: [0x00,0x6a,0x09,0xbf] + +0x69,0x01,0x09,0xbf +# GFX10: s_cmp_ge_u32 s105, s1 ; encoding: [0x69,0x01,0x09,0xbf] + +0x69,0x68,0x09,0xbf +# GFX10: s_cmp_ge_u32 s105, s104 ; encoding: [0x69,0x68,0x09,0xbf] + +0x6b,0x01,0x09,0xbf +# GFX10: s_cmp_ge_u32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x09,0xbf] + +0x6a,0x01,0x09,0xbf +# GFX10: s_cmp_ge_u32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x09,0xbf] + +0x7f,0x01,0x02,0xbf +# GFX10: s_cmp_gt_i32 exec_hi, s1 ; encoding: [0x7f,0x01,0x02,0xbf] + +0x7e,0x01,0x02,0xbf +# GFX10: s_cmp_gt_i32 exec_lo, s1 ; encoding: [0x7e,0x01,0x02,0xbf] + +0x7c,0x01,0x02,0xbf +# GFX10: s_cmp_gt_i32 m0, s1 ; encoding: [0x7c,0x01,0x02,0xbf] + +0x00,0xc1,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, -1 ; encoding: [0x00,0xc1,0x02,0xbf] + +0x00,0xf7,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, -4.0 ; encoding: [0x00,0xf7,0x02,0xbf] + +0x00,0x80,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, 0 ; encoding: [0x00,0x80,0x02,0xbf] + +0x00,0xf0,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, 0.5 ; encoding: [0x00,0xf0,0x02,0xbf] + +0x00,0xff,0x02,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_gt_i32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x02,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x02,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_gt_i32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x02,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, exec_hi ; encoding: [0x00,0x7f,0x02,0xbf] + +0x00,0x7e,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, exec_lo ; encoding: [0x00,0x7e,0x02,0xbf] + +0x00,0x7c,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, m0 ; encoding: [0x00,0x7c,0x02,0xbf] + +0x00,0x01,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, s1 ; encoding: [0x00,0x01,0x02,0xbf] + +0x00,0x68,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, s104 ; encoding: [0x00,0x68,0x02,0xbf] + +0x00,0x6b,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, vcc_hi ; encoding: [0x00,0x6b,0x02,0xbf] + +0x00,0x6a,0x02,0xbf +# GFX10: s_cmp_gt_i32 s0, vcc_lo ; encoding: [0x00,0x6a,0x02,0xbf] + +0x69,0x01,0x02,0xbf +# GFX10: s_cmp_gt_i32 s105, s1 ; encoding: [0x69,0x01,0x02,0xbf] + +0x69,0x68,0x02,0xbf +# GFX10: s_cmp_gt_i32 s105, s104 ; encoding: [0x69,0x68,0x02,0xbf] + +0x6b,0x01,0x02,0xbf +# GFX10: s_cmp_gt_i32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x02,0xbf] + +0x6a,0x01,0x02,0xbf +# GFX10: s_cmp_gt_i32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x02,0xbf] + +0x7f,0x01,0x08,0xbf +# GFX10: s_cmp_gt_u32 exec_hi, s1 ; encoding: [0x7f,0x01,0x08,0xbf] + +0x7e,0x01,0x08,0xbf +# GFX10: s_cmp_gt_u32 exec_lo, s1 ; encoding: [0x7e,0x01,0x08,0xbf] + +0x7c,0x01,0x08,0xbf +# GFX10: s_cmp_gt_u32 m0, s1 ; encoding: [0x7c,0x01,0x08,0xbf] + +0x00,0xc1,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, -1 ; encoding: [0x00,0xc1,0x08,0xbf] + +0x00,0xf7,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, -4.0 ; encoding: [0x00,0xf7,0x08,0xbf] + +0x00,0x80,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, 0 ; encoding: [0x00,0x80,0x08,0xbf] + +0x00,0xf0,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, 0.5 ; encoding: [0x00,0xf0,0x08,0xbf] + +0x00,0xff,0x08,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_gt_u32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x08,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x08,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_gt_u32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x08,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, exec_hi ; encoding: [0x00,0x7f,0x08,0xbf] + +0x00,0x7e,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, exec_lo ; encoding: [0x00,0x7e,0x08,0xbf] + +0x00,0x7c,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, m0 ; encoding: [0x00,0x7c,0x08,0xbf] + +0x00,0x01,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, s1 ; encoding: [0x00,0x01,0x08,0xbf] + +0x00,0x68,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, s104 ; encoding: [0x00,0x68,0x08,0xbf] + +0x00,0x6b,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, vcc_hi ; encoding: [0x00,0x6b,0x08,0xbf] + +0x00,0x6a,0x08,0xbf +# GFX10: s_cmp_gt_u32 s0, vcc_lo ; encoding: [0x00,0x6a,0x08,0xbf] + +0x69,0x01,0x08,0xbf +# GFX10: s_cmp_gt_u32 s105, s1 ; encoding: [0x69,0x01,0x08,0xbf] + +0x69,0x68,0x08,0xbf +# GFX10: s_cmp_gt_u32 s105, s104 ; encoding: [0x69,0x68,0x08,0xbf] + +0x6b,0x01,0x08,0xbf +# GFX10: s_cmp_gt_u32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x08,0xbf] + +0x6a,0x01,0x08,0xbf +# GFX10: s_cmp_gt_u32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x08,0xbf] + +0x7f,0x01,0x05,0xbf +# GFX10: s_cmp_le_i32 exec_hi, s1 ; encoding: [0x7f,0x01,0x05,0xbf] + +0x7e,0x01,0x05,0xbf +# GFX10: s_cmp_le_i32 exec_lo, s1 ; encoding: [0x7e,0x01,0x05,0xbf] + +0x7c,0x01,0x05,0xbf +# GFX10: s_cmp_le_i32 m0, s1 ; encoding: [0x7c,0x01,0x05,0xbf] + +0x00,0xc1,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, -1 ; encoding: [0x00,0xc1,0x05,0xbf] + +0x00,0xf7,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, -4.0 ; encoding: [0x00,0xf7,0x05,0xbf] + +0x00,0x80,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, 0 ; encoding: [0x00,0x80,0x05,0xbf] + +0x00,0xf0,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, 0.5 ; encoding: [0x00,0xf0,0x05,0xbf] + +0x00,0xff,0x05,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_le_i32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x05,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x05,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_le_i32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x05,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, exec_hi ; encoding: [0x00,0x7f,0x05,0xbf] + +0x00,0x7e,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, exec_lo ; encoding: [0x00,0x7e,0x05,0xbf] + +0x00,0x7c,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, m0 ; encoding: [0x00,0x7c,0x05,0xbf] + +0x00,0x01,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, s1 ; encoding: [0x00,0x01,0x05,0xbf] + +0x00,0x68,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, s104 ; encoding: [0x00,0x68,0x05,0xbf] + +0x00,0x6b,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, vcc_hi ; encoding: [0x00,0x6b,0x05,0xbf] + +0x00,0x6a,0x05,0xbf +# GFX10: s_cmp_le_i32 s0, vcc_lo ; encoding: [0x00,0x6a,0x05,0xbf] + +0x69,0x01,0x05,0xbf +# GFX10: s_cmp_le_i32 s105, s1 ; encoding: [0x69,0x01,0x05,0xbf] + +0x69,0x68,0x05,0xbf +# GFX10: s_cmp_le_i32 s105, s104 ; encoding: [0x69,0x68,0x05,0xbf] + +0x6b,0x01,0x05,0xbf +# GFX10: s_cmp_le_i32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x05,0xbf] + +0x6a,0x01,0x05,0xbf +# GFX10: s_cmp_le_i32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x05,0xbf] + +0x7f,0x01,0x0b,0xbf +# GFX10: s_cmp_le_u32 exec_hi, s1 ; encoding: [0x7f,0x01,0x0b,0xbf] + +0x7e,0x01,0x0b,0xbf +# GFX10: s_cmp_le_u32 exec_lo, s1 ; encoding: [0x7e,0x01,0x0b,0xbf] + +0x7c,0x01,0x0b,0xbf +# GFX10: s_cmp_le_u32 m0, s1 ; encoding: [0x7c,0x01,0x0b,0xbf] + +0x00,0xc1,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, -1 ; encoding: [0x00,0xc1,0x0b,0xbf] + +0x00,0xf7,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, -4.0 ; encoding: [0x00,0xf7,0x0b,0xbf] + +0x00,0x80,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, 0 ; encoding: [0x00,0x80,0x0b,0xbf] + +0x00,0xf0,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, 0.5 ; encoding: [0x00,0xf0,0x0b,0xbf] + +0x00,0xff,0x0b,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_le_u32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x0b,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x0b,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_le_u32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x0b,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, exec_hi ; encoding: [0x00,0x7f,0x0b,0xbf] + +0x00,0x7e,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, exec_lo ; encoding: [0x00,0x7e,0x0b,0xbf] + +0x00,0x7c,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, m0 ; encoding: [0x00,0x7c,0x0b,0xbf] + +0x00,0x01,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, s1 ; encoding: [0x00,0x01,0x0b,0xbf] + +0x00,0x68,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, s104 ; encoding: [0x00,0x68,0x0b,0xbf] + +0x00,0x6b,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, vcc_hi ; encoding: [0x00,0x6b,0x0b,0xbf] + +0x00,0x6a,0x0b,0xbf +# GFX10: s_cmp_le_u32 s0, vcc_lo ; encoding: [0x00,0x6a,0x0b,0xbf] + +0x69,0x01,0x0b,0xbf +# GFX10: s_cmp_le_u32 s105, s1 ; encoding: [0x69,0x01,0x0b,0xbf] + +0x69,0x68,0x0b,0xbf +# GFX10: s_cmp_le_u32 s105, s104 ; encoding: [0x69,0x68,0x0b,0xbf] + +0x6b,0x01,0x0b,0xbf +# GFX10: s_cmp_le_u32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x0b,0xbf] + +0x6a,0x01,0x0b,0xbf +# GFX10: s_cmp_le_u32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x0b,0xbf] + +0x7f,0x01,0x01,0xbf +# GFX10: s_cmp_lg_i32 exec_hi, s1 ; encoding: [0x7f,0x01,0x01,0xbf] + +0x7e,0x01,0x01,0xbf +# GFX10: s_cmp_lg_i32 exec_lo, s1 ; encoding: [0x7e,0x01,0x01,0xbf] + +0x7c,0x01,0x01,0xbf +# GFX10: s_cmp_lg_i32 m0, s1 ; encoding: [0x7c,0x01,0x01,0xbf] + +0x00,0xc1,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, -1 ; encoding: [0x00,0xc1,0x01,0xbf] + +0x00,0xf7,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, -4.0 ; encoding: [0x00,0xf7,0x01,0xbf] + +0x00,0x80,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, 0 ; encoding: [0x00,0x80,0x01,0xbf] + +0x00,0xf0,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, 0.5 ; encoding: [0x00,0xf0,0x01,0xbf] + +0x00,0xff,0x01,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_lg_i32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x01,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x01,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_lg_i32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x01,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, exec_hi ; encoding: [0x00,0x7f,0x01,0xbf] + +0x00,0x7e,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, exec_lo ; encoding: [0x00,0x7e,0x01,0xbf] + +0x00,0x7c,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, m0 ; encoding: [0x00,0x7c,0x01,0xbf] + +0x00,0x01,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, s1 ; encoding: [0x00,0x01,0x01,0xbf] + +0x00,0x68,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, s104 ; encoding: [0x00,0x68,0x01,0xbf] + +0x00,0x6b,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, vcc_hi ; encoding: [0x00,0x6b,0x01,0xbf] + +0x00,0x6a,0x01,0xbf +# GFX10: s_cmp_lg_i32 s0, vcc_lo ; encoding: [0x00,0x6a,0x01,0xbf] + +0x69,0x01,0x01,0xbf +# GFX10: s_cmp_lg_i32 s105, s1 ; encoding: [0x69,0x01,0x01,0xbf] + +0x69,0x68,0x01,0xbf +# GFX10: s_cmp_lg_i32 s105, s104 ; encoding: [0x69,0x68,0x01,0xbf] + +0x6b,0x01,0x01,0xbf +# GFX10: s_cmp_lg_i32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x01,0xbf] + +0x6a,0x01,0x01,0xbf +# GFX10: s_cmp_lg_i32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x01,0xbf] + +0x7f,0x01,0x07,0xbf +# GFX10: s_cmp_lg_u32 exec_hi, s1 ; encoding: [0x7f,0x01,0x07,0xbf] + +0x7e,0x01,0x07,0xbf +# GFX10: s_cmp_lg_u32 exec_lo, s1 ; encoding: [0x7e,0x01,0x07,0xbf] + +0x7c,0x01,0x07,0xbf +# GFX10: s_cmp_lg_u32 m0, s1 ; encoding: [0x7c,0x01,0x07,0xbf] + +0x00,0xc1,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, -1 ; encoding: [0x00,0xc1,0x07,0xbf] + +0x00,0xf7,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, -4.0 ; encoding: [0x00,0xf7,0x07,0xbf] + +0x00,0x80,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, 0 ; encoding: [0x00,0x80,0x07,0xbf] + +0x00,0xf0,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, 0.5 ; encoding: [0x00,0xf0,0x07,0xbf] + +0x00,0xff,0x07,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_lg_u32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x07,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x07,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_lg_u32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x07,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, exec_hi ; encoding: [0x00,0x7f,0x07,0xbf] + +0x00,0x7e,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, exec_lo ; encoding: [0x00,0x7e,0x07,0xbf] + +0x00,0x7c,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, m0 ; encoding: [0x00,0x7c,0x07,0xbf] + +0x00,0x01,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, s1 ; encoding: [0x00,0x01,0x07,0xbf] + +0x00,0x68,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, s104 ; encoding: [0x00,0x68,0x07,0xbf] + +0x00,0x6b,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, vcc_hi ; encoding: [0x00,0x6b,0x07,0xbf] + +0x00,0x6a,0x07,0xbf +# GFX10: s_cmp_lg_u32 s0, vcc_lo ; encoding: [0x00,0x6a,0x07,0xbf] + +0x69,0x01,0x07,0xbf +# GFX10: s_cmp_lg_u32 s105, s1 ; encoding: [0x69,0x01,0x07,0xbf] + +0x69,0x68,0x07,0xbf +# GFX10: s_cmp_lg_u32 s105, s104 ; encoding: [0x69,0x68,0x07,0xbf] + +0x6b,0x01,0x07,0xbf +# GFX10: s_cmp_lg_u32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x07,0xbf] + +0x6a,0x01,0x07,0xbf +# GFX10: s_cmp_lg_u32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x07,0xbf] + +0x7e,0x02,0x13,0xbf +# GFX10: s_cmp_lg_u64 exec, s[2:3] ; encoding: [0x7e,0x02,0x13,0xbf] + +0x00,0xc1,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[0:1], -1 ; encoding: [0x00,0xc1,0x13,0xbf] + +0x00,0xf7,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[0:1], -4.0 ; encoding: [0x00,0xf7,0x13,0xbf] + +0x00,0x80,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[0:1], 0 ; encoding: [0x00,0x80,0x13,0xbf] + +0x00,0xf0,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[0:1], 0.5 ; encoding: [0x00,0xf0,0x13,0xbf] + +0x00,0xff,0x13,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_lg_u64 s[0:1], 0x3f717273 ; encoding: [0x00,0xff,0x13,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x13,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_lg_u64 s[0:1], 0xaf123456 ; encoding: [0x00,0xff,0x13,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7e,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[0:1], exec ; encoding: [0x00,0x7e,0x13,0xbf] + +0x00,0x66,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[0:1], s[102:103] ; encoding: [0x00,0x66,0x13,0xbf] + +0x00,0x02,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[0:1], s[2:3] ; encoding: [0x00,0x02,0x13,0xbf] + +0x00,0x6a,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[0:1], vcc ; encoding: [0x00,0x6a,0x13,0xbf] + +0x68,0x66,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[104:105], s[102:103] ; encoding: [0x68,0x66,0x13,0xbf] + +0x68,0x02,0x13,0xbf +# GFX10: s_cmp_lg_u64 s[104:105], s[2:3] ; encoding: [0x68,0x02,0x13,0xbf] + +0x6a,0x02,0x13,0xbf +# GFX10: s_cmp_lg_u64 vcc, s[2:3] ; encoding: [0x6a,0x02,0x13,0xbf] + +0x7f,0x01,0x04,0xbf +# GFX10: s_cmp_lt_i32 exec_hi, s1 ; encoding: [0x7f,0x01,0x04,0xbf] + +0x7e,0x01,0x04,0xbf +# GFX10: s_cmp_lt_i32 exec_lo, s1 ; encoding: [0x7e,0x01,0x04,0xbf] + +0x7c,0x01,0x04,0xbf +# GFX10: s_cmp_lt_i32 m0, s1 ; encoding: [0x7c,0x01,0x04,0xbf] + +0x00,0xc1,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, -1 ; encoding: [0x00,0xc1,0x04,0xbf] + +0x00,0xf7,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, -4.0 ; encoding: [0x00,0xf7,0x04,0xbf] + +0x00,0x80,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, 0 ; encoding: [0x00,0x80,0x04,0xbf] + +0x00,0xf0,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, 0.5 ; encoding: [0x00,0xf0,0x04,0xbf] + +0x00,0xff,0x04,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_lt_i32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x04,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x04,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_lt_i32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x04,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, exec_hi ; encoding: [0x00,0x7f,0x04,0xbf] + +0x00,0x7e,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, exec_lo ; encoding: [0x00,0x7e,0x04,0xbf] + +0x00,0x7c,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, m0 ; encoding: [0x00,0x7c,0x04,0xbf] + +0x00,0x01,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, s1 ; encoding: [0x00,0x01,0x04,0xbf] + +0x00,0x68,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, s104 ; encoding: [0x00,0x68,0x04,0xbf] + +0x00,0x6b,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, vcc_hi ; encoding: [0x00,0x6b,0x04,0xbf] + +0x00,0x6a,0x04,0xbf +# GFX10: s_cmp_lt_i32 s0, vcc_lo ; encoding: [0x00,0x6a,0x04,0xbf] + +0x69,0x01,0x04,0xbf +# GFX10: s_cmp_lt_i32 s105, s1 ; encoding: [0x69,0x01,0x04,0xbf] + +0x69,0x68,0x04,0xbf +# GFX10: s_cmp_lt_i32 s105, s104 ; encoding: [0x69,0x68,0x04,0xbf] + +0x6b,0x01,0x04,0xbf +# GFX10: s_cmp_lt_i32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x04,0xbf] + +0x6a,0x01,0x04,0xbf +# GFX10: s_cmp_lt_i32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x04,0xbf] + +0x7f,0x01,0x0a,0xbf +# GFX10: s_cmp_lt_u32 exec_hi, s1 ; encoding: [0x7f,0x01,0x0a,0xbf] + +0x7e,0x01,0x0a,0xbf +# GFX10: s_cmp_lt_u32 exec_lo, s1 ; encoding: [0x7e,0x01,0x0a,0xbf] + +0x7c,0x01,0x0a,0xbf +# GFX10: s_cmp_lt_u32 m0, s1 ; encoding: [0x7c,0x01,0x0a,0xbf] + +0x00,0xc1,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, -1 ; encoding: [0x00,0xc1,0x0a,0xbf] + +0x00,0xf7,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, -4.0 ; encoding: [0x00,0xf7,0x0a,0xbf] + +0x00,0x80,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, 0 ; encoding: [0x00,0x80,0x0a,0xbf] + +0x00,0xf0,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, 0.5 ; encoding: [0x00,0xf0,0x0a,0xbf] + +0x00,0xff,0x0a,0xbf,0x73,0x72,0x71,0x3f +# GFX10: s_cmp_lt_u32 s0, 0x3f717273 ; encoding: [0x00,0xff,0x0a,0xbf,0x73,0x72,0x71,0x3f] + +0x00,0xff,0x0a,0xbf,0x56,0x34,0x12,0xaf +# GFX10: s_cmp_lt_u32 s0, 0xaf123456 ; encoding: [0x00,0xff,0x0a,0xbf,0x56,0x34,0x12,0xaf] + +0x00,0x7f,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, exec_hi ; encoding: [0x00,0x7f,0x0a,0xbf] + +0x00,0x7e,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, exec_lo ; encoding: [0x00,0x7e,0x0a,0xbf] + +0x00,0x7c,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, m0 ; encoding: [0x00,0x7c,0x0a,0xbf] + +0x00,0x01,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, s1 ; encoding: [0x00,0x01,0x0a,0xbf] + +0x00,0x68,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, s104 ; encoding: [0x00,0x68,0x0a,0xbf] + +0x00,0x6b,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, vcc_hi ; encoding: [0x00,0x6b,0x0a,0xbf] + +0x00,0x6a,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s0, vcc_lo ; encoding: [0x00,0x6a,0x0a,0xbf] + +0x69,0x01,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s105, s1 ; encoding: [0x69,0x01,0x0a,0xbf] + +0x69,0x68,0x0a,0xbf +# GFX10: s_cmp_lt_u32 s105, s104 ; encoding: [0x69,0x68,0x0a,0xbf] + +0x6b,0x01,0x0a,0xbf +# GFX10: s_cmp_lt_u32 vcc_hi, s1 ; encoding: [0x6b,0x01,0x0a,0xbf] + +0x6a,0x01,0x0a,0xbf +# GFX10: s_cmp_lt_u32 vcc_lo, s1 ; encoding: [0x6a,0x01,0x0a,0xbf] diff --git a/tests/data/llvm-amdgpu/gfx10_sopk.txt b/tests/data/llvm-amdgpu/gfx10_sopk.txt new file mode 100644 index 0000000..2d79273 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_sopk.txt @@ -0,0 +1,616 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0x34,0x12,0xff,0xb7 +# GFX10: s_addk_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0xff,0xb7] + +0x34,0x12,0xfe,0xb7 +# GFX10: s_addk_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0xfe,0xb7] + +0x34,0x12,0xfc,0xb7 +# GFX10: s_addk_i32 m0, 0x1234 ; encoding: [0x34,0x12,0xfc,0xb7] + +0x34,0x12,0x80,0xb7 +# GFX10: s_addk_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x80,0xb7] + +0xd1,0xc1,0x80,0xb7 +# GFX10: s_addk_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xb7] + +0x34,0x12,0xe9,0xb7 +# GFX10: s_addk_i32 s105, 0x1234 ; encoding: [0x34,0x12,0xe9,0xb7] + +0x34,0x12,0xeb,0xb7 +# GFX10: s_addk_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0xeb,0xb7] + +0x34,0x12,0xea,0xb7 +# GFX10: s_addk_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0xea,0xb7] + +0x34,0x12,0x7e,0xbb +# GFX10: s_call_b64 exec, 4660 ; encoding: [0x34,0x12,0x7e,0xbb] + +0x41,0x31,0x7d,0xbb +# GFX10: s_call_b64 null, 12609 ; encoding: [0x41,0x31,0x7d,0xbb] + +0x34,0x12,0x00,0xbb +# GFX10: s_call_b64 s[0:1], 4660 ; encoding: [0x34,0x12,0x00,0xbb] + +0xd1,0xc1,0x00,0xbb +# GFX10: s_call_b64 s[0:1], 49617 ; encoding: [0xd1,0xc1,0x00,0xbb] + +0x34,0x12,0x68,0xbb +# GFX10: s_call_b64 s[104:105], 4660 ; encoding: [0x34,0x12,0x68,0xbb] + +0x34,0x12,0x6a,0xbb +# GFX10: s_call_b64 vcc, 4660 ; encoding: [0x34,0x12,0x6a,0xbb] + +0x34,0x12,0x7f,0xb1 +# GFX10: s_cmovk_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xb1] + +0x34,0x12,0x7e,0xb1 +# GFX10: s_cmovk_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xb1] + +0x34,0x12,0x7c,0xb1 +# GFX10: s_cmovk_i32 m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xb1] + +0x34,0x12,0x00,0xb1 +# GFX10: s_cmovk_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xb1] + +0xd1,0xc1,0x00,0xb1 +# GFX10: s_cmovk_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xb1] + +0x34,0x12,0x69,0xb1 +# GFX10: s_cmovk_i32 s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xb1] + +0x34,0x12,0x6b,0xb1 +# GFX10: s_cmovk_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xb1] + +0x34,0x12,0x6a,0xb1 +# GFX10: s_cmovk_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xb1] + +0x34,0x12,0xff,0xb1 +# GFX10: s_cmpk_eq_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0xff,0xb1] + +0x34,0x12,0xfe,0xb1 +# GFX10: s_cmpk_eq_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0xfe,0xb1] + +0x34,0x12,0xfc,0xb1 +# GFX10: s_cmpk_eq_i32 m0, 0x1234 ; encoding: [0x34,0x12,0xfc,0xb1] + +0x34,0x12,0x80,0xb1 +# GFX10: s_cmpk_eq_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x80,0xb1] + +0xd1,0xc1,0x80,0xb1 +# GFX10: s_cmpk_eq_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xb1] + +0x34,0x12,0xe9,0xb1 +# GFX10: s_cmpk_eq_i32 s105, 0x1234 ; encoding: [0x34,0x12,0xe9,0xb1] + +0x34,0x12,0xeb,0xb1 +# GFX10: s_cmpk_eq_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0xeb,0xb1] + +0x34,0x12,0xea,0xb1 +# GFX10: s_cmpk_eq_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0xea,0xb1] + +0x34,0x12,0xff,0xb4 +# GFX10: s_cmpk_eq_u32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0xff,0xb4] + +0x34,0x12,0xfe,0xb4 +# GFX10: s_cmpk_eq_u32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0xfe,0xb4] + +0x34,0x12,0xfc,0xb4 +# GFX10: s_cmpk_eq_u32 m0, 0x1234 ; encoding: [0x34,0x12,0xfc,0xb4] + +0x34,0x12,0x80,0xb4 +# GFX10: s_cmpk_eq_u32 s0, 0x1234 ; encoding: [0x34,0x12,0x80,0xb4] + +0xd1,0xc1,0x80,0xb4 +# GFX10: s_cmpk_eq_u32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xb4] + +0x34,0x12,0xe9,0xb4 +# GFX10: s_cmpk_eq_u32 s105, 0x1234 ; encoding: [0x34,0x12,0xe9,0xb4] + +0x34,0x12,0xeb,0xb4 +# GFX10: s_cmpk_eq_u32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0xeb,0xb4] + +0x34,0x12,0xea,0xb4 +# GFX10: s_cmpk_eq_u32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0xea,0xb4] + +0x34,0x12,0x7f,0xb3 +# GFX10: s_cmpk_ge_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xb3] + +0x34,0x12,0x7e,0xb3 +# GFX10: s_cmpk_ge_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xb3] + +0x34,0x12,0x7c,0xb3 +# GFX10: s_cmpk_ge_i32 m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xb3] + +0x34,0x12,0x00,0xb3 +# GFX10: s_cmpk_ge_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xb3] + +0xd1,0xc1,0x00,0xb3 +# GFX10: s_cmpk_ge_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xb3] + +0x34,0x12,0x69,0xb3 +# GFX10: s_cmpk_ge_i32 s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xb3] + +0x34,0x12,0x6b,0xb3 +# GFX10: s_cmpk_ge_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xb3] + +0x34,0x12,0x6a,0xb3 +# GFX10: s_cmpk_ge_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xb3] + +0x34,0x12,0x7f,0xb6 +# GFX10: s_cmpk_ge_u32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xb6] + +0x34,0x12,0x7e,0xb6 +# GFX10: s_cmpk_ge_u32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xb6] + +0x34,0x12,0x7c,0xb6 +# GFX10: s_cmpk_ge_u32 m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xb6] + +0x34,0x12,0x00,0xb6 +# GFX10: s_cmpk_ge_u32 s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xb6] + +0xd1,0xc1,0x00,0xb6 +# GFX10: s_cmpk_ge_u32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xb6] + +0x34,0x12,0x69,0xb6 +# GFX10: s_cmpk_ge_u32 s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xb6] + +0x34,0x12,0x6b,0xb6 +# GFX10: s_cmpk_ge_u32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xb6] + +0x34,0x12,0x6a,0xb6 +# GFX10: s_cmpk_ge_u32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xb6] + +0x34,0x12,0xff,0xb2 +# GFX10: s_cmpk_gt_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0xff,0xb2] + +0x34,0x12,0xfe,0xb2 +# GFX10: s_cmpk_gt_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0xfe,0xb2] + +0x34,0x12,0xfc,0xb2 +# GFX10: s_cmpk_gt_i32 m0, 0x1234 ; encoding: [0x34,0x12,0xfc,0xb2] + +0x34,0x12,0x80,0xb2 +# GFX10: s_cmpk_gt_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x80,0xb2] + +0xd1,0xc1,0x80,0xb2 +# GFX10: s_cmpk_gt_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xb2] + +0x34,0x12,0xe9,0xb2 +# GFX10: s_cmpk_gt_i32 s105, 0x1234 ; encoding: [0x34,0x12,0xe9,0xb2] + +0x34,0x12,0xeb,0xb2 +# GFX10: s_cmpk_gt_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0xeb,0xb2] + +0x34,0x12,0xea,0xb2 +# GFX10: s_cmpk_gt_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0xea,0xb2] + +0x34,0x12,0xff,0xb5 +# GFX10: s_cmpk_gt_u32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0xff,0xb5] + +0x34,0x12,0xfe,0xb5 +# GFX10: s_cmpk_gt_u32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0xfe,0xb5] + +0x34,0x12,0xfc,0xb5 +# GFX10: s_cmpk_gt_u32 m0, 0x1234 ; encoding: [0x34,0x12,0xfc,0xb5] + +0x34,0x12,0x80,0xb5 +# GFX10: s_cmpk_gt_u32 s0, 0x1234 ; encoding: [0x34,0x12,0x80,0xb5] + +0xd1,0xc1,0x80,0xb5 +# GFX10: s_cmpk_gt_u32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xb5] + +0x34,0x12,0xe9,0xb5 +# GFX10: s_cmpk_gt_u32 s105, 0x1234 ; encoding: [0x34,0x12,0xe9,0xb5] + +0x34,0x12,0xeb,0xb5 +# GFX10: s_cmpk_gt_u32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0xeb,0xb5] + +0x34,0x12,0xea,0xb5 +# GFX10: s_cmpk_gt_u32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0xea,0xb5] + +0x34,0x12,0x7f,0xb4 +# GFX10: s_cmpk_le_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xb4] + +0x34,0x12,0x7e,0xb4 +# GFX10: s_cmpk_le_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xb4] + +0x34,0x12,0x7c,0xb4 +# GFX10: s_cmpk_le_i32 m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xb4] + +0x34,0x12,0x00,0xb4 +# GFX10: s_cmpk_le_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xb4] + +0xd1,0xc1,0x00,0xb4 +# GFX10: s_cmpk_le_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xb4] + +0x34,0x12,0x69,0xb4 +# GFX10: s_cmpk_le_i32 s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xb4] + +0x34,0x12,0x6b,0xb4 +# GFX10: s_cmpk_le_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xb4] + +0x34,0x12,0x6a,0xb4 +# GFX10: s_cmpk_le_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xb4] + +0x34,0x12,0x7f,0xb7 +# GFX10: s_cmpk_le_u32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xb7] + +0x34,0x12,0x7e,0xb7 +# GFX10: s_cmpk_le_u32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xb7] + +0x34,0x12,0x7c,0xb7 +# GFX10: s_cmpk_le_u32 m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xb7] + +0x34,0x12,0x00,0xb7 +# GFX10: s_cmpk_le_u32 s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xb7] + +0xd1,0xc1,0x00,0xb7 +# GFX10: s_cmpk_le_u32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xb7] + +0x34,0x12,0x69,0xb7 +# GFX10: s_cmpk_le_u32 s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xb7] + +0x34,0x12,0x6b,0xb7 +# GFX10: s_cmpk_le_u32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xb7] + +0x34,0x12,0x6a,0xb7 +# GFX10: s_cmpk_le_u32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xb7] + +0x34,0x12,0x7f,0xb2 +# GFX10: s_cmpk_lg_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xb2] + +0x34,0x12,0x7e,0xb2 +# GFX10: s_cmpk_lg_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xb2] + +0x34,0x12,0x7c,0xb2 +# GFX10: s_cmpk_lg_i32 m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xb2] + +0x34,0x12,0x00,0xb2 +# GFX10: s_cmpk_lg_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xb2] + +0xd1,0xc1,0x00,0xb2 +# GFX10: s_cmpk_lg_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xb2] + +0x34,0x12,0x69,0xb2 +# GFX10: s_cmpk_lg_i32 s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xb2] + +0x34,0x12,0x6b,0xb2 +# GFX10: s_cmpk_lg_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xb2] + +0x34,0x12,0x6a,0xb2 +# GFX10: s_cmpk_lg_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xb2] + +0x34,0x12,0x7f,0xb5 +# GFX10: s_cmpk_lg_u32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xb5] + +0x34,0x12,0x7e,0xb5 +# GFX10: s_cmpk_lg_u32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xb5] + +0x34,0x12,0x7c,0xb5 +# GFX10: s_cmpk_lg_u32 m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xb5] + +0x34,0x12,0x00,0xb5 +# GFX10: s_cmpk_lg_u32 s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xb5] + +0xd1,0xc1,0x00,0xb5 +# GFX10: s_cmpk_lg_u32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xb5] + +0x34,0x12,0x69,0xb5 +# GFX10: s_cmpk_lg_u32 s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xb5] + +0x34,0x12,0x6b,0xb5 +# GFX10: s_cmpk_lg_u32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xb5] + +0x34,0x12,0x6a,0xb5 +# GFX10: s_cmpk_lg_u32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xb5] + +0x34,0x12,0xff,0xb3 +# GFX10: s_cmpk_lt_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0xff,0xb3] + +0x34,0x12,0xfe,0xb3 +# GFX10: s_cmpk_lt_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0xfe,0xb3] + +0x34,0x12,0xfc,0xb3 +# GFX10: s_cmpk_lt_i32 m0, 0x1234 ; encoding: [0x34,0x12,0xfc,0xb3] + +0x34,0x12,0x80,0xb3 +# GFX10: s_cmpk_lt_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x80,0xb3] + +0xd1,0xc1,0x80,0xb3 +# GFX10: s_cmpk_lt_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xb3] + +0x34,0x12,0xe9,0xb3 +# GFX10: s_cmpk_lt_i32 s105, 0x1234 ; encoding: [0x34,0x12,0xe9,0xb3] + +0x34,0x12,0xeb,0xb3 +# GFX10: s_cmpk_lt_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0xeb,0xb3] + +0x34,0x12,0xea,0xb3 +# GFX10: s_cmpk_lt_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0xea,0xb3] + +0x34,0x12,0xff,0xb6 +# GFX10: s_cmpk_lt_u32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0xff,0xb6] + +0x34,0x12,0xfe,0xb6 +# GFX10: s_cmpk_lt_u32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0xfe,0xb6] + +0x34,0x12,0xfc,0xb6 +# GFX10: s_cmpk_lt_u32 m0, 0x1234 ; encoding: [0x34,0x12,0xfc,0xb6] + +0x34,0x12,0x80,0xb6 +# GFX10: s_cmpk_lt_u32 s0, 0x1234 ; encoding: [0x34,0x12,0x80,0xb6] + +0xd1,0xc1,0x80,0xb6 +# GFX10: s_cmpk_lt_u32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xb6] + +0x34,0x12,0xe9,0xb6 +# GFX10: s_cmpk_lt_u32 s105, 0x1234 ; encoding: [0x34,0x12,0xe9,0xb6] + +0x34,0x12,0xeb,0xb6 +# GFX10: s_cmpk_lt_u32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0xeb,0xb6] + +0x34,0x12,0xea,0xb6 +# GFX10: s_cmpk_lt_u32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0xea,0xb6] + +0x34,0x12,0x7f,0xb9 +# GFX10: s_getreg_b32 exec_hi, hwreg(52, 8, 3) ; encoding: [0x34,0x12,0x7f,0xb9] + +0x34,0x12,0x7e,0xb9 +# GFX10: s_getreg_b32 exec_lo, hwreg(52, 8, 3) ; encoding: [0x34,0x12,0x7e,0xb9] + +0x34,0x12,0x7c,0xb9 +# GFX10: s_getreg_b32 m0, hwreg(52, 8, 3) ; encoding: [0x34,0x12,0x7c,0xb9] + +0x34,0x12,0x00,0xb9 +# GFX10: s_getreg_b32 s0, hwreg(52, 8, 3) ; encoding: [0x34,0x12,0x00,0xb9] + +0xd1,0xc1,0x00,0xb9 +# GFX10: s_getreg_b32 s0, hwreg(HW_REG_TBA_HI, 7, 25) ; encoding: [0xd1,0xc1,0x00,0xb9] + +0x34,0x12,0x69,0xb9 +# GFX10: s_getreg_b32 s105, hwreg(52, 8, 3) ; encoding: [0x34,0x12,0x69,0xb9] + +0x34,0x12,0x6b,0xb9 +# GFX10: s_getreg_b32 vcc_hi, hwreg(52, 8, 3) ; encoding: [0x34,0x12,0x6b,0xb9] + +0x34,0x12,0x6a,0xb9 +# GFX10: s_getreg_b32 vcc_lo, hwreg(52, 8, 3) ; encoding: [0x34,0x12,0x6a,0xb9] + +0x34,0x12,0x7f,0xb0 +# GFX10: s_movk_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xb0] + +0x34,0x12,0x7e,0xb0 +# GFX10: s_movk_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xb0] + +0x34,0x12,0x7c,0xb0 +# GFX10: s_movk_i32 m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xb0] + +0x34,0x12,0x00,0xb0 +# GFX10: s_movk_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xb0] + +0xd1,0xc1,0x00,0xb0 +# GFX10: s_movk_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xb0] + +0x34,0x12,0x69,0xb0 +# GFX10: s_movk_i32 s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xb0] + +0x34,0x12,0x6b,0xb0 +# GFX10: s_movk_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xb0] + +0x34,0x12,0x6a,0xb0 +# GFX10: s_movk_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xb0] + +0x34,0x12,0x7f,0xb8 +# GFX10: s_mulk_i32 exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xb8] + +0x34,0x12,0x7e,0xb8 +# GFX10: s_mulk_i32 exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xb8] + +0x34,0x12,0x7c,0xb8 +# GFX10: s_mulk_i32 m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xb8] + +0x34,0x12,0x00,0xb8 +# GFX10: s_mulk_i32 s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xb8] + +0xd1,0xc1,0x00,0xb8 +# GFX10: s_mulk_i32 s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xb8] + +0x34,0x12,0x69,0xb8 +# GFX10: s_mulk_i32 s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xb8] + +0x34,0x12,0x6b,0xb8 +# GFX10: s_mulk_i32 vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xb8] + +0x34,0x12,0x6a,0xb8 +# GFX10: s_mulk_i32 vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xb8] + +0x34,0x12,0xff,0xb9 +# GFX10: s_setreg_b32 hwreg(52, 8, 3), exec_hi ; encoding: [0x34,0x12,0xff,0xb9] + +0x34,0x12,0xfe,0xb9 +# GFX10: s_setreg_b32 hwreg(52, 8, 3), exec_lo ; encoding: [0x34,0x12,0xfe,0xb9] + +0x34,0x12,0xfc,0xb9 +# GFX10: s_setreg_b32 hwreg(52, 8, 3), m0 ; encoding: [0x34,0x12,0xfc,0xb9] + +0x34,0x12,0x80,0xb9 +# GFX10: s_setreg_b32 hwreg(52, 8, 3), s0 ; encoding: [0x34,0x12,0x80,0xb9] + +0x34,0x12,0xe9,0xb9 +# GFX10: s_setreg_b32 hwreg(52, 8, 3), s105 ; encoding: [0x34,0x12,0xe9,0xb9] + +0x34,0x12,0xeb,0xb9 +# GFX10: s_setreg_b32 hwreg(52, 8, 3), vcc_hi ; encoding: [0x34,0x12,0xeb,0xb9] + +0x34,0x12,0xea,0xb9 +# GFX10: s_setreg_b32 hwreg(52, 8, 3), vcc_lo ; encoding: [0x34,0x12,0xea,0xb9] + +0xd1,0xc1,0x80,0xb9 +# GFX10: s_setreg_b32 hwreg(HW_REG_TBA_HI, 7, 25), s0 ; encoding: [0xd1,0xc1,0x80,0xb9] + +0x34,0x12,0x80,0xba,0x41,0x31,0x21,0x11 +# GFX10: s_setreg_imm32_b32 hwreg(52, 8, 3), 0x11213141 ; encoding: [0x34,0x12,0x80,0xba,0x41,0x31,0x21,0x11] + +0x34,0x12,0x80,0xba,0xd1,0xc1,0xb1,0xa1 +# GFX10: s_setreg_imm32_b32 hwreg(52, 8, 3), 0xa1b1c1d1 ; encoding: [0x34,0x12,0x80,0xba,0xd1,0xc1,0xb1,0xa1] + +0xd1,0xc1,0x80,0xba,0x41,0x31,0x21,0x11 +# GFX10: s_setreg_imm32_b32 hwreg(HW_REG_TBA_HI, 7, 25), 0x11213141 ; encoding: [0xd1,0xc1,0x80,0xba,0x41,0x31,0x21,0x11] + +0xd1,0xc1,0x80,0xba,0xd1,0xc1,0xb1,0xa1 +# GFX10: s_setreg_imm32_b32 hwreg(HW_REG_TBA_HI, 7, 25), 0xa1b1c1d1 ; encoding: [0xd1,0xc1,0x80,0xba,0xd1,0xc1,0xb1,0xa1] + +0x34,0x12,0xff,0xbd +# GFX10: s_subvector_loop_begin exec_hi, 4660 ; encoding: [0x34,0x12,0xff,0xbd] + +0x34,0x12,0xfe,0xbd +# GFX10: s_subvector_loop_begin exec_lo, 4660 ; encoding: [0x34,0x12,0xfe,0xbd] + +0x34,0x12,0xfc,0xbd +# GFX10: s_subvector_loop_begin m0, 4660 ; encoding: [0x34,0x12,0xfc,0xbd] + +0x34,0x12,0x80,0xbd +# GFX10: s_subvector_loop_begin s0, 4660 ; encoding: [0x34,0x12,0x80,0xbd] + +0xd1,0xc1,0x80,0xbd +# GFX10: s_subvector_loop_begin s0, 49617 ; encoding: [0xd1,0xc1,0x80,0xbd] + +0x34,0x12,0xe9,0xbd +# GFX10: s_subvector_loop_begin s105, 4660 ; encoding: [0x34,0x12,0xe9,0xbd] + +0x34,0x12,0xeb,0xbd +# GFX10: s_subvector_loop_begin vcc_hi, 4660 ; encoding: [0x34,0x12,0xeb,0xbd] + +0x34,0x12,0xea,0xbd +# GFX10: s_subvector_loop_begin vcc_lo, 4660 ; encoding: [0x34,0x12,0xea,0xbd] + +0x34,0x12,0x7f,0xbe +# GFX10: s_subvector_loop_end exec_hi, 4660 ; encoding: [0x34,0x12,0x7f,0xbe] + +0x34,0x12,0x7e,0xbe +# GFX10: s_subvector_loop_end exec_lo, 4660 ; encoding: [0x34,0x12,0x7e,0xbe] + +0x34,0x12,0x7c,0xbe +# GFX10: s_subvector_loop_end m0, 4660 ; encoding: [0x34,0x12,0x7c,0xbe] + +0x34,0x12,0x00,0xbe +# GFX10: s_subvector_loop_end s0, 4660 ; encoding: [0x34,0x12,0x00,0xbe] + +0xd1,0xc1,0x00,0xbe +# GFX10: s_subvector_loop_end s0, 49617 ; encoding: [0xd1,0xc1,0x00,0xbe] + +0x34,0x12,0x69,0xbe +# GFX10: s_subvector_loop_end s105, 4660 ; encoding: [0x34,0x12,0x69,0xbe] + +0x34,0x12,0x6b,0xbe +# GFX10: s_subvector_loop_end vcc_hi, 4660 ; encoding: [0x34,0x12,0x6b,0xbe] + +0x34,0x12,0x6a,0xbe +# GFX10: s_subvector_loop_end vcc_lo, 4660 ; encoding: [0x34,0x12,0x6a,0xbe] + +0x34,0x12,0x80,0xb0 +# GFX10: s_version 0x1234 ; encoding: [0x34,0x12,0x80,0xb0] + +0xd1,0xc1,0x80,0xb0 +# GFX10: s_version 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xb0] + +0x34,0x12,0xff,0xbc +# GFX10: s_waitcnt_expcnt exec_hi, 0x1234 ; encoding: [0x34,0x12,0xff,0xbc] + +0x34,0x12,0xfe,0xbc +# GFX10: s_waitcnt_expcnt exec_lo, 0x1234 ; encoding: [0x34,0x12,0xfe,0xbc] + +0x34,0x12,0xfc,0xbc +# GFX10: s_waitcnt_expcnt m0, 0x1234 ; encoding: [0x34,0x12,0xfc,0xbc] + +0x34,0x12,0x80,0xbc +# GFX10: s_waitcnt_expcnt s0, 0x1234 ; encoding: [0x34,0x12,0x80,0xbc] + +0xd1,0xc1,0x80,0xbc +# GFX10: s_waitcnt_expcnt s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xbc] + +0x34,0x12,0xe9,0xbc +# GFX10: s_waitcnt_expcnt s105, 0x1234 ; encoding: [0x34,0x12,0xe9,0xbc] + +0x34,0x12,0xeb,0xbc +# GFX10: s_waitcnt_expcnt vcc_hi, 0x1234 ; encoding: [0x34,0x12,0xeb,0xbc] + +0x34,0x12,0xea,0xbc +# GFX10: s_waitcnt_expcnt vcc_lo, 0x1234 ; encoding: [0x34,0x12,0xea,0xbc] + +0x34,0x12,0x7f,0xbd +# GFX10: s_waitcnt_lgkmcnt exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xbd] + +0x34,0x12,0x7e,0xbd +# GFX10: s_waitcnt_lgkmcnt exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xbd] + +0x34,0x12,0x7c,0xbd +# GFX10: s_waitcnt_lgkmcnt m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xbd] + +0x34,0x12,0x00,0xbd +# GFX10: s_waitcnt_lgkmcnt s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xbd] + +0xd1,0xc1,0x00,0xbd +# GFX10: s_waitcnt_lgkmcnt s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xbd] + +0x34,0x12,0x69,0xbd +# GFX10: s_waitcnt_lgkmcnt s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xbd] + +0x34,0x12,0x6b,0xbd +# GFX10: s_waitcnt_lgkmcnt vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xbd] + +0x34,0x12,0x6a,0xbd +# GFX10: s_waitcnt_lgkmcnt vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xbd] + +0x34,0x12,0x7f,0xbc +# GFX10: s_waitcnt_vmcnt exec_hi, 0x1234 ; encoding: [0x34,0x12,0x7f,0xbc] + +0x34,0x12,0x7e,0xbc +# GFX10: s_waitcnt_vmcnt exec_lo, 0x1234 ; encoding: [0x34,0x12,0x7e,0xbc] + +0x34,0x12,0x7c,0xbc +# GFX10: s_waitcnt_vmcnt m0, 0x1234 ; encoding: [0x34,0x12,0x7c,0xbc] + +0x34,0x12,0x00,0xbc +# GFX10: s_waitcnt_vmcnt s0, 0x1234 ; encoding: [0x34,0x12,0x00,0xbc] + +0xd1,0xc1,0x00,0xbc +# GFX10: s_waitcnt_vmcnt s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x00,0xbc] + +0x34,0x12,0x69,0xbc +# GFX10: s_waitcnt_vmcnt s105, 0x1234 ; encoding: [0x34,0x12,0x69,0xbc] + +0x34,0x12,0x6b,0xbc +# GFX10: s_waitcnt_vmcnt vcc_hi, 0x1234 ; encoding: [0x34,0x12,0x6b,0xbc] + +0x34,0x12,0x6a,0xbc +# GFX10: s_waitcnt_vmcnt vcc_lo, 0x1234 ; encoding: [0x34,0x12,0x6a,0xbc] + +0x34,0x12,0xff,0xbb +# GFX10: s_waitcnt_vscnt exec_hi, 0x1234 ; encoding: [0x34,0x12,0xff,0xbb] + +0x34,0x12,0xfe,0xbb +# GFX10: s_waitcnt_vscnt exec_lo, 0x1234 ; encoding: [0x34,0x12,0xfe,0xbb] + +0x34,0x12,0xfc,0xbb +# GFX10: s_waitcnt_vscnt m0, 0x1234 ; encoding: [0x34,0x12,0xfc,0xbb] + +0x34,0x12,0x80,0xbb +# GFX10: s_waitcnt_vscnt s0, 0x1234 ; encoding: [0x34,0x12,0x80,0xbb] + +0xd1,0xc1,0x80,0xbb +# GFX10: s_waitcnt_vscnt s0, 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xbb] + +0x34,0x12,0xe9,0xbb +# GFX10: s_waitcnt_vscnt s105, 0x1234 ; encoding: [0x34,0x12,0xe9,0xbb] + +0x34,0x12,0xeb,0xbb +# GFX10: s_waitcnt_vscnt vcc_hi, 0x1234 ; encoding: [0x34,0x12,0xeb,0xbb] + +0x34,0x12,0xea,0xbb +# GFX10: s_waitcnt_vscnt vcc_lo, 0x1234 ; encoding: [0x34,0x12,0xea,0xbb] diff --git a/tests/data/llvm-amdgpu/gfx10_sopp.txt b/tests/data/llvm-amdgpu/gfx10_sopp.txt new file mode 100644 index 0000000..0d8e6f3 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_sopp.txt @@ -0,0 +1,341 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + +#===------------------------------------------------------------------------===# +# s_waitcnt_depctr. +#===------------------------------------------------------------------------===# + + +0x00,0x00,0x8a,0xbf +# GFX10: s_barrier ; encoding: [0x00,0x00,0x8a,0xbf] + +0x00,0x00,0x82,0xbf +# GFX10: s_branch 0 ; encoding: [0x00,0x00,0x82,0xbf] + +0x34,0x12,0x82,0xbf +# GFX10: s_branch 4660 ; encoding: [0x34,0x12,0x82,0xbf] + +0xd1,0xc1,0x82,0xbf +# GFX10: s_branch 49617 ; encoding: [0xd1,0xc1,0x82,0xbf] + +0x00,0x00,0x97,0xbf +# GFX10: s_cbranch_cdbgsys 0 ; encoding: [0x00,0x00,0x97,0xbf] + +0x34,0x12,0x97,0xbf +# GFX10: s_cbranch_cdbgsys 4660 ; encoding: [0x34,0x12,0x97,0xbf] + +0xd1,0xc1,0x97,0xbf +# GFX10: s_cbranch_cdbgsys 49617 ; encoding: [0xd1,0xc1,0x97,0xbf] + +0x00,0x00,0x9a,0xbf +# GFX10: s_cbranch_cdbgsys_and_user 0 ; encoding: [0x00,0x00,0x9a,0xbf] + +0x34,0x12,0x9a,0xbf +# GFX10: s_cbranch_cdbgsys_and_user 4660 ; encoding: [0x34,0x12,0x9a,0xbf] + +0xd1,0xc1,0x9a,0xbf +# GFX10: s_cbranch_cdbgsys_and_user 49617 ; encoding: [0xd1,0xc1,0x9a,0xbf] + +0x00,0x00,0x99,0xbf +# GFX10: s_cbranch_cdbgsys_or_user 0 ; encoding: [0x00,0x00,0x99,0xbf] + +0x34,0x12,0x99,0xbf +# GFX10: s_cbranch_cdbgsys_or_user 4660 ; encoding: [0x34,0x12,0x99,0xbf] + +0xd1,0xc1,0x99,0xbf +# GFX10: s_cbranch_cdbgsys_or_user 49617 ; encoding: [0xd1,0xc1,0x99,0xbf] + +0x00,0x00,0x98,0xbf +# GFX10: s_cbranch_cdbguser 0 ; encoding: [0x00,0x00,0x98,0xbf] + +0x34,0x12,0x98,0xbf +# GFX10: s_cbranch_cdbguser 4660 ; encoding: [0x34,0x12,0x98,0xbf] + +0xd1,0xc1,0x98,0xbf +# GFX10: s_cbranch_cdbguser 49617 ; encoding: [0xd1,0xc1,0x98,0xbf] + +0x00,0x00,0x89,0xbf +# GFX10: s_cbranch_execnz 0 ; encoding: [0x00,0x00,0x89,0xbf] + +0x34,0x12,0x89,0xbf +# GFX10: s_cbranch_execnz 4660 ; encoding: [0x34,0x12,0x89,0xbf] + +0xd1,0xc1,0x89,0xbf +# GFX10: s_cbranch_execnz 49617 ; encoding: [0xd1,0xc1,0x89,0xbf] + +0x00,0x00,0x88,0xbf +# GFX10: s_cbranch_execz 0 ; encoding: [0x00,0x00,0x88,0xbf] + +0x34,0x12,0x88,0xbf +# GFX10: s_cbranch_execz 4660 ; encoding: [0x34,0x12,0x88,0xbf] + +0xd1,0xc1,0x88,0xbf +# GFX10: s_cbranch_execz 49617 ; encoding: [0xd1,0xc1,0x88,0xbf] + +0x00,0x00,0x84,0xbf +# GFX10: s_cbranch_scc0 0 ; encoding: [0x00,0x00,0x84,0xbf] + +0x34,0x12,0x84,0xbf +# GFX10: s_cbranch_scc0 4660 ; encoding: [0x34,0x12,0x84,0xbf] + +0xd1,0xc1,0x84,0xbf +# GFX10: s_cbranch_scc0 49617 ; encoding: [0xd1,0xc1,0x84,0xbf] + +0x00,0x00,0x85,0xbf +# GFX10: s_cbranch_scc1 0 ; encoding: [0x00,0x00,0x85,0xbf] + +0x34,0x12,0x85,0xbf +# GFX10: s_cbranch_scc1 4660 ; encoding: [0x34,0x12,0x85,0xbf] + +0xd1,0xc1,0x85,0xbf +# GFX10: s_cbranch_scc1 49617 ; encoding: [0xd1,0xc1,0x85,0xbf] + +0x00,0x00,0x87,0xbf +# GFX10: s_cbranch_vccnz 0 ; encoding: [0x00,0x00,0x87,0xbf] + +0x34,0x12,0x87,0xbf +# GFX10: s_cbranch_vccnz 4660 ; encoding: [0x34,0x12,0x87,0xbf] + +0xd1,0xc1,0x87,0xbf +# GFX10: s_cbranch_vccnz 49617 ; encoding: [0xd1,0xc1,0x87,0xbf] + +0x00,0x00,0x86,0xbf +# GFX10: s_cbranch_vccz 0 ; encoding: [0x00,0x00,0x86,0xbf] + +0x34,0x12,0x86,0xbf +# GFX10: s_cbranch_vccz 4660 ; encoding: [0x34,0x12,0x86,0xbf] + +0xd1,0xc1,0x86,0xbf +# GFX10: s_cbranch_vccz 49617 ; encoding: [0xd1,0xc1,0x86,0xbf] + +0x00,0x00,0xa1,0xbf +# GFX10: s_clause 0x0 ; encoding: [0x00,0x00,0xa1,0xbf] + +0x34,0x12,0xa1,0xbf +# GFX10: s_clause 0x1234 ; encoding: [0x34,0x12,0xa1,0xbf] + +0xd1,0xc1,0xa1,0xbf +# GFX10: s_clause 0xc1d1 ; encoding: [0xd1,0xc1,0xa1,0xbf] + +0x00,0x00,0x9f,0xbf +# GFX10: s_code_end ; encoding: [0x00,0x00,0x9f,0xbf] + +0x00,0x00,0x95,0xbf +# GFX10: s_decperflevel 0 ; encoding: [0x00,0x00,0x95,0xbf] + +0x34,0x12,0x95,0xbf +# GFX10: s_decperflevel 0x1234 ; encoding: [0x34,0x12,0x95,0xbf] + +0xd1,0xc1,0x95,0xbf +# GFX10: s_decperflevel 0xc1d1 ; encoding: [0xd1,0xc1,0x95,0xbf] + +0x00,0x00,0xa5,0xbf +# GFX10: s_denorm_mode 0 ; encoding: [0x00,0x00,0xa5,0xbf] + +0x34,0x12,0xa5,0xbf +# GFX10: s_denorm_mode 0x1234 ; encoding: [0x34,0x12,0xa5,0xbf] + +0xd1,0xc1,0xa5,0xbf +# GFX10: s_denorm_mode 0xc1d1 ; encoding: [0xd1,0xc1,0xa5,0xbf] + +0x00,0x00,0x81,0xbf +# GFX10: s_endpgm ; encoding: [0x00,0x00,0x81,0xbf] + +0x01,0x00,0x81,0xbf +# GFX10: s_endpgm 1 ; encoding: [0x01,0x00,0x81,0xbf] + +0xff,0xff,0x81,0xbf +# GFX10: s_endpgm 65535 ; encoding: [0xff,0xff,0x81,0xbf] + +0x00,0x00,0x9e,0xbf +# GFX10: s_endpgm_ordered_ps_done ; encoding: [0x00,0x00,0x9e,0xbf] + +0x00,0x00,0x9b,0xbf +# GFX10: s_endpgm_saved ; encoding: [0x00,0x00,0x9b,0xbf] + +0x00,0x00,0x93,0xbf +# GFX10: s_icache_inv ; encoding: [0x00,0x00,0x93,0xbf] + +0x00,0x00,0x94,0xbf +# GFX10: s_incperflevel 0 ; encoding: [0x00,0x00,0x94,0xbf] + +0x34,0x12,0x94,0xbf +# GFX10: s_incperflevel 0x1234 ; encoding: [0x34,0x12,0x94,0xbf] + +0xd1,0xc1,0x94,0xbf +# GFX10: s_incperflevel 0xc1d1 ; encoding: [0xd1,0xc1,0x94,0xbf] + +0x00,0x00,0xa0,0xbf +# GFX10: s_inst_prefetch 0x0 ; encoding: [0x00,0x00,0xa0,0xbf] + +0x34,0x12,0xa0,0xbf +# GFX10: s_inst_prefetch 0x1234 ; encoding: [0x34,0x12,0xa0,0xbf] + +0xd1,0xc1,0xa0,0xbf +# GFX10: s_inst_prefetch 0xc1d1 ; encoding: [0xd1,0xc1,0xa0,0xbf] + +0x00,0x00,0x80,0xbf +# GFX10: s_nop 0 ; encoding: [0x00,0x00,0x80,0xbf] + +0x34,0x12,0x80,0xbf +# GFX10: s_nop 0x1234 ; encoding: [0x34,0x12,0x80,0xbf] + +0xd1,0xc1,0x80,0xbf +# GFX10: s_nop 0xc1d1 ; encoding: [0xd1,0xc1,0x80,0xbf] + +0x00,0x00,0xa4,0xbf +# GFX10: s_round_mode 0x0 ; encoding: [0x00,0x00,0xa4,0xbf] + +0x34,0x12,0xa4,0xbf +# GFX10: s_round_mode 0x1234 ; encoding: [0x34,0x12,0xa4,0xbf] + +0xd1,0xc1,0xa4,0xbf +# GFX10: s_round_mode 0xc1d1 ; encoding: [0xd1,0xc1,0xa4,0xbf] + +0x34,0x12,0x90,0xbf +# GFX10: s_sendmsg 4660 ; encoding: [0x34,0x12,0x90,0xbf] + +0xd1,0xc1,0x90,0xbf +# GFX10: s_sendmsg 49617 ; encoding: [0xd1,0xc1,0x90,0xbf] + +0x00,0x00,0x90,0xbf +# GFX10: s_sendmsg sendmsg(0, 0, 0) ; encoding: [0x00,0x00,0x90,0xbf] + +0x34,0x12,0x91,0xbf +# GFX10: s_sendmsghalt 4660 ; encoding: [0x34,0x12,0x91,0xbf] + +0xd1,0xc1,0x91,0xbf +# GFX10: s_sendmsghalt 49617 ; encoding: [0xd1,0xc1,0x91,0xbf] + +0x00,0x00,0x91,0xbf +# GFX10: s_sendmsghalt sendmsg(0, 0, 0) ; encoding: [0x00,0x00,0x91,0xbf] + +0x00,0x00,0x8d,0xbf +# GFX10: s_sethalt 0 ; encoding: [0x00,0x00,0x8d,0xbf] + +0x34,0x12,0x8d,0xbf +# GFX10: s_sethalt 0x1234 ; encoding: [0x34,0x12,0x8d,0xbf] + +0xd1,0xc1,0x8d,0xbf +# GFX10: s_sethalt 0xc1d1 ; encoding: [0xd1,0xc1,0x8d,0xbf] + +0x00,0x00,0x8b,0xbf +# GFX10: s_setkill 0 ; encoding: [0x00,0x00,0x8b,0xbf] + +0x34,0x12,0x8b,0xbf +# GFX10: s_setkill 0x1234 ; encoding: [0x34,0x12,0x8b,0xbf] + +0xd1,0xc1,0x8b,0xbf +# GFX10: s_setkill 0xc1d1 ; encoding: [0xd1,0xc1,0x8b,0xbf] + +0x00,0x00,0x8f,0xbf +# GFX10: s_setprio 0 ; encoding: [0x00,0x00,0x8f,0xbf] + +0x34,0x12,0x8f,0xbf +# GFX10: s_setprio 0x1234 ; encoding: [0x34,0x12,0x8f,0xbf] + +0xd1,0xc1,0x8f,0xbf +# GFX10: s_setprio 0xc1d1 ; encoding: [0xd1,0xc1,0x8f,0xbf] + +0x00,0x00,0x8e,0xbf +# GFX10: s_sleep 0 ; encoding: [0x00,0x00,0x8e,0xbf] + +0x34,0x12,0x8e,0xbf +# GFX10: s_sleep 0x1234 ; encoding: [0x34,0x12,0x8e,0xbf] + +0xd1,0xc1,0x8e,0xbf +# GFX10: s_sleep 0xc1d1 ; encoding: [0xd1,0xc1,0x8e,0xbf] + +0x00,0x00,0x92,0xbf +# GFX10: s_trap 0 ; encoding: [0x00,0x00,0x92,0xbf] + +0x34,0x12,0x92,0xbf +# GFX10: s_trap 0x1234 ; encoding: [0x34,0x12,0x92,0xbf] + +0xd1,0xc1,0x92,0xbf +# GFX10: s_trap 0xc1d1 ; encoding: [0xd1,0xc1,0x92,0xbf] + +0x00,0x00,0x96,0xbf +# GFX10: s_ttracedata ; encoding: [0x00,0x00,0x96,0xbf] + +0x00,0x00,0xa8,0xbf +# GFX10: s_ttracedata_imm 0x0 ; encoding: [0x00,0x00,0xa8,0xbf] + +0x34,0x12,0xa8,0xbf +# GFX10: s_ttracedata_imm 0x1234 ; encoding: [0x34,0x12,0xa8,0xbf] + +0xd1,0xc1,0xa8,0xbf +# GFX10: s_ttracedata_imm 0xc1d1 ; encoding: [0xd1,0xc1,0xa8,0xbf] + +0x00,0x00,0xa2,0xbf +# GFX10: s_wait_idle ; encoding: [0x00,0x00,0xa2,0xbf] + +0x00,0x00,0x8c,0xbf +# GFX10: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) ; encoding: [0x00,0x00,0x8c,0xbf] + +0x34,0x12,0x8c,0xbf +# GFX10: s_waitcnt vmcnt(4) expcnt(3) lgkmcnt(18) ; encoding: [0x34,0x12,0x8c,0xbf] + +0x51,0xc1,0x8c,0xbf +# GFX10: s_waitcnt vmcnt(49) expcnt(5) lgkmcnt(1) ; encoding: [0x51,0xc1,0x8c,0xbf] + +0x20,0x00,0xa3,0xbf +# GFX10: s_waitcnt_depctr 0x20 ; encoding: [0x20,0x00,0xa3,0xbf] + +0x40,0x00,0xa3,0xbf +# GFX10: s_waitcnt_depctr 0x40 ; encoding: [0x40,0x00,0xa3,0xbf] + +0x60,0x00,0xa3,0xbf +# GFX10: s_waitcnt_depctr 0x60 ; encoding: [0x60,0x00,0xa3,0xbf] + +0x80,0x00,0xa3,0xbf +# GFX10: s_waitcnt_depctr 0x80 ; encoding: [0x80,0x00,0xa3,0xbf] + +0xff,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr 0xffff ; encoding: [0xff,0xff,0xa3,0xbf] + +0x1e,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_sa_sdst(0) ; encoding: [0x1e,0xff,0xa3,0xbf] + +0x00,0x00,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_sa_sdst(0) depctr_va_vdst(0) depctr_va_sdst(0) depctr_va_ssrc(0) depctr_va_vcc(0) depctr_vm_vsrc(0) ; encoding: [0x00,0x00,0xa3,0xbf] + +0x1f,0xf1,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_sdst(0) ; encoding: [0x1f,0xf1,0xa3,0xbf] + +0x1f,0xfd,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_sdst(6) ; encoding: [0x1f,0xfd,0xa3,0xbf] + +0x1f,0xfe,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_ssrc(0) ; encoding: [0x1f,0xfe,0xa3,0xbf] + +0x1d,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vcc(0) ; encoding: [0x1d,0xff,0xa3,0xbf] + +0x1f,0x0f,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vdst(0) ; encoding: [0x1f,0x0f,0xa3,0xbf] + +0x1f,0x1f,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vdst(1) ; encoding: [0x1f,0x1f,0xa3,0xbf] + +0x07,0x13,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vdst(1) depctr_va_sdst(1) depctr_vm_vsrc(1) ; encoding: [0x07,0x13,0xa3,0xbf] + +0x1f,0xef,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vdst(14) ; encoding: [0x1f,0xef,0xa3,0xbf] + +0x1b,0xed,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_va_vdst(14) depctr_va_sdst(6) depctr_vm_vsrc(6) ; encoding: [0x1b,0xed,0xa3,0xbf] + +0x03,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_vm_vsrc(0) ; encoding: [0x03,0xff,0xa3,0xbf] + +0x07,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_vm_vsrc(1) ; encoding: [0x07,0xff,0xa3,0xbf] + +0x1b,0xff,0xa3,0xbf +# GFX10: s_waitcnt_depctr depctr_vm_vsrc(6) ; encoding: [0x1b,0xff,0xa3,0xbf] + +0x00,0x00,0x83,0xbf +# GFX10: s_wakeup ; encoding: [0x00,0x00,0x83,0xbf] diff --git a/tests/data/llvm-amdgpu/gfx10_vop1.txt b/tests/data/llvm-amdgpu/gfx10_vop1.txt new file mode 100644 index 0000000..af9443a --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_vop1.txt @@ -0,0 +1,3517 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0x01,0x71,0xfe,0x7f +# GFX10: v_bfrev_b32_e32 v255, v1 ; encoding: [0x01,0x71,0xfe,0x7f] + +0xc1,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, -1 ; encoding: [0xc1,0x70,0x0a,0x7e] + +0xf7,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, -4.0 ; encoding: [0xf7,0x70,0x0a,0x7e] + +0x80,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, 0 ; encoding: [0x80,0x70,0x0a,0x7e] + +0xf0,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, 0.5 ; encoding: [0xf0,0x70,0x0a,0x7e] + +0xff,0x70,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_bfrev_b32_e32 v5, 0x3f717273 ; encoding: [0xff,0x70,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x70,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_bfrev_b32_e32 v5, 0xaf123456 ; encoding: [0xff,0x70,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, exec_hi ; encoding: [0x7f,0x70,0x0a,0x7e] + +0x7e,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, exec_lo ; encoding: [0x7e,0x70,0x0a,0x7e] + +0x7c,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, m0 ; encoding: [0x7c,0x70,0x0a,0x7e] + +0x01,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, s1 ; encoding: [0x01,0x70,0x0a,0x7e] + +0x67,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, s103 ; encoding: [0x67,0x70,0x0a,0x7e] + +0x77,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, ttmp11 ; encoding: [0x77,0x70,0x0a,0x7e] + +0x01,0x71,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, v1 ; encoding: [0x01,0x71,0x0a,0x7e] + +0xff,0x71,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, v255 ; encoding: [0xff,0x71,0x0a,0x7e] + +0x6b,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, vcc_hi ; encoding: [0x6b,0x70,0x0a,0x7e] + +0x6a,0x70,0x0a,0x7e +# GFX10: v_bfrev_b32_e32 v5, vcc_lo ; encoding: [0x6a,0x70,0x0a,0x7e] + +0x01,0xb9,0xfe,0x7f +# GFX10: v_ceil_f16_e32 v255, v1 ; encoding: [0x01,0xb9,0xfe,0x7f] + +0xc1,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, -1 ; encoding: [0xc1,0xb8,0x0a,0x7e] + +0xf7,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, -4.0 ; encoding: [0xf7,0xb8,0x0a,0x7e] + +0x80,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, 0 ; encoding: [0x80,0xb8,0x0a,0x7e] + +0xf0,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, 0.5 ; encoding: [0xf0,0xb8,0x0a,0x7e] + +0xff,0xb8,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_ceil_f16_e32 v5, 0x3456 ; encoding: [0xff,0xb8,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xb8,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_ceil_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xb8,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, exec_hi ; encoding: [0x7f,0xb8,0x0a,0x7e] + +0x7e,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, exec_lo ; encoding: [0x7e,0xb8,0x0a,0x7e] + +0x7c,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, m0 ; encoding: [0x7c,0xb8,0x0a,0x7e] + +0x01,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, s1 ; encoding: [0x01,0xb8,0x0a,0x7e] + +0x65,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, s101 ; encoding: [0x65,0xb8,0x0a,0x7e] + +0x01,0xb9,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, v1 ; encoding: [0x01,0xb9,0x0a,0x7e] + +0xff,0xb9,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, v255 ; encoding: [0xff,0xb9,0x0a,0x7e] + +0x6b,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xb8,0x0a,0x7e] + +0x6a,0xb8,0x0a,0x7e +# GFX10: v_ceil_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xb8,0x0a,0x7e] + +0x01,0x45,0xfe,0x7f +# GFX10: v_ceil_f32_e32 v255, v1 ; encoding: [0x01,0x45,0xfe,0x7f] + +0xc1,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, -1 ; encoding: [0xc1,0x44,0x0a,0x7e] + +0xf7,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, -4.0 ; encoding: [0xf7,0x44,0x0a,0x7e] + +0x80,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, 0 ; encoding: [0x80,0x44,0x0a,0x7e] + +0xf0,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, 0.5 ; encoding: [0xf0,0x44,0x0a,0x7e] + +0xff,0x44,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_ceil_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x44,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x44,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_ceil_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x44,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, exec_hi ; encoding: [0x7f,0x44,0x0a,0x7e] + +0x7e,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, exec_lo ; encoding: [0x7e,0x44,0x0a,0x7e] + +0x7c,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, m0 ; encoding: [0x7c,0x44,0x0a,0x7e] + +0x01,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, s1 ; encoding: [0x01,0x44,0x0a,0x7e] + +0x67,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, s103 ; encoding: [0x67,0x44,0x0a,0x7e] + +0x77,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, ttmp11 ; encoding: [0x77,0x44,0x0a,0x7e] + +0x01,0x45,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, v1 ; encoding: [0x01,0x45,0x0a,0x7e] + +0xff,0x45,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, v255 ; encoding: [0xff,0x45,0x0a,0x7e] + +0x6b,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x44,0x0a,0x7e] + +0x6a,0x44,0x0a,0x7e +# GFX10: v_ceil_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x44,0x0a,0x7e] + +0x01,0x31,0xfc,0x7f +# GFX10: v_ceil_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x31,0xfc,0x7f] + +0xc1,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], -1 ; encoding: [0xc1,0x30,0x0a,0x7e] + +0xf7,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], -4.0 ; encoding: [0xf7,0x30,0x0a,0x7e] + +0x80,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], 0 ; encoding: [0x80,0x30,0x0a,0x7e] + +0xf0,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], 0.5 ; encoding: [0xf0,0x30,0x0a,0x7e] + +0xff,0x30,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_ceil_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x30,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x30,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_ceil_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x30,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], exec ; encoding: [0x7e,0x30,0x0a,0x7e] + +0x66,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], s[102:103] ; encoding: [0x66,0x30,0x0a,0x7e] + +0x02,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], s[2:3] ; encoding: [0x02,0x30,0x0a,0x7e] + +0x04,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], s[4:5] ; encoding: [0x04,0x30,0x0a,0x7e] + +0x76,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], ttmp[10:11] ; encoding: [0x76,0x30,0x0a,0x7e] + +0x01,0x31,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], v[1:2] ; encoding: [0x01,0x31,0x0a,0x7e] + +0xfe,0x31,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x31,0x0a,0x7e] + +0x6a,0x30,0x0a,0x7e +# GFX10: v_ceil_f64_e32 v[5:6], vcc ; encoding: [0x6a,0x30,0x0a,0x7e] + +0x00,0x82,0x00,0x7e +# GFX10: v_clrexcp ; encoding: [0x00,0x82,0x00,0x7e] + +0x01,0xc3,0xfe,0x7f +# GFX10: v_cos_f16_e32 v255, v1 ; encoding: [0x01,0xc3,0xfe,0x7f] + +0xc1,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, -1 ; encoding: [0xc1,0xc2,0x0a,0x7e] + +0xf7,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, -4.0 ; encoding: [0xf7,0xc2,0x0a,0x7e] + +0x80,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, 0 ; encoding: [0x80,0xc2,0x0a,0x7e] + +0xf0,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, 0.5 ; encoding: [0xf0,0xc2,0x0a,0x7e] + +0xff,0xc2,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_cos_f16_e32 v5, 0x3456 ; encoding: [0xff,0xc2,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xc2,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_cos_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xc2,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, exec_hi ; encoding: [0x7f,0xc2,0x0a,0x7e] + +0x7e,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, exec_lo ; encoding: [0x7e,0xc2,0x0a,0x7e] + +0x7c,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, m0 ; encoding: [0x7c,0xc2,0x0a,0x7e] + +0x01,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, s1 ; encoding: [0x01,0xc2,0x0a,0x7e] + +0x65,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, s101 ; encoding: [0x65,0xc2,0x0a,0x7e] + +0x01,0xc3,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, v1 ; encoding: [0x01,0xc3,0x0a,0x7e] + +0xff,0xc3,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, v255 ; encoding: [0xff,0xc3,0x0a,0x7e] + +0x6b,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xc2,0x0a,0x7e] + +0x6a,0xc2,0x0a,0x7e +# GFX10: v_cos_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xc2,0x0a,0x7e] + +0x01,0x6d,0xfe,0x7f +# GFX10: v_cos_f32_e32 v255, v1 ; encoding: [0x01,0x6d,0xfe,0x7f] + +0xc1,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, -1 ; encoding: [0xc1,0x6c,0x0a,0x7e] + +0xf7,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, -4.0 ; encoding: [0xf7,0x6c,0x0a,0x7e] + +0x80,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, 0 ; encoding: [0x80,0x6c,0x0a,0x7e] + +0xf0,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, 0.5 ; encoding: [0xf0,0x6c,0x0a,0x7e] + +0xff,0x6c,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cos_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x6c,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x6c,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cos_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x6c,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, exec_hi ; encoding: [0x7f,0x6c,0x0a,0x7e] + +0x7e,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, exec_lo ; encoding: [0x7e,0x6c,0x0a,0x7e] + +0x7c,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, m0 ; encoding: [0x7c,0x6c,0x0a,0x7e] + +0x01,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, s1 ; encoding: [0x01,0x6c,0x0a,0x7e] + +0x67,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, s103 ; encoding: [0x67,0x6c,0x0a,0x7e] + +0x77,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, ttmp11 ; encoding: [0x77,0x6c,0x0a,0x7e] + +0x01,0x6d,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, v1 ; encoding: [0x01,0x6d,0x0a,0x7e] + +0xff,0x6d,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, v255 ; encoding: [0xff,0x6d,0x0a,0x7e] + +0x6b,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x6c,0x0a,0x7e] + +0x6a,0x6c,0x0a,0x7e +# GFX10: v_cos_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x6c,0x0a,0x7e] + +0x01,0x15,0xfe,0x7f +# GFX10: v_cvt_f16_f32_e32 v255, v1 ; encoding: [0x01,0x15,0xfe,0x7f] + +0xc1,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, -1 ; encoding: [0xc1,0x14,0x0a,0x7e] + +0xf7,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, -4.0 ; encoding: [0xf7,0x14,0x0a,0x7e] + +0x80,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, 0 ; encoding: [0x80,0x14,0x0a,0x7e] + +0xf0,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, 0.5 ; encoding: [0xf0,0x14,0x0a,0x7e] + +0xff,0x14,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f16_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x14,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x14,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f16_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x14,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, exec_hi ; encoding: [0x7f,0x14,0x0a,0x7e] + +0x7e,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, exec_lo ; encoding: [0x7e,0x14,0x0a,0x7e] + +0x7c,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, m0 ; encoding: [0x7c,0x14,0x0a,0x7e] + +0x01,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, s1 ; encoding: [0x01,0x14,0x0a,0x7e] + +0x67,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, s103 ; encoding: [0x67,0x14,0x0a,0x7e] + +0x77,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, ttmp11 ; encoding: [0x77,0x14,0x0a,0x7e] + +0x01,0x15,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, v1 ; encoding: [0x01,0x15,0x0a,0x7e] + +0xff,0x15,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, v255 ; encoding: [0xff,0x15,0x0a,0x7e] + +0x6b,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x14,0x0a,0x7e] + +0x6a,0x14,0x0a,0x7e +# GFX10: v_cvt_f16_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x14,0x0a,0x7e] + +0x01,0xa3,0xfe,0x7f +# GFX10: v_cvt_f16_i16_e32 v255, v1 ; encoding: [0x01,0xa3,0xfe,0x7f] + +0xc1,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, -1 ; encoding: [0xc1,0xa2,0x0a,0x7e] + +0xf7,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, -4.0 ; encoding: [0xf7,0xa2,0x0a,0x7e] + +0x80,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, 0 ; encoding: [0x80,0xa2,0x0a,0x7e] + +0xf0,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, 0.5 ; encoding: [0xf0,0xa2,0x0a,0x7e] + +0xff,0xa2,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_cvt_f16_i16_e32 v5, 0x3456 ; encoding: [0xff,0xa2,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xa2,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_cvt_f16_i16_e32 v5, 0xfe0b ; encoding: [0xff,0xa2,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, exec_hi ; encoding: [0x7f,0xa2,0x0a,0x7e] + +0x7e,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, exec_lo ; encoding: [0x7e,0xa2,0x0a,0x7e] + +0x7c,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, m0 ; encoding: [0x7c,0xa2,0x0a,0x7e] + +0x01,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, s1 ; encoding: [0x01,0xa2,0x0a,0x7e] + +0x65,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, s101 ; encoding: [0x65,0xa2,0x0a,0x7e] + +0x01,0xa3,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, v1 ; encoding: [0x01,0xa3,0x0a,0x7e] + +0xff,0xa3,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, v255 ; encoding: [0xff,0xa3,0x0a,0x7e] + +0x6b,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, vcc_hi ; encoding: [0x6b,0xa2,0x0a,0x7e] + +0x6a,0xa2,0x0a,0x7e +# GFX10: v_cvt_f16_i16_e32 v5, vcc_lo ; encoding: [0x6a,0xa2,0x0a,0x7e] + +0x01,0xa1,0xfe,0x7f +# GFX10: v_cvt_f16_u16_e32 v255, v1 ; encoding: [0x01,0xa1,0xfe,0x7f] + +0xc1,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, -1 ; encoding: [0xc1,0xa0,0x0a,0x7e] + +0xf7,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, -4.0 ; encoding: [0xf7,0xa0,0x0a,0x7e] + +0x80,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, 0 ; encoding: [0x80,0xa0,0x0a,0x7e] + +0xf0,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, 0.5 ; encoding: [0xf0,0xa0,0x0a,0x7e] + +0xff,0xa0,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_cvt_f16_u16_e32 v5, 0x3456 ; encoding: [0xff,0xa0,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xa0,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_cvt_f16_u16_e32 v5, 0xfe0b ; encoding: [0xff,0xa0,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, exec_hi ; encoding: [0x7f,0xa0,0x0a,0x7e] + +0x7e,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, exec_lo ; encoding: [0x7e,0xa0,0x0a,0x7e] + +0x7c,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, m0 ; encoding: [0x7c,0xa0,0x0a,0x7e] + +0x01,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, s1 ; encoding: [0x01,0xa0,0x0a,0x7e] + +0x65,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, s101 ; encoding: [0x65,0xa0,0x0a,0x7e] + +0x01,0xa1,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, v1 ; encoding: [0x01,0xa1,0x0a,0x7e] + +0xff,0xa1,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, v255 ; encoding: [0xff,0xa1,0x0a,0x7e] + +0x6b,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, vcc_hi ; encoding: [0x6b,0xa0,0x0a,0x7e] + +0x6a,0xa0,0x0a,0x7e +# GFX10: v_cvt_f16_u16_e32 v5, vcc_lo ; encoding: [0x6a,0xa0,0x0a,0x7e] + +0x01,0x17,0xfe,0x7f +# GFX10: v_cvt_f32_f16_e32 v255, v1 ; encoding: [0x01,0x17,0xfe,0x7f] + +0xc1,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, -1 ; encoding: [0xc1,0x16,0x0a,0x7e] + +0x80,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, 0 ; encoding: [0x80,0x16,0x0a,0x7e] + +0x7f,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, exec_hi ; encoding: [0x7f,0x16,0x0a,0x7e] + +0x7e,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, exec_lo ; encoding: [0x7e,0x16,0x0a,0x7e] + +0x7c,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, m0 ; encoding: [0x7c,0x16,0x0a,0x7e] + +0x01,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, s1 ; encoding: [0x01,0x16,0x0a,0x7e] + +0x67,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, s103 ; encoding: [0x67,0x16,0x0a,0x7e] + +0x77,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, ttmp11 ; encoding: [0x77,0x16,0x0a,0x7e] + +0x01,0x17,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, v1 ; encoding: [0x01,0x17,0x0a,0x7e] + +0xff,0x17,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, v255 ; encoding: [0xff,0x17,0x0a,0x7e] + +0x6b,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, vcc_hi ; encoding: [0x6b,0x16,0x0a,0x7e] + +0x6a,0x16,0x0a,0x7e +# GFX10: v_cvt_f32_f16_e32 v5, vcc_lo ; encoding: [0x6a,0x16,0x0a,0x7e] + +0x01,0x1f,0xfe,0x7f +# GFX10: v_cvt_f32_f64_e32 v255, v[1:2] ; encoding: [0x01,0x1f,0xfe,0x7f] + +0xc1,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, -1 ; encoding: [0xc1,0x1e,0x0a,0x7e] + +0xf7,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, -4.0 ; encoding: [0xf7,0x1e,0x0a,0x7e] + +0x80,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, 0 ; encoding: [0x80,0x1e,0x0a,0x7e] + +0xf0,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, 0.5 ; encoding: [0xf0,0x1e,0x0a,0x7e] + +0xff,0x1e,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f32_f64_e32 v5, 0x3f717273 ; encoding: [0xff,0x1e,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x1e,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f32_f64_e32 v5, 0xaf123456 ; encoding: [0xff,0x1e,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, exec ; encoding: [0x7e,0x1e,0x0a,0x7e] + +0x66,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, s[102:103] ; encoding: [0x66,0x1e,0x0a,0x7e] + +0x02,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, s[2:3] ; encoding: [0x02,0x1e,0x0a,0x7e] + +0x04,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, s[4:5] ; encoding: [0x04,0x1e,0x0a,0x7e] + +0x76,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, ttmp[10:11] ; encoding: [0x76,0x1e,0x0a,0x7e] + +0x01,0x1f,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, v[1:2] ; encoding: [0x01,0x1f,0x0a,0x7e] + +0xfe,0x1f,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, v[254:255] ; encoding: [0xfe,0x1f,0x0a,0x7e] + +0x6a,0x1e,0x0a,0x7e +# GFX10: v_cvt_f32_f64_e32 v5, vcc ; encoding: [0x6a,0x1e,0x0a,0x7e] + +0x01,0x0b,0xfe,0x7f +# GFX10: v_cvt_f32_i32_e32 v255, v1 ; encoding: [0x01,0x0b,0xfe,0x7f] + +0xc1,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, -1 ; encoding: [0xc1,0x0a,0x0a,0x7e] + +0xf7,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, -4.0 ; encoding: [0xf7,0x0a,0x0a,0x7e] + +0x80,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, 0 ; encoding: [0x80,0x0a,0x0a,0x7e] + +0xf0,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, 0.5 ; encoding: [0xf0,0x0a,0x0a,0x7e] + +0xff,0x0a,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f32_i32_e32 v5, 0x3f717273 ; encoding: [0xff,0x0a,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x0a,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f32_i32_e32 v5, 0xaf123456 ; encoding: [0xff,0x0a,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, exec_hi ; encoding: [0x7f,0x0a,0x0a,0x7e] + +0x7e,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, exec_lo ; encoding: [0x7e,0x0a,0x0a,0x7e] + +0x7c,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, m0 ; encoding: [0x7c,0x0a,0x0a,0x7e] + +0x01,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, s1 ; encoding: [0x01,0x0a,0x0a,0x7e] + +0x67,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, s103 ; encoding: [0x67,0x0a,0x0a,0x7e] + +0x77,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, ttmp11 ; encoding: [0x77,0x0a,0x0a,0x7e] + +0x01,0x0b,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, v1 ; encoding: [0x01,0x0b,0x0a,0x7e] + +0xff,0x0b,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, v255 ; encoding: [0xff,0x0b,0x0a,0x7e] + +0x6b,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, vcc_hi ; encoding: [0x6b,0x0a,0x0a,0x7e] + +0x6a,0x0a,0x0a,0x7e +# GFX10: v_cvt_f32_i32_e32 v5, vcc_lo ; encoding: [0x6a,0x0a,0x0a,0x7e] + +0x01,0x0d,0xfe,0x7f +# GFX10: v_cvt_f32_u32_e32 v255, v1 ; encoding: [0x01,0x0d,0xfe,0x7f] + +0xc1,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, -1 ; encoding: [0xc1,0x0c,0x0a,0x7e] + +0xf7,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, -4.0 ; encoding: [0xf7,0x0c,0x0a,0x7e] + +0x80,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, 0 ; encoding: [0x80,0x0c,0x0a,0x7e] + +0xf0,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, 0.5 ; encoding: [0xf0,0x0c,0x0a,0x7e] + +0xff,0x0c,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f32_u32_e32 v5, 0x3f717273 ; encoding: [0xff,0x0c,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x0c,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f32_u32_e32 v5, 0xaf123456 ; encoding: [0xff,0x0c,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, exec_hi ; encoding: [0x7f,0x0c,0x0a,0x7e] + +0x7e,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, exec_lo ; encoding: [0x7e,0x0c,0x0a,0x7e] + +0x7c,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, m0 ; encoding: [0x7c,0x0c,0x0a,0x7e] + +0x01,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, s1 ; encoding: [0x01,0x0c,0x0a,0x7e] + +0x67,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, s103 ; encoding: [0x67,0x0c,0x0a,0x7e] + +0x77,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, ttmp11 ; encoding: [0x77,0x0c,0x0a,0x7e] + +0x01,0x0d,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, v1 ; encoding: [0x01,0x0d,0x0a,0x7e] + +0xff,0x0d,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, v255 ; encoding: [0xff,0x0d,0x0a,0x7e] + +0x6b,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, vcc_hi ; encoding: [0x6b,0x0c,0x0a,0x7e] + +0x6a,0x0c,0x0a,0x7e +# GFX10: v_cvt_f32_u32_e32 v5, vcc_lo ; encoding: [0x6a,0x0c,0x0a,0x7e] + +0x01,0x23,0xfe,0x7f +# GFX10: v_cvt_f32_ubyte0_e32 v255, v1 ; encoding: [0x01,0x23,0xfe,0x7f] + +0xc1,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, -1 ; encoding: [0xc1,0x22,0x0a,0x7e] + +0xf7,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, -4.0 ; encoding: [0xf7,0x22,0x0a,0x7e] + +0x80,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, 0 ; encoding: [0x80,0x22,0x0a,0x7e] + +0xf0,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, 0.5 ; encoding: [0xf0,0x22,0x0a,0x7e] + +0xff,0x22,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f32_ubyte0_e32 v5, 0x3f717273 ; encoding: [0xff,0x22,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x22,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f32_ubyte0_e32 v5, 0xaf123456 ; encoding: [0xff,0x22,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, exec_hi ; encoding: [0x7f,0x22,0x0a,0x7e] + +0x7e,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, exec_lo ; encoding: [0x7e,0x22,0x0a,0x7e] + +0x7c,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, m0 ; encoding: [0x7c,0x22,0x0a,0x7e] + +0x01,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, s1 ; encoding: [0x01,0x22,0x0a,0x7e] + +0x67,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, s103 ; encoding: [0x67,0x22,0x0a,0x7e] + +0x77,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, ttmp11 ; encoding: [0x77,0x22,0x0a,0x7e] + +0x01,0x23,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, v1 ; encoding: [0x01,0x23,0x0a,0x7e] + +0xff,0x23,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, v255 ; encoding: [0xff,0x23,0x0a,0x7e] + +0x6b,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, vcc_hi ; encoding: [0x6b,0x22,0x0a,0x7e] + +0x6a,0x22,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte0_e32 v5, vcc_lo ; encoding: [0x6a,0x22,0x0a,0x7e] + +0x01,0x25,0xfe,0x7f +# GFX10: v_cvt_f32_ubyte1_e32 v255, v1 ; encoding: [0x01,0x25,0xfe,0x7f] + +0xc1,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, -1 ; encoding: [0xc1,0x24,0x0a,0x7e] + +0xf7,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, -4.0 ; encoding: [0xf7,0x24,0x0a,0x7e] + +0x80,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, 0 ; encoding: [0x80,0x24,0x0a,0x7e] + +0xf0,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, 0.5 ; encoding: [0xf0,0x24,0x0a,0x7e] + +0xff,0x24,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f32_ubyte1_e32 v5, 0x3f717273 ; encoding: [0xff,0x24,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x24,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f32_ubyte1_e32 v5, 0xaf123456 ; encoding: [0xff,0x24,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, exec_hi ; encoding: [0x7f,0x24,0x0a,0x7e] + +0x7e,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, exec_lo ; encoding: [0x7e,0x24,0x0a,0x7e] + +0x7c,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, m0 ; encoding: [0x7c,0x24,0x0a,0x7e] + +0x01,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, s1 ; encoding: [0x01,0x24,0x0a,0x7e] + +0x67,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, s103 ; encoding: [0x67,0x24,0x0a,0x7e] + +0x77,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, ttmp11 ; encoding: [0x77,0x24,0x0a,0x7e] + +0x01,0x25,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, v1 ; encoding: [0x01,0x25,0x0a,0x7e] + +0xff,0x25,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, v255 ; encoding: [0xff,0x25,0x0a,0x7e] + +0x6b,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, vcc_hi ; encoding: [0x6b,0x24,0x0a,0x7e] + +0x6a,0x24,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte1_e32 v5, vcc_lo ; encoding: [0x6a,0x24,0x0a,0x7e] + +0x01,0x27,0xfe,0x7f +# GFX10: v_cvt_f32_ubyte2_e32 v255, v1 ; encoding: [0x01,0x27,0xfe,0x7f] + +0xc1,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, -1 ; encoding: [0xc1,0x26,0x0a,0x7e] + +0xf7,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, -4.0 ; encoding: [0xf7,0x26,0x0a,0x7e] + +0x80,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, 0 ; encoding: [0x80,0x26,0x0a,0x7e] + +0xf0,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, 0.5 ; encoding: [0xf0,0x26,0x0a,0x7e] + +0xff,0x26,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f32_ubyte2_e32 v5, 0x3f717273 ; encoding: [0xff,0x26,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x26,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f32_ubyte2_e32 v5, 0xaf123456 ; encoding: [0xff,0x26,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, exec_hi ; encoding: [0x7f,0x26,0x0a,0x7e] + +0x7e,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, exec_lo ; encoding: [0x7e,0x26,0x0a,0x7e] + +0x7c,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, m0 ; encoding: [0x7c,0x26,0x0a,0x7e] + +0x01,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, s1 ; encoding: [0x01,0x26,0x0a,0x7e] + +0x67,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, s103 ; encoding: [0x67,0x26,0x0a,0x7e] + +0x77,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, ttmp11 ; encoding: [0x77,0x26,0x0a,0x7e] + +0x01,0x27,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, v1 ; encoding: [0x01,0x27,0x0a,0x7e] + +0xff,0x27,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, v255 ; encoding: [0xff,0x27,0x0a,0x7e] + +0x6b,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, vcc_hi ; encoding: [0x6b,0x26,0x0a,0x7e] + +0x6a,0x26,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte2_e32 v5, vcc_lo ; encoding: [0x6a,0x26,0x0a,0x7e] + +0x01,0x29,0xfe,0x7f +# GFX10: v_cvt_f32_ubyte3_e32 v255, v1 ; encoding: [0x01,0x29,0xfe,0x7f] + +0xc1,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, -1 ; encoding: [0xc1,0x28,0x0a,0x7e] + +0xf7,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, -4.0 ; encoding: [0xf7,0x28,0x0a,0x7e] + +0x80,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, 0 ; encoding: [0x80,0x28,0x0a,0x7e] + +0xf0,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, 0.5 ; encoding: [0xf0,0x28,0x0a,0x7e] + +0xff,0x28,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f32_ubyte3_e32 v5, 0x3f717273 ; encoding: [0xff,0x28,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x28,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f32_ubyte3_e32 v5, 0xaf123456 ; encoding: [0xff,0x28,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, exec_hi ; encoding: [0x7f,0x28,0x0a,0x7e] + +0x7e,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, exec_lo ; encoding: [0x7e,0x28,0x0a,0x7e] + +0x7c,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, m0 ; encoding: [0x7c,0x28,0x0a,0x7e] + +0x01,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, s1 ; encoding: [0x01,0x28,0x0a,0x7e] + +0x67,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, s103 ; encoding: [0x67,0x28,0x0a,0x7e] + +0x77,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, ttmp11 ; encoding: [0x77,0x28,0x0a,0x7e] + +0x01,0x29,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, v1 ; encoding: [0x01,0x29,0x0a,0x7e] + +0xff,0x29,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, v255 ; encoding: [0xff,0x29,0x0a,0x7e] + +0x6b,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, vcc_hi ; encoding: [0x6b,0x28,0x0a,0x7e] + +0x6a,0x28,0x0a,0x7e +# GFX10: v_cvt_f32_ubyte3_e32 v5, vcc_lo ; encoding: [0x6a,0x28,0x0a,0x7e] + +0x01,0x21,0xfc,0x7f +# GFX10: v_cvt_f64_f32_e32 v[254:255], v1 ; encoding: [0x01,0x21,0xfc,0x7f] + +0xc1,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], -1 ; encoding: [0xc1,0x20,0x0a,0x7e] + +0xf7,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], -4.0 ; encoding: [0xf7,0x20,0x0a,0x7e] + +0x80,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], 0 ; encoding: [0x80,0x20,0x0a,0x7e] + +0xf0,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], 0.5 ; encoding: [0xf0,0x20,0x0a,0x7e] + +0xff,0x20,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f64_f32_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x20,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x20,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f64_f32_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x20,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], exec_hi ; encoding: [0x7f,0x20,0x0a,0x7e] + +0x7e,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], exec_lo ; encoding: [0x7e,0x20,0x0a,0x7e] + +0x7c,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], m0 ; encoding: [0x7c,0x20,0x0a,0x7e] + +0x01,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], s1 ; encoding: [0x01,0x20,0x0a,0x7e] + +0x67,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], s103 ; encoding: [0x67,0x20,0x0a,0x7e] + +0x77,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], ttmp11 ; encoding: [0x77,0x20,0x0a,0x7e] + +0x01,0x21,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], v1 ; encoding: [0x01,0x21,0x0a,0x7e] + +0xff,0x21,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], v255 ; encoding: [0xff,0x21,0x0a,0x7e] + +0x6b,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], vcc_hi ; encoding: [0x6b,0x20,0x0a,0x7e] + +0x6a,0x20,0x0a,0x7e +# GFX10: v_cvt_f64_f32_e32 v[5:6], vcc_lo ; encoding: [0x6a,0x20,0x0a,0x7e] + +0x01,0x09,0xfc,0x7f +# GFX10: v_cvt_f64_i32_e32 v[254:255], v1 ; encoding: [0x01,0x09,0xfc,0x7f] + +0xc1,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], -1 ; encoding: [0xc1,0x08,0x0a,0x7e] + +0xf7,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], -4.0 ; encoding: [0xf7,0x08,0x0a,0x7e] + +0x80,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], 0 ; encoding: [0x80,0x08,0x0a,0x7e] + +0xf0,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], 0.5 ; encoding: [0xf0,0x08,0x0a,0x7e] + +0xff,0x08,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f64_i32_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x08,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x08,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f64_i32_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x08,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], exec_hi ; encoding: [0x7f,0x08,0x0a,0x7e] + +0x7e,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], exec_lo ; encoding: [0x7e,0x08,0x0a,0x7e] + +0x7c,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], m0 ; encoding: [0x7c,0x08,0x0a,0x7e] + +0x01,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], s1 ; encoding: [0x01,0x08,0x0a,0x7e] + +0x67,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], s103 ; encoding: [0x67,0x08,0x0a,0x7e] + +0x77,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], ttmp11 ; encoding: [0x77,0x08,0x0a,0x7e] + +0x01,0x09,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], v1 ; encoding: [0x01,0x09,0x0a,0x7e] + +0xff,0x09,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], v255 ; encoding: [0xff,0x09,0x0a,0x7e] + +0x6b,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], vcc_hi ; encoding: [0x6b,0x08,0x0a,0x7e] + +0x6a,0x08,0x0a,0x7e +# GFX10: v_cvt_f64_i32_e32 v[5:6], vcc_lo ; encoding: [0x6a,0x08,0x0a,0x7e] + +0x01,0x2d,0xfc,0x7f +# GFX10: v_cvt_f64_u32_e32 v[254:255], v1 ; encoding: [0x01,0x2d,0xfc,0x7f] + +0xc1,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], -1 ; encoding: [0xc1,0x2c,0x0a,0x7e] + +0xf7,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], -4.0 ; encoding: [0xf7,0x2c,0x0a,0x7e] + +0x80,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], 0 ; encoding: [0x80,0x2c,0x0a,0x7e] + +0xf0,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], 0.5 ; encoding: [0xf0,0x2c,0x0a,0x7e] + +0xff,0x2c,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_f64_u32_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x2c,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x2c,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_f64_u32_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x2c,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], exec_hi ; encoding: [0x7f,0x2c,0x0a,0x7e] + +0x7e,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], exec_lo ; encoding: [0x7e,0x2c,0x0a,0x7e] + +0x7c,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], m0 ; encoding: [0x7c,0x2c,0x0a,0x7e] + +0x01,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], s1 ; encoding: [0x01,0x2c,0x0a,0x7e] + +0x67,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], s103 ; encoding: [0x67,0x2c,0x0a,0x7e] + +0x77,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], ttmp11 ; encoding: [0x77,0x2c,0x0a,0x7e] + +0x01,0x2d,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], v1 ; encoding: [0x01,0x2d,0x0a,0x7e] + +0xff,0x2d,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], v255 ; encoding: [0xff,0x2d,0x0a,0x7e] + +0x6b,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], vcc_hi ; encoding: [0x6b,0x2c,0x0a,0x7e] + +0x6a,0x2c,0x0a,0x7e +# GFX10: v_cvt_f64_u32_e32 v[5:6], vcc_lo ; encoding: [0x6a,0x2c,0x0a,0x7e] + +0x01,0x1b,0xfe,0x7f +# GFX10: v_cvt_flr_i32_f32_e32 v255, v1 ; encoding: [0x01,0x1b,0xfe,0x7f] + +0xc1,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, -1 ; encoding: [0xc1,0x1a,0x0a,0x7e] + +0xf7,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, -4.0 ; encoding: [0xf7,0x1a,0x0a,0x7e] + +0x80,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, 0 ; encoding: [0x80,0x1a,0x0a,0x7e] + +0xf0,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, 0.5 ; encoding: [0xf0,0x1a,0x0a,0x7e] + +0xff,0x1a,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_flr_i32_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x1a,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x1a,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_flr_i32_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x1a,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, exec_hi ; encoding: [0x7f,0x1a,0x0a,0x7e] + +0x7e,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, exec_lo ; encoding: [0x7e,0x1a,0x0a,0x7e] + +0x7c,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, m0 ; encoding: [0x7c,0x1a,0x0a,0x7e] + +0x01,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, s1 ; encoding: [0x01,0x1a,0x0a,0x7e] + +0x67,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, s103 ; encoding: [0x67,0x1a,0x0a,0x7e] + +0x77,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, ttmp11 ; encoding: [0x77,0x1a,0x0a,0x7e] + +0x01,0x1b,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, v1 ; encoding: [0x01,0x1b,0x0a,0x7e] + +0xff,0x1b,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, v255 ; encoding: [0xff,0x1b,0x0a,0x7e] + +0x6b,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x1a,0x0a,0x7e] + +0x6a,0x1a,0x0a,0x7e +# GFX10: v_cvt_flr_i32_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x1a,0x0a,0x7e] + +0x01,0xa7,0xfe,0x7f +# GFX10: v_cvt_i16_f16_e32 v255, v1 ; encoding: [0x01,0xa7,0xfe,0x7f] + +0xc1,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, -1 ; encoding: [0xc1,0xa6,0x0a,0x7e] + +0xf7,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, -4.0 ; encoding: [0xf7,0xa6,0x0a,0x7e] + +0x80,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, 0 ; encoding: [0x80,0xa6,0x0a,0x7e] + +0xf0,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, 0.5 ; encoding: [0xf0,0xa6,0x0a,0x7e] + +0xff,0xa6,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_cvt_i16_f16_e32 v5, 0x3456 ; encoding: [0xff,0xa6,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xa6,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_cvt_i16_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xa6,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, exec_hi ; encoding: [0x7f,0xa6,0x0a,0x7e] + +0x7e,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, exec_lo ; encoding: [0x7e,0xa6,0x0a,0x7e] + +0x7c,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, m0 ; encoding: [0x7c,0xa6,0x0a,0x7e] + +0x01,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, s1 ; encoding: [0x01,0xa6,0x0a,0x7e] + +0x65,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, s101 ; encoding: [0x65,0xa6,0x0a,0x7e] + +0x01,0xa7,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, v1 ; encoding: [0x01,0xa7,0x0a,0x7e] + +0xff,0xa7,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, v255 ; encoding: [0xff,0xa7,0x0a,0x7e] + +0x6b,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xa6,0x0a,0x7e] + +0x6a,0xa6,0x0a,0x7e +# GFX10: v_cvt_i16_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xa6,0x0a,0x7e] + +0x01,0x11,0xfe,0x7f +# GFX10: v_cvt_i32_f32_e32 v255, v1 ; encoding: [0x01,0x11,0xfe,0x7f] + +0xc1,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, -1 ; encoding: [0xc1,0x10,0x0a,0x7e] + +0xf7,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, -4.0 ; encoding: [0xf7,0x10,0x0a,0x7e] + +0x80,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, 0 ; encoding: [0x80,0x10,0x0a,0x7e] + +0xf0,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, 0.5 ; encoding: [0xf0,0x10,0x0a,0x7e] + +0xff,0x10,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_i32_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x10,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x10,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_i32_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x10,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, exec_hi ; encoding: [0x7f,0x10,0x0a,0x7e] + +0x7e,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, exec_lo ; encoding: [0x7e,0x10,0x0a,0x7e] + +0x7c,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, m0 ; encoding: [0x7c,0x10,0x0a,0x7e] + +0x01,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, s1 ; encoding: [0x01,0x10,0x0a,0x7e] + +0x67,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, s103 ; encoding: [0x67,0x10,0x0a,0x7e] + +0x77,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, ttmp11 ; encoding: [0x77,0x10,0x0a,0x7e] + +0x01,0x11,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, v1 ; encoding: [0x01,0x11,0x0a,0x7e] + +0xff,0x11,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, v255 ; encoding: [0xff,0x11,0x0a,0x7e] + +0x6b,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x10,0x0a,0x7e] + +0x6a,0x10,0x0a,0x7e +# GFX10: v_cvt_i32_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x10,0x0a,0x7e] + +0x01,0x07,0xfe,0x7f +# GFX10: v_cvt_i32_f64_e32 v255, v[1:2] ; encoding: [0x01,0x07,0xfe,0x7f] + +0xc1,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, -1 ; encoding: [0xc1,0x06,0x0a,0x7e] + +0xf7,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, -4.0 ; encoding: [0xf7,0x06,0x0a,0x7e] + +0x80,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, 0 ; encoding: [0x80,0x06,0x0a,0x7e] + +0xf0,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, 0.5 ; encoding: [0xf0,0x06,0x0a,0x7e] + +0xff,0x06,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_i32_f64_e32 v5, 0x3f717273 ; encoding: [0xff,0x06,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x06,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_i32_f64_e32 v5, 0xaf123456 ; encoding: [0xff,0x06,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, exec ; encoding: [0x7e,0x06,0x0a,0x7e] + +0x66,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, s[102:103] ; encoding: [0x66,0x06,0x0a,0x7e] + +0x02,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, s[2:3] ; encoding: [0x02,0x06,0x0a,0x7e] + +0x04,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, s[4:5] ; encoding: [0x04,0x06,0x0a,0x7e] + +0x76,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, ttmp[10:11] ; encoding: [0x76,0x06,0x0a,0x7e] + +0x01,0x07,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, v[1:2] ; encoding: [0x01,0x07,0x0a,0x7e] + +0xfe,0x07,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, v[254:255] ; encoding: [0xfe,0x07,0x0a,0x7e] + +0x6a,0x06,0x0a,0x7e +# GFX10: v_cvt_i32_f64_e32 v5, vcc ; encoding: [0x6a,0x06,0x0a,0x7e] + +0x01,0xc7,0xfe,0x7f +# GFX10: v_cvt_norm_i16_f16_e32 v255, v1 ; encoding: [0x01,0xc7,0xfe,0x7f] + +0xc1,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, -1 ; encoding: [0xc1,0xc6,0x0a,0x7e] + +0xf7,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, -4.0 ; encoding: [0xf7,0xc6,0x0a,0x7e] + +0x80,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, 0 ; encoding: [0x80,0xc6,0x0a,0x7e] + +0xf0,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, 0.5 ; encoding: [0xf0,0xc6,0x0a,0x7e] + +0xff,0xc6,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e32 v5, 0x3456 ; encoding: [0xff,0xc6,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xc6,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xc6,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, exec_hi ; encoding: [0x7f,0xc6,0x0a,0x7e] + +0x7e,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, exec_lo ; encoding: [0x7e,0xc6,0x0a,0x7e] + +0x7c,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, m0 ; encoding: [0x7c,0xc6,0x0a,0x7e] + +0x01,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, s1 ; encoding: [0x01,0xc6,0x0a,0x7e] + +0x65,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, s101 ; encoding: [0x65,0xc6,0x0a,0x7e] + +0x01,0xc7,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, v1 ; encoding: [0x01,0xc7,0x0a,0x7e] + +0xff,0xc7,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, v255 ; encoding: [0xff,0xc7,0x0a,0x7e] + +0x6b,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xc6,0x0a,0x7e] + +0x6a,0xc6,0x0a,0x7e +# GFX10: v_cvt_norm_i16_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xc6,0x0a,0x7e] + +0x01,0xc9,0xfe,0x7f +# GFX10: v_cvt_norm_u16_f16_e32 v255, v1 ; encoding: [0x01,0xc9,0xfe,0x7f] + +0xc1,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, -1 ; encoding: [0xc1,0xc8,0x0a,0x7e] + +0xf7,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, -4.0 ; encoding: [0xf7,0xc8,0x0a,0x7e] + +0x80,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, 0 ; encoding: [0x80,0xc8,0x0a,0x7e] + +0xf0,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, 0.5 ; encoding: [0xf0,0xc8,0x0a,0x7e] + +0xff,0xc8,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e32 v5, 0x3456 ; encoding: [0xff,0xc8,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xc8,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xc8,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, exec_hi ; encoding: [0x7f,0xc8,0x0a,0x7e] + +0x7e,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, exec_lo ; encoding: [0x7e,0xc8,0x0a,0x7e] + +0x7c,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, m0 ; encoding: [0x7c,0xc8,0x0a,0x7e] + +0x01,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, s1 ; encoding: [0x01,0xc8,0x0a,0x7e] + +0x65,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, s101 ; encoding: [0x65,0xc8,0x0a,0x7e] + +0x01,0xc9,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, v1 ; encoding: [0x01,0xc9,0x0a,0x7e] + +0xff,0xc9,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, v255 ; encoding: [0xff,0xc9,0x0a,0x7e] + +0x6b,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xc8,0x0a,0x7e] + +0x6a,0xc8,0x0a,0x7e +# GFX10: v_cvt_norm_u16_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xc8,0x0a,0x7e] + +0x01,0x1d,0xfe,0x7f +# GFX10: v_cvt_off_f32_i4_e32 v255, v1 ; encoding: [0x01,0x1d,0xfe,0x7f] + +0xc1,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, -1 ; encoding: [0xc1,0x1c,0x0a,0x7e] + +0xf7,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, -4.0 ; encoding: [0xf7,0x1c,0x0a,0x7e] + +0x80,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, 0 ; encoding: [0x80,0x1c,0x0a,0x7e] + +0xf0,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, 0.5 ; encoding: [0xf0,0x1c,0x0a,0x7e] + +0xff,0x1c,0x0a,0x7e,0x41,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e32 v5, 0x41 ; encoding: [0xff,0x1c,0x0a,0x7e,0x41,0x00,0x00,0x00] + +0xff,0x1c,0x0a,0x7e,0x4f,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e32 v5, 0x4f ; encoding: [0xff,0x1c,0x0a,0x7e,0x4f,0x00,0x00,0x00] + +0x7f,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, exec_hi ; encoding: [0x7f,0x1c,0x0a,0x7e] + +0x7e,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, exec_lo ; encoding: [0x7e,0x1c,0x0a,0x7e] + +0x7c,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, m0 ; encoding: [0x7c,0x1c,0x0a,0x7e] + +0x01,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, s1 ; encoding: [0x01,0x1c,0x0a,0x7e] + +0x67,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, s103 ; encoding: [0x67,0x1c,0x0a,0x7e] + +0x77,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, ttmp11 ; encoding: [0x77,0x1c,0x0a,0x7e] + +0x01,0x1d,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, v1 ; encoding: [0x01,0x1d,0x0a,0x7e] + +0xff,0x1d,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, v255 ; encoding: [0xff,0x1d,0x0a,0x7e] + +0x6b,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, vcc_hi ; encoding: [0x6b,0x1c,0x0a,0x7e] + +0x6a,0x1c,0x0a,0x7e +# GFX10: v_cvt_off_f32_i4_e32 v5, vcc_lo ; encoding: [0x6a,0x1c,0x0a,0x7e] + +0x01,0x19,0xfe,0x7f +# GFX10: v_cvt_rpi_i32_f32_e32 v255, v1 ; encoding: [0x01,0x19,0xfe,0x7f] + +0xc1,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, -1 ; encoding: [0xc1,0x18,0x0a,0x7e] + +0xf7,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, -4.0 ; encoding: [0xf7,0x18,0x0a,0x7e] + +0x80,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, 0 ; encoding: [0x80,0x18,0x0a,0x7e] + +0xf0,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, 0.5 ; encoding: [0xf0,0x18,0x0a,0x7e] + +0xff,0x18,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_rpi_i32_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x18,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x18,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_rpi_i32_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x18,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, exec_hi ; encoding: [0x7f,0x18,0x0a,0x7e] + +0x7e,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, exec_lo ; encoding: [0x7e,0x18,0x0a,0x7e] + +0x7c,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, m0 ; encoding: [0x7c,0x18,0x0a,0x7e] + +0x01,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, s1 ; encoding: [0x01,0x18,0x0a,0x7e] + +0x67,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, s103 ; encoding: [0x67,0x18,0x0a,0x7e] + +0x77,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, ttmp11 ; encoding: [0x77,0x18,0x0a,0x7e] + +0x01,0x19,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, v1 ; encoding: [0x01,0x19,0x0a,0x7e] + +0xff,0x19,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, v255 ; encoding: [0xff,0x19,0x0a,0x7e] + +0x6b,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x18,0x0a,0x7e] + +0x6a,0x18,0x0a,0x7e +# GFX10: v_cvt_rpi_i32_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x18,0x0a,0x7e] + +0x01,0xa5,0xfe,0x7f +# GFX10: v_cvt_u16_f16_e32 v255, v1 ; encoding: [0x01,0xa5,0xfe,0x7f] + +0xc1,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, -1 ; encoding: [0xc1,0xa4,0x0a,0x7e] + +0xf7,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, -4.0 ; encoding: [0xf7,0xa4,0x0a,0x7e] + +0x80,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, 0 ; encoding: [0x80,0xa4,0x0a,0x7e] + +0xf0,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, 0.5 ; encoding: [0xf0,0xa4,0x0a,0x7e] + +0xff,0xa4,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_cvt_u16_f16_e32 v5, 0x3456 ; encoding: [0xff,0xa4,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xa4,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_cvt_u16_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xa4,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, exec_hi ; encoding: [0x7f,0xa4,0x0a,0x7e] + +0x7e,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, exec_lo ; encoding: [0x7e,0xa4,0x0a,0x7e] + +0x7c,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, m0 ; encoding: [0x7c,0xa4,0x0a,0x7e] + +0x01,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, s1 ; encoding: [0x01,0xa4,0x0a,0x7e] + +0x65,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, s101 ; encoding: [0x65,0xa4,0x0a,0x7e] + +0x01,0xa5,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, v1 ; encoding: [0x01,0xa5,0x0a,0x7e] + +0xff,0xa5,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, v255 ; encoding: [0xff,0xa5,0x0a,0x7e] + +0x6b,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xa4,0x0a,0x7e] + +0x6a,0xa4,0x0a,0x7e +# GFX10: v_cvt_u16_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xa4,0x0a,0x7e] + +0x01,0x0f,0xfe,0x7f +# GFX10: v_cvt_u32_f32_e32 v255, v1 ; encoding: [0x01,0x0f,0xfe,0x7f] + +0xc1,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, -1 ; encoding: [0xc1,0x0e,0x0a,0x7e] + +0xf7,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, -4.0 ; encoding: [0xf7,0x0e,0x0a,0x7e] + +0x80,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, 0 ; encoding: [0x80,0x0e,0x0a,0x7e] + +0xf0,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, 0.5 ; encoding: [0xf0,0x0e,0x0a,0x7e] + +0xff,0x0e,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_u32_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x0e,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x0e,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_u32_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x0e,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, exec_hi ; encoding: [0x7f,0x0e,0x0a,0x7e] + +0x7e,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, exec_lo ; encoding: [0x7e,0x0e,0x0a,0x7e] + +0x7c,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, m0 ; encoding: [0x7c,0x0e,0x0a,0x7e] + +0x01,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, s1 ; encoding: [0x01,0x0e,0x0a,0x7e] + +0x67,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, s103 ; encoding: [0x67,0x0e,0x0a,0x7e] + +0x77,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, ttmp11 ; encoding: [0x77,0x0e,0x0a,0x7e] + +0x01,0x0f,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, v1 ; encoding: [0x01,0x0f,0x0a,0x7e] + +0xff,0x0f,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, v255 ; encoding: [0xff,0x0f,0x0a,0x7e] + +0x6b,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x0e,0x0a,0x7e] + +0x6a,0x0e,0x0a,0x7e +# GFX10: v_cvt_u32_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x0e,0x0a,0x7e] + +0x01,0x2b,0xfe,0x7f +# GFX10: v_cvt_u32_f64_e32 v255, v[1:2] ; encoding: [0x01,0x2b,0xfe,0x7f] + +0xc1,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, -1 ; encoding: [0xc1,0x2a,0x0a,0x7e] + +0xf7,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, -4.0 ; encoding: [0xf7,0x2a,0x0a,0x7e] + +0x80,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, 0 ; encoding: [0x80,0x2a,0x0a,0x7e] + +0xf0,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, 0.5 ; encoding: [0xf0,0x2a,0x0a,0x7e] + +0xff,0x2a,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_u32_f64_e32 v5, 0x3f717273 ; encoding: [0xff,0x2a,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x2a,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_u32_f64_e32 v5, 0xaf123456 ; encoding: [0xff,0x2a,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, exec ; encoding: [0x7e,0x2a,0x0a,0x7e] + +0x66,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, s[102:103] ; encoding: [0x66,0x2a,0x0a,0x7e] + +0x02,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, s[2:3] ; encoding: [0x02,0x2a,0x0a,0x7e] + +0x04,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, s[4:5] ; encoding: [0x04,0x2a,0x0a,0x7e] + +0x76,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, ttmp[10:11] ; encoding: [0x76,0x2a,0x0a,0x7e] + +0x01,0x2b,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, v[1:2] ; encoding: [0x01,0x2b,0x0a,0x7e] + +0xfe,0x2b,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, v[254:255] ; encoding: [0xfe,0x2b,0x0a,0x7e] + +0x6a,0x2a,0x0a,0x7e +# GFX10: v_cvt_u32_f64_e32 v5, vcc ; encoding: [0x6a,0x2a,0x0a,0x7e] + +0x01,0xb1,0xfe,0x7f +# GFX10: v_exp_f16_e32 v255, v1 ; encoding: [0x01,0xb1,0xfe,0x7f] + +0xc1,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, -1 ; encoding: [0xc1,0xb0,0x0a,0x7e] + +0xf7,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, -4.0 ; encoding: [0xf7,0xb0,0x0a,0x7e] + +0x80,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, 0 ; encoding: [0x80,0xb0,0x0a,0x7e] + +0xf0,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, 0.5 ; encoding: [0xf0,0xb0,0x0a,0x7e] + +0xff,0xb0,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_exp_f16_e32 v5, 0x3456 ; encoding: [0xff,0xb0,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xb0,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_exp_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xb0,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, exec_hi ; encoding: [0x7f,0xb0,0x0a,0x7e] + +0x7e,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, exec_lo ; encoding: [0x7e,0xb0,0x0a,0x7e] + +0x7c,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, m0 ; encoding: [0x7c,0xb0,0x0a,0x7e] + +0x01,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, s1 ; encoding: [0x01,0xb0,0x0a,0x7e] + +0x65,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, s101 ; encoding: [0x65,0xb0,0x0a,0x7e] + +0x01,0xb1,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, v1 ; encoding: [0x01,0xb1,0x0a,0x7e] + +0xff,0xb1,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, v255 ; encoding: [0xff,0xb1,0x0a,0x7e] + +0x6b,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xb0,0x0a,0x7e] + +0x6a,0xb0,0x0a,0x7e +# GFX10: v_exp_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xb0,0x0a,0x7e] + +0x01,0x4b,0xfe,0x7f +# GFX10: v_exp_f32_e32 v255, v1 ; encoding: [0x01,0x4b,0xfe,0x7f] + +0xc1,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, -1 ; encoding: [0xc1,0x4a,0x0a,0x7e] + +0xf7,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, -4.0 ; encoding: [0xf7,0x4a,0x0a,0x7e] + +0x80,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, 0 ; encoding: [0x80,0x4a,0x0a,0x7e] + +0xf0,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, 0.5 ; encoding: [0xf0,0x4a,0x0a,0x7e] + +0xff,0x4a,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_exp_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x4a,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x4a,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_exp_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x4a,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, exec_hi ; encoding: [0x7f,0x4a,0x0a,0x7e] + +0x7e,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, exec_lo ; encoding: [0x7e,0x4a,0x0a,0x7e] + +0x7c,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, m0 ; encoding: [0x7c,0x4a,0x0a,0x7e] + +0x01,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, s1 ; encoding: [0x01,0x4a,0x0a,0x7e] + +0x67,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, s103 ; encoding: [0x67,0x4a,0x0a,0x7e] + +0x77,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, ttmp11 ; encoding: [0x77,0x4a,0x0a,0x7e] + +0x01,0x4b,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, v1 ; encoding: [0x01,0x4b,0x0a,0x7e] + +0xff,0x4b,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, v255 ; encoding: [0xff,0x4b,0x0a,0x7e] + +0x6b,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x4a,0x0a,0x7e] + +0x6a,0x4a,0x0a,0x7e +# GFX10: v_exp_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x4a,0x0a,0x7e] + +0x01,0x77,0xfe,0x7f +# GFX10: v_ffbh_i32_e32 v255, v1 ; encoding: [0x01,0x77,0xfe,0x7f] + +0xc1,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, -1 ; encoding: [0xc1,0x76,0x0a,0x7e] + +0xf7,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, -4.0 ; encoding: [0xf7,0x76,0x0a,0x7e] + +0x80,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, 0 ; encoding: [0x80,0x76,0x0a,0x7e] + +0xf0,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, 0.5 ; encoding: [0xf0,0x76,0x0a,0x7e] + +0xff,0x76,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_ffbh_i32_e32 v5, 0x3f717273 ; encoding: [0xff,0x76,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x76,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_ffbh_i32_e32 v5, 0xaf123456 ; encoding: [0xff,0x76,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, exec_hi ; encoding: [0x7f,0x76,0x0a,0x7e] + +0x7e,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, exec_lo ; encoding: [0x7e,0x76,0x0a,0x7e] + +0x7c,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, m0 ; encoding: [0x7c,0x76,0x0a,0x7e] + +0x01,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, s1 ; encoding: [0x01,0x76,0x0a,0x7e] + +0x67,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, s103 ; encoding: [0x67,0x76,0x0a,0x7e] + +0x77,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, ttmp11 ; encoding: [0x77,0x76,0x0a,0x7e] + +0x01,0x77,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, v1 ; encoding: [0x01,0x77,0x0a,0x7e] + +0xff,0x77,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, v255 ; encoding: [0xff,0x77,0x0a,0x7e] + +0x6b,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, vcc_hi ; encoding: [0x6b,0x76,0x0a,0x7e] + +0x6a,0x76,0x0a,0x7e +# GFX10: v_ffbh_i32_e32 v5, vcc_lo ; encoding: [0x6a,0x76,0x0a,0x7e] + +0x01,0x73,0xfe,0x7f +# GFX10: v_ffbh_u32_e32 v255, v1 ; encoding: [0x01,0x73,0xfe,0x7f] + +0xc1,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, -1 ; encoding: [0xc1,0x72,0x0a,0x7e] + +0xf7,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, -4.0 ; encoding: [0xf7,0x72,0x0a,0x7e] + +0x80,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, 0 ; encoding: [0x80,0x72,0x0a,0x7e] + +0xf0,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, 0.5 ; encoding: [0xf0,0x72,0x0a,0x7e] + +0xff,0x72,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_ffbh_u32_e32 v5, 0x3f717273 ; encoding: [0xff,0x72,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x72,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_ffbh_u32_e32 v5, 0xaf123456 ; encoding: [0xff,0x72,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, exec_hi ; encoding: [0x7f,0x72,0x0a,0x7e] + +0x7e,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, exec_lo ; encoding: [0x7e,0x72,0x0a,0x7e] + +0x7c,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, m0 ; encoding: [0x7c,0x72,0x0a,0x7e] + +0x01,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, s1 ; encoding: [0x01,0x72,0x0a,0x7e] + +0x67,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, s103 ; encoding: [0x67,0x72,0x0a,0x7e] + +0x77,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, ttmp11 ; encoding: [0x77,0x72,0x0a,0x7e] + +0x01,0x73,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, v1 ; encoding: [0x01,0x73,0x0a,0x7e] + +0xff,0x73,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, v255 ; encoding: [0xff,0x73,0x0a,0x7e] + +0x6b,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, vcc_hi ; encoding: [0x6b,0x72,0x0a,0x7e] + +0x6a,0x72,0x0a,0x7e +# GFX10: v_ffbh_u32_e32 v5, vcc_lo ; encoding: [0x6a,0x72,0x0a,0x7e] + +0x01,0x75,0xfe,0x7f +# GFX10: v_ffbl_b32_e32 v255, v1 ; encoding: [0x01,0x75,0xfe,0x7f] + +0xc1,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, -1 ; encoding: [0xc1,0x74,0x0a,0x7e] + +0xf7,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, -4.0 ; encoding: [0xf7,0x74,0x0a,0x7e] + +0x80,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, 0 ; encoding: [0x80,0x74,0x0a,0x7e] + +0xf0,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, 0.5 ; encoding: [0xf0,0x74,0x0a,0x7e] + +0xff,0x74,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_ffbl_b32_e32 v5, 0x3f717273 ; encoding: [0xff,0x74,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x74,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_ffbl_b32_e32 v5, 0xaf123456 ; encoding: [0xff,0x74,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, exec_hi ; encoding: [0x7f,0x74,0x0a,0x7e] + +0x7e,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, exec_lo ; encoding: [0x7e,0x74,0x0a,0x7e] + +0x7c,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, m0 ; encoding: [0x7c,0x74,0x0a,0x7e] + +0x01,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, s1 ; encoding: [0x01,0x74,0x0a,0x7e] + +0x67,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, s103 ; encoding: [0x67,0x74,0x0a,0x7e] + +0x77,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, ttmp11 ; encoding: [0x77,0x74,0x0a,0x7e] + +0x01,0x75,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, v1 ; encoding: [0x01,0x75,0x0a,0x7e] + +0xff,0x75,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, v255 ; encoding: [0xff,0x75,0x0a,0x7e] + +0x6b,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, vcc_hi ; encoding: [0x6b,0x74,0x0a,0x7e] + +0x6a,0x74,0x0a,0x7e +# GFX10: v_ffbl_b32_e32 v5, vcc_lo ; encoding: [0x6a,0x74,0x0a,0x7e] + +0x01,0xb7,0xfe,0x7f +# GFX10: v_floor_f16_e32 v255, v1 ; encoding: [0x01,0xb7,0xfe,0x7f] + +0xc1,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, -1 ; encoding: [0xc1,0xb6,0x0a,0x7e] + +0xf7,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, -4.0 ; encoding: [0xf7,0xb6,0x0a,0x7e] + +0x80,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, 0 ; encoding: [0x80,0xb6,0x0a,0x7e] + +0xf0,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, 0.5 ; encoding: [0xf0,0xb6,0x0a,0x7e] + +0xff,0xb6,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_floor_f16_e32 v5, 0x3456 ; encoding: [0xff,0xb6,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xb6,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_floor_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xb6,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, exec_hi ; encoding: [0x7f,0xb6,0x0a,0x7e] + +0x7e,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, exec_lo ; encoding: [0x7e,0xb6,0x0a,0x7e] + +0x7c,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, m0 ; encoding: [0x7c,0xb6,0x0a,0x7e] + +0x01,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, s1 ; encoding: [0x01,0xb6,0x0a,0x7e] + +0x65,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, s101 ; encoding: [0x65,0xb6,0x0a,0x7e] + +0x01,0xb7,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, v1 ; encoding: [0x01,0xb7,0x0a,0x7e] + +0xff,0xb7,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, v255 ; encoding: [0xff,0xb7,0x0a,0x7e] + +0x6b,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xb6,0x0a,0x7e] + +0x6a,0xb6,0x0a,0x7e +# GFX10: v_floor_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xb6,0x0a,0x7e] + +0x01,0x49,0xfe,0x7f +# GFX10: v_floor_f32_e32 v255, v1 ; encoding: [0x01,0x49,0xfe,0x7f] + +0xc1,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, -1 ; encoding: [0xc1,0x48,0x0a,0x7e] + +0xf7,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, -4.0 ; encoding: [0xf7,0x48,0x0a,0x7e] + +0x80,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, 0 ; encoding: [0x80,0x48,0x0a,0x7e] + +0xf0,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, 0.5 ; encoding: [0xf0,0x48,0x0a,0x7e] + +0xff,0x48,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_floor_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x48,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x48,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_floor_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x48,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, exec_hi ; encoding: [0x7f,0x48,0x0a,0x7e] + +0x7e,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, exec_lo ; encoding: [0x7e,0x48,0x0a,0x7e] + +0x7c,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, m0 ; encoding: [0x7c,0x48,0x0a,0x7e] + +0x01,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, s1 ; encoding: [0x01,0x48,0x0a,0x7e] + +0x67,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, s103 ; encoding: [0x67,0x48,0x0a,0x7e] + +0x77,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, ttmp11 ; encoding: [0x77,0x48,0x0a,0x7e] + +0x01,0x49,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, v1 ; encoding: [0x01,0x49,0x0a,0x7e] + +0xff,0x49,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, v255 ; encoding: [0xff,0x49,0x0a,0x7e] + +0x6b,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x48,0x0a,0x7e] + +0x6a,0x48,0x0a,0x7e +# GFX10: v_floor_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x48,0x0a,0x7e] + +0x01,0x35,0xfc,0x7f +# GFX10: v_floor_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x35,0xfc,0x7f] + +0xc1,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], -1 ; encoding: [0xc1,0x34,0x0a,0x7e] + +0xf7,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], -4.0 ; encoding: [0xf7,0x34,0x0a,0x7e] + +0x80,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], 0 ; encoding: [0x80,0x34,0x0a,0x7e] + +0xf0,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], 0.5 ; encoding: [0xf0,0x34,0x0a,0x7e] + +0xff,0x34,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_floor_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x34,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x34,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_floor_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x34,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], exec ; encoding: [0x7e,0x34,0x0a,0x7e] + +0x66,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], s[102:103] ; encoding: [0x66,0x34,0x0a,0x7e] + +0x02,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], s[2:3] ; encoding: [0x02,0x34,0x0a,0x7e] + +0x04,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], s[4:5] ; encoding: [0x04,0x34,0x0a,0x7e] + +0x76,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], ttmp[10:11] ; encoding: [0x76,0x34,0x0a,0x7e] + +0x01,0x35,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], v[1:2] ; encoding: [0x01,0x35,0x0a,0x7e] + +0xfe,0x35,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x35,0x0a,0x7e] + +0x6a,0x34,0x0a,0x7e +# GFX10: v_floor_f64_e32 v[5:6], vcc ; encoding: [0x6a,0x34,0x0a,0x7e] + +0x01,0xbf,0xfe,0x7f +# GFX10: v_fract_f16_e32 v255, v1 ; encoding: [0x01,0xbf,0xfe,0x7f] + +0xc1,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, -1 ; encoding: [0xc1,0xbe,0x0a,0x7e] + +0xf7,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, -4.0 ; encoding: [0xf7,0xbe,0x0a,0x7e] + +0x80,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, 0 ; encoding: [0x80,0xbe,0x0a,0x7e] + +0xf0,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, 0.5 ; encoding: [0xf0,0xbe,0x0a,0x7e] + +0xff,0xbe,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_fract_f16_e32 v5, 0x3456 ; encoding: [0xff,0xbe,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xbe,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_fract_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xbe,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, exec_hi ; encoding: [0x7f,0xbe,0x0a,0x7e] + +0x7e,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, exec_lo ; encoding: [0x7e,0xbe,0x0a,0x7e] + +0x7c,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, m0 ; encoding: [0x7c,0xbe,0x0a,0x7e] + +0x01,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, s1 ; encoding: [0x01,0xbe,0x0a,0x7e] + +0x65,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, s101 ; encoding: [0x65,0xbe,0x0a,0x7e] + +0x01,0xbf,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, v1 ; encoding: [0x01,0xbf,0x0a,0x7e] + +0xff,0xbf,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, v255 ; encoding: [0xff,0xbf,0x0a,0x7e] + +0x6b,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xbe,0x0a,0x7e] + +0x6a,0xbe,0x0a,0x7e +# GFX10: v_fract_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xbe,0x0a,0x7e] + +0x01,0x41,0xfe,0x7f +# GFX10: v_fract_f32_e32 v255, v1 ; encoding: [0x01,0x41,0xfe,0x7f] + +0xc1,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, -1 ; encoding: [0xc1,0x40,0x0a,0x7e] + +0xf7,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, -4.0 ; encoding: [0xf7,0x40,0x0a,0x7e] + +0x80,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, 0 ; encoding: [0x80,0x40,0x0a,0x7e] + +0xf0,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, 0.5 ; encoding: [0xf0,0x40,0x0a,0x7e] + +0xff,0x40,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_fract_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x40,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x40,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_fract_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x40,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, exec_hi ; encoding: [0x7f,0x40,0x0a,0x7e] + +0x7e,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, exec_lo ; encoding: [0x7e,0x40,0x0a,0x7e] + +0x7c,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, m0 ; encoding: [0x7c,0x40,0x0a,0x7e] + +0x01,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, s1 ; encoding: [0x01,0x40,0x0a,0x7e] + +0x67,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, s103 ; encoding: [0x67,0x40,0x0a,0x7e] + +0x77,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, ttmp11 ; encoding: [0x77,0x40,0x0a,0x7e] + +0x01,0x41,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, v1 ; encoding: [0x01,0x41,0x0a,0x7e] + +0xff,0x41,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, v255 ; encoding: [0xff,0x41,0x0a,0x7e] + +0x6b,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x40,0x0a,0x7e] + +0x6a,0x40,0x0a,0x7e +# GFX10: v_fract_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x40,0x0a,0x7e] + +0x01,0x7d,0xfc,0x7f +# GFX10: v_fract_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x7d,0xfc,0x7f] + +0xc1,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], -1 ; encoding: [0xc1,0x7c,0x0a,0x7e] + +0xf7,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], -4.0 ; encoding: [0xf7,0x7c,0x0a,0x7e] + +0x80,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], 0 ; encoding: [0x80,0x7c,0x0a,0x7e] + +0xf0,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], 0.5 ; encoding: [0xf0,0x7c,0x0a,0x7e] + +0xff,0x7c,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_fract_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x7c,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x7c,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_fract_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x7c,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], exec ; encoding: [0x7e,0x7c,0x0a,0x7e] + +0x66,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], s[102:103] ; encoding: [0x66,0x7c,0x0a,0x7e] + +0x02,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], s[2:3] ; encoding: [0x02,0x7c,0x0a,0x7e] + +0x04,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], s[4:5] ; encoding: [0x04,0x7c,0x0a,0x7e] + +0x76,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], ttmp[10:11] ; encoding: [0x76,0x7c,0x0a,0x7e] + +0x01,0x7d,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], v[1:2] ; encoding: [0x01,0x7d,0x0a,0x7e] + +0xfe,0x7d,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x7d,0x0a,0x7e] + +0x6a,0x7c,0x0a,0x7e +# GFX10: v_fract_f64_e32 v[5:6], vcc ; encoding: [0x6a,0x7c,0x0a,0x7e] + +0x01,0xb5,0xfe,0x7f +# GFX10: v_frexp_exp_i16_f16_e32 v255, v1 ; encoding: [0x01,0xb5,0xfe,0x7f] + +0xc1,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, -1 ; encoding: [0xc1,0xb4,0x0a,0x7e] + +0xf7,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, -4.0 ; encoding: [0xf7,0xb4,0x0a,0x7e] + +0x80,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, 0 ; encoding: [0x80,0xb4,0x0a,0x7e] + +0xf0,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, 0.5 ; encoding: [0xf0,0xb4,0x0a,0x7e] + +0xff,0xb4,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e32 v5, 0x3456 ; encoding: [0xff,0xb4,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xb4,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xb4,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, exec_hi ; encoding: [0x7f,0xb4,0x0a,0x7e] + +0x7e,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, exec_lo ; encoding: [0x7e,0xb4,0x0a,0x7e] + +0x7c,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, m0 ; encoding: [0x7c,0xb4,0x0a,0x7e] + +0x01,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, s1 ; encoding: [0x01,0xb4,0x0a,0x7e] + +0x65,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, s101 ; encoding: [0x65,0xb4,0x0a,0x7e] + +0x01,0xb5,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, v1 ; encoding: [0x01,0xb5,0x0a,0x7e] + +0xff,0xb5,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, v255 ; encoding: [0xff,0xb5,0x0a,0x7e] + +0x6b,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xb4,0x0a,0x7e] + +0x6a,0xb4,0x0a,0x7e +# GFX10: v_frexp_exp_i16_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xb4,0x0a,0x7e] + +0x01,0x7f,0xfe,0x7f +# GFX10: v_frexp_exp_i32_f32_e32 v255, v1 ; encoding: [0x01,0x7f,0xfe,0x7f] + +0xc1,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, -1 ; encoding: [0xc1,0x7e,0x0a,0x7e] + +0xf7,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, -4.0 ; encoding: [0xf7,0x7e,0x0a,0x7e] + +0x80,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, 0 ; encoding: [0x80,0x7e,0x0a,0x7e] + +0xf0,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, 0.5 ; encoding: [0xf0,0x7e,0x0a,0x7e] + +0xff,0x7e,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_frexp_exp_i32_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x7e,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x7e,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_frexp_exp_i32_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x7e,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, exec_hi ; encoding: [0x7f,0x7e,0x0a,0x7e] + +0x7e,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, exec_lo ; encoding: [0x7e,0x7e,0x0a,0x7e] + +0x7c,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, m0 ; encoding: [0x7c,0x7e,0x0a,0x7e] + +0x01,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, s1 ; encoding: [0x01,0x7e,0x0a,0x7e] + +0x67,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, s103 ; encoding: [0x67,0x7e,0x0a,0x7e] + +0x77,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, ttmp11 ; encoding: [0x77,0x7e,0x0a,0x7e] + +0x01,0x7f,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, v1 ; encoding: [0x01,0x7f,0x0a,0x7e] + +0xff,0x7f,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, v255 ; encoding: [0xff,0x7f,0x0a,0x7e] + +0x6b,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x7e,0x0a,0x7e] + +0x6a,0x7e,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x7e,0x0a,0x7e] + +0x01,0x79,0xfe,0x7f +# GFX10: v_frexp_exp_i32_f64_e32 v255, v[1:2] ; encoding: [0x01,0x79,0xfe,0x7f] + +0xc1,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, -1 ; encoding: [0xc1,0x78,0x0a,0x7e] + +0xf7,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, -4.0 ; encoding: [0xf7,0x78,0x0a,0x7e] + +0x80,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, 0 ; encoding: [0x80,0x78,0x0a,0x7e] + +0xf0,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, 0.5 ; encoding: [0xf0,0x78,0x0a,0x7e] + +0xff,0x78,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_frexp_exp_i32_f64_e32 v5, 0x3f717273 ; encoding: [0xff,0x78,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x78,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_frexp_exp_i32_f64_e32 v5, 0xaf123456 ; encoding: [0xff,0x78,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, exec ; encoding: [0x7e,0x78,0x0a,0x7e] + +0x66,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, s[102:103] ; encoding: [0x66,0x78,0x0a,0x7e] + +0x02,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, s[2:3] ; encoding: [0x02,0x78,0x0a,0x7e] + +0x04,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, s[4:5] ; encoding: [0x04,0x78,0x0a,0x7e] + +0x76,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, ttmp[10:11] ; encoding: [0x76,0x78,0x0a,0x7e] + +0x01,0x79,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, v[1:2] ; encoding: [0x01,0x79,0x0a,0x7e] + +0xfe,0x79,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, v[254:255] ; encoding: [0xfe,0x79,0x0a,0x7e] + +0x6a,0x78,0x0a,0x7e +# GFX10: v_frexp_exp_i32_f64_e32 v5, vcc ; encoding: [0x6a,0x78,0x0a,0x7e] + +0x01,0xb3,0xfe,0x7f +# GFX10: v_frexp_mant_f16_e32 v255, v1 ; encoding: [0x01,0xb3,0xfe,0x7f] + +0xc1,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, -1 ; encoding: [0xc1,0xb2,0x0a,0x7e] + +0xf7,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, -4.0 ; encoding: [0xf7,0xb2,0x0a,0x7e] + +0x80,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, 0 ; encoding: [0x80,0xb2,0x0a,0x7e] + +0xf0,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, 0.5 ; encoding: [0xf0,0xb2,0x0a,0x7e] + +0xff,0xb2,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_frexp_mant_f16_e32 v5, 0x3456 ; encoding: [0xff,0xb2,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xb2,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_frexp_mant_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xb2,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, exec_hi ; encoding: [0x7f,0xb2,0x0a,0x7e] + +0x7e,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, exec_lo ; encoding: [0x7e,0xb2,0x0a,0x7e] + +0x7c,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, m0 ; encoding: [0x7c,0xb2,0x0a,0x7e] + +0x01,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, s1 ; encoding: [0x01,0xb2,0x0a,0x7e] + +0x65,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, s101 ; encoding: [0x65,0xb2,0x0a,0x7e] + +0x01,0xb3,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, v1 ; encoding: [0x01,0xb3,0x0a,0x7e] + +0xff,0xb3,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, v255 ; encoding: [0xff,0xb3,0x0a,0x7e] + +0x6b,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xb2,0x0a,0x7e] + +0x6a,0xb2,0x0a,0x7e +# GFX10: v_frexp_mant_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xb2,0x0a,0x7e] + +0x01,0x81,0xfe,0x7f +# GFX10: v_frexp_mant_f32_e32 v255, v1 ; encoding: [0x01,0x81,0xfe,0x7f] + +0xc1,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, -1 ; encoding: [0xc1,0x80,0x0a,0x7e] + +0xf7,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, -4.0 ; encoding: [0xf7,0x80,0x0a,0x7e] + +0x80,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, 0 ; encoding: [0x80,0x80,0x0a,0x7e] + +0xf0,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, 0.5 ; encoding: [0xf0,0x80,0x0a,0x7e] + +0xff,0x80,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_frexp_mant_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x80,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x80,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_frexp_mant_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x80,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, exec_hi ; encoding: [0x7f,0x80,0x0a,0x7e] + +0x7e,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, exec_lo ; encoding: [0x7e,0x80,0x0a,0x7e] + +0x7c,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, m0 ; encoding: [0x7c,0x80,0x0a,0x7e] + +0x01,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, s1 ; encoding: [0x01,0x80,0x0a,0x7e] + +0x67,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, s103 ; encoding: [0x67,0x80,0x0a,0x7e] + +0x77,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, ttmp11 ; encoding: [0x77,0x80,0x0a,0x7e] + +0x01,0x81,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, v1 ; encoding: [0x01,0x81,0x0a,0x7e] + +0xff,0x81,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, v255 ; encoding: [0xff,0x81,0x0a,0x7e] + +0x6b,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x80,0x0a,0x7e] + +0x6a,0x80,0x0a,0x7e +# GFX10: v_frexp_mant_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x80,0x0a,0x7e] + +0x01,0x7b,0xfc,0x7f +# GFX10: v_frexp_mant_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x7b,0xfc,0x7f] + +0xc1,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], -1 ; encoding: [0xc1,0x7a,0x0a,0x7e] + +0xf7,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], -4.0 ; encoding: [0xf7,0x7a,0x0a,0x7e] + +0x80,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], 0 ; encoding: [0x80,0x7a,0x0a,0x7e] + +0xf0,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], 0.5 ; encoding: [0xf0,0x7a,0x0a,0x7e] + +0xff,0x7a,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_frexp_mant_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x7a,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x7a,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_frexp_mant_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x7a,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], exec ; encoding: [0x7e,0x7a,0x0a,0x7e] + +0x66,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], s[102:103] ; encoding: [0x66,0x7a,0x0a,0x7e] + +0x02,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], s[2:3] ; encoding: [0x02,0x7a,0x0a,0x7e] + +0x04,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], s[4:5] ; encoding: [0x04,0x7a,0x0a,0x7e] + +0x76,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], ttmp[10:11] ; encoding: [0x76,0x7a,0x0a,0x7e] + +0x01,0x7b,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], v[1:2] ; encoding: [0x01,0x7b,0x0a,0x7e] + +0xfe,0x7b,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x7b,0x0a,0x7e] + +0x6a,0x7a,0x0a,0x7e +# GFX10: v_frexp_mant_f64_e32 v[5:6], vcc ; encoding: [0x6a,0x7a,0x0a,0x7e] + +0x01,0xaf,0xfe,0x7f +# GFX10: v_log_f16_e32 v255, v1 ; encoding: [0x01,0xaf,0xfe,0x7f] + +0xc1,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, -1 ; encoding: [0xc1,0xae,0x0a,0x7e] + +0xf7,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, -4.0 ; encoding: [0xf7,0xae,0x0a,0x7e] + +0x80,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, 0 ; encoding: [0x80,0xae,0x0a,0x7e] + +0xf0,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, 0.5 ; encoding: [0xf0,0xae,0x0a,0x7e] + +0xff,0xae,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_log_f16_e32 v5, 0x3456 ; encoding: [0xff,0xae,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xae,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_log_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xae,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, exec_hi ; encoding: [0x7f,0xae,0x0a,0x7e] + +0x7e,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, exec_lo ; encoding: [0x7e,0xae,0x0a,0x7e] + +0x7c,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, m0 ; encoding: [0x7c,0xae,0x0a,0x7e] + +0x01,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, s1 ; encoding: [0x01,0xae,0x0a,0x7e] + +0x65,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, s101 ; encoding: [0x65,0xae,0x0a,0x7e] + +0x01,0xaf,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, v1 ; encoding: [0x01,0xaf,0x0a,0x7e] + +0xff,0xaf,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, v255 ; encoding: [0xff,0xaf,0x0a,0x7e] + +0x6b,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xae,0x0a,0x7e] + +0x6a,0xae,0x0a,0x7e +# GFX10: v_log_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xae,0x0a,0x7e] + +0x01,0x4f,0xfe,0x7f +# GFX10: v_log_f32_e32 v255, v1 ; encoding: [0x01,0x4f,0xfe,0x7f] + +0xc1,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, -1 ; encoding: [0xc1,0x4e,0x0a,0x7e] + +0xf7,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, -4.0 ; encoding: [0xf7,0x4e,0x0a,0x7e] + +0x80,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, 0 ; encoding: [0x80,0x4e,0x0a,0x7e] + +0xf0,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, 0.5 ; encoding: [0xf0,0x4e,0x0a,0x7e] + +0xff,0x4e,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_log_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x4e,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x4e,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_log_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x4e,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, exec_hi ; encoding: [0x7f,0x4e,0x0a,0x7e] + +0x7e,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, exec_lo ; encoding: [0x7e,0x4e,0x0a,0x7e] + +0x7c,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, m0 ; encoding: [0x7c,0x4e,0x0a,0x7e] + +0x01,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, s1 ; encoding: [0x01,0x4e,0x0a,0x7e] + +0x67,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, s103 ; encoding: [0x67,0x4e,0x0a,0x7e] + +0x77,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, ttmp11 ; encoding: [0x77,0x4e,0x0a,0x7e] + +0x01,0x4f,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, v1 ; encoding: [0x01,0x4f,0x0a,0x7e] + +0xff,0x4f,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, v255 ; encoding: [0xff,0x4f,0x0a,0x7e] + +0x6b,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x4e,0x0a,0x7e] + +0x6a,0x4e,0x0a,0x7e +# GFX10: v_log_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x4e,0x0a,0x7e] + +0x01,0x03,0xfe,0x7f +# GFX10: v_mov_b32_e32 v255, v1 ; encoding: [0x01,0x03,0xfe,0x7f] + +0xc1,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, -1 ; encoding: [0xc1,0x02,0x0a,0x7e] + +0xf7,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, -4.0 ; encoding: [0xf7,0x02,0x0a,0x7e] + +0x80,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, 0 ; encoding: [0x80,0x02,0x0a,0x7e] + +0xf0,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, 0.5 ; encoding: [0xf0,0x02,0x0a,0x7e] + +0xff,0x02,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_mov_b32_e32 v5, 0x3f717273 ; encoding: [0xff,0x02,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x02,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_mov_b32_e32 v5, 0xaf123456 ; encoding: [0xff,0x02,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, exec_hi ; encoding: [0x7f,0x02,0x0a,0x7e] + +0x7e,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, exec_lo ; encoding: [0x7e,0x02,0x0a,0x7e] + +0x7c,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, m0 ; encoding: [0x7c,0x02,0x0a,0x7e] + +0x01,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, s1 ; encoding: [0x01,0x02,0x0a,0x7e] + +0x67,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, s103 ; encoding: [0x67,0x02,0x0a,0x7e] + +0x77,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, ttmp11 ; encoding: [0x77,0x02,0x0a,0x7e] + +0x01,0x03,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, v1 ; encoding: [0x01,0x03,0x0a,0x7e] + +0xff,0x03,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, v255 ; encoding: [0xff,0x03,0x0a,0x7e] + +0x6b,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, vcc_hi ; encoding: [0x6b,0x02,0x0a,0x7e] + +0x6a,0x02,0x0a,0x7e +# GFX10: v_mov_b32_e32 v5, vcc_lo ; encoding: [0x6a,0x02,0x0a,0x7e] + +0x01,0x85,0xfe,0x7f +# GFX10: v_movreld_b32_e32 v255, v1 ; encoding: [0x01,0x85,0xfe,0x7f] + +0xc1,0x84,0x0a,0x7e +# GFX10: v_movreld_b32_e32 v5, -1 ; encoding: [0xc1,0x84,0x0a,0x7e] + +0xf7,0x84,0x0a,0x7e +# GFX10: v_movreld_b32_e32 v5, -4.0 ; encoding: [0xf7,0x84,0x0a,0x7e] + +0x80,0x84,0x0a,0x7e +# GFX10: v_movreld_b32_e32 v5, 0 ; encoding: [0x80,0x84,0x0a,0x7e] + +0xf0,0x84,0x0a,0x7e +# GFX10: v_movreld_b32_e32 v5, 0.5 ; encoding: [0xf0,0x84,0x0a,0x7e] + +0x7c,0x84,0x0a,0x7e +# GFX10: v_movreld_b32_e32 v5, m0 ; encoding: [0x7c,0x84,0x0a,0x7e] + +0x01,0x85,0x0a,0x7e +# GFX10: v_movreld_b32_e32 v5, v1 ; encoding: [0x01,0x85,0x0a,0x7e] + +0xff,0x85,0x0a,0x7e +# GFX10: v_movreld_b32_e32 v5, v255 ; encoding: [0xff,0x85,0x0a,0x7e] + +0x01,0x87,0xfe,0x7f +# GFX10: v_movrels_b32_e32 v255, v1 ; encoding: [0x01,0x87,0xfe,0x7f] + +0x01,0x87,0x0a,0x7e +# GFX10: v_movrels_b32_e32 v5, v1 ; encoding: [0x01,0x87,0x0a,0x7e] + +0xff,0x87,0x0a,0x7e +# GFX10: v_movrels_b32_e32 v5, v255 ; encoding: [0xff,0x87,0x0a,0x7e] + +0x01,0x91,0xfe,0x7f +# GFX10: v_movrelsd_2_b32_e32 v255, v1 ; encoding: [0x01,0x91,0xfe,0x7f] + +0x01,0x91,0x0a,0x7e +# GFX10: v_movrelsd_2_b32_e32 v5, v1 ; encoding: [0x01,0x91,0x0a,0x7e] + +0xff,0x91,0x0a,0x7e +# GFX10: v_movrelsd_2_b32_e32 v5, v255 ; encoding: [0xff,0x91,0x0a,0x7e] + +0x01,0x89,0xfe,0x7f +# GFX10: v_movrelsd_b32_e32 v255, v1 ; encoding: [0x01,0x89,0xfe,0x7f] + +0x01,0x89,0x0a,0x7e +# GFX10: v_movrelsd_b32_e32 v5, v1 ; encoding: [0x01,0x89,0x0a,0x7e] + +0xff,0x89,0x0a,0x7e +# GFX10: v_movrelsd_b32_e32 v5, v255 ; encoding: [0xff,0x89,0x0a,0x7e] + +0x00,0x00,0x00,0x7e +# GFX10: v_nop ; encoding: [0x00,0x00,0x00,0x7e] + +0xff,0x01,0x00,0x7e +# GFX10: v_nop ; encoding: [0x00,0x00,0x00,0x7e] + +0x01,0x6f,0xfe,0x7f +# GFX10: v_not_b32_e32 v255, v1 ; encoding: [0x01,0x6f,0xfe,0x7f] + +0xc1,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, -1 ; encoding: [0xc1,0x6e,0x0a,0x7e] + +0xf7,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, -4.0 ; encoding: [0xf7,0x6e,0x0a,0x7e] + +0x80,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, 0 ; encoding: [0x80,0x6e,0x0a,0x7e] + +0xf0,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, 0.5 ; encoding: [0xf0,0x6e,0x0a,0x7e] + +0xff,0x6e,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_not_b32_e32 v5, 0x3f717273 ; encoding: [0xff,0x6e,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x6e,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_not_b32_e32 v5, 0xaf123456 ; encoding: [0xff,0x6e,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, exec_hi ; encoding: [0x7f,0x6e,0x0a,0x7e] + +0x7e,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, exec_lo ; encoding: [0x7e,0x6e,0x0a,0x7e] + +0x7c,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, m0 ; encoding: [0x7c,0x6e,0x0a,0x7e] + +0x01,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, s1 ; encoding: [0x01,0x6e,0x0a,0x7e] + +0x67,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, s103 ; encoding: [0x67,0x6e,0x0a,0x7e] + +0x77,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, ttmp11 ; encoding: [0x77,0x6e,0x0a,0x7e] + +0x01,0x6f,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, v1 ; encoding: [0x01,0x6f,0x0a,0x7e] + +0xff,0x6f,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, v255 ; encoding: [0xff,0x6f,0x0a,0x7e] + +0x6b,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, vcc_hi ; encoding: [0x6b,0x6e,0x0a,0x7e] + +0x6a,0x6e,0x0a,0x7e +# GFX10: v_not_b32_e32 v5, vcc_lo ; encoding: [0x6a,0x6e,0x0a,0x7e] + +0x00,0x36,0x00,0x7e +# GFX10: v_pipeflush ; encoding: [0x00,0x36,0x00,0x7e] + +0x01,0xa9,0xfe,0x7f +# GFX10: v_rcp_f16_e32 v255, v1 ; encoding: [0x01,0xa9,0xfe,0x7f] + +0xc1,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, -1 ; encoding: [0xc1,0xa8,0x0a,0x7e] + +0xf7,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, -4.0 ; encoding: [0xf7,0xa8,0x0a,0x7e] + +0x80,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, 0 ; encoding: [0x80,0xa8,0x0a,0x7e] + +0xf0,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, 0.5 ; encoding: [0xf0,0xa8,0x0a,0x7e] + +0xff,0xa8,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_rcp_f16_e32 v5, 0x3456 ; encoding: [0xff,0xa8,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xa8,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_rcp_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xa8,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, exec_hi ; encoding: [0x7f,0xa8,0x0a,0x7e] + +0x7e,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, exec_lo ; encoding: [0x7e,0xa8,0x0a,0x7e] + +0x7c,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, m0 ; encoding: [0x7c,0xa8,0x0a,0x7e] + +0x01,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, s1 ; encoding: [0x01,0xa8,0x0a,0x7e] + +0x65,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, s101 ; encoding: [0x65,0xa8,0x0a,0x7e] + +0x01,0xa9,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, v1 ; encoding: [0x01,0xa9,0x0a,0x7e] + +0xff,0xa9,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, v255 ; encoding: [0xff,0xa9,0x0a,0x7e] + +0x6b,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xa8,0x0a,0x7e] + +0x6a,0xa8,0x0a,0x7e +# GFX10: v_rcp_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xa8,0x0a,0x7e] + +0x01,0x55,0xfe,0x7f +# GFX10: v_rcp_f32_e32 v255, v1 ; encoding: [0x01,0x55,0xfe,0x7f] + +0xc1,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, -1 ; encoding: [0xc1,0x54,0x0a,0x7e] + +0xf7,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, -4.0 ; encoding: [0xf7,0x54,0x0a,0x7e] + +0x80,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, 0 ; encoding: [0x80,0x54,0x0a,0x7e] + +0xf0,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, 0.5 ; encoding: [0xf0,0x54,0x0a,0x7e] + +0xff,0x54,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_rcp_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x54,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x54,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_rcp_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x54,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, exec_hi ; encoding: [0x7f,0x54,0x0a,0x7e] + +0x7e,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, exec_lo ; encoding: [0x7e,0x54,0x0a,0x7e] + +0x7c,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, m0 ; encoding: [0x7c,0x54,0x0a,0x7e] + +0x01,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, s1 ; encoding: [0x01,0x54,0x0a,0x7e] + +0x67,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, s103 ; encoding: [0x67,0x54,0x0a,0x7e] + +0x77,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, ttmp11 ; encoding: [0x77,0x54,0x0a,0x7e] + +0x01,0x55,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, v1 ; encoding: [0x01,0x55,0x0a,0x7e] + +0xff,0x55,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, v255 ; encoding: [0xff,0x55,0x0a,0x7e] + +0x6b,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x54,0x0a,0x7e] + +0x6a,0x54,0x0a,0x7e +# GFX10: v_rcp_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x54,0x0a,0x7e] + +0x01,0x5f,0xfc,0x7f +# GFX10: v_rcp_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x5f,0xfc,0x7f] + +0xc1,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], -1 ; encoding: [0xc1,0x5e,0x0a,0x7e] + +0xf7,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], -4.0 ; encoding: [0xf7,0x5e,0x0a,0x7e] + +0x80,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], 0 ; encoding: [0x80,0x5e,0x0a,0x7e] + +0xf0,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], 0.5 ; encoding: [0xf0,0x5e,0x0a,0x7e] + +0xff,0x5e,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_rcp_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x5e,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x5e,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_rcp_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x5e,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], exec ; encoding: [0x7e,0x5e,0x0a,0x7e] + +0x66,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], s[102:103] ; encoding: [0x66,0x5e,0x0a,0x7e] + +0x02,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], s[2:3] ; encoding: [0x02,0x5e,0x0a,0x7e] + +0x04,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], s[4:5] ; encoding: [0x04,0x5e,0x0a,0x7e] + +0x76,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], ttmp[10:11] ; encoding: [0x76,0x5e,0x0a,0x7e] + +0x01,0x5f,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], v[1:2] ; encoding: [0x01,0x5f,0x0a,0x7e] + +0xfe,0x5f,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x5f,0x0a,0x7e] + +0x6a,0x5e,0x0a,0x7e +# GFX10: v_rcp_f64_e32 v[5:6], vcc ; encoding: [0x6a,0x5e,0x0a,0x7e] + +0x01,0x57,0xfe,0x7f +# GFX10: v_rcp_iflag_f32_e32 v255, v1 ; encoding: [0x01,0x57,0xfe,0x7f] + +0xc1,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, -1 ; encoding: [0xc1,0x56,0x0a,0x7e] + +0xf7,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, -4.0 ; encoding: [0xf7,0x56,0x0a,0x7e] + +0x80,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, 0 ; encoding: [0x80,0x56,0x0a,0x7e] + +0xf0,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, 0.5 ; encoding: [0xf0,0x56,0x0a,0x7e] + +0xff,0x56,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_rcp_iflag_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x56,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x56,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_rcp_iflag_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x56,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, exec_hi ; encoding: [0x7f,0x56,0x0a,0x7e] + +0x7e,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, exec_lo ; encoding: [0x7e,0x56,0x0a,0x7e] + +0x7c,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, m0 ; encoding: [0x7c,0x56,0x0a,0x7e] + +0x01,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, s1 ; encoding: [0x01,0x56,0x0a,0x7e] + +0x67,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, s103 ; encoding: [0x67,0x56,0x0a,0x7e] + +0x77,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, ttmp11 ; encoding: [0x77,0x56,0x0a,0x7e] + +0x01,0x57,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, v1 ; encoding: [0x01,0x57,0x0a,0x7e] + +0xff,0x57,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, v255 ; encoding: [0xff,0x57,0x0a,0x7e] + +0x6b,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x56,0x0a,0x7e] + +0x6a,0x56,0x0a,0x7e +# GFX10: v_rcp_iflag_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x56,0x0a,0x7e] + +0x01,0x05,0xce,0x7e +# GFX10: v_readfirstlane_b32 s103, v1 ; encoding: [0x01,0x05,0xce,0x7e] + +0x01,0x05,0x0a,0x7e +# GFX10: v_readfirstlane_b32 s5, v1 ; encoding: [0x01,0x05,0x0a,0x7e] + +0xff,0x05,0x0a,0x7e +# GFX10: v_readfirstlane_b32 s5, v255 ; encoding: [0xff,0x05,0x0a,0x7e] + +0x01,0x05,0xee,0x7e +# GFX10: v_readfirstlane_b32 ttmp11, v1 ; encoding: [0x01,0x05,0xee,0x7e] + +0x01,0xbd,0xfe,0x7f +# GFX10: v_rndne_f16_e32 v255, v1 ; encoding: [0x01,0xbd,0xfe,0x7f] + +0xc1,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, -1 ; encoding: [0xc1,0xbc,0x0a,0x7e] + +0xf7,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, -4.0 ; encoding: [0xf7,0xbc,0x0a,0x7e] + +0x80,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, 0 ; encoding: [0x80,0xbc,0x0a,0x7e] + +0xf0,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, 0.5 ; encoding: [0xf0,0xbc,0x0a,0x7e] + +0xff,0xbc,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_rndne_f16_e32 v5, 0x3456 ; encoding: [0xff,0xbc,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xbc,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_rndne_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xbc,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, exec_hi ; encoding: [0x7f,0xbc,0x0a,0x7e] + +0x7e,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, exec_lo ; encoding: [0x7e,0xbc,0x0a,0x7e] + +0x7c,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, m0 ; encoding: [0x7c,0xbc,0x0a,0x7e] + +0x01,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, s1 ; encoding: [0x01,0xbc,0x0a,0x7e] + +0x65,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, s101 ; encoding: [0x65,0xbc,0x0a,0x7e] + +0x01,0xbd,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, v1 ; encoding: [0x01,0xbd,0x0a,0x7e] + +0xff,0xbd,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, v255 ; encoding: [0xff,0xbd,0x0a,0x7e] + +0x6b,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xbc,0x0a,0x7e] + +0x6a,0xbc,0x0a,0x7e +# GFX10: v_rndne_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xbc,0x0a,0x7e] + +0x01,0x47,0xfe,0x7f +# GFX10: v_rndne_f32_e32 v255, v1 ; encoding: [0x01,0x47,0xfe,0x7f] + +0xc1,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, -1 ; encoding: [0xc1,0x46,0x0a,0x7e] + +0xf7,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, -4.0 ; encoding: [0xf7,0x46,0x0a,0x7e] + +0x80,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, 0 ; encoding: [0x80,0x46,0x0a,0x7e] + +0xf0,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, 0.5 ; encoding: [0xf0,0x46,0x0a,0x7e] + +0xff,0x46,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_rndne_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x46,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x46,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_rndne_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x46,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, exec_hi ; encoding: [0x7f,0x46,0x0a,0x7e] + +0x7e,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, exec_lo ; encoding: [0x7e,0x46,0x0a,0x7e] + +0x7c,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, m0 ; encoding: [0x7c,0x46,0x0a,0x7e] + +0x01,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, s1 ; encoding: [0x01,0x46,0x0a,0x7e] + +0x67,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, s103 ; encoding: [0x67,0x46,0x0a,0x7e] + +0x77,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, ttmp11 ; encoding: [0x77,0x46,0x0a,0x7e] + +0x01,0x47,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, v1 ; encoding: [0x01,0x47,0x0a,0x7e] + +0xff,0x47,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, v255 ; encoding: [0xff,0x47,0x0a,0x7e] + +0x6b,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x46,0x0a,0x7e] + +0x6a,0x46,0x0a,0x7e +# GFX10: v_rndne_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x46,0x0a,0x7e] + +0x01,0x33,0xfc,0x7f +# GFX10: v_rndne_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x33,0xfc,0x7f] + +0xc1,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], -1 ; encoding: [0xc1,0x32,0x0a,0x7e] + +0xf7,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], -4.0 ; encoding: [0xf7,0x32,0x0a,0x7e] + +0x80,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], 0 ; encoding: [0x80,0x32,0x0a,0x7e] + +0xf0,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], 0.5 ; encoding: [0xf0,0x32,0x0a,0x7e] + +0xff,0x32,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_rndne_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x32,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x32,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_rndne_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x32,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], exec ; encoding: [0x7e,0x32,0x0a,0x7e] + +0x66,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], s[102:103] ; encoding: [0x66,0x32,0x0a,0x7e] + +0x02,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], s[2:3] ; encoding: [0x02,0x32,0x0a,0x7e] + +0x04,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], s[4:5] ; encoding: [0x04,0x32,0x0a,0x7e] + +0x76,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], ttmp[10:11] ; encoding: [0x76,0x32,0x0a,0x7e] + +0x01,0x33,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], v[1:2] ; encoding: [0x01,0x33,0x0a,0x7e] + +0xfe,0x33,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x33,0x0a,0x7e] + +0x6a,0x32,0x0a,0x7e +# GFX10: v_rndne_f64_e32 v[5:6], vcc ; encoding: [0x6a,0x32,0x0a,0x7e] + +0x01,0xad,0xfe,0x7f +# GFX10: v_rsq_f16_e32 v255, v1 ; encoding: [0x01,0xad,0xfe,0x7f] + +0xc1,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, -1 ; encoding: [0xc1,0xac,0x0a,0x7e] + +0xf7,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, -4.0 ; encoding: [0xf7,0xac,0x0a,0x7e] + +0x80,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, 0 ; encoding: [0x80,0xac,0x0a,0x7e] + +0xf0,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, 0.5 ; encoding: [0xf0,0xac,0x0a,0x7e] + +0xff,0xac,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_rsq_f16_e32 v5, 0x3456 ; encoding: [0xff,0xac,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xac,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_rsq_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xac,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, exec_hi ; encoding: [0x7f,0xac,0x0a,0x7e] + +0x7e,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, exec_lo ; encoding: [0x7e,0xac,0x0a,0x7e] + +0x7c,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, m0 ; encoding: [0x7c,0xac,0x0a,0x7e] + +0x01,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, s1 ; encoding: [0x01,0xac,0x0a,0x7e] + +0x65,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, s101 ; encoding: [0x65,0xac,0x0a,0x7e] + +0x01,0xad,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, v1 ; encoding: [0x01,0xad,0x0a,0x7e] + +0xff,0xad,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, v255 ; encoding: [0xff,0xad,0x0a,0x7e] + +0x6b,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xac,0x0a,0x7e] + +0x6a,0xac,0x0a,0x7e +# GFX10: v_rsq_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xac,0x0a,0x7e] + +0x01,0x5d,0xfe,0x7f +# GFX10: v_rsq_f32_e32 v255, v1 ; encoding: [0x01,0x5d,0xfe,0x7f] + +0xc1,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, -1 ; encoding: [0xc1,0x5c,0x0a,0x7e] + +0xf7,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, -4.0 ; encoding: [0xf7,0x5c,0x0a,0x7e] + +0x80,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, 0 ; encoding: [0x80,0x5c,0x0a,0x7e] + +0xf0,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, 0.5 ; encoding: [0xf0,0x5c,0x0a,0x7e] + +0xff,0x5c,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_rsq_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x5c,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x5c,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_rsq_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x5c,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, exec_hi ; encoding: [0x7f,0x5c,0x0a,0x7e] + +0x7e,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, exec_lo ; encoding: [0x7e,0x5c,0x0a,0x7e] + +0x7c,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, m0 ; encoding: [0x7c,0x5c,0x0a,0x7e] + +0x01,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, s1 ; encoding: [0x01,0x5c,0x0a,0x7e] + +0x67,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, s103 ; encoding: [0x67,0x5c,0x0a,0x7e] + +0x77,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, ttmp11 ; encoding: [0x77,0x5c,0x0a,0x7e] + +0x01,0x5d,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, v1 ; encoding: [0x01,0x5d,0x0a,0x7e] + +0xff,0x5d,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, v255 ; encoding: [0xff,0x5d,0x0a,0x7e] + +0x6b,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x5c,0x0a,0x7e] + +0x6a,0x5c,0x0a,0x7e +# GFX10: v_rsq_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x5c,0x0a,0x7e] + +0x01,0x63,0xfc,0x7f +# GFX10: v_rsq_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x63,0xfc,0x7f] + +0xc1,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], -1 ; encoding: [0xc1,0x62,0x0a,0x7e] + +0xf7,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], -4.0 ; encoding: [0xf7,0x62,0x0a,0x7e] + +0x80,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], 0 ; encoding: [0x80,0x62,0x0a,0x7e] + +0xf0,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], 0.5 ; encoding: [0xf0,0x62,0x0a,0x7e] + +0xff,0x62,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_rsq_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x62,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x62,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_rsq_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x62,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], exec ; encoding: [0x7e,0x62,0x0a,0x7e] + +0x66,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], s[102:103] ; encoding: [0x66,0x62,0x0a,0x7e] + +0x02,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], s[2:3] ; encoding: [0x02,0x62,0x0a,0x7e] + +0x04,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], s[4:5] ; encoding: [0x04,0x62,0x0a,0x7e] + +0x76,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], ttmp[10:11] ; encoding: [0x76,0x62,0x0a,0x7e] + +0x01,0x63,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], v[1:2] ; encoding: [0x01,0x63,0x0a,0x7e] + +0xfe,0x63,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x63,0x0a,0x7e] + +0x6a,0x62,0x0a,0x7e +# GFX10: v_rsq_f64_e32 v[5:6], vcc ; encoding: [0x6a,0x62,0x0a,0x7e] + +0x01,0xc1,0xfe,0x7f +# GFX10: v_sin_f16_e32 v255, v1 ; encoding: [0x01,0xc1,0xfe,0x7f] + +0xc1,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, -1 ; encoding: [0xc1,0xc0,0x0a,0x7e] + +0xf7,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, -4.0 ; encoding: [0xf7,0xc0,0x0a,0x7e] + +0x80,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, 0 ; encoding: [0x80,0xc0,0x0a,0x7e] + +0xf0,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, 0.5 ; encoding: [0xf0,0xc0,0x0a,0x7e] + +0xff,0xc0,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_sin_f16_e32 v5, 0x3456 ; encoding: [0xff,0xc0,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xc0,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_sin_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xc0,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, exec_hi ; encoding: [0x7f,0xc0,0x0a,0x7e] + +0x7e,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, exec_lo ; encoding: [0x7e,0xc0,0x0a,0x7e] + +0x7c,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, m0 ; encoding: [0x7c,0xc0,0x0a,0x7e] + +0x01,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, s1 ; encoding: [0x01,0xc0,0x0a,0x7e] + +0x65,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, s101 ; encoding: [0x65,0xc0,0x0a,0x7e] + +0x01,0xc1,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, v1 ; encoding: [0x01,0xc1,0x0a,0x7e] + +0xff,0xc1,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, v255 ; encoding: [0xff,0xc1,0x0a,0x7e] + +0x6b,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xc0,0x0a,0x7e] + +0x6a,0xc0,0x0a,0x7e +# GFX10: v_sin_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xc0,0x0a,0x7e] + +0x01,0x6b,0xfe,0x7f +# GFX10: v_sin_f32_e32 v255, v1 ; encoding: [0x01,0x6b,0xfe,0x7f] + +0xc1,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, -1 ; encoding: [0xc1,0x6a,0x0a,0x7e] + +0xf7,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, -4.0 ; encoding: [0xf7,0x6a,0x0a,0x7e] + +0x80,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, 0 ; encoding: [0x80,0x6a,0x0a,0x7e] + +0xf0,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, 0.5 ; encoding: [0xf0,0x6a,0x0a,0x7e] + +0xff,0x6a,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_sin_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x6a,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x6a,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_sin_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x6a,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, exec_hi ; encoding: [0x7f,0x6a,0x0a,0x7e] + +0x7e,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, exec_lo ; encoding: [0x7e,0x6a,0x0a,0x7e] + +0x7c,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, m0 ; encoding: [0x7c,0x6a,0x0a,0x7e] + +0x01,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, s1 ; encoding: [0x01,0x6a,0x0a,0x7e] + +0x67,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, s103 ; encoding: [0x67,0x6a,0x0a,0x7e] + +0x77,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, ttmp11 ; encoding: [0x77,0x6a,0x0a,0x7e] + +0x01,0x6b,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, v1 ; encoding: [0x01,0x6b,0x0a,0x7e] + +0xff,0x6b,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, v255 ; encoding: [0xff,0x6b,0x0a,0x7e] + +0x6b,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x6a,0x0a,0x7e] + +0x6a,0x6a,0x0a,0x7e +# GFX10: v_sin_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x6a,0x0a,0x7e] + +0x01,0xab,0xfe,0x7f +# GFX10: v_sqrt_f16_e32 v255, v1 ; encoding: [0x01,0xab,0xfe,0x7f] + +0xc1,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, -1 ; encoding: [0xc1,0xaa,0x0a,0x7e] + +0xf7,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, -4.0 ; encoding: [0xf7,0xaa,0x0a,0x7e] + +0x80,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, 0 ; encoding: [0x80,0xaa,0x0a,0x7e] + +0xf0,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, 0.5 ; encoding: [0xf0,0xaa,0x0a,0x7e] + +0xff,0xaa,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_sqrt_f16_e32 v5, 0x3456 ; encoding: [0xff,0xaa,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xaa,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_sqrt_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xaa,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, exec_hi ; encoding: [0x7f,0xaa,0x0a,0x7e] + +0x7e,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, exec_lo ; encoding: [0x7e,0xaa,0x0a,0x7e] + +0x7c,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, m0 ; encoding: [0x7c,0xaa,0x0a,0x7e] + +0x01,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, s1 ; encoding: [0x01,0xaa,0x0a,0x7e] + +0x65,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, s101 ; encoding: [0x65,0xaa,0x0a,0x7e] + +0x01,0xab,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, v1 ; encoding: [0x01,0xab,0x0a,0x7e] + +0xff,0xab,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, v255 ; encoding: [0xff,0xab,0x0a,0x7e] + +0x6b,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xaa,0x0a,0x7e] + +0x6a,0xaa,0x0a,0x7e +# GFX10: v_sqrt_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xaa,0x0a,0x7e] + +0x01,0x67,0xfe,0x7f +# GFX10: v_sqrt_f32_e32 v255, v1 ; encoding: [0x01,0x67,0xfe,0x7f] + +0xc1,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, -1 ; encoding: [0xc1,0x66,0x0a,0x7e] + +0xf7,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, -4.0 ; encoding: [0xf7,0x66,0x0a,0x7e] + +0x80,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, 0 ; encoding: [0x80,0x66,0x0a,0x7e] + +0xf0,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, 0.5 ; encoding: [0xf0,0x66,0x0a,0x7e] + +0xff,0x66,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_sqrt_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x66,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x66,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_sqrt_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x66,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, exec_hi ; encoding: [0x7f,0x66,0x0a,0x7e] + +0x7e,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, exec_lo ; encoding: [0x7e,0x66,0x0a,0x7e] + +0x7c,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, m0 ; encoding: [0x7c,0x66,0x0a,0x7e] + +0x01,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, s1 ; encoding: [0x01,0x66,0x0a,0x7e] + +0x67,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, s103 ; encoding: [0x67,0x66,0x0a,0x7e] + +0x77,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, ttmp11 ; encoding: [0x77,0x66,0x0a,0x7e] + +0x01,0x67,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, v1 ; encoding: [0x01,0x67,0x0a,0x7e] + +0xff,0x67,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, v255 ; encoding: [0xff,0x67,0x0a,0x7e] + +0x6b,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x66,0x0a,0x7e] + +0x6a,0x66,0x0a,0x7e +# GFX10: v_sqrt_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x66,0x0a,0x7e] + +0x01,0x69,0xfc,0x7f +# GFX10: v_sqrt_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x69,0xfc,0x7f] + +0xc1,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], -1 ; encoding: [0xc1,0x68,0x0a,0x7e] + +0xf7,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], -4.0 ; encoding: [0xf7,0x68,0x0a,0x7e] + +0x80,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], 0 ; encoding: [0x80,0x68,0x0a,0x7e] + +0xf0,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], 0.5 ; encoding: [0xf0,0x68,0x0a,0x7e] + +0xff,0x68,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_sqrt_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x68,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x68,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_sqrt_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x68,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], exec ; encoding: [0x7e,0x68,0x0a,0x7e] + +0x66,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], s[102:103] ; encoding: [0x66,0x68,0x0a,0x7e] + +0x02,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], s[2:3] ; encoding: [0x02,0x68,0x0a,0x7e] + +0x04,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], s[4:5] ; encoding: [0x04,0x68,0x0a,0x7e] + +0x76,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], ttmp[10:11] ; encoding: [0x76,0x68,0x0a,0x7e] + +0x01,0x69,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], v[1:2] ; encoding: [0x01,0x69,0x0a,0x7e] + +0xfe,0x69,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x69,0x0a,0x7e] + +0x6a,0x68,0x0a,0x7e +# GFX10: v_sqrt_f64_e32 v[5:6], vcc ; encoding: [0x6a,0x68,0x0a,0x7e] + +0x01,0xcb,0xfe,0x7f +# GFX10: v_swap_b32 v255, v1 ; encoding: [0x01,0xcb,0xfe,0x7f] + +0x01,0xcb,0x0a,0x7e +# GFX10: v_swap_b32 v5, v1 ; encoding: [0x01,0xcb,0x0a,0x7e] + +0xff,0xcb,0x0a,0x7e +# GFX10: v_swap_b32 v5, v255 ; encoding: [0xff,0xcb,0x0a,0x7e] + +0x01,0xd1,0xfe,0x7f +# GFX10: v_swaprel_b32 v255, v1 ; encoding: [0x01,0xd1,0xfe,0x7f] + +0x01,0xd1,0x0a,0x7e +# GFX10: v_swaprel_b32 v5, v1 ; encoding: [0x01,0xd1,0x0a,0x7e] + +0xff,0xd1,0x0a,0x7e +# GFX10: v_swaprel_b32 v5, v255 ; encoding: [0xff,0xd1,0x0a,0x7e] + +0x01,0xbb,0xfe,0x7f +# GFX10: v_trunc_f16_e32 v255, v1 ; encoding: [0x01,0xbb,0xfe,0x7f] + +0xc1,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, -1 ; encoding: [0xc1,0xba,0x0a,0x7e] + +0xf7,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, -4.0 ; encoding: [0xf7,0xba,0x0a,0x7e] + +0x80,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, 0 ; encoding: [0x80,0xba,0x0a,0x7e] + +0xf0,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, 0.5 ; encoding: [0xf0,0xba,0x0a,0x7e] + +0xff,0xba,0x0a,0x7e,0x56,0x34,0x00,0x00 +# GFX10: v_trunc_f16_e32 v5, 0x3456 ; encoding: [0xff,0xba,0x0a,0x7e,0x56,0x34,0x00,0x00] + +0xff,0xba,0x0a,0x7e,0x0b,0xfe,0x00,0x00 +# GFX10: v_trunc_f16_e32 v5, 0xfe0b ; encoding: [0xff,0xba,0x0a,0x7e,0x0b,0xfe,0x00,0x00] + +0x7f,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, exec_hi ; encoding: [0x7f,0xba,0x0a,0x7e] + +0x7e,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, exec_lo ; encoding: [0x7e,0xba,0x0a,0x7e] + +0x7c,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, m0 ; encoding: [0x7c,0xba,0x0a,0x7e] + +0x01,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, s1 ; encoding: [0x01,0xba,0x0a,0x7e] + +0x65,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, s101 ; encoding: [0x65,0xba,0x0a,0x7e] + +0x01,0xbb,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, v1 ; encoding: [0x01,0xbb,0x0a,0x7e] + +0xff,0xbb,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, v255 ; encoding: [0xff,0xbb,0x0a,0x7e] + +0x6b,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, vcc_hi ; encoding: [0x6b,0xba,0x0a,0x7e] + +0x6a,0xba,0x0a,0x7e +# GFX10: v_trunc_f16_e32 v5, vcc_lo ; encoding: [0x6a,0xba,0x0a,0x7e] + +0x01,0x43,0xfe,0x7f +# GFX10: v_trunc_f32_e32 v255, v1 ; encoding: [0x01,0x43,0xfe,0x7f] + +0xc1,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, -1 ; encoding: [0xc1,0x42,0x0a,0x7e] + +0xf7,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, -4.0 ; encoding: [0xf7,0x42,0x0a,0x7e] + +0x80,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, 0 ; encoding: [0x80,0x42,0x0a,0x7e] + +0xf0,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, 0.5 ; encoding: [0xf0,0x42,0x0a,0x7e] + +0xff,0x42,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_trunc_f32_e32 v5, 0x3f717273 ; encoding: [0xff,0x42,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x42,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_trunc_f32_e32 v5, 0xaf123456 ; encoding: [0xff,0x42,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7f,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, exec_hi ; encoding: [0x7f,0x42,0x0a,0x7e] + +0x7e,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, exec_lo ; encoding: [0x7e,0x42,0x0a,0x7e] + +0x7c,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, m0 ; encoding: [0x7c,0x42,0x0a,0x7e] + +0x01,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, s1 ; encoding: [0x01,0x42,0x0a,0x7e] + +0x67,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, s103 ; encoding: [0x67,0x42,0x0a,0x7e] + +0x77,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, ttmp11 ; encoding: [0x77,0x42,0x0a,0x7e] + +0x01,0x43,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, v1 ; encoding: [0x01,0x43,0x0a,0x7e] + +0xff,0x43,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, v255 ; encoding: [0xff,0x43,0x0a,0x7e] + +0x6b,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, vcc_hi ; encoding: [0x6b,0x42,0x0a,0x7e] + +0x6a,0x42,0x0a,0x7e +# GFX10: v_trunc_f32_e32 v5, vcc_lo ; encoding: [0x6a,0x42,0x0a,0x7e] + +0x01,0x2f,0xfc,0x7f +# GFX10: v_trunc_f64_e32 v[254:255], v[1:2] ; encoding: [0x01,0x2f,0xfc,0x7f] + +0xc1,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], -1 ; encoding: [0xc1,0x2e,0x0a,0x7e] + +0xf7,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], -4.0 ; encoding: [0xf7,0x2e,0x0a,0x7e] + +0x80,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], 0 ; encoding: [0x80,0x2e,0x0a,0x7e] + +0xf0,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], 0.5 ; encoding: [0xf0,0x2e,0x0a,0x7e] + +0xff,0x2e,0x0a,0x7e,0x73,0x72,0x71,0x3f +# GFX10: v_trunc_f64_e32 v[5:6], 0x3f717273 ; encoding: [0xff,0x2e,0x0a,0x7e,0x73,0x72,0x71,0x3f] + +0xff,0x2e,0x0a,0x7e,0x56,0x34,0x12,0xaf +# GFX10: v_trunc_f64_e32 v[5:6], 0xaf123456 ; encoding: [0xff,0x2e,0x0a,0x7e,0x56,0x34,0x12,0xaf] + +0x7e,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], exec ; encoding: [0x7e,0x2e,0x0a,0x7e] + +0x66,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], s[102:103] ; encoding: [0x66,0x2e,0x0a,0x7e] + +0x02,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], s[2:3] ; encoding: [0x02,0x2e,0x0a,0x7e] + +0x04,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], s[4:5] ; encoding: [0x04,0x2e,0x0a,0x7e] + +0x76,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], ttmp[10:11] ; encoding: [0x76,0x2e,0x0a,0x7e] + +0x01,0x2f,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], v[1:2] ; encoding: [0x01,0x2f,0x0a,0x7e] + +0xfe,0x2f,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], v[254:255] ; encoding: [0xfe,0x2f,0x0a,0x7e] + +0x6a,0x2e,0x0a,0x7e +# GFX10: v_trunc_f64_e32 v[5:6], vcc ; encoding: [0x6a,0x2e,0x0a,0x7e] diff --git a/tests/data/llvm-amdgpu/gfx10_vop1_dpp16.txt b/tests/data/llvm-amdgpu/gfx10_vop1_dpp16.txt new file mode 100644 index 0000000..004e0a3 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_vop1_dpp16.txt @@ -0,0 +1,3943 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0xfa,0x70,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_bfrev_b32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x70,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_bfrev_b32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x70,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_bfrev_b32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x70,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xb8,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_ceil_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xb8,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_ceil_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xb8,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_ceil_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb8,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x44,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_ceil_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x44,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_ceil_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x44,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_ceil_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x44,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xc2,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cos_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xc2,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cos_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cos_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xc2,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cos_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc2,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x6c,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cos_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x6c,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cos_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cos_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x6c,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cos_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6c,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x14,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f16_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x14,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x14,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f16_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x14,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xa2,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f16_i16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xa2,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xa2,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f16_i16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa2,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xa0,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f16_u16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xa0,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xa0,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f16_u16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa0,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x16,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x16,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x16,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x16,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x0a,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_i32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x0a,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x0a,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_i32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0a,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x0c,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_u32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x0c,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x0c,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_u32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0c,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x22,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x22,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x22,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x22,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x24,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x24,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x24,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x24,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x26,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x26,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x26,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x26,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x28,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x28,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x28,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x28,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x1a,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x1a,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x1a,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1a,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xa6,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_i16_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xa6,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xa6,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_i16_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa6,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x10,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_i32_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x10,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x10,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_i32_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x10,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xc6,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xc6,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xc6,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc6,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xc8,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xc8,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xc8,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc8,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x1c,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x1c,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x1c,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x1c,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x18,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x18,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x18,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x18,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xa4,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_u16_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xa4,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xa4,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_u16_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa4,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x0e,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_u32_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x0e,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x0e,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_cvt_u32_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x0e,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xb0,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_exp_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xb0,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_exp_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_exp_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xb0,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_exp_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb0,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x4a,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_exp_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x4a,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_exp_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_exp_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x4a,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_exp_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4a,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x76,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_ffbh_i32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x76,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_ffbh_i32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x76,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_ffbh_i32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x76,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x72,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_ffbh_u32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x72,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_ffbh_u32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x72,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_ffbh_u32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x72,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x74,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_ffbl_b32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x74,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_ffbl_b32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x74,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_ffbl_b32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x74,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xb6,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_floor_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xb6,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_floor_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_floor_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xb6,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_floor_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb6,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x48,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_floor_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x48,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_floor_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_floor_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x48,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_floor_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x48,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xbe,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_fract_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xbe,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_fract_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_fract_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xbe,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_fract_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbe,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x40,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_fract_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x40,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_fract_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_fract_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x40,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_fract_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x40,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xb4,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xb4,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xb4,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb4,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x7e,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x7e,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x7e,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x7e,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xb2,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_frexp_mant_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xb2,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xb2,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_frexp_mant_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xb2,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x80,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_frexp_mant_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x80,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x80,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_frexp_mant_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x80,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xae,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_log_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xae,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_log_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_log_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xae,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_log_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xae,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x4e,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_log_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x4e,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_log_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_log_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x4e,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_log_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x4e,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x02,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_mov_b32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x02,0xfe,0x7f,0x01,0x1b,0x00,0x00 +# GFX10: v_mov_b32_dpp v255, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0xfe,0x7f,0x01,0x1b,0x00,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x08,0x00 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x08,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x01 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x01] + +0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x03 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x03] + +0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x0f +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x0f] + +0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x10 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x10] + +0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x30 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0x30] + +0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0xf0 +# GFX10: v_mov_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1b,0x00,0xf0] + +0xfa,0x02,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x50,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_share:0 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x50,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x60,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_xmask:0 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x60,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_mov_b32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x02,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_mov_b32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x02,0x0a,0x7e,0xff,0x1b,0x00,0x00 +# GFX10: v_mov_b32_dpp v5, v255 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x02,0x0a,0x7e,0xff,0x1b,0x00,0x00] + +0xfa,0x84,0x02,0x7e,0x00,0x1b,0x00,0x00 +# GFX10: v_movreld_b32_dpp v1, v0 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x84,0x02,0x7e,0x00,0x1b,0x00,0x00] + +0xfa,0x86,0x02,0x7e,0x00,0x1b,0x04,0x00 +# GFX10: v_movrels_b32_dpp v1, v0 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x86,0x02,0x7e,0x00,0x1b,0x04,0x00] + +0xfa,0x90,0x00,0x7e,0x02,0x1b,0x00,0x00 +# GFX10: v_movrelsd_2_b32_dpp v0, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x90,0x00,0x7e,0x02,0x1b,0x00,0x00] + +0xfa,0x88,0x00,0x7e,0xff,0x1b,0x00,0x00 +# GFX10: v_movrelsd_b32_dpp v0, v255 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x88,0x00,0x7e,0xff,0x1b,0x00,0x00] + +0xfa,0x6e,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_not_b32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x6e,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_not_b32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_not_b32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x6e,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_not_b32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6e,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xa8,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_rcp_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xa8,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_rcp_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xa8,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_rcp_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xa8,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x54,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_rcp_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x54,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_rcp_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x54,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_rcp_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x54,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x56,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_rcp_iflag_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x56,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x56,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_rcp_iflag_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x56,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xbc,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_rndne_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xbc,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_rndne_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xbc,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_rndne_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xbc,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x46,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_rndne_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x46,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_rndne_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x46,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_rndne_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x46,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xac,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_rsq_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xac,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_rsq_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xac,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_rsq_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xac,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x5c,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_rsq_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x5c,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_rsq_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x5c,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_rsq_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x5c,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xc4,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_sat_pk_u8_i16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc4,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xc4,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_sat_pk_u8_i16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xc4,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xc0,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_sin_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xc0,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_sin_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_sin_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xc0,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_sin_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xc0,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x6a,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_sin_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x6a,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_sin_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_sin_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x6a,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_sin_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x6a,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xaa,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_sqrt_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xaa,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_sqrt_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xaa,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_sqrt_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xaa,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x66,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_sqrt_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x66,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_sqrt_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x66,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_sqrt_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x66,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0xba,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_trunc_f16_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0xba,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_trunc_f16_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0xba,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_trunc_f16_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xba,0x0a,0x7e,0xff,0xe4,0x00,0x00] + +0xfa,0x42,0xfe,0x7f,0x01,0xe4,0x00,0x00 +# GFX10: v_trunc_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0xfe,0x7f,0x01,0xe4,0x00,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x08,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x08,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x01 +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x01] + +0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x03 +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x03] + +0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x0f +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x0f] + +0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x10 +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x10] + +0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x30 +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0x30] + +0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0xf0 +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0xe4,0x00,0xf0] + +0xfa,0x42,0x0a,0x7e,0x01,0x1b,0x00,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x1b,0x00,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x1b,0x04,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x1b,0x04,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x41,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x41,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x40,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x40,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x21,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x21,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x2f,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x2f,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x51,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x51,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x5f,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x5f,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x01,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x01,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x0f,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x0f,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x11,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x11,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x1f,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x1f,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x61,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x61,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0x01,0x6f,0x01,0x00 +# GFX10: v_trunc_f32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0x01,0x6f,0x01,0x00] + +0xfa,0x42,0x0a,0x7e,0xff,0xe4,0x00,0x00 +# GFX10: v_trunc_f32_dpp v5, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x42,0x0a,0x7e,0xff,0xe4,0x00,0x00] diff --git a/tests/data/llvm-amdgpu/gfx10_vop1_dpp8.txt b/tests/data/llvm-amdgpu/gfx10_vop1_dpp8.txt new file mode 100644 index 0000000..aac76ae --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_vop1_dpp8.txt @@ -0,0 +1,339 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX10 %s + +0xe9,0x70,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_bfrev_b32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x70,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x70,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_bfrev_b32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x70,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xb8,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ceil_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xb8,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xb8,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ceil_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xb8,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x44,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ceil_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x44,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x44,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ceil_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x44,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xc2,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cos_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xc2,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xc2,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cos_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xc2,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x6c,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cos_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x6c,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x6c,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cos_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x6c,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x14,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f16_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x14,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x14,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f16_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x14,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xa2,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f16_i16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xa2,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xa2,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f16_i16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xa2,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xa0,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f16_u16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xa0,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xa0,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f16_u16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xa0,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x16,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x16,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x16,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x16,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x0a,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_i32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x0a,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x0a,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_i32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x0a,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x0c,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_u32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x0c,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x0c,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_u32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x0c,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x22,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x22,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x22,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_ubyte0_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x22,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x24,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x24,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x24,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_ubyte1_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x24,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x26,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x26,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x26,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_ubyte2_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x26,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x28,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x28,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x28,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_f32_ubyte3_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x28,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x1a,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x1a,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x1a,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_flr_i32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x1a,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xa6,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_i16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xa6,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xa6,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_i16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xa6,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x10,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_i32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x10,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x10,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_i32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x10,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xc6,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xc6,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xc6,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_norm_i16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xc6,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xc8,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xc8,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xc8,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_norm_u16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xc8,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x1c,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x1c,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x1c,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_off_f32_i4_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x1c,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x18,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x18,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x18,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_rpi_i32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x18,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xa4,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_u16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xa4,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xa4,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_u16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xa4,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x0e,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_u32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x0e,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x0e,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_cvt_u32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x0e,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xb0,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_exp_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xb0,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xb0,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_exp_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xb0,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x4a,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_exp_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x4a,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x4a,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_exp_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x4a,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x76,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ffbh_i32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x76,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x76,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ffbh_i32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x76,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x72,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ffbh_u32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x72,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x72,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ffbh_u32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x72,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x74,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ffbl_b32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x74,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x74,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_ffbl_b32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x74,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xb6,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_floor_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xb6,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xb6,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_floor_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xb6,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x48,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_floor_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x48,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x48,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_floor_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x48,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xbe,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_fract_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xbe,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xbe,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_fract_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xbe,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x40,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_fract_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x40,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x40,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_fract_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x40,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xb4,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xb4,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xb4,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_frexp_exp_i16_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xb4,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x7e,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x7e,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x7e,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_frexp_exp_i32_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x7e,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xb2,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_frexp_mant_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xb2,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xb2,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_frexp_mant_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xb2,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x80,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_frexp_mant_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x80,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x80,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_frexp_mant_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x80,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xae,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_log_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xae,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xae,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_log_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xae,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x4e,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_log_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x4e,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x4e,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_log_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x4e,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x02,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_mov_b32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x02,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x02,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_mov_b32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x02,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x84,0x00,0x7e,0x01,0x77,0x39,0x05 +# GFX10: v_movreld_b32_dpp v0, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 ; encoding: [0xea,0x84,0x00,0x7e,0x01,0x77,0x39,0x05] + +0xe9,0x86,0x00,0x7e,0x02,0x00,0x00,0x00 +# GFX10: v_movrels_b32_dpp v0, v2 dpp8:[0,0,0,0,0,0,0,0] ; encoding: [0xe9,0x86,0x00,0x7e,0x02,0x00,0x00,0x00] + +0xe9,0x90,0x00,0x7e,0xff,0x77,0x39,0x05 +# GFX10: v_movrelsd_2_b32_dpp v0, v255 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0x90,0x00,0x7e,0xff,0x77,0x39,0x05] + +0xe9,0x88,0x00,0x7e,0x02,0x77,0x39,0x05 +# GFX10: v_movrelsd_b32_dpp v0, v2 dpp8:[7,6,5,4,3,2,1,0] ; encoding: [0xe9,0x88,0x00,0x7e,0x02,0x77,0x39,0x05] + +0xe9,0x6e,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_not_b32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x6e,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x6e,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_not_b32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x6e,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xa8,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rcp_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xa8,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xa8,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rcp_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xa8,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x54,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rcp_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x54,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x54,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rcp_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x54,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x56,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rcp_iflag_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x56,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x56,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rcp_iflag_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x56,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xbc,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rndne_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xbc,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xbc,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rndne_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xbc,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x46,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rndne_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x46,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x46,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rndne_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x46,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xac,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rsq_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xac,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xac,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rsq_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xac,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x5c,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rsq_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x5c,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x5c,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_rsq_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x5c,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xc0,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_sin_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xc0,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xc0,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_sin_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xc0,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x6a,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_sin_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x6a,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x6a,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_sin_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x6a,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xaa,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_sqrt_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xaa,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xaa,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_sqrt_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xaa,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x66,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_sqrt_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x66,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x66,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_sqrt_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x66,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0xba,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_trunc_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0xba,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0xba,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_trunc_f16_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0xba,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xe9,0x42,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_trunc_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] ; encoding: [0xe9,0x42,0x0a,0x7e,0x01,0x88,0xc6,0xfa] + +0xea,0x42,0x0a,0x7e,0x01,0x88,0xc6,0xfa +# GFX10: v_trunc_f32_dpp v5, v1 dpp8:[0,1,2,3,4,5,6,7] fi:1 ; encoding: [0xea,0x42,0x0a,0x7e,0x01,0x88,0xc6,0xfa] diff --git a/tests/data/llvm-amdgpu/gfx10_vop1_sdwa.txt b/tests/data/llvm-amdgpu/gfx10_vop1_sdwa.txt new file mode 100644 index 0000000..548d9c6 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_vop1_sdwa.txt @@ -0,0 +1,4564 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=GFX10 %s + + +0xf9,0x70,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_bfrev_b32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x70,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_bfrev_b32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x70,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_bfrev_b32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_bfrev_b32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x70,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_bfrev_b32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_bfrev_b32_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_bfrev_b32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x70,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_bfrev_b32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x70,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_bfrev_b32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x70,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xb8,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_ceil_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xb8,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_ceil_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xb8,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_ceil_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xb8,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_ceil_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_ceil_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xb8,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_ceil_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_ceil_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xb8,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_ceil_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xb8,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_ceil_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_ceil_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb8,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x44,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_ceil_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x44,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_ceil_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x44,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_ceil_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x44,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_ceil_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_ceil_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x44,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_ceil_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_ceil_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x44,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_ceil_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x44,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_ceil_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x44,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_ceil_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x44,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xc2,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cos_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cos_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xc2,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cos_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xc2,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cos_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xc2,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cos_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cos_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xc2,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cos_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cos_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xc2,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cos_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xc2,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cos_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cos_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc2,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x6c,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cos_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cos_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x6c,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cos_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x6c,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cos_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x6c,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cos_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cos_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x6c,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cos_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cos_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x6c,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cos_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x6c,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cos_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cos_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6c,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x14,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x14,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x14,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x14,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x14,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x14,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x14,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x14,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_f16_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x14,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xa2,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xa2,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xa2,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xa2,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xa2,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xa2,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f16_i16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa2,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xa0,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xa0,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xa0,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xa0,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xa0,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xa0,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f16_u16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa0,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x16,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x16,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x16,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x16,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x16,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x16,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x16,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x16,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_f32_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x16,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x0a,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x0a,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x0a,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x0a,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x0a,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x0a,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f32_i32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0a,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x0c,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x0c,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x0c,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x0c,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x0c,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x0c,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f32_u32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0c,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x22,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x22,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x22,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x22,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x22,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x22,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte0_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x22,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x24,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x24,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x24,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x24,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x24,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x24,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte1_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x24,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x26,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x26,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x26,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x26,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x26,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x26,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte2_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x26,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x28,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x28,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x28,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x28,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x28,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x28,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_f32_ubyte3_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x28,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x1a,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x1a,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x1a,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x1a,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x1a,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x1a,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x1a,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_flr_i32_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1a,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xa6,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xa6,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xa6,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xa6,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xa6,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xa6,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xa6,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_i16_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa6,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x10,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x10,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x10,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x10,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x10,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x10,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x10,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x10,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_i32_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x10,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xc6,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xc6,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xc6,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xc6,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xc6,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xc6,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xc6,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_norm_i16_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc6,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xc8,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xc8,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xc8,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xc8,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xc8,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xc8,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xc8,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_norm_u16_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc8,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x1c,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x1c,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x1c,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x1c,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x1c,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x1c,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_off_f32_i4_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x1c,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x18,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x18,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x18,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x18,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x18,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x18,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x18,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x18,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_rpi_i32_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x18,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xa4,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xa4,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xa4,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xa4,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xa4,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xa4,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xa4,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_u16_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa4,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x0e,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x0e,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x0e,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x0e,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x0e,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x0e,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x0e,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_cvt_u32_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x0e,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xb0,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_exp_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_exp_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xb0,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_exp_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xb0,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_exp_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xb0,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_exp_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_exp_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xb0,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_exp_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_exp_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xb0,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_exp_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xb0,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_exp_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_exp_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb0,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x4a,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_exp_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_exp_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x4a,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_exp_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x4a,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_exp_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x4a,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_exp_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_exp_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x4a,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_exp_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_exp_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x4a,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_exp_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x4a,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_exp_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_exp_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4a,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x76,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_ffbh_i32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x76,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_ffbh_i32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x76,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_ffbh_i32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_ffbh_i32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x76,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_ffbh_i32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_ffbh_i32_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_ffbh_i32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x76,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_ffbh_i32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x76,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_ffbh_i32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x76,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x72,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_ffbh_u32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x72,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_ffbh_u32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x72,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_ffbh_u32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_ffbh_u32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x72,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_ffbh_u32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_ffbh_u32_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_ffbh_u32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x72,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_ffbh_u32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x72,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_ffbh_u32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x72,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x74,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_ffbl_b32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x74,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_ffbl_b32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x74,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_ffbl_b32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_ffbl_b32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x74,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_ffbl_b32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_ffbl_b32_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_ffbl_b32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x74,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_ffbl_b32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x74,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_ffbl_b32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x74,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xb6,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_floor_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_floor_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xb6,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_floor_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xb6,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_floor_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xb6,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_floor_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_floor_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xb6,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_floor_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_floor_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xb6,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_floor_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xb6,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_floor_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_floor_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb6,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x48,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_floor_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_floor_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x48,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_floor_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x48,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_floor_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x48,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_floor_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_floor_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x48,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_floor_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_floor_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x48,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_floor_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x48,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_floor_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x48,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_floor_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x48,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xbe,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_fract_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_fract_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xbe,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_fract_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xbe,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_fract_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xbe,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_fract_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_fract_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xbe,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_fract_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_fract_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xbe,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_fract_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xbe,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_fract_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_fract_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbe,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x40,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_fract_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_fract_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x40,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_fract_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x40,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_fract_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x40,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_fract_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_fract_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x40,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_fract_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_fract_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x40,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_fract_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x40,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_fract_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x40,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_fract_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x40,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xb4,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xb4,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xb4,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xb4,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xb4,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xb4,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xb4,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_frexp_exp_i16_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb4,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x7e,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x7e,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x7e,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x7e,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x7e,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x7e,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x7e,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_frexp_exp_i32_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x7e,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xb2,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xb2,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xb2,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xb2,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xb2,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xb2,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xb2,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_frexp_mant_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xb2,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x80,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x80,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x80,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x80,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x80,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x80,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x80,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x80,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_frexp_mant_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x80,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xae,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_log_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_log_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xae,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_log_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xae,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_log_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xae,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_log_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_log_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xae,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_log_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_log_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xae,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_log_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xae,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_log_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xae,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_log_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xae,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x4e,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_log_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_log_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x4e,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_log_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x4e,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_log_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x4e,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_log_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_log_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x4e,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_log_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_log_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x4e,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_log_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x4e,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_log_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_log_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x4e,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x02,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_mov_b32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_mov_b32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x02,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_mov_b32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x02,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_mov_b32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_mov_b32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x02,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_mov_b32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_mov_b32_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_mov_b32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x02,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_mov_b32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x02,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_mov_b32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x02,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x84,0x00,0x7e,0xc0,0x06,0x86,0x00 +# GFX10: v_movreld_b32_sdwa v0, 64 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x84,0x00,0x7e,0xc0,0x06,0x86,0x00] + +0xf9,0x84,0x00,0x7e,0x02,0x06,0x86,0x00 +# GFX10: v_movreld_b32_sdwa v0, s2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x84,0x00,0x7e,0x02,0x06,0x86,0x00] + +0xf9,0x84,0x00,0x7e,0x00,0x06,0x0e,0x00 +# GFX10: v_movreld_b32_sdwa v0, sext(v0) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x84,0x00,0x7e,0x00,0x06,0x0e,0x00] + +0xf9,0x84,0x00,0x7e,0x02,0x06,0x06,0x00 +# GFX10: v_movreld_b32_sdwa v0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x84,0x00,0x7e,0x02,0x06,0x06,0x00] + +0xf9,0x86,0x00,0x7e,0x00,0x06,0x0e,0x00 +# GFX10: v_movrels_b32_sdwa v0, sext(v0) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x86,0x00,0x7e,0x00,0x06,0x0e,0x00] + +0xf9,0x86,0x00,0x7e,0x02,0x06,0x06,0x00 +# GFX10: v_movrels_b32_sdwa v0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x86,0x00,0x7e,0x02,0x06,0x06,0x00] + +0xf9,0x90,0x00,0x7e,0x00,0x06,0x0e,0x00 +# GFX10: v_movrelsd_2_b32_sdwa v0, sext(v0) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x90,0x00,0x7e,0x00,0x06,0x0e,0x00] + +0xf9,0x90,0x00,0x7e,0x00,0x06,0x06,0x00 +# GFX10: v_movrelsd_2_b32_sdwa v0, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x90,0x00,0x7e,0x00,0x06,0x06,0x00] + +0xf9,0x90,0x00,0x7e,0x02,0x06,0x06,0x00 +# GFX10: v_movrelsd_2_b32_sdwa v0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x90,0x00,0x7e,0x02,0x06,0x06,0x00] + +0xf9,0x88,0x00,0x7e,0x00,0x06,0x0e,0x00 +# GFX10: v_movrelsd_b32_sdwa v0, sext(v0) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x88,0x00,0x7e,0x00,0x06,0x0e,0x00] + +0xf9,0x88,0x00,0x7e,0x00,0x06,0x06,0x00 +# GFX10: v_movrelsd_b32_sdwa v0, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x88,0x00,0x7e,0x00,0x06,0x06,0x00] + +0xf9,0x88,0x00,0x7e,0x02,0x06,0x06,0x00 +# GFX10: v_movrelsd_b32_sdwa v0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x88,0x00,0x7e,0x02,0x06,0x06,0x00] + +0xf9,0x6e,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_not_b32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_not_b32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x6e,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_not_b32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x6e,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_not_b32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_not_b32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x6e,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_not_b32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x0e,0x00 +# GFX10: v_not_b32_sdwa v5, sext(v1) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x0e,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_not_b32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x6e,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_not_b32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x6e,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_not_b32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6e,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xa8,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_rcp_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xa8,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_rcp_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xa8,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_rcp_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xa8,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_rcp_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_rcp_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xa8,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_rcp_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_rcp_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xa8,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_rcp_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xa8,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_rcp_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_rcp_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xa8,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x54,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_rcp_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x54,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_rcp_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x54,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_rcp_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x54,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_rcp_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_rcp_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x54,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_rcp_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_rcp_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x54,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_rcp_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x54,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_rcp_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x54,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_rcp_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x54,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x56,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x56,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x56,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x56,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x56,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x56,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x56,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x56,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_rcp_iflag_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x56,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xbc,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_rndne_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xbc,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_rndne_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xbc,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_rndne_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xbc,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_rndne_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_rndne_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xbc,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_rndne_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_rndne_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xbc,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_rndne_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xbc,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_rndne_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_rndne_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xbc,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x46,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_rndne_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x46,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_rndne_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x46,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_rndne_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x46,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_rndne_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_rndne_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x46,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_rndne_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_rndne_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x46,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_rndne_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x46,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_rndne_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x46,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_rndne_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x46,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xac,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_rsq_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xac,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_rsq_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xac,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_rsq_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xac,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_rsq_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_rsq_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xac,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_rsq_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_rsq_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xac,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_rsq_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xac,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_rsq_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xac,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_rsq_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xac,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x5c,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_rsq_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x5c,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_rsq_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x5c,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_rsq_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x5c,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_rsq_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_rsq_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x5c,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_rsq_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_rsq_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x5c,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_rsq_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x5c,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_rsq_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_rsq_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x5c,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xc0,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_sin_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_sin_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xc0,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_sin_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xc0,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_sin_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xc0,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_sin_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_sin_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xc0,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_sin_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_sin_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xc0,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_sin_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xc0,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_sin_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_sin_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xc0,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x6a,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_sin_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_sin_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x6a,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_sin_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x6a,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_sin_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x6a,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_sin_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_sin_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x6a,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_sin_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_sin_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x6a,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_sin_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x6a,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_sin_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_sin_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x6a,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xaa,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_sqrt_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xaa,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_sqrt_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xaa,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_sqrt_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xaa,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_sqrt_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_sqrt_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xaa,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_sqrt_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_sqrt_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xaa,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_sqrt_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xaa,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_sqrt_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_sqrt_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xaa,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x66,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_sqrt_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x66,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_sqrt_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x66,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_sqrt_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x66,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_sqrt_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_sqrt_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x66,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_sqrt_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_sqrt_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x66,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_sqrt_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x66,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_sqrt_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x66,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_sqrt_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x66,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0xba,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_trunc_f16_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0xba,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_trunc_f16_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0xba,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_trunc_f16_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0xba,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_trunc_f16_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_trunc_f16_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0xba,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_trunc_f16_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_trunc_f16_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0xba,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_trunc_f16_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0xba,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_trunc_f16_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0xba,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_trunc_f16_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0xba,0x0a,0x7e,0x01,0x06,0x26,0x00] + +0xf9,0x42,0xfe,0x7f,0x01,0x06,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0xfe,0x7f,0x01,0x06,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x16,0x00 +# GFX10: v_trunc_f32_sdwa v5, -v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x16,0x00] + +0xf9,0x42,0x0a,0x7e,0x7f,0x06,0x86,0x00 +# GFX10: v_trunc_f32_sdwa v5, exec_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x7f,0x06,0x86,0x00] + +0xf9,0x42,0x0a,0x7e,0x7e,0x06,0x86,0x00 +# GFX10: v_trunc_f32_sdwa v5, exec_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x7e,0x06,0x86,0x00] + +0xf9,0x42,0x0a,0x7e,0x7c,0x06,0x86,0x00 +# GFX10: v_trunc_f32_sdwa v5, m0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x7c,0x06,0x86,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x86,0x00 +# GFX10: v_trunc_f32_sdwa v5, s1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x86,0x00] + +0xf9,0x42,0x0a,0x7e,0x65,0x06,0x86,0x00 +# GFX10: v_trunc_f32_sdwa v5, s101 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x65,0x06,0x86,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x26,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x26,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0xc6,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0xc6,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x00,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x00,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x01,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x01,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x02,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x02,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x03,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x03,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x00,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x00,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x01,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x01,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x02,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x02,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x03,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x03,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x04,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x04,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x05,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x05,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x16,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x16,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x0e,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x0e,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x04,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x04,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x05,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x05,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x46,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x46,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x86,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v1 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x86,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0xff,0x06,0x06,0x00 +# GFX10: v_trunc_f32_sdwa v5, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0xff,0x06,0x06,0x00] + +0xf9,0x42,0x0a,0x7e,0x6b,0x06,0x86,0x00 +# GFX10: v_trunc_f32_sdwa v5, vcc_hi dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x6b,0x06,0x86,0x00] + +0xf9,0x42,0x0a,0x7e,0x6a,0x06,0x86,0x00 +# GFX10: v_trunc_f32_sdwa v5, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x6a,0x06,0x86,0x00] + +0xf9,0x42,0x0a,0x7e,0x01,0x06,0x26,0x00 +# GFX10: v_trunc_f32_sdwa v5, |v1| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD ; encoding: [0xf9,0x42,0x0a,0x7e,0x01,0x06,0x26,0x00] diff --git a/tests/data/llvm-amdgpu/gfx10_vop2.txt b/tests/data/llvm-amdgpu/gfx10_vop2.txt new file mode 100644 index 0000000..26b498a --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_vop2.txt @@ -0,0 +1,2307 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX10,W32 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX10,W64 %s + + +0x01,0x05,0xfe,0x51 +# W32: v_add_co_ci_u32_e32 v255, vcc_lo, v1, v2, vcc_lo ; encoding: [0x01,0x05,0xfe,0x51] +# W64: v_add_co_ci_u32_e32 v255, vcc, v1, v2, vcc ; encoding: [0x01,0x05,0xfe,0x51] + +0xc1,0x04,0x0a,0x50 +# W32: v_add_co_ci_u32_e32 v5, vcc_lo, -1, v2, vcc_lo ; encoding: [0xc1,0x04,0x0a,0x50] +# W64: v_add_co_ci_u32_e32 v5, vcc, -1, v2, vcc ; encoding: [0xc1,0x04,0x0a,0x50] + +0xf7,0x04,0x0a,0x50 +# W32: v_add_co_ci_u32_e32 v5, vcc_lo, -4.0, v2, vcc_lo ; encoding: [0xf7,0x04,0x0a,0x50] +# W64: v_add_co_ci_u32_e32 v5, vcc, -4.0, v2, vcc ; encoding: [0xf7,0x04,0x0a,0x50] + +0x80,0x04,0x0a,0x50 +# W32: v_add_co_ci_u32_e32 v5, vcc_lo, 0, v2, vcc_lo ; encoding: [0x80,0x04,0x0a,0x50] +# W64: v_add_co_ci_u32_e32 v5, vcc, 0, v2, vcc ; encoding: [0x80,0x04,0x0a,0x50] + +0xf0,0x04,0x0a,0x50 +# W32: v_add_co_ci_u32_e32 v5, vcc_lo, 0.5, v2, vcc_lo ; encoding: [0xf0,0x04,0x0a,0x50] +# W64: v_add_co_ci_u32_e32 v5, vcc, 0.5, v2, vcc ; encoding: [0xf0,0x04,0x0a,0x50] + +0x01,0x05,0x0a,0x50 +# W32: v_add_co_ci_u32_e32 v5, vcc_lo, v1, v2, vcc_lo ; encoding: [0x01,0x05,0x0a,0x50] +# W64: v_add_co_ci_u32_e32 v5, vcc, v1, v2, vcc ; encoding: [0x01,0x05,0x0a,0x50] + +0x01,0xff,0x0b,0x50 +# W32: v_add_co_ci_u32_e32 v5, vcc_lo, v1, v255, vcc_lo ; encoding: [0x01,0xff,0x0b,0x50] +# W64: v_add_co_ci_u32_e32 v5, vcc, v1, v255, vcc ; encoding: [0x01,0xff,0x0b,0x50] + +0xff,0x05,0x0a,0x50 +# W32: v_add_co_ci_u32_e32 v5, vcc_lo, v255, v2, vcc_lo ; encoding: [0xff,0x05,0x0a,0x50] +# W64: v_add_co_ci_u32_e32 v5, vcc, v255, v2, vcc ; encoding: [0xff,0x05,0x0a,0x50] + +0x01,0x05,0xfe,0x65 +# GFX10: v_add_f16_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x65] + +0xc1,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x64] + +0xf7,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x64] + +0x80,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x64] + +0xf0,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x64] + +0xff,0x04,0x0a,0x64,0x56,0x34,0x00,0x00 +# GFX10: v_add_f16_e32 v5, 0x3456, v2 ; encoding: [0xff,0x04,0x0a,0x64,0x56,0x34,0x00,0x00] + +0xff,0x04,0x0a,0x64,0x0b,0xfe,0x00,0x00 +# GFX10: v_add_f16_e32 v5, 0xfe0b, v2 ; encoding: [0xff,0x04,0x0a,0x64,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x64] + +0x7e,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x64] + +0x7c,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x64] + +0x01,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x64] + +0x65,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x64] + +0x01,0x05,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x64] + +0x01,0xff,0x0b,0x64 +# GFX10: v_add_f16_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x64] + +0xff,0x05,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x64] + +0x6b,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x64] + +0x6a,0x04,0x0a,0x64 +# GFX10: v_add_f16_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x64] + +0x01,0x05,0xfe,0x07 +# GFX10: v_add_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x07] + +0xc1,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x06] + +0xf7,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x06] + +0x80,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x06] + +0xf0,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x06] + +0xff,0x04,0x0a,0x06,0x73,0x72,0x71,0x3f +# GFX10: v_add_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x06,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x06,0x56,0x34,0x12,0xaf +# GFX10: v_add_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x06,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x06] + +0x7e,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x06] + +0x7c,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x06] + +0x01,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x06] + +0x65,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x06] + +0x01,0x05,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x06] + +0x01,0xff,0x0b,0x06 +# GFX10: v_add_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x06] + +0xff,0x05,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x06] + +0x6b,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x06] + +0x6a,0x04,0x0a,0x06 +# GFX10: v_add_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x06] + +0x01,0x05,0xfe,0x4b +# GFX10: v_add_nc_u32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x4b] + +0xc1,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x4a] + +0xf7,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x4a] + +0x80,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x4a] + +0xf0,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x4a] + +0xff,0x04,0x0a,0x4a,0x73,0x72,0x71,0x3f +# GFX10: v_add_nc_u32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x4a,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x4a,0x56,0x34,0x12,0xaf +# GFX10: v_add_nc_u32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x4a,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x4a] + +0x7e,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x4a] + +0x7c,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x4a] + +0x01,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x4a] + +0x65,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x4a] + +0x01,0x05,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x4a] + +0x01,0xff,0x0b,0x4a +# GFX10: v_add_nc_u32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x4a] + +0xff,0x05,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x4a] + +0x6b,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x4a] + +0x6a,0x04,0x0a,0x4a +# GFX10: v_add_nc_u32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x4a] + +0x01,0x05,0xfe,0x37 +# GFX10: v_and_b32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x37] + +0xc1,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x36] + +0xf7,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x36] + +0x80,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x36] + +0xf0,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x36] + +0xff,0x04,0x0a,0x36,0x73,0x72,0x71,0x3f +# GFX10: v_and_b32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x36,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x36,0x56,0x34,0x12,0xaf +# GFX10: v_and_b32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x36,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x36] + +0x7e,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x36] + +0x7c,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x36] + +0x01,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x36] + +0x67,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x36] + +0x77,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x36] + +0x01,0x05,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x36] + +0x01,0xff,0x0b,0x36 +# GFX10: v_and_b32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x36] + +0xff,0x05,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x36] + +0x6b,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x36] + +0x6a,0x04,0x0a,0x36 +# GFX10: v_and_b32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x36] + +0x01,0x05,0xfe,0x31 +# GFX10: v_ashrrev_i32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x31] + +0xc1,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x30] + +0xf7,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x30] + +0x80,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x30] + +0xf0,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x30] + +0xff,0x04,0x0a,0x30,0x73,0x72,0x71,0x3f +# GFX10: v_ashrrev_i32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x30,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x30,0x56,0x34,0x12,0xaf +# GFX10: v_ashrrev_i32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x30,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x30] + +0x7e,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x30] + +0x7c,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x30] + +0x01,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x30] + +0x67,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x30] + +0x77,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x30] + +0x01,0x05,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x30] + +0x01,0xff,0x0b,0x30 +# GFX10: v_ashrrev_i32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x30] + +0xff,0x05,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x30] + +0x6b,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x30] + +0x6a,0x04,0x0a,0x30 +# GFX10: v_ashrrev_i32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x30] + +0x01,0x05,0xfe,0x03 +# W32: v_cndmask_b32_e32 v255, v1, v2, vcc_lo ; encoding: [0x01,0x05,0xfe,0x03] +# W64: v_cndmask_b32_e32 v255, v1, v2, vcc ; encoding: [0x01,0x05,0xfe,0x03] + +0xc1,0x04,0x0a,0x02 +# W32: v_cndmask_b32_e32 v5, -1, v2, vcc_lo ; encoding: [0xc1,0x04,0x0a,0x02] +# W64: v_cndmask_b32_e32 v5, -1, v2, vcc ; encoding: [0xc1,0x04,0x0a,0x02] + +0xf7,0x04,0x0a,0x02 +# W32: v_cndmask_b32_e32 v5, -4.0, v2, vcc_lo ; encoding: [0xf7,0x04,0x0a,0x02] +# W64: v_cndmask_b32_e32 v5, -4.0, v2, vcc ; encoding: [0xf7,0x04,0x0a,0x02] + +0x80,0x04,0x0a,0x02 +# W32: v_cndmask_b32_e32 v5, 0, v2, vcc_lo ; encoding: [0x80,0x04,0x0a,0x02] +# W64: v_cndmask_b32_e32 v5, 0, v2, vcc ; encoding: [0x80,0x04,0x0a,0x02] + +0xf0,0x04,0x0a,0x02 +# W32: v_cndmask_b32_e32 v5, 0.5, v2, vcc_lo ; encoding: [0xf0,0x04,0x0a,0x02] +# W64: v_cndmask_b32_e32 v5, 0.5, v2, vcc ; encoding: [0xf0,0x04,0x0a,0x02] + +0x01,0x05,0x0a,0x02 +# W32: v_cndmask_b32_e32 v5, v1, v2, vcc_lo ; encoding: [0x01,0x05,0x0a,0x02] +# W64: v_cndmask_b32_e32 v5, v1, v2, vcc ; encoding: [0x01,0x05,0x0a,0x02] + +0x01,0xff,0x0b,0x02 +# W32: v_cndmask_b32_e32 v5, v1, v255, vcc_lo ; encoding: [0x01,0xff,0x0b,0x02] +# W64: v_cndmask_b32_e32 v5, v1, v255, vcc ; encoding: [0x01,0xff,0x0b,0x02] + +0xff,0x05,0x0a,0x02 +# W32: v_cndmask_b32_e32 v5, v255, v2, vcc_lo ; encoding: [0xff,0x05,0x0a,0x02] +# W64: v_cndmask_b32_e32 v5, v255, v2, vcc ; encoding: [0xff,0x05,0x0a,0x02] + +0x01,0x05,0xfe,0x5f +# GFX10: v_cvt_pkrtz_f16_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x5f] + +0xc1,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x5e] + +0xf7,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x5e] + +0x80,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x5e] + +0xf0,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x5e] + +0xff,0x04,0x0a,0x5e,0x73,0x72,0x71,0x3f +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x5e,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x5e,0x56,0x34,0x12,0xaf +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x5e,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x5e] + +0x7e,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x5e] + +0x7c,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x5e] + +0x01,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x5e] + +0x67,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x5e] + +0x77,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x5e] + +0x01,0x05,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x5e] + +0x01,0xff,0x0b,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x5e] + +0xff,0x05,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x5e] + +0x6b,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x5e] + +0x6a,0x04,0x0a,0x5e +# GFX10: v_cvt_pkrtz_f16_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x5e] + +0x01,0x05,0xfe,0x71,0x21,0x11,0x00,0x00 +# GFX10: v_fmaak_f16 v255, v1, v2, 0x1121 ; encoding: [0x01,0x05,0xfe,0x71,0x21,0x11,0x00,0x00] + +0xc1,0x04,0x0a,0x70,0x21,0x11,0x00,0x00 +# GFX10: v_fmaak_f16 v5, -1, v2, 0x1121 ; encoding: [0xc1,0x04,0x0a,0x70,0x21,0x11,0x00,0x00] + +0xf7,0x04,0x0a,0x70,0x21,0x11,0x00,0x00 +# GFX10: v_fmaak_f16 v5, -4.0, v2, 0x1121 ; encoding: [0xf7,0x04,0x0a,0x70,0x21,0x11,0x00,0x00] + +0x80,0x04,0x0a,0x70,0x21,0x11,0x00,0x00 +# GFX10: v_fmaak_f16 v5, 0, v2, 0x1121 ; encoding: [0x80,0x04,0x0a,0x70,0x21,0x11,0x00,0x00] + +0xf0,0x04,0x0a,0x70,0x21,0x11,0x00,0x00 +# GFX10: v_fmaak_f16 v5, 0.5, v2, 0x1121 ; encoding: [0xf0,0x04,0x0a,0x70,0x21,0x11,0x00,0x00] + +0xff,0x04,0x0a,0x70,0x21,0x11,0x00,0x00 +# GFX10: v_fmaak_f16 v5, 0x1121, v2, 0x1121 ; encoding: [0xff,0x04,0x0a,0x70,0x21,0x11,0x00,0x00] + +0x01,0x05,0x0a,0x70,0x21,0x11,0x00,0x00 +# GFX10: v_fmaak_f16 v5, v1, v2, 0x1121 ; encoding: [0x01,0x05,0x0a,0x70,0x21,0x11,0x00,0x00] + +0x01,0x05,0x0a,0x70,0xb1,0xa1,0x00,0x00 +# GFX10: v_fmaak_f16 v5, v1, v2, 0xa1b1 ; encoding: [0x01,0x05,0x0a,0x70,0xb1,0xa1,0x00,0x00] + +0x01,0xff,0x0b,0x70,0x21,0x11,0x00,0x00 +# GFX10: v_fmaak_f16 v5, v1, v255, 0x1121 ; encoding: [0x01,0xff,0x0b,0x70,0x21,0x11,0x00,0x00] + +0xff,0x05,0x0a,0x70,0x21,0x11,0x00,0x00 +# GFX10: v_fmaak_f16 v5, v255, v2, 0x1121 ; encoding: [0xff,0x05,0x0a,0x70,0x21,0x11,0x00,0x00] + +0x01,0x05,0xfe,0x5b,0x41,0x31,0x21,0x11 +# GFX10: v_fmaak_f32 v255, v1, v2, 0x11213141 ; encoding: [0x01,0x05,0xfe,0x5b,0x41,0x31,0x21,0x11] + +0xc1,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11 +# GFX10: v_fmaak_f32 v5, -1, v2, 0x11213141 ; encoding: [0xc1,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11] + +0xf7,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11 +# GFX10: v_fmaak_f32 v5, -4.0, v2, 0x11213141 ; encoding: [0xf7,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11] + +0x80,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11 +# GFX10: v_fmaak_f32 v5, 0, v2, 0x11213141 ; encoding: [0x80,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11] + +0xf0,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11 +# GFX10: v_fmaak_f32 v5, 0.5, v2, 0x11213141 ; encoding: [0xf0,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11] + +0xff,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11 +# GFX10: v_fmaak_f32 v5, 0x11213141, v2, 0x11213141 ; encoding: [0xff,0x04,0x0a,0x5a,0x41,0x31,0x21,0x11] + +0x01,0x05,0x0a,0x5a,0x41,0x31,0x21,0x11 +# GFX10: v_fmaak_f32 v5, v1, v2, 0x11213141 ; encoding: [0x01,0x05,0x0a,0x5a,0x41,0x31,0x21,0x11] + +0x01,0x05,0x0a,0x5a,0xd1,0xc1,0xb1,0xa1 +# GFX10: v_fmaak_f32 v5, v1, v2, 0xa1b1c1d1 ; encoding: [0x01,0x05,0x0a,0x5a,0xd1,0xc1,0xb1,0xa1] + +0x01,0xff,0x0b,0x5a,0x41,0x31,0x21,0x11 +# GFX10: v_fmaak_f32 v5, v1, v255, 0x11213141 ; encoding: [0x01,0xff,0x0b,0x5a,0x41,0x31,0x21,0x11] + +0xff,0x05,0x0a,0x5a,0x41,0x31,0x21,0x11 +# GFX10: v_fmaak_f32 v5, v255, v2, 0x11213141 ; encoding: [0xff,0x05,0x0a,0x5a,0x41,0x31,0x21,0x11] + +0x01,0x05,0xfe,0x6d +# GFX10: v_fmac_f16_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x6d] + +0xc1,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x6c] + +0xf7,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x6c] + +0x80,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x6c] + +0xf0,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x6c] + +0xff,0x04,0x0a,0x6c,0x34,0x12,0x00,0x00 +# GFX10: v_fmac_f16_e32 v5, 0x1234, v2 ; encoding: [0xff,0x04,0x0a,0x6c,0x34,0x12,0x00,0x00] + +0x7f,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x6c] + +0x7e,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x6c] + +0x7c,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x6c] + +0x01,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x6c] + +0x67,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x6c] + +0x77,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x6c] + +0x01,0x05,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x6c] + +0x01,0xff,0x0b,0x6c +# GFX10: v_fmac_f16_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x6c] + +0xff,0x05,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x6c] + +0x6b,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x6c] + +0x6a,0x04,0x0a,0x6c +# GFX10: v_fmac_f16_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x6c] + +0x01,0x05,0xfe,0x57 +# GFX10: v_fmac_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x57] + +0xc1,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x56] + +0xf7,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x56] + +0x80,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x56] + +0xf0,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x56] + +0xff,0x04,0x0a,0x56,0x73,0x72,0x71,0x3f +# GFX10: v_fmac_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x56,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x56,0x56,0x34,0x12,0xaf +# GFX10: v_fmac_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x56,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x56] + +0x7e,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x56] + +0x7c,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x56] + +0x01,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x56] + +0x67,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x56] + +0x77,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x56] + +0x01,0x05,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x56] + +0x01,0xff,0x0b,0x56 +# GFX10: v_fmac_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x56] + +0xff,0x05,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x56] + +0x6b,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x56] + +0x6a,0x04,0x0a,0x56 +# GFX10: v_fmac_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x56] + +0xff,0x06,0xfe,0x6f,0x21,0x11,0x00,0x00 +# GFX10: v_fmamk_f16 v255, 0x1121, 0x1121, v3 ; encoding: [0xff,0x06,0xfe,0x6f,0x21,0x11,0x00,0x00] + +0x01,0x07,0xfe,0x6f,0x21,0x11,0x00,0x00 +# GFX10: v_fmamk_f16 v255, v1, 0x1121, v3 ; encoding: [0x01,0x07,0xfe,0x6f,0x21,0x11,0x00,0x00] + +0xc1,0x06,0x0a,0x6e,0x21,0x11,0x00,0x00 +# GFX10: v_fmamk_f16 v5, -1, 0x1121, v3 ; encoding: [0xc1,0x06,0x0a,0x6e,0x21,0x11,0x00,0x00] + +0xf7,0x06,0x0a,0x6e,0x21,0x11,0x00,0x00 +# GFX10: v_fmamk_f16 v5, -4.0, 0x1121, v3 ; encoding: [0xf7,0x06,0x0a,0x6e,0x21,0x11,0x00,0x00] + +0x80,0x06,0x0a,0x6e,0x21,0x11,0x00,0x00 +# GFX10: v_fmamk_f16 v5, 0, 0x1121, v3 ; encoding: [0x80,0x06,0x0a,0x6e,0x21,0x11,0x00,0x00] + +0xf0,0x06,0x0a,0x6e,0x21,0x11,0x00,0x00 +# GFX10: v_fmamk_f16 v5, 0.5, 0x1121, v3 ; encoding: [0xf0,0x06,0x0a,0x6e,0x21,0x11,0x00,0x00] + +0x01,0xff,0x0b,0x6e,0x21,0x11,0x00,0x00 +# GFX10: v_fmamk_f16 v5, v1, 0x1121, v255 ; encoding: [0x01,0xff,0x0b,0x6e,0x21,0x11,0x00,0x00] + +0x01,0x07,0x0a,0x6e,0x21,0x11,0x00,0x00 +# GFX10: v_fmamk_f16 v5, v1, 0x1121, v3 ; encoding: [0x01,0x07,0x0a,0x6e,0x21,0x11,0x00,0x00] + +0x01,0x07,0x0a,0x6e,0xb1,0xa1,0x00,0x00 +# GFX10: v_fmamk_f16 v5, v1, 0xa1b1, v3 ; encoding: [0x01,0x07,0x0a,0x6e,0xb1,0xa1,0x00,0x00] + +0xff,0x07,0x0a,0x6e,0x21,0x11,0x00,0x00 +# GFX10: v_fmamk_f16 v5, v255, 0x1121, v3 ; encoding: [0xff,0x07,0x0a,0x6e,0x21,0x11,0x00,0x00] + +0x01,0x07,0xfe,0x59,0x41,0x31,0x21,0x11 +# GFX10: v_fmamk_f32 v255, v1, 0x11213141, v3 ; encoding: [0x01,0x07,0xfe,0x59,0x41,0x31,0x21,0x11] + +0xc1,0x06,0x0a,0x58,0x41,0x31,0x21,0x11 +# GFX10: v_fmamk_f32 v5, -1, 0x11213141, v3 ; encoding: [0xc1,0x06,0x0a,0x58,0x41,0x31,0x21,0x11] + +0xf7,0x06,0x0a,0x58,0x41,0x31,0x21,0x11 +# GFX10: v_fmamk_f32 v5, -4.0, 0x11213141, v3 ; encoding: [0xf7,0x06,0x0a,0x58,0x41,0x31,0x21,0x11] + +0x80,0x06,0x0a,0x58,0x41,0x31,0x21,0x11 +# GFX10: v_fmamk_f32 v5, 0, 0x11213141, v3 ; encoding: [0x80,0x06,0x0a,0x58,0x41,0x31,0x21,0x11] + +0xf0,0x06,0x0a,0x58,0x41,0x31,0x21,0x11 +# GFX10: v_fmamk_f32 v5, 0.5, 0x11213141, v3 ; encoding: [0xf0,0x06,0x0a,0x58,0x41,0x31,0x21,0x11] + +0xff,0x06,0x0a,0x58,0x41,0x31,0x21,0x11 +# GFX10: v_fmamk_f32 v5, 0x11213141, 0x11213141, v3 ; encoding: [0xff,0x06,0x0a,0x58,0x41,0x31,0x21,0x11] + +0x01,0xff,0x0b,0x58,0x41,0x31,0x21,0x11 +# GFX10: v_fmamk_f32 v5, v1, 0x11213141, v255 ; encoding: [0x01,0xff,0x0b,0x58,0x41,0x31,0x21,0x11] + +0x01,0x07,0x0a,0x58,0x41,0x31,0x21,0x11 +# GFX10: v_fmamk_f32 v5, v1, 0x11213141, v3 ; encoding: [0x01,0x07,0x0a,0x58,0x41,0x31,0x21,0x11] + +0x01,0x07,0x0a,0x58,0xd1,0xc1,0xb1,0xa1 +# GFX10: v_fmamk_f32 v5, v1, 0xa1b1c1d1, v3 ; encoding: [0x01,0x07,0x0a,0x58,0xd1,0xc1,0xb1,0xa1] + +0xff,0x07,0x0a,0x58,0x41,0x31,0x21,0x11 +# GFX10: v_fmamk_f32 v5, v255, 0x11213141, v3 ; encoding: [0xff,0x07,0x0a,0x58,0x41,0x31,0x21,0x11] + +0x01,0x05,0xfe,0x77 +# GFX10: v_ldexp_f16_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x77] + +0xc1,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x76] + +0xf7,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x76] + +0x80,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x76] + +0xf0,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x76] + +0xff,0x04,0x0a,0x76,0x56,0x34,0x00,0x00 +# GFX10: v_ldexp_f16_e32 v5, 0x3456, v2 ; encoding: [0xff,0x04,0x0a,0x76,0x56,0x34,0x00,0x00] + +0xff,0x04,0x0a,0x76,0x0b,0xfe,0x00,0x00 +# GFX10: v_ldexp_f16_e32 v5, 0xfe0b, v2 ; encoding: [0xff,0x04,0x0a,0x76,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x76] + +0x7e,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x76] + +0x7c,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x76] + +0x01,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x76] + +0x65,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x76] + +0x01,0x05,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x76] + +0x01,0xff,0x0b,0x76 +# GFX10: v_ldexp_f16_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x76] + +0xff,0x05,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x76] + +0x6b,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x76] + +0x6a,0x04,0x0a,0x76 +# GFX10: v_ldexp_f16_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x76] + +0x01,0x05,0xfe,0x35 +# GFX10: v_lshlrev_b32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x35] + +0xc1,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x34] + +0xf7,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x34] + +0x80,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x34] + +0xf0,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x34] + +0xff,0x04,0x0a,0x34,0x73,0x72,0x71,0x3f +# GFX10: v_lshlrev_b32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x34,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x34,0x56,0x34,0x12,0xaf +# GFX10: v_lshlrev_b32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x34,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x34] + +0x7e,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x34] + +0x7c,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x34] + +0x01,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x34] + +0x67,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x34] + +0x77,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x34] + +0x01,0x05,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x34] + +0x01,0xff,0x0b,0x34 +# GFX10: v_lshlrev_b32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x34] + +0xff,0x05,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x34] + +0x6b,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x34] + +0x6a,0x04,0x0a,0x34 +# GFX10: v_lshlrev_b32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x34] + +0x01,0x05,0xfe,0x2d +# GFX10: v_lshrrev_b32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x2d] + +0xc1,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x2c] + +0xf7,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x2c] + +0x80,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x2c] + +0xf0,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x2c] + +0xff,0x04,0x0a,0x2c,0x73,0x72,0x71,0x3f +# GFX10: v_lshrrev_b32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x2c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x2c,0x56,0x34,0x12,0xaf +# GFX10: v_lshrrev_b32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x2c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x2c] + +0x7e,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x2c] + +0x7c,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x2c] + +0x01,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x2c] + +0x67,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x2c] + +0x77,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x2c] + +0x01,0x05,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x2c] + +0x01,0xff,0x0b,0x2c +# GFX10: v_lshrrev_b32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x2c] + +0xff,0x05,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x2c] + +0x6b,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x2c] + +0x6a,0x04,0x0a,0x2c +# GFX10: v_lshrrev_b32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x2c] + +0x01,0x05,0xfe,0x3f +# GFX10: v_mac_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x3f] + +0xc1,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x3e] + +0xf7,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x3e] + +0x80,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x3e] + +0xf0,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x3e] + +0xff,0x04,0x0a,0x3e,0x73,0x72,0x71,0x3f +# GFX10: v_mac_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x3e,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x3e,0x56,0x34,0x12,0xaf +# GFX10: v_mac_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x3e,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x3e] + +0x7e,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x3e] + +0x7c,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x3e] + +0x01,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x3e] + +0x67,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x3e] + +0x77,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x3e] + +0x01,0x05,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x3e] + +0x01,0xff,0x0b,0x3e +# GFX10: v_mac_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x3e] + +0xff,0x05,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x3e] + +0x6b,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x3e] + +0x6a,0x04,0x0a,0x3e +# GFX10: v_mac_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x3e] + +0x01,0x05,0xfe,0x0d +# GFX10: v_mac_legacy_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x0d] + +0xc1,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x0c] + +0xf7,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x0c] + +0x80,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x0c] + +0xf0,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x0c] + +0xff,0x04,0x0a,0x0c,0x73,0x72,0x71,0x3f +# GFX10: v_mac_legacy_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x0c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x0c,0x56,0x34,0x12,0xaf +# GFX10: v_mac_legacy_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x0c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x0c] + +0x7e,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x0c] + +0x7c,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x0c] + +0x01,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x0c] + +0x67,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x0c] + +0x77,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x0c] + +0x01,0x05,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x0c] + +0x01,0xff,0x0b,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x0c] + +0xff,0x05,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x0c] + +0x6b,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x0c] + +0x6a,0x04,0x0a,0x0c +# GFX10: v_mac_legacy_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x0c] + +0x01,0x05,0xfe,0x43,0x41,0x31,0x21,0x11 +# GFX10: v_madak_f32 v255, v1, v2, 0x11213141 ; encoding: [0x01,0x05,0xfe,0x43,0x41,0x31,0x21,0x11] + +0xc1,0x04,0x0a,0x42,0x41,0x31,0x21,0x11 +# GFX10: v_madak_f32 v5, -1, v2, 0x11213141 ; encoding: [0xc1,0x04,0x0a,0x42,0x41,0x31,0x21,0x11] + +0xf7,0x04,0x0a,0x42,0x41,0x31,0x21,0x11 +# GFX10: v_madak_f32 v5, -4.0, v2, 0x11213141 ; encoding: [0xf7,0x04,0x0a,0x42,0x41,0x31,0x21,0x11] + +0x80,0x04,0x0a,0x42,0x41,0x31,0x21,0x11 +# GFX10: v_madak_f32 v5, 0, v2, 0x11213141 ; encoding: [0x80,0x04,0x0a,0x42,0x41,0x31,0x21,0x11] + +0xf0,0x04,0x0a,0x42,0x41,0x31,0x21,0x11 +# GFX10: v_madak_f32 v5, 0.5, v2, 0x11213141 ; encoding: [0xf0,0x04,0x0a,0x42,0x41,0x31,0x21,0x11] + +0x01,0x05,0x0a,0x42,0x41,0x31,0x21,0x11 +# GFX10: v_madak_f32 v5, v1, v2, 0x11213141 ; encoding: [0x01,0x05,0x0a,0x42,0x41,0x31,0x21,0x11] + +0x01,0x05,0x0a,0x42,0xd1,0xc1,0xb1,0xa1 +# GFX10: v_madak_f32 v5, v1, v2, 0xa1b1c1d1 ; encoding: [0x01,0x05,0x0a,0x42,0xd1,0xc1,0xb1,0xa1] + +0x01,0xff,0x0b,0x42,0x41,0x31,0x21,0x11 +# GFX10: v_madak_f32 v5, v1, v255, 0x11213141 ; encoding: [0x01,0xff,0x0b,0x42,0x41,0x31,0x21,0x11] + +0xff,0x05,0x0a,0x42,0x41,0x31,0x21,0x11 +# GFX10: v_madak_f32 v5, v255, v2, 0x11213141 ; encoding: [0xff,0x05,0x0a,0x42,0x41,0x31,0x21,0x11] + +0x01,0x07,0xfe,0x41,0x41,0x31,0x21,0x11 +# GFX10: v_madmk_f32 v255, v1, 0x11213141, v3 ; encoding: [0x01,0x07,0xfe,0x41,0x41,0x31,0x21,0x11] + +0xc1,0x06,0x0a,0x40,0x41,0x31,0x21,0x11 +# GFX10: v_madmk_f32 v5, -1, 0x11213141, v3 ; encoding: [0xc1,0x06,0x0a,0x40,0x41,0x31,0x21,0x11] + +0xf7,0x06,0x0a,0x40,0x41,0x31,0x21,0x11 +# GFX10: v_madmk_f32 v5, -4.0, 0x11213141, v3 ; encoding: [0xf7,0x06,0x0a,0x40,0x41,0x31,0x21,0x11] + +0x80,0x06,0x0a,0x40,0x41,0x31,0x21,0x11 +# GFX10: v_madmk_f32 v5, 0, 0x11213141, v3 ; encoding: [0x80,0x06,0x0a,0x40,0x41,0x31,0x21,0x11] + +0xf0,0x06,0x0a,0x40,0x41,0x31,0x21,0x11 +# GFX10: v_madmk_f32 v5, 0.5, 0x11213141, v3 ; encoding: [0xf0,0x06,0x0a,0x40,0x41,0x31,0x21,0x11] + +0x01,0xff,0x0b,0x40,0x41,0x31,0x21,0x11 +# GFX10: v_madmk_f32 v5, v1, 0x11213141, v255 ; encoding: [0x01,0xff,0x0b,0x40,0x41,0x31,0x21,0x11] + +0x01,0x07,0x0a,0x40,0x41,0x31,0x21,0x11 +# GFX10: v_madmk_f32 v5, v1, 0x11213141, v3 ; encoding: [0x01,0x07,0x0a,0x40,0x41,0x31,0x21,0x11] + +0x01,0x07,0x0a,0x40,0xd1,0xc1,0xb1,0xa1 +# GFX10: v_madmk_f32 v5, v1, 0xa1b1c1d1, v3 ; encoding: [0x01,0x07,0x0a,0x40,0xd1,0xc1,0xb1,0xa1] + +0xff,0x07,0x0a,0x40,0x41,0x31,0x21,0x11 +# GFX10: v_madmk_f32 v5, v255, 0x11213141, v3 ; encoding: [0xff,0x07,0x0a,0x40,0x41,0x31,0x21,0x11] + +0x01,0x05,0xfe,0x73 +# GFX10: v_max_f16_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x73] + +0xc1,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x72] + +0xf7,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x72] + +0x80,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x72] + +0xf0,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x72] + +0xff,0x04,0x0a,0x72,0x56,0x34,0x00,0x00 +# GFX10: v_max_f16_e32 v5, 0x3456, v2 ; encoding: [0xff,0x04,0x0a,0x72,0x56,0x34,0x00,0x00] + +0xff,0x04,0x0a,0x72,0x0b,0xfe,0x00,0x00 +# GFX10: v_max_f16_e32 v5, 0xfe0b, v2 ; encoding: [0xff,0x04,0x0a,0x72,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x72] + +0x7e,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x72] + +0x7c,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x72] + +0x01,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x72] + +0x65,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x72] + +0x01,0x05,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x72] + +0x01,0xff,0x0b,0x72 +# GFX10: v_max_f16_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x72] + +0xff,0x05,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x72] + +0x6b,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x72] + +0x6a,0x04,0x0a,0x72 +# GFX10: v_max_f16_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x72] + +0x01,0x05,0xfe,0x21 +# GFX10: v_max_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x21] + +0xc1,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x20] + +0xf7,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x20] + +0x80,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x20] + +0xf0,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x20] + +0xff,0x04,0x0a,0x20,0x73,0x72,0x71,0x3f +# GFX10: v_max_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x20,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x20,0x56,0x34,0x12,0xaf +# GFX10: v_max_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x20,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x20] + +0x7e,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x20] + +0x7c,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x20] + +0x01,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x20] + +0x67,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x20] + +0x77,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x20] + +0x01,0x05,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x20] + +0x01,0xff,0x0b,0x20 +# GFX10: v_max_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x20] + +0xff,0x05,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x20] + +0x6b,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x20] + +0x6a,0x04,0x0a,0x20 +# GFX10: v_max_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x20] + +0x01,0x05,0xfe,0x25 +# GFX10: v_max_i32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x25] + +0xc1,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x24] + +0xf7,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x24] + +0x80,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x24] + +0xf0,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x24] + +0xff,0x04,0x0a,0x24,0x73,0x72,0x71,0x3f +# GFX10: v_max_i32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x24,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x24,0x56,0x34,0x12,0xaf +# GFX10: v_max_i32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x24,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x24] + +0x7e,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x24] + +0x7c,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x24] + +0x01,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x24] + +0x67,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x24] + +0x77,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x24] + +0x01,0x05,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x24] + +0x01,0xff,0x0b,0x24 +# GFX10: v_max_i32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x24] + +0xff,0x05,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x24] + +0x6b,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x24] + +0x6a,0x04,0x0a,0x24 +# GFX10: v_max_i32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x24] + +0x01,0x05,0xfe,0x29 +# GFX10: v_max_u32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x29] + +0xc1,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x28] + +0xf7,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x28] + +0x80,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x28] + +0xf0,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x28] + +0xff,0x04,0x0a,0x28,0x73,0x72,0x71,0x3f +# GFX10: v_max_u32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x28,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x28,0x56,0x34,0x12,0xaf +# GFX10: v_max_u32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x28,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x28] + +0x7e,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x28] + +0x7c,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x28] + +0x01,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x28] + +0x67,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x28] + +0x77,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x28] + +0x01,0x05,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x28] + +0x01,0xff,0x0b,0x28 +# GFX10: v_max_u32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x28] + +0xff,0x05,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x28] + +0x6b,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x28] + +0x6a,0x04,0x0a,0x28 +# GFX10: v_max_u32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x28] + +0x01,0x05,0xfe,0x75 +# GFX10: v_min_f16_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x75] + +0xc1,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x74] + +0xf7,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x74] + +0x80,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x74] + +0xf0,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x74] + +0xff,0x04,0x0a,0x74,0x56,0x34,0x00,0x00 +# GFX10: v_min_f16_e32 v5, 0x3456, v2 ; encoding: [0xff,0x04,0x0a,0x74,0x56,0x34,0x00,0x00] + +0xff,0x04,0x0a,0x74,0x0b,0xfe,0x00,0x00 +# GFX10: v_min_f16_e32 v5, 0xfe0b, v2 ; encoding: [0xff,0x04,0x0a,0x74,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x74] + +0x7e,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x74] + +0x7c,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x74] + +0x01,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x74] + +0x65,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x74] + +0x01,0x05,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x74] + +0x01,0xff,0x0b,0x74 +# GFX10: v_min_f16_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x74] + +0xff,0x05,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x74] + +0x6b,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x74] + +0x6a,0x04,0x0a,0x74 +# GFX10: v_min_f16_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x74] + +0x01,0x05,0xfe,0x1f +# GFX10: v_min_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x1f] + +0xc1,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x1e] + +0xf7,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x1e] + +0x80,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x1e] + +0xf0,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x1e] + +0xff,0x04,0x0a,0x1e,0x73,0x72,0x71,0x3f +# GFX10: v_min_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x1e,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x1e,0x56,0x34,0x12,0xaf +# GFX10: v_min_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x1e,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x1e] + +0x7e,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x1e] + +0x7c,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x1e] + +0x01,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x1e] + +0x67,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x1e] + +0x77,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x1e] + +0x01,0x05,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x1e] + +0x01,0xff,0x0b,0x1e +# GFX10: v_min_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x1e] + +0xff,0x05,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x1e] + +0x6b,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x1e] + +0x6a,0x04,0x0a,0x1e +# GFX10: v_min_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x1e] + +0x01,0x05,0xfe,0x23 +# GFX10: v_min_i32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x23] + +0xc1,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x22] + +0xf7,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x22] + +0x80,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x22] + +0xf0,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x22] + +0xff,0x04,0x0a,0x22,0x73,0x72,0x71,0x3f +# GFX10: v_min_i32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x22,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x22,0x56,0x34,0x12,0xaf +# GFX10: v_min_i32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x22,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x22] + +0x7e,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x22] + +0x7c,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x22] + +0x01,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x22] + +0x67,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x22] + +0x77,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x22] + +0x01,0x05,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x22] + +0x01,0xff,0x0b,0x22 +# GFX10: v_min_i32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x22] + +0xff,0x05,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x22] + +0x6b,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x22] + +0x6a,0x04,0x0a,0x22 +# GFX10: v_min_i32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x22] + +0x01,0x05,0xfe,0x27 +# GFX10: v_min_u32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x27] + +0xc1,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x26] + +0xf7,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x26] + +0x80,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x26] + +0xf0,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x26] + +0xff,0x04,0x0a,0x26,0x73,0x72,0x71,0x3f +# GFX10: v_min_u32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x26,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x26,0x56,0x34,0x12,0xaf +# GFX10: v_min_u32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x26,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x26] + +0x7e,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x26] + +0x7c,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x26] + +0x01,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x26] + +0x67,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x26] + +0x77,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x26] + +0x01,0x05,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x26] + +0x01,0xff,0x0b,0x26 +# GFX10: v_min_u32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x26] + +0xff,0x05,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x26] + +0x6b,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x26] + +0x6a,0x04,0x0a,0x26 +# GFX10: v_min_u32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x26] + +0x01,0x05,0xfe,0x6b +# GFX10: v_mul_f16_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x6b] + +0xc1,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x6a] + +0xf7,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x6a] + +0x80,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x6a] + +0xf0,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x6a] + +0xff,0x04,0x0a,0x6a,0x56,0x34,0x00,0x00 +# GFX10: v_mul_f16_e32 v5, 0x3456, v2 ; encoding: [0xff,0x04,0x0a,0x6a,0x56,0x34,0x00,0x00] + +0xff,0x04,0x0a,0x6a,0x0b,0xfe,0x00,0x00 +# GFX10: v_mul_f16_e32 v5, 0xfe0b, v2 ; encoding: [0xff,0x04,0x0a,0x6a,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x6a] + +0x7e,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x6a] + +0x7c,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x6a] + +0x01,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x6a] + +0x65,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x6a] + +0x01,0x05,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x6a] + +0x01,0xff,0x0b,0x6a +# GFX10: v_mul_f16_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x6a] + +0xff,0x05,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x6a] + +0x6b,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x6a] + +0x6a,0x04,0x0a,0x6a +# GFX10: v_mul_f16_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x6a] + +0x01,0x05,0xfe,0x11 +# GFX10: v_mul_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x11] + +0xc1,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x10] + +0xf7,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x10] + +0x80,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x10] + +0xf0,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x10] + +0xff,0x04,0x0a,0x10,0x73,0x72,0x71,0x3f +# GFX10: v_mul_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x10,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x10,0x56,0x34,0x12,0xaf +# GFX10: v_mul_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x10,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x10] + +0x7e,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x10] + +0x7c,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x10] + +0x01,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x10] + +0x67,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x10] + +0x77,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x10] + +0x01,0x05,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x10] + +0x01,0xff,0x0b,0x10 +# GFX10: v_mul_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x10] + +0xff,0x05,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x10] + +0x6b,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x10] + +0x6a,0x04,0x0a,0x10 +# GFX10: v_mul_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x10] + +0x01,0x05,0xfe,0x15 +# GFX10: v_mul_hi_i32_i24_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x15] + +0xc1,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x14] + +0xf7,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x14] + +0x80,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x14] + +0xf0,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x14] + +0xff,0x04,0x0a,0x14,0x73,0x72,0x71,0x3f +# GFX10: v_mul_hi_i32_i24_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x14,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x14,0x56,0x34,0x12,0xaf +# GFX10: v_mul_hi_i32_i24_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x14,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x14] + +0x7e,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x14] + +0x7c,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x14] + +0x01,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x14] + +0x67,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x14] + +0x77,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x14] + +0x01,0x05,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x14] + +0x01,0xff,0x0b,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x14] + +0xff,0x05,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x14] + +0x6b,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x14] + +0x6a,0x04,0x0a,0x14 +# GFX10: v_mul_hi_i32_i24_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x14] + +0x01,0x05,0xfe,0x19 +# GFX10: v_mul_hi_u32_u24_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x19] + +0xc1,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x18] + +0xf7,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x18] + +0x80,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x18] + +0xf0,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x18] + +0xff,0x04,0x0a,0x18,0x73,0x72,0x71,0x3f +# GFX10: v_mul_hi_u32_u24_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x18,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x18,0x56,0x34,0x12,0xaf +# GFX10: v_mul_hi_u32_u24_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x18,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x18] + +0x7e,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x18] + +0x7c,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x18] + +0x01,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x18] + +0x67,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x18] + +0x77,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x18] + +0x01,0x05,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x18] + +0x01,0xff,0x0b,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x18] + +0xff,0x05,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x18] + +0x6b,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x18] + +0x6a,0x04,0x0a,0x18 +# GFX10: v_mul_hi_u32_u24_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x18] + +0x01,0x05,0xfe,0x13 +# GFX10: v_mul_i32_i24_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x13] + +0xc1,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x12] + +0xf7,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x12] + +0x80,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x12] + +0xf0,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x12] + +0xff,0x04,0x0a,0x12,0x73,0x72,0x71,0x3f +# GFX10: v_mul_i32_i24_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x12,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x12,0x56,0x34,0x12,0xaf +# GFX10: v_mul_i32_i24_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x12,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x12] + +0x7e,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x12] + +0x7c,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x12] + +0x01,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x12] + +0x67,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x12] + +0x77,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x12] + +0x01,0x05,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x12] + +0x01,0xff,0x0b,0x12 +# GFX10: v_mul_i32_i24_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x12] + +0xff,0x05,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x12] + +0x6b,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x12] + +0x6a,0x04,0x0a,0x12 +# GFX10: v_mul_i32_i24_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x12] + +0x01,0x05,0xfe,0x0f +# GFX10: v_mul_legacy_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x0f] + +0xc1,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x0e] + +0xf7,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x0e] + +0x80,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x0e] + +0xf0,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x0e] + +0xff,0x04,0x0a,0x0e,0x73,0x72,0x71,0x3f +# GFX10: v_mul_legacy_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x0e,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x0e,0x56,0x34,0x12,0xaf +# GFX10: v_mul_legacy_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x0e,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x0e] + +0x7e,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x0e] + +0x7c,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x0e] + +0x01,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x0e] + +0x65,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x0e] + +0x01,0x05,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x0e] + +0x01,0xff,0x0b,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x0e] + +0xff,0x05,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x0e] + +0x6b,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x0e] + +0x6a,0x04,0x0a,0x0e +# GFX10: v_mul_legacy_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x0e] + +0x01,0x05,0xfe,0x17 +# GFX10: v_mul_u32_u24_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x17] + +0xc1,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x16] + +0xf7,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x16] + +0x80,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x16] + +0xf0,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x16] + +0xff,0x04,0x0a,0x16,0x73,0x72,0x71,0x3f +# GFX10: v_mul_u32_u24_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x16,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x16,0x56,0x34,0x12,0xaf +# GFX10: v_mul_u32_u24_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x16,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x16] + +0x7e,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x16] + +0x7c,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x16] + +0x01,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x16] + +0x67,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x16] + +0x77,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x16] + +0x01,0x05,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x16] + +0x01,0xff,0x0b,0x16 +# GFX10: v_mul_u32_u24_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x16] + +0xff,0x05,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x16] + +0x6b,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x16] + +0x6a,0x04,0x0a,0x16 +# GFX10: v_mul_u32_u24_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x16] + +0x01,0x05,0xfe,0x39 +# GFX10: v_or_b32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x39] + +0xc1,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x38] + +0xf7,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x38] + +0x80,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x38] + +0xf0,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x38] + +0xff,0x04,0x0a,0x38,0x73,0x72,0x71,0x3f +# GFX10: v_or_b32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x38,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x38,0x56,0x34,0x12,0xaf +# GFX10: v_or_b32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x38,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x38] + +0x7e,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x38] + +0x7c,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x38] + +0x01,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x38] + +0x67,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x38] + +0x77,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x38] + +0x01,0x05,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x38] + +0x01,0xff,0x0b,0x38 +# GFX10: v_or_b32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x38] + +0xff,0x05,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x38] + +0x6b,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x38] + +0x6a,0x04,0x0a,0x38 +# GFX10: v_or_b32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x38] + +0x01,0x05,0xfe,0x79 +# GFX10: v_pk_fmac_f16 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x79] + +0xc1,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x78] + +0xf7,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x78] + +0x80,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x78] + +0xf0,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x78] + +0x7f,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x78] + +0x7e,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x78] + +0x7c,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x78] + +0x01,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x78] + +0x67,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x78] + +0x77,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x78] + +0x01,0x05,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x78] + +0x01,0xff,0x0b,0x78 +# GFX10: v_pk_fmac_f16 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x78] + +0xff,0x05,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x78] + +0x6b,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x78] + +0x6a,0x04,0x0a,0x78 +# GFX10: v_pk_fmac_f16 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x78] + +0x01,0x05,0xfe,0x53 +# W32: v_sub_co_ci_u32_e32 v255, vcc_lo, v1, v2, vcc_lo ; encoding: [0x01,0x05,0xfe,0x53] +# W64: v_sub_co_ci_u32_e32 v255, vcc, v1, v2, vcc ; encoding: [0x01,0x05,0xfe,0x53] + +0xc1,0x04,0x0a,0x52 +# W32: v_sub_co_ci_u32_e32 v5, vcc_lo, -1, v2, vcc_lo ; encoding: [0xc1,0x04,0x0a,0x52] +# W64: v_sub_co_ci_u32_e32 v5, vcc, -1, v2, vcc ; encoding: [0xc1,0x04,0x0a,0x52] + +0xf7,0x04,0x0a,0x52 +# W32: v_sub_co_ci_u32_e32 v5, vcc_lo, -4.0, v2, vcc_lo ; encoding: [0xf7,0x04,0x0a,0x52] +# W64: v_sub_co_ci_u32_e32 v5, vcc, -4.0, v2, vcc ; encoding: [0xf7,0x04,0x0a,0x52] + +0x80,0x04,0x0a,0x52 +# W32: v_sub_co_ci_u32_e32 v5, vcc_lo, 0, v2, vcc_lo ; encoding: [0x80,0x04,0x0a,0x52] +# W64: v_sub_co_ci_u32_e32 v5, vcc, 0, v2, vcc ; encoding: [0x80,0x04,0x0a,0x52] + +0xf0,0x04,0x0a,0x52 +# W32: v_sub_co_ci_u32_e32 v5, vcc_lo, 0.5, v2, vcc_lo ; encoding: [0xf0,0x04,0x0a,0x52] +# W64: v_sub_co_ci_u32_e32 v5, vcc, 0.5, v2, vcc ; encoding: [0xf0,0x04,0x0a,0x52] + +0x01,0x05,0x0a,0x52 +# W32: v_sub_co_ci_u32_e32 v5, vcc_lo, v1, v2, vcc_lo ; encoding: [0x01,0x05,0x0a,0x52] +# W64: v_sub_co_ci_u32_e32 v5, vcc, v1, v2, vcc ; encoding: [0x01,0x05,0x0a,0x52] + +0x01,0xff,0x0b,0x52 +# W32: v_sub_co_ci_u32_e32 v5, vcc_lo, v1, v255, vcc_lo ; encoding: [0x01,0xff,0x0b,0x52] +# W64: v_sub_co_ci_u32_e32 v5, vcc, v1, v255, vcc ; encoding: [0x01,0xff,0x0b,0x52] + +0xff,0x05,0x0a,0x52 +# W32: v_sub_co_ci_u32_e32 v5, vcc_lo, v255, v2, vcc_lo ; encoding: [0xff,0x05,0x0a,0x52] +# W64: v_sub_co_ci_u32_e32 v5, vcc, v255, v2, vcc ; encoding: [0xff,0x05,0x0a,0x52] + +0x01,0x05,0xfe,0x67 +# GFX10: v_sub_f16_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x67] + +0xc1,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x66] + +0xf7,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x66] + +0x80,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x66] + +0xf0,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x66] + +0xff,0x04,0x0a,0x66,0x56,0x34,0x00,0x00 +# GFX10: v_sub_f16_e32 v5, 0x3456, v2 ; encoding: [0xff,0x04,0x0a,0x66,0x56,0x34,0x00,0x00] + +0xff,0x04,0x0a,0x66,0x0b,0xfe,0x00,0x00 +# GFX10: v_sub_f16_e32 v5, 0xfe0b, v2 ; encoding: [0xff,0x04,0x0a,0x66,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x66] + +0x7e,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x66] + +0x7c,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x66] + +0x01,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x66] + +0x65,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x66] + +0x01,0x05,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x66] + +0x01,0xff,0x0b,0x66 +# GFX10: v_sub_f16_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x66] + +0xff,0x05,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x66] + +0x6b,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x66] + +0x6a,0x04,0x0a,0x66 +# GFX10: v_sub_f16_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x66] + +0x01,0x05,0xfe,0x09 +# GFX10: v_sub_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x09] + +0xc1,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x08] + +0xf7,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x08] + +0x80,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x08] + +0xf0,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x08] + +0xff,0x04,0x0a,0x08,0x73,0x72,0x71,0x3f +# GFX10: v_sub_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x08,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x08,0x56,0x34,0x12,0xaf +# GFX10: v_sub_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x08,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x08] + +0x7e,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x08] + +0x7c,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x08] + +0x01,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x08] + +0x65,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x08] + +0x01,0x05,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x08] + +0x01,0xff,0x0b,0x08 +# GFX10: v_sub_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x08] + +0xff,0x05,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x08] + +0x6b,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x08] + +0x6a,0x04,0x0a,0x08 +# GFX10: v_sub_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x08] + +0x01,0x05,0xfe,0x4d +# GFX10: v_sub_nc_u32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x4d] + +0xc1,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x4c] + +0xf7,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x4c] + +0x80,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x4c] + +0xf0,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x4c] + +0xff,0x04,0x0a,0x4c,0x73,0x72,0x71,0x3f +# GFX10: v_sub_nc_u32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x4c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x4c,0x56,0x34,0x12,0xaf +# GFX10: v_sub_nc_u32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x4c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x4c] + +0x7e,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x4c] + +0x7c,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x4c] + +0x01,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x4c] + +0x65,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x4c] + +0x01,0x05,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x4c] + +0x01,0xff,0x0b,0x4c +# GFX10: v_sub_nc_u32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x4c] + +0xff,0x05,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x4c] + +0x6b,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x4c] + +0x6a,0x04,0x0a,0x4c +# GFX10: v_sub_nc_u32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x4c] + +0x01,0x05,0xfe,0x55 +# W32: v_subrev_co_ci_u32_e32 v255, vcc_lo, v1, v2, vcc_lo ; encoding: [0x01,0x05,0xfe,0x55] +# W64: v_subrev_co_ci_u32_e32 v255, vcc, v1, v2, vcc ; encoding: [0x01,0x05,0xfe,0x55] + +0xc1,0x04,0x0a,0x54 +# W32: v_subrev_co_ci_u32_e32 v5, vcc_lo, -1, v2, vcc_lo ; encoding: [0xc1,0x04,0x0a,0x54] +# W64: v_subrev_co_ci_u32_e32 v5, vcc, -1, v2, vcc ; encoding: [0xc1,0x04,0x0a,0x54] + +0xf7,0x04,0x0a,0x54 +# W32: v_subrev_co_ci_u32_e32 v5, vcc_lo, -4.0, v2, vcc_lo ; encoding: [0xf7,0x04,0x0a,0x54] +# W64: v_subrev_co_ci_u32_e32 v5, vcc, -4.0, v2, vcc ; encoding: [0xf7,0x04,0x0a,0x54] + +0x80,0x04,0x0a,0x54 +# W32: v_subrev_co_ci_u32_e32 v5, vcc_lo, 0, v2, vcc_lo ; encoding: [0x80,0x04,0x0a,0x54] +# W64: v_subrev_co_ci_u32_e32 v5, vcc, 0, v2, vcc ; encoding: [0x80,0x04,0x0a,0x54] + +0xf0,0x04,0x0a,0x54 +# W32: v_subrev_co_ci_u32_e32 v5, vcc_lo, 0.5, v2, vcc_lo ; encoding: [0xf0,0x04,0x0a,0x54] +# W64: v_subrev_co_ci_u32_e32 v5, vcc, 0.5, v2, vcc ; encoding: [0xf0,0x04,0x0a,0x54] + +0x01,0x05,0x0a,0x54 +# W32: v_subrev_co_ci_u32_e32 v5, vcc_lo, v1, v2, vcc_lo ; encoding: [0x01,0x05,0x0a,0x54] +# W64: v_subrev_co_ci_u32_e32 v5, vcc, v1, v2, vcc ; encoding: [0x01,0x05,0x0a,0x54] + +0x01,0xff,0x0b,0x54 +# W32: v_subrev_co_ci_u32_e32 v5, vcc_lo, v1, v255, vcc_lo ; encoding: [0x01,0xff,0x0b,0x54] +# W64: v_subrev_co_ci_u32_e32 v5, vcc, v1, v255, vcc ; encoding: [0x01,0xff,0x0b,0x54] + +0xff,0x05,0x0a,0x54 +# W32: v_subrev_co_ci_u32_e32 v5, vcc_lo, v255, v2, vcc_lo ; encoding: [0xff,0x05,0x0a,0x54] +# W64: v_subrev_co_ci_u32_e32 v5, vcc, v255, v2, vcc ; encoding: [0xff,0x05,0x0a,0x54] + +0x01,0x05,0xfe,0x69 +# GFX10: v_subrev_f16_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x69] + +0xc1,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x68] + +0xf7,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x68] + +0x80,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x68] + +0xf0,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x68] + +0xff,0x04,0x0a,0x68,0x56,0x34,0x00,0x00 +# GFX10: v_subrev_f16_e32 v5, 0x3456, v2 ; encoding: [0xff,0x04,0x0a,0x68,0x56,0x34,0x00,0x00] + +0xff,0x04,0x0a,0x68,0x0b,0xfe,0x00,0x00 +# GFX10: v_subrev_f16_e32 v5, 0xfe0b, v2 ; encoding: [0xff,0x04,0x0a,0x68,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x68] + +0x7e,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x68] + +0x7c,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x68] + +0x01,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x68] + +0x65,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x68] + +0x01,0x05,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x68] + +0x01,0xff,0x0b,0x68 +# GFX10: v_subrev_f16_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x68] + +0xff,0x05,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x68] + +0x6b,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x68] + +0x6a,0x04,0x0a,0x68 +# GFX10: v_subrev_f16_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x68] + +0x01,0x05,0xfe,0x0b +# GFX10: v_subrev_f32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x0b] + +0xc1,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x0a] + +0xf7,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x0a] + +0x80,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x0a] + +0xf0,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x0a] + +0xff,0x04,0x0a,0x0a,0x73,0x72,0x71,0x3f +# GFX10: v_subrev_f32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x0a,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x0a,0x56,0x34,0x12,0xaf +# GFX10: v_subrev_f32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x0a,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x0a] + +0x7e,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x0a] + +0x7c,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x0a] + +0x01,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x0a] + +0x65,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x0a] + +0x01,0x05,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x0a] + +0x01,0xff,0x0b,0x0a +# GFX10: v_subrev_f32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x0a] + +0xff,0x05,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x0a] + +0x6b,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x0a] + +0x6a,0x04,0x0a,0x0a +# GFX10: v_subrev_f32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x0a] + +0x01,0x05,0xfe,0x4f +# GFX10: v_subrev_nc_u32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x4f] + +0xc1,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x4e] + +0xf7,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x4e] + +0x80,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x4e] + +0xf0,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x4e] + +0xff,0x04,0x0a,0x4e,0x73,0x72,0x71,0x3f +# GFX10: v_subrev_nc_u32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x4e,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x4e,0x56,0x34,0x12,0xaf +# GFX10: v_subrev_nc_u32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x4e,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x4e] + +0x7e,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x4e] + +0x7c,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x4e] + +0x01,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x4e] + +0x65,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, s101, v2 ; encoding: [0x65,0x04,0x0a,0x4e] + +0x01,0x05,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x4e] + +0x01,0xff,0x0b,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x4e] + +0xff,0x05,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x4e] + +0x6b,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x4e] + +0x6a,0x04,0x0a,0x4e +# GFX10: v_subrev_nc_u32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x4e] + +0x01,0x05,0xfe,0x3d +# GFX10: v_xnor_b32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x3d] + +0xc1,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x3c] + +0xf7,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x3c] + +0x80,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x3c] + +0xf0,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x3c] + +0xff,0x04,0x0a,0x3c,0x73,0x72,0x71,0x3f +# GFX10: v_xnor_b32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x3c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x3c,0x56,0x34,0x12,0xaf +# GFX10: v_xnor_b32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x3c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x3c] + +0x7e,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x3c] + +0x7c,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x3c] + +0x01,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x3c] + +0x67,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x3c] + +0x77,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x3c] + +0x01,0x05,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x3c] + +0x01,0xff,0x0b,0x3c +# GFX10: v_xnor_b32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x3c] + +0xff,0x05,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x3c] + +0x6b,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x3c] + +0x6a,0x04,0x0a,0x3c +# GFX10: v_xnor_b32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x3c] + +0x01,0x05,0xfe,0x3b +# GFX10: v_xor_b32_e32 v255, v1, v2 ; encoding: [0x01,0x05,0xfe,0x3b] + +0xc1,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x3a] + +0xf7,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x3a] + +0x80,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, 0, v2 ; encoding: [0x80,0x04,0x0a,0x3a] + +0xf0,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x3a] + +0xff,0x04,0x0a,0x3a,0x73,0x72,0x71,0x3f +# GFX10: v_xor_b32_e32 v5, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x3a,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x3a,0x56,0x34,0x12,0xaf +# GFX10: v_xor_b32_e32 v5, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x3a,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x3a] + +0x7e,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x3a] + +0x7c,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x3a] + +0x01,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, s1, v2 ; encoding: [0x01,0x04,0x0a,0x3a] + +0x67,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, s103, v2 ; encoding: [0x67,0x04,0x0a,0x3a] + +0x77,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, ttmp11, v2 ; encoding: [0x77,0x04,0x0a,0x3a] + +0x01,0x05,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, v1, v2 ; encoding: [0x01,0x05,0x0a,0x3a] + +0x01,0xff,0x0b,0x3a +# GFX10: v_xor_b32_e32 v5, v1, v255 ; encoding: [0x01,0xff,0x0b,0x3a] + +0xff,0x05,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, v255, v2 ; encoding: [0xff,0x05,0x0a,0x3a] + +0x6b,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x3a] + +0x6a,0x04,0x0a,0x3a +# GFX10: v_xor_b32_e32 v5, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x3a] diff --git a/tests/data/llvm-amdgpu/gfx10_vop2_dpp16.txt b/tests/data/llvm-amdgpu/gfx10_vop2_dpp16.txt new file mode 100644 index 0000000..e0975c4 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_vop2_dpp16.txt @@ -0,0 +1,2399 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX10,W32 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX10,W64 %s + +0xfa,0x04,0x0a,0x50,0x01,0x1b,0x00,0x00 +# W32: v_add_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x50,0x01,0x1b,0x00,0x00] +# W64: v_add_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x50,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x50,0x01,0x1b,0x04,0x00 +# W32: v_add_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x50,0x01,0x1b,0x04,0x00] +# W64: v_add_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x50,0x01,0x1b,0x04,0x00] + + +0xfa,0x04,0xfe,0x65,0x01,0xe4,0x00,0x00 +# GFX10: v_add_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x65,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x10,0x00 +# GFX10: v_add_f16_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x08,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x01 +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x03 +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x0f +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x10 +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x30 +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0xf0 +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x64,0x01,0x1b,0x00,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x1b,0x04,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x41,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x40,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x21,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x2f,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x51,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x5f,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x01,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x0f,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x11,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x1f,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x61,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0x6f,0x01,0x00 +# GFX10: v_add_f16_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x64,0x01,0xe4,0x00,0x00 +# GFX10: v_add_f16_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x64,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x64,0xff,0xe4,0x00,0x00 +# GFX10: v_add_f16_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x64,0x01,0xe4,0x20,0x00 +# GFX10: v_add_f16_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x64,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x07,0x01,0xe4,0x00,0x00 +# GFX10: v_add_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x07,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x10,0x00 +# GFX10: v_add_f32_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x1b,0x10,0x00 +# GFX10: v_add_f32_dpp v5, -v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x1b,0x10,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x40,0x00 +# GFX10: v_add_f32_dpp v5, v1, -v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x40,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x1b,0x40,0x00 +# GFX10: v_add_f32_dpp v5, v1, -v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x1b,0x40,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x08,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x01 +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x03 +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x0f +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x10 +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x30 +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0xf0 +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x06,0x01,0x1b,0x00,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x1b,0x04,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x41,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x40,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x21,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x2f,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x51,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x5f,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x01,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x0f,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x11,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x1f,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x61,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x6f,0x01,0x00 +# GFX10: v_add_f32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x06,0x01,0xe4,0x00,0x00 +# GFX10: v_add_f32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x06,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x80,0x00 +# GFX10: v_add_f32_dpp v5, v1, |v2| quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x80,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x1b,0x80,0x00 +# GFX10: v_add_f32_dpp v5, v1, |v2| quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x1b,0x80,0x00] + +0xfa,0x04,0x0a,0x06,0xff,0xe4,0x00,0x00 +# GFX10: v_add_f32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0xe4,0x20,0x00 +# GFX10: v_add_f32_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0x0a,0x06,0x01,0x1b,0x20,0x00 +# GFX10: v_add_f32_dpp v5, |v1|, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x06,0x01,0x1b,0x20,0x00] + +0xfa,0x04,0x0a,0x4a,0x01,0x1b,0x00,0x00 +# GFX10: v_add_nc_u32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x4a,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x4a,0x01,0x1b,0x08,0x00 +# GFX10: v_add_nc_u32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x4a,0x01,0x1b,0x08,0x00] + +0xfa,0x04,0x0a,0x4a,0x01,0x1b,0x04,0x00 +# GFX10: v_add_nc_u32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x4a,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0xfe,0x37,0x01,0xe4,0x00,0x00 +# GFX10: v_and_b32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x37,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0xe4,0x08,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x01 +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x03 +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x0f +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x10 +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x30 +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0xf0 +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x36,0x01,0x1b,0x00,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x1b,0x04,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x41,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x40,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x21,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x2f,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x51,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x5f,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x01,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x0f,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x11,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x1f,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x61,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x36,0x01,0x6f,0x01,0x00 +# GFX10: v_and_b32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x36,0x01,0xe4,0x00,0x00 +# GFX10: v_and_b32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x36,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x36,0xff,0xe4,0x00,0x00 +# GFX10: v_and_b32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x36,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x31,0x01,0xe4,0x00,0x00 +# GFX10: v_ashrrev_i32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x31,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0xe4,0x08,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x01 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x03 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x0f +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x10 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x30 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0xf0 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x30,0x01,0x1b,0x00,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x1b,0x04,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x41,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x40,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x21,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x2f,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x51,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x5f,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x01,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x0f,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x11,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x1f,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x61,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x30,0x01,0x6f,0x01,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x30,0x01,0xe4,0x00,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x30,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x30,0xff,0xe4,0x00,0x00 +# GFX10: v_ashrrev_i32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x30,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x02,0x01,0xe4,0x90,0xff +# W32: v_cndmask_b32_dpp v5, -v1, |v2|, vcc_lo quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x02,0x01,0xe4,0x90,0xff] +# W64: v_cndmask_b32_dpp v5, -v1, |v2|, vcc quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x02,0x01,0xe4,0x90,0xff] + +0xfa,0x04,0x0a,0x02,0x01,0xe4,0xf0,0xff +# W32: v_cndmask_b32_dpp v5, -|v1|, -|v2|, vcc_lo quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x02,0x01,0xe4,0xf0,0xff] +# W64: v_cndmask_b32_dpp v5, -|v1|, -|v2|, vcc quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x02,0x01,0xe4,0xf0,0xff] + +0xfa,0x04,0x0a,0x02,0x01,0xe4,0x60,0xff +# W32: v_cndmask_b32_dpp v5, |v1|, -v2, vcc_lo quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x02,0x01,0xe4,0x60,0xff] +# W64: v_cndmask_b32_dpp v5, |v1|, -v2, vcc quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x02,0x01,0xe4,0x60,0xff] + +0xfa,0x04,0x0a,0x6c,0x01,0x1b,0x00,0x00 +# GFX10: v_fmac_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6c,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x6c,0x01,0x1b,0x04,0x00 +# GFX10: v_fmac_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x6c,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x56,0x01,0x1b,0x00,0x00 +# GFX10: v_fmac_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x56,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x56,0x01,0x1b,0x04,0x00 +# GFX10: v_fmac_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x56,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0xfe,0x77,0x01,0xe4,0x00,0x00 +# GFX10: v_ldexp_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x77,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x10,0x00 +# GFX10: v_ldexp_f16_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x08,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x01 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x03 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x0f +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x10 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x30 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0xf0 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x76,0x01,0x1b,0x00,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x1b,0x04,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x41,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x40,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x21,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x2f,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x51,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x5f,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x01,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x0f,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x11,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x1f,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x61,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0x6f,0x01,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x76,0x01,0xe4,0x00,0x00 +# GFX10: v_ldexp_f16_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x76,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x76,0xff,0xe4,0x00,0x00 +# GFX10: v_ldexp_f16_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x76,0x01,0xe4,0x20,0x00 +# GFX10: v_ldexp_f16_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x76,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x35,0x01,0xe4,0x00,0x00 +# GFX10: v_lshlrev_b32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x35,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0xe4,0x08,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x01 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x03 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x0f +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x10 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x30 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0xf0 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x34,0x01,0x1b,0x00,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x1b,0x04,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x41,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x40,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x21,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x2f,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x51,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x5f,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x01,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x0f,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x11,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x1f,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x61,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x34,0x01,0x6f,0x01,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x34,0x01,0xe4,0x00,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x34,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x34,0xff,0xe4,0x00,0x00 +# GFX10: v_lshlrev_b32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x34,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x2d,0x01,0xe4,0x00,0x00 +# GFX10: v_lshrrev_b32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x2d,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x08,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x01 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x03 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x0f +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x10 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x30 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0xf0 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x2c,0x01,0x1b,0x00,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x1b,0x04,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x41,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x40,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x21,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x2f,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x51,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x5f,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x01,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x0f,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x11,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x1f,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x61,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x2c,0x01,0x6f,0x01,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x2c,0x01,0xe4,0x00,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x2c,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x2c,0xff,0xe4,0x00,0x00 +# GFX10: v_lshrrev_b32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x2c,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x3e,0x01,0x1b,0x00,0x00 +# GFX10: v_mac_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3e,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x3e,0x01,0x1b,0x04,0x00 +# GFX10: v_mac_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x3e,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0xfe,0x73,0x01,0xe4,0x00,0x00 +# GFX10: v_max_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x73,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x10,0x00 +# GFX10: v_max_f16_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x08,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x01 +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x03 +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x0f +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x10 +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x30 +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0xf0 +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x72,0x01,0x1b,0x00,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x1b,0x04,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x41,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x40,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x21,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x2f,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x51,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x5f,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x01,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x0f,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x11,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x1f,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x61,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0x6f,0x01,0x00 +# GFX10: v_max_f16_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x72,0x01,0xe4,0x00,0x00 +# GFX10: v_max_f16_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x72,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x72,0xff,0xe4,0x00,0x00 +# GFX10: v_max_f16_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x72,0x01,0xe4,0x20,0x00 +# GFX10: v_max_f16_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x72,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x21,0x01,0xe4,0x00,0x00 +# GFX10: v_max_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x21,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x10,0x00 +# GFX10: v_max_f32_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x40,0x00 +# GFX10: v_max_f32_dpp v5, v1, -v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x40,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x08,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x01 +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x03 +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x0f +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x10 +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x30 +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0xf0 +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x20,0x01,0x1b,0x00,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x1b,0x04,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x41,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x40,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x21,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x2f,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x51,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x5f,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x01,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x0f,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x11,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x1f,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x61,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0x6f,0x01,0x00 +# GFX10: v_max_f32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x20,0x01,0xe4,0x00,0x00 +# GFX10: v_max_f32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x20,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x80,0x00 +# GFX10: v_max_f32_dpp v5, v1, |v2| quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x80,0x00] + +0xfa,0x04,0x0a,0x20,0xff,0xe4,0x00,0x00 +# GFX10: v_max_f32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x20,0x01,0xe4,0x20,0x00 +# GFX10: v_max_f32_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x20,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x25,0x01,0xe4,0x00,0x00 +# GFX10: v_max_i32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x25,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0xe4,0x08,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x01 +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x03 +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x0f +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x10 +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x30 +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0xf0 +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x24,0x01,0x1b,0x00,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x1b,0x04,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x41,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x40,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x21,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x2f,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x51,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x5f,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x01,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x0f,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x11,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x1f,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x61,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x24,0x01,0x6f,0x01,0x00 +# GFX10: v_max_i32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x24,0x01,0xe4,0x00,0x00 +# GFX10: v_max_i32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x24,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x24,0xff,0xe4,0x00,0x00 +# GFX10: v_max_i32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x24,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x29,0x01,0xe4,0x00,0x00 +# GFX10: v_max_u32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x29,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0xe4,0x08,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x01 +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x03 +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x0f +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x10 +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x30 +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0xf0 +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x28,0x01,0x1b,0x00,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x1b,0x04,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x41,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x40,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x21,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x2f,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x51,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x5f,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x01,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x0f,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x11,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x1f,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x61,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x28,0x01,0x6f,0x01,0x00 +# GFX10: v_max_u32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x28,0x01,0xe4,0x00,0x00 +# GFX10: v_max_u32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x28,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x28,0xff,0xe4,0x00,0x00 +# GFX10: v_max_u32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x28,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x75,0x01,0xe4,0x00,0x00 +# GFX10: v_min_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x75,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x10,0x00 +# GFX10: v_min_f16_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x08,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x01 +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x03 +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x0f +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x10 +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x30 +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0xf0 +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x74,0x01,0x1b,0x00,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x1b,0x04,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x41,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x40,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x21,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x2f,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x51,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x5f,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x01,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x0f,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x11,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x1f,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x61,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0x6f,0x01,0x00 +# GFX10: v_min_f16_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x74,0x01,0xe4,0x00,0x00 +# GFX10: v_min_f16_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x74,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x74,0xff,0xe4,0x00,0x00 +# GFX10: v_min_f16_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x74,0x01,0xe4,0x20,0x00 +# GFX10: v_min_f16_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x74,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x1f,0x01,0xe4,0x00,0x00 +# GFX10: v_min_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x1f,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x10,0x00 +# GFX10: v_min_f32_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x40,0x00 +# GFX10: v_min_f32_dpp v5, v1, -v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x40,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x08,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x01 +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x03 +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x0f +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x10 +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x30 +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0xf0 +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x1e,0x01,0x1b,0x00,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x1b,0x04,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x41,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x40,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x21,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x2f,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x51,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x5f,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x01,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x0f,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x11,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x1f,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x61,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0x6f,0x01,0x00 +# GFX10: v_min_f32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x1e,0x01,0xe4,0x00,0x00 +# GFX10: v_min_f32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x1e,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x80,0x00 +# GFX10: v_min_f32_dpp v5, v1, |v2| quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x80,0x00] + +0xfa,0x04,0x0a,0x1e,0xff,0xe4,0x00,0x00 +# GFX10: v_min_f32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x20,0x00 +# GFX10: v_min_f32_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x1e,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x23,0x01,0xe4,0x00,0x00 +# GFX10: v_min_i32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x23,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0xe4,0x08,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x01 +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x03 +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x0f +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x10 +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x30 +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0xf0 +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x22,0x01,0x1b,0x00,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x1b,0x04,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x41,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x40,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x21,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x2f,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x51,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x5f,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x01,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x0f,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x11,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x1f,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x61,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x22,0x01,0x6f,0x01,0x00 +# GFX10: v_min_i32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x22,0x01,0xe4,0x00,0x00 +# GFX10: v_min_i32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x22,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x22,0xff,0xe4,0x00,0x00 +# GFX10: v_min_i32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x22,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x27,0x01,0xe4,0x00,0x00 +# GFX10: v_min_u32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x27,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0xe4,0x08,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x01 +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x03 +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x0f +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x10 +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x30 +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0xf0 +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x26,0x01,0x1b,0x00,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x1b,0x04,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x41,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x40,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x21,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x2f,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x51,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x5f,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x01,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x0f,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x11,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x1f,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x61,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x26,0x01,0x6f,0x01,0x00 +# GFX10: v_min_u32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x26,0x01,0xe4,0x00,0x00 +# GFX10: v_min_u32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x26,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x26,0xff,0xe4,0x00,0x00 +# GFX10: v_min_u32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x26,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x6b,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x6b,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x10,0x00 +# GFX10: v_mul_f16_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x08,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x01 +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x03 +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x0f +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x10 +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x30 +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0xf0 +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x6a,0x01,0x1b,0x00,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x1b,0x04,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x41,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x40,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x21,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x2f,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x51,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x5f,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x01,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x0f,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x11,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x1f,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x61,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0x6f,0x01,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x6a,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_f16_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x6a,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x6a,0xff,0xe4,0x00,0x00 +# GFX10: v_mul_f16_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x20,0x00 +# GFX10: v_mul_f16_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x6a,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x11,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x11,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x10,0x00 +# GFX10: v_mul_f32_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x40,0x00 +# GFX10: v_mul_f32_dpp v5, v1, -v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x40,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x08,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x01 +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x03 +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x0f +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x10 +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x30 +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0xf0 +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x10,0x01,0x1b,0x00,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x1b,0x04,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x41,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x40,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x21,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x2f,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x51,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x5f,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x01,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x0f,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x11,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x1f,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x61,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0x6f,0x01,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x10,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_f32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x10,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x80,0x00 +# GFX10: v_mul_f32_dpp v5, v1, |v2| quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x80,0x00] + +0xfa,0x04,0x0a,0x10,0xff,0xe4,0x00,0x00 +# GFX10: v_mul_f32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x10,0x01,0xe4,0x20,0x00 +# GFX10: v_mul_f32_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x10,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x15,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x15,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0xe4,0x08,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x01 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x03 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x0f +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x10 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x30 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0xf0 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x14,0x01,0x1b,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x1b,0x04,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x41,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x40,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x21,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x2f,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x51,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x5f,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x01,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x0f,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x11,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x1f,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x61,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x14,0x01,0x6f,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x14,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x14,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x14,0xff,0xe4,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x14,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x19,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x19,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0xe4,0x08,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x01 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x03 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x0f +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x10 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x30 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0xf0 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x18,0x01,0x1b,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x1b,0x04,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x41,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x40,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x21,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x2f,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x51,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x5f,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x01,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x0f,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x11,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x1f,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x61,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x18,0x01,0x6f,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x18,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x18,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x18,0xff,0xe4,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x18,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x13,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_i32_i24_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x13,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0xe4,0x08,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x01 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x03 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x0f +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x10 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x30 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0xf0 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x12,0x01,0x1b,0x00,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x1b,0x04,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x41,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x40,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x21,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x2f,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x51,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x5f,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x01,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x0f,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x11,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x1f,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x61,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x12,0x01,0x6f,0x01,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x12,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x12,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x12,0xff,0xe4,0x00,0x00 +# GFX10: v_mul_i32_i24_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x12,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x0f,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_legacy_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x0f,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x10,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x40,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, -v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x40,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x08,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x01 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x03 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x0f +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x10 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x30 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0xf0 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x0e,0x01,0x1b,0x00,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x1b,0x04,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x41,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x40,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x21,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x2f,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x51,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x5f,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x01,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x0f,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x11,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x1f,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x61,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0x6f,0x01,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x0e,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x0e,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x80,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v1, |v2| quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x80,0x00] + +0xfa,0x04,0x0a,0x0e,0xff,0xe4,0x00,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x20,0x00 +# GFX10: v_mul_legacy_f32_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0e,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x17,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_u32_u24_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x17,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0xe4,0x08,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x01 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x03 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x0f +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x10 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x30 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0xf0 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x16,0x01,0x1b,0x00,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x1b,0x04,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x41,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x40,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x21,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x2f,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x51,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x5f,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x01,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x0f,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x11,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x1f,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x61,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x16,0x01,0x6f,0x01,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x16,0x01,0xe4,0x00,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x16,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x16,0xff,0xe4,0x00,0x00 +# GFX10: v_mul_u32_u24_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x16,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x39,0x01,0xe4,0x00,0x00 +# GFX10: v_or_b32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x39,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0xe4,0x08,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x01 +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x03 +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x0f +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x10 +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x30 +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0xf0 +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x38,0x01,0x1b,0x00,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x1b,0x04,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x41,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x40,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x21,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x2f,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x51,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x5f,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x01,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x0f,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x11,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x1f,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x61,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x38,0x01,0x6f,0x01,0x00 +# GFX10: v_or_b32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x38,0x01,0xe4,0x00,0x00 +# GFX10: v_or_b32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x38,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x38,0xff,0xe4,0x00,0x00 +# GFX10: v_or_b32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x38,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x78,0x01,0xe4,0x00,0x00 +# GFX10: v_pk_fmac_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x78,0x01,0xe4,0x00,0x00] + + +0xfa,0x04,0x0a,0x78,0x01,0xe4,0x00,0xff +# GFX10: v_pk_fmac_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x78,0x01,0xe4,0x00,0xff] + +0xfa,0x04,0x0a,0x52,0x01,0x1b,0x00,0x00 +# W32: v_sub_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x52,0x01,0x1b,0x00,0x00] +# W64: v_sub_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x52,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x52,0x01,0x1b,0x04,0x00 +# W32: v_sub_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x52,0x01,0x1b,0x04,0x00] +# W64: v_sub_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x52,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0xfe,0x67,0x01,0xe4,0x00,0x00 +# GFX10: v_sub_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x67,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x10,0x00 +# GFX10: v_sub_f16_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x08,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x01 +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x03 +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x0f +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x10 +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x30 +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0xf0 +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x66,0x01,0x1b,0x00,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x1b,0x04,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x41,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x40,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x21,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x2f,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x51,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x5f,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x01,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x0f,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x11,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x1f,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x61,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0x6f,0x01,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x66,0x01,0xe4,0x00,0x00 +# GFX10: v_sub_f16_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x66,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x66,0xff,0xe4,0x00,0x00 +# GFX10: v_sub_f16_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x66,0x01,0xe4,0x20,0x00 +# GFX10: v_sub_f16_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x66,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x09,0x01,0xe4,0x00,0x00 +# GFX10: v_sub_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x09,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x10,0x00 +# GFX10: v_sub_f32_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x40,0x00 +# GFX10: v_sub_f32_dpp v5, v1, -v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x40,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x08,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x01 +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x03 +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x0f +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x10 +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x30 +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0xf0 +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x08,0x01,0x1b,0x00,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x1b,0x04,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x41,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x40,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x21,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x2f,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x51,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x5f,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x01,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x0f,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x11,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x1f,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x61,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0x6f,0x01,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x08,0x01,0xe4,0x00,0x00 +# GFX10: v_sub_f32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x08,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x80,0x00 +# GFX10: v_sub_f32_dpp v5, v1, |v2| quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x80,0x00] + +0xfa,0x04,0x0a,0x08,0xff,0xe4,0x00,0x00 +# GFX10: v_sub_f32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x08,0x01,0xe4,0x20,0x00 +# GFX10: v_sub_f32_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x08,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0x0a,0x4c,0x01,0x1b,0x04,0x00 +# GFX10: v_sub_nc_u32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x4c,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x4c,0x01,0x40,0x01,0x00 +# GFX10: v_sub_nc_u32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x4c,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x54,0x01,0x1b,0x00,0x00 +# W32: v_subrev_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x54,0x01,0x1b,0x00,0x00] +# W64: v_subrev_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x54,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x54,0x01,0x1b,0x04,0x00 +# W32: v_subrev_co_ci_u32_dpp v5, vcc_lo, v1, v2, vcc_lo quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x54,0x01,0x1b,0x04,0x00] +# W64: v_subrev_co_ci_u32_dpp v5, vcc, v1, v2, vcc quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x54,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0xfe,0x69,0x01,0xe4,0x00,0x00 +# GFX10: v_subrev_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x69,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x10,0x00 +# GFX10: v_subrev_f16_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x08,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x01 +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x03 +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x0f +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x10 +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x30 +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0xf0 +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x68,0x01,0x1b,0x00,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x1b,0x04,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x41,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x40,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x21,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x2f,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x51,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x5f,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x01,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x0f,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x11,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x1f,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x61,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0x6f,0x01,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x68,0x01,0xe4,0x00,0x00 +# GFX10: v_subrev_f16_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x68,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x68,0xff,0xe4,0x00,0x00 +# GFX10: v_subrev_f16_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x68,0x01,0xe4,0x20,0x00 +# GFX10: v_subrev_f16_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x68,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0xfe,0x0b,0x01,0xe4,0x00,0x00 +# GFX10: v_subrev_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x0b,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x10,0x00 +# GFX10: v_subrev_f32_dpp v5, -v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x10,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x40,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, -v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x40,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x08,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x01 +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x03 +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x0f +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x10 +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x30 +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0xf0 +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x0a,0x01,0x1b,0x00,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x1b,0x04,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x41,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x40,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x21,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x2f,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x51,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x5f,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x01,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x0f,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x11,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x1f,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x61,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0x6f,0x01,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x0a,0x01,0xe4,0x00,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x0a,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x80,0x00 +# GFX10: v_subrev_f32_dpp v5, v1, |v2| quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x80,0x00] + +0xfa,0x04,0x0a,0x0a,0xff,0xe4,0x00,0x00 +# GFX10: v_subrev_f32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x20,0x00 +# GFX10: v_subrev_f32_dpp v5, |v1|, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x0a,0x01,0xe4,0x20,0x00] + +0xfa,0x04,0x0a,0x4e,0x01,0x1b,0x04,0x00 +# GFX10: v_subrev_nc_u32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x4e,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x4e,0x01,0x1f,0x01,0x00 +# GFX10: v_subrev_nc_u32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x4e,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0xfe,0x3d,0x01,0xe4,0x00,0x00 +# GFX10: v_xnor_b32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x3d,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x08,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x01 +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x03 +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x0f +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x10 +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x30 +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0xf0 +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x3c,0x01,0x1b,0x00,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x1b,0x04,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x41,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x40,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x21,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x2f,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x51,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x5f,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x01,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x0f,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x11,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x1f,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x61,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x3c,0x01,0x6f,0x01,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x3c,0x01,0xe4,0x00,0x00 +# GFX10: v_xnor_b32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x3c,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x3c,0xff,0xe4,0x00,0x00 +# GFX10: v_xnor_b32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3c,0xff,0xe4,0x00,0x00] + +0xfa,0x04,0xfe,0x3b,0x01,0xe4,0x00,0x00 +# GFX10: v_xor_b32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0xfe,0x3b,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x08,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:1 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x08,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x01 +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x1 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x01] + +0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x03 +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x3 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x03] + +0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x0f +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0xf ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x0f] + +0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x10 +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x1 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x10] + +0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x30 +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x3 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0x30] + +0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0xf0 +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0xf bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0xe4,0x00,0xf0] + +0xfa,0x04,0x0a,0x3a,0x01,0x1b,0x00,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x1b,0x00,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x1b,0x04,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x1b,0x04,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x41,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_half_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x41,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x40,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_mirror row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x40,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x21,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_ror:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x21,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x2f,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_ror:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x2f,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x51,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_share:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x51,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x5f,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_share:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x5f,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x01,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_shl:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x01,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x0f,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_shl:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x0f,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x11,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_shr:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x11,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x1f,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_shr:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x1f,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x61,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_xmask:1 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x61,0x01,0x00] + +0xfa,0x04,0x0a,0x3a,0x01,0x6f,0x01,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0x01,0x6f,0x01,0x00] + +0xfa,0xfe,0x0b,0x3a,0x01,0xe4,0x00,0x00 +# GFX10: v_xor_b32_dpp v5, v1, v255 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0xfe,0x0b,0x3a,0x01,0xe4,0x00,0x00] + +0xfa,0x04,0x0a,0x3a,0xff,0xe4,0x00,0x00 +# GFX10: v_xor_b32_dpp v5, v255, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 ; encoding: [0xfa,0x04,0x0a,0x3a,0xff,0xe4,0x00,0x00] diff --git a/tests/data/llvm-amdgpu/gfx10_vop2_sdwa.txt b/tests/data/llvm-amdgpu/gfx10_vop2_sdwa.txt new file mode 100644 index 0000000..9c8b21f --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_vop2_sdwa.txt @@ -0,0 +1,3724 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX10,W32 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX10,W64 %s + + +0xf9,0x04,0xfe,0x51,0x01,0x06,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v255, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x51,0x01,0x06,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v255, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x51,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x0e,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, sext(v1), v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x0e,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, sext(v1), v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x0e +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, sext(v2), vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x0e] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, sext(v2), vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x50,0x01,0x26,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x26,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x00,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x00,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x01,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x01,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x02,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x02,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x03,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x03,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x00,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x00,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x01,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x01,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x02,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x02,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x03,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x03,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x00 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x00] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x01 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x01] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x02 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x02] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x03 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x03] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x04 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x04] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x05 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x05] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x04,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x04,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x06,0x05,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x05,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x16,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x16,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x0e,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x0e,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x04,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x04,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0x01,0x05,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x05,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x50,0x01,0x06,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v1, v255, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x50,0x01,0x06,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v1, v255, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x50,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x50,0xff,0x06,0x06,0x06 +# W32: v_add_co_ci_u32_sdwa v5, vcc_lo, v255, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0xff,0x06,0x06,0x06] +# W64: v_add_co_ci_u32_sdwa v5, vcc, v255, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x50,0xff,0x06,0x06,0x06] + +0xf9,0x04,0xfe,0x65,0x01,0x06,0x06,0x06 +# GFX10: v_add_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x65,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x16,0x06 +# GFX10: v_add_f16_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x64,0x7f,0x06,0x86,0x06 +# GFX10: v_add_f16_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x64,0x7e,0x06,0x86,0x06 +# GFX10: v_add_f16_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x64,0x7c,0x06,0x86,0x06 +# GFX10: v_add_f16_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x86,0x06 +# GFX10: v_add_f16_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x64,0x65,0x06,0x86,0x06 +# GFX10: v_add_f16_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x16 +# GFX10: v_add_f16_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x64,0x01,0x26,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x00,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x01,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x02,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x03,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x00,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x01,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x02,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x03,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x00 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x01 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x02 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x03 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x04 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x05 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x04,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x05,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x16,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x0e,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x04,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x05,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x64,0x01,0x06,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x64,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x26 +# GFX10: v_add_f16_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x64,0xff,0x06,0x06,0x06 +# GFX10: v_add_f16_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x64,0x6b,0x06,0x86,0x06 +# GFX10: v_add_f16_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x64,0x6a,0x06,0x86,0x06 +# GFX10: v_add_f16_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x64,0x01,0x06,0x26,0x06 +# GFX10: v_add_f16_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x64,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x07,0x01,0x06,0x06,0x06 +# GFX10: v_add_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x07,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x16,0x06 +# GFX10: v_add_f32_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x06,0x7f,0x06,0x86,0x06 +# GFX10: v_add_f32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x06,0x7e,0x06,0x86,0x06 +# GFX10: v_add_f32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x06,0x7c,0x06,0x86,0x06 +# GFX10: v_add_f32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x86,0x06 +# GFX10: v_add_f32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x06,0x65,0x06,0x86,0x06 +# GFX10: v_add_f32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x16 +# GFX10: v_add_f32_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x06,0x01,0x26,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0xc6,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0xc6,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x00,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x01,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x02,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x03,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x00,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x01,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x02,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x03,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x00 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x01 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x02 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x03 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x04 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x05 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x04,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x05,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x16,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x0e,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x04,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x05,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x05,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x46,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x46,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x86,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v2 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x86,0x06,0x06] + +0xf9,0xfe,0x0b,0x06,0x01,0x06,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x06,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x26 +# GFX10: v_add_f32_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x06,0xff,0x06,0x06,0x06 +# GFX10: v_add_f32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x06,0x6b,0x06,0x86,0x06 +# GFX10: v_add_f32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x06,0x6a,0x06,0x86,0x06 +# GFX10: v_add_f32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x06,0x01,0x06,0x26,0x06 +# GFX10: v_add_f32_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x06,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x4b,0x01,0x06,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x4b,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x7f,0x06,0x86,0x06 +# GFX10: v_add_nc_u32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4a,0x7e,0x06,0x86,0x06 +# GFX10: v_add_nc_u32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4a,0x7c,0x06,0x86,0x06 +# GFX10: v_add_nc_u32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x86,0x06 +# GFX10: v_add_nc_u32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4a,0x65,0x06,0x86,0x06 +# GFX10: v_add_nc_u32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x0e,0x06 +# GFX10: v_add_nc_u32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x0e +# GFX10: v_add_nc_u32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x4a,0x01,0x26,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x00,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x01,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x02,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x03,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x00,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x01,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x02,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x03,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x00 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x01 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x02 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x03 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x04 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x05 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x04,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x06,0x05,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x16,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x0e,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x04,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x01,0x05,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x4a,0x01,0x06,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x4a,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0xff,0x06,0x06,0x06 +# GFX10: v_add_nc_u32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4a,0x6b,0x06,0x86,0x06 +# GFX10: v_add_nc_u32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4a,0x6a,0x06,0x86,0x06 +# GFX10: v_add_nc_u32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4a,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x37,0x01,0x06,0x06,0x06 +# GFX10: v_and_b32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x37,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x7f,0x06,0x86,0x06 +# GFX10: v_and_b32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x36,0x7e,0x06,0x86,0x06 +# GFX10: v_and_b32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x36,0x7c,0x06,0x86,0x06 +# GFX10: v_and_b32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x86,0x06 +# GFX10: v_and_b32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x36,0x65,0x06,0x86,0x06 +# GFX10: v_and_b32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x0e,0x06 +# GFX10: v_and_b32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x0e +# GFX10: v_and_b32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x36,0x01,0x00,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x01,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x02,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x03,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x00,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x01,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x02,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x03,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x00 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x01 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x02 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x03 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x04 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x05 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x04,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x06,0x05,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x16,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x0e,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x04,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x01,0x05,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x36,0x01,0x06,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x36,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0xff,0x06,0x06,0x06 +# GFX10: v_and_b32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x36,0x6b,0x06,0x86,0x06 +# GFX10: v_and_b32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x36,0x6a,0x06,0x86,0x06 +# GFX10: v_and_b32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x36,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x31,0x01,0x06,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x31,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x7f,0x06,0x86,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x30,0x7e,0x06,0x86,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x30,0x7c,0x06,0x86,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x86,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x30,0x65,0x06,0x86,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x0e,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x0e +# GFX10: v_ashrrev_i32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x30,0x01,0x00,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x01,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x02,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x03,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x00,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x01,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x02,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x03,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x00 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x01 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x02 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x03 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x04 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x05 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x04,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x06,0x05,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x16,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x0e,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x04,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x01,0x05,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x30,0x01,0x06,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x30,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0xff,0x06,0x06,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x30,0x6b,0x06,0x86,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x30,0x6a,0x06,0x86,0x06 +# GFX10: v_ashrrev_i32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x30,0x6a,0x06,0x86,0x06] + +0xf9,0xfe,0xff,0x03,0xff,0x0d,0x16,0x25 +# W32: v_cndmask_b32_sdwa v255, -v255, |v255|, vcc_lo dst_sel:WORD_1 dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0xfe,0xff,0x03,0xff,0x0d,0x16,0x25] +# W64: v_cndmask_b32_sdwa v255, -v255, |v255|, vcc dst_sel:WORD_1 dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0xfe,0xff,0x03,0xff,0x0d,0x16,0x25] + +0xf9,0xfe,0xff,0x03,0xff,0x0d,0x36,0x35 +# W32: v_cndmask_b32_sdwa v255, -|v255|, -|v255|, vcc_lo dst_sel:WORD_1 dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0xfe,0xff,0x03,0xff,0x0d,0x36,0x35] +# W64: v_cndmask_b32_sdwa v255, -|v255|, -|v255|, vcc dst_sel:WORD_1 dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0xfe,0xff,0x03,0xff,0x0d,0x36,0x35] + +0xf9,0xfe,0xff,0x03,0xff,0x0d,0x26,0x15 +# W32: v_cndmask_b32_sdwa v255, |v255|, -v255, vcc_lo dst_sel:WORD_1 dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0xfe,0xff,0x03,0xff,0x0d,0x26,0x15] +# W64: v_cndmask_b32_sdwa v255, |v255|, -v255, vcc dst_sel:WORD_1 dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0xfe,0xff,0x03,0xff,0x0d,0x26,0x15] + +0xf9,0x04,0xfe,0x77,0x01,0x06,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x77,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x16,0x06 +# GFX10: v_ldexp_f16_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x76,0x7f,0x06,0x86,0x06 +# GFX10: v_ldexp_f16_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x76,0x7e,0x06,0x86,0x06 +# GFX10: v_ldexp_f16_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x76,0x7c,0x06,0x86,0x06 +# GFX10: v_ldexp_f16_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x86,0x06 +# GFX10: v_ldexp_f16_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x76,0x65,0x06,0x86,0x06 +# GFX10: v_ldexp_f16_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x26,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x00,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x01,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x02,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x03,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x00,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x01,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x02,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x03,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x00 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x01 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x02 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x03 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x04 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x05 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x04,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x05,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x16,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x0e,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x04,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x05,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x76,0x01,0x06,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x76,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0xff,0x06,0x06,0x06 +# GFX10: v_ldexp_f16_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x76,0x6b,0x06,0x86,0x06 +# GFX10: v_ldexp_f16_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x76,0x6a,0x06,0x86,0x06 +# GFX10: v_ldexp_f16_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x76,0x01,0x06,0x26,0x06 +# GFX10: v_ldexp_f16_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x76,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x35,0x01,0x06,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x35,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x7f,0x06,0x86,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x34,0x7e,0x06,0x86,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x34,0x7c,0x06,0x86,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x86,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x34,0x65,0x06,0x86,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x0e,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x0e +# GFX10: v_lshlrev_b32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x34,0x01,0x00,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x01,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x02,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x03,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x00,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x01,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x02,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x03,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x00 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x01 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x02 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x03 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x04 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x05 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x04,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x06,0x05,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x16,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x0e,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x04,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x01,0x05,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x34,0x01,0x06,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x34,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0xff,0x06,0x06,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x34,0x6b,0x06,0x86,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x34,0x6a,0x06,0x86,0x06 +# GFX10: v_lshlrev_b32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x34,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x2d,0x01,0x06,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x2d,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x7f,0x06,0x86,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x2c,0x7e,0x06,0x86,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x2c,0x7c,0x06,0x86,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x86,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x2c,0x65,0x06,0x86,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x0e,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x0e +# GFX10: v_lshrrev_b32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x2c,0x01,0x00,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x01,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x02,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x03,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x00,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x01,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x02,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x03,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x00 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x01 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x02 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x03 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x04 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x05 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x04,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x06,0x05,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x16,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x0e,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x04,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x01,0x05,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x2c,0x01,0x06,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x2c,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0xff,0x06,0x06,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x2c,0x6b,0x06,0x86,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x2c,0x6a,0x06,0x86,0x06 +# GFX10: v_lshrrev_b32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x2c,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x73,0x01,0x06,0x06,0x06 +# GFX10: v_max_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x73,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x16,0x06 +# GFX10: v_max_f16_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x72,0x7f,0x06,0x86,0x06 +# GFX10: v_max_f16_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x72,0x7e,0x06,0x86,0x06 +# GFX10: v_max_f16_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x72,0x7c,0x06,0x86,0x06 +# GFX10: v_max_f16_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x86,0x06 +# GFX10: v_max_f16_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x72,0x65,0x06,0x86,0x06 +# GFX10: v_max_f16_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x16 +# GFX10: v_max_f16_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x72,0x01,0x26,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x00,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x01,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x02,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x03,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x00,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x01,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x02,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x03,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x00 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x01 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x02 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x03 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x04 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x05 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x04,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x05,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x16,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x0e,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x04,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x05,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x72,0x01,0x06,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x72,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x26 +# GFX10: v_max_f16_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x72,0xff,0x06,0x06,0x06 +# GFX10: v_max_f16_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x72,0x6b,0x06,0x86,0x06 +# GFX10: v_max_f16_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x72,0x6a,0x06,0x86,0x06 +# GFX10: v_max_f16_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x72,0x01,0x06,0x26,0x06 +# GFX10: v_max_f16_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x72,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x21,0x01,0x06,0x06,0x06 +# GFX10: v_max_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x21,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x16,0x06 +# GFX10: v_max_f32_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x20,0x7f,0x06,0x86,0x06 +# GFX10: v_max_f32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x20,0x7e,0x06,0x86,0x06 +# GFX10: v_max_f32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x20,0x7c,0x06,0x86,0x06 +# GFX10: v_max_f32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x86,0x06 +# GFX10: v_max_f32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x20,0x65,0x06,0x86,0x06 +# GFX10: v_max_f32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x16 +# GFX10: v_max_f32_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x20,0x01,0x26,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0xc6,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0xc6,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x00,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x01,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x02,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x03,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x00,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x01,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x02,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x03,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x00 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x01 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x02 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x03 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x04 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x05 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x04,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x05,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x16,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x0e,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x04,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x05,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x05,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x46,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x46,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x86,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v2 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x86,0x06,0x06] + +0xf9,0xfe,0x0b,0x20,0x01,0x06,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x20,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x26 +# GFX10: v_max_f32_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x20,0xff,0x06,0x06,0x06 +# GFX10: v_max_f32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x20,0x6b,0x06,0x86,0x06 +# GFX10: v_max_f32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x20,0x6a,0x06,0x86,0x06 +# GFX10: v_max_f32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x20,0x01,0x06,0x26,0x06 +# GFX10: v_max_f32_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x20,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x25,0x01,0x06,0x06,0x06 +# GFX10: v_max_i32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x25,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x7f,0x06,0x86,0x06 +# GFX10: v_max_i32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x24,0x7e,0x06,0x86,0x06 +# GFX10: v_max_i32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x24,0x7c,0x06,0x86,0x06 +# GFX10: v_max_i32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x86,0x06 +# GFX10: v_max_i32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x24,0x65,0x06,0x86,0x06 +# GFX10: v_max_i32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x0e,0x06 +# GFX10: v_max_i32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x0e +# GFX10: v_max_i32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x24,0x01,0x26,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x00,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x01,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x02,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x03,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x00,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x01,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x02,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x03,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x00 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x01 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x02 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x03 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x04 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x05 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x04,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x06,0x05,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x16,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x0e,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x04,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x01,0x05,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x24,0x01,0x06,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x24,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0xff,0x06,0x06,0x06 +# GFX10: v_max_i32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x24,0x6b,0x06,0x86,0x06 +# GFX10: v_max_i32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x24,0x6a,0x06,0x86,0x06 +# GFX10: v_max_i32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x24,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x29,0x01,0x06,0x06,0x06 +# GFX10: v_max_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x29,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x7f,0x06,0x86,0x06 +# GFX10: v_max_u32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x28,0x7e,0x06,0x86,0x06 +# GFX10: v_max_u32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x28,0x7c,0x06,0x86,0x06 +# GFX10: v_max_u32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x86,0x06 +# GFX10: v_max_u32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x28,0x65,0x06,0x86,0x06 +# GFX10: v_max_u32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x0e,0x06 +# GFX10: v_max_u32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x0e +# GFX10: v_max_u32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x28,0x01,0x26,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x00,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x01,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x02,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x03,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x00,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x01,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x02,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x03,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x00 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x01 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x02 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x03 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x04 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x05 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x04,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x06,0x05,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x16,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x0e,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x04,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x01,0x05,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x28,0x01,0x06,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x28,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0xff,0x06,0x06,0x06 +# GFX10: v_max_u32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x28,0x6b,0x06,0x86,0x06 +# GFX10: v_max_u32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x28,0x6a,0x06,0x86,0x06 +# GFX10: v_max_u32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x28,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x75,0x01,0x06,0x06,0x06 +# GFX10: v_min_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x75,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x16,0x06 +# GFX10: v_min_f16_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x74,0x7f,0x06,0x86,0x06 +# GFX10: v_min_f16_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x74,0x7e,0x06,0x86,0x06 +# GFX10: v_min_f16_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x74,0x7c,0x06,0x86,0x06 +# GFX10: v_min_f16_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x86,0x06 +# GFX10: v_min_f16_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x74,0x65,0x06,0x86,0x06 +# GFX10: v_min_f16_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x16 +# GFX10: v_min_f16_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x74,0x01,0x26,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x00,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x01,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x02,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x03,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x00,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x01,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x02,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x03,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x00 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x01 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x02 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x03 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x04 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x05 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x04,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x05,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x16,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x0e,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x04,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x05,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x74,0x01,0x06,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x74,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x26 +# GFX10: v_min_f16_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x74,0xff,0x06,0x06,0x06 +# GFX10: v_min_f16_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x74,0x6b,0x06,0x86,0x06 +# GFX10: v_min_f16_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x74,0x6a,0x06,0x86,0x06 +# GFX10: v_min_f16_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x74,0x01,0x06,0x26,0x06 +# GFX10: v_min_f16_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x74,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x1f,0x01,0x06,0x06,0x06 +# GFX10: v_min_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x1f,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x16,0x06 +# GFX10: v_min_f32_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x1e,0x7f,0x06,0x86,0x06 +# GFX10: v_min_f32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x1e,0x7e,0x06,0x86,0x06 +# GFX10: v_min_f32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x1e,0x7c,0x06,0x86,0x06 +# GFX10: v_min_f32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x86,0x06 +# GFX10: v_min_f32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x1e,0x65,0x06,0x86,0x06 +# GFX10: v_min_f32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x16 +# GFX10: v_min_f32_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x1e,0x01,0x26,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0xc6,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0xc6,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x00,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x01,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x02,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x03,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x00,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x01,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x02,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x03,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x00 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x01 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x02 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x03 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x04 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x05 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x04,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x05,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x16,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x0e,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x04,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x05,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x05,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x46,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x46,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x86,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v2 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x86,0x06,0x06] + +0xf9,0xfe,0x0b,0x1e,0x01,0x06,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x1e,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x26 +# GFX10: v_min_f32_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x1e,0xff,0x06,0x06,0x06 +# GFX10: v_min_f32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x1e,0x6b,0x06,0x86,0x06 +# GFX10: v_min_f32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x1e,0x6a,0x06,0x86,0x06 +# GFX10: v_min_f32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x1e,0x01,0x06,0x26,0x06 +# GFX10: v_min_f32_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x1e,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x23,0x01,0x06,0x06,0x06 +# GFX10: v_min_i32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x23,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x7f,0x06,0x86,0x06 +# GFX10: v_min_i32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x22,0x7e,0x06,0x86,0x06 +# GFX10: v_min_i32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x22,0x7c,0x06,0x86,0x06 +# GFX10: v_min_i32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x86,0x06 +# GFX10: v_min_i32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x22,0x65,0x06,0x86,0x06 +# GFX10: v_min_i32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x0e,0x06 +# GFX10: v_min_i32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x0e +# GFX10: v_min_i32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x22,0x01,0x26,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x00,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x01,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x02,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x03,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x00,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x01,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x02,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x03,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x00 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x01 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x02 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x03 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x04 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x05 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x04,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x06,0x05,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x16,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x0e,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x04,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x01,0x05,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x22,0x01,0x06,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x22,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0xff,0x06,0x06,0x06 +# GFX10: v_min_i32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x22,0x6b,0x06,0x86,0x06 +# GFX10: v_min_i32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x22,0x6a,0x06,0x86,0x06 +# GFX10: v_min_i32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x22,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x27,0x01,0x06,0x06,0x06 +# GFX10: v_min_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x27,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x7f,0x06,0x86,0x06 +# GFX10: v_min_u32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x26,0x7e,0x06,0x86,0x06 +# GFX10: v_min_u32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x26,0x7c,0x06,0x86,0x06 +# GFX10: v_min_u32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x86,0x06 +# GFX10: v_min_u32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x26,0x65,0x06,0x86,0x06 +# GFX10: v_min_u32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x0e,0x06 +# GFX10: v_min_u32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x0e +# GFX10: v_min_u32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x26,0x01,0x26,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x00,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x01,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x02,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x03,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x00,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x01,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x02,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x03,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x00 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x01 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x02 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x03 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x04 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x05 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x04,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x06,0x05,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x16,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x0e,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x04,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x01,0x05,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x26,0x01,0x06,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x26,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0xff,0x06,0x06,0x06 +# GFX10: v_min_u32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x26,0x6b,0x06,0x86,0x06 +# GFX10: v_min_u32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x26,0x6a,0x06,0x86,0x06 +# GFX10: v_min_u32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x26,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x6b,0x01,0x06,0x06,0x06 +# GFX10: v_mul_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x6b,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x16,0x06 +# GFX10: v_mul_f16_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x6a,0x7f,0x06,0x86,0x06 +# GFX10: v_mul_f16_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x6a,0x7e,0x06,0x86,0x06 +# GFX10: v_mul_f16_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x6a,0x7c,0x06,0x86,0x06 +# GFX10: v_mul_f16_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x86,0x06 +# GFX10: v_mul_f16_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x6a,0x65,0x06,0x86,0x06 +# GFX10: v_mul_f16_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x16 +# GFX10: v_mul_f16_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x6a,0x01,0x26,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x00,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x01,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x02,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x03,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x00,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x01,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x02,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x03,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x00 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x01 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x02 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x03 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x04 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x05 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x04,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x05,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x16,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x0e,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x04,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x05,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x6a,0x01,0x06,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x6a,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x26 +# GFX10: v_mul_f16_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x6a,0xff,0x06,0x06,0x06 +# GFX10: v_mul_f16_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x6a,0x6b,0x06,0x86,0x06 +# GFX10: v_mul_f16_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x6a,0x6a,0x06,0x86,0x06 +# GFX10: v_mul_f16_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x6a,0x01,0x06,0x26,0x06 +# GFX10: v_mul_f16_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x11,0x01,0x06,0x06,0x06 +# GFX10: v_mul_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x11,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x16,0x06 +# GFX10: v_mul_f32_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x10,0x7f,0x06,0x86,0x06 +# GFX10: v_mul_f32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x10,0x7e,0x06,0x86,0x06 +# GFX10: v_mul_f32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x10,0x7c,0x06,0x86,0x06 +# GFX10: v_mul_f32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x86,0x06 +# GFX10: v_mul_f32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x10,0x65,0x06,0x86,0x06 +# GFX10: v_mul_f32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x16 +# GFX10: v_mul_f32_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x10,0x01,0x26,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0xc6,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0xc6,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x00,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x01,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x02,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x03,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x00,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x01,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x02,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x03,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x00 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x01 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x02 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x03 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x04 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x05 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x04,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x05,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x16,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x0e,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x04,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x05,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x05,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x46,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x46,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x86,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v2 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x86,0x06,0x06] + +0xf9,0xfe,0x0b,0x10,0x01,0x06,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x10,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x26 +# GFX10: v_mul_f32_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x10,0xff,0x06,0x06,0x06 +# GFX10: v_mul_f32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x10,0x6b,0x06,0x86,0x06 +# GFX10: v_mul_f32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x10,0x6a,0x06,0x86,0x06 +# GFX10: v_mul_f32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x10,0x01,0x06,0x26,0x06 +# GFX10: v_mul_f32_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x10,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x15,0x01,0x06,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x15,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x7f,0x06,0x86,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x14,0x7e,0x06,0x86,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x14,0x7c,0x06,0x86,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x86,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x14,0x65,0x06,0x86,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x0e,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x0e +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x14,0x01,0x26,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x00,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x01,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x02,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x03,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x00,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x01,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x02,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x03,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x00 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x01 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x02 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x03 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x04 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x05 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x04,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x06,0x05,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x16,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x0e,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x04,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x01,0x05,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x14,0x01,0x06,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x14,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0xff,0x06,0x06,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x14,0x6b,0x06,0x86,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x14,0x6a,0x06,0x86,0x06 +# GFX10: v_mul_hi_i32_i24_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x14,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x19,0x01,0x06,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x19,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x7f,0x06,0x86,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x18,0x7e,0x06,0x86,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x18,0x7c,0x06,0x86,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x86,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x18,0x65,0x06,0x86,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x0e,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x0e +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x18,0x01,0x26,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x00,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x01,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x02,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x03,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x00,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x01,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x02,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x03,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x00 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x01 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x02 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x03 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x04 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x05 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x04,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x06,0x05,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x16,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x0e,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x04,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x01,0x05,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x18,0x01,0x06,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x18,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0xff,0x06,0x06,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x18,0x6b,0x06,0x86,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x18,0x6a,0x06,0x86,0x06 +# GFX10: v_mul_hi_u32_u24_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x18,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x13,0x01,0x06,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x13,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x7f,0x06,0x86,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x12,0x7e,0x06,0x86,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x12,0x7c,0x06,0x86,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x86,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x12,0x65,0x06,0x86,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x0e,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x0e +# GFX10: v_mul_i32_i24_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x12,0x01,0x26,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x00,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x01,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x02,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x03,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x00,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x01,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x02,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x03,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x00 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x01 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x02 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x03 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x04 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x05 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x04,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x06,0x05,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x16,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x0e,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x04,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x01,0x05,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x12,0x01,0x06,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x12,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0xff,0x06,0x06,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x12,0x6b,0x06,0x86,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x12,0x6a,0x06,0x86,0x06 +# GFX10: v_mul_i32_i24_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x12,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x0f,0x01,0x06,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x0f,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x16,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x0e,0x7f,0x06,0x86,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0e,0x7e,0x06,0x86,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0e,0x7c,0x06,0x86,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x86,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0e,0x65,0x06,0x86,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x16 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x0e,0x01,0x26,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0xc6,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0xc6,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x00,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x01,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x02,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x03,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x00,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x01,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x02,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x03,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x00 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x01 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x02 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x03 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x04 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x05 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x04,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x05,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x16,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x0e,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x04,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x05,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x05,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x46,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x46,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x86,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v2 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x86,0x06,0x06] + +0xf9,0xfe,0x0b,0x0e,0x01,0x06,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x0e,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x26 +# GFX10: v_mul_legacy_f32_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x0e,0xff,0x06,0x06,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x0e,0x6b,0x06,0x86,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0e,0x6a,0x06,0x86,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0e,0x01,0x06,0x26,0x06 +# GFX10: v_mul_legacy_f32_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0e,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x17,0x01,0x06,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x17,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x7f,0x06,0x86,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x16,0x7e,0x06,0x86,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x16,0x7c,0x06,0x86,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x86,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x16,0x65,0x06,0x86,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x0e,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x0e +# GFX10: v_mul_u32_u24_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x16,0x01,0x26,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x00,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x01,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x02,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x03,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x00,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x01,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x02,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x03,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x00 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x01 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x02 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x03 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x04 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x05 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x04,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x06,0x05,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x16,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x0e,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x04,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x01,0x05,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x16,0x01,0x06,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x16,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0xff,0x06,0x06,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x16,0x6b,0x06,0x86,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x16,0x6a,0x06,0x86,0x06 +# GFX10: v_mul_u32_u24_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x16,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x39,0x01,0x06,0x06,0x06 +# GFX10: v_or_b32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x39,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x7f,0x06,0x86,0x06 +# GFX10: v_or_b32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x38,0x7e,0x06,0x86,0x06 +# GFX10: v_or_b32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x38,0x7c,0x06,0x86,0x06 +# GFX10: v_or_b32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x86,0x06 +# GFX10: v_or_b32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x38,0x65,0x06,0x86,0x06 +# GFX10: v_or_b32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x0e,0x06 +# GFX10: v_or_b32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x0e +# GFX10: v_or_b32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x38,0x01,0x00,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x01,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x02,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x03,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x00,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x01,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x02,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x03,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x00 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x01 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x02 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x03 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x04 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x05 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x04,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x06,0x05,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x16,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x0e,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x04,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x01,0x05,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x38,0x01,0x06,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x38,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0xff,0x06,0x06,0x06 +# GFX10: v_or_b32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x38,0x6b,0x06,0x86,0x06 +# GFX10: v_or_b32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x38,0x6a,0x06,0x86,0x06 +# GFX10: v_or_b32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x38,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x53,0x01,0x06,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v255, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x53,0x01,0x06,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v255, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x53,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x0e,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, sext(v1), v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x0e,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, sext(v1), v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x0e +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, sext(v2), vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x0e] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, sext(v2), vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x52,0x01,0x26,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x26,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x00,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x00,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x01,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x01,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x02,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x02,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x03,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x03,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x00,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x00,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x01,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x01,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x02,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x02,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x03,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x03,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x00 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x00] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x01 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x01] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x02 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x02] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x03 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x03] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x04 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x04] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x05 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x05] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x04,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x04,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x06,0x05,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x05,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x16,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x16,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x0e,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x0e,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x04,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x04,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0x01,0x05,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x05,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x52,0x01,0x06,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v1, v255, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x52,0x01,0x06,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v1, v255, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x52,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x52,0xff,0x06,0x06,0x06 +# W32: v_sub_co_ci_u32_sdwa v5, vcc_lo, v255, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0xff,0x06,0x06,0x06] +# W64: v_sub_co_ci_u32_sdwa v5, vcc, v255, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x52,0xff,0x06,0x06,0x06] + +0xf9,0x04,0xfe,0x67,0x01,0x06,0x06,0x06 +# GFX10: v_sub_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x67,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x16,0x06 +# GFX10: v_sub_f16_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x66,0x7f,0x06,0x86,0x06 +# GFX10: v_sub_f16_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x66,0x7e,0x06,0x86,0x06 +# GFX10: v_sub_f16_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x66,0x7c,0x06,0x86,0x06 +# GFX10: v_sub_f16_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x86,0x06 +# GFX10: v_sub_f16_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x66,0x65,0x06,0x86,0x06 +# GFX10: v_sub_f16_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x16 +# GFX10: v_sub_f16_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x66,0x01,0x26,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x00,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x01,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x02,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x03,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x00,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x01,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x02,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x03,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x00 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x01 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x02 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x03 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x04 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x05 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x04,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x05,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x16,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x0e,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x04,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x05,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x66,0x01,0x06,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x66,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x26 +# GFX10: v_sub_f16_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x66,0xff,0x06,0x06,0x06 +# GFX10: v_sub_f16_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x66,0x6b,0x06,0x86,0x06 +# GFX10: v_sub_f16_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x66,0x6a,0x06,0x86,0x06 +# GFX10: v_sub_f16_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x66,0x01,0x06,0x26,0x06 +# GFX10: v_sub_f16_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x66,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x09,0x01,0x06,0x06,0x06 +# GFX10: v_sub_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x09,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x16,0x06 +# GFX10: v_sub_f32_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x08,0x7f,0x06,0x86,0x06 +# GFX10: v_sub_f32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x08,0x7e,0x06,0x86,0x06 +# GFX10: v_sub_f32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x08,0x7c,0x06,0x86,0x06 +# GFX10: v_sub_f32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x86,0x06 +# GFX10: v_sub_f32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x08,0x65,0x06,0x86,0x06 +# GFX10: v_sub_f32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x16 +# GFX10: v_sub_f32_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x08,0x01,0x26,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0xc6,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0xc6,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x00,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x01,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x02,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x03,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x00,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x01,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x02,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x03,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x00 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x01 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x02 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x03 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x04 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x05 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x04,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x05,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x16,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x0e,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x04,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x05,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x05,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x46,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x46,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x86,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v2 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x86,0x06,0x06] + +0xf9,0xfe,0x0b,0x08,0x01,0x06,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x08,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x26 +# GFX10: v_sub_f32_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x08,0xff,0x06,0x06,0x06 +# GFX10: v_sub_f32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x08,0x6b,0x06,0x86,0x06 +# GFX10: v_sub_f32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x08,0x6a,0x06,0x86,0x06 +# GFX10: v_sub_f32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x08,0x01,0x06,0x26,0x06 +# GFX10: v_sub_f32_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x08,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x4d,0x01,0x06,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x4d,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x7f,0x06,0x86,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4c,0x7e,0x06,0x86,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4c,0x7c,0x06,0x86,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x86,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4c,0x65,0x06,0x86,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x0e,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x0e +# GFX10: v_sub_nc_u32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x4c,0x01,0x26,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x00,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x01,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x02,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x03,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x00,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x01,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x02,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x03,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x00 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x01 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x02 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x03 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x04 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x05 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x04,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x06,0x05,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x16,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x0e,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x04,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x01,0x05,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x4c,0x01,0x06,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x4c,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0xff,0x06,0x06,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4c,0x6b,0x06,0x86,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4c,0x6a,0x06,0x86,0x06 +# GFX10: v_sub_nc_u32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4c,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x55,0x01,0x06,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v255, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x55,0x01,0x06,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v255, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x55,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x0e,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, sext(v1), v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x0e,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, sext(v1), v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x0e +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, sext(v2), vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x0e] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, sext(v2), vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x54,0x01,0x26,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x26,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x00,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x00,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x01,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x01,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x02,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x02,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x03,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x03,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x00,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x00,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x01,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x01,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x02,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x02,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x03,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x03,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x00 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x00] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x01 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x01] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x02 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x02] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x03 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x03] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x04 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x04] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x05 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x05] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x04,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x04,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x06,0x05,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x05,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x16,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x16,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x0e,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x0e,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x04,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x04,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0x01,0x05,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v2, vcc_lo dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x05,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v2, vcc dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x54,0x01,0x06,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v1, v255, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x54,0x01,0x06,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v1, v255, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x54,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x54,0xff,0x06,0x06,0x06 +# W32: v_subrev_co_ci_u32_sdwa v5, vcc_lo, v255, v2, vcc_lo dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0xff,0x06,0x06,0x06] +# W64: v_subrev_co_ci_u32_sdwa v5, vcc, v255, v2, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x54,0xff,0x06,0x06,0x06] + +0xf9,0x04,0xfe,0x69,0x01,0x06,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x69,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x16,0x06 +# GFX10: v_subrev_f16_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x68,0x7f,0x06,0x86,0x06 +# GFX10: v_subrev_f16_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x68,0x7e,0x06,0x86,0x06 +# GFX10: v_subrev_f16_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x68,0x7c,0x06,0x86,0x06 +# GFX10: v_subrev_f16_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x86,0x06 +# GFX10: v_subrev_f16_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x68,0x65,0x06,0x86,0x06 +# GFX10: v_subrev_f16_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x16 +# GFX10: v_subrev_f16_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x68,0x01,0x26,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x00,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x01,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x02,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x03,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x00,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x01,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x02,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x03,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x00 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x01 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x02 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x03 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x04 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x05 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x04,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x05,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x16,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x0e,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x04,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x05,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x68,0x01,0x06,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x68,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x26 +# GFX10: v_subrev_f16_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x68,0xff,0x06,0x06,0x06 +# GFX10: v_subrev_f16_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x68,0x6b,0x06,0x86,0x06 +# GFX10: v_subrev_f16_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x68,0x6a,0x06,0x86,0x06 +# GFX10: v_subrev_f16_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x68,0x01,0x06,0x26,0x06 +# GFX10: v_subrev_f16_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x68,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x0b,0x01,0x06,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x0b,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x16,0x06 +# GFX10: v_subrev_f32_sdwa v5, -v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x16,0x06] + +0xf9,0x04,0x0a,0x0a,0x7f,0x06,0x86,0x06 +# GFX10: v_subrev_f32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0a,0x7e,0x06,0x86,0x06 +# GFX10: v_subrev_f32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0a,0x7c,0x06,0x86,0x06 +# GFX10: v_subrev_f32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x86,0x06 +# GFX10: v_subrev_f32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0a,0x65,0x06,0x86,0x06 +# GFX10: v_subrev_f32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x16 +# GFX10: v_subrev_f32_sdwa v5, v1, -v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x16] + +0xf9,0x04,0x0a,0x0a,0x01,0x26,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0xc6,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 div:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0xc6,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x00,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x01,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x02,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x03,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x00,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x01,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x02,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x03,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x00 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x01 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x02 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x03 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x04 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x05 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x04,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x05,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x16,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x0e,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x04,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x05,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x05,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x46,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 mul:2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x46,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x86,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v2 mul:4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x86,0x06,0x06] + +0xf9,0xfe,0x0b,0x0a,0x01,0x06,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x0a,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x26 +# GFX10: v_subrev_f32_sdwa v5, v1, |v2| dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x06,0x26] + +0xf9,0x04,0x0a,0x0a,0xff,0x06,0x06,0x06 +# GFX10: v_subrev_f32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x0a,0x6b,0x06,0x86,0x06 +# GFX10: v_subrev_f32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0a,0x6a,0x06,0x86,0x06 +# GFX10: v_subrev_f32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x0a,0x01,0x06,0x26,0x06 +# GFX10: v_subrev_f32_sdwa v5, |v1|, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x0a,0x01,0x06,0x26,0x06] + +0xf9,0x04,0xfe,0x4f,0x01,0x06,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x4f,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x7f,0x06,0x86,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4e,0x7e,0x06,0x86,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4e,0x7c,0x06,0x86,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x86,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4e,0x65,0x06,0x86,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x0e,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x0e +# GFX10: v_subrev_nc_u32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x4e,0x01,0x26,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 clamp dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x26,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x00,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x01,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x02,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x03,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x00,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x01,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x02,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x03,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x00 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x01 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x02 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x03 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x04 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x05 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x04,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x06,0x05,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x16,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x0e,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x04,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x01,0x05,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x4e,0x01,0x06,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x4e,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0xff,0x06,0x06,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x4e,0x6b,0x06,0x86,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x4e,0x6a,0x06,0x86,0x06 +# GFX10: v_subrev_nc_u32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x4e,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x3d,0x01,0x06,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x3d,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x7f,0x06,0x86,0x06 +# GFX10: v_xnor_b32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3c,0x7e,0x06,0x86,0x06 +# GFX10: v_xnor_b32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3c,0x7c,0x06,0x86,0x06 +# GFX10: v_xnor_b32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x86,0x06 +# GFX10: v_xnor_b32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3c,0x65,0x06,0x86,0x06 +# GFX10: v_xnor_b32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x0e,0x06 +# GFX10: v_xnor_b32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x0e +# GFX10: v_xnor_b32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x3c,0x01,0x00,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x01,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x02,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x03,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x00,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x01,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x02,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x03,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x00 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x01 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x02 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x03 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x04 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x05 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x04,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x06,0x05,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x16,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x0e,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x04,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x01,0x05,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x3c,0x01,0x06,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x3c,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0xff,0x06,0x06,0x06 +# GFX10: v_xnor_b32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x3c,0x6b,0x06,0x86,0x06 +# GFX10: v_xnor_b32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3c,0x6a,0x06,0x86,0x06 +# GFX10: v_xnor_b32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3c,0x6a,0x06,0x86,0x06] + +0xf9,0x04,0xfe,0x3b,0x01,0x06,0x06,0x06 +# GFX10: v_xor_b32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0xfe,0x3b,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x7f,0x06,0x86,0x06 +# GFX10: v_xor_b32_sdwa v5, exec_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x7f,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3a,0x7e,0x06,0x86,0x06 +# GFX10: v_xor_b32_sdwa v5, exec_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x7e,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3a,0x7c,0x06,0x86,0x06 +# GFX10: v_xor_b32_sdwa v5, m0, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x7c,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x86,0x06 +# GFX10: v_xor_b32_sdwa v5, s1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3a,0x65,0x06,0x86,0x06 +# GFX10: v_xor_b32_sdwa v5, s101, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x65,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x0e,0x06 +# GFX10: v_xor_b32_sdwa v5, sext(v1), v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x0e,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x0e +# GFX10: v_xor_b32_sdwa v5, v1, sext(v2) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x0e] + +0xf9,0x04,0x0a,0x3a,0x01,0x00,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:BYTE_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x00,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x01,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:BYTE_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x01,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x02,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:BYTE_2 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x02,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x03,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:BYTE_3 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x03,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x00,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x00,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x01,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x01,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x02,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_2 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x02,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x03,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_3 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x03,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x00 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x00] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x01 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_1 ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x01] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x02 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_2 ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x02] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x03 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3 ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x03] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x04 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0 ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x04] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x05 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1 ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x05] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x04,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_0 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x04,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x06,0x05,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x05,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x16,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x16,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x0e,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_SEXT src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x0e,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x04,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:WORD_0 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x04,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x01,0x05,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v2 dst_sel:WORD_1 dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x01,0x05,0x06,0x06] + +0xf9,0xfe,0x0b,0x3a,0x01,0x06,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v1, v255 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfe,0x0b,0x3a,0x01,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0xff,0x06,0x06,0x06 +# GFX10: v_xor_b32_sdwa v5, v255, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0xff,0x06,0x06,0x06] + +0xf9,0x04,0x0a,0x3a,0x6b,0x06,0x86,0x06 +# GFX10: v_xor_b32_sdwa v5, vcc_hi, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x6b,0x06,0x86,0x06] + +0xf9,0x04,0x0a,0x3a,0x6a,0x06,0x86,0x06 +# GFX10: v_xor_b32_sdwa v5, vcc_lo, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x3a,0x6a,0x06,0x86,0x06] diff --git a/tests/data/llvm-amdgpu/gfx10_vop3.txt b/tests/data/llvm-amdgpu/gfx10_vop3.txt new file mode 100644 index 0000000..3f08ae8 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_vop3.txt @@ -0,0 +1,19723 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX10,W32 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX10,W64 %s + + +0xff,0x00,0x6d,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_add3_u32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x6d,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_add3_u32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_add3_u32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_add3_u32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_add3_u32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_add3_u32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_add3_u32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_add3_u32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_add3_u32 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_add3_u32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_add3_u32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_add3_u32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_add3_u32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_add3_u32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_add3_u32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_add3_u32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_add3_u32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_add3_u32 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_add3_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_add3_u32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_add3_u32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_add3_u32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x6d,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_add3_u32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x6d,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_add3_u32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_add3_u32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x6d,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_add3_u32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x6d,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_add3_u32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_add3_u32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x0c,0x28,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v255, s12, v1, v2, s6 ; encoding: [0xff,0x0c,0x28,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v255, s[12:13], v1, v2, s[6:7] ; encoding: [0xff,0x0c,0x28,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x66,0x28,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v5, s102, v1, v2, s6 ; encoding: [0x05,0x66,0x28,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[102:103], v1, v2, s[6:7] ; encoding: [0x05,0x66,0x28,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x0c,0x28,0xd5,0xc1,0x04,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, -1, v2, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0xc1,0x04,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], -1, v2, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0xc1,0x04,0x1a,0x00] + +0x05,0x0c,0x28,0xd5,0xf7,0x04,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, -4.0, v2, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0xf7,0x04,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], -4.0, v2, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0xf7,0x04,0x1a,0x00] + +0x05,0x0c,0x28,0xd5,0x80,0x04,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, 0, v2, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0x80,0x04,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], 0, v2, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0x80,0x04,0x1a,0x00] + +0x05,0x0c,0x28,0xd5,0xf0,0x04,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, 0.5, v2, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0xf0,0x04,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], 0.5, v2, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0xf0,0x04,0x1a,0x00] + +0x05,0x0c,0x28,0xd5,0x01,0x83,0x19,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, v1, -1, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x83,0x19,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, -1, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x83,0x19,0x00] + +0x05,0x0c,0x28,0xd5,0x01,0xef,0x19,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, v1, -4.0, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0xef,0x19,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, -4.0, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0xef,0x19,0x00] + +0x05,0x0c,0x28,0xd5,0x01,0x01,0x19,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, v1, 0, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x01,0x19,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, 0, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x01,0x19,0x00] + +0x05,0x0c,0x28,0xd5,0x01,0xe1,0x19,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, v1, 0.5, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0xe1,0x19,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, 0.5, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0xe1,0x19,0x00] + +0x05,0x0c,0x28,0xd5,0x01,0x05,0x9a,0x01 +# W32: v_add_co_ci_u32_e64 v5, s12, v1, v2, s102 ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x05,0x9a,0x01] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, v2, s[102:103] ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x05,0x9a,0x01] + +0x05,0x0c,0x28,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, v1, v2, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x0c,0x28,0xd5,0x01,0x05,0x22,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, v1, v2, s8 ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x05,0x22,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x0c,0x28,0xd5,0x01,0x05,0xaa,0x01 +# W32: v_add_co_ci_u32_e64 v5, s12, v1, v2, vcc_lo ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x05,0xaa,0x01] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x0c,0x28,0xd5,0x01,0xff,0x1b,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, v1, v255, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0xff,0x1b,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v1, v255, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0x01,0xff,0x1b,0x00] + +0x05,0x0c,0x28,0xd5,0xff,0x05,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v5, s12, v255, v2, s6 ; encoding: [0x05,0x0c,0x28,0xd5,0xff,0x05,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[12:13], v255, v2, s[6:7] ; encoding: [0x05,0x0c,0x28,0xd5,0xff,0x05,0x1a,0x00] + +0x05,0x0e,0x28,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v5, s14, v1, v2, s6 ; encoding: [0x05,0x0e,0x28,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v5, s[14:15], v1, v2, s[6:7] ; encoding: [0x05,0x0e,0x28,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x6a,0x28,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_add_co_ci_u32_e64 v5, vcc_lo, v1, v2, s6 ; encoding: [0x05,0x6a,0x28,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_add_co_ci_u32_e64 v5, vcc, v1, v2, s[6:7] ; encoding: [0x05,0x6a,0x28,0xd5,0x01,0x05,0x1a,0x00] + +0xff,0x00,0x0f,0xd7,0x01,0x05,0x02,0x00 +# W32: v_add_co_u32 v255, s0, v1, v2 ; encoding: [0xff,0x00,0x0f,0xd7,0x01,0x05,0x02,0x02] +# W64: v_add_co_u32 v255, s[0:1], v1, v2 ; encoding: [0xff,0x00,0x0f,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0xc1,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, -1, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0xc1,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], -1, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0xf7,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, -4.0, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0xf7,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], -4.0, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x80,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, 0, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x80,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], 0, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0xf0,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, 0.5, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0xf0,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], 0.5, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x7f,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, exec_hi, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x7f,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], exec_hi, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x7e,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, exec_lo, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x7e,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], exec_lo, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x7c,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, m0, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x7c,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], m0, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, s1, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], s1, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x67,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, s103, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x67,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], s103, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x77,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, ttmp11, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x77,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], ttmp11, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0x83,0x01,0x00 +# W32: v_add_co_u32 v5, s0, v1, -1 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x83,0x01,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, -1 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xef,0x01,0x00 +# W32: v_add_co_u32 v5, s0, v1, -4.0 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xef,0x01,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, -4.0 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0x01,0x01,0x00 +# W32: v_add_co_u32 v5, s0, v1, 0 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x01,0x01,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, 0 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xe1,0x01,0x00 +# W32: v_add_co_u32 v5, s0, v1, 0.5 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xe1,0x01,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, 0.5 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xff,0x00,0x00 +# W32: v_add_co_u32 v5, s0, v1, exec_hi ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xff,0x00,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, exec_hi ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xfd,0x00,0x00 +# W32: v_add_co_u32 v5, s0, v1, exec_lo ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xfd,0x00,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, exec_lo ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xf9,0x00,0x00 +# W32: v_add_co_u32 v5, s0, v1, m0 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xf9,0x00,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, m0 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xcf,0x00,0x00 +# W32: v_add_co_u32 v5, s0, v1, s103 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xcf,0x00,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, s103 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0x05,0x00,0x00 +# W32: v_add_co_u32 v5, s0, v1, s2 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x05,0x00,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, s2 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xef,0x00,0x00 +# W32: v_add_co_u32 v5, s0, v1, ttmp11 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xef,0x00,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, ttmp11 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0x05,0x02,0x00 +# W32: v_add_co_u32 v5, s0, v1, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x05,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xff,0x03,0x00 +# W32: v_add_co_u32 v5, s0, v1, v255 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xff,0x03,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, v255 ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xd7,0x00,0x00 +# W32: v_add_co_u32 v5, s0, v1, vcc_hi ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xd7,0x00,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, vcc_hi ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0f,0xd7,0x01,0xd5,0x00,0x00 +# W32: v_add_co_u32 v5, s0, v1, vcc_lo ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xd5,0x00,0x02] +# W64: v_add_co_u32 v5, s[0:1], v1, vcc_lo ; encoding: [0x05,0x00,0x0f,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x0f,0xd7,0xff,0x05,0x02,0x00 +# W32: v_add_co_u32 v5, s0, v255, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0xff,0x05,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], v255, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x6b,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, vcc_hi, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x6b,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], vcc_hi, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd7,0x6a,0x04,0x02,0x00 +# W32: v_add_co_u32 v5, s0, vcc_lo, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x6a,0x04,0x02,0x02] +# W64: v_add_co_u32 v5, s[0:1], vcc_lo, v2 ; encoding: [0x05,0x00,0x0f,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x32,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f16_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x32,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x32,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x32,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x32,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_add_f16_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x32,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_add_f16_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x32,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x32,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_add_f16_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x32,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_add_f16_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x32,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_add_f16_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x32,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_add_f16_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x32,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_add_f16_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x32,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_add_f16_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x32,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x32,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_add_f16_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x32,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x32,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_add_f16_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x32,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_add_f16_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x32,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_add_f16_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x32,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f16_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x32,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f16_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x32,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_add_f16_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x32,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x32,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_add_f16_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x32,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x32,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_add_f16_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x32,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x32,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f16_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x32,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x32,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_add_f16_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x32,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x32,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_add_f16_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x32,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x32,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f16_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x32,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x32,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f16_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x32,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x03,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x03,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x03,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x03,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x03,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_add_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_add_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x03,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x03,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_add_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x03,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_add_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_add_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x03,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_add_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x03,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_add_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x03,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_add_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x03,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x03,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_add_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x03,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x03,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_add_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x03,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_add_f32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x03,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_add_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x03,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x03,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_add_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_add_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_add_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x03,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_add_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x03,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x03,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_add_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x03,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x03,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_add_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x03,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x03,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x03,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x03,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_add_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x03,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_add_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x03,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x03,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x03,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x03,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x03,0xd5,0x01,0x05,0x02,0x02] + +0xfe,0x00,0x64,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f64 v[254:255], v[1:2], v[2:3] ; encoding: [0xfe,0x00,0x64,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x64,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], -1, v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], -4.0, v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_add_f64 v[5:6], -v[1:2], -v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_add_f64 v[5:6], -v[1:2], v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x64,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], 0, v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], 0.5, v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], exec, v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd5,0x66,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], s[102:103], v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x66,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd5,0x02,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], s[2:3], v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x02,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd5,0x04,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], s[4:5], v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x04,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd5,0x76,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], ttmp[10:11], v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x76,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], -1 ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x64,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], -4.0 ; encoding: [0x05,0x00,0x64,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_add_f64 v[5:6], v[1:2], -v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x64,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], 0 ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x64,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], 0.5 ; encoding: [0x05,0x00,0x64,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x64,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], exec ; encoding: [0x05,0x00,0x64,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x64,0xd5,0x01,0xcd,0x00,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], s[102:103] ; encoding: [0x05,0x00,0x64,0xd5,0x01,0xcd,0x00,0x02] + +0x05,0x00,0x64,0xd5,0x01,0x09,0x00,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], s[4:5] ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x09,0x00,0x02] + +0x05,0x00,0x64,0xd5,0x01,0x0d,0x00,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], s[6:7] ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x0d,0x00,0x02] + +0x05,0x00,0x64,0xd5,0x01,0xed,0x00,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], ttmp[10:11] ; encoding: [0x05,0x00,0x64,0xd5,0x01,0xed,0x00,0x02] + +0x05,0x00,0x64,0xd5,0x01,0xfd,0x03,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], v[254:255] ; encoding: [0x05,0x00,0x64,0xd5,0x01,0xfd,0x03,0x02] + +0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x64,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], v[2:3] clamp ; encoding: [0x05,0x80,0x64,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_add_f64 v[5:6], v[1:2], v[2:3] div:2 ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_add_f64 v[5:6], v[1:2], v[2:3] mul:2 ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_add_f64 v[5:6], v[1:2], v[2:3] mul:4 ; encoding: [0x05,0x00,0x64,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x64,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], vcc ; encoding: [0x05,0x00,0x64,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x64,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f64 v[5:6], v[1:2], |v[2:3]| ; encoding: [0x05,0x02,0x64,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x64,0xd5,0xfe,0x05,0x02,0x00 +# GFX10: v_add_f64 v[5:6], v[254:255], v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0xfe,0x05,0x02,0x02] + +0x05,0x00,0x64,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_add_f64 v[5:6], vcc, v[2:3] ; encoding: [0x05,0x00,0x64,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x64,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f64 v[5:6], |v[1:2]|, v[2:3] ; encoding: [0x05,0x01,0x64,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x64,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_f64 v[5:6], |v[1:2]|, |v[2:3]| ; encoding: [0x05,0x03,0x64,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x47,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_add_lshl_u32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x47,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_add_lshl_u32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x47,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_add_lshl_u32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x47,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_add_lshl_u32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x47,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_add_lshl_u32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x47,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_add_lshl_u32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x47,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_add_lshl_u32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x47,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_add_lshl_u32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x47,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_add_lshl_u32 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x47,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_add_lshl_u32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x47,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_add_lshl_u32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x47,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_add_lshl_u32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x47,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_add_lshl_u32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x47,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_add_lshl_u32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x47,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_add_lshl_u32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x47,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_add_lshl_u32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x47,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_add_lshl_u32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x47,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_add_lshl_u32 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x47,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_add_lshl_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x47,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_add_lshl_u32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x47,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_add_lshl_u32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x47,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_add_lshl_u32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x47,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x47,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_add_lshl_u32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x47,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_add_lshl_u32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x47,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_add_lshl_u32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x47,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_add_lshl_u32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x47,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x0d,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_i16 v255, v1, v2 ; encoding: [0xff,0x00,0x0d,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, -1, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, 0, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, m0, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, s1, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, s101, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_add_nc_i16 v5, v1, -1 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_add_nc_i16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_add_nc_i16 v5, v1, 0 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_add_nc_i16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_add_nc_i16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_add_nc_i16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_add_nc_i16 v5, v1, m0 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_add_nc_i16 v5, v1, s101 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_add_nc_i16 v5, v1, s2 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_i16 v5, v1, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_add_nc_i16 v5, v1, v255 ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_add_nc_i16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0d,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_add_nc_i16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x0d,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x0d,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_add_nc_i16 v5, v255, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0d,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_add_nc_i16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x0d,0xd7,0x6a,0x04,0x02,0x02] + +0x01,0x80,0x7f,0xd7,0x02,0x07,0x02,0x00 +# GFX10: v_add_nc_i32 v1, v2, v3 clamp ; encoding: [0x01,0x80,0x7f,0xd7,0x02,0x07,0x02,0x02] + +0xff,0x00,0x7f,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_i32 v255, v1, v2 ; encoding: [0xff,0x00,0x7f,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, -1, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, 0, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, m0, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, s1, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, s103, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_add_nc_i32 v5, v1, -1 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_add_nc_i32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_add_nc_i32 v5, v1, 0 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_add_nc_i32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_add_nc_i32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_add_nc_i32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_add_nc_i32 v5, v1, m0 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_add_nc_i32 v5, v1, s103 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_add_nc_i32 v5, v1, s2 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_add_nc_i32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_i32 v5, v1, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_add_nc_i32 v5, v1, v255 ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_add_nc_i32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x7f,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_add_nc_i32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x7f,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x7f,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_add_nc_i32 v5, v255, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x7f,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_add_nc_i32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x7f,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x03,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_u16 v255, v1, v2 ; encoding: [0xff,0x00,0x03,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x03,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, -1, v2 ; encoding: [0x05,0x00,0x03,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x03,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, 0, v2 ; encoding: [0x05,0x00,0x03,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x03,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x03,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x03,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, m0, v2 ; encoding: [0x05,0x00,0x03,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, s1, v2 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, s101, v2 ; encoding: [0x05,0x00,0x03,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_add_nc_u16 v5, v1, -1 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x03,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_add_nc_u16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x03,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_add_nc_u16 v5, v1, 0 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x03,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_add_nc_u16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x03,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_add_nc_u16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x03,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_add_nc_u16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x03,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_add_nc_u16 v5, v1, m0 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x03,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_add_nc_u16 v5, v1, s101 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x03,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_add_nc_u16 v5, v1, s2 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x03,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_u16 v5, v1, v2 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x40,0x03,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_u16 v5, v1, v2 op_sel:[0,0,1] ; encoding: [0x05,0x40,0x03,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x10,0x03,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_u16 v5, v1, v2 op_sel:[0,1,0] ; encoding: [0x05,0x10,0x03,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x08,0x03,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_u16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x03,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x03,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_u16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x03,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_add_nc_u16 v5, v1, v255 ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x03,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_add_nc_u16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x03,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_add_nc_u16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x03,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_add_nc_u16 v5, v255, v2 ; encoding: [0x05,0x00,0x03,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x03,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x03,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x03,0xd7,0x6a,0x04,0x02,0x02] + +0x05,0x80,0x03,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_add_nc_u16 v5, vcc_lo, v2 clamp ; encoding: [0x05,0x80,0x03,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x25,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x25,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x25,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x25,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x25,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x25,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x25,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x25,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x25,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x25,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x25,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x25,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x25,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x25,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x25,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x25,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x25,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x25,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x25,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x25,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x25,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x25,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x25,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x25,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x25,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x25,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_add_nc_u32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x25,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x25,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x25,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x25,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x25,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_add_nc_u32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x25,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x4e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbit_b32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x4e,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_alignbit_b32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_alignbit_b32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_alignbit_b32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_alignbit_b32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_alignbit_b32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_alignbit_b32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_alignbit_b32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_alignbit_b32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_alignbit_b32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_alignbit_b32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_alignbit_b32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_alignbit_b32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_alignbit_b32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x4e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x4e,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x18,0x4e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, v1, v2, v3 op_sel:[1,1,0,0] ; encoding: [0x05,0x18,0x4e,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x38,0x4e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, v1, v2, v3 op_sel:[1,1,1,0] ; encoding: [0x05,0x38,0x4e,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x4e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x4e,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_alignbit_b32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x4e,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_alignbit_b32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x4e,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_alignbit_b32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_alignbit_b32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x4e,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_alignbit_b32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x4e,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x4e,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_alignbit_b32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x4e,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x4f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbyte_b32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x4f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_alignbyte_b32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_alignbyte_b32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_alignbyte_b32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_alignbyte_b32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_alignbyte_b32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_alignbyte_b32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_alignbyte_b32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_alignbyte_b32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_alignbyte_b32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_alignbyte_b32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_alignbyte_b32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_alignbyte_b32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_alignbyte_b32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x4f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x4f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x18,0x4f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, v1, v2, v3 op_sel:[1,1,0,0] ; encoding: [0x05,0x18,0x4f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x38,0x4f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, v1, v2, v3 op_sel:[1,1,1,0] ; encoding: [0x05,0x38,0x4f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x4f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x4f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_alignbyte_b32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x4f,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_alignbyte_b32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x4f,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_alignbyte_b32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_alignbyte_b32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x4f,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_alignbyte_b32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x4f,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x4f,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_alignbyte_b32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x4f,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x1b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_and_b32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x1b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_and_b32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_and_b32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_and_b32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_and_b32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_and_b32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_and_b32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_and_b32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_and_b32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_and_b32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_and_b32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_and_b32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_and_b32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x1b,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_and_b32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x1b,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x1b,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_and_b32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x1b,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_and_b32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x1b,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x71,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_and_or_b32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x71,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_and_or_b32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x71,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_and_or_b32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x71,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_and_or_b32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x71,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_and_or_b32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x71,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_and_or_b32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x71,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_and_or_b32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x71,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_and_or_b32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x71,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_and_or_b32 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x71,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_and_or_b32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x71,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_and_or_b32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x71,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_and_or_b32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x71,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_and_or_b32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x71,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_and_or_b32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x71,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_and_or_b32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x71,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_and_or_b32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x71,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_and_or_b32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x71,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_and_or_b32 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x71,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_and_or_b32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x71,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_and_or_b32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x71,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_and_or_b32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_and_or_b32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x71,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_and_or_b32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x71,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x71,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_and_or_b32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x71,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_and_or_b32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x71,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_and_or_b32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x71,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_and_or_b32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_and_or_b32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x71,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x08,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_ashrrev_i16 v255, v1, v2 ; encoding: [0xff,0x00,0x08,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x08,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, -1, v2 ; encoding: [0x05,0x00,0x08,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x08,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, 0, v2 ; encoding: [0x05,0x00,0x08,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x08,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x08,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x08,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, m0, v2 ; encoding: [0x05,0x00,0x08,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, s1, v2 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, s101, v2 ; encoding: [0x05,0x00,0x08,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_ashrrev_i16 v5, v1, -1 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x08,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_ashrrev_i16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x08,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_ashrrev_i16 v5, v1, 0 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x08,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_ashrrev_i16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x08,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_ashrrev_i16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x08,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x08,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_ashrrev_i16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x08,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x08,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_ashrrev_i16 v5, v1, m0 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x08,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_ashrrev_i16 v5, v1, s101 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x08,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_ashrrev_i16 v5, v1, s2 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x08,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, v1, v2 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x08,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x08,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_ashrrev_i16 v5, v1, v255 ; encoding: [0x05,0x00,0x08,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x08,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_ashrrev_i16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x08,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x08,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_ashrrev_i16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x08,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x08,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, v255, v2 ; encoding: [0x05,0x00,0x08,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x08,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_ashrrev_i16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x08,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x18,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x18,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x18,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x18,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x18,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x18,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x18,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x18,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x18,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x18,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x18,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x18,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x18,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x18,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x18,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x18,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x18,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x18,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x18,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x18,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x18,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x18,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x18,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x18,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x18,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x18,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x18,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x18,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x18,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x18,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x18,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_ashrrev_i32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x18,0xd5,0x6a,0x04,0x02,0x02] + +0xfe,0x00,0x01,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_ashrrev_i64 v[254:255], v1, v[2:3] ; encoding: [0xfe,0x00,0x01,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x01,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], -1, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], -4.0, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], 0, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], 0.5, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], exec_hi, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], exec_lo, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], m0, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], s1, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], s101, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, -1 ; encoding: [0x05,0x00,0x01,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x01,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, -4.0 ; encoding: [0x05,0x00,0x01,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x01,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, 0 ; encoding: [0x05,0x00,0x01,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x01,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, 0.5 ; encoding: [0x05,0x00,0x01,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x01,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, exec ; encoding: [0x05,0x00,0x01,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x01,0xd7,0x01,0xc9,0x00,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, s[100:101] ; encoding: [0x05,0x00,0x01,0xd7,0x01,0xc9,0x00,0x02] + +0x05,0x00,0x01,0xd7,0x01,0x09,0x00,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, s[4:5] ; encoding: [0x05,0x00,0x01,0xd7,0x01,0x09,0x00,0x02] + +0x05,0x00,0x01,0xd7,0x01,0x0d,0x00,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, s[6:7] ; encoding: [0x05,0x00,0x01,0xd7,0x01,0x0d,0x00,0x02] + +0x05,0x00,0x01,0xd7,0x01,0xfd,0x03,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, v[254:255] ; encoding: [0x05,0x00,0x01,0xd7,0x01,0xfd,0x03,0x02] + +0x05,0x00,0x01,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v1, vcc ; encoding: [0x05,0x00,0x01,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x01,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], v255, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], vcc_hi, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x01,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_ashrrev_i64 v[5:6], vcc_lo, v[2:3] ; encoding: [0x05,0x00,0x01,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x64,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v255, v1, v2 ; encoding: [0xff,0x00,0x64,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x64,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, -1, v2 ; encoding: [0x05,0x00,0x64,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x64,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, 0, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x64,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, m0, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, s1, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, s103, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, -1 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x64,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, 0 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, m0 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, s103 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x64,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, s2 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x64,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, v255 ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x64,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_bcnt_u32_b32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x64,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x64,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, v255, v2 ; encoding: [0x05,0x00,0x64,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x64,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_bcnt_u32_b32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x64,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x49,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_bfe_i32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x49,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_bfe_i32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x49,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_bfe_i32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x49,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_bfe_i32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x49,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_bfe_i32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x49,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_bfe_i32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x49,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_bfe_i32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x49,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_bfe_i32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x49,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_bfe_i32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x49,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_bfe_i32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x49,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_bfe_i32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x49,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_bfe_i32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x49,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_bfe_i32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x49,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_bfe_i32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x49,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_bfe_i32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x49,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_bfe_i32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x49,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_bfe_i32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x49,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_bfe_i32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x49,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_bfe_i32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x49,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_bfe_i32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x49,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_bfe_i32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x49,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_bfe_i32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x49,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_bfe_i32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_bfe_i32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x49,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_bfe_i32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x49,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x49,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_bfe_i32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x49,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_bfe_i32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x49,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_bfe_i32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x49,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_bfe_i32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x49,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_bfe_i32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x49,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x48,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_bfe_u32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x48,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_bfe_u32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x48,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_bfe_u32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x48,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_bfe_u32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x48,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_bfe_u32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x48,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_bfe_u32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x48,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_bfe_u32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x48,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_bfe_u32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x48,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_bfe_u32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x48,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_bfe_u32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x48,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_bfe_u32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x48,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_bfe_u32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x48,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_bfe_u32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x48,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_bfe_u32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x48,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_bfe_u32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x48,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_bfe_u32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x48,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_bfe_u32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x48,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_bfe_u32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x48,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_bfe_u32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x48,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_bfe_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x48,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_bfe_u32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x48,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_bfe_u32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x48,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_bfe_u32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_bfe_u32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x48,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_bfe_u32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x48,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x48,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_bfe_u32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x48,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_bfe_u32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x48,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_bfe_u32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x48,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_bfe_u32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x48,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_bfe_u32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x48,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x4a,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_bfi_b32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x4a,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_bfi_b32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_bfi_b32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_bfi_b32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_bfi_b32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_bfi_b32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_bfi_b32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_bfi_b32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_bfi_b32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_bfi_b32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_bfi_b32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_bfi_b32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_bfi_b32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_bfi_b32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_bfi_b32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_bfi_b32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_bfi_b32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_bfi_b32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_bfi_b32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_bfi_b32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_bfi_b32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_bfi_b32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_bfi_b32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_bfi_b32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x4a,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_bfi_b32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x4a,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_bfi_b32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_bfi_b32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x4a,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_bfi_b32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x4a,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_bfi_b32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x4a,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_bfi_b32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x4a,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x63,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_bfm_b32 v255, v1, v2 ; encoding: [0xff,0x00,0x63,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x63,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, -1, v2 ; encoding: [0x05,0x00,0x63,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x63,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, 0, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x63,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, m0, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, s1, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, s103, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_bfm_b32 v5, v1, -1 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_bfm_b32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x63,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_bfm_b32 v5, v1, 0 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_bfm_b32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_bfm_b32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_bfm_b32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_bfm_b32 v5, v1, m0 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_bfm_b32 v5, v1, s103 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x63,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_bfm_b32 v5, v1, s2 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_bfm_b32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x63,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_bfm_b32 v5, v1, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_bfm_b32 v5, v1, v255 ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_bfm_b32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x63,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_bfm_b32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x63,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x63,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_bfm_b32 v5, v255, v2 ; encoding: [0x05,0x00,0x63,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x63,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_bfm_b32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x63,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0xb8,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v255, v1 ; encoding: [0xff,0x00,0xb8,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, -1 ; encoding: [0x05,0x00,0xb8,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xb8,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, 0 ; encoding: [0x05,0x00,0xb8,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xb8,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xb8,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xb8,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, m0 ; encoding: [0x05,0x00,0xb8,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, s1 ; encoding: [0x05,0x00,0xb8,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, s101 ; encoding: [0x05,0x00,0xb8,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, v1 ; encoding: [0x05,0x00,0xb8,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, v255 ; encoding: [0x05,0x00,0xb8,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xb8,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xb8,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_bfrev_b32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xb8,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0xdc,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xdc,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xdc,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xdc,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_ceil_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xdc,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xdc,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xdc,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xdc,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xdc,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xdc,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xdc,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xdc,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xdc,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xdc,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xdc,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xdc,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xdc,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xdc,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xdc,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xdc,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xdc,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xdc,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xa2,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xa2,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xa2,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xa2,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_ceil_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xa2,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xa2,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xa2,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xa2,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xa2,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xa2,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xa2,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xa2,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xa2,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xa2,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xa2,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xa2,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_ceil_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xa2,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xa2,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_ceil_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xa2,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xa2,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_ceil_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xa2,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xa2,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xa2,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xa2,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xa2,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_ceil_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xa2,0xd5,0x6a,0x00,0x01,0x02] + +0xfe,0x00,0x98,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0x98,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x98,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], -1 ; encoding: [0x05,0x00,0x98,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x98,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0x98,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x98,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_ceil_f64_e64 v[5:6], -v[1:2] ; encoding: [0x05,0x00,0x98,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x98,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], 0 ; encoding: [0x05,0x00,0x98,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x98,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0x98,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x98,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], exec ; encoding: [0x05,0x00,0x98,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x98,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0x98,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0x98,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0x98,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0x98,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], s[4:5] ; encoding: [0x05,0x00,0x98,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0x98,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], v[1:2] ; encoding: [0x05,0x00,0x98,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x98,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0x98,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x98,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_ceil_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0x98,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x98,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_ceil_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0x98,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x98,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_ceil_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0x98,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x98,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0x98,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0x98,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], vcc ; encoding: [0x05,0x00,0x98,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x98,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ceil_f64_e64 v[5:6], |v[1:2]| ; encoding: [0x05,0x01,0x98,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x01,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_cndmask_b32_e64 v255, v1, v2, s6 ; encoding: [0xff,0x00,0x01,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_cndmask_b32_e64 v255, v1, v2, s[6:7] ; encoding: [0xff,0x00,0x01,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x00,0x01,0xd5,0xc1,0x04,0x1a,0x00 +# W32: v_cndmask_b32_e64 v5, -1, v2, s6 ; encoding: [0x05,0x00,0x01,0xd5,0xc1,0x04,0x1a,0x00] +# W64: v_cndmask_b32_e64 v5, -1, v2, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0xc1,0x04,0x1a,0x00] + +0x05,0x00,0x01,0xd5,0xf7,0x04,0x1a,0x00 +# W32: v_cndmask_b32_e64 v5, -4.0, v2, s6 ; encoding: [0x05,0x00,0x01,0xd5,0xf7,0x04,0x1a,0x00] +# W64: v_cndmask_b32_e64 v5, -4.0, v2, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0xf7,0x04,0x1a,0x00] + +0x05,0x02,0x01,0xd5,0x01,0x05,0xaa,0x21 +# W32: v_cndmask_b32_e64 v5, -v1, |v2|, vcc_lo ; encoding: [0x05,0x02,0x01,0xd5,0x01,0x05,0xaa,0x21] +# W64: v_cndmask_b32_e64 v5, -v1, |v2|, vcc ; encoding: [0x05,0x02,0x01,0xd5,0x01,0x05,0xaa,0x21] + +0x05,0x03,0x01,0xd5,0x01,0x05,0xaa,0x61 +# W32: v_cndmask_b32_e64 v5, -|v1|, -|v2|, vcc_lo ; encoding: [0x05,0x03,0x01,0xd5,0x01,0x05,0xaa,0x61] +# W64: v_cndmask_b32_e64 v5, -|v1|, -|v2|, vcc ; encoding: [0x05,0x03,0x01,0xd5,0x01,0x05,0xaa,0x61] + +0x05,0x00,0x01,0xd5,0x80,0x04,0x1a,0x00 +# W32: v_cndmask_b32_e64 v5, 0, v2, s6 ; encoding: [0x05,0x00,0x01,0xd5,0x80,0x04,0x1a,0x00] +# W64: v_cndmask_b32_e64 v5, 0, v2, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x80,0x04,0x1a,0x00] + +0x05,0x00,0x01,0xd5,0xf0,0x04,0x1a,0x00 +# W32: v_cndmask_b32_e64 v5, 0.5, v2, s6 ; encoding: [0x05,0x00,0x01,0xd5,0xf0,0x04,0x1a,0x00] +# W64: v_cndmask_b32_e64 v5, 0.5, v2, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0xf0,0x04,0x1a,0x00] + +0x05,0x00,0x01,0xd5,0x01,0x83,0x19,0x00 +# W32: v_cndmask_b32_e64 v5, v1, -1, s6 ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x83,0x19,0x00] +# W64: v_cndmask_b32_e64 v5, v1, -1, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x83,0x19,0x00] + +0x05,0x00,0x01,0xd5,0x01,0xef,0x19,0x00 +# W32: v_cndmask_b32_e64 v5, v1, -4.0, s6 ; encoding: [0x05,0x00,0x01,0xd5,0x01,0xef,0x19,0x00] +# W64: v_cndmask_b32_e64 v5, v1, -4.0, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x01,0xef,0x19,0x00] + +0x05,0x00,0x01,0xd5,0x01,0x01,0x19,0x00 +# W32: v_cndmask_b32_e64 v5, v1, 0, s6 ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x01,0x19,0x00] +# W64: v_cndmask_b32_e64 v5, v1, 0, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x01,0x19,0x00] + +0x05,0x00,0x01,0xd5,0x01,0xe1,0x19,0x00 +# W32: v_cndmask_b32_e64 v5, v1, 0.5, s6 ; encoding: [0x05,0x00,0x01,0xd5,0x01,0xe1,0x19,0x00] +# W64: v_cndmask_b32_e64 v5, v1, 0.5, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x01,0xe1,0x19,0x00] + +0x05,0x00,0x01,0xd5,0x01,0x05,0x92,0x01 +# W32: v_cndmask_b32_e64 v5, v1, v2, s100 ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x05,0x92,0x01] +# W64: v_cndmask_b32_e64 v5, v1, v2, s[100:101] ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x05,0x92,0x01] + +0x05,0x00,0x01,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_cndmask_b32_e64 v5, v1, v2, s6 ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_cndmask_b32_e64 v5, v1, v2, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x00,0x01,0xd5,0x01,0x05,0x22,0x00 +# W32: v_cndmask_b32_e64 v5, v1, v2, s8 ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x05,0x22,0x00] +# W64: v_cndmask_b32_e64 v5, v1, v2, s[8:9] ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x00,0x01,0xd5,0x01,0x05,0xaa,0x01 +# W32: v_cndmask_b32_e64 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x05,0xaa,0x01] +# W64: v_cndmask_b32_e64 v5, v1, v2, vcc ; encoding: [0x05,0x00,0x01,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x01,0xd5,0x01,0xff,0x1b,0x00 +# W32: v_cndmask_b32_e64 v5, v1, v255, s6 ; encoding: [0x05,0x00,0x01,0xd5,0x01,0xff,0x1b,0x00] +# W64: v_cndmask_b32_e64 v5, v1, v255, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0x01,0xff,0x1b,0x00] + +0x05,0x00,0x01,0xd5,0xff,0x05,0x1a,0x00 +# W32: v_cndmask_b32_e64 v5, v255, v2, s6 ; encoding: [0x05,0x00,0x01,0xd5,0xff,0x05,0x1a,0x00] +# W64: v_cndmask_b32_e64 v5, v255, v2, s[6:7] ; encoding: [0x05,0x00,0x01,0xd5,0xff,0x05,0x1a,0x00] + +0x05,0x01,0x01,0xd5,0x01,0x05,0xaa,0x41 +# W32: v_cndmask_b32_e64 v5, |v1|, -v2, vcc_lo ; encoding: [0x05,0x01,0x01,0xd5,0x01,0x05,0xaa,0x41] +# W64: v_cndmask_b32_e64 v5, |v1|, -v2, vcc ; encoding: [0x05,0x01,0x01,0xd5,0x01,0x05,0xaa,0x41] + +0xff,0x00,0xe1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cos_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xe1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xe1,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xe1,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cos_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xe1,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xe1,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xe1,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xe1,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xe1,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xe1,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xe1,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xe1,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xe1,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xe1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xe1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xe1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xe1,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xe1,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xe1,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xe1,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xe1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cos_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xe1,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xb6,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cos_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xb6,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xb6,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xb6,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cos_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xb6,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xb6,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xb6,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xb6,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xb6,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xb6,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xb6,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xb6,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xb6,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xb6,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xb6,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xb6,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cos_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xb6,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xb6,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cos_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xb6,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xb6,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cos_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xb6,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xb6,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xb6,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xb6,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xb6,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xb6,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xb6,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cos_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xb6,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x44,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubeid_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x44,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_cubeid_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_cubeid_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x44,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_cubeid_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_cubeid_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_cubeid_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x44,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_cubeid_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_cubeid_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_cubeid_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_cubeid_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_cubeid_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_cubeid_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_cubeid_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_cubeid_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_cubeid_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x44,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_cubeid_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_cubeid_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_cubeid_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x44,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_cubeid_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x44,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_cubeid_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x44,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_cubeid_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x44,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_cubeid_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_cubeid_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_cubeid_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x44,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_cubeid_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x44,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_cubeid_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x44,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x44,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_cubeid_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_cubeid_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_cubeid_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x44,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_cubeid_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x44,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_cubeid_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x44,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x44,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x44,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_cubeid_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_cubeid_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x44,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_cubeid_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x44,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x44,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x44,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x44,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x44,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x44,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubeid_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x44,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x47,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubema_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x47,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_cubema_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_cubema_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x47,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_cubema_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_cubema_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_cubema_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x47,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_cubema_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_cubema_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_cubema_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_cubema_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_cubema_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_cubema_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_cubema_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_cubema_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_cubema_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x47,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_cubema_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_cubema_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_cubema_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x47,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_cubema_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x47,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_cubema_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x47,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_cubema_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x47,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_cubema_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_cubema_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_cubema_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x47,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_cubema_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x47,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_cubema_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubema_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x47,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubema_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x47,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_cubema_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_cubema_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_cubema_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x47,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_cubema_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x47,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_cubema_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x47,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x47,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubema_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x47,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_cubema_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_cubema_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x47,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_cubema_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x47,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubema_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x47,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_cubema_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x47,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_cubema_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x47,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x47,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubema_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x47,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x47,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubema_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x47,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x45,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubesc_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x45,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_cubesc_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_cubesc_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x45,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_cubesc_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_cubesc_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_cubesc_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x45,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_cubesc_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_cubesc_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_cubesc_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_cubesc_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_cubesc_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_cubesc_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_cubesc_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_cubesc_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_cubesc_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x45,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_cubesc_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_cubesc_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_cubesc_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x45,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_cubesc_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x45,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_cubesc_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x45,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_cubesc_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x45,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_cubesc_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_cubesc_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_cubesc_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x45,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_cubesc_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x45,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_cubesc_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x45,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x45,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_cubesc_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_cubesc_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_cubesc_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x45,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_cubesc_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x45,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_cubesc_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x45,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x45,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x45,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_cubesc_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_cubesc_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x45,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_cubesc_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x45,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x45,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x45,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x45,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x45,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x45,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubesc_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x45,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x46,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubetc_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x46,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_cubetc_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_cubetc_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x46,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_cubetc_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_cubetc_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_cubetc_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x46,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_cubetc_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_cubetc_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_cubetc_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_cubetc_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_cubetc_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_cubetc_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_cubetc_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_cubetc_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_cubetc_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x46,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_cubetc_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_cubetc_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_cubetc_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x46,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_cubetc_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x46,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_cubetc_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x46,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_cubetc_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x46,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_cubetc_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_cubetc_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_cubetc_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x46,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_cubetc_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x46,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_cubetc_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x46,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x46,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_cubetc_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_cubetc_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_cubetc_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x46,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_cubetc_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x46,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_cubetc_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x46,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x46,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x46,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_cubetc_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_cubetc_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x46,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_cubetc_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x46,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x46,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x46,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x46,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x46,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x46,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cubetc_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x46,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x8a,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v255, v1 ; encoding: [0xff,0x00,0x8a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, -1 ; encoding: [0x05,0x00,0x8a,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0x8a,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_f16_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0x8a,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x8a,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, 0 ; encoding: [0x05,0x00,0x8a,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0x8a,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0x8a,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0x8a,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, m0 ; encoding: [0x05,0x00,0x8a,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, s1 ; encoding: [0x05,0x00,0x8a,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, s101 ; encoding: [0x05,0x00,0x8a,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, v1 ; encoding: [0x05,0x00,0x8a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x8a,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x8a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f16_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0x8a,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x8a,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f16_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0x8a,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x8a,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f16_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0x8a,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x8a,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, v255 ; encoding: [0x05,0x00,0x8a,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x8a,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x8a,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x8a,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x8a,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0x8a,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xd1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v255, v1 ; encoding: [0xff,0x00,0xd1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, -1 ; encoding: [0x05,0x00,0xd1,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd1,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, 0 ; encoding: [0x05,0x00,0xd1,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd1,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd1,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd1,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, m0 ; encoding: [0x05,0x00,0xd1,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, s1 ; encoding: [0x05,0x00,0xd1,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, s101 ; encoding: [0x05,0x00,0xd1,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, v1 ; encoding: [0x05,0x00,0xd1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, v255 ; encoding: [0x05,0x00,0xd1,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd1,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd1,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f16_i16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd1,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0xd0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v255, v1 ; encoding: [0xff,0x00,0xd0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, -1 ; encoding: [0x05,0x00,0xd0,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd0,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, 0 ; encoding: [0x05,0x00,0xd0,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd0,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd0,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd0,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, m0 ; encoding: [0x05,0x00,0xd0,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, s1 ; encoding: [0x05,0x00,0xd0,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, s101 ; encoding: [0x05,0x00,0xd0,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, v1 ; encoding: [0x05,0x00,0xd0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, v255 ; encoding: [0x05,0x00,0xd0,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd0,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd0,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f16_u16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd0,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0x8b,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v255, v1 ; encoding: [0xff,0x00,0x8b,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, -1 ; encoding: [0x05,0x00,0x8b,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0x8b,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_f32_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0x8b,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x8b,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, 0 ; encoding: [0x05,0x00,0x8b,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0x8b,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0x8b,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0x8b,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, m0 ; encoding: [0x05,0x00,0x8b,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, s1 ; encoding: [0x05,0x00,0x8b,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, s101 ; encoding: [0x05,0x00,0x8b,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, v1 ; encoding: [0x05,0x00,0x8b,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x8b,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x8b,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f32_f16_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0x8b,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x8b,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f32_f16_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0x8b,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x8b,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f32_f16_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0x8b,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x8b,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, v255 ; encoding: [0x05,0x00,0x8b,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x8b,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x8b,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x8b,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x8b,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0x8b,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x8f,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v255, v[1:2] ; encoding: [0xff,0x00,0x8f,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, -1 ; encoding: [0x05,0x00,0x8f,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, -4.0 ; encoding: [0x05,0x00,0x8f,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_f32_f64_e64 v5, -v[1:2] ; encoding: [0x05,0x00,0x8f,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x8f,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, 0 ; encoding: [0x05,0x00,0x8f,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, 0.5 ; encoding: [0x05,0x00,0x8f,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, exec ; encoding: [0x05,0x00,0x8f,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, s[100:101] ; encoding: [0x05,0x00,0x8f,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, s[2:3] ; encoding: [0x05,0x00,0x8f,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, s[4:5] ; encoding: [0x05,0x00,0x8f,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, v[1:2] ; encoding: [0x05,0x00,0x8f,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x8f,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, v[1:2] clamp ; encoding: [0x05,0x80,0x8f,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f32_f64_e64 v5, v[1:2] div:2 ; encoding: [0x05,0x00,0x8f,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x8f,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f32_f64_e64 v5, v[1:2] mul:2 ; encoding: [0x05,0x00,0x8f,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x8f,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f32_f64_e64 v5, v[1:2] mul:4 ; encoding: [0x05,0x00,0x8f,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x8f,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, v[254:255] ; encoding: [0x05,0x00,0x8f,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0x8f,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, vcc ; encoding: [0x05,0x00,0x8f,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x8f,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_f64_e64 v5, |v[1:2]| ; encoding: [0x05,0x01,0x8f,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x85,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v255, v1 ; encoding: [0xff,0x00,0x85,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x85,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, -1 ; encoding: [0x05,0x00,0x85,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, -4.0 ; encoding: [0x05,0x00,0x85,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, 0 ; encoding: [0x05,0x00,0x85,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, 0.5 ; encoding: [0x05,0x00,0x85,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, exec_hi ; encoding: [0x05,0x00,0x85,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, exec_lo ; encoding: [0x05,0x00,0x85,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, m0 ; encoding: [0x05,0x00,0x85,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, s1 ; encoding: [0x05,0x00,0x85,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, s101 ; encoding: [0x05,0x00,0x85,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, v1 ; encoding: [0x05,0x00,0x85,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x85,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x85,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f32_i32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0x85,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x85,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f32_i32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0x85,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x85,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f32_i32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0x85,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x85,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, v255 ; encoding: [0x05,0x00,0x85,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x85,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x85,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f32_i32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x85,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0x86,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v255, v1 ; encoding: [0xff,0x00,0x86,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x86,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, -1 ; encoding: [0x05,0x00,0x86,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, -4.0 ; encoding: [0x05,0x00,0x86,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, 0 ; encoding: [0x05,0x00,0x86,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, 0.5 ; encoding: [0x05,0x00,0x86,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, exec_hi ; encoding: [0x05,0x00,0x86,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, exec_lo ; encoding: [0x05,0x00,0x86,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, m0 ; encoding: [0x05,0x00,0x86,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, s1 ; encoding: [0x05,0x00,0x86,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, s101 ; encoding: [0x05,0x00,0x86,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, v1 ; encoding: [0x05,0x00,0x86,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x86,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x86,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f32_u32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0x86,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x86,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f32_u32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0x86,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x86,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f32_u32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0x86,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x86,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, v255 ; encoding: [0x05,0x00,0x86,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x86,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x86,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f32_u32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x86,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0x91,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v255, v1 ; encoding: [0xff,0x00,0x91,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x91,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, -1 ; encoding: [0x05,0x00,0x91,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, -4.0 ; encoding: [0x05,0x00,0x91,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, 0 ; encoding: [0x05,0x00,0x91,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, 0.5 ; encoding: [0x05,0x00,0x91,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, exec_hi ; encoding: [0x05,0x00,0x91,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, exec_lo ; encoding: [0x05,0x00,0x91,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, m0 ; encoding: [0x05,0x00,0x91,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, s1 ; encoding: [0x05,0x00,0x91,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, s101 ; encoding: [0x05,0x00,0x91,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, v1 ; encoding: [0x05,0x00,0x91,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x91,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x91,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f32_ubyte0_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0x91,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x91,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f32_ubyte0_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0x91,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x91,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f32_ubyte0_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0x91,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x91,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, v255 ; encoding: [0x05,0x00,0x91,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x91,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x91,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte0_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x91,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0x92,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v255, v1 ; encoding: [0xff,0x00,0x92,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x92,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, -1 ; encoding: [0x05,0x00,0x92,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, -4.0 ; encoding: [0x05,0x00,0x92,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, 0 ; encoding: [0x05,0x00,0x92,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, 0.5 ; encoding: [0x05,0x00,0x92,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, exec_hi ; encoding: [0x05,0x00,0x92,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, exec_lo ; encoding: [0x05,0x00,0x92,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, m0 ; encoding: [0x05,0x00,0x92,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, s1 ; encoding: [0x05,0x00,0x92,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, s101 ; encoding: [0x05,0x00,0x92,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, v1 ; encoding: [0x05,0x00,0x92,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x92,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x92,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f32_ubyte1_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0x92,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x92,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f32_ubyte1_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0x92,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x92,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f32_ubyte1_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0x92,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x92,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, v255 ; encoding: [0x05,0x00,0x92,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x92,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x92,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte1_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x92,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0x93,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v255, v1 ; encoding: [0xff,0x00,0x93,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x93,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, -1 ; encoding: [0x05,0x00,0x93,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, -4.0 ; encoding: [0x05,0x00,0x93,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, 0 ; encoding: [0x05,0x00,0x93,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, 0.5 ; encoding: [0x05,0x00,0x93,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, exec_hi ; encoding: [0x05,0x00,0x93,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, exec_lo ; encoding: [0x05,0x00,0x93,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, m0 ; encoding: [0x05,0x00,0x93,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, s1 ; encoding: [0x05,0x00,0x93,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, s101 ; encoding: [0x05,0x00,0x93,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, v1 ; encoding: [0x05,0x00,0x93,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x93,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x93,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f32_ubyte2_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0x93,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x93,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f32_ubyte2_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0x93,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x93,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f32_ubyte2_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0x93,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x93,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, v255 ; encoding: [0x05,0x00,0x93,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x93,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x93,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte2_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x93,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0x94,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v255, v1 ; encoding: [0xff,0x00,0x94,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x94,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, -1 ; encoding: [0x05,0x00,0x94,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, -4.0 ; encoding: [0x05,0x00,0x94,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, 0 ; encoding: [0x05,0x00,0x94,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, 0.5 ; encoding: [0x05,0x00,0x94,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, exec_hi ; encoding: [0x05,0x00,0x94,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, exec_lo ; encoding: [0x05,0x00,0x94,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, m0 ; encoding: [0x05,0x00,0x94,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, s1 ; encoding: [0x05,0x00,0x94,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, s101 ; encoding: [0x05,0x00,0x94,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, v1 ; encoding: [0x05,0x00,0x94,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x94,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x94,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f32_ubyte3_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0x94,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x94,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f32_ubyte3_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0x94,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x94,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f32_ubyte3_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0x94,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x94,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, v255 ; encoding: [0x05,0x00,0x94,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x94,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x94,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f32_ubyte3_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x94,0xd5,0x6a,0x00,0x01,0x02] + +0xfe,0x00,0x90,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[254:255], v1 ; encoding: [0xfe,0x00,0x90,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x90,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], -1 ; encoding: [0x05,0x00,0x90,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0x90,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_f64_f32_e64 v[5:6], -v1 ; encoding: [0x05,0x00,0x90,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x90,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], 0 ; encoding: [0x05,0x00,0x90,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0x90,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], exec_hi ; encoding: [0x05,0x00,0x90,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], exec_lo ; encoding: [0x05,0x00,0x90,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], m0 ; encoding: [0x05,0x00,0x90,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], s1 ; encoding: [0x05,0x00,0x90,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], s101 ; encoding: [0x05,0x00,0x90,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], v1 ; encoding: [0x05,0x00,0x90,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x90,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], v1 clamp ; encoding: [0x05,0x80,0x90,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f64_f32_e64 v[5:6], v1 div:2 ; encoding: [0x05,0x00,0x90,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x90,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f64_f32_e64 v[5:6], v1 mul:2 ; encoding: [0x05,0x00,0x90,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x90,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f64_f32_e64 v[5:6], v1 mul:4 ; encoding: [0x05,0x00,0x90,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x90,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], v255 ; encoding: [0x05,0x00,0x90,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], vcc_hi ; encoding: [0x05,0x00,0x90,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x90,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], vcc_lo ; encoding: [0x05,0x00,0x90,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x90,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_f32_e64 v[5:6], |v1| ; encoding: [0x05,0x01,0x90,0xd5,0x01,0x01,0x01,0x02] + +0xfe,0x00,0x84,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[254:255], v1 ; encoding: [0xfe,0x00,0x84,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x84,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], -1 ; encoding: [0x05,0x00,0x84,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0x84,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], 0 ; encoding: [0x05,0x00,0x84,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0x84,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], exec_hi ; encoding: [0x05,0x00,0x84,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], exec_lo ; encoding: [0x05,0x00,0x84,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], m0 ; encoding: [0x05,0x00,0x84,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], s1 ; encoding: [0x05,0x00,0x84,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], s101 ; encoding: [0x05,0x00,0x84,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], v1 ; encoding: [0x05,0x00,0x84,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x84,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], v1 clamp ; encoding: [0x05,0x80,0x84,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f64_i32_e64 v[5:6], v1 div:2 ; encoding: [0x05,0x00,0x84,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x84,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f64_i32_e64 v[5:6], v1 mul:2 ; encoding: [0x05,0x00,0x84,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x84,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f64_i32_e64 v[5:6], v1 mul:4 ; encoding: [0x05,0x00,0x84,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x84,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], v255 ; encoding: [0x05,0x00,0x84,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], vcc_hi ; encoding: [0x05,0x00,0x84,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x84,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f64_i32_e64 v[5:6], vcc_lo ; encoding: [0x05,0x00,0x84,0xd5,0x6a,0x00,0x01,0x02] + +0xfe,0x00,0x96,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[254:255], v1 ; encoding: [0xfe,0x00,0x96,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x96,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], -1 ; encoding: [0x05,0x00,0x96,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0x96,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], 0 ; encoding: [0x05,0x00,0x96,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0x96,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], exec_hi ; encoding: [0x05,0x00,0x96,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], exec_lo ; encoding: [0x05,0x00,0x96,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], m0 ; encoding: [0x05,0x00,0x96,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], s1 ; encoding: [0x05,0x00,0x96,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], s101 ; encoding: [0x05,0x00,0x96,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], v1 ; encoding: [0x05,0x00,0x96,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x96,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], v1 clamp ; encoding: [0x05,0x80,0x96,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_f64_u32_e64 v[5:6], v1 div:2 ; encoding: [0x05,0x00,0x96,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x96,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_f64_u32_e64 v[5:6], v1 mul:2 ; encoding: [0x05,0x00,0x96,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x96,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_f64_u32_e64 v[5:6], v1 mul:4 ; encoding: [0x05,0x00,0x96,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x96,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], v255 ; encoding: [0x05,0x00,0x96,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], vcc_hi ; encoding: [0x05,0x00,0x96,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x96,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_f64_u32_e64 v[5:6], vcc_lo ; encoding: [0x05,0x00,0x96,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0x8d,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v255, v1 ; encoding: [0xff,0x00,0x8d,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, -1 ; encoding: [0x05,0x00,0x8d,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0x8d,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_flr_i32_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0x8d,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x8d,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, 0 ; encoding: [0x05,0x00,0x8d,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0x8d,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0x8d,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0x8d,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, m0 ; encoding: [0x05,0x00,0x8d,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, s1 ; encoding: [0x05,0x00,0x8d,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, s101 ; encoding: [0x05,0x00,0x8d,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, v1 ; encoding: [0x05,0x00,0x8d,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x8d,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x8d,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, v255 ; encoding: [0x05,0x00,0x8d,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x8d,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x8d,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x8d,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x8d,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_flr_i32_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0x8d,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xd3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xd3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xd3,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd3,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_i16_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xd3,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xd3,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xd3,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd3,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd3,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd3,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xd3,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xd3,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xd3,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xd3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xd3,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd3,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd3,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd3,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xd3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i16_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xd3,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x88,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v255, v1 ; encoding: [0xff,0x00,0x88,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x88,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, -1 ; encoding: [0x05,0x00,0x88,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0x88,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_i32_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0x88,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x88,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, 0 ; encoding: [0x05,0x00,0x88,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0x88,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0x88,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0x88,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, m0 ; encoding: [0x05,0x00,0x88,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, s1 ; encoding: [0x05,0x00,0x88,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, s101 ; encoding: [0x05,0x00,0x88,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, v1 ; encoding: [0x05,0x00,0x88,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x88,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x88,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x88,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, v255 ; encoding: [0x05,0x00,0x88,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x88,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x88,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x88,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x88,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x88,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0x88,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x83,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v255, v[1:2] ; encoding: [0xff,0x00,0x83,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x83,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, -1 ; encoding: [0x05,0x00,0x83,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x83,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, -4.0 ; encoding: [0x05,0x00,0x83,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x83,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_i32_f64_e64 v5, -v[1:2] ; encoding: [0x05,0x00,0x83,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x83,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, 0 ; encoding: [0x05,0x00,0x83,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x83,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, 0.5 ; encoding: [0x05,0x00,0x83,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x83,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, exec ; encoding: [0x05,0x00,0x83,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x83,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, s[100:101] ; encoding: [0x05,0x00,0x83,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0x83,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, s[2:3] ; encoding: [0x05,0x00,0x83,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0x83,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, s[4:5] ; encoding: [0x05,0x00,0x83,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0x83,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, v[1:2] ; encoding: [0x05,0x00,0x83,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x83,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, v[1:2] clamp ; encoding: [0x05,0x80,0x83,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x83,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, v[254:255] ; encoding: [0x05,0x00,0x83,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0x83,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, vcc ; encoding: [0x05,0x00,0x83,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x83,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_i32_f64_e64 v5, |v[1:2]| ; encoding: [0x05,0x01,0x83,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xe3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xe3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xe3,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xe3,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_norm_i16_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xe3,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xe3,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xe3,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xe3,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xe3,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xe3,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xe3,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xe3,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xe3,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xe3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xe3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xe3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xe3,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xe3,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xe3,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xe3,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xe3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_norm_i16_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xe3,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xe4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xe4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xe4,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xe4,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_norm_u16_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xe4,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xe4,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xe4,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xe4,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xe4,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xe4,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xe4,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xe4,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xe4,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xe4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xe4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xe4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xe4,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xe4,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xe4,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xe4,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xe4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_norm_u16_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xe4,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x8e,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v255, v1 ; encoding: [0xff,0x00,0x8e,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, -1 ; encoding: [0x05,0x00,0x8e,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, -4.0 ; encoding: [0x05,0x00,0x8e,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, 0 ; encoding: [0x05,0x00,0x8e,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, 0.5 ; encoding: [0x05,0x00,0x8e,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, exec_hi ; encoding: [0x05,0x00,0x8e,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, exec_lo ; encoding: [0x05,0x00,0x8e,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, m0 ; encoding: [0x05,0x00,0x8e,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, s1 ; encoding: [0x05,0x00,0x8e,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, s101 ; encoding: [0x05,0x00,0x8e,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, v1 ; encoding: [0x05,0x00,0x8e,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x8e,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x8e,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_cvt_off_f32_i4_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0x8e,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x8e,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_cvt_off_f32_i4_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0x8e,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x8e,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_cvt_off_f32_i4_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0x8e,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x8e,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, v255 ; encoding: [0x05,0x00,0x8e,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x8e,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x8e,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_off_f32_i4_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x8e,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0x6b,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v255, v1, v2 ; encoding: [0xff,0x00,0x6b,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, -1, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, 0, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, m0, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, s1, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, s103, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, -1 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, 0 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, m0 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, s103 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, s2 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, v255 ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x6b,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x6b,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x6b,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, v255, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x6b,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_cvt_pk_i16_i32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x6b,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x6a,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v255, v1, v2 ; encoding: [0xff,0x00,0x6a,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, -1, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, 0, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, m0, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, s1, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, s103, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, -1 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, 0 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, m0 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, s103 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, s2 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, v255 ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x6a,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x6a,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x6a,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, v255, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_cvt_pk_u16_u32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x6a,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x5e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x5e,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_cvt_pk_u8_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x5e,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x5e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x5e,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x5e,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x5e,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x5e,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x5e,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x5e,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_cvt_pk_u8_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x5e,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x12,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v255, v1, v2 ; encoding: [0xff,0x00,0x12,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x12,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, -1, v2 ; encoding: [0x05,0x00,0x12,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x12,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x01,0x05,0x02,0x60 +# GFX10: v_cvt_pknorm_i16_f16 v5, -v1, -v2 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0x05,0x02,0x62] + +0x05,0x00,0x12,0xd7,0x01,0x05,0x02,0x20 +# GFX10: v_cvt_pknorm_i16_f16 v5, -v1, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0x05,0x02,0x22] + +0x05,0x00,0x12,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, 0, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x12,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, m0, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, s1, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, s101, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, -1 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x12,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x12,0xd7,0x01,0x05,0x02,0x40 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, -v2 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0x05,0x02,0x42] + +0x05,0x00,0x12,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, 0 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x12,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x12,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x12,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x12,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x12,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x12,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, m0 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x12,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, s101 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x12,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, s2 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x12,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x40,0x12,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, v2 op_sel:[0,0,1] ; encoding: [0x05,0x40,0x12,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x10,0x12,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, v2 op_sel:[0,1,0] ; encoding: [0x05,0x10,0x12,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x08,0x12,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x12,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x12,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x12,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, v255 ; encoding: [0x05,0x00,0x12,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x12,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x12,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x12,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x12,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x12,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v1, |v2| ; encoding: [0x05,0x02,0x12,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x12,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, v255, v2 ; encoding: [0x05,0x00,0x12,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x12,0xd7,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x12,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, |v1|, v2 ; encoding: [0x05,0x01,0x12,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x03,0x12,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f16 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x12,0xd7,0x01,0x05,0x02,0x02] + +0xff,0x00,0x68,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v255, v1, v2 ; encoding: [0xff,0x00,0x68,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x68,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, -1, v2 ; encoding: [0x05,0x00,0x68,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x68,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x01,0x05,0x02,0x60 +# GFX10: v_cvt_pknorm_i16_f32 v5, -v1, -v2 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0x05,0x02,0x62] + +0x05,0x00,0x68,0xd7,0x01,0x05,0x02,0x20 +# GFX10: v_cvt_pknorm_i16_f32 v5, -v1, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0x05,0x02,0x22] + +0x05,0x00,0x68,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, 0, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x68,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, m0, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, s1, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, s103, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, -1 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x68,0xd7,0x01,0x05,0x02,0x40 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, -v2 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0x05,0x02,0x42] + +0x05,0x00,0x68,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, 0 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, m0 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, s103 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x68,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, s2 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x68,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x80,0x68,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x68,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, v255 ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x68,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x68,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x68,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v1, |v2| ; encoding: [0x05,0x02,0x68,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x68,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, v255, v2 ; encoding: [0x05,0x00,0x68,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x68,0xd7,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x68,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, |v1|, v2 ; encoding: [0x05,0x01,0x68,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x03,0x68,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_i16_f32 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x68,0xd7,0x01,0x05,0x02,0x02] + +0xff,0x00,0x13,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v255, v1, v2 ; encoding: [0xff,0x00,0x13,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x13,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, -1, v2 ; encoding: [0x05,0x00,0x13,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x13,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x01,0x05,0x02,0x60 +# GFX10: v_cvt_pknorm_u16_f16 v5, -v1, -v2 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0x05,0x02,0x62] + +0x05,0x00,0x13,0xd7,0x01,0x05,0x02,0x20 +# GFX10: v_cvt_pknorm_u16_f16 v5, -v1, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0x05,0x02,0x22] + +0x05,0x00,0x13,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, 0, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x13,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, m0, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, s1, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, s101, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, -1 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x13,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x13,0xd7,0x01,0x05,0x02,0x40 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, -v2 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0x05,0x02,0x42] + +0x05,0x00,0x13,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, 0 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x13,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x13,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x13,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x13,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x13,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x13,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, m0 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x13,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, s101 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x13,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, s2 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x13,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x40,0x13,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, v2 op_sel:[0,0,1] ; encoding: [0x05,0x40,0x13,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x10,0x13,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, v2 op_sel:[0,1,0] ; encoding: [0x05,0x10,0x13,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x08,0x13,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x13,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x13,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x13,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, v255 ; encoding: [0x05,0x00,0x13,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x13,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x13,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x13,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x13,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x13,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v1, |v2| ; encoding: [0x05,0x02,0x13,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x13,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, v255, v2 ; encoding: [0x05,0x00,0x13,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x13,0xd7,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x13,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, |v1|, v2 ; encoding: [0x05,0x01,0x13,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x03,0x13,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f16 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x13,0xd7,0x01,0x05,0x02,0x02] + +0xff,0x00,0x69,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v255, v1, v2 ; encoding: [0xff,0x00,0x69,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x69,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, -1, v2 ; encoding: [0x05,0x00,0x69,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x69,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x01,0x05,0x02,0x60 +# GFX10: v_cvt_pknorm_u16_f32 v5, -v1, -v2 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0x05,0x02,0x62] + +0x05,0x00,0x69,0xd7,0x01,0x05,0x02,0x20 +# GFX10: v_cvt_pknorm_u16_f32 v5, -v1, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0x05,0x02,0x22] + +0x05,0x00,0x69,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, 0, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x69,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, m0, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, s1, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, s103, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, -1 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x69,0xd7,0x01,0x05,0x02,0x40 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, -v2 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0x05,0x02,0x42] + +0x05,0x00,0x69,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, 0 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, m0 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, s103 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x69,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, s2 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x69,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x80,0x69,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x69,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, v255 ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x69,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x69,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x69,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v1, |v2| ; encoding: [0x05,0x02,0x69,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x69,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, v255, v2 ; encoding: [0x05,0x00,0x69,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x69,0xd7,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x69,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, |v1|, v2 ; encoding: [0x05,0x01,0x69,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x03,0x69,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pknorm_u16_f32 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x69,0xd7,0x01,0x05,0x02,0x02] + +0xff,0x00,0x2f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x2f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x2f,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x67,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, s103, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x67,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x77,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x77,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x2f,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xcf,0x00,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, s103 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xef,0x00,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xef,0x00,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x2f,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x2f,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x2f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x2f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x2f,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x2f,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x2f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x2f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x2f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_cvt_pkrtz_f16_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x2f,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x8c,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v255, v1 ; encoding: [0xff,0x00,0x8c,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, -1 ; encoding: [0x05,0x00,0x8c,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0x8c,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0x8c,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x8c,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, 0 ; encoding: [0x05,0x00,0x8c,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0x8c,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0x8c,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0x8c,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, m0 ; encoding: [0x05,0x00,0x8c,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, s1 ; encoding: [0x05,0x00,0x8c,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, s101 ; encoding: [0x05,0x00,0x8c,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, v1 ; encoding: [0x05,0x00,0x8c,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x8c,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x8c,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, v255 ; encoding: [0x05,0x00,0x8c,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x8c,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x8c,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x8c,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x8c,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_rpi_i32_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0x8c,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xd2,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xd2,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xd2,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd2,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_u16_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xd2,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xd2,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xd2,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd2,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd2,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd2,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xd2,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xd2,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xd2,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xd2,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd2,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd2,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xd2,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd2,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd2,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd2,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xd2,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u16_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xd2,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x87,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v255, v1 ; encoding: [0xff,0x00,0x87,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x87,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, -1 ; encoding: [0x05,0x00,0x87,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0x87,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_u32_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0x87,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x87,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, 0 ; encoding: [0x05,0x00,0x87,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0x87,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0x87,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0x87,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, m0 ; encoding: [0x05,0x00,0x87,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, s1 ; encoding: [0x05,0x00,0x87,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, s101 ; encoding: [0x05,0x00,0x87,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, v1 ; encoding: [0x05,0x00,0x87,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x87,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0x87,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x87,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, v255 ; encoding: [0x05,0x00,0x87,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x87,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x87,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x87,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x87,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x87,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0x87,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x95,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v255, v[1:2] ; encoding: [0xff,0x00,0x95,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x95,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, -1 ; encoding: [0x05,0x00,0x95,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x95,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, -4.0 ; encoding: [0x05,0x00,0x95,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x95,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_cvt_u32_f64_e64 v5, -v[1:2] ; encoding: [0x05,0x00,0x95,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x95,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, 0 ; encoding: [0x05,0x00,0x95,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x95,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, 0.5 ; encoding: [0x05,0x00,0x95,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x95,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, exec ; encoding: [0x05,0x00,0x95,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x95,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, s[100:101] ; encoding: [0x05,0x00,0x95,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0x95,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, s[2:3] ; encoding: [0x05,0x00,0x95,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0x95,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, s[4:5] ; encoding: [0x05,0x00,0x95,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0x95,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, v[1:2] ; encoding: [0x05,0x00,0x95,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x95,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, v[1:2] clamp ; encoding: [0x05,0x80,0x95,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x95,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, v[254:255] ; encoding: [0x05,0x00,0x95,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0x95,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, vcc ; encoding: [0x05,0x00,0x95,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x95,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_cvt_u32_f64_e64 v5, |v[1:2]| ; encoding: [0x05,0x01,0x95,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x5f,0xd7,0x01,0x05,0x0e,0x24 +# GFX10: v_div_fixup_f16 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd7,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x5f,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_div_fixup_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x5f,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x5f,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_div_fixup_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x5f,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x80,0x5f,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x5f,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x5f,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x5f,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x5f,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x5f,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x5f,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x5f,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x01,0x5f,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f16 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x5f,0xd7,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_div_fixup_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_div_fixup_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x5f,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_div_fixup_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_div_fixup_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_div_fixup_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x5f,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_div_fixup_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_div_fixup_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_div_fixup_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_div_fixup_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_div_fixup_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_div_fixup_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_div_fixup_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_div_fixup_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_div_fixup_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_div_fixup_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_div_fixup_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_div_fixup_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_div_fixup_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_div_fixup_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_div_fixup_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_div_fixup_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_div_fixup_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_div_fixup_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_div_fixup_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_div_fixup_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x5f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x5f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_div_fixup_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_div_fixup_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_div_fixup_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_div_fixup_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x5f,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_div_fixup_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x5f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x5f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_div_fixup_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_div_fixup_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x5f,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_div_fixup_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x5f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x5f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x5f,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x5f,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x5f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x5f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x5f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x5f,0xd5,0x01,0x05,0x0e,0x04] + +0xfe,0x00,0x60,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[254:255], v[1:2], v[2:3], v[3:4] ; encoding: [0xfe,0x00,0x60,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], -1, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], -4.0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_div_fixup_f64 v[5:6], -v[1:2], -v[2:3], -v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_div_fixup_f64 v[5:6], -v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x60,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], 0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], 0.5, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], exec, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x66,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], s[102:103], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x66,0x04,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x02,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], s[2:3], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x02,0x04,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x04,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], s[4:5], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x04,0x04,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x76,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], ttmp[10:11], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x76,0x04,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], -1, v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x60,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], -4.0, v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], -v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x60,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], 0, v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x60,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], 0.5, v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x60,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], exec, v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x60,0xd5,0x01,0xcd,0x0c,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], s[102:103], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0xcd,0x0c,0x04] + +0x05,0x00,0x60,0xd5,0x01,0x09,0x0c,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], s[4:5], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x09,0x0c,0x04] + +0x05,0x00,0x60,0xd5,0x01,0x0d,0x0c,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], s[6:7], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x0d,0x0c,0x04] + +0x05,0x00,0x60,0xd5,0x01,0xed,0x0c,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], ttmp[10:11], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0xed,0x0c,0x04] + +0x05,0x00,0x60,0xd5,0x01,0xfd,0x0f,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[254:255], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0xfd,0x0f,0x04] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], -1 ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x60,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], -4.0 ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], -v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], 0 ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x60,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], 0.5 ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x60,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], exec ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x9a,0x01 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], s[102:103] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x9a,0x01] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x1a,0x00 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], s[6:7] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x22,0x00 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], s[8:9] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x00,0x60,0xd5,0x01,0x05,0xda,0x01 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], ttmp[10:11] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0xda,0x01] + +0x05,0x00,0x60,0xd5,0x01,0x05,0xfa,0x07 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[254:255] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0xfa,0x07] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x60,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] clamp ; encoding: [0x05,0x80,0x60,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] div:2 ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:2 ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:4 ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x60,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], vcc ; encoding: [0x05,0x00,0x60,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x60,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], v[2:3], |v[3:4]| ; encoding: [0x05,0x04,0x60,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], vcc, v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x60,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[1:2], |v[2:3]|, v[3:4] ; encoding: [0x05,0x02,0x60,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0xfe,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], v[254:255], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0xfe,0x05,0x0e,0x04] + +0x05,0x00,0x60,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], vcc, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x60,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x60,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], |v[1:2]|, v[2:3], v[3:4] ; encoding: [0x05,0x01,0x60,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x60,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fixup_f64 v[5:6], |v[1:2]|, |v[2:3]|, |v[3:4]| ; encoding: [0x05,0x07,0x60,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6f,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_div_fmas_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_div_fmas_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x6f,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_div_fmas_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x6f,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_div_fmas_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_div_fmas_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x6f,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_div_fmas_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x6f,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_div_fmas_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_div_fmas_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_div_fmas_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_div_fmas_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_div_fmas_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_div_fmas_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_div_fmas_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x6f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x6f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_div_fmas_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_div_fmas_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_div_fmas_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x04,0x6f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x6f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6f,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_div_fmas_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x02,0x6f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x6f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6f,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x01,0x6f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x6f,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x6f,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x6f,0xd5,0x01,0x05,0x0e,0x04] + +0xfe,0x00,0x70,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[254:255], v[1:2], v[2:3], v[3:4] ; encoding: [0xfe,0x00,0x70,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x70,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], -1, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x70,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], -4.0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_div_fmas_f64 v[5:6], -v[1:2], -v[2:3], -v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_div_fmas_f64 v[5:6], -v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x70,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], 0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x70,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], 0.5, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x70,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], -1, v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x70,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], -4.0, v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], -v[2:3], v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x70,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], 0, v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x70,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], 0.5, v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x70,0xd5,0x01,0xfd,0x0f,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[254:255], v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0xfd,0x0f,0x04] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], -1 ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x70,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], -4.0 ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], -v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], 0 ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x70,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], 0.5 ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x70,0xd5,0x01,0x05,0xfa,0x07 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[254:255] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0xfa,0x07] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x70,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] clamp ; encoding: [0x05,0x80,0x70,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] div:2 ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:2 ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:4 ; encoding: [0x05,0x00,0x70,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x04,0x70,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], v[2:3], |v[3:4]| ; encoding: [0x05,0x04,0x70,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x02,0x70,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[1:2], |v[2:3]|, v[3:4] ; encoding: [0x05,0x02,0x70,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x70,0xd5,0xfe,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], v[254:255], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x70,0xd5,0xfe,0x05,0x0e,0x04] + +0x05,0x01,0x70,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], |v[1:2]|, v[2:3], v[3:4] ; encoding: [0x05,0x01,0x70,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x70,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_div_fmas_f64 v[5:6], |v[1:2]|, |v[2:3]|, |v[3:4]| ; encoding: [0x05,0x07,0x70,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x6d,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_div_scale_f32 v255, s0, v1, v2, v3 ; encoding: [0xff,0x00,0x6d,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_div_scale_f32 v255, s[0:1], v1, v2, v3 ; encoding: [0xff,0x00,0x6d,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0xc1,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, -1, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0xc1,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], -1, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0xf7,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, -4.0, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0xf7,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], -4.0, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x80,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, 0, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x80,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], 0, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0xf0,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, 0.5, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0xf0,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], 0.5, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x7f,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x7f,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], exec_hi, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x7e,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x7e,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], exec_lo, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x7c,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, m0, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x7c,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], m0, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, s1, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], s1, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x67,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, s103, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x67,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], s103, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x77,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x77,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], ttmp11, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0x83,0x0d,0x04 +# W32: v_div_scale_f32 v5, s0, v1, -1, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x83,0x0d,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, -1, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0xef,0x0d,0x04 +# W32: v_div_scale_f32 v5, s0, v1, -4.0, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xef,0x0d,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, -4.0, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0x01,0x0d,0x04 +# W32: v_div_scale_f32 v5, s0, v1, 0, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x01,0x0d,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, 0, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0xe1,0x0d,0x04 +# W32: v_div_scale_f32 v5, s0, v1, 0.5, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xe1,0x0d,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, 0.5, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0xff,0x0c,0x04 +# W32: v_div_scale_f32 v5, s0, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xff,0x0c,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, exec_hi, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0xfd,0x0c,0x04 +# W32: v_div_scale_f32 v5, s0, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xfd,0x0c,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, exec_lo, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0xf9,0x0c,0x04 +# W32: v_div_scale_f32 v5, s0, v1, m0, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xf9,0x0c,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, m0, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0xcf,0x0c,0x04 +# W32: v_div_scale_f32 v5, s0, v1, s103, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xcf,0x0c,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, s103, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0x0c,0x04 +# W32: v_div_scale_f32 v5, s0, v1, s2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x0c,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, s2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0xef,0x0c,0x04 +# W32: v_div_scale_f32 v5, s0, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xef,0x0c,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, ttmp11, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0x06,0x03 +# W32: v_div_scale_f32 v5, s0, v1, v2, -1 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x06,0x03] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, -1 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0xde,0x03 +# W32: v_div_scale_f32 v5, s0, v1, v2, -4.0 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xde,0x03] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, -4.0 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0x02,0x02 +# W32: v_div_scale_f32 v5, s0, v1, v2, 0 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x02,0x02] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, 0 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0xc2,0x03 +# W32: v_div_scale_f32 v5, s0, v1, v2, 0.5 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xc2,0x03] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, 0.5 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0xfe,0x01 +# W32: v_div_scale_f32 v5, s0, v1, v2, exec_hi ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xfe,0x01] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, exec_hi ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0xfa,0x01 +# W32: v_div_scale_f32 v5, s0, v1, v2, exec_lo ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xfa,0x01] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, exec_lo ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0xf2,0x01 +# W32: v_div_scale_f32 v5, s0, v1, v2, m0 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xf2,0x01] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, m0 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0x9e,0x01 +# W32: v_div_scale_f32 v5, s0, v1, v2, s103 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x9e,0x01] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, s103 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0x0e,0x00 +# W32: v_div_scale_f32 v5, s0, v1, v2, s3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x0e,0x00] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, s3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0xde,0x01 +# W32: v_div_scale_f32 v5, s0, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xde,0x01] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, ttmp11 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0xfe,0x07 +# W32: v_div_scale_f32 v5, s0, v1, v2, v255 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xfe,0x07] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, v255 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, v1, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0xae,0x01 +# W32: v_div_scale_f32 v5, s0, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xae,0x01] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, vcc_hi ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x6d,0xd5,0x01,0x05,0xaa,0x01 +# W32: v_div_scale_f32 v5, s0, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xaa,0x01] +# W64: v_div_scale_f32 v5, s[0:1], v1, v2, vcc_lo ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x6d,0xd5,0x01,0xff,0x0f,0x04 +# W32: v_div_scale_f32 v5, s0, v1, v255, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xff,0x0f,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, v255, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0xd7,0x0c,0x04 +# W32: v_div_scale_f32 v5, s0, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xd7,0x0c,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x6d,0xd5,0x01,0xd5,0x0c,0x04 +# W32: v_div_scale_f32 v5, s0, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xd5,0x0c,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x6d,0xd5,0xff,0x05,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, v255, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0xff,0x05,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], v255, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x6b,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x6b,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x6d,0xd5,0x6a,0x04,0x0e,0x04 +# W32: v_div_scale_f32 v5, s0, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x6a,0x04,0x0e,0x04] +# W64: v_div_scale_f32 v5, s[0:1], vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x6d,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0xd8,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_exp_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xd8,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xd8,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd8,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_exp_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xd8,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xd8,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xd8,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd8,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd8,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd8,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xd8,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xd8,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xd8,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xd8,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd8,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd8,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xd8,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd8,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd8,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd8,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xd8,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_exp_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xd8,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xa5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_exp_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xa5,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xa5,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xa5,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_exp_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xa5,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xa5,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xa5,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xa5,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xa5,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xa5,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xa5,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xa5,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xa5,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xa5,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xa5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xa5,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_exp_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xa5,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xa5,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_exp_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xa5,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xa5,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_exp_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xa5,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xa5,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xa5,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xa5,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xa5,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xa5,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xa5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_exp_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xa5,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xbb,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v255, v1 ; encoding: [0xff,0x00,0xbb,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, -1 ; encoding: [0x05,0x00,0xbb,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xbb,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, 0 ; encoding: [0x05,0x00,0xbb,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xbb,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xbb,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xbb,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, m0 ; encoding: [0x05,0x00,0xbb,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, s1 ; encoding: [0x05,0x00,0xbb,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, s101 ; encoding: [0x05,0x00,0xbb,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, v1 ; encoding: [0x05,0x00,0xbb,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, v255 ; encoding: [0x05,0x00,0xbb,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xbb,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xbb,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_ffbh_i32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xbb,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0xb9,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v255, v1 ; encoding: [0xff,0x00,0xb9,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, -1 ; encoding: [0x05,0x00,0xb9,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xb9,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, 0 ; encoding: [0x05,0x00,0xb9,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xb9,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xb9,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xb9,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, m0 ; encoding: [0x05,0x00,0xb9,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, s1 ; encoding: [0x05,0x00,0xb9,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, s101 ; encoding: [0x05,0x00,0xb9,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, v1 ; encoding: [0x05,0x00,0xb9,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, v255 ; encoding: [0x05,0x00,0xb9,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xb9,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xb9,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_ffbh_u32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xb9,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0xba,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v255, v1 ; encoding: [0xff,0x00,0xba,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xba,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, -1 ; encoding: [0x05,0x00,0xba,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xba,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, 0 ; encoding: [0x05,0x00,0xba,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xba,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xba,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xba,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, m0 ; encoding: [0x05,0x00,0xba,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, s1 ; encoding: [0x05,0x00,0xba,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, s101 ; encoding: [0x05,0x00,0xba,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, v1 ; encoding: [0x05,0x00,0xba,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xba,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, v255 ; encoding: [0x05,0x00,0xba,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xba,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xba,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xba,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_ffbl_b32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xba,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0xdb,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xdb,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xdb,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xdb,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_floor_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xdb,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xdb,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xdb,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xdb,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xdb,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xdb,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xdb,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xdb,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xdb,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xdb,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xdb,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xdb,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xdb,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xdb,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xdb,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xdb,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xdb,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xdb,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xa4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xa4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xa4,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xa4,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_floor_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xa4,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xa4,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xa4,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xa4,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xa4,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xa4,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xa4,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xa4,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xa4,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xa4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xa4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xa4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_floor_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xa4,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xa4,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_floor_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xa4,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xa4,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_floor_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xa4,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xa4,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xa4,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xa4,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xa4,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xa4,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xa4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xa4,0xd5,0x01,0x01,0x01,0x02] + +0xfe,0x00,0x9a,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0x9a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], -1 ; encoding: [0x05,0x00,0x9a,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0x9a,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_floor_f64_e64 v[5:6], -v[1:2] ; encoding: [0x05,0x00,0x9a,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x9a,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], 0 ; encoding: [0x05,0x00,0x9a,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0x9a,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], exec ; encoding: [0x05,0x00,0x9a,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0x9a,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0x9a,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], s[4:5] ; encoding: [0x05,0x00,0x9a,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], v[1:2] ; encoding: [0x05,0x00,0x9a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x9a,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0x9a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_floor_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0x9a,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x9a,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_floor_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0x9a,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x9a,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_floor_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0x9a,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x9a,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0x9a,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0x9a,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_floor_f64_e64 v[5:6], vcc ; encoding: [0x05,0x00,0x9a,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x00,0x4b,0xd7,0x01,0x05,0x0e,0x44 +# GFX10: v_fma_f16 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x4b,0xd7,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x4b,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x4b,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x4b,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x04,0x4b,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f16 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x4b,0xd7,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_fma_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_fma_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x4b,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_fma_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_fma_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_fma_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x4b,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_fma_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_fma_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_fma_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_fma_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_fma_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_fma_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_fma_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_fma_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_fma_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_fma_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_fma_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_fma_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_fma_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_fma_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_fma_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_fma_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_fma_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_fma_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_fma_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_fma_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x4b,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x4b,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_fma_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_fma_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_fma_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_fma_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x4b,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_fma_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x4b,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x4b,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_fma_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_fma_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x4b,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_fma_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x4b,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x4b,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_fma_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x4b,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_fma_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x4b,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x4b,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x4b,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x4b,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x4b,0xd5,0x01,0x05,0x0e,0x04] + +0xfe,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f64 v[254:255], v[1:2], v[2:3], v[3:4] ; encoding: [0xfe,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], -1, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], -4.0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_fma_f64 v[5:6], -v[1:2], -v[2:3], -v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_fma_f64 v[5:6], -v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x4c,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], 0, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], 0.5, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], exec, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x66,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], s[102:103], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x66,0x04,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x02,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], s[2:3], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x02,0x04,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x04,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], s[4:5], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x04,0x04,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x76,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], ttmp[10:11], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x76,0x04,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], -1, v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], -4.0, v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_fma_f64 v[5:6], v[1:2], -v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x4c,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], 0, v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], 0.5, v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], exec, v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0xcd,0x0c,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], s[102:103], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0xcd,0x0c,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0x09,0x0c,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], s[4:5], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x09,0x0c,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0x0d,0x0c,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], s[6:7], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x0d,0x0c,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0xed,0x0c,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], ttmp[10:11], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0xed,0x0c,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0xfd,0x0f,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[254:255], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0xfd,0x0f,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], -1 ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], -4.0 ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], -v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], 0 ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], 0.5 ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], exec ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x9a,0x01 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], s[102:103] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x9a,0x01] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x1a,0x00 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], s[6:7] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x22,0x00 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], s[8:9] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0xda,0x01 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], ttmp[10:11] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0xda,0x01] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0xfa,0x07 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], v[254:255] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0xfa,0x07] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x4c,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] clamp ; encoding: [0x05,0x80,0x4c,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] div:2 ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:2 ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], v[3:4] mul:4 ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x4c,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], vcc ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x4c,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], v[2:3], |v[3:4]| ; encoding: [0x05,0x04,0x4c,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], vcc, v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x4c,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], v[1:2], |v[2:3]|, v[3:4] ; encoding: [0x05,0x02,0x4c,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0xfe,0x05,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], v[254:255], v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0xfe,0x05,0x0e,0x04] + +0x05,0x00,0x4c,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], vcc, v[2:3], v[3:4] ; encoding: [0x05,0x00,0x4c,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x4c,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], |v[1:2]|, v[2:3], v[3:4] ; encoding: [0x05,0x01,0x4c,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x4c,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_fma_f64 v[5:6], |v[1:2]|, |v[2:3]|, |v[3:4]| ; encoding: [0x05,0x07,0x4c,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x36,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f16_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x36,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x36,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x36,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x36,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_fmac_f16_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_fmac_f16_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x36,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x36,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x36,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_fmac_f16_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x36,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x36,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x36,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x36,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x36,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x36,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x36,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x36,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x36,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x36,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x36,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_fmac_f16_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_fmac_f16_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_fmac_f16_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x36,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x36,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x36,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x36,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x36,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x36,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x36,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x36,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x36,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x36,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x36,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x36,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x36,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x36,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x36,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f16_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x36,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x2b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x2b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_fmac_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_fmac_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x2b,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_fmac_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x2b,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x2b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x2b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_fmac_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_fmac_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_fmac_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x2b,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x2b,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x2b,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x2b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x2b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x2b,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x2b,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x2b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x2b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x2b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_fmac_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x2b,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0xdf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xdf,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xdf,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xdf,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_fract_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xdf,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xdf,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xdf,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xdf,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xdf,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xdf,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xdf,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xdf,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xdf,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xdf,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xdf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xdf,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xdf,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xdf,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xdf,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xdf,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xdf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xdf,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xa0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xa0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xa0,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xa0,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_fract_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xa0,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xa0,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xa0,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xa0,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xa0,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xa0,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xa0,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xa0,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xa0,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xa0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xa0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xa0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_fract_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xa0,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xa0,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_fract_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xa0,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xa0,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_fract_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xa0,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xa0,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xa0,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xa0,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xa0,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_fract_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xa0,0xd5,0x6a,0x00,0x01,0x02] + +0xfe,0x00,0xbe,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0xbe,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], -1 ; encoding: [0x05,0x00,0xbe,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0xbe,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_fract_f64_e64 v[5:6], -v[1:2] ; encoding: [0x05,0x00,0xbe,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xbe,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], 0 ; encoding: [0x05,0x00,0xbe,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0xbe,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], exec ; encoding: [0x05,0x00,0xbe,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0xbe,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0xbe,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], s[4:5] ; encoding: [0x05,0x00,0xbe,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], v[1:2] ; encoding: [0x05,0x00,0xbe,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xbe,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0xbe,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_fract_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0xbe,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xbe,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_fract_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0xbe,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xbe,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_fract_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0xbe,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xbe,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0xbe,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0xbe,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], vcc ; encoding: [0x05,0x00,0xbe,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xbe,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_fract_f64_e64 v[5:6], |v[1:2]| ; encoding: [0x05,0x01,0xbe,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xda,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xda,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xda,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xda,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xda,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_frexp_exp_i16_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xda,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xda,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xda,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xda,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xda,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xda,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xda,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xda,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xda,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xda,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xda,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xda,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xda,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xda,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xda,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xda,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xda,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xda,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xda,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i16_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xda,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xbf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xbf,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xbf,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xbf,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_frexp_exp_i32_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xbf,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xbf,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xbf,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xbf,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xbf,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xbf,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xbf,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xbf,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xbf,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xbf,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xbf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xbf,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xbf,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xbf,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xbf,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xbf,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xbf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xbf,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xbc,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v255, v[1:2] ; encoding: [0xff,0x00,0xbc,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, -1 ; encoding: [0x05,0x00,0xbc,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, -4.0 ; encoding: [0x05,0x00,0xbc,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_frexp_exp_i32_f64_e64 v5, -v[1:2] ; encoding: [0x05,0x00,0xbc,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xbc,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, 0 ; encoding: [0x05,0x00,0xbc,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, 0.5 ; encoding: [0x05,0x00,0xbc,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, exec ; encoding: [0x05,0x00,0xbc,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, s[100:101] ; encoding: [0x05,0x00,0xbc,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, s[2:3] ; encoding: [0x05,0x00,0xbc,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, s[4:5] ; encoding: [0x05,0x00,0xbc,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, v[1:2] ; encoding: [0x05,0x00,0xbc,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xbc,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, v[1:2] clamp ; encoding: [0x05,0x80,0xbc,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, v[254:255] ; encoding: [0x05,0x00,0xbc,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0xbc,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, vcc ; encoding: [0x05,0x00,0xbc,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xbc,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_exp_i32_f64_e64 v5, |v[1:2]| ; encoding: [0x05,0x01,0xbc,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xd9,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xd9,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xd9,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd9,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_frexp_mant_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xd9,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xd9,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xd9,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd9,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd9,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd9,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xd9,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xd9,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xd9,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xd9,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd9,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd9,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xd9,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd9,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd9,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd9,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xd9,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xd9,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xc0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xc0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xc0,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xc0,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_frexp_mant_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xc0,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xc0,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xc0,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xc0,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xc0,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xc0,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xc0,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xc0,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xc0,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xc0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xc0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xc0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_frexp_mant_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xc0,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xc0,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_frexp_mant_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xc0,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xc0,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_frexp_mant_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xc0,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xc0,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xc0,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xc0,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xc0,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xc0,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xc0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xc0,0xd5,0x01,0x01,0x01,0x02] + +0xfe,0x00,0xbd,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0xbd,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], -1 ; encoding: [0x05,0x00,0xbd,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0xbd,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_frexp_mant_f64_e64 v[5:6], -v[1:2] ; encoding: [0x05,0x00,0xbd,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xbd,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], 0 ; encoding: [0x05,0x00,0xbd,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0xbd,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], exec ; encoding: [0x05,0x00,0xbd,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0xbd,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0xbd,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], s[4:5] ; encoding: [0x05,0x00,0xbd,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], v[1:2] ; encoding: [0x05,0x00,0xbd,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xbd,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0xbd,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_frexp_mant_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0xbd,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xbd,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_frexp_mant_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0xbd,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xbd,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_frexp_mant_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0xbd,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xbd,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0xbd,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0xbd,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], vcc ; encoding: [0x05,0x00,0xbd,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xbd,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_frexp_mant_f64_e64 v[5:6], |v[1:2]| ; encoding: [0x05,0x01,0xbd,0xd5,0x01,0x01,0x01,0x02] + +0xff 0x00 0x02 0xd6 0x00 0x00 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v255, p10, attr0.x ; encoding: [0xff,0x00,0x02,0xd6,0x00,0x00,0x00,0x02] + +0x05 0x00 0x02 0xd6 0x00 0x04 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p0, attr0.x ; encoding: [0x05,0x00,0x02,0xd6,0x00,0x04,0x00,0x02] + +0x05 0x00 0x02 0xd6 0xc0 0x00 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr0.w ; encoding: [0x05,0x00,0x02,0xd6,0xc0,0x00,0x00,0x02] + +0x05 0x00 0x02 0xd6 0x00 0x00 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr0.x ; encoding: [0x05,0x00,0x02,0xd6,0x00,0x00,0x00,0x02] + +0x05 0x80 0x02 0xd6 0x00 0x00 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr0.x clamp ; encoding: [0x05,0x80,0x02,0xd6,0x00,0x00,0x00,0x02] + +0x05 0x00 0x02 0xd6 0x00 0x00 0x00 0x18 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr0.x div:2 ; encoding: [0x05,0x00,0x02,0xd6,0x00,0x00,0x00,0x1a] + +0x05 0x00 0x02 0xd6 0x00 0x00 0x00 0x08 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr0.x mul:2 ; encoding: [0x05,0x00,0x02,0xd6,0x00,0x00,0x00,0x0a] + +0x05 0x00 0x02 0xd6 0x00 0x00 0x00 0x10 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr0.x mul:4 ; encoding: [0x05,0x00,0x02,0xd6,0x00,0x00,0x00,0x12] + +0x05 0x00 0x02 0xd6 0x40 0x00 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr0.y ; encoding: [0x05,0x00,0x02,0xd6,0x40,0x00,0x00,0x02] + +0x05 0x00 0x02 0xd6 0x80 0x00 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr0.z ; encoding: [0x05,0x00,0x02,0xd6,0x80,0x00,0x00,0x02] + +0x05 0x00 0x02 0xd6 0x01 0x00 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr1.x ; encoding: [0x05,0x00,0x02,0xd6,0x01,0x00,0x00,0x02] + +0x05 0x00 0x02 0xd6 0x1f 0x00 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr31.x ; encoding: [0x05,0x00,0x02,0xd6,0x1f,0x00,0x00,0x02] + +0x05 0x00 0x02 0xd6 0x20 0x00 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p10, attr32.x ; encoding: [0x05,0x00,0x02,0xd6,0x20,0x00,0x00,0x02] + +0x05 0x00 0x02 0xd6 0x00 0x02 0x00 0x00 +# GFX10: v_interp_mov_f32_e64 v5, p20, attr0.x ; encoding: [0x05,0x00,0x02,0xd6,0x00,0x02,0x00,0x02] + +0xff 0x00 0x00 0xd6 0x00 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v255, v2, attr0.x ; encoding: [0xff,0x00,0x00,0xd6,0x00,0x04,0x02,0x02] + +0x05 0x00 0x00 0xd6 0x00 0x04 0x02 0x40 +# GFX10: v_interp_p1_f32_e64 v5, -v2, attr0.x ; encoding: [0x05,0x00,0x00,0xd6,0x00,0x04,0x02,0x42] + +0x05 0x00 0x00 0xd6 0xc0 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr0.w ; encoding: [0x05,0x00,0x00,0xd6,0xc0,0x04,0x02,0x02] + +0x05 0x00 0x00 0xd6 0x00 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr0.x ; encoding: [0x05,0x00,0x00,0xd6,0x00,0x04,0x02,0x02] + +0x05 0x80 0x00 0xd6 0x00 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr0.x clamp ; encoding: [0x05,0x80,0x00,0xd6,0x00,0x04,0x02,0x02] + +0x05 0x00 0x00 0xd6 0x00 0x04 0x02 0x18 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr0.x div:2 ; encoding: [0x05,0x00,0x00,0xd6,0x00,0x04,0x02,0x1a] + +0x05 0x00 0x00 0xd6 0x00 0x04 0x02 0x08 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr0.x mul:2 ; encoding: [0x05,0x00,0x00,0xd6,0x00,0x04,0x02,0x0a] + +0x05 0x00 0x00 0xd6 0x00 0x04 0x02 0x10 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr0.x mul:4 ; encoding: [0x05,0x00,0x00,0xd6,0x00,0x04,0x02,0x12] + +0x05 0x00 0x00 0xd6 0x40 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr0.y ; encoding: [0x05,0x00,0x00,0xd6,0x40,0x04,0x02,0x02] + +0x05 0x00 0x00 0xd6 0x80 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr0.z ; encoding: [0x05,0x00,0x00,0xd6,0x80,0x04,0x02,0x02] + +0x05 0x00 0x00 0xd6 0x01 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr1.x ; encoding: [0x05,0x00,0x00,0xd6,0x01,0x04,0x02,0x02] + +0x05 0x00 0x00 0xd6 0x1f 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr31.x ; encoding: [0x05,0x00,0x00,0xd6,0x1f,0x04,0x02,0x02] + +0x05 0x00 0x00 0xd6 0x20 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v5, v2, attr32.x ; encoding: [0x05,0x00,0x00,0xd6,0x20,0x04,0x02,0x02] + +0x05 0x00 0x00 0xd6 0x00 0xfe 0x03 0x00 +# GFX10: v_interp_p1_f32_e64 v5, v255, attr0.x ; encoding: [0x05,0x00,0x00,0xd6,0x00,0xfe,0x03,0x02] + +0x05 0x02 0x00 0xd6 0x00 0x04 0x02 0x00 +# GFX10: v_interp_p1_f32_e64 v5, |v2|, attr0.x ; encoding: [0x05,0x02,0x00,0xd6,0x00,0x04,0x02,0x02] + +0x05,0x00,0x42,0xd7,0x00,0x04,0x02,0x40 +# GFX10: v_interp_p1ll_f16 v5, -v2, attr0.x ; encoding: [0x05,0x00,0x42,0xd7,0x00,0x04,0x02,0x42] + +0x05,0x00,0x42,0xd7,0xc0,0x04,0x02,0x00 +# GFX10: v_interp_p1ll_f16 v5, v2, attr0.w ; encoding: [0x05,0x00,0x42,0xd7,0xc0,0x04,0x02,0x02] + +0x05,0x80,0x42,0xd7,0x00,0x04,0x02,0x00 +# GFX10: v_interp_p1ll_f16 v5, v2, attr0.x clamp ; encoding: [0x05,0x80,0x42,0xd7,0x00,0x04,0x02,0x02] + +0x05,0x00,0x42,0xd7,0x00,0x05,0x02,0x00 +# GFX10: v_interp_p1ll_f16 v5, v2, attr0.x high ; encoding: [0x05,0x00,0x42,0xd7,0x00,0x05,0x02,0x02] + +0x05,0x00,0x42,0xd7,0x00,0x04,0x02,0x10 +# GFX10: v_interp_p1ll_f16 v5, v2, attr0.x mul:4 ; encoding: [0x05,0x00,0x42,0xd7,0x00,0x04,0x02,0x12] + +0x05,0x00,0x42,0xd7,0x1f,0x04,0x02,0x00 +# GFX10: v_interp_p1ll_f16 v5, v2, attr31.x ; encoding: [0x05,0x00,0x42,0xd7,0x1f,0x04,0x02,0x02] + +0x05,0x02,0x42,0xd7,0x00,0x04,0x02,0x00 +# GFX10: v_interp_p1ll_f16 v5, |v2|, attr0.x ; encoding: [0x05,0x02,0x42,0xd7,0x00,0x04,0x02,0x02] + +0x05,0x00,0x43,0xd7,0x00,0x04,0x0e,0x44 +# GFX10: v_interp_p1lv_f16 v5, -v2, attr0.x, v3 ; encoding: [0x05,0x00,0x43,0xd7,0x00,0x04,0x0e,0x44] + +0x05,0x00,0x43,0xd7,0x00,0x04,0x0e,0x84 +# GFX10: v_interp_p1lv_f16 v5, v2, attr0.x, -v3 ; encoding: [0x05,0x00,0x43,0xd7,0x00,0x04,0x0e,0x84] + +0x05,0x80,0x43,0xd7,0x00,0x04,0x0e,0x04 +# GFX10: v_interp_p1lv_f16 v5, v2, attr0.x, v3 clamp ; encoding: [0x05,0x80,0x43,0xd7,0x00,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd7,0x00,0x04,0x0e,0x1c +# GFX10: v_interp_p1lv_f16 v5, v2, attr0.x, v3 div:2 ; encoding: [0x05,0x00,0x43,0xd7,0x00,0x04,0x0e,0x1c] + +0x05,0x00,0x43,0xd7,0x00,0x05,0x0e,0x04 +# GFX10: v_interp_p1lv_f16 v5, v2, attr0.x, v3 high ; encoding: [0x05,0x00,0x43,0xd7,0x00,0x05,0x0e,0x04] + +0x05,0x00,0x43,0xd7,0x00,0x04,0x0e,0x0c +# GFX10: v_interp_p1lv_f16 v5, v2, attr0.x, v3 mul:2 ; encoding: [0x05,0x00,0x43,0xd7,0x00,0x04,0x0e,0x0c] + +0x05,0x04,0x43,0xd7,0x00,0x04,0x0e,0x04 +# GFX10: v_interp_p1lv_f16 v5, v2, attr0.x, |v3| ; encoding: [0x05,0x04,0x43,0xd7,0x00,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_interp_p1lv_f16 v5, v2, attr0.z, v3 ; encoding: [0x05,0x00,0x43,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_interp_p1lv_f16 v5, v2, attr1.x, v3 ; encoding: [0x05,0x00,0x43,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x02,0x43,0xd7,0x00,0x04,0x0e,0x04 +# GFX10: v_interp_p1lv_f16 v5, |v2|, attr0.x, v3 ; encoding: [0x05,0x02,0x43,0xd7,0x00,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd7,0x00,0x04,0x0e,0x44 +# GFX10: v_interp_p2_f16 v5, -v2, attr0.x, v3 ; encoding: [0x05,0x00,0x5a,0xd7,0x00,0x04,0x0e,0x44] + +0x05,0x00,0x5a,0xd7,0xc0,0x04,0x0e,0x04 +# GFX10: v_interp_p2_f16 v5, v2, attr0.w, v3 ; encoding: [0x05,0x00,0x5a,0xd7,0xc0,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd7,0x00,0x04,0x0e,0x04 +# GFX10: v_interp_p2_f16 v5, v2, attr0.x, v3 ; encoding: [0x05,0x00,0x5a,0xd7,0x00,0x04,0x0e,0x04] + +0x05,0x80,0x5a,0xd7,0x00,0x04,0x0e,0x04 +# GFX10: v_interp_p2_f16 v5, v2, attr0.x, v3 clamp ; encoding: [0x05,0x80,0x5a,0xd7,0x00,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd7,0x00,0x05,0x0e,0x04 +# GFX10: v_interp_p2_f16 v5, v2, attr0.x, v3 high ; encoding: [0x05,0x00,0x5a,0xd7,0x00,0x05,0x0e,0x04] + +0x05,0x04,0x5a,0xd7,0x00,0x04,0x0e,0x04 +# GFX10: v_interp_p2_f16 v5, v2, attr0.x, |v3| ; encoding: [0x05,0x04,0x5a,0xd7,0x00,0x04,0x0e,0x04] + +0xff 0x00 0x01 0xd6 0x00 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v255, v2, attr0.x ; encoding: [0xff,0x00,0x01,0xd6,0x00,0x04,0x02,0x02] + +0x05 0x00 0x01 0xd6 0x00 0x04 0x02 0x40 +# GFX10: v_interp_p2_f32_e64 v5, -v2, attr0.x ; encoding: [0x05,0x00,0x01,0xd6,0x00,0x04,0x02,0x42] + +0x05 0x00 0x01 0xd6 0xc0 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr0.w ; encoding: [0x05,0x00,0x01,0xd6,0xc0,0x04,0x02,0x02] + +0x05 0x00 0x01 0xd6 0x00 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr0.x ; encoding: [0x05,0x00,0x01,0xd6,0x00,0x04,0x02,0x02] + +0x05 0x80 0x01 0xd6 0x00 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr0.x clamp ; encoding: [0x05,0x80,0x01,0xd6,0x00,0x04,0x02,0x02] + +0x05 0x00 0x01 0xd6 0x00 0x04 0x02 0x18 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr0.x div:2 ; encoding: [0x05,0x00,0x01,0xd6,0x00,0x04,0x02,0x1a] + +0x05 0x00 0x01 0xd6 0x00 0x04 0x02 0x08 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr0.x mul:2 ; encoding: [0x05,0x00,0x01,0xd6,0x00,0x04,0x02,0x0a] + +0x05 0x00 0x01 0xd6 0x00 0x04 0x02 0x10 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr0.x mul:4 ; encoding: [0x05,0x00,0x01,0xd6,0x00,0x04,0x02,0x12] + +0x05 0x00 0x01 0xd6 0x40 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr0.y ; encoding: [0x05,0x00,0x01,0xd6,0x40,0x04,0x02,0x02] + +0x05 0x00 0x01 0xd6 0x80 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr0.z ; encoding: [0x05,0x00,0x01,0xd6,0x80,0x04,0x02,0x02] + +0x05 0x00 0x01 0xd6 0x01 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr1.x ; encoding: [0x05,0x00,0x01,0xd6,0x01,0x04,0x02,0x02] + +0x05 0x00 0x01 0xd6 0x1f 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr31.x ; encoding: [0x05,0x00,0x01,0xd6,0x1f,0x04,0x02,0x02] + +0x05 0x00 0x01 0xd6 0x20 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v5, v2, attr32.x ; encoding: [0x05,0x00,0x01,0xd6,0x20,0x04,0x02,0x02] + +0x05 0x00 0x01 0xd6 0x00 0xfe 0x03 0x00 +# GFX10: v_interp_p2_f32_e64 v5, v255, attr0.x ; encoding: [0x05,0x00,0x01,0xd6,0x00,0xfe,0x03,0x02] + +0x05 0x02 0x01 0xd6 0x00 0x04 0x02 0x00 +# GFX10: v_interp_p2_f32_e64 v5, |v2|, attr0.x ; encoding: [0x05,0x02,0x01,0xd6,0x00,0x04,0x02,0x02] + +0xff,0x00,0x3b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x3b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_ldexp_f16_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x3b,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x3b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x3b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x3b,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_ldexp_f16_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x3b,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x3b,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x3b,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x3b,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x3b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f16_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x3b,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x62,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f32 v255, v1, v2 ; encoding: [0xff,0x00,0x62,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x62,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, -1, v2 ; encoding: [0x05,0x00,0x62,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x62,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x20 +# GFX10: v_ldexp_f32 v5, -v1, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x22] + +0x05,0x00,0x62,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, 0, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x62,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, m0, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, s1, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, s103, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_ldexp_f32 v5, v1, -1 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x62,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_ldexp_f32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x62,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_ldexp_f32 v5, v1, 0 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x62,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_ldexp_f32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x62,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_ldexp_f32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x62,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_ldexp_f32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x62,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_ldexp_f32 v5, v1, m0 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x62,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_ldexp_f32 v5, v1, s103 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x62,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_ldexp_f32 v5, v1, s2 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x62,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_ldexp_f32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f32 v5, v1, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x80,0x62,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f32 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x62,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x18 +# GFX10: v_ldexp_f32 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x08 +# GFX10: v_ldexp_f32 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x10 +# GFX10: v_ldexp_f32 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0x05,0x02,0x12] + +0x05,0x00,0x62,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_ldexp_f32 v5, v1, v255 ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x62,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_ldexp_f32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x62,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_ldexp_f32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x62,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x62,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_ldexp_f32 v5, v255, v2 ; encoding: [0x05,0x00,0x62,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x62,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_ldexp_f32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x62,0xd7,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x62,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f32 v5, |v1|, v2 ; encoding: [0x05,0x01,0x62,0xd7,0x01,0x05,0x02,0x02] + +0xfe,0x00,0x68,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f64 v[254:255], v[1:2], v2 ; encoding: [0xfe,0x00,0x68,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x68,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], -1, v2 ; encoding: [0x05,0x00,0x68,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], -4.0, v2 ; encoding: [0x05,0x00,0x68,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_ldexp_f64 v[5:6], -v[1:2], v2 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x68,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], 0, v2 ; encoding: [0x05,0x00,0x68,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], 0.5, v2 ; encoding: [0x05,0x00,0x68,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], exec, v2 ; encoding: [0x05,0x00,0x68,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd5,0x66,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], s[102:103], v2 ; encoding: [0x05,0x00,0x68,0xd5,0x66,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd5,0x02,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], s[2:3], v2 ; encoding: [0x05,0x00,0x68,0xd5,0x02,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd5,0x04,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], s[4:5], v2 ; encoding: [0x05,0x00,0x68,0xd5,0x04,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd5,0x76,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], ttmp[10:11], v2 ; encoding: [0x05,0x00,0x68,0xd5,0x76,0x04,0x02,0x02] + +0x05,0x00,0x68,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], -1 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x68,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], -4.0 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x68,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], 0 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x68,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], 0.5 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x68,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], exec_hi ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x68,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], exec_lo ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x68,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], m0 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x68,0xd5,0x01,0xcf,0x00,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], s103 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x68,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], s2 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x68,0xd5,0x01,0xef,0x00,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], ttmp11 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xef,0x00,0x02] + +0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], v2 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x68,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], v2 clamp ; encoding: [0x05,0x80,0x68,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], v2 div:2 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], v2 mul:2 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], v2 mul:4 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x68,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], v255 ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x68,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], vcc_hi ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x68,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[1:2], vcc_lo ; encoding: [0x05,0x00,0x68,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x68,0xd5,0xfe,0x05,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], v[254:255], v2 ; encoding: [0x05,0x00,0x68,0xd5,0xfe,0x05,0x02,0x02] + +0x05,0x00,0x68,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], vcc, v2 ; encoding: [0x05,0x00,0x68,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x68,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_ldexp_f64 v[5:6], |v[1:2]|, v2 ; encoding: [0x05,0x01,0x68,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x4d,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_lerp_u8 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x4d,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_lerp_u8 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_lerp_u8 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_lerp_u8 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_lerp_u8 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_lerp_u8 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_lerp_u8 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_lerp_u8 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_lerp_u8 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_lerp_u8 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_lerp_u8 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_lerp_u8 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_lerp_u8 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_lerp_u8 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_lerp_u8 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_lerp_u8 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_lerp_u8 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_lerp_u8 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_lerp_u8 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_lerp_u8 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_lerp_u8 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_lerp_u8 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_lerp_u8 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_lerp_u8 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x4d,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_lerp_u8 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x4d,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_lerp_u8 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_lerp_u8 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x4d,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_lerp_u8 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x4d,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_lerp_u8 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x4d,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_lerp_u8 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x4d,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0xd7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_log_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xd7,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xd7,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd7,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_log_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xd7,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xd7,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xd7,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd7,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd7,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd7,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xd7,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xd7,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xd7,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_log_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xd7,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_log_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd7,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_log_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xd7,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd7,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd7,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_log_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd7,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xd7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_log_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xd7,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xa7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_log_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xa7,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xa7,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xa7,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_log_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xa7,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xa7,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xa7,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xa7,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xa7,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xa7,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xa7,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xa7,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xa7,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_log_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xa7,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xa7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_log_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xa7,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_log_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xa7,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xa7,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_log_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xa7,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xa7,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_log_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xa7,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xa7,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_log_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xa7,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xa7,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xa7,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_log_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xa7,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xa7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_log_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xa7,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x46,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_lshl_add_u32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x46,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_lshl_add_u32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x46,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_lshl_add_u32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x46,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_lshl_add_u32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x46,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_lshl_add_u32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x46,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_lshl_add_u32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x46,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_lshl_add_u32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x46,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_lshl_add_u32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x46,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_lshl_add_u32 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x46,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_lshl_add_u32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x46,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_lshl_add_u32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x46,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_lshl_add_u32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x46,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_lshl_add_u32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x46,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_lshl_add_u32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x46,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_lshl_add_u32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x46,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_lshl_add_u32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x46,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_lshl_add_u32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x46,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_lshl_add_u32 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x46,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_lshl_add_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x46,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_lshl_add_u32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x46,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_lshl_add_u32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x46,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_lshl_add_u32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x46,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x46,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_lshl_add_u32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x46,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_lshl_add_u32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x46,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_lshl_add_u32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x46,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x46,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_lshl_add_u32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x46,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x6f,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_lshl_or_b32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x6f,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_lshl_or_b32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_lshl_or_b32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_lshl_or_b32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_lshl_or_b32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_lshl_or_b32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_lshl_or_b32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_lshl_or_b32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_lshl_or_b32 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_lshl_or_b32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_lshl_or_b32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_lshl_or_b32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_lshl_or_b32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_lshl_or_b32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_lshl_or_b32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_lshl_or_b32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_lshl_or_b32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_lshl_or_b32 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_lshl_or_b32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_lshl_or_b32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_lshl_or_b32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x6f,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_lshl_or_b32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x6f,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_lshl_or_b32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_lshl_or_b32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x6f,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_lshl_or_b32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x6f,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x6f,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_lshl_or_b32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x6f,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x14,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_lshlrev_b16 v255, v1, v2 ; encoding: [0xff,0x00,0x14,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x14,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, -1, v2 ; encoding: [0x05,0x00,0x14,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x14,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, 0, v2 ; encoding: [0x05,0x00,0x14,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x14,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x14,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x14,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, m0, v2 ; encoding: [0x05,0x00,0x14,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, s1, v2 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, s101, v2 ; encoding: [0x05,0x00,0x14,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_lshlrev_b16 v5, v1, -1 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x14,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_lshlrev_b16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x14,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_lshlrev_b16 v5, v1, 0 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x14,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_lshlrev_b16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x14,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_lshlrev_b16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x14,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x14,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_lshlrev_b16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x14,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x14,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_lshlrev_b16 v5, v1, m0 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x14,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_lshlrev_b16 v5, v1, s101 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x14,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_lshlrev_b16 v5, v1, s2 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x14,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, v1, v2 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x14,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x14,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_lshlrev_b16 v5, v1, v255 ; encoding: [0x05,0x00,0x14,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x14,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_lshlrev_b16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x14,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x14,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_lshlrev_b16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x14,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x14,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, v255, v2 ; encoding: [0x05,0x00,0x14,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x14,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_lshlrev_b16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x14,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x1a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x1a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x1a,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x1a,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x1a,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x1a,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_lshlrev_b32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x1a,0xd5,0x6a,0x04,0x02,0x02] + +0xfe,0x00,0xff,0xd6,0x01,0x05,0x02,0x00 +# GFX10: v_lshlrev_b64 v[254:255], v1, v[2:3] ; encoding: [0xfe,0x00,0xff,0xd6,0x01,0x05,0x02,0x02] + +0x05,0x00,0xff,0xd6,0xc1,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], -1, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0xc1,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0xf7,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], -4.0, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0xf7,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x80,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], 0, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0x80,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0xf0,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], 0.5, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0xf0,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x7f,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], exec_hi, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0x7f,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x7e,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], exec_lo, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0x7e,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x7c,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], m0, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0x7c,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x01,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], s1, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0x01,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x65,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], s101, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0x65,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x01,0x83,0x01,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, -1 ; encoding: [0x05,0x00,0xff,0xd6,0x01,0x83,0x01,0x02] + +0x05,0x00,0xff,0xd6,0x01,0xef,0x01,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, -4.0 ; encoding: [0x05,0x00,0xff,0xd6,0x01,0xef,0x01,0x02] + +0x05,0x00,0xff,0xd6,0x01,0x01,0x01,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, 0 ; encoding: [0x05,0x00,0xff,0xd6,0x01,0x01,0x01,0x02] + +0x05,0x00,0xff,0xd6,0x01,0xe1,0x01,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, 0.5 ; encoding: [0x05,0x00,0xff,0xd6,0x01,0xe1,0x01,0x02] + +0x05,0x00,0xff,0xd6,0x01,0xfd,0x00,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, exec ; encoding: [0x05,0x00,0xff,0xd6,0x01,0xfd,0x00,0x02] + +0x05,0x00,0xff,0xd6,0x01,0xc9,0x00,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, s[100:101] ; encoding: [0x05,0x00,0xff,0xd6,0x01,0xc9,0x00,0x02] + +0x05,0x00,0xff,0xd6,0x01,0x09,0x00,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, s[4:5] ; encoding: [0x05,0x00,0xff,0xd6,0x01,0x09,0x00,0x02] + +0x05,0x00,0xff,0xd6,0x01,0x0d,0x00,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, s[6:7] ; encoding: [0x05,0x00,0xff,0xd6,0x01,0x0d,0x00,0x02] + +0x05,0x00,0xff,0xd6,0x01,0xfd,0x03,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, v[254:255] ; encoding: [0x05,0x00,0xff,0xd6,0x01,0xfd,0x03,0x02] + +0x05,0x00,0xff,0xd6,0x01,0x05,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0x01,0x05,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x01,0xd5,0x00,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v1, vcc ; encoding: [0x05,0x00,0xff,0xd6,0x01,0xd5,0x00,0x02] + +0x05,0x00,0xff,0xd6,0xff,0x05,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], v255, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0xff,0x05,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x6b,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], vcc_hi, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0x6b,0x04,0x02,0x02] + +0x05,0x00,0xff,0xd6,0x6a,0x04,0x02,0x00 +# GFX10: v_lshlrev_b64 v[5:6], vcc_lo, v[2:3] ; encoding: [0x05,0x00,0xff,0xd6,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x07,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_lshrrev_b16 v255, v1, v2 ; encoding: [0xff,0x00,0x07,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x07,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, -1, v2 ; encoding: [0x05,0x00,0x07,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x07,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, 0, v2 ; encoding: [0x05,0x00,0x07,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x07,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x07,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x07,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, m0, v2 ; encoding: [0x05,0x00,0x07,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, s1, v2 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, s101, v2 ; encoding: [0x05,0x00,0x07,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_lshrrev_b16 v5, v1, -1 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x07,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_lshrrev_b16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x07,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_lshrrev_b16 v5, v1, 0 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x07,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_lshrrev_b16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x07,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_lshrrev_b16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x07,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x07,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_lshrrev_b16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x07,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x07,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_lshrrev_b16 v5, v1, m0 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x07,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_lshrrev_b16 v5, v1, s101 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x07,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_lshrrev_b16 v5, v1, s2 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x07,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, v1, v2 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x07,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x07,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_lshrrev_b16 v5, v1, v255 ; encoding: [0x05,0x00,0x07,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x07,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_lshrrev_b16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x07,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x07,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_lshrrev_b16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x07,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x07,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, v255, v2 ; encoding: [0x05,0x00,0x07,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x07,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_lshrrev_b16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x07,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x16,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x16,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x16,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x16,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x16,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x16,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x16,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x16,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x16,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x16,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x16,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x16,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x16,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x16,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x16,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x16,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x16,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x16,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x16,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x16,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x16,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x16,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x16,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x16,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x16,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x16,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x16,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x16,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x16,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x16,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x16,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_lshrrev_b32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x16,0xd5,0x6a,0x04,0x02,0x02] + +0xfe,0x00,0x00,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_lshrrev_b64 v[254:255], v1, v[2:3] ; encoding: [0xfe,0x00,0x00,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x00,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], -1, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], -4.0, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], 0, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], 0.5, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], exec_hi, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], exec_lo, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], m0, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], s1, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], s101, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, -1 ; encoding: [0x05,0x00,0x00,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x00,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, -4.0 ; encoding: [0x05,0x00,0x00,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x00,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, 0 ; encoding: [0x05,0x00,0x00,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x00,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, 0.5 ; encoding: [0x05,0x00,0x00,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x00,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, exec ; encoding: [0x05,0x00,0x00,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x00,0xd7,0x01,0xc9,0x00,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, s[100:101] ; encoding: [0x05,0x00,0x00,0xd7,0x01,0xc9,0x00,0x02] + +0x05,0x00,0x00,0xd7,0x01,0x09,0x00,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, s[4:5] ; encoding: [0x05,0x00,0x00,0xd7,0x01,0x09,0x00,0x02] + +0x05,0x00,0x00,0xd7,0x01,0x0d,0x00,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, s[6:7] ; encoding: [0x05,0x00,0x00,0xd7,0x01,0x0d,0x00,0x02] + +0x05,0x00,0x00,0xd7,0x01,0xfd,0x03,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, v[254:255] ; encoding: [0x05,0x00,0x00,0xd7,0x01,0xfd,0x03,0x02] + +0x05,0x00,0x00,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v1, vcc ; encoding: [0x05,0x00,0x00,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x00,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], v255, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], vcc_hi, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x00,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_lshrrev_b64 v[5:6], vcc_lo, v[2:3] ; encoding: [0x05,0x00,0x00,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x1f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x1f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_mac_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_mac_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x1f,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mac_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mac_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_mac_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x1f,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mac_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mac_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mac_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mac_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mac_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_mac_f32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mac_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x1f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x1f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_mac_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_mac_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_mac_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x1f,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mac_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mac_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x1f,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mac_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x1f,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x1f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x1f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x1f,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x1f,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x1f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x1f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x1f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x1f,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x06,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x06,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x06,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x06,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x06,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_mac_legacy_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_mac_legacy_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x06,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x06,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x67,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, s103, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x67,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x77,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x77,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x06,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_mac_legacy_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x06,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x06,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x06,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x06,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x06,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x06,0xd5,0x01,0xcf,0x00,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, s103 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x06,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x06,0xd5,0x01,0xef,0x00,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xef,0x00,0x02] + +0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x06,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x06,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_mac_legacy_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_mac_legacy_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_mac_legacy_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x06,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x06,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x06,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x06,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x06,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x06,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x06,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x06,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x06,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x06,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x06,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x06,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x06,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mac_legacy_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x06,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x41,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x41,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_mad_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_mad_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x41,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_mad_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_mad_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_mad_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x41,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_mad_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_mad_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_mad_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_mad_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_mad_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_mad_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_mad_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_mad_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_mad_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x41,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_mad_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_mad_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_mad_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x41,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_mad_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x41,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_mad_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x41,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_mad_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x41,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_mad_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_mad_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_mad_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x41,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_mad_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x41,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_mad_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x41,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x41,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_mad_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_mad_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_mad_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x41,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_mad_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x41,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_mad_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x41,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x41,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x41,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_mad_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_mad_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x41,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_mad_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x41,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x41,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_mad_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x41,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_mad_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x41,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x41,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x41,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x41,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x41,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5e,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_mad_i16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x5e,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x5e,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_mad_i16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x5e,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x5e,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_mad_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x5e,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x80,0x5e,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x5e,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x5e,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x5e,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x5e,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x5e,0xd7,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x75,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x75,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_mad_i32_i16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x75,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_mad_i32_i16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x75,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_mad_i32_i16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x75,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_mad_i32_i16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x75,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_mad_i32_i16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x75,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_mad_i32_i16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x75,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_mad_i32_i16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x75,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_mad_i32_i16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x75,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_mad_i32_i16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x75,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_mad_i32_i16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x75,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_mad_i32_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x75,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_mad_i32_i16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x75,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_mad_i32_i16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x75,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_mad_i32_i16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x75,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_mad_i32_i16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x75,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_mad_i32_i16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x75,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_mad_i32_i16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x75,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_mad_i32_i16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x75,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_mad_i32_i16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x75,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x75,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x75,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x75,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x75,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x75,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x75,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x75,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x75,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x75,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x75,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x75,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x75,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_mad_i32_i16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x75,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_mad_i32_i16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x75,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_mad_i32_i16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x75,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_mad_i32_i16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x75,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_mad_i32_i16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x75,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x75,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x75,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x42,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i24 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x42,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_mad_i32_i24 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x42,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_mad_i32_i24 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x42,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_mad_i32_i24 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x42,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_mad_i32_i24 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x42,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_mad_i32_i24 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x42,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_mad_i32_i24 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x42,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_mad_i32_i24 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x42,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_mad_i32_i24 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x42,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_mad_i32_i24 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x42,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_mad_i32_i24 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x42,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_mad_i32_i24 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x42,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_mad_i32_i24 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x42,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_mad_i32_i24 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x42,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_mad_i32_i24 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x42,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_mad_i32_i24 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x42,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_mad_i32_i24 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x42,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_mad_i32_i24 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x42,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_mad_i32_i24 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x42,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_mad_i32_i24 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x42,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_mad_i32_i24 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x42,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_mad_i32_i24 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x42,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_mad_i32_i24 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x42,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_mad_i32_i24 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x42,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x42,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_mad_i32_i24 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x42,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_mad_i32_i24 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x42,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_mad_i32_i24 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x42,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x42,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_mad_i32_i24 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x42,0xd5,0x6a,0x04,0x0e,0x04] + +0xfe,0x0c,0x77,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_mad_i64_i32 v[254:255], s12, v1, v2, v[3:4] ; encoding: [0xfe,0x0c,0x77,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_mad_i64_i32 v[254:255], s[12:13], v1, v2, v[3:4] ; encoding: [0xfe,0x0c,0x77,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x64,0x77,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s100, v1, v2, v[3:4] ; encoding: [0x05,0x64,0x77,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[100:101], v1, v2, v[3:4] ; encoding: [0x05,0x64,0x77,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0xc1,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, -1, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0xc1,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], -1, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0xf7,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, -4.0, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0xf7,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], -4.0, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x80,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, 0, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x80,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], 0, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0xf0,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, 0.5, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0xf0,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], 0.5, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x7f,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, exec_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x7f,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], exec_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x7e,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, exec_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x7e,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], exec_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x7c,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, m0, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x7c,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], m0, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, s1, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], s1, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x65,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, s101, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x65,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], s101, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x65,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0x83,0x0d,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, -1, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x83,0x0d,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, -1, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0xef,0x0d,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, -4.0, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xef,0x0d,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, -4.0, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0x01,0x0d,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, 0, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x01,0x0d,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, 0, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0xe1,0x0d,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, 0.5, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xe1,0x0d,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, 0.5, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0xff,0x0c,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, exec_hi, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xff,0x0c,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, exec_hi, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0xfd,0x0c,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, exec_lo, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xfd,0x0c,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, exec_lo, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0xf9,0x0c,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, m0, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xf9,0x0c,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, m0, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0xcb,0x0c,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, s101, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xcb,0x0c,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, s101, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xcb,0x0c,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0x0c,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, s2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x0c,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, s2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0x06,0x03 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, -1 ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x06,0x03] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, -1 ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0xde,0x03 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, -4.0 ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xde,0x03] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, -4.0 ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0x02,0x02 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, 0 ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x02,0x02] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, 0 ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0xc2,0x03 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, 0.5 ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xc2,0x03] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, 0.5 ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0xfa,0x01 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, exec ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xfa,0x01] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, exec ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0x92,0x01 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, s[100:101] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x92,0x01] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, s[100:101] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x92,0x01] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0x22,0x00 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x22,0x00] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0xfa,0x07 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, v[254:255] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xfa,0x07] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, v[254:255] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xfa,0x07] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0x05,0xaa,0x01 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v2, vcc ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xaa,0x01] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x0c,0x77,0xd5,0x01,0xff,0x0f,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, v255, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xff,0x0f,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, v255, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0xd7,0x0c,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, vcc_hi, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xd7,0x0c,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, vcc_hi, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x0c,0x77,0xd5,0x01,0xd5,0x0c,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v1, vcc_lo, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xd5,0x0c,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v1, vcc_lo, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x0c,0x77,0xd5,0xff,0x05,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, v255, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0xff,0x05,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], v255, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x6b,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, vcc_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x6b,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], vcc_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x0c,0x77,0xd5,0x6a,0x04,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s12, vcc_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x6a,0x04,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[12:13], vcc_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0x77,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x0e,0x77,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_mad_i64_i32 v[5:6], s14, v1, v2, v[3:4] ; encoding: [0x05,0x0e,0x77,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_mad_i64_i32 v[5:6], s[14:15], v1, v2, v[3:4] ; encoding: [0x05,0x0e,0x77,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x40,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x40,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_mad_legacy_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_mad_legacy_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x40,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_mad_legacy_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x40,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_mad_legacy_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x40,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_mad_legacy_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_mad_legacy_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_mad_legacy_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x40,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_mad_legacy_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x40,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_mad_legacy_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x40,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_mad_legacy_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x40,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_mad_legacy_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_mad_legacy_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_mad_legacy_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x40,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_mad_legacy_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x40,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_mad_legacy_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x40,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x40,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_mad_legacy_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_mad_legacy_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_mad_legacy_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x40,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_mad_legacy_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x40,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_mad_legacy_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x40,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x40,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x40,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x40,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x40,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x40,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x40,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x40,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x40,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_legacy_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x40,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x40,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_mad_u16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x40,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x40,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_mad_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x40,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x40,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_mad_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x40,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x80,0x40,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x40,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x40,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x40,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x40,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x40,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x40,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x40,0xd7,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x73,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x73,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_mad_u32_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x73,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_mad_u32_u16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x73,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_mad_u32_u16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x73,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_mad_u32_u16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x73,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_mad_u32_u16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x73,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_mad_u32_u16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x73,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_mad_u32_u16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x73,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_mad_u32_u16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x73,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_mad_u32_u16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x73,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_mad_u32_u16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x73,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_mad_u32_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x73,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_mad_u32_u16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x73,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_mad_u32_u16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x73,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_mad_u32_u16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x73,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_mad_u32_u16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x73,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_mad_u32_u16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x73,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_mad_u32_u16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x73,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_mad_u32_u16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x73,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_mad_u32_u16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x73,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x73,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x73,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x73,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x73,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x73,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x73,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x73,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x73,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x73,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x73,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x73,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x73,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_mad_u32_u16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x73,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_mad_u32_u16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x73,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_mad_u32_u16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x73,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_mad_u32_u16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x73,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_mad_u32_u16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x73,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x73,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x43,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u24 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x43,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_mad_u32_u24 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x43,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_mad_u32_u24 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x43,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_mad_u32_u24 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x43,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_mad_u32_u24 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x43,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_mad_u32_u24 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x43,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_mad_u32_u24 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x43,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_mad_u32_u24 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x43,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_mad_u32_u24 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x43,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_mad_u32_u24 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x43,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_mad_u32_u24 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x43,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_mad_u32_u24 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x43,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_mad_u32_u24 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x43,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_mad_u32_u24 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x43,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_mad_u32_u24 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x43,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_mad_u32_u24 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x43,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_mad_u32_u24 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x43,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_mad_u32_u24 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x43,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_mad_u32_u24 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x43,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_mad_u32_u24 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x43,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_mad_u32_u24 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x43,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_mad_u32_u24 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x43,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_mad_u32_u24 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x43,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_mad_u32_u24 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x43,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x43,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_mad_u32_u24 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x43,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_mad_u32_u24 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x43,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_mad_u32_u24 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x43,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x43,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_mad_u32_u24 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x43,0xd5,0x6a,0x04,0x0e,0x04] + +0xfe,0x0c,0x76,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_mad_u64_u32 v[254:255], s12, v1, v2, v[3:4] ; encoding: [0xfe,0x0c,0x76,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_mad_u64_u32 v[254:255], s[12:13], v1, v2, v[3:4] ; encoding: [0xfe,0x0c,0x76,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x64,0x76,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s100, v1, v2, v[3:4] ; encoding: [0x05,0x64,0x76,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[100:101], v1, v2, v[3:4] ; encoding: [0x05,0x64,0x76,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0xc1,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, -1, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0xc1,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], -1, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0xf7,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, -4.0, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0xf7,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], -4.0, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x80,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, 0, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x80,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], 0, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0xf0,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, 0.5, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0xf0,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], 0.5, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x7f,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, exec_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x7f,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], exec_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x7e,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, exec_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x7e,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], exec_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x7c,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, m0, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x7c,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], m0, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, s1, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], s1, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x65,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, s101, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x65,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], s101, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x65,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0x83,0x0d,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, -1, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x83,0x0d,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, -1, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0xef,0x0d,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, -4.0, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xef,0x0d,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, -4.0, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0x01,0x0d,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, 0, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x01,0x0d,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, 0, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0xe1,0x0d,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, 0.5, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xe1,0x0d,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, 0.5, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0xff,0x0c,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, exec_hi, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xff,0x0c,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, exec_hi, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0xfd,0x0c,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, exec_lo, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xfd,0x0c,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, exec_lo, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0xf9,0x0c,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, m0, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xf9,0x0c,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, m0, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0xcb,0x0c,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, s101, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xcb,0x0c,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, s101, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xcb,0x0c,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0x0c,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, s2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x0c,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, s2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0x06,0x03 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, -1 ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x06,0x03] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, -1 ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0xde,0x03 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, -4.0 ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xde,0x03] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, -4.0 ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0x02,0x02 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, 0 ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x02,0x02] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, 0 ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0xc2,0x03 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, 0.5 ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xc2,0x03] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, 0.5 ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0xfa,0x01 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, exec ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xfa,0x01] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, exec ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0x92,0x01 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, s[100:101] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x92,0x01] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, s[100:101] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x92,0x01] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0x22,0x00 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x22,0x00] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0xfa,0x07 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, v[254:255] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xfa,0x07] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, v[254:255] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xfa,0x07] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0x05,0xaa,0x01 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v2, vcc ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xaa,0x01] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x0c,0x76,0xd5,0x01,0xff,0x0f,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, v255, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xff,0x0f,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, v255, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0xd7,0x0c,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, vcc_hi, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xd7,0x0c,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, vcc_hi, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x0c,0x76,0xd5,0x01,0xd5,0x0c,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v1, vcc_lo, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xd5,0x0c,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v1, vcc_lo, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x0c,0x76,0xd5,0xff,0x05,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, v255, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0xff,0x05,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], v255, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x6b,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, vcc_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x6b,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], vcc_hi, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x0c,0x76,0xd5,0x6a,0x04,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s12, vcc_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x6a,0x04,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[12:13], vcc_lo, v2, v[3:4] ; encoding: [0x05,0x0c,0x76,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x0e,0x76,0xd5,0x01,0x05,0x0e,0x04 +# W32: v_mad_u64_u32 v[5:6], s14, v1, v2, v[3:4] ; encoding: [0x05,0x0e,0x76,0xd5,0x01,0x05,0x0e,0x04] +# W64: v_mad_u64_u32 v[5:6], s[14:15], v1, v2, v[3:4] ; encoding: [0x05,0x0e,0x76,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0xe4 +# GFX10: v_max3_f16 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x24 +# GFX10: v_max3_f16 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x54,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_max3_f16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x54,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_max3_f16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x44 +# GFX10: v_max3_f16 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x54,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_max3_f16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x54,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_max3_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x54,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_max3_f16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x54,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_max3_f16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x54,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_max3_f16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x54,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_max3_f16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_max3_f16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_max3_f16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x54,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_max3_f16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x84 +# GFX10: v_max3_f16 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_max3_f16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x54,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_max3_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x54,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_max3_f16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x54,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_max3_f16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x54,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_max3_f16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_max3_f16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_max3_f16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x54,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_max3_f16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_max3_f16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x54,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_max3_f16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x54,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_max3_f16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x54,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_max3_f16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x54,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_max3_f16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_max3_f16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x54,0xd7,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x54,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f16 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x54,0xd7,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x54,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x54,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_max3_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_max3_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x54,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_max3_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_max3_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_max3_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x54,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_max3_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_max3_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_max3_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_max3_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_max3_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_max3_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_max3_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_max3_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_max3_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x54,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_max3_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_max3_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_max3_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x54,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_max3_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x54,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_max3_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x54,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_max3_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x54,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_max3_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_max3_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_max3_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x54,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_max3_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x54,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_max3_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x54,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x54,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_max3_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_max3_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_max3_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x54,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_max3_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x54,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_max3_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x54,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x54,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x54,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_max3_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_max3_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x54,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_max3_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x54,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x54,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_max3_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x54,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_max3_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x54,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x54,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x54,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x54,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x54,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x55,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x55,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_max3_i16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x55,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_max3_i16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x55,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_max3_i16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x55,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_max3_i16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x55,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_max3_i16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x55,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_max3_i16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x55,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_max3_i16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x55,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_max3_i16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x55,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_max3_i16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x55,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_max3_i16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x55,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_max3_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x55,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_max3_i16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x55,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_max3_i16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x55,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_max3_i16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x55,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_max3_i16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x55,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_max3_i16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x55,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_max3_i16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x55,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_max3_i16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x55,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_max3_i16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x55,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x55,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x55,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x55,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x55,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x55,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x55,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x55,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x55,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x55,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x55,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x55,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x55,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_max3_i16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x55,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_max3_i16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x55,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_max3_i16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x55,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_max3_i16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x55,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_max3_i16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x55,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_max3_i16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_max3_i16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x55,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x55,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x55,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_max3_i32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x55,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_max3_i32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x55,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_max3_i32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x55,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_max3_i32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x55,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_max3_i32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x55,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_max3_i32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x55,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_max3_i32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x55,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_max3_i32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x55,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_max3_i32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x55,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_max3_i32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x55,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_max3_i32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x55,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_max3_i32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x55,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_max3_i32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x55,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_max3_i32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x55,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_max3_i32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x55,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_max3_i32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x55,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_max3_i32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x55,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_max3_i32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x55,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_max3_i32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x55,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_max3_i32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x55,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_max3_i32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x55,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_i32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_max3_i32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x55,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_max3_i32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x55,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x55,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_max3_i32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x55,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_max3_i32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x55,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_max3_i32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x55,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_max3_i32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x55,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_max3_i32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x55,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x56,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x56,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_max3_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x56,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_max3_u16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x56,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_max3_u16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x56,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_max3_u16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x56,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_max3_u16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x56,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_max3_u16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x56,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_max3_u16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x56,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_max3_u16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x56,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_max3_u16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x56,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_max3_u16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x56,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_max3_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x56,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_max3_u16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x56,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_max3_u16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x56,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_max3_u16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x56,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_max3_u16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x56,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_max3_u16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x56,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_max3_u16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x56,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_max3_u16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x56,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_max3_u16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x56,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x56,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x56,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x56,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x56,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x56,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x56,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x56,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x56,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x56,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x56,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x56,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x56,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_max3_u16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x56,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_max3_u16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x56,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_max3_u16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x56,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_max3_u16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x56,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_max3_u16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x56,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_max3_u16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_max3_u16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x56,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x56,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x56,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_max3_u32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x56,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_max3_u32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x56,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_max3_u32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x56,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_max3_u32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x56,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_max3_u32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x56,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_max3_u32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x56,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_max3_u32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x56,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_max3_u32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x56,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_max3_u32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x56,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_max3_u32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x56,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_max3_u32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x56,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_max3_u32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x56,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_max3_u32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x56,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_max3_u32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x56,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_max3_u32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x56,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_max3_u32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x56,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_max3_u32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x56,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_max3_u32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x56,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_max3_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x56,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_max3_u32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x56,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_max3_u32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x56,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_max3_u32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_max3_u32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x56,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_max3_u32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x56,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x56,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_max3_u32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x56,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_max3_u32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x56,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_max3_u32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x56,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_max3_u32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x56,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_max3_u32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x56,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x39,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f16_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x39,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x39,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x39,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x39,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_max_f16_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x39,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_max_f16_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x39,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x39,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_max_f16_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x39,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_max_f16_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x39,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_max_f16_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x39,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_max_f16_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x39,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_max_f16_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x39,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_max_f16_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x39,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x39,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_max_f16_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x39,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x39,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_max_f16_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x39,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_max_f16_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x39,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_max_f16_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x39,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f16_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x39,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f16_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x39,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_max_f16_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x39,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x39,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_max_f16_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x39,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x39,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_max_f16_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x39,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x39,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f16_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x39,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x39,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_max_f16_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x39,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x39,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_max_f16_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x39,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x39,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f16_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x39,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x39,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f16_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x39,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x10,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x10,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x10,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x10,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x10,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_max_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_max_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x10,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x10,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_max_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x10,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_max_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_max_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x10,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_max_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x10,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_max_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x10,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_max_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x10,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x10,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_max_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x10,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x10,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_max_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x10,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_max_f32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x10,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_max_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x10,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x10,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_max_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_max_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_max_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x10,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_max_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x10,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x10,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_max_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x10,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x10,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_max_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x10,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x10,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x10,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x10,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_max_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x10,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_max_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x10,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x10,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x10,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x10,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x10,0xd5,0x01,0x05,0x02,0x02] + +0xfe,0x00,0x67,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f64 v[254:255], v[1:2], v[2:3] ; encoding: [0xfe,0x00,0x67,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x67,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], -1, v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x67,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], -4.0, v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_max_f64 v[5:6], -v[1:2], -v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_max_f64 v[5:6], -v[1:2], v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x67,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], 0, v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x67,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], 0.5, v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x67,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], exec, v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x67,0xd5,0x66,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], s[102:103], v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x66,0x04,0x02,0x02] + +0x05,0x00,0x67,0xd5,0x02,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], s[2:3], v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x02,0x04,0x02,0x02] + +0x05,0x00,0x67,0xd5,0x04,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], s[4:5], v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x04,0x04,0x02,0x02] + +0x05,0x00,0x67,0xd5,0x76,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], ttmp[10:11], v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x76,0x04,0x02,0x02] + +0x05,0x00,0x67,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], -1 ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x67,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], -4.0 ; encoding: [0x05,0x00,0x67,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_max_f64 v[5:6], v[1:2], -v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x67,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], 0 ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x67,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], 0.5 ; encoding: [0x05,0x00,0x67,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x67,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], exec ; encoding: [0x05,0x00,0x67,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x67,0xd5,0x01,0xcd,0x00,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], s[102:103] ; encoding: [0x05,0x00,0x67,0xd5,0x01,0xcd,0x00,0x02] + +0x05,0x00,0x67,0xd5,0x01,0x09,0x00,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], s[4:5] ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x09,0x00,0x02] + +0x05,0x00,0x67,0xd5,0x01,0x0d,0x00,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], s[6:7] ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x0d,0x00,0x02] + +0x05,0x00,0x67,0xd5,0x01,0xed,0x00,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], ttmp[10:11] ; encoding: [0x05,0x00,0x67,0xd5,0x01,0xed,0x00,0x02] + +0x05,0x00,0x67,0xd5,0x01,0xfd,0x03,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], v[254:255] ; encoding: [0x05,0x00,0x67,0xd5,0x01,0xfd,0x03,0x02] + +0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x67,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], v[2:3] clamp ; encoding: [0x05,0x80,0x67,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_max_f64 v[5:6], v[1:2], v[2:3] div:2 ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_max_f64 v[5:6], v[1:2], v[2:3] mul:2 ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_max_f64 v[5:6], v[1:2], v[2:3] mul:4 ; encoding: [0x05,0x00,0x67,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x67,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], vcc ; encoding: [0x05,0x00,0x67,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x67,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f64 v[5:6], v[1:2], |v[2:3]| ; encoding: [0x05,0x02,0x67,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x67,0xd5,0xfe,0x05,0x02,0x00 +# GFX10: v_max_f64 v[5:6], v[254:255], v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0xfe,0x05,0x02,0x02] + +0x05,0x00,0x67,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_max_f64 v[5:6], vcc, v[2:3] ; encoding: [0x05,0x00,0x67,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x67,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f64 v[5:6], |v[1:2]|, v[2:3] ; encoding: [0x05,0x01,0x67,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x67,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_f64 v[5:6], |v[1:2]|, |v[2:3]| ; encoding: [0x05,0x03,0x67,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x0a,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_max_i16 v255, v1, v2 ; encoding: [0xff,0x00,0x0a,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, -1, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, 0, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, m0, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, s1, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, s101, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_max_i16 v5, v1, -1 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_max_i16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_max_i16 v5, v1, 0 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_max_i16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_max_i16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_max_i16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_max_i16 v5, v1, m0 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_max_i16 v5, v1, s101 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_max_i16 v5, v1, s2 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_max_i16 v5, v1, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x0a,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_max_i16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x0a,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_max_i16 v5, v1, v255 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_max_i16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0a,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_max_i16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x0a,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_max_i16 v5, v255, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_max_i16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x0a,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x12,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_i32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x12,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x12,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x12,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x12,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x12,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x12,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x12,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x12,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x12,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x12,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_max_i32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x12,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_max_i32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x12,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_max_i32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x12,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_max_i32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x12,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_max_i32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x12,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x12,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_max_i32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x12,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x12,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_max_i32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x12,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_max_i32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x12,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_max_i32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x12,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_i32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_max_i32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x12,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x12,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_max_i32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x12,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x12,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_max_i32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x12,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x12,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_max_i32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x12,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x12,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x12,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_max_i32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x12,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x09,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_max_u16 v255, v1, v2 ; encoding: [0xff,0x00,0x09,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x09,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, -1, v2 ; encoding: [0x05,0x00,0x09,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x09,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, 0, v2 ; encoding: [0x05,0x00,0x09,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x09,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x09,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x09,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, m0, v2 ; encoding: [0x05,0x00,0x09,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, s1, v2 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, s101, v2 ; encoding: [0x05,0x00,0x09,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_max_u16 v5, v1, -1 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x09,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_max_u16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x09,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_max_u16 v5, v1, 0 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x09,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_max_u16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x09,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_max_u16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x09,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x09,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_max_u16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x09,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x09,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_max_u16 v5, v1, m0 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x09,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_max_u16 v5, v1, s101 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x09,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_max_u16 v5, v1, s2 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x09,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_max_u16 v5, v1, v2 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x09,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_max_u16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x09,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_max_u16 v5, v1, v255 ; encoding: [0x05,0x00,0x09,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x09,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_max_u16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x09,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x09,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_max_u16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x09,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x09,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_max_u16 v5, v255, v2 ; encoding: [0x05,0x00,0x09,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x09,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_max_u16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x09,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x14,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_u32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x14,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x14,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x14,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x14,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x14,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x14,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x14,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x14,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x14,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x14,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_max_u32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x14,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_max_u32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x14,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_max_u32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x14,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_max_u32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x14,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_max_u32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x14,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x14,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_max_u32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x14,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x14,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_max_u32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x14,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_max_u32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x14,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_max_u32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x14,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_max_u32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_max_u32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x14,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x14,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_max_u32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x14,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x14,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_max_u32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x14,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x14,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_max_u32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x14,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x14,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x14,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_max_u32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x14,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x66,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v255, v1, v2 ; encoding: [0xff,0x00,0x66,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x66,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, -1, v2 ; encoding: [0x05,0x00,0x66,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x66,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, 0, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x66,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, m0, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, s1, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, s103, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, -1 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x66,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, 0 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, m0 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, s103 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x66,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, s2 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x66,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, v255 ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x66,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x66,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x66,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, v255, v2 ; encoding: [0x05,0x00,0x66,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_mbcnt_hi_u32_b32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x66,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x65,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v255, v1, v2 ; encoding: [0xff,0x00,0x65,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x65,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, -1, v2 ; encoding: [0x05,0x00,0x65,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x65,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, 0, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x65,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, m0, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, s1, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, s103, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, -1 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x65,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, 0 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, m0 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, s103 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x65,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, s2 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x65,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, v255 ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x65,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x65,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x65,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, v255, v2 ; encoding: [0x05,0x00,0x65,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_mbcnt_lo_u32_b32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x65,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0xe4 +# GFX10: v_med3_f16 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x24 +# GFX10: v_med3_f16 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x57,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_med3_f16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x57,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_med3_f16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x44 +# GFX10: v_med3_f16 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x57,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_med3_f16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x57,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_med3_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x57,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_med3_f16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x57,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_med3_f16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x57,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_med3_f16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x57,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_med3_f16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_med3_f16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_med3_f16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x57,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_med3_f16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x84 +# GFX10: v_med3_f16 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_med3_f16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x57,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_med3_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x57,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_med3_f16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x57,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_med3_f16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x57,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_med3_f16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_med3_f16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_med3_f16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x57,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_med3_f16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_med3_f16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x57,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_med3_f16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x57,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_med3_f16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x57,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_med3_f16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x57,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_med3_f16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_med3_f16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x57,0xd7,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x57,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f16 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x57,0xd7,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x57,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x57,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_med3_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_med3_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x57,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_med3_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_med3_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_med3_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x57,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_med3_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_med3_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_med3_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_med3_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_med3_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_med3_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_med3_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_med3_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_med3_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x57,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_med3_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_med3_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_med3_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x57,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_med3_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x57,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_med3_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x57,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_med3_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x57,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_med3_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_med3_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_med3_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x57,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_med3_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x57,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_med3_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x57,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x57,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_med3_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_med3_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_med3_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x57,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_med3_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x57,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_med3_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x57,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x57,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x57,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_med3_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_med3_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x57,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_med3_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x57,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x57,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_med3_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x57,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_med3_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x57,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x57,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x57,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x57,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x57,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x58,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x58,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_med3_i16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x58,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_med3_i16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x58,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_med3_i16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x58,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_med3_i16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x58,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_med3_i16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x58,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_med3_i16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x58,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_med3_i16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x58,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_med3_i16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x58,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_med3_i16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x58,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_med3_i16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x58,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_med3_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x58,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_med3_i16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x58,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_med3_i16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x58,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_med3_i16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x58,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_med3_i16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x58,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_med3_i16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x58,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_med3_i16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x58,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_med3_i16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x58,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_med3_i16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x58,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x58,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x58,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x58,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x58,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x58,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x58,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x58,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x58,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x58,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x58,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x58,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x58,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_med3_i16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x58,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_med3_i16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x58,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_med3_i16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x58,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_med3_i16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x58,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_med3_i16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x58,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_med3_i16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_med3_i16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x58,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x58,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x58,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_med3_i32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x58,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_med3_i32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x58,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_med3_i32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x58,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_med3_i32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x58,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_med3_i32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x58,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_med3_i32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x58,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_med3_i32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x58,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_med3_i32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x58,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_med3_i32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x58,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_med3_i32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x58,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_med3_i32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x58,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_med3_i32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x58,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_med3_i32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x58,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_med3_i32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x58,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_med3_i32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x58,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_med3_i32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x58,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_med3_i32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x58,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_med3_i32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x58,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_med3_i32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x58,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_med3_i32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x58,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_med3_i32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x58,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_i32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_med3_i32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x58,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_med3_i32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x58,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x58,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_med3_i32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x58,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_med3_i32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x58,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_med3_i32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x58,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_med3_i32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x58,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_med3_i32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x58,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x59,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_u16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x59,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_med3_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x59,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_med3_u16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x59,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_med3_u16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x59,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_med3_u16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x59,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_med3_u16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x59,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_med3_u16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x59,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_med3_u16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x59,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_med3_u16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x59,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_med3_u16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x59,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_med3_u16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x59,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_med3_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x59,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_med3_u16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x59,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_med3_u16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x59,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_med3_u16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x59,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_med3_u16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x59,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_med3_u16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x59,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_med3_u16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x59,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_med3_u16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x59,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_med3_u16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x59,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_u16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x59,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_u16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x59,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x59,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_u16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x59,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x59,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_u16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x59,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x59,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_u16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x59,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x59,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_u16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x59,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_med3_u16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x59,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_med3_u16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x59,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_med3_u16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x59,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_med3_u16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x59,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_med3_u16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x59,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_med3_u16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_med3_u16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x59,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x59,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_u32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x59,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_med3_u32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x59,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_med3_u32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x59,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_med3_u32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x59,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_med3_u32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x59,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_med3_u32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x59,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_med3_u32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x59,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_med3_u32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x59,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_med3_u32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x59,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_med3_u32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x59,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_med3_u32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x59,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_med3_u32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x59,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_med3_u32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x59,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_med3_u32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x59,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_med3_u32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x59,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_med3_u32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x59,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_med3_u32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x59,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_med3_u32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x59,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_med3_u32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x59,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_med3_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x59,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_med3_u32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x59,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_med3_u32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x59,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_med3_u32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_med3_u32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x59,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_med3_u32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x59,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x59,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_med3_u32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x59,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_med3_u32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x59,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_med3_u32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x59,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_med3_u32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x59,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_med3_u32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x59,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0xe4 +# GFX10: v_min3_f16 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x24 +# GFX10: v_min3_f16 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x51,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_min3_f16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x51,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_min3_f16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x44 +# GFX10: v_min3_f16 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x51,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_min3_f16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x51,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_min3_f16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x51,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_min3_f16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x51,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_min3_f16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x51,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_min3_f16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x51,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_min3_f16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_min3_f16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_min3_f16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x51,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_min3_f16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x84 +# GFX10: v_min3_f16 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_min3_f16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x51,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_min3_f16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x51,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_min3_f16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x51,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_min3_f16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x51,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_min3_f16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_min3_f16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_min3_f16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x51,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_min3_f16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_min3_f16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x51,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_min3_f16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x51,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_min3_f16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x51,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_min3_f16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x51,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_min3_f16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_min3_f16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x51,0xd7,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x51,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f16 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x51,0xd7,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x51,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x51,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_min3_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_min3_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x51,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_min3_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_min3_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_min3_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x51,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_min3_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_min3_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_min3_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_min3_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_min3_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_min3_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_min3_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_min3_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_min3_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x51,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_min3_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_min3_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_min3_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x51,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_min3_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x51,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_min3_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x51,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_min3_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x51,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_min3_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_min3_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_min3_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x51,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_min3_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x51,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_min3_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x51,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x51,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_min3_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_min3_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_min3_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x51,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_min3_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x51,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_min3_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x51,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x51,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x51,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_min3_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_min3_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x51,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_min3_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x51,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x51,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_min3_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x51,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_min3_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x51,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x51,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x51,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x51,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x51,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0x52,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x52,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_min3_i16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x52,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_min3_i16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x52,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_min3_i16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x52,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_min3_i16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x52,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_min3_i16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x52,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_min3_i16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x52,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_min3_i16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x52,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_min3_i16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x52,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_min3_i16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x52,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_min3_i16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x52,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_min3_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x52,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_min3_i16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x52,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_min3_i16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x52,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_min3_i16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x52,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_min3_i16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x52,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_min3_i16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x52,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_min3_i16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x52,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_min3_i16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x52,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_min3_i16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x52,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x52,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x52,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x52,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x52,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x52,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x52,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x52,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x52,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x52,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x52,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x52,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x52,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_min3_i16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x52,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_min3_i16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x52,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_min3_i16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x52,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_min3_i16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x52,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_min3_i16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x52,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_min3_i16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_min3_i16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x52,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x52,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x52,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_min3_i32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x52,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_min3_i32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x52,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_min3_i32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x52,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_min3_i32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x52,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_min3_i32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x52,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_min3_i32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x52,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_min3_i32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x52,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_min3_i32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x52,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_min3_i32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x52,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_min3_i32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x52,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_min3_i32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x52,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_min3_i32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x52,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_min3_i32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x52,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_min3_i32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x52,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_min3_i32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x52,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_min3_i32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x52,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_min3_i32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x52,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_min3_i32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x52,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_min3_i32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x52,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_min3_i32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x52,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_min3_i32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x52,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_i32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_min3_i32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x52,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_min3_i32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x52,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x52,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_min3_i32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x52,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_min3_i32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x52,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_min3_i32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x52,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_min3_i32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x52,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_min3_i32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x52,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x53,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x53,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_min3_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x53,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_min3_u16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x53,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_min3_u16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x53,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_min3_u16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x53,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_min3_u16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x53,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_min3_u16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x53,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_min3_u16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x53,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_min3_u16 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x53,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_min3_u16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x53,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_min3_u16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x53,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_min3_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x53,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_min3_u16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x53,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_min3_u16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x53,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_min3_u16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x53,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_min3_u16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x53,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_min3_u16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x53,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_min3_u16 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x53,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_min3_u16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x53,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_min3_u16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x53,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x53,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x53,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x40,0x53,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u16 v5, v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x05,0x40,0x53,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x20,0x53,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u16 v5, v1, v2, v3 op_sel:[0,0,1,0] ; encoding: [0x05,0x20,0x53,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x10,0x53,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u16 v5, v1, v2, v3 op_sel:[0,1,0,0] ; encoding: [0x05,0x10,0x53,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x08,0x53,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u16 v5, v1, v2, v3 op_sel:[1,0,0,0] ; encoding: [0x05,0x08,0x53,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x78,0x53,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u16 v5, v1, v2, v3 op_sel:[1,1,1,1] ; encoding: [0x05,0x78,0x53,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_min3_u16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x53,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_min3_u16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x53,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_min3_u16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x53,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_min3_u16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x53,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_min3_u16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x53,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_min3_u16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_min3_u16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x53,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x53,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x53,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_min3_u32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x53,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_min3_u32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x53,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_min3_u32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x53,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_min3_u32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x53,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_min3_u32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x53,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_min3_u32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x53,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_min3_u32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x53,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_min3_u32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x53,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_min3_u32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x53,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_min3_u32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x53,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_min3_u32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x53,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_min3_u32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x53,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_min3_u32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x53,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_min3_u32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x53,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_min3_u32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x53,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_min3_u32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x53,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_min3_u32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x53,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_min3_u32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x53,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_min3_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x53,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_min3_u32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x53,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_min3_u32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x53,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_min3_u32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_min3_u32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x53,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_min3_u32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x53,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x53,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_min3_u32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x53,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_min3_u32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x53,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_min3_u32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x53,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_min3_u32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x53,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_min3_u32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x53,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x3a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f16_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x3a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_min_f16_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x3a,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_min_f16_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x3a,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_min_f16_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_min_f16_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_min_f16_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x3a,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_min_f16_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_min_f16_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_min_f16_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_min_f16_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_min_f16_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_min_f16_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_min_f16_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f16_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x3a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f16_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x3a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_min_f16_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_min_f16_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x3a,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_min_f16_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x3a,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x3a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f16_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x3a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_min_f16_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x3a,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_min_f16_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x3a,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x3a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f16_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x3a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x3a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f16_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x3a,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x0f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x0f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_min_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_min_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x0f,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_min_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_min_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_min_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x0f,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_min_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_min_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_min_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_min_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_min_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_min_f32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_min_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x0f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x0f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_min_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_min_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_min_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x0f,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_min_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_min_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0f,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_min_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x0f,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x0f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x0f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_min_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0f,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_min_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x0f,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x0f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x0f,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x0f,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x0f,0xd5,0x01,0x05,0x02,0x02] + +0xfe,0x00,0x66,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f64 v[254:255], v[1:2], v[2:3] ; encoding: [0xfe,0x00,0x66,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x66,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], -1, v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], -4.0, v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_min_f64 v[5:6], -v[1:2], -v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_min_f64 v[5:6], -v[1:2], v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x66,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], 0, v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], 0.5, v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], exec, v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd5,0x66,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], s[102:103], v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x66,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd5,0x02,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], s[2:3], v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x02,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd5,0x04,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], s[4:5], v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x04,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd5,0x76,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], ttmp[10:11], v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x76,0x04,0x02,0x02] + +0x05,0x00,0x66,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], -1 ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x66,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], -4.0 ; encoding: [0x05,0x00,0x66,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_min_f64 v[5:6], v[1:2], -v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x66,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], 0 ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x66,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], 0.5 ; encoding: [0x05,0x00,0x66,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x66,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], exec ; encoding: [0x05,0x00,0x66,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x66,0xd5,0x01,0xcd,0x00,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], s[102:103] ; encoding: [0x05,0x00,0x66,0xd5,0x01,0xcd,0x00,0x02] + +0x05,0x00,0x66,0xd5,0x01,0x09,0x00,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], s[4:5] ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x09,0x00,0x02] + +0x05,0x00,0x66,0xd5,0x01,0x0d,0x00,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], s[6:7] ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x0d,0x00,0x02] + +0x05,0x00,0x66,0xd5,0x01,0xed,0x00,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], ttmp[10:11] ; encoding: [0x05,0x00,0x66,0xd5,0x01,0xed,0x00,0x02] + +0x05,0x00,0x66,0xd5,0x01,0xfd,0x03,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], v[254:255] ; encoding: [0x05,0x00,0x66,0xd5,0x01,0xfd,0x03,0x02] + +0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x66,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], v[2:3] clamp ; encoding: [0x05,0x80,0x66,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_min_f64 v[5:6], v[1:2], v[2:3] div:2 ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_min_f64 v[5:6], v[1:2], v[2:3] mul:2 ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_min_f64 v[5:6], v[1:2], v[2:3] mul:4 ; encoding: [0x05,0x00,0x66,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x66,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], vcc ; encoding: [0x05,0x00,0x66,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x66,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f64 v[5:6], v[1:2], |v[2:3]| ; encoding: [0x05,0x02,0x66,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x66,0xd5,0xfe,0x05,0x02,0x00 +# GFX10: v_min_f64 v[5:6], v[254:255], v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0xfe,0x05,0x02,0x02] + +0x05,0x00,0x66,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_min_f64 v[5:6], vcc, v[2:3] ; encoding: [0x05,0x00,0x66,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x66,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f64 v[5:6], |v[1:2]|, v[2:3] ; encoding: [0x05,0x01,0x66,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x66,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_f64 v[5:6], |v[1:2]|, |v[2:3]| ; encoding: [0x05,0x03,0x66,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x0c,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_min_i16 v255, v1, v2 ; encoding: [0xff,0x00,0x0c,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, -1, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, 0, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, m0, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, s1, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, s101, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_min_i16 v5, v1, -1 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_min_i16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_min_i16 v5, v1, 0 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_min_i16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_min_i16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_min_i16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_min_i16 v5, v1, m0 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_min_i16 v5, v1, s101 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_min_i16 v5, v1, s2 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_min_i16 v5, v1, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x0c,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_min_i16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x0c,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_min_i16 v5, v1, v255 ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_min_i16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0c,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_min_i16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x0c,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x0c,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_min_i16 v5, v255, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_min_i16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x0c,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x11,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_i32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x11,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x11,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x11,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x11,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x11,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x11,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x11,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x11,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x11,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x11,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_min_i32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x11,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_min_i32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x11,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_min_i32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x11,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_min_i32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x11,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_min_i32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x11,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x11,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_min_i32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x11,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x11,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_min_i32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x11,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_min_i32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x11,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_min_i32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x11,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_i32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_min_i32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x11,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x11,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_min_i32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x11,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x11,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_min_i32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x11,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x11,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_min_i32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x11,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x11,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_min_i32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x11,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x0b,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_min_u16 v255, v1, v2 ; encoding: [0xff,0x00,0x0b,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, -1, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, 0, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, m0, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, s1, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, s101, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_min_u16 v5, v1, -1 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_min_u16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_min_u16 v5, v1, 0 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_min_u16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_min_u16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_min_u16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_min_u16 v5, v1, m0 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_min_u16 v5, v1, s101 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_min_u16 v5, v1, s2 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_min_u16 v5, v1, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x0b,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_min_u16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x0b,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_min_u16 v5, v1, v255 ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_min_u16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0b,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_min_u16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x0b,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x0b,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_min_u16 v5, v255, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_min_u16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x0b,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x13,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_u32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x13,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x13,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x13,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x13,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x13,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x13,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x13,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x13,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x13,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x13,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_min_u32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x13,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_min_u32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x13,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_min_u32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x13,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_min_u32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x13,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_min_u32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x13,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x13,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_min_u32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x13,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x13,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_min_u32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x13,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_min_u32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x13,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_min_u32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x13,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_min_u32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_min_u32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x13,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x13,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_min_u32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x13,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x13,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_min_u32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x13,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x13,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_min_u32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x13,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x13,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x13,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_min_u32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x13,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x81,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_mov_b32_e64 v255, v1 ; encoding: [0xff,0x00,0x81,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x81,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, -1 ; encoding: [0x05,0x00,0x81,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, -4.0 ; encoding: [0x05,0x00,0x81,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, 0 ; encoding: [0x05,0x00,0x81,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, 0.5 ; encoding: [0x05,0x00,0x81,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, exec_hi ; encoding: [0x05,0x00,0x81,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, exec_lo ; encoding: [0x05,0x00,0x81,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, m0 ; encoding: [0x05,0x00,0x81,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, s1 ; encoding: [0x05,0x00,0x81,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, s101 ; encoding: [0x05,0x00,0x81,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, v1 ; encoding: [0x05,0x00,0x81,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x81,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, v255 ; encoding: [0x05,0x00,0x81,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0x81,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0x81,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0x81,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_mov_b32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0x81,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0xc2,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_movreld_b32_e64 v255, v1 ; encoding: [0xff,0x00,0xc2,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc2,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_movreld_b32_e64 v5, -1 ; encoding: [0x05,0x00,0xc2,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xc2,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_movreld_b32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xc2,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xc2,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_movreld_b32_e64 v5, 0 ; encoding: [0x05,0x00,0xc2,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xc2,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_movreld_b32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xc2,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xc2,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_movreld_b32_e64 v5, m0 ; encoding: [0x05,0x00,0xc2,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xc2,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_movreld_b32_e64 v5, v1 ; encoding: [0x05,0x00,0xc2,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc2,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_movreld_b32_e64 v5, v255 ; encoding: [0x05,0x00,0xc2,0xd5,0xff,0x01,0x01,0x02] + +0xff,0x00,0xc3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_movrels_b32_e64 v255, v1 ; encoding: [0xff,0x00,0xc3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_movrels_b32_e64 v5, v1 ; encoding: [0x05,0x00,0xc3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc3,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_movrels_b32_e64 v5, v255 ; encoding: [0x05,0x00,0xc3,0xd5,0xff,0x01,0x01,0x02] + +0xff,0x00,0xc8,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_movrelsd_2_b32_e64 v255, v1 ; encoding: [0xff,0x00,0xc8,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc8,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_movrelsd_2_b32_e64 v5, v1 ; encoding: [0x05,0x00,0xc8,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc8,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_movrelsd_2_b32_e64 v5, v255 ; encoding: [0x05,0x00,0xc8,0xd5,0xff,0x01,0x01,0x02] + +0xff,0x00,0xc4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_movrelsd_b32_e64 v255, v1 ; encoding: [0xff,0x00,0xc4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_movrelsd_b32_e64 v5, v1 ; encoding: [0x05,0x00,0xc4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xc4,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_movrelsd_b32_e64 v5, v255 ; encoding: [0x05,0x00,0xc4,0xd5,0xff,0x01,0x01,0x02] + +0xfe,0x00,0x73,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[254:255], v[1:2], v2, v[3:4] ; encoding: [0xfe,0x00,0x73,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], -1, v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], 0, v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], exec, v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0x66,0x04,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], s[102:103], v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x66,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0x02,0x04,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], s[2:3], v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x02,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0x04,0x04,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], s[4:5], v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x04,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0x76,0x04,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], ttmp[10:11], v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x76,0x04,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], -1, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x73,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], 0, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x73,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], exec_hi, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x73,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], exec_lo, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x73,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], m0, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x73,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], s103, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x73,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], s2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x73,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], ttmp11, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x73,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, -1 ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x73,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, 0 ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x73,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, exec ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x73,0xd5,0x01,0x05,0x9a,0x01 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, s[102:103] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0x9a,0x01] + +0x05,0x00,0x73,0xd5,0x01,0x05,0x1a,0x00 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, s[6:7] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x00,0x73,0xd5,0x01,0x05,0x22,0x00 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, s[8:9] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x00,0x73,0xd5,0x01,0x05,0xda,0x01 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, ttmp[10:11] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0xda,0x01] + +0x05,0x00,0x73,0xd5,0x01,0x05,0xfa,0x07 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, v[254:255] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0xfa,0x07] + +0x05,0x00,0x73,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v2, vcc ; encoding: [0x05,0x00,0x73,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x73,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], v255, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x73,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], vcc_hi, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x73,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[1:2], vcc_lo, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x73,0xd5,0xfe,0x05,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], v[254:255], v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0xfe,0x05,0x0e,0x04] + +0x05,0x00,0x73,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_mqsad_pk_u16_u8 v[5:6], vcc, v2, v[3:4] ; encoding: [0x05,0x00,0x73,0xd5,0x6a,0x04,0x0e,0x04] + +0xfc,0x00,0x75,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], -1, v2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0xc1,0x04,0x0e,0x04] + +0xfc,0x00,0x75,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], 0, v2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x80,0x04,0x0e,0x04] + +0xfc,0x00,0x75,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], exec, v2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x7e,0x04,0x0e,0x04] + +0xfc,0x00,0x75,0xd5,0x66,0x04,0x0e,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], s[102:103], v2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x66,0x04,0x0e,0x04] + +0xfc,0x00,0x75,0xd5,0x02,0x04,0x0e,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], s[2:3], v2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x02,0x04,0x0e,0x04] + +0xfc,0x00,0x75,0xd5,0x04,0x04,0x0e,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], s[4:5], v2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x04,0x04,0x0e,0x04] + +0xfc,0x00,0x75,0xd5,0x76,0x04,0x0e,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], ttmp[10:11], v2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x76,0x04,0x0e,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], -1, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0x83,0x0d,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], 0, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0x01,0x0d,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], exec_hi, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0xff,0x0c,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], exec_lo, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0xfd,0x0c,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], m0, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0xf9,0x0c,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], s103, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0xcf,0x0c,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], s2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0x05,0x0c,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], ttmp11, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0xef,0x0c,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], v2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0x05,0x0e,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], vcc_hi, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0xd7,0x0c,0x04] + +0xfc,0x00,0x75,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], v[1:2], vcc_lo, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x01,0xd5,0x0c,0x04] + +0xfc,0x00,0x75,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_mqsad_u32_u8 v[252:255], vcc, v2, v[3:6] ; encoding: [0xfc,0x00,0x75,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x71,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_msad_u8 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x71,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_msad_u8 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x71,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_msad_u8 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x71,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_msad_u8 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x71,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_msad_u8 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x71,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_msad_u8 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x71,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_msad_u8 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x71,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_msad_u8 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x71,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_msad_u8 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x71,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_msad_u8 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x71,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_msad_u8 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x71,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_msad_u8 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x71,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_msad_u8 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x71,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_msad_u8 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x71,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_msad_u8 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x71,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_msad_u8 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x71,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_msad_u8 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x71,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_msad_u8 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x71,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_msad_u8 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x71,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_msad_u8 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x71,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_msad_u8 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x71,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_msad_u8 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x71,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_msad_u8 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_msad_u8 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x71,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_msad_u8 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x71,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x71,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_msad_u8 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x71,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_msad_u8 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x71,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_msad_u8 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x71,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_msad_u8 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x71,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_msad_u8 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x71,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x35,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f16_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x35,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x35,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x35,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x35,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_mul_f16_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x35,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_mul_f16_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x35,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x35,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_f16_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x35,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_f16_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x35,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_mul_f16_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x35,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_f16_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x35,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_f16_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x35,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_f16_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x35,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x35,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_f16_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x35,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x35,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_f16_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x35,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_mul_f16_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x35,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_f16_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x35,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x35,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x35,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_f16_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x35,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x35,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_f16_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x35,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x35,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_f16_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x35,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x35,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x35,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x35,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x35,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x35,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x35,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x35,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x35,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x35,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f16_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x35,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x08,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x08,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x08,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x08,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x08,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_mul_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_mul_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x08,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x08,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x08,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_mul_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x08,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x08,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x08,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x08,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x08,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x08,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x08,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x08,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_mul_f32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x08,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x08,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x08,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_mul_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_mul_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_mul_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x08,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x08,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x08,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x08,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x08,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x08,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x08,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x08,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x08,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x08,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x08,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x08,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x08,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x08,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x08,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x08,0xd5,0x01,0x05,0x02,0x02] + +0xfe,0x00,0x65,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f64 v[254:255], v[1:2], v[2:3] ; encoding: [0xfe,0x00,0x65,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x65,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], -1, v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], -4.0, v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_mul_f64 v[5:6], -v[1:2], -v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_mul_f64 v[5:6], -v[1:2], v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x65,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], 0, v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], 0.5, v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], exec, v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd5,0x66,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], s[102:103], v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x66,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd5,0x02,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], s[2:3], v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x02,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd5,0x04,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], s[4:5], v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x04,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd5,0x76,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], ttmp[10:11], v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x76,0x04,0x02,0x02] + +0x05,0x00,0x65,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], -1 ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x65,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], -4.0 ; encoding: [0x05,0x00,0x65,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_mul_f64 v[5:6], v[1:2], -v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x65,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], 0 ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x65,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], 0.5 ; encoding: [0x05,0x00,0x65,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x65,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], exec ; encoding: [0x05,0x00,0x65,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x65,0xd5,0x01,0xcd,0x00,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], s[102:103] ; encoding: [0x05,0x00,0x65,0xd5,0x01,0xcd,0x00,0x02] + +0x05,0x00,0x65,0xd5,0x01,0x09,0x00,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], s[4:5] ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x09,0x00,0x02] + +0x05,0x00,0x65,0xd5,0x01,0x0d,0x00,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], s[6:7] ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x0d,0x00,0x02] + +0x05,0x00,0x65,0xd5,0x01,0xed,0x00,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], ttmp[10:11] ; encoding: [0x05,0x00,0x65,0xd5,0x01,0xed,0x00,0x02] + +0x05,0x00,0x65,0xd5,0x01,0xfd,0x03,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], v[254:255] ; encoding: [0x05,0x00,0x65,0xd5,0x01,0xfd,0x03,0x02] + +0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x65,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], v[2:3] clamp ; encoding: [0x05,0x80,0x65,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_mul_f64 v[5:6], v[1:2], v[2:3] div:2 ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_mul_f64 v[5:6], v[1:2], v[2:3] mul:2 ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_mul_f64 v[5:6], v[1:2], v[2:3] mul:4 ; encoding: [0x05,0x00,0x65,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x65,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], vcc ; encoding: [0x05,0x00,0x65,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x65,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], v[1:2], |v[2:3]| ; encoding: [0x05,0x02,0x65,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x65,0xd5,0xfe,0x05,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], v[254:255], v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0xfe,0x05,0x02,0x02] + +0x05,0x00,0x65,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], vcc, v[2:3] ; encoding: [0x05,0x00,0x65,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x65,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], |v[1:2]|, v[2:3] ; encoding: [0x05,0x01,0x65,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x65,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_f64 v[5:6], |v[1:2]|, |v[2:3]| ; encoding: [0x05,0x03,0x65,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x6c,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_hi_i32 v255, v1, v2 ; encoding: [0xff,0x00,0x6c,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, -1, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, 0, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, m0, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, s1, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x67,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, s103, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x67,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x77,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x77,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_hi_i32 v5, v1, -1 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_hi_i32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_hi_i32 v5, v1, 0 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_hi_i32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_hi_i32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_hi_i32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_hi_i32 v5, v1, m0 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xcf,0x00,0x00 +# GFX10: v_mul_hi_i32 v5, v1, s103 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_hi_i32 v5, v1, s2 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xef,0x00,0x00 +# GFX10: v_mul_hi_i32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xef,0x00,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, v1, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_hi_i32 v5, v1, v255 ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_hi_i32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x6c,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_hi_i32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x6c,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x6c,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, v255, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x6c,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x6c,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x0a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x0a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0a,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x0a,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x0a,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0a,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_hi_i32_i24_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x0a,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x6a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_hi_u32 v255, v1, v2 ; encoding: [0xff,0x00,0x6a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, -1, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, 0, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, m0, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, s1, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x67,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, s103, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x67,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x77,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x77,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_hi_u32 v5, v1, -1 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_hi_u32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_hi_u32 v5, v1, 0 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_hi_u32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_hi_u32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_hi_u32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_hi_u32 v5, v1, m0 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xcf,0x00,0x00 +# GFX10: v_mul_hi_u32 v5, v1, s103 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_hi_u32 v5, v1, s2 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xef,0x00,0x00 +# GFX10: v_mul_hi_u32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xef,0x00,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, v1, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_hi_u32 v5, v1, v255 ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_hi_u32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x6a,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_hi_u32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x6a,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x6a,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, v255, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x6a,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x6a,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x0c,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x0c,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0c,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x0c,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x0c,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0c,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_hi_u32_u24_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x0c,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x09,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x09,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x09,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x09,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x09,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x09,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x09,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x09,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x09,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x09,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x09,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x09,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x09,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x09,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x09,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x09,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x09,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x09,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x09,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x09,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x09,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x09,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x09,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x09,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x09,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x09,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x09,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x09,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x09,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x09,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x09,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x09,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x80,0x09,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_i32_i24_e64 v5, vcc_lo, v2 clamp ; encoding: [0x05,0x80,0x09,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x07,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x07,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x07,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x07,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x07,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_mul_legacy_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_mul_legacy_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x07,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x07,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x07,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_mul_legacy_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x07,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x07,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x07,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x07,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x07,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x07,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x07,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x07,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x07,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x07,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x07,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_mul_legacy_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_mul_legacy_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_mul_legacy_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x07,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x07,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x07,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x07,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x07,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x07,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x07,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x07,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x07,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x07,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x07,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x07,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x07,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x07,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x07,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_legacy_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x07,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x05,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_mul_lo_u16 v255, v1, v2 ; encoding: [0xff,0x00,0x05,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x05,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, -1, v2 ; encoding: [0x05,0x00,0x05,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x05,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, 0, v2 ; encoding: [0x05,0x00,0x05,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x05,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x05,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x05,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, m0, v2 ; encoding: [0x05,0x00,0x05,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, s1, v2 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, s101, v2 ; encoding: [0x05,0x00,0x05,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_mul_lo_u16 v5, v1, -1 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x05,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_mul_lo_u16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x05,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_mul_lo_u16 v5, v1, 0 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x05,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_lo_u16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x05,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_mul_lo_u16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x05,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x05,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_lo_u16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x05,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x05,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_lo_u16 v5, v1, m0 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x05,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_mul_lo_u16 v5, v1, s101 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x05,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_mul_lo_u16 v5, v1, s2 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x05,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, v1, v2 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x05,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x05,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_mul_lo_u16 v5, v1, v255 ; encoding: [0x05,0x00,0x05,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x05,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_lo_u16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x05,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x05,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_lo_u16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x05,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x05,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, v255, v2 ; encoding: [0x05,0x00,0x05,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x05,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_lo_u16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x05,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x69,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_lo_u32 v255, v1, v2 ; encoding: [0xff,0x00,0x69,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x69,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, -1, v2 ; encoding: [0x05,0x00,0x69,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x69,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, 0, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x69,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, m0, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, s1, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x67,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, s103, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x67,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x77,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x77,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_lo_u32 v5, v1, -1 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_lo_u32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x69,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_lo_u32 v5, v1, 0 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_lo_u32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_lo_u32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_lo_u32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_lo_u32 v5, v1, m0 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xcf,0x00,0x00 +# GFX10: v_mul_lo_u32 v5, v1, s103 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x69,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_lo_u32 v5, v1, s2 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xef,0x00,0x00 +# GFX10: v_mul_lo_u32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xef,0x00,0x02] + +0x05,0x00,0x69,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, v1, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_lo_u32 v5, v1, v255 ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_lo_u32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x69,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_lo_u32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x69,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x69,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, v255, v2 ; encoding: [0x05,0x00,0x69,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x69,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_lo_u32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x69,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x0b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x0b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0b,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x0b,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x0b,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0b,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x0b,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x80,0x0b,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_mul_u32_u24_e64 v5, vcc_lo, v2 clamp ; encoding: [0x05,0x80,0x0b,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x50,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mullit_f32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x50,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0xe4 +# GFX10: v_mullit_f32 v5, -v1, -v2, -v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0xe4] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x24 +# GFX10: v_mullit_f32 v5, -v1, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x24] + +0x05,0x00,0x50,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_mullit_f32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_mullit_f32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x44 +# GFX10: v_mullit_f32 v5, v1, -v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x44] + +0x05,0x00,0x50,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_mullit_f32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_mullit_f32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_mullit_f32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_mullit_f32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_mullit_f32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_mullit_f32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_mullit_f32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_mullit_f32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_mullit_f32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x50,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_mullit_f32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x84 +# GFX10: v_mullit_f32 v5, v1, v2, -v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x84] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_mullit_f32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x50,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_mullit_f32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x50,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_mullit_f32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x50,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_mullit_f32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x50,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_mullit_f32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_mullit_f32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_mullit_f32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x50,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_mullit_f32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x50,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_mullit_f32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mullit_f32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x80,0x50,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mullit_f32 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x50,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x1c +# GFX10: v_mullit_f32 v5, v1, v2, v3 div:2 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x1c] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x0c +# GFX10: v_mullit_f32 v5, v1, v2, v3 mul:2 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x0c] + +0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x14 +# GFX10: v_mullit_f32 v5, v1, v2, v3 mul:4 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0x0e,0x14] + +0x05,0x00,0x50,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_mullit_f32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x50,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_mullit_f32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x50,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x04,0x50,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mullit_f32 v5, v1, v2, |v3| ; encoding: [0x05,0x04,0x50,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_mullit_f32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_mullit_f32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x50,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_mullit_f32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x02,0x50,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mullit_f32 v5, v1, |v2|, v3 ; encoding: [0x05,0x02,0x50,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_mullit_f32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x50,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_mullit_f32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x50,0xd5,0x6a,0x04,0x0e,0x04] + +0x05,0x01,0x50,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mullit_f32 v5, |v1|, v2, v3 ; encoding: [0x05,0x01,0x50,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x07,0x50,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_mullit_f32 v5, |v1|, |v2|, |v3| ; encoding: [0x05,0x07,0x50,0xd5,0x01,0x05,0x0e,0x04] + +0xff,0x00,0xb7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_not_b32_e64 v255, v1 ; encoding: [0xff,0x00,0xb7,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, -1 ; encoding: [0x05,0x00,0xb7,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xb7,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, 0 ; encoding: [0x05,0x00,0xb7,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xb7,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xb7,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xb7,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, m0 ; encoding: [0x05,0x00,0xb7,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, s1 ; encoding: [0x05,0x00,0xb7,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, s101 ; encoding: [0x05,0x00,0xb7,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_not_b32_e64 v5, v1 ; encoding: [0x05,0x00,0xb7,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_not_b32_e64 v5, v255 ; encoding: [0x05,0x00,0xb7,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xb7,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xb7,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_not_b32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xb7,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0x72,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_or3_b32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x72,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_or3_b32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x72,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_or3_b32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x72,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_or3_b32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x72,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_or3_b32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x72,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_or3_b32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x72,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_or3_b32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x72,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_or3_b32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x72,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_or3_b32 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x72,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_or3_b32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x72,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_or3_b32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x72,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_or3_b32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x72,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_or3_b32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x72,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_or3_b32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x72,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_or3_b32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x72,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_or3_b32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x72,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_or3_b32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x72,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_or3_b32 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x72,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_or3_b32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x72,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_or3_b32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x72,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_or3_b32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_or3_b32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x72,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_or3_b32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x72,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x72,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_or3_b32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x72,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_or3_b32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x72,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_or3_b32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x72,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_or3_b32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_or3_b32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x72,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x1c,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_or_b32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x1c,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_or_b32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_or_b32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_or_b32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_or_b32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_or_b32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_or_b32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_or_b32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_or_b32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_or_b32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_or_b32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_or_b32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_or_b32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x1c,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_or_b32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x1c,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x1c,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_or_b32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x1c,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_or_b32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x1c,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x11,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v255, v1, v2 ; encoding: [0xff,0x00,0x11,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x11,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, -1, v2 ; encoding: [0x05,0x00,0x11,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x11,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x01,0x05,0x02,0x60 +# GFX10: v_pack_b32_f16 v5, -v1, -v2 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0x05,0x02,0x62] + +0x05,0x00,0x11,0xd7,0x01,0x05,0x02,0x20 +# GFX10: v_pack_b32_f16 v5, -v1, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0x05,0x02,0x22] + +0x05,0x00,0x11,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, 0, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x11,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, m0, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, s1, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, s101, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_pack_b32_f16 v5, v1, -1 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x11,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_pack_b32_f16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x11,0xd7,0x01,0x05,0x02,0x40 +# GFX10: v_pack_b32_f16 v5, v1, -v2 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0x05,0x02,0x42] + +0x05,0x00,0x11,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_pack_b32_f16 v5, v1, 0 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x11,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_pack_b32_f16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x11,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_pack_b32_f16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x11,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x11,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_pack_b32_f16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x11,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x11,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_pack_b32_f16 v5, v1, m0 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x11,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_pack_b32_f16 v5, v1, s101 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x11,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_pack_b32_f16 v5, v1, s2 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x11,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, v1, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x40,0x11,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, v1, v2 op_sel:[0,0,1] ; encoding: [0x05,0x40,0x11,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x10,0x11,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, v1, v2 op_sel:[0,1,0] ; encoding: [0x05,0x10,0x11,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x08,0x11,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x11,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x11,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x11,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_pack_b32_f16 v5, v1, v255 ; encoding: [0x05,0x00,0x11,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x11,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_pack_b32_f16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x11,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x11,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_pack_b32_f16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x11,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x11,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, v1, |v2| ; encoding: [0x05,0x02,0x11,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x11,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, v255, v2 ; encoding: [0x05,0x00,0x11,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x11,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x11,0xd7,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x11,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, |v1|, v2 ; encoding: [0x05,0x01,0x11,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x03,0x11,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_pack_b32_f16 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x11,0xd7,0x01,0x05,0x02,0x02] + +0xff,0x00,0x44,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_perm_b32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x44,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_perm_b32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x44,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_perm_b32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x44,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_perm_b32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x44,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_perm_b32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x44,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_perm_b32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x44,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_perm_b32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x44,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_perm_b32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x44,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_perm_b32 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x44,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_perm_b32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x44,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_perm_b32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x44,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_perm_b32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x44,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_perm_b32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x44,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_perm_b32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x44,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_perm_b32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x44,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_perm_b32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x44,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_perm_b32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x44,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_perm_b32 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x44,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_perm_b32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x44,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_perm_b32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x44,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_perm_b32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_perm_b32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x44,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_perm_b32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x44,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x44,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_perm_b32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x44,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_perm_b32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x44,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_perm_b32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x44,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_perm_b32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x44,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_perm_b32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x44,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x77,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlane16_b32 v255, v1, s2, s3 ; encoding: [0xff,0x00,0x77,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0x01,0x83,0x0d,0x00 +# GFX10: v_permlane16_b32 v5, v1, -1, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x83,0x0d,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xef,0x0d,0x00 +# GFX10: v_permlane16_b32 v5, v1, -4.0, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xef,0x0d,0x00] + +0x05,0x00,0x77,0xd7,0x01,0x01,0x0d,0x00 +# GFX10: v_permlane16_b32 v5, v1, 0, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x01,0x0d,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xe1,0x0d,0x00 +# GFX10: v_permlane16_b32 v5, v1, 0.5, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xe1,0x0d,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xff,0x0d,0x00,0x56,0x34,0x12,0xaf +# GFX10: v_permlane16_b32 v5, v1, 0xaf123456, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xff,0x0d,0x00,0x56,0x34,0x12,0xaf] + +0x05,0x00,0x77,0xd7,0x01,0xff,0x08,0x00 +# GFX10: v_permlane16_b32 v5, v1, exec_hi, s2 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xff,0x08,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xff,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, exec_hi, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xff,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xfd,0x08,0x00 +# GFX10: v_permlane16_b32 v5, v1, exec_lo, s2 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xfd,0x08,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xfd,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, exec_lo, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xfd,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xf9,0x08,0x00 +# GFX10: v_permlane16_b32 v5, v1, m0, s2 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xf9,0x08,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xf9,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, m0, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xf9,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xcf,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, s103, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xcf,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0x01,0x05,0x04,0x03 +# GFX10: v_permlane16_b32 v5, v1, s2, -1 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0x04,0x03] + +0x05,0x00,0x77,0xd7,0x01,0x05,0xdc,0x03 +# GFX10: v_permlane16_b32 v5, v1, s2, -4.0 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0xdc,0x03] + +0x05,0x00,0x77,0xd7,0x01,0x05,0x00,0x02 +# GFX10: v_permlane16_b32 v5, v1, s2, 0 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x77,0xd7,0x01,0x05,0xc0,0x03 +# GFX10: v_permlane16_b32 v5, v1, s2, 0.5 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0xc0,0x03] + +0x05,0x00,0x77,0xd7,0x01,0x05,0xfc,0x03,0x56,0x34,0x12,0xaf +# GFX10: v_permlane16_b32 v5, v1, s2, 0xaf123456 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0xfc,0x03,0x56,0x34,0x12,0xaf] + +0x05,0x00,0x77,0xd7,0x01,0x05,0xfc,0x01 +# GFX10: v_permlane16_b32 v5, v1, s2, exec_hi ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0xfc,0x01] + +0x05,0x00,0x77,0xd7,0x01,0x05,0xf8,0x01 +# GFX10: v_permlane16_b32 v5, v1, s2, exec_lo ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0xf8,0x01] + +0x05,0x00,0x77,0xd7,0x01,0x05,0xf0,0x01 +# GFX10: v_permlane16_b32 v5, v1, s2, m0 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0xf0,0x01] + +0x05,0x00,0x77,0xd7,0x01,0x05,0x9c,0x01 +# GFX10: v_permlane16_b32 v5, v1, s2, s103 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0x9c,0x01] + +0x05,0x00,0x77,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, s2, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x10,0x77,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, s2, s3 op_sel:[0,1] ; encoding: [0x05,0x10,0x77,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x08,0x77,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, s2, s3 op_sel:[1,0] ; encoding: [0x05,0x08,0x77,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x18,0x77,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, s2, s3 op_sel:[1,1] ; encoding: [0x05,0x18,0x77,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0x01,0x05,0xdc,0x01 +# GFX10: v_permlane16_b32 v5, v1, s2, ttmp11 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0xdc,0x01] + +0x05,0x00,0x77,0xd7,0x01,0x05,0xac,0x01 +# GFX10: v_permlane16_b32 v5, v1, s2, vcc_hi ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0xac,0x01] + +0x05,0x00,0x77,0xd7,0x01,0x05,0xa8,0x01 +# GFX10: v_permlane16_b32 v5, v1, s2, vcc_lo ; encoding: [0x05,0x00,0x77,0xd7,0x01,0x05,0xa8,0x01] + +0x05,0x00,0x77,0xd7,0x01,0xef,0x08,0x00 +# GFX10: v_permlane16_b32 v5, v1, ttmp11, s2 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xef,0x08,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xef,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, ttmp11, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xef,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xd7,0x08,0x00 +# GFX10: v_permlane16_b32 v5, v1, vcc_hi, s2 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xd7,0x08,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xd7,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, vcc_hi, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xd7,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xd5,0x08,0x00 +# GFX10: v_permlane16_b32 v5, v1, vcc_lo, s2 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xd5,0x08,0x00] + +0x05,0x00,0x77,0xd7,0x01,0xd5,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v1, vcc_lo, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x01,0xd5,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0x67,0x05,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v103, s2, s3 ; encoding: [0x05,0x00,0x77,0xd7,0x67,0x05,0x0c,0x00] + +0x05,0x00,0x77,0xd7,0xff,0x05,0x0c,0x00 +# GFX10: v_permlane16_b32 v5, v255, s2, s3 ; encoding: [0x05,0x00,0x77,0xd7,0xff,0x05,0x0c,0x00] + +0xff,0x00,0x78,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlanex16_b32 v255, v1, s2, s3 ; encoding: [0xff,0x00,0x78,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0x01,0x83,0x0d,0x00 +# GFX10: v_permlanex16_b32 v5, v1, -1, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x83,0x0d,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xef,0x0d,0x00 +# GFX10: v_permlanex16_b32 v5, v1, -4.0, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xef,0x0d,0x00] + +0x05,0x00,0x78,0xd7,0x01,0x01,0x0d,0x00 +# GFX10: v_permlanex16_b32 v5, v1, 0, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x01,0x0d,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xe1,0x0d,0x00 +# GFX10: v_permlanex16_b32 v5, v1, 0.5, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xe1,0x0d,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xff,0x0d,0x00,0x56,0x34,0x12,0xaf +# GFX10: v_permlanex16_b32 v5, v1, 0xaf123456, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xff,0x0d,0x00,0x56,0x34,0x12,0xaf] + +0x05,0x00,0x78,0xd7,0x01,0xff,0x08,0x00 +# GFX10: v_permlanex16_b32 v5, v1, exec_hi, s2 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xff,0x08,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xff,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, exec_hi, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xff,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xfd,0x08,0x00 +# GFX10: v_permlanex16_b32 v5, v1, exec_lo, s2 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xfd,0x08,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xfd,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, exec_lo, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xfd,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xf9,0x08,0x00 +# GFX10: v_permlanex16_b32 v5, v1, m0, s2 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xf9,0x08,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xf9,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, m0, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xf9,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xcf,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, s103, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xcf,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0x01,0x05,0x04,0x03 +# GFX10: v_permlanex16_b32 v5, v1, s2, -1 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0x04,0x03] + +0x05,0x00,0x78,0xd7,0x01,0x05,0xdc,0x03 +# GFX10: v_permlanex16_b32 v5, v1, s2, -4.0 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0xdc,0x03] + +0x05,0x00,0x78,0xd7,0x01,0x05,0x00,0x02 +# GFX10: v_permlanex16_b32 v5, v1, s2, 0 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x78,0xd7,0x01,0x05,0xc0,0x03 +# GFX10: v_permlanex16_b32 v5, v1, s2, 0.5 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0xc0,0x03] + +0x05,0x00,0x78,0xd7,0x01,0x05,0xfc,0x03,0x56,0x34,0x12,0xaf +# GFX10: v_permlanex16_b32 v5, v1, s2, 0xaf123456 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0xfc,0x03,0x56,0x34,0x12,0xaf] + +0x05,0x00,0x78,0xd7,0x01,0x05,0xfc,0x01 +# GFX10: v_permlanex16_b32 v5, v1, s2, exec_hi ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0xfc,0x01] + +0x05,0x00,0x78,0xd7,0x01,0x05,0xf8,0x01 +# GFX10: v_permlanex16_b32 v5, v1, s2, exec_lo ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0xf8,0x01] + +0x05,0x00,0x78,0xd7,0x01,0x05,0xf0,0x01 +# GFX10: v_permlanex16_b32 v5, v1, s2, m0 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0xf0,0x01] + +0x05,0x00,0x78,0xd7,0x01,0x05,0x9c,0x01 +# GFX10: v_permlanex16_b32 v5, v1, s2, s103 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0x9c,0x01] + +0x05,0x00,0x78,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, s2, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x10,0x78,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, s2, s3 op_sel:[0,1] ; encoding: [0x05,0x10,0x78,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x08,0x78,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, s2, s3 op_sel:[1,0] ; encoding: [0x05,0x08,0x78,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x18,0x78,0xd7,0x01,0x05,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, s2, s3 op_sel:[1,1] ; encoding: [0x05,0x18,0x78,0xd7,0x01,0x05,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0x01,0x05,0xdc,0x01 +# GFX10: v_permlanex16_b32 v5, v1, s2, ttmp11 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0xdc,0x01] + +0x05,0x00,0x78,0xd7,0x01,0x05,0xac,0x01 +# GFX10: v_permlanex16_b32 v5, v1, s2, vcc_hi ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0xac,0x01] + +0x05,0x00,0x78,0xd7,0x01,0x05,0xa8,0x01 +# GFX10: v_permlanex16_b32 v5, v1, s2, vcc_lo ; encoding: [0x05,0x00,0x78,0xd7,0x01,0x05,0xa8,0x01] + +0x05,0x00,0x78,0xd7,0x01,0xef,0x08,0x00 +# GFX10: v_permlanex16_b32 v5, v1, ttmp11, s2 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xef,0x08,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xef,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, ttmp11, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xef,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xd7,0x08,0x00 +# GFX10: v_permlanex16_b32 v5, v1, vcc_hi, s2 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xd7,0x08,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xd7,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, vcc_hi, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xd7,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xd5,0x08,0x00 +# GFX10: v_permlanex16_b32 v5, v1, vcc_lo, s2 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xd5,0x08,0x00] + +0x05,0x00,0x78,0xd7,0x01,0xd5,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v1, vcc_lo, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x01,0xd5,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0x67,0x05,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v103, s2, s3 ; encoding: [0x05,0x00,0x78,0xd7,0x67,0x05,0x0c,0x00] + +0x05,0x00,0x78,0xd7,0xff,0x05,0x0c,0x00 +# GFX10: v_permlanex16_b32 v5, v255, s2, s3 ; encoding: [0x05,0x00,0x78,0xd7,0xff,0x05,0x0c,0x00] + +0xfe,0x00,0x72,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[254:255], v[1:2], v2, v[3:4] ; encoding: [0xfe,0x00,0x72,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], -1, v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], 0, v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], exec, v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0x66,0x04,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], s[102:103], v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x66,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0x02,0x04,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], s[2:3], v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x02,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0x04,0x04,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], s[4:5], v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x04,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0x76,0x04,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], ttmp[10:11], v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x76,0x04,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], -1, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x72,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], 0, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x72,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], exec_hi, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x72,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], exec_lo, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x72,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], m0, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x72,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], s103, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x72,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], s2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x72,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], ttmp11, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x72,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, -1 ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x72,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, 0 ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x72,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, exec ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x72,0xd5,0x01,0x05,0x9a,0x01 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, s[102:103] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0x9a,0x01] + +0x05,0x00,0x72,0xd5,0x01,0x05,0x1a,0x00 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, s[6:7] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x00,0x72,0xd5,0x01,0x05,0x22,0x00 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, s[8:9] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x00,0x72,0xd5,0x01,0x05,0xda,0x01 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, ttmp[10:11] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0xda,0x01] + +0x05,0x00,0x72,0xd5,0x01,0x05,0xfa,0x07 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, v[254:255] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0xfa,0x07] + +0x05,0x00,0x72,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v2, vcc ; encoding: [0x05,0x00,0x72,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x72,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], v255, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x72,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], vcc_hi, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x72,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[1:2], vcc_lo, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x72,0xd5,0xfe,0x05,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], v[254:255], v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0xfe,0x05,0x0e,0x04] + +0x05,0x00,0x72,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_qsad_pk_u16_u8 v[5:6], vcc, v2, v[3:4] ; encoding: [0x05,0x00,0x72,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0xd4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xd4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xd4,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd4,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rcp_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xd4,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xd4,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xd4,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd4,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd4,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd4,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xd4,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xd4,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xd4,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xd4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xd4,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd4,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd4,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd4,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xd4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xd4,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xaa,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xaa,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xaa,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xaa,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rcp_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xaa,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xaa,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xaa,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xaa,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xaa,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xaa,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xaa,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xaa,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xaa,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xaa,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xaa,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xaa,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_rcp_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xaa,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xaa,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_rcp_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xaa,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xaa,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_rcp_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xaa,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xaa,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xaa,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xaa,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xaa,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xaa,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xaa,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xaa,0xd5,0x01,0x01,0x01,0x02] + +0xfe,0x00,0xaf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0xaf,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], -1 ; encoding: [0x05,0x00,0xaf,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0xaf,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rcp_f64_e64 v[5:6], -v[1:2] ; encoding: [0x05,0x00,0xaf,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xaf,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], 0 ; encoding: [0x05,0x00,0xaf,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0xaf,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], exec ; encoding: [0x05,0x00,0xaf,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0xaf,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0xaf,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], s[4:5] ; encoding: [0x05,0x00,0xaf,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], v[1:2] ; encoding: [0x05,0x00,0xaf,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xaf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0xaf,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_rcp_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0xaf,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xaf,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_rcp_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0xaf,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xaf,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_rcp_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0xaf,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xaf,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0xaf,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0xaf,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], vcc ; encoding: [0x05,0x00,0xaf,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xaf,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_f64_e64 v[5:6], |v[1:2]| ; encoding: [0x05,0x01,0xaf,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xab,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xab,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xab,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xab,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xab,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rcp_iflag_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xab,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xab,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xab,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xab,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xab,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xab,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xab,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xab,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xab,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xab,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xab,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xab,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_rcp_iflag_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xab,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xab,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_rcp_iflag_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xab,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xab,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_rcp_iflag_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xab,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xab,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xab,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xab,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xab,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xab,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xab,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rcp_iflag_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xab,0xd5,0x01,0x01,0x01,0x02] + +0x65,0x00,0x60,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_readlane_b32 s101, v1, s2 ; encoding: [0x65,0x00,0x60,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x60,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_readlane_b32 s5, v1, 0 ; encoding: [0x05,0x00,0x60,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x60,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_readlane_b32 s5, v1, m0 ; encoding: [0x05,0x00,0x60,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x60,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_readlane_b32 s5, v1, s101 ; encoding: [0x05,0x00,0x60,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x60,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_readlane_b32 s5, v1, s2 ; encoding: [0x05,0x00,0x60,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x60,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_readlane_b32 s5, v1, vcc_hi ; encoding: [0x05,0x00,0x60,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x60,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_readlane_b32 s5, v1, vcc_lo ; encoding: [0x05,0x00,0x60,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x60,0xd7,0xff,0x05,0x00,0x00 +# GFX10: v_readlane_b32 s5, v255, s2 ; encoding: [0x05,0x00,0x60,0xd7,0xff,0x05,0x00,0x02] + +0xff,0x00,0xde,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xde,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xde,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xde,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xde,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rndne_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xde,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xde,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xde,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xde,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xde,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xde,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xde,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xde,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xde,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xde,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xde,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xde,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xde,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xde,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xde,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xde,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xde,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xde,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xde,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xde,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xa3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xa3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xa3,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xa3,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rndne_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xa3,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xa3,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xa3,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xa3,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xa3,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xa3,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xa3,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xa3,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xa3,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xa3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xa3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xa3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_rndne_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xa3,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xa3,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_rndne_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xa3,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xa3,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_rndne_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xa3,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xa3,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xa3,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xa3,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xa3,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rndne_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xa3,0xd5,0x6a,0x00,0x01,0x02] + +0xfe,0x00,0x99,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0x99,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x99,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], -1 ; encoding: [0x05,0x00,0x99,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x99,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0x99,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x99,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rndne_f64_e64 v[5:6], -v[1:2] ; encoding: [0x05,0x00,0x99,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x99,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], 0 ; encoding: [0x05,0x00,0x99,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x99,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0x99,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x99,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], exec ; encoding: [0x05,0x00,0x99,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x99,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0x99,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0x99,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0x99,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0x99,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], s[4:5] ; encoding: [0x05,0x00,0x99,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0x99,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], v[1:2] ; encoding: [0x05,0x00,0x99,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x99,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0x99,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x99,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_rndne_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0x99,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x99,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_rndne_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0x99,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x99,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_rndne_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0x99,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x99,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0x99,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0x99,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rndne_f64_e64 v[5:6], vcc ; encoding: [0x05,0x00,0x99,0xd5,0x6a,0x00,0x01,0x02] + +0xff,0x00,0xd6,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xd6,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xd6,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd6,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rsq_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xd6,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xd6,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xd6,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd6,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd6,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd6,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xd6,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xd6,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xd6,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xd6,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd6,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd6,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xd6,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd6,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd6,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd6,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xd6,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xd6,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xae,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xae,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xae,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xae,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xae,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rsq_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xae,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xae,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xae,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xae,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xae,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xae,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xae,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xae,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xae,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xae,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xae,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xae,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_rsq_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xae,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xae,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_rsq_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xae,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xae,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_rsq_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xae,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xae,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xae,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xae,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xae,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xae,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xae,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xae,0xd5,0x01,0x01,0x01,0x02] + +0xfe,0x00,0xb1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0xb1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], -1 ; encoding: [0x05,0x00,0xb1,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0xb1,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_rsq_f64_e64 v[5:6], -v[1:2] ; encoding: [0x05,0x00,0xb1,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xb1,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], 0 ; encoding: [0x05,0x00,0xb1,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0xb1,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], exec ; encoding: [0x05,0x00,0xb1,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0xb1,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0xb1,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], s[4:5] ; encoding: [0x05,0x00,0xb1,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], v[1:2] ; encoding: [0x05,0x00,0xb1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xb1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0xb1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_rsq_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0xb1,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xb1,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_rsq_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0xb1,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xb1,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_rsq_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0xb1,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xb1,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0xb1,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0xb1,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], vcc ; encoding: [0x05,0x00,0xb1,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xb1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_rsq_f64_e64 v[5:6], |v[1:2]| ; encoding: [0x05,0x01,0xb1,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x5b,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_sad_hi_u8 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x5b,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_sad_hi_u8 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_sad_hi_u8 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_sad_hi_u8 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_sad_hi_u8 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_sad_hi_u8 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_sad_hi_u8 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_sad_hi_u8 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_sad_hi_u8 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_sad_hi_u8 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_sad_hi_u8 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_sad_hi_u8 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_sad_hi_u8 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_sad_hi_u8 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_sad_hi_u8 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_sad_hi_u8 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_sad_hi_u8 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_sad_hi_u8 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_sad_hi_u8 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_sad_hi_u8 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_sad_hi_u8 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_sad_hi_u8 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_sad_hi_u8 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x5b,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_sad_hi_u8 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x5b,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_sad_hi_u8 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_sad_hi_u8 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x5b,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_sad_hi_u8 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x5b,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x5b,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_sad_hi_u8 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x5b,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x5c,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_sad_u16 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x5c,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_sad_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_sad_u16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_sad_u16 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_sad_u16 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_sad_u16 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_sad_u16 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_sad_u16 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_sad_u16 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_sad_u16 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_sad_u16 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_sad_u16 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_sad_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_sad_u16 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_sad_u16 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_sad_u16 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_sad_u16 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_sad_u16 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_sad_u16 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_sad_u16 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_sad_u16 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_sad_u16 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_sad_u16 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_sad_u16 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x5c,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_sad_u16 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x5c,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_sad_u16 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_sad_u16 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x5c,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_sad_u16 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x5c,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_sad_u16 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x5c,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_sad_u16 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x5c,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x5d,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_sad_u32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x5d,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_sad_u32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_sad_u32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_sad_u32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_sad_u32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_sad_u32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_sad_u32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_sad_u32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_sad_u32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_sad_u32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_sad_u32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_sad_u32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_sad_u32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_sad_u32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_sad_u32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_sad_u32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_sad_u32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_sad_u32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_sad_u32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_sad_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_sad_u32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_sad_u32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_sad_u32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_sad_u32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x5d,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_sad_u32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x5d,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_sad_u32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_sad_u32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x5d,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_sad_u32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x5d,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_sad_u32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x5d,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_sad_u32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x5d,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x5a,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_sad_u8 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x5a,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_sad_u8 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_sad_u8 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_sad_u8 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_sad_u8 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_sad_u8 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_sad_u8 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_sad_u8 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_sad_u8 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_sad_u8 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_sad_u8 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_sad_u8 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_sad_u8 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_sad_u8 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_sad_u8 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_sad_u8 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_sad_u8 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_sad_u8 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_sad_u8 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_sad_u8 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_sad_u8 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_sad_u8 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_sad_u8 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_sad_u8 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x5a,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_sad_u8 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x5a,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_sad_u8 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_sad_u8 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x5a,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_sad_u8 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x5a,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_sad_u8 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x5a,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_sad_u8 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x5a,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0xe0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sin_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xe0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xe0,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xe0,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_sin_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xe0,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xe0,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xe0,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xe0,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xe0,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xe0,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xe0,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xe0,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xe0,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xe0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xe0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xe0,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xe0,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xe0,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xe0,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xe0,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xe0,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sin_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xe0,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xb5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sin_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xb5,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xb5,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xb5,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_sin_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xb5,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xb5,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xb5,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xb5,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xb5,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xb5,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xb5,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xb5,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xb5,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xb5,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xb5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xb5,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_sin_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xb5,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xb5,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_sin_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xb5,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xb5,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_sin_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xb5,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xb5,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xb5,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xb5,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xb5,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xb5,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xb5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sin_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xb5,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xd5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xd5,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xd5,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xd5,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_sqrt_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xd5,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xd5,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xd5,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xd5,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xd5,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xd5,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xd5,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xd5,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xd5,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xd5,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xd5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xd5,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xd5,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xd5,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xd5,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xd5,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xd5,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xd5,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xb3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xb3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xb3,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xb3,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_sqrt_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xb3,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xb3,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xb3,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xb3,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xb3,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xb3,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xb3,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xb3,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xb3,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xb3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xb3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xb3,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_sqrt_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xb3,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xb3,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_sqrt_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xb3,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xb3,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_sqrt_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xb3,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xb3,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xb3,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xb3,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xb3,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xb3,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xb3,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f32_e64 v5, |v1| ; encoding: [0x05,0x01,0xb3,0xd5,0x01,0x01,0x01,0x02] + +0xfe,0x00,0xb4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0xb4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], -1 ; encoding: [0x05,0x00,0xb4,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0xb4,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_sqrt_f64_e64 v[5:6], -v[1:2] ; encoding: [0x05,0x00,0xb4,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xb4,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], 0 ; encoding: [0x05,0x00,0xb4,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0xb4,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], exec ; encoding: [0x05,0x00,0xb4,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0xb4,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0xb4,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], s[4:5] ; encoding: [0x05,0x00,0xb4,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], v[1:2] ; encoding: [0x05,0x00,0xb4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xb4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0xb4,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_sqrt_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0xb4,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xb4,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_sqrt_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0xb4,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xb4,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_sqrt_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0xb4,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xb4,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0xb4,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0xb4,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], vcc ; encoding: [0x05,0x00,0xb4,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xb4,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_sqrt_f64_e64 v[5:6], |v[1:2]| ; encoding: [0x05,0x01,0xb4,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x0c,0x29,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v255, s12, v1, v2, s6 ; encoding: [0xff,0x0c,0x29,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v255, s[12:13], v1, v2, s[6:7] ; encoding: [0xff,0x0c,0x29,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x66,0x29,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s102, v1, v2, s6 ; encoding: [0x05,0x66,0x29,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[102:103], v1, v2, s[6:7] ; encoding: [0x05,0x66,0x29,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x0c,0x29,0xd5,0xc1,0x04,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, -1, v2, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0xc1,0x04,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], -1, v2, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0xc1,0x04,0x1a,0x00] + +0x05,0x0c,0x29,0xd5,0xf7,0x04,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, -4.0, v2, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0xf7,0x04,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], -4.0, v2, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0xf7,0x04,0x1a,0x00] + +0x05,0x0c,0x29,0xd5,0x80,0x04,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, 0, v2, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0x80,0x04,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], 0, v2, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0x80,0x04,0x1a,0x00] + +0x05,0x0c,0x29,0xd5,0xf0,0x04,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, 0.5, v2, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0xf0,0x04,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], 0.5, v2, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0xf0,0x04,0x1a,0x00] + +0x05,0x0c,0x29,0xd5,0x01,0x83,0x19,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, v1, -1, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x83,0x19,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, -1, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x83,0x19,0x00] + +0x05,0x0c,0x29,0xd5,0x01,0xef,0x19,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, v1, -4.0, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0xef,0x19,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, -4.0, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0xef,0x19,0x00] + +0x05,0x0c,0x29,0xd5,0x01,0x01,0x19,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, v1, 0, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x01,0x19,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, 0, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x01,0x19,0x00] + +0x05,0x0c,0x29,0xd5,0x01,0xe1,0x19,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, v1, 0.5, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0xe1,0x19,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, 0.5, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0xe1,0x19,0x00] + +0x05,0x0c,0x29,0xd5,0x01,0x05,0x9a,0x01 +# W32: v_sub_co_ci_u32_e64 v5, s12, v1, v2, s102 ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x05,0x9a,0x01] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, v2, s[102:103] ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x05,0x9a,0x01] + +0x05,0x0c,0x29,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, v1, v2, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x0c,0x29,0xd5,0x01,0x05,0x22,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, v1, v2, s8 ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x05,0x22,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x0c,0x29,0xd5,0x01,0x05,0xaa,0x01 +# W32: v_sub_co_ci_u32_e64 v5, s12, v1, v2, vcc_lo ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x05,0xaa,0x01] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x0c,0x29,0xd5,0x01,0xff,0x1b,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, v1, v255, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0xff,0x1b,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v1, v255, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0x01,0xff,0x1b,0x00] + +0x05,0x0c,0x29,0xd5,0xff,0x05,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s12, v255, v2, s6 ; encoding: [0x05,0x0c,0x29,0xd5,0xff,0x05,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[12:13], v255, v2, s[6:7] ; encoding: [0x05,0x0c,0x29,0xd5,0xff,0x05,0x1a,0x00] + +0x05,0x0e,0x29,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v5, s14, v1, v2, s6 ; encoding: [0x05,0x0e,0x29,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v5, s[14:15], v1, v2, s[6:7] ; encoding: [0x05,0x0e,0x29,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x6a,0x29,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_sub_co_ci_u32_e64 v5, vcc_lo, v1, v2, s6 ; encoding: [0x05,0x6a,0x29,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_sub_co_ci_u32_e64 v5, vcc, v1, v2, s[6:7] ; encoding: [0x05,0x6a,0x29,0xd5,0x01,0x05,0x1a,0x00] + +0xff,0x00,0x10,0xd7,0x01,0x05,0x02,0x00 +# W32: v_sub_co_u32 v255, s0, v1, v2 ; encoding: [0xff,0x00,0x10,0xd7,0x01,0x05,0x02,0x02] +# W64: v_sub_co_u32 v255, s[0:1], v1, v2 ; encoding: [0xff,0x00,0x10,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x10,0xd7,0xc1,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, -1, v2 ; encoding: [0x05,0x00,0x10,0xd7,0xc1,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], -1, v2 ; encoding: [0x05,0x00,0x10,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0xf7,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, -4.0, v2 ; encoding: [0x05,0x00,0x10,0xd7,0xf7,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], -4.0, v2 ; encoding: [0x05,0x00,0x10,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x80,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, 0, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x80,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], 0, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0xf0,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, 0.5, v2 ; encoding: [0x05,0x00,0x10,0xd7,0xf0,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], 0.5, v2 ; encoding: [0x05,0x00,0x10,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x7f,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, exec_hi, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x7f,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], exec_hi, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x7e,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, exec_lo, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x7e,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], exec_lo, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x7c,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, m0, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x7c,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], m0, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x01,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, s1, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], s1, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x67,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, s103, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x67,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], s103, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x77,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, ttmp11, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x77,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], ttmp11, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x01,0x83,0x01,0x00 +# W32: v_sub_co_u32 v5, s0, v1, -1 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x83,0x01,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, -1 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xef,0x01,0x00 +# W32: v_sub_co_u32 v5, s0, v1, -4.0 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xef,0x01,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, -4.0 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x10,0xd7,0x01,0x01,0x01,0x00 +# W32: v_sub_co_u32 v5, s0, v1, 0 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x01,0x01,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, 0 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xe1,0x01,0x00 +# W32: v_sub_co_u32 v5, s0, v1, 0.5 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xe1,0x01,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, 0.5 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xff,0x00,0x00 +# W32: v_sub_co_u32 v5, s0, v1, exec_hi ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xff,0x00,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, exec_hi ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xfd,0x00,0x00 +# W32: v_sub_co_u32 v5, s0, v1, exec_lo ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xfd,0x00,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, exec_lo ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xf9,0x00,0x00 +# W32: v_sub_co_u32 v5, s0, v1, m0 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xf9,0x00,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, m0 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xcf,0x00,0x00 +# W32: v_sub_co_u32 v5, s0, v1, s103 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xcf,0x00,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, s103 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x10,0xd7,0x01,0x05,0x00,0x00 +# W32: v_sub_co_u32 v5, s0, v1, s2 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x05,0x00,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, s2 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xef,0x00,0x00 +# W32: v_sub_co_u32 v5, s0, v1, ttmp11 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xef,0x00,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, ttmp11 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x10,0xd7,0x01,0x05,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, v1, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x05,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xff,0x03,0x00 +# W32: v_sub_co_u32 v5, s0, v1, v255 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xff,0x03,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, v255 ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xd7,0x00,0x00 +# W32: v_sub_co_u32 v5, s0, v1, vcc_hi ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xd7,0x00,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, vcc_hi ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x10,0xd7,0x01,0xd5,0x00,0x00 +# W32: v_sub_co_u32 v5, s0, v1, vcc_lo ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xd5,0x00,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v1, vcc_lo ; encoding: [0x05,0x00,0x10,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x10,0xd7,0xff,0x05,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, v255, v2 ; encoding: [0x05,0x00,0x10,0xd7,0xff,0x05,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], v255, v2 ; encoding: [0x05,0x00,0x10,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x6b,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, vcc_hi, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x6b,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], vcc_hi, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x10,0xd7,0x6a,0x04,0x02,0x00 +# W32: v_sub_co_u32 v5, s0, vcc_lo, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x6a,0x04,0x02,0x02] +# W64: v_sub_co_u32 v5, s[0:1], vcc_lo, v2 ; encoding: [0x05,0x00,0x10,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x33,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f16_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x33,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x33,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x33,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x33,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_sub_f16_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x33,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_sub_f16_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x33,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x33,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_sub_f16_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x33,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_sub_f16_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x33,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_sub_f16_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x33,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_sub_f16_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x33,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_sub_f16_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x33,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_sub_f16_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x33,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x33,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_sub_f16_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x33,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x33,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_sub_f16_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x33,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_sub_f16_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x33,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_sub_f16_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x33,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x33,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x33,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_sub_f16_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x33,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x33,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_sub_f16_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x33,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x33,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_sub_f16_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x33,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x33,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x33,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x33,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x33,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x33,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x33,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x33,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x33,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x33,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f16_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x33,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x04,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x04,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x04,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x04,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x04,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_sub_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_sub_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x04,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x04,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_sub_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x04,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_sub_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_sub_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x04,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_sub_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x04,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_sub_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x04,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_sub_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x04,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x04,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_sub_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x04,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x04,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_sub_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x04,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_sub_f32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x04,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_sub_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x04,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x04,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_sub_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_sub_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_sub_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x04,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_sub_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x04,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x04,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_sub_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x04,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x04,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_sub_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x04,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x04,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x04,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x04,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x04,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x04,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x04,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x04,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x04,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x04,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x0e,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_i16 v255, v1, v2 ; encoding: [0xff,0x00,0x0e,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, -1, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, 0, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, m0, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, s1, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, s101, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_sub_nc_i16 v5, v1, -1 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_sub_nc_i16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_sub_nc_i16 v5, v1, 0 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_sub_nc_i16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_sub_nc_i16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_sub_nc_i16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_sub_nc_i16 v5, v1, m0 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_sub_nc_i16 v5, v1, s101 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_sub_nc_i16 v5, v1, s2 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, v1, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_sub_nc_i16 v5, v1, v255 ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_sub_nc_i16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x0e,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_sub_nc_i16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x0e,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x0e,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, v255, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x0e,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_sub_nc_i16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x0e,0xd7,0x6a,0x04,0x02,0x02] + +0x01,0x80,0x76,0xd7,0x02,0x07,0x02,0x00 +# GFX10: v_sub_nc_i32 v1, v2, v3 clamp ; encoding: [0x01,0x80,0x76,0xd7,0x02,0x07,0x02,0x02] + +0xff,0x00,0x76,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_i32 v255, v1, v2 ; encoding: [0xff,0x00,0x76,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x76,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, -1, v2 ; encoding: [0x05,0x00,0x76,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, -4.0, v2 ; encoding: [0x05,0x00,0x76,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, 0, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, 0.5, v2 ; encoding: [0x05,0x00,0x76,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, m0, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, s1, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x67,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, s103, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x77,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, ttmp11, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_sub_nc_i32 v5, v1, -1 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_sub_nc_i32 v5, v1, -4.0 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x76,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_sub_nc_i32 v5, v1, 0 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_sub_nc_i32 v5, v1, 0.5 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_sub_nc_i32 v5, v1, exec_hi ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_sub_nc_i32 v5, v1, exec_lo ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_sub_nc_i32 v5, v1, m0 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xcf,0x00,0x00 +# GFX10: v_sub_nc_i32 v5, v1, s103 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x76,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_sub_nc_i32 v5, v1, s2 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xef,0x00,0x00 +# GFX10: v_sub_nc_i32 v5, v1, ttmp11 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x76,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, v1, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_sub_nc_i32 v5, v1, v255 ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_sub_nc_i32 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x76,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_sub_nc_i32 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x76,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x76,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, v255, v2 ; encoding: [0x05,0x00,0x76,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x76,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_sub_nc_i32 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x76,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x04,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_u16 v255, v1, v2 ; encoding: [0xff,0x00,0x04,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x04,0xd7,0xc1,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, -1, v2 ; encoding: [0x05,0x00,0x04,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0xf7,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, -4.0, v2 ; encoding: [0x05,0x00,0x04,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x80,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, 0, v2 ; encoding: [0x05,0x00,0x04,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0xf0,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, 0.5, v2 ; encoding: [0x05,0x00,0x04,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x7f,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x04,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x7e,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x04,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x7c,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, m0, v2 ; encoding: [0x05,0x00,0x04,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x01,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, s1, v2 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x65,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, s101, v2 ; encoding: [0x05,0x00,0x04,0xd7,0x65,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x01,0x83,0x01,0x00 +# GFX10: v_sub_nc_u16 v5, v1, -1 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x04,0xd7,0x01,0xef,0x01,0x00 +# GFX10: v_sub_nc_u16 v5, v1, -4.0 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x04,0xd7,0x01,0x01,0x01,0x00 +# GFX10: v_sub_nc_u16 v5, v1, 0 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x04,0xd7,0x01,0xe1,0x01,0x00 +# GFX10: v_sub_nc_u16 v5, v1, 0.5 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x04,0xd7,0x01,0xff,0x00,0x00 +# GFX10: v_sub_nc_u16 v5, v1, exec_hi ; encoding: [0x05,0x00,0x04,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x04,0xd7,0x01,0xfd,0x00,0x00 +# GFX10: v_sub_nc_u16 v5, v1, exec_lo ; encoding: [0x05,0x00,0x04,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x04,0xd7,0x01,0xf9,0x00,0x00 +# GFX10: v_sub_nc_u16 v5, v1, m0 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x04,0xd7,0x01,0xcb,0x00,0x00 +# GFX10: v_sub_nc_u16 v5, v1, s101 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x04,0xd7,0x01,0x05,0x00,0x00 +# GFX10: v_sub_nc_u16 v5, v1, s2 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x04,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, v1, v2 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x40,0x04,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, v1, v2 op_sel:[0,0,1] ; encoding: [0x05,0x40,0x04,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x10,0x04,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, v1, v2 op_sel:[0,1,0] ; encoding: [0x05,0x10,0x04,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x08,0x04,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, v1, v2 op_sel:[1,0,0] ; encoding: [0x05,0x08,0x04,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x58,0x04,0xd7,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, v1, v2 op_sel:[1,1,1] ; encoding: [0x05,0x58,0x04,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x01,0xff,0x03,0x00 +# GFX10: v_sub_nc_u16 v5, v1, v255 ; encoding: [0x05,0x00,0x04,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x04,0xd7,0x01,0xd7,0x00,0x00 +# GFX10: v_sub_nc_u16 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x04,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x04,0xd7,0x01,0xd5,0x00,0x00 +# GFX10: v_sub_nc_u16 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x04,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x04,0xd7,0xff,0x05,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, v255, v2 ; encoding: [0x05,0x00,0x04,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x6b,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x04,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x04,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x04,0xd7,0x6a,0x04,0x02,0x02] + +0x05,0x80,0x04,0xd7,0x6a,0x04,0x02,0x00 +# GFX10: v_sub_nc_u16 v5, vcc_lo, v2 clamp ; encoding: [0x05,0x80,0x04,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x26,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x26,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x26,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x26,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x26,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x26,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x26,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x26,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x26,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x26,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x26,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x26,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x26,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x26,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x26,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x26,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x26,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x26,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x26,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x26,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x26,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x26,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x26,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x26,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x26,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x26,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x26,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x26,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x26,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x26,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x26,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_sub_nc_u32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x26,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x0c,0x2a,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v255, s12, v1, v2, s6 ; encoding: [0xff,0x0c,0x2a,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v255, s[12:13], v1, v2, s[6:7] ; encoding: [0xff,0x0c,0x2a,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x66,0x2a,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s102, v1, v2, s6 ; encoding: [0x05,0x66,0x2a,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[102:103], v1, v2, s[6:7] ; encoding: [0x05,0x66,0x2a,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x0c,0x2a,0xd5,0xc1,0x04,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, -1, v2, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0xc1,0x04,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], -1, v2, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0xc1,0x04,0x1a,0x00] + +0x05,0x0c,0x2a,0xd5,0xf7,0x04,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, -4.0, v2, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0xf7,0x04,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], -4.0, v2, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0xf7,0x04,0x1a,0x00] + +0x05,0x0c,0x2a,0xd5,0x80,0x04,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, 0, v2, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0x80,0x04,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], 0, v2, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0x80,0x04,0x1a,0x00] + +0x05,0x0c,0x2a,0xd5,0xf0,0x04,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, 0.5, v2, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0xf0,0x04,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], 0.5, v2, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0xf0,0x04,0x1a,0x00] + +0x05,0x0c,0x2a,0xd5,0x01,0x83,0x19,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v1, -1, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x83,0x19,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, -1, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x83,0x19,0x00] + +0x05,0x0c,0x2a,0xd5,0x01,0xef,0x19,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v1, -4.0, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0xef,0x19,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, -4.0, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0xef,0x19,0x00] + +0x05,0x0c,0x2a,0xd5,0x01,0x01,0x19,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v1, 0, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x01,0x19,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, 0, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x01,0x19,0x00] + +0x05,0x0c,0x2a,0xd5,0x01,0xe1,0x19,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v1, 0.5, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0xe1,0x19,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, 0.5, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0xe1,0x19,0x00] + +0x05,0x0c,0x2a,0xd5,0x01,0x05,0x9a,0x01 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v1, v2, s102 ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x05,0x9a,0x01] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, v2, s[102:103] ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x05,0x9a,0x01] + +0x05,0x0c,0x2a,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v1, v2, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, v2, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x0c,0x2a,0xd5,0x01,0x05,0x22,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v1, v2, s8 ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x05,0x22,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, v2, s[8:9] ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x05,0x22,0x00] + +0x05,0x0c,0x2a,0xd5,0x01,0x05,0xaa,0x01 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v1, v2, vcc_lo ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x05,0xaa,0x01] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, v2, vcc ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x0c,0x2a,0xd5,0x01,0xff,0x1b,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v1, v255, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0xff,0x1b,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v1, v255, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0x01,0xff,0x1b,0x00] + +0x05,0x0c,0x2a,0xd5,0xff,0x05,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s12, v255, v2, s6 ; encoding: [0x05,0x0c,0x2a,0xd5,0xff,0x05,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[12:13], v255, v2, s[6:7] ; encoding: [0x05,0x0c,0x2a,0xd5,0xff,0x05,0x1a,0x00] + +0x05,0x0e,0x2a,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, s14, v1, v2, s6 ; encoding: [0x05,0x0e,0x2a,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, s[14:15], v1, v2, s[6:7] ; encoding: [0x05,0x0e,0x2a,0xd5,0x01,0x05,0x1a,0x00] + +0x05,0x6a,0x2a,0xd5,0x01,0x05,0x1a,0x00 +# W32: v_subrev_co_ci_u32_e64 v5, vcc_lo, v1, v2, s6 ; encoding: [0x05,0x6a,0x2a,0xd5,0x01,0x05,0x1a,0x00] +# W64: v_subrev_co_ci_u32_e64 v5, vcc, v1, v2, s[6:7] ; encoding: [0x05,0x6a,0x2a,0xd5,0x01,0x05,0x1a,0x00] + +0xff,0x00,0x19,0xd7,0x01,0x05,0x02,0x00 +# W32: v_subrev_co_u32 v255, s0, v1, v2 ; encoding: [0xff,0x00,0x19,0xd7,0x01,0x05,0x02,0x02] +# W64: v_subrev_co_u32 v255, s[0:1], v1, v2 ; encoding: [0xff,0x00,0x19,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x19,0xd7,0xc1,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, -1, v2 ; encoding: [0x05,0x00,0x19,0xd7,0xc1,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], -1, v2 ; encoding: [0x05,0x00,0x19,0xd7,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0xf7,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, -4.0, v2 ; encoding: [0x05,0x00,0x19,0xd7,0xf7,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], -4.0, v2 ; encoding: [0x05,0x00,0x19,0xd7,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x80,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, 0, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x80,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], 0, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x80,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0xf0,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, 0.5, v2 ; encoding: [0x05,0x00,0x19,0xd7,0xf0,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], 0.5, v2 ; encoding: [0x05,0x00,0x19,0xd7,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x7f,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, exec_hi, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x7f,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], exec_hi, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x7e,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, exec_lo, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x7e,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], exec_lo, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x7c,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, m0, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x7c,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], m0, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x01,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, s1, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], s1, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x67,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, s103, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x67,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], s103, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x67,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x77,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, ttmp11, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x77,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], ttmp11, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x77,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x01,0x83,0x01,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, -1 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x83,0x01,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, -1 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x83,0x01,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xef,0x01,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, -4.0 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xef,0x01,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, -4.0 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xef,0x01,0x02] + +0x05,0x00,0x19,0xd7,0x01,0x01,0x01,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, 0 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x01,0x01,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, 0 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x01,0x01,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xe1,0x01,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, 0.5 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xe1,0x01,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, 0.5 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xff,0x00,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, exec_hi ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xff,0x00,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, exec_hi ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xff,0x00,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xfd,0x00,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, exec_lo ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xfd,0x00,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, exec_lo ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xf9,0x00,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, m0 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xf9,0x00,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, m0 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xcf,0x00,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, s103 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xcf,0x00,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, s103 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x19,0xd7,0x01,0x05,0x00,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, s2 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x05,0x00,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, s2 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x05,0x00,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xef,0x00,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, ttmp11 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xef,0x00,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, ttmp11 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xef,0x00,0x02] + +0x05,0x00,0x19,0xd7,0x01,0x05,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x05,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xff,0x03,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, v255 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xff,0x03,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, v255 ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xff,0x03,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xd7,0x00,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, vcc_hi ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xd7,0x00,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, vcc_hi ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x19,0xd7,0x01,0xd5,0x00,0x00 +# W32: v_subrev_co_u32 v5, s0, v1, vcc_lo ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xd5,0x00,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v1, vcc_lo ; encoding: [0x05,0x00,0x19,0xd7,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x19,0xd7,0xff,0x05,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, v255, v2 ; encoding: [0x05,0x00,0x19,0xd7,0xff,0x05,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], v255, v2 ; encoding: [0x05,0x00,0x19,0xd7,0xff,0x05,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x6b,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, vcc_hi, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x6b,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], vcc_hi, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x19,0xd7,0x6a,0x04,0x02,0x00 +# W32: v_subrev_co_u32 v5, s0, vcc_lo, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x6a,0x04,0x02,0x02] +# W64: v_subrev_co_u32 v5, s[0:1], vcc_lo, v2 ; encoding: [0x05,0x00,0x19,0xd7,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x34,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f16_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x34,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x34,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x34,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x34,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_subrev_f16_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x34,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_subrev_f16_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x34,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x34,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x34,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x34,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_subrev_f16_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x34,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x34,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x34,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x34,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x34,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x34,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x34,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x34,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x34,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x34,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x34,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x34,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x34,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x34,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x34,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x34,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x34,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x34,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x34,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x34,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x34,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x34,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x34,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x34,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x34,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x34,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f16_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x34,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x05,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x05,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x05,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x05,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x05,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x60 +# GFX10: v_subrev_f32_e64 v5, -v1, -v2 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x62] + +0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_subrev_f32_e64 v5, -v1, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x05,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x05,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x05,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x40 +# GFX10: v_subrev_f32_e64 v5, v1, -v2 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x42] + +0x05,0x00,0x05,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x05,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x05,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x05,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x05,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x05,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x05,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x05,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x05,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x05,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, v2 clamp ; encoding: [0x05,0x80,0x05,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_subrev_f32_e64 v5, v1, v2 div:2 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_subrev_f32_e64 v5, v1, v2 mul:2 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_subrev_f32_e64 v5, v1, v2 mul:4 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x05,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x05,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x05,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x05,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x05,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x05,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x02,0x05,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, v1, |v2| ; encoding: [0x05,0x02,0x05,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x05,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x05,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x05,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x05,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x05,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, |v1|, v2 ; encoding: [0x05,0x01,0x05,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x03,0x05,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_f32_e64 v5, |v1|, |v2| ; encoding: [0x05,0x03,0x05,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0x27,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x27,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x27,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x27,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x27,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x27,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x27,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x27,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x27,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x27,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x27,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x27,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x27,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x27,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x27,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x27,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x27,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x27,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x27,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x27,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x27,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x27,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x27,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x27,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x27,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x27,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x27,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x27,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x27,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x27,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x27,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_subrev_nc_u32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x27,0xd5,0x6a,0x04,0x02,0x02] + +0xfe,0x00,0x74,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_trig_preop_f64 v[254:255], v[1:2], v2 ; encoding: [0xfe,0x00,0x74,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x74,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], -1, v2 ; encoding: [0x05,0x00,0x74,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x74,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], -4.0, v2 ; encoding: [0x05,0x00,0x74,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x20 +# GFX10: v_trig_preop_f64 v[5:6], -v[1:2], v2 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x22] + +0x05,0x00,0x74,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], 0, v2 ; encoding: [0x05,0x00,0x74,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x74,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], 0.5, v2 ; encoding: [0x05,0x00,0x74,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x74,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], exec, v2 ; encoding: [0x05,0x00,0x74,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x74,0xd5,0x66,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], s[102:103], v2 ; encoding: [0x05,0x00,0x74,0xd5,0x66,0x04,0x02,0x02] + +0x05,0x00,0x74,0xd5,0x02,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], s[2:3], v2 ; encoding: [0x05,0x00,0x74,0xd5,0x02,0x04,0x02,0x02] + +0x05,0x00,0x74,0xd5,0x04,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], s[4:5], v2 ; encoding: [0x05,0x00,0x74,0xd5,0x04,0x04,0x02,0x02] + +0x05,0x00,0x74,0xd5,0x76,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], ttmp[10:11], v2 ; encoding: [0x05,0x00,0x74,0xd5,0x76,0x04,0x02,0x02] + +0x05,0x00,0x74,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], -1 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x74,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], -4.0 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x74,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], 0 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x74,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], 0.5 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x74,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], exec_hi ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x74,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], exec_lo ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x74,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], m0 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x74,0xd5,0x01,0xcf,0x00,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], s103 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xcf,0x00,0x02] + +0x05,0x00,0x74,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], s2 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x74,0xd5,0x01,0xef,0x00,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], ttmp11 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xef,0x00,0x02] + +0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], v2 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x80,0x74,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], v2 clamp ; encoding: [0x05,0x80,0x74,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x18 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], v2 div:2 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x1a] + +0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x08 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], v2 mul:2 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x0a] + +0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x10 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], v2 mul:4 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0x05,0x02,0x12] + +0x05,0x00,0x74,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], v255 ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x74,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], vcc_hi ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x74,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[1:2], vcc_lo ; encoding: [0x05,0x00,0x74,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x74,0xd5,0xfe,0x05,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], v[254:255], v2 ; encoding: [0x05,0x00,0x74,0xd5,0xfe,0x05,0x02,0x02] + +0x05,0x00,0x74,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], vcc, v2 ; encoding: [0x05,0x00,0x74,0xd5,0x6a,0x04,0x02,0x02] + +0x05,0x01,0x74,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_trig_preop_f64 v[5:6], |v[1:2]|, v2 ; encoding: [0x05,0x01,0x74,0xd5,0x01,0x05,0x02,0x02] + +0xff,0x00,0xdd,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f16_e64 v255, v1 ; encoding: [0xff,0x00,0xdd,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, -1 ; encoding: [0x05,0x00,0xdd,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, -4.0 ; encoding: [0x05,0x00,0xdd,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_trunc_f16_e64 v5, -v1 ; encoding: [0x05,0x00,0xdd,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xdd,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, 0 ; encoding: [0x05,0x00,0xdd,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, 0.5 ; encoding: [0x05,0x00,0xdd,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, exec_hi ; encoding: [0x05,0x00,0xdd,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, exec_lo ; encoding: [0x05,0x00,0xdd,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, m0 ; encoding: [0x05,0x00,0xdd,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, s1 ; encoding: [0x05,0x00,0xdd,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, s101 ; encoding: [0x05,0x00,0xdd,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, v1 ; encoding: [0x05,0x00,0xdd,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xdd,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xdd,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, v255 ; encoding: [0x05,0x00,0xdd,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xdd,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xdd,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xdd,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0xdd,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f16_e64 v5, |v1| ; encoding: [0x05,0x01,0xdd,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0xa1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f32_e64 v255, v1 ; encoding: [0xff,0x00,0xa1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, -1 ; encoding: [0x05,0x00,0xa1,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, -4.0 ; encoding: [0x05,0x00,0xa1,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_trunc_f32_e64 v5, -v1 ; encoding: [0x05,0x00,0xa1,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0xa1,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, 0 ; encoding: [0x05,0x00,0xa1,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, 0.5 ; encoding: [0x05,0x00,0xa1,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x7f,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, exec_hi ; encoding: [0x05,0x00,0xa1,0xd5,0x7f,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, exec_lo ; encoding: [0x05,0x00,0xa1,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x7c,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, m0 ; encoding: [0x05,0x00,0xa1,0xd5,0x7c,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x01,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, s1 ; encoding: [0x05,0x00,0xa1,0xd5,0x01,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x65,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, s101 ; encoding: [0x05,0x00,0xa1,0xd5,0x65,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, v1 ; encoding: [0x05,0x00,0xa1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0xa1,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, v1 clamp ; encoding: [0x05,0x80,0xa1,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_trunc_f32_e64 v5, v1 div:2 ; encoding: [0x05,0x00,0xa1,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0xa1,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_trunc_f32_e64 v5, v1 mul:2 ; encoding: [0x05,0x00,0xa1,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0xa1,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_trunc_f32_e64 v5, v1 mul:4 ; encoding: [0x05,0x00,0xa1,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0xa1,0xd5,0xff,0x01,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, v255 ; encoding: [0x05,0x00,0xa1,0xd5,0xff,0x01,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x6b,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, vcc_hi ; encoding: [0x05,0x00,0xa1,0xd5,0x6b,0x00,0x01,0x02] + +0x05,0x00,0xa1,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_trunc_f32_e64 v5, vcc_lo ; encoding: [0x05,0x00,0xa1,0xd5,0x6a,0x00,0x01,0x02] + +0xfe,0x00,0x97,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[254:255], v[1:2] ; encoding: [0xfe,0x00,0x97,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x97,0xd5,0xc1,0x00,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], -1 ; encoding: [0x05,0x00,0x97,0xd5,0xc1,0x00,0x01,0x02] + +0x05,0x00,0x97,0xd5,0xf7,0x00,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0x97,0xd5,0xf7,0x00,0x01,0x02] + +0x05,0x00,0x97,0xd5,0x01,0x01,0x00,0x20 +# GFX10: v_trunc_f64_e64 v[5:6], -v[1:2] ; encoding: [0x05,0x00,0x97,0xd5,0x01,0x01,0x01,0x22] + +0x05,0x00,0x97,0xd5,0x80,0x00,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], 0 ; encoding: [0x05,0x00,0x97,0xd5,0x80,0x00,0x01,0x02] + +0x05,0x00,0x97,0xd5,0xf0,0x00,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], 0.5 ; encoding: [0x05,0x00,0x97,0xd5,0xf0,0x00,0x01,0x02] + +0x05,0x00,0x97,0xd5,0x7e,0x00,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], exec ; encoding: [0x05,0x00,0x97,0xd5,0x7e,0x00,0x01,0x02] + +0x05,0x00,0x97,0xd5,0x64,0x00,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], s[100:101] ; encoding: [0x05,0x00,0x97,0xd5,0x64,0x00,0x01,0x02] + +0x05,0x00,0x97,0xd5,0x02,0x00,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0x97,0xd5,0x02,0x00,0x01,0x02] + +0x05,0x00,0x97,0xd5,0x04,0x00,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], s[4:5] ; encoding: [0x05,0x00,0x97,0xd5,0x04,0x00,0x01,0x02] + +0x05,0x00,0x97,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], v[1:2] ; encoding: [0x05,0x00,0x97,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x80,0x97,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], v[1:2] clamp ; encoding: [0x05,0x80,0x97,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x97,0xd5,0x01,0x01,0x00,0x18 +# GFX10: v_trunc_f64_e64 v[5:6], v[1:2] div:2 ; encoding: [0x05,0x00,0x97,0xd5,0x01,0x01,0x01,0x1a] + +0x05,0x00,0x97,0xd5,0x01,0x01,0x00,0x08 +# GFX10: v_trunc_f64_e64 v[5:6], v[1:2] mul:2 ; encoding: [0x05,0x00,0x97,0xd5,0x01,0x01,0x01,0x0a] + +0x05,0x00,0x97,0xd5,0x01,0x01,0x00,0x10 +# GFX10: v_trunc_f64_e64 v[5:6], v[1:2] mul:4 ; encoding: [0x05,0x00,0x97,0xd5,0x01,0x01,0x01,0x12] + +0x05,0x00,0x97,0xd5,0xfe,0x01,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], v[254:255] ; encoding: [0x05,0x00,0x97,0xd5,0xfe,0x01,0x01,0x02] + +0x05,0x00,0x97,0xd5,0x6a,0x00,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], vcc ; encoding: [0x05,0x00,0x97,0xd5,0x6a,0x00,0x01,0x02] + +0x05,0x01,0x97,0xd5,0x01,0x01,0x00,0x00 +# GFX10: v_trunc_f64_e64 v[5:6], |v[1:2]| ; encoding: [0x05,0x01,0x97,0xd5,0x01,0x01,0x01,0x02] + +0xff,0x00,0x61,0xd7,0x80,0x04,0x00,0x00 +# GFX10: v_writelane_b32 v255, 0, s2 ; encoding: [0xff,0x00,0x61,0xd7,0x80,0x04,0x00,0x02] + +0x05,0x00,0x61,0xd7,0xc1,0x04,0x00,0x00 +# GFX10: v_writelane_b32 v5, -1, s2 ; encoding: [0x05,0x00,0x61,0xd7,0xc1,0x04,0x00,0x02] + +0x05,0x00,0x61,0xd7,0xf7,0x04,0x00,0x00 +# GFX10: v_writelane_b32 v5, -4.0, s2 ; encoding: [0x05,0x00,0x61,0xd7,0xf7,0x04,0x00,0x02] + +0x05,0x00,0x61,0xd7,0x80,0x00,0x01,0x00 +# GFX10: v_writelane_b32 v5, 0, 0 ; encoding: [0x05,0x00,0x61,0xd7,0x80,0x00,0x01,0x02] + +0x05,0x00,0x61,0xd7,0x80,0xf8,0x00,0x00 +# GFX10: v_writelane_b32 v5, 0, m0 ; encoding: [0x05,0x00,0x61,0xd7,0x80,0xf8,0x00,0x02] + +0x05,0x00,0x61,0xd7,0x80,0xca,0x00,0x00 +# GFX10: v_writelane_b32 v5, 0, s101 ; encoding: [0x05,0x00,0x61,0xd7,0x80,0xca,0x00,0x02] + +0x05,0x00,0x61,0xd7,0x80,0x04,0x00,0x00 +# GFX10: v_writelane_b32 v5, 0, s2 ; encoding: [0x05,0x00,0x61,0xd7,0x80,0x04,0x00,0x02] + +0x05,0x00,0x61,0xd7,0x80,0xd6,0x00,0x00 +# GFX10: v_writelane_b32 v5, 0, vcc_hi ; encoding: [0x05,0x00,0x61,0xd7,0x80,0xd6,0x00,0x02] + +0x05,0x00,0x61,0xd7,0x80,0xd4,0x00,0x00 +# GFX10: v_writelane_b32 v5, 0, vcc_lo ; encoding: [0x05,0x00,0x61,0xd7,0x80,0xd4,0x00,0x02] + +0x05,0x00,0x61,0xd7,0xf0,0x04,0x00,0x00 +# GFX10: v_writelane_b32 v5, 0.5, s2 ; encoding: [0x05,0x00,0x61,0xd7,0xf0,0x04,0x00,0x02] + +0xff,0x00,0x45,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_xad_u32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x45,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0xc1,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0xf7,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x80,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0xf0,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x7f,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x7e,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x7c,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x01,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x65,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, s101, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x65,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x01,0x83,0x0d,0x04 +# GFX10: v_xad_u32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x45,0xd7,0x01,0xef,0x0d,0x04 +# GFX10: v_xad_u32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x45,0xd7,0x01,0x01,0x0d,0x04 +# GFX10: v_xad_u32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x45,0xd7,0x01,0xe1,0x0d,0x04 +# GFX10: v_xad_u32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x45,0xd7,0x01,0xff,0x0c,0x04 +# GFX10: v_xad_u32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x45,0xd7,0x01,0xfd,0x0c,0x04 +# GFX10: v_xad_u32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x45,0xd7,0x01,0xf9,0x0c,0x04 +# GFX10: v_xad_u32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x45,0xd7,0x01,0xcb,0x0c,0x04 +# GFX10: v_xad_u32 v5, v1, s101, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0xcb,0x0c,0x04] + +0x05,0x00,0x45,0xd7,0x01,0x05,0x0c,0x04 +# GFX10: v_xad_u32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x45,0xd7,0x01,0x05,0x06,0x03 +# GFX10: v_xad_u32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0x06,0x03] + +0x05,0x00,0x45,0xd7,0x01,0x05,0xde,0x03 +# GFX10: v_xad_u32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0xde,0x03] + +0x05,0x00,0x45,0xd7,0x01,0x05,0x02,0x02 +# GFX10: v_xad_u32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0x02,0x02] + +0x05,0x00,0x45,0xd7,0x01,0x05,0xc2,0x03 +# GFX10: v_xad_u32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x45,0xd7,0x01,0x05,0xfe,0x01 +# GFX10: v_xad_u32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x45,0xd7,0x01,0x05,0xfa,0x01 +# GFX10: v_xad_u32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x45,0xd7,0x01,0x05,0xf2,0x01 +# GFX10: v_xad_u32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x45,0xd7,0x01,0x05,0x96,0x01 +# GFX10: v_xad_u32 v5, v1, v2, s101 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0x96,0x01] + +0x05,0x00,0x45,0xd7,0x01,0x05,0x0e,0x00 +# GFX10: v_xad_u32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x45,0xd7,0x01,0x05,0xfe,0x07 +# GFX10: v_xad_u32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x45,0xd7,0x01,0x05,0x0e,0x04 +# GFX10: v_xad_u32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x01,0x05,0xae,0x01 +# GFX10: v_xad_u32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0xae,0x01] + +0x05,0x00,0x45,0xd7,0x01,0x05,0xaa,0x01 +# GFX10: v_xad_u32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x45,0xd7,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x45,0xd7,0x01,0xff,0x0f,0x04 +# GFX10: v_xad_u32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x45,0xd7,0x01,0xd7,0x0c,0x04 +# GFX10: v_xad_u32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x45,0xd7,0x01,0xd5,0x0c,0x04 +# GFX10: v_xad_u32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x45,0xd7,0xff,0x05,0x0e,0x04 +# GFX10: v_xad_u32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x6b,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x45,0xd7,0x6a,0x04,0x0e,0x04 +# GFX10: v_xad_u32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x45,0xd7,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x1e,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_xnor_b32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x1e,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x1e,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_xnor_b32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x1e,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x1e,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x1e,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_xnor_b32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x1e,0xd5,0x6a,0x04,0x02,0x02] + +0xff,0x00,0x78,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_xor3_b32 v255, v1, v2, v3 ; encoding: [0xff,0x00,0x78,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0xc1,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, -1, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0xc1,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0xf7,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, -4.0, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0xf7,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x80,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, 0, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x80,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0xf0,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, 0.5, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0xf0,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x7f,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, exec_hi, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x7f,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x7e,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, exec_lo, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x7e,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x7c,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, m0, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x7c,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x01,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, s1, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x67,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, s103, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x67,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x77,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, ttmp11, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x77,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x01,0x83,0x0d,0x04 +# GFX10: v_xor3_b32 v5, v1, -1, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x83,0x0d,0x04] + +0x05,0x00,0x78,0xd5,0x01,0xef,0x0d,0x04 +# GFX10: v_xor3_b32 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xef,0x0d,0x04] + +0x05,0x00,0x78,0xd5,0x01,0x01,0x0d,0x04 +# GFX10: v_xor3_b32 v5, v1, 0, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x01,0x0d,0x04] + +0x05,0x00,0x78,0xd5,0x01,0xe1,0x0d,0x04 +# GFX10: v_xor3_b32 v5, v1, 0.5, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xe1,0x0d,0x04] + +0x05,0x00,0x78,0xd5,0x01,0xff,0x0c,0x04 +# GFX10: v_xor3_b32 v5, v1, exec_hi, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xff,0x0c,0x04] + +0x05,0x00,0x78,0xd5,0x01,0xfd,0x0c,0x04 +# GFX10: v_xor3_b32 v5, v1, exec_lo, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xfd,0x0c,0x04] + +0x05,0x00,0x78,0xd5,0x01,0xf9,0x0c,0x04 +# GFX10: v_xor3_b32 v5, v1, m0, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xf9,0x0c,0x04] + +0x05,0x00,0x78,0xd5,0x01,0xcf,0x0c,0x04 +# GFX10: v_xor3_b32 v5, v1, s103, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xcf,0x0c,0x04] + +0x05,0x00,0x78,0xd5,0x01,0x05,0x0c,0x04 +# GFX10: v_xor3_b32 v5, v1, s2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0x0c,0x04] + +0x05,0x00,0x78,0xd5,0x01,0xef,0x0c,0x04 +# GFX10: v_xor3_b32 v5, v1, ttmp11, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xef,0x0c,0x04] + +0x05,0x00,0x78,0xd5,0x01,0x05,0x06,0x03 +# GFX10: v_xor3_b32 v5, v1, v2, -1 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0x06,0x03] + +0x05,0x00,0x78,0xd5,0x01,0x05,0xde,0x03 +# GFX10: v_xor3_b32 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0xde,0x03] + +0x05,0x00,0x78,0xd5,0x01,0x05,0x02,0x02 +# GFX10: v_xor3_b32 v5, v1, v2, 0 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x78,0xd5,0x01,0x05,0xc2,0x03 +# GFX10: v_xor3_b32 v5, v1, v2, 0.5 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0xc2,0x03] + +0x05,0x00,0x78,0xd5,0x01,0x05,0xfe,0x01 +# GFX10: v_xor3_b32 v5, v1, v2, exec_hi ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0xfe,0x01] + +0x05,0x00,0x78,0xd5,0x01,0x05,0xfa,0x01 +# GFX10: v_xor3_b32 v5, v1, v2, exec_lo ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0xfa,0x01] + +0x05,0x00,0x78,0xd5,0x01,0x05,0xf2,0x01 +# GFX10: v_xor3_b32 v5, v1, v2, m0 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0xf2,0x01] + +0x05,0x00,0x78,0xd5,0x01,0x05,0x9e,0x01 +# GFX10: v_xor3_b32 v5, v1, v2, s103 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0x9e,0x01] + +0x05,0x00,0x78,0xd5,0x01,0x05,0x0e,0x00 +# GFX10: v_xor3_b32 v5, v1, v2, s3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0x0e,0x00] + +0x05,0x00,0x78,0xd5,0x01,0x05,0xde,0x01 +# GFX10: v_xor3_b32 v5, v1, v2, ttmp11 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0xde,0x01] + +0x05,0x00,0x78,0xd5,0x01,0x05,0xfe,0x07 +# GFX10: v_xor3_b32 v5, v1, v2, v255 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0xfe,0x07] + +0x05,0x00,0x78,0xd5,0x01,0x05,0x0e,0x04 +# GFX10: v_xor3_b32 v5, v1, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x01,0x05,0xae,0x01 +# GFX10: v_xor3_b32 v5, v1, v2, vcc_hi ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0xae,0x01] + +0x05,0x00,0x78,0xd5,0x01,0x05,0xaa,0x01 +# GFX10: v_xor3_b32 v5, v1, v2, vcc_lo ; encoding: [0x05,0x00,0x78,0xd5,0x01,0x05,0xaa,0x01] + +0x05,0x00,0x78,0xd5,0x01,0xff,0x0f,0x04 +# GFX10: v_xor3_b32 v5, v1, v255, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xff,0x0f,0x04] + +0x05,0x00,0x78,0xd5,0x01,0xd7,0x0c,0x04 +# GFX10: v_xor3_b32 v5, v1, vcc_hi, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xd7,0x0c,0x04] + +0x05,0x00,0x78,0xd5,0x01,0xd5,0x0c,0x04 +# GFX10: v_xor3_b32 v5, v1, vcc_lo, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x01,0xd5,0x0c,0x04] + +0x05,0x00,0x78,0xd5,0xff,0x05,0x0e,0x04 +# GFX10: v_xor3_b32 v5, v255, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0xff,0x05,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x6b,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, vcc_hi, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x6b,0x04,0x0e,0x04] + +0x05,0x00,0x78,0xd5,0x6a,0x04,0x0e,0x04 +# GFX10: v_xor3_b32 v5, vcc_lo, v2, v3 ; encoding: [0x05,0x00,0x78,0xd5,0x6a,0x04,0x0e,0x04] + +0xff,0x00,0x1d,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_xor_b32_e64 v255, v1, v2 ; encoding: [0xff,0x00,0x1d,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0xc1,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, -1, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0xc1,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0xf7,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, -4.0, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0xf7,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x80,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, 0, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0x80,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0xf0,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, 0.5, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0xf0,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x7f,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, exec_hi, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0x7f,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x7e,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, exec_lo, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0x7e,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x7c,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, m0, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0x7c,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, s1, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x65,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, s101, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0x65,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0x83,0x01,0x00 +# GFX10: v_xor_b32_e64 v5, v1, -1 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0x83,0x01,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0xef,0x01,0x00 +# GFX10: v_xor_b32_e64 v5, v1, -4.0 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0xef,0x01,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0x01,0x01,0x00 +# GFX10: v_xor_b32_e64 v5, v1, 0 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0x01,0x01,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0xe1,0x01,0x00 +# GFX10: v_xor_b32_e64 v5, v1, 0.5 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0xe1,0x01,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0xff,0x00,0x00 +# GFX10: v_xor_b32_e64 v5, v1, exec_hi ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0xff,0x00,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0xfd,0x00,0x00 +# GFX10: v_xor_b32_e64 v5, v1, exec_lo ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0xfd,0x00,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0xf9,0x00,0x00 +# GFX10: v_xor_b32_e64 v5, v1, m0 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0xf9,0x00,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0xcb,0x00,0x00 +# GFX10: v_xor_b32_e64 v5, v1, s101 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0xcb,0x00,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0x05,0x00,0x00 +# GFX10: v_xor_b32_e64 v5, v1, s2 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0x05,0x00,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0x05,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, v1, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0x05,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0xff,0x03,0x00 +# GFX10: v_xor_b32_e64 v5, v1, v255 ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0xff,0x03,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0xd7,0x00,0x00 +# GFX10: v_xor_b32_e64 v5, v1, vcc_hi ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0xd7,0x00,0x02] + +0x05,0x00,0x1d,0xd5,0x01,0xd5,0x00,0x00 +# GFX10: v_xor_b32_e64 v5, v1, vcc_lo ; encoding: [0x05,0x00,0x1d,0xd5,0x01,0xd5,0x00,0x02] + +0x05,0x00,0x1d,0xd5,0xff,0x05,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, v255, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0xff,0x05,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x6b,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, vcc_hi, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0x6b,0x04,0x02,0x02] + +0x05,0x00,0x1d,0xd5,0x6a,0x04,0x02,0x00 +# GFX10: v_xor_b32_e64 v5, vcc_lo, v2 ; encoding: [0x05,0x00,0x1d,0xd5,0x6a,0x04,0x02,0x02] diff --git a/tests/data/llvm-amdgpu/gfx10_vopc.txt b/tests/data/llvm-amdgpu/gfx10_vopc.txt new file mode 100644 index 0000000..fa2cff7 --- /dev/null +++ b/tests/data/llvm-amdgpu/gfx10_vopc.txt @@ -0,0 +1,5756 @@ +# NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6 +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=W32 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=W64 %s +# RUN: llvm-mc -triple=amdgpu10.10 -mattr=+wavefrontsize32,+wavefrontsize64 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefix=W32 %s + +0xc1,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x10,0x7d] + +0xf7,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x10,0x7d] + +0x80,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x10,0x7d] + +0xf0,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x10,0x7d] + +0xff,0x04,0x10,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_class_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x10,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_class_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x10,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x10,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_class_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x10,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_class_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x10,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x10,0x7d] + +0x7e,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x10,0x7d] + +0x7c,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x10,0x7d] + +0x01,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x10,0x7d] + +0x65,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x10,0x7d] + +0x01,0x05,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x10,0x7d] + +0x01,0xff,0x11,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x11,0x7d] +# W64: v_cmp_class_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x11,0x7d] + +0xff,0x05,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x10,0x7d] + +0x6b,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x10,0x7d] + +0x6a,0x04,0x10,0x7d +# W32: v_cmp_class_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x10,0x7d] +# W64: v_cmp_class_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x10,0x7d] + +0xc1,0x04,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x50,0x7d] + +0xf7,0x04,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x50,0x7d] + +0x80,0x04,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x50,0x7d] + +0xf0,0x04,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x50,0x7d] + +0xff,0x04,0x50,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_class_f64_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x50,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_class_f64_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x50,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x50,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_class_f64_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x50,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_class_f64_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x50,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, exec, v2 ; encoding: [0x7e,0x04,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, exec, v2 ; encoding: [0x7e,0x04,0x50,0x7d] + +0x64,0x04,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, s[100:101], v2 ; encoding: [0x64,0x04,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, s[100:101], v2 ; encoding: [0x64,0x04,0x50,0x7d] + +0x02,0x04,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, s[2:3], v2 ; encoding: [0x02,0x04,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, s[2:3], v2 ; encoding: [0x02,0x04,0x50,0x7d] + +0x04,0x04,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, s[4:5], v2 ; encoding: [0x04,0x04,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, s[4:5], v2 ; encoding: [0x04,0x04,0x50,0x7d] + +0x01,0x05,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, v[1:2], v2 ; encoding: [0x01,0x05,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, v[1:2], v2 ; encoding: [0x01,0x05,0x50,0x7d] + +0x01,0xff,0x51,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, v[1:2], v255 ; encoding: [0x01,0xff,0x51,0x7d] +# W64: v_cmp_class_f64_e32 vcc, v[1:2], v255 ; encoding: [0x01,0xff,0x51,0x7d] + +0xfe,0x05,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, v[254:255], v2 ; encoding: [0xfe,0x05,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, v[254:255], v2 ; encoding: [0xfe,0x05,0x50,0x7d] + +0x6a,0x04,0x50,0x7d +# W32: v_cmp_class_f64_e32 vcc_lo, vcc, v2 ; encoding: [0x6a,0x04,0x50,0x7d] +# W64: v_cmp_class_f64_e32 vcc, vcc, v2 ; encoding: [0x6a,0x04,0x50,0x7d] + +0xc1,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x94,0x7d] + +0xf7,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x94,0x7d] + +0x80,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x94,0x7d] + +0xf0,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x94,0x7d] + +0xff,0x04,0x94,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_eq_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x94,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_eq_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x94,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x94,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_eq_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x94,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_eq_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x94,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x94,0x7d] + +0x7e,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x94,0x7d] + +0x7c,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x94,0x7d] + +0x01,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x94,0x7d] + +0x65,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x94,0x7d] + +0x01,0x05,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x94,0x7d] + +0x01,0xff,0x95,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x95,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x95,0x7d] + +0xff,0x05,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x94,0x7d] + +0x6b,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x94,0x7d] + +0x6a,0x04,0x94,0x7d +# W32: v_cmp_eq_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x94,0x7d] +# W64: v_cmp_eq_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x94,0x7d] + +0xc1,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x04,0x7c] + +0xf7,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x04,0x7c] + +0x80,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x04,0x7c] + +0xf0,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x04,0x7c] + +0xff,0x04,0x04,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_eq_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x04,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_eq_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x04,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x04,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_eq_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x04,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_eq_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x04,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x04,0x7c] + +0x7e,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x04,0x7c] + +0x7c,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x04,0x7c] + +0x01,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x04,0x7c] + +0x65,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x04,0x7c] + +0x01,0x05,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x04,0x7c] + +0x01,0xff,0x05,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x05,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x05,0x7c] + +0xff,0x05,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x04,0x7c] + +0x6b,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x04,0x7c] + +0x6a,0x04,0x04,0x7c +# W32: v_cmp_eq_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x04,0x7c] +# W64: v_cmp_eq_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x04,0x7c] + +0xc1,0x04,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x44,0x7c] + +0xf7,0x04,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x44,0x7c] + +0x80,0x04,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x44,0x7c] + +0xf0,0x04,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x44,0x7c] + +0xff,0x04,0x44,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_eq_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x44,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_eq_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x44,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x44,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_eq_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x44,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_eq_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x44,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x44,0x7c] + +0x64,0x04,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x44,0x7c] + +0x02,0x04,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x44,0x7c] + +0x04,0x04,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x44,0x7c] + +0x01,0xfd,0x45,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x45,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x45,0x7c] + +0x01,0x05,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x44,0x7c] + +0xfe,0x05,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x44,0x7c] + +0x6a,0x04,0x44,0x7c +# W32: v_cmp_eq_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x44,0x7c] +# W64: v_cmp_eq_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x44,0x7c] + +0xc1,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x14,0x7d] + +0xf7,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x14,0x7d] + +0x80,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x14,0x7d] + +0xf0,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x14,0x7d] + +0xff,0x04,0x14,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_eq_i16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x14,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_eq_i16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x14,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x14,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_eq_i16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x14,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_eq_i16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x14,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x14,0x7d] + +0x7e,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x14,0x7d] + +0x7c,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x14,0x7d] + +0x01,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x14,0x7d] + +0x65,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x14,0x7d] + +0x01,0x05,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x14,0x7d] + +0x01,0xff,0x15,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x15,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x15,0x7d] + +0xff,0x05,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x14,0x7d] + +0x6b,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x14,0x7d] + +0x6a,0x04,0x14,0x7d +# W32: v_cmp_eq_i16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x14,0x7d] +# W64: v_cmp_eq_i16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x14,0x7d] + +0xc1,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x04,0x7d] + +0xf7,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x04,0x7d] + +0x80,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x04,0x7d] + +0xf0,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x04,0x7d] + +0xff,0x04,0x04,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_eq_i32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x04,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_eq_i32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x04,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x04,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_eq_i32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x04,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_eq_i32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x04,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x04,0x7d] + +0x7e,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x04,0x7d] + +0x7c,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x04,0x7d] + +0x01,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x04,0x7d] + +0x65,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x04,0x7d] + +0x01,0x05,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x04,0x7d] + +0x01,0xff,0x05,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x05,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x05,0x7d] + +0xff,0x05,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x04,0x7d] + +0x6b,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x04,0x7d] + +0x6a,0x04,0x04,0x7d +# W32: v_cmp_eq_i32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x04,0x7d] +# W64: v_cmp_eq_i32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x04,0x7d] + +0xc1,0x04,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x44,0x7d] + +0xf7,0x04,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x44,0x7d] + +0x80,0x04,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x44,0x7d] + +0xf0,0x04,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x44,0x7d] + +0xff,0x04,0x44,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_eq_i64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x44,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_eq_i64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x44,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x44,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_eq_i64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x44,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_eq_i64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x44,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x44,0x7d] + +0x64,0x04,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x44,0x7d] + +0x02,0x04,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x44,0x7d] + +0x04,0x04,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x44,0x7d] + +0x01,0xfd,0x45,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x45,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x45,0x7d] + +0x01,0x05,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x44,0x7d] + +0xfe,0x05,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x44,0x7d] + +0x6a,0x04,0x44,0x7d +# W32: v_cmp_eq_i64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x44,0x7d] +# W64: v_cmp_eq_i64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x44,0x7d] + +0xc1,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x54,0x7d] + +0xf7,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x54,0x7d] + +0x80,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x54,0x7d] + +0xf0,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x54,0x7d] + +0xff,0x04,0x54,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_eq_u16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x54,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_eq_u16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x54,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x54,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_eq_u16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x54,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_eq_u16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x54,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x54,0x7d] + +0x7e,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x54,0x7d] + +0x7c,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x54,0x7d] + +0x01,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x54,0x7d] + +0x65,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x54,0x7d] + +0x01,0x05,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x54,0x7d] + +0x01,0xff,0x55,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x55,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x55,0x7d] + +0xff,0x05,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x54,0x7d] + +0x6b,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x54,0x7d] + +0x6a,0x04,0x54,0x7d +# W32: v_cmp_eq_u16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x54,0x7d] +# W64: v_cmp_eq_u16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x54,0x7d] + +0xc1,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x84,0x7d] + +0xf7,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x84,0x7d] + +0x80,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x84,0x7d] + +0xf0,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x84,0x7d] + +0xff,0x04,0x84,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_eq_u32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x84,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_eq_u32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x84,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x84,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_eq_u32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x84,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_eq_u32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x84,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x84,0x7d] + +0x7e,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x84,0x7d] + +0x7c,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x84,0x7d] + +0x01,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x84,0x7d] + +0x65,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x84,0x7d] + +0x01,0x05,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x84,0x7d] + +0x01,0xff,0x85,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x85,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x85,0x7d] + +0xff,0x05,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x84,0x7d] + +0x6b,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x84,0x7d] + +0x6a,0x04,0x84,0x7d +# W32: v_cmp_eq_u32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x84,0x7d] +# W64: v_cmp_eq_u32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x84,0x7d] + +0xc1,0x04,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0xc4,0x7d] + +0xf7,0x04,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc4,0x7d] + +0x80,0x04,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0xc4,0x7d] + +0xf0,0x04,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc4,0x7d] + +0xff,0x04,0xc4,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_eq_u64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc4,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_eq_u64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc4,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0xc4,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_eq_u64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc4,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_eq_u64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc4,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0xc4,0x7d] + +0x64,0x04,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc4,0x7d] + +0x02,0x04,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc4,0x7d] + +0x04,0x04,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc4,0x7d] + +0x01,0xfd,0xc5,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc5,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc5,0x7d] + +0x01,0x05,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc4,0x7d] + +0xfe,0x05,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc4,0x7d] + +0x6a,0x04,0xc4,0x7d +# W32: v_cmp_eq_u64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc4,0x7d] +# W64: v_cmp_eq_u64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc4,0x7d] + +0xc1,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x90,0x7d] + +0xf7,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x90,0x7d] + +0x80,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x90,0x7d] + +0xf0,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x90,0x7d] + +0xff,0x04,0x90,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_f_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x90,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_f_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x90,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x90,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_f_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x90,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_f_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x90,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x90,0x7d] + +0x7e,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x90,0x7d] + +0x7c,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x90,0x7d] + +0x01,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x90,0x7d] + +0x65,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x90,0x7d] + +0x01,0x05,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x90,0x7d] + +0x01,0xff,0x91,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x91,0x7d] +# W64: v_cmp_f_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x91,0x7d] + +0xff,0x05,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x90,0x7d] + +0x6b,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x90,0x7d] + +0x6a,0x04,0x90,0x7d +# W32: v_cmp_f_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x90,0x7d] +# W64: v_cmp_f_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x90,0x7d] + +0xc1,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x00,0x7c] + +0xf7,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x00,0x7c] + +0x80,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x00,0x7c] + +0xf0,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x00,0x7c] + +0xff,0x04,0x00,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_f_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x00,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_f_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x00,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x00,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_f_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x00,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_f_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x00,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x00,0x7c] + +0x7e,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x00,0x7c] + +0x7c,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x00,0x7c] + +0x01,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x00,0x7c] + +0x65,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x00,0x7c] + +0x01,0x05,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x00,0x7c] + +0x01,0xff,0x01,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x01,0x7c] +# W64: v_cmp_f_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x01,0x7c] + +0xff,0x05,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x00,0x7c] + +0x6b,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x00,0x7c] + +0x6a,0x04,0x00,0x7c +# W32: v_cmp_f_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x00,0x7c] +# W64: v_cmp_f_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x00,0x7c] + +0xc1,0x04,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x40,0x7c] + +0xf7,0x04,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x40,0x7c] + +0x80,0x04,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x40,0x7c] + +0xf0,0x04,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x40,0x7c] + +0xff,0x04,0x40,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_f_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x40,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_f_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x40,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x40,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_f_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x40,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_f_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x40,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x40,0x7c] + +0x64,0x04,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x40,0x7c] + +0x02,0x04,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x40,0x7c] + +0x04,0x04,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x40,0x7c] + +0x01,0xfd,0x41,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x41,0x7c] +# W64: v_cmp_f_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x41,0x7c] + +0x01,0x05,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x40,0x7c] + +0xfe,0x05,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x40,0x7c] + +0x6a,0x04,0x40,0x7c +# W32: v_cmp_f_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x40,0x7c] +# W64: v_cmp_f_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x40,0x7c] + +0xc1,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x00,0x7d] + +0xf7,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x00,0x7d] + +0x80,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x00,0x7d] + +0xf0,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x00,0x7d] + +0xff,0x04,0x00,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_f_i32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x00,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_f_i32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x00,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x00,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_f_i32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x00,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_f_i32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x00,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x00,0x7d] + +0x7e,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x00,0x7d] + +0x7c,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x00,0x7d] + +0x01,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x00,0x7d] + +0x65,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x00,0x7d] + +0x01,0x05,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x00,0x7d] + +0x01,0xff,0x01,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x01,0x7d] +# W64: v_cmp_f_i32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x01,0x7d] + +0xff,0x05,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x00,0x7d] + +0x6b,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x00,0x7d] + +0x6a,0x04,0x00,0x7d +# W32: v_cmp_f_i32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x00,0x7d] +# W64: v_cmp_f_i32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x00,0x7d] + +0xc1,0x04,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x40,0x7d] + +0xf7,0x04,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x40,0x7d] + +0x80,0x04,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x40,0x7d] + +0xf0,0x04,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x40,0x7d] + +0xff,0x04,0x40,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_f_i64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x40,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_f_i64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x40,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x40,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_f_i64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x40,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_f_i64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x40,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x40,0x7d] + +0x64,0x04,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x40,0x7d] + +0x02,0x04,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x40,0x7d] + +0x04,0x04,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x40,0x7d] + +0x01,0xfd,0x41,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x41,0x7d] +# W64: v_cmp_f_i64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x41,0x7d] + +0x01,0x05,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x40,0x7d] + +0xfe,0x05,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x40,0x7d] + +0x6a,0x04,0x40,0x7d +# W32: v_cmp_f_i64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x40,0x7d] +# W64: v_cmp_f_i64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x40,0x7d] + +0xc1,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x80,0x7d] + +0xf7,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x80,0x7d] + +0x80,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x80,0x7d] + +0xf0,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x80,0x7d] + +0xff,0x04,0x80,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_f_u32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x80,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_f_u32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x80,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x80,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_f_u32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x80,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_f_u32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x80,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x80,0x7d] + +0x7e,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x80,0x7d] + +0x7c,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x80,0x7d] + +0x01,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x80,0x7d] + +0x65,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x80,0x7d] + +0x01,0x05,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x80,0x7d] + +0x01,0xff,0x81,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x81,0x7d] +# W64: v_cmp_f_u32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x81,0x7d] + +0xff,0x05,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x80,0x7d] + +0x6b,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x80,0x7d] + +0x6a,0x04,0x80,0x7d +# W32: v_cmp_f_u32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x80,0x7d] +# W64: v_cmp_f_u32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x80,0x7d] + +0xc1,0x04,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0xc0,0x7d] + +0xf7,0x04,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc0,0x7d] + +0x80,0x04,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0xc0,0x7d] + +0xf0,0x04,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc0,0x7d] + +0xff,0x04,0xc0,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_f_u64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc0,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_f_u64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc0,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0xc0,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_f_u64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc0,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_f_u64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc0,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0xc0,0x7d] + +0x64,0x04,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc0,0x7d] + +0x02,0x04,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc0,0x7d] + +0x04,0x04,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc0,0x7d] + +0x01,0xfd,0xc1,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc1,0x7d] +# W64: v_cmp_f_u64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc1,0x7d] + +0x01,0x05,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc0,0x7d] + +0xfe,0x05,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc0,0x7d] + +0x6a,0x04,0xc0,0x7d +# W32: v_cmp_f_u64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc0,0x7d] +# W64: v_cmp_f_u64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc0,0x7d] + +0xc1,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x9c,0x7d] + +0xf7,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x9c,0x7d] + +0x80,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x9c,0x7d] + +0xf0,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x9c,0x7d] + +0xff,0x04,0x9c,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_ge_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x9c,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_ge_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x9c,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x9c,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_ge_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x9c,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_ge_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x9c,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x9c,0x7d] + +0x7e,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x9c,0x7d] + +0x7c,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x9c,0x7d] + +0x01,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x9c,0x7d] + +0x65,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x9c,0x7d] + +0x01,0x05,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x9c,0x7d] + +0x01,0xff,0x9d,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x9d,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x9d,0x7d] + +0xff,0x05,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x9c,0x7d] + +0x6b,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x9c,0x7d] + +0x6a,0x04,0x9c,0x7d +# W32: v_cmp_ge_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x9c,0x7d] +# W64: v_cmp_ge_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x9c,0x7d] + +0xc1,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x0c,0x7c] + +0xf7,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x0c,0x7c] + +0x80,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x0c,0x7c] + +0xf0,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x0c,0x7c] + +0xff,0x04,0x0c,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_ge_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0c,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ge_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0c,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0c,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_ge_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0c,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ge_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0c,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x0c,0x7c] + +0x7e,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x0c,0x7c] + +0x7c,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x0c,0x7c] + +0x01,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x0c,0x7c] + +0x65,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x0c,0x7c] + +0x01,0x05,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x0c,0x7c] + +0x01,0xff,0x0d,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x0d,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x0d,0x7c] + +0xff,0x05,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x0c,0x7c] + +0x6b,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0c,0x7c] + +0x6a,0x04,0x0c,0x7c +# W32: v_cmp_ge_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0c,0x7c] +# W64: v_cmp_ge_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0c,0x7c] + +0xc1,0x04,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x4c,0x7c] + +0xf7,0x04,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4c,0x7c] + +0x80,0x04,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x4c,0x7c] + +0xf0,0x04,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4c,0x7c] + +0xff,0x04,0x4c,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_ge_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4c,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ge_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4c,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x4c,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_ge_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4c,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ge_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4c,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x4c,0x7c] + +0x64,0x04,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4c,0x7c] + +0x02,0x04,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4c,0x7c] + +0x04,0x04,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4c,0x7c] + +0x01,0xfd,0x4d,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4d,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4d,0x7c] + +0x01,0x05,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4c,0x7c] + +0xfe,0x05,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4c,0x7c] + +0x6a,0x04,0x4c,0x7c +# W32: v_cmp_ge_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4c,0x7c] +# W64: v_cmp_ge_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4c,0x7c] + +0xc1,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x1c,0x7d] + +0xf7,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x1c,0x7d] + +0x80,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x1c,0x7d] + +0xf0,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x1c,0x7d] + +0xff,0x04,0x1c,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_ge_i16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x1c,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_ge_i16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x1c,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x1c,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_ge_i16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x1c,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_ge_i16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x1c,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x1c,0x7d] + +0x7e,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x1c,0x7d] + +0x7c,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x1c,0x7d] + +0x01,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x1c,0x7d] + +0x65,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x1c,0x7d] + +0x01,0x05,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x1c,0x7d] + +0x01,0xff,0x1d,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x1d,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x1d,0x7d] + +0xff,0x05,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x1c,0x7d] + +0x6b,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1c,0x7d] + +0x6a,0x04,0x1c,0x7d +# W32: v_cmp_ge_i16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1c,0x7d] +# W64: v_cmp_ge_i16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1c,0x7d] + +0xc1,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x0c,0x7d] + +0xf7,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x0c,0x7d] + +0x80,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x0c,0x7d] + +0xf0,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x0c,0x7d] + +0xff,0x04,0x0c,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_ge_i32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0c,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ge_i32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0c,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0c,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_ge_i32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0c,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ge_i32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0c,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x0c,0x7d] + +0x7e,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x0c,0x7d] + +0x7c,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x0c,0x7d] + +0x01,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x0c,0x7d] + +0x65,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x0c,0x7d] + +0x01,0x05,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x0c,0x7d] + +0x01,0xff,0x0d,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x0d,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x0d,0x7d] + +0xff,0x05,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x0c,0x7d] + +0x6b,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0c,0x7d] + +0x6a,0x04,0x0c,0x7d +# W32: v_cmp_ge_i32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0c,0x7d] +# W64: v_cmp_ge_i32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0c,0x7d] + +0xc1,0x04,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x4c,0x7d] + +0xf7,0x04,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4c,0x7d] + +0x80,0x04,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x4c,0x7d] + +0xf0,0x04,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4c,0x7d] + +0xff,0x04,0x4c,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_ge_i64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4c,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ge_i64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4c,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x4c,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_ge_i64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4c,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ge_i64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4c,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x4c,0x7d] + +0x64,0x04,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4c,0x7d] + +0x02,0x04,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4c,0x7d] + +0x04,0x04,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4c,0x7d] + +0x01,0xfd,0x4d,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4d,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4d,0x7d] + +0x01,0x05,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4c,0x7d] + +0xfe,0x05,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4c,0x7d] + +0x6a,0x04,0x4c,0x7d +# W32: v_cmp_ge_i64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4c,0x7d] +# W64: v_cmp_ge_i64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4c,0x7d] + +0xc1,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x5c,0x7d] + +0xf7,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x5c,0x7d] + +0x80,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x5c,0x7d] + +0xf0,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x5c,0x7d] + +0xff,0x04,0x5c,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_ge_u16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x5c,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_ge_u16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x5c,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x5c,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_ge_u16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x5c,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_ge_u16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x5c,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x5c,0x7d] + +0x7e,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x5c,0x7d] + +0x7c,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x5c,0x7d] + +0x01,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x5c,0x7d] + +0x65,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x5c,0x7d] + +0x01,0x05,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x5c,0x7d] + +0x01,0xff,0x5d,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x5d,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x5d,0x7d] + +0xff,0x05,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x5c,0x7d] + +0x6b,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x5c,0x7d] + +0x6a,0x04,0x5c,0x7d +# W32: v_cmp_ge_u16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x5c,0x7d] +# W64: v_cmp_ge_u16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x5c,0x7d] + +0xc1,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x8c,0x7d] + +0xf7,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x8c,0x7d] + +0x80,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x8c,0x7d] + +0xf0,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x8c,0x7d] + +0xff,0x04,0x8c,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_ge_u32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x8c,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ge_u32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x8c,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x8c,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_ge_u32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x8c,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ge_u32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x8c,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x8c,0x7d] + +0x7e,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x8c,0x7d] + +0x7c,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x8c,0x7d] + +0x01,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x8c,0x7d] + +0x65,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x8c,0x7d] + +0x01,0x05,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x8c,0x7d] + +0x01,0xff,0x8d,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x8d,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x8d,0x7d] + +0xff,0x05,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x8c,0x7d] + +0x6b,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x8c,0x7d] + +0x6a,0x04,0x8c,0x7d +# W32: v_cmp_ge_u32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x8c,0x7d] +# W64: v_cmp_ge_u32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x8c,0x7d] + +0xc1,0x04,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0xcc,0x7d] + +0xf7,0x04,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xcc,0x7d] + +0x80,0x04,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0xcc,0x7d] + +0xf0,0x04,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xcc,0x7d] + +0xff,0x04,0xcc,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_ge_u64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xcc,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ge_u64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xcc,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0xcc,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_ge_u64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xcc,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ge_u64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xcc,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0xcc,0x7d] + +0x64,0x04,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xcc,0x7d] + +0x02,0x04,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xcc,0x7d] + +0x04,0x04,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xcc,0x7d] + +0x01,0xfd,0xcd,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xcd,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xcd,0x7d] + +0x01,0x05,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xcc,0x7d] + +0xfe,0x05,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xcc,0x7d] + +0x6a,0x04,0xcc,0x7d +# W32: v_cmp_ge_u64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0xcc,0x7d] +# W64: v_cmp_ge_u64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0xcc,0x7d] + +0xc1,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x98,0x7d] + +0xf7,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x98,0x7d] + +0x80,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x98,0x7d] + +0xf0,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x98,0x7d] + +0xff,0x04,0x98,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_gt_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x98,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_gt_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x98,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x98,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_gt_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x98,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_gt_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x98,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x98,0x7d] + +0x7e,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x98,0x7d] + +0x7c,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x98,0x7d] + +0x01,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x98,0x7d] + +0x65,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x98,0x7d] + +0x01,0x05,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x98,0x7d] + +0x01,0xff,0x99,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x99,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x99,0x7d] + +0xff,0x05,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x98,0x7d] + +0x6b,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x98,0x7d] + +0x6a,0x04,0x98,0x7d +# W32: v_cmp_gt_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x98,0x7d] +# W64: v_cmp_gt_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x98,0x7d] + +0xc1,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x08,0x7c] + +0xf7,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x08,0x7c] + +0x80,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x08,0x7c] + +0xf0,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x08,0x7c] + +0xff,0x04,0x08,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_gt_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x08,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_gt_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x08,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x08,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_gt_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x08,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_gt_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x08,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x08,0x7c] + +0x7e,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x08,0x7c] + +0x7c,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x08,0x7c] + +0x01,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x08,0x7c] + +0x65,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x08,0x7c] + +0x01,0x05,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x08,0x7c] + +0x01,0xff,0x09,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x09,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x09,0x7c] + +0xff,0x05,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x08,0x7c] + +0x6b,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x08,0x7c] + +0x6a,0x04,0x08,0x7c +# W32: v_cmp_gt_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x08,0x7c] +# W64: v_cmp_gt_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x08,0x7c] + +0xc1,0x04,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x48,0x7c] + +0xf7,0x04,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x48,0x7c] + +0x80,0x04,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x48,0x7c] + +0xf0,0x04,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x48,0x7c] + +0xff,0x04,0x48,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_gt_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x48,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_gt_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x48,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x48,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_gt_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x48,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_gt_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x48,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x48,0x7c] + +0x64,0x04,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x48,0x7c] + +0x02,0x04,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x48,0x7c] + +0x04,0x04,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x48,0x7c] + +0x01,0xfd,0x49,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x49,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x49,0x7c] + +0x01,0x05,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x48,0x7c] + +0xfe,0x05,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x48,0x7c] + +0x6a,0x04,0x48,0x7c +# W32: v_cmp_gt_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x48,0x7c] +# W64: v_cmp_gt_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x48,0x7c] + +0xc1,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x18,0x7d] + +0xf7,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x18,0x7d] + +0x80,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x18,0x7d] + +0xf0,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x18,0x7d] + +0xff,0x04,0x18,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_gt_i16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x18,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_gt_i16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x18,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x18,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_gt_i16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x18,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_gt_i16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x18,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x18,0x7d] + +0x7e,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x18,0x7d] + +0x7c,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x18,0x7d] + +0x01,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x18,0x7d] + +0x65,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x18,0x7d] + +0x01,0x05,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x18,0x7d] + +0x01,0xff,0x19,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x19,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x19,0x7d] + +0xff,0x05,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x18,0x7d] + +0x6b,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x18,0x7d] + +0x6a,0x04,0x18,0x7d +# W32: v_cmp_gt_i16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x18,0x7d] +# W64: v_cmp_gt_i16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x18,0x7d] + +0xc1,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x08,0x7d] + +0xf7,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x08,0x7d] + +0x80,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x08,0x7d] + +0xf0,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x08,0x7d] + +0xff,0x04,0x08,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_gt_i32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x08,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_gt_i32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x08,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x08,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_gt_i32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x08,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_gt_i32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x08,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x08,0x7d] + +0x7e,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x08,0x7d] + +0x7c,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x08,0x7d] + +0x01,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x08,0x7d] + +0x65,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x08,0x7d] + +0x01,0x05,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x08,0x7d] + +0x01,0xff,0x09,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x09,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x09,0x7d] + +0xff,0x05,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x08,0x7d] + +0x6b,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x08,0x7d] + +0x6a,0x04,0x08,0x7d +# W32: v_cmp_gt_i32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x08,0x7d] +# W64: v_cmp_gt_i32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x08,0x7d] + +0xc1,0x04,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x48,0x7d] + +0xf7,0x04,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x48,0x7d] + +0x80,0x04,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x48,0x7d] + +0xf0,0x04,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x48,0x7d] + +0xff,0x04,0x48,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_gt_i64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x48,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_gt_i64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x48,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x48,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_gt_i64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x48,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_gt_i64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x48,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x48,0x7d] + +0x64,0x04,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x48,0x7d] + +0x02,0x04,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x48,0x7d] + +0x04,0x04,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x48,0x7d] + +0x01,0xfd,0x49,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x49,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x49,0x7d] + +0x01,0x05,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x48,0x7d] + +0xfe,0x05,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x48,0x7d] + +0x6a,0x04,0x48,0x7d +# W32: v_cmp_gt_i64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x48,0x7d] +# W64: v_cmp_gt_i64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x48,0x7d] + +0xc1,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x58,0x7d] + +0xf7,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x58,0x7d] + +0x80,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x58,0x7d] + +0xf0,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x58,0x7d] + +0xff,0x04,0x58,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_gt_u16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x58,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_gt_u16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x58,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x58,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_gt_u16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x58,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_gt_u16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x58,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x58,0x7d] + +0x7e,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x58,0x7d] + +0x7c,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x58,0x7d] + +0x01,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x58,0x7d] + +0x65,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x58,0x7d] + +0x01,0x05,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x58,0x7d] + +0x01,0xff,0x59,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x59,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x59,0x7d] + +0xff,0x05,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x58,0x7d] + +0x6b,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x58,0x7d] + +0x6a,0x04,0x58,0x7d +# W32: v_cmp_gt_u16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x58,0x7d] +# W64: v_cmp_gt_u16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x58,0x7d] + +0xc1,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x88,0x7d] + +0xf7,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x88,0x7d] + +0x80,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x88,0x7d] + +0xf0,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x88,0x7d] + +0xff,0x04,0x88,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_gt_u32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x88,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_gt_u32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x88,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x88,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_gt_u32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x88,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_gt_u32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x88,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x88,0x7d] + +0x7e,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x88,0x7d] + +0x7c,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x88,0x7d] + +0x01,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x88,0x7d] + +0x65,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x88,0x7d] + +0x01,0x05,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x88,0x7d] + +0x01,0xff,0x89,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x89,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x89,0x7d] + +0xff,0x05,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x88,0x7d] + +0x6b,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x88,0x7d] + +0x6a,0x04,0x88,0x7d +# W32: v_cmp_gt_u32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x88,0x7d] +# W64: v_cmp_gt_u32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x88,0x7d] + +0xc1,0x04,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0xc8,0x7d] + +0xf7,0x04,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc8,0x7d] + +0x80,0x04,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0xc8,0x7d] + +0xf0,0x04,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc8,0x7d] + +0xff,0x04,0xc8,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_gt_u64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc8,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_gt_u64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc8,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0xc8,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_gt_u64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc8,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_gt_u64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc8,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0xc8,0x7d] + +0x64,0x04,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc8,0x7d] + +0x02,0x04,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc8,0x7d] + +0x04,0x04,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc8,0x7d] + +0x01,0xfd,0xc9,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc9,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc9,0x7d] + +0x01,0x05,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc8,0x7d] + +0xfe,0x05,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc8,0x7d] + +0x6a,0x04,0xc8,0x7d +# W32: v_cmp_gt_u64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc8,0x7d] +# W64: v_cmp_gt_u64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc8,0x7d] + +0xc1,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x96,0x7d] + +0xf7,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x96,0x7d] + +0x80,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x96,0x7d] + +0xf0,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x96,0x7d] + +0xff,0x04,0x96,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_le_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x96,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_le_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x96,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x96,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_le_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x96,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_le_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x96,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x96,0x7d] + +0x7e,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x96,0x7d] + +0x7c,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x96,0x7d] + +0x01,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x96,0x7d] + +0x65,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x96,0x7d] + +0x01,0x05,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x96,0x7d] + +0x01,0xff,0x97,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x97,0x7d] +# W64: v_cmp_le_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x97,0x7d] + +0xff,0x05,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x96,0x7d] + +0x6b,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x96,0x7d] + +0x6a,0x04,0x96,0x7d +# W32: v_cmp_le_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x96,0x7d] +# W64: v_cmp_le_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x96,0x7d] + +0xc1,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x06,0x7c] + +0xf7,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x06,0x7c] + +0x80,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x06,0x7c] + +0xf0,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x06,0x7c] + +0xff,0x04,0x06,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_le_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x06,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_le_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x06,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x06,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_le_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x06,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_le_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x06,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x06,0x7c] + +0x7e,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x06,0x7c] + +0x7c,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x06,0x7c] + +0x01,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x06,0x7c] + +0x65,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x06,0x7c] + +0x01,0x05,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x06,0x7c] + +0x01,0xff,0x07,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x07,0x7c] +# W64: v_cmp_le_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x07,0x7c] + +0xff,0x05,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x06,0x7c] + +0x6b,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x06,0x7c] + +0x6a,0x04,0x06,0x7c +# W32: v_cmp_le_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x06,0x7c] +# W64: v_cmp_le_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x06,0x7c] + +0xc1,0x04,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x46,0x7c] + +0xf7,0x04,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x46,0x7c] + +0x80,0x04,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x46,0x7c] + +0xf0,0x04,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x46,0x7c] + +0xff,0x04,0x46,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_le_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x46,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_le_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x46,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x46,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_le_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x46,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_le_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x46,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x46,0x7c] + +0x64,0x04,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x46,0x7c] + +0x02,0x04,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x46,0x7c] + +0x04,0x04,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x46,0x7c] + +0x01,0xfd,0x47,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x47,0x7c] +# W64: v_cmp_le_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x47,0x7c] + +0x01,0x05,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x46,0x7c] + +0xfe,0x05,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x46,0x7c] + +0x6a,0x04,0x46,0x7c +# W32: v_cmp_le_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x46,0x7c] +# W64: v_cmp_le_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x46,0x7c] + +0xc1,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x16,0x7d] + +0xf7,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x16,0x7d] + +0x80,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x16,0x7d] + +0xf0,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x16,0x7d] + +0xff,0x04,0x16,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_le_i16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x16,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_le_i16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x16,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x16,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_le_i16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x16,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_le_i16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x16,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x16,0x7d] + +0x7e,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x16,0x7d] + +0x7c,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x16,0x7d] + +0x01,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x16,0x7d] + +0x65,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x16,0x7d] + +0x01,0x05,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x16,0x7d] + +0x01,0xff,0x17,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x17,0x7d] +# W64: v_cmp_le_i16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x17,0x7d] + +0xff,0x05,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x16,0x7d] + +0x6b,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x16,0x7d] + +0x6a,0x04,0x16,0x7d +# W32: v_cmp_le_i16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x16,0x7d] +# W64: v_cmp_le_i16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x16,0x7d] + +0xc1,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x06,0x7d] + +0xf7,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x06,0x7d] + +0x80,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x06,0x7d] + +0xf0,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x06,0x7d] + +0xff,0x04,0x06,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_le_i32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x06,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_le_i32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x06,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x06,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_le_i32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x06,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_le_i32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x06,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x06,0x7d] + +0x7e,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x06,0x7d] + +0x7c,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x06,0x7d] + +0x01,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x06,0x7d] + +0x65,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x06,0x7d] + +0x01,0x05,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x06,0x7d] + +0x01,0xff,0x07,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x07,0x7d] +# W64: v_cmp_le_i32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x07,0x7d] + +0xff,0x05,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x06,0x7d] + +0x6b,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x06,0x7d] + +0x6a,0x04,0x06,0x7d +# W32: v_cmp_le_i32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x06,0x7d] +# W64: v_cmp_le_i32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x06,0x7d] + +0xc1,0x04,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x46,0x7d] + +0xf7,0x04,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x46,0x7d] + +0x80,0x04,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x46,0x7d] + +0xf0,0x04,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x46,0x7d] + +0xff,0x04,0x46,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_le_i64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x46,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_le_i64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x46,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x46,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_le_i64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x46,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_le_i64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x46,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x46,0x7d] + +0x64,0x04,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x46,0x7d] + +0x02,0x04,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x46,0x7d] + +0x04,0x04,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x46,0x7d] + +0x01,0xfd,0x47,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x47,0x7d] +# W64: v_cmp_le_i64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x47,0x7d] + +0x01,0x05,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x46,0x7d] + +0xfe,0x05,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x46,0x7d] + +0x6a,0x04,0x46,0x7d +# W32: v_cmp_le_i64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x46,0x7d] +# W64: v_cmp_le_i64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x46,0x7d] + +0xc1,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x56,0x7d] + +0xf7,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x56,0x7d] + +0x80,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x56,0x7d] + +0xf0,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x56,0x7d] + +0xff,0x04,0x56,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_le_u16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x56,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_le_u16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x56,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x56,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_le_u16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x56,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_le_u16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x56,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x56,0x7d] + +0x7e,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x56,0x7d] + +0x7c,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x56,0x7d] + +0x01,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x56,0x7d] + +0x65,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x56,0x7d] + +0x01,0x05,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x56,0x7d] + +0x01,0xff,0x57,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x57,0x7d] +# W64: v_cmp_le_u16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x57,0x7d] + +0xff,0x05,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x56,0x7d] + +0x6b,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x56,0x7d] + +0x6a,0x04,0x56,0x7d +# W32: v_cmp_le_u16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x56,0x7d] +# W64: v_cmp_le_u16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x56,0x7d] + +0xc1,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x86,0x7d] + +0xf7,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x86,0x7d] + +0x80,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x86,0x7d] + +0xf0,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x86,0x7d] + +0xff,0x04,0x86,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_le_u32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x86,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_le_u32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x86,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x86,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_le_u32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x86,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_le_u32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x86,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x86,0x7d] + +0x7e,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x86,0x7d] + +0x7c,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x86,0x7d] + +0x01,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x86,0x7d] + +0x65,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x86,0x7d] + +0x01,0x05,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x86,0x7d] + +0x01,0xff,0x87,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x87,0x7d] +# W64: v_cmp_le_u32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x87,0x7d] + +0xff,0x05,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x86,0x7d] + +0x6b,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x86,0x7d] + +0x6a,0x04,0x86,0x7d +# W32: v_cmp_le_u32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x86,0x7d] +# W64: v_cmp_le_u32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x86,0x7d] + +0xc1,0x04,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0xc6,0x7d] + +0xf7,0x04,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc6,0x7d] + +0x80,0x04,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0xc6,0x7d] + +0xf0,0x04,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc6,0x7d] + +0xff,0x04,0xc6,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_le_u64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc6,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_le_u64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc6,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0xc6,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_le_u64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc6,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_le_u64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc6,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0xc6,0x7d] + +0x64,0x04,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc6,0x7d] + +0x02,0x04,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc6,0x7d] + +0x04,0x04,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc6,0x7d] + +0x01,0xfd,0xc7,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc7,0x7d] +# W64: v_cmp_le_u64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc7,0x7d] + +0x01,0x05,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc6,0x7d] + +0xfe,0x05,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc6,0x7d] + +0x6a,0x04,0xc6,0x7d +# W32: v_cmp_le_u64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc6,0x7d] +# W64: v_cmp_le_u64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc6,0x7d] + +0xc1,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x9a,0x7d] + +0xf7,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x9a,0x7d] + +0x80,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x9a,0x7d] + +0xf0,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x9a,0x7d] + +0xff,0x04,0x9a,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_lg_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x9a,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_lg_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x9a,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x9a,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_lg_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x9a,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_lg_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x9a,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x9a,0x7d] + +0x7e,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x9a,0x7d] + +0x7c,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x9a,0x7d] + +0x01,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x9a,0x7d] + +0x65,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x9a,0x7d] + +0x01,0x05,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x9a,0x7d] + +0x01,0xff,0x9b,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x9b,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x9b,0x7d] + +0xff,0x05,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x9a,0x7d] + +0x6b,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x9a,0x7d] + +0x6a,0x04,0x9a,0x7d +# W32: v_cmp_lg_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x9a,0x7d] +# W64: v_cmp_lg_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x9a,0x7d] + +0xc1,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x7c] + +0xf7,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x7c] + +0x80,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x0a,0x7c] + +0xf0,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x7c] + +0xff,0x04,0x0a,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_lg_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_lg_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_lg_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_lg_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x7c] + +0x7e,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x7c] + +0x7c,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x7c] + +0x01,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x0a,0x7c] + +0x65,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x0a,0x7c] + +0x01,0x05,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x0a,0x7c] + +0x01,0xff,0x0b,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x0b,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x0b,0x7c] + +0xff,0x05,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x0a,0x7c] + +0x6b,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x7c] + +0x6a,0x04,0x0a,0x7c +# W32: v_cmp_lg_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x7c] +# W64: v_cmp_lg_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x7c] + +0xc1,0x04,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x4a,0x7c] + +0xf7,0x04,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4a,0x7c] + +0x80,0x04,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x4a,0x7c] + +0xf0,0x04,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4a,0x7c] + +0xff,0x04,0x4a,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_lg_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4a,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_lg_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4a,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x4a,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_lg_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4a,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_lg_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4a,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x4a,0x7c] + +0x64,0x04,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4a,0x7c] + +0x02,0x04,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4a,0x7c] + +0x04,0x04,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4a,0x7c] + +0x01,0xfd,0x4b,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4b,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4b,0x7c] + +0x01,0x05,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4a,0x7c] + +0xfe,0x05,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4a,0x7c] + +0x6a,0x04,0x4a,0x7c +# W32: v_cmp_lg_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4a,0x7c] +# W64: v_cmp_lg_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4a,0x7c] + +0xc1,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x92,0x7d] + +0xf7,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x92,0x7d] + +0x80,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x92,0x7d] + +0xf0,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x92,0x7d] + +0xff,0x04,0x92,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_lt_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x92,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_lt_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x92,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x92,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_lt_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x92,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_lt_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x92,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x92,0x7d] + +0x7e,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x92,0x7d] + +0x7c,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x92,0x7d] + +0x01,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x92,0x7d] + +0x65,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x92,0x7d] + +0x01,0x05,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x92,0x7d] + +0x01,0xff,0x93,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x93,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x93,0x7d] + +0xff,0x05,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x92,0x7d] + +0x6b,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x92,0x7d] + +0x6a,0x04,0x92,0x7d +# W32: v_cmp_lt_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x92,0x7d] +# W64: v_cmp_lt_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x92,0x7d] + +0xc1,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x02,0x7c] + +0xf7,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x02,0x7c] + +0x80,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x02,0x7c] + +0xf0,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x02,0x7c] + +0xff,0x04,0x02,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_lt_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x02,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_lt_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x02,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x02,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_lt_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x02,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_lt_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x02,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x02,0x7c] + +0x7e,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x02,0x7c] + +0x7c,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x02,0x7c] + +0x01,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x02,0x7c] + +0x65,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x02,0x7c] + +0x01,0x05,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x02,0x7c] + +0x01,0xff,0x03,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x03,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x03,0x7c] + +0xff,0x05,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x02,0x7c] + +0x6b,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x02,0x7c] + +0x6a,0x04,0x02,0x7c +# W32: v_cmp_lt_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x02,0x7c] +# W64: v_cmp_lt_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x02,0x7c] + +0xc1,0x04,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x42,0x7c] + +0xf7,0x04,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x42,0x7c] + +0x80,0x04,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x42,0x7c] + +0xf0,0x04,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x42,0x7c] + +0xff,0x04,0x42,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_lt_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x42,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_lt_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x42,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x42,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_lt_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x42,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_lt_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x42,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x42,0x7c] + +0x64,0x04,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x42,0x7c] + +0x02,0x04,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x42,0x7c] + +0x04,0x04,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x42,0x7c] + +0x01,0xfd,0x43,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x43,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x43,0x7c] + +0x01,0x05,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x42,0x7c] + +0xfe,0x05,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x42,0x7c] + +0x6a,0x04,0x42,0x7c +# W32: v_cmp_lt_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x42,0x7c] +# W64: v_cmp_lt_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x42,0x7c] + +0xc1,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x12,0x7d] + +0xf7,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x12,0x7d] + +0x80,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x12,0x7d] + +0xf0,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x12,0x7d] + +0xff,0x04,0x12,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_lt_i16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x12,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_lt_i16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x12,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x12,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_lt_i16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x12,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_lt_i16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x12,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x12,0x7d] + +0x7e,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x12,0x7d] + +0x7c,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x12,0x7d] + +0x01,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x12,0x7d] + +0x65,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x12,0x7d] + +0x01,0x05,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x12,0x7d] + +0x01,0xff,0x13,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x13,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x13,0x7d] + +0xff,0x05,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x12,0x7d] + +0x6b,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x12,0x7d] + +0x6a,0x04,0x12,0x7d +# W32: v_cmp_lt_i16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x12,0x7d] +# W64: v_cmp_lt_i16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x12,0x7d] + +0xc1,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x02,0x7d] + +0xf7,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x02,0x7d] + +0x80,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x02,0x7d] + +0xf0,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x02,0x7d] + +0xff,0x04,0x02,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_lt_i32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x02,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_lt_i32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x02,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x02,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_lt_i32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x02,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_lt_i32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x02,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x02,0x7d] + +0x7e,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x02,0x7d] + +0x7c,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x02,0x7d] + +0x01,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x02,0x7d] + +0x65,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x02,0x7d] + +0x01,0x05,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x02,0x7d] + +0x01,0xff,0x03,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x03,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x03,0x7d] + +0xff,0x05,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x02,0x7d] + +0x6b,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x02,0x7d] + +0x6a,0x04,0x02,0x7d +# W32: v_cmp_lt_i32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x02,0x7d] +# W64: v_cmp_lt_i32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x02,0x7d] + +0xc1,0x04,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x42,0x7d] + +0xf7,0x04,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x42,0x7d] + +0x80,0x04,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x42,0x7d] + +0xf0,0x04,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x42,0x7d] + +0xff,0x04,0x42,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_lt_i64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x42,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_lt_i64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x42,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x42,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_lt_i64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x42,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_lt_i64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x42,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x42,0x7d] + +0x64,0x04,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x42,0x7d] + +0x02,0x04,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x42,0x7d] + +0x04,0x04,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x42,0x7d] + +0x01,0xfd,0x43,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x43,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x43,0x7d] + +0x01,0x05,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x42,0x7d] + +0xfe,0x05,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x42,0x7d] + +0x6a,0x04,0x42,0x7d +# W32: v_cmp_lt_i64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x42,0x7d] +# W64: v_cmp_lt_i64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x42,0x7d] + +0xc1,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x52,0x7d] + +0xf7,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x52,0x7d] + +0x80,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x52,0x7d] + +0xf0,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x52,0x7d] + +0xff,0x04,0x52,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_lt_u16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x52,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_lt_u16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x52,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x52,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_lt_u16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x52,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_lt_u16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x52,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x52,0x7d] + +0x7e,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x52,0x7d] + +0x7c,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x52,0x7d] + +0x01,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x52,0x7d] + +0x65,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x52,0x7d] + +0x01,0x05,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x52,0x7d] + +0x01,0xff,0x53,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x53,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x53,0x7d] + +0xff,0x05,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x52,0x7d] + +0x6b,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x52,0x7d] + +0x6a,0x04,0x52,0x7d +# W32: v_cmp_lt_u16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x52,0x7d] +# W64: v_cmp_lt_u16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x52,0x7d] + +0xc1,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x82,0x7d] + +0xf7,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x82,0x7d] + +0x80,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x82,0x7d] + +0xf0,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x82,0x7d] + +0xff,0x04,0x82,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_lt_u32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x82,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_lt_u32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x82,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x82,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_lt_u32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x82,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_lt_u32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x82,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x82,0x7d] + +0x7e,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x82,0x7d] + +0x7c,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x82,0x7d] + +0x01,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x82,0x7d] + +0x65,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x82,0x7d] + +0x01,0x05,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x82,0x7d] + +0x01,0xff,0x83,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x83,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x83,0x7d] + +0xff,0x05,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x82,0x7d] + +0x6b,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x82,0x7d] + +0x6a,0x04,0x82,0x7d +# W32: v_cmp_lt_u32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x82,0x7d] +# W64: v_cmp_lt_u32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x82,0x7d] + +0xc1,0x04,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0xc2,0x7d] + +0xf7,0x04,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xc2,0x7d] + +0x80,0x04,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0xc2,0x7d] + +0xf0,0x04,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xc2,0x7d] + +0xff,0x04,0xc2,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_lt_u64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc2,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_lt_u64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xc2,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0xc2,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_lt_u64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc2,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_lt_u64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xc2,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0xc2,0x7d] + +0x64,0x04,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xc2,0x7d] + +0x02,0x04,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xc2,0x7d] + +0x04,0x04,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xc2,0x7d] + +0x01,0xfd,0xc3,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc3,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xc3,0x7d] + +0x01,0x05,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xc2,0x7d] + +0xfe,0x05,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xc2,0x7d] + +0x6a,0x04,0xc2,0x7d +# W32: v_cmp_lt_u64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc2,0x7d] +# W64: v_cmp_lt_u64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0xc2,0x7d] + +0xc1,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x1a,0x7d] + +0xf7,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x1a,0x7d] + +0x80,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x1a,0x7d] + +0xf0,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x1a,0x7d] + +0xff,0x04,0x1a,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_ne_i16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x1a,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_ne_i16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x1a,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x1a,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_ne_i16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x1a,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_ne_i16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x1a,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x1a,0x7d] + +0x7e,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x1a,0x7d] + +0x7c,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x1a,0x7d] + +0x01,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x1a,0x7d] + +0x65,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x1a,0x7d] + +0x01,0x05,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x1a,0x7d] + +0x01,0xff,0x1b,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x1b,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x1b,0x7d] + +0xff,0x05,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x1a,0x7d] + +0x6b,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1a,0x7d] + +0x6a,0x04,0x1a,0x7d +# W32: v_cmp_ne_i16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1a,0x7d] +# W64: v_cmp_ne_i16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1a,0x7d] + +0xc1,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x7d] + +0xf7,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x0a,0x7d] + +0x80,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x0a,0x7d] + +0xf0,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x7d] + +0xff,0x04,0x0a,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_ne_i32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ne_i32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0a,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0a,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_ne_i32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ne_i32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0a,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x7d] + +0x7e,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x0a,0x7d] + +0x7c,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x0a,0x7d] + +0x01,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x0a,0x7d] + +0x65,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x0a,0x7d] + +0x01,0x05,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x0a,0x7d] + +0x01,0xff,0x0b,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x0b,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x0b,0x7d] + +0xff,0x05,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x0a,0x7d] + +0x6b,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0a,0x7d] + +0x6a,0x04,0x0a,0x7d +# W32: v_cmp_ne_i32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x7d] +# W64: v_cmp_ne_i32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0a,0x7d] + +0xc1,0x04,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x4a,0x7d] + +0xf7,0x04,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4a,0x7d] + +0x80,0x04,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x4a,0x7d] + +0xf0,0x04,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4a,0x7d] + +0xff,0x04,0x4a,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_ne_i64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4a,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ne_i64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4a,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x4a,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_ne_i64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4a,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ne_i64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4a,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x4a,0x7d] + +0x64,0x04,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4a,0x7d] + +0x02,0x04,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4a,0x7d] + +0x04,0x04,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4a,0x7d] + +0x01,0xfd,0x4b,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4b,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4b,0x7d] + +0x01,0x05,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4a,0x7d] + +0xfe,0x05,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4a,0x7d] + +0x6a,0x04,0x4a,0x7d +# W32: v_cmp_ne_i64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4a,0x7d] +# W64: v_cmp_ne_i64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4a,0x7d] + +0xc1,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x5a,0x7d] + +0xf7,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x5a,0x7d] + +0x80,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x5a,0x7d] + +0xf0,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x5a,0x7d] + +0xff,0x04,0x5a,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_ne_u16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x5a,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_ne_u16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x5a,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x5a,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_ne_u16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x5a,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_ne_u16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x5a,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x5a,0x7d] + +0x7e,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x5a,0x7d] + +0x7c,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x5a,0x7d] + +0x01,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x5a,0x7d] + +0x65,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x5a,0x7d] + +0x01,0x05,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x5a,0x7d] + +0x01,0xff,0x5b,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x5b,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x5b,0x7d] + +0xff,0x05,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x5a,0x7d] + +0x6b,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x5a,0x7d] + +0x6a,0x04,0x5a,0x7d +# W32: v_cmp_ne_u16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x5a,0x7d] +# W64: v_cmp_ne_u16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x5a,0x7d] + +0xc1,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x8a,0x7d] + +0xf7,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x8a,0x7d] + +0x80,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x8a,0x7d] + +0xf0,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x8a,0x7d] + +0xff,0x04,0x8a,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_ne_u32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x8a,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ne_u32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x8a,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x8a,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_ne_u32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x8a,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ne_u32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x8a,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x8a,0x7d] + +0x7e,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x8a,0x7d] + +0x7c,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x8a,0x7d] + +0x01,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x8a,0x7d] + +0x65,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x8a,0x7d] + +0x01,0x05,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x8a,0x7d] + +0x01,0xff,0x8b,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x8b,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x8b,0x7d] + +0xff,0x05,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x8a,0x7d] + +0x6b,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x8a,0x7d] + +0x6a,0x04,0x8a,0x7d +# W32: v_cmp_ne_u32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x8a,0x7d] +# W64: v_cmp_ne_u32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x8a,0x7d] + +0xc1,0x04,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0xca,0x7d] + +0xf7,0x04,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xca,0x7d] + +0x80,0x04,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0xca,0x7d] + +0xf0,0x04,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xca,0x7d] + +0xff,0x04,0xca,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_ne_u64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xca,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ne_u64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xca,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0xca,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_ne_u64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xca,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ne_u64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xca,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0xca,0x7d] + +0x64,0x04,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xca,0x7d] + +0x02,0x04,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xca,0x7d] + +0x04,0x04,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xca,0x7d] + +0x01,0xfd,0xcb,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xcb,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xcb,0x7d] + +0x01,0x05,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xca,0x7d] + +0xfe,0x05,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xca,0x7d] + +0x6a,0x04,0xca,0x7d +# W32: v_cmp_ne_u64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0xca,0x7d] +# W64: v_cmp_ne_u64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0xca,0x7d] + +0xc1,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0xda,0x7d] + +0xf7,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0xda,0x7d] + +0x80,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0xda,0x7d] + +0xf0,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0xda,0x7d] + +0xff,0x04,0xda,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_neq_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0xda,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_neq_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0xda,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0xda,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_neq_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0xda,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_neq_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0xda,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0xda,0x7d] + +0x7e,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0xda,0x7d] + +0x7c,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0xda,0x7d] + +0x01,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0xda,0x7d] + +0x65,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0xda,0x7d] + +0x01,0x05,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0xda,0x7d] + +0x01,0xff,0xdb,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0xdb,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0xdb,0x7d] + +0xff,0x05,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0xda,0x7d] + +0x6b,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0xda,0x7d] + +0x6a,0x04,0xda,0x7d +# W32: v_cmp_neq_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0xda,0x7d] +# W64: v_cmp_neq_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0xda,0x7d] + +0xc1,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x1a,0x7c] + +0xf7,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x1a,0x7c] + +0x80,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x1a,0x7c] + +0xf0,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x1a,0x7c] + +0xff,0x04,0x1a,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_neq_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x1a,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_neq_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x1a,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x1a,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_neq_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x1a,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_neq_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x1a,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x1a,0x7c] + +0x7e,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x1a,0x7c] + +0x7c,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x1a,0x7c] + +0x01,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x1a,0x7c] + +0x65,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x1a,0x7c] + +0x01,0x05,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x1a,0x7c] + +0x01,0xff,0x1b,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x1b,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x1b,0x7c] + +0xff,0x05,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x1a,0x7c] + +0x6b,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1a,0x7c] + +0x6a,0x04,0x1a,0x7c +# W32: v_cmp_neq_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1a,0x7c] +# W64: v_cmp_neq_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1a,0x7c] + +0xc1,0x04,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x5a,0x7c] + +0xf7,0x04,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x5a,0x7c] + +0x80,0x04,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x5a,0x7c] + +0xf0,0x04,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x5a,0x7c] + +0xff,0x04,0x5a,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_neq_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x5a,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_neq_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x5a,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x5a,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_neq_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x5a,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_neq_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x5a,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x5a,0x7c] + +0x64,0x04,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x5a,0x7c] + +0x02,0x04,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x5a,0x7c] + +0x04,0x04,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x5a,0x7c] + +0x01,0xfd,0x5b,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x5b,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x5b,0x7c] + +0x01,0x05,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x5a,0x7c] + +0xfe,0x05,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x5a,0x7c] + +0x6a,0x04,0x5a,0x7c +# W32: v_cmp_neq_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x5a,0x7c] +# W64: v_cmp_neq_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x5a,0x7c] + +0xc1,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0xd2,0x7d] + +0xf7,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0xd2,0x7d] + +0x80,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0xd2,0x7d] + +0xf0,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0xd2,0x7d] + +0xff,0x04,0xd2,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_nge_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0xd2,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_nge_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0xd2,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0xd2,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_nge_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd2,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_nge_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd2,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0xd2,0x7d] + +0x7e,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0xd2,0x7d] + +0x7c,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0xd2,0x7d] + +0x01,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0xd2,0x7d] + +0x65,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0xd2,0x7d] + +0x01,0x05,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0xd2,0x7d] + +0x01,0xff,0xd3,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0xd3,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0xd3,0x7d] + +0xff,0x05,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0xd2,0x7d] + +0x6b,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd2,0x7d] + +0x6a,0x04,0xd2,0x7d +# W32: v_cmp_nge_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd2,0x7d] +# W64: v_cmp_nge_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd2,0x7d] + +0xc1,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x12,0x7c] + +0xf7,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x12,0x7c] + +0x80,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x12,0x7c] + +0xf0,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x12,0x7c] + +0xff,0x04,0x12,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_nge_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x12,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_nge_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x12,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x12,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_nge_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x12,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_nge_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x12,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x12,0x7c] + +0x7e,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x12,0x7c] + +0x7c,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x12,0x7c] + +0x01,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x12,0x7c] + +0x65,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x12,0x7c] + +0x01,0x05,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x12,0x7c] + +0x01,0xff,0x13,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x13,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x13,0x7c] + +0xff,0x05,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x12,0x7c] + +0x6b,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x12,0x7c] + +0x6a,0x04,0x12,0x7c +# W32: v_cmp_nge_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x12,0x7c] +# W64: v_cmp_nge_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x12,0x7c] + +0xc1,0x04,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x52,0x7c] + +0xf7,0x04,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x52,0x7c] + +0x80,0x04,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x52,0x7c] + +0xf0,0x04,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x52,0x7c] + +0xff,0x04,0x52,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_nge_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x52,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_nge_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x52,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x52,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_nge_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x52,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_nge_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x52,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x52,0x7c] + +0x64,0x04,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x52,0x7c] + +0x02,0x04,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x52,0x7c] + +0x04,0x04,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x52,0x7c] + +0x01,0xfd,0x53,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x53,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x53,0x7c] + +0x01,0x05,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x52,0x7c] + +0xfe,0x05,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x52,0x7c] + +0x6a,0x04,0x52,0x7c +# W32: v_cmp_nge_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x52,0x7c] +# W64: v_cmp_nge_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x52,0x7c] + +0xc1,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0xd6,0x7d] + +0xf7,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0xd6,0x7d] + +0x80,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0xd6,0x7d] + +0xf0,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0xd6,0x7d] + +0xff,0x04,0xd6,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_ngt_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0xd6,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_ngt_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0xd6,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0xd6,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_ngt_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd6,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_ngt_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd6,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0xd6,0x7d] + +0x7e,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0xd6,0x7d] + +0x7c,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0xd6,0x7d] + +0x01,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0xd6,0x7d] + +0x65,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0xd6,0x7d] + +0x01,0x05,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0xd6,0x7d] + +0x01,0xff,0xd7,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0xd7,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0xd7,0x7d] + +0xff,0x05,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0xd6,0x7d] + +0x6b,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd6,0x7d] + +0x6a,0x04,0xd6,0x7d +# W32: v_cmp_ngt_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd6,0x7d] +# W64: v_cmp_ngt_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd6,0x7d] + +0xc1,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x16,0x7c] + +0xf7,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x16,0x7c] + +0x80,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x16,0x7c] + +0xf0,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x16,0x7c] + +0xff,0x04,0x16,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_ngt_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x16,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ngt_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x16,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x16,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_ngt_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x16,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ngt_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x16,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x16,0x7c] + +0x7e,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x16,0x7c] + +0x7c,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x16,0x7c] + +0x01,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x16,0x7c] + +0x65,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x16,0x7c] + +0x01,0x05,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x16,0x7c] + +0x01,0xff,0x17,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x17,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x17,0x7c] + +0xff,0x05,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x16,0x7c] + +0x6b,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x16,0x7c] + +0x6a,0x04,0x16,0x7c +# W32: v_cmp_ngt_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x16,0x7c] +# W64: v_cmp_ngt_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x16,0x7c] + +0xc1,0x04,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x56,0x7c] + +0xf7,0x04,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x56,0x7c] + +0x80,0x04,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x56,0x7c] + +0xf0,0x04,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x56,0x7c] + +0xff,0x04,0x56,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_ngt_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x56,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_ngt_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x56,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x56,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_ngt_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x56,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_ngt_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x56,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x56,0x7c] + +0x64,0x04,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x56,0x7c] + +0x02,0x04,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x56,0x7c] + +0x04,0x04,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x56,0x7c] + +0x01,0xfd,0x57,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x57,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x57,0x7c] + +0x01,0x05,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x56,0x7c] + +0xfe,0x05,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x56,0x7c] + +0x6a,0x04,0x56,0x7c +# W32: v_cmp_ngt_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x56,0x7c] +# W64: v_cmp_ngt_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x56,0x7c] + +0xc1,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0xd8,0x7d] + +0xf7,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0xd8,0x7d] + +0x80,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0xd8,0x7d] + +0xf0,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0xd8,0x7d] + +0xff,0x04,0xd8,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_nle_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0xd8,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_nle_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0xd8,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0xd8,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_nle_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd8,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_nle_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd8,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0xd8,0x7d] + +0x7e,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0xd8,0x7d] + +0x7c,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0xd8,0x7d] + +0x01,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0xd8,0x7d] + +0x65,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0xd8,0x7d] + +0x01,0x05,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0xd8,0x7d] + +0x01,0xff,0xd9,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0xd9,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0xd9,0x7d] + +0xff,0x05,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0xd8,0x7d] + +0x6b,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd8,0x7d] + +0x6a,0x04,0xd8,0x7d +# W32: v_cmp_nle_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd8,0x7d] +# W64: v_cmp_nle_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd8,0x7d] + +0xc1,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x18,0x7c] + +0xf7,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x18,0x7c] + +0x80,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x18,0x7c] + +0xf0,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x18,0x7c] + +0xff,0x04,0x18,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_nle_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x18,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_nle_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x18,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x18,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_nle_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x18,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_nle_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x18,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x18,0x7c] + +0x7e,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x18,0x7c] + +0x7c,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x18,0x7c] + +0x01,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x18,0x7c] + +0x65,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x18,0x7c] + +0x01,0x05,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x18,0x7c] + +0x01,0xff,0x19,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x19,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x19,0x7c] + +0xff,0x05,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x18,0x7c] + +0x6b,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x18,0x7c] + +0x6a,0x04,0x18,0x7c +# W32: v_cmp_nle_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x18,0x7c] +# W64: v_cmp_nle_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x18,0x7c] + +0xc1,0x04,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x58,0x7c] + +0xf7,0x04,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x58,0x7c] + +0x80,0x04,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x58,0x7c] + +0xf0,0x04,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x58,0x7c] + +0xff,0x04,0x58,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_nle_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x58,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_nle_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x58,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x58,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_nle_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x58,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_nle_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x58,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x58,0x7c] + +0x64,0x04,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x58,0x7c] + +0x02,0x04,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x58,0x7c] + +0x04,0x04,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x58,0x7c] + +0x01,0xfd,0x59,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x59,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x59,0x7c] + +0x01,0x05,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x58,0x7c] + +0xfe,0x05,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x58,0x7c] + +0x6a,0x04,0x58,0x7c +# W32: v_cmp_nle_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x58,0x7c] +# W64: v_cmp_nle_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x58,0x7c] + +0xc1,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0xd4,0x7d] + +0xf7,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0xd4,0x7d] + +0x80,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0xd4,0x7d] + +0xf0,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0xd4,0x7d] + +0xff,0x04,0xd4,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_nlg_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0xd4,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_nlg_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0xd4,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0xd4,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_nlg_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd4,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_nlg_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd4,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0xd4,0x7d] + +0x7e,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0xd4,0x7d] + +0x7c,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0xd4,0x7d] + +0x01,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0xd4,0x7d] + +0x65,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0xd4,0x7d] + +0x01,0x05,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0xd4,0x7d] + +0x01,0xff,0xd5,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0xd5,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0xd5,0x7d] + +0xff,0x05,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0xd4,0x7d] + +0x6b,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd4,0x7d] + +0x6a,0x04,0xd4,0x7d +# W32: v_cmp_nlg_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd4,0x7d] +# W64: v_cmp_nlg_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd4,0x7d] + +0xc1,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x14,0x7c] + +0xf7,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x14,0x7c] + +0x80,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x14,0x7c] + +0xf0,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x14,0x7c] + +0xff,0x04,0x14,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_nlg_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x14,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_nlg_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x14,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x14,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_nlg_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x14,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_nlg_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x14,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x14,0x7c] + +0x7e,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x14,0x7c] + +0x7c,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x14,0x7c] + +0x01,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x14,0x7c] + +0x65,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x14,0x7c] + +0x01,0x05,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x14,0x7c] + +0x01,0xff,0x15,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x15,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x15,0x7c] + +0xff,0x05,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x14,0x7c] + +0x6b,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x14,0x7c] + +0x6a,0x04,0x14,0x7c +# W32: v_cmp_nlg_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x14,0x7c] +# W64: v_cmp_nlg_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x14,0x7c] + +0xc1,0x04,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x54,0x7c] + +0xf7,0x04,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x54,0x7c] + +0x80,0x04,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x54,0x7c] + +0xf0,0x04,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x54,0x7c] + +0xff,0x04,0x54,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_nlg_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x54,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_nlg_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x54,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x54,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_nlg_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x54,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_nlg_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x54,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x54,0x7c] + +0x64,0x04,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x54,0x7c] + +0x02,0x04,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x54,0x7c] + +0x04,0x04,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x54,0x7c] + +0x01,0xfd,0x55,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x55,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x55,0x7c] + +0x01,0x05,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x54,0x7c] + +0xfe,0x05,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x54,0x7c] + +0x6a,0x04,0x54,0x7c +# W32: v_cmp_nlg_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x54,0x7c] +# W64: v_cmp_nlg_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x54,0x7c] + +0xc1,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0xdc,0x7d] + +0xf7,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0xdc,0x7d] + +0x80,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0xdc,0x7d] + +0xf0,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0xdc,0x7d] + +0xff,0x04,0xdc,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_nlt_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0xdc,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_nlt_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0xdc,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0xdc,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_nlt_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0xdc,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_nlt_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0xdc,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0xdc,0x7d] + +0x7e,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0xdc,0x7d] + +0x7c,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0xdc,0x7d] + +0x01,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0xdc,0x7d] + +0x65,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0xdc,0x7d] + +0x01,0x05,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0xdc,0x7d] + +0x01,0xff,0xdd,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0xdd,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0xdd,0x7d] + +0xff,0x05,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0xdc,0x7d] + +0x6b,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0xdc,0x7d] + +0x6a,0x04,0xdc,0x7d +# W32: v_cmp_nlt_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0xdc,0x7d] +# W64: v_cmp_nlt_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0xdc,0x7d] + +0xc1,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x1c,0x7c] + +0xf7,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x1c,0x7c] + +0x80,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x1c,0x7c] + +0xf0,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x1c,0x7c] + +0xff,0x04,0x1c,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_nlt_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x1c,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_nlt_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x1c,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x1c,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_nlt_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x1c,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_nlt_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x1c,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x1c,0x7c] + +0x7e,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x1c,0x7c] + +0x7c,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x1c,0x7c] + +0x01,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x1c,0x7c] + +0x65,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x1c,0x7c] + +0x01,0x05,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x1c,0x7c] + +0x01,0xff,0x1d,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x1d,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x1d,0x7c] + +0xff,0x05,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x1c,0x7c] + +0x6b,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1c,0x7c] + +0x6a,0x04,0x1c,0x7c +# W32: v_cmp_nlt_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1c,0x7c] +# W64: v_cmp_nlt_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1c,0x7c] + +0xc1,0x04,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x5c,0x7c] + +0xf7,0x04,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x5c,0x7c] + +0x80,0x04,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x5c,0x7c] + +0xf0,0x04,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x5c,0x7c] + +0xff,0x04,0x5c,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_nlt_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x5c,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_nlt_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x5c,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x5c,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_nlt_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x5c,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_nlt_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x5c,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x5c,0x7c] + +0x64,0x04,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x5c,0x7c] + +0x02,0x04,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x5c,0x7c] + +0x04,0x04,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x5c,0x7c] + +0x01,0xfd,0x5d,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x5d,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x5d,0x7c] + +0x01,0x05,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x5c,0x7c] + +0xfe,0x05,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x5c,0x7c] + +0x6a,0x04,0x5c,0x7c +# W32: v_cmp_nlt_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x5c,0x7c] +# W64: v_cmp_nlt_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x5c,0x7c] + +0xc1,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x9e,0x7d] + +0xf7,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x9e,0x7d] + +0x80,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x9e,0x7d] + +0xf0,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x9e,0x7d] + +0xff,0x04,0x9e,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_o_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0x9e,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_o_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0x9e,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0x9e,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_o_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0x9e,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_o_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0x9e,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x9e,0x7d] + +0x7e,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x9e,0x7d] + +0x7c,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x9e,0x7d] + +0x01,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x9e,0x7d] + +0x65,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x9e,0x7d] + +0x01,0x05,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x9e,0x7d] + +0x01,0xff,0x9f,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x9f,0x7d] +# W64: v_cmp_o_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x9f,0x7d] + +0xff,0x05,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x9e,0x7d] + +0x6b,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x9e,0x7d] + +0x6a,0x04,0x9e,0x7d +# W32: v_cmp_o_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x9e,0x7d] +# W64: v_cmp_o_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x9e,0x7d] + +0xc1,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x0e,0x7c] + +0xf7,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x0e,0x7c] + +0x80,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x0e,0x7c] + +0xf0,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x0e,0x7c] + +0xff,0x04,0x0e,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_o_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0e,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_o_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0e,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0e,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_o_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0e,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_o_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0e,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x0e,0x7c] + +0x7e,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x0e,0x7c] + +0x7c,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x0e,0x7c] + +0x01,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x0e,0x7c] + +0x65,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x0e,0x7c] + +0x01,0x05,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x0e,0x7c] + +0x01,0xff,0x0f,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x0f,0x7c] +# W64: v_cmp_o_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x0f,0x7c] + +0xff,0x05,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x0e,0x7c] + +0x6b,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0e,0x7c] + +0x6a,0x04,0x0e,0x7c +# W32: v_cmp_o_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0e,0x7c] +# W64: v_cmp_o_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0e,0x7c] + +0xc1,0x04,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x4e,0x7c] + +0xf7,0x04,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4e,0x7c] + +0x80,0x04,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x4e,0x7c] + +0xf0,0x04,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4e,0x7c] + +0xff,0x04,0x4e,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_o_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4e,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_o_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4e,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x4e,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_o_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4e,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_o_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4e,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x4e,0x7c] + +0x64,0x04,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4e,0x7c] + +0x02,0x04,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4e,0x7c] + +0x04,0x04,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4e,0x7c] + +0x01,0xfd,0x4f,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4f,0x7c] +# W64: v_cmp_o_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4f,0x7c] + +0x01,0x05,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4e,0x7c] + +0xfe,0x05,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4e,0x7c] + +0x6a,0x04,0x4e,0x7c +# W32: v_cmp_o_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4e,0x7c] +# W64: v_cmp_o_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4e,0x7c] + +0xc1,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x0e,0x7d] + +0xf7,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x0e,0x7d] + +0x80,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x0e,0x7d] + +0xf0,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x0e,0x7d] + +0xff,0x04,0x0e,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_t_i32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0e,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_t_i32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x0e,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x0e,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_t_i32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0e,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_t_i32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x0e,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x0e,0x7d] + +0x7e,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x0e,0x7d] + +0x7c,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x0e,0x7d] + +0x01,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x0e,0x7d] + +0x65,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x0e,0x7d] + +0x01,0x05,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x0e,0x7d] + +0x01,0xff,0x0f,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x0f,0x7d] +# W64: v_cmp_t_i32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x0f,0x7d] + +0xff,0x05,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x0e,0x7d] + +0x6b,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x0e,0x7d] + +0x6a,0x04,0x0e,0x7d +# W32: v_cmp_t_i32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0e,0x7d] +# W64: v_cmp_t_i32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x0e,0x7d] + +0xc1,0x04,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x4e,0x7d] + +0xf7,0x04,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x4e,0x7d] + +0x80,0x04,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x4e,0x7d] + +0xf0,0x04,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x4e,0x7d] + +0xff,0x04,0x4e,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_t_i64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4e,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_t_i64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x4e,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x4e,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_t_i64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4e,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_t_i64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x4e,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x4e,0x7d] + +0x64,0x04,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x4e,0x7d] + +0x02,0x04,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x4e,0x7d] + +0x04,0x04,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x4e,0x7d] + +0x01,0xfd,0x4f,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4f,0x7d] +# W64: v_cmp_t_i64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x4f,0x7d] + +0x01,0x05,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x4e,0x7d] + +0xfe,0x05,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x4e,0x7d] + +0x6a,0x04,0x4e,0x7d +# W32: v_cmp_t_i64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4e,0x7d] +# W64: v_cmp_t_i64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x4e,0x7d] + +0xc1,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x8e,0x7d] + +0xf7,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x8e,0x7d] + +0x80,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x8e,0x7d] + +0xf0,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x8e,0x7d] + +0xff,0x04,0x8e,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_t_u32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x8e,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_t_u32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x8e,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x8e,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_t_u32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x8e,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_t_u32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x8e,0x7d,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x8e,0x7d] + +0x7e,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x8e,0x7d] + +0x7c,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x8e,0x7d] + +0x01,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x8e,0x7d] + +0x65,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x8e,0x7d] + +0x01,0x05,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x8e,0x7d] + +0x01,0xff,0x8f,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x8f,0x7d] +# W64: v_cmp_t_u32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x8f,0x7d] + +0xff,0x05,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x8e,0x7d] + +0x6b,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x8e,0x7d] + +0x6a,0x04,0x8e,0x7d +# W32: v_cmp_t_u32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x8e,0x7d] +# W64: v_cmp_t_u32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x8e,0x7d] + +0xc1,0x04,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0xce,0x7d] + +0xf7,0x04,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0xce,0x7d] + +0x80,0x04,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0xce,0x7d] + +0xf0,0x04,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0xce,0x7d] + +0xff,0x04,0xce,0x7d,0x73,0x72,0x71,0x3f +# W32: v_cmp_t_u64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xce,0x7d,0x73,0x72,0x71,0x3f] +# W64: v_cmp_t_u64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0xce,0x7d,0x73,0x72,0x71,0x3f] + +0xff,0x04,0xce,0x7d,0x56,0x34,0x12,0xaf +# W32: v_cmp_t_u64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xce,0x7d,0x56,0x34,0x12,0xaf] +# W64: v_cmp_t_u64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0xce,0x7d,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0xce,0x7d] + +0x64,0x04,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0xce,0x7d] + +0x02,0x04,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0xce,0x7d] + +0x04,0x04,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0xce,0x7d] + +0x01,0xfd,0xcf,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xcf,0x7d] +# W64: v_cmp_t_u64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0xcf,0x7d] + +0x01,0x05,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0xce,0x7d] + +0xfe,0x05,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0xce,0x7d] + +0x6a,0x04,0xce,0x7d +# W32: v_cmp_t_u64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0xce,0x7d] +# W64: v_cmp_t_u64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0xce,0x7d] + +0xc1,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0xde,0x7d] + +0xf7,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0xde,0x7d] + +0x80,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0xde,0x7d] + +0xf0,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0xde,0x7d] + +0xff,0x04,0xde,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_tru_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0xde,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_tru_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0xde,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0xde,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_tru_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0xde,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_tru_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0xde,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0xde,0x7d] + +0x7e,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0xde,0x7d] + +0x7c,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0xde,0x7d] + +0x01,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0xde,0x7d] + +0x65,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0xde,0x7d] + +0x01,0x05,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0xde,0x7d] + +0x01,0xff,0xdf,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0xdf,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0xdf,0x7d] + +0xff,0x05,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0xde,0x7d] + +0x6b,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0xde,0x7d] + +0x6a,0x04,0xde,0x7d +# W32: v_cmp_tru_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0xde,0x7d] +# W64: v_cmp_tru_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0xde,0x7d] + +0xc1,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x1e,0x7c] + +0xf7,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x1e,0x7c] + +0x80,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x1e,0x7c] + +0xf0,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x1e,0x7c] + +0xff,0x04,0x1e,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_tru_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x1e,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_tru_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x1e,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x1e,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_tru_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x1e,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_tru_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x1e,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x1e,0x7c] + +0x7e,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x1e,0x7c] + +0x7c,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x1e,0x7c] + +0x01,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x1e,0x7c] + +0x65,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x1e,0x7c] + +0x01,0x05,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x1e,0x7c] + +0x01,0xff,0x1f,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x1f,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x1f,0x7c] + +0xff,0x05,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x1e,0x7c] + +0x6b,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x1e,0x7c] + +0x6a,0x04,0x1e,0x7c +# W32: v_cmp_tru_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1e,0x7c] +# W64: v_cmp_tru_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x1e,0x7c] + +0xc1,0x04,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x5e,0x7c] + +0xf7,0x04,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x5e,0x7c] + +0x80,0x04,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x5e,0x7c] + +0xf0,0x04,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x5e,0x7c] + +0xff,0x04,0x5e,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_tru_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x5e,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_tru_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x5e,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x5e,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_tru_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x5e,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_tru_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x5e,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x5e,0x7c] + +0x64,0x04,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x5e,0x7c] + +0x02,0x04,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x5e,0x7c] + +0x04,0x04,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x5e,0x7c] + +0x01,0xfd,0x5f,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x5f,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x5f,0x7c] + +0x01,0x05,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x5e,0x7c] + +0xfe,0x05,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x5e,0x7c] + +0x6a,0x04,0x5e,0x7c +# W32: v_cmp_tru_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x5e,0x7c] +# W64: v_cmp_tru_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x5e,0x7c] + +0xc1,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0xd0,0x7d] + +0xf7,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0xd0,0x7d] + +0x80,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0xd0,0x7d] + +0xf0,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0xd0,0x7d] + +0xff,0x04,0xd0,0x7d,0x56,0x34,0x00,0x00 +# W32: v_cmp_u_f16_e32 vcc_lo, 0x3456, v2 ; encoding: [0xff,0x04,0xd0,0x7d,0x56,0x34,0x00,0x00] +# W64: v_cmp_u_f16_e32 vcc, 0x3456, v2 ; encoding: [0xff,0x04,0xd0,0x7d,0x56,0x34,0x00,0x00] + +0xff,0x04,0xd0,0x7d,0x0b,0xfe,0x00,0x00 +# W32: v_cmp_u_f16_e32 vcc_lo, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd0,0x7d,0x0b,0xfe,0x00,0x00] +# W64: v_cmp_u_f16_e32 vcc, 0xfe0b, v2 ; encoding: [0xff,0x04,0xd0,0x7d,0x0b,0xfe,0x00,0x00] + +0x7f,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0xd0,0x7d] + +0x7e,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0xd0,0x7d] + +0x7c,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0xd0,0x7d] + +0x01,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0xd0,0x7d] + +0x65,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0xd0,0x7d] + +0x01,0x05,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0xd0,0x7d] + +0x01,0xff,0xd1,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0xd1,0x7d] +# W64: v_cmp_u_f16_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0xd1,0x7d] + +0xff,0x05,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0xd0,0x7d] + +0x6b,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0xd0,0x7d] + +0x6a,0x04,0xd0,0x7d +# W32: v_cmp_u_f16_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd0,0x7d] +# W64: v_cmp_u_f16_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0xd0,0x7d] + +0xc1,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, -1, v2 ; encoding: [0xc1,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, -1, v2 ; encoding: [0xc1,0x04,0x10,0x7c] + +0xf7,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, -4.0, v2 ; encoding: [0xf7,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, -4.0, v2 ; encoding: [0xf7,0x04,0x10,0x7c] + +0x80,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, 0, v2 ; encoding: [0x80,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, 0, v2 ; encoding: [0x80,0x04,0x10,0x7c] + +0xf0,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, 0.5, v2 ; encoding: [0xf0,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, 0.5, v2 ; encoding: [0xf0,0x04,0x10,0x7c] + +0xff,0x04,0x10,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_u_f32_e32 vcc_lo, 0x3f717273, v2 ; encoding: [0xff,0x04,0x10,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_u_f32_e32 vcc, 0x3f717273, v2 ; encoding: [0xff,0x04,0x10,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x10,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_u_f32_e32 vcc_lo, 0xaf123456, v2 ; encoding: [0xff,0x04,0x10,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_u_f32_e32 vcc, 0xaf123456, v2 ; encoding: [0xff,0x04,0x10,0x7c,0x56,0x34,0x12,0xaf] + +0x7f,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, exec_hi, v2 ; encoding: [0x7f,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, exec_hi, v2 ; encoding: [0x7f,0x04,0x10,0x7c] + +0x7e,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, exec_lo, v2 ; encoding: [0x7e,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, exec_lo, v2 ; encoding: [0x7e,0x04,0x10,0x7c] + +0x7c,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, m0, v2 ; encoding: [0x7c,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, m0, v2 ; encoding: [0x7c,0x04,0x10,0x7c] + +0x01,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, s1, v2 ; encoding: [0x01,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, s1, v2 ; encoding: [0x01,0x04,0x10,0x7c] + +0x65,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, s101, v2 ; encoding: [0x65,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, s101, v2 ; encoding: [0x65,0x04,0x10,0x7c] + +0x01,0x05,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, v1, v2 ; encoding: [0x01,0x05,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, v1, v2 ; encoding: [0x01,0x05,0x10,0x7c] + +0x01,0xff,0x11,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, v1, v255 ; encoding: [0x01,0xff,0x11,0x7c] +# W64: v_cmp_u_f32_e32 vcc, v1, v255 ; encoding: [0x01,0xff,0x11,0x7c] + +0xff,0x05,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, v255, v2 ; encoding: [0xff,0x05,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, v255, v2 ; encoding: [0xff,0x05,0x10,0x7c] + +0x6b,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, vcc_hi, v2 ; encoding: [0x6b,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, vcc_hi, v2 ; encoding: [0x6b,0x04,0x10,0x7c] + +0x6a,0x04,0x10,0x7c +# W32: v_cmp_u_f32_e32 vcc_lo, vcc_lo, v2 ; encoding: [0x6a,0x04,0x10,0x7c] +# W64: v_cmp_u_f32_e32 vcc, vcc_lo, v2 ; encoding: [0x6a,0x04,0x10,0x7c] + +0xc1,0x04,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, -1, v[2:3] ; encoding: [0xc1,0x04,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, -1, v[2:3] ; encoding: [0xc1,0x04,0x50,0x7c] + +0xf7,0x04,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, -4.0, v[2:3] ; encoding: [0xf7,0x04,0x50,0x7c] + +0x80,0x04,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, 0, v[2:3] ; encoding: [0x80,0x04,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, 0, v[2:3] ; encoding: [0x80,0x04,0x50,0x7c] + +0xf0,0x04,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, 0.5, v[2:3] ; encoding: [0xf0,0x04,0x50,0x7c] + +0xff,0x04,0x50,0x7c,0x73,0x72,0x71,0x3f +# W32: v_cmp_u_f64_e32 vcc_lo, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x50,0x7c,0x73,0x72,0x71,0x3f] +# W64: v_cmp_u_f64_e32 vcc, 0x3f717273, v[2:3] ; encoding: [0xff,0x04,0x50,0x7c,0x73,0x72,0x71,0x3f] + +0xff,0x04,0x50,0x7c,0x56,0x34,0x12,0xaf +# W32: v_cmp_u_f64_e32 vcc_lo, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x50,0x7c,0x56,0x34,0x12,0xaf] +# W64: v_cmp_u_f64_e32 vcc, 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x50,0x7c,0x56,0x34,0x12,0xaf] + +0x7e,0x04,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, exec, v[2:3] ; encoding: [0x7e,0x04,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, exec, v[2:3] ; encoding: [0x7e,0x04,0x50,0x7c] + +0x64,0x04,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, s[100:101], v[2:3] ; encoding: [0x64,0x04,0x50,0x7c] + +0x02,0x04,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, s[2:3], v[2:3] ; encoding: [0x02,0x04,0x50,0x7c] + +0x04,0x04,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, s[4:5], v[2:3] ; encoding: [0x04,0x04,0x50,0x7c] + +0x01,0xfd,0x51,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x51,0x7c] +# W64: v_cmp_u_f64_e32 vcc, v[1:2], v[254:255] ; encoding: [0x01,0xfd,0x51,0x7c] + +0x01,0x05,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, v[1:2], v[2:3] ; encoding: [0x01,0x05,0x50,0x7c] + +0xfe,0x05,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, v[254:255], v[2:3] ; encoding: [0xfe,0x05,0x50,0x7c] + +0x6a,0x04,0x50,0x7c +# W32: v_cmp_u_f64_e32 vcc_lo, vcc, v[2:3] ; encoding: [0x6a,0x04,0x50,0x7c] +# W64: v_cmp_u_f64_e32 vcc, vcc, v[2:3] ; encoding: [0x6a,0x04,0x50,0x7c] diff --git a/tests/data/testgame/MicrosoftGame.config b/tests/data/testgame/MicrosoftGame.config new file mode 100644 index 0000000..75914e4 --- /dev/null +++ b/tests/data/testgame/MicrosoftGame.config @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Fake GDK package manifest for the XCL test title. --> +<Game configVersion="1"> + <Identity Name="XCL.TestTitle" Publisher="CN=XCL" Version="1.0.0.0"/> + <ExecutableList> + <Executable Name="xcl_testtitle.exe" TargetDeviceFamily="Scarlett" Id="Game"/> + </ExecutableList> + <ShellVisuals DefaultDisplayName="XCL Test Title" PublisherDisplayName="XCL"/> +</Game> diff --git a/tests/data/testgame/data/delete_me.txt b/tests/data/testgame/data/delete_me.txt new file mode 100644 index 0000000..df0f274 --- /dev/null +++ b/tests/data/testgame/data/delete_me.txt @@ -0,0 +1 @@ +this file is deleted by the test title (only a whiteout is recorded) diff --git a/tests/data/testgame/data/hello.txt b/tests/data/testgame/data/hello.txt new file mode 100644 index 0000000..c931453 --- /dev/null +++ b/tests/data/testgame/data/hello.txt @@ -0,0 +1 @@ +hello from the game folder diff --git a/tests/data/testgame/data/sub/nested.bin b/tests/data/testgame/data/sub/nested.bin new file mode 100644 index 0000000000000000000000000000000000000000..e0d84f457d2b5c802ecd286e7e576365d94af3b9 GIT binary patch literal 8 PcmZQzWMXDvWn%{b09*ha literal 0 HcmV?d00001 diff --git a/tests/testgamedll/Cargo.toml b/tests/testgamedll/Cargo.toml new file mode 100644 index 0000000..6264862 --- /dev/null +++ b/tests/testgamedll/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "testgame-mw" +description = "Fake game-shipped middleware DLL used by the XCL test title." +version.workspace = true +edition.workspace = true +license.workspace = true +publish = false + +[lib] +name = "testgame_mw" +crate-type = ["cdylib"] +path = "src/lib.rs" diff --git a/tests/testgamedll/src/lib.rs b/tests/testgamedll/src/lib.rs new file mode 100644 index 0000000..20d90da --- /dev/null +++ b/tests/testgamedll/src/lib.rs @@ -0,0 +1,57 @@ +//! Fake middleware DLL shipped "with the game". It is loaded by XCL's own loader, not by +//! Windows: it imports a console DLL (kernelx.dll), has static TLS and a DllMain. + +use std::cell::Cell; +use std::ffi::c_void; +use std::sync::atomic::{AtomicU32, Ordering}; + +static ATTACHED: AtomicU32 = AtomicU32::new(0); + +thread_local! { + static COUNTER: Cell<u32> = const { Cell::new(7) }; +} + +#[link(name = "kernelx", kind = "raw-dylib")] +extern "system" { + fn XMemAlloc(size: usize, attrs: u64) -> *mut c_void; + fn XMemFree(p: *mut c_void, attrs: u64); +} + +#[no_mangle] +pub extern "system" fn DllMain(_h: *mut c_void, reason: u32, _r: *mut c_void) -> i32 { + if reason == 1 { + ATTACHED.store(1, Ordering::SeqCst); + } + 1 +} + +#[no_mangle] +pub extern "C" fn mw_add(a: i32, b: i32) -> i32 { + a + b +} + +#[no_mangle] +pub extern "C" fn mw_attached() -> u32 { + ATTACHED.load(Ordering::SeqCst) +} + +/// First call on a thread returns 8 when the TLS template (7) was applied. +#[no_mangle] +pub extern "C" fn mw_tls_bump() -> u32 { + COUNTER.with(|c| { + c.set(c.get() + 1); + c.get() + }) +} + +#[no_mangle] +pub extern "C" fn mw_xmem_roundtrip() -> u32 { + unsafe { + let p = XMemAlloc(128, 6u64 << 24); + if p.is_null() || p as usize % 64 != 0 { + return 0; + } + XMemFree(p, 6u64 << 24); + } + 1 +} diff --git a/tests/testtitle/Cargo.toml b/tests/testtitle/Cargo.toml new file mode 100644 index 0000000..5424345 --- /dev/null +++ b/tests/testtitle/Cargo.toml @@ -0,0 +1,25 @@ +[package] +name = "xcl-testtitle" +description = "Fake 'console title' used to test XCL. Imports console DLLs (kernelx.dll, xgameruntime.dll, d3d12_xs.dll) and cannot run on plain Windows." +version.workspace = true +edition.workspace = true +license.workspace = true +publish = false + +[[bin]] +name = "xcl_testtitle" +path = "src/main.rs" + +[dependencies] +# zlib for the synthetic retail-format console shader (XBCH) +miniz_oxide = "0.9" + +# D3D12 types/interfaces only – the device itself comes from d3d12_xs.dll (XCL). +[dependencies.windows] +version = "0.62" +features = [ + "Win32_Foundation", + "Win32_Graphics_Direct3D", + "Win32_Graphics_Direct3D12", + "Win32_Graphics_Dxgi_Common", +] diff --git a/tests/testtitle/src/audio.rs b/tests/testtitle/src/audio.rs new file mode 100644 index 0000000..0ecbc2f --- /dev/null +++ b/tests/testtitle/src/audio.rs @@ -0,0 +1,253 @@ +//! XAudio2 the way a console title uses it: engine with console-only flags, mastering +//! voice with a console device id, an XMA2 voice (no decoder on PC – XCL plays silence of +//! the same length) and a plain PCM voice. Buffer callbacks must come back with the +//! title's contexts and the stream must end on time. + +use std::ffi::c_void; +use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; +use std::sync::OnceLock; +use std::time::{Duration, Instant}; + +#[link(name = "xaudio2_9", kind = "raw-dylib")] +extern "system" { + fn XAudio2Create(pp: *mut *mut c_void, flags: u32, processor: u32) -> i32; +} + +#[repr(C, packed)] +#[derive(Clone, Copy, Default)] +struct WaveFormatEx { + tag: u16, + channels: u16, + rate: u32, + avg_bytes: u32, + block_align: u16, + bits: u16, + cb_size: u16, +} + +#[repr(C, packed)] +#[derive(Clone, Copy, Default)] +struct Xma2Format { + wfx: WaveFormatEx, + num_streams: u16, + channel_mask: u32, + samples_encoded: u32, + bytes_per_block: u32, + play_begin: u32, + play_length: u32, + loop_begin: u32, + loop_length: u32, + loop_count: u8, + encoder_version: u8, + block_count: u16, +} + +#[repr(C, packed)] +struct Buffer { + flags: u32, + audio_bytes: u32, + audio_data: *const u8, + play_begin: u32, + play_length: u32, + loop_begin: u32, + loop_length: u32, + loop_count: u32, + context: *mut c_void, +} + +#[repr(C, packed)] +#[derive(Default)] +struct VoiceDetails { + creation_flags: u32, + active_flags: u32, + channels: u32, + rate: u32, +} + +const END_OF_STREAM: u32 = 0x40; +const XMA_CONTEXT: usize = 0x100; +const PCM_CONTEXT: usize = 0x2_0000; + +static BUFFER_END: AtomicUsize = AtomicUsize::new(0); +static STREAM_END: AtomicUsize = AtomicUsize::new(0); +static VOICE_ERRORS: AtomicUsize = AtomicUsize::new(0); +static STARTED: OnceLock<Instant> = OnceLock::new(); +/// ms from Start to the end of the XMA2 buffer +static XMA_END_MS: AtomicU64 = AtomicU64::new(u64::MAX); + +// IXAudio2VoiceCallback (no IUnknown) +#[repr(C)] +struct CallbackVtbl { + pass_start: unsafe extern "system" fn(*mut c_void, u32), + pass_end: unsafe extern "system" fn(*mut c_void), + stream_end: unsafe extern "system" fn(*mut c_void), + buffer_start: unsafe extern "system" fn(*mut c_void, *mut c_void), + buffer_end: unsafe extern "system" fn(*mut c_void, *mut c_void), + loop_end: unsafe extern "system" fn(*mut c_void, *mut c_void), + voice_error: unsafe extern "system" fn(*mut c_void, *mut c_void, i32), +} + +unsafe extern "system" fn on_pass_start(_: *mut c_void, _: u32) {} +unsafe extern "system" fn on_nothing(_: *mut c_void) {} +unsafe extern "system" fn on_stream_end(_: *mut c_void) { + STREAM_END.fetch_add(1, Ordering::SeqCst); +} +unsafe extern "system" fn on_ctx(_: *mut c_void, _: *mut c_void) {} +unsafe extern "system" fn on_buffer_end(_: *mut c_void, ctx: *mut c_void) { + if ctx as usize == XMA_CONTEXT { + if let Some(t0) = STARTED.get() { + XMA_END_MS.store(t0.elapsed().as_millis() as u64, Ordering::SeqCst); + } + } + BUFFER_END.fetch_add(ctx as usize, Ordering::SeqCst); +} +unsafe extern "system" fn on_error(_: *mut c_void, _: *mut c_void, _: i32) { + VOICE_ERRORS.fetch_add(1, Ordering::SeqCst); +} + +static VTBL: CallbackVtbl = CallbackVtbl { + pass_start: on_pass_start, + pass_end: on_nothing, + stream_end: on_stream_end, + buffer_start: on_ctx, + buffer_end: on_buffer_end, + loop_end: on_ctx, + voice_error: on_error, +}; + +#[repr(C)] +struct Callback { + vtbl: &'static CallbackVtbl, +} + +static CALLBACK: Callback = Callback { vtbl: &VTBL }; + +unsafe fn method<F: Copy>(obj: *mut c_void, slot: usize) -> F { + let vt = *(obj as *const *const usize); + std::mem::transmute_copy::<usize, F>(&*vt.add(slot)) +} + +type CreateSourceVoice = + unsafe extern "system" fn(*mut c_void, *mut *mut c_void, *const c_void, u32, f32, *const c_void, *const c_void, *const c_void) -> i32; +type CreateMasteringVoice = unsafe extern "system" fn(*mut c_void, *mut *mut c_void, u32, u32, u32, *const u16, *const c_void, u32) -> i32; +type GetVoiceDetails = unsafe extern "system" fn(*mut c_void, *mut VoiceDetails); +type Submit = unsafe extern "system" fn(*mut c_void, *const Buffer, *const c_void) -> i32; +type Start = unsafe extern "system" fn(*mut c_void, u32, u32) -> i32; +type Destroy = unsafe extern "system" fn(*mut c_void); +type Release = unsafe extern "system" fn(*mut c_void) -> u32; + +pub fn xaudio2_console_voices() -> Result<(), String> { + unsafe { + let mut eng: *mut c_void = std::ptr::null_mut(); + // 0x1 / 0x40: flags the Windows engine does not accept; 0x3c: a console core mask + let hr = XAudio2Create(&mut eng, 0x41, 0x3c); + if hr != 0 || eng.is_null() { + return Err(format!("XAudio2Create → {:#x}", hr as u32)); + } + let release: Release = method(eng, 2); + let device = super::wide("console-audio-endpoint-0"); + let mut master: *mut c_void = std::ptr::null_mut(); + let hr = method::<CreateMasteringVoice>(eng, 7)(eng, &mut master, 2, 48_000, 0x4, device.as_ptr(), std::ptr::null(), 6); + if hr < 0 { + println!(" (brak urządzenia audio: CreateMasteringVoice → {:#x}; pomijam głosy)", hr as u32); + release(eng); + return Ok(()); + } + + // XMA2 mono 48 kHz – Windows XAudio2 cannot play it + let xma = Xma2Format { + wfx: WaveFormatEx { tag: 0x166, channels: 1, rate: 48_000, avg_bytes: 6000, block_align: 1, bits: 16, cb_size: 34 }, + num_streams: 1, + channel_mask: 4, + samples_encoded: 9600, + bytes_per_block: 2048, + encoder_version: 4, + block_count: 1, + ..Default::default() + }; + let create_source: CreateSourceVoice = method(eng, 5); + let mut xv: *mut c_void = std::ptr::null_mut(); + let cb = &CALLBACK as *const Callback as *const c_void; + let hr = create_source(eng, &mut xv, &xma as *const Xma2Format as *const c_void, 0x2, 2.0, cb, std::ptr::null(), std::ptr::null()); + if hr != 0 || xv.is_null() { + return Err(format!("CreateSourceVoice(XMA2) → {:#x}", hr as u32)); + } + let mut det = VoiceDetails::default(); + method::<GetVoiceDetails>(xv, 0)(xv, &mut det); + let (ch, rate) = (det.channels, det.rate); + if (ch, rate) != (1, 48_000) { + return Err(format!("XMA2 voice: {ch} kan., {rate} Hz")); + } + let packet = vec![0x5au8; 2048]; + let xb = Buffer { + flags: END_OF_STREAM, + audio_bytes: 2048, + audio_data: packet.as_ptr(), + play_begin: 0, + play_length: 4800, // 0.1 s + loop_begin: 0, + loop_length: 0, + loop_count: 0, + context: XMA_CONTEXT as *mut c_void, + }; + let hr = method::<Submit>(xv, 21)(xv, &xb, std::ptr::null()); + if hr != 0 { + return Err(format!("SubmitSourceBuffer(XMA2) → {:#x}", hr as u32)); + } + + // plain PCM16 voice must pass through untouched + let pcm = WaveFormatEx { tag: 1, channels: 1, rate: 48_000, avg_bytes: 96_000, block_align: 2, bits: 16, cb_size: 0 }; + let mut pv: *mut c_void = std::ptr::null_mut(); + let hr = create_source(eng, &mut pv, &pcm as *const WaveFormatEx as *const c_void, 0, 2.0, cb, std::ptr::null(), std::ptr::null()); + if hr != 0 || pv.is_null() { + return Err(format!("CreateSourceVoice(PCM) → {:#x}", hr as u32)); + } + let samples = vec![0i16; 2400]; // 0.05 s + let pb = Buffer { + flags: END_OF_STREAM, + audio_bytes: 4800, + audio_data: samples.as_ptr() as *const u8, + play_begin: 0, + play_length: 0, + loop_begin: 0, + loop_length: 0, + loop_count: 0, + context: PCM_CONTEXT as *mut c_void, + }; + if method::<Submit>(pv, 21)(pv, &pb, std::ptr::null()) != 0 { + return Err("SubmitSourceBuffer(PCM)".into()); + } + STARTED.get_or_init(Instant::now); + for v in [xv, pv] { + let hr = method::<Start>(v, 19)(v, 0, 0); + if hr != 0 { + return Err(format!("Start → {:#x}", hr as u32)); + } + } + let t0 = Instant::now(); + while (BUFFER_END.load(Ordering::SeqCst) != XMA_CONTEXT + PCM_CONTEXT || STREAM_END.load(Ordering::SeqCst) < 2) + && t0.elapsed() < Duration::from_secs(5) + { + std::thread::sleep(Duration::from_millis(10)); + } + let ends = BUFFER_END.load(Ordering::SeqCst); + if ends != XMA_CONTEXT + PCM_CONTEXT || STREAM_END.load(Ordering::SeqCst) < 2 { + return Err(format!("callbacki: OnBufferEnd suma kontekstów {ends:#x}, OnStreamEnd {}", STREAM_END.load(Ordering::SeqCst))); + } + if VOICE_ERRORS.load(Ordering::SeqCst) != 0 { + return Err("OnVoiceError".into()); + } + // the XMA2 buffer (PlayLength 4800 = 0.1 s) must take as long as the title expects + let ms = XMA_END_MS.load(Ordering::SeqCst); + if !(80..=2000).contains(&ms) { + return Err(format!("XMA2 buffer ended after {ms} ms (expected ≈100)")); + } + println!(" (bufor XMA2 skończył się po {ms} ms)"); + for v in [xv, pv, master] { + method::<Destroy>(v, 18)(v); + } + release(eng); + drop((packet, samples)); + Ok(()) + } +} diff --git a/tests/testtitle/src/gpu.rs b/tests/testtitle/src/gpu.rs new file mode 100644 index 0000000..b46f9ca --- /dev/null +++ b/tests/testtitle/src/gpu.rs @@ -0,0 +1,353 @@ +//! D3D12.X checks of the test title. The device comes from `d3d12_xs.dll` (XCL); +//! the `windows` crate is only used for D3D12 types and vtable calls – exactly what a +//! console title compiled against a PC-compatible D3D12.X layout would do. + +use std::ffi::c_void; +use std::mem::{transmute_copy, ManuallyDrop}; + +use windows::core::Interface; +use windows::Win32::Foundation::RECT; +use windows::Win32::Graphics::Direct3D::*; +use windows::Win32::Graphics::Direct3D12::*; +use windows::Win32::Graphics::Dxgi::Common::*; + +type HRESULT = i32; + +#[link(name = "d3d12_xs", kind = "raw-dylib")] +extern "system" { + fn D3D12CreateDevice(adapter: *mut c_void, fl: u32, riid: *const c_void, dev: *mut *mut c_void) -> HRESULT; + fn D3D12SerializeRootSignature(desc: *const c_void, v: u32, blob: *mut *mut c_void, err: *mut *mut c_void) -> HRESULT; +} + +#[link(name = "d3dcompiler_47", kind = "raw-dylib")] +extern "system" { + fn D3DCompile( + src: *const u8, + len: usize, + name: *const u8, + defines: *const c_void, + include: *const c_void, + entry: *const u8, + target: *const u8, + flags1: u32, + flags2: u32, + code: *mut *mut c_void, + errors: *mut *mut c_void, + ) -> HRESULT; +} + +#[link(name = "kernel32", kind = "raw-dylib")] +extern "system" { + fn CreateEventW(sa: *const c_void, manual: i32, initial: i32, name: *const u16) -> *mut c_void; + fn WaitForSingleObject(h: *mut c_void, ms: u32) -> u32; +} + +macro_rules! ensure { + ($c:expr, $($m:tt)*) => { if !$c { return Err(format!($($m)*)); } }; +} + +fn e(x: windows::core::Error) -> String { + format!("{x}") +} + +fn device() -> Result<ID3D12Device, String> { + unsafe { + let mut p = std::ptr::null_mut(); + let hr = D3D12CreateDevice(std::ptr::null_mut(), 0xC000, &ID3D12Device::IID as *const _ as *const c_void, &mut p); + ensure!(hr >= 0 && !p.is_null(), "D3D12CreateDevice hr={hr:#x}"); + Ok(ID3D12Device::from_raw(p)) + } +} + +fn compile(src: &str, target: &str) -> Result<ID3DBlob, String> { + unsafe { + let mut blob = std::ptr::null_mut(); + let t = format!("{target}\0"); + let hr = D3DCompile(src.as_ptr(), src.len(), std::ptr::null(), std::ptr::null(), std::ptr::null(), + b"main\0".as_ptr(), t.as_ptr(), 0, 0, &mut blob, std::ptr::null_mut()); + ensure!(hr == 0 && !blob.is_null(), "D3DCompile({target}) hr={hr:#x}"); + Ok(ID3DBlob::from_raw(blob)) + } +} + +fn bc(b: &ID3DBlob) -> D3D12_SHADER_BYTECODE { + unsafe { D3D12_SHADER_BYTECODE { pShaderBytecode: b.GetBufferPointer(), BytecodeLength: b.GetBufferSize() } } +} + +fn root_signature(dev: &ID3D12Device) -> Result<ID3D12RootSignature, String> { + unsafe { + let desc = D3D12_ROOT_SIGNATURE_DESC { Flags: D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT, ..Default::default() }; + let (mut blob, mut err) = (std::ptr::null_mut(), std::ptr::null_mut()); + let hr = D3D12SerializeRootSignature(&desc as *const _ as *const c_void, 1, &mut blob, &mut err); + ensure!(hr == 0 && !blob.is_null(), "D3D12SerializeRootSignature hr={hr:#x}"); + let blob = ID3DBlob::from_raw(blob); + let bytes = std::slice::from_raw_parts(blob.GetBufferPointer() as *const u8, blob.GetBufferSize()); + dev.CreateRootSignature(0, bytes).map_err(e) + } +} + +fn pso_desc(rs: &ID3D12RootSignature, vs: D3D12_SHADER_BYTECODE, ps: D3D12_SHADER_BYTECODE) -> D3D12_GRAPHICS_PIPELINE_STATE_DESC { + let mut d = D3D12_GRAPHICS_PIPELINE_STATE_DESC::default(); + d.pRootSignature = unsafe { transmute_copy(rs) }; + d.VS = vs; + d.PS = ps; + d.BlendState.RenderTarget[0].RenderTargetWriteMask = D3D12_COLOR_WRITE_ENABLE_ALL.0 as u8; + d.SampleMask = u32::MAX; + d.RasterizerState.FillMode = D3D12_FILL_MODE_SOLID; + d.RasterizerState.CullMode = D3D12_CULL_MODE_NONE; + d.RasterizerState.DepthClipEnable = true.into(); + d.PrimitiveTopologyType = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE; + d.NumRenderTargets = 1; + d.RTVFormats[0] = DXGI_FORMAT_R8G8B8A8_UNORM; + d.SampleDesc = DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }; + d +} + +fn wait(queue: &ID3D12CommandQueue, fence: &ID3D12Fence, value: u64) -> Result<(), String> { + unsafe { + queue.Signal(fence, value).map_err(e)?; + let ev = CreateEventW(std::ptr::null(), 0, 0, std::ptr::null()); + fence.SetEventOnCompletion(value, windows::Win32::Foundation::HANDLE(ev)).map_err(e)?; + ensure!(WaitForSingleObject(ev, 5000) == 0, "GPU fence {value} not reached"); + ensure!(fence.GetCompletedValue() >= value, "fence value {}", fence.GetCompletedValue()); + Ok(()) + } +} + +pub fn queue_fence() -> Result<(), String> { + unsafe { + let dev = device()?; + let queue: ID3D12CommandQueue = dev.CreateCommandQueue(&D3D12_COMMAND_QUEUE_DESC::default()).map_err(e)?; + let fence: ID3D12Fence = dev.CreateFence(0, D3D12_FENCE_FLAG_NONE).map_err(e)?; + wait(&queue, &fence, 3)?; + wait(&queue, &fence, 4) + } +} + +/// Fake console container: unknown part "XBOX" with RDNA2 code +/// (s_mov_b32 s0, s1 ; v_add_f32 v5, v1, v2 ; s_endpgm). +fn console_container() -> Vec<u8> { + let code: [u8; 12] = [0x01, 0x03, 0x80, 0xbe, 0x01, 0x05, 0x0a, 0x06, 0x00, 0x00, 0x81, 0xbf]; + let mut xb = vec![0u8; 36]; + xb[0..4].copy_from_slice(b"DXBC"); + xb[28..32].copy_from_slice(&1u32.to_le_bytes()); + xb[32..36].copy_from_slice(&36u32.to_le_bytes()); + xb.extend_from_slice(b"XBOX"); + xb.extend_from_slice(&(code.len() as u32).to_le_bytes()); + xb.extend_from_slice(&code); + let total = xb.len() as u32; + xb[24..28].copy_from_slice(&total.to_le_bytes()); + xb +} + +fn le(v: &mut Vec<u8>, x: u32) { + v.extend_from_slice(&x.to_le_bytes()); +} + +/// Console shader in the retail layout: DXBC whose DXIL part carries no bitcode ("NOBC") +/// but XDAT → XBCH (zlib) → FSSM with native code. The code uses v_mac_f32, which only +/// the console GPU has (removed in retail RDNA2): +/// v_mac_f32 v6, s40, v21 ; s_endpgm +fn xbox_native_container() -> Vec<u8> { + // FSSM: code pointer at +0xC0/+0xC8 (relative to +0x10), PS hardware-stage descriptor at +0x100 + let code: [u8; 8] = [0x28, 0x2a, 0x0c, 0x3e, 0x00, 0x00, 0x81, 0xbf]; + let mut fssm = vec![0u8; 0x308]; + fssm[0..4].copy_from_slice(b"FSSM"); + fssm[4..8].copy_from_slice(&0x101u32.to_le_bytes()); + fssm[0xC0..0xC8].copy_from_slice(&0x2f8u64.to_le_bytes()); + fssm[0xC8..0xD0].copy_from_slice(&(code.len() as u64).to_le_bytes()); + fssm[0x100..0x108].copy_from_slice(&0x0000_00C0_0002_0105u64.to_le_bytes()); + fssm.extend_from_slice(&code); + let size = (fssm.len() - 0x10) as u32; + fssm[8..12].copy_from_slice(&size.to_le_bytes()); + let z = miniz_oxide::deflate::compress_to_vec_zlib(&fssm, 6); + let mut xbch = b"XBCH".to_vec(); + for x in [3, z.len() as u32, 0, fssm.len() as u32, 0] { + le(&mut xbch, x); + } + xbch.extend_from_slice(&z); + // DXIL part: program header (24 B), XDAT, entries, NOBC placeholder + let hash = [0x5au8; 16]; + let table = 0x18 + 12; + let data_at = table + 2 * 12; + let mut d = Vec::new(); + for x in [0x66u32, 0, u32::from_le_bytes(*b"DXIL"), 0x106, 0, 4] { + le(&mut d, x); + } + d.extend_from_slice(b"XDAT"); + for x in [2, table as u32, 0x12, data_at as u32, 16, 0x0d, (data_at + 16) as u32, xbch.len() as u32] { + le(&mut d, x); + } + d.extend_from_slice(&hash); + d.extend_from_slice(&xbch); + while d.len() % 4 != 0 { + d.push(0); + } + let nobc = d.len(); + d.extend_from_slice(b"NOBC"); + let dwords = (d.len() / 4) as u32; + d[4..8].copy_from_slice(&dwords.to_le_bytes()); + d[16..20].copy_from_slice(&((nobc - 8) as u32).to_le_bytes()); + // DXBC with a single DXIL part + let mut v = vec![0u8; 36]; + v[0..4].copy_from_slice(b"DXBC"); + v[20..24].copy_from_slice(&1u32.to_le_bytes()); + v[28..32].copy_from_slice(&1u32.to_le_bytes()); + v[32..36].copy_from_slice(&36u32.to_le_bytes()); + v.extend_from_slice(b"DXIL"); + le(&mut v, d.len() as u32); + v.extend_from_slice(&d); + let total = v.len() as u32; + v[24..28].copy_from_slice(&total.to_le_bytes()); + v +} + +pub fn xbox_native_pso() -> Result<(), String> { + unsafe { + let dev = device()?; + let rs = root_signature(&dev)?; + let vs = compile("float4 main(uint id : SV_VertexID) : SV_Position { return float4(id, 0, 0, 1); }", "vs_5_0")?; + let xb = xbox_native_container(); + let ps = D3D12_SHADER_BYTECODE { pShaderBytecode: xb.as_ptr() as *const c_void, BytecodeLength: xb.len() }; + let pso: Result<ID3D12PipelineState, _> = dev.CreateGraphicsPipelineState(&pso_desc(&rs, bc(&vs), ps)); + ensure!(pso.is_ok(), "CreateGraphicsPipelineState with a retail-format console shader failed: {:?}", pso.err()); + Ok(()) + } +} + +pub fn pso_capture_and_fallback() -> Result<(), String> { + unsafe { + let dev = device()?; + let rs = root_signature(&dev)?; + let vs = compile("float4 main(uint id : SV_VertexID) : SV_Position { return float4(id, 0, 0, 1); }", "vs_5_0")?; + let xb = console_container(); + let console_ps = D3D12_SHADER_BYTECODE { pShaderBytecode: xb.as_ptr() as *const c_void, BytecodeLength: xb.len() }; + let desc = pso_desc(&rs, bc(&vs), console_ps); + // the PC driver rejects the console PS; XCL must substitute a stand-in shader + let pso: Result<ID3D12PipelineState, _> = dev.CreateGraphicsPipelineState(&desc); + ensure!(pso.is_ok(), "CreateGraphicsPipelineState with a console shader failed: {:?}", pso.err()); + Ok(()) + } +} + +pub fn render_triangle() -> Result<(), String> { + unsafe { + let dev = device()?; + let queue: ID3D12CommandQueue = dev.CreateCommandQueue(&D3D12_COMMAND_QUEUE_DESC::default()).map_err(e)?; + let rs = root_signature(&dev)?; + let vs = compile( + "float4 main(uint id : SV_VertexID) : SV_Position { float2 p[3] = { float2(-0.5,-0.5), float2(0.0,0.5), float2(0.5,-0.5) }; return float4(p[id], 0, 1); }", + "vs_5_0", + )?; + let ps = compile("float4 main() : SV_Target { return float4(0, 1, 0, 1); }", "ps_5_0")?; + let pso: ID3D12PipelineState = dev.CreateGraphicsPipelineState(&pso_desc(&rs, bc(&vs), bc(&ps))).map_err(e)?; + + let (w, h) = (64u32, 64u32); + let tex = D3D12_RESOURCE_DESC { + Dimension: D3D12_RESOURCE_DIMENSION_TEXTURE2D, + Width: w as u64, + Height: h, + DepthOrArraySize: 1, + MipLevels: 1, + Format: DXGI_FORMAT_R8G8B8A8_UNORM, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + Flags: D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET, + ..Default::default() + }; + let clear = D3D12_CLEAR_VALUE { Format: DXGI_FORMAT_R8G8B8A8_UNORM, Anonymous: D3D12_CLEAR_VALUE_0 { Color: [0.0, 0.0, 1.0, 1.0] } }; + let mut rt: Option<ID3D12Resource> = None; + dev.CreateCommittedResource( + &D3D12_HEAP_PROPERTIES { Type: D3D12_HEAP_TYPE_DEFAULT, ..Default::default() }, + D3D12_HEAP_FLAG_NONE, + &tex, + D3D12_RESOURCE_STATE_RENDER_TARGET, + Some(&clear), + &mut rt, + ) + .map_err(e)?; + let rt = rt.ok_or("no render target")?; + let heap: ID3D12DescriptorHeap = dev + .CreateDescriptorHeap(&D3D12_DESCRIPTOR_HEAP_DESC { Type: D3D12_DESCRIPTOR_HEAP_TYPE_RTV, NumDescriptors: 1, ..Default::default() }) + .map_err(e)?; + let rtv = heap.GetCPUDescriptorHandleForHeapStart(); + dev.CreateRenderTargetView(&rt, None, rtv); + + let mut layout = D3D12_PLACED_SUBRESOURCE_FOOTPRINT::default(); + let mut total = 0u64; + dev.GetCopyableFootprints(&tex, 0, 1, 0, Some(&mut layout), None, None, Some(&mut total)); + let buf_desc = D3D12_RESOURCE_DESC { + Dimension: D3D12_RESOURCE_DIMENSION_BUFFER, + Width: total, + Height: 1, + DepthOrArraySize: 1, + MipLevels: 1, + SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, + Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR, + ..Default::default() + }; + let mut rb: Option<ID3D12Resource> = None; + dev.CreateCommittedResource( + &D3D12_HEAP_PROPERTIES { Type: D3D12_HEAP_TYPE_READBACK, ..Default::default() }, + D3D12_HEAP_FLAG_NONE, + &buf_desc, + D3D12_RESOURCE_STATE_COPY_DEST, + None, + &mut rb, + ) + .map_err(e)?; + let rb = rb.ok_or("no readback buffer")?; + + let alloc: ID3D12CommandAllocator = dev.CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT).map_err(e)?; + let list: ID3D12GraphicsCommandList = dev.CreateCommandList(0, D3D12_COMMAND_LIST_TYPE_DIRECT, &alloc, &pso).map_err(e)?; + list.OMSetRenderTargets(1, Some(&rtv), false, None); + list.ClearRenderTargetView(rtv, &[0.0, 0.0, 1.0, 1.0], None); + list.RSSetViewports(&[D3D12_VIEWPORT { TopLeftX: 0.0, TopLeftY: 0.0, Width: w as f32, Height: h as f32, MinDepth: 0.0, MaxDepth: 1.0 }]); + list.RSSetScissorRects(&[RECT { left: 0, top: 0, right: w as i32, bottom: h as i32 }]); + list.SetGraphicsRootSignature(&rs); + list.IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST); + list.DrawInstanced(3, 1, 0, 0); + let barrier = D3D12_RESOURCE_BARRIER { + Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, + Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, + Anonymous: D3D12_RESOURCE_BARRIER_0 { + Transition: ManuallyDrop::new(D3D12_RESOURCE_TRANSITION_BARRIER { + pResource: transmute_copy(&rt), + Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, + StateBefore: D3D12_RESOURCE_STATE_RENDER_TARGET, + StateAfter: D3D12_RESOURCE_STATE_COPY_SOURCE, + }), + }, + }; + list.ResourceBarrier(&[barrier]); + let dst = D3D12_TEXTURE_COPY_LOCATION { + pResource: transmute_copy(&rb), + Type: D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT, + Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { PlacedFootprint: layout }, + }; + let src = D3D12_TEXTURE_COPY_LOCATION { + pResource: transmute_copy(&rt), + Type: D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX, + Anonymous: D3D12_TEXTURE_COPY_LOCATION_0 { SubresourceIndex: 0 }, + }; + list.CopyTextureRegion(&dst, 0, 0, 0, &src, None); + list.Close().map_err(e)?; + queue.ExecuteCommandLists(&[Some(list.cast().map_err(e)?)]); + let fence: ID3D12Fence = dev.CreateFence(0, D3D12_FENCE_FLAG_NONE).map_err(e)?; + wait(&queue, &fence, 1)?; + + let mut p = std::ptr::null_mut(); + rb.Map(0, None, Some(&mut p)).map_err(e)?; + let pitch = layout.Footprint.RowPitch as usize; + let px = |x: usize, y: usize| -> [u8; 4] { + let o = y * pitch + x * 4; + let s = std::slice::from_raw_parts((p as *const u8).add(o), 4); + [s[0], s[1], s[2], s[3]] + }; + let center = px(32, 32); + let corner = px(1, 1); + rb.Unmap(0, None); + ensure!(center == [0, 255, 0, 255], "centre pixel {center:?} (expected green triangle)"); + ensure!(corner == [0, 0, 255, 255], "corner pixel {corner:?} (expected blue clear colour)"); + Ok(()) + } +} diff --git a/tests/testtitle/src/main.rs b/tests/testtitle/src/main.rs new file mode 100644 index 0000000..8d2fcd4 --- /dev/null +++ b/tests/testtitle/src/main.rs @@ -0,0 +1,446 @@ +//! XCL test title – a fake "console executable". +//! +//! Its import table names console DLLs (kernelx.dll, xgameruntime.dll, d3d12_xs.dll) and +//! a DLL shipped "with the game" (testgame_mw.dll). Plain Windows cannot start it; XCL +//! can. Every check prints [PASS]/[FAIL]; the exit code is the number of failures. + +use std::cell::Cell; +use std::ffi::c_void; +use std::sync::atomic::{AtomicU32, AtomicUsize, Ordering}; +use std::time::{Duration, Instant}; + +type HRESULT = i32; + +#[repr(C)] +struct TitleMemoryStatus { + dw_length: u32, + dw_reserved: u32, + v: [u64; 9], +} + +#[repr(C)] +struct SystemOsVersionInfo { + major: u8, + minor: u8, + build: u16, + revision: u16, +} + +#[link(name = "kernelx", kind = "raw-dylib")] +extern "system" { + fn XMemAlloc(size: usize, attrs: u64) -> *mut c_void; + fn XMemFree(p: *mut c_void, attrs: u64); + fn GetConsoleType() -> u32; + fn SetThreadName(h: *mut c_void, name: *const u16) -> i32; + fn GetThreadName(h: *mut c_void, buf: *mut u16, len: usize, ret: *mut usize) -> i32; + fn TitleMemoryStatus(buf: *mut TitleMemoryStatus) -> i32; + fn GetSystemOSVersion(out: *mut SystemOsVersionInfo); + /// Not implemented anywhere – must become a logging stub returning 0. + fn XclDefinitelyMissingFunction(a: u64, b: u64) -> u64; +} + +// Same DLL/names as Rust std's own imports, so no duplicate-symbol conflicts; XCL routes +// kernel32 to its kernelx module, so these hit XCL's shims. +#[link(name = "kernel32", kind = "raw-dylib")] +extern "system" { + fn GetCurrentThread() -> *mut c_void; + fn GetModuleHandleW(name: *const u16) -> usize; + fn GetProcAddress(h: usize, name: *const u8) -> usize; + fn LoadLibraryW(name: *const u16) -> usize; +} + +#[link(name = "gameinput", kind = "raw-dylib")] +extern "system" { + fn GameInputCreate(out: *mut *mut c_void) -> HRESULT; +} + +#[link(name = "xgameruntime", kind = "raw-dylib")] +extern "system" { + fn XGameRuntimeInitialize() -> HRESULT; + fn XSystemGetDeviceType() -> u32; + fn XTaskQueueCreate(work: u32, completion: u32, out: *mut *mut c_void) -> HRESULT; + fn XTaskQueueSubmitCallback(q: *mut c_void, port: u32, ctx: *mut c_void, cb: unsafe extern "system" fn(*mut c_void, bool)) -> HRESULT; + fn XTaskQueueSubmitDelayedCallback(q: *mut c_void, port: u32, ms: u32, ctx: *mut c_void, cb: unsafe extern "system" fn(*mut c_void, bool)) -> HRESULT; + fn XTaskQueueDispatch(q: *mut c_void, port: u32, timeout: u32) -> bool; + fn XTaskQueueTerminate(q: *mut c_void, wait: bool, ctx: *mut c_void, cb: usize) -> HRESULT; + fn XTaskQueueCloseHandle(q: *mut c_void); + fn XAsyncGetStatus(b: *mut XAsyncBlock, wait: bool) -> HRESULT; + fn XUserAddAsync(options: u32, b: *mut XAsyncBlock) -> HRESULT; + fn XUserAddResult(b: *mut XAsyncBlock, user: *mut *mut c_void) -> HRESULT; + fn XUserGetGamertag(u: *mut c_void, comp: u32, size: usize, buf: *mut u8, used: *mut usize) -> HRESULT; + fn XUserCloseHandle(u: *mut c_void); + fn XGameSaveFilesGetFolderWithUiAsync(u: *mut c_void, scid: *const u8, b: *mut XAsyncBlock) -> HRESULT; + fn XGameSaveFilesGetFolderWithUiResult(b: *mut XAsyncBlock, size: usize, buf: *mut u8) -> HRESULT; + fn XPersistentLocalStorageGetPath(size: usize, buf: *mut u8, used: *mut usize) -> HRESULT; + fn XPackageGetCurrentProcessPackageIdentifier(size: usize, buf: *mut u8) -> HRESULT; +} + +mod audio; +mod gpu; + +#[link(name = "testgame_mw", kind = "raw-dylib")] +extern "C" { + fn mw_add(a: i32, b: i32) -> i32; + fn mw_attached() -> u32; + fn mw_tls_bump() -> u32; + fn mw_xmem_roundtrip() -> u32; +} + +#[link(name = "api-ms-win-crt-stdio-l1-1-0", kind = "raw-dylib")] +extern "C" { + fn fopen(name: *const u8, mode: *const u8) -> *mut c_void; + fn fread(buf: *mut c_void, size: usize, n: usize, f: *mut c_void) -> usize; + fn fclose(f: *mut c_void) -> i32; +} + +extern "C" { + static __ImageBase: u8; +} + +#[repr(C)] +struct XAsyncBlock { + queue: *mut c_void, + context: *mut c_void, + callback: usize, + internal: [u8; 32], +} + +fn wide(s: &str) -> Vec<u16> { + s.encode_utf16().chain(std::iter::once(0)).collect() +} + +fn cstr(buf: &[u8]) -> String { + let n = buf.iter().position(|&b| b == 0).unwrap_or(buf.len()); + String::from_utf8_lossy(&buf[..n]).into_owned() +} + +thread_local! { + static TL_VALUE: Cell<u64> = const { Cell::new(0x1122_3344_5566_7788) }; +} + +static FAILURES: AtomicU32 = AtomicU32::new(0); + +fn check(name: &str, f: impl FnOnce() -> Result<(), String>) { + match std::panic::catch_unwind(std::panic::AssertUnwindSafe(f)) { + Ok(Ok(())) => println!("[PASS] {name}"), + Ok(Err(e)) => { + println!("[FAIL] {name}: {e}"); + FAILURES.fetch_add(1, Ordering::SeqCst); + } + Err(_) => { + println!("[FAIL] {name}: panic"); + FAILURES.fetch_add(1, Ordering::SeqCst); + } + } +} + +macro_rules! ensure { + ($c:expr, $($m:tt)*) => { if !$c { return Err(format!($($m)*)); } }; +} + +static FLAG: AtomicUsize = AtomicUsize::new(0); +unsafe extern "system" fn set_flag(ctx: *mut c_void, canceled: bool) { + if !canceled { + FLAG.fetch_add(ctx as usize, Ordering::SeqCst); + } +} + +fn main() { + println!("xcl_testtitle: start"); + + check("argv: command line belongs to the game", || { + let args: Vec<String> = std::env::args().collect(); + ensure!(args[0].to_lowercase().ends_with("xcl_testtitle.exe"), "argv[0] = {}", args[0]); + ensure!(args.iter().any(|a| a == "--hello"), "args = {args:?}"); + let exe = std::env::current_exe().map_err(|e| e.to_string())?; + ensure!(exe.file_name().unwrap().to_string_lossy().eq_ignore_ascii_case("xcl_testtitle.exe"), "current_exe = {exe:?}"); + Ok(()) + }); + + check("static TLS: template on main thread", || { + ensure!(TL_VALUE.with(|v| v.get()) == 0x1122_3344_5566_7788, "got {:#x}", TL_VALUE.with(|v| v.get())); + TL_VALUE.with(|v| v.set(1)); + Ok(()) + }); + + check("static TLS: every new thread gets its own initialised copy", || { + let handles: Vec<_> = (0..8) + .map(|i| { + std::thread::spawn(move || { + let first = TL_VALUE.with(|v| v.get()); + TL_VALUE.with(|v| v.set(100 + i)); + std::thread::sleep(Duration::from_millis(10)); + (first, TL_VALUE.with(|v| v.get()), i) + }) + }) + .collect(); + for h in handles { + let (first, later, i) = h.join().map_err(|_| "thread panicked")?; + ensure!(first == 0x1122_3344_5566_7788, "thread {i} started with {first:#x}"); + ensure!(later == 100 + i, "thread {i} saw {later} (shared TLS?)"); + } + ensure!(TL_VALUE.with(|v| v.get()) == 1, "main thread value changed"); + Ok(()) + }); + + check("C++-style exceptions: panic is caught (RtlPcToFileHeader)", || { + let prev = std::panic::take_hook(); + std::panic::set_hook(Box::new(|_| {})); + let r = std::panic::catch_unwind(|| panic!("boom")); + std::panic::set_hook(prev); + ensure!(r.is_err(), "panic was not caught"); + Ok(()) + }); + + check("kernelx: GetConsoleType / XSystemGetDeviceType", || unsafe { + ensure!(GetConsoleType() == 6, "GetConsoleType = {}", GetConsoleType()); + ensure!(XSystemGetDeviceType() == 7, "device type = {}", XSystemGetDeviceType()); + let mut v = SystemOsVersionInfo { major: 0, minor: 0, build: 0, revision: 0 }; + GetSystemOSVersion(&mut v); + ensure!(v.major >= 10, "os major {}", v.major); + Ok(()) + }); + + check("kernelx: XMemAlloc alignment + zeroing", || unsafe { + let attrs = 8u64 << 24; // 256-byte alignment, heap + let p = XMemAlloc(1000, attrs); + ensure!(!p.is_null(), "null"); + ensure!(p as usize % 256 == 0, "misaligned {p:?}"); + ensure!(std::slice::from_raw_parts(p as *const u8, 1000).iter().all(|&b| b == 0), "not zeroed"); + XMemFree(p, attrs); + Ok(()) + }); + + check("kernelx: graphics memory lives in the GPU-visible 4 GiB-aligned region (UMA)", || unsafe { + let attrs = 1u64 << 29; // memory type 1: graphics + let a = XMemAlloc(0x20000, attrs); + let b = XMemAlloc(0x10000, attrs); + ensure!(!a.is_null() && !b.is_null(), "null"); + // first graphics allocations: the start of the region, so low 32 bits = offset in it + ensure!(a as usize >> 32 >= 4 && a as usize & 0xFFFF_FFFF == 0, "a = {a:?}"); + ensure!(b as usize == a as usize + 0x20000, "b = {b:?}, a = {a:?}"); + *(b as *mut u64) = 0x1122_3344; + ensure!(*(b as *const u64) == 0x1122_3344, "read back"); + XMemFree(b, attrs); + XMemFree(a, attrs); + let c = XMemAlloc(0x30000, attrs); + ensure!(c == a, "freed blocks merge and are reused: {c:?}"); + ensure!(std::slice::from_raw_parts(c as *const u8, 0x30000).iter().all(|&x| x == 0), "reused block not zeroed"); + XMemFree(c, attrs); + Ok(()) + }); + + check("GameInput: GameInputCreate reaches the system GameInput (timestamps advance)", || unsafe { + let mut gi: *mut c_void = std::ptr::null_mut(); + let hr = GameInputCreate(&mut gi); + ensure!(hr >= 0 && !gi.is_null(), "GameInputCreate {hr:#x}"); + let vt = *(gi as *const *const usize); + // IGameInput: IUnknown (3 slots), then GetCurrentTimestamp + let ts: unsafe extern "system" fn(*mut c_void) -> u64 = std::mem::transmute(*vt.add(3)); + let a = ts(gi); + std::thread::sleep(Duration::from_millis(2)); + let b = ts(gi); + ensure!(a > 0 && b > a, "timestamps {a} {b}"); + let release: unsafe extern "system" fn(*mut c_void) -> u32 = std::mem::transmute(*vt.add(2)); + release(gi); + Ok(()) + }); + + check("kernelx: TitleMemoryStatus", || unsafe { + let mut s = TitleMemoryStatus { dw_length: 80, dw_reserved: 0, v: [0; 9] }; + ensure!(TitleMemoryStatus(&mut s) == 1, "failed"); + ensure!(s.v[0] > 1 << 30, "total = {}", s.v[0]); + Ok(()) + }); + + check("kernelx: SetThreadName / GetThreadName", || unsafe { + let h = std::thread::spawn(|| { + let ok = SetThreadName(GetCurrentThread(), wide("xcl-test-worker").as_ptr()); + let mut buf = [0u16; 64]; + let mut n = 0usize; + let ok2 = GetThreadName(GetCurrentThread(), buf.as_mut_ptr(), 64, &mut n); + (ok, ok2, String::from_utf16_lossy(&buf[..n])) + }); + let (ok, ok2, name) = h.join().map_err(|_| "panic")?; + ensure!(ok != 0 && ok2 != 0, "ok={ok} ok2={ok2}"); + ensure!(name == "xcl-test-worker", "name = {name}"); + Ok(()) + }); + + check("kernelx: unimplemented import becomes a stub and the title keeps running", || unsafe { + ensure!(XclDefinitelyMissingFunction(1, 2) == 0, "stub returned non-zero"); + Ok(()) + }); + + check("modules: GetModuleHandle(NULL) is the game image", || unsafe { + let me = &__ImageBase as *const u8 as usize; + ensure!(GetModuleHandleW(std::ptr::null()) == me, "{:#x} != {me:#x}", GetModuleHandleW(std::ptr::null())); + Ok(()) + }); + + check("modules: LoadLibrary/GetProcAddress on an HLE module", || unsafe { + let h = LoadLibraryW(wide("kernelx.dll").as_ptr()); + ensure!(h != 0, "LoadLibrary(kernelx) failed"); + let f = GetProcAddress(h, b"XMemAlloc\0".as_ptr()); + ensure!(f != 0, "XMemAlloc not found"); + let alloc: unsafe extern "system" fn(usize, u64) -> *mut c_void = std::mem::transmute(f); + let p = alloc(64, 0); + ensure!(!p.is_null(), "alloc via GetProcAddress failed"); + XMemFree(p, 0); + ensure!(GetProcAddress(h, b"XNoSuchApiAnywhere\0".as_ptr()) == 0, "missing API must return NULL"); + Ok(()) + }); + + check("game DLL: static import + DllMain + TLS + its own kernelx import", || unsafe { + ensure!(mw_attached() == 1, "DllMain(PROCESS_ATTACH) not run"); + ensure!(mw_add(2, 3) == 5, "mw_add"); + ensure!(mw_tls_bump() == 8, "DLL TLS template"); + let t = std::thread::spawn(|| mw_tls_bump()).join().map_err(|_| "panic")?; + ensure!(t == 8, "DLL TLS in new thread = {t}"); + ensure!(mw_xmem_roundtrip() == 1, "DLL kernelx import"); + let h = LoadLibraryW(wide("testgame_mw.dll").as_ptr()); + ensure!(h != 0, "LoadLibrary(testgame_mw)"); + let f = GetProcAddress(h, b"mw_add\0".as_ptr()); + ensure!(f != 0, "GetProcAddress(mw_add)"); + let add: extern "C" fn(i32, i32) -> i32 = std::mem::transmute(f); + ensure!(add(40, 2) == 42, "dynamic mw_add"); + Ok(()) + }); + + check("files: console paths G:\\ and GAME: read from the game folder", || { + let a = std::fs::read_to_string("G:\\data\\hello.txt").map_err(|e| format!("G: {e}"))?; + ensure!(a.starts_with("hello from the game folder"), "content {a:?}"); + let b = std::fs::read("GAME:\\data\\sub\\nested.bin").map_err(|e| format!("GAME: {e}"))?; + ensure!(b == [0u8, 1, 2, 3, 4, 5, 6, 7], "nested {b:?}"); + let c = std::fs::read_to_string("data\\hello.txt").map_err(|e| format!("relative: {e}"))?; + ensure!(a == c, "relative differs"); + Ok(()) + }); + + check("files: CRT fopen goes through the VFS too", || unsafe { + let f = fopen(b"G:\\data\\hello.txt\0".as_ptr(), b"rb\0".as_ptr()); + ensure!(!f.is_null(), "fopen failed"); + let mut buf = [0u8; 64]; + let n = fread(buf.as_mut_ptr() as *mut c_void, 1, 64, f); + fclose(f); + ensure!(buf[..n].starts_with(b"hello from the game folder"), "read {n} bytes"); + Ok(()) + }); + + check("files: writes go to the overlay, game folder untouched", || { + use std::io::Write; + let mut f = std::fs::OpenOptions::new().append(true).open("G:\\data\\hello.txt").map_err(|e| e.to_string())?; + f.write_all(b"+modified by title\n").map_err(|e| e.to_string())?; + drop(f); + let s = std::fs::read_to_string("G:\\data\\hello.txt").map_err(|e| e.to_string())?; + ensure!(s.contains("+modified by title"), "overlay not visible: {s:?}"); + std::fs::write("G:\\data\\new_save.bin", b"save-data").map_err(|e| e.to_string())?; + ensure!(std::fs::read("G:\\data\\new_save.bin").map_err(|e| e.to_string())? == b"save-data", "new file"); + std::fs::create_dir_all("G:\\data\\newdir\\deeper").map_err(|e| e.to_string())?; + ensure!(std::path::Path::new("G:\\data\\newdir\\deeper").is_dir(), "new dir"); + std::fs::rename("G:\\data\\new_save.bin", "G:\\data\\renamed.bin").map_err(|e| format!("rename: {e}"))?; + ensure!(!std::path::Path::new("G:\\data\\new_save.bin").exists(), "rename source still visible"); + ensure!(std::fs::read("G:\\data\\renamed.bin").map_err(|e| e.to_string())? == b"save-data", "rename target"); + Ok(()) + }); + + check("files: delete hides the file without touching the original", || { + std::fs::remove_file("G:\\data\\delete_me.txt").map_err(|e| e.to_string())?; + ensure!(!std::path::Path::new("G:\\data\\delete_me.txt").exists(), "still visible"); + ensure!(std::fs::read("G:\\data\\delete_me.txt").is_err(), "still readable"); + Ok(()) + }); + + check("files: directory listing merges overlay and hides deleted files", || { + let mut names: Vec<String> = std::fs::read_dir("G:\\data") + .map_err(|e| e.to_string())? + .flatten() + .map(|e| e.file_name().to_string_lossy().into_owned()) + .collect(); + names.sort(); + for want in ["hello.txt", "renamed.bin", "newdir", "sub"] { + ensure!(names.iter().any(|n| n == want), "missing {want} in {names:?}"); + } + ensure!(!names.iter().any(|n| n == "delete_me.txt" || n == "new_save.bin"), "stale entries {names:?}"); + Ok(()) + }); + + check("files: T:\\ title scratch storage", || { + std::fs::write("T:\\scratch.tmp", b"tmp").map_err(|e| e.to_string())?; + ensure!(std::fs::read("T:\\scratch.tmp").map_err(|e| e.to_string())? == b"tmp", "readback"); + Ok(()) + }); + + check("XGameRuntime: initialize + package identity", || unsafe { + ensure!(XGameRuntimeInitialize() == 0, "init"); + let mut buf = [0u8; 256]; + ensure!(XPackageGetCurrentProcessPackageIdentifier(256, buf.as_mut_ptr()) == 0, "package id"); + ensure!(cstr(&buf).starts_with("XCL.TestTitle"), "id = {}", cstr(&buf)); + Ok(()) + }); + + check("XTaskQueue: manual, delayed and thread-pool dispatch", || unsafe { + let mut q = std::ptr::null_mut(); + ensure!(XTaskQueueCreate(0, 0, &mut q) == 0, "create manual"); + FLAG.store(0, Ordering::SeqCst); + XTaskQueueSubmitCallback(q, 0, 1 as _, set_flag); + ensure!(FLAG.load(Ordering::SeqCst) == 0, "manual ran early"); + ensure!(XTaskQueueDispatch(q, 0, 0), "dispatch"); + ensure!(FLAG.load(Ordering::SeqCst) == 1, "manual did not run"); + XTaskQueueSubmitDelayedCallback(q, 0, 20, 10 as _, set_flag); + ensure!(XTaskQueueDispatch(q, 0, 3000), "delayed dispatch"); + ensure!(FLAG.load(Ordering::SeqCst) == 11, "delayed"); + XTaskQueueTerminate(q, true, std::ptr::null_mut(), 0); + XTaskQueueCloseHandle(q); + let mut p = std::ptr::null_mut(); + ensure!(XTaskQueueCreate(1, 1, &mut p) == 0, "create pool"); + XTaskQueueSubmitCallback(p, 0, 100 as _, set_flag); + let t0 = Instant::now(); + while FLAG.load(Ordering::SeqCst) != 111 && t0.elapsed() < Duration::from_secs(3) { + std::thread::sleep(Duration::from_millis(2)); + } + ensure!(FLAG.load(Ordering::SeqCst) == 111, "pool callback"); + XTaskQueueTerminate(p, true, std::ptr::null_mut(), 0); + XTaskQueueCloseHandle(p); + Ok(()) + }); + + check("XUser: silent sign-in of the offline user", || unsafe { + let mut b: XAsyncBlock = std::mem::zeroed(); + ensure!(XUserAddAsync(1, &mut b) == 0, "XUserAddAsync"); + ensure!(XAsyncGetStatus(&mut b, true) == 0, "status"); + let mut u = std::ptr::null_mut(); + ensure!(XUserAddResult(&mut b, &mut u) == 0 && !u.is_null(), "result"); + let mut tag = [0u8; 16]; + let mut used = 0usize; + ensure!(XUserGetGamertag(u, 0, 16, tag.as_mut_ptr(), &mut used) == 0, "gamertag"); + ensure!(cstr(&tag) == "Player1", "gamertag = {}", cstr(&tag)); + XUserCloseHandle(u); + Ok(()) + }); + + check("storage: save folder + persistent local storage", || unsafe { + let mut b: XAsyncBlock = std::mem::zeroed(); + ensure!(XGameSaveFilesGetFolderWithUiAsync(std::ptr::null_mut(), b"test-scid\0".as_ptr(), &mut b) == 0, "async"); + ensure!(XAsyncGetStatus(&mut b, true) == 0, "status"); + let mut buf = [0u8; 512]; + ensure!(XGameSaveFilesGetFolderWithUiResult(&mut b, 512, buf.as_mut_ptr()) == 0, "result"); + let dir = cstr(&buf); + std::fs::write(format!("{dir}\\slot0.sav"), b"progress").map_err(|e| format!("write save: {e}"))?; + let mut pls = [0u8; 512]; + let mut used = 0usize; + ensure!(XPersistentLocalStorageGetPath(512, pls.as_mut_ptr(), &mut used) == 0, "pls"); + ensure!(std::path::Path::new(&cstr(&pls)).is_dir(), "pls dir {}", cstr(&pls)); + Ok(()) + }); + + check("D3D12.X: queue + fence signal on the GPU", gpu::queue_fence); + check("D3D12.X: shaders captured; console shader gets a fallback PSO", gpu::pso_capture_and_fallback); + check("D3D12.X: retail-format console shader (XDAT/XBCH/FSSM) captured + fallback PSO", gpu::xbox_native_pso); + check("D3D12.X: triangle rendered on the real GPU and read back", gpu::render_triangle); + check("XAudio2: console flags/device, XMA2 voice plays silence, PCM passes, callbacks", audio::xaudio2_console_voices); + + let failures = FAILURES.load(Ordering::SeqCst); + println!("xcl_testtitle: koniec, błędów: {failures}"); + std::process::exit(failures as i32); +} diff --git a/tools/ttpf-viewer/.gitignore b/tools/ttpf-viewer/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/tools/ttpf-viewer/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/tools/ttpf-viewer/Cargo.lock b/tools/ttpf-viewer/Cargo.lock new file mode 100644 index 0000000..f45afa0 --- /dev/null +++ b/tools/ttpf-viewer/Cargo.lock @@ -0,0 +1,4566 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "ab_glyph" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2" +dependencies = [ + "ab_glyph_rasterizer", + "owned_ttf_parser", +] + +[[package]] +name = "ab_glyph_rasterizer" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" + +[[package]] +name = "accesskit" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e883d1d28c5fd5568c79ed2d2bd48d9f2fd3945c8974ed0f53690ceddb051be" +dependencies = [ + "uuid", +] + +[[package]] +name = "accesskit_atspi_common" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24f5baf62e34a4a6c30e3d697e4782f821a7337049c44c3b40576a27dfbb580d" +dependencies = [ + "accesskit", + "accesskit_consumer", + "atspi-common", + "phf", + "serde", + "zvariant", +] + +[[package]] +name = "accesskit_consumer" +version = "0.39.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3da8f27636015191b2264ee1df681503170a632cafd832fdc1edfdd4e3a2fd3" +dependencies = [ + "accesskit", + "hashbrown 0.17.1", +] + +[[package]] +name = "accesskit_ios" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5280724673bbfa8b30a838c013500b719392989be3b97c5a9964062c252c232" +dependencies = [ + "accesskit", + "accesskit_consumer", + "hashbrown 0.17.1", + "objc2 0.5.3", + "objc2-foundation 0.2.2", + "objc2-ui-kit 0.2.2", +] + +[[package]] +name = "accesskit_macos" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "123828ceeec755b05255e3976cb0852993202de98a0626c97dd8d34246991f84" +dependencies = [ + "accesskit", + "accesskit_consumer", + "hashbrown 0.17.1", + "objc2 0.5.3", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "accesskit_unix" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30d5192871228c54f1b0fb4a85cef000e11a3804f25d2165f14afa0daa67f3f6" +dependencies = [ + "accesskit", + "accesskit_atspi_common", + "async-channel", + "async-executor", + "async-task", + "atspi", + "futures-lite", + "futures-util", + "serde", + "zbus", +] + +[[package]] +name = "accesskit_windows" +version = "0.35.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "498668b90da9995302a0055aaecad4756932333da2ddef6baee1c00844c430fc" +dependencies = [ + "accesskit", + "accesskit_consumer", + "hashbrown 0.17.1", + "static_assertions", + "windows", + "windows-core", +] + +[[package]] +name = "accesskit_winit" +version = "0.34.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd4ab4437b520ff03088fbe48676a11e7d44a929535e64b31432c1073e48dbcc" +dependencies = [ + "accesskit", + "accesskit_ios", + "accesskit_macos", + "accesskit_unix", + "accesskit_windows", + "raw-window-handle", + "winit", +] + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "ahash" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +dependencies = [ + "cfg-if", + "getrandom 0.3.4", + "once_cell", + "version_check", + "zerocopy", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "android-activity" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f2a1bb052857d5dd49572219344a7332b31b76405648eabac5bc68978251bcd" +dependencies = [ + "android-properties", + "bitflags 2.13.2", + "cc", + "jni", + "libc", + "log", + "ndk", + "ndk-context", + "ndk-sys", + "num_enum", + "thiserror 2.0.21", +] + +[[package]] +name = "android-properties" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04" + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "arboard" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aeb9553e62312c8756a5979254fc6d7da8bbeb5986a1e17037fab932f7037917" +dependencies = [ + "clipboard-win", + "image", + "log", + "objc2 0.6.5", + "objc2-app-kit 0.3.2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", + "parking_lot", + "percent-encoding", + "windows-sys 0.52.0", + "wl-clipboard-rs", + "x11rb", +] + +[[package]] +name = "arrayref" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "as-raw-xcb-connection" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" + +[[package]] +name = "ash" +version = "0.38.0+1.3.281" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" +dependencies = [ + "libloading", +] + +[[package]] +name = "async-broadcast" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" +dependencies = [ + "event-listener", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-channel" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" +dependencies = [ + "concurrent-queue", + "event-listener-strategy", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-executor" +version = "1.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f426a31126c735126297bc5ea7a521263c9faff4f63ca415267ee625651c4f37" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "pin-project-lite", + "slab", +] + +[[package]] +name = "async-io" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" +dependencies = [ + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite", + "parking", + "polling", + "rustix 1.1.6", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-lock" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0876700b0d007ad25d5508865a4259c3af9af6d296bf663a0d586d0bc3369f6f" +dependencies = [ + "event-listener", + "event-listener-strategy", + "pin-project-lite", +] + +[[package]] +name = "async-process" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" +dependencies = [ + "async-channel", + "async-io", + "async-lock", + "async-signal", + "async-task", + "blocking", + "cfg-if", + "event-listener", + "futures-lite", + "rustix 1.1.6", +] + +[[package]] +name = "async-recursion" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f8abc12baad266b1c8cec146854c195b5864b4221d4b2ca7296a7ae82d9e451" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "async-signal" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b5aaafa020cf5053a01f2a60e8ff5dccf550f0f77ec54a4e47285ac2bab485" +dependencies = [ + "async-io", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 1.1.6", + "signal-hook-registry", + "slab", + "windows-sys 0.61.2", +] + +[[package]] +name = "async-task" +version = "4.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" + +[[package]] +name = "async-trait" +version = "0.1.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "atspi" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c77886257be21c9cd89a4ae7e64860c6f0eefca799bb79127913052bd0eefb3d" +dependencies = [ + "atspi-common", + "atspi-proxies", +] + +[[package]] +name = "atspi-common" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20c5617155740c98003016429ad13fe43ce7a77b007479350a9f8bf95a29f63d" +dependencies = [ + "enumflags2", + "serde", + "static_assertions", + "zbus", + "zbus-lockstep", + "zbus-lockstep-macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "atspi-proxies" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2230e48787ed3eb4088996eab66a32ca20c0b67bbd4fd6cdfe79f04f1f04c9fc" +dependencies = [ + "atspi-common", + "serde", + "zbus", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "bit-set" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2f926cc3060f09db9ebc5b52823d85268d24bb917e472c0c4bea35780a7d" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "block2" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" +dependencies = [ + "objc2 0.5.3", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2 0.6.5", +] + +[[package]] +name = "blocking" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a70e4329df6cb94385eed412ec92375c3cdd8a6e502493d1229b6414e4036dfa" +dependencies = [ + "async-channel", + "async-task", + "futures-io", + "futures-lite", + "piper", +] + +[[package]] +name = "bumpalo" +version = "3.20.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db" + +[[package]] +name = "bytemuck" +version = "1.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797" +dependencies = [ + "bytemuck_derive", +] + +[[package]] +name = "bytemuck_derive" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a1f896587b6f2c069c73d2f0913e2d590c3990285cd2f0b6aa02b786b4c679c" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "byteorder-lite" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" + +[[package]] +name = "bytes" +version = "1.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c" + +[[package]] +name = "calloop" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b99da2f8558ca23c71f4fd15dc57c906239752dd27ff3c00a1d56b685b7cbfec" +dependencies = [ + "bitflags 2.13.2", + "log", + "polling", + "rustix 0.38.44", + "slab", + "thiserror 1.0.69", +] + +[[package]] +name = "calloop" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43b32313e937c8721c9d17ee9bf60699a6402b4b7c2cb6ac1bee0ffcaa4b4e5e" +dependencies = [ + "bitflags 2.13.2", + "polling", + "rustix 1.1.6", + "tracing", +] + +[[package]] +name = "calloop-wayland-source" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20" +dependencies = [ + "calloop 0.13.0", + "rustix 0.38.44", + "wayland-backend", + "wayland-client", +] + +[[package]] +name = "calloop-wayland-source" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138efcf0940a02ebf0cc8d1eff41a1682a46b431630f4c52450d6265876021fa" +dependencies = [ + "calloop 0.14.5", + "rustix 1.1.6", + "wayland-backend", + "wayland-client", +] + +[[package]] +name = "cc" +version = "1.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02f0e023adb368345ce0ca6cdfc0f24a06554468d0e8503e14a0841de79bfa69" +dependencies = [ + "find-msvc-tools", + "jobserver", + "libc", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "cgl" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ced0551234e87afee12411d535648dd89d2e7f34c78b753395567aff3d447ff" +dependencies = [ + "libc", +] + +[[package]] +name = "clipboard-win" +version = "5.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "052af7878466feccda12ba7a6a67d019d712f296809559b47c12c8cc196d3a9a" +dependencies = [ + "error-code", +] + +[[package]] +name = "codespan-reporting" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681" +dependencies = [ + "serde", + "termcolor", + "unicode-width", +] + +[[package]] +name = "color" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ec7c5eb7a16992b1904d76c517d170ab353b0e0b3d5a0c81a8a0cd1037893cf" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "combine" +version = "4.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4356eba6976435498d05a311ee9fc486da3bc81c200d3f0d7dd9703b41913f92" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "core-graphics" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "core-graphics-types", + "foreign-types", + "libc", +] + +[[package]] +name = "core-graphics-types" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b929dd2a135771f40afabd1073f85eed59c800b7c61901e5c254270497dad64" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crunchy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" + +[[package]] +name = "cursor-icon" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f27ae1dd37df86211c42e150270f82743308803d90a6f6e6651cd730d5e1732f" + +[[package]] +name = "dispatch" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" + +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags 2.13.2", + "block2 0.6.2", + "libc", + "objc2 0.6.5", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "dlib" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab8ecd87370524b461f8557c119c405552c396ed91fc0a8eec68679eab26f94a" +dependencies = [ + "libloading", +] + +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", +] + +[[package]] +name = "downcast-rs" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" + +[[package]] +name = "dpi" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" + +[[package]] +name = "ecolor" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31bcbef0d4263a63eb32c4834e5d711613035ce1333468e107d928923e21e6e2" +dependencies = [ + "bytemuck", + "emath", +] + +[[package]] +name = "eframe" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c5642501a65ca657d05f00c643a5c14ff2346cb3818032bfe23d58e1f8e5f84" +dependencies = [ + "ahash", + "bytemuck", + "document-features", + "egui", + "egui-wgpu", + "egui-winit", + "egui_glow", + "egui_system_font_provider", + "glutin", + "glutin-winit", + "image", + "js-sys", + "log", + "objc2 0.6.5", + "objc2-app-kit 0.3.2", + "objc2-foundation 0.3.2", + "parking_lot", + "percent-encoding", + "pollster", + "profiling", + "raw-window-handle", + "send_wrapper", + "static_assertions", + "wasm-bindgen", + "web-sys", + "web-time", + "wgpu", + "windows-sys 0.61.2", + "winit", +] + +[[package]] +name = "egui" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bec9144f49b7a28b5f395d3147e325b4fe3e77ba686eac11d1bdf0a7da3f375f" +dependencies = [ + "accesskit", + "ahash", + "bitflags 2.13.2", + "emath", + "epaint", + "itertools", + "log", + "nohash-hasher", + "profiling", + "smallvec", + "unicode-segmentation", + "web-sys", +] + +[[package]] +name = "egui-wgpu" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0309cbe1febed48af5b974e4bcc424b35e9664863a4d402697147b57a488c864" +dependencies = [ + "ahash", + "bytemuck", + "document-features", + "egui", + "epaint", + "log", + "profiling", + "thiserror 2.0.21", + "type-map", + "web-time", + "wgpu", + "winit", +] + +[[package]] +name = "egui-winit" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4e449f4c4a2a60c7ccb4ba7fa4078417bfe1f9ddc03b5e05ce75748e33a70de" +dependencies = [ + "accesskit_winit", + "arboard", + "block2 0.6.2", + "bytemuck", + "egui", + "log", + "objc2 0.6.5", + "objc2-app-kit 0.3.2", + "objc2-foundation 0.3.2", + "objc2-ui-kit 0.3.2", + "profiling", + "raw-window-handle", + "smithay-clipboard", + "web-time", + "webbrowser", + "windows-sys 0.61.2", + "winit", +] + +[[package]] +name = "egui_glow" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9275ca5cc35a6b7c94e0e8cedf22542f66cb0cf45ed8ab2657c78ff49fec7268" +dependencies = [ + "bytemuck", + "egui", + "glow", + "log", + "profiling", + "winit", +] + +[[package]] +name = "egui_system_font_provider" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f2a2fdfe3c05dd9f691d2b1388b2312d6dce1af502f217c22136d22d9bd76f6" +dependencies = [ + "epaint", + "fontique", + "log", + "poll-promise", + "skrifa", + "sys-locale", + "unicode-script", +] + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" + +[[package]] +name = "emath" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e73ce90f54750be8672c02be0743fe47530e6f251e066f0ee2869b59eb297af5" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "endi" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099" + +[[package]] +name = "enumflags2" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef" +dependencies = [ + "enumflags2_derive", + "serde", +] + +[[package]] +name = "enumflags2_derive" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "epaint" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97bac86ae3dde93fc3951e790951caea739ff39a6c89d909cdaf1d9278dbb1bd" +dependencies = [ + "ahash", + "bytemuck", + "ecolor", + "emath", + "epaint_default_fonts", + "font-types", + "harfrust", + "log", + "nohash-hasher", + "parking_lot", + "profiling", + "self_cell", + "skrifa", + "smallvec", + "unicode-general-category", + "unicode-properties", + "unicode-segmentation", + "vello_cpu", +] + +[[package]] +name = "epaint_default_fonts" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfc1cc505827f4c23eedc297975a0fd038268d41293f389dd8ff3b574aefab19" + +[[package]] +name = "equivalent" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826" + +[[package]] +name = "errno" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "error-code" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b5343afd4a8365a643ac588dab4cf234a190c7f6c88c9f6dd6ffe00837661b7" + +[[package]] +name = "euclid" +version = "0.22.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1a05365e3b1c6d1650318537c7460c6923f1abdd272ad6842baa2b509957a06" +dependencies = [ + "num-traits", +] + +[[package]] +name = "event-listener" +version = "5.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2" +dependencies = [ + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" +dependencies = [ + "event-listener", + "pin-project-lite", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "fax" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caf1079563223d5d59d83c85886a56e586cfd5c1a26292e971a0fa266531ac5a" + +[[package]] +name = "fdeflate" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "fearless_simd" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b97b65636e5b9ef369943878ac74335ba1c55c1cb6adbf1e2c293c624248d693" + +[[package]] +name = "find-msvc-tools" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48" + +[[package]] +name = "fixedbitset" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5905ec755cc8386d7928353e4d356d2be3e89e81e5ca01fe630a1ca4d08dc175" + +[[package]] +name = "flate2" +version = "1.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4" +dependencies = [ + "crc32fast", + "miniz_oxide 0.9.1", + "zlib-rs", +] + +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "font-types" +version = "0.12.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835ae9d781464a79026cde387f9cbc650c9a4909d7cf7e658b127e3c35d2f35d" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "fontique" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6688bc1294fe7117d788937b6c53480169b29c566954af490830d4c09da9516a" +dependencies = [ + "hashbrown 0.17.1", + "linebender_resource_handle", + "memmap2", + "objc2 0.6.5", + "objc2-core-foundation", + "objc2-core-text", + "objc2-foundation 0.3.2", + "parlance", + "read-fonts", + "roxmltree", + "smallvec", + "windows", + "windows-core", + "yeslogic-fontconfig-sys", +] + +[[package]] +name = "foreign-types" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" +dependencies = [ + "foreign-types-macros", + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-macros" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "foreign-types-shared" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-core", + "futures-macro", + "futures-task", + "pin-project-lite", + "slab", +] + +[[package]] +name = "gethostname" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8" +dependencies = [ + "rustix 1.1.6", + "windows-link", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", +] + +[[package]] +name = "gl_generator" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" +dependencies = [ + "khronos_api", + "log", + "xml-rs", +] + +[[package]] +name = "glifo" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282a26c1e23de04bdab3e34a21b6f877a479b96737792516b9b8b8f69b6661be" +dependencies = [ + "bytemuck", + "foldhash 0.2.0", + "hashbrown 0.17.1", + "log", + "peniko", + "png", + "skrifa", + "smallvec", + "vello_common", +] + +[[package]] +name = "glow" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29038e1c483364cc6bb3cf78feee1816002e127c331a1eec55a4d202b9e1adb5" +dependencies = [ + "js-sys", + "slotmap", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "glutin" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12124de845cacfebedff80e877bb37b5b75c34c5a4c89e47e1cdd67fb6041325" +dependencies = [ + "bitflags 2.13.2", + "cfg_aliases", + "cgl", + "dispatch2", + "glutin_egl_sys", + "glutin_glx_sys", + "glutin_wgl_sys", + "libloading", + "objc2 0.6.5", + "objc2-app-kit 0.3.2", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "once_cell", + "raw-window-handle", + "wayland-sys", + "windows-sys 0.52.0", + "x11-dl", +] + +[[package]] +name = "glutin-winit" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85edca7075f8fc728f28cb8fbb111a96c3b89e930574369e3e9c27eb75d3788f" +dependencies = [ + "cfg_aliases", + "glutin", + "raw-window-handle", + "winit", +] + +[[package]] +name = "glutin_egl_sys" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c4680ba6195f424febdc3ba46e7a42a0e58743f2edb115297b86d7f8ecc02d2" +dependencies = [ + "gl_generator", + "windows-sys 0.52.0", +] + +[[package]] +name = "glutin_glx_sys" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7bb2938045a88b612499fbcba375a77198e01306f52272e692f8c1f3751185" +dependencies = [ + "gl_generator", + "x11-dl", +] + +[[package]] +name = "glutin_wgl_sys" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e" +dependencies = [ + "gl_generator", +] + +[[package]] +name = "gpu-allocator" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51255ea7cfaadb6c5f1528d43e92a82acb2b96c43365989a28b2d44ee38f8795" +dependencies = [ + "ash", + "hashbrown 0.16.1", + "log", + "presser", + "thiserror 2.0.21", + "windows", +] + +[[package]] +name = "guillotiere" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b17e70c989c36bad147b27a58d148c0741c51448aa5653436547323e524d0ab" +dependencies = [ + "euclid", +] + +[[package]] +name = "half" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +dependencies = [ + "cfg-if", + "crunchy", + "num-traits", + "zerocopy", +] + +[[package]] +name = "harfrust" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c03d949a14aa089bbb282f7dd76a498a7f684428e4257202efc119ec010376f9" +dependencies = [ + "bitflags 2.13.2", + "bytemuck", + "read-fonts", + "smallvec", +] + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash 0.1.5", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash 0.2.0", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "foldhash 0.2.0", +] + +[[package]] +name = "hermit-abi" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "icu_collections" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe090a42a0d3140fed8c63263ed1fecc02422cb2f4bfe55cd8de2de1b8e105dd" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25d29b57c17c6528d0dc4c2141cfa2d08200465acb537a3909c8b9b8a4a984c0" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "404a3b8c486f205c87fe7f23ab6894d84a4ad76d6e4671ae1981ba7def87c599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20f0088bfb7441f7a37fa0c9e20cb1e9cba1cac6b9ce8cd2a6dc44294f8e8cbc" + +[[package]] +name = "icu_properties" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ea83d991c56158f7cf898bf86436c1dfe7c07ee82fe88951f2695c9f37a379f" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b98f29af82d02b163fe50161388350e743bb3107cc8e8c2f7314cb505faddfcf" + +[[package]] +name = "icu_provider" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413099315636c588ee8f011190b329b971a09a8fae9d157e01dcae8379468514" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "image" +version = "0.25.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85ab80394333c02fe689eaf900ab500fbd0c2213da414687ebf995a65d5a6104" +dependencies = [ + "bytemuck", + "byteorder-lite", + "moxcms", + "num-traits", + "png", + "tiff", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", +] + +[[package]] +name = "itertools" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc" +dependencies = [ + "either", +] + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys 0.4.1", + "log", + "simd_cesu8", + "thiserror 2.0.21", + "walkdir", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "jobserver" +version = "0.1.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" +dependencies = [ + "getrandom 0.4.3", + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "khronos-egl" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" +dependencies = [ + "libc", + "libloading", + "pkg-config", +] + +[[package]] +name = "khronos_api" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" + +[[package]] +name = "kurbo" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b60dfc32f652b926df6192e55525b16d186c69d47876c3ead4da5cc9f8450e2" +dependencies = [ + "arrayvec", + "euclid", + "polycool", + "smallvec", +] + +[[package]] +name = "libc" +version = "0.2.191" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link", +] + +[[package]] +name = "libm" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" + +[[package]] +name = "libredox" +version = "0.1.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61ff90caf6077a803a240f62fdbe88645a890bbca49ef8174c3cb0404362171d" +dependencies = [ + "bitflags 2.13.2", + "libc", + "plain", + "redox_syscall 0.9.5", +] + +[[package]] +name = "linebender_resource_handle" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4" + +[[package]] +name = "linux-raw-sys" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "litrs" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4744e383959f0db86ede514b809b1c53251889093803c05267acc7d4e7030d70" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "memmap2" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b0ca1155a9ecc25aa12e8313a119f32edf0255fea2f44839c4ac0a12b2ac157" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "miniz_oxide" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "miniz_oxide" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "moxcms" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb85c154ba489f01b25c0d36ae69a87e4a1c73a72631fc6c0eb6dde34a73e44b" +dependencies = [ + "num-traits", + "pxfm", +] + +[[package]] +name = "naga" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd0dd362bf26c0ffdd143df6da66a25d287e196eff482f117771010b207ad163" +dependencies = [ + "arrayvec", + "bit-set", + "bitflags 2.13.2", + "cfg-if", + "cfg_aliases", + "codespan-reporting", + "half", + "hashbrown 0.17.1", + "indexmap", + "libm", + "log", + "naga-types", + "num-traits", + "once_cell", + "rustc-hash 1.1.0", + "spirv", + "thiserror 2.0.21", + "unicode-ident", +] + +[[package]] +name = "naga-types" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14474170feb673cfb18b3565111a9869797cc1d290fb9ec969c53f5e1e231c6d" +dependencies = [ + "hashbrown 0.17.1", + "indexmap", + "rustc-hash 1.1.0", + "thiserror 2.0.21", +] + +[[package]] +name = "ndk" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" +dependencies = [ + "bitflags 2.13.2", + "jni-sys 0.3.1", + "log", + "ndk-sys", + "num_enum", + "raw-window-handle", + "thiserror 1.0.69", +] + +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + +[[package]] +name = "ndk-sys" +version = "0.6.0+11769913" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" +dependencies = [ + "jni-sys 0.3.1", +] + +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "nom" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +dependencies = [ + "memchr", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "objc-sys" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" + +[[package]] +name = "objc2" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19d5490aaf8f1d7cf7688dfa9b0ce07900e168852c45cd2c03f534dfd27cfd0b" +dependencies = [ + "objc-sys", + "objc2-encode", +] + +[[package]] +name = "objc2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-app-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "libc", + "objc2 0.5.3", + "objc2-core-data", + "objc2-core-image", + "objc2-foundation 0.2.2", + "objc2-quartz-core 0.2.2", +] + +[[package]] +name = "objc2-app-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" +dependencies = [ + "bitflags 2.13.2", + "block2 0.6.2", + "objc2 0.6.5", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", + "objc2-uniform-type-identifiers 0.3.2", +] + +[[package]] +name = "objc2-cloud-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "objc2 0.5.3", + "objc2-core-location", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-contacts" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.3", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-data" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "objc2 0.5.3", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.13.2", + "dispatch2", + "objc2 0.6.5", +] + +[[package]] +name = "objc2-core-graphics" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" +dependencies = [ + "bitflags 2.13.2", + "dispatch2", + "objc2 0.6.5", + "objc2-core-foundation", + "objc2-io-surface", +] + +[[package]] +name = "objc2-core-image" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.3", + "objc2-foundation 0.2.2", + "objc2-metal 0.2.2", +] + +[[package]] +name = "objc2-core-location" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.3", + "objc2-contacts", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-core-text" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d" +dependencies = [ + "bitflags 2.13.2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "dispatch", + "libc", + "objc2 0.5.3", +] + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags 2.13.2", + "block2 0.6.2", + "objc2 0.6.5", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-io-surface" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" +dependencies = [ + "bitflags 2.13.2", + "objc2 0.6.5", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-link-presentation" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.3", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-metal" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "objc2 0.5.3", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-metal" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0125f776a10d00af4152d74616409f0d4a2053a6f57fa5b7d6aa2854ac04794" +dependencies = [ + "bitflags 2.13.2", + "block2 0.6.2", + "objc2 0.6.5", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "objc2 0.5.3", + "objc2-foundation 0.2.2", + "objc2-metal 0.2.2", +] + +[[package]] +name = "objc2-quartz-core" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f" +dependencies = [ + "bitflags 2.13.2", + "objc2 0.6.5", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", + "objc2-metal 0.3.2", +] + +[[package]] +name = "objc2-symbols" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc" +dependencies = [ + "objc2 0.5.3", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-ui-kit" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "objc2 0.5.3", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-image", + "objc2-core-location", + "objc2-foundation 0.2.2", + "objc2-link-presentation", + "objc2-quartz-core 0.2.2", + "objc2-symbols", + "objc2-uniform-type-identifiers 0.2.2", + "objc2-user-notifications", +] + +[[package]] +name = "objc2-ui-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22" +dependencies = [ + "bitflags 2.13.2", + "objc2 0.6.5", + "objc2-core-foundation", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-uniform-type-identifiers" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe" +dependencies = [ + "block2 0.5.1", + "objc2 0.5.3", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "objc2-uniform-type-identifiers" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7902ac02859fc1f7045f8b598c63f1ae0cc7efeaa06a9bc9f3d9a3c955974fa4" +dependencies = [ + "objc2 0.6.5", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-user-notifications" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3" +dependencies = [ + "bitflags 2.13.2", + "block2 0.5.1", + "objc2 0.5.3", + "objc2-core-location", + "objc2-foundation 0.2.2", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "orbclient" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5df339f526ea9a60e371768d50efc2f2508c7203290731565d1f7a6f71d21747" +dependencies = [ + "libc", + "libredox", +] + +[[package]] +name = "ordered-float" +version = "5.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f59006ce1e204c30956638535b74d317bca99477b9356dfaec54c37f6f600ab" +dependencies = [ + "num-traits", +] + +[[package]] +name = "ordered-stream" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" +dependencies = [ + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "os_pipe" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "owned_ttf_parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36820e9051aca1014ddc75770aab4d68bc1e9e632f0f5627c4086bc216fb583b" +dependencies = [ + "ttf-parser", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.5.18", + "smallvec", + "windows-link", +] + +[[package]] +name = "parlance" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73072a9470554c8e794778acece2312661218aaabb635600957d952cf01c716e" + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "peniko" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "839c8299360d2e998bdb106dc0a6cd71dcc5f4df51df1b620361bf50e283cca6" +dependencies = [ + "bytemuck", + "color", + "kurbo", + "linebender_resource_handle", + "smallvec", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "petgraph" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455" +dependencies = [ + "fixedbitset", + "hashbrown 0.15.5", + "indexmap", +] + +[[package]] +name = "phf" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6" +dependencies = [ + "phf_macros", + "phf_shared", + "serde", +] + +[[package]] +name = "phf_generator" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100" +dependencies = [ + "fastrand", + "phf_shared", +] + +[[package]] +name = "phf_macros" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085" +dependencies = [ + "phf_generator", + "phf_shared", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "phf_shared" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pin-project" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6c2123f4708bbd422630a6dae7c03f678b1ce1f1c99e4c4b3beac69c8174cc9" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "358938fd6df944c1e44bb328b60fb275f13c804aac47ba26a1165d45a3f87756" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c938015719552d665fd0553b90d96cd7ff58e83e4c061ca99e6bb78865a72752" + +[[package]] +name = "piper" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1" +dependencies = [ + "atomic-waker", + "fastrand", + "futures-io", +] + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "plain" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" + +[[package]] +name = "png" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61" +dependencies = [ + "bitflags 2.13.2", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide 0.8.9", +] + +[[package]] +name = "poll-promise" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f6a58fecbf9da8965bcdb20ce4fd29788d1acee68ddbb64f0ba1b81bccdb7df" +dependencies = [ + "document-features", + "static_assertions", +] + +[[package]] +name = "polling" +version = "3.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 1.1.6", + "windows-sys 0.61.2", +] + +[[package]] +name = "pollster" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e9b9cf600136f5b976fbc5727d58c26e1ecab8ee23088d44ef1c7af793550ab" + +[[package]] +name = "polycool" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50596ddc09eb5ad5f75cacd40209568e66df71baf86e1499a0e99c4cff12a5a6" +dependencies = [ + "arrayvec", +] + +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" + +[[package]] +name = "portable-atomic-util" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "presser" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa" + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "profiling" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d595e54a326bc53c1c197b32d295e14b169e3cfeaa8dc82b529f947fba6bcf5" + +[[package]] +name = "pxfm" +version = "0.1.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea" + +[[package]] +name = "quick-error" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" + +[[package]] +name = "quick-xml" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "range-alloc" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca45419789ae5a7899559e9512e58ca889e41f04f1f2445e9f4b290ceccd1d08" + +[[package]] +name = "raw-window-handle" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" + +[[package]] +name = "raw-window-metal" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40d213455a5f1dc59214213c7330e074ddf8114c9a42411eb890c767357ce135" +dependencies = [ + "objc2 0.6.5", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "objc2-quartz-core 0.3.2", +] + +[[package]] +name = "rayon" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "read-fonts" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "046a7d674daf459825b32f5062056d6882db0d2f5a479fbd76ccfc870ac18709" +dependencies = [ + "bytemuck", + "font-types", + "once_cell", +] + +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "redox_syscall" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "580c875845b41ecb1564ad1ae4703044cef774145e3d7a94dc2b3fa7c97868fd" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "renderdoc-sys" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" + +[[package]] +name = "rfd" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4b9d4857b10297ffb0f64cae711e983a7aeaee561848d56d429d3858bd8ed93" +dependencies = [ + "block2 0.6.2", + "dispatch2", + "js-sys", + "libc", + "log", + "objc2 0.6.5", + "objc2-app-kit 0.3.2", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "objc2-uniform-type-identifiers 0.3.2", + "percent-encoding", + "pollster", + "raw-window-handle", + "wasm-bindgen", + "wasm-bindgen-futures", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "web-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "roxmltree" +version = "0.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9da7f59328b09405b181fee1018925fad50f157afb43c0c0f5c522c256dd5907" +dependencies = [ + "memchr", +] + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustix" +version = "0.38.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +dependencies = [ + "bitflags 2.13.2", + "errno", + "libc", + "linux-raw-sys 0.4.15", + "windows-sys 0.59.0", +] + +[[package]] +name = "rustix" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" +dependencies = [ + "bitflags 2.13.2", + "errno", + "libc", + "linux-raw-sys 0.12.1", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "sctk-adwaita" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6277f0217056f77f1d8f49f2950ac6c278c0d607c45f5ee99328d792ede24ec" +dependencies = [ + "ab_glyph", + "log", + "memmap2", + "smithay-client-toolkit 0.19.2", + "tiny-skia", +] + +[[package]] +name = "self_cell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ab42ca02749e120097e328d91d415325bdf43b1c72c4c8badf37375fe40a813" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "serde_repr" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "simd-adler32" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea" + +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "siphasher" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256" + +[[package]] +name = "skrifa" +version = "0.44.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819ab7d62b1d3e72d9d9dea5650bac30424f9111364bb94928dbf5ecad1baa68" +dependencies = [ + "bytemuck", + "read-fonts", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "slotmap" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" +dependencies = [ + "version_check", +] + +[[package]] +name = "smallvec" +version = "1.16.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3244542535d5de959d90ec55d1b5ff0fd2bb7b1310223907d5f11932847f7b59" + +[[package]] +name = "smithay-client-toolkit" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" +dependencies = [ + "bitflags 2.13.2", + "calloop 0.13.0", + "calloop-wayland-source 0.3.0", + "cursor-icon", + "libc", + "log", + "memmap2", + "rustix 0.38.44", + "thiserror 1.0.69", + "wayland-backend", + "wayland-client", + "wayland-csd-frame", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-wlr", + "wayland-scanner", + "xkeysym", +] + +[[package]] +name = "smithay-client-toolkit" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0512da38f5e2b31201a93524adb8d3136276fa4fe4aafab4e1f727a82b534cc0" +dependencies = [ + "bitflags 2.13.2", + "calloop 0.14.5", + "calloop-wayland-source 0.4.1", + "cursor-icon", + "libc", + "log", + "memmap2", + "rustix 1.1.6", + "thiserror 2.0.21", + "wayland-backend", + "wayland-client", + "wayland-csd-frame", + "wayland-cursor", + "wayland-protocols", + "wayland-protocols-experimental", + "wayland-protocols-misc", + "wayland-protocols-wlr", + "wayland-scanner", + "xkeysym", +] + +[[package]] +name = "smithay-clipboard" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71704c03f739f7745053bde45fa203a46c58d25bc5c4efba1d9a60e9dba81226" +dependencies = [ + "libc", + "smithay-client-toolkit 0.20.0", + "wayland-backend", +] + +[[package]] +name = "smol_str" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead" +dependencies = [ + "serde", +] + +[[package]] +name = "spirv" +version = "0.4.0+sdk-1.4.341.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9571ea910ebd84c86af4b3ed27f9dbdc6ad06f17c5f96146b2b671e2976744f" +dependencies = [ + "bitflags 2.13.2", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "strict-num" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6637bab7722d379c8b41ba849228d680cc12d0a45ba1fa2b48f2a30577a06731" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "sys-locale" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eab9a99a024a169fe8a903cf9d4a3b3601109bcc13bd9e3c6fff259138626c4" +dependencies = [ + "libc", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.3", + "once_cell", + "rustix 1.1.6", + "windows-sys 0.52.0", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "texture2ddecoder" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "427ae8ec7f2f0fdd3146b77cfa44bea880caf066f7e55398a8467afe2645c832" +dependencies = [ + "paste", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl 2.0.21", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "tiff" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b63feaf3343d35b6ca4d50483f94843803b0f51634937cc2ec519fc32232bc52" +dependencies = [ + "fax", + "flate2", + "half", + "quick-error", + "weezl", + "zune-jpeg", +] + +[[package]] +name = "tiny-skia" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83d13394d44dae3207b52a326c0c85a8bf87f1541f23b0d143811088497b09ab" +dependencies = [ + "arrayref", + "arrayvec", + "bytemuck", + "cfg-if", + "log", + "tiny-skia-path", +] + +[[package]] +name = "tiny-skia-path" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c9e7fc0c2e86a30b117d0462aa261b72b7a99b7ebd7deb3a14ceda95c5bdc93" +dependencies = [ + "arrayref", + "bytemuck", + "strict-num", +] + +[[package]] +name = "tinystr" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abc840c238154d58f9e86b2792261edfde565a17696e1cda1a449de27979801a" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tokio" +version = "1.54.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b52fd3255258d26fac7264ab5a76b53c13367136dc011d3d6ad4f8ed070396a3" +dependencies = [ + "pin-project-lite", +] + +[[package]] +name = "toml_datetime" +version = "1.1.3+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.19+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd43688c4858d7264ae1cf9a9f874a67c3feb74a883b1cd7bebd6a4ea8307218" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", +] + +[[package]] +name = "tree_magic_mini" +version = "3.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8765b90061cba6c22b5831f675da109ae5561588290f9fa2317adab2714d5a6" +dependencies = [ + "memchr", + "nom", + "petgraph", +] + +[[package]] +name = "ttf-parser" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31" + +[[package]] +name = "ttpf-viewer" +version = "0.1.0" +dependencies = [ + "eframe", + "flate2", + "image", + "memchr", + "memmap2", + "rayon", + "rfd", + "texture2ddecoder", + "windows-sys 0.61.2", +] + +[[package]] +name = "type-map" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" +dependencies = [ + "rustc-hash 2.1.3", +] + +[[package]] +name = "uds_windows" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e" +dependencies = [ + "memoffset", + "tempfile", + "windows-sys 0.61.2", +] + +[[package]] +name = "unicode-general-category" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b993bddc193ae5bd0d623b49ec06ac3e9312875fdae725a975c51db1cc1677f" + +[[package]] +name = "unicode-ident" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" + +[[package]] +name = "unicode-properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "993ad287eb20e8ba755312801cfe1413e0f25d604075863acaddca10b04c1833" + +[[package]] +name = "unicode-script" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa04c955db05429d464c74d495c1ee677e1866e783a4c3747f9c0cef7756cabf" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-width" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca718471876992059f251e33aafc334346ada08042b7661dd1fe313a9bced557" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf8_iter" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af3bd9d3e571c26fcce9d033b87ea5ab061b8d2ffe9b7a5675d810d68f03edf0" +dependencies = [ + "utf_types", +] + +[[package]] +name = "utf_types" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6" + +[[package]] +name = "uuid" +version = "1.29.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c14b15dffa2f4bd712103e857140aa04a4f2ff6e955c77d7eb8e53ee02a3b64" +dependencies = [ + "js-sys", + "serde_core", + "wasm-bindgen", +] + +[[package]] +name = "vello_common" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbb2141a2bca6e6d598e471fd4d1d7eed8e020aad6a28187edda07f091a325dd" +dependencies = [ + "bytemuck", + "fearless_simd", + "guillotiere", + "log", + "peniko", + "png", + "smallvec", + "thiserror 2.0.21", +] + +[[package]] +name = "vello_cpu" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ace506ca414548966fcf3c283be94eb1cad8254de488791ee698bf438b0890a9" +dependencies = [ + "bytemuck", + "glifo", + "hashbrown 0.17.1", + "png", + "vello_common", +] + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c" +dependencies = [ + "cfg-if", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e14e0327cb5368ad60ccb22d04a9827a693c95a926d8d125e9fa39e0baec501" +dependencies = [ + "js-sys", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.10", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wayland-backend" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38a91b4eaddff87b1cd1074985e3713da4af2c49742d1b356b2c01670a67a078" +dependencies = [ + "cc", + "downcast-rs", + "rustix 1.1.6", + "scoped-tls", + "smallvec", + "wayland-sys", +] + +[[package]] +name = "wayland-client" +version = "0.31.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3c36a0f861ad76d0901f2800b46321410d9f73f2ea88aac0650d86c32688073" +dependencies = [ + "bitflags 2.13.2", + "rustix 1.1.6", + "wayland-backend", + "wayland-scanner", +] + +[[package]] +name = "wayland-csd-frame" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625c5029dbd43d25e6aa9615e88b829a5cad13b2819c4ae129fdbb7c31ab4c7e" +dependencies = [ + "bitflags 2.13.2", + "cursor-icon", + "wayland-backend", +] + +[[package]] +name = "wayland-cursor" +version = "0.31.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a52d18780be9b1314328a3de5f930b73d2200112e3849ca6cb11822793fb34d" +dependencies = [ + "rustix 1.1.6", + "wayland-client", + "xcursor", +] + +[[package]] +name = "wayland-protocols" +version = "0.32.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23d0c813de3daa2ed6520af85a3bd49b0e722a3078506899aa9686fea58dc4b6" +dependencies = [ + "bitflags 2.13.2", + "wayland-backend", + "wayland-client", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-experimental" +version = "20250721.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40a1f863128dcaaec790d7b4b396cc9b9a7a079e878e18c47e6c2d2c5a8dcbb1" +dependencies = [ + "bitflags 2.13.2", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-misc" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e9567599ef23e09b8dad6e429e5738d4509dfc46b3b21f32841a304d16b29c8" +dependencies = [ + "bitflags 2.13.2", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-plasma" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b6d8cf1eb2c1c31ed1f5643c88a6e53538129d4af80030c8cabd1f9fa884d91" +dependencies = [ + "bitflags 2.13.2", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-protocols-wlr" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb04e52f7836d7c7976c78ca0250d61e33873c34156a2a1fc9474828ec268234" +dependencies = [ + "bitflags 2.13.2", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-scanner", +] + +[[package]] +name = "wayland-scanner" +version = "0.31.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "338e30461b3a2b67d70eb30a6d89f8e0c93a833e07d2ae89085cd070c4a00ac0" +dependencies = [ + "proc-macro2", + "quick-xml", + "quote", +] + +[[package]] +name = "wayland-sys" +version = "0.31.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8eab23fefc9e41f8e841df4a9c707e8a8c4ed26e944ef69297184de2785e3be" +dependencies = [ + "dlib", + "log", + "once_cell", + "pkg-config", +] + +[[package]] +name = "web-sys" +version = "0.3.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d179596ff5ec0f6de4db64d54011bde6289cc49603d3a6e4ce3f329207ab88" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webbrowser" +version = "1.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73e91ccd4698f2647d6137e8eb17a3f1dcfd63810be9029fb2398f507279b95b" +dependencies = [ + "jni", + "log", + "ndk-context", + "objc2 0.6.5", + "objc2-app-kit 0.3.2", + "objc2-foundation 0.3.2", + "url", + "web-sys", +] + +[[package]] +name = "weezl" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" + +[[package]] +name = "wgpu" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "146fc3d654250e6207921a66c87534c621bc886c70df83dcf466c1d66813810e" +dependencies = [ + "arrayvec", + "bitflags 2.13.2", + "bytemuck", + "cfg-if", + "cfg_aliases", + "document-features", + "hashbrown 0.17.1", + "js-sys", + "log", + "naga", + "parking_lot", + "portable-atomic", + "profiling", + "raw-window-handle", + "smallvec", + "static_assertions", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "wgpu-core", + "wgpu-hal", + "wgpu-types", +] + +[[package]] +name = "wgpu-core" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad661da2ee99f208c30090b585284b2ab5b8bf2358ddf2d2215592808ec62f1a" +dependencies = [ + "arrayvec", + "bit-set", + "bit-vec", + "bitflags 2.13.2", + "bytemuck", + "cfg_aliases", + "document-features", + "hashbrown 0.17.1", + "indexmap", + "log", + "naga", + "naga-types", + "once_cell", + "parking_lot", + "portable-atomic", + "profiling", + "raw-window-handle", + "rustc-hash 1.1.0", + "smallvec", + "thiserror 2.0.21", + "wgpu-core-deps-apple", + "wgpu-core-deps-emscripten", + "wgpu-core-deps-wasm", + "wgpu-core-deps-windows-linux-android", + "wgpu-hal", + "wgpu-naga-bridge", + "wgpu-types", +] + +[[package]] +name = "wgpu-core-deps-apple" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d3f2f24aee039ffe9ef527300daf6b7428c58edeefdaa1700f4fa0fd754df16" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-core-deps-emscripten" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55ccf093bd215ae9dc4f96df293e675513ac1f2569f8293a2911cc34ca3505d1" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-core-deps-wasm" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b20f43aeb9962d05e61e3ccb717e2e27ba1b04e979d4ca7e361384f8ee03db56" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-core-deps-windows-linux-android" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1331b08fa2362c5d454eccc4448e6e4f01eccfea569a00e310adbfc4415f2bdc" +dependencies = [ + "wgpu-hal", +] + +[[package]] +name = "wgpu-hal" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a57452fe453658e141aafdb09de1028afa498805fab518238ddf372a518813ff" +dependencies = [ + "android_system_properties", + "arrayvec", + "ash", + "bit-set", + "bitflags 2.13.2", + "block2 0.6.2", + "bytemuck", + "cfg-if", + "cfg_aliases", + "glow", + "glutin_wgl_sys", + "gpu-allocator", + "hashbrown 0.17.1", + "js-sys", + "khronos-egl", + "libc", + "libloading", + "log", + "naga", + "naga-types", + "ndk-sys", + "objc2 0.6.5", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", + "objc2-metal 0.3.2", + "objc2-quartz-core 0.3.2", + "once_cell", + "ordered-float", + "parking_lot", + "portable-atomic", + "portable-atomic-util", + "profiling", + "range-alloc", + "raw-window-handle", + "raw-window-metal", + "renderdoc-sys", + "smallvec", + "static_assertions", + "thiserror 2.0.21", + "wasm-bindgen", + "wayland-sys", + "web-sys", + "wgpu-naga-bridge", + "wgpu-types", + "windows", + "windows-core", + "windows-result", +] + +[[package]] +name = "wgpu-naga-bridge" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44a62ead68aad7cd40ac9e2cd2b8ec64f32dfbad2765f429b9fb74b8b735869f" +dependencies = [ + "naga", + "wgpu-types", +] + +[[package]] +name = "wgpu-types" +version = "30.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9f6ee0bd50f5ab79fb8c25e3f33afb27126f034af4ba5909c7a0967058659e6" +dependencies = [ + "bitflags 2.13.2", + "bytemuck", + "js-sys", + "log", + "naga-types", + "raw-window-handle", + "static_assertions", + "web-sys", +] + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core", + "windows-link", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_gnullvm", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "winit" +version = "0.30.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6755fa58a9f8350bd1e472d4c3fcc25f824ec358933bba33306d0b63df5978d" +dependencies = [ + "ahash", + "android-activity", + "atomic-waker", + "bitflags 2.13.2", + "block2 0.5.1", + "bytemuck", + "calloop 0.13.0", + "cfg_aliases", + "concurrent-queue", + "core-foundation", + "core-graphics", + "cursor-icon", + "dpi", + "js-sys", + "libc", + "memmap2", + "ndk", + "objc2 0.5.3", + "objc2-app-kit 0.2.2", + "objc2-foundation 0.2.2", + "objc2-ui-kit 0.2.2", + "orbclient", + "percent-encoding", + "pin-project", + "raw-window-handle", + "redox_syscall 0.4.1", + "rustix 0.38.44", + "sctk-adwaita", + "smithay-client-toolkit 0.19.2", + "smol_str", + "tracing", + "unicode-segmentation", + "wasm-bindgen", + "wasm-bindgen-futures", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-protocols-plasma", + "web-sys", + "web-time", + "windows-sys 0.52.0", + "x11-dl", + "x11rb", + "xkbcommon-dl", +] + +[[package]] +name = "winnow" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef" +dependencies = [ + "memchr", +] + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "wl-clipboard-rs" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "959c7ac3b8afde864f7a7448ac16f29b2b83350b7eccbf77fb781c3999aa6848" +dependencies = [ + "libc", + "log", + "os_pipe", + "rustix 1.1.6", + "thiserror 2.0.21", + "tree_magic_mini", + "wayland-backend", + "wayland-client", + "wayland-protocols", + "wayland-protocols-wlr", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "x11-dl" +version = "2.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" +dependencies = [ + "libc", + "once_cell", + "pkg-config", +] + +[[package]] +name = "x11rb" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9993aa5be5a26815fe2c3eacfc1fde061fc1a1f094bf1ad2a18bf9c495dd7414" +dependencies = [ + "as-raw-xcb-connection", + "gethostname", + "libc", + "libloading", + "once_cell", + "rustix 1.1.6", + "x11rb-protocol", +] + +[[package]] +name = "x11rb-protocol" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6fc2961e4ef194dcbfe56bb845534d0dc8098940c7e5c012a258bfec6701bd" + +[[package]] +name = "xcursor" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "163b33ed8786455e2fa5d72f554057ce3f3182425434f756cd39c99839d88e23" + +[[package]] +name = "xkbcommon-dl" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039de8032a9a8856a6be89cea3e5d12fdd82306ab7c94d74e6deab2460651c5" +dependencies = [ + "bitflags 2.13.2", + "dlib", + "log", + "once_cell", + "xkeysym", +] + +[[package]] +name = "xkeysym" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56" + +[[package]] +name = "xml-rs" +version = "0.8.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e450f9b2ed1dff33c94c12589a87338689467b9c4f5d8a5710bd09a847d2c8a7" + +[[package]] +name = "yeslogic-fontconfig-sys" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d8b8abf912b9a29ff112e1671c97c33636903d13a69712037190e6805af4f76" +dependencies = [ + "dlib", + "once_cell", + "pkg-config", +] + +[[package]] +name = "yoke" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "417ef3fcf6c300b7dbd25c85531a746931c02ad536f3cf4786ed1e88223340b3" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", + "synstructure", +] + +[[package]] +name = "zbus" +version = "5.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5db4be7c075cb421e4b7ee645541604239bd243ba7c357511f4ff3a74b555907" +dependencies = [ + "async-broadcast", + "async-executor", + "async-io", + "async-lock", + "async-process", + "async-recursion", + "async-task", + "async-trait", + "blocking", + "enumflags2", + "event-listener", + "futures-core", + "futures-lite", + "hex", + "libc", + "ordered-stream", + "rustix 1.1.6", + "serde", + "serde_repr", + "tracing", + "uds_windows", + "uuid", + "windows-sys 0.61.2", + "winnow", + "zbus_macros", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zbus-lockstep" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6998de05217a084b7578728a9443d04ea4cd80f2a0839b8d78770b76ccd45863" +dependencies = [ + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus-lockstep-macros" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10da05367f3a7b7553c8cdf8fa91aee6b64afebe32b51c95177957efc47ca3a0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", + "zbus-lockstep", + "zbus_xml", + "zvariant", +] + +[[package]] +name = "zbus_macros" +version = "5.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2990635d09ade6df1868f72f8cac69a876a90981e8bd3c40b1be413f8dc88f40" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 3.0.10", + "zbus_names", + "zvariant", + "zvariant_utils", +] + +[[package]] +name = "zbus_names" +version = "4.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812a12be4ead7a59e18ea8f047d08add0066b73bc62fc1467066a2472ae088dd" +dependencies = [ + "serde", + "winnow", + "zvariant", +] + +[[package]] +name = "zbus_xml" +version = "5.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1586c021a01ca0a9216dcd874e546382e156a5cbab5fab6cb5f10087e22682a" +dependencies = [ + "serde", + "winnow", + "zbus_names", + "zvariant", +] + +[[package]] +name = "zcheapstr" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2347b6f50c4f669a282af57bf950debeacb9ce86de21b5b12932178dda691315" +dependencies = [ + "serde", +] + +[[package]] +name = "zerocopy" +version = "0.8.63" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.63" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", + "synstructure", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f58a2799cfe9a1670c7ea8edbd52ef8edb93cb37a7f83bf31ba9e35d9dae6a40" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "zlib-rs" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112" + +[[package]] +name = "zune-core" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56377fd46368984a170bc5aac5567e52ca5da874caa60bea39fcbca78fb658b" + +[[package]] +name = "zune-jpeg" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27bc9d5b815bc103f142aa054f561d9187d191692ec7c2d1e2b4737f8dbd7296" +dependencies = [ + "zune-core", +] + +[[package]] +name = "zvariant" +version = "5.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80bf6d6cd6a4b601acb64cfb8284cdc643fcfa75ef26ae3c46ec8aa4e8a1fbb7" +dependencies = [ + "endi", + "enumflags2", + "serde", + "winnow", + "zcheapstr", + "zvariant_derive", + "zvariant_utils", +] + +[[package]] +name = "zvariant_derive" +version = "5.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef2672456ba1cb54b5eaec136e63135b3c7495fb938e53b28a62e633496d486d" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 3.0.10", + "zvariant_utils", +] + +[[package]] +name = "zvariant_utils" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bad0294361a320b694a328460dc73add56c306150f5cb6bfafc44446120008a3" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "syn 3.0.10", + "winnow", +] diff --git a/tools/ttpf-viewer/Cargo.toml b/tools/ttpf-viewer/Cargo.toml new file mode 100644 index 0000000..4d8dfa1 --- /dev/null +++ b/tools/ttpf-viewer/Cargo.toml @@ -0,0 +1,29 @@ +[package] +name = "ttpf-viewer" +version = "0.1.0" +edition = "2024" +rust-version = "1.85" +description = "Browse and extract textures from .ttpf texture archives" +license = "MIT" + +[dependencies] +eframe = "0.37.0" +flate2 = "1.1.11" +image = { version = "0.25.10", default-features = false, features = ["png"] } +memchr = "2.8.3" +memmap2 = "0.9.12" +rayon = "1.12.0" +rfd = "0.18.0" +texture2ddecoder = "0.1.2" + +[target.'cfg(windows)'.dependencies] +windows-sys = { version = "0.61", features = ["Win32_System_Console"] } + +[profile.release] +opt-level = 3 +lto = "thin" +codegen-units = 1 +strip = true + +[profile.dev] +opt-level = 2 # decoding is far too slow unoptimised diff --git a/tools/ttpf-viewer/LICENSE b/tools/ttpf-viewer/LICENSE new file mode 100644 index 0000000..d880939 --- /dev/null +++ b/tools/ttpf-viewer/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 paryzius + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/tools/ttpf-viewer/README.md b/tools/ttpf-viewer/README.md new file mode 100644 index 0000000..13b1d5d --- /dev/null +++ b/tools/ttpf-viewer/README.md @@ -0,0 +1,105 @@ +# TTPF Viewer + +Browse and extract the textures inside `.ttpf` texture archives. + +Drop a `.ttpf` onto the window and every texture appears in a gallery, decoded exactly as the archive's header +describes it: format, size, GPU tile layout and mip levels. Click one to see it large with all its mip levels, +save it as PNG, or extract a whole selection at once. + +## Download + +Grab `ttpf-viewer-windows-x64.exe` from the [Releases](../../releases) page. It's a single file, nothing to install. +(Linux and macOS: build from source, see below.) + +## Using it + +| | | +|---|---| +| Open a file | drag it onto the window, click **Open .ttpf…**, or `ttpf-viewer FILE.ttpf` | +| Browse a folder | **Open folder…** (or drop a folder): its `.ttpf` files appear in a sidebar; click one to open it | +| Select | click; **Ctrl**+click to add; **Shift**+click for a range; **Ctrl+A** all; arrow keys to move | +| Preview | mouse wheel zooms, drag pans, double-click fits; click a mip level below the image to view it | +| Extract | **Extract selected** or **Extract all shown**: PNGs named `<number>.png` go into a folder named after the archive | +| Find | search by texture number, size (`512x256`) or format (`BC7`) | + +Archives open instantly, even multi-gigabyte ones: only the header is read up front, and texture data is +unpacked when it is shown or exported. + +### What it can't show + +- **Unsupported compression**: some blocks in these archives are not zlib but a console texture compression + (probably Xbox BCPack) that has no public decoder. If only a texture's full-size level is stored that way, + the largest readable mip level is shown instead, marked "only WxH". Otherwise the texture is listed under + **Show unavailable**. +- **Cut off**: parts missing from a partially downloaded archive. +- **Unsupported format**: any DXGI format not listed below. + +Supported formats: BC1, BC2, BC3, BC4, BC5, BC6H (unsigned and signed, shown clipped to 0..1), BC7, R8, A8, +R16_FLOAT (shown as grey scaled to its own range, e.g. heightmaps), R8G8B8A8, B8G8R8A8, R16G16B16A16. + +### Videos (.rpf) + +The **Videos** tab finds the Bink 2 videos inside a game archive (`.rpf`): open or drop one, tick the videos you +want (or **Save all**). They're saved as `.bk2`, named `<offset>_<width>x<height>_<seconds>s.bk2`. The archive's file +table is encrypted, so videos are found by their own header. + +**Also convert to MP4** needs two free tools: RAD Video Tools (from RAD Game Tools) to decode the Bink 2 video, and +FFmpeg to encode the MP4 (H.264 + AAC sound). The app finds them in their usual places (FFmpeg also on the PATH or next +to the app), or use **Locate radvideo64.exe…** / **Locate ffmpeg.exe…**. Open-source Bink 2 decoders don't handle +these videos correctly yet, so without RAD Video Tools you get the `.bk2` files only. + +### Command line + +``` +ttpf-viewer extract FILE.ttpf OUTDIR save every readable texture as OUTDIR/<number>.png +ttpf-viewer list FILE.ttpf print the textures in the file +ttpf-viewer videos FILE.rpf OUTDIR save the Bink 2 videos found in a game archive (--mp4: also convert) +``` + +## The format + +```text +0x00 "RDS5" +0x04 u32 number of blocks +0x08 u32 total size of the unpacked data (low 32 bits; bits 32-39 are in the low byte of 0x0C) +0x10 u32 position of the ETPF section / 256 +0x18 u64 per block: bits 0-23 file offset / 256 + bits 24-47 position in the unpacked data / 64 (low 24 bits) + bits 48-51 position in the unpacked data / 64 (high 4 bits) +then, at the ETPF position: + "ETPF", u32 ?, u32 number of textures, u32 section size + 16 bytes per texture: + dword0 bits 0-13 width-1, 14-27 height-1 + dword1 bits 0-9 DXGI format << 3 | flags, bits 24-25 tile mode (0 = 64 KB tiles, else 4 KB) + dword2 bits 0-20 start of the texture in the unpacked data, in 4 KB pages (+0x800) + then a sorted list of 8-byte name hashes +``` + +The blocks are consecutive chunks of one unpacked stream. Each texture is a contiguous run of that stream +holding its mip levels smallest first; the full-size level ends where the next texture starts. Pixel data is +stored in AMD's standard tile order; the tile patterns are in [`src/tile.rs`](src/tile.rs). + +## Building from source + +Install Rust from [rustup.rs](https://rustup.rs), then: + +``` +cargo build --release +``` + +The program is `target/release/ttpf-viewer` (`.exe` on Windows). On Linux you also need the GTK3 and +xkbcommon development packages (`sudo apt install libgtk-3-dev libxkbcommon-dev`). + +For development, `TTPF_VIEWER_TEST="out.png;select=12,level=1,light"` makes the app load the given file, +apply the actions, save its own rendered window to `out.png` and quit. + +## Credits + +- [egui / eframe](https://github.com/emilk/egui) for the interface +- [texture2ddecoder](https://github.com/UniversalGameExtraction/texture2ddecoder) for BCn decoding +- [rfd](https://github.com/PolyMeilex/rfd), [image](https://github.com/image-rs/image), [flate2](https://github.com/rust-lang/flate2-rs), [rayon](https://github.com/rayon-rs/rayon), [memmap2](https://github.com/RazrFalcon/memmap2-rs), [memchr](https://github.com/BurntSushi/memchr) +- MP4 conversion runs [RAD Video Tools](https://www.radgametools.com/bnkdown.htm) and [FFmpeg](https://ffmpeg.org) if you have them installed; neither is included. + +## License + +MIT, see [LICENSE](LICENSE). diff --git a/tools/ttpf-viewer/src/archive.rs b/tools/ttpf-viewer/src/archive.rs new file mode 100644 index 0000000..215e7a9 --- /dev/null +++ b/tools/ttpf-viewer/src/archive.rs @@ -0,0 +1,517 @@ +//! A .ttpf archive: its header, its blocks and its textures. +//! +//! Layout (little-endian): +//! ```text +//! 0x00 "RDS5" +//! 0x04 u32 number of blocks +//! 0x08 u32 total size of the unpacked data, low 32 bits +//! 0x0C u32 bits 0-7: total size, bits 32-39; rest unknown +//! 0x10 u32 position of the ETPF section / 256 +//! 0x14 u32 unknown +//! 0x18 u64 per block: bits 0-23 file offset / 256 +//! bits 24-47 position in the unpacked data / 64, low 24 bits +//! bits 48-51 position in the unpacked data / 64, high 4 bits +//! bits 52-63 unknown (checksum?) +//! then, at the ETPF position: +//! "ETPF", u32 unknown, u32 number of textures, u32 section size +//! 16 bytes per texture: +//! dword0 bits 0-13 width-1, 14-27 height-1, 28-31 unknown (mip related) +//! dword1 bits 0-9 DXGI format << 3 | flags, bits 24-25 tile mode (0 = 64 KB tiles, else 4 KB) +//! dword2 bits 0-20 start of the texture in the unpacked data, in 4 KB pages (+0x800) +//! dword3 unknown +//! then a sorted list of 8-byte name hashes +//! ``` +//! The blocks are consecutive chunks of one unpacked stream; most are zlib, some use a console texture +//! compression this app can't read. Each texture is a contiguous run of that stream holding its mip levels, +//! smallest first: the top level ends where the next texture starts, the next level ends where the top +//! level starts, and so on. Levels smaller than a tile are stored padded to a whole tile; below the top +//! level such levels may be packed together, so they are not used. +//! +//! Blocks are only unpacked when a texture needs them (with a cache), so huge archives open instantly. + +use crate::bcn::{self, Fmt, Rgba}; +use crate::tile::Tile; +use flate2::{Decompress, FlushDecompress, Status as ZStatus}; +use memmap2::Mmap; +use rayon::prelude::*; +use std::collections::{HashMap, VecDeque}; +use std::path::{Path, PathBuf}; +use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; +use std::sync::{Arc, Mutex}; + +/// Why a texture (level) can't be shown. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Problem { + /// Not in the file (it was cut off, e.g. a partial download). + Missing, + /// Stored with a compression this app can't read. + Compression, + /// A pixel format this app can't decode. + Format, + /// Doesn't fit the space the header gives it. + Layout, +} + +impl Problem { + pub fn text(self) -> &'static str { + match self { + Problem::Missing => "not in the file (cut off)", + Problem::Compression => "unsupported compression", + Problem::Format => "unsupported format", + Problem::Layout => "doesn't fit its space", + } + } +} + +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Status { + /// Full size available. + Full, + /// Only a smaller mip level can be read; this is the largest one. + Reduced(usize), + Unavailable(Problem), +} + +impl Status { + pub fn shown_level(self) -> Option<usize> { + match self { + Status::Full => Some(0), + Status::Reduced(l) => Some(l), + Status::Unavailable(_) => None, + } + } +} + +/// One mip level: its size, the padded size it is stored at, and where it is. +#[derive(Clone, Debug)] +pub struct Level { + pub w: usize, + pub h: usize, + pw: usize, + ph: usize, + a: usize, + b: usize, + pub state: Result<(), Problem>, +} + +pub struct Texture { + pub index: usize, + pub w: usize, + pub h: usize, + pub dxgi: u32, + pub fmt: Option<Fmt>, + pub tile: Tile, + /// Readable mip levels, top first (empty if the format is unsupported). + pub levels: Vec<Level>, + pub status: Status, +} + +impl Texture { + pub fn format_name(&self) -> String { + dxgi_name(self.dxgi) + } +} + +#[derive(Clone, Copy, PartialEq, Eq)] +enum Kind { + Zlib, + Other, + Missing, +} + +struct Block { + file_off: usize, + start: usize, + /// Bytes of the stream it supplies. A zlib block in front of an unreadable one can run past the + /// next block's start; then `cover` is its real unpacked length. + cover: usize, + kind: Kind, +} + +/// Progress of opening a file, shared with the UI thread. +#[derive(Default)] +pub struct Progress { + pub stage: Mutex<String>, + pub done: AtomicUsize, + pub total: AtomicUsize, + pub finished: AtomicBool, +} + +impl Progress { + pub fn fraction(&self) -> f32 { + let t = self.total.load(Ordering::Relaxed); + if t == 0 { 0.0 } else { self.done.load(Ordering::Relaxed) as f32 / t as f32 } + } + fn stage(&self, s: &str) { + *self.stage.lock().unwrap() = s.to_string(); + } +} + +struct Cache { + blocks: HashMap<usize, Arc<Vec<u8>>>, + order: VecDeque<usize>, + bytes: usize, +} + +const CACHE_BYTES: usize = 768 << 20; + +pub struct Archive { + pub path: PathBuf, + /// File name without extension; used to name the export folder. + pub stem: String, + map: Mmap, + blocks: Vec<Block>, + pub textures: Vec<Texture>, + cache: Mutex<Cache>, +} + +fn u32_at(d: &[u8], o: usize) -> Option<u32> { + Some(u32::from_le_bytes(d.get(o..o + 4)?.try_into().ok()?)) +} + +/// DXGI format number -> decodable format. +fn format_of(dxgi: u32) -> Option<Fmt> { + Some(match dxgi { + 70..=72 => Fmt::BC1, + 76..=78 => Fmt::BC3, + 79 | 80 => Fmt::BC4, + 82 | 83 => Fmt::BC5, + 94 | 95 => Fmt::BC6H, + 97..=99 => Fmt::BC7, + 73..=75 => Fmt::BC2, + 96 => Fmt::BC6HS, + 10 => Fmt::RGBA16F, + 11 => Fmt::RGBA16, + 27..=29 => Fmt::RGBA8, + 54 => Fmt::R16F, + 61 => Fmt::R8, + 65 => Fmt::A8, + 87 | 90 | 91 => Fmt::BGRA8, + _ => return None, + }) +} + +pub fn dxgi_name(dxgi: u32) -> String { + let s = match dxgi { + 10 => "R16G16B16A16_FLOAT", + 11 => "R16G16B16A16_UNORM", + 28 => "R8G8B8A8_UNORM", + 29 => "R8G8B8A8_UNORM_SRGB", + 54 => "R16_FLOAT", + 74 => "BC2_UNORM", + 61 => "R8_UNORM", + 65 => "A8_UNORM", + 71 => "BC1_UNORM", + 72 => "BC1_UNORM_SRGB", + 77 => "BC3_UNORM", + 78 => "BC3_UNORM_SRGB", + 80 => "BC4_UNORM", + 81 => "BC4_SNORM", + 83 => "BC5_UNORM", + 84 => "BC5_SNORM", + 87 => "B8G8R8A8_UNORM", + 91 => "B8G8R8A8_UNORM_SRGB", + 95 => "BC6H_UF16", + 96 => "BC6H_SF16", + 98 => "BC7_UNORM", + 99 => "BC7_UNORM_SRGB", + _ => "", + }; + if s.is_empty() { format!("DXGI format {dxgi}") } else { s.to_string() } +} + +/// Inflate a zlib stream. Err(true) = cut off by the end of the file, Err(false) = corrupt. +fn inflate(d: &[u8], expect: usize) -> Result<Vec<u8>, bool> { + let mut z = Decompress::new(true); + let mut out = Vec::with_capacity(expect.min(64 << 20)); + loop { + if out.len() == out.capacity() { + out.reserve(1 << 16); + } + let before = (z.total_in(), z.total_out()); + let st = z.decompress_vec(&d[z.total_in() as usize..], &mut out, FlushDecompress::None).map_err(|_| false)?; + if st == ZStatus::StreamEnd { + return Ok(out); + } + if (z.total_in(), z.total_out()) == before { + return Err(true); + } + } +} + +pub fn is_ttpf_name(path: &Path) -> bool { + path.extension().is_some_and(|e| e.eq_ignore_ascii_case("ttpf")) +} + +impl Archive { + pub fn open(path: &Path, progress: &Progress) -> Result<Archive, String> { + if !is_ttpf_name(path) { + return Err(format!("{} is not a .ttpf file.", path.file_name().unwrap_or_default().to_string_lossy())); + } + progress.stage("Reading header…"); + let file = std::fs::File::open(path).map_err(|e| format!("Can't open {}: {e}", path.display()))?; + // SAFETY: read-only mapping; the file is not modified while open. + let map = unsafe { Mmap::map(&file) }.map_err(|e| format!("Can't read {}: {e}", path.display()))?; + let d: &[u8] = ↦ + let bad = || "This file has no valid .ttpf header.".to_string(); + if d.get(0..4) != Some(b"RDS5") { + return Err(bad()); + } + let n = u32_at(d, 4).ok_or_else(bad)? as usize; + let total = u32_at(d, 8).ok_or_else(bad)? as usize | ((u32_at(d, 0x0c).ok_or_else(bad)? as usize & 0xff) << 32); + let at = (u32_at(d, 0x10).ok_or_else(bad)? as usize) << 8; + if n == 0 || at < 0x18 || d.get(at..at + 4) != Some(b"ETPF") { + return Err(bad()); + } + let n = n.min((at - 0x18) / 8); + let mut table: Vec<(usize, usize)> = (0..n) + .filter_map(|i| { + let v = u64::from_le_bytes(d[0x18 + 8 * i..0x20 + 8 * i].try_into().ok()?); + let pos = ((v >> 24) & 0xff_ffff) | (((v >> 48) & 0xf) << 24); + (v != 0).then(|| (((v & 0xff_ffff) << 8) as usize, (pos << 6) as usize)) + }) + .collect(); + table.sort_by_key(|t| t.1); + let count = u32_at(d, at + 8).ok_or_else(bad)? as usize; + if at + 16 + 16 * count > d.len() { + return Err(bad()); + } + + // blocks: what kind each is, and how far the zlib ones in front of an unreadable block really reach + let kind_at = |off: usize| { + if off >= d.len() { + Kind::Missing + } else if d[off] == 0x78 { + Kind::Zlib + } else { + Kind::Other + } + }; + let mut blocks: Vec<Block> = (0..table.len()) + .map(|i| { + let (file_off, start) = table[i]; + let end = table.get(i + 1).map(|t| t.1).unwrap_or(total).max(start); + Block { file_off, start, cover: end - start, kind: kind_at(file_off) } + }) + .collect(); + let check: Vec<usize> = (0..blocks.len()) + .filter(|&i| blocks[i].kind == Kind::Zlib && blocks.get(i + 1).is_none_or(|b| b.kind != Kind::Zlib)) + .collect(); + progress.stage("Checking blocks…"); + progress.total.store(check.len(), Ordering::Relaxed); + let found: Vec<(usize, Result<usize, bool>)> = check + .par_iter() + .map(|&i| { + let r = inflate(&d[blocks[i].file_off..], blocks[i].cover).map(|v| v.len()); + progress.done.fetch_add(1, Ordering::Relaxed); + (i, r) + }) + .collect(); + for (i, r) in found { + match r { + Ok(len) => blocks[i].cover = blocks[i].cover.max(len), + Err(true) => blocks[i].kind = Kind::Missing, + Err(false) => blocks[i].kind = Kind::Other, + } + } + + // textures + progress.stage("Reading texture table…"); + let mut raw: Vec<(usize, usize, usize, u32, Tile, usize)> = (0..count) + .map(|i| { + let o = at + 16 + 16 * i; + let (a, b, c) = (u32_at(d, o).unwrap(), u32_at(d, o + 4).unwrap(), u32_at(d, o + 8).unwrap()); + let tile = if (b >> 24) & 3 == 0 { Tile::T64K } else { Tile::T4K }; + (i, (a & 0x3fff) as usize + 1, ((a >> 14) & 0x3fff) as usize + 1, (b & 0x3ff) >> 3, tile, (c & 0x1f_ffff) as usize * 4096 + 0x800) + }) + .collect(); + let mut by_start: Vec<usize> = (0..raw.len()).collect(); + by_start.sort_by_key(|&i| raw[i].5); + let mut ends = vec![total; raw.len()]; + for k in 0..by_start.len().saturating_sub(1) { + ends[by_start[k]] = raw[by_start[k + 1]].5; + } + let stem = path.file_stem().map(|s| s.to_string_lossy().into_owned()).unwrap_or_else(|| "textures".into()); + let mut arc = Archive { + path: path.to_path_buf(), + stem, + map, + blocks, + textures: Vec::new(), + cache: Mutex::new(Cache { blocks: HashMap::new(), order: VecDeque::new(), bytes: 0 }), + }; + let textures: Vec<Texture> = raw + .drain(..) + .map(|(index, w, h, dxgi, tile, start)| { + let fmt = format_of(dxgi); + let levels = fmt.map(|f| arc.levels(f, tile, w, h, start, ends[index])).unwrap_or_default(); + let status = match (fmt, levels.iter().position(|l| l.state.is_ok())) { + (None, _) => Status::Unavailable(Problem::Format), + (_, Some(0)) => Status::Full, + (_, Some(k)) => Status::Reduced(k), + (_, None) => Status::Unavailable(levels.first().map(|l| l.state.unwrap_err()).unwrap_or(Problem::Layout)), + }; + Texture { index, w, h, dxgi, fmt, tile, levels, status } + }) + .collect(); + arc.textures = textures; + // formats whose tile pattern isn't known are only decoded when uniform: check now so the status is right + for i in 0..arc.textures.len() { + let unknown = arc.textures[i].fmt.is_some_and(|f| arc.textures[i].tile.pattern(f.bytes()).is_empty()); + let lvl = arc.textures[i].status.shown_level(); + if unknown && lvl.is_some() && arc.image(i, lvl.unwrap_or(0)).is_err() { + arc.textures[i].status = Status::Unavailable(Problem::Format); + } + } + progress.stage("Done"); + progress.finished.store(true, Ordering::Relaxed); + Ok(arc) + } + + /// Mip levels of a texture, top first, as far as their layout is known. + fn levels(&self, fmt: Fmt, tile: Tile, w: usize, h: usize, start: usize, end: usize) -> Vec<Level> { + let (tw, th) = fmt.tile_px(tile); + let mut out = Vec::new(); + let mut pos = end; + for k in 0..16 { + let (lw, lh) = ((w >> k).max(1), (h >> k).max(1)); + let (pw, ph) = (lw.div_ceil(tw) * tw, lh.div_ceil(th) * th); + if k > 0 && (pw, ph) != (lw, lh) { + break; // smaller than a tile: may be packed with other levels + } + let bytes = pw / fmt.block() * (ph / fmt.block()) * fmt.bytes(); + if bytes > pos.saturating_sub(start) { + if k == 0 { + out.push(Level { w: lw, h: lh, pw, ph, a: pos, b: pos, state: Err(Problem::Layout) }); + } + break; + } + let (a, b) = (pos - bytes, pos); + out.push(Level { w: lw, h: lh, pw, ph, a, b, state: self.locate(a, b).map(|_| ()) }); + pos = a; + if lw == 1 && lh == 1 { + break; + } + } + out + } + + /// Which blocks supply bytes [a, b) of the unpacked stream: (block, from, to) pieces. + fn locate(&self, a: usize, b: usize) -> Result<Vec<(usize, usize, usize)>, Problem> { + let mut out = Vec::new(); + let mut pos = a; + while pos < b { + let last = self.blocks.partition_point(|bl| bl.start <= pos); + if last == 0 { + return Err(Problem::Missing); + } + // a readable block covering pos; an earlier zlib block may run long, so look back a few + let ok = (last.saturating_sub(4)..last).rev().find(|&i| { + let bl = &self.blocks[i]; + bl.kind == Kind::Zlib && bl.start + bl.cover > pos + }); + match ok { + Some(i) => { + let bl = &self.blocks[i]; + let end = b.min(bl.start + bl.cover); + out.push((i, pos - bl.start, end - bl.start)); + pos = end; + } + None => { + return Err(match self.blocks[last - 1].kind { + Kind::Other => Problem::Compression, + _ => Problem::Missing, + }); + } + } + } + Ok(out) + } + + /// A block's unpacked bytes (cached). + fn block(&self, i: usize) -> Result<Arc<Vec<u8>>, Problem> { + if let Some(b) = self.cache.lock().unwrap().blocks.get(&i) { + return Ok(b.clone()); + } + let bl = &self.blocks[i]; + let data = Arc::new(inflate(&self.map[bl.file_off..], bl.cover).map_err(|_| Problem::Missing)?); + let mut c = self.cache.lock().unwrap(); + if c.blocks.insert(i, data.clone()).is_none() { + c.bytes += data.len(); + c.order.push_back(i); + } + while c.bytes > CACHE_BYTES { + let Some(old) = c.order.pop_front() else { break }; + if let Some(b) = c.blocks.remove(&old) { + c.bytes -= b.len(); + } + } + Ok(data) + } + + fn read(&self, a: usize, b: usize) -> Result<Vec<u8>, Problem> { + let mut out = Vec::with_capacity(b - a); + for (i, from, to) in self.locate(a, b)? { + let data = self.block(i)?; + out.extend_from_slice(data.get(from..to).ok_or(Problem::Missing)?); + } + Ok(out) + } + + /// Decode mip level `level` of texture `t`. + pub fn image(&self, t: usize, level: usize) -> Result<Rgba, Problem> { + let tex = &self.textures[t]; + let fmt = tex.fmt.ok_or(Problem::Format)?; + let l = tex.levels.get(level).ok_or(Problem::Layout)?; + l.state?; + let data = self.read(l.a, l.b)?; + let img = bcn::decode(&data, fmt, l.pw, l.ph, tex.tile).ok_or(Problem::Format)?; + Ok(img.crop(l.w, l.h)) + } + + /// Raw stored bytes of a level and its padded size (development aid). + pub fn raw(&self, t: usize, level: usize) -> Result<(Vec<u8>, usize, usize), Problem> { + let l = self.textures[t].levels.get(level).ok_or(Problem::Layout)?; + l.state?; + Ok((self.read(l.a, l.b)?, l.pw, l.ph)) + } + + /// The image to show/export for a texture: full size, or its largest readable mip level. + pub fn best_image(&self, t: usize) -> Result<Rgba, Problem> { + match self.textures[t].status { + Status::Unavailable(p) => Err(p), + s => self.image(t, s.shown_level().unwrap_or(0)), + } + } +} + +/// File name an exported texture gets. +pub fn png_name(index: usize) -> String { + format!("{index}.png") +} + +pub fn save_png(img: &Rgba, path: &Path) -> Result<(), String> { + image::save_buffer(path, &img.px, img.w as u32, img.h as u32, image::ColorType::Rgba8).map_err(|e| e.to_string()) +} + +/// Export textures to `dir` as PNGs, in parallel. Unavailable ones are skipped. +/// Returns (written, skipped). +pub fn export(arc: &Archive, list: &[usize], dir: &Path, done: &AtomicUsize) -> Result<(usize, usize), String> { + std::fs::create_dir_all(dir).map_err(|e| format!("Can't create {}: {e}", dir.display()))?; + let results: Vec<Result<bool, String>> = list + .par_iter() + .map(|&t| { + let r = match arc.best_image(t) { + Ok(img) => save_png(&img, &dir.join(png_name(arc.textures[t].index))).map(|_| true), + Err(_) => Ok(false), + }; + done.fetch_add(1, Ordering::Relaxed); + r + }) + .collect(); + if let Some(Err(e)) = results.iter().find(|r| r.is_err()) { + return Err(e.clone()); + } + let written = results.iter().filter(|r| matches!(r, Ok(true))).count(); + Ok((written, list.len() - written)) +} diff --git a/tools/ttpf-viewer/src/bcn.rs b/tools/ttpf-viewer/src/bcn.rs new file mode 100644 index 0000000..3ef92d2 --- /dev/null +++ b/tools/ttpf-viewer/src/bcn.rs @@ -0,0 +1,208 @@ +//! Texture formats and decoding to RGBA8. + +use crate::tile::{self, Tile}; + +#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] +pub enum Fmt { + BC1, + BC3, + BC4, + BC5, + /// HDR (half-float) colour; shown clipped to 0..1 + BC6H, + BC7, + /// One channel, shown as grey. + R8, + /// Alpha only, shown as grey. + A8, + BC2, + /// BC6H with signed values + BC6HS, + /// Uncompressed colour (blue first). + BGRA8, + /// Uncompressed colour (red first). + RGBA8, + /// 16-bit float, one channel, shown as grey scaled to its own range. + R16F, + /// 16-bit float RGBA, shown clipped to 0..1. + RGBA16F, + /// 16-bit RGBA. + RGBA16, +} + +impl Fmt { + /// Bytes per element (a 4x4 block for BCn, a pixel otherwise). + pub fn bytes(self) -> usize { + match self { + Fmt::BC1 | Fmt::BC4 => 8, + Fmt::BC2 | Fmt::BC3 | Fmt::BC5 | Fmt::BC6H | Fmt::BC6HS | Fmt::BC7 => 16, + Fmt::R8 | Fmt::A8 => 1, + Fmt::R16F => 2, + Fmt::BGRA8 | Fmt::RGBA8 => 4, + Fmt::RGBA16F | Fmt::RGBA16 => 8, + } + } + /// Pixels per element side: 4 for block-compressed formats, 1 for uncompressed. + pub fn block(self) -> usize { + match self { + Fmt::R8 | Fmt::A8 | Fmt::BGRA8 | Fmt::RGBA8 | Fmt::R16F | Fmt::RGBA16F | Fmt::RGBA16 => 1, + _ => 4, + } + } + /// Size of the tile in pixels. + pub fn tile_px(self, tile: Tile) -> (usize, usize) { + let p = tile.pattern(self.bytes()); + if p.is_empty() { + return (self.block(), self.block()); // tile pattern unknown + } + let (tw, th) = tile::tile_elems(p); + (tw * self.block(), th * self.block()) + } +} + +/// A decoded image, RGBA8, row-major. +#[derive(Clone)] +pub struct Rgba { + pub w: usize, + pub h: usize, + pub px: Vec<u8>, +} + +/// Decode `data` as `fmt` at `w` x `h` pixels (a multiple of the tile size) using the given tile layout. +pub fn decode(data: &[u8], fmt: Fmt, w: usize, h: usize, tile: Tile) -> Option<Rgba> { + let (b, bytes) = (fmt.block(), fmt.bytes()); + let (we, he) = (w / b, h / b); + let n = data.len() / bytes; + if we == 0 || he == 0 || we * he != n { + return None; + } + let pat = tile.pattern(bytes); + let lin = if pat.is_empty() { + // tile pattern not known: only a texture whose elements are all equal can be decoded exactly + let first = data.get(..bytes)?; + if !data.chunks_exact(bytes).all(|p| p == first) { + return None; + } + first.repeat(n) + } else { + tile::untile(&data[..n * bytes], bytes, we, he, pat) + }; + if b == 1 { + return Some(Rgba { w, h, px: pixels(&lin, fmt) }); + } + let mut px = vec![0u8; w * h * 4]; + let mut blk = [0u32; 16]; + for by in 0..he { + for bx in 0..we { + let s = &lin[(by * we + bx) * bytes..(by * we + bx + 1) * bytes]; + blk.fill(u32::from_le_bytes([0, 0, 0, 255])); + match fmt { + Fmt::BC1 => texture2ddecoder::decode_bc1a_block(s, &mut blk), + Fmt::BC3 => texture2ddecoder::decode_bc3_block(s, &mut blk), + Fmt::BC4 => texture2ddecoder::decode_bc4_block(s, &mut blk), + Fmt::BC5 => texture2ddecoder::decode_bc5_block(s, &mut blk), + Fmt::BC6H => texture2ddecoder::decode_bc6_block_unsigned(s, &mut blk), + Fmt::BC6HS => texture2ddecoder::decode_bc6_block_signed(s, &mut blk), + Fmt::BC2 => texture2ddecoder::decode_bc2_block(s, &mut blk), + Fmt::BC7 => texture2ddecoder::decode_bc7_block(s, &mut blk), + _ => unreachable!(), + } + for (k, v) in blk.iter().enumerate() { + let [bb, g, r, a] = v.to_le_bytes(); // the decoder packs BGRA + let (r, g, bb, a) = match fmt { + Fmt::BC4 => (r, r, r, 255), // grey + Fmt::BC5 => (r, g, 0, 255), // two channels, blue = 0 + _ => (r, g, bb, a), + }; + let o = ((by * 4 + k / 4) * w + bx * 4 + k % 4) * 4; + px[o..o + 4].copy_from_slice(&[r, g, bb, a]); + } + } + } + Some(Rgba { w, h, px }) +} + +fn half(h: u16) -> f32 { + let (s, e, m) = ((h >> 15) as u32, ((h >> 10) & 0x1f) as i32, (h & 0x3ff) as f32); + let v = if e == 0 { + m / 1024.0 * 2f32.powi(-14) + } else if e == 31 { + f32::INFINITY + } else { + (1.0 + m / 1024.0) * 2f32.powi(e - 15) + }; + if s == 1 { -v } else { v } +} + +/// Uncompressed elements (one per pixel) to RGBA8. +fn pixels(lin: &[u8], fmt: Fmt) -> Vec<u8> { + let to8 = |f: f32| (f.clamp(0.0, 1.0) * 255.0 + 0.5) as u8; + match fmt { + Fmt::R8 | Fmt::A8 => lin.iter().flat_map(|&v| [v, v, v, 255]).collect(), + Fmt::BGRA8 => lin.chunks_exact(4).flat_map(|p| [p[2], p[1], p[0], p[3]]).collect(), + Fmt::RGBA8 => lin.to_vec(), + Fmt::RGBA16 => lin.chunks_exact(8).flat_map(|p| [p[1], p[3], p[5], p[7]]).collect(), + Fmt::RGBA16F => lin + .chunks_exact(8) + .flat_map(|p| [0, 2, 4, 6].map(|i| to8(half(u16::from_le_bytes([p[i], p[i + 1]]))))) + .collect(), + Fmt::R16F => { + // heights and the like: scale the texture's own range to black..white + let v: Vec<f32> = lin.chunks_exact(2).map(|p| half(u16::from_le_bytes([p[0], p[1]]))).collect(); + let (lo, hi) = v.iter().filter(|x| x.is_finite()).fold((f32::MAX, f32::MIN), |(a, b), &x| (a.min(x), b.max(x))); + let span = if hi > lo { hi - lo } else { 1.0 }; + v.iter() + .flat_map(|&x| { + let g = to8((x - lo) / span); + [g, g, g, 255] + }) + .collect() + } + _ => unreachable!(), + } +} + +impl Rgba { + /// Box-filter downscale so the longest side is at most `max` (never upscales). + pub fn thumbnail(&self, max: usize) -> Rgba { + let s = (self.w.max(self.h) as f32 / max as f32).max(1.0); + let (tw, th) = (((self.w as f32 / s).round() as usize).max(1), ((self.h as f32 / s).round() as usize).max(1)); + if tw == self.w && th == self.h { + return self.clone(); + } + let mut px = vec![0u8; tw * th * 4]; + for ty in 0..th { + let (y0, y1) = (ty * self.h / th, ((ty + 1) * self.h / th).max(ty * self.h / th + 1)); + for tx in 0..tw { + let (x0, x1) = (tx * self.w / tw, ((tx + 1) * self.w / tw).max(tx * self.w / tw + 1)); + let mut acc = [0u32; 4]; + for y in y0..y1 { + for x in x0..x1 { + let o = (y * self.w + x) * 4; + for c in 0..4 { + acc[c] += self.px[o + c] as u32; + } + } + } + let n = ((y1 - y0) * (x1 - x0)) as u32; + let o = (ty * tw + tx) * 4; + for c in 0..4 { + px[o + c] = (acc[c] / n) as u8; + } + } + } + Rgba { w: tw, h: th, px } + } + + /// The top-left `w` x `h` part (removes tile padding). + pub fn crop(&self, w: usize, h: usize) -> Rgba { + if (self.w, self.h) == (w, h) { + return self.clone(); + } + let mut px = Vec::with_capacity(w * h * 4); + for y in 0..h { + px.extend_from_slice(&self.px[y * self.w * 4..y * self.w * 4 + w * 4]); + } + Rgba { w, h, px } + } +} diff --git a/tools/ttpf-viewer/src/gui.rs b/tools/ttpf-viewer/src/gui.rs new file mode 100644 index 0000000..752aebf --- /dev/null +++ b/tools/ttpf-viewer/src/gui.rs @@ -0,0 +1,942 @@ +//! The app window: texture gallery, large preview with mip levels, and PNG export. + +use crate::archive::{self, Archive, Progress, Status}; +use crate::bcn::Rgba; +use crate::video_ui::VideosTab; +use eframe::egui::{ + self, Align2, Color32, ColorImage, FontId, Key, Rect, RichText, Sense, Stroke, StrokeKind, TextureFilter, TextureHandle, + TextureOptions, TextureWrapMode, Vec2, pos2, vec2, +}; +use std::collections::{BTreeSet, HashMap, HashSet}; +use std::path::PathBuf; +use std::sync::atomic::{AtomicUsize, Ordering}; +use std::sync::{Arc, Condvar, Mutex}; +use std::time::Duration; + +const THUMB: usize = 256; +const MIP_THUMB: usize = 96; +const MAX_THUMBS: usize = 900; + +pub fn run(file: Option<PathBuf>) -> Result<(), String> { + let options = eframe::NativeOptions { + viewport: egui::ViewportBuilder::default() + .with_inner_size([1400.0, 900.0]) + .with_min_inner_size([800.0, 500.0]) + .with_title("TTPF Viewer") + .with_drag_and_drop(true), + ..Default::default() + }; + eframe::run_native("TTPF Viewer", options, Box::new(move |_cc| Ok(Box::new(App::new(file))))) + .map_err(|e| e.to_string()) +} + +// ------------------------------------------------------------------ background work + +type Job = Box<dyn FnOnce() + Send>; + +/// Worker threads that run the most recently requested job first (what's on screen now). +struct Pool { + jobs: Mutex<Vec<Job>>, + cv: Condvar, +} + +impl Pool { + fn new(threads: usize) -> Arc<Pool> { + let p = Arc::new(Pool { jobs: Mutex::new(Vec::new()), cv: Condvar::new() }); + for _ in 0..threads { + let p = p.clone(); + std::thread::spawn(move || loop { + let job = { + let mut j = p.jobs.lock().unwrap(); + while j.is_empty() { + j = p.cv.wait(j).unwrap(); + } + j.pop().unwrap() + }; + job(); + }); + } + p + } + fn push(&self, job: Job) { + self.jobs.lock().unwrap().push(job); + self.cv.notify_one(); + } + fn clear(&self) { + self.jobs.lock().unwrap().clear(); + } +} + +/// (texture, mip level) +type Key2 = (usize, usize); + +enum Done { + Thumb(Key2, Result<ColorImage, String>), + Full(Key2, Result<ColorImage, String>), +} + +fn to_color_image(img: &Rgba) -> ColorImage { + ColorImage::from_rgba_unmultiplied([img.w, img.h], &img.px) +} + +struct Export { + total: usize, + done: Arc<AtomicUsize>, + result: Arc<Mutex<Option<Result<(usize, usize), String>>>>, + dir: PathBuf, +} + +#[derive(Clone, Copy, PartialEq)] +enum Mode { + Textures, + Videos, +} + +/// An entry of the folder sidebar. +struct Entry { + path: PathBuf, + dir: bool, + size: u64, +} + +struct Loading { + progress: Arc<Progress>, + result: Arc<Mutex<Option<Result<Arc<Archive>, String>>>>, +} + +pub struct App { + pool: Arc<Pool>, + done: Arc<Mutex<Vec<Done>>>, + arc: Option<Arc<Archive>>, + loading: Option<Loading>, + error: Option<String>, + to_open: Option<PathBuf>, + // textures on the GPU + thumbs: HashMap<Key2, (TextureHandle, u64)>, + pending: HashSet<Key2>, + failed: HashMap<Key2, String>, + full: Option<(Key2, TextureHandle)>, + full_pending: Option<Key2>, + checker: Option<TextureHandle>, + frame: u64, + // view + rows: Vec<usize>, + unavailable: usize, + selected: BTreeSet<usize>, + focus: Option<usize>, + /// mip level shown in the preview (None = the best available) + level: Option<usize>, + anchor: Option<usize>, + scroll_to_focus: bool, + show_unavailable: bool, + search: String, + tsize: f32, + cols: usize, + scroll_y: f32, + // preview zoom/pan + zoom: f32, + pan: Vec2, + refit: bool, + export: Option<Export>, + mode: Mode, + videos: VideosTab, + /// folder shown in the sidebar, and the listing of every folder opened in it + folder: Option<PathBuf>, + listing: HashMap<PathBuf, Vec<Entry>>, + open_path: Option<PathBuf>, + message: Option<(String, Option<PathBuf>)>, + /// Developer test hook (env TTPF_VIEWER_TEST="out.png;select=12,level=1,unavailable,light,size=200"): once + /// everything has loaded, save the app's own rendered frame to out.png and quit. + test: Option<(PathBuf, Vec<String>, u64, bool)>, +} + +impl App { + fn new(file: Option<PathBuf>) -> App { + let threads = std::thread::available_parallelism().map(|n| n.get()).unwrap_or(4).clamp(2, 16); + App { + pool: Pool::new(threads), + done: Arc::new(Mutex::new(Vec::new())), + arc: None, + loading: None, + error: None, + to_open: file, + thumbs: HashMap::new(), + pending: HashSet::new(), + failed: HashMap::new(), + full: None, + full_pending: None, + checker: None, + frame: 0, + rows: Vec::new(), + unavailable: 0, + selected: BTreeSet::new(), + focus: None, + level: None, + anchor: None, + scroll_to_focus: false, + show_unavailable: false, + search: String::new(), + tsize: 160.0, + cols: 1, + scroll_y: 0.0, + zoom: 1.0, + pan: Vec2::ZERO, + refit: true, + export: None, + mode: Mode::Textures, + videos: VideosTab::new(), + folder: None, + listing: HashMap::new(), + open_path: None, + message: None, + test: std::env::var("TTPF_VIEWER_TEST").ok().map(|v| { + let (out, acts) = v.split_once(';').unwrap_or((&v, "")); + (PathBuf::from(out), acts.split(',').filter(|a| !a.is_empty()).map(String::from).collect(), 0, false) + }), + } + } + + fn open(&mut self, path: PathBuf, ctx: &egui::Context) { + if !archive::is_ttpf_name(&path) { + self.message = Some((format!("{} is not a .ttpf file.", path.file_name().unwrap_or_default().to_string_lossy()), None)); + return; + } + self.pool.clear(); + self.arc = None; + self.error = None; + self.thumbs.clear(); + self.pending.clear(); + self.failed.clear(); + self.full = None; + self.full_pending = None; + self.rows.clear(); + self.selected.clear(); + self.focus = None; + self.level = None; + self.message = None; + self.open_path = Some(path.clone()); + let progress = Arc::new(Progress::default()); + let result = Arc::new(Mutex::new(None)); + self.loading = Some(Loading { progress: progress.clone(), result: result.clone() }); + let ctx = ctx.clone(); + std::thread::spawn(move || { + let r = Archive::open(&path, &progress).map(Arc::new); + *result.lock().unwrap() = Some(r); + ctx.request_repaint(); + }); + } + + fn poll(&mut self, ctx: &egui::Context) { + self.frame += 1; + if let Some(p) = self.to_open.take() { + self.open(p, ctx); + } + let dropped: Vec<PathBuf> = ctx.input(|i| i.raw.dropped_files.iter().map(|f| f.path().to_path_buf()).collect()); + if let Some(p) = dropped.into_iter().find(|p| !p.as_os_str().is_empty()) { + if p.is_dir() { + self.set_folder(p); + } else if p.extension().is_some_and(|e| e.eq_ignore_ascii_case("rpf")) { + self.mode = Mode::Videos; + self.videos.open(p); + } else { + self.mode = Mode::Textures; + self.open(p, ctx); + } + } + let loaded = self.loading.as_ref().and_then(|l| l.result.lock().unwrap().take()); + if let Some(r) = loaded { + match r { + Ok(a) => self.arc = Some(a), + Err(e) => self.error = Some(e), + } + self.loading = None; + } + for d in std::mem::take(&mut *self.done.lock().unwrap()) { + match d { + Done::Thumb(k, r) => { + self.pending.remove(&k); + match r { + Ok(img) => { + let t = ctx.load_texture(format!("t{}_{}", k.0, k.1), img, texture_options()); + self.thumbs.insert(k, (t, self.frame)); + } + Err(e) => { + self.failed.insert(k, e); + } + } + } + Done::Full(k, r) => { + if self.full_pending == Some(k) { + self.full_pending = None; + match r { + Ok(img) => { + self.full = Some((k, ctx.load_texture("full", img, texture_options()))); + self.refit = true; + } + Err(e) => { + self.failed.insert(k, e); + } + } + } + } + } + } + if self.thumbs.len() > MAX_THUMBS { + let mut by_age: Vec<(u64, Key2)> = self.thumbs.iter().map(|(k, (_, f))| (*f, *k)).collect(); + by_age.sort_by_key(|x| x.0); + for (_, k) in by_age.into_iter().take(self.thumbs.len() - MAX_THUMBS * 3 / 4) { + self.thumbs.remove(&k); + } + } + let finished = self.export.as_ref().and_then(|e| e.result.lock().unwrap().take().map(|r| (r, e.dir.clone()))); + if let Some((r, dir)) = finished { + self.message = Some(match r { + Ok((n, skipped)) => { + let extra = if skipped > 0 { format!(" ({skipped} unreadable skipped)") } else { String::new() }; + (format!("Saved {n} PNG{} to {}{extra}", if n == 1 { "" } else { "s" }, dir.display()), Some(dir)) + } + Err(err) => (format!("Export failed: {err}"), None), + }); + self.export = None; + } + self.refresh_rows(); + self.test_hook(ctx); + if self.loading.is_some() || self.export.is_some() || !self.pending.is_empty() || self.full_pending.is_some() { + ctx.request_repaint_after(Duration::from_millis(150)); + } + } + + fn refresh_rows(&mut self) { + let Some(arc) = &self.arc else { return }; + let q = self.search.trim().trim_start_matches('#').to_lowercase(); + self.unavailable = arc.textures.iter().filter(|t| matches!(t.status, Status::Unavailable(_))).count(); + self.rows = arc + .textures + .iter() + .filter(|t| self.show_unavailable || !matches!(t.status, Status::Unavailable(_))) + .filter(|t| { + q.is_empty() || t.index.to_string() == q || format!("{}x{} {}", t.w, t.h, t.format_name()).to_lowercase().contains(&q) + }) + .map(|t| t.index) + .collect(); + } + + fn request_thumb(&mut self, k: Key2, size: usize) { + if self.thumbs.contains_key(&k) || self.pending.contains(&k) || self.failed.contains_key(&k) { + return; + } + let Some(arc) = self.arc.clone() else { return }; + self.pending.insert(k); + let done = self.done.clone(); + self.pool.push(Box::new(move || { + let r = arc.image(k.0, k.1).map(|img| to_color_image(&img.thumbnail(size))).map_err(|p| p.text().to_string()); + done.lock().unwrap().push(Done::Thumb(k, r)); + })); + } + + fn request_full(&mut self, k: Key2) { + if self.full.as_ref().is_some_and(|f| f.0 == k) || self.full_pending == Some(k) || self.failed.contains_key(&k) { + return; + } + let Some(arc) = self.arc.clone() else { return }; + self.full_pending = Some(k); + let done = self.done.clone(); + self.pool.push(Box::new(move || { + let r = arc + .image(k.0, k.1) + .map(|img| to_color_image(&if img.w.max(img.h) > 8192 { img.thumbnail(8192) } else { img })) + .map_err(|p| p.text().to_string()); + done.lock().unwrap().push(Done::Full(k, r)); + })); + } + + fn select_click(&mut self, t: usize, ctrl: bool, shift: bool) { + if shift && self.anchor.is_some() { + let a = self.rows.iter().position(|&r| Some(r) == self.anchor); + let b = self.rows.iter().position(|&r| r == t); + if let (Some(a), Some(b)) = (a, b) { + for &r in &self.rows[a.min(b)..=a.max(b)] { + self.selected.insert(r); + } + } + } else if ctrl { + if !self.selected.remove(&t) { + self.selected.insert(t); + } + self.anchor = Some(t); + } else { + self.selected.clear(); + self.selected.insert(t); + self.anchor = Some(t); + } + if self.focus != Some(t) { + self.focus = Some(t); + self.level = None; + self.refit = true; + } + } + + fn start_export(&mut self, list: Vec<usize>) { + let Some(arc) = self.arc.clone() else { return }; + if list.is_empty() { + return; + } + let Some(dir) = rfd::FileDialog::new().set_title("Choose a folder for the PNGs").pick_folder() else { return }; + let dir = dir.join(&arc.stem); + let done = Arc::new(AtomicUsize::new(0)); + let result = Arc::new(Mutex::new(None)); + self.export = Some(Export { total: list.len(), done: done.clone(), result: result.clone(), dir: dir.clone() }); + self.message = None; + std::thread::spawn(move || { + let r = archive::export(&arc, &list, &dir, &done); + *result.lock().unwrap() = Some(r); + }); + } + + fn save_one(&mut self, t: usize, level: usize) { + let Some(arc) = self.arc.clone() else { return }; + let name = if level == 0 { archive::png_name(t) } else { format!("{t}_mip{level}.png") }; + let Some(path) = rfd::FileDialog::new().set_file_name(&name).add_filter("PNG image", &["png"]).save_file() else { return }; + self.message = Some(match arc.image(t, level).map_err(|p| p.text().to_string()).and_then(|img| archive::save_png(&img, &path)) { + Ok(()) => (format!("Saved {}", path.display()), path.parent().map(|p| p.to_path_buf())), + Err(e) => (format!("Couldn't save: {e}"), None), + }); + } + + fn set_folder(&mut self, dir: PathBuf) { + self.mode = Mode::Textures; + self.listing.clear(); + self.folder = Some(dir); + } + + /// Subfolders and .ttpf files of `dir` (read once, then cached). + fn list_dir(&mut self, dir: &PathBuf) -> &Vec<Entry> { + self.listing.entry(dir.clone()).or_insert_with(|| { + let mut v: Vec<Entry> = std::fs::read_dir(dir) + .map(|rd| { + rd.filter_map(|e| e.ok()) + .filter_map(|e| { + let path = e.path(); + let md = e.metadata().ok()?; + (md.is_dir() || archive::is_ttpf_name(&path)).then(|| Entry { path, dir: md.is_dir(), size: md.len() }) + }) + .collect() + }) + .unwrap_or_default(); + v.sort_by(|a, b| b.dir.cmp(&a.dir).then_with(|| a.path.cmp(&b.path))); + v + }) + } + + fn tree(&mut self, ui: &mut egui::Ui, dir: PathBuf, ctx: &egui::Context) { + let entries: Vec<(PathBuf, bool, u64)> = self.list_dir(&dir).iter().map(|e| (e.path.clone(), e.dir, e.size)).collect(); + if entries.is_empty() { + ui.label(RichText::new("no .ttpf files").color(ui.visuals().weak_text_color())); + } + for (path, is_dir, size) in entries { + let name = path.file_name().unwrap_or_default().to_string_lossy().into_owned(); + if is_dir { + egui::CollapsingHeader::new(name).id_salt(&path).show(ui, |ui| self.tree(ui, path.clone(), ctx)); + } else { + let open = self.open_path.as_ref() == Some(&path); + let label = format!("{name} {:.0} MB", size as f64 / 1048576.0); + if ui.selectable_label(open, label).clicked() && !open { + self.open(path, ctx); + } + } + } + } + + fn pick_file(&mut self) { + if let Some(p) = rfd::FileDialog::new().add_filter("TTPF archive", &["ttpf"]).pick_file() { + self.to_open = Some(p); + } + } + + fn test_hook(&mut self, ctx: &egui::Context) { + let Some((out, acts, settled, sent)) = self.test.clone() else { return }; + if sent || self.loading.is_some() { + ctx.request_repaint_after(Duration::from_millis(100)); + return; + } + if settled == 0 { + for a in &acts { + match a.split_once('=') { + Some(("select", n)) => { + if let Ok(t) = n.parse() { + self.select_click(t, false, false); + self.scroll_to_focus = true; + } + } + Some(("level", n)) => self.level = n.parse().ok(), + Some(("folder", d)) => self.set_folder(PathBuf::from(d)), + Some(("rpf", f)) => { + self.mode = Mode::Videos; + self.videos.open(PathBuf::from(f)); + } + Some(("size", n)) => self.tsize = n.parse().unwrap_or(self.tsize), + _ if a == "unavailable" => self.show_unavailable = true, + _ if a == "light" => ctx.set_theme(egui::Theme::Light), + _ => {} + } + } + } + let busy = !self.pending.is_empty() || self.full_pending.is_some() || self.videos.busy(); + let settled = if busy { 1 } else { settled + 1 }; + self.test.as_mut().unwrap().2 = settled; + if settled > 20 { + self.test.as_mut().unwrap().3 = true; + let c = ctx.clone(); + ctx.send_viewport_cmd(egui::ViewportCommand::Screenshot(egui::ScreenshotCallback::new(move |img| { + let px: Vec<u8> = img.pixels.iter().flat_map(|p| p.to_array()).collect(); + let _ = image::save_buffer(&out, &px, img.size[0] as u32, img.size[1] as u32, image::ColorType::Rgba8); + c.send_viewport_cmd(egui::ViewportCommand::Close); + c.request_repaint(); + }))); + } + ctx.request_repaint_after(Duration::from_millis(50)); + } +} + +fn texture_options() -> TextureOptions { + TextureOptions { + magnification: TextureFilter::Nearest, + minification: TextureFilter::Linear, + wrap_mode: TextureWrapMode::ClampToEdge, + mipmap_mode: Some(TextureFilter::Linear), + } +} + +pub fn open_folder(dir: &std::path::Path) { + #[cfg(windows)] + let cmd = "explorer"; + #[cfg(target_os = "macos")] + let cmd = "open"; + #[cfg(all(unix, not(target_os = "macos")))] + let cmd = "xdg-open"; + let _ = std::process::Command::new(cmd).arg(dir).spawn(); +} + +/// Rectangle of size `img` scaled to fit inside `area`, centred. +fn fit_rect(area: Rect, img: Vec2) -> Rect { + let s = (area.width() / img.x).min(area.height() / img.y); + Rect::from_center_size(area.center(), img * s) +} + +const FULL_UV: Rect = Rect { min: pos2(0.0, 0.0), max: pos2(1.0, 1.0) }; + +// ------------------------------------------------------------------ drawing + +impl eframe::App for App { + fn ui(&mut self, ui: &mut egui::Ui, _frame: &mut eframe::Frame) { + let ctx = ui.ctx().clone(); + if self.checker.is_none() { + let mut img = ColorImage::new([16, 16], vec![Color32::from_gray(150); 256]); + for y in 0..16 { + for x in 0..16 { + if (x / 8 + y / 8) % 2 == 0 { + img[(x, y)] = Color32::from_gray(185); + } + } + } + let opts = TextureOptions { wrap_mode: TextureWrapMode::Repeat, ..TextureOptions::NEAREST }; + self.checker = Some(ctx.load_texture("checker", img, opts)); + } + self.poll(&ctx); + egui::Panel::top("modes").show(ui, |ui| { + ui.horizontal(|ui| { + ui.selectable_value(&mut self.mode, Mode::Textures, RichText::new("Textures (.ttpf)").strong()); + ui.selectable_value(&mut self.mode, Mode::Videos, RichText::new("Videos (.rpf)").strong()); + }); + }); + if self.mode == Mode::Videos { + egui::CentralPanel::default_margins().show(ui, |ui| self.videos.ui(ui)); + return; + } + self.keys(&ctx); + egui::Panel::top("toolbar").show(ui, |ui| self.toolbar(ui)); + egui::Panel::bottom("status").show(ui, |ui| self.status_bar(ui)); + if let Some(root) = self.folder.clone() { + egui::Panel::left("folder").resizable(true).default_size(260.0).min_size(160.0).show(ui, |ui| { + ui.horizontal(|ui| { + ui.label(RichText::new(root.file_name().unwrap_or_default().to_string_lossy()).strong()); + ui.with_layout(egui::Layout::right_to_left(egui::Align::Center), |ui| { + if ui.small_button("Close").clicked() { + self.folder = None; + } + if ui.small_button("Refresh").clicked() { + self.listing.clear(); + } + }); + }); + ui.separator(); + egui::ScrollArea::vertical().auto_shrink(false).show(ui, |ui| self.tree(ui, root.clone(), &ctx)); + }); + } + if self.focus.is_some() && self.arc.is_some() { + egui::Panel::right("preview").resizable(true).default_size(540.0).min_size(340.0).show(ui, |ui| self.preview(ui)); + } + egui::CentralPanel::default_margins().show(ui, |ui| self.gallery(ui)); + } +} + +impl App { + fn checker(&self, p: &egui::Painter, r: Rect) { + if let Some(ch) = &self.checker { + p.image(ch.id(), r, Rect::from_min_max(pos2(0.0, 0.0), pos2(r.width() / 16.0, r.height() / 16.0)), Color32::WHITE); + } + } + + fn keys(&mut self, ctx: &egui::Context) { + if ctx.egui_wants_keyboard_input() { + return; + } + let (left, right, up, down, all, esc) = ctx.input(|i| { + ( + i.key_pressed(Key::ArrowLeft), + i.key_pressed(Key::ArrowRight), + i.key_pressed(Key::ArrowUp), + i.key_pressed(Key::ArrowDown), + i.modifiers.command && i.key_pressed(Key::A), + i.key_pressed(Key::Escape), + ) + }); + if all { + self.selected = self.rows.iter().copied().collect(); + } + if esc { + self.selected.clear(); + self.focus = None; + } + let cols = self.cols.max(1) as isize; + let step = if left { -1 } else if right { 1 } else if up { -cols } else if down { cols } else { 0 }; + if step != 0 && !self.rows.is_empty() { + let i = self.focus.and_then(|t| self.rows.iter().position(|&r| r == t)).unwrap_or(0) as isize; + let j = (i + step).clamp(0, self.rows.len() as isize - 1) as usize; + let t = self.rows[j]; + self.select_click(t, false, false); + self.scroll_to_focus = true; + } + } + + fn toolbar(&mut self, ui: &mut egui::Ui) { + ui.horizontal_wrapped(|ui| { + if ui.button("Open .ttpf…").clicked() { + self.pick_file(); + } + if ui.button("Open folder…").on_hover_text("Shows a folder's .ttpf files in a sidebar").clicked() { + if let Some(d) = rfd::FileDialog::new().set_title("Choose a folder with .ttpf files").pick_folder() { + self.set_folder(d); + } + } + if let Some(a) = &self.arc { + ui.label(RichText::new(a.path.file_name().map(|n| n.to_string_lossy().into_owned()).unwrap_or_default()).strong()); + } + if self.arc.is_none() { + return; + } + ui.separator(); + ui.checkbox(&mut self.show_unavailable, format!("Show unavailable ({})", self.unavailable)).on_hover_text( + "Textures that can't be shown: cut off from the file, stored with a compression this app can't read, or in an unsupported pixel format.", + ); + ui.separator(); + ui.add(egui::TextEdit::singleline(&mut self.search).hint_text("Search: number, 512x256, BC7").desired_width(190.0)); + ui.separator(); + ui.label("Size"); + ui.add(egui::Slider::new(&mut self.tsize, 64.0..=384.0).show_value(false)); + ui.separator(); + let busy = self.export.is_some(); + let n_sel = self.selected.len(); + if ui.add_enabled(n_sel > 0 && !busy, egui::Button::new(format!("Extract selected ({n_sel})"))).clicked() { + let l: Vec<usize> = self.selected.iter().copied().collect(); + self.start_export(l); + } + let shown = self.rows.len(); + if ui.add_enabled(shown > 0 && !busy, egui::Button::new(format!("Extract all shown ({shown})"))).clicked() { + let l = self.rows.clone(); + self.start_export(l); + } + }); + } + + fn status_bar(&mut self, ui: &mut egui::Ui) { + ui.horizontal(|ui| { + if let Some(l) = &self.loading { + ui.add(egui::ProgressBar::new(l.progress.fraction()).desired_width(260.0)); + ui.label(l.progress.stage.lock().unwrap().clone()); + } else if let Some(e) = &self.error { + ui.colored_label(ui.visuals().error_fg_color, e); + } else if let Some(a) = &self.arc { + let reduced = a.textures.iter().filter(|t| matches!(t.status, Status::Reduced(_))).count(); + let mut s = format!("{} textures", a.textures.len()); + if reduced > 0 { + s += &format!(", {reduced} only at reduced size"); + } + if self.unavailable > 0 { + s += &format!(", {} unavailable", self.unavailable); + } + ui.label(s); + } + if let Some(e) = &self.export { + ui.separator(); + let d = e.done.load(Ordering::Relaxed); + ui.add(egui::ProgressBar::new(d as f32 / e.total.max(1) as f32).desired_width(200.0).text(format!("Saving {d}/{}", e.total))); + } + if let Some((msg, dir)) = self.message.clone() { + ui.separator(); + ui.label(msg); + if let Some(d) = dir { + if ui.small_button("Open folder").clicked() { + open_folder(&d); + } + } + } + }); + } + + fn gallery(&mut self, ui: &mut egui::Ui) { + let Some(arc) = self.arc.clone() else { + self.empty_state(ui); + return; + }; + if self.rows.is_empty() { + ui.centered_and_justified(|ui| { + ui.label("Nothing matches."); + }); + return; + } + let cell = self.tsize; + let cap = 34.0; + let gap = ui.spacing().item_spacing; + let cols = (((ui.available_width() + gap.x) / (cell + gap.x)).floor() as usize).max(1); + self.cols = cols; + let nrows = self.rows.len().div_ceil(cols); + let row_h = cell + cap; + let mut scroll = egui::ScrollArea::vertical().auto_shrink(false); + if self.scroll_to_focus { + self.scroll_to_focus = false; + if let Some(i) = self.focus.and_then(|t| self.rows.iter().position(|&r| r == t)) { + let y = (i / cols) as f32 * (row_h + gap.y); + let view_h = ui.available_height(); + if y < self.scroll_y || y + row_h > self.scroll_y + view_h { + scroll = scroll.vertical_scroll_offset((y - view_h / 2.0 + row_h / 2.0).max(0.0)); + } + } + } + let rows = self.rows.clone(); + let out = scroll.show_rows(ui, row_h, nrows, |ui, range| { + for r in range { + ui.horizontal(|ui| { + for c in 0..cols { + if let Some(&t) = rows.get(r * cols + c) { + self.cell(ui, &arc, t, cell, cap); + } + } + }); + } + }); + self.scroll_y = out.state.clamped_offset().y; + } + + fn cell(&mut self, ui: &mut egui::Ui, arc: &Archive, t: usize, cell: f32, cap: f32) { + let (rect, resp) = ui.allocate_exact_size(vec2(cell, cell + cap), Sense::click()); + if !ui.is_rect_visible(rect) { + return; + } + let vis = ui.visuals().clone(); + let tex = &arc.textures[t]; + let p = ui.painter_at(rect); + let img_area = Rect::from_min_size(rect.min, vec2(cell, cell)); + p.rect_filled(img_area, 4.0, vis.extreme_bg_color); + match tex.status { + Status::Unavailable(prob) => { + p.text(img_area.center(), Align2::CENTER_CENTER, prob.text(), FontId::proportional(12.0), vis.weak_text_color()); + } + s => { + let k = (t, s.shown_level().unwrap_or(0)); + if let Some(e) = self.failed.get(&k) { + p.text(img_area.center(), Align2::CENTER_CENTER, e, FontId::proportional(12.0), vis.error_fg_color); + } else if let Some((th, f)) = self.thumbs.get_mut(&k) { + *f = self.frame; + let r = fit_rect(img_area.shrink(4.0), th.size_vec2()); + let id = th.id(); + self.checker(&p, r); + p.image(id, r, FULL_UV, Color32::WHITE); + } else { + self.request_thumb(k, THUMB); + p.text(img_area.center(), Align2::CENTER_CENTER, "…", FontId::proportional(18.0), vis.weak_text_color()); + } + } + } + let stroke = if self.focus == Some(t) { + Stroke::new(3.0, vis.strong_text_color()) + } else if self.selected.contains(&t) { + Stroke::new(3.0, vis.selection.stroke.color) + } else { + vis.widgets.noninteractive.bg_stroke + }; + p.rect_stroke(img_area, 4.0, stroke, StrokeKind::Inside); + let size = match tex.status { + Status::Reduced(l) => format!("{}x{} (only {}x{})", tex.w, tex.h, tex.levels[l].w, tex.levels[l].h), + _ => format!("{}x{}", tex.w, tex.h), + }; + let x = rect.min.x + 2.0; + p.text(pos2(x, img_area.max.y + 3.0), Align2::LEFT_TOP, format!("#{t}"), FontId::proportional(13.0), vis.strong_text_color()); + p.text(pos2(x, img_area.max.y + 19.0), Align2::LEFT_TOP, size, FontId::proportional(11.5), vis.text_color()); + if resp.clicked() { + let m = ui.input(|i| i.modifiers); + self.select_click(t, m.command, m.shift); + } + } + + fn empty_state(&mut self, ui: &mut egui::Ui) { + let hovering = ui.ctx().input(|i| !i.raw.hovered_files.is_empty()); + ui.vertical_centered(|ui| { + ui.add_space(ui.available_height() * 0.3); + ui.label(RichText::new(if hovering { "Drop it!" } else { "Drop a .ttpf file or a folder here" }).size(28.0)); + ui.add_space(8.0); + ui.label("or"); + ui.add_space(8.0); + if ui.button(RichText::new("Open .ttpf…").size(18.0)).clicked() { + self.pick_file(); + } + if self.loading.is_some() { + ui.add_space(16.0); + ui.spinner(); + } + if let Some(e) = &self.error { + ui.add_space(16.0); + ui.colored_label(ui.visuals().error_fg_color, e); + } + }); + } + + fn preview(&mut self, ui: &mut egui::Ui) { + let (Some(arc), Some(t)) = (self.arc.clone(), self.focus) else { return }; + let tex = &arc.textures[t]; + let vis = ui.visuals().clone(); + let level = self.level.or(tex.status.shown_level()); + ui.horizontal(|ui| { + ui.heading(format!("#{t}")); + ui.label(format!("{}x{}", tex.w, tex.h)); + ui.with_layout(egui::Layout::right_to_left(egui::Align::Center), |ui| { + if ui.button("Close").on_hover_text("Esc").clicked() { + self.focus = None; + } + }); + }); + match tex.status { + Status::Full => {} + Status::Reduced(_) => { + ui.colored_label(vis.warn_fg_color, "Full size is stored with a compression this app can't read; showing the largest readable mip level."); + } + Status::Unavailable(prob) => { + ui.colored_label(vis.warn_fg_color, format!("Can't show this texture: {}.", prob.text())); + } + } + // image with zoom / pan + let below = 110.0 + 120.0; + let area_size = vec2(ui.available_width(), (ui.available_height() - below).max(200.0)); + let (area, resp) = ui.allocate_exact_size(area_size, Sense::click_and_drag()); + let p = ui.painter_at(area); + p.rect_filled(area, 4.0, vis.extreme_bg_color); + if let Some(l) = level { + let k = (t, l); + self.request_full(k); + let shown = self.full.as_ref().filter(|f| f.0 == k).map(|f| f.1.clone()); + if let Some(th) = shown { + let img = th.size_vec2(); + if self.refit || resp.double_clicked() { + self.refit = false; + let z = (area.width() / img.x).min(area.height() / img.y); + self.zoom = if z >= 1.0 { z.floor().min(8.0) } else { z }; + self.pan = Vec2::ZERO; + } + if resp.hovered() { + let (scroll, pointer) = ui.input(|i| (i.smooth_scroll_delta.y, i.pointer.hover_pos())); + if scroll != 0.0 { + let old = self.zoom; + self.zoom = (self.zoom * (scroll * 0.0025).exp()).clamp(0.02, 64.0); + if let Some(pp) = pointer { + let c = area.center() + self.pan; + self.pan += (pp - c) * (1.0 - self.zoom / old); + } + } + } + if resp.dragged() { + self.pan += resp.drag_delta(); + } + let r = Rect::from_center_size(area.center() + self.pan, img * self.zoom); + self.checker(&p, r.intersect(area)); + p.image(th.id(), r, FULL_UV, Color32::WHITE); + p.text(area.left_top() + vec2(6.0, 6.0), Align2::LEFT_TOP, format!("{:.0}%", self.zoom * 100.0), FontId::proportional(12.0), vis.text_color()); + } else if let Some(e) = self.failed.get(&k) { + p.text(area.center(), Align2::CENTER_CENTER, format!("Can't decode: {e}"), FontId::proportional(15.0), vis.error_fg_color); + } else { + p.text(area.center(), Align2::CENTER_CENTER, "Decoding…", FontId::proportional(16.0), vis.weak_text_color()); + } + } + ui.horizontal(|ui| { + if ui.small_button("Fit").clicked() { + self.refit = true; + } + if ui.small_button("100%").clicked() { + self.zoom = 1.0; + self.pan = Vec2::ZERO; + } + ui.label(RichText::new("wheel: zoom drag: pan double-click: fit").color(vis.weak_text_color())); + }); + // mip levels + if !tex.levels.is_empty() { + ui.label(RichText::new("Mip levels").strong()); + egui::ScrollArea::horizontal().id_salt("mips").max_height(MIP_THUMB as f32 + 24.0).show(ui, |ui| { + ui.horizontal(|ui| { + for (li, lv) in tex.levels.iter().enumerate() { + let s = MIP_THUMB as f32; + let (rect, r) = ui.allocate_exact_size(vec2(s, s + 18.0), Sense::click()); + let p = ui.painter_at(rect); + let box_ = Rect::from_min_size(rect.min, vec2(s, s)); + p.rect_filled(box_, 3.0, vis.extreme_bg_color); + let k = (t, li); + if lv.state.is_err() { + p.text(box_.center(), Align2::CENTER_CENTER, "unreadable", FontId::proportional(11.0), vis.weak_text_color()); + } else if let Some((th, f)) = self.thumbs.get_mut(&k) { + *f = self.frame; + let rr = fit_rect(box_.shrink(3.0), th.size_vec2()); + let id = th.id(); + self.checker(&p, rr); + p.image(id, rr, FULL_UV, Color32::WHITE); + } else if self.failed.contains_key(&k) { + p.text(box_.center(), Align2::CENTER_CENTER, "error", FontId::proportional(11.0), vis.error_fg_color); + } else { + self.request_thumb(k, MIP_THUMB); + } + let st = if level == Some(li) { Stroke::new(2.0, vis.strong_text_color()) } else { vis.widgets.noninteractive.bg_stroke }; + p.rect_stroke(box_, 3.0, st, StrokeKind::Inside); + p.text(pos2(rect.min.x + 2.0, box_.max.y + 2.0), Align2::LEFT_TOP, format!("{}x{}", lv.w, lv.h), FontId::proportional(11.0), vis.text_color()); + if r.clicked() && lv.state.is_ok() { + self.level = Some(li); + self.refit = true; + } + } + }); + }); + } + egui::Grid::new("info").num_columns(2).spacing([16.0, 2.0]).show(ui, |ui| { + ui.label("Format"); + ui.label(format!("{} ({} tiles)", tex.format_name(), tex.tile.name())); + ui.end_row(); + if let Some(l) = level { + ui.label("Showing"); + ui.label(format!("mip {l}: {}x{}", tex.levels[l].w, tex.levels[l].h)); + ui.end_row(); + } + }); + ui.add_space(4.0); + if let Some(l) = level { + if ui.button("Save PNG…").clicked() { + self.save_one(t, l); + } + } + } +} diff --git a/tools/ttpf-viewer/src/main.rs b/tools/ttpf-viewer/src/main.rs new file mode 100644 index 0000000..d946ec1 --- /dev/null +++ b/tools/ttpf-viewer/src/main.rs @@ -0,0 +1,117 @@ +// No console window when the app is started by double-clicking (release builds). +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + +mod archive; +mod bcn; +mod gui; +mod tile; +mod video; +mod video_ui; + +use archive::{Archive, Progress, Status}; +use std::path::PathBuf; +use std::sync::atomic::AtomicUsize; + +const HELP: &str = "\ +ttpf-viewer - browse and extract textures from .ttpf archives + +USAGE + ttpf-viewer open the app + ttpf-viewer FILE.ttpf open the app with a file + ttpf-viewer extract FILE.ttpf DIR save every readable texture as DIR/<number>.png + ttpf-viewer list FILE.ttpf print the textures in the file + ttpf-viewer videos FILE.rpf DIR save the Bink 2 videos (.bk2) found in a game archive into DIR + --mp4 also convert them to MP4 (needs RAD Video Tools and FFmpeg) +"; + +fn attach_console() { + // A windows-subsystem app has no console; borrow the one it was started from, for CLI output. + #[cfg(windows)] + unsafe { + windows_sys::Win32::System::Console::AttachConsole(windows_sys::Win32::System::Console::ATTACH_PARENT_PROCESS); + } +} + +fn status_text(s: Status) -> String { + match s { + Status::Full => "ok".into(), + Status::Reduced(l) => format!("full size unreadable, mip {l} available"), + Status::Unavailable(p) => p.text().into(), + } +} + +fn run_cli(args: &[String]) -> Result<(), String> { + match args[0].as_str() { + "extract" if args.len() >= 3 => { + let arc = Archive::open(&PathBuf::from(&args[1]), &Progress::default())?; + let all: Vec<usize> = (0..arc.textures.len()).collect(); + let (written, skipped) = archive::export(&arc, &all, &PathBuf::from(&args[2]), &AtomicUsize::new(0))?; + println!("saved {written} textures to {} ({skipped} unreadable)", args[2]); + Ok(()) + } + "list" if args.len() >= 2 => { + let arc = Archive::open(&PathBuf::from(&args[1]), &Progress::default())?; + let mut counts = std::collections::BTreeMap::new(); + for t in &arc.textures { + println!("#{:<6} {:>5}x{:<5} {:22} {:6} tiles {}", t.index, t.w, t.h, t.format_name(), t.tile.name(), status_text(t.status)); + let key = match t.status { + Status::Full => "ok".to_string(), + Status::Reduced(_) => "reduced size".to_string(), + Status::Unavailable(p) => p.text().to_string(), + }; + *counts.entry(key).or_insert(0) += 1; + } + println!("\n{} textures: {:?}", arc.textures.len(), counts); + Ok(()) + } + "videos" if args.len() >= 3 => { + let src = PathBuf::from(&args[1]); + let mut vids = video::scan(&src, &AtomicUsize::new(0), &AtomicUsize::new(0))?; + // hidden: --limit N saves only the first N videos + if let Some(n) = args.iter().position(|a| a == "--limit").and_then(|i| args.get(i + 1)?.parse().ok()) { + vids.truncate(n); + } + let conv = if args.iter().any(|a| a == "--mp4") { + let rad = video::find_rad().ok_or("--mp4 needs RAD Video Tools (radvideo64.exe) installed")?; + let ffmpeg = video::find_ffmpeg().ok_or("--mp4 needs FFmpeg (ffmpeg.exe) installed")?; + Some(video::Converter { rad, ffmpeg }) + } else { + None + }; + let s = video::save(&src, &vids, &PathBuf::from(&args[2]), conv.as_ref(), &AtomicUsize::new(0))?; + println!("saved {} videos to {} ({} converted to MP4, {} failed)", s.saved, args[2], s.converted, s.failed); + if let Some(e) = s.error { + println!("first conversion error: {e}"); + } + Ok(()) + } + // development aid, not in the help: raw stored bytes of a texture's top level + "dump-raw" if args.len() >= 4 => { + let arc = Archive::open(&PathBuf::from(&args[1]), &Progress::default())?; + let t: usize = args[2].parse().map_err(|_| "bad texture number")?; + let (data, pw, ph) = arc.raw(t, 0).map_err(|p| p.text().to_string())?; + std::fs::write(&args[3], &data).map_err(|e| e.to_string())?; + let tex = &arc.textures[t]; + println!("{} {} {} {} {} {}", tex.w, tex.h, pw, ph, tex.format_name(), tex.tile.name()); + Ok(()) + } + _ => Err(HELP.into()), + } +} + +fn main() { + let args: Vec<String> = std::env::args().skip(1).collect(); + if args.first().is_some_and(|a| a == "extract" || a == "list" || a == "videos" || a == "dump-raw" || a == "--help" || a == "-h") { + attach_console(); + if let Err(e) = run_cli(&args) { + eprintln!("{e}"); + std::process::exit(1); + } + return; + } + if let Err(e) = gui::run(args.first().map(PathBuf::from)) { + attach_console(); + eprintln!("ttpf-viewer: {e}"); + std::process::exit(1); + } +} diff --git a/tools/ttpf-viewer/src/tile.rs b/tools/ttpf-viewer/src/tile.rs new file mode 100644 index 0000000..1d272b9 --- /dev/null +++ b/tools/ttpf-viewer/src/tile.rs @@ -0,0 +1,95 @@ +//! Console texture untiling (AMD standard swizzle, as used by the .ttpf textures). +//! +//! A tile pattern lists, from the lowest bit up, whether each bit of an element's index inside a tile +//! moves it along x or y. Elements are 4x4 blocks for BCn formats and single pixels for uncompressed +//! formats. Tiles themselves are laid out row-major. + +#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] +pub enum Tile { + /// 64 KB tiles + T64K, + /// 4 KB tiles + T4K, +} + +impl Tile { + pub fn name(self) -> &'static str { + match self { + Tile::T64K => "64 KB", + Tile::T4K => "4 KB", + } + } + + /// Bit pattern for elements of `bytes` bytes: 16 (BC2/3/5/6H/7 blocks), 8 (BC1/BC4 blocks, RGBA16 pixels), + /// 4 (RGBA8/BGRA8 pixels), 2 (R16F pixels), 1 (R8/A8 pixels). Each was checked against decoded textures. + pub fn pattern(self, bytes: usize) -> &'static str { + match (self, bytes) { + (Tile::T64K, 16) => "xyxyyxyxyxyx", + (Tile::T4K, 16) => "yyxxyxyx", + (Tile::T64K, 8) => "xyxxyyxyxyxyx", + (Tile::T4K, 8) => "xyyxxyxyx", + (Tile::T64K, 4) => "xxyyxyyxyxyxyx", + (Tile::T4K, 4) => "xxyyyxyxyx", + (Tile::T64K, 2) => "xxxyyyxyxyxyxyx", + (Tile::T4K, 2) => "xxxyyyxyxyx", + (Tile::T64K, 1) => "xxxyyyxyyxyxyxyx", + (Tile::T4K, 1) => "xxxxyyyyyxyx", + _ => "", + } + } +} + +fn log2(n: usize) -> usize { + (usize::BITS - 1 - n.max(1).leading_zeros()) as usize +} + +/// The pattern actually used for `n` elements: surfaces smaller than a tile use only the low bits. +pub fn truncated(pattern: &str, n: usize) -> &str { + &pattern[..pattern.len().min(log2(n))] +} + +/// Tile size in elements (width, height) for a full pattern. +pub fn tile_elems(pattern: &str) -> (usize, usize) { + let xs = pattern.bytes().filter(|&c| c == b'x').count(); + (1 << xs, 1 << (pattern.len() - xs)) +} + +/// Rearrange tiled elements into a linear `w` x `h` grid. Elements that land outside are dropped, +/// cells nobody fills stay zero. +pub fn untile(data: &[u8], bytes: usize, w: usize, h: usize, pattern: &str) -> Vec<u8> { + let n = data.len() / bytes; + let t = truncated(pattern, n).as_bytes(); + let tile_len = 1usize << t.len(); + let mut lx = vec![0usize; tile_len]; + let mut ly = vec![0usize; tile_len]; + for j in 0..tile_len { + let (mut x, mut y, mut xi, mut yi) = (0, 0, 0, 0); + for (b, &c) in t.iter().enumerate() { + let bit = (j >> b) & 1; + if c == b'x' { + x |= bit << xi; + xi += 1; + } else { + y |= bit << yi; + yi += 1; + } + } + lx[j] = x; + ly[j] = y; + } + let xs = t.iter().filter(|&&c| c == b'x').count(); + let (tw, th) = (1usize << xs, 1usize << (t.len() - xs)); + let tpr = w.div_ceil(tw).max(1); + let mask = tile_len - 1; + let mut out = vec![0u8; w * h * bytes]; + for i in 0..n { + let tl = i >> t.len(); + let x = (tl % tpr) * tw + lx[i & mask]; + let y = (tl / tpr) * th + ly[i & mask]; + if x < w && y < h { + let d = (y * w + x) * bytes; + out[d..d + bytes].copy_from_slice(&data[i * bytes..(i + 1) * bytes]); + } + } + out +} diff --git a/tools/ttpf-viewer/src/video.rs b/tools/ttpf-viewer/src/video.rs new file mode 100644 index 0000000..d6566de --- /dev/null +++ b/tools/ttpf-viewer/src/video.rs @@ -0,0 +1,212 @@ +//! Find Bink 2 videos stored as-is inside a large game archive (.rpf), save them as .bk2 files, and +//! optionally convert them to MP4. Converting needs two free tools: RAD Video Tools (from RAD Game Tools) to decode +//! the Bink 2 video, since the open-source Bink 2 decoders don't decode this revision correctly, and FFmpeg to +//! encode the MP4 (H.264 + AAC). +//! +//! The archive's file table is encrypted, so the videos are found by their header: "KB2" + a version +//! letter, then the file size, frame count, width, height and frame rate, which must all be plausible. +//! The size in the header is exact, so each video is copied byte for byte. + +use memchr::memmem; +use memmap2::Mmap; +use std::path::{Path, PathBuf}; +use std::sync::atomic::{AtomicUsize, Ordering}; + +#[derive(Clone)] +pub struct Video { + pub offset: usize, + pub size: usize, + pub width: u32, + pub height: u32, + pub frames: u32, + pub seconds: f32, +} + +impl Video { + pub fn name(&self) -> String { + format!("{:010x}_{}x{}_{:.0}s", self.offset, self.width, self.height, self.seconds) + } +} + +fn u32_at(d: &[u8], o: usize) -> u32 { + u32::from_le_bytes(d[o..o + 4].try_into().unwrap()) +} + +fn map(path: &Path) -> Result<Mmap, String> { + let file = std::fs::File::open(path).map_err(|e| format!("Can't open {}: {e}", path.display()))?; + // SAFETY: read-only mapping; the file is not modified while open. + unsafe { Mmap::map(&file) }.map_err(|e| format!("Can't read {}: {e}", path.display())) +} + +/// Find the videos in an archive. `scanned`/`total` report progress in bytes. +pub fn scan(path: &Path, scanned: &AtomicUsize, total: &AtomicUsize) -> Result<Vec<Video>, String> { + if !path.extension().is_some_and(|e| e.eq_ignore_ascii_case("rpf")) { + return Err(format!("{} is not an .rpf file.", path.file_name().unwrap_or_default().to_string_lossy())); + } + let d = map(path)?; + total.store(d.len(), Ordering::Relaxed); + let mut out = Vec::new(); + let mut pos = 0; + let finder = memmem::Finder::new(b"KB2"); + while let Some(rel) = finder.find(&d[pos..]) { + let i = pos + rel; + pos = i + 1; + scanned.store(i, Ordering::Relaxed); + if i + 44 > d.len() || !d[i + 3].is_ascii_lowercase() { + continue; + } + let size = u32_at(&d, i + 4) as usize + 8; + let (frames, largest) = (u32_at(&d, i + 8), u32_at(&d, i + 12) as usize); + let (width, height) = (u32_at(&d, i + 20), u32_at(&d, i + 24)); + let (num, den) = (u32_at(&d, i + 28), u32_at(&d, i + 32)); + let ok = (1..=1_000_000).contains(&frames) + && (16..=8192).contains(&width) + && (16..=8192).contains(&height) + && num > 0 + && den > 0 + && (1.0..=240.0).contains(&(num as f32 / den as f32)) + && size >= 1024 + && i + size <= d.len() + && largest <= size; + if !ok { + continue; + } + out.push(Video { offset: i, size, width, height, frames, seconds: frames as f32 * den as f32 / num as f32 }); + pos = i + size; // a video can't contain another one + } + scanned.store(d.len(), Ordering::Relaxed); + Ok(out) +} + +/// RAD Video Tools, if installed in a usual place. +pub fn find_rad() -> Option<PathBuf> { + let mut dirs = vec![PathBuf::from(r"C:\Program Files (x86)\RADVideo"), PathBuf::from(r"C:\Program Files\RADVideo"), PathBuf::from(r"C:\RADVideo")]; + if let Some(l) = std::env::var_os("LOCALAPPDATA") { + dirs.push(PathBuf::from(l).join("RADVideo")); + } + dirs.into_iter().flat_map(|d| [d.join("radvideo64.exe"), d.join("radvideo.exe")]).find(|p| p.is_file()) +} + +/// FFmpeg, if it's on the PATH, next to this app, or in a usual place. +pub fn find_ffmpeg() -> Option<PathBuf> { + let mut dirs: Vec<PathBuf> = std::env::var_os("PATH").map(|p| std::env::split_paths(&p).collect()).unwrap_or_default(); + if let Some(d) = std::env::current_exe().ok().and_then(|e| e.parent().map(|p| p.to_path_buf())) { + dirs.push(d); + } + dirs.push(PathBuf::from(r"C:\ffmpeg\bin")); + dirs.push(PathBuf::from(r"C:\Program Files\ffmpeg\bin")); + if let Some(l) = std::env::var_os("LOCALAPPDATA") { + dirs.push(PathBuf::from(l).join(r"Microsoft\WinGet\Links")); + } + dirs.into_iter().map(|d| d.join("ffmpeg.exe")).find(|p| p.is_file()) +} + +/// The tools needed for MP4 conversion. +#[derive(Clone)] +pub struct Converter { + pub rad: PathBuf, + pub ffmpeg: PathBuf, +} + +fn run(cmd: &mut std::process::Command) -> Result<(), String> { + #[cfg(windows)] + { + use std::os::windows::process::CommandExt; + cmd.creation_flags(0x0800_0000); // CREATE_NO_WINDOW: no console window for ffmpeg + } + let name = Path::new(cmd.get_program()).file_name().unwrap_or_default().to_string_lossy().into_owned(); + let out = cmd.stdin(std::process::Stdio::null()).output().map_err(|e| format!("can't run {name}: {e}"))?; + if out.status.success() { + return Ok(()); + } + let err = String::from_utf8_lossy(&out.stderr); + Err(format!("{name} failed ({}){}", out.status, err.lines().last().map(|l| format!(": {l}")).unwrap_or_default())) +} + +/// RAD Video Tools reads anything starting with '/' as a switch, so give it backslash paths only. +fn win(p: &Path) -> String { + p.to_string_lossy().replace('/', "\\") +} + +fn rad(c: &Converter, bk2: &Path, out: &Path, switches: &[String]) -> Result<(), String> { + run(std::process::Command::new(&c.rad).arg("BinkConv").arg(win(bk2)).arg(win(out)).args(switches).args(["/O", "/#"])) +} + +fn ffmpeg(c: &Converter, args: &[&std::ffi::OsStr]) -> Result<(), String> { + run(std::process::Command::new(&c.ffmpeg).args(["-v", "error", "-y"]).args(args)) +} + +/// Convert one .bk2 video to .mp4: RAD Video Tools decodes it to uncompressed AVI (in pieces, as its AVIs must stay +/// under 2 GB) plus a WAV of the sound, and FFmpeg encodes each piece to H.264 and joins them with the sound as AAC. +pub fn convert(c: &Converter, v: &Video, bk2: &Path, mp4: &Path) -> Result<(), String> { + let tmp = mp4.with_extension("tmp"); + std::fs::create_dir_all(&tmp).map_err(|e| format!("Can't create {}: {e}", tmp.display()))?; + let r = convert_in(c, v, bk2, mp4, &tmp); + let _ = std::fs::remove_dir_all(&tmp); + if r.is_err() { + let _ = std::fs::remove_file(mp4); + } + r +} + +fn convert_in(c: &Converter, v: &Video, bk2: &Path, mp4: &Path, tmp: &Path) -> Result<(), String> { + let wav = tmp.join("sound.wav"); + let sound = rad(c, bk2, &wav, &["/NoVideo".into()]).is_ok() && wav.metadata().is_ok_and(|m| m.len() > 44); + let frame = v.width as u64 * v.height as u64 * 3; + let per = (1_800_000_000 / frame).max(1) as u32; + let mut list = String::new(); + let mut first = 1; + let mut k = 0; + while first <= v.frames { + let last = (first + per - 1).min(v.frames); + let end = if last == v.frames { "e".to_string() } else { last.to_string() }; + let avi = tmp.join(format!("{k}.avi")); + let part = tmp.join(format!("{k}.mp4")); + rad(c, bk2, &avi, &["/NoAudio".into(), format!("/Include({first}-{end})")])?; + ffmpeg(c, &["-i".as_ref(), avi.as_os_str(), "-c:v".as_ref(), "libx264".as_ref(), "-preset".as_ref(), "fast".as_ref(), "-crf".as_ref(), "18".as_ref(), "-pix_fmt".as_ref(), "yuv420p".as_ref(), part.as_os_str()])?; + let _ = std::fs::remove_file(&avi); + list += &format!("file '{k}.mp4'\n"); + first = last + 1; + k += 1; + } + let lst = tmp.join("parts.txt"); + std::fs::write(&lst, list).map_err(|e| e.to_string())?; + let mut args: Vec<&std::ffi::OsStr> = vec!["-f".as_ref(), "concat".as_ref(), "-safe".as_ref(), "0".as_ref(), "-i".as_ref(), lst.as_os_str()]; + if sound { + args.extend::<[&std::ffi::OsStr; 8]>(["-i".as_ref(), wav.as_os_str(), "-map".as_ref(), "0:v".as_ref(), "-map".as_ref(), "1:a".as_ref(), "-c:a".as_ref(), "aac".as_ref()]); + args.extend::<[&std::ffi::OsStr; 2]>(["-b:a".as_ref(), "192k".as_ref()]); + } + args.extend::<[&std::ffi::OsStr; 5]>(["-c:v".as_ref(), "copy".as_ref(), "-movflags".as_ref(), "+faststart".as_ref(), mp4.as_os_str()]); + ffmpeg(c, &args) +} + +pub struct Saved { + pub saved: usize, + pub converted: usize, + pub failed: usize, + /// the first conversion error, if any + pub error: Option<String>, +} + +/// Save `videos` from `archive` into `dir` as .bk2, and convert each to .mp4 if `converter` is given. +pub fn save(archive: &Path, videos: &[Video], dir: &Path, converter: Option<&Converter>, done: &AtomicUsize) -> Result<Saved, String> { + let d = map(archive)?; + std::fs::create_dir_all(dir).map_err(|e| format!("Can't create {}: {e}", dir.display()))?; + let mut r = Saved { saved: 0, converted: 0, failed: 0, error: None }; + for v in videos { + let bk2 = dir.join(format!("{}.bk2", v.name())); + std::fs::write(&bk2, &d[v.offset..v.offset + v.size]).map_err(|e| e.to_string())?; + r.saved += 1; + if let Some(c) = converter { + match convert(c, v, &bk2, &dir.join(format!("{}.mp4", v.name()))) { + Ok(()) => r.converted += 1, + Err(e) => { + r.failed += 1; + r.error.get_or_insert(e); + } + } + } + done.fetch_add(1, Ordering::Relaxed); + } + Ok(r) +} diff --git a/tools/ttpf-viewer/src/video_ui.rs b/tools/ttpf-viewer/src/video_ui.rs new file mode 100644 index 0000000..c2ae0d6 --- /dev/null +++ b/tools/ttpf-viewer/src/video_ui.rs @@ -0,0 +1,245 @@ +//! The Videos part of the app: find the Bink 2 videos in an .rpf archive, save them, optionally as MP4. + +use crate::video::{self, Converter, Saved, Video}; +use eframe::egui::{self, RichText}; +use std::collections::BTreeSet; +use std::path::PathBuf; +use std::sync::atomic::{AtomicUsize, Ordering}; +use std::sync::{Arc, Mutex}; +use std::time::Duration; + +struct Job<T> { + done: Arc<AtomicUsize>, + total: Arc<AtomicUsize>, + result: Arc<Mutex<Option<Result<T, String>>>>, +} + +impl<T> Job<T> { + fn new() -> Job<T> { + Job { done: Arc::new(AtomicUsize::new(0)), total: Arc::new(AtomicUsize::new(0)), result: Arc::new(Mutex::new(None)) } + } + fn fraction(&self) -> f32 { + self.done.load(Ordering::Relaxed) as f32 / self.total.load(Ordering::Relaxed).max(1) as f32 + } + fn take(&self) -> Option<Result<T, String>> { + self.result.lock().unwrap().take() + } +} + +pub struct VideosTab { + file: Option<PathBuf>, + scan: Option<Job<Vec<Video>>>, + videos: Vec<Video>, + selected: BTreeSet<usize>, + rad: Option<PathBuf>, + ffmpeg: Option<PathBuf>, + convert: bool, + save: Option<(Job<Saved>, PathBuf)>, + message: Option<(String, Option<PathBuf>)>, +} + +impl VideosTab { + pub fn new() -> VideosTab { + let (rad, ffmpeg) = (video::find_rad(), video::find_ffmpeg()); + VideosTab { + file: None, + scan: None, + videos: Vec::new(), + selected: BTreeSet::new(), + convert: rad.is_some() && ffmpeg.is_some(), + rad, + ffmpeg, + save: None, + message: None, + } + } + + pub fn busy(&self) -> bool { + self.scan.is_some() || self.save.is_some() + } + + /// Scan an .rpf for videos. + pub fn open(&mut self, path: PathBuf) { + if self.busy() { + return; + } + self.videos.clear(); + self.selected.clear(); + self.message = None; + let job = Job::new(); + let (done, total, result) = (job.done.clone(), job.total.clone(), job.result.clone()); + let p = path.clone(); + std::thread::spawn(move || { + let r = video::scan(&p, &done, &total); + *result.lock().unwrap() = Some(r); + }); + self.file = Some(path); + self.scan = Some(job); + } + + fn start_save(&mut self, list: Vec<usize>) { + let (Some(file), false) = (self.file.clone(), list.is_empty()) else { return }; + let Some(dir) = rfd::FileDialog::new().set_title("Choose a folder for the videos").pick_folder() else { return }; + let dir = dir.join(file.file_stem().unwrap_or_default()); + let vids: Vec<Video> = list.iter().map(|&i| self.videos[i].clone()).collect(); + let converter = self.converter().filter(|_| self.convert); + let job = Job::new(); + job.total.store(vids.len(), Ordering::Relaxed); + let (done, result, d) = (job.done.clone(), job.result.clone(), dir.clone()); + std::thread::spawn(move || { + let r = video::save(&file, &vids, &d, converter.as_ref(), &done); + *result.lock().unwrap() = Some(r); + }); + self.message = None; + self.save = Some((job, dir)); + } + + fn converter(&self) -> Option<Converter> { + Some(Converter { rad: self.rad.clone()?, ffmpeg: self.ffmpeg.clone()? }) + } + + fn poll(&mut self) { + if let Some(r) = self.scan.as_ref().and_then(|j| j.take()) { + match r { + Ok(v) => { + if v.is_empty() { + self.message = Some(("No videos found in this file.".into(), None)); + } + self.videos = v; + } + Err(e) => self.message = Some((e, None)), + } + self.scan = None; + } + if let Some(r) = self.save.as_ref().and_then(|(j, _)| j.take()) { + let dir = self.save.take().map(|(_, d)| d); + self.message = Some(match r { + Ok(s) => { + let mut m = format!("Saved {} video{}", s.saved, if s.saved == 1 { "" } else { "s" }); + if s.converted + s.failed > 0 { + m += &format!(", {} converted to MP4", s.converted); + if s.failed > 0 { + m += &format!(" ({} failed to convert: {})", s.failed, s.error.unwrap_or_default()); + } + } + (m, dir) + } + Err(e) => (format!("Saving failed: {e}"), None), + }); + } + } + + pub fn ui(&mut self, ui: &mut egui::Ui) { + self.poll(); + if self.busy() { + ui.ctx().request_repaint_after(Duration::from_millis(150)); + } + let vis = ui.visuals().clone(); + ui.horizontal_wrapped(|ui| { + if ui.add_enabled(!self.busy(), egui::Button::new("Open .rpf…")).clicked() { + if let Some(p) = rfd::FileDialog::new().set_title("Choose a game archive").add_filter("RPF archive", &["rpf"]).pick_file() { + self.open(p); + } + } + if let Some(f) = &self.file { + ui.label(RichText::new(f.file_name().unwrap_or_default().to_string_lossy()).strong()); + } + if self.videos.is_empty() { + return; + } + ui.separator(); + if ui.button("Select all").clicked() { + self.selected = (0..self.videos.len()).collect(); + } + if ui.button("Select none").clicked() { + self.selected.clear(); + } + ui.separator(); + let busy = self.busy(); + let n = self.selected.len(); + if ui.add_enabled(n > 0 && !busy, egui::Button::new(format!("Save selected ({n})"))).clicked() { + let l = self.selected.iter().copied().collect(); + self.start_save(l); + } + if ui.add_enabled(!busy, egui::Button::new(format!("Save all ({})", self.videos.len()))).clicked() { + let l = (0..self.videos.len()).collect(); + self.start_save(l); + } + ui.separator(); + match self.converter() { + Some(c) => { + ui.checkbox(&mut self.convert, "Also convert to MP4") + .on_hover_text(format!("Uses {} and {}", c.rad.display(), c.ffmpeg.display())); + } + None => { + ui.label(RichText::new("MP4 conversion needs RAD Video Tools and FFmpeg").color(vis.weak_text_color())); + for (slot, name, exe) in [(&mut self.rad, "RAD Video Tools", "radvideo64.exe"), (&mut self.ffmpeg, "FFmpeg", "ffmpeg.exe")] { + if slot.is_none() && ui.button(format!("Locate {exe}…")).clicked() { + if let Some(p) = rfd::FileDialog::new().add_filter(name, &["exe"]).pick_file() { + *slot = Some(p); + } + } + } + self.convert = self.rad.is_some() && self.ffmpeg.is_some(); + } + } + }); + ui.horizontal(|ui| { + if let Some(j) = &self.scan { + ui.add(egui::ProgressBar::new(j.fraction()).desired_width(260.0).text("Finding videos…")); + } + if let Some((j, _)) = &self.save { + let t = j.total.load(Ordering::Relaxed); + ui.add(egui::ProgressBar::new(j.fraction()).desired_width(260.0).text(format!("Saving {}/{}", j.done.load(Ordering::Relaxed), t))); + } + if let Some((m, dir)) = self.message.clone() { + ui.label(m); + if let Some(d) = dir { + if ui.small_button("Open folder").clicked() { + crate::gui::open_folder(&d); + } + } + } + }); + ui.separator(); + if self.file.is_none() { + ui.vertical_centered(|ui| { + ui.add_space(ui.available_height() * 0.3); + ui.label(RichText::new("Open or drop a game archive (.rpf) to find its videos").size(22.0)); + ui.add_space(6.0); + ui.label(RichText::new("Videos are Bink 2 (.bk2). They're saved as-is, and converted to MP4 if RAD Video Tools and FFmpeg are installed.").color(vis.weak_text_color())); + }); + return; + } + if self.videos.is_empty() { + return; + } + let total: usize = self.videos.iter().map(|v| v.size).sum(); + ui.label(format!("{} videos, {:.0} MB", self.videos.len(), total as f64 / 1048576.0)); + egui::ScrollArea::vertical().auto_shrink(false).show(ui, |ui| { + egui::Grid::new("videos").striped(true).num_columns(5).spacing([24.0, 4.0]).show(ui, |ui| { + ui.label(""); + ui.label(RichText::new("Name").strong()); + ui.label(RichText::new("Resolution").strong()); + ui.label(RichText::new("Length").strong()); + ui.label(RichText::new("Size").strong()); + ui.end_row(); + for (i, v) in self.videos.iter().enumerate() { + let mut on = self.selected.contains(&i); + if ui.checkbox(&mut on, "").changed() { + if on { + self.selected.insert(i); + } else { + self.selected.remove(&i); + } + } + ui.label(v.name()); + ui.label(format!("{}x{}", v.width, v.height)); + ui.label(format!("{:.1} s", v.seconds)); + ui.label(format!("{:.1} MB", v.size as f64 / 1048576.0)); + ui.end_row(); + } + }); + }); + } +}