[llvm] r293552 - Reapply [AMDGPU][mc][tests][NFC] Add coverage/smoke tests for Gfx7 and Gfx8.

Artem Tamazov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 13:59:22 PST 2017


Added: llvm/trunk/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt?rev=293552&view=auto
==============================================================================
--- llvm/trunk/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt (added)
+++ llvm/trunk/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt Mon Jan 30 15:59:21 2017
@@ -0,0 +1,87676 @@
+# RUN: llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s
+
+# CHECK: ds_add_u32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x00,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x00,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_u32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x00,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x00,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_add_u32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x00,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x00,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_add_u32 v0, v0    ; encoding: [0x00,0x00,0x00,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x00,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_u32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x00,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x00,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_u32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x01,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x01,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_u32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x02,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x02,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_u32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x02,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x02,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_sub_u32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x02,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x02,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_sub_u32 v0, v0    ; encoding: [0x00,0x00,0x02,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x02,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_u32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x02,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x02,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_u32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x03,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x03,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x04,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x04,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x04,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x04,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x04,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x04,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_rsub_u32 v0, v0    ; encoding: [0x00,0x00,0x04,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x04,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x04,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x04,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x05,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x05,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_u32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x06,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x06,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_u32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x06,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x06,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_inc_u32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x06,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x06,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_inc_u32 v0, v0    ; encoding: [0x00,0x00,0x06,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x06,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_u32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x06,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x06,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_u32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x07,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x07,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_u32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x08,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x08,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_u32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x08,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x08,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_dec_u32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x08,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x08,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_dec_u32 v0, v0    ; encoding: [0x00,0x00,0x08,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x08,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_u32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x08,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x08,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_u32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x09,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x09,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_i32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x0a,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_i32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x0a,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x0a,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_i32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x0a,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x0a,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_min_i32 v0, v0    ; encoding: [0x00,0x00,0x0a,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_i32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x0a,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x0a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_i32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x0b,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0b,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_i32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x0c,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_i32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x0c,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x0c,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_i32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x0c,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x0c,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_max_i32 v0, v0    ; encoding: [0x00,0x00,0x0c,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_i32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x0c,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x0c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_i32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x0d,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0d,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_u32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x0e,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_u32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x0e,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x0e,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_u32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x0e,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x0e,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_min_u32 v0, v0    ; encoding: [0x00,0x00,0x0e,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_u32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x0e,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x0e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_u32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x0f,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0f,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_u32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x10,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x10,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_u32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x10,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x10,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_u32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x10,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x10,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_max_u32 v0, v0    ; encoding: [0x00,0x00,0x10,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x10,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_u32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x10,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x10,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_u32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x11,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x11,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_b32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x12,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x12,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_b32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x12,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x12,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_and_b32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x12,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x12,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_and_b32 v0, v0    ; encoding: [0x00,0x00,0x12,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x12,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_b32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x12,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x12,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_b32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x13,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x13,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_b32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x14,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x14,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_b32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x14,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x14,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_or_b32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x14,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x14,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_or_b32 v0, v0    ; encoding: [0x00,0x00,0x14,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x14,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_b32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x14,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x14,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_b32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x15,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x15,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_b32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x16,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x16,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_b32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x16,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x16,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_xor_b32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x16,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x16,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_xor_b32 v0, v0    ; encoding: [0x00,0x00,0x16,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x16,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_b32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x16,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x16,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_b32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x17,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x17,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x18,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x18,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x18,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x18,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x18,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x18,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_mskor_b32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x18,0xd8,0x00,0x00,0xff,0x00]
+0xff,0xff,0x18,0xd8,0x00,0x00,0xff,0x00
+
+# CHECK: ds_mskor_b32 v0, v0, v0    ; encoding: [0x00,0x00,0x18,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x18,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x18,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x18,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x19,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x19,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x1a,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x1a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x1a,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x1a,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_write_b32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x1a,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x1a,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_write_b32 v0, v0    ; encoding: [0x00,0x00,0x1a,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x1a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x1a,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x1a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x1b,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x1b,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b32 v0, v0, v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1c,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x1c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b32 v255, v0, v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1c,0xd8,0xff,0x00,0x00,0x00]
+0x7f,0xff,0x1c,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_write2_b32 v0, v255, v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1c,0xd8,0x00,0xff,0x00,0x00]
+0x7f,0xff,0x1c,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_write2_b32 v0, v0, v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1c,0xd8,0x00,0x00,0xff,0x00]
+0x7f,0xff,0x1c,0xd8,0x00,0x00,0xff,0x00
+
+# CHECK: ds_write2_b32 v0, v0, v0 offset1:255    ; encoding: [0x00,0xff,0x1c,0xd8,0x00,0x00,0x00,0x00]
+0x00,0xff,0x1c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b32 v0, v0, v0 offset0:16 offset1:255    ; encoding: [0x10,0xff,0x1c,0xd8,0x00,0x00,0x00,0x00]
+0x10,0xff,0x1c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b32 v0, v0, v0 offset0:127    ; encoding: [0x7f,0x00,0x1c,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x00,0x1c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b32 v0, v0, v0 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x1c,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x01,0x1c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b32 v0, v0, v0 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x1d,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x1d,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b32 v0, v0, v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1e,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x1e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b32 v255, v0, v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1e,0xd8,0xff,0x00,0x00,0x00]
+0x7f,0xff,0x1e,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b32 v0, v255, v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1e,0xd8,0x00,0xff,0x00,0x00]
+0x7f,0xff,0x1e,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_write2st64_b32 v0, v0, v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x1e,0xd8,0x00,0x00,0xff,0x00]
+0x7f,0xff,0x1e,0xd8,0x00,0x00,0xff,0x00
+
+# CHECK: ds_write2st64_b32 v0, v0, v0 offset1:255    ; encoding: [0x00,0xff,0x1e,0xd8,0x00,0x00,0x00,0x00]
+0x00,0xff,0x1e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b32 v0, v0, v0 offset0:16 offset1:255    ; encoding: [0x10,0xff,0x1e,0xd8,0x00,0x00,0x00,0x00]
+0x10,0xff,0x1e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b32 v0, v0, v0 offset0:127    ; encoding: [0x7f,0x00,0x1e,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x00,0x1e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b32 v0, v0, v0 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x1e,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x01,0x1e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b32 v0, v0, v0 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x1f,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x1f,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x20,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x20,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x20,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x20,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x20,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x20,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_cmpst_b32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x20,0xd8,0x00,0x00,0xff,0x00]
+0xff,0xff,0x20,0xd8,0x00,0x00,0xff,0x00
+
+# CHECK: ds_cmpst_b32 v0, v0, v0    ; encoding: [0x00,0x00,0x20,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x20,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x20,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x20,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x21,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x21,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x22,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x22,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x22,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x22,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x22,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x22,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_cmpst_f32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x22,0xd8,0x00,0x00,0xff,0x00]
+0xff,0xff,0x22,0xd8,0x00,0x00,0xff,0x00
+
+# CHECK: ds_cmpst_f32 v0, v0, v0    ; encoding: [0x00,0x00,0x22,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x22,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x22,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x22,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x23,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x23,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_f32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x24,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x24,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_f32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x24,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x24,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_f32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x24,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x24,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_min_f32 v0, v0    ; encoding: [0x00,0x00,0x24,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x24,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_f32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x24,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x24,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_f32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x25,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x25,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_f32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x26,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x26,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_f32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x26,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x26,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_f32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x26,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x26,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_max_f32 v0, v0    ; encoding: [0x00,0x00,0x26,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x26,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_f32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x26,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x26,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_f32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x27,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x27,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_f32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x2a,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x2a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_f32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x2a,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x2a,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_add_f32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x2a,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x2a,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_add_f32 v0, v0    ; encoding: [0x00,0x00,0x2a,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x2a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_f32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x2a,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x2a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_f32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x2b,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x2b,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b8 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x3c,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x3c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b8 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x3c,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x3c,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_write_b8 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x3c,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x3c,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_write_b8 v0, v0    ; encoding: [0x00,0x00,0x3c,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x3c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b8 v0, v0 offset:4    ; encoding: [0x04,0x00,0x3c,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x3c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b8 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x3d,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x3d,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b16 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x3e,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x3e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b16 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x3e,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x3e,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_write_b16 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x3e,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x3e,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_write_b16 v0, v0    ; encoding: [0x00,0x00,0x3e,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x3e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b16 v0, v0 offset:4    ; encoding: [0x04,0x00,0x3e,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x3e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b16 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x3f,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x3f,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x40,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x40,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x40,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x40,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_add_rtn_u32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x40,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x40,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x40,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x40,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_add_rtn_u32 v0, v0, v0    ; encoding: [0x00,0x00,0x40,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x40,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x40,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x40,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x41,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x41,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x42,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x42,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x42,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x42,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_sub_rtn_u32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x42,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x42,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x42,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x42,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_sub_rtn_u32 v0, v0, v0    ; encoding: [0x00,0x00,0x42,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x42,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x42,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x42,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x43,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x43,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x44,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x44,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x44,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x44,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_rsub_rtn_u32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x44,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x44,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x44,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x44,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u32 v0, v0, v0    ; encoding: [0x00,0x00,0x44,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x44,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x44,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x45,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x45,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x46,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x46,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x46,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x46,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_inc_rtn_u32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x46,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x46,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x46,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x46,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_inc_rtn_u32 v0, v0, v0    ; encoding: [0x00,0x00,0x46,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x46,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x46,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x47,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x47,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x48,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x48,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x48,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x48,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_dec_rtn_u32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x48,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x48,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x48,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x48,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_dec_rtn_u32 v0, v0, v0    ; encoding: [0x00,0x00,0x48,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x48,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x48,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x49,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x49,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x4a,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x4a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x4a,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x4a,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_min_rtn_i32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x4a,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x4a,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x4a,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x4a,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_min_rtn_i32 v0, v0, v0    ; encoding: [0x00,0x00,0x4a,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x4a,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x4a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x4b,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x4b,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x4c,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x4c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x4c,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x4c,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_max_rtn_i32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x4c,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x4c,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x4c,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x4c,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_max_rtn_i32 v0, v0, v0    ; encoding: [0x00,0x00,0x4c,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x4c,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x4c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x4d,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x4d,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x4e,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x4e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x4e,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x4e,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_min_rtn_u32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x4e,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x4e,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x4e,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x4e,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_min_rtn_u32 v0, v0, v0    ; encoding: [0x00,0x00,0x4e,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x4e,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x4e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x4f,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x4f,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x50,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x50,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x50,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x50,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_max_rtn_u32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x50,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x50,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x50,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x50,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_max_rtn_u32 v0, v0, v0    ; encoding: [0x00,0x00,0x50,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x50,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x50,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x51,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x51,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x52,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x52,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x52,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x52,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_and_rtn_b32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x52,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x52,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x52,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x52,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_and_rtn_b32 v0, v0, v0    ; encoding: [0x00,0x00,0x52,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x52,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x52,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x53,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x53,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x54,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x54,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x54,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x54,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_or_rtn_b32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x54,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x54,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x54,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x54,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_or_rtn_b32 v0, v0, v0    ; encoding: [0x00,0x00,0x54,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x54,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x54,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x55,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x55,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x56,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x56,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x56,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x56,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_xor_rtn_b32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x56,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x56,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x56,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x56,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_xor_rtn_b32 v0, v0, v0    ; encoding: [0x00,0x00,0x56,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x56,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x56,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x57,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x57,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b32 v0, v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x58,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b32 v255, v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x58,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_mskor_rtn_b32 v0, v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x58,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b32 v0, v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x58,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b32 v0, v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x58,0xd8,0x00,0x00,0xff,0x00]
+0xff,0xff,0x58,0xd8,0x00,0x00,0xff,0x00
+
+# CHECK: ds_mskor_rtn_b32 v0, v0, v0, v0    ; encoding: [0x00,0x00,0x58,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b32 v0, v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x58,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x58,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b32 v0, v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x59,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x59,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x5a,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x5a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x5a,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x5a,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_wrxchg_rtn_b32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x5a,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x5a,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x5a,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x5a,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b32 v0, v0, v0    ; encoding: [0x00,0x00,0x5a,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x5a,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x5a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x5b,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x5b,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b32 v0, v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x60,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b32 v255, v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x60,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_cmpst_rtn_b32 v0, v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x60,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b32 v0, v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x60,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b32 v0, v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x60,0xd8,0x00,0x00,0xff,0x00]
+0xff,0xff,0x60,0xd8,0x00,0x00,0xff,0x00
+
+# CHECK: ds_cmpst_rtn_b32 v0, v0, v0, v0    ; encoding: [0x00,0x00,0x60,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b32 v0, v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x60,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x60,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b32 v0, v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x61,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x61,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f32 v0, v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x62,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f32 v255, v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x62,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_cmpst_rtn_f32 v0, v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x62,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f32 v0, v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x62,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f32 v0, v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x62,0xd8,0x00,0x00,0xff,0x00]
+0xff,0xff,0x62,0xd8,0x00,0x00,0xff,0x00
+
+# CHECK: ds_cmpst_rtn_f32 v0, v0, v0, v0    ; encoding: [0x00,0x00,0x62,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f32 v0, v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x62,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x62,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f32 v0, v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x63,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x63,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x64,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x64,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x64,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x64,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_min_rtn_f32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x64,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x64,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x64,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x64,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_min_rtn_f32 v0, v0, v0    ; encoding: [0x00,0x00,0x64,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x64,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x64,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x65,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x65,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x66,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x66,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x66,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x66,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_max_rtn_f32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x66,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x66,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x66,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x66,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_max_rtn_f32 v0, v0, v0    ; encoding: [0x00,0x00,0x66,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x66,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x66,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x67,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x67,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_f32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x6a,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x6a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_f32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x6a,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x6a,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_add_rtn_f32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x6a,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x6a,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_f32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x6a,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x6a,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_add_rtn_f32 v0, v0, v0    ; encoding: [0x00,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_f32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x6a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_f32 v0, v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x6b,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x6b,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_b32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x6c,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x6c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_b32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x6c,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x6c,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_read_b32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x6c,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x6c,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read_b32 v0, v0    ; encoding: [0x00,0x00,0x6c,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_b32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x6c,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x6c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_b32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x6d,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x6d,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b32 v[0:1], v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x6e,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x6e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b32 v[254:255], v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x6e,0xd8,0x00,0x00,0x00,0xfe]
+0x7f,0xff,0x6e,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_read2_b32 v[0:1], v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x6e,0xd8,0xff,0x00,0x00,0x00]
+0x7f,0xff,0x6e,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read2_b32 v[0:1], v0 offset1:255    ; encoding: [0x00,0xff,0x6e,0xd8,0x00,0x00,0x00,0x00]
+0x00,0xff,0x6e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b32 v[0:1], v0 offset0:16 offset1:255    ; encoding: [0x10,0xff,0x6e,0xd8,0x00,0x00,0x00,0x00]
+0x10,0xff,0x6e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b32 v[0:1], v0 offset0:127    ; encoding: [0x7f,0x00,0x6e,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x00,0x6e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b32 v[0:1], v0 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x6e,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x01,0x6e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b32 v[0:1], v0 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x6f,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x6f,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b32 v[0:1], v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x70,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x70,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b32 v[254:255], v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x70,0xd8,0x00,0x00,0x00,0xfe]
+0x7f,0xff,0x70,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_read2st64_b32 v[0:1], v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x70,0xd8,0xff,0x00,0x00,0x00]
+0x7f,0xff,0x70,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b32 v[0:1], v0 offset1:255    ; encoding: [0x00,0xff,0x70,0xd8,0x00,0x00,0x00,0x00]
+0x00,0xff,0x70,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b32 v[0:1], v0 offset0:16 offset1:255    ; encoding: [0x10,0xff,0x70,0xd8,0x00,0x00,0x00,0x00]
+0x10,0xff,0x70,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b32 v[0:1], v0 offset0:127    ; encoding: [0x7f,0x00,0x70,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x00,0x70,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b32 v[0:1], v0 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x70,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x01,0x70,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b32 v[0:1], v0 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x71,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x71,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_i8 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x72,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x72,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_i8 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x72,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x72,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_read_i8 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x72,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x72,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read_i8 v0, v0    ; encoding: [0x00,0x00,0x72,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x72,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_i8 v0, v0 offset:4    ; encoding: [0x04,0x00,0x72,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x72,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_i8 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x73,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x73,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_u8 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x74,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x74,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_u8 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x74,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x74,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_read_u8 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x74,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x74,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read_u8 v0, v0    ; encoding: [0x00,0x00,0x74,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x74,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_u8 v0, v0 offset:4    ; encoding: [0x04,0x00,0x74,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x74,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_u8 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x75,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x75,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_i16 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x76,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x76,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_i16 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x76,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x76,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_read_i16 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x76,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x76,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read_i16 v0, v0    ; encoding: [0x00,0x00,0x76,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x76,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_i16 v0, v0 offset:4    ; encoding: [0x04,0x00,0x76,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x76,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_i16 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x77,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x77,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_u16 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x78,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x78,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_u16 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x78,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x78,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_read_u16 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x78,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x78,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read_u16 v0, v0    ; encoding: [0x00,0x00,0x78,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x78,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_u16 v0, v0 offset:4    ; encoding: [0x04,0x00,0x78,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x78,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_u16 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x79,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x79,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_swizzle_b32 v0, v0 offset:65535    ; encoding: [0xff,0xff,0x7a,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x7a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_swizzle_b32 v255, v0 offset:65535    ; encoding: [0xff,0xff,0x7a,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x7a,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_swizzle_b32 v0, v255 offset:65535    ; encoding: [0xff,0xff,0x7a,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x7a,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_swizzle_b32 v0, v0    ; encoding: [0x00,0x00,0x7a,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x7a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_swizzle_b32 v0, v0 offset:4    ; encoding: [0x04,0x00,0x7a,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x7a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_swizzle_b32 v0, v0 offset:65535 gds    ; encoding: [0xff,0xff,0x7b,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x7b,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_permute_b32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x7c,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x7c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_permute_b32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x7c,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x7c,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_permute_b32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x7c,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x7c,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_permute_b32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x7c,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x7c,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_permute_b32 v0, v0, v0    ; encoding: [0x00,0x00,0x7c,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x7c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_permute_b32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x7c,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x7c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_bpermute_b32 v0, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x7e,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x7e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_bpermute_b32 v255, v0, v0 offset:65535    ; encoding: [0xff,0xff,0x7e,0xd8,0x00,0x00,0x00,0xff]
+0xff,0xff,0x7e,0xd8,0x00,0x00,0x00,0xff
+
+# CHECK: ds_bpermute_b32 v0, v255, v0 offset:65535    ; encoding: [0xff,0xff,0x7e,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x7e,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_bpermute_b32 v0, v0, v255 offset:65535    ; encoding: [0xff,0xff,0x7e,0xd8,0x00,0xff,0x00,0x00]
+0xff,0xff,0x7e,0xd8,0x00,0xff,0x00,0x00
+
+# CHECK: ds_bpermute_b32 v0, v0, v0    ; encoding: [0x00,0x00,0x7e,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x7e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_bpermute_b32 v0, v0, v0 offset:4    ; encoding: [0x04,0x00,0x7e,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x7e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_u64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x80,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x80,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_u64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x80,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x80,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_add_u64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x80,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x80,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_add_u64 v0, v[0:1]    ; encoding: [0x00,0x00,0x80,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x80,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_u64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x80,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x80,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_u64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x81,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x81,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_u64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x82,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x82,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_u64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x82,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x82,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_sub_u64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x82,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x82,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_sub_u64 v0, v[0:1]    ; encoding: [0x00,0x00,0x82,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x82,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_u64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x82,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x82,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_u64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x83,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x83,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x84,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x84,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x84,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x84,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x84,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x84,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_rsub_u64 v0, v[0:1]    ; encoding: [0x00,0x00,0x84,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x84,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x84,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x84,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_u64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x85,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x85,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_u64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x86,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x86,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_u64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x86,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x86,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_inc_u64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x86,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x86,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_inc_u64 v0, v[0:1]    ; encoding: [0x00,0x00,0x86,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x86,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_u64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x86,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x86,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_u64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x87,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x87,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_u64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x88,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x88,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_u64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x88,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x88,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_dec_u64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x88,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x88,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_dec_u64 v0, v[0:1]    ; encoding: [0x00,0x00,0x88,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x88,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_u64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x88,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x88,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_u64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x89,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x89,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_i64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x8a,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_i64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x8a,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x8a,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_i64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x8a,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x8a,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_min_i64 v0, v[0:1]    ; encoding: [0x00,0x00,0x8a,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_i64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x8a,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x8a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_i64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x8b,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8b,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_i64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x8c,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_i64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x8c,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x8c,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_i64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x8c,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x8c,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_max_i64 v0, v[0:1]    ; encoding: [0x00,0x00,0x8c,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_i64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x8c,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x8c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_i64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x8d,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8d,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_u64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x8e,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_u64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x8e,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x8e,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_u64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x8e,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x8e,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_min_u64 v0, v[0:1]    ; encoding: [0x00,0x00,0x8e,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_u64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x8e,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x8e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_u64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x8f,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8f,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_u64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x90,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x90,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_u64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x90,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x90,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_u64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x90,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x90,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_max_u64 v0, v[0:1]    ; encoding: [0x00,0x00,0x90,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x90,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_u64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x90,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x90,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_u64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x91,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x91,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_b64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x92,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x92,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_b64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x92,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x92,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_and_b64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x92,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x92,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_and_b64 v0, v[0:1]    ; encoding: [0x00,0x00,0x92,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x92,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_b64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x92,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x92,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_b64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x93,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x93,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_b64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x94,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x94,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_b64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x94,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x94,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_or_b64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x94,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x94,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_or_b64 v0, v[0:1]    ; encoding: [0x00,0x00,0x94,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x94,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_b64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x94,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x94,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_b64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x95,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x95,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_b64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x96,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x96,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_b64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x96,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x96,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_xor_b64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x96,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x96,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_xor_b64 v0, v[0:1]    ; encoding: [0x00,0x00,0x96,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x96,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_b64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x96,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x96,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_b64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x97,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x97,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b64 v0, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0x98,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x98,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b64 v255, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0x98,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x98,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b64 v0, v[254:255], v[0:1] offset:65535    ; encoding: [0xff,0xff,0x98,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x98,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_mskor_b64 v0, v[0:1], v[254:255] offset:65535    ; encoding: [0xff,0xff,0x98,0xd8,0x00,0x00,0xfe,0x00]
+0xff,0xff,0x98,0xd8,0x00,0x00,0xfe,0x00
+
+# CHECK: ds_mskor_b64 v0, v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x98,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x98,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b64 v0, v[0:1], v[0:1] offset:4    ; encoding: [0x04,0x00,0x98,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x98,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_b64 v0, v[0:1], v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x99,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x99,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x9a,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x9a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0x9a,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0x9a,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_write_b64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0x9a,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0x9a,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_write_b64 v0, v[0:1]    ; encoding: [0x00,0x00,0x9a,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0x9a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0x9a,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0x9a,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_b64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0x9b,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0x9b,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b64 v0, v[0:1], v[0:1] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9c,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x9c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b64 v255, v[0:1], v[0:1] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9c,0xd8,0xff,0x00,0x00,0x00]
+0x7f,0xff,0x9c,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_write2_b64 v0, v[254:255], v[0:1] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9c,0xd8,0x00,0xfe,0x00,0x00]
+0x7f,0xff,0x9c,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_write2_b64 v0, v[0:1], v[254:255] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9c,0xd8,0x00,0x00,0xfe,0x00]
+0x7f,0xff,0x9c,0xd8,0x00,0x00,0xfe,0x00
+
+# CHECK: ds_write2_b64 v0, v[0:1], v[0:1] offset1:255    ; encoding: [0x00,0xff,0x9c,0xd8,0x00,0x00,0x00,0x00]
+0x00,0xff,0x9c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b64 v0, v[0:1], v[0:1] offset0:16 offset1:255    ; encoding: [0x10,0xff,0x9c,0xd8,0x00,0x00,0x00,0x00]
+0x10,0xff,0x9c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b64 v0, v[0:1], v[0:1] offset0:127    ; encoding: [0x7f,0x00,0x9c,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x00,0x9c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b64 v0, v[0:1], v[0:1] offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x9c,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x01,0x9c,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2_b64 v0, v[0:1], v[0:1] offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x9d,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x9d,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9e,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x9e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b64 v255, v[0:1], v[0:1] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9e,0xd8,0xff,0x00,0x00,0x00]
+0x7f,0xff,0x9e,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b64 v0, v[254:255], v[0:1] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9e,0xd8,0x00,0xfe,0x00,0x00]
+0x7f,0xff,0x9e,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_write2st64_b64 v0, v[0:1], v[254:255] offset0:127 offset1:255    ; encoding: [0x7f,0xff,0x9e,0xd8,0x00,0x00,0xfe,0x00]
+0x7f,0xff,0x9e,0xd8,0x00,0x00,0xfe,0x00
+
+# CHECK: ds_write2st64_b64 v0, v[0:1], v[0:1] offset1:255    ; encoding: [0x00,0xff,0x9e,0xd8,0x00,0x00,0x00,0x00]
+0x00,0xff,0x9e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:16 offset1:255    ; encoding: [0x10,0xff,0x9e,0xd8,0x00,0x00,0x00,0x00]
+0x10,0xff,0x9e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:127    ; encoding: [0x7f,0x00,0x9e,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x00,0x9e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:127 offset1:1    ; encoding: [0x7f,0x01,0x9e,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x01,0x9e,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write2st64_b64 v0, v[0:1], v[0:1] offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0x9f,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0x9f,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b64 v0, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa0,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b64 v255, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa0,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xa0,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b64 v0, v[254:255], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa0,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xa0,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_cmpst_b64 v0, v[0:1], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xa0,0xd8,0x00,0x00,0xfe,0x00]
+0xff,0xff,0xa0,0xd8,0x00,0x00,0xfe,0x00
+
+# CHECK: ds_cmpst_b64 v0, v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xa0,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b64 v0, v[0:1], v[0:1] offset:4    ; encoding: [0x04,0x00,0xa0,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xa0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_b64 v0, v[0:1], v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xa1,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa1,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f64 v0, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa2,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f64 v255, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa2,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xa2,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f64 v0, v[254:255], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa2,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xa2,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_cmpst_f64 v0, v[0:1], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xa2,0xd8,0x00,0x00,0xfe,0x00]
+0xff,0xff,0xa2,0xd8,0x00,0x00,0xfe,0x00
+
+# CHECK: ds_cmpst_f64 v0, v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xa2,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f64 v0, v[0:1], v[0:1] offset:4    ; encoding: [0x04,0x00,0xa2,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xa2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_f64 v0, v[0:1], v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xa3,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa3,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_f64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa4,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_f64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa4,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xa4,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_f64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xa4,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xa4,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_min_f64 v0, v[0:1]    ; encoding: [0x00,0x00,0xa4,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_f64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xa4,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xa4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_f64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xa5,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa5,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_f64 v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa6,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_f64 v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xa6,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xa6,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_f64 v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xa6,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xa6,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_max_f64 v0, v[0:1]    ; encoding: [0x00,0x00,0xa6,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_f64 v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xa6,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xa6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_f64 v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xa7,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa7,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc0,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc0,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xc0,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_add_rtn_u64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc0,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xc0,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc0,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xc0,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_add_rtn_u64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xc0,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xc0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xc0,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xc0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xc1,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc1,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc2,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc2,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xc2,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_sub_rtn_u64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc2,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xc2,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc2,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xc2,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_sub_rtn_u64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xc2,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xc2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xc2,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xc2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xc3,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc3,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc4,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc4,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xc4,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_rsub_rtn_u64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc4,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xc4,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc4,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xc4,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xc4,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xc4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xc4,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xc4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xc5,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc5,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc6,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc6,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xc6,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_inc_rtn_u64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc6,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xc6,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc6,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xc6,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_inc_rtn_u64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xc6,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xc6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xc6,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xc6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xc7,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc7,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc8,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc8,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc8,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xc8,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_dec_rtn_u64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xc8,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xc8,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xc8,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xc8,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_dec_rtn_u64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xc8,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xc8,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xc8,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xc8,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xc9,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xc9,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xca,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xca,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xca,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xca,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_min_rtn_i64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xca,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xca,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xca,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xca,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_min_rtn_i64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xca,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xca,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xca,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xca,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_i64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xcb,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xcb,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xcc,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xcc,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xcc,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xcc,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_max_rtn_i64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xcc,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xcc,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xcc,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xcc,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_max_rtn_i64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xcc,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xcc,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xcc,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xcc,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_i64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xcd,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xcd,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xce,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xce,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xce,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xce,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_min_rtn_u64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xce,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xce,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xce,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xce,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_min_rtn_u64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xce,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xce,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xce,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xce,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xcf,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xcf,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd0,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd0,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xd0,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_max_rtn_u64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd0,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xd0,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd0,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xd0,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_max_rtn_u64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xd0,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xd0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xd0,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xd0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_u64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xd1,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd1,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd2,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd2,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xd2,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_and_rtn_b64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd2,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xd2,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd2,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xd2,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_and_rtn_b64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xd2,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xd2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xd2,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xd2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_rtn_b64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xd3,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd3,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd4,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd4,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xd4,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_or_rtn_b64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd4,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xd4,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd4,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xd4,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_or_rtn_b64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xd4,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xd4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xd4,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xd4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_rtn_b64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xd5,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd5,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd6,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd6,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xd6,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_xor_rtn_b64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd6,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xd6,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd6,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xd6,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_xor_rtn_b64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xd6,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xd6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xd6,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xd6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_rtn_b64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xd7,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd7,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd8,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b64 v[254:255], v0, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xd8,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_mskor_rtn_b64 v[0:1], v255, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xd8,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b64 v[0:1], v0, v[254:255], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xd8,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xd8,0xd8,0x00,0x00,0xfe,0x00]
+0xff,0xff,0xd8,0xd8,0x00,0x00,0xfe,0x00
+
+# CHECK: ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xd8,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xd8,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:4    ; encoding: [0x04,0x00,0xd8,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xd8,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_mskor_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xd9,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xd9,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xda,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xda,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xda,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xda,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_wrxchg_rtn_b64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xda,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xda,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xda,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xda,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xda,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xda,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xda,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xda,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_wrxchg_rtn_b64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xdb,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xdb,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xe0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b64 v[254:255], v0, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xe0,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_cmpst_rtn_b64 v[0:1], v255, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xe0,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b64 v[0:1], v0, v[254:255], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xe0,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xe0,0xd8,0x00,0x00,0xfe,0x00]
+0xff,0xff,0xe0,0xd8,0x00,0x00,0xfe,0x00
+
+# CHECK: ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xe0,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xe0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:4    ; encoding: [0x04,0x00,0xe0,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xe0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_b64 v[0:1], v0, v[0:1], v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xe1,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xe1,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xe2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f64 v[254:255], v0, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xe2,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_cmpst_rtn_f64 v[0:1], v255, v[0:1], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xe2,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f64 v[0:1], v0, v[254:255], v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xe2,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[254:255] offset:65535    ; encoding: [0xff,0xff,0xe2,0xd8,0x00,0x00,0xfe,0x00]
+0xff,0xff,0xe2,0xd8,0x00,0x00,0xfe,0x00
+
+# CHECK: ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xe2,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xe2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[0:1] offset:4    ; encoding: [0x04,0x00,0xe2,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xe2,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_cmpst_rtn_f64 v[0:1], v0, v[0:1], v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xe3,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xe3,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe4,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xe4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe4,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xe4,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_min_rtn_f64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe4,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xe4,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xe4,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xe4,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_min_rtn_f64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xe4,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xe4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xe4,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xe4,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_rtn_f64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xe5,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xe5,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f64 v[0:1], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe6,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xe6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f64 v[254:255], v0, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe6,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xe6,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_max_rtn_f64 v[0:1], v255, v[0:1] offset:65535    ; encoding: [0xff,0xff,0xe6,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xe6,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f64 v[0:1], v0, v[254:255] offset:65535    ; encoding: [0xff,0xff,0xe6,0xd8,0x00,0xfe,0x00,0x00]
+0xff,0xff,0xe6,0xd8,0x00,0xfe,0x00,0x00
+
+# CHECK: ds_max_rtn_f64 v[0:1], v0, v[0:1]    ; encoding: [0x00,0x00,0xe6,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xe6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f64 v[0:1], v0, v[0:1] offset:4    ; encoding: [0x04,0x00,0xe6,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xe6,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_rtn_f64 v[0:1], v0, v[0:1] offset:65535 gds    ; encoding: [0xff,0xff,0xe7,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xe7,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_b64 v[0:1], v0 offset:65535    ; encoding: [0xff,0xff,0xec,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xec,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_b64 v[254:255], v0 offset:65535    ; encoding: [0xff,0xff,0xec,0xd8,0x00,0x00,0x00,0xfe]
+0xff,0xff,0xec,0xd8,0x00,0x00,0x00,0xfe
+
+# CHECK: ds_read_b64 v[0:1], v255 offset:65535    ; encoding: [0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x00]
+0xff,0xff,0xec,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read_b64 v[0:1], v0    ; encoding: [0x00,0x00,0xec,0xd8,0x00,0x00,0x00,0x00]
+0x00,0x00,0xec,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_b64 v[0:1], v0 offset:4    ; encoding: [0x04,0x00,0xec,0xd8,0x00,0x00,0x00,0x00]
+0x04,0x00,0xec,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read_b64 v[0:1], v0 offset:65535 gds    ; encoding: [0xff,0xff,0xed,0xd8,0x00,0x00,0x00,0x00]
+0xff,0xff,0xed,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b64 v[0:3], v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xee,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0xee,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b64 v[252:255], v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xee,0xd8,0x00,0x00,0x00,0xfc]
+0x7f,0xff,0xee,0xd8,0x00,0x00,0x00,0xfc
+
+# CHECK: ds_read2_b64 v[0:3], v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xee,0xd8,0xff,0x00,0x00,0x00]
+0x7f,0xff,0xee,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read2_b64 v[0:3], v0 offset1:255    ; encoding: [0x00,0xff,0xee,0xd8,0x00,0x00,0x00,0x00]
+0x00,0xff,0xee,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b64 v[0:3], v0 offset0:16 offset1:255    ; encoding: [0x10,0xff,0xee,0xd8,0x00,0x00,0x00,0x00]
+0x10,0xff,0xee,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b64 v[0:3], v0 offset0:127    ; encoding: [0x7f,0x00,0xee,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x00,0xee,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b64 v[0:3], v0 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0xee,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x01,0xee,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2_b64 v[0:3], v0 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0xef,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0xef,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b64 v[0:3], v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xf0,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0xf0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b64 v[252:255], v0 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xf0,0xd8,0x00,0x00,0x00,0xfc]
+0x7f,0xff,0xf0,0xd8,0x00,0x00,0x00,0xfc
+
+# CHECK: ds_read2st64_b64 v[0:3], v255 offset0:127 offset1:255    ; encoding: [0x7f,0xff,0xf0,0xd8,0xff,0x00,0x00,0x00]
+0x7f,0xff,0xf0,0xd8,0xff,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b64 v[0:3], v0 offset1:255    ; encoding: [0x00,0xff,0xf0,0xd8,0x00,0x00,0x00,0x00]
+0x00,0xff,0xf0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b64 v[0:3], v0 offset0:16 offset1:255    ; encoding: [0x10,0xff,0xf0,0xd8,0x00,0x00,0x00,0x00]
+0x10,0xff,0xf0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b64 v[0:3], v0 offset0:127    ; encoding: [0x7f,0x00,0xf0,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x00,0xf0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b64 v[0:3], v0 offset0:127 offset1:1    ; encoding: [0x7f,0x01,0xf0,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0x01,0xf0,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_read2st64_b64 v[0:3], v0 offset0:127 offset1:255 gds    ; encoding: [0x7f,0xff,0xf1,0xd8,0x00,0x00,0x00,0x00]
+0x7f,0xff,0xf1,0xd8,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u32 v0 offset:65535    ; encoding: [0xff,0xff,0x00,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x00,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u32 v255 offset:65535    ; encoding: [0xff,0xff,0x00,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x00,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u32 v0    ; encoding: [0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u32 v0 offset:4    ; encoding: [0x04,0x00,0x00,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x00,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x01,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x01,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u32 v0 offset:65535    ; encoding: [0xff,0xff,0x02,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x02,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u32 v255 offset:65535    ; encoding: [0xff,0xff,0x02,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x02,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u32 v0    ; encoding: [0x00,0x00,0x02,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x02,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u32 v0 offset:4    ; encoding: [0x04,0x00,0x02,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x02,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x03,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x03,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u32 v0 offset:65535    ; encoding: [0xff,0xff,0x04,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x04,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u32 v255 offset:65535    ; encoding: [0xff,0xff,0x04,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x04,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u32 v0    ; encoding: [0x00,0x00,0x04,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x04,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u32 v0 offset:4    ; encoding: [0x04,0x00,0x04,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x04,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x05,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x05,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u32 v0 offset:65535    ; encoding: [0xff,0xff,0x06,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x06,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u32 v255 offset:65535    ; encoding: [0xff,0xff,0x06,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x06,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u32 v0    ; encoding: [0x00,0x00,0x06,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x06,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u32 v0 offset:4    ; encoding: [0x04,0x00,0x06,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x06,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x07,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x07,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u32 v0 offset:65535    ; encoding: [0xff,0xff,0x08,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x08,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u32 v255 offset:65535    ; encoding: [0xff,0xff,0x08,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x08,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u32 v0    ; encoding: [0x00,0x00,0x08,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x08,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u32 v0 offset:4    ; encoding: [0x04,0x00,0x08,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x08,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x09,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x09,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i32 v0 offset:65535    ; encoding: [0xff,0xff,0x0a,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0a,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i32 v255 offset:65535    ; encoding: [0xff,0xff,0x0a,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x0a,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i32 v0    ; encoding: [0x00,0x00,0x0a,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0a,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i32 v0 offset:4    ; encoding: [0x04,0x00,0x0a,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x0a,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x0b,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0b,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i32 v0 offset:65535    ; encoding: [0xff,0xff,0x0c,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0c,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i32 v255 offset:65535    ; encoding: [0xff,0xff,0x0c,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x0c,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i32 v0    ; encoding: [0x00,0x00,0x0c,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i32 v0 offset:4    ; encoding: [0x04,0x00,0x0c,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x0c,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x0d,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0d,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u32 v0 offset:65535    ; encoding: [0xff,0xff,0x0e,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0e,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u32 v255 offset:65535    ; encoding: [0xff,0xff,0x0e,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x0e,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u32 v0    ; encoding: [0x00,0x00,0x0e,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0e,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u32 v0 offset:4    ; encoding: [0x04,0x00,0x0e,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x0e,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x0f,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x0f,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u32 v0 offset:65535    ; encoding: [0xff,0xff,0x10,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x10,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u32 v255 offset:65535    ; encoding: [0xff,0xff,0x10,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x10,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u32 v0    ; encoding: [0x00,0x00,0x10,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x10,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u32 v0 offset:4    ; encoding: [0x04,0x00,0x10,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x10,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x11,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x11,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b32 v0 offset:65535    ; encoding: [0xff,0xff,0x14,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x14,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b32 v255 offset:65535    ; encoding: [0xff,0xff,0x14,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x14,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b32 v0    ; encoding: [0x00,0x00,0x14,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x14,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b32 v0 offset:4    ; encoding: [0x04,0x00,0x14,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x14,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x15,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x15,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b32 v0 offset:65535    ; encoding: [0xff,0xff,0x16,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x16,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b32 v255 offset:65535    ; encoding: [0xff,0xff,0x16,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x16,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b32 v0    ; encoding: [0x00,0x00,0x16,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x16,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b32 v0 offset:4    ; encoding: [0x04,0x00,0x16,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x16,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x17,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x17,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_src2_b32 v0    ; encoding: [0x00,0x00,0x1a,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x1a,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f32 v0 offset:65535    ; encoding: [0xff,0xff,0x24,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x24,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f32 v255 offset:65535    ; encoding: [0xff,0xff,0x24,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x24,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f32 v0    ; encoding: [0x00,0x00,0x24,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x24,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f32 v0 offset:4    ; encoding: [0x04,0x00,0x24,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x24,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x25,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x25,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f32 v0 offset:65535    ; encoding: [0xff,0xff,0x26,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x26,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f32 v255 offset:65535    ; encoding: [0xff,0xff,0x26,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x26,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f32 v0    ; encoding: [0x00,0x00,0x26,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x26,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f32 v0 offset:4    ; encoding: [0x04,0x00,0x26,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x26,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f32 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x27,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x27,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u64 v0 offset:65535    ; encoding: [0xff,0xff,0x80,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x80,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u64 v255 offset:65535    ; encoding: [0xff,0xff,0x80,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x80,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u64 v0    ; encoding: [0x00,0x00,0x80,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x80,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u64 v0 offset:4    ; encoding: [0x04,0x00,0x80,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x80,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_add_src2_u64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x81,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x81,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u64 v0 offset:65535    ; encoding: [0xff,0xff,0x82,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x82,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u64 v255 offset:65535    ; encoding: [0xff,0xff,0x82,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x82,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u64 v0    ; encoding: [0x00,0x00,0x82,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x82,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u64 v0 offset:4    ; encoding: [0x04,0x00,0x82,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x82,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_sub_src2_u64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x83,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x83,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u64 v0 offset:65535    ; encoding: [0xff,0xff,0x84,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x84,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u64 v255 offset:65535    ; encoding: [0xff,0xff,0x84,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x84,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u64 v0    ; encoding: [0x00,0x00,0x84,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x84,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u64 v0 offset:4    ; encoding: [0x04,0x00,0x84,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x84,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_rsub_src2_u64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x85,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x85,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u64 v0 offset:65535    ; encoding: [0xff,0xff,0x86,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x86,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u64 v255 offset:65535    ; encoding: [0xff,0xff,0x86,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x86,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u64 v0    ; encoding: [0x00,0x00,0x86,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x86,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u64 v0 offset:4    ; encoding: [0x04,0x00,0x86,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x86,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_inc_src2_u64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x87,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x87,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u64 v0 offset:65535    ; encoding: [0xff,0xff,0x88,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x88,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u64 v255 offset:65535    ; encoding: [0xff,0xff,0x88,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x88,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u64 v0    ; encoding: [0x00,0x00,0x88,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x88,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u64 v0 offset:4    ; encoding: [0x04,0x00,0x88,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x88,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_dec_src2_u64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x89,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x89,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i64 v0 offset:65535    ; encoding: [0xff,0xff,0x8a,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8a,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i64 v255 offset:65535    ; encoding: [0xff,0xff,0x8a,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x8a,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i64 v0    ; encoding: [0x00,0x00,0x8a,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8a,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i64 v0 offset:4    ; encoding: [0x04,0x00,0x8a,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x8a,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_i64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x8b,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8b,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i64 v0 offset:65535    ; encoding: [0xff,0xff,0x8c,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8c,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i64 v255 offset:65535    ; encoding: [0xff,0xff,0x8c,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x8c,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i64 v0    ; encoding: [0x00,0x00,0x8c,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8c,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i64 v0 offset:4    ; encoding: [0x04,0x00,0x8c,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x8c,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_i64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x8d,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8d,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u64 v0 offset:65535    ; encoding: [0xff,0xff,0x8e,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8e,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u64 v255 offset:65535    ; encoding: [0xff,0xff,0x8e,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x8e,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u64 v0    ; encoding: [0x00,0x00,0x8e,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8e,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u64 v0 offset:4    ; encoding: [0x04,0x00,0x8e,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x8e,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_u64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x8f,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x8f,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u64 v0 offset:65535    ; encoding: [0xff,0xff,0x90,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x90,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u64 v255 offset:65535    ; encoding: [0xff,0xff,0x90,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x90,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u64 v0    ; encoding: [0x00,0x00,0x90,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x90,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u64 v0 offset:4    ; encoding: [0x04,0x00,0x90,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x90,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_u64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x91,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x91,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_src2_b64 v0 offset:65535    ; encoding: [0xff,0xff,0x92,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x92,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_src2_b64 v255 offset:65535    ; encoding: [0xff,0xff,0x92,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x92,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_and_src2_b64 v0    ; encoding: [0x00,0x00,0x92,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x92,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_src2_b64 v0 offset:4    ; encoding: [0x04,0x00,0x92,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x92,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_and_src2_b64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x93,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x93,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b64 v0 offset:65535    ; encoding: [0xff,0xff,0x94,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x94,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b64 v255 offset:65535    ; encoding: [0xff,0xff,0x94,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x94,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b64 v0    ; encoding: [0x00,0x00,0x94,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x94,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b64 v0 offset:4    ; encoding: [0x04,0x00,0x94,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x94,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_or_src2_b64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x95,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x95,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b64 v0 offset:65535    ; encoding: [0xff,0xff,0x96,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x96,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b64 v255 offset:65535    ; encoding: [0xff,0xff,0x96,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0x96,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b64 v0    ; encoding: [0x00,0x00,0x96,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x96,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b64 v0 offset:4    ; encoding: [0x04,0x00,0x96,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0x96,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_xor_src2_b64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0x97,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0x97,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_write_src2_b64 v0    ; encoding: [0x00,0x00,0x9a,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0x9a,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f64 v0 offset:65535    ; encoding: [0xff,0xff,0xa4,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa4,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f64 v255 offset:65535    ; encoding: [0xff,0xff,0xa4,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0xa4,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f64 v0    ; encoding: [0x00,0x00,0xa4,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa4,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f64 v0 offset:4    ; encoding: [0x04,0x00,0xa4,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0xa4,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_min_src2_f64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0xa5,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa5,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f64 v0 offset:65535    ; encoding: [0xff,0xff,0xa6,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa6,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f64 v255 offset:65535    ; encoding: [0xff,0xff,0xa6,0xd9,0xff,0x00,0x00,0x00]
+0xff,0xff,0xa6,0xd9,0xff,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f64 v0    ; encoding: [0x00,0x00,0xa6,0xd9,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa6,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f64 v0 offset:4    ; encoding: [0x04,0x00,0xa6,0xd9,0x00,0x00,0x00,0x00]
+0x04,0x00,0xa6,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: ds_max_src2_f64 v0 offset:65535 gds    ; encoding: [0xff,0xff,0xa7,0xd9,0x00,0x00,0x00,0x00]
+0xff,0xff,0xa7,0xd9,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_ubyte v0, v[0:1]    ; encoding: [0x00,0x00,0x40,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x40,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_ubyte v255, v[0:1]    ; encoding: [0x00,0x00,0x40,0xdc,0x00,0x00,0x00,0xff]
+0x00,0x00,0x40,0xdc,0x00,0x00,0x00,0xff
+
+# CHECK: flat_load_ubyte v0, v[254:255]    ; encoding: [0x00,0x00,0x40,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x40,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_load_ubyte v0, v[0:1] glc    ; encoding: [0x00,0x00,0x41,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x41,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_ubyte v0, v[0:1] slc    ; encoding: [0x00,0x00,0x42,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x42,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_sbyte v0, v[0:1]    ; encoding: [0x00,0x00,0x44,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x44,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_sbyte v255, v[0:1]    ; encoding: [0x00,0x00,0x44,0xdc,0x00,0x00,0x00,0xff]
+0x00,0x00,0x44,0xdc,0x00,0x00,0x00,0xff
+
+# CHECK: flat_load_sbyte v0, v[254:255]    ; encoding: [0x00,0x00,0x44,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x44,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_load_sbyte v0, v[0:1] glc    ; encoding: [0x00,0x00,0x45,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x45,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_sbyte v0, v[0:1] slc    ; encoding: [0x00,0x00,0x46,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x46,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_ushort v0, v[0:1]    ; encoding: [0x00,0x00,0x48,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x48,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_ushort v255, v[0:1]    ; encoding: [0x00,0x00,0x48,0xdc,0x00,0x00,0x00,0xff]
+0x00,0x00,0x48,0xdc,0x00,0x00,0x00,0xff
+
+# CHECK: flat_load_ushort v0, v[254:255]    ; encoding: [0x00,0x00,0x48,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x48,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_load_ushort v0, v[0:1] glc    ; encoding: [0x00,0x00,0x49,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x49,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_ushort v0, v[0:1] slc    ; encoding: [0x00,0x00,0x4a,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_sshort v0, v[0:1]    ; encoding: [0x00,0x00,0x4c,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_sshort v255, v[0:1]    ; encoding: [0x00,0x00,0x4c,0xdc,0x00,0x00,0x00,0xff]
+0x00,0x00,0x4c,0xdc,0x00,0x00,0x00,0xff
+
+# CHECK: flat_load_sshort v0, v[254:255]    ; encoding: [0x00,0x00,0x4c,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_load_sshort v0, v[0:1] glc    ; encoding: [0x00,0x00,0x4d,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_sshort v0, v[0:1] slc    ; encoding: [0x00,0x00,0x4e,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dword v0, v[0:1]    ; encoding: [0x00,0x00,0x50,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x50,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dword v255, v[0:1]    ; encoding: [0x00,0x00,0x50,0xdc,0x00,0x00,0x00,0xff]
+0x00,0x00,0x50,0xdc,0x00,0x00,0x00,0xff
+
+# CHECK: flat_load_dword v0, v[254:255]    ; encoding: [0x00,0x00,0x50,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x50,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_load_dword v0, v[0:1] glc    ; encoding: [0x00,0x00,0x51,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x51,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dword v0, v[0:1] slc    ; encoding: [0x00,0x00,0x52,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x52,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x54,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x54,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x54,0xdc,0x00,0x00,0x00,0xfe]
+0x00,0x00,0x54,0xdc,0x00,0x00,0x00,0xfe
+
+# CHECK: flat_load_dwordx2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x54,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x54,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx2 v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x55,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x55,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x56,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x56,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx3 v[0:2], v[0:1]    ; encoding: [0x00,0x00,0x58,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x58,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx3 v[253:255], v[0:1]    ; encoding: [0x00,0x00,0x58,0xdc,0x00,0x00,0x00,0xfd]
+0x00,0x00,0x58,0xdc,0x00,0x00,0x00,0xfd
+
+# CHECK: flat_load_dwordx3 v[0:2], v[254:255]    ; encoding: [0x00,0x00,0x58,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x58,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx3 v[0:2], v[0:1] glc    ; encoding: [0x00,0x00,0x59,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x59,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx3 v[0:2], v[0:1] slc    ; encoding: [0x00,0x00,0x5a,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx4 v[0:3], v[0:1]    ; encoding: [0x00,0x00,0x5c,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx4 v[252:255], v[0:1]    ; encoding: [0x00,0x00,0x5c,0xdc,0x00,0x00,0x00,0xfc]
+0x00,0x00,0x5c,0xdc,0x00,0x00,0x00,0xfc
+
+# CHECK: flat_load_dwordx4 v[0:3], v[254:255]    ; encoding: [0x00,0x00,0x5c,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx4 v[0:3], v[0:1] glc    ; encoding: [0x00,0x00,0x5d,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_load_dwordx4 v[0:3], v[0:1] slc    ; encoding: [0x00,0x00,0x5e,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_byte v[0:1], v0    ; encoding: [0x00,0x00,0x60,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x60,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_byte v[254:255], v0    ; encoding: [0x00,0x00,0x60,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x60,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_store_byte v[0:1], v255    ; encoding: [0x00,0x00,0x60,0xdc,0x00,0xff,0x00,0x00]
+0x00,0x00,0x60,0xdc,0x00,0xff,0x00,0x00
+
+# CHECK: flat_store_byte v[0:1], v0 glc    ; encoding: [0x00,0x00,0x61,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x61,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_byte v[0:1], v0 slc    ; encoding: [0x00,0x00,0x62,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x62,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_short v[0:1], v0    ; encoding: [0x00,0x00,0x68,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x68,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_short v[254:255], v0    ; encoding: [0x00,0x00,0x68,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x68,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_store_short v[0:1], v255    ; encoding: [0x00,0x00,0x68,0xdc,0x00,0xff,0x00,0x00]
+0x00,0x00,0x68,0xdc,0x00,0xff,0x00,0x00
+
+# CHECK: flat_store_short v[0:1], v0 glc    ; encoding: [0x00,0x00,0x69,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x69,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_short v[0:1], v0 slc    ; encoding: [0x00,0x00,0x6a,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dword v[0:1], v0    ; encoding: [0x00,0x00,0x70,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x70,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dword v[254:255], v0    ; encoding: [0x00,0x00,0x70,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x70,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_store_dword v[0:1], v255    ; encoding: [0x00,0x00,0x70,0xdc,0x00,0xff,0x00,0x00]
+0x00,0x00,0x70,0xdc,0x00,0xff,0x00,0x00
+
+# CHECK: flat_store_dword v[0:1], v0 glc    ; encoding: [0x00,0x00,0x71,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x71,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dword v[0:1], v0 slc    ; encoding: [0x00,0x00,0x72,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x72,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x74,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x74,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x74,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x74,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x74,0xdc,0x00,0xfe,0x00,0x00]
+0x00,0x00,0x74,0xdc,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_store_dwordx2 v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x75,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x75,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x76,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x76,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx3 v[0:1], v[0:2]    ; encoding: [0x00,0x00,0x78,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x78,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx3 v[254:255], v[0:2]    ; encoding: [0x00,0x00,0x78,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x78,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx3 v[0:1], v[253:255]    ; encoding: [0x00,0x00,0x78,0xdc,0x00,0xfd,0x00,0x00]
+0x00,0x00,0x78,0xdc,0x00,0xfd,0x00,0x00
+
+# CHECK: flat_store_dwordx3 v[0:1], v[0:2] glc    ; encoding: [0x00,0x00,0x79,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x79,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx3 v[0:1], v[0:2] slc    ; encoding: [0x00,0x00,0x7a,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x7a,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx4 v[0:1], v[0:3]    ; encoding: [0x00,0x00,0x7c,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x7c,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx4 v[254:255], v[0:3]    ; encoding: [0x00,0x00,0x7c,0xdc,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x7c,0xdc,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx4 v[0:1], v[252:255]    ; encoding: [0x00,0x00,0x7c,0xdc,0x00,0xfc,0x00,0x00]
+0x00,0x00,0x7c,0xdc,0x00,0xfc,0x00,0x00
+
+# CHECK: flat_store_dwordx4 v[0:1], v[0:3] glc    ; encoding: [0x00,0x00,0x7d,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x7d,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_store_dwordx4 v[0:1], v[0:3] slc    ; encoding: [0x00,0x00,0x7e,0xdc,0x00,0x00,0x00,0x00]
+0x00,0x00,0x7e,0xdc,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_swap v[0:1], v0    ; encoding: [0x00,0x00,0x00,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x00,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_swap v[254:255], v0    ; encoding: [0x00,0x00,0x00,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x00,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_swap v[0:1], v255    ; encoding: [0x00,0x00,0x00,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x00,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_swap v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x01,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x01,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_swap v[0:1], v0 slc    ; encoding: [0x00,0x00,0x02,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x02,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x04,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x04,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x04,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x04,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x04,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0x04,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap v0, v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x05,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x05,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x06,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x06,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_add v[0:1], v0    ; encoding: [0x00,0x00,0x08,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x08,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_add v[254:255], v0    ; encoding: [0x00,0x00,0x08,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x08,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_add v[0:1], v255    ; encoding: [0x00,0x00,0x08,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x08,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_add v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x09,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x09,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_add v[0:1], v0 slc    ; encoding: [0x00,0x00,0x0a,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0a,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_sub v[0:1], v0    ; encoding: [0x00,0x00,0x0c,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_sub v[254:255], v0    ; encoding: [0x00,0x00,0x0c,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_sub v[0:1], v255    ; encoding: [0x00,0x00,0x0c,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x0c,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_sub v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x0d,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0d,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_sub v[0:1], v0 slc    ; encoding: [0x00,0x00,0x0e,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0e,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smin v[0:1], v0    ; encoding: [0x00,0x00,0x10,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x10,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smin v[254:255], v0    ; encoding: [0x00,0x00,0x10,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x10,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smin v[0:1], v255    ; encoding: [0x00,0x00,0x10,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x10,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_smin v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x11,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x11,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smin v[0:1], v0 slc    ; encoding: [0x00,0x00,0x12,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x12,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umin v[0:1], v0    ; encoding: [0x00,0x00,0x14,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x14,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umin v[254:255], v0    ; encoding: [0x00,0x00,0x14,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x14,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umin v[0:1], v255    ; encoding: [0x00,0x00,0x14,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x14,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_umin v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x15,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x15,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umin v[0:1], v0 slc    ; encoding: [0x00,0x00,0x16,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x16,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smax v[0:1], v0    ; encoding: [0x00,0x00,0x18,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x18,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smax v[254:255], v0    ; encoding: [0x00,0x00,0x18,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x18,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smax v[0:1], v255    ; encoding: [0x00,0x00,0x18,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x18,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_smax v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x19,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x19,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smax v[0:1], v0 slc    ; encoding: [0x00,0x00,0x1a,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x1a,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umax v[0:1], v0    ; encoding: [0x00,0x00,0x1c,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x1c,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umax v[254:255], v0    ; encoding: [0x00,0x00,0x1c,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x1c,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umax v[0:1], v255    ; encoding: [0x00,0x00,0x1c,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x1c,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_umax v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x1d,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x1d,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umax v[0:1], v0 slc    ; encoding: [0x00,0x00,0x1e,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x1e,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_and v[0:1], v0    ; encoding: [0x00,0x00,0x20,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x20,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_and v[254:255], v0    ; encoding: [0x00,0x00,0x20,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x20,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_and v[0:1], v255    ; encoding: [0x00,0x00,0x20,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x20,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_and v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x21,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x21,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_and v[0:1], v0 slc    ; encoding: [0x00,0x00,0x22,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x22,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_or v[0:1], v0    ; encoding: [0x00,0x00,0x24,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x24,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_or v[254:255], v0    ; encoding: [0x00,0x00,0x24,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x24,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_or v[0:1], v255    ; encoding: [0x00,0x00,0x24,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x24,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_or v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x25,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x25,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_or v[0:1], v0 slc    ; encoding: [0x00,0x00,0x26,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x26,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_xor v[0:1], v0    ; encoding: [0x00,0x00,0x28,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x28,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_xor v[254:255], v0    ; encoding: [0x00,0x00,0x28,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x28,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_xor v[0:1], v255    ; encoding: [0x00,0x00,0x28,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x28,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_xor v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x29,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x29,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_xor v[0:1], v0 slc    ; encoding: [0x00,0x00,0x2a,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x2a,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_inc v[0:1], v0    ; encoding: [0x00,0x00,0x2c,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_inc v[254:255], v0    ; encoding: [0x00,0x00,0x2c,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_inc v[0:1], v255    ; encoding: [0x00,0x00,0x2c,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x2c,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_inc v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x2d,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x2d,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_inc v[0:1], v0 slc    ; encoding: [0x00,0x00,0x2e,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x2e,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_dec v[0:1], v0    ; encoding: [0x00,0x00,0x30,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x30,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_dec v[254:255], v0    ; encoding: [0x00,0x00,0x30,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x30,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_dec v[0:1], v255    ; encoding: [0x00,0x00,0x30,0xdd,0x00,0xff,0x00,0x00]
+0x00,0x00,0x30,0xdd,0x00,0xff,0x00,0x00
+
+# CHECK: flat_atomic_dec v0, v[0:1], v0 glc    ; encoding: [0x00,0x00,0x31,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x31,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_dec v[0:1], v0 slc    ; encoding: [0x00,0x00,0x32,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x32,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_swap_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x80,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x80,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_swap_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x80,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x80,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_swap_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x80,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0x80,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_swap_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x81,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x81,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_swap_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x82,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x82,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap_x2 v[0:1], v[0:3]    ; encoding: [0x00,0x00,0x84,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x84,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap_x2 v[254:255], v[0:3]    ; encoding: [0x00,0x00,0x84,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x84,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap_x2 v[0:1], v[252:255]    ; encoding: [0x00,0x00,0x84,0xdd,0x00,0xfc,0x00,0x00]
+0x00,0x00,0x84,0xdd,0x00,0xfc,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap_x2 v[0:1], v[0:1], v[0:3] glc    ; encoding: [0x00,0x00,0x85,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x85,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_cmpswap_x2 v[0:1], v[0:3] slc    ; encoding: [0x00,0x00,0x86,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x86,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_add_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x88,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x88,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_add_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x88,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x88,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_add_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x88,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0x88,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_add_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x89,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x89,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_add_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x8a,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8a,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_sub_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x8c,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8c,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_sub_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x8c,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x8c,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_sub_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x8c,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0x8c,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_sub_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x8d,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8d,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_sub_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x8e,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8e,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smin_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x90,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x90,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smin_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x90,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x90,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smin_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x90,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0x90,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_smin_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x91,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x91,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smin_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x92,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x92,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umin_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x94,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x94,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umin_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x94,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x94,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umin_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x94,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0x94,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_umin_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x95,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x95,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umin_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x96,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x96,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smax_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x98,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x98,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smax_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x98,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x98,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smax_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x98,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0x98,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_smax_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x99,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x99,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_smax_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x9a,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x9a,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umax_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x9c,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x9c,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umax_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0x9c,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0x9c,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umax_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x9c,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0x9c,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_umax_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0x9d,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x9d,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_umax_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0x9e,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0x9e,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_and_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xa0,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa0,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_and_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0xa0,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0xa0,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_and_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0xa0,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0xa0,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_and_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0xa1,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa1,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_and_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0xa2,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa2,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_or_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xa4,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa4,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_or_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0xa4,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0xa4,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_or_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0xa4,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0xa4,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_or_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0xa5,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa5,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_or_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0xa6,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa6,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_xor_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xa8,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa8,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_xor_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0xa8,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0xa8,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_xor_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0xa8,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0xa8,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_xor_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0xa9,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa9,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_xor_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0xaa,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xaa,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_inc_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xac,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xac,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_inc_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0xac,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0xac,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_inc_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0xac,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0xac,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_inc_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0xad,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xad,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_inc_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0xae,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xae,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_dec_x2 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0xb0,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xb0,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_dec_x2 v[254:255], v[0:1]    ; encoding: [0x00,0x00,0xb0,0xdd,0xfe,0x00,0x00,0x00]
+0x00,0x00,0xb0,0xdd,0xfe,0x00,0x00,0x00
+
+# CHECK: flat_atomic_dec_x2 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0xb0,0xdd,0x00,0xfe,0x00,0x00]
+0x00,0x00,0xb0,0xdd,0x00,0xfe,0x00,0x00
+
+# CHECK: flat_atomic_dec_x2 v[0:1], v[0:1], v[0:1] glc    ; encoding: [0x00,0x00,0xb1,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xb1,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: flat_atomic_dec_x2 v[0:1], v[0:1] slc    ; encoding: [0x00,0x00,0xb2,0xdd,0x00,0x00,0x00,0x00]
+0x00,0x00,0xb2,0xdd,0x00,0x00,0x00,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[0:3] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x80,0xf1,0x00,0x00,0x00,0x00
+
+# CHECK: image_get_lod v252, v0, s[0:7], s[0:3] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x00,0xfc,0x00,0x00]
+0x00,0x01,0x80,0xf1,0x00,0xfc,0x00,0x00
+
+# CHECK: image_get_lod v0, v255, s[0:7], s[0:3] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0xff,0x00,0x00,0x00]
+0x00,0x01,0x80,0xf1,0xff,0x00,0x00,0x00
+
+# CHECK: image_get_lod v0, v0, s[4:11], s[0:3] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x00,0x00,0x01,0x00]
+0x00,0x01,0x80,0xf1,0x00,0x00,0x01,0x00
+
+# CHECK: image_get_lod v0, v0, s[92:99], s[0:3] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x00,0x00,0x17,0x00]
+0x00,0x01,0x80,0xf1,0x00,0x00,0x17,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[4:7] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x00,0x00,0x20,0x00]
+0x00,0x01,0x80,0xf1,0x00,0x00,0x20,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[96:99] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x00,0x00,0x00,0x03]
+0x00,0x01,0x80,0xf1,0x00,0x00,0x00,0x03
+
+# CHECK: image_get_lod v0, v0, s[0:7], ttmp[8:11] dmask:0x1    ; encoding: [0x00,0x01,0x80,0xf1,0x00,0x00,0xc0,0x03]
+0x00,0x01,0x80,0xf1,0x00,0x00,0xc0,0x03
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[0:3] dmask:0x2    ; encoding: [0x00,0x02,0x80,0xf1,0x00,0x00,0x00,0x00]
+0x00,0x02,0x80,0xf1,0x00,0x00,0x00,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[0:3] dmask:0x4    ; encoding: [0x00,0x04,0x80,0xf1,0x00,0x00,0x00,0x00]
+0x00,0x04,0x80,0xf1,0x00,0x00,0x00,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[0:3] dmask:0x8    ; encoding: [0x00,0x08,0x80,0xf1,0x00,0x00,0x00,0x00]
+0x00,0x08,0x80,0xf1,0x00,0x00,0x00,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[0:3] dmask:0x1 unorm    ; encoding: [0x00,0x11,0x80,0xf1,0x00,0x00,0x00,0x00]
+0x00,0x11,0x80,0xf1,0x00,0x00,0x00,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[0:3] dmask:0x1 glc    ; encoding: [0x00,0x21,0x80,0xf1,0x00,0x00,0x00,0x00]
+0x00,0x21,0x80,0xf1,0x00,0x00,0x00,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[0:3] dmask:0x1 slc    ; encoding: [0x00,0x01,0x80,0xf3,0x00,0x00,0x00,0x00]
+0x00,0x01,0x80,0xf3,0x00,0x00,0x00,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[0:3] dmask:0x1 lwe    ; encoding: [0x00,0x01,0x82,0xf1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x82,0xf1,0x00,0x00,0x00,0x00
+
+# CHECK: image_get_lod v0, v0, s[0:7], s[0:3] dmask:0x1 da    ; encoding: [0x00,0x41,0x80,0xf1,0x00,0x00,0x00,0x00]
+0x00,0x41,0x80,0xf1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_x v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x00,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_load_format_x v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_format_x v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_format_x v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x00,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_format_x v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x00,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x00,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_x v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x00,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x00,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x00,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x00,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x00,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x00,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x00,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_x v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x02,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x02,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xy v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x04,0xe0,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x04,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_format_xy v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x04,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x04,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x04,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x04,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x04,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x04,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x04,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x04,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x04,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x04,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xy v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x06,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x06,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyz v[253:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0xfd,0x00,0x00]
+0xff,0x0f,0x08,0xe0,0x00,0xfd,0x00,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x08,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_format_xyz v[0:2], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x08,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x08,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x08,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x08,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], s0    ; encoding: [0x00,0x00,0x08,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x08,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x08,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x08,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x08,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x08,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyz v[0:2], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x0a,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x0a,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyzw v[252:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0xfc,0x00,0x00]
+0xff,0x0f,0x0c,0xe0,0x00,0xfc,0x00,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x0c,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_format_xyzw v[0:3], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x0c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x0c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x0c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x0c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], s0    ; encoding: [0x00,0x00,0x0c,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x0c,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x0c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x0c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x0c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_format_xyzw v[0:3], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x0e,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x0e,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_x v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x10,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_store_format_x v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_format_x v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_format_x v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x10,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_format_x v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x10,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x10,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_x v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x10,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x10,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x10,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x10,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x10,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x10,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x10,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x10,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_x v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x12,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x12,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xy v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x14,0xe0,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x14,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_format_xy v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x14,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x14,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x14,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x14,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x14,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x14,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x14,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x14,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x14,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x14,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xy v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x16,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x16,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyz v[253:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0xfd,0x00,0x00]
+0xff,0x0f,0x18,0xe0,0x00,0xfd,0x00,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x18,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_format_xyz v[0:2], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x18,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x18,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x18,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x18,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], s0    ; encoding: [0x00,0x00,0x18,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x18,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x18,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x18,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x18,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x18,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyz v[0:2], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x1a,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x1a,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyzw v[252:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0xfc,0x00,0x00]
+0xff,0x0f,0x1c,0xe0,0x00,0xfc,0x00,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x1c,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_format_xyzw v[0:3], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x1c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x1c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x1c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x1c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], s0    ; encoding: [0x00,0x00,0x1c,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x1c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x1c,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x1c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x1c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x1c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_format_xyzw v[0:3], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x1e,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x1e,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ubyte v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x40,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_load_ubyte v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_ubyte v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_ubyte v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x40,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_ubyte v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x40,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x40,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ubyte v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x40,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x40,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x40,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x40,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x40,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x40,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x40,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x40,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ubyte v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x42,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x42,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sbyte v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x44,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_load_sbyte v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_sbyte v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_sbyte v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x44,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_sbyte v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x44,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x44,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sbyte v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x44,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x44,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x44,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x44,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x44,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x44,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x44,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x44,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sbyte v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x46,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x46,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ushort v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x48,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_load_ushort v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_ushort v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_ushort v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x48,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_ushort v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x48,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x48,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ushort v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x48,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x48,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x48,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x48,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x48,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x48,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x48,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x48,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_ushort v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x4a,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x4a,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sshort v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x4c,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_load_sshort v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_sshort v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_sshort v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x4c,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_sshort v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x4c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x4c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sshort v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x4c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x4c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x4c,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x4c,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x4c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x4c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x4c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_sshort v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x4e,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x4e,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dword v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dword v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x50,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_load_dword v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_dword v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_dword v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_dword v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_dword v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_dword v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_dword v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_dword v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_dword v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x50,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_dword v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x50,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x50,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dword v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x50,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x50,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dword v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x50,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x50,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dword v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x50,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x50,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dword v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x50,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x50,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dword v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x52,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x52,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x54,0xe0,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x54,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_dwordx2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x54,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x54,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x54,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x54,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x54,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x54,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x54,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x54,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x54,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x54,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x56,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x56,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx3 v[253:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0xfd,0x00,0x00]
+0xff,0x0f,0x58,0xe0,0x00,0xfd,0x00,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x58,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_dwordx3 v[0:2], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x58,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x58,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x58,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x58,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], s0    ; encoding: [0x00,0x00,0x58,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x58,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x58,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x58,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x58,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x58,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx3 v[0:2], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x5a,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x5a,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx4 v[252:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0xfc,0x00,0x00]
+0xff,0x0f,0x5c,0xe0,0x00,0xfc,0x00,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x5c,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_load_dwordx4 v[0:3], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x5c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x5c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x5c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x5c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], s0    ; encoding: [0x00,0x00,0x5c,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x5c,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x5c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x5c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x5c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_load_dwordx4 v[0:3], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x5e,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x5e,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_byte v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_byte v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x60,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_store_byte v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_byte v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_byte v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_byte v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_byte v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_byte v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_byte v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_byte v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_byte v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x60,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_byte v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x60,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x60,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_byte v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x60,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x60,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_byte v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x60,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x60,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_byte v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x60,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x60,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_byte v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x60,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x60,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_byte v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x62,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x62,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_short v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_short v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x68,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_store_short v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_short v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_short v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_short v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_short v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_short v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_short v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_short v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_short v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x68,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_short v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x68,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x68,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_short v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x68,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x68,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_short v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x68,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x68,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_short v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x68,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x68,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_short v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x68,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x68,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_short v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x6a,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x6a,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dword v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dword v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x70,0xe0,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_store_dword v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_dword v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_dword v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_dword v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_dword v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_dword v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_dword v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_dword v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_dword v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x70,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_dword v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x70,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x70,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dword v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x70,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x70,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dword v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x70,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x70,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dword v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x70,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x70,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dword v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x70,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x70,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dword v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x72,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x72,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x74,0xe0,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x74,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_dwordx2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x74,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x74,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x74,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x74,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x74,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x74,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x74,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x74,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x74,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x74,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x76,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x76,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx3 v[253:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0xfd,0x00,0x00]
+0xff,0x0f,0x78,0xe0,0x00,0xfd,0x00,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x78,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_dwordx3 v[0:2], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x78,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x78,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x78,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x78,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], s0    ; encoding: [0x00,0x00,0x78,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x78,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x78,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x78,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x78,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x78,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx3 v[0:2], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x7a,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x7a,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx4 v[252:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0xfc,0x00,0x00]
+0xff,0x0f,0x7c,0xe0,0x00,0xfc,0x00,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x7c,0xe0,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_store_dwordx4 v[0:3], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x7c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x7c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x7c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x7c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], s0    ; encoding: [0x00,0x00,0x7c,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x7c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x7c,0xe0,0x00,0x00,0x00,0x00]
+0x07,0x00,0x7c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x7c,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x7c,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_store_dwordx4 v[0:3], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x7e,0xe0,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x7e,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_wbinvl1    ; encoding: [0x00,0x00,0xf8,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0xf8,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_wbinvl1_vol    ; encoding: [0x00,0x00,0xfc,0xe0,0x00,0x00,0x00,0x00]
+0x00,0x00,0xfc,0xe0,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x00,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_swap v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_swap v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_swap v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x00,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_swap v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x00,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x00,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x00,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x00,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x00,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x00,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x00,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x00,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x00,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x00,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x02,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x02,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x04,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x04,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_cmpswap v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x04,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x04,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x04,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x04,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x04,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x04,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x04,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x04,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x04,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x04,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x06,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x06,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x08,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_add v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_add v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_add v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x08,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_add v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x08,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x08,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x08,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x08,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x08,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x08,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x08,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x08,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x08,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x08,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x0a,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x0a,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x0c,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_sub v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_sub v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_sub v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x0c,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_sub v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x0c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x0c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x0c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x0c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x0c,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x0c,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x0c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x0c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x0c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x0e,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x0e,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x10,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_smin v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_smin v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_smin v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x10,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_smin v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x10,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x10,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x10,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x10,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x10,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x10,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x10,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x10,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x10,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x10,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x12,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x12,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x14,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_umin v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_umin v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_umin v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x14,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_umin v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x14,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x14,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x14,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x14,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x14,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x14,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x14,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x14,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x14,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x14,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x16,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x16,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x18,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_smax v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_smax v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_smax v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x18,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_smax v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x18,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x18,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x18,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x18,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x18,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x18,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x18,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x18,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x18,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x18,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x1a,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x1a,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x1c,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_umax v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_umax v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_umax v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x1c,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_umax v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x1c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x1c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x1c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x1c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x1c,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x1c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x1c,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x1c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x1c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x1c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x1e,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x1e,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x20,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_and v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_and v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_and v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x20,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_and v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x20,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x20,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x20,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x20,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x20,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x20,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x20,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x20,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x20,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x20,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x22,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x22,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x24,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_or v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_or v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_or v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x24,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_or v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x24,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x24,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x24,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x24,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x24,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x24,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x24,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x24,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x24,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x24,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x26,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x26,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x28,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_xor v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_xor v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_xor v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x28,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_xor v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x28,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x28,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x28,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x28,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x28,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x28,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x28,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x28,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x28,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x28,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x2a,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x2a,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x2c,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_inc v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_inc v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_inc v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x2c,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_inc v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x2c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x2c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x2c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x2c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x2c,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x2c,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x2c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x2c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x2c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x2e,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x2e,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec v255, off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0xff,0x00,0x00]
+0xff,0x0f,0x30,0xe1,0x00,0xff,0x00,0x00
+
+# CHECK: buffer_atomic_dec v0, off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_dec v0, off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_dec v0, off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x30,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_dec v0, v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x30,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x30,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec v0, v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x30,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x30,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], s0    ; encoding: [0x00,0x00,0x30,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x30,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x30,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x30,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x30,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x30,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec v0, off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x32,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x32,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x80,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x80,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x80,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x80,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x80,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x80,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x80,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x80,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x80,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x80,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x80,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x80,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_swap_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x82,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x82,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[252:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0xfc,0x00,0x00]
+0xff,0x0f,0x84,0xe1,0x00,0xfc,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x84,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x84,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x84,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x84,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x84,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], s0    ; encoding: [0x00,0x00,0x84,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x84,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x84,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x84,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x84,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x84,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_cmpswap_x2 v[0:3], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x86,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x86,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x88,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x88,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_add_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x88,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x88,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x88,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x88,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x88,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x88,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x88,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x88,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x88,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x88,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_add_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x8a,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x8a,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x8c,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x8c,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x8c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x8c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x8c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x8c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x8c,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x8c,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x8c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x8c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x8c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_sub_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x8e,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x8e,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x90,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x90,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x90,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x90,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x90,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x90,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x90,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x90,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x90,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x90,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x90,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x90,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smin_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x92,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x92,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x94,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x94,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x94,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x94,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x94,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x94,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x94,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x94,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x94,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x94,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x94,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x94,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umin_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x96,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x96,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x98,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x98,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x98,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x98,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x98,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x98,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x98,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x98,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x98,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x98,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x98,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x98,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_smax_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x9a,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x9a,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0x9c,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0x9c,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0x9c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0x9c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0x9c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0x9c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0x9c,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x9c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0x9c,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0x9c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0x9c,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0x9c,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_umax_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0x9e,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0x9e,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0xa0,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0xa0,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_and_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0xa0,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0xa0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0xa0,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0xa0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0xa0,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0xa0,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0xa0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0xa0,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0xa0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_and_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0xa2,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xa2,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0xa4,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0xa4,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_or_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0xa4,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0xa4,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0xa4,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0xa4,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0xa4,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa4,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0xa4,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0xa4,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0xa4,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0xa4,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_or_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0xa6,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xa6,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0xa8,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0xa8,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0xa8,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0xa8,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0xa8,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0xa8,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0xa8,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0xa8,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0xa8,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0xa8,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0xa8,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0xa8,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_xor_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0xaa,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xaa,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0xac,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0xac,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0xac,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0xac,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0xac,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0xac,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0xac,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0xac,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0xac,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0xac,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0xac,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0xac,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_inc_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0xae,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xae,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[254:255], off, s[0:3], s0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0xfe,0x00,0x00]
+0xff,0x0f,0xb0,0xe1,0x00,0xfe,0x00,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[4:7], s0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x01,0x00]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x01,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[96:99], s0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x18,0x00]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x18,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, ttmp[8:11], s0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x1e,0x00]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x1e,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], s101 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0x65]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0x65
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], m0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0x7c]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0x7c
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], 0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0x80]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0x80
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], -1 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0xc1]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0xc1
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], 0.5 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0xf0]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0xf0
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], -4.0 offset:4095    ; encoding: [0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0xf7]
+0xff,0x0f,0xb0,0xe1,0x00,0x00,0x00,0xf7
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095    ; encoding: [0xff,0x2f,0xb0,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x2f,0xb0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], v0, s[0:3], s0 offen offset:4095    ; encoding: [0xff,0x1f,0xb0,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x1f,0xb0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], s0    ; encoding: [0x00,0x00,0xb0,0xe1,0x00,0x00,0x00,0x00]
+0x00,0x00,0xb0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], s0 offset:7    ; encoding: [0x07,0x00,0xb0,0xe1,0x00,0x00,0x00,0x00]
+0x07,0x00,0xb0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], s0 offset:4095 glc    ; encoding: [0xff,0x4f,0xb0,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x4f,0xb0,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: buffer_atomic_dec_x2 v[0:1], off, s[0:3], s0 offset:4095 slc    ; encoding: [0xff,0x0f,0xb2,0xe1,0x00,0x00,0x00,0x00]
+0xff,0x0f,0xb2,0xe1,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], s0    ; encoding: [0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s101, s[0:1], s0    ; encoding: [0x40,0x19,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x40,0x19,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword flat_scratch_lo, s[0:1], s0    ; encoding: [0x80,0x19,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x19,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword flat_scratch_hi, s[0:1], s0    ; encoding: [0xc0,0x19,0x00,0xc0,0x00,0x00,0x00,0x00]
+0xc0,0x19,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword vcc_lo, s[0:1], s0    ; encoding: [0x80,0x1a,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1a,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword vcc_hi, s[0:1], s0    ; encoding: [0xc0,0x1a,0x00,0xc0,0x00,0x00,0x00,0x00]
+0xc0,0x1a,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword tba_lo, s[0:1], s0    ; encoding: [0x00,0x1b,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x1b,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword tba_hi, s[0:1], s0    ; encoding: [0x40,0x1b,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x40,0x1b,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword tma_lo, s[0:1], s0    ; encoding: [0x80,0x1b,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1b,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword tma_hi, s[0:1], s0    ; encoding: [0xc0,0x1b,0x00,0xc0,0x00,0x00,0x00,0x00]
+0xc0,0x1b,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword ttmp11, s[0:1], s0    ; encoding: [0xc0,0x1e,0x00,0xc0,0x00,0x00,0x00,0x00]
+0xc0,0x1e,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[2:3], s0    ; encoding: [0x01,0x00,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x01,0x00,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[100:101], s0    ; encoding: [0x32,0x00,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x32,0x00,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, flat_scratch, s0    ; encoding: [0x33,0x00,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x33,0x00,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, vcc, s0    ; encoding: [0x35,0x00,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x35,0x00,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, tba, s0    ; encoding: [0x36,0x00,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x36,0x00,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, tma, s0    ; encoding: [0x37,0x00,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x37,0x00,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, ttmp[10:11], s0    ; encoding: [0x3d,0x00,0x00,0xc0,0x00,0x00,0x00,0x00]
+0x3d,0x00,0x00,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], s101    ; encoding: [0x00,0x00,0x00,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], flat_scratch_lo    ; encoding: [0x00,0x00,0x00,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], flat_scratch_hi    ; encoding: [0x00,0x00,0x00,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], vcc_lo    ; encoding: [0x00,0x00,0x00,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], vcc_hi    ; encoding: [0x00,0x00,0x00,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], tba_lo    ; encoding: [0x00,0x00,0x00,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], tba_hi    ; encoding: [0x00,0x00,0x00,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], tma_lo    ; encoding: [0x00,0x00,0x00,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], tma_hi    ; encoding: [0x00,0x00,0x00,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], ttmp11    ; encoding: [0x00,0x00,0x00,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], m0    ; encoding: [0x00,0x00,0x00,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x00,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_load_dword s0, s[0:1], 0x7ffff    ; encoding: [0x00,0x00,0x02,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x02,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_load_dword s0, s[0:1], s0 glc    ; encoding: [0x00,0x00,0x01,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x01,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], s0    ; encoding: [0x00,0x00,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[2:3], s[0:1], s0    ; encoding: [0x80,0x00,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x00,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[100:101], s[0:1], s0    ; encoding: [0x00,0x19,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x19,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 flat_scratch, s[0:1], s0    ; encoding: [0x80,0x19,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x19,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 vcc, s[0:1], s0    ; encoding: [0x80,0x1a,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1a,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 tba, s[0:1], s0    ; encoding: [0x00,0x1b,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x1b,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 tma, s[0:1], s0    ; encoding: [0x80,0x1b,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1b,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 ttmp[10:11], s[0:1], s0    ; encoding: [0x80,0x1e,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1e,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[2:3], s0    ; encoding: [0x01,0x00,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x01,0x00,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[100:101], s0    ; encoding: [0x32,0x00,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x32,0x00,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], flat_scratch, s0    ; encoding: [0x33,0x00,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x33,0x00,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], vcc, s0    ; encoding: [0x35,0x00,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x35,0x00,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], tba, s0    ; encoding: [0x36,0x00,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x36,0x00,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], tma, s0    ; encoding: [0x37,0x00,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x37,0x00,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], ttmp[10:11], s0    ; encoding: [0x3d,0x00,0x04,0xc0,0x00,0x00,0x00,0x00]
+0x3d,0x00,0x04,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], s101    ; encoding: [0x00,0x00,0x04,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], flat_scratch_lo    ; encoding: [0x00,0x00,0x04,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], flat_scratch_hi    ; encoding: [0x00,0x00,0x04,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], vcc_lo    ; encoding: [0x00,0x00,0x04,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], vcc_hi    ; encoding: [0x00,0x00,0x04,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], tba_lo    ; encoding: [0x00,0x00,0x04,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], tba_hi    ; encoding: [0x00,0x00,0x04,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], tma_lo    ; encoding: [0x00,0x00,0x04,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], tma_hi    ; encoding: [0x00,0x00,0x04,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], ttmp11    ; encoding: [0x00,0x00,0x04,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], m0    ; encoding: [0x00,0x00,0x04,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x04,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], 0x7ffff    ; encoding: [0x00,0x00,0x06,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x06,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_load_dwordx2 s[0:1], s[0:1], s0 glc    ; encoding: [0x00,0x00,0x05,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x05,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], s0    ; encoding: [0x00,0x00,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[4:7], s[0:1], s0    ; encoding: [0x00,0x01,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x01,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[96:99], s[0:1], s0    ; encoding: [0x00,0x18,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x18,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 ttmp[8:11], s[0:1], s0    ; encoding: [0x00,0x1e,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x1e,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[2:3], s0    ; encoding: [0x01,0x00,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x01,0x00,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[100:101], s0    ; encoding: [0x32,0x00,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x32,0x00,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], flat_scratch, s0    ; encoding: [0x33,0x00,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x33,0x00,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], vcc, s0    ; encoding: [0x35,0x00,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x35,0x00,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], tba, s0    ; encoding: [0x36,0x00,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x36,0x00,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], tma, s0    ; encoding: [0x37,0x00,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x37,0x00,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], ttmp[10:11], s0    ; encoding: [0x3d,0x00,0x08,0xc0,0x00,0x00,0x00,0x00]
+0x3d,0x00,0x08,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], s101    ; encoding: [0x00,0x00,0x08,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], flat_scratch_lo    ; encoding: [0x00,0x00,0x08,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], flat_scratch_hi    ; encoding: [0x00,0x00,0x08,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], vcc_lo    ; encoding: [0x00,0x00,0x08,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], vcc_hi    ; encoding: [0x00,0x00,0x08,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], tba_lo    ; encoding: [0x00,0x00,0x08,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], tba_hi    ; encoding: [0x00,0x00,0x08,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], tma_lo    ; encoding: [0x00,0x00,0x08,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], tma_hi    ; encoding: [0x00,0x00,0x08,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], ttmp11    ; encoding: [0x00,0x00,0x08,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], m0    ; encoding: [0x00,0x00,0x08,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x08,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], 0x7ffff    ; encoding: [0x00,0x00,0x0a,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x0a,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_load_dwordx4 s[0:3], s[0:1], s0 glc    ; encoding: [0x00,0x00,0x09,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x09,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], s0    ; encoding: [0x00,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[4:11], s[0:1], s0    ; encoding: [0x00,0x01,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x01,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[92:99], s[0:1], s0    ; encoding: [0x00,0x17,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x17,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[2:3], s0    ; encoding: [0x01,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x01,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[100:101], s0    ; encoding: [0x32,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x32,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], flat_scratch, s0    ; encoding: [0x33,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x33,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], vcc, s0    ; encoding: [0x35,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x35,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], tba, s0    ; encoding: [0x36,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x36,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], tma, s0    ; encoding: [0x37,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x37,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], ttmp[10:11], s0    ; encoding: [0x3d,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00]
+0x3d,0x00,0x0c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], s101    ; encoding: [0x00,0x00,0x0c,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], flat_scratch_lo    ; encoding: [0x00,0x00,0x0c,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], flat_scratch_hi    ; encoding: [0x00,0x00,0x0c,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], vcc_lo    ; encoding: [0x00,0x00,0x0c,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], vcc_hi    ; encoding: [0x00,0x00,0x0c,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], tba_lo    ; encoding: [0x00,0x00,0x0c,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], tba_hi    ; encoding: [0x00,0x00,0x0c,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], tma_lo    ; encoding: [0x00,0x00,0x0c,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], tma_hi    ; encoding: [0x00,0x00,0x0c,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], ttmp11    ; encoding: [0x00,0x00,0x0c,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], m0    ; encoding: [0x00,0x00,0x0c,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x0c,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], 0x7ffff    ; encoding: [0x00,0x00,0x0e,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x0e,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_load_dwordx8 s[0:7], s[0:1], s0 glc    ; encoding: [0x00,0x00,0x0d,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x0d,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], s0    ; encoding: [0x00,0x00,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[4:19], s[0:1], s0    ; encoding: [0x00,0x01,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x01,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[84:99], s[0:1], s0    ; encoding: [0x00,0x15,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x15,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[2:3], s0    ; encoding: [0x01,0x00,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x01,0x00,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[100:101], s0    ; encoding: [0x32,0x00,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x32,0x00,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], flat_scratch, s0    ; encoding: [0x33,0x00,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x33,0x00,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], vcc, s0    ; encoding: [0x35,0x00,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x35,0x00,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], tba, s0    ; encoding: [0x36,0x00,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x36,0x00,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], tma, s0    ; encoding: [0x37,0x00,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x37,0x00,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], ttmp[10:11], s0    ; encoding: [0x3d,0x00,0x10,0xc0,0x00,0x00,0x00,0x00]
+0x3d,0x00,0x10,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], s101    ; encoding: [0x00,0x00,0x10,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], flat_scratch_lo    ; encoding: [0x00,0x00,0x10,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], flat_scratch_hi    ; encoding: [0x00,0x00,0x10,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], vcc_lo    ; encoding: [0x00,0x00,0x10,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], vcc_hi    ; encoding: [0x00,0x00,0x10,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], tba_lo    ; encoding: [0x00,0x00,0x10,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], tba_hi    ; encoding: [0x00,0x00,0x10,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], tma_lo    ; encoding: [0x00,0x00,0x10,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], tma_hi    ; encoding: [0x00,0x00,0x10,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], ttmp11    ; encoding: [0x00,0x00,0x10,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], m0    ; encoding: [0x00,0x00,0x10,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x10,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], 0x7ffff    ; encoding: [0x00,0x00,0x12,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x12,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_load_dwordx16 s[0:15], s[0:1], s0 glc    ; encoding: [0x00,0x00,0x11,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x11,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], s0    ; encoding: [0x00,0x00,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s101, s[0:3], s0    ; encoding: [0x40,0x19,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x40,0x19,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword flat_scratch_lo, s[0:3], s0    ; encoding: [0x80,0x19,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x19,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword flat_scratch_hi, s[0:3], s0    ; encoding: [0xc0,0x19,0x20,0xc0,0x00,0x00,0x00,0x00]
+0xc0,0x19,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword vcc_lo, s[0:3], s0    ; encoding: [0x80,0x1a,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1a,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword vcc_hi, s[0:3], s0    ; encoding: [0xc0,0x1a,0x20,0xc0,0x00,0x00,0x00,0x00]
+0xc0,0x1a,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword tba_lo, s[0:3], s0    ; encoding: [0x00,0x1b,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x1b,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword tba_hi, s[0:3], s0    ; encoding: [0x40,0x1b,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x40,0x1b,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword tma_lo, s[0:3], s0    ; encoding: [0x80,0x1b,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1b,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword tma_hi, s[0:3], s0    ; encoding: [0xc0,0x1b,0x20,0xc0,0x00,0x00,0x00,0x00]
+0xc0,0x1b,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword ttmp11, s[0:3], s0    ; encoding: [0xc0,0x1e,0x20,0xc0,0x00,0x00,0x00,0x00]
+0xc0,0x1e,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[4:7], s0    ; encoding: [0x02,0x00,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x02,0x00,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[96:99], s0    ; encoding: [0x30,0x00,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x30,0x00,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, ttmp[8:11], s0    ; encoding: [0x3c,0x00,0x20,0xc0,0x00,0x00,0x00,0x00]
+0x3c,0x00,0x20,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], s101    ; encoding: [0x00,0x00,0x20,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], flat_scratch_lo    ; encoding: [0x00,0x00,0x20,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], flat_scratch_hi    ; encoding: [0x00,0x00,0x20,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], vcc_lo    ; encoding: [0x00,0x00,0x20,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], vcc_hi    ; encoding: [0x00,0x00,0x20,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], tba_lo    ; encoding: [0x00,0x00,0x20,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], tba_hi    ; encoding: [0x00,0x00,0x20,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], tma_lo    ; encoding: [0x00,0x00,0x20,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], tma_hi    ; encoding: [0x00,0x00,0x20,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], ttmp11    ; encoding: [0x00,0x00,0x20,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], m0    ; encoding: [0x00,0x00,0x20,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x20,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], 0x7ffff    ; encoding: [0x00,0x00,0x22,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x22,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_buffer_load_dword s0, s[0:3], s0 glc    ; encoding: [0x00,0x00,0x21,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x21,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], s0    ; encoding: [0x00,0x00,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[2:3], s[0:3], s0    ; encoding: [0x80,0x00,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x00,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[100:101], s[0:3], s0    ; encoding: [0x00,0x19,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x19,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 flat_scratch, s[0:3], s0    ; encoding: [0x80,0x19,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x19,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 vcc, s[0:3], s0    ; encoding: [0x80,0x1a,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1a,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 tba, s[0:3], s0    ; encoding: [0x00,0x1b,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x1b,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 tma, s[0:3], s0    ; encoding: [0x80,0x1b,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1b,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 ttmp[10:11], s[0:3], s0    ; encoding: [0x80,0x1e,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1e,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[4:7], s0    ; encoding: [0x02,0x00,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x02,0x00,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[96:99], s0    ; encoding: [0x30,0x00,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x30,0x00,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], ttmp[8:11], s0    ; encoding: [0x3c,0x00,0x24,0xc0,0x00,0x00,0x00,0x00]
+0x3c,0x00,0x24,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], s101    ; encoding: [0x00,0x00,0x24,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], flat_scratch_lo    ; encoding: [0x00,0x00,0x24,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], flat_scratch_hi    ; encoding: [0x00,0x00,0x24,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], vcc_lo    ; encoding: [0x00,0x00,0x24,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], vcc_hi    ; encoding: [0x00,0x00,0x24,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], tba_lo    ; encoding: [0x00,0x00,0x24,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], tba_hi    ; encoding: [0x00,0x00,0x24,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], tma_lo    ; encoding: [0x00,0x00,0x24,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], tma_hi    ; encoding: [0x00,0x00,0x24,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], ttmp11    ; encoding: [0x00,0x00,0x24,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], m0    ; encoding: [0x00,0x00,0x24,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x24,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], 0x7ffff    ; encoding: [0x00,0x00,0x26,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x26,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_buffer_load_dwordx2 s[0:1], s[0:3], s0 glc    ; encoding: [0x00,0x00,0x25,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x25,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], s0    ; encoding: [0x00,0x00,0x28,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[4:7], s[0:3], s0    ; encoding: [0x00,0x01,0x28,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x01,0x28,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[96:99], s[0:3], s0    ; encoding: [0x00,0x18,0x28,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x18,0x28,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 ttmp[8:11], s[0:3], s0    ; encoding: [0x00,0x1e,0x28,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x1e,0x28,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[4:7], s0    ; encoding: [0x02,0x00,0x28,0xc0,0x00,0x00,0x00,0x00]
+0x02,0x00,0x28,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[96:99], s0    ; encoding: [0x30,0x00,0x28,0xc0,0x00,0x00,0x00,0x00]
+0x30,0x00,0x28,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], ttmp[8:11], s0    ; encoding: [0x3c,0x00,0x28,0xc0,0x00,0x00,0x00,0x00]
+0x3c,0x00,0x28,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], s101    ; encoding: [0x00,0x00,0x28,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], flat_scratch_lo    ; encoding: [0x00,0x00,0x28,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], flat_scratch_hi    ; encoding: [0x00,0x00,0x28,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], vcc_lo    ; encoding: [0x00,0x00,0x28,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], vcc_hi    ; encoding: [0x00,0x00,0x28,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], tba_lo    ; encoding: [0x00,0x00,0x28,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], tba_hi    ; encoding: [0x00,0x00,0x28,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], tma_lo    ; encoding: [0x00,0x00,0x28,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], tma_hi    ; encoding: [0x00,0x00,0x28,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], ttmp11    ; encoding: [0x00,0x00,0x28,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], m0    ; encoding: [0x00,0x00,0x28,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x28,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], 0x7ffff    ; encoding: [0x00,0x00,0x2a,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x2a,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_buffer_load_dwordx4 s[0:3], s[0:3], s0 glc    ; encoding: [0x00,0x00,0x29,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x29,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], s0    ; encoding: [0x00,0x00,0x2c,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[4:11], s[0:3], s0    ; encoding: [0x00,0x01,0x2c,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x01,0x2c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[92:99], s[0:3], s0    ; encoding: [0x00,0x17,0x2c,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x17,0x2c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[4:7], s0    ; encoding: [0x02,0x00,0x2c,0xc0,0x00,0x00,0x00,0x00]
+0x02,0x00,0x2c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[96:99], s0    ; encoding: [0x30,0x00,0x2c,0xc0,0x00,0x00,0x00,0x00]
+0x30,0x00,0x2c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], ttmp[8:11], s0    ; encoding: [0x3c,0x00,0x2c,0xc0,0x00,0x00,0x00,0x00]
+0x3c,0x00,0x2c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], s101    ; encoding: [0x00,0x00,0x2c,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], flat_scratch_lo    ; encoding: [0x00,0x00,0x2c,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], flat_scratch_hi    ; encoding: [0x00,0x00,0x2c,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], vcc_lo    ; encoding: [0x00,0x00,0x2c,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], vcc_hi    ; encoding: [0x00,0x00,0x2c,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], tba_lo    ; encoding: [0x00,0x00,0x2c,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], tba_hi    ; encoding: [0x00,0x00,0x2c,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], tma_lo    ; encoding: [0x00,0x00,0x2c,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], tma_hi    ; encoding: [0x00,0x00,0x2c,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], ttmp11    ; encoding: [0x00,0x00,0x2c,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], m0    ; encoding: [0x00,0x00,0x2c,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x2c,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], 0x7ffff    ; encoding: [0x00,0x00,0x2e,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x2e,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_buffer_load_dwordx8 s[0:7], s[0:3], s0 glc    ; encoding: [0x00,0x00,0x2d,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x2d,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], s0    ; encoding: [0x00,0x00,0x30,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[4:19], s[0:3], s0    ; encoding: [0x00,0x01,0x30,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x01,0x30,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[84:99], s[0:3], s0    ; encoding: [0x00,0x15,0x30,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x15,0x30,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[4:7], s0    ; encoding: [0x02,0x00,0x30,0xc0,0x00,0x00,0x00,0x00]
+0x02,0x00,0x30,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[96:99], s0    ; encoding: [0x30,0x00,0x30,0xc0,0x00,0x00,0x00,0x00]
+0x30,0x00,0x30,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], ttmp[8:11], s0    ; encoding: [0x3c,0x00,0x30,0xc0,0x00,0x00,0x00,0x00]
+0x3c,0x00,0x30,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], s101    ; encoding: [0x00,0x00,0x30,0xc0,0x65,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x65,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], flat_scratch_lo    ; encoding: [0x00,0x00,0x30,0xc0,0x66,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x66,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], flat_scratch_hi    ; encoding: [0x00,0x00,0x30,0xc0,0x67,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x67,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], vcc_lo    ; encoding: [0x00,0x00,0x30,0xc0,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x6a,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], vcc_hi    ; encoding: [0x00,0x00,0x30,0xc0,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x6b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], tba_lo    ; encoding: [0x00,0x00,0x30,0xc0,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x6c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], tba_hi    ; encoding: [0x00,0x00,0x30,0xc0,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x6d,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], tma_lo    ; encoding: [0x00,0x00,0x30,0xc0,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x6e,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], tma_hi    ; encoding: [0x00,0x00,0x30,0xc0,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x6f,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], ttmp11    ; encoding: [0x00,0x00,0x30,0xc0,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x7b,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], m0    ; encoding: [0x00,0x00,0x30,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x30,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], 0x7ffff    ; encoding: [0x00,0x00,0x32,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x32,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_buffer_load_dwordx16 s[0:15], s[0:3], s0 glc    ; encoding: [0x00,0x00,0x31,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x31,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_store_dword s0, s[0:1], m0    ; encoding: [0x00,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword s101, s[0:1], m0    ; encoding: [0x40,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x40,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword flat_scratch_lo, s[0:1], m0    ; encoding: [0x80,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword flat_scratch_hi, s[0:1], m0    ; encoding: [0xc0,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0xc0,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword vcc_lo, s[0:1], m0    ; encoding: [0x80,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword vcc_hi, s[0:1], m0    ; encoding: [0xc0,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0xc0,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword tba_lo, s[0:1], m0    ; encoding: [0x00,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword tba_hi, s[0:1], m0    ; encoding: [0x40,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x40,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword tma_lo, s[0:1], m0    ; encoding: [0x80,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword tma_hi, s[0:1], m0    ; encoding: [0xc0,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0xc0,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword ttmp11, s[0:1], m0    ; encoding: [0xc0,0x1e,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0xc0,0x1e,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword s0, s[2:3], m0    ; encoding: [0x01,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x01,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword s0, s[100:101], m0    ; encoding: [0x32,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x32,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword s0, flat_scratch, m0    ; encoding: [0x33,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x33,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword s0, vcc, m0    ; encoding: [0x35,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x35,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword s0, tba, m0    ; encoding: [0x36,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x36,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword s0, tma, m0    ; encoding: [0x37,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x37,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword s0, ttmp[10:11], m0    ; encoding: [0x3d,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]
+0x3d,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dword s0, s[0:1], 0x7ffff    ; encoding: [0x00,0x00,0x42,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x42,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_store_dword s0, s[0:1], m0 glc    ; encoding: [0x00,0x00,0x41,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x41,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], s[0:1], m0    ; encoding: [0x00,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[2:3], s[0:1], m0    ; encoding: [0x80,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[100:101], s[0:1], m0    ; encoding: [0x00,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 flat_scratch, s[0:1], m0    ; encoding: [0x80,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 vcc, s[0:1], m0    ; encoding: [0x80,0x1a,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1a,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 tba, s[0:1], m0    ; encoding: [0x00,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 tma, s[0:1], m0    ; encoding: [0x80,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 ttmp[10:11], s[0:1], m0    ; encoding: [0x80,0x1e,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1e,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], s[2:3], m0    ; encoding: [0x01,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x01,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], s[100:101], m0    ; encoding: [0x32,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x32,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], flat_scratch, m0    ; encoding: [0x33,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x33,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], vcc, m0    ; encoding: [0x35,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x35,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], tba, m0    ; encoding: [0x36,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x36,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], tma, m0    ; encoding: [0x37,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x37,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], ttmp[10:11], m0    ; encoding: [0x3d,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]
+0x3d,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], s[0:1], 0x7ffff    ; encoding: [0x00,0x00,0x46,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x46,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_store_dwordx2 s[0:1], s[0:1], m0 glc    ; encoding: [0x00,0x00,0x45,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x45,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], s[0:1], m0    ; encoding: [0x00,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[4:7], s[0:1], m0    ; encoding: [0x00,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[96:99], s[0:1], m0    ; encoding: [0x00,0x18,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x18,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 ttmp[8:11], s[0:1], m0    ; encoding: [0x00,0x1e,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x1e,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], s[2:3], m0    ; encoding: [0x01,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x01,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], s[100:101], m0    ; encoding: [0x32,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x32,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], flat_scratch, m0    ; encoding: [0x33,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x33,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], vcc, m0    ; encoding: [0x35,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x35,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], tba, m0    ; encoding: [0x36,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x36,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], tma, m0    ; encoding: [0x37,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x37,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], ttmp[10:11], m0    ; encoding: [0x3d,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00]
+0x3d,0x00,0x48,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], s[0:1], 0x7ffff    ; encoding: [0x00,0x00,0x4a,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x4a,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_store_dwordx4 s[0:3], s[0:1], m0 glc    ; encoding: [0x00,0x00,0x49,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x49,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword s0, s[0:3], m0    ; encoding: [0x00,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword s101, s[0:3], m0    ; encoding: [0x40,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x40,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword flat_scratch_lo, s[0:3], m0    ; encoding: [0x80,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword flat_scratch_hi, s[0:3], m0    ; encoding: [0xc0,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0xc0,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword vcc_lo, s[0:3], m0    ; encoding: [0x80,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword vcc_hi, s[0:3], m0    ; encoding: [0xc0,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0xc0,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword tba_lo, s[0:3], m0    ; encoding: [0x00,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword tba_hi, s[0:3], m0    ; encoding: [0x40,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x40,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword tma_lo, s[0:3], m0    ; encoding: [0x80,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword tma_hi, s[0:3], m0    ; encoding: [0xc0,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0xc0,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword ttmp11, s[0:3], m0    ; encoding: [0xc0,0x1e,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0xc0,0x1e,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword s0, s[4:7], m0    ; encoding: [0x02,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword s0, s[96:99], m0    ; encoding: [0x30,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x30,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword s0, ttmp[8:11], m0    ; encoding: [0x3c,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]
+0x3c,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dword s0, s[0:3], 0x7ffff    ; encoding: [0x00,0x00,0x62,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x62,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_buffer_store_dword s0, s[0:3], m0 glc    ; encoding: [0x00,0x00,0x61,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x61,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 s[0:1], s[0:3], m0    ; encoding: [0x00,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 s[2:3], s[0:3], m0    ; encoding: [0x80,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 s[100:101], s[0:3], m0    ; encoding: [0x00,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 flat_scratch, s[0:3], m0    ; encoding: [0x80,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 vcc, s[0:3], m0    ; encoding: [0x80,0x1a,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1a,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 tba, s[0:3], m0    ; encoding: [0x00,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 tma, s[0:3], m0    ; encoding: [0x80,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 ttmp[10:11], s[0:3], m0    ; encoding: [0x80,0x1e,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x80,0x1e,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 s[0:1], s[4:7], m0    ; encoding: [0x02,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 s[0:1], s[96:99], m0    ; encoding: [0x30,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x30,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 s[0:1], ttmp[8:11], m0    ; encoding: [0x3c,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]
+0x3c,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx2 s[0:1], s[0:3], 0x7ffff    ; encoding: [0x00,0x00,0x66,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x66,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_buffer_store_dwordx2 s[0:1], s[0:3], m0 glc    ; encoding: [0x00,0x00,0x65,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x65,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx4 s[0:3], s[0:3], m0    ; encoding: [0x00,0x00,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x68,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx4 s[4:7], s[0:3], m0    ; encoding: [0x00,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx4 s[96:99], s[0:3], m0    ; encoding: [0x00,0x18,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x18,0x68,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx4 ttmp[8:11], s[0:3], m0    ; encoding: [0x00,0x1e,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x1e,0x68,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx4 s[0:3], s[4:7], m0    ; encoding: [0x02,0x00,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x02,0x00,0x68,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx4 s[0:3], s[96:99], m0    ; encoding: [0x30,0x00,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x30,0x00,0x68,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx4 s[0:3], ttmp[8:11], m0    ; encoding: [0x3c,0x00,0x68,0xc0,0x7c,0x00,0x00,0x00]
+0x3c,0x00,0x68,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_buffer_store_dwordx4 s[0:3], s[0:3], 0x7ffff    ; encoding: [0x00,0x00,0x6a,0xc0,0xff,0xff,0x07,0x00]
+0x00,0x00,0x6a,0xc0,0xff,0xff,0x07,0x00
+
+# CHECK: s_buffer_store_dwordx4 s[0:3], s[0:3], m0 glc    ; encoding: [0x00,0x00,0x69,0xc0,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x69,0xc0,0x7c,0x00,0x00,0x00
+
+# CHECK: s_dcache_inv    ; encoding: [0x00,0x00,0x80,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x80,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_dcache_wb    ; encoding: [0x00,0x00,0x84,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x84,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_dcache_inv_vol    ; encoding: [0x00,0x00,0x88,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x88,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_dcache_wb_vol    ; encoding: [0x00,0x00,0x8c,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x8c,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memtime s[0:1]    ; encoding: [0x00,0x00,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x90,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memtime s[2:3]    ; encoding: [0x80,0x00,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x00,0x90,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memtime s[100:101]    ; encoding: [0x00,0x19,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x19,0x90,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memtime flat_scratch    ; encoding: [0x80,0x19,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x19,0x90,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memtime vcc    ; encoding: [0x80,0x1a,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1a,0x90,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memtime tba    ; encoding: [0x00,0x1b,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x1b,0x90,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memtime tma    ; encoding: [0x80,0x1b,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1b,0x90,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memtime ttmp[10:11]    ; encoding: [0x80,0x1e,0x90,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1e,0x90,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memrealtime s[0:1]    ; encoding: [0x00,0x00,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x00,0x94,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memrealtime s[2:3]    ; encoding: [0x80,0x00,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x00,0x94,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memrealtime s[100:101]    ; encoding: [0x00,0x19,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x19,0x94,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memrealtime flat_scratch    ; encoding: [0x80,0x19,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x19,0x94,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memrealtime vcc    ; encoding: [0x80,0x1a,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1a,0x94,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memrealtime tba    ; encoding: [0x00,0x1b,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x00,0x1b,0x94,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memrealtime tma    ; encoding: [0x80,0x1b,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1b,0x94,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_memrealtime ttmp[10:11]    ; encoding: [0x80,0x1e,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x80,0x1e,0x94,0xc0,0x00,0x00,0x00,0x00
+
+# CHECK: s_mov_b32 s0, s0    ; encoding: [0x00,0x00,0x80,0xbe]
+0x00,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s101, s0    ; encoding: [0x00,0x00,0xe5,0xbe]
+0x00,0x00,0xe5,0xbe
+
+# CHECK: s_mov_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x00,0xe6,0xbe]
+0x00,0x00,0xe6,0xbe
+
+# CHECK: s_mov_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x00,0xe7,0xbe]
+0x00,0x00,0xe7,0xbe
+
+# CHECK: s_mov_b32 vcc_lo, s0    ; encoding: [0x00,0x00,0xea,0xbe]
+0x00,0x00,0xea,0xbe
+
+# CHECK: s_mov_b32 vcc_hi, s0    ; encoding: [0x00,0x00,0xeb,0xbe]
+0x00,0x00,0xeb,0xbe
+
+# CHECK: s_mov_b32 tba_lo, s0    ; encoding: [0x00,0x00,0xec,0xbe]
+0x00,0x00,0xec,0xbe
+
+# CHECK: s_mov_b32 tba_hi, s0    ; encoding: [0x00,0x00,0xed,0xbe]
+0x00,0x00,0xed,0xbe
+
+# CHECK: s_mov_b32 tma_lo, s0    ; encoding: [0x00,0x00,0xee,0xbe]
+0x00,0x00,0xee,0xbe
+
+# CHECK: s_mov_b32 tma_hi, s0    ; encoding: [0x00,0x00,0xef,0xbe]
+0x00,0x00,0xef,0xbe
+
+# CHECK: s_mov_b32 ttmp11, s0    ; encoding: [0x00,0x00,0xfb,0xbe]
+0x00,0x00,0xfb,0xbe
+
+# CHECK: s_mov_b32 m0, s0    ; encoding: [0x00,0x00,0xfc,0xbe]
+0x00,0x00,0xfc,0xbe
+
+# CHECK: s_mov_b32 exec_lo, s0    ; encoding: [0x00,0x00,0xfe,0xbe]
+0x00,0x00,0xfe,0xbe
+
+# CHECK: s_mov_b32 exec_hi, s0    ; encoding: [0x00,0x00,0xff,0xbe]
+0x00,0x00,0xff,0xbe
+
+# CHECK: s_mov_b32 s0, s101    ; encoding: [0x65,0x00,0x80,0xbe]
+0x65,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x00,0x80,0xbe]
+0x66,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x00,0x80,0xbe]
+0x67,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, vcc_lo    ; encoding: [0x6a,0x00,0x80,0xbe]
+0x6a,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, vcc_hi    ; encoding: [0x6b,0x00,0x80,0xbe]
+0x6b,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, tba_lo    ; encoding: [0x6c,0x00,0x80,0xbe]
+0x6c,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, tba_hi    ; encoding: [0x6d,0x00,0x80,0xbe]
+0x6d,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, tma_lo    ; encoding: [0x6e,0x00,0x80,0xbe]
+0x6e,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, tma_hi    ; encoding: [0x6f,0x00,0x80,0xbe]
+0x6f,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, ttmp11    ; encoding: [0x7b,0x00,0x80,0xbe]
+0x7b,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, m0    ; encoding: [0x7c,0x00,0x80,0xbe]
+0x7c,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, exec_lo    ; encoding: [0x7e,0x00,0x80,0xbe]
+0x7e,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, exec_hi    ; encoding: [0x7f,0x00,0x80,0xbe]
+0x7f,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, 0    ; encoding: [0x80,0x00,0x80,0xbe]
+0x80,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, -1    ; encoding: [0xc1,0x00,0x80,0xbe]
+0xc1,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, 0.5    ; encoding: [0xf0,0x00,0x80,0xbe]
+0xf0,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, -4.0    ; encoding: [0xf7,0x00,0x80,0xbe]
+0xf7,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, scc    ; encoding: [0xfd,0x00,0x80,0xbe]
+0xfd,0x00,0x80,0xbe
+
+# CHECK: s_mov_b32 s0, 0xaf123456    ; encoding: [0xff,0x00,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x00,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_mov_b32 s0, 0x3f717273    ; encoding: [0xff,0x00,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x00,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_mov_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x01,0x80,0xbe]
+0x00,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x01,0x82,0xbe]
+0x00,0x01,0x82,0xbe
+
+# CHECK: s_mov_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x01,0xe4,0xbe]
+0x00,0x01,0xe4,0xbe
+
+# CHECK: s_mov_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x01,0xe6,0xbe]
+0x00,0x01,0xe6,0xbe
+
+# CHECK: s_mov_b64 vcc, s[0:1]    ; encoding: [0x00,0x01,0xea,0xbe]
+0x00,0x01,0xea,0xbe
+
+# CHECK: s_mov_b64 tba, s[0:1]    ; encoding: [0x00,0x01,0xec,0xbe]
+0x00,0x01,0xec,0xbe
+
+# CHECK: s_mov_b64 tma, s[0:1]    ; encoding: [0x00,0x01,0xee,0xbe]
+0x00,0x01,0xee,0xbe
+
+# CHECK: s_mov_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x01,0xfa,0xbe]
+0x00,0x01,0xfa,0xbe
+
+# CHECK: s_mov_b64 exec, s[0:1]    ; encoding: [0x00,0x01,0xfe,0xbe]
+0x00,0x01,0xfe,0xbe
+
+# CHECK: s_mov_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x01,0x80,0xbe]
+0x02,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x01,0x80,0xbe]
+0x64,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x01,0x80,0xbe]
+0x66,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], vcc    ; encoding: [0x6a,0x01,0x80,0xbe]
+0x6a,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], tba    ; encoding: [0x6c,0x01,0x80,0xbe]
+0x6c,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], tma    ; encoding: [0x6e,0x01,0x80,0xbe]
+0x6e,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x01,0x80,0xbe]
+0x7a,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], exec    ; encoding: [0x7e,0x01,0x80,0xbe]
+0x7e,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], 0    ; encoding: [0x80,0x01,0x80,0xbe]
+0x80,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], -1    ; encoding: [0xc1,0x01,0x80,0xbe]
+0xc1,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], 0.5    ; encoding: [0xf0,0x01,0x80,0xbe]
+0xf0,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], -4.0    ; encoding: [0xf7,0x01,0x80,0xbe]
+0xf7,0x01,0x80,0xbe
+
+# CHECK: s_mov_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x01,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x01,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_mov_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x01,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x01,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmov_b32 s0, s0    ; encoding: [0x00,0x02,0x80,0xbe]
+0x00,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s101, s0    ; encoding: [0x00,0x02,0xe5,0xbe]
+0x00,0x02,0xe5,0xbe
+
+# CHECK: s_cmov_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x02,0xe6,0xbe]
+0x00,0x02,0xe6,0xbe
+
+# CHECK: s_cmov_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x02,0xe7,0xbe]
+0x00,0x02,0xe7,0xbe
+
+# CHECK: s_cmov_b32 vcc_lo, s0    ; encoding: [0x00,0x02,0xea,0xbe]
+0x00,0x02,0xea,0xbe
+
+# CHECK: s_cmov_b32 vcc_hi, s0    ; encoding: [0x00,0x02,0xeb,0xbe]
+0x00,0x02,0xeb,0xbe
+
+# CHECK: s_cmov_b32 tba_lo, s0    ; encoding: [0x00,0x02,0xec,0xbe]
+0x00,0x02,0xec,0xbe
+
+# CHECK: s_cmov_b32 tba_hi, s0    ; encoding: [0x00,0x02,0xed,0xbe]
+0x00,0x02,0xed,0xbe
+
+# CHECK: s_cmov_b32 tma_lo, s0    ; encoding: [0x00,0x02,0xee,0xbe]
+0x00,0x02,0xee,0xbe
+
+# CHECK: s_cmov_b32 tma_hi, s0    ; encoding: [0x00,0x02,0xef,0xbe]
+0x00,0x02,0xef,0xbe
+
+# CHECK: s_cmov_b32 ttmp11, s0    ; encoding: [0x00,0x02,0xfb,0xbe]
+0x00,0x02,0xfb,0xbe
+
+# CHECK: s_cmov_b32 m0, s0    ; encoding: [0x00,0x02,0xfc,0xbe]
+0x00,0x02,0xfc,0xbe
+
+# CHECK: s_cmov_b32 exec_lo, s0    ; encoding: [0x00,0x02,0xfe,0xbe]
+0x00,0x02,0xfe,0xbe
+
+# CHECK: s_cmov_b32 exec_hi, s0    ; encoding: [0x00,0x02,0xff,0xbe]
+0x00,0x02,0xff,0xbe
+
+# CHECK: s_cmov_b32 s0, s101    ; encoding: [0x65,0x02,0x80,0xbe]
+0x65,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x02,0x80,0xbe]
+0x66,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x02,0x80,0xbe]
+0x67,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, vcc_lo    ; encoding: [0x6a,0x02,0x80,0xbe]
+0x6a,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, vcc_hi    ; encoding: [0x6b,0x02,0x80,0xbe]
+0x6b,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, tba_lo    ; encoding: [0x6c,0x02,0x80,0xbe]
+0x6c,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, tba_hi    ; encoding: [0x6d,0x02,0x80,0xbe]
+0x6d,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, tma_lo    ; encoding: [0x6e,0x02,0x80,0xbe]
+0x6e,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, tma_hi    ; encoding: [0x6f,0x02,0x80,0xbe]
+0x6f,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, ttmp11    ; encoding: [0x7b,0x02,0x80,0xbe]
+0x7b,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, m0    ; encoding: [0x7c,0x02,0x80,0xbe]
+0x7c,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, exec_lo    ; encoding: [0x7e,0x02,0x80,0xbe]
+0x7e,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, exec_hi    ; encoding: [0x7f,0x02,0x80,0xbe]
+0x7f,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, 0    ; encoding: [0x80,0x02,0x80,0xbe]
+0x80,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, -1    ; encoding: [0xc1,0x02,0x80,0xbe]
+0xc1,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, 0.5    ; encoding: [0xf0,0x02,0x80,0xbe]
+0xf0,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, -4.0    ; encoding: [0xf7,0x02,0x80,0xbe]
+0xf7,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, scc    ; encoding: [0xfd,0x02,0x80,0xbe]
+0xfd,0x02,0x80,0xbe
+
+# CHECK: s_cmov_b32 s0, 0xaf123456    ; encoding: [0xff,0x02,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x02,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmov_b32 s0, 0x3f717273    ; encoding: [0xff,0x02,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x02,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmov_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x03,0x80,0xbe]
+0x00,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x03,0x82,0xbe]
+0x00,0x03,0x82,0xbe
+
+# CHECK: s_cmov_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x03,0xe4,0xbe]
+0x00,0x03,0xe4,0xbe
+
+# CHECK: s_cmov_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x03,0xe6,0xbe]
+0x00,0x03,0xe6,0xbe
+
+# CHECK: s_cmov_b64 vcc, s[0:1]    ; encoding: [0x00,0x03,0xea,0xbe]
+0x00,0x03,0xea,0xbe
+
+# CHECK: s_cmov_b64 tba, s[0:1]    ; encoding: [0x00,0x03,0xec,0xbe]
+0x00,0x03,0xec,0xbe
+
+# CHECK: s_cmov_b64 tma, s[0:1]    ; encoding: [0x00,0x03,0xee,0xbe]
+0x00,0x03,0xee,0xbe
+
+# CHECK: s_cmov_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x03,0xfa,0xbe]
+0x00,0x03,0xfa,0xbe
+
+# CHECK: s_cmov_b64 exec, s[0:1]    ; encoding: [0x00,0x03,0xfe,0xbe]
+0x00,0x03,0xfe,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x03,0x80,0xbe]
+0x02,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x03,0x80,0xbe]
+0x64,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x03,0x80,0xbe]
+0x66,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], vcc    ; encoding: [0x6a,0x03,0x80,0xbe]
+0x6a,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], tba    ; encoding: [0x6c,0x03,0x80,0xbe]
+0x6c,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], tma    ; encoding: [0x6e,0x03,0x80,0xbe]
+0x6e,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x03,0x80,0xbe]
+0x7a,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], exec    ; encoding: [0x7e,0x03,0x80,0xbe]
+0x7e,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], 0    ; encoding: [0x80,0x03,0x80,0xbe]
+0x80,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], -1    ; encoding: [0xc1,0x03,0x80,0xbe]
+0xc1,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], 0.5    ; encoding: [0xf0,0x03,0x80,0xbe]
+0xf0,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], -4.0    ; encoding: [0xf7,0x03,0x80,0xbe]
+0xf7,0x03,0x80,0xbe
+
+# CHECK: s_cmov_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x03,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x03,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmov_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x03,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x03,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_not_b32 s0, s0    ; encoding: [0x00,0x04,0x80,0xbe]
+0x00,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s101, s0    ; encoding: [0x00,0x04,0xe5,0xbe]
+0x00,0x04,0xe5,0xbe
+
+# CHECK: s_not_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x04,0xe6,0xbe]
+0x00,0x04,0xe6,0xbe
+
+# CHECK: s_not_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x04,0xe7,0xbe]
+0x00,0x04,0xe7,0xbe
+
+# CHECK: s_not_b32 vcc_lo, s0    ; encoding: [0x00,0x04,0xea,0xbe]
+0x00,0x04,0xea,0xbe
+
+# CHECK: s_not_b32 vcc_hi, s0    ; encoding: [0x00,0x04,0xeb,0xbe]
+0x00,0x04,0xeb,0xbe
+
+# CHECK: s_not_b32 tba_lo, s0    ; encoding: [0x00,0x04,0xec,0xbe]
+0x00,0x04,0xec,0xbe
+
+# CHECK: s_not_b32 tba_hi, s0    ; encoding: [0x00,0x04,0xed,0xbe]
+0x00,0x04,0xed,0xbe
+
+# CHECK: s_not_b32 tma_lo, s0    ; encoding: [0x00,0x04,0xee,0xbe]
+0x00,0x04,0xee,0xbe
+
+# CHECK: s_not_b32 tma_hi, s0    ; encoding: [0x00,0x04,0xef,0xbe]
+0x00,0x04,0xef,0xbe
+
+# CHECK: s_not_b32 ttmp11, s0    ; encoding: [0x00,0x04,0xfb,0xbe]
+0x00,0x04,0xfb,0xbe
+
+# CHECK: s_not_b32 m0, s0    ; encoding: [0x00,0x04,0xfc,0xbe]
+0x00,0x04,0xfc,0xbe
+
+# CHECK: s_not_b32 exec_lo, s0    ; encoding: [0x00,0x04,0xfe,0xbe]
+0x00,0x04,0xfe,0xbe
+
+# CHECK: s_not_b32 exec_hi, s0    ; encoding: [0x00,0x04,0xff,0xbe]
+0x00,0x04,0xff,0xbe
+
+# CHECK: s_not_b32 s0, s101    ; encoding: [0x65,0x04,0x80,0xbe]
+0x65,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x04,0x80,0xbe]
+0x66,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x04,0x80,0xbe]
+0x67,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, vcc_lo    ; encoding: [0x6a,0x04,0x80,0xbe]
+0x6a,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, vcc_hi    ; encoding: [0x6b,0x04,0x80,0xbe]
+0x6b,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, tba_lo    ; encoding: [0x6c,0x04,0x80,0xbe]
+0x6c,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, tba_hi    ; encoding: [0x6d,0x04,0x80,0xbe]
+0x6d,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, tma_lo    ; encoding: [0x6e,0x04,0x80,0xbe]
+0x6e,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, tma_hi    ; encoding: [0x6f,0x04,0x80,0xbe]
+0x6f,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, ttmp11    ; encoding: [0x7b,0x04,0x80,0xbe]
+0x7b,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, m0    ; encoding: [0x7c,0x04,0x80,0xbe]
+0x7c,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, exec_lo    ; encoding: [0x7e,0x04,0x80,0xbe]
+0x7e,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, exec_hi    ; encoding: [0x7f,0x04,0x80,0xbe]
+0x7f,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, 0    ; encoding: [0x80,0x04,0x80,0xbe]
+0x80,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, -1    ; encoding: [0xc1,0x04,0x80,0xbe]
+0xc1,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, 0.5    ; encoding: [0xf0,0x04,0x80,0xbe]
+0xf0,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, -4.0    ; encoding: [0xf7,0x04,0x80,0xbe]
+0xf7,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, scc    ; encoding: [0xfd,0x04,0x80,0xbe]
+0xfd,0x04,0x80,0xbe
+
+# CHECK: s_not_b32 s0, 0xaf123456    ; encoding: [0xff,0x04,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x04,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_not_b32 s0, 0x3f717273    ; encoding: [0xff,0x04,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x04,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_not_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x05,0x80,0xbe]
+0x00,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x05,0x82,0xbe]
+0x00,0x05,0x82,0xbe
+
+# CHECK: s_not_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x05,0xe4,0xbe]
+0x00,0x05,0xe4,0xbe
+
+# CHECK: s_not_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x05,0xe6,0xbe]
+0x00,0x05,0xe6,0xbe
+
+# CHECK: s_not_b64 vcc, s[0:1]    ; encoding: [0x00,0x05,0xea,0xbe]
+0x00,0x05,0xea,0xbe
+
+# CHECK: s_not_b64 tba, s[0:1]    ; encoding: [0x00,0x05,0xec,0xbe]
+0x00,0x05,0xec,0xbe
+
+# CHECK: s_not_b64 tma, s[0:1]    ; encoding: [0x00,0x05,0xee,0xbe]
+0x00,0x05,0xee,0xbe
+
+# CHECK: s_not_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x05,0xfa,0xbe]
+0x00,0x05,0xfa,0xbe
+
+# CHECK: s_not_b64 exec, s[0:1]    ; encoding: [0x00,0x05,0xfe,0xbe]
+0x00,0x05,0xfe,0xbe
+
+# CHECK: s_not_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x05,0x80,0xbe]
+0x02,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x05,0x80,0xbe]
+0x64,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x05,0x80,0xbe]
+0x66,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], vcc    ; encoding: [0x6a,0x05,0x80,0xbe]
+0x6a,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], tba    ; encoding: [0x6c,0x05,0x80,0xbe]
+0x6c,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], tma    ; encoding: [0x6e,0x05,0x80,0xbe]
+0x6e,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x05,0x80,0xbe]
+0x7a,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], exec    ; encoding: [0x7e,0x05,0x80,0xbe]
+0x7e,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], 0    ; encoding: [0x80,0x05,0x80,0xbe]
+0x80,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], -1    ; encoding: [0xc1,0x05,0x80,0xbe]
+0xc1,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], 0.5    ; encoding: [0xf0,0x05,0x80,0xbe]
+0xf0,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], -4.0    ; encoding: [0xf7,0x05,0x80,0xbe]
+0xf7,0x05,0x80,0xbe
+
+# CHECK: s_not_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x05,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x05,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_not_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x05,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x05,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_wqm_b32 s0, s0    ; encoding: [0x00,0x06,0x80,0xbe]
+0x00,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s101, s0    ; encoding: [0x00,0x06,0xe5,0xbe]
+0x00,0x06,0xe5,0xbe
+
+# CHECK: s_wqm_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x06,0xe6,0xbe]
+0x00,0x06,0xe6,0xbe
+
+# CHECK: s_wqm_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x06,0xe7,0xbe]
+0x00,0x06,0xe7,0xbe
+
+# CHECK: s_wqm_b32 vcc_lo, s0    ; encoding: [0x00,0x06,0xea,0xbe]
+0x00,0x06,0xea,0xbe
+
+# CHECK: s_wqm_b32 vcc_hi, s0    ; encoding: [0x00,0x06,0xeb,0xbe]
+0x00,0x06,0xeb,0xbe
+
+# CHECK: s_wqm_b32 tba_lo, s0    ; encoding: [0x00,0x06,0xec,0xbe]
+0x00,0x06,0xec,0xbe
+
+# CHECK: s_wqm_b32 tba_hi, s0    ; encoding: [0x00,0x06,0xed,0xbe]
+0x00,0x06,0xed,0xbe
+
+# CHECK: s_wqm_b32 tma_lo, s0    ; encoding: [0x00,0x06,0xee,0xbe]
+0x00,0x06,0xee,0xbe
+
+# CHECK: s_wqm_b32 tma_hi, s0    ; encoding: [0x00,0x06,0xef,0xbe]
+0x00,0x06,0xef,0xbe
+
+# CHECK: s_wqm_b32 ttmp11, s0    ; encoding: [0x00,0x06,0xfb,0xbe]
+0x00,0x06,0xfb,0xbe
+
+# CHECK: s_wqm_b32 m0, s0    ; encoding: [0x00,0x06,0xfc,0xbe]
+0x00,0x06,0xfc,0xbe
+
+# CHECK: s_wqm_b32 exec_lo, s0    ; encoding: [0x00,0x06,0xfe,0xbe]
+0x00,0x06,0xfe,0xbe
+
+# CHECK: s_wqm_b32 exec_hi, s0    ; encoding: [0x00,0x06,0xff,0xbe]
+0x00,0x06,0xff,0xbe
+
+# CHECK: s_wqm_b32 s0, s101    ; encoding: [0x65,0x06,0x80,0xbe]
+0x65,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x06,0x80,0xbe]
+0x66,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x06,0x80,0xbe]
+0x67,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, vcc_lo    ; encoding: [0x6a,0x06,0x80,0xbe]
+0x6a,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, vcc_hi    ; encoding: [0x6b,0x06,0x80,0xbe]
+0x6b,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, tba_lo    ; encoding: [0x6c,0x06,0x80,0xbe]
+0x6c,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, tba_hi    ; encoding: [0x6d,0x06,0x80,0xbe]
+0x6d,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, tma_lo    ; encoding: [0x6e,0x06,0x80,0xbe]
+0x6e,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, tma_hi    ; encoding: [0x6f,0x06,0x80,0xbe]
+0x6f,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, ttmp11    ; encoding: [0x7b,0x06,0x80,0xbe]
+0x7b,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, m0    ; encoding: [0x7c,0x06,0x80,0xbe]
+0x7c,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, exec_lo    ; encoding: [0x7e,0x06,0x80,0xbe]
+0x7e,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, exec_hi    ; encoding: [0x7f,0x06,0x80,0xbe]
+0x7f,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, 0    ; encoding: [0x80,0x06,0x80,0xbe]
+0x80,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, -1    ; encoding: [0xc1,0x06,0x80,0xbe]
+0xc1,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, 0.5    ; encoding: [0xf0,0x06,0x80,0xbe]
+0xf0,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, -4.0    ; encoding: [0xf7,0x06,0x80,0xbe]
+0xf7,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, scc    ; encoding: [0xfd,0x06,0x80,0xbe]
+0xfd,0x06,0x80,0xbe
+
+# CHECK: s_wqm_b32 s0, 0xaf123456    ; encoding: [0xff,0x06,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x06,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_wqm_b32 s0, 0x3f717273    ; encoding: [0xff,0x06,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x06,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_wqm_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x07,0x80,0xbe]
+0x00,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x07,0x82,0xbe]
+0x00,0x07,0x82,0xbe
+
+# CHECK: s_wqm_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x07,0xe4,0xbe]
+0x00,0x07,0xe4,0xbe
+
+# CHECK: s_wqm_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x07,0xe6,0xbe]
+0x00,0x07,0xe6,0xbe
+
+# CHECK: s_wqm_b64 vcc, s[0:1]    ; encoding: [0x00,0x07,0xea,0xbe]
+0x00,0x07,0xea,0xbe
+
+# CHECK: s_wqm_b64 tba, s[0:1]    ; encoding: [0x00,0x07,0xec,0xbe]
+0x00,0x07,0xec,0xbe
+
+# CHECK: s_wqm_b64 tma, s[0:1]    ; encoding: [0x00,0x07,0xee,0xbe]
+0x00,0x07,0xee,0xbe
+
+# CHECK: s_wqm_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x07,0xfa,0xbe]
+0x00,0x07,0xfa,0xbe
+
+# CHECK: s_wqm_b64 exec, s[0:1]    ; encoding: [0x00,0x07,0xfe,0xbe]
+0x00,0x07,0xfe,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x07,0x80,0xbe]
+0x02,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x07,0x80,0xbe]
+0x64,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x07,0x80,0xbe]
+0x66,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], vcc    ; encoding: [0x6a,0x07,0x80,0xbe]
+0x6a,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], tba    ; encoding: [0x6c,0x07,0x80,0xbe]
+0x6c,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], tma    ; encoding: [0x6e,0x07,0x80,0xbe]
+0x6e,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x07,0x80,0xbe]
+0x7a,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], exec    ; encoding: [0x7e,0x07,0x80,0xbe]
+0x7e,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], 0    ; encoding: [0x80,0x07,0x80,0xbe]
+0x80,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], -1    ; encoding: [0xc1,0x07,0x80,0xbe]
+0xc1,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], 0.5    ; encoding: [0xf0,0x07,0x80,0xbe]
+0xf0,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], -4.0    ; encoding: [0xf7,0x07,0x80,0xbe]
+0xf7,0x07,0x80,0xbe
+
+# CHECK: s_wqm_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x07,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x07,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_wqm_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x07,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x07,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_brev_b32 s0, s0    ; encoding: [0x00,0x08,0x80,0xbe]
+0x00,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s101, s0    ; encoding: [0x00,0x08,0xe5,0xbe]
+0x00,0x08,0xe5,0xbe
+
+# CHECK: s_brev_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x08,0xe6,0xbe]
+0x00,0x08,0xe6,0xbe
+
+# CHECK: s_brev_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x08,0xe7,0xbe]
+0x00,0x08,0xe7,0xbe
+
+# CHECK: s_brev_b32 vcc_lo, s0    ; encoding: [0x00,0x08,0xea,0xbe]
+0x00,0x08,0xea,0xbe
+
+# CHECK: s_brev_b32 vcc_hi, s0    ; encoding: [0x00,0x08,0xeb,0xbe]
+0x00,0x08,0xeb,0xbe
+
+# CHECK: s_brev_b32 tba_lo, s0    ; encoding: [0x00,0x08,0xec,0xbe]
+0x00,0x08,0xec,0xbe
+
+# CHECK: s_brev_b32 tba_hi, s0    ; encoding: [0x00,0x08,0xed,0xbe]
+0x00,0x08,0xed,0xbe
+
+# CHECK: s_brev_b32 tma_lo, s0    ; encoding: [0x00,0x08,0xee,0xbe]
+0x00,0x08,0xee,0xbe
+
+# CHECK: s_brev_b32 tma_hi, s0    ; encoding: [0x00,0x08,0xef,0xbe]
+0x00,0x08,0xef,0xbe
+
+# CHECK: s_brev_b32 ttmp11, s0    ; encoding: [0x00,0x08,0xfb,0xbe]
+0x00,0x08,0xfb,0xbe
+
+# CHECK: s_brev_b32 m0, s0    ; encoding: [0x00,0x08,0xfc,0xbe]
+0x00,0x08,0xfc,0xbe
+
+# CHECK: s_brev_b32 exec_lo, s0    ; encoding: [0x00,0x08,0xfe,0xbe]
+0x00,0x08,0xfe,0xbe
+
+# CHECK: s_brev_b32 exec_hi, s0    ; encoding: [0x00,0x08,0xff,0xbe]
+0x00,0x08,0xff,0xbe
+
+# CHECK: s_brev_b32 s0, s101    ; encoding: [0x65,0x08,0x80,0xbe]
+0x65,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x08,0x80,0xbe]
+0x66,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x08,0x80,0xbe]
+0x67,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, vcc_lo    ; encoding: [0x6a,0x08,0x80,0xbe]
+0x6a,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, vcc_hi    ; encoding: [0x6b,0x08,0x80,0xbe]
+0x6b,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, tba_lo    ; encoding: [0x6c,0x08,0x80,0xbe]
+0x6c,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, tba_hi    ; encoding: [0x6d,0x08,0x80,0xbe]
+0x6d,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, tma_lo    ; encoding: [0x6e,0x08,0x80,0xbe]
+0x6e,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, tma_hi    ; encoding: [0x6f,0x08,0x80,0xbe]
+0x6f,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, ttmp11    ; encoding: [0x7b,0x08,0x80,0xbe]
+0x7b,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, m0    ; encoding: [0x7c,0x08,0x80,0xbe]
+0x7c,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, exec_lo    ; encoding: [0x7e,0x08,0x80,0xbe]
+0x7e,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, exec_hi    ; encoding: [0x7f,0x08,0x80,0xbe]
+0x7f,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, 0    ; encoding: [0x80,0x08,0x80,0xbe]
+0x80,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, -1    ; encoding: [0xc1,0x08,0x80,0xbe]
+0xc1,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, 0.5    ; encoding: [0xf0,0x08,0x80,0xbe]
+0xf0,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, -4.0    ; encoding: [0xf7,0x08,0x80,0xbe]
+0xf7,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, scc    ; encoding: [0xfd,0x08,0x80,0xbe]
+0xfd,0x08,0x80,0xbe
+
+# CHECK: s_brev_b32 s0, 0xaf123456    ; encoding: [0xff,0x08,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x08,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_brev_b32 s0, 0x3f717273    ; encoding: [0xff,0x08,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x08,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_brev_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x09,0x80,0xbe]
+0x00,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x09,0x82,0xbe]
+0x00,0x09,0x82,0xbe
+
+# CHECK: s_brev_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x09,0xe4,0xbe]
+0x00,0x09,0xe4,0xbe
+
+# CHECK: s_brev_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x09,0xe6,0xbe]
+0x00,0x09,0xe6,0xbe
+
+# CHECK: s_brev_b64 vcc, s[0:1]    ; encoding: [0x00,0x09,0xea,0xbe]
+0x00,0x09,0xea,0xbe
+
+# CHECK: s_brev_b64 tba, s[0:1]    ; encoding: [0x00,0x09,0xec,0xbe]
+0x00,0x09,0xec,0xbe
+
+# CHECK: s_brev_b64 tma, s[0:1]    ; encoding: [0x00,0x09,0xee,0xbe]
+0x00,0x09,0xee,0xbe
+
+# CHECK: s_brev_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x09,0xfa,0xbe]
+0x00,0x09,0xfa,0xbe
+
+# CHECK: s_brev_b64 exec, s[0:1]    ; encoding: [0x00,0x09,0xfe,0xbe]
+0x00,0x09,0xfe,0xbe
+
+# CHECK: s_brev_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x09,0x80,0xbe]
+0x02,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x09,0x80,0xbe]
+0x64,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x09,0x80,0xbe]
+0x66,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], vcc    ; encoding: [0x6a,0x09,0x80,0xbe]
+0x6a,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], tba    ; encoding: [0x6c,0x09,0x80,0xbe]
+0x6c,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], tma    ; encoding: [0x6e,0x09,0x80,0xbe]
+0x6e,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x09,0x80,0xbe]
+0x7a,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], exec    ; encoding: [0x7e,0x09,0x80,0xbe]
+0x7e,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], 0    ; encoding: [0x80,0x09,0x80,0xbe]
+0x80,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], -1    ; encoding: [0xc1,0x09,0x80,0xbe]
+0xc1,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], 0.5    ; encoding: [0xf0,0x09,0x80,0xbe]
+0xf0,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], -4.0    ; encoding: [0xf7,0x09,0x80,0xbe]
+0xf7,0x09,0x80,0xbe
+
+# CHECK: s_brev_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x09,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x09,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_brev_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x09,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x09,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bcnt0_i32_b32 s0, s0    ; encoding: [0x00,0x0a,0x80,0xbe]
+0x00,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s101, s0    ; encoding: [0x00,0x0a,0xe5,0xbe]
+0x00,0x0a,0xe5,0xbe
+
+# CHECK: s_bcnt0_i32_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x0a,0xe6,0xbe]
+0x00,0x0a,0xe6,0xbe
+
+# CHECK: s_bcnt0_i32_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x0a,0xe7,0xbe]
+0x00,0x0a,0xe7,0xbe
+
+# CHECK: s_bcnt0_i32_b32 vcc_lo, s0    ; encoding: [0x00,0x0a,0xea,0xbe]
+0x00,0x0a,0xea,0xbe
+
+# CHECK: s_bcnt0_i32_b32 vcc_hi, s0    ; encoding: [0x00,0x0a,0xeb,0xbe]
+0x00,0x0a,0xeb,0xbe
+
+# CHECK: s_bcnt0_i32_b32 tba_lo, s0    ; encoding: [0x00,0x0a,0xec,0xbe]
+0x00,0x0a,0xec,0xbe
+
+# CHECK: s_bcnt0_i32_b32 tba_hi, s0    ; encoding: [0x00,0x0a,0xed,0xbe]
+0x00,0x0a,0xed,0xbe
+
+# CHECK: s_bcnt0_i32_b32 tma_lo, s0    ; encoding: [0x00,0x0a,0xee,0xbe]
+0x00,0x0a,0xee,0xbe
+
+# CHECK: s_bcnt0_i32_b32 tma_hi, s0    ; encoding: [0x00,0x0a,0xef,0xbe]
+0x00,0x0a,0xef,0xbe
+
+# CHECK: s_bcnt0_i32_b32 ttmp11, s0    ; encoding: [0x00,0x0a,0xfb,0xbe]
+0x00,0x0a,0xfb,0xbe
+
+# CHECK: s_bcnt0_i32_b32 m0, s0    ; encoding: [0x00,0x0a,0xfc,0xbe]
+0x00,0x0a,0xfc,0xbe
+
+# CHECK: s_bcnt0_i32_b32 exec_lo, s0    ; encoding: [0x00,0x0a,0xfe,0xbe]
+0x00,0x0a,0xfe,0xbe
+
+# CHECK: s_bcnt0_i32_b32 exec_hi, s0    ; encoding: [0x00,0x0a,0xff,0xbe]
+0x00,0x0a,0xff,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, s101    ; encoding: [0x65,0x0a,0x80,0xbe]
+0x65,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x0a,0x80,0xbe]
+0x66,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x0a,0x80,0xbe]
+0x67,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x0a,0x80,0xbe]
+0x6a,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x0a,0x80,0xbe]
+0x6b,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x0a,0x80,0xbe]
+0x6c,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x0a,0x80,0xbe]
+0x6d,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x0a,0x80,0xbe]
+0x6e,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x0a,0x80,0xbe]
+0x6f,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x0a,0x80,0xbe]
+0x7b,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, m0    ; encoding: [0x7c,0x0a,0x80,0xbe]
+0x7c,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x0a,0x80,0xbe]
+0x7e,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x0a,0x80,0xbe]
+0x7f,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, 0    ; encoding: [0x80,0x0a,0x80,0xbe]
+0x80,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, -1    ; encoding: [0xc1,0x0a,0x80,0xbe]
+0xc1,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, 0.5    ; encoding: [0xf0,0x0a,0x80,0xbe]
+0xf0,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, -4.0    ; encoding: [0xf7,0x0a,0x80,0xbe]
+0xf7,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, scc    ; encoding: [0xfd,0x0a,0x80,0xbe]
+0xfd,0x0a,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b32 s0, 0xaf123456    ; encoding: [0xff,0x0a,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0a,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bcnt0_i32_b32 s0, 0x3f717273    ; encoding: [0xff,0x0a,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0a,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bcnt0_i32_b64 s0, s[0:1]    ; encoding: [0x00,0x0b,0x80,0xbe]
+0x00,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x0b,0xe5,0xbe]
+0x00,0x0b,0xe5,0xbe
+
+# CHECK: s_bcnt0_i32_b64 flat_scratch_lo, s[0:1]    ; encoding: [0x00,0x0b,0xe6,0xbe]
+0x00,0x0b,0xe6,0xbe
+
+# CHECK: s_bcnt0_i32_b64 flat_scratch_hi, s[0:1]    ; encoding: [0x00,0x0b,0xe7,0xbe]
+0x00,0x0b,0xe7,0xbe
+
+# CHECK: s_bcnt0_i32_b64 vcc_lo, s[0:1]    ; encoding: [0x00,0x0b,0xea,0xbe]
+0x00,0x0b,0xea,0xbe
+
+# CHECK: s_bcnt0_i32_b64 vcc_hi, s[0:1]    ; encoding: [0x00,0x0b,0xeb,0xbe]
+0x00,0x0b,0xeb,0xbe
+
+# CHECK: s_bcnt0_i32_b64 tba_lo, s[0:1]    ; encoding: [0x00,0x0b,0xec,0xbe]
+0x00,0x0b,0xec,0xbe
+
+# CHECK: s_bcnt0_i32_b64 tba_hi, s[0:1]    ; encoding: [0x00,0x0b,0xed,0xbe]
+0x00,0x0b,0xed,0xbe
+
+# CHECK: s_bcnt0_i32_b64 tma_lo, s[0:1]    ; encoding: [0x00,0x0b,0xee,0xbe]
+0x00,0x0b,0xee,0xbe
+
+# CHECK: s_bcnt0_i32_b64 tma_hi, s[0:1]    ; encoding: [0x00,0x0b,0xef,0xbe]
+0x00,0x0b,0xef,0xbe
+
+# CHECK: s_bcnt0_i32_b64 ttmp11, s[0:1]    ; encoding: [0x00,0x0b,0xfb,0xbe]
+0x00,0x0b,0xfb,0xbe
+
+# CHECK: s_bcnt0_i32_b64 m0, s[0:1]    ; encoding: [0x00,0x0b,0xfc,0xbe]
+0x00,0x0b,0xfc,0xbe
+
+# CHECK: s_bcnt0_i32_b64 exec_lo, s[0:1]    ; encoding: [0x00,0x0b,0xfe,0xbe]
+0x00,0x0b,0xfe,0xbe
+
+# CHECK: s_bcnt0_i32_b64 exec_hi, s[0:1]    ; encoding: [0x00,0x0b,0xff,0xbe]
+0x00,0x0b,0xff,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, s[2:3]    ; encoding: [0x02,0x0b,0x80,0xbe]
+0x02,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x0b,0x80,0xbe]
+0x64,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x0b,0x80,0xbe]
+0x66,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, vcc    ; encoding: [0x6a,0x0b,0x80,0xbe]
+0x6a,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, tba    ; encoding: [0x6c,0x0b,0x80,0xbe]
+0x6c,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, tma    ; encoding: [0x6e,0x0b,0x80,0xbe]
+0x6e,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x0b,0x80,0xbe]
+0x7a,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, exec    ; encoding: [0x7e,0x0b,0x80,0xbe]
+0x7e,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, 0    ; encoding: [0x80,0x0b,0x80,0xbe]
+0x80,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, -1    ; encoding: [0xc1,0x0b,0x80,0xbe]
+0xc1,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, 0.5    ; encoding: [0xf0,0x0b,0x80,0xbe]
+0xf0,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, -4.0    ; encoding: [0xf7,0x0b,0x80,0xbe]
+0xf7,0x0b,0x80,0xbe
+
+# CHECK: s_bcnt0_i32_b64 s0, 0xaf123456    ; encoding: [0xff,0x0b,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0b,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bcnt0_i32_b64 s0, 0x3f717273    ; encoding: [0xff,0x0b,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0b,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bcnt1_i32_b32 s0, s0    ; encoding: [0x00,0x0c,0x80,0xbe]
+0x00,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s101, s0    ; encoding: [0x00,0x0c,0xe5,0xbe]
+0x00,0x0c,0xe5,0xbe
+
+# CHECK: s_bcnt1_i32_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x0c,0xe6,0xbe]
+0x00,0x0c,0xe6,0xbe
+
+# CHECK: s_bcnt1_i32_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x0c,0xe7,0xbe]
+0x00,0x0c,0xe7,0xbe
+
+# CHECK: s_bcnt1_i32_b32 vcc_lo, s0    ; encoding: [0x00,0x0c,0xea,0xbe]
+0x00,0x0c,0xea,0xbe
+
+# CHECK: s_bcnt1_i32_b32 vcc_hi, s0    ; encoding: [0x00,0x0c,0xeb,0xbe]
+0x00,0x0c,0xeb,0xbe
+
+# CHECK: s_bcnt1_i32_b32 tba_lo, s0    ; encoding: [0x00,0x0c,0xec,0xbe]
+0x00,0x0c,0xec,0xbe
+
+# CHECK: s_bcnt1_i32_b32 tba_hi, s0    ; encoding: [0x00,0x0c,0xed,0xbe]
+0x00,0x0c,0xed,0xbe
+
+# CHECK: s_bcnt1_i32_b32 tma_lo, s0    ; encoding: [0x00,0x0c,0xee,0xbe]
+0x00,0x0c,0xee,0xbe
+
+# CHECK: s_bcnt1_i32_b32 tma_hi, s0    ; encoding: [0x00,0x0c,0xef,0xbe]
+0x00,0x0c,0xef,0xbe
+
+# CHECK: s_bcnt1_i32_b32 ttmp11, s0    ; encoding: [0x00,0x0c,0xfb,0xbe]
+0x00,0x0c,0xfb,0xbe
+
+# CHECK: s_bcnt1_i32_b32 m0, s0    ; encoding: [0x00,0x0c,0xfc,0xbe]
+0x00,0x0c,0xfc,0xbe
+
+# CHECK: s_bcnt1_i32_b32 exec_lo, s0    ; encoding: [0x00,0x0c,0xfe,0xbe]
+0x00,0x0c,0xfe,0xbe
+
+# CHECK: s_bcnt1_i32_b32 exec_hi, s0    ; encoding: [0x00,0x0c,0xff,0xbe]
+0x00,0x0c,0xff,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, s101    ; encoding: [0x65,0x0c,0x80,0xbe]
+0x65,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x0c,0x80,0xbe]
+0x66,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x0c,0x80,0xbe]
+0x67,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x0c,0x80,0xbe]
+0x6a,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x0c,0x80,0xbe]
+0x6b,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x0c,0x80,0xbe]
+0x6c,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x0c,0x80,0xbe]
+0x6d,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x0c,0x80,0xbe]
+0x6e,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x0c,0x80,0xbe]
+0x6f,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x0c,0x80,0xbe]
+0x7b,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, m0    ; encoding: [0x7c,0x0c,0x80,0xbe]
+0x7c,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x0c,0x80,0xbe]
+0x7e,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x0c,0x80,0xbe]
+0x7f,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, 0    ; encoding: [0x80,0x0c,0x80,0xbe]
+0x80,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, -1    ; encoding: [0xc1,0x0c,0x80,0xbe]
+0xc1,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, 0.5    ; encoding: [0xf0,0x0c,0x80,0xbe]
+0xf0,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, -4.0    ; encoding: [0xf7,0x0c,0x80,0xbe]
+0xf7,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, scc    ; encoding: [0xfd,0x0c,0x80,0xbe]
+0xfd,0x0c,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b32 s0, 0xaf123456    ; encoding: [0xff,0x0c,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0c,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bcnt1_i32_b32 s0, 0x3f717273    ; encoding: [0xff,0x0c,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0c,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bcnt1_i32_b64 s0, s[0:1]    ; encoding: [0x00,0x0d,0x80,0xbe]
+0x00,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x0d,0xe5,0xbe]
+0x00,0x0d,0xe5,0xbe
+
+# CHECK: s_bcnt1_i32_b64 flat_scratch_lo, s[0:1]    ; encoding: [0x00,0x0d,0xe6,0xbe]
+0x00,0x0d,0xe6,0xbe
+
+# CHECK: s_bcnt1_i32_b64 flat_scratch_hi, s[0:1]    ; encoding: [0x00,0x0d,0xe7,0xbe]
+0x00,0x0d,0xe7,0xbe
+
+# CHECK: s_bcnt1_i32_b64 vcc_lo, s[0:1]    ; encoding: [0x00,0x0d,0xea,0xbe]
+0x00,0x0d,0xea,0xbe
+
+# CHECK: s_bcnt1_i32_b64 vcc_hi, s[0:1]    ; encoding: [0x00,0x0d,0xeb,0xbe]
+0x00,0x0d,0xeb,0xbe
+
+# CHECK: s_bcnt1_i32_b64 tba_lo, s[0:1]    ; encoding: [0x00,0x0d,0xec,0xbe]
+0x00,0x0d,0xec,0xbe
+
+# CHECK: s_bcnt1_i32_b64 tba_hi, s[0:1]    ; encoding: [0x00,0x0d,0xed,0xbe]
+0x00,0x0d,0xed,0xbe
+
+# CHECK: s_bcnt1_i32_b64 tma_lo, s[0:1]    ; encoding: [0x00,0x0d,0xee,0xbe]
+0x00,0x0d,0xee,0xbe
+
+# CHECK: s_bcnt1_i32_b64 tma_hi, s[0:1]    ; encoding: [0x00,0x0d,0xef,0xbe]
+0x00,0x0d,0xef,0xbe
+
+# CHECK: s_bcnt1_i32_b64 ttmp11, s[0:1]    ; encoding: [0x00,0x0d,0xfb,0xbe]
+0x00,0x0d,0xfb,0xbe
+
+# CHECK: s_bcnt1_i32_b64 m0, s[0:1]    ; encoding: [0x00,0x0d,0xfc,0xbe]
+0x00,0x0d,0xfc,0xbe
+
+# CHECK: s_bcnt1_i32_b64 exec_lo, s[0:1]    ; encoding: [0x00,0x0d,0xfe,0xbe]
+0x00,0x0d,0xfe,0xbe
+
+# CHECK: s_bcnt1_i32_b64 exec_hi, s[0:1]    ; encoding: [0x00,0x0d,0xff,0xbe]
+0x00,0x0d,0xff,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, s[2:3]    ; encoding: [0x02,0x0d,0x80,0xbe]
+0x02,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x0d,0x80,0xbe]
+0x64,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x0d,0x80,0xbe]
+0x66,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, vcc    ; encoding: [0x6a,0x0d,0x80,0xbe]
+0x6a,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, tba    ; encoding: [0x6c,0x0d,0x80,0xbe]
+0x6c,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, tma    ; encoding: [0x6e,0x0d,0x80,0xbe]
+0x6e,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x0d,0x80,0xbe]
+0x7a,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, exec    ; encoding: [0x7e,0x0d,0x80,0xbe]
+0x7e,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, 0    ; encoding: [0x80,0x0d,0x80,0xbe]
+0x80,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, -1    ; encoding: [0xc1,0x0d,0x80,0xbe]
+0xc1,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, 0.5    ; encoding: [0xf0,0x0d,0x80,0xbe]
+0xf0,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, -4.0    ; encoding: [0xf7,0x0d,0x80,0xbe]
+0xf7,0x0d,0x80,0xbe
+
+# CHECK: s_bcnt1_i32_b64 s0, 0xaf123456    ; encoding: [0xff,0x0d,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0d,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bcnt1_i32_b64 s0, 0x3f717273    ; encoding: [0xff,0x0d,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0d,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_ff0_i32_b32 s0, s0    ; encoding: [0x00,0x0e,0x80,0xbe]
+0x00,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s101, s0    ; encoding: [0x00,0x0e,0xe5,0xbe]
+0x00,0x0e,0xe5,0xbe
+
+# CHECK: s_ff0_i32_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x0e,0xe6,0xbe]
+0x00,0x0e,0xe6,0xbe
+
+# CHECK: s_ff0_i32_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x0e,0xe7,0xbe]
+0x00,0x0e,0xe7,0xbe
+
+# CHECK: s_ff0_i32_b32 vcc_lo, s0    ; encoding: [0x00,0x0e,0xea,0xbe]
+0x00,0x0e,0xea,0xbe
+
+# CHECK: s_ff0_i32_b32 vcc_hi, s0    ; encoding: [0x00,0x0e,0xeb,0xbe]
+0x00,0x0e,0xeb,0xbe
+
+# CHECK: s_ff0_i32_b32 tba_lo, s0    ; encoding: [0x00,0x0e,0xec,0xbe]
+0x00,0x0e,0xec,0xbe
+
+# CHECK: s_ff0_i32_b32 tba_hi, s0    ; encoding: [0x00,0x0e,0xed,0xbe]
+0x00,0x0e,0xed,0xbe
+
+# CHECK: s_ff0_i32_b32 tma_lo, s0    ; encoding: [0x00,0x0e,0xee,0xbe]
+0x00,0x0e,0xee,0xbe
+
+# CHECK: s_ff0_i32_b32 tma_hi, s0    ; encoding: [0x00,0x0e,0xef,0xbe]
+0x00,0x0e,0xef,0xbe
+
+# CHECK: s_ff0_i32_b32 ttmp11, s0    ; encoding: [0x00,0x0e,0xfb,0xbe]
+0x00,0x0e,0xfb,0xbe
+
+# CHECK: s_ff0_i32_b32 m0, s0    ; encoding: [0x00,0x0e,0xfc,0xbe]
+0x00,0x0e,0xfc,0xbe
+
+# CHECK: s_ff0_i32_b32 exec_lo, s0    ; encoding: [0x00,0x0e,0xfe,0xbe]
+0x00,0x0e,0xfe,0xbe
+
+# CHECK: s_ff0_i32_b32 exec_hi, s0    ; encoding: [0x00,0x0e,0xff,0xbe]
+0x00,0x0e,0xff,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, s101    ; encoding: [0x65,0x0e,0x80,0xbe]
+0x65,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x0e,0x80,0xbe]
+0x66,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x0e,0x80,0xbe]
+0x67,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x0e,0x80,0xbe]
+0x6a,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x0e,0x80,0xbe]
+0x6b,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x0e,0x80,0xbe]
+0x6c,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x0e,0x80,0xbe]
+0x6d,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x0e,0x80,0xbe]
+0x6e,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x0e,0x80,0xbe]
+0x6f,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x0e,0x80,0xbe]
+0x7b,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, m0    ; encoding: [0x7c,0x0e,0x80,0xbe]
+0x7c,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x0e,0x80,0xbe]
+0x7e,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x0e,0x80,0xbe]
+0x7f,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, 0    ; encoding: [0x80,0x0e,0x80,0xbe]
+0x80,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, -1    ; encoding: [0xc1,0x0e,0x80,0xbe]
+0xc1,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, 0.5    ; encoding: [0xf0,0x0e,0x80,0xbe]
+0xf0,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, -4.0    ; encoding: [0xf7,0x0e,0x80,0xbe]
+0xf7,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, scc    ; encoding: [0xfd,0x0e,0x80,0xbe]
+0xfd,0x0e,0x80,0xbe
+
+# CHECK: s_ff0_i32_b32 s0, 0xaf123456    ; encoding: [0xff,0x0e,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0e,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_ff0_i32_b32 s0, 0x3f717273    ; encoding: [0xff,0x0e,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0e,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_ff0_i32_b64 s0, s[0:1]    ; encoding: [0x00,0x0f,0x80,0xbe]
+0x00,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x0f,0xe5,0xbe]
+0x00,0x0f,0xe5,0xbe
+
+# CHECK: s_ff0_i32_b64 flat_scratch_lo, s[0:1]    ; encoding: [0x00,0x0f,0xe6,0xbe]
+0x00,0x0f,0xe6,0xbe
+
+# CHECK: s_ff0_i32_b64 flat_scratch_hi, s[0:1]    ; encoding: [0x00,0x0f,0xe7,0xbe]
+0x00,0x0f,0xe7,0xbe
+
+# CHECK: s_ff0_i32_b64 vcc_lo, s[0:1]    ; encoding: [0x00,0x0f,0xea,0xbe]
+0x00,0x0f,0xea,0xbe
+
+# CHECK: s_ff0_i32_b64 vcc_hi, s[0:1]    ; encoding: [0x00,0x0f,0xeb,0xbe]
+0x00,0x0f,0xeb,0xbe
+
+# CHECK: s_ff0_i32_b64 tba_lo, s[0:1]    ; encoding: [0x00,0x0f,0xec,0xbe]
+0x00,0x0f,0xec,0xbe
+
+# CHECK: s_ff0_i32_b64 tba_hi, s[0:1]    ; encoding: [0x00,0x0f,0xed,0xbe]
+0x00,0x0f,0xed,0xbe
+
+# CHECK: s_ff0_i32_b64 tma_lo, s[0:1]    ; encoding: [0x00,0x0f,0xee,0xbe]
+0x00,0x0f,0xee,0xbe
+
+# CHECK: s_ff0_i32_b64 tma_hi, s[0:1]    ; encoding: [0x00,0x0f,0xef,0xbe]
+0x00,0x0f,0xef,0xbe
+
+# CHECK: s_ff0_i32_b64 ttmp11, s[0:1]    ; encoding: [0x00,0x0f,0xfb,0xbe]
+0x00,0x0f,0xfb,0xbe
+
+# CHECK: s_ff0_i32_b64 m0, s[0:1]    ; encoding: [0x00,0x0f,0xfc,0xbe]
+0x00,0x0f,0xfc,0xbe
+
+# CHECK: s_ff0_i32_b64 exec_lo, s[0:1]    ; encoding: [0x00,0x0f,0xfe,0xbe]
+0x00,0x0f,0xfe,0xbe
+
+# CHECK: s_ff0_i32_b64 exec_hi, s[0:1]    ; encoding: [0x00,0x0f,0xff,0xbe]
+0x00,0x0f,0xff,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, s[2:3]    ; encoding: [0x02,0x0f,0x80,0xbe]
+0x02,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x0f,0x80,0xbe]
+0x64,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x0f,0x80,0xbe]
+0x66,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, vcc    ; encoding: [0x6a,0x0f,0x80,0xbe]
+0x6a,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, tba    ; encoding: [0x6c,0x0f,0x80,0xbe]
+0x6c,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, tma    ; encoding: [0x6e,0x0f,0x80,0xbe]
+0x6e,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x0f,0x80,0xbe]
+0x7a,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, exec    ; encoding: [0x7e,0x0f,0x80,0xbe]
+0x7e,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, 0    ; encoding: [0x80,0x0f,0x80,0xbe]
+0x80,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, -1    ; encoding: [0xc1,0x0f,0x80,0xbe]
+0xc1,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, 0.5    ; encoding: [0xf0,0x0f,0x80,0xbe]
+0xf0,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, -4.0    ; encoding: [0xf7,0x0f,0x80,0xbe]
+0xf7,0x0f,0x80,0xbe
+
+# CHECK: s_ff0_i32_b64 s0, 0xaf123456    ; encoding: [0xff,0x0f,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x0f,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_ff0_i32_b64 s0, 0x3f717273    ; encoding: [0xff,0x0f,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x0f,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_ff1_i32_b32 s0, s0    ; encoding: [0x00,0x10,0x80,0xbe]
+0x00,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s101, s0    ; encoding: [0x00,0x10,0xe5,0xbe]
+0x00,0x10,0xe5,0xbe
+
+# CHECK: s_ff1_i32_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x10,0xe6,0xbe]
+0x00,0x10,0xe6,0xbe
+
+# CHECK: s_ff1_i32_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x10,0xe7,0xbe]
+0x00,0x10,0xe7,0xbe
+
+# CHECK: s_ff1_i32_b32 vcc_lo, s0    ; encoding: [0x00,0x10,0xea,0xbe]
+0x00,0x10,0xea,0xbe
+
+# CHECK: s_ff1_i32_b32 vcc_hi, s0    ; encoding: [0x00,0x10,0xeb,0xbe]
+0x00,0x10,0xeb,0xbe
+
+# CHECK: s_ff1_i32_b32 tba_lo, s0    ; encoding: [0x00,0x10,0xec,0xbe]
+0x00,0x10,0xec,0xbe
+
+# CHECK: s_ff1_i32_b32 tba_hi, s0    ; encoding: [0x00,0x10,0xed,0xbe]
+0x00,0x10,0xed,0xbe
+
+# CHECK: s_ff1_i32_b32 tma_lo, s0    ; encoding: [0x00,0x10,0xee,0xbe]
+0x00,0x10,0xee,0xbe
+
+# CHECK: s_ff1_i32_b32 tma_hi, s0    ; encoding: [0x00,0x10,0xef,0xbe]
+0x00,0x10,0xef,0xbe
+
+# CHECK: s_ff1_i32_b32 ttmp11, s0    ; encoding: [0x00,0x10,0xfb,0xbe]
+0x00,0x10,0xfb,0xbe
+
+# CHECK: s_ff1_i32_b32 m0, s0    ; encoding: [0x00,0x10,0xfc,0xbe]
+0x00,0x10,0xfc,0xbe
+
+# CHECK: s_ff1_i32_b32 exec_lo, s0    ; encoding: [0x00,0x10,0xfe,0xbe]
+0x00,0x10,0xfe,0xbe
+
+# CHECK: s_ff1_i32_b32 exec_hi, s0    ; encoding: [0x00,0x10,0xff,0xbe]
+0x00,0x10,0xff,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, s101    ; encoding: [0x65,0x10,0x80,0xbe]
+0x65,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x10,0x80,0xbe]
+0x66,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x10,0x80,0xbe]
+0x67,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x10,0x80,0xbe]
+0x6a,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x10,0x80,0xbe]
+0x6b,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x10,0x80,0xbe]
+0x6c,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x10,0x80,0xbe]
+0x6d,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x10,0x80,0xbe]
+0x6e,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x10,0x80,0xbe]
+0x6f,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x10,0x80,0xbe]
+0x7b,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, m0    ; encoding: [0x7c,0x10,0x80,0xbe]
+0x7c,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x10,0x80,0xbe]
+0x7e,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x10,0x80,0xbe]
+0x7f,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, 0    ; encoding: [0x80,0x10,0x80,0xbe]
+0x80,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, -1    ; encoding: [0xc1,0x10,0x80,0xbe]
+0xc1,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, 0.5    ; encoding: [0xf0,0x10,0x80,0xbe]
+0xf0,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, -4.0    ; encoding: [0xf7,0x10,0x80,0xbe]
+0xf7,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, scc    ; encoding: [0xfd,0x10,0x80,0xbe]
+0xfd,0x10,0x80,0xbe
+
+# CHECK: s_ff1_i32_b32 s0, 0xaf123456    ; encoding: [0xff,0x10,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x10,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_ff1_i32_b32 s0, 0x3f717273    ; encoding: [0xff,0x10,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x10,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_ff1_i32_b64 s0, s[0:1]    ; encoding: [0x00,0x11,0x80,0xbe]
+0x00,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x11,0xe5,0xbe]
+0x00,0x11,0xe5,0xbe
+
+# CHECK: s_ff1_i32_b64 flat_scratch_lo, s[0:1]    ; encoding: [0x00,0x11,0xe6,0xbe]
+0x00,0x11,0xe6,0xbe
+
+# CHECK: s_ff1_i32_b64 flat_scratch_hi, s[0:1]    ; encoding: [0x00,0x11,0xe7,0xbe]
+0x00,0x11,0xe7,0xbe
+
+# CHECK: s_ff1_i32_b64 vcc_lo, s[0:1]    ; encoding: [0x00,0x11,0xea,0xbe]
+0x00,0x11,0xea,0xbe
+
+# CHECK: s_ff1_i32_b64 vcc_hi, s[0:1]    ; encoding: [0x00,0x11,0xeb,0xbe]
+0x00,0x11,0xeb,0xbe
+
+# CHECK: s_ff1_i32_b64 tba_lo, s[0:1]    ; encoding: [0x00,0x11,0xec,0xbe]
+0x00,0x11,0xec,0xbe
+
+# CHECK: s_ff1_i32_b64 tba_hi, s[0:1]    ; encoding: [0x00,0x11,0xed,0xbe]
+0x00,0x11,0xed,0xbe
+
+# CHECK: s_ff1_i32_b64 tma_lo, s[0:1]    ; encoding: [0x00,0x11,0xee,0xbe]
+0x00,0x11,0xee,0xbe
+
+# CHECK: s_ff1_i32_b64 tma_hi, s[0:1]    ; encoding: [0x00,0x11,0xef,0xbe]
+0x00,0x11,0xef,0xbe
+
+# CHECK: s_ff1_i32_b64 ttmp11, s[0:1]    ; encoding: [0x00,0x11,0xfb,0xbe]
+0x00,0x11,0xfb,0xbe
+
+# CHECK: s_ff1_i32_b64 m0, s[0:1]    ; encoding: [0x00,0x11,0xfc,0xbe]
+0x00,0x11,0xfc,0xbe
+
+# CHECK: s_ff1_i32_b64 exec_lo, s[0:1]    ; encoding: [0x00,0x11,0xfe,0xbe]
+0x00,0x11,0xfe,0xbe
+
+# CHECK: s_ff1_i32_b64 exec_hi, s[0:1]    ; encoding: [0x00,0x11,0xff,0xbe]
+0x00,0x11,0xff,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, s[2:3]    ; encoding: [0x02,0x11,0x80,0xbe]
+0x02,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x11,0x80,0xbe]
+0x64,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x11,0x80,0xbe]
+0x66,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, vcc    ; encoding: [0x6a,0x11,0x80,0xbe]
+0x6a,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, tba    ; encoding: [0x6c,0x11,0x80,0xbe]
+0x6c,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, tma    ; encoding: [0x6e,0x11,0x80,0xbe]
+0x6e,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x11,0x80,0xbe]
+0x7a,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, exec    ; encoding: [0x7e,0x11,0x80,0xbe]
+0x7e,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, 0    ; encoding: [0x80,0x11,0x80,0xbe]
+0x80,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, -1    ; encoding: [0xc1,0x11,0x80,0xbe]
+0xc1,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, 0.5    ; encoding: [0xf0,0x11,0x80,0xbe]
+0xf0,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, -4.0    ; encoding: [0xf7,0x11,0x80,0xbe]
+0xf7,0x11,0x80,0xbe
+
+# CHECK: s_ff1_i32_b64 s0, 0xaf123456    ; encoding: [0xff,0x11,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x11,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_ff1_i32_b64 s0, 0x3f717273    ; encoding: [0xff,0x11,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x11,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_flbit_i32_b32 s0, s0    ; encoding: [0x00,0x12,0x80,0xbe]
+0x00,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s101, s0    ; encoding: [0x00,0x12,0xe5,0xbe]
+0x00,0x12,0xe5,0xbe
+
+# CHECK: s_flbit_i32_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x12,0xe6,0xbe]
+0x00,0x12,0xe6,0xbe
+
+# CHECK: s_flbit_i32_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x12,0xe7,0xbe]
+0x00,0x12,0xe7,0xbe
+
+# CHECK: s_flbit_i32_b32 vcc_lo, s0    ; encoding: [0x00,0x12,0xea,0xbe]
+0x00,0x12,0xea,0xbe
+
+# CHECK: s_flbit_i32_b32 vcc_hi, s0    ; encoding: [0x00,0x12,0xeb,0xbe]
+0x00,0x12,0xeb,0xbe
+
+# CHECK: s_flbit_i32_b32 tba_lo, s0    ; encoding: [0x00,0x12,0xec,0xbe]
+0x00,0x12,0xec,0xbe
+
+# CHECK: s_flbit_i32_b32 tba_hi, s0    ; encoding: [0x00,0x12,0xed,0xbe]
+0x00,0x12,0xed,0xbe
+
+# CHECK: s_flbit_i32_b32 tma_lo, s0    ; encoding: [0x00,0x12,0xee,0xbe]
+0x00,0x12,0xee,0xbe
+
+# CHECK: s_flbit_i32_b32 tma_hi, s0    ; encoding: [0x00,0x12,0xef,0xbe]
+0x00,0x12,0xef,0xbe
+
+# CHECK: s_flbit_i32_b32 ttmp11, s0    ; encoding: [0x00,0x12,0xfb,0xbe]
+0x00,0x12,0xfb,0xbe
+
+# CHECK: s_flbit_i32_b32 m0, s0    ; encoding: [0x00,0x12,0xfc,0xbe]
+0x00,0x12,0xfc,0xbe
+
+# CHECK: s_flbit_i32_b32 exec_lo, s0    ; encoding: [0x00,0x12,0xfe,0xbe]
+0x00,0x12,0xfe,0xbe
+
+# CHECK: s_flbit_i32_b32 exec_hi, s0    ; encoding: [0x00,0x12,0xff,0xbe]
+0x00,0x12,0xff,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, s101    ; encoding: [0x65,0x12,0x80,0xbe]
+0x65,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x12,0x80,0xbe]
+0x66,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x12,0x80,0xbe]
+0x67,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, vcc_lo    ; encoding: [0x6a,0x12,0x80,0xbe]
+0x6a,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, vcc_hi    ; encoding: [0x6b,0x12,0x80,0xbe]
+0x6b,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, tba_lo    ; encoding: [0x6c,0x12,0x80,0xbe]
+0x6c,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, tba_hi    ; encoding: [0x6d,0x12,0x80,0xbe]
+0x6d,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, tma_lo    ; encoding: [0x6e,0x12,0x80,0xbe]
+0x6e,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, tma_hi    ; encoding: [0x6f,0x12,0x80,0xbe]
+0x6f,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, ttmp11    ; encoding: [0x7b,0x12,0x80,0xbe]
+0x7b,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, m0    ; encoding: [0x7c,0x12,0x80,0xbe]
+0x7c,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, exec_lo    ; encoding: [0x7e,0x12,0x80,0xbe]
+0x7e,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, exec_hi    ; encoding: [0x7f,0x12,0x80,0xbe]
+0x7f,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, 0    ; encoding: [0x80,0x12,0x80,0xbe]
+0x80,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, -1    ; encoding: [0xc1,0x12,0x80,0xbe]
+0xc1,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, 0.5    ; encoding: [0xf0,0x12,0x80,0xbe]
+0xf0,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, -4.0    ; encoding: [0xf7,0x12,0x80,0xbe]
+0xf7,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, scc    ; encoding: [0xfd,0x12,0x80,0xbe]
+0xfd,0x12,0x80,0xbe
+
+# CHECK: s_flbit_i32_b32 s0, 0xaf123456    ; encoding: [0xff,0x12,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x12,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_flbit_i32_b32 s0, 0x3f717273    ; encoding: [0xff,0x12,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x12,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_flbit_i32_b64 s0, s[0:1]    ; encoding: [0x00,0x13,0x80,0xbe]
+0x00,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s101, s[0:1]    ; encoding: [0x00,0x13,0xe5,0xbe]
+0x00,0x13,0xe5,0xbe
+
+# CHECK: s_flbit_i32_b64 flat_scratch_lo, s[0:1]    ; encoding: [0x00,0x13,0xe6,0xbe]
+0x00,0x13,0xe6,0xbe
+
+# CHECK: s_flbit_i32_b64 flat_scratch_hi, s[0:1]    ; encoding: [0x00,0x13,0xe7,0xbe]
+0x00,0x13,0xe7,0xbe
+
+# CHECK: s_flbit_i32_b64 vcc_lo, s[0:1]    ; encoding: [0x00,0x13,0xea,0xbe]
+0x00,0x13,0xea,0xbe
+
+# CHECK: s_flbit_i32_b64 vcc_hi, s[0:1]    ; encoding: [0x00,0x13,0xeb,0xbe]
+0x00,0x13,0xeb,0xbe
+
+# CHECK: s_flbit_i32_b64 tba_lo, s[0:1]    ; encoding: [0x00,0x13,0xec,0xbe]
+0x00,0x13,0xec,0xbe
+
+# CHECK: s_flbit_i32_b64 tba_hi, s[0:1]    ; encoding: [0x00,0x13,0xed,0xbe]
+0x00,0x13,0xed,0xbe
+
+# CHECK: s_flbit_i32_b64 tma_lo, s[0:1]    ; encoding: [0x00,0x13,0xee,0xbe]
+0x00,0x13,0xee,0xbe
+
+# CHECK: s_flbit_i32_b64 tma_hi, s[0:1]    ; encoding: [0x00,0x13,0xef,0xbe]
+0x00,0x13,0xef,0xbe
+
+# CHECK: s_flbit_i32_b64 ttmp11, s[0:1]    ; encoding: [0x00,0x13,0xfb,0xbe]
+0x00,0x13,0xfb,0xbe
+
+# CHECK: s_flbit_i32_b64 m0, s[0:1]    ; encoding: [0x00,0x13,0xfc,0xbe]
+0x00,0x13,0xfc,0xbe
+
+# CHECK: s_flbit_i32_b64 exec_lo, s[0:1]    ; encoding: [0x00,0x13,0xfe,0xbe]
+0x00,0x13,0xfe,0xbe
+
+# CHECK: s_flbit_i32_b64 exec_hi, s[0:1]    ; encoding: [0x00,0x13,0xff,0xbe]
+0x00,0x13,0xff,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, s[2:3]    ; encoding: [0x02,0x13,0x80,0xbe]
+0x02,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, s[100:101]    ; encoding: [0x64,0x13,0x80,0xbe]
+0x64,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, flat_scratch    ; encoding: [0x66,0x13,0x80,0xbe]
+0x66,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, vcc    ; encoding: [0x6a,0x13,0x80,0xbe]
+0x6a,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, tba    ; encoding: [0x6c,0x13,0x80,0xbe]
+0x6c,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, tma    ; encoding: [0x6e,0x13,0x80,0xbe]
+0x6e,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, ttmp[10:11]    ; encoding: [0x7a,0x13,0x80,0xbe]
+0x7a,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, exec    ; encoding: [0x7e,0x13,0x80,0xbe]
+0x7e,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, 0    ; encoding: [0x80,0x13,0x80,0xbe]
+0x80,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, -1    ; encoding: [0xc1,0x13,0x80,0xbe]
+0xc1,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, 0.5    ; encoding: [0xf0,0x13,0x80,0xbe]
+0xf0,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, -4.0    ; encoding: [0xf7,0x13,0x80,0xbe]
+0xf7,0x13,0x80,0xbe
+
+# CHECK: s_flbit_i32_b64 s0, 0xaf123456    ; encoding: [0xff,0x13,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x13,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_flbit_i32_b64 s0, 0x3f717273    ; encoding: [0xff,0x13,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x13,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_flbit_i32 s0, s0    ; encoding: [0x00,0x14,0x80,0xbe]
+0x00,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s101, s0    ; encoding: [0x00,0x14,0xe5,0xbe]
+0x00,0x14,0xe5,0xbe
+
+# CHECK: s_flbit_i32 flat_scratch_lo, s0    ; encoding: [0x00,0x14,0xe6,0xbe]
+0x00,0x14,0xe6,0xbe
+
+# CHECK: s_flbit_i32 flat_scratch_hi, s0    ; encoding: [0x00,0x14,0xe7,0xbe]
+0x00,0x14,0xe7,0xbe
+
+# CHECK: s_flbit_i32 vcc_lo, s0    ; encoding: [0x00,0x14,0xea,0xbe]
+0x00,0x14,0xea,0xbe
+
+# CHECK: s_flbit_i32 vcc_hi, s0    ; encoding: [0x00,0x14,0xeb,0xbe]
+0x00,0x14,0xeb,0xbe
+
+# CHECK: s_flbit_i32 tba_lo, s0    ; encoding: [0x00,0x14,0xec,0xbe]
+0x00,0x14,0xec,0xbe
+
+# CHECK: s_flbit_i32 tba_hi, s0    ; encoding: [0x00,0x14,0xed,0xbe]
+0x00,0x14,0xed,0xbe
+
+# CHECK: s_flbit_i32 tma_lo, s0    ; encoding: [0x00,0x14,0xee,0xbe]
+0x00,0x14,0xee,0xbe
+
+# CHECK: s_flbit_i32 tma_hi, s0    ; encoding: [0x00,0x14,0xef,0xbe]
+0x00,0x14,0xef,0xbe
+
+# CHECK: s_flbit_i32 ttmp11, s0    ; encoding: [0x00,0x14,0xfb,0xbe]
+0x00,0x14,0xfb,0xbe
+
+# CHECK: s_flbit_i32 m0, s0    ; encoding: [0x00,0x14,0xfc,0xbe]
+0x00,0x14,0xfc,0xbe
+
+# CHECK: s_flbit_i32 exec_lo, s0    ; encoding: [0x00,0x14,0xfe,0xbe]
+0x00,0x14,0xfe,0xbe
+
+# CHECK: s_flbit_i32 exec_hi, s0    ; encoding: [0x00,0x14,0xff,0xbe]
+0x00,0x14,0xff,0xbe
+
+# CHECK: s_flbit_i32 s0, s101    ; encoding: [0x65,0x14,0x80,0xbe]
+0x65,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, flat_scratch_lo    ; encoding: [0x66,0x14,0x80,0xbe]
+0x66,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, flat_scratch_hi    ; encoding: [0x67,0x14,0x80,0xbe]
+0x67,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, vcc_lo    ; encoding: [0x6a,0x14,0x80,0xbe]
+0x6a,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, vcc_hi    ; encoding: [0x6b,0x14,0x80,0xbe]
+0x6b,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, tba_lo    ; encoding: [0x6c,0x14,0x80,0xbe]
+0x6c,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, tba_hi    ; encoding: [0x6d,0x14,0x80,0xbe]
+0x6d,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, tma_lo    ; encoding: [0x6e,0x14,0x80,0xbe]
+0x6e,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, tma_hi    ; encoding: [0x6f,0x14,0x80,0xbe]
+0x6f,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, ttmp11    ; encoding: [0x7b,0x14,0x80,0xbe]
+0x7b,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, m0    ; encoding: [0x7c,0x14,0x80,0xbe]
+0x7c,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, exec_lo    ; encoding: [0x7e,0x14,0x80,0xbe]
+0x7e,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, exec_hi    ; encoding: [0x7f,0x14,0x80,0xbe]
+0x7f,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, 0    ; encoding: [0x80,0x14,0x80,0xbe]
+0x80,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, -1    ; encoding: [0xc1,0x14,0x80,0xbe]
+0xc1,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, 0.5    ; encoding: [0xf0,0x14,0x80,0xbe]
+0xf0,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, -4.0    ; encoding: [0xf7,0x14,0x80,0xbe]
+0xf7,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, scc    ; encoding: [0xfd,0x14,0x80,0xbe]
+0xfd,0x14,0x80,0xbe
+
+# CHECK: s_flbit_i32 s0, 0xaf123456    ; encoding: [0xff,0x14,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x14,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_flbit_i32 s0, 0x3f717273    ; encoding: [0xff,0x14,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x14,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_flbit_i32_i64 s0, s[0:1]    ; encoding: [0x00,0x15,0x80,0xbe]
+0x00,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s101, s[0:1]    ; encoding: [0x00,0x15,0xe5,0xbe]
+0x00,0x15,0xe5,0xbe
+
+# CHECK: s_flbit_i32_i64 flat_scratch_lo, s[0:1]    ; encoding: [0x00,0x15,0xe6,0xbe]
+0x00,0x15,0xe6,0xbe
+
+# CHECK: s_flbit_i32_i64 flat_scratch_hi, s[0:1]    ; encoding: [0x00,0x15,0xe7,0xbe]
+0x00,0x15,0xe7,0xbe
+
+# CHECK: s_flbit_i32_i64 vcc_lo, s[0:1]    ; encoding: [0x00,0x15,0xea,0xbe]
+0x00,0x15,0xea,0xbe
+
+# CHECK: s_flbit_i32_i64 vcc_hi, s[0:1]    ; encoding: [0x00,0x15,0xeb,0xbe]
+0x00,0x15,0xeb,0xbe
+
+# CHECK: s_flbit_i32_i64 tba_lo, s[0:1]    ; encoding: [0x00,0x15,0xec,0xbe]
+0x00,0x15,0xec,0xbe
+
+# CHECK: s_flbit_i32_i64 tba_hi, s[0:1]    ; encoding: [0x00,0x15,0xed,0xbe]
+0x00,0x15,0xed,0xbe
+
+# CHECK: s_flbit_i32_i64 tma_lo, s[0:1]    ; encoding: [0x00,0x15,0xee,0xbe]
+0x00,0x15,0xee,0xbe
+
+# CHECK: s_flbit_i32_i64 tma_hi, s[0:1]    ; encoding: [0x00,0x15,0xef,0xbe]
+0x00,0x15,0xef,0xbe
+
+# CHECK: s_flbit_i32_i64 ttmp11, s[0:1]    ; encoding: [0x00,0x15,0xfb,0xbe]
+0x00,0x15,0xfb,0xbe
+
+# CHECK: s_flbit_i32_i64 m0, s[0:1]    ; encoding: [0x00,0x15,0xfc,0xbe]
+0x00,0x15,0xfc,0xbe
+
+# CHECK: s_flbit_i32_i64 exec_lo, s[0:1]    ; encoding: [0x00,0x15,0xfe,0xbe]
+0x00,0x15,0xfe,0xbe
+
+# CHECK: s_flbit_i32_i64 exec_hi, s[0:1]    ; encoding: [0x00,0x15,0xff,0xbe]
+0x00,0x15,0xff,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, s[2:3]    ; encoding: [0x02,0x15,0x80,0xbe]
+0x02,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, s[100:101]    ; encoding: [0x64,0x15,0x80,0xbe]
+0x64,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, flat_scratch    ; encoding: [0x66,0x15,0x80,0xbe]
+0x66,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, vcc    ; encoding: [0x6a,0x15,0x80,0xbe]
+0x6a,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, tba    ; encoding: [0x6c,0x15,0x80,0xbe]
+0x6c,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, tma    ; encoding: [0x6e,0x15,0x80,0xbe]
+0x6e,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, ttmp[10:11]    ; encoding: [0x7a,0x15,0x80,0xbe]
+0x7a,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, exec    ; encoding: [0x7e,0x15,0x80,0xbe]
+0x7e,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, 0    ; encoding: [0x80,0x15,0x80,0xbe]
+0x80,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, -1    ; encoding: [0xc1,0x15,0x80,0xbe]
+0xc1,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, 0.5    ; encoding: [0xf0,0x15,0x80,0xbe]
+0xf0,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, -4.0    ; encoding: [0xf7,0x15,0x80,0xbe]
+0xf7,0x15,0x80,0xbe
+
+# CHECK: s_flbit_i32_i64 s0, 0xaf123456    ; encoding: [0xff,0x15,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x15,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_flbit_i32_i64 s0, 0x3f717273    ; encoding: [0xff,0x15,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x15,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_sext_i32_i8 s0, s0    ; encoding: [0x00,0x16,0x80,0xbe]
+0x00,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s101, s0    ; encoding: [0x00,0x16,0xe5,0xbe]
+0x00,0x16,0xe5,0xbe
+
+# CHECK: s_sext_i32_i8 flat_scratch_lo, s0    ; encoding: [0x00,0x16,0xe6,0xbe]
+0x00,0x16,0xe6,0xbe
+
+# CHECK: s_sext_i32_i8 flat_scratch_hi, s0    ; encoding: [0x00,0x16,0xe7,0xbe]
+0x00,0x16,0xe7,0xbe
+
+# CHECK: s_sext_i32_i8 vcc_lo, s0    ; encoding: [0x00,0x16,0xea,0xbe]
+0x00,0x16,0xea,0xbe
+
+# CHECK: s_sext_i32_i8 vcc_hi, s0    ; encoding: [0x00,0x16,0xeb,0xbe]
+0x00,0x16,0xeb,0xbe
+
+# CHECK: s_sext_i32_i8 tba_lo, s0    ; encoding: [0x00,0x16,0xec,0xbe]
+0x00,0x16,0xec,0xbe
+
+# CHECK: s_sext_i32_i8 tba_hi, s0    ; encoding: [0x00,0x16,0xed,0xbe]
+0x00,0x16,0xed,0xbe
+
+# CHECK: s_sext_i32_i8 tma_lo, s0    ; encoding: [0x00,0x16,0xee,0xbe]
+0x00,0x16,0xee,0xbe
+
+# CHECK: s_sext_i32_i8 tma_hi, s0    ; encoding: [0x00,0x16,0xef,0xbe]
+0x00,0x16,0xef,0xbe
+
+# CHECK: s_sext_i32_i8 ttmp11, s0    ; encoding: [0x00,0x16,0xfb,0xbe]
+0x00,0x16,0xfb,0xbe
+
+# CHECK: s_sext_i32_i8 m0, s0    ; encoding: [0x00,0x16,0xfc,0xbe]
+0x00,0x16,0xfc,0xbe
+
+# CHECK: s_sext_i32_i8 exec_lo, s0    ; encoding: [0x00,0x16,0xfe,0xbe]
+0x00,0x16,0xfe,0xbe
+
+# CHECK: s_sext_i32_i8 exec_hi, s0    ; encoding: [0x00,0x16,0xff,0xbe]
+0x00,0x16,0xff,0xbe
+
+# CHECK: s_sext_i32_i8 s0, s101    ; encoding: [0x65,0x16,0x80,0xbe]
+0x65,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, flat_scratch_lo    ; encoding: [0x66,0x16,0x80,0xbe]
+0x66,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, flat_scratch_hi    ; encoding: [0x67,0x16,0x80,0xbe]
+0x67,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, vcc_lo    ; encoding: [0x6a,0x16,0x80,0xbe]
+0x6a,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, vcc_hi    ; encoding: [0x6b,0x16,0x80,0xbe]
+0x6b,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, tba_lo    ; encoding: [0x6c,0x16,0x80,0xbe]
+0x6c,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, tba_hi    ; encoding: [0x6d,0x16,0x80,0xbe]
+0x6d,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, tma_lo    ; encoding: [0x6e,0x16,0x80,0xbe]
+0x6e,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, tma_hi    ; encoding: [0x6f,0x16,0x80,0xbe]
+0x6f,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, ttmp11    ; encoding: [0x7b,0x16,0x80,0xbe]
+0x7b,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, m0    ; encoding: [0x7c,0x16,0x80,0xbe]
+0x7c,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, exec_lo    ; encoding: [0x7e,0x16,0x80,0xbe]
+0x7e,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, exec_hi    ; encoding: [0x7f,0x16,0x80,0xbe]
+0x7f,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, 0    ; encoding: [0x80,0x16,0x80,0xbe]
+0x80,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, -1    ; encoding: [0xc1,0x16,0x80,0xbe]
+0xc1,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, 0.5    ; encoding: [0xf0,0x16,0x80,0xbe]
+0xf0,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, -4.0    ; encoding: [0xf7,0x16,0x80,0xbe]
+0xf7,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, scc    ; encoding: [0xfd,0x16,0x80,0xbe]
+0xfd,0x16,0x80,0xbe
+
+# CHECK: s_sext_i32_i8 s0, 0x71    ; encoding: [0xff,0x16,0x80,0xbe,0x71,0x00,0x00,0x00]
+0xff,0x16,0x80,0xbe,0x71,0x00,0x00,0x00
+
+# CHECK: s_sext_i32_i8 s0, 0xf0    ; encoding: [0xff,0x16,0x80,0xbe,0xf0,0x00,0x00,0x00]
+0xff,0x16,0x80,0xbe,0xf0,0x00,0x00,0x00
+
+# CHECK: s_sext_i32_i16 s0, s0    ; encoding: [0x00,0x17,0x80,0xbe]
+0x00,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s101, s0    ; encoding: [0x00,0x17,0xe5,0xbe]
+0x00,0x17,0xe5,0xbe
+
+# CHECK: s_sext_i32_i16 flat_scratch_lo, s0    ; encoding: [0x00,0x17,0xe6,0xbe]
+0x00,0x17,0xe6,0xbe
+
+# CHECK: s_sext_i32_i16 flat_scratch_hi, s0    ; encoding: [0x00,0x17,0xe7,0xbe]
+0x00,0x17,0xe7,0xbe
+
+# CHECK: s_sext_i32_i16 vcc_lo, s0    ; encoding: [0x00,0x17,0xea,0xbe]
+0x00,0x17,0xea,0xbe
+
+# CHECK: s_sext_i32_i16 vcc_hi, s0    ; encoding: [0x00,0x17,0xeb,0xbe]
+0x00,0x17,0xeb,0xbe
+
+# CHECK: s_sext_i32_i16 tba_lo, s0    ; encoding: [0x00,0x17,0xec,0xbe]
+0x00,0x17,0xec,0xbe
+
+# CHECK: s_sext_i32_i16 tba_hi, s0    ; encoding: [0x00,0x17,0xed,0xbe]
+0x00,0x17,0xed,0xbe
+
+# CHECK: s_sext_i32_i16 tma_lo, s0    ; encoding: [0x00,0x17,0xee,0xbe]
+0x00,0x17,0xee,0xbe
+
+# CHECK: s_sext_i32_i16 tma_hi, s0    ; encoding: [0x00,0x17,0xef,0xbe]
+0x00,0x17,0xef,0xbe
+
+# CHECK: s_sext_i32_i16 ttmp11, s0    ; encoding: [0x00,0x17,0xfb,0xbe]
+0x00,0x17,0xfb,0xbe
+
+# CHECK: s_sext_i32_i16 m0, s0    ; encoding: [0x00,0x17,0xfc,0xbe]
+0x00,0x17,0xfc,0xbe
+
+# CHECK: s_sext_i32_i16 exec_lo, s0    ; encoding: [0x00,0x17,0xfe,0xbe]
+0x00,0x17,0xfe,0xbe
+
+# CHECK: s_sext_i32_i16 exec_hi, s0    ; encoding: [0x00,0x17,0xff,0xbe]
+0x00,0x17,0xff,0xbe
+
+# CHECK: s_sext_i32_i16 s0, s101    ; encoding: [0x65,0x17,0x80,0xbe]
+0x65,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, flat_scratch_lo    ; encoding: [0x66,0x17,0x80,0xbe]
+0x66,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, flat_scratch_hi    ; encoding: [0x67,0x17,0x80,0xbe]
+0x67,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, vcc_lo    ; encoding: [0x6a,0x17,0x80,0xbe]
+0x6a,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, vcc_hi    ; encoding: [0x6b,0x17,0x80,0xbe]
+0x6b,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, tba_lo    ; encoding: [0x6c,0x17,0x80,0xbe]
+0x6c,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, tba_hi    ; encoding: [0x6d,0x17,0x80,0xbe]
+0x6d,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, tma_lo    ; encoding: [0x6e,0x17,0x80,0xbe]
+0x6e,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, tma_hi    ; encoding: [0x6f,0x17,0x80,0xbe]
+0x6f,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, ttmp11    ; encoding: [0x7b,0x17,0x80,0xbe]
+0x7b,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, m0    ; encoding: [0x7c,0x17,0x80,0xbe]
+0x7c,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, exec_lo    ; encoding: [0x7e,0x17,0x80,0xbe]
+0x7e,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, exec_hi    ; encoding: [0x7f,0x17,0x80,0xbe]
+0x7f,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, 0    ; encoding: [0x80,0x17,0x80,0xbe]
+0x80,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, -1    ; encoding: [0xc1,0x17,0x80,0xbe]
+0xc1,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, 0.5    ; encoding: [0xf0,0x17,0x80,0xbe]
+0xf0,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, -4.0    ; encoding: [0xf7,0x17,0x80,0xbe]
+0xf7,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, scc    ; encoding: [0xfd,0x17,0x80,0xbe]
+0xfd,0x17,0x80,0xbe
+
+# CHECK: s_sext_i32_i16 s0, 0xaf123456    ; encoding: [0xff,0x17,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x17,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_sext_i32_i16 s0, 0x3f717273    ; encoding: [0xff,0x17,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x17,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bitset0_b32 s0, s0    ; encoding: [0x00,0x18,0x80,0xbe]
+0x00,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s101, s0    ; encoding: [0x00,0x18,0xe5,0xbe]
+0x00,0x18,0xe5,0xbe
+
+# CHECK: s_bitset0_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x18,0xe6,0xbe]
+0x00,0x18,0xe6,0xbe
+
+# CHECK: s_bitset0_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x18,0xe7,0xbe]
+0x00,0x18,0xe7,0xbe
+
+# CHECK: s_bitset0_b32 vcc_lo, s0    ; encoding: [0x00,0x18,0xea,0xbe]
+0x00,0x18,0xea,0xbe
+
+# CHECK: s_bitset0_b32 vcc_hi, s0    ; encoding: [0x00,0x18,0xeb,0xbe]
+0x00,0x18,0xeb,0xbe
+
+# CHECK: s_bitset0_b32 tba_lo, s0    ; encoding: [0x00,0x18,0xec,0xbe]
+0x00,0x18,0xec,0xbe
+
+# CHECK: s_bitset0_b32 tba_hi, s0    ; encoding: [0x00,0x18,0xed,0xbe]
+0x00,0x18,0xed,0xbe
+
+# CHECK: s_bitset0_b32 tma_lo, s0    ; encoding: [0x00,0x18,0xee,0xbe]
+0x00,0x18,0xee,0xbe
+
+# CHECK: s_bitset0_b32 tma_hi, s0    ; encoding: [0x00,0x18,0xef,0xbe]
+0x00,0x18,0xef,0xbe
+
+# CHECK: s_bitset0_b32 ttmp11, s0    ; encoding: [0x00,0x18,0xfb,0xbe]
+0x00,0x18,0xfb,0xbe
+
+# CHECK: s_bitset0_b32 m0, s0    ; encoding: [0x00,0x18,0xfc,0xbe]
+0x00,0x18,0xfc,0xbe
+
+# CHECK: s_bitset0_b32 exec_lo, s0    ; encoding: [0x00,0x18,0xfe,0xbe]
+0x00,0x18,0xfe,0xbe
+
+# CHECK: s_bitset0_b32 exec_hi, s0    ; encoding: [0x00,0x18,0xff,0xbe]
+0x00,0x18,0xff,0xbe
+
+# CHECK: s_bitset0_b32 s0, s101    ; encoding: [0x65,0x18,0x80,0xbe]
+0x65,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x18,0x80,0xbe]
+0x66,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x18,0x80,0xbe]
+0x67,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, vcc_lo    ; encoding: [0x6a,0x18,0x80,0xbe]
+0x6a,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, vcc_hi    ; encoding: [0x6b,0x18,0x80,0xbe]
+0x6b,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, tba_lo    ; encoding: [0x6c,0x18,0x80,0xbe]
+0x6c,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, tba_hi    ; encoding: [0x6d,0x18,0x80,0xbe]
+0x6d,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, tma_lo    ; encoding: [0x6e,0x18,0x80,0xbe]
+0x6e,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, tma_hi    ; encoding: [0x6f,0x18,0x80,0xbe]
+0x6f,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, ttmp11    ; encoding: [0x7b,0x18,0x80,0xbe]
+0x7b,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, m0    ; encoding: [0x7c,0x18,0x80,0xbe]
+0x7c,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, exec_lo    ; encoding: [0x7e,0x18,0x80,0xbe]
+0x7e,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, exec_hi    ; encoding: [0x7f,0x18,0x80,0xbe]
+0x7f,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, 0    ; encoding: [0x80,0x18,0x80,0xbe]
+0x80,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, -1    ; encoding: [0xc1,0x18,0x80,0xbe]
+0xc1,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, 0.5    ; encoding: [0xf0,0x18,0x80,0xbe]
+0xf0,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, -4.0    ; encoding: [0xf7,0x18,0x80,0xbe]
+0xf7,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, scc    ; encoding: [0xfd,0x18,0x80,0xbe]
+0xfd,0x18,0x80,0xbe
+
+# CHECK: s_bitset0_b32 s0, 0xaf123456    ; encoding: [0xff,0x18,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x18,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bitset0_b32 s0, 0x3f717273    ; encoding: [0xff,0x18,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x18,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bitset0_b64 s[0:1], s0    ; encoding: [0x00,0x19,0x80,0xbe]
+0x00,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[2:3], s0    ; encoding: [0x00,0x19,0x82,0xbe]
+0x00,0x19,0x82,0xbe
+
+# CHECK: s_bitset0_b64 s[100:101], s0    ; encoding: [0x00,0x19,0xe4,0xbe]
+0x00,0x19,0xe4,0xbe
+
+# CHECK: s_bitset0_b64 flat_scratch, s0    ; encoding: [0x00,0x19,0xe6,0xbe]
+0x00,0x19,0xe6,0xbe
+
+# CHECK: s_bitset0_b64 vcc, s0    ; encoding: [0x00,0x19,0xea,0xbe]
+0x00,0x19,0xea,0xbe
+
+# CHECK: s_bitset0_b64 tba, s0    ; encoding: [0x00,0x19,0xec,0xbe]
+0x00,0x19,0xec,0xbe
+
+# CHECK: s_bitset0_b64 tma, s0    ; encoding: [0x00,0x19,0xee,0xbe]
+0x00,0x19,0xee,0xbe
+
+# CHECK: s_bitset0_b64 ttmp[10:11], s0    ; encoding: [0x00,0x19,0xfa,0xbe]
+0x00,0x19,0xfa,0xbe
+
+# CHECK: s_bitset0_b64 exec, s0    ; encoding: [0x00,0x19,0xfe,0xbe]
+0x00,0x19,0xfe,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], s101    ; encoding: [0x65,0x19,0x80,0xbe]
+0x65,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], flat_scratch_lo    ; encoding: [0x66,0x19,0x80,0xbe]
+0x66,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], flat_scratch_hi    ; encoding: [0x67,0x19,0x80,0xbe]
+0x67,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], vcc_lo    ; encoding: [0x6a,0x19,0x80,0xbe]
+0x6a,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], vcc_hi    ; encoding: [0x6b,0x19,0x80,0xbe]
+0x6b,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], tba_lo    ; encoding: [0x6c,0x19,0x80,0xbe]
+0x6c,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], tba_hi    ; encoding: [0x6d,0x19,0x80,0xbe]
+0x6d,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], tma_lo    ; encoding: [0x6e,0x19,0x80,0xbe]
+0x6e,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], tma_hi    ; encoding: [0x6f,0x19,0x80,0xbe]
+0x6f,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], ttmp11    ; encoding: [0x7b,0x19,0x80,0xbe]
+0x7b,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], m0    ; encoding: [0x7c,0x19,0x80,0xbe]
+0x7c,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], exec_lo    ; encoding: [0x7e,0x19,0x80,0xbe]
+0x7e,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], exec_hi    ; encoding: [0x7f,0x19,0x80,0xbe]
+0x7f,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], 0    ; encoding: [0x80,0x19,0x80,0xbe]
+0x80,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], -1    ; encoding: [0xc1,0x19,0x80,0xbe]
+0xc1,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], 0.5    ; encoding: [0xf0,0x19,0x80,0xbe]
+0xf0,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], -4.0    ; encoding: [0xf7,0x19,0x80,0xbe]
+0xf7,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], scc    ; encoding: [0xfd,0x19,0x80,0xbe]
+0xfd,0x19,0x80,0xbe
+
+# CHECK: s_bitset0_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x19,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x19,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bitset0_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x19,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x19,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bitset1_b32 s0, s0    ; encoding: [0x00,0x1a,0x80,0xbe]
+0x00,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s101, s0    ; encoding: [0x00,0x1a,0xe5,0xbe]
+0x00,0x1a,0xe5,0xbe
+
+# CHECK: s_bitset1_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x1a,0xe6,0xbe]
+0x00,0x1a,0xe6,0xbe
+
+# CHECK: s_bitset1_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x1a,0xe7,0xbe]
+0x00,0x1a,0xe7,0xbe
+
+# CHECK: s_bitset1_b32 vcc_lo, s0    ; encoding: [0x00,0x1a,0xea,0xbe]
+0x00,0x1a,0xea,0xbe
+
+# CHECK: s_bitset1_b32 vcc_hi, s0    ; encoding: [0x00,0x1a,0xeb,0xbe]
+0x00,0x1a,0xeb,0xbe
+
+# CHECK: s_bitset1_b32 tba_lo, s0    ; encoding: [0x00,0x1a,0xec,0xbe]
+0x00,0x1a,0xec,0xbe
+
+# CHECK: s_bitset1_b32 tba_hi, s0    ; encoding: [0x00,0x1a,0xed,0xbe]
+0x00,0x1a,0xed,0xbe
+
+# CHECK: s_bitset1_b32 tma_lo, s0    ; encoding: [0x00,0x1a,0xee,0xbe]
+0x00,0x1a,0xee,0xbe
+
+# CHECK: s_bitset1_b32 tma_hi, s0    ; encoding: [0x00,0x1a,0xef,0xbe]
+0x00,0x1a,0xef,0xbe
+
+# CHECK: s_bitset1_b32 ttmp11, s0    ; encoding: [0x00,0x1a,0xfb,0xbe]
+0x00,0x1a,0xfb,0xbe
+
+# CHECK: s_bitset1_b32 m0, s0    ; encoding: [0x00,0x1a,0xfc,0xbe]
+0x00,0x1a,0xfc,0xbe
+
+# CHECK: s_bitset1_b32 exec_lo, s0    ; encoding: [0x00,0x1a,0xfe,0xbe]
+0x00,0x1a,0xfe,0xbe
+
+# CHECK: s_bitset1_b32 exec_hi, s0    ; encoding: [0x00,0x1a,0xff,0xbe]
+0x00,0x1a,0xff,0xbe
+
+# CHECK: s_bitset1_b32 s0, s101    ; encoding: [0x65,0x1a,0x80,0xbe]
+0x65,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x1a,0x80,0xbe]
+0x66,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x1a,0x80,0xbe]
+0x67,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, vcc_lo    ; encoding: [0x6a,0x1a,0x80,0xbe]
+0x6a,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, vcc_hi    ; encoding: [0x6b,0x1a,0x80,0xbe]
+0x6b,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, tba_lo    ; encoding: [0x6c,0x1a,0x80,0xbe]
+0x6c,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, tba_hi    ; encoding: [0x6d,0x1a,0x80,0xbe]
+0x6d,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, tma_lo    ; encoding: [0x6e,0x1a,0x80,0xbe]
+0x6e,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, tma_hi    ; encoding: [0x6f,0x1a,0x80,0xbe]
+0x6f,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, ttmp11    ; encoding: [0x7b,0x1a,0x80,0xbe]
+0x7b,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, m0    ; encoding: [0x7c,0x1a,0x80,0xbe]
+0x7c,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, exec_lo    ; encoding: [0x7e,0x1a,0x80,0xbe]
+0x7e,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, exec_hi    ; encoding: [0x7f,0x1a,0x80,0xbe]
+0x7f,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, 0    ; encoding: [0x80,0x1a,0x80,0xbe]
+0x80,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, -1    ; encoding: [0xc1,0x1a,0x80,0xbe]
+0xc1,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, 0.5    ; encoding: [0xf0,0x1a,0x80,0xbe]
+0xf0,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, -4.0    ; encoding: [0xf7,0x1a,0x80,0xbe]
+0xf7,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, scc    ; encoding: [0xfd,0x1a,0x80,0xbe]
+0xfd,0x1a,0x80,0xbe
+
+# CHECK: s_bitset1_b32 s0, 0xaf123456    ; encoding: [0xff,0x1a,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x1a,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bitset1_b32 s0, 0x3f717273    ; encoding: [0xff,0x1a,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x1a,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bitset1_b64 s[0:1], s0    ; encoding: [0x00,0x1b,0x80,0xbe]
+0x00,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[2:3], s0    ; encoding: [0x00,0x1b,0x82,0xbe]
+0x00,0x1b,0x82,0xbe
+
+# CHECK: s_bitset1_b64 s[100:101], s0    ; encoding: [0x00,0x1b,0xe4,0xbe]
+0x00,0x1b,0xe4,0xbe
+
+# CHECK: s_bitset1_b64 flat_scratch, s0    ; encoding: [0x00,0x1b,0xe6,0xbe]
+0x00,0x1b,0xe6,0xbe
+
+# CHECK: s_bitset1_b64 vcc, s0    ; encoding: [0x00,0x1b,0xea,0xbe]
+0x00,0x1b,0xea,0xbe
+
+# CHECK: s_bitset1_b64 tba, s0    ; encoding: [0x00,0x1b,0xec,0xbe]
+0x00,0x1b,0xec,0xbe
+
+# CHECK: s_bitset1_b64 tma, s0    ; encoding: [0x00,0x1b,0xee,0xbe]
+0x00,0x1b,0xee,0xbe
+
+# CHECK: s_bitset1_b64 ttmp[10:11], s0    ; encoding: [0x00,0x1b,0xfa,0xbe]
+0x00,0x1b,0xfa,0xbe
+
+# CHECK: s_bitset1_b64 exec, s0    ; encoding: [0x00,0x1b,0xfe,0xbe]
+0x00,0x1b,0xfe,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], s101    ; encoding: [0x65,0x1b,0x80,0xbe]
+0x65,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], flat_scratch_lo    ; encoding: [0x66,0x1b,0x80,0xbe]
+0x66,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], flat_scratch_hi    ; encoding: [0x67,0x1b,0x80,0xbe]
+0x67,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], vcc_lo    ; encoding: [0x6a,0x1b,0x80,0xbe]
+0x6a,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], vcc_hi    ; encoding: [0x6b,0x1b,0x80,0xbe]
+0x6b,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], tba_lo    ; encoding: [0x6c,0x1b,0x80,0xbe]
+0x6c,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], tba_hi    ; encoding: [0x6d,0x1b,0x80,0xbe]
+0x6d,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], tma_lo    ; encoding: [0x6e,0x1b,0x80,0xbe]
+0x6e,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], tma_hi    ; encoding: [0x6f,0x1b,0x80,0xbe]
+0x6f,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], ttmp11    ; encoding: [0x7b,0x1b,0x80,0xbe]
+0x7b,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], m0    ; encoding: [0x7c,0x1b,0x80,0xbe]
+0x7c,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], exec_lo    ; encoding: [0x7e,0x1b,0x80,0xbe]
+0x7e,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], exec_hi    ; encoding: [0x7f,0x1b,0x80,0xbe]
+0x7f,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], 0    ; encoding: [0x80,0x1b,0x80,0xbe]
+0x80,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], -1    ; encoding: [0xc1,0x1b,0x80,0xbe]
+0xc1,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], 0.5    ; encoding: [0xf0,0x1b,0x80,0xbe]
+0xf0,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], -4.0    ; encoding: [0xf7,0x1b,0x80,0xbe]
+0xf7,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], scc    ; encoding: [0xfd,0x1b,0x80,0xbe]
+0xfd,0x1b,0x80,0xbe
+
+# CHECK: s_bitset1_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x1b,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x1b,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bitset1_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x1b,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x1b,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_getpc_b64 s[0:1]    ; encoding: [0x00,0x1c,0x80,0xbe]
+0x00,0x1c,0x80,0xbe
+
+# CHECK: s_getpc_b64 s[2:3]    ; encoding: [0x00,0x1c,0x82,0xbe]
+0x00,0x1c,0x82,0xbe
+
+# CHECK: s_getpc_b64 s[100:101]    ; encoding: [0x00,0x1c,0xe4,0xbe]
+0x00,0x1c,0xe4,0xbe
+
+# CHECK: s_getpc_b64 flat_scratch    ; encoding: [0x00,0x1c,0xe6,0xbe]
+0x00,0x1c,0xe6,0xbe
+
+# CHECK: s_getpc_b64 vcc    ; encoding: [0x00,0x1c,0xea,0xbe]
+0x00,0x1c,0xea,0xbe
+
+# CHECK: s_getpc_b64 tba    ; encoding: [0x00,0x1c,0xec,0xbe]
+0x00,0x1c,0xec,0xbe
+
+# CHECK: s_getpc_b64 tma    ; encoding: [0x00,0x1c,0xee,0xbe]
+0x00,0x1c,0xee,0xbe
+
+# CHECK: s_getpc_b64 ttmp[10:11]    ; encoding: [0x00,0x1c,0xfa,0xbe]
+0x00,0x1c,0xfa,0xbe
+
+# CHECK: s_getpc_b64 exec    ; encoding: [0x00,0x1c,0xfe,0xbe]
+0x00,0x1c,0xfe,0xbe
+
+# CHECK: s_setpc_b64 s[0:1]    ; encoding: [0x00,0x1d,0x80,0xbe]
+0x00,0x1d,0x80,0xbe
+
+# CHECK: s_setpc_b64 s[2:3]    ; encoding: [0x02,0x1d,0x80,0xbe]
+0x02,0x1d,0x80,0xbe
+
+# CHECK: s_setpc_b64 s[100:101]    ; encoding: [0x64,0x1d,0x80,0xbe]
+0x64,0x1d,0x80,0xbe
+
+# CHECK: s_setpc_b64 flat_scratch    ; encoding: [0x66,0x1d,0x80,0xbe]
+0x66,0x1d,0x80,0xbe
+
+# CHECK: s_setpc_b64 vcc    ; encoding: [0x6a,0x1d,0x80,0xbe]
+0x6a,0x1d,0x80,0xbe
+
+# CHECK: s_setpc_b64 tba    ; encoding: [0x6c,0x1d,0x80,0xbe]
+0x6c,0x1d,0x80,0xbe
+
+# CHECK: s_setpc_b64 tma    ; encoding: [0x6e,0x1d,0x80,0xbe]
+0x6e,0x1d,0x80,0xbe
+
+# CHECK: s_setpc_b64 ttmp[10:11]    ; encoding: [0x7a,0x1d,0x80,0xbe]
+0x7a,0x1d,0x80,0xbe
+
+# CHECK: s_swappc_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x1e,0x80,0xbe]
+0x00,0x1e,0x80,0xbe
+
+# CHECK: s_swappc_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x1e,0x82,0xbe]
+0x00,0x1e,0x82,0xbe
+
+# CHECK: s_swappc_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x1e,0xe4,0xbe]
+0x00,0x1e,0xe4,0xbe
+
+# CHECK: s_swappc_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x1e,0xe6,0xbe]
+0x00,0x1e,0xe6,0xbe
+
+# CHECK: s_swappc_b64 vcc, s[0:1]    ; encoding: [0x00,0x1e,0xea,0xbe]
+0x00,0x1e,0xea,0xbe
+
+# CHECK: s_swappc_b64 tba, s[0:1]    ; encoding: [0x00,0x1e,0xec,0xbe]
+0x00,0x1e,0xec,0xbe
+
+# CHECK: s_swappc_b64 tma, s[0:1]    ; encoding: [0x00,0x1e,0xee,0xbe]
+0x00,0x1e,0xee,0xbe
+
+# CHECK: s_swappc_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x1e,0xfa,0xbe]
+0x00,0x1e,0xfa,0xbe
+
+# CHECK: s_swappc_b64 exec, s[0:1]    ; encoding: [0x00,0x1e,0xfe,0xbe]
+0x00,0x1e,0xfe,0xbe
+
+# CHECK: s_swappc_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x1e,0x80,0xbe]
+0x02,0x1e,0x80,0xbe
+
+# CHECK: s_swappc_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x1e,0x80,0xbe]
+0x64,0x1e,0x80,0xbe
+
+# CHECK: s_swappc_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x1e,0x80,0xbe]
+0x66,0x1e,0x80,0xbe
+
+# CHECK: s_swappc_b64 s[0:1], vcc    ; encoding: [0x6a,0x1e,0x80,0xbe]
+0x6a,0x1e,0x80,0xbe
+
+# CHECK: s_swappc_b64 s[0:1], tba    ; encoding: [0x6c,0x1e,0x80,0xbe]
+0x6c,0x1e,0x80,0xbe
+
+# CHECK: s_swappc_b64 s[0:1], tma    ; encoding: [0x6e,0x1e,0x80,0xbe]
+0x6e,0x1e,0x80,0xbe
+
+# CHECK: s_swappc_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x1e,0x80,0xbe]
+0x7a,0x1e,0x80,0xbe
+
+# CHECK: s_rfe_b64 s[0:1]    ; encoding: [0x00,0x1f,0x80,0xbe]
+0x00,0x1f,0x80,0xbe
+
+# CHECK: s_rfe_b64 s[2:3]    ; encoding: [0x02,0x1f,0x80,0xbe]
+0x02,0x1f,0x80,0xbe
+
+# CHECK: s_rfe_b64 s[100:101]    ; encoding: [0x64,0x1f,0x80,0xbe]
+0x64,0x1f,0x80,0xbe
+
+# CHECK: s_rfe_b64 flat_scratch    ; encoding: [0x66,0x1f,0x80,0xbe]
+0x66,0x1f,0x80,0xbe
+
+# CHECK: s_rfe_b64 vcc    ; encoding: [0x6a,0x1f,0x80,0xbe]
+0x6a,0x1f,0x80,0xbe
+
+# CHECK: s_rfe_b64 tba    ; encoding: [0x6c,0x1f,0x80,0xbe]
+0x6c,0x1f,0x80,0xbe
+
+# CHECK: s_rfe_b64 tma    ; encoding: [0x6e,0x1f,0x80,0xbe]
+0x6e,0x1f,0x80,0xbe
+
+# CHECK: s_rfe_b64 ttmp[10:11]    ; encoding: [0x7a,0x1f,0x80,0xbe]
+0x7a,0x1f,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x20,0x80,0xbe]
+0x00,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x20,0x82,0xbe]
+0x00,0x20,0x82,0xbe
+
+# CHECK: s_and_saveexec_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x20,0xe4,0xbe]
+0x00,0x20,0xe4,0xbe
+
+# CHECK: s_and_saveexec_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x20,0xe6,0xbe]
+0x00,0x20,0xe6,0xbe
+
+# CHECK: s_and_saveexec_b64 vcc, s[0:1]    ; encoding: [0x00,0x20,0xea,0xbe]
+0x00,0x20,0xea,0xbe
+
+# CHECK: s_and_saveexec_b64 tba, s[0:1]    ; encoding: [0x00,0x20,0xec,0xbe]
+0x00,0x20,0xec,0xbe
+
+# CHECK: s_and_saveexec_b64 tma, s[0:1]    ; encoding: [0x00,0x20,0xee,0xbe]
+0x00,0x20,0xee,0xbe
+
+# CHECK: s_and_saveexec_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x20,0xfa,0xbe]
+0x00,0x20,0xfa,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x20,0x80,0xbe]
+0x02,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x20,0x80,0xbe]
+0x64,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x20,0x80,0xbe]
+0x66,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], vcc    ; encoding: [0x6a,0x20,0x80,0xbe]
+0x6a,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], tba    ; encoding: [0x6c,0x20,0x80,0xbe]
+0x6c,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], tma    ; encoding: [0x6e,0x20,0x80,0xbe]
+0x6e,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x20,0x80,0xbe]
+0x7a,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], exec    ; encoding: [0x7e,0x20,0x80,0xbe]
+0x7e,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], 0    ; encoding: [0x80,0x20,0x80,0xbe]
+0x80,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], -1    ; encoding: [0xc1,0x20,0x80,0xbe]
+0xc1,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], 0.5    ; encoding: [0xf0,0x20,0x80,0xbe]
+0xf0,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], -4.0    ; encoding: [0xf7,0x20,0x80,0xbe]
+0xf7,0x20,0x80,0xbe
+
+# CHECK: s_and_saveexec_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x20,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x20,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_and_saveexec_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x20,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x20,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_or_saveexec_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x21,0x80,0xbe]
+0x00,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x21,0x82,0xbe]
+0x00,0x21,0x82,0xbe
+
+# CHECK: s_or_saveexec_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x21,0xe4,0xbe]
+0x00,0x21,0xe4,0xbe
+
+# CHECK: s_or_saveexec_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x21,0xe6,0xbe]
+0x00,0x21,0xe6,0xbe
+
+# CHECK: s_or_saveexec_b64 vcc, s[0:1]    ; encoding: [0x00,0x21,0xea,0xbe]
+0x00,0x21,0xea,0xbe
+
+# CHECK: s_or_saveexec_b64 tba, s[0:1]    ; encoding: [0x00,0x21,0xec,0xbe]
+0x00,0x21,0xec,0xbe
+
+# CHECK: s_or_saveexec_b64 tma, s[0:1]    ; encoding: [0x00,0x21,0xee,0xbe]
+0x00,0x21,0xee,0xbe
+
+# CHECK: s_or_saveexec_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x21,0xfa,0xbe]
+0x00,0x21,0xfa,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x21,0x80,0xbe]
+0x02,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x21,0x80,0xbe]
+0x64,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x21,0x80,0xbe]
+0x66,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], vcc    ; encoding: [0x6a,0x21,0x80,0xbe]
+0x6a,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], tba    ; encoding: [0x6c,0x21,0x80,0xbe]
+0x6c,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], tma    ; encoding: [0x6e,0x21,0x80,0xbe]
+0x6e,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x21,0x80,0xbe]
+0x7a,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], exec    ; encoding: [0x7e,0x21,0x80,0xbe]
+0x7e,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], 0    ; encoding: [0x80,0x21,0x80,0xbe]
+0x80,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], -1    ; encoding: [0xc1,0x21,0x80,0xbe]
+0xc1,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], 0.5    ; encoding: [0xf0,0x21,0x80,0xbe]
+0xf0,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], -4.0    ; encoding: [0xf7,0x21,0x80,0xbe]
+0xf7,0x21,0x80,0xbe
+
+# CHECK: s_or_saveexec_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x21,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x21,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_or_saveexec_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x21,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x21,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_xor_saveexec_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x22,0x80,0xbe]
+0x00,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x22,0x82,0xbe]
+0x00,0x22,0x82,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x22,0xe4,0xbe]
+0x00,0x22,0xe4,0xbe
+
+# CHECK: s_xor_saveexec_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x22,0xe6,0xbe]
+0x00,0x22,0xe6,0xbe
+
+# CHECK: s_xor_saveexec_b64 vcc, s[0:1]    ; encoding: [0x00,0x22,0xea,0xbe]
+0x00,0x22,0xea,0xbe
+
+# CHECK: s_xor_saveexec_b64 tba, s[0:1]    ; encoding: [0x00,0x22,0xec,0xbe]
+0x00,0x22,0xec,0xbe
+
+# CHECK: s_xor_saveexec_b64 tma, s[0:1]    ; encoding: [0x00,0x22,0xee,0xbe]
+0x00,0x22,0xee,0xbe
+
+# CHECK: s_xor_saveexec_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x22,0xfa,0xbe]
+0x00,0x22,0xfa,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x22,0x80,0xbe]
+0x02,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x22,0x80,0xbe]
+0x64,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x22,0x80,0xbe]
+0x66,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], vcc    ; encoding: [0x6a,0x22,0x80,0xbe]
+0x6a,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], tba    ; encoding: [0x6c,0x22,0x80,0xbe]
+0x6c,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], tma    ; encoding: [0x6e,0x22,0x80,0xbe]
+0x6e,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x22,0x80,0xbe]
+0x7a,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], exec    ; encoding: [0x7e,0x22,0x80,0xbe]
+0x7e,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], 0    ; encoding: [0x80,0x22,0x80,0xbe]
+0x80,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], -1    ; encoding: [0xc1,0x22,0x80,0xbe]
+0xc1,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], 0.5    ; encoding: [0xf0,0x22,0x80,0xbe]
+0xf0,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], -4.0    ; encoding: [0xf7,0x22,0x80,0xbe]
+0xf7,0x22,0x80,0xbe
+
+# CHECK: s_xor_saveexec_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x22,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x22,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_xor_saveexec_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x22,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x22,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x23,0x80,0xbe]
+0x00,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x23,0x82,0xbe]
+0x00,0x23,0x82,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x23,0xe4,0xbe]
+0x00,0x23,0xe4,0xbe
+
+# CHECK: s_andn2_saveexec_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x23,0xe6,0xbe]
+0x00,0x23,0xe6,0xbe
+
+# CHECK: s_andn2_saveexec_b64 vcc, s[0:1]    ; encoding: [0x00,0x23,0xea,0xbe]
+0x00,0x23,0xea,0xbe
+
+# CHECK: s_andn2_saveexec_b64 tba, s[0:1]    ; encoding: [0x00,0x23,0xec,0xbe]
+0x00,0x23,0xec,0xbe
+
+# CHECK: s_andn2_saveexec_b64 tma, s[0:1]    ; encoding: [0x00,0x23,0xee,0xbe]
+0x00,0x23,0xee,0xbe
+
+# CHECK: s_andn2_saveexec_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x23,0xfa,0xbe]
+0x00,0x23,0xfa,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x23,0x80,0xbe]
+0x02,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x23,0x80,0xbe]
+0x64,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x23,0x80,0xbe]
+0x66,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], vcc    ; encoding: [0x6a,0x23,0x80,0xbe]
+0x6a,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], tba    ; encoding: [0x6c,0x23,0x80,0xbe]
+0x6c,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], tma    ; encoding: [0x6e,0x23,0x80,0xbe]
+0x6e,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x23,0x80,0xbe]
+0x7a,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], exec    ; encoding: [0x7e,0x23,0x80,0xbe]
+0x7e,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], 0    ; encoding: [0x80,0x23,0x80,0xbe]
+0x80,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], -1    ; encoding: [0xc1,0x23,0x80,0xbe]
+0xc1,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], 0.5    ; encoding: [0xf0,0x23,0x80,0xbe]
+0xf0,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], -4.0    ; encoding: [0xf7,0x23,0x80,0xbe]
+0xf7,0x23,0x80,0xbe
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x23,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x23,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_andn2_saveexec_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x23,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x23,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x24,0x80,0xbe]
+0x00,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x24,0x82,0xbe]
+0x00,0x24,0x82,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x24,0xe4,0xbe]
+0x00,0x24,0xe4,0xbe
+
+# CHECK: s_orn2_saveexec_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x24,0xe6,0xbe]
+0x00,0x24,0xe6,0xbe
+
+# CHECK: s_orn2_saveexec_b64 vcc, s[0:1]    ; encoding: [0x00,0x24,0xea,0xbe]
+0x00,0x24,0xea,0xbe
+
+# CHECK: s_orn2_saveexec_b64 tba, s[0:1]    ; encoding: [0x00,0x24,0xec,0xbe]
+0x00,0x24,0xec,0xbe
+
+# CHECK: s_orn2_saveexec_b64 tma, s[0:1]    ; encoding: [0x00,0x24,0xee,0xbe]
+0x00,0x24,0xee,0xbe
+
+# CHECK: s_orn2_saveexec_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x24,0xfa,0xbe]
+0x00,0x24,0xfa,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x24,0x80,0xbe]
+0x02,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x24,0x80,0xbe]
+0x64,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x24,0x80,0xbe]
+0x66,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], vcc    ; encoding: [0x6a,0x24,0x80,0xbe]
+0x6a,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], tba    ; encoding: [0x6c,0x24,0x80,0xbe]
+0x6c,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], tma    ; encoding: [0x6e,0x24,0x80,0xbe]
+0x6e,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x24,0x80,0xbe]
+0x7a,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], exec    ; encoding: [0x7e,0x24,0x80,0xbe]
+0x7e,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], 0    ; encoding: [0x80,0x24,0x80,0xbe]
+0x80,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], -1    ; encoding: [0xc1,0x24,0x80,0xbe]
+0xc1,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], 0.5    ; encoding: [0xf0,0x24,0x80,0xbe]
+0xf0,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], -4.0    ; encoding: [0xf7,0x24,0x80,0xbe]
+0xf7,0x24,0x80,0xbe
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x24,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x24,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_orn2_saveexec_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x24,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x24,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_nand_saveexec_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x25,0x80,0xbe]
+0x00,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x25,0x82,0xbe]
+0x00,0x25,0x82,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x25,0xe4,0xbe]
+0x00,0x25,0xe4,0xbe
+
+# CHECK: s_nand_saveexec_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x25,0xe6,0xbe]
+0x00,0x25,0xe6,0xbe
+
+# CHECK: s_nand_saveexec_b64 vcc, s[0:1]    ; encoding: [0x00,0x25,0xea,0xbe]
+0x00,0x25,0xea,0xbe
+
+# CHECK: s_nand_saveexec_b64 tba, s[0:1]    ; encoding: [0x00,0x25,0xec,0xbe]
+0x00,0x25,0xec,0xbe
+
+# CHECK: s_nand_saveexec_b64 tma, s[0:1]    ; encoding: [0x00,0x25,0xee,0xbe]
+0x00,0x25,0xee,0xbe
+
+# CHECK: s_nand_saveexec_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x25,0xfa,0xbe]
+0x00,0x25,0xfa,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x25,0x80,0xbe]
+0x02,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x25,0x80,0xbe]
+0x64,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x25,0x80,0xbe]
+0x66,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], vcc    ; encoding: [0x6a,0x25,0x80,0xbe]
+0x6a,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], tba    ; encoding: [0x6c,0x25,0x80,0xbe]
+0x6c,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], tma    ; encoding: [0x6e,0x25,0x80,0xbe]
+0x6e,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x25,0x80,0xbe]
+0x7a,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], exec    ; encoding: [0x7e,0x25,0x80,0xbe]
+0x7e,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], 0    ; encoding: [0x80,0x25,0x80,0xbe]
+0x80,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], -1    ; encoding: [0xc1,0x25,0x80,0xbe]
+0xc1,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], 0.5    ; encoding: [0xf0,0x25,0x80,0xbe]
+0xf0,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], -4.0    ; encoding: [0xf7,0x25,0x80,0xbe]
+0xf7,0x25,0x80,0xbe
+
+# CHECK: s_nand_saveexec_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x25,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x25,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_nand_saveexec_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x25,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x25,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_nor_saveexec_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x26,0x80,0xbe]
+0x00,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x26,0x82,0xbe]
+0x00,0x26,0x82,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x26,0xe4,0xbe]
+0x00,0x26,0xe4,0xbe
+
+# CHECK: s_nor_saveexec_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x26,0xe6,0xbe]
+0x00,0x26,0xe6,0xbe
+
+# CHECK: s_nor_saveexec_b64 vcc, s[0:1]    ; encoding: [0x00,0x26,0xea,0xbe]
+0x00,0x26,0xea,0xbe
+
+# CHECK: s_nor_saveexec_b64 tba, s[0:1]    ; encoding: [0x00,0x26,0xec,0xbe]
+0x00,0x26,0xec,0xbe
+
+# CHECK: s_nor_saveexec_b64 tma, s[0:1]    ; encoding: [0x00,0x26,0xee,0xbe]
+0x00,0x26,0xee,0xbe
+
+# CHECK: s_nor_saveexec_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x26,0xfa,0xbe]
+0x00,0x26,0xfa,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x26,0x80,0xbe]
+0x02,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x26,0x80,0xbe]
+0x64,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x26,0x80,0xbe]
+0x66,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], vcc    ; encoding: [0x6a,0x26,0x80,0xbe]
+0x6a,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], tba    ; encoding: [0x6c,0x26,0x80,0xbe]
+0x6c,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], tma    ; encoding: [0x6e,0x26,0x80,0xbe]
+0x6e,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x26,0x80,0xbe]
+0x7a,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], exec    ; encoding: [0x7e,0x26,0x80,0xbe]
+0x7e,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], 0    ; encoding: [0x80,0x26,0x80,0xbe]
+0x80,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], -1    ; encoding: [0xc1,0x26,0x80,0xbe]
+0xc1,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], 0.5    ; encoding: [0xf0,0x26,0x80,0xbe]
+0xf0,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], -4.0    ; encoding: [0xf7,0x26,0x80,0xbe]
+0xf7,0x26,0x80,0xbe
+
+# CHECK: s_nor_saveexec_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x26,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x26,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_nor_saveexec_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x26,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x26,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x27,0x80,0xbe]
+0x00,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x27,0x82,0xbe]
+0x00,0x27,0x82,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x27,0xe4,0xbe]
+0x00,0x27,0xe4,0xbe
+
+# CHECK: s_xnor_saveexec_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x27,0xe6,0xbe]
+0x00,0x27,0xe6,0xbe
+
+# CHECK: s_xnor_saveexec_b64 vcc, s[0:1]    ; encoding: [0x00,0x27,0xea,0xbe]
+0x00,0x27,0xea,0xbe
+
+# CHECK: s_xnor_saveexec_b64 tba, s[0:1]    ; encoding: [0x00,0x27,0xec,0xbe]
+0x00,0x27,0xec,0xbe
+
+# CHECK: s_xnor_saveexec_b64 tma, s[0:1]    ; encoding: [0x00,0x27,0xee,0xbe]
+0x00,0x27,0xee,0xbe
+
+# CHECK: s_xnor_saveexec_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x27,0xfa,0xbe]
+0x00,0x27,0xfa,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x27,0x80,0xbe]
+0x02,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x27,0x80,0xbe]
+0x64,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x27,0x80,0xbe]
+0x66,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], vcc    ; encoding: [0x6a,0x27,0x80,0xbe]
+0x6a,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], tba    ; encoding: [0x6c,0x27,0x80,0xbe]
+0x6c,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], tma    ; encoding: [0x6e,0x27,0x80,0xbe]
+0x6e,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x27,0x80,0xbe]
+0x7a,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], exec    ; encoding: [0x7e,0x27,0x80,0xbe]
+0x7e,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], 0    ; encoding: [0x80,0x27,0x80,0xbe]
+0x80,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], -1    ; encoding: [0xc1,0x27,0x80,0xbe]
+0xc1,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], 0.5    ; encoding: [0xf0,0x27,0x80,0xbe]
+0xf0,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], -4.0    ; encoding: [0xf7,0x27,0x80,0xbe]
+0xf7,0x27,0x80,0xbe
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x27,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x27,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_xnor_saveexec_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x27,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x27,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_quadmask_b32 s0, s0    ; encoding: [0x00,0x28,0x80,0xbe]
+0x00,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s101, s0    ; encoding: [0x00,0x28,0xe5,0xbe]
+0x00,0x28,0xe5,0xbe
+
+# CHECK: s_quadmask_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x28,0xe6,0xbe]
+0x00,0x28,0xe6,0xbe
+
+# CHECK: s_quadmask_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x28,0xe7,0xbe]
+0x00,0x28,0xe7,0xbe
+
+# CHECK: s_quadmask_b32 vcc_lo, s0    ; encoding: [0x00,0x28,0xea,0xbe]
+0x00,0x28,0xea,0xbe
+
+# CHECK: s_quadmask_b32 vcc_hi, s0    ; encoding: [0x00,0x28,0xeb,0xbe]
+0x00,0x28,0xeb,0xbe
+
+# CHECK: s_quadmask_b32 tba_lo, s0    ; encoding: [0x00,0x28,0xec,0xbe]
+0x00,0x28,0xec,0xbe
+
+# CHECK: s_quadmask_b32 tba_hi, s0    ; encoding: [0x00,0x28,0xed,0xbe]
+0x00,0x28,0xed,0xbe
+
+# CHECK: s_quadmask_b32 tma_lo, s0    ; encoding: [0x00,0x28,0xee,0xbe]
+0x00,0x28,0xee,0xbe
+
+# CHECK: s_quadmask_b32 tma_hi, s0    ; encoding: [0x00,0x28,0xef,0xbe]
+0x00,0x28,0xef,0xbe
+
+# CHECK: s_quadmask_b32 ttmp11, s0    ; encoding: [0x00,0x28,0xfb,0xbe]
+0x00,0x28,0xfb,0xbe
+
+# CHECK: s_quadmask_b32 m0, s0    ; encoding: [0x00,0x28,0xfc,0xbe]
+0x00,0x28,0xfc,0xbe
+
+# CHECK: s_quadmask_b32 exec_lo, s0    ; encoding: [0x00,0x28,0xfe,0xbe]
+0x00,0x28,0xfe,0xbe
+
+# CHECK: s_quadmask_b32 exec_hi, s0    ; encoding: [0x00,0x28,0xff,0xbe]
+0x00,0x28,0xff,0xbe
+
+# CHECK: s_quadmask_b32 s0, s101    ; encoding: [0x65,0x28,0x80,0xbe]
+0x65,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x28,0x80,0xbe]
+0x66,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x28,0x80,0xbe]
+0x67,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, vcc_lo    ; encoding: [0x6a,0x28,0x80,0xbe]
+0x6a,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, vcc_hi    ; encoding: [0x6b,0x28,0x80,0xbe]
+0x6b,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, tba_lo    ; encoding: [0x6c,0x28,0x80,0xbe]
+0x6c,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, tba_hi    ; encoding: [0x6d,0x28,0x80,0xbe]
+0x6d,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, tma_lo    ; encoding: [0x6e,0x28,0x80,0xbe]
+0x6e,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, tma_hi    ; encoding: [0x6f,0x28,0x80,0xbe]
+0x6f,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, ttmp11    ; encoding: [0x7b,0x28,0x80,0xbe]
+0x7b,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, m0    ; encoding: [0x7c,0x28,0x80,0xbe]
+0x7c,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, exec_lo    ; encoding: [0x7e,0x28,0x80,0xbe]
+0x7e,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, exec_hi    ; encoding: [0x7f,0x28,0x80,0xbe]
+0x7f,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, 0    ; encoding: [0x80,0x28,0x80,0xbe]
+0x80,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, -1    ; encoding: [0xc1,0x28,0x80,0xbe]
+0xc1,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, 0.5    ; encoding: [0xf0,0x28,0x80,0xbe]
+0xf0,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, -4.0    ; encoding: [0xf7,0x28,0x80,0xbe]
+0xf7,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, scc    ; encoding: [0xfd,0x28,0x80,0xbe]
+0xfd,0x28,0x80,0xbe
+
+# CHECK: s_quadmask_b32 s0, 0xaf123456    ; encoding: [0xff,0x28,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x28,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_quadmask_b32 s0, 0x3f717273    ; encoding: [0xff,0x28,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x28,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_quadmask_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x29,0x80,0xbe]
+0x00,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x29,0x82,0xbe]
+0x00,0x29,0x82,0xbe
+
+# CHECK: s_quadmask_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x29,0xe4,0xbe]
+0x00,0x29,0xe4,0xbe
+
+# CHECK: s_quadmask_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x29,0xe6,0xbe]
+0x00,0x29,0xe6,0xbe
+
+# CHECK: s_quadmask_b64 vcc, s[0:1]    ; encoding: [0x00,0x29,0xea,0xbe]
+0x00,0x29,0xea,0xbe
+
+# CHECK: s_quadmask_b64 tba, s[0:1]    ; encoding: [0x00,0x29,0xec,0xbe]
+0x00,0x29,0xec,0xbe
+
+# CHECK: s_quadmask_b64 tma, s[0:1]    ; encoding: [0x00,0x29,0xee,0xbe]
+0x00,0x29,0xee,0xbe
+
+# CHECK: s_quadmask_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x29,0xfa,0xbe]
+0x00,0x29,0xfa,0xbe
+
+# CHECK: s_quadmask_b64 exec, s[0:1]    ; encoding: [0x00,0x29,0xfe,0xbe]
+0x00,0x29,0xfe,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x29,0x80,0xbe]
+0x02,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x29,0x80,0xbe]
+0x64,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x29,0x80,0xbe]
+0x66,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], vcc    ; encoding: [0x6a,0x29,0x80,0xbe]
+0x6a,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], tba    ; encoding: [0x6c,0x29,0x80,0xbe]
+0x6c,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], tma    ; encoding: [0x6e,0x29,0x80,0xbe]
+0x6e,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x29,0x80,0xbe]
+0x7a,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], exec    ; encoding: [0x7e,0x29,0x80,0xbe]
+0x7e,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], 0    ; encoding: [0x80,0x29,0x80,0xbe]
+0x80,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], -1    ; encoding: [0xc1,0x29,0x80,0xbe]
+0xc1,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], 0.5    ; encoding: [0xf0,0x29,0x80,0xbe]
+0xf0,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], -4.0    ; encoding: [0xf7,0x29,0x80,0xbe]
+0xf7,0x29,0x80,0xbe
+
+# CHECK: s_quadmask_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x29,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x29,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_quadmask_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x29,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x29,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_movrels_b32 s0, s0    ; encoding: [0x00,0x2a,0x80,0xbe]
+0x00,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s101, s0    ; encoding: [0x00,0x2a,0xe5,0xbe]
+0x00,0x2a,0xe5,0xbe
+
+# CHECK: s_movrels_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x2a,0xe6,0xbe]
+0x00,0x2a,0xe6,0xbe
+
+# CHECK: s_movrels_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x2a,0xe7,0xbe]
+0x00,0x2a,0xe7,0xbe
+
+# CHECK: s_movrels_b32 vcc_lo, s0    ; encoding: [0x00,0x2a,0xea,0xbe]
+0x00,0x2a,0xea,0xbe
+
+# CHECK: s_movrels_b32 vcc_hi, s0    ; encoding: [0x00,0x2a,0xeb,0xbe]
+0x00,0x2a,0xeb,0xbe
+
+# CHECK: s_movrels_b32 tba_lo, s0    ; encoding: [0x00,0x2a,0xec,0xbe]
+0x00,0x2a,0xec,0xbe
+
+# CHECK: s_movrels_b32 tba_hi, s0    ; encoding: [0x00,0x2a,0xed,0xbe]
+0x00,0x2a,0xed,0xbe
+
+# CHECK: s_movrels_b32 tma_lo, s0    ; encoding: [0x00,0x2a,0xee,0xbe]
+0x00,0x2a,0xee,0xbe
+
+# CHECK: s_movrels_b32 tma_hi, s0    ; encoding: [0x00,0x2a,0xef,0xbe]
+0x00,0x2a,0xef,0xbe
+
+# CHECK: s_movrels_b32 ttmp11, s0    ; encoding: [0x00,0x2a,0xfb,0xbe]
+0x00,0x2a,0xfb,0xbe
+
+# CHECK: s_movrels_b32 m0, s0    ; encoding: [0x00,0x2a,0xfc,0xbe]
+0x00,0x2a,0xfc,0xbe
+
+# CHECK: s_movrels_b32 exec_lo, s0    ; encoding: [0x00,0x2a,0xfe,0xbe]
+0x00,0x2a,0xfe,0xbe
+
+# CHECK: s_movrels_b32 exec_hi, s0    ; encoding: [0x00,0x2a,0xff,0xbe]
+0x00,0x2a,0xff,0xbe
+
+# CHECK: s_movrels_b32 s0, s101    ; encoding: [0x65,0x2a,0x80,0xbe]
+0x65,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x2a,0x80,0xbe]
+0x66,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x2a,0x80,0xbe]
+0x67,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s0, vcc_lo    ; encoding: [0x6a,0x2a,0x80,0xbe]
+0x6a,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s0, vcc_hi    ; encoding: [0x6b,0x2a,0x80,0xbe]
+0x6b,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s0, tba_lo    ; encoding: [0x6c,0x2a,0x80,0xbe]
+0x6c,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s0, tba_hi    ; encoding: [0x6d,0x2a,0x80,0xbe]
+0x6d,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s0, tma_lo    ; encoding: [0x6e,0x2a,0x80,0xbe]
+0x6e,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s0, tma_hi    ; encoding: [0x6f,0x2a,0x80,0xbe]
+0x6f,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b32 s0, ttmp11    ; encoding: [0x7b,0x2a,0x80,0xbe]
+0x7b,0x2a,0x80,0xbe
+
+# CHECK: s_movrels_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x2b,0x80,0xbe]
+0x00,0x2b,0x80,0xbe
+
+# CHECK: s_movrels_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x2b,0x82,0xbe]
+0x00,0x2b,0x82,0xbe
+
+# CHECK: s_movrels_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x2b,0xe4,0xbe]
+0x00,0x2b,0xe4,0xbe
+
+# CHECK: s_movrels_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x2b,0xe6,0xbe]
+0x00,0x2b,0xe6,0xbe
+
+# CHECK: s_movrels_b64 vcc, s[0:1]    ; encoding: [0x00,0x2b,0xea,0xbe]
+0x00,0x2b,0xea,0xbe
+
+# CHECK: s_movrels_b64 tba, s[0:1]    ; encoding: [0x00,0x2b,0xec,0xbe]
+0x00,0x2b,0xec,0xbe
+
+# CHECK: s_movrels_b64 tma, s[0:1]    ; encoding: [0x00,0x2b,0xee,0xbe]
+0x00,0x2b,0xee,0xbe
+
+# CHECK: s_movrels_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x2b,0xfa,0xbe]
+0x00,0x2b,0xfa,0xbe
+
+# CHECK: s_movrels_b64 exec, s[0:1]    ; encoding: [0x00,0x2b,0xfe,0xbe]
+0x00,0x2b,0xfe,0xbe
+
+# CHECK: s_movrels_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x2b,0x80,0xbe]
+0x02,0x2b,0x80,0xbe
+
+# CHECK: s_movrels_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x2b,0x80,0xbe]
+0x64,0x2b,0x80,0xbe
+
+# CHECK: s_movrels_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x2b,0x80,0xbe]
+0x66,0x2b,0x80,0xbe
+
+# CHECK: s_movrels_b64 s[0:1], vcc    ; encoding: [0x6a,0x2b,0x80,0xbe]
+0x6a,0x2b,0x80,0xbe
+
+# CHECK: s_movrels_b64 s[0:1], tba    ; encoding: [0x6c,0x2b,0x80,0xbe]
+0x6c,0x2b,0x80,0xbe
+
+# CHECK: s_movrels_b64 s[0:1], tma    ; encoding: [0x6e,0x2b,0x80,0xbe]
+0x6e,0x2b,0x80,0xbe
+
+# CHECK: s_movrels_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x2b,0x80,0xbe]
+0x7a,0x2b,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, s0    ; encoding: [0x00,0x2c,0x80,0xbe]
+0x00,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s101, s0    ; encoding: [0x00,0x2c,0xe5,0xbe]
+0x00,0x2c,0xe5,0xbe
+
+# CHECK: s_movreld_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x2c,0xe6,0xbe]
+0x00,0x2c,0xe6,0xbe
+
+# CHECK: s_movreld_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x2c,0xe7,0xbe]
+0x00,0x2c,0xe7,0xbe
+
+# CHECK: s_movreld_b32 vcc_lo, s0    ; encoding: [0x00,0x2c,0xea,0xbe]
+0x00,0x2c,0xea,0xbe
+
+# CHECK: s_movreld_b32 vcc_hi, s0    ; encoding: [0x00,0x2c,0xeb,0xbe]
+0x00,0x2c,0xeb,0xbe
+
+# CHECK: s_movreld_b32 tba_lo, s0    ; encoding: [0x00,0x2c,0xec,0xbe]
+0x00,0x2c,0xec,0xbe
+
+# CHECK: s_movreld_b32 tba_hi, s0    ; encoding: [0x00,0x2c,0xed,0xbe]
+0x00,0x2c,0xed,0xbe
+
+# CHECK: s_movreld_b32 tma_lo, s0    ; encoding: [0x00,0x2c,0xee,0xbe]
+0x00,0x2c,0xee,0xbe
+
+# CHECK: s_movreld_b32 tma_hi, s0    ; encoding: [0x00,0x2c,0xef,0xbe]
+0x00,0x2c,0xef,0xbe
+
+# CHECK: s_movreld_b32 ttmp11, s0    ; encoding: [0x00,0x2c,0xfb,0xbe]
+0x00,0x2c,0xfb,0xbe
+
+# CHECK: s_movreld_b32 s0, s101    ; encoding: [0x65,0x2c,0x80,0xbe]
+0x65,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x2c,0x80,0xbe]
+0x66,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x2c,0x80,0xbe]
+0x67,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, vcc_lo    ; encoding: [0x6a,0x2c,0x80,0xbe]
+0x6a,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, vcc_hi    ; encoding: [0x6b,0x2c,0x80,0xbe]
+0x6b,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, tba_lo    ; encoding: [0x6c,0x2c,0x80,0xbe]
+0x6c,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, tba_hi    ; encoding: [0x6d,0x2c,0x80,0xbe]
+0x6d,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, tma_lo    ; encoding: [0x6e,0x2c,0x80,0xbe]
+0x6e,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, tma_hi    ; encoding: [0x6f,0x2c,0x80,0xbe]
+0x6f,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, ttmp11    ; encoding: [0x7b,0x2c,0x80,0xbe]
+0x7b,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, m0    ; encoding: [0x7c,0x2c,0x80,0xbe]
+0x7c,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, 0    ; encoding: [0x80,0x2c,0x80,0xbe]
+0x80,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, -1    ; encoding: [0xc1,0x2c,0x80,0xbe]
+0xc1,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, 0.5    ; encoding: [0xf0,0x2c,0x80,0xbe]
+0xf0,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, -4.0    ; encoding: [0xf7,0x2c,0x80,0xbe]
+0xf7,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, scc    ; encoding: [0xfd,0x2c,0x80,0xbe]
+0xfd,0x2c,0x80,0xbe
+
+# CHECK: s_movreld_b32 s0, 0xaf123456    ; encoding: [0xff,0x2c,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x2c,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_movreld_b32 s0, 0x3f717273    ; encoding: [0xff,0x2c,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x2c,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_movreld_b64 s[0:1], s[0:1]    ; encoding: [0x00,0x2d,0x80,0xbe]
+0x00,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[2:3], s[0:1]    ; encoding: [0x00,0x2d,0x82,0xbe]
+0x00,0x2d,0x82,0xbe
+
+# CHECK: s_movreld_b64 s[100:101], s[0:1]    ; encoding: [0x00,0x2d,0xe4,0xbe]
+0x00,0x2d,0xe4,0xbe
+
+# CHECK: s_movreld_b64 flat_scratch, s[0:1]    ; encoding: [0x00,0x2d,0xe6,0xbe]
+0x00,0x2d,0xe6,0xbe
+
+# CHECK: s_movreld_b64 vcc, s[0:1]    ; encoding: [0x00,0x2d,0xea,0xbe]
+0x00,0x2d,0xea,0xbe
+
+# CHECK: s_movreld_b64 tba, s[0:1]    ; encoding: [0x00,0x2d,0xec,0xbe]
+0x00,0x2d,0xec,0xbe
+
+# CHECK: s_movreld_b64 tma, s[0:1]    ; encoding: [0x00,0x2d,0xee,0xbe]
+0x00,0x2d,0xee,0xbe
+
+# CHECK: s_movreld_b64 ttmp[10:11], s[0:1]    ; encoding: [0x00,0x2d,0xfa,0xbe]
+0x00,0x2d,0xfa,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], s[2:3]    ; encoding: [0x02,0x2d,0x80,0xbe]
+0x02,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], s[100:101]    ; encoding: [0x64,0x2d,0x80,0xbe]
+0x64,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], flat_scratch    ; encoding: [0x66,0x2d,0x80,0xbe]
+0x66,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], vcc    ; encoding: [0x6a,0x2d,0x80,0xbe]
+0x6a,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], tba    ; encoding: [0x6c,0x2d,0x80,0xbe]
+0x6c,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], tma    ; encoding: [0x6e,0x2d,0x80,0xbe]
+0x6e,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], ttmp[10:11]    ; encoding: [0x7a,0x2d,0x80,0xbe]
+0x7a,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], 0    ; encoding: [0x80,0x2d,0x80,0xbe]
+0x80,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], -1    ; encoding: [0xc1,0x2d,0x80,0xbe]
+0xc1,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], 0.5    ; encoding: [0xf0,0x2d,0x80,0xbe]
+0xf0,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], -4.0    ; encoding: [0xf7,0x2d,0x80,0xbe]
+0xf7,0x2d,0x80,0xbe
+
+# CHECK: s_movreld_b64 s[0:1], 0xaf123456    ; encoding: [0xff,0x2d,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x2d,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_movreld_b64 s[0:1], 0x3f717273    ; encoding: [0xff,0x2d,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x2d,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_abs_i32 s0, s0    ; encoding: [0x00,0x30,0x80,0xbe]
+0x00,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s101, s0    ; encoding: [0x00,0x30,0xe5,0xbe]
+0x00,0x30,0xe5,0xbe
+
+# CHECK: s_abs_i32 flat_scratch_lo, s0    ; encoding: [0x00,0x30,0xe6,0xbe]
+0x00,0x30,0xe6,0xbe
+
+# CHECK: s_abs_i32 flat_scratch_hi, s0    ; encoding: [0x00,0x30,0xe7,0xbe]
+0x00,0x30,0xe7,0xbe
+
+# CHECK: s_abs_i32 vcc_lo, s0    ; encoding: [0x00,0x30,0xea,0xbe]
+0x00,0x30,0xea,0xbe
+
+# CHECK: s_abs_i32 vcc_hi, s0    ; encoding: [0x00,0x30,0xeb,0xbe]
+0x00,0x30,0xeb,0xbe
+
+# CHECK: s_abs_i32 tba_lo, s0    ; encoding: [0x00,0x30,0xec,0xbe]
+0x00,0x30,0xec,0xbe
+
+# CHECK: s_abs_i32 tba_hi, s0    ; encoding: [0x00,0x30,0xed,0xbe]
+0x00,0x30,0xed,0xbe
+
+# CHECK: s_abs_i32 tma_lo, s0    ; encoding: [0x00,0x30,0xee,0xbe]
+0x00,0x30,0xee,0xbe
+
+# CHECK: s_abs_i32 tma_hi, s0    ; encoding: [0x00,0x30,0xef,0xbe]
+0x00,0x30,0xef,0xbe
+
+# CHECK: s_abs_i32 ttmp11, s0    ; encoding: [0x00,0x30,0xfb,0xbe]
+0x00,0x30,0xfb,0xbe
+
+# CHECK: s_abs_i32 m0, s0    ; encoding: [0x00,0x30,0xfc,0xbe]
+0x00,0x30,0xfc,0xbe
+
+# CHECK: s_abs_i32 exec_lo, s0    ; encoding: [0x00,0x30,0xfe,0xbe]
+0x00,0x30,0xfe,0xbe
+
+# CHECK: s_abs_i32 exec_hi, s0    ; encoding: [0x00,0x30,0xff,0xbe]
+0x00,0x30,0xff,0xbe
+
+# CHECK: s_abs_i32 s0, s101    ; encoding: [0x65,0x30,0x80,0xbe]
+0x65,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, flat_scratch_lo    ; encoding: [0x66,0x30,0x80,0xbe]
+0x66,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, flat_scratch_hi    ; encoding: [0x67,0x30,0x80,0xbe]
+0x67,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, vcc_lo    ; encoding: [0x6a,0x30,0x80,0xbe]
+0x6a,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, vcc_hi    ; encoding: [0x6b,0x30,0x80,0xbe]
+0x6b,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, tba_lo    ; encoding: [0x6c,0x30,0x80,0xbe]
+0x6c,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, tba_hi    ; encoding: [0x6d,0x30,0x80,0xbe]
+0x6d,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, tma_lo    ; encoding: [0x6e,0x30,0x80,0xbe]
+0x6e,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, tma_hi    ; encoding: [0x6f,0x30,0x80,0xbe]
+0x6f,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, ttmp11    ; encoding: [0x7b,0x30,0x80,0xbe]
+0x7b,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, m0    ; encoding: [0x7c,0x30,0x80,0xbe]
+0x7c,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, exec_lo    ; encoding: [0x7e,0x30,0x80,0xbe]
+0x7e,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, exec_hi    ; encoding: [0x7f,0x30,0x80,0xbe]
+0x7f,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, 0    ; encoding: [0x80,0x30,0x80,0xbe]
+0x80,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, -1    ; encoding: [0xc1,0x30,0x80,0xbe]
+0xc1,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, 0.5    ; encoding: [0xf0,0x30,0x80,0xbe]
+0xf0,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, -4.0    ; encoding: [0xf7,0x30,0x80,0xbe]
+0xf7,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, scc    ; encoding: [0xfd,0x30,0x80,0xbe]
+0xfd,0x30,0x80,0xbe
+
+# CHECK: s_abs_i32 s0, 0xaf123456    ; encoding: [0xff,0x30,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x30,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_abs_i32 s0, 0x3f717273    ; encoding: [0xff,0x30,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x30,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_mov_fed_b32 s0, s0    ; encoding: [0x00,0x31,0x80,0xbe]
+0x00,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s101, s0    ; encoding: [0x00,0x31,0xe5,0xbe]
+0x00,0x31,0xe5,0xbe
+
+# CHECK: s_mov_fed_b32 flat_scratch_lo, s0    ; encoding: [0x00,0x31,0xe6,0xbe]
+0x00,0x31,0xe6,0xbe
+
+# CHECK: s_mov_fed_b32 flat_scratch_hi, s0    ; encoding: [0x00,0x31,0xe7,0xbe]
+0x00,0x31,0xe7,0xbe
+
+# CHECK: s_mov_fed_b32 vcc_lo, s0    ; encoding: [0x00,0x31,0xea,0xbe]
+0x00,0x31,0xea,0xbe
+
+# CHECK: s_mov_fed_b32 vcc_hi, s0    ; encoding: [0x00,0x31,0xeb,0xbe]
+0x00,0x31,0xeb,0xbe
+
+# CHECK: s_mov_fed_b32 tba_lo, s0    ; encoding: [0x00,0x31,0xec,0xbe]
+0x00,0x31,0xec,0xbe
+
+# CHECK: s_mov_fed_b32 tba_hi, s0    ; encoding: [0x00,0x31,0xed,0xbe]
+0x00,0x31,0xed,0xbe
+
+# CHECK: s_mov_fed_b32 tma_lo, s0    ; encoding: [0x00,0x31,0xee,0xbe]
+0x00,0x31,0xee,0xbe
+
+# CHECK: s_mov_fed_b32 tma_hi, s0    ; encoding: [0x00,0x31,0xef,0xbe]
+0x00,0x31,0xef,0xbe
+
+# CHECK: s_mov_fed_b32 ttmp11, s0    ; encoding: [0x00,0x31,0xfb,0xbe]
+0x00,0x31,0xfb,0xbe
+
+# CHECK: s_mov_fed_b32 m0, s0    ; encoding: [0x00,0x31,0xfc,0xbe]
+0x00,0x31,0xfc,0xbe
+
+# CHECK: s_mov_fed_b32 exec_lo, s0    ; encoding: [0x00,0x31,0xfe,0xbe]
+0x00,0x31,0xfe,0xbe
+
+# CHECK: s_mov_fed_b32 exec_hi, s0    ; encoding: [0x00,0x31,0xff,0xbe]
+0x00,0x31,0xff,0xbe
+
+# CHECK: s_mov_fed_b32 s0, s101    ; encoding: [0x65,0x31,0x80,0xbe]
+0x65,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, flat_scratch_lo    ; encoding: [0x66,0x31,0x80,0xbe]
+0x66,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, flat_scratch_hi    ; encoding: [0x67,0x31,0x80,0xbe]
+0x67,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, vcc_lo    ; encoding: [0x6a,0x31,0x80,0xbe]
+0x6a,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, vcc_hi    ; encoding: [0x6b,0x31,0x80,0xbe]
+0x6b,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, tba_lo    ; encoding: [0x6c,0x31,0x80,0xbe]
+0x6c,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, tba_hi    ; encoding: [0x6d,0x31,0x80,0xbe]
+0x6d,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, tma_lo    ; encoding: [0x6e,0x31,0x80,0xbe]
+0x6e,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, tma_hi    ; encoding: [0x6f,0x31,0x80,0xbe]
+0x6f,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, ttmp11    ; encoding: [0x7b,0x31,0x80,0xbe]
+0x7b,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, m0    ; encoding: [0x7c,0x31,0x80,0xbe]
+0x7c,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, exec_lo    ; encoding: [0x7e,0x31,0x80,0xbe]
+0x7e,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, exec_hi    ; encoding: [0x7f,0x31,0x80,0xbe]
+0x7f,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, 0    ; encoding: [0x80,0x31,0x80,0xbe]
+0x80,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, -1    ; encoding: [0xc1,0x31,0x80,0xbe]
+0xc1,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, 0.5    ; encoding: [0xf0,0x31,0x80,0xbe]
+0xf0,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, -4.0    ; encoding: [0xf7,0x31,0x80,0xbe]
+0xf7,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, scc    ; encoding: [0xfd,0x31,0x80,0xbe]
+0xfd,0x31,0x80,0xbe
+
+# CHECK: s_mov_fed_b32 s0, 0xaf123456    ; encoding: [0xff,0x31,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x31,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_mov_fed_b32 s0, 0x3f717273    ; encoding: [0xff,0x31,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x31,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_set_gpr_idx_idx s0    ; encoding: [0x00,0x32,0x80,0xbe]
+0x00,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx s101    ; encoding: [0x65,0x32,0x80,0xbe]
+0x65,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx flat_scratch_lo    ; encoding: [0x66,0x32,0x80,0xbe]
+0x66,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx flat_scratch_hi    ; encoding: [0x67,0x32,0x80,0xbe]
+0x67,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx vcc_lo    ; encoding: [0x6a,0x32,0x80,0xbe]
+0x6a,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx vcc_hi    ; encoding: [0x6b,0x32,0x80,0xbe]
+0x6b,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx tba_lo    ; encoding: [0x6c,0x32,0x80,0xbe]
+0x6c,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx tba_hi    ; encoding: [0x6d,0x32,0x80,0xbe]
+0x6d,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx tma_lo    ; encoding: [0x6e,0x32,0x80,0xbe]
+0x6e,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx tma_hi    ; encoding: [0x6f,0x32,0x80,0xbe]
+0x6f,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx ttmp11    ; encoding: [0x7b,0x32,0x80,0xbe]
+0x7b,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx m0    ; encoding: [0x7c,0x32,0x80,0xbe]
+0x7c,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx 0    ; encoding: [0x80,0x32,0x80,0xbe]
+0x80,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx -1    ; encoding: [0xc1,0x32,0x80,0xbe]
+0xc1,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx 0.5    ; encoding: [0xf0,0x32,0x80,0xbe]
+0xf0,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx -4.0    ; encoding: [0xf7,0x32,0x80,0xbe]
+0xf7,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx scc    ; encoding: [0xfd,0x32,0x80,0xbe]
+0xfd,0x32,0x80,0xbe
+
+# CHECK: s_set_gpr_idx_idx 0xaf123456    ; encoding: [0xff,0x32,0x80,0xbe,0x56,0x34,0x12,0xaf]
+0xff,0x32,0x80,0xbe,0x56,0x34,0x12,0xaf
+
+# CHECK: s_set_gpr_idx_idx 0x3f717273    ; encoding: [0xff,0x32,0x80,0xbe,0x73,0x72,0x71,0x3f]
+0xff,0x32,0x80,0xbe,0x73,0x72,0x71,0x3f
+
+# CHECK: s_add_u32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x80]
+0x00,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x80]
+0x00,0x00,0x65,0x80
+
+# CHECK: s_add_u32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x80]
+0x00,0x00,0x66,0x80
+
+# CHECK: s_add_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x80]
+0x00,0x00,0x67,0x80
+
+# CHECK: s_add_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x80]
+0x00,0x00,0x6a,0x80
+
+# CHECK: s_add_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x80]
+0x00,0x00,0x6b,0x80
+
+# CHECK: s_add_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x80]
+0x00,0x00,0x6c,0x80
+
+# CHECK: s_add_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x80]
+0x00,0x00,0x6d,0x80
+
+# CHECK: s_add_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x80]
+0x00,0x00,0x6e,0x80
+
+# CHECK: s_add_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x80]
+0x00,0x00,0x6f,0x80
+
+# CHECK: s_add_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x80]
+0x00,0x00,0x7b,0x80
+
+# CHECK: s_add_u32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x80]
+0x00,0x00,0x7c,0x80
+
+# CHECK: s_add_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x80]
+0x00,0x00,0x7e,0x80
+
+# CHECK: s_add_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x80]
+0x00,0x00,0x7f,0x80
+
+# CHECK: s_add_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x80]
+0x65,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x80]
+0x66,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x80]
+0x67,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x80]
+0x6a,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x80]
+0x6b,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x80]
+0x6c,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x80]
+0x6d,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x80]
+0x6e,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x80]
+0x6f,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x80]
+0x7b,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x80]
+0x7c,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x80]
+0x7e,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x80]
+0x7f,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x80]
+0x80,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x80]
+0xc1,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x80]
+0xf0,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x80]
+0xf7,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x80]
+0xfd,0x00,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x80]
+0x00,0x65,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x80]
+0x00,0x66,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x80]
+0x00,0x67,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x80]
+0x00,0x6a,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x80]
+0x00,0x6b,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x80]
+0x00,0x6c,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x80]
+0x00,0x6d,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x80]
+0x00,0x6e,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x80]
+0x00,0x6f,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x80]
+0x00,0x7b,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x80]
+0x00,0x7c,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x80]
+0x00,0x7e,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x80]
+0x00,0x7f,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x80]
+0x00,0x80,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x80]
+0x00,0xc1,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x80]
+0x00,0xf0,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x80]
+0x00,0xf7,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x80]
+0x00,0xfd,0x00,0x80
+
+# CHECK: s_add_u32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x80,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x80,0x56,0x34,0x12,0xaf
+
+# CHECK: s_add_u32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x80,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x80,0x73,0x72,0x71,0x3f
+
+# CHECK: s_sub_u32 s0, s0, s0    ; encoding: [0x00,0x00,0x80,0x80]
+0x00,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x80]
+0x00,0x00,0xe5,0x80
+
+# CHECK: s_sub_u32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0xe6,0x80]
+0x00,0x00,0xe6,0x80
+
+# CHECK: s_sub_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x80]
+0x00,0x00,0xe7,0x80
+
+# CHECK: s_sub_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x80]
+0x00,0x00,0xea,0x80
+
+# CHECK: s_sub_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x80]
+0x00,0x00,0xeb,0x80
+
+# CHECK: s_sub_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x80]
+0x00,0x00,0xec,0x80
+
+# CHECK: s_sub_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x80]
+0x00,0x00,0xed,0x80
+
+# CHECK: s_sub_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x80]
+0x00,0x00,0xee,0x80
+
+# CHECK: s_sub_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x80]
+0x00,0x00,0xef,0x80
+
+# CHECK: s_sub_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x80]
+0x00,0x00,0xfb,0x80
+
+# CHECK: s_sub_u32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x80]
+0x00,0x00,0xfc,0x80
+
+# CHECK: s_sub_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x80]
+0x00,0x00,0xfe,0x80
+
+# CHECK: s_sub_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x80]
+0x00,0x00,0xff,0x80
+
+# CHECK: s_sub_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x80]
+0x65,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x80]
+0x66,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x80]
+0x67,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x80]
+0x6a,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x80]
+0x6b,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x80]
+0x6c,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x80]
+0x6d,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x80]
+0x6e,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x80]
+0x6f,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x80]
+0x7b,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x80]
+0x7c,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x80]
+0x7e,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x80]
+0x7f,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x80]
+0x80,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x80]
+0xc1,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x80]
+0xf0,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x80]
+0xf7,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x80]
+0xfd,0x00,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x80]
+0x00,0x65,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x80]
+0x00,0x66,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x80]
+0x00,0x67,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x80]
+0x00,0x6a,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x80]
+0x00,0x6b,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x80]
+0x00,0x6c,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x80]
+0x00,0x6d,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x80]
+0x00,0x6e,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x80]
+0x00,0x6f,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x80]
+0x00,0x7b,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x80]
+0x00,0x7c,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x80]
+0x00,0x7e,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x80]
+0x00,0x7f,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x80]
+0x00,0x80,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x80]
+0x00,0xc1,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x80]
+0x00,0xf0,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x80]
+0x00,0xf7,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x80]
+0x00,0xfd,0x80,0x80
+
+# CHECK: s_sub_u32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x80,0x80,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x80,0x56,0x34,0x12,0xaf
+
+# CHECK: s_sub_u32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x80,0x80,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x80,0x73,0x72,0x71,0x3f
+
+# CHECK: s_add_i32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x81]
+0x00,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x81]
+0x00,0x00,0x65,0x81
+
+# CHECK: s_add_i32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x81]
+0x00,0x00,0x66,0x81
+
+# CHECK: s_add_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x81]
+0x00,0x00,0x67,0x81
+
+# CHECK: s_add_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x81]
+0x00,0x00,0x6a,0x81
+
+# CHECK: s_add_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x81]
+0x00,0x00,0x6b,0x81
+
+# CHECK: s_add_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x81]
+0x00,0x00,0x6c,0x81
+
+# CHECK: s_add_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x81]
+0x00,0x00,0x6d,0x81
+
+# CHECK: s_add_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x81]
+0x00,0x00,0x6e,0x81
+
+# CHECK: s_add_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x81]
+0x00,0x00,0x6f,0x81
+
+# CHECK: s_add_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x81]
+0x00,0x00,0x7b,0x81
+
+# CHECK: s_add_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x81]
+0x00,0x00,0x7c,0x81
+
+# CHECK: s_add_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x81]
+0x00,0x00,0x7e,0x81
+
+# CHECK: s_add_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x81]
+0x00,0x00,0x7f,0x81
+
+# CHECK: s_add_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x81]
+0x65,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x81]
+0x66,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x81]
+0x67,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x81]
+0x6a,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x81]
+0x6b,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x81]
+0x6c,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x81]
+0x6d,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x81]
+0x6e,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x81]
+0x6f,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x81]
+0x7b,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x81]
+0x7c,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x81]
+0x7e,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x81]
+0x7f,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x81]
+0x80,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x81]
+0xc1,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x81]
+0xf0,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x81]
+0xf7,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x81]
+0xfd,0x00,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x81]
+0x00,0x65,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x81]
+0x00,0x66,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x81]
+0x00,0x67,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x81]
+0x00,0x6a,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x81]
+0x00,0x6b,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x81]
+0x00,0x6c,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x81]
+0x00,0x6d,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x81]
+0x00,0x6e,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x81]
+0x00,0x6f,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x81]
+0x00,0x7b,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x81]
+0x00,0x7c,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x81]
+0x00,0x7e,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x81]
+0x00,0x7f,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x81]
+0x00,0x80,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x81]
+0x00,0xc1,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x81]
+0x00,0xf0,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x81]
+0x00,0xf7,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x81]
+0x00,0xfd,0x00,0x81
+
+# CHECK: s_add_i32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x81,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x81,0x56,0x34,0x12,0xaf
+
+# CHECK: s_add_i32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x81,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x81,0x73,0x72,0x71,0x3f
+
+# CHECK: s_sub_i32 s0, s0, s0    ; encoding: [0x00,0x00,0x80,0x81]
+0x00,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x81]
+0x00,0x00,0xe5,0x81
+
+# CHECK: s_sub_i32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0xe6,0x81]
+0x00,0x00,0xe6,0x81
+
+# CHECK: s_sub_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x81]
+0x00,0x00,0xe7,0x81
+
+# CHECK: s_sub_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x81]
+0x00,0x00,0xea,0x81
+
+# CHECK: s_sub_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x81]
+0x00,0x00,0xeb,0x81
+
+# CHECK: s_sub_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x81]
+0x00,0x00,0xec,0x81
+
+# CHECK: s_sub_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x81]
+0x00,0x00,0xed,0x81
+
+# CHECK: s_sub_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x81]
+0x00,0x00,0xee,0x81
+
+# CHECK: s_sub_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x81]
+0x00,0x00,0xef,0x81
+
+# CHECK: s_sub_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x81]
+0x00,0x00,0xfb,0x81
+
+# CHECK: s_sub_i32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x81]
+0x00,0x00,0xfc,0x81
+
+# CHECK: s_sub_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x81]
+0x00,0x00,0xfe,0x81
+
+# CHECK: s_sub_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x81]
+0x00,0x00,0xff,0x81
+
+# CHECK: s_sub_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x81]
+0x65,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x81]
+0x66,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x81]
+0x67,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x81]
+0x6a,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x81]
+0x6b,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x81]
+0x6c,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x81]
+0x6d,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x81]
+0x6e,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x81]
+0x6f,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x81]
+0x7b,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x81]
+0x7c,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x81]
+0x7e,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x81]
+0x7f,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x81]
+0x80,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x81]
+0xc1,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x81]
+0xf0,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x81]
+0xf7,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x81]
+0xfd,0x00,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x81]
+0x00,0x65,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x81]
+0x00,0x66,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x81]
+0x00,0x67,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x81]
+0x00,0x6a,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x81]
+0x00,0x6b,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x81]
+0x00,0x6c,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x81]
+0x00,0x6d,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x81]
+0x00,0x6e,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x81]
+0x00,0x6f,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x81]
+0x00,0x7b,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x81]
+0x00,0x7c,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x81]
+0x00,0x7e,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x81]
+0x00,0x7f,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x81]
+0x00,0x80,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x81]
+0x00,0xc1,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x81]
+0x00,0xf0,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x81]
+0x00,0xf7,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x81]
+0x00,0xfd,0x80,0x81
+
+# CHECK: s_sub_i32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x80,0x81,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x81,0x56,0x34,0x12,0xaf
+
+# CHECK: s_sub_i32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x80,0x81,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x81,0x73,0x72,0x71,0x3f
+
+# CHECK: s_addc_u32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x82]
+0x00,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x82]
+0x00,0x00,0x65,0x82
+
+# CHECK: s_addc_u32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x82]
+0x00,0x00,0x66,0x82
+
+# CHECK: s_addc_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x82]
+0x00,0x00,0x67,0x82
+
+# CHECK: s_addc_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x82]
+0x00,0x00,0x6a,0x82
+
+# CHECK: s_addc_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x82]
+0x00,0x00,0x6b,0x82
+
+# CHECK: s_addc_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x82]
+0x00,0x00,0x6c,0x82
+
+# CHECK: s_addc_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x82]
+0x00,0x00,0x6d,0x82
+
+# CHECK: s_addc_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x82]
+0x00,0x00,0x6e,0x82
+
+# CHECK: s_addc_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x82]
+0x00,0x00,0x6f,0x82
+
+# CHECK: s_addc_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x82]
+0x00,0x00,0x7b,0x82
+
+# CHECK: s_addc_u32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x82]
+0x00,0x00,0x7c,0x82
+
+# CHECK: s_addc_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x82]
+0x00,0x00,0x7e,0x82
+
+# CHECK: s_addc_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x82]
+0x00,0x00,0x7f,0x82
+
+# CHECK: s_addc_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x82]
+0x65,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x82]
+0x66,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x82]
+0x67,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x82]
+0x6a,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x82]
+0x6b,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x82]
+0x6c,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x82]
+0x6d,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x82]
+0x6e,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x82]
+0x6f,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x82]
+0x7b,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x82]
+0x7c,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x82]
+0x7e,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x82]
+0x7f,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x82]
+0x80,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x82]
+0xc1,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x82]
+0xf0,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x82]
+0xf7,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x82]
+0xfd,0x00,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x82]
+0x00,0x65,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x82]
+0x00,0x66,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x82]
+0x00,0x67,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x82]
+0x00,0x6a,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x82]
+0x00,0x6b,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x82]
+0x00,0x6c,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x82]
+0x00,0x6d,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x82]
+0x00,0x6e,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x82]
+0x00,0x6f,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x82]
+0x00,0x7b,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x82]
+0x00,0x7c,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x82]
+0x00,0x7e,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x82]
+0x00,0x7f,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x82]
+0x00,0x80,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x82]
+0x00,0xc1,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x82]
+0x00,0xf0,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x82]
+0x00,0xf7,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x82]
+0x00,0xfd,0x00,0x82
+
+# CHECK: s_addc_u32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x82,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x82,0x56,0x34,0x12,0xaf
+
+# CHECK: s_addc_u32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x82,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x82,0x73,0x72,0x71,0x3f
+
+# CHECK: s_subb_u32 s0, s0, s0    ; encoding: [0x00,0x00,0x80,0x82]
+0x00,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x82]
+0x00,0x00,0xe5,0x82
+
+# CHECK: s_subb_u32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0xe6,0x82]
+0x00,0x00,0xe6,0x82
+
+# CHECK: s_subb_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x82]
+0x00,0x00,0xe7,0x82
+
+# CHECK: s_subb_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x82]
+0x00,0x00,0xea,0x82
+
+# CHECK: s_subb_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x82]
+0x00,0x00,0xeb,0x82
+
+# CHECK: s_subb_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x82]
+0x00,0x00,0xec,0x82
+
+# CHECK: s_subb_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x82]
+0x00,0x00,0xed,0x82
+
+# CHECK: s_subb_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x82]
+0x00,0x00,0xee,0x82
+
+# CHECK: s_subb_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x82]
+0x00,0x00,0xef,0x82
+
+# CHECK: s_subb_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x82]
+0x00,0x00,0xfb,0x82
+
+# CHECK: s_subb_u32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x82]
+0x00,0x00,0xfc,0x82
+
+# CHECK: s_subb_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x82]
+0x00,0x00,0xfe,0x82
+
+# CHECK: s_subb_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x82]
+0x00,0x00,0xff,0x82
+
+# CHECK: s_subb_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x82]
+0x65,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x82]
+0x66,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x82]
+0x67,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x82]
+0x6a,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x82]
+0x6b,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x82]
+0x6c,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x82]
+0x6d,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x82]
+0x6e,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x82]
+0x6f,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x82]
+0x7b,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x82]
+0x7c,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x82]
+0x7e,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x82]
+0x7f,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x82]
+0x80,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x82]
+0xc1,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x82]
+0xf0,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x82]
+0xf7,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x82]
+0xfd,0x00,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x82]
+0x00,0x65,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x82]
+0x00,0x66,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x82]
+0x00,0x67,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x82]
+0x00,0x6a,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x82]
+0x00,0x6b,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x82]
+0x00,0x6c,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x82]
+0x00,0x6d,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x82]
+0x00,0x6e,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x82]
+0x00,0x6f,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x82]
+0x00,0x7b,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x82]
+0x00,0x7c,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x82]
+0x00,0x7e,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x82]
+0x00,0x7f,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x82]
+0x00,0x80,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x82]
+0x00,0xc1,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x82]
+0x00,0xf0,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x82]
+0x00,0xf7,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x82]
+0x00,0xfd,0x80,0x82
+
+# CHECK: s_subb_u32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x80,0x82,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x82,0x56,0x34,0x12,0xaf
+
+# CHECK: s_subb_u32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x80,0x82,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x82,0x73,0x72,0x71,0x3f
+
+# CHECK: s_min_i32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x83]
+0x00,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x83]
+0x00,0x00,0x65,0x83
+
+# CHECK: s_min_i32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x83]
+0x00,0x00,0x66,0x83
+
+# CHECK: s_min_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x83]
+0x00,0x00,0x67,0x83
+
+# CHECK: s_min_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x83]
+0x00,0x00,0x6a,0x83
+
+# CHECK: s_min_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x83]
+0x00,0x00,0x6b,0x83
+
+# CHECK: s_min_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x83]
+0x00,0x00,0x6c,0x83
+
+# CHECK: s_min_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x83]
+0x00,0x00,0x6d,0x83
+
+# CHECK: s_min_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x83]
+0x00,0x00,0x6e,0x83
+
+# CHECK: s_min_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x83]
+0x00,0x00,0x6f,0x83
+
+# CHECK: s_min_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x83]
+0x00,0x00,0x7b,0x83
+
+# CHECK: s_min_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x83]
+0x00,0x00,0x7c,0x83
+
+# CHECK: s_min_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x83]
+0x00,0x00,0x7e,0x83
+
+# CHECK: s_min_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x83]
+0x00,0x00,0x7f,0x83
+
+# CHECK: s_min_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x83]
+0x65,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x83]
+0x66,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x83]
+0x67,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x83]
+0x6a,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x83]
+0x6b,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x83]
+0x6c,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x83]
+0x6d,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x83]
+0x6e,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x83]
+0x6f,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x83]
+0x7b,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x83]
+0x7c,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x83]
+0x7e,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x83]
+0x7f,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x83]
+0x80,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x83]
+0xc1,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x83]
+0xf0,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x83]
+0xf7,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x83]
+0xfd,0x00,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x83]
+0x00,0x65,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x83]
+0x00,0x66,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x83]
+0x00,0x67,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x83]
+0x00,0x6a,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x83]
+0x00,0x6b,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x83]
+0x00,0x6c,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x83]
+0x00,0x6d,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x83]
+0x00,0x6e,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x83]
+0x00,0x6f,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x83]
+0x00,0x7b,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x83]
+0x00,0x7c,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x83]
+0x00,0x7e,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x83]
+0x00,0x7f,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x83]
+0x00,0x80,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x83]
+0x00,0xc1,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x83]
+0x00,0xf0,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x83]
+0x00,0xf7,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x83]
+0x00,0xfd,0x00,0x83
+
+# CHECK: s_min_i32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x83,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x83,0x56,0x34,0x12,0xaf
+
+# CHECK: s_min_i32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x83,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x83,0x73,0x72,0x71,0x3f
+
+# CHECK: s_min_u32 s0, s0, s0    ; encoding: [0x00,0x00,0x80,0x83]
+0x00,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x83]
+0x00,0x00,0xe5,0x83
+
+# CHECK: s_min_u32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0xe6,0x83]
+0x00,0x00,0xe6,0x83
+
+# CHECK: s_min_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x83]
+0x00,0x00,0xe7,0x83
+
+# CHECK: s_min_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x83]
+0x00,0x00,0xea,0x83
+
+# CHECK: s_min_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x83]
+0x00,0x00,0xeb,0x83
+
+# CHECK: s_min_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x83]
+0x00,0x00,0xec,0x83
+
+# CHECK: s_min_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x83]
+0x00,0x00,0xed,0x83
+
+# CHECK: s_min_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x83]
+0x00,0x00,0xee,0x83
+
+# CHECK: s_min_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x83]
+0x00,0x00,0xef,0x83
+
+# CHECK: s_min_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x83]
+0x00,0x00,0xfb,0x83
+
+# CHECK: s_min_u32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x83]
+0x00,0x00,0xfc,0x83
+
+# CHECK: s_min_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x83]
+0x00,0x00,0xfe,0x83
+
+# CHECK: s_min_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x83]
+0x00,0x00,0xff,0x83
+
+# CHECK: s_min_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x83]
+0x65,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x83]
+0x66,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x83]
+0x67,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x83]
+0x6a,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x83]
+0x6b,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x83]
+0x6c,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x83]
+0x6d,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x83]
+0x6e,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x83]
+0x6f,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x83]
+0x7b,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x83]
+0x7c,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x83]
+0x7e,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x83]
+0x7f,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x83]
+0x80,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x83]
+0xc1,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x83]
+0xf0,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x83]
+0xf7,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x83]
+0xfd,0x00,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x83]
+0x00,0x65,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x83]
+0x00,0x66,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x83]
+0x00,0x67,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x83]
+0x00,0x6a,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x83]
+0x00,0x6b,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x83]
+0x00,0x6c,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x83]
+0x00,0x6d,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x83]
+0x00,0x6e,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x83]
+0x00,0x6f,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x83]
+0x00,0x7b,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x83]
+0x00,0x7c,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x83]
+0x00,0x7e,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x83]
+0x00,0x7f,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x83]
+0x00,0x80,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x83]
+0x00,0xc1,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x83]
+0x00,0xf0,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x83]
+0x00,0xf7,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x83]
+0x00,0xfd,0x80,0x83
+
+# CHECK: s_min_u32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x80,0x83,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x83,0x56,0x34,0x12,0xaf
+
+# CHECK: s_min_u32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x80,0x83,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x83,0x73,0x72,0x71,0x3f
+
+# CHECK: s_max_i32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x84]
+0x00,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x84]
+0x00,0x00,0x65,0x84
+
+# CHECK: s_max_i32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x84]
+0x00,0x00,0x66,0x84
+
+# CHECK: s_max_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x84]
+0x00,0x00,0x67,0x84
+
+# CHECK: s_max_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x84]
+0x00,0x00,0x6a,0x84
+
+# CHECK: s_max_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x84]
+0x00,0x00,0x6b,0x84
+
+# CHECK: s_max_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x84]
+0x00,0x00,0x6c,0x84
+
+# CHECK: s_max_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x84]
+0x00,0x00,0x6d,0x84
+
+# CHECK: s_max_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x84]
+0x00,0x00,0x6e,0x84
+
+# CHECK: s_max_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x84]
+0x00,0x00,0x6f,0x84
+
+# CHECK: s_max_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x84]
+0x00,0x00,0x7b,0x84
+
+# CHECK: s_max_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x84]
+0x00,0x00,0x7c,0x84
+
+# CHECK: s_max_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x84]
+0x00,0x00,0x7e,0x84
+
+# CHECK: s_max_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x84]
+0x00,0x00,0x7f,0x84
+
+# CHECK: s_max_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x84]
+0x65,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x84]
+0x66,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x84]
+0x67,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x84]
+0x6a,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x84]
+0x6b,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x84]
+0x6c,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x84]
+0x6d,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x84]
+0x6e,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x84]
+0x6f,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x84]
+0x7b,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x84]
+0x7c,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x84]
+0x7e,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x84]
+0x7f,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x84]
+0x80,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x84]
+0xc1,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x84]
+0xf0,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x84]
+0xf7,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x84]
+0xfd,0x00,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x84]
+0x00,0x65,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x84]
+0x00,0x66,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x84]
+0x00,0x67,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x84]
+0x00,0x6a,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x84]
+0x00,0x6b,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x84]
+0x00,0x6c,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x84]
+0x00,0x6d,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x84]
+0x00,0x6e,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x84]
+0x00,0x6f,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x84]
+0x00,0x7b,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x84]
+0x00,0x7c,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x84]
+0x00,0x7e,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x84]
+0x00,0x7f,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x84]
+0x00,0x80,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x84]
+0x00,0xc1,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x84]
+0x00,0xf0,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x84]
+0x00,0xf7,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x84]
+0x00,0xfd,0x00,0x84
+
+# CHECK: s_max_i32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x84,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x84,0x56,0x34,0x12,0xaf
+
+# CHECK: s_max_i32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x84,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x84,0x73,0x72,0x71,0x3f
+
+# CHECK: s_max_u32 s0, s0, s0    ; encoding: [0x00,0x00,0x80,0x84]
+0x00,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x84]
+0x00,0x00,0xe5,0x84
+
+# CHECK: s_max_u32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0xe6,0x84]
+0x00,0x00,0xe6,0x84
+
+# CHECK: s_max_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x84]
+0x00,0x00,0xe7,0x84
+
+# CHECK: s_max_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x84]
+0x00,0x00,0xea,0x84
+
+# CHECK: s_max_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x84]
+0x00,0x00,0xeb,0x84
+
+# CHECK: s_max_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x84]
+0x00,0x00,0xec,0x84
+
+# CHECK: s_max_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x84]
+0x00,0x00,0xed,0x84
+
+# CHECK: s_max_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x84]
+0x00,0x00,0xee,0x84
+
+# CHECK: s_max_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x84]
+0x00,0x00,0xef,0x84
+
+# CHECK: s_max_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x84]
+0x00,0x00,0xfb,0x84
+
+# CHECK: s_max_u32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x84]
+0x00,0x00,0xfc,0x84
+
+# CHECK: s_max_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x84]
+0x00,0x00,0xfe,0x84
+
+# CHECK: s_max_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x84]
+0x00,0x00,0xff,0x84
+
+# CHECK: s_max_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x84]
+0x65,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x84]
+0x66,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x84]
+0x67,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x84]
+0x6a,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x84]
+0x6b,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x84]
+0x6c,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x84]
+0x6d,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x84]
+0x6e,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x84]
+0x6f,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x84]
+0x7b,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x84]
+0x7c,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x84]
+0x7e,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x84]
+0x7f,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x84]
+0x80,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x84]
+0xc1,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x84]
+0xf0,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x84]
+0xf7,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x84]
+0xfd,0x00,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x84]
+0x00,0x65,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x84]
+0x00,0x66,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x84]
+0x00,0x67,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x84]
+0x00,0x6a,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x84]
+0x00,0x6b,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x84]
+0x00,0x6c,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x84]
+0x00,0x6d,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x84]
+0x00,0x6e,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x84]
+0x00,0x6f,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x84]
+0x00,0x7b,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x84]
+0x00,0x7c,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x84]
+0x00,0x7e,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x84]
+0x00,0x7f,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x84]
+0x00,0x80,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x84]
+0x00,0xc1,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x84]
+0x00,0xf0,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x84]
+0x00,0xf7,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x84]
+0x00,0xfd,0x80,0x84
+
+# CHECK: s_max_u32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x80,0x84,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x84,0x56,0x34,0x12,0xaf
+
+# CHECK: s_max_u32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x80,0x84,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x84,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cselect_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x85]
+0x00,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x85]
+0x00,0x00,0x65,0x85
+
+# CHECK: s_cselect_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x85]
+0x00,0x00,0x66,0x85
+
+# CHECK: s_cselect_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x85]
+0x00,0x00,0x67,0x85
+
+# CHECK: s_cselect_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x85]
+0x00,0x00,0x6a,0x85
+
+# CHECK: s_cselect_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x85]
+0x00,0x00,0x6b,0x85
+
+# CHECK: s_cselect_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x85]
+0x00,0x00,0x6c,0x85
+
+# CHECK: s_cselect_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x85]
+0x00,0x00,0x6d,0x85
+
+# CHECK: s_cselect_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x85]
+0x00,0x00,0x6e,0x85
+
+# CHECK: s_cselect_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x85]
+0x00,0x00,0x6f,0x85
+
+# CHECK: s_cselect_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x85]
+0x00,0x00,0x7b,0x85
+
+# CHECK: s_cselect_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x85]
+0x00,0x00,0x7c,0x85
+
+# CHECK: s_cselect_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x85]
+0x00,0x00,0x7e,0x85
+
+# CHECK: s_cselect_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x85]
+0x00,0x00,0x7f,0x85
+
+# CHECK: s_cselect_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x85]
+0x65,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x85]
+0x66,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x85]
+0x67,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x85]
+0x6a,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x85]
+0x6b,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x85]
+0x6c,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x85]
+0x6d,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x85]
+0x6e,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x85]
+0x6f,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x85]
+0x7b,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x85]
+0x7c,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x85]
+0x7e,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x85]
+0x7f,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x85]
+0x80,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x85]
+0xc1,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x85]
+0xf0,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x85]
+0xf7,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x85]
+0xfd,0x00,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x85]
+0x00,0x65,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x85]
+0x00,0x66,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x85]
+0x00,0x67,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x85]
+0x00,0x6a,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x85]
+0x00,0x6b,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x85]
+0x00,0x6c,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x85]
+0x00,0x6d,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x85]
+0x00,0x6e,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x85]
+0x00,0x6f,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x85]
+0x00,0x7b,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x85]
+0x00,0x7c,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x85]
+0x00,0x7e,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x85]
+0x00,0x7f,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x85]
+0x00,0x80,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x85]
+0x00,0xc1,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x85]
+0x00,0xf0,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x85]
+0x00,0xf7,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x85]
+0x00,0xfd,0x00,0x85
+
+# CHECK: s_cselect_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x85,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x85,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cselect_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x85,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x85,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x85]
+0x00,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[2:3], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x82,0x85]
+0x00,0x00,0x82,0x85
+
+# CHECK: s_cselect_b64 s[100:101], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe4,0x85]
+0x00,0x00,0xe4,0x85
+
+# CHECK: s_cselect_b64 flat_scratch, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe6,0x85]
+0x00,0x00,0xe6,0x85
+
+# CHECK: s_cselect_b64 vcc, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xea,0x85]
+0x00,0x00,0xea,0x85
+
+# CHECK: s_cselect_b64 tba, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xec,0x85]
+0x00,0x00,0xec,0x85
+
+# CHECK: s_cselect_b64 tma, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xee,0x85]
+0x00,0x00,0xee,0x85
+
+# CHECK: s_cselect_b64 ttmp[10:11], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfa,0x85]
+0x00,0x00,0xfa,0x85
+
+# CHECK: s_cselect_b64 exec, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfe,0x85]
+0x00,0x00,0xfe,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x85]
+0x02,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x85]
+0x64,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x85]
+0x66,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x85]
+0x6a,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x85]
+0x6c,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x85]
+0x6e,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x85]
+0x7a,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x85]
+0x7e,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], 0, s[0:1]    ; encoding: [0x80,0x00,0x80,0x85]
+0x80,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], -1, s[0:1]    ; encoding: [0xc1,0x00,0x80,0x85]
+0xc1,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x80,0x85]
+0xf0,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x80,0x85]
+0xf7,0x00,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x85]
+0x00,0x02,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x85]
+0x00,0x64,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x85]
+0x00,0x66,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x85]
+0x00,0x6a,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x85]
+0x00,0x6c,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x85]
+0x00,0x6e,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x85]
+0x00,0x7a,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x85]
+0x00,0x7e,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x85]
+0x00,0x80,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x85]
+0x00,0xc1,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x85]
+0x00,0xf0,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x85]
+0x00,0xf7,0x80,0x85
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x80,0x85,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x85,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cselect_b64 s[0:1], s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x80,0x85,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x85,0x73,0x72,0x71,0x3f
+
+# CHECK: s_and_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x86]
+0x00,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x86]
+0x00,0x00,0x65,0x86
+
+# CHECK: s_and_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x86]
+0x00,0x00,0x66,0x86
+
+# CHECK: s_and_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x86]
+0x00,0x00,0x67,0x86
+
+# CHECK: s_and_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x86]
+0x00,0x00,0x6a,0x86
+
+# CHECK: s_and_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x86]
+0x00,0x00,0x6b,0x86
+
+# CHECK: s_and_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x86]
+0x00,0x00,0x6c,0x86
+
+# CHECK: s_and_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x86]
+0x00,0x00,0x6d,0x86
+
+# CHECK: s_and_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x86]
+0x00,0x00,0x6e,0x86
+
+# CHECK: s_and_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x86]
+0x00,0x00,0x6f,0x86
+
+# CHECK: s_and_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x86]
+0x00,0x00,0x7b,0x86
+
+# CHECK: s_and_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x86]
+0x00,0x00,0x7c,0x86
+
+# CHECK: s_and_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x86]
+0x00,0x00,0x7e,0x86
+
+# CHECK: s_and_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x86]
+0x00,0x00,0x7f,0x86
+
+# CHECK: s_and_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x86]
+0x65,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x86]
+0x66,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x86]
+0x67,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x86]
+0x6a,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x86]
+0x6b,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x86]
+0x6c,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x86]
+0x6d,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x86]
+0x6e,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x86]
+0x6f,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x86]
+0x7b,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x86]
+0x7c,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x86]
+0x7e,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x86]
+0x7f,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x86]
+0x80,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x86]
+0xc1,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x86]
+0xf0,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x86]
+0xf7,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x86]
+0xfd,0x00,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x86]
+0x00,0x65,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x86]
+0x00,0x66,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x86]
+0x00,0x67,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x86]
+0x00,0x6a,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x86]
+0x00,0x6b,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x86]
+0x00,0x6c,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x86]
+0x00,0x6d,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x86]
+0x00,0x6e,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x86]
+0x00,0x6f,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x86]
+0x00,0x7b,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x86]
+0x00,0x7c,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x86]
+0x00,0x7e,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x86]
+0x00,0x7f,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x86]
+0x00,0x80,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x86]
+0x00,0xc1,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x86]
+0x00,0xf0,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x86]
+0x00,0xf7,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x86]
+0x00,0xfd,0x00,0x86
+
+# CHECK: s_and_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x86,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x86,0x56,0x34,0x12,0xaf
+
+# CHECK: s_and_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x86,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x86,0x73,0x72,0x71,0x3f
+
+# CHECK: s_and_b64 s[0:1], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x86]
+0x00,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[2:3], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x82,0x86]
+0x00,0x00,0x82,0x86
+
+# CHECK: s_and_b64 s[100:101], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe4,0x86]
+0x00,0x00,0xe4,0x86
+
+# CHECK: s_and_b64 flat_scratch, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe6,0x86]
+0x00,0x00,0xe6,0x86
+
+# CHECK: s_and_b64 vcc, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xea,0x86]
+0x00,0x00,0xea,0x86
+
+# CHECK: s_and_b64 tba, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xec,0x86]
+0x00,0x00,0xec,0x86
+
+# CHECK: s_and_b64 tma, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xee,0x86]
+0x00,0x00,0xee,0x86
+
+# CHECK: s_and_b64 ttmp[10:11], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfa,0x86]
+0x00,0x00,0xfa,0x86
+
+# CHECK: s_and_b64 exec, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfe,0x86]
+0x00,0x00,0xfe,0x86
+
+# CHECK: s_and_b64 s[0:1], s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x86]
+0x02,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x86]
+0x64,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x86]
+0x66,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x86]
+0x6a,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x86]
+0x6c,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x86]
+0x6e,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x86]
+0x7a,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x86]
+0x7e,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], 0, s[0:1]    ; encoding: [0x80,0x00,0x80,0x86]
+0x80,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], -1, s[0:1]    ; encoding: [0xc1,0x00,0x80,0x86]
+0xc1,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x80,0x86]
+0xf0,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x80,0x86]
+0xf7,0x00,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x86]
+0x00,0x02,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x86]
+0x00,0x64,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x86]
+0x00,0x66,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x86]
+0x00,0x6a,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x86]
+0x00,0x6c,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x86]
+0x00,0x6e,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x86]
+0x00,0x7a,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x86]
+0x00,0x7e,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x86]
+0x00,0x80,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x86]
+0x00,0xc1,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x86]
+0x00,0xf0,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x86]
+0x00,0xf7,0x80,0x86
+
+# CHECK: s_and_b64 s[0:1], s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x80,0x86,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x86,0x56,0x34,0x12,0xaf
+
+# CHECK: s_and_b64 s[0:1], s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x80,0x86,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x86,0x73,0x72,0x71,0x3f
+
+# CHECK: s_or_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x87]
+0x00,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x87]
+0x00,0x00,0x65,0x87
+
+# CHECK: s_or_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x87]
+0x00,0x00,0x66,0x87
+
+# CHECK: s_or_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x87]
+0x00,0x00,0x67,0x87
+
+# CHECK: s_or_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x87]
+0x00,0x00,0x6a,0x87
+
+# CHECK: s_or_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x87]
+0x00,0x00,0x6b,0x87
+
+# CHECK: s_or_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x87]
+0x00,0x00,0x6c,0x87
+
+# CHECK: s_or_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x87]
+0x00,0x00,0x6d,0x87
+
+# CHECK: s_or_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x87]
+0x00,0x00,0x6e,0x87
+
+# CHECK: s_or_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x87]
+0x00,0x00,0x6f,0x87
+
+# CHECK: s_or_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x87]
+0x00,0x00,0x7b,0x87
+
+# CHECK: s_or_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x87]
+0x00,0x00,0x7c,0x87
+
+# CHECK: s_or_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x87]
+0x00,0x00,0x7e,0x87
+
+# CHECK: s_or_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x87]
+0x00,0x00,0x7f,0x87
+
+# CHECK: s_or_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x87]
+0x65,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x87]
+0x66,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x87]
+0x67,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x87]
+0x6a,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x87]
+0x6b,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x87]
+0x6c,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x87]
+0x6d,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x87]
+0x6e,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x87]
+0x6f,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x87]
+0x7b,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x87]
+0x7c,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x87]
+0x7e,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x87]
+0x7f,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x87]
+0x80,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x87]
+0xc1,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x87]
+0xf0,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x87]
+0xf7,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x87]
+0xfd,0x00,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x87]
+0x00,0x65,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x87]
+0x00,0x66,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x87]
+0x00,0x67,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x87]
+0x00,0x6a,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x87]
+0x00,0x6b,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x87]
+0x00,0x6c,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x87]
+0x00,0x6d,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x87]
+0x00,0x6e,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x87]
+0x00,0x6f,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x87]
+0x00,0x7b,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x87]
+0x00,0x7c,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x87]
+0x00,0x7e,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x87]
+0x00,0x7f,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x87]
+0x00,0x80,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x87]
+0x00,0xc1,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x87]
+0x00,0xf0,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x87]
+0x00,0xf7,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x87]
+0x00,0xfd,0x00,0x87
+
+# CHECK: s_or_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x87,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x87,0x56,0x34,0x12,0xaf
+
+# CHECK: s_or_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x87,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x87,0x73,0x72,0x71,0x3f
+
+# CHECK: s_or_b64 s[0:1], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x87]
+0x00,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[2:3], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x82,0x87]
+0x00,0x00,0x82,0x87
+
+# CHECK: s_or_b64 s[100:101], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe4,0x87]
+0x00,0x00,0xe4,0x87
+
+# CHECK: s_or_b64 flat_scratch, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe6,0x87]
+0x00,0x00,0xe6,0x87
+
+# CHECK: s_or_b64 vcc, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xea,0x87]
+0x00,0x00,0xea,0x87
+
+# CHECK: s_or_b64 tba, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xec,0x87]
+0x00,0x00,0xec,0x87
+
+# CHECK: s_or_b64 tma, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xee,0x87]
+0x00,0x00,0xee,0x87
+
+# CHECK: s_or_b64 ttmp[10:11], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfa,0x87]
+0x00,0x00,0xfa,0x87
+
+# CHECK: s_or_b64 exec, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfe,0x87]
+0x00,0x00,0xfe,0x87
+
+# CHECK: s_or_b64 s[0:1], s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x87]
+0x02,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x87]
+0x64,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x87]
+0x66,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x87]
+0x6a,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x87]
+0x6c,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x87]
+0x6e,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x87]
+0x7a,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x87]
+0x7e,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], 0, s[0:1]    ; encoding: [0x80,0x00,0x80,0x87]
+0x80,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], -1, s[0:1]    ; encoding: [0xc1,0x00,0x80,0x87]
+0xc1,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x80,0x87]
+0xf0,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x80,0x87]
+0xf7,0x00,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x87]
+0x00,0x02,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x87]
+0x00,0x64,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x87]
+0x00,0x66,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x87]
+0x00,0x6a,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x87]
+0x00,0x6c,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x87]
+0x00,0x6e,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x87]
+0x00,0x7a,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x87]
+0x00,0x7e,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x87]
+0x00,0x80,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x87]
+0x00,0xc1,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x87]
+0x00,0xf0,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x87]
+0x00,0xf7,0x80,0x87
+
+# CHECK: s_or_b64 s[0:1], s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x80,0x87,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x87,0x56,0x34,0x12,0xaf
+
+# CHECK: s_or_b64 s[0:1], s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x80,0x87,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x87,0x73,0x72,0x71,0x3f
+
+# CHECK: s_xor_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x88]
+0x00,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x88]
+0x00,0x00,0x65,0x88
+
+# CHECK: s_xor_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x88]
+0x00,0x00,0x66,0x88
+
+# CHECK: s_xor_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x88]
+0x00,0x00,0x67,0x88
+
+# CHECK: s_xor_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x88]
+0x00,0x00,0x6a,0x88
+
+# CHECK: s_xor_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x88]
+0x00,0x00,0x6b,0x88
+
+# CHECK: s_xor_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x88]
+0x00,0x00,0x6c,0x88
+
+# CHECK: s_xor_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x88]
+0x00,0x00,0x6d,0x88
+
+# CHECK: s_xor_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x88]
+0x00,0x00,0x6e,0x88
+
+# CHECK: s_xor_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x88]
+0x00,0x00,0x6f,0x88
+
+# CHECK: s_xor_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x88]
+0x00,0x00,0x7b,0x88
+
+# CHECK: s_xor_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x88]
+0x00,0x00,0x7c,0x88
+
+# CHECK: s_xor_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x88]
+0x00,0x00,0x7e,0x88
+
+# CHECK: s_xor_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x88]
+0x00,0x00,0x7f,0x88
+
+# CHECK: s_xor_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x88]
+0x65,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x88]
+0x66,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x88]
+0x67,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x88]
+0x6a,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x88]
+0x6b,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x88]
+0x6c,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x88]
+0x6d,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x88]
+0x6e,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x88]
+0x6f,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x88]
+0x7b,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x88]
+0x7c,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x88]
+0x7e,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x88]
+0x7f,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x88]
+0x80,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x88]
+0xc1,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x88]
+0xf0,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x88]
+0xf7,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x88]
+0xfd,0x00,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x88]
+0x00,0x65,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x88]
+0x00,0x66,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x88]
+0x00,0x67,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x88]
+0x00,0x6a,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x88]
+0x00,0x6b,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x88]
+0x00,0x6c,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x88]
+0x00,0x6d,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x88]
+0x00,0x6e,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x88]
+0x00,0x6f,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x88]
+0x00,0x7b,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x88]
+0x00,0x7c,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x88]
+0x00,0x7e,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x88]
+0x00,0x7f,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x88]
+0x00,0x80,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x88]
+0x00,0xc1,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x88]
+0x00,0xf0,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x88]
+0x00,0xf7,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x88]
+0x00,0xfd,0x00,0x88
+
+# CHECK: s_xor_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x88,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x88,0x56,0x34,0x12,0xaf
+
+# CHECK: s_xor_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x88,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x88,0x73,0x72,0x71,0x3f
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x88]
+0x00,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[2:3], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x82,0x88]
+0x00,0x00,0x82,0x88
+
+# CHECK: s_xor_b64 s[100:101], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe4,0x88]
+0x00,0x00,0xe4,0x88
+
+# CHECK: s_xor_b64 flat_scratch, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe6,0x88]
+0x00,0x00,0xe6,0x88
+
+# CHECK: s_xor_b64 vcc, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xea,0x88]
+0x00,0x00,0xea,0x88
+
+# CHECK: s_xor_b64 tba, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xec,0x88]
+0x00,0x00,0xec,0x88
+
+# CHECK: s_xor_b64 tma, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xee,0x88]
+0x00,0x00,0xee,0x88
+
+# CHECK: s_xor_b64 ttmp[10:11], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfa,0x88]
+0x00,0x00,0xfa,0x88
+
+# CHECK: s_xor_b64 exec, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfe,0x88]
+0x00,0x00,0xfe,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x88]
+0x02,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x88]
+0x64,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x88]
+0x66,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x88]
+0x6a,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x88]
+0x6c,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x88]
+0x6e,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x88]
+0x7a,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x88]
+0x7e,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], 0, s[0:1]    ; encoding: [0x80,0x00,0x80,0x88]
+0x80,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], -1, s[0:1]    ; encoding: [0xc1,0x00,0x80,0x88]
+0xc1,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x80,0x88]
+0xf0,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x80,0x88]
+0xf7,0x00,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x88]
+0x00,0x02,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x88]
+0x00,0x64,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x88]
+0x00,0x66,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x88]
+0x00,0x6a,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x88]
+0x00,0x6c,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x88]
+0x00,0x6e,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x88]
+0x00,0x7a,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x88]
+0x00,0x7e,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x88]
+0x00,0x80,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x88]
+0x00,0xc1,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x88]
+0x00,0xf0,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x88]
+0x00,0xf7,0x80,0x88
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x80,0x88,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x88,0x56,0x34,0x12,0xaf
+
+# CHECK: s_xor_b64 s[0:1], s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x80,0x88,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x88,0x73,0x72,0x71,0x3f
+
+# CHECK: s_andn2_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x89]
+0x00,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x89]
+0x00,0x00,0x65,0x89
+
+# CHECK: s_andn2_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x89]
+0x00,0x00,0x66,0x89
+
+# CHECK: s_andn2_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x89]
+0x00,0x00,0x67,0x89
+
+# CHECK: s_andn2_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x89]
+0x00,0x00,0x6a,0x89
+
+# CHECK: s_andn2_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x89]
+0x00,0x00,0x6b,0x89
+
+# CHECK: s_andn2_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x89]
+0x00,0x00,0x6c,0x89
+
+# CHECK: s_andn2_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x89]
+0x00,0x00,0x6d,0x89
+
+# CHECK: s_andn2_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x89]
+0x00,0x00,0x6e,0x89
+
+# CHECK: s_andn2_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x89]
+0x00,0x00,0x6f,0x89
+
+# CHECK: s_andn2_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x89]
+0x00,0x00,0x7b,0x89
+
+# CHECK: s_andn2_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x89]
+0x00,0x00,0x7c,0x89
+
+# CHECK: s_andn2_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x89]
+0x00,0x00,0x7e,0x89
+
+# CHECK: s_andn2_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x89]
+0x00,0x00,0x7f,0x89
+
+# CHECK: s_andn2_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x89]
+0x65,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x89]
+0x66,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x89]
+0x67,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x89]
+0x6a,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x89]
+0x6b,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x89]
+0x6c,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x89]
+0x6d,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x89]
+0x6e,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x89]
+0x6f,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x89]
+0x7b,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x89]
+0x7c,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x89]
+0x7e,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x89]
+0x7f,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x89]
+0x80,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x89]
+0xc1,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x89]
+0xf0,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x89]
+0xf7,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x89]
+0xfd,0x00,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x89]
+0x00,0x65,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x89]
+0x00,0x66,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x89]
+0x00,0x67,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x89]
+0x00,0x6a,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x89]
+0x00,0x6b,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x89]
+0x00,0x6c,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x89]
+0x00,0x6d,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x89]
+0x00,0x6e,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x89]
+0x00,0x6f,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x89]
+0x00,0x7b,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x89]
+0x00,0x7c,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x89]
+0x00,0x7e,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x89]
+0x00,0x7f,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x89]
+0x00,0x80,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x89]
+0x00,0xc1,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x89]
+0x00,0xf0,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x89]
+0x00,0xf7,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x89]
+0x00,0xfd,0x00,0x89
+
+# CHECK: s_andn2_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x89,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x89,0x56,0x34,0x12,0xaf
+
+# CHECK: s_andn2_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x89,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x89,0x73,0x72,0x71,0x3f
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x89]
+0x00,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[2:3], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x82,0x89]
+0x00,0x00,0x82,0x89
+
+# CHECK: s_andn2_b64 s[100:101], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe4,0x89]
+0x00,0x00,0xe4,0x89
+
+# CHECK: s_andn2_b64 flat_scratch, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe6,0x89]
+0x00,0x00,0xe6,0x89
+
+# CHECK: s_andn2_b64 vcc, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xea,0x89]
+0x00,0x00,0xea,0x89
+
+# CHECK: s_andn2_b64 tba, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xec,0x89]
+0x00,0x00,0xec,0x89
+
+# CHECK: s_andn2_b64 tma, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xee,0x89]
+0x00,0x00,0xee,0x89
+
+# CHECK: s_andn2_b64 ttmp[10:11], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfa,0x89]
+0x00,0x00,0xfa,0x89
+
+# CHECK: s_andn2_b64 exec, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfe,0x89]
+0x00,0x00,0xfe,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x89]
+0x02,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x89]
+0x64,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x89]
+0x66,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x89]
+0x6a,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x89]
+0x6c,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x89]
+0x6e,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x89]
+0x7a,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x89]
+0x7e,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], 0, s[0:1]    ; encoding: [0x80,0x00,0x80,0x89]
+0x80,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], -1, s[0:1]    ; encoding: [0xc1,0x00,0x80,0x89]
+0xc1,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x80,0x89]
+0xf0,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x80,0x89]
+0xf7,0x00,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x89]
+0x00,0x02,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x89]
+0x00,0x64,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x89]
+0x00,0x66,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x89]
+0x00,0x6a,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x89]
+0x00,0x6c,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x89]
+0x00,0x6e,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x89]
+0x00,0x7a,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x89]
+0x00,0x7e,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x89]
+0x00,0x80,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x89]
+0x00,0xc1,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x89]
+0x00,0xf0,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x89]
+0x00,0xf7,0x80,0x89
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x80,0x89,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x89,0x56,0x34,0x12,0xaf
+
+# CHECK: s_andn2_b64 s[0:1], s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x80,0x89,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x89,0x73,0x72,0x71,0x3f
+
+# CHECK: s_orn2_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x8a]
+0x00,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x8a]
+0x00,0x00,0x65,0x8a
+
+# CHECK: s_orn2_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x8a]
+0x00,0x00,0x66,0x8a
+
+# CHECK: s_orn2_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x8a]
+0x00,0x00,0x67,0x8a
+
+# CHECK: s_orn2_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x8a]
+0x00,0x00,0x6a,0x8a
+
+# CHECK: s_orn2_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x8a]
+0x00,0x00,0x6b,0x8a
+
+# CHECK: s_orn2_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x8a]
+0x00,0x00,0x6c,0x8a
+
+# CHECK: s_orn2_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x8a]
+0x00,0x00,0x6d,0x8a
+
+# CHECK: s_orn2_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x8a]
+0x00,0x00,0x6e,0x8a
+
+# CHECK: s_orn2_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x8a]
+0x00,0x00,0x6f,0x8a
+
+# CHECK: s_orn2_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x8a]
+0x00,0x00,0x7b,0x8a
+
+# CHECK: s_orn2_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x8a]
+0x00,0x00,0x7c,0x8a
+
+# CHECK: s_orn2_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x8a]
+0x00,0x00,0x7e,0x8a
+
+# CHECK: s_orn2_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x8a]
+0x00,0x00,0x7f,0x8a
+
+# CHECK: s_orn2_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x8a]
+0x65,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x8a]
+0x66,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x8a]
+0x67,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x8a]
+0x6a,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x8a]
+0x6b,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x8a]
+0x6c,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x8a]
+0x6d,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x8a]
+0x6e,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x8a]
+0x6f,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x8a]
+0x7b,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x8a]
+0x7c,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x8a]
+0x7e,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x8a]
+0x7f,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x8a]
+0x80,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x8a]
+0xc1,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x8a]
+0xf0,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x8a]
+0xf7,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x8a]
+0xfd,0x00,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x8a]
+0x00,0x65,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x8a]
+0x00,0x66,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x8a]
+0x00,0x67,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x8a]
+0x00,0x6a,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x8a]
+0x00,0x6b,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x8a]
+0x00,0x6c,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x8a]
+0x00,0x6d,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x8a]
+0x00,0x6e,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x8a]
+0x00,0x6f,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x8a]
+0x00,0x7b,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x8a]
+0x00,0x7c,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x8a]
+0x00,0x7e,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x8a]
+0x00,0x7f,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x8a]
+0x00,0x80,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x8a]
+0x00,0xc1,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x8a]
+0x00,0xf0,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x8a]
+0x00,0xf7,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x8a]
+0x00,0xfd,0x00,0x8a
+
+# CHECK: s_orn2_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x8a,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x8a,0x56,0x34,0x12,0xaf
+
+# CHECK: s_orn2_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x8a,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x8a,0x73,0x72,0x71,0x3f
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x8a]
+0x00,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[2:3], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x82,0x8a]
+0x00,0x00,0x82,0x8a
+
+# CHECK: s_orn2_b64 s[100:101], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe4,0x8a]
+0x00,0x00,0xe4,0x8a
+
+# CHECK: s_orn2_b64 flat_scratch, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe6,0x8a]
+0x00,0x00,0xe6,0x8a
+
+# CHECK: s_orn2_b64 vcc, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xea,0x8a]
+0x00,0x00,0xea,0x8a
+
+# CHECK: s_orn2_b64 tba, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xec,0x8a]
+0x00,0x00,0xec,0x8a
+
+# CHECK: s_orn2_b64 tma, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xee,0x8a]
+0x00,0x00,0xee,0x8a
+
+# CHECK: s_orn2_b64 ttmp[10:11], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfa,0x8a]
+0x00,0x00,0xfa,0x8a
+
+# CHECK: s_orn2_b64 exec, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfe,0x8a]
+0x00,0x00,0xfe,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x8a]
+0x02,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x8a]
+0x64,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x8a]
+0x66,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x8a]
+0x6a,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x8a]
+0x6c,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x8a]
+0x6e,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x8a]
+0x7a,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x8a]
+0x7e,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], 0, s[0:1]    ; encoding: [0x80,0x00,0x80,0x8a]
+0x80,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], -1, s[0:1]    ; encoding: [0xc1,0x00,0x80,0x8a]
+0xc1,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x80,0x8a]
+0xf0,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x80,0x8a]
+0xf7,0x00,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x8a]
+0x00,0x02,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x8a]
+0x00,0x64,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x8a]
+0x00,0x66,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x8a]
+0x00,0x6a,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x8a]
+0x00,0x6c,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x8a]
+0x00,0x6e,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x8a]
+0x00,0x7a,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x8a]
+0x00,0x7e,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x8a]
+0x00,0x80,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x8a]
+0x00,0xc1,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x8a]
+0x00,0xf0,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x8a]
+0x00,0xf7,0x80,0x8a
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x80,0x8a,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x8a,0x56,0x34,0x12,0xaf
+
+# CHECK: s_orn2_b64 s[0:1], s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x80,0x8a,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x8a,0x73,0x72,0x71,0x3f
+
+# CHECK: s_nand_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x8b]
+0x00,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x8b]
+0x00,0x00,0x65,0x8b
+
+# CHECK: s_nand_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x8b]
+0x00,0x00,0x66,0x8b
+
+# CHECK: s_nand_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x8b]
+0x00,0x00,0x67,0x8b
+
+# CHECK: s_nand_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x8b]
+0x00,0x00,0x6a,0x8b
+
+# CHECK: s_nand_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x8b]
+0x00,0x00,0x6b,0x8b
+
+# CHECK: s_nand_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x8b]
+0x00,0x00,0x6c,0x8b
+
+# CHECK: s_nand_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x8b]
+0x00,0x00,0x6d,0x8b
+
+# CHECK: s_nand_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x8b]
+0x00,0x00,0x6e,0x8b
+
+# CHECK: s_nand_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x8b]
+0x00,0x00,0x6f,0x8b
+
+# CHECK: s_nand_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x8b]
+0x00,0x00,0x7b,0x8b
+
+# CHECK: s_nand_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x8b]
+0x00,0x00,0x7c,0x8b
+
+# CHECK: s_nand_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x8b]
+0x00,0x00,0x7e,0x8b
+
+# CHECK: s_nand_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x8b]
+0x00,0x00,0x7f,0x8b
+
+# CHECK: s_nand_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x8b]
+0x65,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x8b]
+0x66,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x8b]
+0x67,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x8b]
+0x6a,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x8b]
+0x6b,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x8b]
+0x6c,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x8b]
+0x6d,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x8b]
+0x6e,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x8b]
+0x6f,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x8b]
+0x7b,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x8b]
+0x7c,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x8b]
+0x7e,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x8b]
+0x7f,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x8b]
+0x80,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x8b]
+0xc1,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x8b]
+0xf0,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x8b]
+0xf7,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x8b]
+0xfd,0x00,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x8b]
+0x00,0x65,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x8b]
+0x00,0x66,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x8b]
+0x00,0x67,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x8b]
+0x00,0x6a,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x8b]
+0x00,0x6b,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x8b]
+0x00,0x6c,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x8b]
+0x00,0x6d,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x8b]
+0x00,0x6e,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x8b]
+0x00,0x6f,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x8b]
+0x00,0x7b,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x8b]
+0x00,0x7c,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x8b]
+0x00,0x7e,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x8b]
+0x00,0x7f,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x8b]
+0x00,0x80,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x8b]
+0x00,0xc1,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x8b]
+0x00,0xf0,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x8b]
+0x00,0xf7,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x8b]
+0x00,0xfd,0x00,0x8b
+
+# CHECK: s_nand_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x8b,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x8b,0x56,0x34,0x12,0xaf
+
+# CHECK: s_nand_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x8b,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x8b,0x73,0x72,0x71,0x3f
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x8b]
+0x00,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[2:3], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x82,0x8b]
+0x00,0x00,0x82,0x8b
+
+# CHECK: s_nand_b64 s[100:101], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe4,0x8b]
+0x00,0x00,0xe4,0x8b
+
+# CHECK: s_nand_b64 flat_scratch, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe6,0x8b]
+0x00,0x00,0xe6,0x8b
+
+# CHECK: s_nand_b64 vcc, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xea,0x8b]
+0x00,0x00,0xea,0x8b
+
+# CHECK: s_nand_b64 tba, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xec,0x8b]
+0x00,0x00,0xec,0x8b
+
+# CHECK: s_nand_b64 tma, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xee,0x8b]
+0x00,0x00,0xee,0x8b
+
+# CHECK: s_nand_b64 ttmp[10:11], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfa,0x8b]
+0x00,0x00,0xfa,0x8b
+
+# CHECK: s_nand_b64 exec, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfe,0x8b]
+0x00,0x00,0xfe,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x8b]
+0x02,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x8b]
+0x64,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x8b]
+0x66,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x8b]
+0x6a,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x8b]
+0x6c,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x8b]
+0x6e,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x8b]
+0x7a,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x8b]
+0x7e,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], 0, s[0:1]    ; encoding: [0x80,0x00,0x80,0x8b]
+0x80,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], -1, s[0:1]    ; encoding: [0xc1,0x00,0x80,0x8b]
+0xc1,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x80,0x8b]
+0xf0,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x80,0x8b]
+0xf7,0x00,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x8b]
+0x00,0x02,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x8b]
+0x00,0x64,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x8b]
+0x00,0x66,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x8b]
+0x00,0x6a,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x8b]
+0x00,0x6c,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x8b]
+0x00,0x6e,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x8b]
+0x00,0x7a,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x8b]
+0x00,0x7e,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x8b]
+0x00,0x80,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x8b]
+0x00,0xc1,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x8b]
+0x00,0xf0,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x8b]
+0x00,0xf7,0x80,0x8b
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x80,0x8b,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x8b,0x56,0x34,0x12,0xaf
+
+# CHECK: s_nand_b64 s[0:1], s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x80,0x8b,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x8b,0x73,0x72,0x71,0x3f
+
+# CHECK: s_nor_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x8c]
+0x00,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x8c]
+0x00,0x00,0x65,0x8c
+
+# CHECK: s_nor_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x8c]
+0x00,0x00,0x66,0x8c
+
+# CHECK: s_nor_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x8c]
+0x00,0x00,0x67,0x8c
+
+# CHECK: s_nor_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x8c]
+0x00,0x00,0x6a,0x8c
+
+# CHECK: s_nor_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x8c]
+0x00,0x00,0x6b,0x8c
+
+# CHECK: s_nor_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x8c]
+0x00,0x00,0x6c,0x8c
+
+# CHECK: s_nor_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x8c]
+0x00,0x00,0x6d,0x8c
+
+# CHECK: s_nor_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x8c]
+0x00,0x00,0x6e,0x8c
+
+# CHECK: s_nor_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x8c]
+0x00,0x00,0x6f,0x8c
+
+# CHECK: s_nor_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x8c]
+0x00,0x00,0x7b,0x8c
+
+# CHECK: s_nor_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x8c]
+0x00,0x00,0x7c,0x8c
+
+# CHECK: s_nor_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x8c]
+0x00,0x00,0x7e,0x8c
+
+# CHECK: s_nor_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x8c]
+0x00,0x00,0x7f,0x8c
+
+# CHECK: s_nor_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x8c]
+0x65,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x8c]
+0x66,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x8c]
+0x67,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x8c]
+0x6a,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x8c]
+0x6b,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x8c]
+0x6c,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x8c]
+0x6d,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x8c]
+0x6e,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x8c]
+0x6f,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x8c]
+0x7b,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x8c]
+0x7c,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x8c]
+0x7e,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x8c]
+0x7f,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x8c]
+0x80,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x8c]
+0xc1,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x8c]
+0xf0,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x8c]
+0xf7,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x8c]
+0xfd,0x00,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x8c]
+0x00,0x65,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x8c]
+0x00,0x66,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x8c]
+0x00,0x67,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x8c]
+0x00,0x6a,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x8c]
+0x00,0x6b,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x8c]
+0x00,0x6c,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x8c]
+0x00,0x6d,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x8c]
+0x00,0x6e,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x8c]
+0x00,0x6f,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x8c]
+0x00,0x7b,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x8c]
+0x00,0x7c,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x8c]
+0x00,0x7e,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x8c]
+0x00,0x7f,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x8c]
+0x00,0x80,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x8c]
+0x00,0xc1,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x8c]
+0x00,0xf0,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x8c]
+0x00,0xf7,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x8c]
+0x00,0xfd,0x00,0x8c
+
+# CHECK: s_nor_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x8c,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x8c,0x56,0x34,0x12,0xaf
+
+# CHECK: s_nor_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x8c,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x8c,0x73,0x72,0x71,0x3f
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x8c]
+0x00,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[2:3], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x82,0x8c]
+0x00,0x00,0x82,0x8c
+
+# CHECK: s_nor_b64 s[100:101], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe4,0x8c]
+0x00,0x00,0xe4,0x8c
+
+# CHECK: s_nor_b64 flat_scratch, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe6,0x8c]
+0x00,0x00,0xe6,0x8c
+
+# CHECK: s_nor_b64 vcc, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xea,0x8c]
+0x00,0x00,0xea,0x8c
+
+# CHECK: s_nor_b64 tba, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xec,0x8c]
+0x00,0x00,0xec,0x8c
+
+# CHECK: s_nor_b64 tma, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xee,0x8c]
+0x00,0x00,0xee,0x8c
+
+# CHECK: s_nor_b64 ttmp[10:11], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfa,0x8c]
+0x00,0x00,0xfa,0x8c
+
+# CHECK: s_nor_b64 exec, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfe,0x8c]
+0x00,0x00,0xfe,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x8c]
+0x02,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x8c]
+0x64,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x8c]
+0x66,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x8c]
+0x6a,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x8c]
+0x6c,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x8c]
+0x6e,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x8c]
+0x7a,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x8c]
+0x7e,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], 0, s[0:1]    ; encoding: [0x80,0x00,0x80,0x8c]
+0x80,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], -1, s[0:1]    ; encoding: [0xc1,0x00,0x80,0x8c]
+0xc1,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x80,0x8c]
+0xf0,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x80,0x8c]
+0xf7,0x00,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x8c]
+0x00,0x02,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x8c]
+0x00,0x64,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x8c]
+0x00,0x66,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x8c]
+0x00,0x6a,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x8c]
+0x00,0x6c,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x8c]
+0x00,0x6e,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x8c]
+0x00,0x7a,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x8c]
+0x00,0x7e,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x8c]
+0x00,0x80,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x8c]
+0x00,0xc1,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x8c]
+0x00,0xf0,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x8c]
+0x00,0xf7,0x80,0x8c
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x80,0x8c,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x8c,0x56,0x34,0x12,0xaf
+
+# CHECK: s_nor_b64 s[0:1], s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x80,0x8c,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x8c,0x73,0x72,0x71,0x3f
+
+# CHECK: s_xnor_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x8d]
+0x00,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x8d]
+0x00,0x00,0x65,0x8d
+
+# CHECK: s_xnor_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x8d]
+0x00,0x00,0x66,0x8d
+
+# CHECK: s_xnor_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x8d]
+0x00,0x00,0x67,0x8d
+
+# CHECK: s_xnor_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x8d]
+0x00,0x00,0x6a,0x8d
+
+# CHECK: s_xnor_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x8d]
+0x00,0x00,0x6b,0x8d
+
+# CHECK: s_xnor_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x8d]
+0x00,0x00,0x6c,0x8d
+
+# CHECK: s_xnor_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x8d]
+0x00,0x00,0x6d,0x8d
+
+# CHECK: s_xnor_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x8d]
+0x00,0x00,0x6e,0x8d
+
+# CHECK: s_xnor_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x8d]
+0x00,0x00,0x6f,0x8d
+
+# CHECK: s_xnor_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x8d]
+0x00,0x00,0x7b,0x8d
+
+# CHECK: s_xnor_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x8d]
+0x00,0x00,0x7c,0x8d
+
+# CHECK: s_xnor_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x8d]
+0x00,0x00,0x7e,0x8d
+
+# CHECK: s_xnor_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x8d]
+0x00,0x00,0x7f,0x8d
+
+# CHECK: s_xnor_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x8d]
+0x65,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x8d]
+0x66,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x8d]
+0x67,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x8d]
+0x6a,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x8d]
+0x6b,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x8d]
+0x6c,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x8d]
+0x6d,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x8d]
+0x6e,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x8d]
+0x6f,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x8d]
+0x7b,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x8d]
+0x7c,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x8d]
+0x7e,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x8d]
+0x7f,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x8d]
+0x80,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x8d]
+0xc1,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x8d]
+0xf0,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x8d]
+0xf7,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x8d]
+0xfd,0x00,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x8d]
+0x00,0x65,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x8d]
+0x00,0x66,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x8d]
+0x00,0x67,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x8d]
+0x00,0x6a,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x8d]
+0x00,0x6b,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x8d]
+0x00,0x6c,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x8d]
+0x00,0x6d,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x8d]
+0x00,0x6e,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x8d]
+0x00,0x6f,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x8d]
+0x00,0x7b,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x8d]
+0x00,0x7c,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x8d]
+0x00,0x7e,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x8d]
+0x00,0x7f,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x8d]
+0x00,0x80,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x8d]
+0x00,0xc1,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x8d]
+0x00,0xf0,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x8d]
+0x00,0xf7,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x8d]
+0x00,0xfd,0x00,0x8d
+
+# CHECK: s_xnor_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x8d,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x8d,0x56,0x34,0x12,0xaf
+
+# CHECK: s_xnor_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x8d,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x8d,0x73,0x72,0x71,0x3f
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x8d]
+0x00,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[2:3], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x82,0x8d]
+0x00,0x00,0x82,0x8d
+
+# CHECK: s_xnor_b64 s[100:101], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe4,0x8d]
+0x00,0x00,0xe4,0x8d
+
+# CHECK: s_xnor_b64 flat_scratch, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xe6,0x8d]
+0x00,0x00,0xe6,0x8d
+
+# CHECK: s_xnor_b64 vcc, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xea,0x8d]
+0x00,0x00,0xea,0x8d
+
+# CHECK: s_xnor_b64 tba, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xec,0x8d]
+0x00,0x00,0xec,0x8d
+
+# CHECK: s_xnor_b64 tma, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xee,0x8d]
+0x00,0x00,0xee,0x8d
+
+# CHECK: s_xnor_b64 ttmp[10:11], s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfa,0x8d]
+0x00,0x00,0xfa,0x8d
+
+# CHECK: s_xnor_b64 exec, s[0:1], s[0:1]    ; encoding: [0x00,0x00,0xfe,0x8d]
+0x00,0x00,0xfe,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x8d]
+0x02,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x8d]
+0x64,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x8d]
+0x66,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x8d]
+0x6a,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x8d]
+0x6c,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x8d]
+0x6e,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x8d]
+0x7a,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x8d]
+0x7e,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], 0, s[0:1]    ; encoding: [0x80,0x00,0x80,0x8d]
+0x80,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], -1, s[0:1]    ; encoding: [0xc1,0x00,0x80,0x8d]
+0xc1,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x80,0x8d]
+0xf0,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x80,0x8d]
+0xf7,0x00,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x8d]
+0x00,0x02,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x8d]
+0x00,0x64,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x8d]
+0x00,0x66,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x8d]
+0x00,0x6a,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x8d]
+0x00,0x6c,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x8d]
+0x00,0x6e,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x8d]
+0x00,0x7a,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x8d]
+0x00,0x7e,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x8d]
+0x00,0x80,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x8d]
+0x00,0xc1,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x8d]
+0x00,0xf0,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x8d]
+0x00,0xf7,0x80,0x8d
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x80,0x8d,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x8d,0x56,0x34,0x12,0xaf
+
+# CHECK: s_xnor_b64 s[0:1], s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x80,0x8d,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x8d,0x73,0x72,0x71,0x3f
+
+# CHECK: s_lshl_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x8e]
+0x00,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x8e]
+0x00,0x00,0x65,0x8e
+
+# CHECK: s_lshl_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x8e]
+0x00,0x00,0x66,0x8e
+
+# CHECK: s_lshl_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x8e]
+0x00,0x00,0x67,0x8e
+
+# CHECK: s_lshl_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x8e]
+0x00,0x00,0x6a,0x8e
+
+# CHECK: s_lshl_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x8e]
+0x00,0x00,0x6b,0x8e
+
+# CHECK: s_lshl_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x8e]
+0x00,0x00,0x6c,0x8e
+
+# CHECK: s_lshl_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x8e]
+0x00,0x00,0x6d,0x8e
+
+# CHECK: s_lshl_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x8e]
+0x00,0x00,0x6e,0x8e
+
+# CHECK: s_lshl_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x8e]
+0x00,0x00,0x6f,0x8e
+
+# CHECK: s_lshl_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x8e]
+0x00,0x00,0x7b,0x8e
+
+# CHECK: s_lshl_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x8e]
+0x00,0x00,0x7c,0x8e
+
+# CHECK: s_lshl_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x8e]
+0x00,0x00,0x7e,0x8e
+
+# CHECK: s_lshl_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x8e]
+0x00,0x00,0x7f,0x8e
+
+# CHECK: s_lshl_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x8e]
+0x65,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x8e]
+0x66,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x8e]
+0x67,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x8e]
+0x6a,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x8e]
+0x6b,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x8e]
+0x6c,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x8e]
+0x6d,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x8e]
+0x6e,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x8e]
+0x6f,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x8e]
+0x7b,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x8e]
+0x7c,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x8e]
+0x7e,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x8e]
+0x7f,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x8e]
+0x80,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x8e]
+0xc1,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x8e]
+0xf0,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x8e]
+0xf7,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x8e]
+0xfd,0x00,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x8e]
+0x00,0x65,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x8e]
+0x00,0x66,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x8e]
+0x00,0x67,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x8e]
+0x00,0x6a,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x8e]
+0x00,0x6b,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x8e]
+0x00,0x6c,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x8e]
+0x00,0x6d,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x8e]
+0x00,0x6e,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x8e]
+0x00,0x6f,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x8e]
+0x00,0x7b,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x8e]
+0x00,0x7c,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x8e]
+0x00,0x7e,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x8e]
+0x00,0x7f,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x8e]
+0x00,0x80,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x8e]
+0x00,0xc1,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x8e]
+0x00,0xf0,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x8e]
+0x00,0xf7,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x8e]
+0x00,0xfd,0x00,0x8e
+
+# CHECK: s_lshl_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x8e,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x8e,0x56,0x34,0x12,0xaf
+
+# CHECK: s_lshl_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x8e,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x8e,0x73,0x72,0x71,0x3f
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], s0    ; encoding: [0x00,0x00,0x80,0x8e]
+0x00,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[2:3], s[0:1], s0    ; encoding: [0x00,0x00,0x82,0x8e]
+0x00,0x00,0x82,0x8e
+
+# CHECK: s_lshl_b64 s[100:101], s[0:1], s0    ; encoding: [0x00,0x00,0xe4,0x8e]
+0x00,0x00,0xe4,0x8e
+
+# CHECK: s_lshl_b64 flat_scratch, s[0:1], s0    ; encoding: [0x00,0x00,0xe6,0x8e]
+0x00,0x00,0xe6,0x8e
+
+# CHECK: s_lshl_b64 vcc, s[0:1], s0    ; encoding: [0x00,0x00,0xea,0x8e]
+0x00,0x00,0xea,0x8e
+
+# CHECK: s_lshl_b64 tba, s[0:1], s0    ; encoding: [0x00,0x00,0xec,0x8e]
+0x00,0x00,0xec,0x8e
+
+# CHECK: s_lshl_b64 tma, s[0:1], s0    ; encoding: [0x00,0x00,0xee,0x8e]
+0x00,0x00,0xee,0x8e
+
+# CHECK: s_lshl_b64 ttmp[10:11], s[0:1], s0    ; encoding: [0x00,0x00,0xfa,0x8e]
+0x00,0x00,0xfa,0x8e
+
+# CHECK: s_lshl_b64 exec, s[0:1], s0    ; encoding: [0x00,0x00,0xfe,0x8e]
+0x00,0x00,0xfe,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[2:3], s0    ; encoding: [0x02,0x00,0x80,0x8e]
+0x02,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[100:101], s0    ; encoding: [0x64,0x00,0x80,0x8e]
+0x64,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], flat_scratch, s0    ; encoding: [0x66,0x00,0x80,0x8e]
+0x66,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], vcc, s0    ; encoding: [0x6a,0x00,0x80,0x8e]
+0x6a,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], tba, s0    ; encoding: [0x6c,0x00,0x80,0x8e]
+0x6c,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], tma, s0    ; encoding: [0x6e,0x00,0x80,0x8e]
+0x6e,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], ttmp[10:11], s0    ; encoding: [0x7a,0x00,0x80,0x8e]
+0x7a,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], exec, s0    ; encoding: [0x7e,0x00,0x80,0x8e]
+0x7e,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], 0, s0    ; encoding: [0x80,0x00,0x80,0x8e]
+0x80,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], -1, s0    ; encoding: [0xc1,0x00,0x80,0x8e]
+0xc1,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x8e]
+0xf0,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x8e]
+0xf7,0x00,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], 0xaf123456, s0    ; encoding: [0xff,0x00,0x80,0x8e,0x56,0x34,0x12,0xaf]
+0xff,0x00,0x80,0x8e,0x56,0x34,0x12,0xaf
+
+# CHECK: s_lshl_b64 s[0:1], 0x3f717273, s0    ; encoding: [0xff,0x00,0x80,0x8e,0x73,0x72,0x71,0x3f]
+0xff,0x00,0x80,0x8e,0x73,0x72,0x71,0x3f
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], s101    ; encoding: [0x00,0x65,0x80,0x8e]
+0x00,0x65,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x8e]
+0x00,0x66,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x8e]
+0x00,0x67,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], vcc_lo    ; encoding: [0x00,0x6a,0x80,0x8e]
+0x00,0x6a,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], vcc_hi    ; encoding: [0x00,0x6b,0x80,0x8e]
+0x00,0x6b,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], tba_lo    ; encoding: [0x00,0x6c,0x80,0x8e]
+0x00,0x6c,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], tba_hi    ; encoding: [0x00,0x6d,0x80,0x8e]
+0x00,0x6d,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], tma_lo    ; encoding: [0x00,0x6e,0x80,0x8e]
+0x00,0x6e,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], tma_hi    ; encoding: [0x00,0x6f,0x80,0x8e]
+0x00,0x6f,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], ttmp11    ; encoding: [0x00,0x7b,0x80,0x8e]
+0x00,0x7b,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], m0    ; encoding: [0x00,0x7c,0x80,0x8e]
+0x00,0x7c,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], exec_lo    ; encoding: [0x00,0x7e,0x80,0x8e]
+0x00,0x7e,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], exec_hi    ; encoding: [0x00,0x7f,0x80,0x8e]
+0x00,0x7f,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x8e]
+0x00,0x80,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x8e]
+0x00,0xc1,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x8e]
+0x00,0xf0,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x8e]
+0x00,0xf7,0x80,0x8e
+
+# CHECK: s_lshl_b64 s[0:1], s[0:1], scc    ; encoding: [0x00,0xfd,0x80,0x8e]
+0x00,0xfd,0x80,0x8e
+
+# CHECK: s_lshr_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x8f]
+0x00,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x8f]
+0x00,0x00,0x65,0x8f
+
+# CHECK: s_lshr_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x8f]
+0x00,0x00,0x66,0x8f
+
+# CHECK: s_lshr_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x8f]
+0x00,0x00,0x67,0x8f
+
+# CHECK: s_lshr_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x8f]
+0x00,0x00,0x6a,0x8f
+
+# CHECK: s_lshr_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x8f]
+0x00,0x00,0x6b,0x8f
+
+# CHECK: s_lshr_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x8f]
+0x00,0x00,0x6c,0x8f
+
+# CHECK: s_lshr_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x8f]
+0x00,0x00,0x6d,0x8f
+
+# CHECK: s_lshr_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x8f]
+0x00,0x00,0x6e,0x8f
+
+# CHECK: s_lshr_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x8f]
+0x00,0x00,0x6f,0x8f
+
+# CHECK: s_lshr_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x8f]
+0x00,0x00,0x7b,0x8f
+
+# CHECK: s_lshr_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x8f]
+0x00,0x00,0x7c,0x8f
+
+# CHECK: s_lshr_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x8f]
+0x00,0x00,0x7e,0x8f
+
+# CHECK: s_lshr_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x8f]
+0x00,0x00,0x7f,0x8f
+
+# CHECK: s_lshr_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x8f]
+0x65,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x8f]
+0x66,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x8f]
+0x67,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x8f]
+0x6a,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x8f]
+0x6b,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x8f]
+0x6c,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x8f]
+0x6d,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x8f]
+0x6e,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x8f]
+0x6f,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x8f]
+0x7b,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x8f]
+0x7c,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x8f]
+0x7e,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x8f]
+0x7f,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x8f]
+0x80,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x8f]
+0xc1,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x8f]
+0xf0,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x8f]
+0xf7,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x8f]
+0xfd,0x00,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x8f]
+0x00,0x65,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x8f]
+0x00,0x66,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x8f]
+0x00,0x67,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x8f]
+0x00,0x6a,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x8f]
+0x00,0x6b,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x8f]
+0x00,0x6c,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x8f]
+0x00,0x6d,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x8f]
+0x00,0x6e,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x8f]
+0x00,0x6f,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x8f]
+0x00,0x7b,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x8f]
+0x00,0x7c,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x8f]
+0x00,0x7e,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x8f]
+0x00,0x7f,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x8f]
+0x00,0x80,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x8f]
+0x00,0xc1,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x8f]
+0x00,0xf0,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x8f]
+0x00,0xf7,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x8f]
+0x00,0xfd,0x00,0x8f
+
+# CHECK: s_lshr_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x8f,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x8f,0x56,0x34,0x12,0xaf
+
+# CHECK: s_lshr_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x8f,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x8f,0x73,0x72,0x71,0x3f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], s0    ; encoding: [0x00,0x00,0x80,0x8f]
+0x00,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[2:3], s[0:1], s0    ; encoding: [0x00,0x00,0x82,0x8f]
+0x00,0x00,0x82,0x8f
+
+# CHECK: s_lshr_b64 s[100:101], s[0:1], s0    ; encoding: [0x00,0x00,0xe4,0x8f]
+0x00,0x00,0xe4,0x8f
+
+# CHECK: s_lshr_b64 flat_scratch, s[0:1], s0    ; encoding: [0x00,0x00,0xe6,0x8f]
+0x00,0x00,0xe6,0x8f
+
+# CHECK: s_lshr_b64 vcc, s[0:1], s0    ; encoding: [0x00,0x00,0xea,0x8f]
+0x00,0x00,0xea,0x8f
+
+# CHECK: s_lshr_b64 tba, s[0:1], s0    ; encoding: [0x00,0x00,0xec,0x8f]
+0x00,0x00,0xec,0x8f
+
+# CHECK: s_lshr_b64 tma, s[0:1], s0    ; encoding: [0x00,0x00,0xee,0x8f]
+0x00,0x00,0xee,0x8f
+
+# CHECK: s_lshr_b64 ttmp[10:11], s[0:1], s0    ; encoding: [0x00,0x00,0xfa,0x8f]
+0x00,0x00,0xfa,0x8f
+
+# CHECK: s_lshr_b64 exec, s[0:1], s0    ; encoding: [0x00,0x00,0xfe,0x8f]
+0x00,0x00,0xfe,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[2:3], s0    ; encoding: [0x02,0x00,0x80,0x8f]
+0x02,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[100:101], s0    ; encoding: [0x64,0x00,0x80,0x8f]
+0x64,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], flat_scratch, s0    ; encoding: [0x66,0x00,0x80,0x8f]
+0x66,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], vcc, s0    ; encoding: [0x6a,0x00,0x80,0x8f]
+0x6a,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], tba, s0    ; encoding: [0x6c,0x00,0x80,0x8f]
+0x6c,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], tma, s0    ; encoding: [0x6e,0x00,0x80,0x8f]
+0x6e,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], ttmp[10:11], s0    ; encoding: [0x7a,0x00,0x80,0x8f]
+0x7a,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], exec, s0    ; encoding: [0x7e,0x00,0x80,0x8f]
+0x7e,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], 0, s0    ; encoding: [0x80,0x00,0x80,0x8f]
+0x80,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], -1, s0    ; encoding: [0xc1,0x00,0x80,0x8f]
+0xc1,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x8f]
+0xf0,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x8f]
+0xf7,0x00,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], 0xaf123456, s0    ; encoding: [0xff,0x00,0x80,0x8f,0x56,0x34,0x12,0xaf]
+0xff,0x00,0x80,0x8f,0x56,0x34,0x12,0xaf
+
+# CHECK: s_lshr_b64 s[0:1], 0x3f717273, s0    ; encoding: [0xff,0x00,0x80,0x8f,0x73,0x72,0x71,0x3f]
+0xff,0x00,0x80,0x8f,0x73,0x72,0x71,0x3f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], s101    ; encoding: [0x00,0x65,0x80,0x8f]
+0x00,0x65,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x8f]
+0x00,0x66,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x8f]
+0x00,0x67,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], vcc_lo    ; encoding: [0x00,0x6a,0x80,0x8f]
+0x00,0x6a,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], vcc_hi    ; encoding: [0x00,0x6b,0x80,0x8f]
+0x00,0x6b,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], tba_lo    ; encoding: [0x00,0x6c,0x80,0x8f]
+0x00,0x6c,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], tba_hi    ; encoding: [0x00,0x6d,0x80,0x8f]
+0x00,0x6d,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], tma_lo    ; encoding: [0x00,0x6e,0x80,0x8f]
+0x00,0x6e,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], tma_hi    ; encoding: [0x00,0x6f,0x80,0x8f]
+0x00,0x6f,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], ttmp11    ; encoding: [0x00,0x7b,0x80,0x8f]
+0x00,0x7b,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], m0    ; encoding: [0x00,0x7c,0x80,0x8f]
+0x00,0x7c,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], exec_lo    ; encoding: [0x00,0x7e,0x80,0x8f]
+0x00,0x7e,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], exec_hi    ; encoding: [0x00,0x7f,0x80,0x8f]
+0x00,0x7f,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x8f]
+0x00,0x80,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x8f]
+0x00,0xc1,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x8f]
+0x00,0xf0,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x8f]
+0x00,0xf7,0x80,0x8f
+
+# CHECK: s_lshr_b64 s[0:1], s[0:1], scc    ; encoding: [0x00,0xfd,0x80,0x8f]
+0x00,0xfd,0x80,0x8f
+
+# CHECK: s_ashr_i32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x90]
+0x00,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x90]
+0x00,0x00,0x65,0x90
+
+# CHECK: s_ashr_i32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x90]
+0x00,0x00,0x66,0x90
+
+# CHECK: s_ashr_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x90]
+0x00,0x00,0x67,0x90
+
+# CHECK: s_ashr_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x90]
+0x00,0x00,0x6a,0x90
+
+# CHECK: s_ashr_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x90]
+0x00,0x00,0x6b,0x90
+
+# CHECK: s_ashr_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x90]
+0x00,0x00,0x6c,0x90
+
+# CHECK: s_ashr_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x90]
+0x00,0x00,0x6d,0x90
+
+# CHECK: s_ashr_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x90]
+0x00,0x00,0x6e,0x90
+
+# CHECK: s_ashr_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x90]
+0x00,0x00,0x6f,0x90
+
+# CHECK: s_ashr_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x90]
+0x00,0x00,0x7b,0x90
+
+# CHECK: s_ashr_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x90]
+0x00,0x00,0x7c,0x90
+
+# CHECK: s_ashr_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x90]
+0x00,0x00,0x7e,0x90
+
+# CHECK: s_ashr_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x90]
+0x00,0x00,0x7f,0x90
+
+# CHECK: s_ashr_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x90]
+0x65,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x90]
+0x66,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x90]
+0x67,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x90]
+0x6a,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x90]
+0x6b,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x90]
+0x6c,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x90]
+0x6d,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x90]
+0x6e,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x90]
+0x6f,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x90]
+0x7b,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x90]
+0x7c,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x90]
+0x7e,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x90]
+0x7f,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x90]
+0x80,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x90]
+0xc1,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x90]
+0xf0,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x90]
+0xf7,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x90]
+0xfd,0x00,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x90]
+0x00,0x65,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x90]
+0x00,0x66,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x90]
+0x00,0x67,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x90]
+0x00,0x6a,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x90]
+0x00,0x6b,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x90]
+0x00,0x6c,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x90]
+0x00,0x6d,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x90]
+0x00,0x6e,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x90]
+0x00,0x6f,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x90]
+0x00,0x7b,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x90]
+0x00,0x7c,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x90]
+0x00,0x7e,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x90]
+0x00,0x7f,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x90]
+0x00,0x80,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x90]
+0x00,0xc1,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x90]
+0x00,0xf0,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x90]
+0x00,0xf7,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x90]
+0x00,0xfd,0x00,0x90
+
+# CHECK: s_ashr_i32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x90,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x90,0x56,0x34,0x12,0xaf
+
+# CHECK: s_ashr_i32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x90,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x90,0x73,0x72,0x71,0x3f
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], s0    ; encoding: [0x00,0x00,0x80,0x90]
+0x00,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[2:3], s[0:1], s0    ; encoding: [0x00,0x00,0x82,0x90]
+0x00,0x00,0x82,0x90
+
+# CHECK: s_ashr_i64 s[100:101], s[0:1], s0    ; encoding: [0x00,0x00,0xe4,0x90]
+0x00,0x00,0xe4,0x90
+
+# CHECK: s_ashr_i64 flat_scratch, s[0:1], s0    ; encoding: [0x00,0x00,0xe6,0x90]
+0x00,0x00,0xe6,0x90
+
+# CHECK: s_ashr_i64 vcc, s[0:1], s0    ; encoding: [0x00,0x00,0xea,0x90]
+0x00,0x00,0xea,0x90
+
+# CHECK: s_ashr_i64 tba, s[0:1], s0    ; encoding: [0x00,0x00,0xec,0x90]
+0x00,0x00,0xec,0x90
+
+# CHECK: s_ashr_i64 tma, s[0:1], s0    ; encoding: [0x00,0x00,0xee,0x90]
+0x00,0x00,0xee,0x90
+
+# CHECK: s_ashr_i64 ttmp[10:11], s[0:1], s0    ; encoding: [0x00,0x00,0xfa,0x90]
+0x00,0x00,0xfa,0x90
+
+# CHECK: s_ashr_i64 exec, s[0:1], s0    ; encoding: [0x00,0x00,0xfe,0x90]
+0x00,0x00,0xfe,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[2:3], s0    ; encoding: [0x02,0x00,0x80,0x90]
+0x02,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[100:101], s0    ; encoding: [0x64,0x00,0x80,0x90]
+0x64,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], flat_scratch, s0    ; encoding: [0x66,0x00,0x80,0x90]
+0x66,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], vcc, s0    ; encoding: [0x6a,0x00,0x80,0x90]
+0x6a,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], tba, s0    ; encoding: [0x6c,0x00,0x80,0x90]
+0x6c,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], tma, s0    ; encoding: [0x6e,0x00,0x80,0x90]
+0x6e,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], ttmp[10:11], s0    ; encoding: [0x7a,0x00,0x80,0x90]
+0x7a,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], exec, s0    ; encoding: [0x7e,0x00,0x80,0x90]
+0x7e,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], 0, s0    ; encoding: [0x80,0x00,0x80,0x90]
+0x80,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], -1, s0    ; encoding: [0xc1,0x00,0x80,0x90]
+0xc1,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x90]
+0xf0,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x90]
+0xf7,0x00,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], 0xaf123456, s0    ; encoding: [0xff,0x00,0x80,0x90,0x56,0x34,0x12,0xaf]
+0xff,0x00,0x80,0x90,0x56,0x34,0x12,0xaf
+
+# CHECK: s_ashr_i64 s[0:1], 0x3f717273, s0    ; encoding: [0xff,0x00,0x80,0x90,0x73,0x72,0x71,0x3f]
+0xff,0x00,0x80,0x90,0x73,0x72,0x71,0x3f
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], s101    ; encoding: [0x00,0x65,0x80,0x90]
+0x00,0x65,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x90]
+0x00,0x66,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x90]
+0x00,0x67,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], vcc_lo    ; encoding: [0x00,0x6a,0x80,0x90]
+0x00,0x6a,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], vcc_hi    ; encoding: [0x00,0x6b,0x80,0x90]
+0x00,0x6b,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], tba_lo    ; encoding: [0x00,0x6c,0x80,0x90]
+0x00,0x6c,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], tba_hi    ; encoding: [0x00,0x6d,0x80,0x90]
+0x00,0x6d,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], tma_lo    ; encoding: [0x00,0x6e,0x80,0x90]
+0x00,0x6e,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], tma_hi    ; encoding: [0x00,0x6f,0x80,0x90]
+0x00,0x6f,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], ttmp11    ; encoding: [0x00,0x7b,0x80,0x90]
+0x00,0x7b,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], m0    ; encoding: [0x00,0x7c,0x80,0x90]
+0x00,0x7c,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], exec_lo    ; encoding: [0x00,0x7e,0x80,0x90]
+0x00,0x7e,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], exec_hi    ; encoding: [0x00,0x7f,0x80,0x90]
+0x00,0x7f,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x90]
+0x00,0x80,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x90]
+0x00,0xc1,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x90]
+0x00,0xf0,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x90]
+0x00,0xf7,0x80,0x90
+
+# CHECK: s_ashr_i64 s[0:1], s[0:1], scc    ; encoding: [0x00,0xfd,0x80,0x90]
+0x00,0xfd,0x80,0x90
+
+# CHECK: s_bfm_b32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x91]
+0x00,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x91]
+0x00,0x00,0x65,0x91
+
+# CHECK: s_bfm_b32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x91]
+0x00,0x00,0x66,0x91
+
+# CHECK: s_bfm_b32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x91]
+0x00,0x00,0x67,0x91
+
+# CHECK: s_bfm_b32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x91]
+0x00,0x00,0x6a,0x91
+
+# CHECK: s_bfm_b32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x91]
+0x00,0x00,0x6b,0x91
+
+# CHECK: s_bfm_b32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x91]
+0x00,0x00,0x6c,0x91
+
+# CHECK: s_bfm_b32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x91]
+0x00,0x00,0x6d,0x91
+
+# CHECK: s_bfm_b32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x91]
+0x00,0x00,0x6e,0x91
+
+# CHECK: s_bfm_b32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x91]
+0x00,0x00,0x6f,0x91
+
+# CHECK: s_bfm_b32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x91]
+0x00,0x00,0x7b,0x91
+
+# CHECK: s_bfm_b32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x91]
+0x00,0x00,0x7c,0x91
+
+# CHECK: s_bfm_b32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x91]
+0x00,0x00,0x7e,0x91
+
+# CHECK: s_bfm_b32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x91]
+0x00,0x00,0x7f,0x91
+
+# CHECK: s_bfm_b32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x91]
+0x65,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x91]
+0x66,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x91]
+0x67,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x91]
+0x6a,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x91]
+0x6b,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x91]
+0x6c,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x91]
+0x6d,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x91]
+0x6e,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x91]
+0x6f,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x91]
+0x7b,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x91]
+0x7c,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x91]
+0x7e,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x91]
+0x7f,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x91]
+0x80,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x91]
+0xc1,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x91]
+0xf0,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x91]
+0xf7,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x91]
+0xfd,0x00,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x91]
+0x00,0x65,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x91]
+0x00,0x66,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x91]
+0x00,0x67,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x91]
+0x00,0x6a,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x91]
+0x00,0x6b,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x91]
+0x00,0x6c,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x91]
+0x00,0x6d,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x91]
+0x00,0x6e,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x91]
+0x00,0x6f,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x91]
+0x00,0x7b,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x91]
+0x00,0x7c,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x91]
+0x00,0x7e,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x91]
+0x00,0x7f,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x91]
+0x00,0x80,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x91]
+0x00,0xc1,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x91]
+0x00,0xf0,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x91]
+0x00,0xf7,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x91]
+0x00,0xfd,0x00,0x91
+
+# CHECK: s_bfm_b32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x91,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x91,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bfm_b32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x91,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x91,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bfm_b64 s[0:1], s0, s0    ; encoding: [0x00,0x00,0x80,0x91]
+0x00,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[2:3], s0, s0    ; encoding: [0x00,0x00,0x82,0x91]
+0x00,0x00,0x82,0x91
+
+# CHECK: s_bfm_b64 s[100:101], s0, s0    ; encoding: [0x00,0x00,0xe4,0x91]
+0x00,0x00,0xe4,0x91
+
+# CHECK: s_bfm_b64 flat_scratch, s0, s0    ; encoding: [0x00,0x00,0xe6,0x91]
+0x00,0x00,0xe6,0x91
+
+# CHECK: s_bfm_b64 vcc, s0, s0    ; encoding: [0x00,0x00,0xea,0x91]
+0x00,0x00,0xea,0x91
+
+# CHECK: s_bfm_b64 tba, s0, s0    ; encoding: [0x00,0x00,0xec,0x91]
+0x00,0x00,0xec,0x91
+
+# CHECK: s_bfm_b64 tma, s0, s0    ; encoding: [0x00,0x00,0xee,0x91]
+0x00,0x00,0xee,0x91
+
+# CHECK: s_bfm_b64 ttmp[10:11], s0, s0    ; encoding: [0x00,0x00,0xfa,0x91]
+0x00,0x00,0xfa,0x91
+
+# CHECK: s_bfm_b64 exec, s0, s0    ; encoding: [0x00,0x00,0xfe,0x91]
+0x00,0x00,0xfe,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s101, s0    ; encoding: [0x65,0x00,0x80,0x91]
+0x65,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x91]
+0x66,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x91]
+0x67,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x91]
+0x6a,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x91]
+0x6b,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x91]
+0x6c,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x91]
+0x6d,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x91]
+0x6e,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x91]
+0x6f,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x91]
+0x7b,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], m0, s0    ; encoding: [0x7c,0x00,0x80,0x91]
+0x7c,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x91]
+0x7e,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x91]
+0x7f,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], 0, s0    ; encoding: [0x80,0x00,0x80,0x91]
+0x80,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], -1, s0    ; encoding: [0xc1,0x00,0x80,0x91]
+0xc1,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x91]
+0xf0,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x91]
+0xf7,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], scc, s0    ; encoding: [0xfd,0x00,0x80,0x91]
+0xfd,0x00,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, s101    ; encoding: [0x00,0x65,0x80,0x91]
+0x00,0x65,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x91]
+0x00,0x66,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x91]
+0x00,0x67,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x91]
+0x00,0x6a,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x91]
+0x00,0x6b,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x91]
+0x00,0x6c,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x91]
+0x00,0x6d,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x91]
+0x00,0x6e,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x91]
+0x00,0x6f,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x91]
+0x00,0x7b,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, m0    ; encoding: [0x00,0x7c,0x80,0x91]
+0x00,0x7c,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x91]
+0x00,0x7e,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x91]
+0x00,0x7f,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, 0    ; encoding: [0x00,0x80,0x80,0x91]
+0x00,0x80,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, -1    ; encoding: [0x00,0xc1,0x80,0x91]
+0x00,0xc1,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x91]
+0x00,0xf0,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x91]
+0x00,0xf7,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, scc    ; encoding: [0x00,0xfd,0x80,0x91]
+0x00,0xfd,0x80,0x91
+
+# CHECK: s_bfm_b64 s[0:1], s0, 0xaf123456    ; encoding: [0x00,0xff,0x80,0x91,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x91,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bfm_b64 s[0:1], s0, 0x3f717273    ; encoding: [0x00,0xff,0x80,0x91,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x91,0x73,0x72,0x71,0x3f
+
+# CHECK: s_mul_i32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x92]
+0x00,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x92]
+0x00,0x00,0x65,0x92
+
+# CHECK: s_mul_i32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x92]
+0x00,0x00,0x66,0x92
+
+# CHECK: s_mul_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x92]
+0x00,0x00,0x67,0x92
+
+# CHECK: s_mul_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x92]
+0x00,0x00,0x6a,0x92
+
+# CHECK: s_mul_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x92]
+0x00,0x00,0x6b,0x92
+
+# CHECK: s_mul_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x92]
+0x00,0x00,0x6c,0x92
+
+# CHECK: s_mul_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x92]
+0x00,0x00,0x6d,0x92
+
+# CHECK: s_mul_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x92]
+0x00,0x00,0x6e,0x92
+
+# CHECK: s_mul_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x92]
+0x00,0x00,0x6f,0x92
+
+# CHECK: s_mul_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x92]
+0x00,0x00,0x7b,0x92
+
+# CHECK: s_mul_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x92]
+0x00,0x00,0x7c,0x92
+
+# CHECK: s_mul_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x92]
+0x00,0x00,0x7e,0x92
+
+# CHECK: s_mul_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x92]
+0x00,0x00,0x7f,0x92
+
+# CHECK: s_mul_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x92]
+0x65,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x92]
+0x66,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x92]
+0x67,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x92]
+0x6a,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x92]
+0x6b,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x92]
+0x6c,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x92]
+0x6d,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x92]
+0x6e,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x92]
+0x6f,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x92]
+0x7b,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x92]
+0x7c,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x92]
+0x7e,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x92]
+0x7f,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x92]
+0x80,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x92]
+0xc1,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x92]
+0xf0,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x92]
+0xf7,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x92]
+0xfd,0x00,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x92]
+0x00,0x65,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x92]
+0x00,0x66,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x92]
+0x00,0x67,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x92]
+0x00,0x6a,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x92]
+0x00,0x6b,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x92]
+0x00,0x6c,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x92]
+0x00,0x6d,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x92]
+0x00,0x6e,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x92]
+0x00,0x6f,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x92]
+0x00,0x7b,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x92]
+0x00,0x7c,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x92]
+0x00,0x7e,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x92]
+0x00,0x7f,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x92]
+0x00,0x80,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x92]
+0x00,0xc1,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x92]
+0x00,0xf0,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x92]
+0x00,0xf7,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x92]
+0x00,0xfd,0x00,0x92
+
+# CHECK: s_mul_i32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x92,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x92,0x56,0x34,0x12,0xaf
+
+# CHECK: s_mul_i32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x92,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x92,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bfe_u32 s0, s0, s0    ; encoding: [0x00,0x00,0x80,0x92]
+0x00,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s101, s0, s0    ; encoding: [0x00,0x00,0xe5,0x92]
+0x00,0x00,0xe5,0x92
+
+# CHECK: s_bfe_u32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0xe6,0x92]
+0x00,0x00,0xe6,0x92
+
+# CHECK: s_bfe_u32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0xe7,0x92]
+0x00,0x00,0xe7,0x92
+
+# CHECK: s_bfe_u32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0xea,0x92]
+0x00,0x00,0xea,0x92
+
+# CHECK: s_bfe_u32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0xeb,0x92]
+0x00,0x00,0xeb,0x92
+
+# CHECK: s_bfe_u32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0xec,0x92]
+0x00,0x00,0xec,0x92
+
+# CHECK: s_bfe_u32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0xed,0x92]
+0x00,0x00,0xed,0x92
+
+# CHECK: s_bfe_u32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0xee,0x92]
+0x00,0x00,0xee,0x92
+
+# CHECK: s_bfe_u32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0xef,0x92]
+0x00,0x00,0xef,0x92
+
+# CHECK: s_bfe_u32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0xfb,0x92]
+0x00,0x00,0xfb,0x92
+
+# CHECK: s_bfe_u32 m0, s0, s0    ; encoding: [0x00,0x00,0xfc,0x92]
+0x00,0x00,0xfc,0x92
+
+# CHECK: s_bfe_u32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0xfe,0x92]
+0x00,0x00,0xfe,0x92
+
+# CHECK: s_bfe_u32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0xff,0x92]
+0x00,0x00,0xff,0x92
+
+# CHECK: s_bfe_u32 s0, s101, s0    ; encoding: [0x65,0x00,0x80,0x92]
+0x65,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x80,0x92]
+0x66,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x80,0x92]
+0x67,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x80,0x92]
+0x6a,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x80,0x92]
+0x6b,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x80,0x92]
+0x6c,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x80,0x92]
+0x6d,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x80,0x92]
+0x6e,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x80,0x92]
+0x6f,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x80,0x92]
+0x7b,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, m0, s0    ; encoding: [0x7c,0x00,0x80,0x92]
+0x7c,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x80,0x92]
+0x7e,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x80,0x92]
+0x7f,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, 0, s0    ; encoding: [0x80,0x00,0x80,0x92]
+0x80,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, -1, s0    ; encoding: [0xc1,0x00,0x80,0x92]
+0xc1,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x92]
+0xf0,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x92]
+0xf7,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, scc, s0    ; encoding: [0xfd,0x00,0x80,0x92]
+0xfd,0x00,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, s101    ; encoding: [0x00,0x65,0x80,0x92]
+0x00,0x65,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x92]
+0x00,0x66,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x92]
+0x00,0x67,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x80,0x92]
+0x00,0x6a,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x80,0x92]
+0x00,0x6b,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x80,0x92]
+0x00,0x6c,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x80,0x92]
+0x00,0x6d,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x80,0x92]
+0x00,0x6e,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x80,0x92]
+0x00,0x6f,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x80,0x92]
+0x00,0x7b,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, m0    ; encoding: [0x00,0x7c,0x80,0x92]
+0x00,0x7c,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x80,0x92]
+0x00,0x7e,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x80,0x92]
+0x00,0x7f,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, 0    ; encoding: [0x00,0x80,0x80,0x92]
+0x00,0x80,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, -1    ; encoding: [0x00,0xc1,0x80,0x92]
+0x00,0xc1,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x80,0x92]
+0x00,0xf0,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x80,0x92]
+0x00,0xf7,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, scc    ; encoding: [0x00,0xfd,0x80,0x92]
+0x00,0xfd,0x80,0x92
+
+# CHECK: s_bfe_u32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x80,0x92,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x80,0x92,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bfe_u32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x80,0x92,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x80,0x92,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bfe_i32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x93]
+0x00,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x93]
+0x00,0x00,0x65,0x93
+
+# CHECK: s_bfe_i32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x93]
+0x00,0x00,0x66,0x93
+
+# CHECK: s_bfe_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x93]
+0x00,0x00,0x67,0x93
+
+# CHECK: s_bfe_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x93]
+0x00,0x00,0x6a,0x93
+
+# CHECK: s_bfe_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x93]
+0x00,0x00,0x6b,0x93
+
+# CHECK: s_bfe_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x93]
+0x00,0x00,0x6c,0x93
+
+# CHECK: s_bfe_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x93]
+0x00,0x00,0x6d,0x93
+
+# CHECK: s_bfe_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x93]
+0x00,0x00,0x6e,0x93
+
+# CHECK: s_bfe_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x93]
+0x00,0x00,0x6f,0x93
+
+# CHECK: s_bfe_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x93]
+0x00,0x00,0x7b,0x93
+
+# CHECK: s_bfe_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x93]
+0x00,0x00,0x7c,0x93
+
+# CHECK: s_bfe_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x93]
+0x00,0x00,0x7e,0x93
+
+# CHECK: s_bfe_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x93]
+0x00,0x00,0x7f,0x93
+
+# CHECK: s_bfe_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x93]
+0x65,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x93]
+0x66,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x93]
+0x67,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x93]
+0x6a,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x93]
+0x6b,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x93]
+0x6c,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x93]
+0x6d,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x93]
+0x6e,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x93]
+0x6f,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x93]
+0x7b,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x93]
+0x7c,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x93]
+0x7e,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x93]
+0x7f,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x93]
+0x80,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x93]
+0xc1,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x93]
+0xf0,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x93]
+0xf7,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x93]
+0xfd,0x00,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x93]
+0x00,0x65,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x93]
+0x00,0x66,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x93]
+0x00,0x67,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x93]
+0x00,0x6a,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x93]
+0x00,0x6b,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x93]
+0x00,0x6c,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x93]
+0x00,0x6d,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x93]
+0x00,0x6e,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x93]
+0x00,0x6f,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x93]
+0x00,0x7b,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x93]
+0x00,0x7c,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x93]
+0x00,0x7e,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x93]
+0x00,0x7f,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x93]
+0x00,0x80,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x93]
+0x00,0xc1,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x93]
+0x00,0xf0,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x93]
+0x00,0xf7,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x93]
+0x00,0xfd,0x00,0x93
+
+# CHECK: s_bfe_i32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x93,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x93,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bfe_i32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x93,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x93,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], s0    ; encoding: [0x00,0x00,0x80,0x93]
+0x00,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[2:3], s[0:1], s0    ; encoding: [0x00,0x00,0x82,0x93]
+0x00,0x00,0x82,0x93
+
+# CHECK: s_bfe_u64 s[100:101], s[0:1], s0    ; encoding: [0x00,0x00,0xe4,0x93]
+0x00,0x00,0xe4,0x93
+
+# CHECK: s_bfe_u64 flat_scratch, s[0:1], s0    ; encoding: [0x00,0x00,0xe6,0x93]
+0x00,0x00,0xe6,0x93
+
+# CHECK: s_bfe_u64 vcc, s[0:1], s0    ; encoding: [0x00,0x00,0xea,0x93]
+0x00,0x00,0xea,0x93
+
+# CHECK: s_bfe_u64 tba, s[0:1], s0    ; encoding: [0x00,0x00,0xec,0x93]
+0x00,0x00,0xec,0x93
+
+# CHECK: s_bfe_u64 tma, s[0:1], s0    ; encoding: [0x00,0x00,0xee,0x93]
+0x00,0x00,0xee,0x93
+
+# CHECK: s_bfe_u64 ttmp[10:11], s[0:1], s0    ; encoding: [0x00,0x00,0xfa,0x93]
+0x00,0x00,0xfa,0x93
+
+# CHECK: s_bfe_u64 exec, s[0:1], s0    ; encoding: [0x00,0x00,0xfe,0x93]
+0x00,0x00,0xfe,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[2:3], s0    ; encoding: [0x02,0x00,0x80,0x93]
+0x02,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[100:101], s0    ; encoding: [0x64,0x00,0x80,0x93]
+0x64,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], flat_scratch, s0    ; encoding: [0x66,0x00,0x80,0x93]
+0x66,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], vcc, s0    ; encoding: [0x6a,0x00,0x80,0x93]
+0x6a,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], tba, s0    ; encoding: [0x6c,0x00,0x80,0x93]
+0x6c,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], tma, s0    ; encoding: [0x6e,0x00,0x80,0x93]
+0x6e,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], ttmp[10:11], s0    ; encoding: [0x7a,0x00,0x80,0x93]
+0x7a,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], exec, s0    ; encoding: [0x7e,0x00,0x80,0x93]
+0x7e,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], 0, s0    ; encoding: [0x80,0x00,0x80,0x93]
+0x80,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], -1, s0    ; encoding: [0xc1,0x00,0x80,0x93]
+0xc1,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], 0.5, s0    ; encoding: [0xf0,0x00,0x80,0x93]
+0xf0,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], -4.0, s0    ; encoding: [0xf7,0x00,0x80,0x93]
+0xf7,0x00,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], 0xaf123456, s0    ; encoding: [0xff,0x00,0x80,0x93,0x56,0x34,0x12,0xaf]
+0xff,0x00,0x80,0x93,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bfe_u64 s[0:1], 0x3f717273, s0    ; encoding: [0xff,0x00,0x80,0x93,0x73,0x72,0x71,0x3f]
+0xff,0x00,0x80,0x93,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], s101    ; encoding: [0x00,0x65,0x80,0x93]
+0x00,0x65,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], flat_scratch_lo    ; encoding: [0x00,0x66,0x80,0x93]
+0x00,0x66,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], flat_scratch_hi    ; encoding: [0x00,0x67,0x80,0x93]
+0x00,0x67,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], vcc_lo    ; encoding: [0x00,0x6a,0x80,0x93]
+0x00,0x6a,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], vcc_hi    ; encoding: [0x00,0x6b,0x80,0x93]
+0x00,0x6b,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], tba_lo    ; encoding: [0x00,0x6c,0x80,0x93]
+0x00,0x6c,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], tba_hi    ; encoding: [0x00,0x6d,0x80,0x93]
+0x00,0x6d,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], tma_lo    ; encoding: [0x00,0x6e,0x80,0x93]
+0x00,0x6e,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], tma_hi    ; encoding: [0x00,0x6f,0x80,0x93]
+0x00,0x6f,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], ttmp11    ; encoding: [0x00,0x7b,0x80,0x93]
+0x00,0x7b,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], m0    ; encoding: [0x00,0x7c,0x80,0x93]
+0x00,0x7c,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], exec_lo    ; encoding: [0x00,0x7e,0x80,0x93]
+0x00,0x7e,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], exec_hi    ; encoding: [0x00,0x7f,0x80,0x93]
+0x00,0x7f,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x80,0x93]
+0x00,0x80,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x80,0x93]
+0x00,0xc1,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x80,0x93]
+0x00,0xf0,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x80,0x93]
+0x00,0xf7,0x80,0x93
+
+# CHECK: s_bfe_u64 s[0:1], s[0:1], scc    ; encoding: [0x00,0xfd,0x80,0x93]
+0x00,0xfd,0x80,0x93
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], s0    ; encoding: [0x00,0x00,0x00,0x94]
+0x00,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[2:3], s[0:1], s0    ; encoding: [0x00,0x00,0x02,0x94]
+0x00,0x00,0x02,0x94
+
+# CHECK: s_bfe_i64 s[100:101], s[0:1], s0    ; encoding: [0x00,0x00,0x64,0x94]
+0x00,0x00,0x64,0x94
+
+# CHECK: s_bfe_i64 flat_scratch, s[0:1], s0    ; encoding: [0x00,0x00,0x66,0x94]
+0x00,0x00,0x66,0x94
+
+# CHECK: s_bfe_i64 vcc, s[0:1], s0    ; encoding: [0x00,0x00,0x6a,0x94]
+0x00,0x00,0x6a,0x94
+
+# CHECK: s_bfe_i64 tba, s[0:1], s0    ; encoding: [0x00,0x00,0x6c,0x94]
+0x00,0x00,0x6c,0x94
+
+# CHECK: s_bfe_i64 tma, s[0:1], s0    ; encoding: [0x00,0x00,0x6e,0x94]
+0x00,0x00,0x6e,0x94
+
+# CHECK: s_bfe_i64 ttmp[10:11], s[0:1], s0    ; encoding: [0x00,0x00,0x7a,0x94]
+0x00,0x00,0x7a,0x94
+
+# CHECK: s_bfe_i64 exec, s[0:1], s0    ; encoding: [0x00,0x00,0x7e,0x94]
+0x00,0x00,0x7e,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[2:3], s0    ; encoding: [0x02,0x00,0x00,0x94]
+0x02,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[100:101], s0    ; encoding: [0x64,0x00,0x00,0x94]
+0x64,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], flat_scratch, s0    ; encoding: [0x66,0x00,0x00,0x94]
+0x66,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], vcc, s0    ; encoding: [0x6a,0x00,0x00,0x94]
+0x6a,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], tba, s0    ; encoding: [0x6c,0x00,0x00,0x94]
+0x6c,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], tma, s0    ; encoding: [0x6e,0x00,0x00,0x94]
+0x6e,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], ttmp[10:11], s0    ; encoding: [0x7a,0x00,0x00,0x94]
+0x7a,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], exec, s0    ; encoding: [0x7e,0x00,0x00,0x94]
+0x7e,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], 0, s0    ; encoding: [0x80,0x00,0x00,0x94]
+0x80,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], -1, s0    ; encoding: [0xc1,0x00,0x00,0x94]
+0xc1,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x94]
+0xf0,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x94]
+0xf7,0x00,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], 0xaf123456, s0    ; encoding: [0xff,0x00,0x00,0x94,0x56,0x34,0x12,0xaf]
+0xff,0x00,0x00,0x94,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bfe_i64 s[0:1], 0x3f717273, s0    ; encoding: [0xff,0x00,0x00,0x94,0x73,0x72,0x71,0x3f]
+0xff,0x00,0x00,0x94,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], s101    ; encoding: [0x00,0x65,0x00,0x94]
+0x00,0x65,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x94]
+0x00,0x66,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x94]
+0x00,0x67,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], vcc_lo    ; encoding: [0x00,0x6a,0x00,0x94]
+0x00,0x6a,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], vcc_hi    ; encoding: [0x00,0x6b,0x00,0x94]
+0x00,0x6b,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], tba_lo    ; encoding: [0x00,0x6c,0x00,0x94]
+0x00,0x6c,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], tba_hi    ; encoding: [0x00,0x6d,0x00,0x94]
+0x00,0x6d,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], tma_lo    ; encoding: [0x00,0x6e,0x00,0x94]
+0x00,0x6e,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], tma_hi    ; encoding: [0x00,0x6f,0x00,0x94]
+0x00,0x6f,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], ttmp11    ; encoding: [0x00,0x7b,0x00,0x94]
+0x00,0x7b,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], m0    ; encoding: [0x00,0x7c,0x00,0x94]
+0x00,0x7c,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], exec_lo    ; encoding: [0x00,0x7e,0x00,0x94]
+0x00,0x7e,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], exec_hi    ; encoding: [0x00,0x7f,0x00,0x94]
+0x00,0x7f,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], 0    ; encoding: [0x00,0x80,0x00,0x94]
+0x00,0x80,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], -1    ; encoding: [0x00,0xc1,0x00,0x94]
+0x00,0xc1,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], 0.5    ; encoding: [0x00,0xf0,0x00,0x94]
+0x00,0xf0,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], -4.0    ; encoding: [0x00,0xf7,0x00,0x94]
+0x00,0xf7,0x00,0x94
+
+# CHECK: s_bfe_i64 s[0:1], s[0:1], scc    ; encoding: [0x00,0xfd,0x00,0x94]
+0x00,0xfd,0x00,0x94
+
+# CHECK: s_cbranch_g_fork s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x80,0x94]
+0x00,0x00,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x80,0x94]
+0x02,0x00,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x80,0x94]
+0x64,0x00,0x80,0x94
+
+# CHECK: s_cbranch_g_fork flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x80,0x94]
+0x66,0x00,0x80,0x94
+
+# CHECK: s_cbranch_g_fork vcc, s[0:1]    ; encoding: [0x6a,0x00,0x80,0x94]
+0x6a,0x00,0x80,0x94
+
+# CHECK: s_cbranch_g_fork tba, s[0:1]    ; encoding: [0x6c,0x00,0x80,0x94]
+0x6c,0x00,0x80,0x94
+
+# CHECK: s_cbranch_g_fork tma, s[0:1]    ; encoding: [0x6e,0x00,0x80,0x94]
+0x6e,0x00,0x80,0x94
+
+# CHECK: s_cbranch_g_fork ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x80,0x94]
+0x7a,0x00,0x80,0x94
+
+# CHECK: s_cbranch_g_fork exec, s[0:1]    ; encoding: [0x7e,0x00,0x80,0x94]
+0x7e,0x00,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x80,0x94]
+0x00,0x02,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x80,0x94]
+0x00,0x64,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x80,0x94]
+0x00,0x66,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[0:1], vcc    ; encoding: [0x00,0x6a,0x80,0x94]
+0x00,0x6a,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[0:1], tba    ; encoding: [0x00,0x6c,0x80,0x94]
+0x00,0x6c,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[0:1], tma    ; encoding: [0x00,0x6e,0x80,0x94]
+0x00,0x6e,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x80,0x94]
+0x00,0x7a,0x80,0x94
+
+# CHECK: s_cbranch_g_fork s[0:1], exec    ; encoding: [0x00,0x7e,0x80,0x94]
+0x00,0x7e,0x80,0x94
+
+# CHECK: s_absdiff_i32 s0, s0, s0    ; encoding: [0x00,0x00,0x00,0x95]
+0x00,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s101, s0, s0    ; encoding: [0x00,0x00,0x65,0x95]
+0x00,0x00,0x65,0x95
+
+# CHECK: s_absdiff_i32 flat_scratch_lo, s0, s0    ; encoding: [0x00,0x00,0x66,0x95]
+0x00,0x00,0x66,0x95
+
+# CHECK: s_absdiff_i32 flat_scratch_hi, s0, s0    ; encoding: [0x00,0x00,0x67,0x95]
+0x00,0x00,0x67,0x95
+
+# CHECK: s_absdiff_i32 vcc_lo, s0, s0    ; encoding: [0x00,0x00,0x6a,0x95]
+0x00,0x00,0x6a,0x95
+
+# CHECK: s_absdiff_i32 vcc_hi, s0, s0    ; encoding: [0x00,0x00,0x6b,0x95]
+0x00,0x00,0x6b,0x95
+
+# CHECK: s_absdiff_i32 tba_lo, s0, s0    ; encoding: [0x00,0x00,0x6c,0x95]
+0x00,0x00,0x6c,0x95
+
+# CHECK: s_absdiff_i32 tba_hi, s0, s0    ; encoding: [0x00,0x00,0x6d,0x95]
+0x00,0x00,0x6d,0x95
+
+# CHECK: s_absdiff_i32 tma_lo, s0, s0    ; encoding: [0x00,0x00,0x6e,0x95]
+0x00,0x00,0x6e,0x95
+
+# CHECK: s_absdiff_i32 tma_hi, s0, s0    ; encoding: [0x00,0x00,0x6f,0x95]
+0x00,0x00,0x6f,0x95
+
+# CHECK: s_absdiff_i32 ttmp11, s0, s0    ; encoding: [0x00,0x00,0x7b,0x95]
+0x00,0x00,0x7b,0x95
+
+# CHECK: s_absdiff_i32 m0, s0, s0    ; encoding: [0x00,0x00,0x7c,0x95]
+0x00,0x00,0x7c,0x95
+
+# CHECK: s_absdiff_i32 exec_lo, s0, s0    ; encoding: [0x00,0x00,0x7e,0x95]
+0x00,0x00,0x7e,0x95
+
+# CHECK: s_absdiff_i32 exec_hi, s0, s0    ; encoding: [0x00,0x00,0x7f,0x95]
+0x00,0x00,0x7f,0x95
+
+# CHECK: s_absdiff_i32 s0, s101, s0    ; encoding: [0x65,0x00,0x00,0x95]
+0x65,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0x95]
+0x66,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0x95]
+0x67,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0x95]
+0x6a,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0x95]
+0x6b,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0x95]
+0x6c,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0x95]
+0x6d,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0x95]
+0x6e,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0x95]
+0x6f,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0x95]
+0x7b,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, m0, s0    ; encoding: [0x7c,0x00,0x00,0x95]
+0x7c,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0x95]
+0x7e,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0x95]
+0x7f,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, 0, s0    ; encoding: [0x80,0x00,0x00,0x95]
+0x80,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, -1, s0    ; encoding: [0xc1,0x00,0x00,0x95]
+0xc1,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, 0.5, s0    ; encoding: [0xf0,0x00,0x00,0x95]
+0xf0,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, -4.0, s0    ; encoding: [0xf7,0x00,0x00,0x95]
+0xf7,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, scc, s0    ; encoding: [0xfd,0x00,0x00,0x95]
+0xfd,0x00,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, s101    ; encoding: [0x00,0x65,0x00,0x95]
+0x00,0x65,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0x95]
+0x00,0x66,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0x95]
+0x00,0x67,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0x95]
+0x00,0x6a,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0x95]
+0x00,0x6b,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0x95]
+0x00,0x6c,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0x95]
+0x00,0x6d,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0x95]
+0x00,0x6e,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0x95]
+0x00,0x6f,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0x95]
+0x00,0x7b,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, m0    ; encoding: [0x00,0x7c,0x00,0x95]
+0x00,0x7c,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0x95]
+0x00,0x7e,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0x95]
+0x00,0x7f,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, 0    ; encoding: [0x00,0x80,0x00,0x95]
+0x00,0x80,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, -1    ; encoding: [0x00,0xc1,0x00,0x95]
+0x00,0xc1,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, 0.5    ; encoding: [0x00,0xf0,0x00,0x95]
+0x00,0xf0,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, -4.0    ; encoding: [0x00,0xf7,0x00,0x95]
+0x00,0xf7,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, scc    ; encoding: [0x00,0xfd,0x00,0x95]
+0x00,0xfd,0x00,0x95
+
+# CHECK: s_absdiff_i32 s0, s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0x95,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0x95,0x56,0x34,0x12,0xaf
+
+# CHECK: s_absdiff_i32 s0, s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0x95,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0x95,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_eq_i32 s0, s0    ; encoding: [0x00,0x00,0x00,0xbf]
+0x00,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s101, s0    ; encoding: [0x65,0x00,0x00,0xbf]
+0x65,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x00,0xbf]
+0x66,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x00,0xbf]
+0x67,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x00,0xbf]
+0x6a,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x00,0xbf]
+0x6b,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 tba_lo, s0    ; encoding: [0x6c,0x00,0x00,0xbf]
+0x6c,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 tba_hi, s0    ; encoding: [0x6d,0x00,0x00,0xbf]
+0x6d,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 tma_lo, s0    ; encoding: [0x6e,0x00,0x00,0xbf]
+0x6e,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 tma_hi, s0    ; encoding: [0x6f,0x00,0x00,0xbf]
+0x6f,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 ttmp11, s0    ; encoding: [0x7b,0x00,0x00,0xbf]
+0x7b,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 m0, s0    ; encoding: [0x7c,0x00,0x00,0xbf]
+0x7c,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 exec_lo, s0    ; encoding: [0x7e,0x00,0x00,0xbf]
+0x7e,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 exec_hi, s0    ; encoding: [0x7f,0x00,0x00,0xbf]
+0x7f,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 0, s0    ; encoding: [0x80,0x00,0x00,0xbf]
+0x80,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 -1, s0    ; encoding: [0xc1,0x00,0x00,0xbf]
+0xc1,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 0.5, s0    ; encoding: [0xf0,0x00,0x00,0xbf]
+0xf0,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 -4.0, s0    ; encoding: [0xf7,0x00,0x00,0xbf]
+0xf7,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 scc, s0    ; encoding: [0xfd,0x00,0x00,0xbf]
+0xfd,0x00,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, s101    ; encoding: [0x00,0x65,0x00,0xbf]
+0x00,0x65,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x00,0xbf]
+0x00,0x66,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x00,0xbf]
+0x00,0x67,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x00,0xbf]
+0x00,0x6a,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x00,0xbf]
+0x00,0x6b,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, tba_lo    ; encoding: [0x00,0x6c,0x00,0xbf]
+0x00,0x6c,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, tba_hi    ; encoding: [0x00,0x6d,0x00,0xbf]
+0x00,0x6d,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, tma_lo    ; encoding: [0x00,0x6e,0x00,0xbf]
+0x00,0x6e,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, tma_hi    ; encoding: [0x00,0x6f,0x00,0xbf]
+0x00,0x6f,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, ttmp11    ; encoding: [0x00,0x7b,0x00,0xbf]
+0x00,0x7b,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, m0    ; encoding: [0x00,0x7c,0x00,0xbf]
+0x00,0x7c,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, exec_lo    ; encoding: [0x00,0x7e,0x00,0xbf]
+0x00,0x7e,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, exec_hi    ; encoding: [0x00,0x7f,0x00,0xbf]
+0x00,0x7f,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, 0    ; encoding: [0x00,0x80,0x00,0xbf]
+0x00,0x80,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, -1    ; encoding: [0x00,0xc1,0x00,0xbf]
+0x00,0xc1,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, 0.5    ; encoding: [0x00,0xf0,0x00,0xbf]
+0x00,0xf0,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, -4.0    ; encoding: [0x00,0xf7,0x00,0xbf]
+0x00,0xf7,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, scc    ; encoding: [0x00,0xfd,0x00,0xbf]
+0x00,0xfd,0x00,0xbf
+
+# CHECK: s_cmp_eq_i32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x00,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x00,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_eq_i32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x00,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x00,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_lg_i32 s0, s0    ; encoding: [0x00,0x00,0x01,0xbf]
+0x00,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s101, s0    ; encoding: [0x65,0x00,0x01,0xbf]
+0x65,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x01,0xbf]
+0x66,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x01,0xbf]
+0x67,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x01,0xbf]
+0x6a,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x01,0xbf]
+0x6b,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 tba_lo, s0    ; encoding: [0x6c,0x00,0x01,0xbf]
+0x6c,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 tba_hi, s0    ; encoding: [0x6d,0x00,0x01,0xbf]
+0x6d,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 tma_lo, s0    ; encoding: [0x6e,0x00,0x01,0xbf]
+0x6e,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 tma_hi, s0    ; encoding: [0x6f,0x00,0x01,0xbf]
+0x6f,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 ttmp11, s0    ; encoding: [0x7b,0x00,0x01,0xbf]
+0x7b,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 m0, s0    ; encoding: [0x7c,0x00,0x01,0xbf]
+0x7c,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 exec_lo, s0    ; encoding: [0x7e,0x00,0x01,0xbf]
+0x7e,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 exec_hi, s0    ; encoding: [0x7f,0x00,0x01,0xbf]
+0x7f,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 0, s0    ; encoding: [0x80,0x00,0x01,0xbf]
+0x80,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 -1, s0    ; encoding: [0xc1,0x00,0x01,0xbf]
+0xc1,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 0.5, s0    ; encoding: [0xf0,0x00,0x01,0xbf]
+0xf0,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 -4.0, s0    ; encoding: [0xf7,0x00,0x01,0xbf]
+0xf7,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 scc, s0    ; encoding: [0xfd,0x00,0x01,0xbf]
+0xfd,0x00,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, s101    ; encoding: [0x00,0x65,0x01,0xbf]
+0x00,0x65,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x01,0xbf]
+0x00,0x66,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x01,0xbf]
+0x00,0x67,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x01,0xbf]
+0x00,0x6a,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x01,0xbf]
+0x00,0x6b,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, tba_lo    ; encoding: [0x00,0x6c,0x01,0xbf]
+0x00,0x6c,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, tba_hi    ; encoding: [0x00,0x6d,0x01,0xbf]
+0x00,0x6d,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, tma_lo    ; encoding: [0x00,0x6e,0x01,0xbf]
+0x00,0x6e,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, tma_hi    ; encoding: [0x00,0x6f,0x01,0xbf]
+0x00,0x6f,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, ttmp11    ; encoding: [0x00,0x7b,0x01,0xbf]
+0x00,0x7b,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, m0    ; encoding: [0x00,0x7c,0x01,0xbf]
+0x00,0x7c,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, exec_lo    ; encoding: [0x00,0x7e,0x01,0xbf]
+0x00,0x7e,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, exec_hi    ; encoding: [0x00,0x7f,0x01,0xbf]
+0x00,0x7f,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, 0    ; encoding: [0x00,0x80,0x01,0xbf]
+0x00,0x80,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, -1    ; encoding: [0x00,0xc1,0x01,0xbf]
+0x00,0xc1,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, 0.5    ; encoding: [0x00,0xf0,0x01,0xbf]
+0x00,0xf0,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, -4.0    ; encoding: [0x00,0xf7,0x01,0xbf]
+0x00,0xf7,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, scc    ; encoding: [0x00,0xfd,0x01,0xbf]
+0x00,0xfd,0x01,0xbf
+
+# CHECK: s_cmp_lg_i32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x01,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x01,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_lg_i32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x01,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x01,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_gt_i32 s0, s0    ; encoding: [0x00,0x00,0x02,0xbf]
+0x00,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s101, s0    ; encoding: [0x65,0x00,0x02,0xbf]
+0x65,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x02,0xbf]
+0x66,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x02,0xbf]
+0x67,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x02,0xbf]
+0x6a,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x02,0xbf]
+0x6b,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 tba_lo, s0    ; encoding: [0x6c,0x00,0x02,0xbf]
+0x6c,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 tba_hi, s0    ; encoding: [0x6d,0x00,0x02,0xbf]
+0x6d,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 tma_lo, s0    ; encoding: [0x6e,0x00,0x02,0xbf]
+0x6e,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 tma_hi, s0    ; encoding: [0x6f,0x00,0x02,0xbf]
+0x6f,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 ttmp11, s0    ; encoding: [0x7b,0x00,0x02,0xbf]
+0x7b,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 m0, s0    ; encoding: [0x7c,0x00,0x02,0xbf]
+0x7c,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 exec_lo, s0    ; encoding: [0x7e,0x00,0x02,0xbf]
+0x7e,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 exec_hi, s0    ; encoding: [0x7f,0x00,0x02,0xbf]
+0x7f,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 0, s0    ; encoding: [0x80,0x00,0x02,0xbf]
+0x80,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 -1, s0    ; encoding: [0xc1,0x00,0x02,0xbf]
+0xc1,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 0.5, s0    ; encoding: [0xf0,0x00,0x02,0xbf]
+0xf0,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 -4.0, s0    ; encoding: [0xf7,0x00,0x02,0xbf]
+0xf7,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 scc, s0    ; encoding: [0xfd,0x00,0x02,0xbf]
+0xfd,0x00,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, s101    ; encoding: [0x00,0x65,0x02,0xbf]
+0x00,0x65,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x02,0xbf]
+0x00,0x66,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x02,0xbf]
+0x00,0x67,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x02,0xbf]
+0x00,0x6a,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x02,0xbf]
+0x00,0x6b,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, tba_lo    ; encoding: [0x00,0x6c,0x02,0xbf]
+0x00,0x6c,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, tba_hi    ; encoding: [0x00,0x6d,0x02,0xbf]
+0x00,0x6d,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, tma_lo    ; encoding: [0x00,0x6e,0x02,0xbf]
+0x00,0x6e,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, tma_hi    ; encoding: [0x00,0x6f,0x02,0xbf]
+0x00,0x6f,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, ttmp11    ; encoding: [0x00,0x7b,0x02,0xbf]
+0x00,0x7b,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, m0    ; encoding: [0x00,0x7c,0x02,0xbf]
+0x00,0x7c,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, exec_lo    ; encoding: [0x00,0x7e,0x02,0xbf]
+0x00,0x7e,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, exec_hi    ; encoding: [0x00,0x7f,0x02,0xbf]
+0x00,0x7f,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, 0    ; encoding: [0x00,0x80,0x02,0xbf]
+0x00,0x80,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, -1    ; encoding: [0x00,0xc1,0x02,0xbf]
+0x00,0xc1,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, 0.5    ; encoding: [0x00,0xf0,0x02,0xbf]
+0x00,0xf0,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, -4.0    ; encoding: [0x00,0xf7,0x02,0xbf]
+0x00,0xf7,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, scc    ; encoding: [0x00,0xfd,0x02,0xbf]
+0x00,0xfd,0x02,0xbf
+
+# CHECK: s_cmp_gt_i32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x02,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x02,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_gt_i32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x02,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x02,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_ge_i32 s0, s0    ; encoding: [0x00,0x00,0x03,0xbf]
+0x00,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s101, s0    ; encoding: [0x65,0x00,0x03,0xbf]
+0x65,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x03,0xbf]
+0x66,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x03,0xbf]
+0x67,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x03,0xbf]
+0x6a,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x03,0xbf]
+0x6b,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 tba_lo, s0    ; encoding: [0x6c,0x00,0x03,0xbf]
+0x6c,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 tba_hi, s0    ; encoding: [0x6d,0x00,0x03,0xbf]
+0x6d,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 tma_lo, s0    ; encoding: [0x6e,0x00,0x03,0xbf]
+0x6e,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 tma_hi, s0    ; encoding: [0x6f,0x00,0x03,0xbf]
+0x6f,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 ttmp11, s0    ; encoding: [0x7b,0x00,0x03,0xbf]
+0x7b,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 m0, s0    ; encoding: [0x7c,0x00,0x03,0xbf]
+0x7c,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 exec_lo, s0    ; encoding: [0x7e,0x00,0x03,0xbf]
+0x7e,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 exec_hi, s0    ; encoding: [0x7f,0x00,0x03,0xbf]
+0x7f,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 0, s0    ; encoding: [0x80,0x00,0x03,0xbf]
+0x80,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 -1, s0    ; encoding: [0xc1,0x00,0x03,0xbf]
+0xc1,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 0.5, s0    ; encoding: [0xf0,0x00,0x03,0xbf]
+0xf0,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 -4.0, s0    ; encoding: [0xf7,0x00,0x03,0xbf]
+0xf7,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 scc, s0    ; encoding: [0xfd,0x00,0x03,0xbf]
+0xfd,0x00,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, s101    ; encoding: [0x00,0x65,0x03,0xbf]
+0x00,0x65,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x03,0xbf]
+0x00,0x66,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x03,0xbf]
+0x00,0x67,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x03,0xbf]
+0x00,0x6a,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x03,0xbf]
+0x00,0x6b,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, tba_lo    ; encoding: [0x00,0x6c,0x03,0xbf]
+0x00,0x6c,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, tba_hi    ; encoding: [0x00,0x6d,0x03,0xbf]
+0x00,0x6d,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, tma_lo    ; encoding: [0x00,0x6e,0x03,0xbf]
+0x00,0x6e,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, tma_hi    ; encoding: [0x00,0x6f,0x03,0xbf]
+0x00,0x6f,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, ttmp11    ; encoding: [0x00,0x7b,0x03,0xbf]
+0x00,0x7b,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, m0    ; encoding: [0x00,0x7c,0x03,0xbf]
+0x00,0x7c,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, exec_lo    ; encoding: [0x00,0x7e,0x03,0xbf]
+0x00,0x7e,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, exec_hi    ; encoding: [0x00,0x7f,0x03,0xbf]
+0x00,0x7f,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, 0    ; encoding: [0x00,0x80,0x03,0xbf]
+0x00,0x80,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, -1    ; encoding: [0x00,0xc1,0x03,0xbf]
+0x00,0xc1,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, 0.5    ; encoding: [0x00,0xf0,0x03,0xbf]
+0x00,0xf0,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, -4.0    ; encoding: [0x00,0xf7,0x03,0xbf]
+0x00,0xf7,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, scc    ; encoding: [0x00,0xfd,0x03,0xbf]
+0x00,0xfd,0x03,0xbf
+
+# CHECK: s_cmp_ge_i32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x03,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x03,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_ge_i32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x03,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x03,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_lt_i32 s0, s0    ; encoding: [0x00,0x00,0x04,0xbf]
+0x00,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s101, s0    ; encoding: [0x65,0x00,0x04,0xbf]
+0x65,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x04,0xbf]
+0x66,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x04,0xbf]
+0x67,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x04,0xbf]
+0x6a,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x04,0xbf]
+0x6b,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 tba_lo, s0    ; encoding: [0x6c,0x00,0x04,0xbf]
+0x6c,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 tba_hi, s0    ; encoding: [0x6d,0x00,0x04,0xbf]
+0x6d,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 tma_lo, s0    ; encoding: [0x6e,0x00,0x04,0xbf]
+0x6e,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 tma_hi, s0    ; encoding: [0x6f,0x00,0x04,0xbf]
+0x6f,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 ttmp11, s0    ; encoding: [0x7b,0x00,0x04,0xbf]
+0x7b,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 m0, s0    ; encoding: [0x7c,0x00,0x04,0xbf]
+0x7c,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 exec_lo, s0    ; encoding: [0x7e,0x00,0x04,0xbf]
+0x7e,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 exec_hi, s0    ; encoding: [0x7f,0x00,0x04,0xbf]
+0x7f,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 0, s0    ; encoding: [0x80,0x00,0x04,0xbf]
+0x80,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 -1, s0    ; encoding: [0xc1,0x00,0x04,0xbf]
+0xc1,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 0.5, s0    ; encoding: [0xf0,0x00,0x04,0xbf]
+0xf0,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 -4.0, s0    ; encoding: [0xf7,0x00,0x04,0xbf]
+0xf7,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 scc, s0    ; encoding: [0xfd,0x00,0x04,0xbf]
+0xfd,0x00,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, s101    ; encoding: [0x00,0x65,0x04,0xbf]
+0x00,0x65,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x04,0xbf]
+0x00,0x66,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x04,0xbf]
+0x00,0x67,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x04,0xbf]
+0x00,0x6a,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x04,0xbf]
+0x00,0x6b,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, tba_lo    ; encoding: [0x00,0x6c,0x04,0xbf]
+0x00,0x6c,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, tba_hi    ; encoding: [0x00,0x6d,0x04,0xbf]
+0x00,0x6d,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, tma_lo    ; encoding: [0x00,0x6e,0x04,0xbf]
+0x00,0x6e,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, tma_hi    ; encoding: [0x00,0x6f,0x04,0xbf]
+0x00,0x6f,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, ttmp11    ; encoding: [0x00,0x7b,0x04,0xbf]
+0x00,0x7b,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, m0    ; encoding: [0x00,0x7c,0x04,0xbf]
+0x00,0x7c,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, exec_lo    ; encoding: [0x00,0x7e,0x04,0xbf]
+0x00,0x7e,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, exec_hi    ; encoding: [0x00,0x7f,0x04,0xbf]
+0x00,0x7f,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, 0    ; encoding: [0x00,0x80,0x04,0xbf]
+0x00,0x80,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, -1    ; encoding: [0x00,0xc1,0x04,0xbf]
+0x00,0xc1,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, 0.5    ; encoding: [0x00,0xf0,0x04,0xbf]
+0x00,0xf0,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, -4.0    ; encoding: [0x00,0xf7,0x04,0xbf]
+0x00,0xf7,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, scc    ; encoding: [0x00,0xfd,0x04,0xbf]
+0x00,0xfd,0x04,0xbf
+
+# CHECK: s_cmp_lt_i32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x04,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x04,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_lt_i32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x04,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x04,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_le_i32 s0, s0    ; encoding: [0x00,0x00,0x05,0xbf]
+0x00,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s101, s0    ; encoding: [0x65,0x00,0x05,0xbf]
+0x65,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x05,0xbf]
+0x66,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x05,0xbf]
+0x67,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x05,0xbf]
+0x6a,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x05,0xbf]
+0x6b,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 tba_lo, s0    ; encoding: [0x6c,0x00,0x05,0xbf]
+0x6c,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 tba_hi, s0    ; encoding: [0x6d,0x00,0x05,0xbf]
+0x6d,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 tma_lo, s0    ; encoding: [0x6e,0x00,0x05,0xbf]
+0x6e,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 tma_hi, s0    ; encoding: [0x6f,0x00,0x05,0xbf]
+0x6f,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 ttmp11, s0    ; encoding: [0x7b,0x00,0x05,0xbf]
+0x7b,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 m0, s0    ; encoding: [0x7c,0x00,0x05,0xbf]
+0x7c,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 exec_lo, s0    ; encoding: [0x7e,0x00,0x05,0xbf]
+0x7e,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 exec_hi, s0    ; encoding: [0x7f,0x00,0x05,0xbf]
+0x7f,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 0, s0    ; encoding: [0x80,0x00,0x05,0xbf]
+0x80,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 -1, s0    ; encoding: [0xc1,0x00,0x05,0xbf]
+0xc1,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 0.5, s0    ; encoding: [0xf0,0x00,0x05,0xbf]
+0xf0,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 -4.0, s0    ; encoding: [0xf7,0x00,0x05,0xbf]
+0xf7,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 scc, s0    ; encoding: [0xfd,0x00,0x05,0xbf]
+0xfd,0x00,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, s101    ; encoding: [0x00,0x65,0x05,0xbf]
+0x00,0x65,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x05,0xbf]
+0x00,0x66,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x05,0xbf]
+0x00,0x67,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x05,0xbf]
+0x00,0x6a,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x05,0xbf]
+0x00,0x6b,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, tba_lo    ; encoding: [0x00,0x6c,0x05,0xbf]
+0x00,0x6c,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, tba_hi    ; encoding: [0x00,0x6d,0x05,0xbf]
+0x00,0x6d,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, tma_lo    ; encoding: [0x00,0x6e,0x05,0xbf]
+0x00,0x6e,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, tma_hi    ; encoding: [0x00,0x6f,0x05,0xbf]
+0x00,0x6f,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, ttmp11    ; encoding: [0x00,0x7b,0x05,0xbf]
+0x00,0x7b,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, m0    ; encoding: [0x00,0x7c,0x05,0xbf]
+0x00,0x7c,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, exec_lo    ; encoding: [0x00,0x7e,0x05,0xbf]
+0x00,0x7e,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, exec_hi    ; encoding: [0x00,0x7f,0x05,0xbf]
+0x00,0x7f,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, 0    ; encoding: [0x00,0x80,0x05,0xbf]
+0x00,0x80,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, -1    ; encoding: [0x00,0xc1,0x05,0xbf]
+0x00,0xc1,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, 0.5    ; encoding: [0x00,0xf0,0x05,0xbf]
+0x00,0xf0,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, -4.0    ; encoding: [0x00,0xf7,0x05,0xbf]
+0x00,0xf7,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, scc    ; encoding: [0x00,0xfd,0x05,0xbf]
+0x00,0xfd,0x05,0xbf
+
+# CHECK: s_cmp_le_i32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x05,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x05,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_le_i32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x05,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x05,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_eq_u32 s0, s0    ; encoding: [0x00,0x00,0x06,0xbf]
+0x00,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s101, s0    ; encoding: [0x65,0x00,0x06,0xbf]
+0x65,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x06,0xbf]
+0x66,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x06,0xbf]
+0x67,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x06,0xbf]
+0x6a,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x06,0xbf]
+0x6b,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 tba_lo, s0    ; encoding: [0x6c,0x00,0x06,0xbf]
+0x6c,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 tba_hi, s0    ; encoding: [0x6d,0x00,0x06,0xbf]
+0x6d,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 tma_lo, s0    ; encoding: [0x6e,0x00,0x06,0xbf]
+0x6e,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 tma_hi, s0    ; encoding: [0x6f,0x00,0x06,0xbf]
+0x6f,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 ttmp11, s0    ; encoding: [0x7b,0x00,0x06,0xbf]
+0x7b,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 m0, s0    ; encoding: [0x7c,0x00,0x06,0xbf]
+0x7c,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 exec_lo, s0    ; encoding: [0x7e,0x00,0x06,0xbf]
+0x7e,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 exec_hi, s0    ; encoding: [0x7f,0x00,0x06,0xbf]
+0x7f,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 0, s0    ; encoding: [0x80,0x00,0x06,0xbf]
+0x80,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 -1, s0    ; encoding: [0xc1,0x00,0x06,0xbf]
+0xc1,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 0.5, s0    ; encoding: [0xf0,0x00,0x06,0xbf]
+0xf0,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 -4.0, s0    ; encoding: [0xf7,0x00,0x06,0xbf]
+0xf7,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 scc, s0    ; encoding: [0xfd,0x00,0x06,0xbf]
+0xfd,0x00,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, s101    ; encoding: [0x00,0x65,0x06,0xbf]
+0x00,0x65,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x06,0xbf]
+0x00,0x66,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x06,0xbf]
+0x00,0x67,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x06,0xbf]
+0x00,0x6a,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x06,0xbf]
+0x00,0x6b,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, tba_lo    ; encoding: [0x00,0x6c,0x06,0xbf]
+0x00,0x6c,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, tba_hi    ; encoding: [0x00,0x6d,0x06,0xbf]
+0x00,0x6d,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, tma_lo    ; encoding: [0x00,0x6e,0x06,0xbf]
+0x00,0x6e,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, tma_hi    ; encoding: [0x00,0x6f,0x06,0xbf]
+0x00,0x6f,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, ttmp11    ; encoding: [0x00,0x7b,0x06,0xbf]
+0x00,0x7b,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, m0    ; encoding: [0x00,0x7c,0x06,0xbf]
+0x00,0x7c,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, exec_lo    ; encoding: [0x00,0x7e,0x06,0xbf]
+0x00,0x7e,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, exec_hi    ; encoding: [0x00,0x7f,0x06,0xbf]
+0x00,0x7f,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, 0    ; encoding: [0x00,0x80,0x06,0xbf]
+0x00,0x80,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, -1    ; encoding: [0x00,0xc1,0x06,0xbf]
+0x00,0xc1,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, 0.5    ; encoding: [0x00,0xf0,0x06,0xbf]
+0x00,0xf0,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, -4.0    ; encoding: [0x00,0xf7,0x06,0xbf]
+0x00,0xf7,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, scc    ; encoding: [0x00,0xfd,0x06,0xbf]
+0x00,0xfd,0x06,0xbf
+
+# CHECK: s_cmp_eq_u32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x06,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x06,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_eq_u32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x06,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x06,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_lg_u32 s0, s0    ; encoding: [0x00,0x00,0x07,0xbf]
+0x00,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s101, s0    ; encoding: [0x65,0x00,0x07,0xbf]
+0x65,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x07,0xbf]
+0x66,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x07,0xbf]
+0x67,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x07,0xbf]
+0x6a,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x07,0xbf]
+0x6b,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 tba_lo, s0    ; encoding: [0x6c,0x00,0x07,0xbf]
+0x6c,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 tba_hi, s0    ; encoding: [0x6d,0x00,0x07,0xbf]
+0x6d,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 tma_lo, s0    ; encoding: [0x6e,0x00,0x07,0xbf]
+0x6e,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 tma_hi, s0    ; encoding: [0x6f,0x00,0x07,0xbf]
+0x6f,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 ttmp11, s0    ; encoding: [0x7b,0x00,0x07,0xbf]
+0x7b,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 m0, s0    ; encoding: [0x7c,0x00,0x07,0xbf]
+0x7c,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 exec_lo, s0    ; encoding: [0x7e,0x00,0x07,0xbf]
+0x7e,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 exec_hi, s0    ; encoding: [0x7f,0x00,0x07,0xbf]
+0x7f,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 0, s0    ; encoding: [0x80,0x00,0x07,0xbf]
+0x80,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 -1, s0    ; encoding: [0xc1,0x00,0x07,0xbf]
+0xc1,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 0.5, s0    ; encoding: [0xf0,0x00,0x07,0xbf]
+0xf0,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 -4.0, s0    ; encoding: [0xf7,0x00,0x07,0xbf]
+0xf7,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 scc, s0    ; encoding: [0xfd,0x00,0x07,0xbf]
+0xfd,0x00,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, s101    ; encoding: [0x00,0x65,0x07,0xbf]
+0x00,0x65,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x07,0xbf]
+0x00,0x66,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x07,0xbf]
+0x00,0x67,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x07,0xbf]
+0x00,0x6a,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x07,0xbf]
+0x00,0x6b,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, tba_lo    ; encoding: [0x00,0x6c,0x07,0xbf]
+0x00,0x6c,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, tba_hi    ; encoding: [0x00,0x6d,0x07,0xbf]
+0x00,0x6d,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, tma_lo    ; encoding: [0x00,0x6e,0x07,0xbf]
+0x00,0x6e,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, tma_hi    ; encoding: [0x00,0x6f,0x07,0xbf]
+0x00,0x6f,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, ttmp11    ; encoding: [0x00,0x7b,0x07,0xbf]
+0x00,0x7b,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, m0    ; encoding: [0x00,0x7c,0x07,0xbf]
+0x00,0x7c,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, exec_lo    ; encoding: [0x00,0x7e,0x07,0xbf]
+0x00,0x7e,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, exec_hi    ; encoding: [0x00,0x7f,0x07,0xbf]
+0x00,0x7f,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, 0    ; encoding: [0x00,0x80,0x07,0xbf]
+0x00,0x80,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, -1    ; encoding: [0x00,0xc1,0x07,0xbf]
+0x00,0xc1,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, 0.5    ; encoding: [0x00,0xf0,0x07,0xbf]
+0x00,0xf0,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, -4.0    ; encoding: [0x00,0xf7,0x07,0xbf]
+0x00,0xf7,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, scc    ; encoding: [0x00,0xfd,0x07,0xbf]
+0x00,0xfd,0x07,0xbf
+
+# CHECK: s_cmp_lg_u32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x07,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x07,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_lg_u32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x07,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x07,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_gt_u32 s0, s0    ; encoding: [0x00,0x00,0x08,0xbf]
+0x00,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s101, s0    ; encoding: [0x65,0x00,0x08,0xbf]
+0x65,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x08,0xbf]
+0x66,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x08,0xbf]
+0x67,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x08,0xbf]
+0x6a,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x08,0xbf]
+0x6b,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 tba_lo, s0    ; encoding: [0x6c,0x00,0x08,0xbf]
+0x6c,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 tba_hi, s0    ; encoding: [0x6d,0x00,0x08,0xbf]
+0x6d,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 tma_lo, s0    ; encoding: [0x6e,0x00,0x08,0xbf]
+0x6e,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 tma_hi, s0    ; encoding: [0x6f,0x00,0x08,0xbf]
+0x6f,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 ttmp11, s0    ; encoding: [0x7b,0x00,0x08,0xbf]
+0x7b,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 m0, s0    ; encoding: [0x7c,0x00,0x08,0xbf]
+0x7c,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 exec_lo, s0    ; encoding: [0x7e,0x00,0x08,0xbf]
+0x7e,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 exec_hi, s0    ; encoding: [0x7f,0x00,0x08,0xbf]
+0x7f,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 0, s0    ; encoding: [0x80,0x00,0x08,0xbf]
+0x80,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 -1, s0    ; encoding: [0xc1,0x00,0x08,0xbf]
+0xc1,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 0.5, s0    ; encoding: [0xf0,0x00,0x08,0xbf]
+0xf0,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 -4.0, s0    ; encoding: [0xf7,0x00,0x08,0xbf]
+0xf7,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 scc, s0    ; encoding: [0xfd,0x00,0x08,0xbf]
+0xfd,0x00,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, s101    ; encoding: [0x00,0x65,0x08,0xbf]
+0x00,0x65,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x08,0xbf]
+0x00,0x66,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x08,0xbf]
+0x00,0x67,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x08,0xbf]
+0x00,0x6a,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x08,0xbf]
+0x00,0x6b,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, tba_lo    ; encoding: [0x00,0x6c,0x08,0xbf]
+0x00,0x6c,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, tba_hi    ; encoding: [0x00,0x6d,0x08,0xbf]
+0x00,0x6d,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, tma_lo    ; encoding: [0x00,0x6e,0x08,0xbf]
+0x00,0x6e,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, tma_hi    ; encoding: [0x00,0x6f,0x08,0xbf]
+0x00,0x6f,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, ttmp11    ; encoding: [0x00,0x7b,0x08,0xbf]
+0x00,0x7b,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, m0    ; encoding: [0x00,0x7c,0x08,0xbf]
+0x00,0x7c,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, exec_lo    ; encoding: [0x00,0x7e,0x08,0xbf]
+0x00,0x7e,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, exec_hi    ; encoding: [0x00,0x7f,0x08,0xbf]
+0x00,0x7f,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, 0    ; encoding: [0x00,0x80,0x08,0xbf]
+0x00,0x80,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, -1    ; encoding: [0x00,0xc1,0x08,0xbf]
+0x00,0xc1,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, 0.5    ; encoding: [0x00,0xf0,0x08,0xbf]
+0x00,0xf0,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, -4.0    ; encoding: [0x00,0xf7,0x08,0xbf]
+0x00,0xf7,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, scc    ; encoding: [0x00,0xfd,0x08,0xbf]
+0x00,0xfd,0x08,0xbf
+
+# CHECK: s_cmp_gt_u32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x08,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x08,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_gt_u32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x08,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x08,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_ge_u32 s0, s0    ; encoding: [0x00,0x00,0x09,0xbf]
+0x00,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s101, s0    ; encoding: [0x65,0x00,0x09,0xbf]
+0x65,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x09,0xbf]
+0x66,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x09,0xbf]
+0x67,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x09,0xbf]
+0x6a,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x09,0xbf]
+0x6b,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 tba_lo, s0    ; encoding: [0x6c,0x00,0x09,0xbf]
+0x6c,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 tba_hi, s0    ; encoding: [0x6d,0x00,0x09,0xbf]
+0x6d,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 tma_lo, s0    ; encoding: [0x6e,0x00,0x09,0xbf]
+0x6e,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 tma_hi, s0    ; encoding: [0x6f,0x00,0x09,0xbf]
+0x6f,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 ttmp11, s0    ; encoding: [0x7b,0x00,0x09,0xbf]
+0x7b,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 m0, s0    ; encoding: [0x7c,0x00,0x09,0xbf]
+0x7c,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 exec_lo, s0    ; encoding: [0x7e,0x00,0x09,0xbf]
+0x7e,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 exec_hi, s0    ; encoding: [0x7f,0x00,0x09,0xbf]
+0x7f,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 0, s0    ; encoding: [0x80,0x00,0x09,0xbf]
+0x80,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 -1, s0    ; encoding: [0xc1,0x00,0x09,0xbf]
+0xc1,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 0.5, s0    ; encoding: [0xf0,0x00,0x09,0xbf]
+0xf0,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 -4.0, s0    ; encoding: [0xf7,0x00,0x09,0xbf]
+0xf7,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 scc, s0    ; encoding: [0xfd,0x00,0x09,0xbf]
+0xfd,0x00,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, s101    ; encoding: [0x00,0x65,0x09,0xbf]
+0x00,0x65,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x09,0xbf]
+0x00,0x66,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x09,0xbf]
+0x00,0x67,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x09,0xbf]
+0x00,0x6a,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x09,0xbf]
+0x00,0x6b,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, tba_lo    ; encoding: [0x00,0x6c,0x09,0xbf]
+0x00,0x6c,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, tba_hi    ; encoding: [0x00,0x6d,0x09,0xbf]
+0x00,0x6d,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, tma_lo    ; encoding: [0x00,0x6e,0x09,0xbf]
+0x00,0x6e,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, tma_hi    ; encoding: [0x00,0x6f,0x09,0xbf]
+0x00,0x6f,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, ttmp11    ; encoding: [0x00,0x7b,0x09,0xbf]
+0x00,0x7b,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, m0    ; encoding: [0x00,0x7c,0x09,0xbf]
+0x00,0x7c,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, exec_lo    ; encoding: [0x00,0x7e,0x09,0xbf]
+0x00,0x7e,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, exec_hi    ; encoding: [0x00,0x7f,0x09,0xbf]
+0x00,0x7f,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, 0    ; encoding: [0x00,0x80,0x09,0xbf]
+0x00,0x80,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, -1    ; encoding: [0x00,0xc1,0x09,0xbf]
+0x00,0xc1,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, 0.5    ; encoding: [0x00,0xf0,0x09,0xbf]
+0x00,0xf0,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, -4.0    ; encoding: [0x00,0xf7,0x09,0xbf]
+0x00,0xf7,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, scc    ; encoding: [0x00,0xfd,0x09,0xbf]
+0x00,0xfd,0x09,0xbf
+
+# CHECK: s_cmp_ge_u32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x09,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x09,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_ge_u32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x09,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x09,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_lt_u32 s0, s0    ; encoding: [0x00,0x00,0x0a,0xbf]
+0x00,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s101, s0    ; encoding: [0x65,0x00,0x0a,0xbf]
+0x65,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x0a,0xbf]
+0x66,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x0a,0xbf]
+0x67,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x0a,0xbf]
+0x6a,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x0a,0xbf]
+0x6b,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 tba_lo, s0    ; encoding: [0x6c,0x00,0x0a,0xbf]
+0x6c,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 tba_hi, s0    ; encoding: [0x6d,0x00,0x0a,0xbf]
+0x6d,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 tma_lo, s0    ; encoding: [0x6e,0x00,0x0a,0xbf]
+0x6e,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 tma_hi, s0    ; encoding: [0x6f,0x00,0x0a,0xbf]
+0x6f,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 ttmp11, s0    ; encoding: [0x7b,0x00,0x0a,0xbf]
+0x7b,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 m0, s0    ; encoding: [0x7c,0x00,0x0a,0xbf]
+0x7c,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 exec_lo, s0    ; encoding: [0x7e,0x00,0x0a,0xbf]
+0x7e,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 exec_hi, s0    ; encoding: [0x7f,0x00,0x0a,0xbf]
+0x7f,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 0, s0    ; encoding: [0x80,0x00,0x0a,0xbf]
+0x80,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 -1, s0    ; encoding: [0xc1,0x00,0x0a,0xbf]
+0xc1,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 0.5, s0    ; encoding: [0xf0,0x00,0x0a,0xbf]
+0xf0,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 -4.0, s0    ; encoding: [0xf7,0x00,0x0a,0xbf]
+0xf7,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 scc, s0    ; encoding: [0xfd,0x00,0x0a,0xbf]
+0xfd,0x00,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, s101    ; encoding: [0x00,0x65,0x0a,0xbf]
+0x00,0x65,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x0a,0xbf]
+0x00,0x66,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x0a,0xbf]
+0x00,0x67,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x0a,0xbf]
+0x00,0x6a,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x0a,0xbf]
+0x00,0x6b,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, tba_lo    ; encoding: [0x00,0x6c,0x0a,0xbf]
+0x00,0x6c,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, tba_hi    ; encoding: [0x00,0x6d,0x0a,0xbf]
+0x00,0x6d,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, tma_lo    ; encoding: [0x00,0x6e,0x0a,0xbf]
+0x00,0x6e,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, tma_hi    ; encoding: [0x00,0x6f,0x0a,0xbf]
+0x00,0x6f,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, ttmp11    ; encoding: [0x00,0x7b,0x0a,0xbf]
+0x00,0x7b,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, m0    ; encoding: [0x00,0x7c,0x0a,0xbf]
+0x00,0x7c,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, exec_lo    ; encoding: [0x00,0x7e,0x0a,0xbf]
+0x00,0x7e,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, exec_hi    ; encoding: [0x00,0x7f,0x0a,0xbf]
+0x00,0x7f,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, 0    ; encoding: [0x00,0x80,0x0a,0xbf]
+0x00,0x80,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, -1    ; encoding: [0x00,0xc1,0x0a,0xbf]
+0x00,0xc1,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, 0.5    ; encoding: [0x00,0xf0,0x0a,0xbf]
+0x00,0xf0,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, -4.0    ; encoding: [0x00,0xf7,0x0a,0xbf]
+0x00,0xf7,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, scc    ; encoding: [0x00,0xfd,0x0a,0xbf]
+0x00,0xfd,0x0a,0xbf
+
+# CHECK: s_cmp_lt_u32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x0a,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x0a,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_lt_u32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x0a,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x0a,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_le_u32 s0, s0    ; encoding: [0x00,0x00,0x0b,0xbf]
+0x00,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s101, s0    ; encoding: [0x65,0x00,0x0b,0xbf]
+0x65,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x0b,0xbf]
+0x66,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x0b,0xbf]
+0x67,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x0b,0xbf]
+0x6a,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x0b,0xbf]
+0x6b,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 tba_lo, s0    ; encoding: [0x6c,0x00,0x0b,0xbf]
+0x6c,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 tba_hi, s0    ; encoding: [0x6d,0x00,0x0b,0xbf]
+0x6d,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 tma_lo, s0    ; encoding: [0x6e,0x00,0x0b,0xbf]
+0x6e,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 tma_hi, s0    ; encoding: [0x6f,0x00,0x0b,0xbf]
+0x6f,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 ttmp11, s0    ; encoding: [0x7b,0x00,0x0b,0xbf]
+0x7b,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 m0, s0    ; encoding: [0x7c,0x00,0x0b,0xbf]
+0x7c,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 exec_lo, s0    ; encoding: [0x7e,0x00,0x0b,0xbf]
+0x7e,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 exec_hi, s0    ; encoding: [0x7f,0x00,0x0b,0xbf]
+0x7f,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 0, s0    ; encoding: [0x80,0x00,0x0b,0xbf]
+0x80,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 -1, s0    ; encoding: [0xc1,0x00,0x0b,0xbf]
+0xc1,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 0.5, s0    ; encoding: [0xf0,0x00,0x0b,0xbf]
+0xf0,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 -4.0, s0    ; encoding: [0xf7,0x00,0x0b,0xbf]
+0xf7,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 scc, s0    ; encoding: [0xfd,0x00,0x0b,0xbf]
+0xfd,0x00,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, s101    ; encoding: [0x00,0x65,0x0b,0xbf]
+0x00,0x65,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x0b,0xbf]
+0x00,0x66,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x0b,0xbf]
+0x00,0x67,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x0b,0xbf]
+0x00,0x6a,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x0b,0xbf]
+0x00,0x6b,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, tba_lo    ; encoding: [0x00,0x6c,0x0b,0xbf]
+0x00,0x6c,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, tba_hi    ; encoding: [0x00,0x6d,0x0b,0xbf]
+0x00,0x6d,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, tma_lo    ; encoding: [0x00,0x6e,0x0b,0xbf]
+0x00,0x6e,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, tma_hi    ; encoding: [0x00,0x6f,0x0b,0xbf]
+0x00,0x6f,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, ttmp11    ; encoding: [0x00,0x7b,0x0b,0xbf]
+0x00,0x7b,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, m0    ; encoding: [0x00,0x7c,0x0b,0xbf]
+0x00,0x7c,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, exec_lo    ; encoding: [0x00,0x7e,0x0b,0xbf]
+0x00,0x7e,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, exec_hi    ; encoding: [0x00,0x7f,0x0b,0xbf]
+0x00,0x7f,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, 0    ; encoding: [0x00,0x80,0x0b,0xbf]
+0x00,0x80,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, -1    ; encoding: [0x00,0xc1,0x0b,0xbf]
+0x00,0xc1,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, 0.5    ; encoding: [0x00,0xf0,0x0b,0xbf]
+0x00,0xf0,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, -4.0    ; encoding: [0x00,0xf7,0x0b,0xbf]
+0x00,0xf7,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, scc    ; encoding: [0x00,0xfd,0x0b,0xbf]
+0x00,0xfd,0x0b,0xbf
+
+# CHECK: s_cmp_le_u32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x0b,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x0b,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_le_u32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x0b,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x0b,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bitcmp0_b32 s0, s0    ; encoding: [0x00,0x00,0x0c,0xbf]
+0x00,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s101, s0    ; encoding: [0x65,0x00,0x0c,0xbf]
+0x65,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x0c,0xbf]
+0x66,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x0c,0xbf]
+0x67,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x0c,0xbf]
+0x6a,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x0c,0xbf]
+0x6b,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 tba_lo, s0    ; encoding: [0x6c,0x00,0x0c,0xbf]
+0x6c,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 tba_hi, s0    ; encoding: [0x6d,0x00,0x0c,0xbf]
+0x6d,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 tma_lo, s0    ; encoding: [0x6e,0x00,0x0c,0xbf]
+0x6e,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 tma_hi, s0    ; encoding: [0x6f,0x00,0x0c,0xbf]
+0x6f,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 ttmp11, s0    ; encoding: [0x7b,0x00,0x0c,0xbf]
+0x7b,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 m0, s0    ; encoding: [0x7c,0x00,0x0c,0xbf]
+0x7c,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 exec_lo, s0    ; encoding: [0x7e,0x00,0x0c,0xbf]
+0x7e,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 exec_hi, s0    ; encoding: [0x7f,0x00,0x0c,0xbf]
+0x7f,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 0, s0    ; encoding: [0x80,0x00,0x0c,0xbf]
+0x80,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 -1, s0    ; encoding: [0xc1,0x00,0x0c,0xbf]
+0xc1,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 0.5, s0    ; encoding: [0xf0,0x00,0x0c,0xbf]
+0xf0,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 -4.0, s0    ; encoding: [0xf7,0x00,0x0c,0xbf]
+0xf7,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 scc, s0    ; encoding: [0xfd,0x00,0x0c,0xbf]
+0xfd,0x00,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, s101    ; encoding: [0x00,0x65,0x0c,0xbf]
+0x00,0x65,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x0c,0xbf]
+0x00,0x66,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x0c,0xbf]
+0x00,0x67,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x0c,0xbf]
+0x00,0x6a,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x0c,0xbf]
+0x00,0x6b,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, tba_lo    ; encoding: [0x00,0x6c,0x0c,0xbf]
+0x00,0x6c,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, tba_hi    ; encoding: [0x00,0x6d,0x0c,0xbf]
+0x00,0x6d,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, tma_lo    ; encoding: [0x00,0x6e,0x0c,0xbf]
+0x00,0x6e,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, tma_hi    ; encoding: [0x00,0x6f,0x0c,0xbf]
+0x00,0x6f,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, ttmp11    ; encoding: [0x00,0x7b,0x0c,0xbf]
+0x00,0x7b,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, m0    ; encoding: [0x00,0x7c,0x0c,0xbf]
+0x00,0x7c,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, exec_lo    ; encoding: [0x00,0x7e,0x0c,0xbf]
+0x00,0x7e,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, exec_hi    ; encoding: [0x00,0x7f,0x0c,0xbf]
+0x00,0x7f,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, 0    ; encoding: [0x00,0x80,0x0c,0xbf]
+0x00,0x80,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, -1    ; encoding: [0x00,0xc1,0x0c,0xbf]
+0x00,0xc1,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, 0.5    ; encoding: [0x00,0xf0,0x0c,0xbf]
+0x00,0xf0,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, -4.0    ; encoding: [0x00,0xf7,0x0c,0xbf]
+0x00,0xf7,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, scc    ; encoding: [0x00,0xfd,0x0c,0xbf]
+0x00,0xfd,0x0c,0xbf
+
+# CHECK: s_bitcmp0_b32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x0c,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x0c,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bitcmp0_b32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x0c,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x0c,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bitcmp1_b32 s0, s0    ; encoding: [0x00,0x00,0x0d,0xbf]
+0x00,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s101, s0    ; encoding: [0x65,0x00,0x0d,0xbf]
+0x65,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x0d,0xbf]
+0x66,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x0d,0xbf]
+0x67,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 vcc_lo, s0    ; encoding: [0x6a,0x00,0x0d,0xbf]
+0x6a,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 vcc_hi, s0    ; encoding: [0x6b,0x00,0x0d,0xbf]
+0x6b,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 tba_lo, s0    ; encoding: [0x6c,0x00,0x0d,0xbf]
+0x6c,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 tba_hi, s0    ; encoding: [0x6d,0x00,0x0d,0xbf]
+0x6d,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 tma_lo, s0    ; encoding: [0x6e,0x00,0x0d,0xbf]
+0x6e,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 tma_hi, s0    ; encoding: [0x6f,0x00,0x0d,0xbf]
+0x6f,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 ttmp11, s0    ; encoding: [0x7b,0x00,0x0d,0xbf]
+0x7b,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 m0, s0    ; encoding: [0x7c,0x00,0x0d,0xbf]
+0x7c,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 exec_lo, s0    ; encoding: [0x7e,0x00,0x0d,0xbf]
+0x7e,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 exec_hi, s0    ; encoding: [0x7f,0x00,0x0d,0xbf]
+0x7f,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 0, s0    ; encoding: [0x80,0x00,0x0d,0xbf]
+0x80,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 -1, s0    ; encoding: [0xc1,0x00,0x0d,0xbf]
+0xc1,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 0.5, s0    ; encoding: [0xf0,0x00,0x0d,0xbf]
+0xf0,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 -4.0, s0    ; encoding: [0xf7,0x00,0x0d,0xbf]
+0xf7,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 scc, s0    ; encoding: [0xfd,0x00,0x0d,0xbf]
+0xfd,0x00,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, s101    ; encoding: [0x00,0x65,0x0d,0xbf]
+0x00,0x65,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x0d,0xbf]
+0x00,0x66,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x0d,0xbf]
+0x00,0x67,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, vcc_lo    ; encoding: [0x00,0x6a,0x0d,0xbf]
+0x00,0x6a,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, vcc_hi    ; encoding: [0x00,0x6b,0x0d,0xbf]
+0x00,0x6b,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, tba_lo    ; encoding: [0x00,0x6c,0x0d,0xbf]
+0x00,0x6c,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, tba_hi    ; encoding: [0x00,0x6d,0x0d,0xbf]
+0x00,0x6d,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, tma_lo    ; encoding: [0x00,0x6e,0x0d,0xbf]
+0x00,0x6e,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, tma_hi    ; encoding: [0x00,0x6f,0x0d,0xbf]
+0x00,0x6f,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, ttmp11    ; encoding: [0x00,0x7b,0x0d,0xbf]
+0x00,0x7b,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, m0    ; encoding: [0x00,0x7c,0x0d,0xbf]
+0x00,0x7c,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, exec_lo    ; encoding: [0x00,0x7e,0x0d,0xbf]
+0x00,0x7e,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, exec_hi    ; encoding: [0x00,0x7f,0x0d,0xbf]
+0x00,0x7f,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, 0    ; encoding: [0x00,0x80,0x0d,0xbf]
+0x00,0x80,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, -1    ; encoding: [0x00,0xc1,0x0d,0xbf]
+0x00,0xc1,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, 0.5    ; encoding: [0x00,0xf0,0x0d,0xbf]
+0x00,0xf0,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, -4.0    ; encoding: [0x00,0xf7,0x0d,0xbf]
+0x00,0xf7,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, scc    ; encoding: [0x00,0xfd,0x0d,0xbf]
+0x00,0xfd,0x0d,0xbf
+
+# CHECK: s_bitcmp1_b32 s0, 0xaf123456    ; encoding: [0x00,0xff,0x0d,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x0d,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bitcmp1_b32 s0, 0x3f717273    ; encoding: [0x00,0xff,0x0d,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x0d,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bitcmp0_b64 s[0:1], s0    ; encoding: [0x00,0x00,0x0e,0xbf]
+0x00,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[2:3], s0    ; encoding: [0x02,0x00,0x0e,0xbf]
+0x02,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[100:101], s0    ; encoding: [0x64,0x00,0x0e,0xbf]
+0x64,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 flat_scratch, s0    ; encoding: [0x66,0x00,0x0e,0xbf]
+0x66,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 vcc, s0    ; encoding: [0x6a,0x00,0x0e,0xbf]
+0x6a,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 tba, s0    ; encoding: [0x6c,0x00,0x0e,0xbf]
+0x6c,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 tma, s0    ; encoding: [0x6e,0x00,0x0e,0xbf]
+0x6e,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 ttmp[10:11], s0    ; encoding: [0x7a,0x00,0x0e,0xbf]
+0x7a,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 exec, s0    ; encoding: [0x7e,0x00,0x0e,0xbf]
+0x7e,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 0, s0    ; encoding: [0x80,0x00,0x0e,0xbf]
+0x80,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 -1, s0    ; encoding: [0xc1,0x00,0x0e,0xbf]
+0xc1,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 0.5, s0    ; encoding: [0xf0,0x00,0x0e,0xbf]
+0xf0,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 -4.0, s0    ; encoding: [0xf7,0x00,0x0e,0xbf]
+0xf7,0x00,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 0xaf123456, s0    ; encoding: [0xff,0x00,0x0e,0xbf,0x56,0x34,0x12,0xaf]
+0xff,0x00,0x0e,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bitcmp0_b64 0x3f717273, s0    ; encoding: [0xff,0x00,0x0e,0xbf,0x73,0x72,0x71,0x3f]
+0xff,0x00,0x0e,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bitcmp0_b64 s[0:1], s101    ; encoding: [0x00,0x65,0x0e,0xbf]
+0x00,0x65,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], flat_scratch_lo    ; encoding: [0x00,0x66,0x0e,0xbf]
+0x00,0x66,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], flat_scratch_hi    ; encoding: [0x00,0x67,0x0e,0xbf]
+0x00,0x67,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], vcc_lo    ; encoding: [0x00,0x6a,0x0e,0xbf]
+0x00,0x6a,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], vcc_hi    ; encoding: [0x00,0x6b,0x0e,0xbf]
+0x00,0x6b,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], tba_lo    ; encoding: [0x00,0x6c,0x0e,0xbf]
+0x00,0x6c,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], tba_hi    ; encoding: [0x00,0x6d,0x0e,0xbf]
+0x00,0x6d,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], tma_lo    ; encoding: [0x00,0x6e,0x0e,0xbf]
+0x00,0x6e,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], tma_hi    ; encoding: [0x00,0x6f,0x0e,0xbf]
+0x00,0x6f,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], ttmp11    ; encoding: [0x00,0x7b,0x0e,0xbf]
+0x00,0x7b,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], m0    ; encoding: [0x00,0x7c,0x0e,0xbf]
+0x00,0x7c,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], exec_lo    ; encoding: [0x00,0x7e,0x0e,0xbf]
+0x00,0x7e,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], exec_hi    ; encoding: [0x00,0x7f,0x0e,0xbf]
+0x00,0x7f,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], 0    ; encoding: [0x00,0x80,0x0e,0xbf]
+0x00,0x80,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], -1    ; encoding: [0x00,0xc1,0x0e,0xbf]
+0x00,0xc1,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], 0.5    ; encoding: [0x00,0xf0,0x0e,0xbf]
+0x00,0xf0,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], -4.0    ; encoding: [0x00,0xf7,0x0e,0xbf]
+0x00,0xf7,0x0e,0xbf
+
+# CHECK: s_bitcmp0_b64 s[0:1], scc    ; encoding: [0x00,0xfd,0x0e,0xbf]
+0x00,0xfd,0x0e,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], s0    ; encoding: [0x00,0x00,0x0f,0xbf]
+0x00,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[2:3], s0    ; encoding: [0x02,0x00,0x0f,0xbf]
+0x02,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[100:101], s0    ; encoding: [0x64,0x00,0x0f,0xbf]
+0x64,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 flat_scratch, s0    ; encoding: [0x66,0x00,0x0f,0xbf]
+0x66,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 vcc, s0    ; encoding: [0x6a,0x00,0x0f,0xbf]
+0x6a,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 tba, s0    ; encoding: [0x6c,0x00,0x0f,0xbf]
+0x6c,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 tma, s0    ; encoding: [0x6e,0x00,0x0f,0xbf]
+0x6e,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 ttmp[10:11], s0    ; encoding: [0x7a,0x00,0x0f,0xbf]
+0x7a,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 exec, s0    ; encoding: [0x7e,0x00,0x0f,0xbf]
+0x7e,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 0, s0    ; encoding: [0x80,0x00,0x0f,0xbf]
+0x80,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 -1, s0    ; encoding: [0xc1,0x00,0x0f,0xbf]
+0xc1,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 0.5, s0    ; encoding: [0xf0,0x00,0x0f,0xbf]
+0xf0,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 -4.0, s0    ; encoding: [0xf7,0x00,0x0f,0xbf]
+0xf7,0x00,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 0xaf123456, s0    ; encoding: [0xff,0x00,0x0f,0xbf,0x56,0x34,0x12,0xaf]
+0xff,0x00,0x0f,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_bitcmp1_b64 0x3f717273, s0    ; encoding: [0xff,0x00,0x0f,0xbf,0x73,0x72,0x71,0x3f]
+0xff,0x00,0x0f,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_bitcmp1_b64 s[0:1], s101    ; encoding: [0x00,0x65,0x0f,0xbf]
+0x00,0x65,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], flat_scratch_lo    ; encoding: [0x00,0x66,0x0f,0xbf]
+0x00,0x66,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], flat_scratch_hi    ; encoding: [0x00,0x67,0x0f,0xbf]
+0x00,0x67,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], vcc_lo    ; encoding: [0x00,0x6a,0x0f,0xbf]
+0x00,0x6a,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], vcc_hi    ; encoding: [0x00,0x6b,0x0f,0xbf]
+0x00,0x6b,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], tba_lo    ; encoding: [0x00,0x6c,0x0f,0xbf]
+0x00,0x6c,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], tba_hi    ; encoding: [0x00,0x6d,0x0f,0xbf]
+0x00,0x6d,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], tma_lo    ; encoding: [0x00,0x6e,0x0f,0xbf]
+0x00,0x6e,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], tma_hi    ; encoding: [0x00,0x6f,0x0f,0xbf]
+0x00,0x6f,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], ttmp11    ; encoding: [0x00,0x7b,0x0f,0xbf]
+0x00,0x7b,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], m0    ; encoding: [0x00,0x7c,0x0f,0xbf]
+0x00,0x7c,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], exec_lo    ; encoding: [0x00,0x7e,0x0f,0xbf]
+0x00,0x7e,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], exec_hi    ; encoding: [0x00,0x7f,0x0f,0xbf]
+0x00,0x7f,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], 0    ; encoding: [0x00,0x80,0x0f,0xbf]
+0x00,0x80,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], -1    ; encoding: [0x00,0xc1,0x0f,0xbf]
+0x00,0xc1,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], 0.5    ; encoding: [0x00,0xf0,0x0f,0xbf]
+0x00,0xf0,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], -4.0    ; encoding: [0x00,0xf7,0x0f,0xbf]
+0x00,0xf7,0x0f,0xbf
+
+# CHECK: s_bitcmp1_b64 s[0:1], scc    ; encoding: [0x00,0xfd,0x0f,0xbf]
+0x00,0xfd,0x0f,0xbf
+
+# CHECK: s_setvskip s0, s0    ; encoding: [0x00,0x00,0x10,0xbf]
+0x00,0x00,0x10,0xbf
+
+# CHECK: s_setvskip s101, s0    ; encoding: [0x65,0x00,0x10,0xbf]
+0x65,0x00,0x10,0xbf
+
+# CHECK: s_setvskip flat_scratch_lo, s0    ; encoding: [0x66,0x00,0x10,0xbf]
+0x66,0x00,0x10,0xbf
+
+# CHECK: s_setvskip flat_scratch_hi, s0    ; encoding: [0x67,0x00,0x10,0xbf]
+0x67,0x00,0x10,0xbf
+
+# CHECK: s_setvskip vcc_lo, s0    ; encoding: [0x6a,0x00,0x10,0xbf]
+0x6a,0x00,0x10,0xbf
+
+# CHECK: s_setvskip vcc_hi, s0    ; encoding: [0x6b,0x00,0x10,0xbf]
+0x6b,0x00,0x10,0xbf
+
+# CHECK: s_setvskip tba_lo, s0    ; encoding: [0x6c,0x00,0x10,0xbf]
+0x6c,0x00,0x10,0xbf
+
+# CHECK: s_setvskip tba_hi, s0    ; encoding: [0x6d,0x00,0x10,0xbf]
+0x6d,0x00,0x10,0xbf
+
+# CHECK: s_setvskip tma_lo, s0    ; encoding: [0x6e,0x00,0x10,0xbf]
+0x6e,0x00,0x10,0xbf
+
+# CHECK: s_setvskip tma_hi, s0    ; encoding: [0x6f,0x00,0x10,0xbf]
+0x6f,0x00,0x10,0xbf
+
+# CHECK: s_setvskip ttmp11, s0    ; encoding: [0x7b,0x00,0x10,0xbf]
+0x7b,0x00,0x10,0xbf
+
+# CHECK: s_setvskip m0, s0    ; encoding: [0x7c,0x00,0x10,0xbf]
+0x7c,0x00,0x10,0xbf
+
+# CHECK: s_setvskip exec_lo, s0    ; encoding: [0x7e,0x00,0x10,0xbf]
+0x7e,0x00,0x10,0xbf
+
+# CHECK: s_setvskip exec_hi, s0    ; encoding: [0x7f,0x00,0x10,0xbf]
+0x7f,0x00,0x10,0xbf
+
+# CHECK: s_setvskip 0, s0    ; encoding: [0x80,0x00,0x10,0xbf]
+0x80,0x00,0x10,0xbf
+
+# CHECK: s_setvskip -1, s0    ; encoding: [0xc1,0x00,0x10,0xbf]
+0xc1,0x00,0x10,0xbf
+
+# CHECK: s_setvskip 0.5, s0    ; encoding: [0xf0,0x00,0x10,0xbf]
+0xf0,0x00,0x10,0xbf
+
+# CHECK: s_setvskip -4.0, s0    ; encoding: [0xf7,0x00,0x10,0xbf]
+0xf7,0x00,0x10,0xbf
+
+# CHECK: s_setvskip scc, s0    ; encoding: [0xfd,0x00,0x10,0xbf]
+0xfd,0x00,0x10,0xbf
+
+# CHECK: s_setvskip s0, s101    ; encoding: [0x00,0x65,0x10,0xbf]
+0x00,0x65,0x10,0xbf
+
+# CHECK: s_setvskip s0, flat_scratch_lo    ; encoding: [0x00,0x66,0x10,0xbf]
+0x00,0x66,0x10,0xbf
+
+# CHECK: s_setvskip s0, flat_scratch_hi    ; encoding: [0x00,0x67,0x10,0xbf]
+0x00,0x67,0x10,0xbf
+
+# CHECK: s_setvskip s0, vcc_lo    ; encoding: [0x00,0x6a,0x10,0xbf]
+0x00,0x6a,0x10,0xbf
+
+# CHECK: s_setvskip s0, vcc_hi    ; encoding: [0x00,0x6b,0x10,0xbf]
+0x00,0x6b,0x10,0xbf
+
+# CHECK: s_setvskip s0, tba_lo    ; encoding: [0x00,0x6c,0x10,0xbf]
+0x00,0x6c,0x10,0xbf
+
+# CHECK: s_setvskip s0, tba_hi    ; encoding: [0x00,0x6d,0x10,0xbf]
+0x00,0x6d,0x10,0xbf
+
+# CHECK: s_setvskip s0, tma_lo    ; encoding: [0x00,0x6e,0x10,0xbf]
+0x00,0x6e,0x10,0xbf
+
+# CHECK: s_setvskip s0, tma_hi    ; encoding: [0x00,0x6f,0x10,0xbf]
+0x00,0x6f,0x10,0xbf
+
+# CHECK: s_setvskip s0, ttmp11    ; encoding: [0x00,0x7b,0x10,0xbf]
+0x00,0x7b,0x10,0xbf
+
+# CHECK: s_setvskip s0, m0    ; encoding: [0x00,0x7c,0x10,0xbf]
+0x00,0x7c,0x10,0xbf
+
+# CHECK: s_setvskip s0, exec_lo    ; encoding: [0x00,0x7e,0x10,0xbf]
+0x00,0x7e,0x10,0xbf
+
+# CHECK: s_setvskip s0, exec_hi    ; encoding: [0x00,0x7f,0x10,0xbf]
+0x00,0x7f,0x10,0xbf
+
+# CHECK: s_setvskip s0, 0    ; encoding: [0x00,0x80,0x10,0xbf]
+0x00,0x80,0x10,0xbf
+
+# CHECK: s_setvskip s0, -1    ; encoding: [0x00,0xc1,0x10,0xbf]
+0x00,0xc1,0x10,0xbf
+
+# CHECK: s_setvskip s0, 0.5    ; encoding: [0x00,0xf0,0x10,0xbf]
+0x00,0xf0,0x10,0xbf
+
+# CHECK: s_setvskip s0, -4.0    ; encoding: [0x00,0xf7,0x10,0xbf]
+0x00,0xf7,0x10,0xbf
+
+# CHECK: s_setvskip s0, scc    ; encoding: [0x00,0xfd,0x10,0xbf]
+0x00,0xfd,0x10,0xbf
+
+# CHECK: s_setvskip s0, 0xaf123456    ; encoding: [0x00,0xff,0x10,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x10,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_setvskip s0, 0x3f717273    ; encoding: [0x00,0xff,0x10,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x10,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_eq_u64 s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x12,0xbf]
+0x00,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x12,0xbf]
+0x02,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x12,0xbf]
+0x64,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x12,0xbf]
+0x66,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 vcc, s[0:1]    ; encoding: [0x6a,0x00,0x12,0xbf]
+0x6a,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 tba, s[0:1]    ; encoding: [0x6c,0x00,0x12,0xbf]
+0x6c,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 tma, s[0:1]    ; encoding: [0x6e,0x00,0x12,0xbf]
+0x6e,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x12,0xbf]
+0x7a,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 exec, s[0:1]    ; encoding: [0x7e,0x00,0x12,0xbf]
+0x7e,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 0, s[0:1]    ; encoding: [0x80,0x00,0x12,0xbf]
+0x80,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 -1, s[0:1]    ; encoding: [0xc1,0x00,0x12,0xbf]
+0xc1,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x12,0xbf]
+0xf0,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x12,0xbf]
+0xf7,0x00,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x12,0xbf]
+0x00,0x02,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x12,0xbf]
+0x00,0x64,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x12,0xbf]
+0x00,0x66,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], vcc    ; encoding: [0x00,0x6a,0x12,0xbf]
+0x00,0x6a,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], tba    ; encoding: [0x00,0x6c,0x12,0xbf]
+0x00,0x6c,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], tma    ; encoding: [0x00,0x6e,0x12,0xbf]
+0x00,0x6e,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x12,0xbf]
+0x00,0x7a,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], exec    ; encoding: [0x00,0x7e,0x12,0xbf]
+0x00,0x7e,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], 0    ; encoding: [0x00,0x80,0x12,0xbf]
+0x00,0x80,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], -1    ; encoding: [0x00,0xc1,0x12,0xbf]
+0x00,0xc1,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], 0.5    ; encoding: [0x00,0xf0,0x12,0xbf]
+0x00,0xf0,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], -4.0    ; encoding: [0x00,0xf7,0x12,0xbf]
+0x00,0xf7,0x12,0xbf
+
+# CHECK: s_cmp_eq_u64 s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x12,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x12,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_eq_u64 s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x12,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x12,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_cmp_lg_u64 s[0:1], s[0:1]    ; encoding: [0x00,0x00,0x13,0xbf]
+0x00,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[2:3], s[0:1]    ; encoding: [0x02,0x00,0x13,0xbf]
+0x02,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[100:101], s[0:1]    ; encoding: [0x64,0x00,0x13,0xbf]
+0x64,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 flat_scratch, s[0:1]    ; encoding: [0x66,0x00,0x13,0xbf]
+0x66,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 vcc, s[0:1]    ; encoding: [0x6a,0x00,0x13,0xbf]
+0x6a,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 tba, s[0:1]    ; encoding: [0x6c,0x00,0x13,0xbf]
+0x6c,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 tma, s[0:1]    ; encoding: [0x6e,0x00,0x13,0xbf]
+0x6e,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 ttmp[10:11], s[0:1]    ; encoding: [0x7a,0x00,0x13,0xbf]
+0x7a,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 exec, s[0:1]    ; encoding: [0x7e,0x00,0x13,0xbf]
+0x7e,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 0, s[0:1]    ; encoding: [0x80,0x00,0x13,0xbf]
+0x80,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 -1, s[0:1]    ; encoding: [0xc1,0x00,0x13,0xbf]
+0xc1,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 0.5, s[0:1]    ; encoding: [0xf0,0x00,0x13,0xbf]
+0xf0,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 -4.0, s[0:1]    ; encoding: [0xf7,0x00,0x13,0xbf]
+0xf7,0x00,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], s[2:3]    ; encoding: [0x00,0x02,0x13,0xbf]
+0x00,0x02,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], s[100:101]    ; encoding: [0x00,0x64,0x13,0xbf]
+0x00,0x64,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], flat_scratch    ; encoding: [0x00,0x66,0x13,0xbf]
+0x00,0x66,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], vcc    ; encoding: [0x00,0x6a,0x13,0xbf]
+0x00,0x6a,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], tba    ; encoding: [0x00,0x6c,0x13,0xbf]
+0x00,0x6c,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], tma    ; encoding: [0x00,0x6e,0x13,0xbf]
+0x00,0x6e,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], ttmp[10:11]    ; encoding: [0x00,0x7a,0x13,0xbf]
+0x00,0x7a,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], exec    ; encoding: [0x00,0x7e,0x13,0xbf]
+0x00,0x7e,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], 0    ; encoding: [0x00,0x80,0x13,0xbf]
+0x00,0x80,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], -1    ; encoding: [0x00,0xc1,0x13,0xbf]
+0x00,0xc1,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], 0.5    ; encoding: [0x00,0xf0,0x13,0xbf]
+0x00,0xf0,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], -4.0    ; encoding: [0x00,0xf7,0x13,0xbf]
+0x00,0xf7,0x13,0xbf
+
+# CHECK: s_cmp_lg_u64 s[0:1], 0xaf123456    ; encoding: [0x00,0xff,0x13,0xbf,0x56,0x34,0x12,0xaf]
+0x00,0xff,0x13,0xbf,0x56,0x34,0x12,0xaf
+
+# CHECK: s_cmp_lg_u64 s[0:1], 0x3f717273    ; encoding: [0x00,0xff,0x13,0xbf,0x73,0x72,0x71,0x3f]
+0x00,0xff,0x13,0xbf,0x73,0x72,0x71,0x3f
+
+# CHECK: s_movk_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x00,0xb0]
+0x41,0x31,0x00,0xb0
+
+# CHECK: s_movk_i32 s101, 0x3141    ; encoding: [0x41,0x31,0x65,0xb0]
+0x41,0x31,0x65,0xb0
+
+# CHECK: s_movk_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0x66,0xb0]
+0x41,0x31,0x66,0xb0
+
+# CHECK: s_movk_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0x67,0xb0]
+0x41,0x31,0x67,0xb0
+
+# CHECK: s_movk_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0x6a,0xb0]
+0x41,0x31,0x6a,0xb0
+
+# CHECK: s_movk_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0x6b,0xb0]
+0x41,0x31,0x6b,0xb0
+
+# CHECK: s_movk_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0x6c,0xb0]
+0x41,0x31,0x6c,0xb0
+
+# CHECK: s_movk_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0x6d,0xb0]
+0x41,0x31,0x6d,0xb0
+
+# CHECK: s_movk_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0x6e,0xb0]
+0x41,0x31,0x6e,0xb0
+
+# CHECK: s_movk_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0x6f,0xb0]
+0x41,0x31,0x6f,0xb0
+
+# CHECK: s_movk_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0x7b,0xb0]
+0x41,0x31,0x7b,0xb0
+
+# CHECK: s_movk_i32 m0, 0x3141    ; encoding: [0x41,0x31,0x7c,0xb0]
+0x41,0x31,0x7c,0xb0
+
+# CHECK: s_movk_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0x7e,0xb0]
+0x41,0x31,0x7e,0xb0
+
+# CHECK: s_movk_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0x7f,0xb0]
+0x41,0x31,0x7f,0xb0
+
+# CHECK: s_movk_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x00,0xb0]
+0xd1,0xc1,0x00,0xb0
+
+# CHECK: s_cmovk_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x80,0xb0]
+0x41,0x31,0x80,0xb0
+
+# CHECK: s_cmovk_i32 s101, 0x3141    ; encoding: [0x41,0x31,0xe5,0xb0]
+0x41,0x31,0xe5,0xb0
+
+# CHECK: s_cmovk_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0xe6,0xb0]
+0x41,0x31,0xe6,0xb0
+
+# CHECK: s_cmovk_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0xe7,0xb0]
+0x41,0x31,0xe7,0xb0
+
+# CHECK: s_cmovk_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0xea,0xb0]
+0x41,0x31,0xea,0xb0
+
+# CHECK: s_cmovk_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0xeb,0xb0]
+0x41,0x31,0xeb,0xb0
+
+# CHECK: s_cmovk_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0xec,0xb0]
+0x41,0x31,0xec,0xb0
+
+# CHECK: s_cmovk_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0xed,0xb0]
+0x41,0x31,0xed,0xb0
+
+# CHECK: s_cmovk_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0xee,0xb0]
+0x41,0x31,0xee,0xb0
+
+# CHECK: s_cmovk_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0xef,0xb0]
+0x41,0x31,0xef,0xb0
+
+# CHECK: s_cmovk_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0xfb,0xb0]
+0x41,0x31,0xfb,0xb0
+
+# CHECK: s_cmovk_i32 m0, 0x3141    ; encoding: [0x41,0x31,0xfc,0xb0]
+0x41,0x31,0xfc,0xb0
+
+# CHECK: s_cmovk_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0xfe,0xb0]
+0x41,0x31,0xfe,0xb0
+
+# CHECK: s_cmovk_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0xff,0xb0]
+0x41,0x31,0xff,0xb0
+
+# CHECK: s_cmovk_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x80,0xb0]
+0xd1,0xc1,0x80,0xb0
+
+# CHECK: s_cmpk_eq_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x00,0xb1]
+0x41,0x31,0x00,0xb1
+
+# CHECK: s_cmpk_eq_i32 s101, 0x3141    ; encoding: [0x41,0x31,0x65,0xb1]
+0x41,0x31,0x65,0xb1
+
+# CHECK: s_cmpk_eq_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0x66,0xb1]
+0x41,0x31,0x66,0xb1
+
+# CHECK: s_cmpk_eq_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0x67,0xb1]
+0x41,0x31,0x67,0xb1
+
+# CHECK: s_cmpk_eq_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0x6a,0xb1]
+0x41,0x31,0x6a,0xb1
+
+# CHECK: s_cmpk_eq_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0x6b,0xb1]
+0x41,0x31,0x6b,0xb1
+
+# CHECK: s_cmpk_eq_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0x6c,0xb1]
+0x41,0x31,0x6c,0xb1
+
+# CHECK: s_cmpk_eq_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0x6d,0xb1]
+0x41,0x31,0x6d,0xb1
+
+# CHECK: s_cmpk_eq_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0x6e,0xb1]
+0x41,0x31,0x6e,0xb1
+
+# CHECK: s_cmpk_eq_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0x6f,0xb1]
+0x41,0x31,0x6f,0xb1
+
+# CHECK: s_cmpk_eq_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0x7b,0xb1]
+0x41,0x31,0x7b,0xb1
+
+# CHECK: s_cmpk_eq_i32 m0, 0x3141    ; encoding: [0x41,0x31,0x7c,0xb1]
+0x41,0x31,0x7c,0xb1
+
+# CHECK: s_cmpk_eq_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0x7e,0xb1]
+0x41,0x31,0x7e,0xb1
+
+# CHECK: s_cmpk_eq_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0x7f,0xb1]
+0x41,0x31,0x7f,0xb1
+
+# CHECK: s_cmpk_eq_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x00,0xb1]
+0xd1,0xc1,0x00,0xb1
+
+# CHECK: s_cmpk_lg_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x80,0xb1]
+0x41,0x31,0x80,0xb1
+
+# CHECK: s_cmpk_lg_i32 s101, 0x3141    ; encoding: [0x41,0x31,0xe5,0xb1]
+0x41,0x31,0xe5,0xb1
+
+# CHECK: s_cmpk_lg_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0xe6,0xb1]
+0x41,0x31,0xe6,0xb1
+
+# CHECK: s_cmpk_lg_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0xe7,0xb1]
+0x41,0x31,0xe7,0xb1
+
+# CHECK: s_cmpk_lg_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0xea,0xb1]
+0x41,0x31,0xea,0xb1
+
+# CHECK: s_cmpk_lg_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0xeb,0xb1]
+0x41,0x31,0xeb,0xb1
+
+# CHECK: s_cmpk_lg_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0xec,0xb1]
+0x41,0x31,0xec,0xb1
+
+# CHECK: s_cmpk_lg_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0xed,0xb1]
+0x41,0x31,0xed,0xb1
+
+# CHECK: s_cmpk_lg_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0xee,0xb1]
+0x41,0x31,0xee,0xb1
+
+# CHECK: s_cmpk_lg_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0xef,0xb1]
+0x41,0x31,0xef,0xb1
+
+# CHECK: s_cmpk_lg_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0xfb,0xb1]
+0x41,0x31,0xfb,0xb1
+
+# CHECK: s_cmpk_lg_i32 m0, 0x3141    ; encoding: [0x41,0x31,0xfc,0xb1]
+0x41,0x31,0xfc,0xb1
+
+# CHECK: s_cmpk_lg_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0xfe,0xb1]
+0x41,0x31,0xfe,0xb1
+
+# CHECK: s_cmpk_lg_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0xff,0xb1]
+0x41,0x31,0xff,0xb1
+
+# CHECK: s_cmpk_lg_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x80,0xb1]
+0xd1,0xc1,0x80,0xb1
+
+# CHECK: s_cmpk_gt_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x00,0xb2]
+0x41,0x31,0x00,0xb2
+
+# CHECK: s_cmpk_gt_i32 s101, 0x3141    ; encoding: [0x41,0x31,0x65,0xb2]
+0x41,0x31,0x65,0xb2
+
+# CHECK: s_cmpk_gt_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0x66,0xb2]
+0x41,0x31,0x66,0xb2
+
+# CHECK: s_cmpk_gt_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0x67,0xb2]
+0x41,0x31,0x67,0xb2
+
+# CHECK: s_cmpk_gt_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0x6a,0xb2]
+0x41,0x31,0x6a,0xb2
+
+# CHECK: s_cmpk_gt_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0x6b,0xb2]
+0x41,0x31,0x6b,0xb2
+
+# CHECK: s_cmpk_gt_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0x6c,0xb2]
+0x41,0x31,0x6c,0xb2
+
+# CHECK: s_cmpk_gt_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0x6d,0xb2]
+0x41,0x31,0x6d,0xb2
+
+# CHECK: s_cmpk_gt_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0x6e,0xb2]
+0x41,0x31,0x6e,0xb2
+
+# CHECK: s_cmpk_gt_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0x6f,0xb2]
+0x41,0x31,0x6f,0xb2
+
+# CHECK: s_cmpk_gt_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0x7b,0xb2]
+0x41,0x31,0x7b,0xb2
+
+# CHECK: s_cmpk_gt_i32 m0, 0x3141    ; encoding: [0x41,0x31,0x7c,0xb2]
+0x41,0x31,0x7c,0xb2
+
+# CHECK: s_cmpk_gt_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0x7e,0xb2]
+0x41,0x31,0x7e,0xb2
+
+# CHECK: s_cmpk_gt_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0x7f,0xb2]
+0x41,0x31,0x7f,0xb2
+
+# CHECK: s_cmpk_gt_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x00,0xb2]
+0xd1,0xc1,0x00,0xb2
+
+# CHECK: s_cmpk_ge_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x80,0xb2]
+0x41,0x31,0x80,0xb2
+
+# CHECK: s_cmpk_ge_i32 s101, 0x3141    ; encoding: [0x41,0x31,0xe5,0xb2]
+0x41,0x31,0xe5,0xb2
+
+# CHECK: s_cmpk_ge_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0xe6,0xb2]
+0x41,0x31,0xe6,0xb2
+
+# CHECK: s_cmpk_ge_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0xe7,0xb2]
+0x41,0x31,0xe7,0xb2
+
+# CHECK: s_cmpk_ge_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0xea,0xb2]
+0x41,0x31,0xea,0xb2
+
+# CHECK: s_cmpk_ge_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0xeb,0xb2]
+0x41,0x31,0xeb,0xb2
+
+# CHECK: s_cmpk_ge_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0xec,0xb2]
+0x41,0x31,0xec,0xb2
+
+# CHECK: s_cmpk_ge_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0xed,0xb2]
+0x41,0x31,0xed,0xb2
+
+# CHECK: s_cmpk_ge_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0xee,0xb2]
+0x41,0x31,0xee,0xb2
+
+# CHECK: s_cmpk_ge_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0xef,0xb2]
+0x41,0x31,0xef,0xb2
+
+# CHECK: s_cmpk_ge_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0xfb,0xb2]
+0x41,0x31,0xfb,0xb2
+
+# CHECK: s_cmpk_ge_i32 m0, 0x3141    ; encoding: [0x41,0x31,0xfc,0xb2]
+0x41,0x31,0xfc,0xb2
+
+# CHECK: s_cmpk_ge_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0xfe,0xb2]
+0x41,0x31,0xfe,0xb2
+
+# CHECK: s_cmpk_ge_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0xff,0xb2]
+0x41,0x31,0xff,0xb2
+
+# CHECK: s_cmpk_ge_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x80,0xb2]
+0xd1,0xc1,0x80,0xb2
+
+# CHECK: s_cmpk_lt_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x00,0xb3]
+0x41,0x31,0x00,0xb3
+
+# CHECK: s_cmpk_lt_i32 s101, 0x3141    ; encoding: [0x41,0x31,0x65,0xb3]
+0x41,0x31,0x65,0xb3
+
+# CHECK: s_cmpk_lt_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0x66,0xb3]
+0x41,0x31,0x66,0xb3
+
+# CHECK: s_cmpk_lt_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0x67,0xb3]
+0x41,0x31,0x67,0xb3
+
+# CHECK: s_cmpk_lt_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0x6a,0xb3]
+0x41,0x31,0x6a,0xb3
+
+# CHECK: s_cmpk_lt_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0x6b,0xb3]
+0x41,0x31,0x6b,0xb3
+
+# CHECK: s_cmpk_lt_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0x6c,0xb3]
+0x41,0x31,0x6c,0xb3
+
+# CHECK: s_cmpk_lt_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0x6d,0xb3]
+0x41,0x31,0x6d,0xb3
+
+# CHECK: s_cmpk_lt_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0x6e,0xb3]
+0x41,0x31,0x6e,0xb3
+
+# CHECK: s_cmpk_lt_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0x6f,0xb3]
+0x41,0x31,0x6f,0xb3
+
+# CHECK: s_cmpk_lt_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0x7b,0xb3]
+0x41,0x31,0x7b,0xb3
+
+# CHECK: s_cmpk_lt_i32 m0, 0x3141    ; encoding: [0x41,0x31,0x7c,0xb3]
+0x41,0x31,0x7c,0xb3
+
+# CHECK: s_cmpk_lt_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0x7e,0xb3]
+0x41,0x31,0x7e,0xb3
+
+# CHECK: s_cmpk_lt_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0x7f,0xb3]
+0x41,0x31,0x7f,0xb3
+
+# CHECK: s_cmpk_lt_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x00,0xb3]
+0xd1,0xc1,0x00,0xb3
+
+# CHECK: s_cmpk_le_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x80,0xb3]
+0x41,0x31,0x80,0xb3
+
+# CHECK: s_cmpk_le_i32 s101, 0x3141    ; encoding: [0x41,0x31,0xe5,0xb3]
+0x41,0x31,0xe5,0xb3
+
+# CHECK: s_cmpk_le_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0xe6,0xb3]
+0x41,0x31,0xe6,0xb3
+
+# CHECK: s_cmpk_le_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0xe7,0xb3]
+0x41,0x31,0xe7,0xb3
+
+# CHECK: s_cmpk_le_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0xea,0xb3]
+0x41,0x31,0xea,0xb3
+
+# CHECK: s_cmpk_le_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0xeb,0xb3]
+0x41,0x31,0xeb,0xb3
+
+# CHECK: s_cmpk_le_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0xec,0xb3]
+0x41,0x31,0xec,0xb3
+
+# CHECK: s_cmpk_le_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0xed,0xb3]
+0x41,0x31,0xed,0xb3
+
+# CHECK: s_cmpk_le_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0xee,0xb3]
+0x41,0x31,0xee,0xb3
+
+# CHECK: s_cmpk_le_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0xef,0xb3]
+0x41,0x31,0xef,0xb3
+
+# CHECK: s_cmpk_le_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0xfb,0xb3]
+0x41,0x31,0xfb,0xb3
+
+# CHECK: s_cmpk_le_i32 m0, 0x3141    ; encoding: [0x41,0x31,0xfc,0xb3]
+0x41,0x31,0xfc,0xb3
+
+# CHECK: s_cmpk_le_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0xfe,0xb3]
+0x41,0x31,0xfe,0xb3
+
+# CHECK: s_cmpk_le_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0xff,0xb3]
+0x41,0x31,0xff,0xb3
+
+# CHECK: s_cmpk_le_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x80,0xb3]
+0xd1,0xc1,0x80,0xb3
+
+# CHECK: s_cmpk_eq_u32 s0, 0x3141    ; encoding: [0x41,0x31,0x00,0xb4]
+0x41,0x31,0x00,0xb4
+
+# CHECK: s_cmpk_eq_u32 s101, 0x3141    ; encoding: [0x41,0x31,0x65,0xb4]
+0x41,0x31,0x65,0xb4
+
+# CHECK: s_cmpk_eq_u32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0x66,0xb4]
+0x41,0x31,0x66,0xb4
+
+# CHECK: s_cmpk_eq_u32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0x67,0xb4]
+0x41,0x31,0x67,0xb4
+
+# CHECK: s_cmpk_eq_u32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0x6a,0xb4]
+0x41,0x31,0x6a,0xb4
+
+# CHECK: s_cmpk_eq_u32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0x6b,0xb4]
+0x41,0x31,0x6b,0xb4
+
+# CHECK: s_cmpk_eq_u32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0x6c,0xb4]
+0x41,0x31,0x6c,0xb4
+
+# CHECK: s_cmpk_eq_u32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0x6d,0xb4]
+0x41,0x31,0x6d,0xb4
+
+# CHECK: s_cmpk_eq_u32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0x6e,0xb4]
+0x41,0x31,0x6e,0xb4
+
+# CHECK: s_cmpk_eq_u32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0x6f,0xb4]
+0x41,0x31,0x6f,0xb4
+
+# CHECK: s_cmpk_eq_u32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0x7b,0xb4]
+0x41,0x31,0x7b,0xb4
+
+# CHECK: s_cmpk_eq_u32 m0, 0x3141    ; encoding: [0x41,0x31,0x7c,0xb4]
+0x41,0x31,0x7c,0xb4
+
+# CHECK: s_cmpk_eq_u32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0x7e,0xb4]
+0x41,0x31,0x7e,0xb4
+
+# CHECK: s_cmpk_eq_u32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0x7f,0xb4]
+0x41,0x31,0x7f,0xb4
+
+# CHECK: s_cmpk_eq_u32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x00,0xb4]
+0xd1,0xc1,0x00,0xb4
+
+# CHECK: s_cmpk_lg_u32 s0, 0x3141    ; encoding: [0x41,0x31,0x80,0xb4]
+0x41,0x31,0x80,0xb4
+
+# CHECK: s_cmpk_lg_u32 s101, 0x3141    ; encoding: [0x41,0x31,0xe5,0xb4]
+0x41,0x31,0xe5,0xb4
+
+# CHECK: s_cmpk_lg_u32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0xe6,0xb4]
+0x41,0x31,0xe6,0xb4
+
+# CHECK: s_cmpk_lg_u32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0xe7,0xb4]
+0x41,0x31,0xe7,0xb4
+
+# CHECK: s_cmpk_lg_u32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0xea,0xb4]
+0x41,0x31,0xea,0xb4
+
+# CHECK: s_cmpk_lg_u32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0xeb,0xb4]
+0x41,0x31,0xeb,0xb4
+
+# CHECK: s_cmpk_lg_u32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0xec,0xb4]
+0x41,0x31,0xec,0xb4
+
+# CHECK: s_cmpk_lg_u32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0xed,0xb4]
+0x41,0x31,0xed,0xb4
+
+# CHECK: s_cmpk_lg_u32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0xee,0xb4]
+0x41,0x31,0xee,0xb4
+
+# CHECK: s_cmpk_lg_u32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0xef,0xb4]
+0x41,0x31,0xef,0xb4
+
+# CHECK: s_cmpk_lg_u32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0xfb,0xb4]
+0x41,0x31,0xfb,0xb4
+
+# CHECK: s_cmpk_lg_u32 m0, 0x3141    ; encoding: [0x41,0x31,0xfc,0xb4]
+0x41,0x31,0xfc,0xb4
+
+# CHECK: s_cmpk_lg_u32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0xfe,0xb4]
+0x41,0x31,0xfe,0xb4
+
+# CHECK: s_cmpk_lg_u32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0xff,0xb4]
+0x41,0x31,0xff,0xb4
+
+# CHECK: s_cmpk_lg_u32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x80,0xb4]
+0xd1,0xc1,0x80,0xb4
+
+# CHECK: s_cmpk_gt_u32 s0, 0x3141    ; encoding: [0x41,0x31,0x00,0xb5]
+0x41,0x31,0x00,0xb5
+
+# CHECK: s_cmpk_gt_u32 s101, 0x3141    ; encoding: [0x41,0x31,0x65,0xb5]
+0x41,0x31,0x65,0xb5
+
+# CHECK: s_cmpk_gt_u32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0x66,0xb5]
+0x41,0x31,0x66,0xb5
+
+# CHECK: s_cmpk_gt_u32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0x67,0xb5]
+0x41,0x31,0x67,0xb5
+
+# CHECK: s_cmpk_gt_u32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0x6a,0xb5]
+0x41,0x31,0x6a,0xb5
+
+# CHECK: s_cmpk_gt_u32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0x6b,0xb5]
+0x41,0x31,0x6b,0xb5
+
+# CHECK: s_cmpk_gt_u32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0x6c,0xb5]
+0x41,0x31,0x6c,0xb5
+
+# CHECK: s_cmpk_gt_u32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0x6d,0xb5]
+0x41,0x31,0x6d,0xb5
+
+# CHECK: s_cmpk_gt_u32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0x6e,0xb5]
+0x41,0x31,0x6e,0xb5
+
+# CHECK: s_cmpk_gt_u32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0x6f,0xb5]
+0x41,0x31,0x6f,0xb5
+
+# CHECK: s_cmpk_gt_u32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0x7b,0xb5]
+0x41,0x31,0x7b,0xb5
+
+# CHECK: s_cmpk_gt_u32 m0, 0x3141    ; encoding: [0x41,0x31,0x7c,0xb5]
+0x41,0x31,0x7c,0xb5
+
+# CHECK: s_cmpk_gt_u32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0x7e,0xb5]
+0x41,0x31,0x7e,0xb5
+
+# CHECK: s_cmpk_gt_u32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0x7f,0xb5]
+0x41,0x31,0x7f,0xb5
+
+# CHECK: s_cmpk_gt_u32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x00,0xb5]
+0xd1,0xc1,0x00,0xb5
+
+# CHECK: s_cmpk_ge_u32 s0, 0x3141    ; encoding: [0x41,0x31,0x80,0xb5]
+0x41,0x31,0x80,0xb5
+
+# CHECK: s_cmpk_ge_u32 s101, 0x3141    ; encoding: [0x41,0x31,0xe5,0xb5]
+0x41,0x31,0xe5,0xb5
+
+# CHECK: s_cmpk_ge_u32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0xe6,0xb5]
+0x41,0x31,0xe6,0xb5
+
+# CHECK: s_cmpk_ge_u32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0xe7,0xb5]
+0x41,0x31,0xe7,0xb5
+
+# CHECK: s_cmpk_ge_u32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0xea,0xb5]
+0x41,0x31,0xea,0xb5
+
+# CHECK: s_cmpk_ge_u32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0xeb,0xb5]
+0x41,0x31,0xeb,0xb5
+
+# CHECK: s_cmpk_ge_u32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0xec,0xb5]
+0x41,0x31,0xec,0xb5
+
+# CHECK: s_cmpk_ge_u32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0xed,0xb5]
+0x41,0x31,0xed,0xb5
+
+# CHECK: s_cmpk_ge_u32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0xee,0xb5]
+0x41,0x31,0xee,0xb5
+
+# CHECK: s_cmpk_ge_u32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0xef,0xb5]
+0x41,0x31,0xef,0xb5
+
+# CHECK: s_cmpk_ge_u32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0xfb,0xb5]
+0x41,0x31,0xfb,0xb5
+
+# CHECK: s_cmpk_ge_u32 m0, 0x3141    ; encoding: [0x41,0x31,0xfc,0xb5]
+0x41,0x31,0xfc,0xb5
+
+# CHECK: s_cmpk_ge_u32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0xfe,0xb5]
+0x41,0x31,0xfe,0xb5
+
+# CHECK: s_cmpk_ge_u32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0xff,0xb5]
+0x41,0x31,0xff,0xb5
+
+# CHECK: s_cmpk_ge_u32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x80,0xb5]
+0xd1,0xc1,0x80,0xb5
+
+# CHECK: s_cmpk_lt_u32 s0, 0x3141    ; encoding: [0x41,0x31,0x00,0xb6]
+0x41,0x31,0x00,0xb6
+
+# CHECK: s_cmpk_lt_u32 s101, 0x3141    ; encoding: [0x41,0x31,0x65,0xb6]
+0x41,0x31,0x65,0xb6
+
+# CHECK: s_cmpk_lt_u32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0x66,0xb6]
+0x41,0x31,0x66,0xb6
+
+# CHECK: s_cmpk_lt_u32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0x67,0xb6]
+0x41,0x31,0x67,0xb6
+
+# CHECK: s_cmpk_lt_u32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0x6a,0xb6]
+0x41,0x31,0x6a,0xb6
+
+# CHECK: s_cmpk_lt_u32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0x6b,0xb6]
+0x41,0x31,0x6b,0xb6
+
+# CHECK: s_cmpk_lt_u32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0x6c,0xb6]
+0x41,0x31,0x6c,0xb6
+
+# CHECK: s_cmpk_lt_u32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0x6d,0xb6]
+0x41,0x31,0x6d,0xb6
+
+# CHECK: s_cmpk_lt_u32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0x6e,0xb6]
+0x41,0x31,0x6e,0xb6
+
+# CHECK: s_cmpk_lt_u32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0x6f,0xb6]
+0x41,0x31,0x6f,0xb6
+
+# CHECK: s_cmpk_lt_u32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0x7b,0xb6]
+0x41,0x31,0x7b,0xb6
+
+# CHECK: s_cmpk_lt_u32 m0, 0x3141    ; encoding: [0x41,0x31,0x7c,0xb6]
+0x41,0x31,0x7c,0xb6
+
+# CHECK: s_cmpk_lt_u32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0x7e,0xb6]
+0x41,0x31,0x7e,0xb6
+
+# CHECK: s_cmpk_lt_u32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0x7f,0xb6]
+0x41,0x31,0x7f,0xb6
+
+# CHECK: s_cmpk_lt_u32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x00,0xb6]
+0xd1,0xc1,0x00,0xb6
+
+# CHECK: s_cmpk_le_u32 s0, 0x3141    ; encoding: [0x41,0x31,0x80,0xb6]
+0x41,0x31,0x80,0xb6
+
+# CHECK: s_cmpk_le_u32 s101, 0x3141    ; encoding: [0x41,0x31,0xe5,0xb6]
+0x41,0x31,0xe5,0xb6
+
+# CHECK: s_cmpk_le_u32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0xe6,0xb6]
+0x41,0x31,0xe6,0xb6
+
+# CHECK: s_cmpk_le_u32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0xe7,0xb6]
+0x41,0x31,0xe7,0xb6
+
+# CHECK: s_cmpk_le_u32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0xea,0xb6]
+0x41,0x31,0xea,0xb6
+
+# CHECK: s_cmpk_le_u32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0xeb,0xb6]
+0x41,0x31,0xeb,0xb6
+
+# CHECK: s_cmpk_le_u32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0xec,0xb6]
+0x41,0x31,0xec,0xb6
+
+# CHECK: s_cmpk_le_u32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0xed,0xb6]
+0x41,0x31,0xed,0xb6
+
+# CHECK: s_cmpk_le_u32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0xee,0xb6]
+0x41,0x31,0xee,0xb6
+
+# CHECK: s_cmpk_le_u32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0xef,0xb6]
+0x41,0x31,0xef,0xb6
+
+# CHECK: s_cmpk_le_u32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0xfb,0xb6]
+0x41,0x31,0xfb,0xb6
+
+# CHECK: s_cmpk_le_u32 m0, 0x3141    ; encoding: [0x41,0x31,0xfc,0xb6]
+0x41,0x31,0xfc,0xb6
+
+# CHECK: s_cmpk_le_u32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0xfe,0xb6]
+0x41,0x31,0xfe,0xb6
+
+# CHECK: s_cmpk_le_u32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0xff,0xb6]
+0x41,0x31,0xff,0xb6
+
+# CHECK: s_cmpk_le_u32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x80,0xb6]
+0xd1,0xc1,0x80,0xb6
+
+# CHECK: s_addk_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x00,0xb7]
+0x41,0x31,0x00,0xb7
+
+# CHECK: s_addk_i32 s101, 0x3141    ; encoding: [0x41,0x31,0x65,0xb7]
+0x41,0x31,0x65,0xb7
+
+# CHECK: s_addk_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0x66,0xb7]
+0x41,0x31,0x66,0xb7
+
+# CHECK: s_addk_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0x67,0xb7]
+0x41,0x31,0x67,0xb7
+
+# CHECK: s_addk_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0x6a,0xb7]
+0x41,0x31,0x6a,0xb7
+
+# CHECK: s_addk_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0x6b,0xb7]
+0x41,0x31,0x6b,0xb7
+
+# CHECK: s_addk_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0x6c,0xb7]
+0x41,0x31,0x6c,0xb7
+
+# CHECK: s_addk_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0x6d,0xb7]
+0x41,0x31,0x6d,0xb7
+
+# CHECK: s_addk_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0x6e,0xb7]
+0x41,0x31,0x6e,0xb7
+
+# CHECK: s_addk_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0x6f,0xb7]
+0x41,0x31,0x6f,0xb7
+
+# CHECK: s_addk_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0x7b,0xb7]
+0x41,0x31,0x7b,0xb7
+
+# CHECK: s_addk_i32 m0, 0x3141    ; encoding: [0x41,0x31,0x7c,0xb7]
+0x41,0x31,0x7c,0xb7
+
+# CHECK: s_addk_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0x7e,0xb7]
+0x41,0x31,0x7e,0xb7
+
+# CHECK: s_addk_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0x7f,0xb7]
+0x41,0x31,0x7f,0xb7
+
+# CHECK: s_addk_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x00,0xb7]
+0xd1,0xc1,0x00,0xb7
+
+# CHECK: s_mulk_i32 s0, 0x3141    ; encoding: [0x41,0x31,0x80,0xb7]
+0x41,0x31,0x80,0xb7
+
+# CHECK: s_mulk_i32 s101, 0x3141    ; encoding: [0x41,0x31,0xe5,0xb7]
+0x41,0x31,0xe5,0xb7
+
+# CHECK: s_mulk_i32 flat_scratch_lo, 0x3141    ; encoding: [0x41,0x31,0xe6,0xb7]
+0x41,0x31,0xe6,0xb7
+
+# CHECK: s_mulk_i32 flat_scratch_hi, 0x3141    ; encoding: [0x41,0x31,0xe7,0xb7]
+0x41,0x31,0xe7,0xb7
+
+# CHECK: s_mulk_i32 vcc_lo, 0x3141    ; encoding: [0x41,0x31,0xea,0xb7]
+0x41,0x31,0xea,0xb7
+
+# CHECK: s_mulk_i32 vcc_hi, 0x3141    ; encoding: [0x41,0x31,0xeb,0xb7]
+0x41,0x31,0xeb,0xb7
+
+# CHECK: s_mulk_i32 tba_lo, 0x3141    ; encoding: [0x41,0x31,0xec,0xb7]
+0x41,0x31,0xec,0xb7
+
+# CHECK: s_mulk_i32 tba_hi, 0x3141    ; encoding: [0x41,0x31,0xed,0xb7]
+0x41,0x31,0xed,0xb7
+
+# CHECK: s_mulk_i32 tma_lo, 0x3141    ; encoding: [0x41,0x31,0xee,0xb7]
+0x41,0x31,0xee,0xb7
+
+# CHECK: s_mulk_i32 tma_hi, 0x3141    ; encoding: [0x41,0x31,0xef,0xb7]
+0x41,0x31,0xef,0xb7
+
+# CHECK: s_mulk_i32 ttmp11, 0x3141    ; encoding: [0x41,0x31,0xfb,0xb7]
+0x41,0x31,0xfb,0xb7
+
+# CHECK: s_mulk_i32 m0, 0x3141    ; encoding: [0x41,0x31,0xfc,0xb7]
+0x41,0x31,0xfc,0xb7
+
+# CHECK: s_mulk_i32 exec_lo, 0x3141    ; encoding: [0x41,0x31,0xfe,0xb7]
+0x41,0x31,0xfe,0xb7
+
+# CHECK: s_mulk_i32 exec_hi, 0x3141    ; encoding: [0x41,0x31,0xff,0xb7]
+0x41,0x31,0xff,0xb7
+
+# CHECK: s_mulk_i32 s0, 0xc1d1    ; encoding: [0xd1,0xc1,0x80,0xb7]
+0xd1,0xc1,0x80,0xb7
+
+# CHECK: s_nop 0x3141    ; encoding: [0x41,0x31,0x80,0xbf]
+0x41,0x31,0x80,0xbf
+
+# CHECK: s_nop 0xc1d1    ; encoding: [0xd1,0xc1,0x80,0xbf]
+0xd1,0xc1,0x80,0xbf
+
+# CHECK: s_endpgm    ; encoding: [0x00,0x00,0x81,0xbf]
+0x00,0x00,0x81,0xbf
+
+# CHECK: s_branch 12609    ; encoding: [0x41,0x31,0x82,0xbf]
+0x41,0x31,0x82,0xbf
+
+# CHECK: s_branch 49617    ; encoding: [0xd1,0xc1,0x82,0xbf]
+0xd1,0xc1,0x82,0xbf
+
+# CHECK: s_cbranch_scc0 12609    ; encoding: [0x41,0x31,0x84,0xbf]
+0x41,0x31,0x84,0xbf
+
+# CHECK: s_cbranch_scc0 49617    ; encoding: [0xd1,0xc1,0x84,0xbf]
+0xd1,0xc1,0x84,0xbf
+
+# CHECK: s_cbranch_scc1 12609    ; encoding: [0x41,0x31,0x85,0xbf]
+0x41,0x31,0x85,0xbf
+
+# CHECK: s_cbranch_scc1 49617    ; encoding: [0xd1,0xc1,0x85,0xbf]
+0xd1,0xc1,0x85,0xbf
+
+# CHECK: s_cbranch_vccz 12609    ; encoding: [0x41,0x31,0x86,0xbf]
+0x41,0x31,0x86,0xbf
+
+# CHECK: s_cbranch_vccz 49617    ; encoding: [0xd1,0xc1,0x86,0xbf]
+0xd1,0xc1,0x86,0xbf
+
+# CHECK: s_cbranch_vccnz 12609    ; encoding: [0x41,0x31,0x87,0xbf]
+0x41,0x31,0x87,0xbf
+
+# CHECK: s_cbranch_vccnz 49617    ; encoding: [0xd1,0xc1,0x87,0xbf]
+0xd1,0xc1,0x87,0xbf
+
+# CHECK: s_cbranch_execz 12609    ; encoding: [0x41,0x31,0x88,0xbf]
+0x41,0x31,0x88,0xbf
+
+# CHECK: s_cbranch_execz 49617    ; encoding: [0xd1,0xc1,0x88,0xbf]
+0xd1,0xc1,0x88,0xbf
+
+# CHECK: s_cbranch_execnz 12609    ; encoding: [0x41,0x31,0x89,0xbf]
+0x41,0x31,0x89,0xbf
+
+# CHECK: s_cbranch_execnz 49617    ; encoding: [0xd1,0xc1,0x89,0xbf]
+0xd1,0xc1,0x89,0xbf
+
+# CHECK: s_barrier    ; encoding: [0x00,0x00,0x8a,0xbf]
+0x00,0x00,0x8a,0xbf
+
+# CHECK: s_sethalt 0x3141    ; encoding: [0x41,0x31,0x8d,0xbf]
+0x41,0x31,0x8d,0xbf
+
+# CHECK: s_sethalt 0xc1d1    ; encoding: [0xd1,0xc1,0x8d,0xbf]
+0xd1,0xc1,0x8d,0xbf
+
+# CHECK: s_sleep 0x3141    ; encoding: [0x41,0x31,0x8e,0xbf]
+0x41,0x31,0x8e,0xbf
+
+# CHECK: s_sleep 0xc1d1    ; encoding: [0xd1,0xc1,0x8e,0xbf]
+0xd1,0xc1,0x8e,0xbf
+
+# CHECK: s_setprio 0x3141    ; encoding: [0x41,0x31,0x8f,0xbf]
+0x41,0x31,0x8f,0xbf
+
+# CHECK: s_setprio 0xc1d1    ; encoding: [0xd1,0xc1,0x8f,0xbf]
+0xd1,0xc1,0x8f,0xbf
+
+# CHECK: s_trap 0x3141    ; encoding: [0x41,0x31,0x92,0xbf]
+0x41,0x31,0x92,0xbf
+
+# CHECK: s_trap 0xc1d1    ; encoding: [0xd1,0xc1,0x92,0xbf]
+0xd1,0xc1,0x92,0xbf
+
+# CHECK: s_icache_inv    ; encoding: [0x00,0x00,0x93,0xbf]
+0x00,0x00,0x93,0xbf
+
+# CHECK: s_incperflevel 0x3141    ; encoding: [0x41,0x31,0x94,0xbf]
+0x41,0x31,0x94,0xbf
+
+# CHECK: s_incperflevel 0xc1d1    ; encoding: [0xd1,0xc1,0x94,0xbf]
+0xd1,0xc1,0x94,0xbf
+
+# CHECK: s_decperflevel 0x3141    ; encoding: [0x41,0x31,0x95,0xbf]
+0x41,0x31,0x95,0xbf
+
+# CHECK: s_decperflevel 0xc1d1    ; encoding: [0xd1,0xc1,0x95,0xbf]
+0xd1,0xc1,0x95,0xbf
+
+# CHECK: s_ttracedata    ; encoding: [0x00,0x00,0x96,0xbf]
+0x00,0x00,0x96,0xbf
+
+# CHECK: s_set_gpr_idx_off    ; encoding: [0x00,0x00,0x9c,0xbf]
+0x00,0x00,0x9c,0xbf
+
+# CHECK: v_mov_b32_e32 v0, s0    ; encoding: [0x00,0x02,0x00,0x7e]
+0x00,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v255, s0    ; encoding: [0x00,0x02,0xfe,0x7f]
+0x00,0x02,0xfe,0x7f
+
+# CHECK: v_mov_b32_e32 v0, s101    ; encoding: [0x65,0x02,0x00,0x7e]
+0x65,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x02,0x00,0x7e]
+0x66,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x02,0x00,0x7e]
+0x67,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, vcc_lo    ; encoding: [0x6a,0x02,0x00,0x7e]
+0x6a,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, vcc_hi    ; encoding: [0x6b,0x02,0x00,0x7e]
+0x6b,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, tba_lo    ; encoding: [0x6c,0x02,0x00,0x7e]
+0x6c,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, tba_hi    ; encoding: [0x6d,0x02,0x00,0x7e]
+0x6d,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, tma_lo    ; encoding: [0x6e,0x02,0x00,0x7e]
+0x6e,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, tma_hi    ; encoding: [0x6f,0x02,0x00,0x7e]
+0x6f,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, ttmp11    ; encoding: [0x7b,0x02,0x00,0x7e]
+0x7b,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, m0    ; encoding: [0x7c,0x02,0x00,0x7e]
+0x7c,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, exec_lo    ; encoding: [0x7e,0x02,0x00,0x7e]
+0x7e,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, exec_hi    ; encoding: [0x7f,0x02,0x00,0x7e]
+0x7f,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, 0    ; encoding: [0x80,0x02,0x00,0x7e]
+0x80,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, -1    ; encoding: [0xc1,0x02,0x00,0x7e]
+0xc1,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, 0.5    ; encoding: [0xf0,0x02,0x00,0x7e]
+0xf0,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, -4.0    ; encoding: [0xf7,0x02,0x00,0x7e]
+0xf7,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, scc    ; encoding: [0xfd,0x02,0x00,0x7e]
+0xfd,0x02,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, 0xaf123456    ; encoding: [0xff,0x02,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x02,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_mov_b32_e32 v0, 0x3f717273    ; encoding: [0xff,0x02,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x02,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_mov_b32_e32 v0, v0    ; encoding: [0x00,0x03,0x00,0x7e]
+0x00,0x03,0x00,0x7e
+
+# CHECK: v_mov_b32_e32 v0, v255    ; encoding: [0xff,0x03,0x00,0x7e]
+0xff,0x03,0x00,0x7e
+
+# CHECK: v_mov_b32_e64 v0, s0    ; encoding: [0x00,0x00,0x41,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v255, s0    ; encoding: [0xff,0x00,0x41,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x41,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, s101    ; encoding: [0x00,0x00,0x41,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x41,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x41,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x41,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x41,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x41,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x41,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x41,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x41,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x41,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, m0    ; encoding: [0x00,0x00,0x41,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x41,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x41,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, 0    ; encoding: [0x00,0x00,0x41,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, -1    ; encoding: [0x00,0x00,0x41,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x41,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x41,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, scc    ; encoding: [0x00,0x00,0x41,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x41,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, v0    ; encoding: [0x00,0x00,0x41,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x41,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_mov_b32_e64 v0, v255    ; encoding: [0x00,0x00,0x41,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x41,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_readfirstlane_b32 s0, v0    ; encoding: [0x00,0x05,0x00,0x7e]
+0x00,0x05,0x00,0x7e
+
+# CHECK: v_readfirstlane_b32 s101, v0    ; encoding: [0x00,0x05,0xca,0x7e]
+0x00,0x05,0xca,0x7e
+
+# CHECK: v_readfirstlane_b32 flat_scratch_lo, v0    ; encoding: [0x00,0x05,0xcc,0x7e]
+0x00,0x05,0xcc,0x7e
+
+# CHECK: v_readfirstlane_b32 flat_scratch_hi, v0    ; encoding: [0x00,0x05,0xce,0x7e]
+0x00,0x05,0xce,0x7e
+
+# CHECK: v_readfirstlane_b32 tba_lo, v0    ; encoding: [0x00,0x05,0xd8,0x7e]
+0x00,0x05,0xd8,0x7e
+
+# CHECK: v_readfirstlane_b32 tba_hi, v0    ; encoding: [0x00,0x05,0xda,0x7e]
+0x00,0x05,0xda,0x7e
+
+# CHECK: v_readfirstlane_b32 tma_lo, v0    ; encoding: [0x00,0x05,0xdc,0x7e]
+0x00,0x05,0xdc,0x7e
+
+# CHECK: v_readfirstlane_b32 tma_hi, v0    ; encoding: [0x00,0x05,0xde,0x7e]
+0x00,0x05,0xde,0x7e
+
+# CHECK: v_readfirstlane_b32 ttmp11, v0    ; encoding: [0x00,0x05,0xf6,0x7e]
+0x00,0x05,0xf6,0x7e
+
+# CHECK: v_readfirstlane_b32 s0, v255    ; encoding: [0xff,0x05,0x00,0x7e]
+0xff,0x05,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, s[0:1]    ; encoding: [0x00,0x06,0x00,0x7e]
+0x00,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v255, s[0:1]    ; encoding: [0x00,0x06,0xfe,0x7f]
+0x00,0x06,0xfe,0x7f
+
+# CHECK: v_cvt_i32_f64_e32 v0, s[2:3]    ; encoding: [0x02,0x06,0x00,0x7e]
+0x02,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, s[100:101]    ; encoding: [0x64,0x06,0x00,0x7e]
+0x64,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, flat_scratch    ; encoding: [0x66,0x06,0x00,0x7e]
+0x66,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, vcc    ; encoding: [0x6a,0x06,0x00,0x7e]
+0x6a,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, tba    ; encoding: [0x6c,0x06,0x00,0x7e]
+0x6c,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, tma    ; encoding: [0x6e,0x06,0x00,0x7e]
+0x6e,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, ttmp[10:11]    ; encoding: [0x7a,0x06,0x00,0x7e]
+0x7a,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, exec    ; encoding: [0x7e,0x06,0x00,0x7e]
+0x7e,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, 0    ; encoding: [0x80,0x06,0x00,0x7e]
+0x80,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, -1    ; encoding: [0xc1,0x06,0x00,0x7e]
+0xc1,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, 0.5    ; encoding: [0xf0,0x06,0x00,0x7e]
+0xf0,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, -4.0    ; encoding: [0xf7,0x06,0x00,0x7e]
+0xf7,0x06,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, 0xaf123456    ; encoding: [0xff,0x06,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x06,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_i32_f64_e32 v0, 0x3f717273    ; encoding: [0xff,0x06,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x06,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_i32_f64_e32 v0, v[0:1]    ; encoding: [0x00,0x07,0x00,0x7e]
+0x00,0x07,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e32 v0, v[254:255]    ; encoding: [0xfe,0x07,0x00,0x7e]
+0xfe,0x07,0x00,0x7e
+
+# CHECK: v_cvt_i32_f64_e64 v0, s[0:1]    ; encoding: [0x00,0x00,0x43,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v255, s[0:1]    ; encoding: [0xff,0x00,0x43,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x43,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, s[2:3]    ; encoding: [0x00,0x00,0x43,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, s[100:101]    ; encoding: [0x00,0x00,0x43,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, flat_scratch    ; encoding: [0x00,0x00,0x43,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, vcc    ; encoding: [0x00,0x00,0x43,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, tba    ; encoding: [0x00,0x00,0x43,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, tma    ; encoding: [0x00,0x00,0x43,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, ttmp[10:11]    ; encoding: [0x00,0x00,0x43,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, exec    ; encoding: [0x00,0x00,0x43,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, 0    ; encoding: [0x00,0x00,0x43,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, -1    ; encoding: [0x00,0x00,0x43,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, 0.5    ; encoding: [0x00,0x00,0x43,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, -4.0    ; encoding: [0x00,0x00,0x43,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x43,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, v[0:1]    ; encoding: [0x00,0x00,0x43,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x43,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, v[254:255]    ; encoding: [0x00,0x00,0x43,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x43,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, -s[0:1]    ; encoding: [0x00,0x00,0x43,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x43,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cvt_i32_f64_e64 v0, |s[0:1]|    ; encoding: [0x00,0x01,0x43,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x43,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f64_e64 v0, s[0:1] clamp    ; encoding: [0x00,0x80,0x43,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x43,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], s0    ; encoding: [0x00,0x08,0x00,0x7e]
+0x00,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[254:255], s0    ; encoding: [0x00,0x08,0xfc,0x7f]
+0x00,0x08,0xfc,0x7f
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], s101    ; encoding: [0x65,0x08,0x00,0x7e]
+0x65,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], flat_scratch_lo    ; encoding: [0x66,0x08,0x00,0x7e]
+0x66,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], flat_scratch_hi    ; encoding: [0x67,0x08,0x00,0x7e]
+0x67,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], vcc_lo    ; encoding: [0x6a,0x08,0x00,0x7e]
+0x6a,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], vcc_hi    ; encoding: [0x6b,0x08,0x00,0x7e]
+0x6b,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], tba_lo    ; encoding: [0x6c,0x08,0x00,0x7e]
+0x6c,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], tba_hi    ; encoding: [0x6d,0x08,0x00,0x7e]
+0x6d,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], tma_lo    ; encoding: [0x6e,0x08,0x00,0x7e]
+0x6e,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], tma_hi    ; encoding: [0x6f,0x08,0x00,0x7e]
+0x6f,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], ttmp11    ; encoding: [0x7b,0x08,0x00,0x7e]
+0x7b,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], m0    ; encoding: [0x7c,0x08,0x00,0x7e]
+0x7c,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], exec_lo    ; encoding: [0x7e,0x08,0x00,0x7e]
+0x7e,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], exec_hi    ; encoding: [0x7f,0x08,0x00,0x7e]
+0x7f,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], 0    ; encoding: [0x80,0x08,0x00,0x7e]
+0x80,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], -1    ; encoding: [0xc1,0x08,0x00,0x7e]
+0xc1,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], 0.5    ; encoding: [0xf0,0x08,0x00,0x7e]
+0xf0,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], -4.0    ; encoding: [0xf7,0x08,0x00,0x7e]
+0xf7,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], scc    ; encoding: [0xfd,0x08,0x00,0x7e]
+0xfd,0x08,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x08,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x08,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x08,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x08,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], v0    ; encoding: [0x00,0x09,0x00,0x7e]
+0x00,0x09,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e32 v[0:1], v255    ; encoding: [0xff,0x09,0x00,0x7e]
+0xff,0x09,0x00,0x7e
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], s0    ; encoding: [0x00,0x00,0x44,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[254:255], s0    ; encoding: [0xfe,0x00,0x44,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x44,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], s101    ; encoding: [0x00,0x00,0x44,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], flat_scratch_lo    ; encoding: [0x00,0x00,0x44,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], flat_scratch_hi    ; encoding: [0x00,0x00,0x44,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], vcc_lo    ; encoding: [0x00,0x00,0x44,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], vcc_hi    ; encoding: [0x00,0x00,0x44,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], tba_lo    ; encoding: [0x00,0x00,0x44,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], tba_hi    ; encoding: [0x00,0x00,0x44,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], tma_lo    ; encoding: [0x00,0x00,0x44,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], tma_hi    ; encoding: [0x00,0x00,0x44,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], ttmp11    ; encoding: [0x00,0x00,0x44,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], m0    ; encoding: [0x00,0x00,0x44,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], exec_lo    ; encoding: [0x00,0x00,0x44,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], exec_hi    ; encoding: [0x00,0x00,0x44,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x44,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x44,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x44,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x44,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], scc    ; encoding: [0x00,0x00,0x44,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x44,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], v0    ; encoding: [0x00,0x00,0x44,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x44,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f64_i32_e64 v[0:1], v255    ; encoding: [0x00,0x00,0x44,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x44,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e32 v0, s0    ; encoding: [0x00,0x0a,0x00,0x7e]
+0x00,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v255, s0    ; encoding: [0x00,0x0a,0xfe,0x7f]
+0x00,0x0a,0xfe,0x7f
+
+# CHECK: v_cvt_f32_i32_e32 v0, s101    ; encoding: [0x65,0x0a,0x00,0x7e]
+0x65,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x0a,0x00,0x7e]
+0x66,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x0a,0x00,0x7e]
+0x67,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, vcc_lo    ; encoding: [0x6a,0x0a,0x00,0x7e]
+0x6a,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, vcc_hi    ; encoding: [0x6b,0x0a,0x00,0x7e]
+0x6b,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, tba_lo    ; encoding: [0x6c,0x0a,0x00,0x7e]
+0x6c,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, tba_hi    ; encoding: [0x6d,0x0a,0x00,0x7e]
+0x6d,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, tma_lo    ; encoding: [0x6e,0x0a,0x00,0x7e]
+0x6e,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, tma_hi    ; encoding: [0x6f,0x0a,0x00,0x7e]
+0x6f,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, ttmp11    ; encoding: [0x7b,0x0a,0x00,0x7e]
+0x7b,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, m0    ; encoding: [0x7c,0x0a,0x00,0x7e]
+0x7c,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, exec_lo    ; encoding: [0x7e,0x0a,0x00,0x7e]
+0x7e,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, exec_hi    ; encoding: [0x7f,0x0a,0x00,0x7e]
+0x7f,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, 0    ; encoding: [0x80,0x0a,0x00,0x7e]
+0x80,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, -1    ; encoding: [0xc1,0x0a,0x00,0x7e]
+0xc1,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, 0.5    ; encoding: [0xf0,0x0a,0x00,0x7e]
+0xf0,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, -4.0    ; encoding: [0xf7,0x0a,0x00,0x7e]
+0xf7,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, scc    ; encoding: [0xfd,0x0a,0x00,0x7e]
+0xfd,0x0a,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, 0xaf123456    ; encoding: [0xff,0x0a,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x0a,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f32_i32_e32 v0, 0x3f717273    ; encoding: [0xff,0x0a,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x0a,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f32_i32_e32 v0, v0    ; encoding: [0x00,0x0b,0x00,0x7e]
+0x00,0x0b,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e32 v0, v255    ; encoding: [0xff,0x0b,0x00,0x7e]
+0xff,0x0b,0x00,0x7e
+
+# CHECK: v_cvt_f32_i32_e64 v0, s0    ; encoding: [0x00,0x00,0x45,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v255, s0    ; encoding: [0xff,0x00,0x45,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x45,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, s101    ; encoding: [0x00,0x00,0x45,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x45,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x45,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x45,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x45,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x45,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x45,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x45,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x45,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x45,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, m0    ; encoding: [0x00,0x00,0x45,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x45,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x45,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, 0    ; encoding: [0x00,0x00,0x45,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, -1    ; encoding: [0x00,0x00,0x45,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x45,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x45,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, scc    ; encoding: [0x00,0x00,0x45,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x45,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, v0    ; encoding: [0x00,0x00,0x45,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x45,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_i32_e64 v0, v255    ; encoding: [0x00,0x00,0x45,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x45,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e32 v0, s0    ; encoding: [0x00,0x0c,0x00,0x7e]
+0x00,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v255, s0    ; encoding: [0x00,0x0c,0xfe,0x7f]
+0x00,0x0c,0xfe,0x7f
+
+# CHECK: v_cvt_f32_u32_e32 v0, s101    ; encoding: [0x65,0x0c,0x00,0x7e]
+0x65,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x0c,0x00,0x7e]
+0x66,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x0c,0x00,0x7e]
+0x67,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, vcc_lo    ; encoding: [0x6a,0x0c,0x00,0x7e]
+0x6a,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, vcc_hi    ; encoding: [0x6b,0x0c,0x00,0x7e]
+0x6b,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, tba_lo    ; encoding: [0x6c,0x0c,0x00,0x7e]
+0x6c,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, tba_hi    ; encoding: [0x6d,0x0c,0x00,0x7e]
+0x6d,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, tma_lo    ; encoding: [0x6e,0x0c,0x00,0x7e]
+0x6e,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, tma_hi    ; encoding: [0x6f,0x0c,0x00,0x7e]
+0x6f,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, ttmp11    ; encoding: [0x7b,0x0c,0x00,0x7e]
+0x7b,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, m0    ; encoding: [0x7c,0x0c,0x00,0x7e]
+0x7c,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, exec_lo    ; encoding: [0x7e,0x0c,0x00,0x7e]
+0x7e,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, exec_hi    ; encoding: [0x7f,0x0c,0x00,0x7e]
+0x7f,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, 0    ; encoding: [0x80,0x0c,0x00,0x7e]
+0x80,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, -1    ; encoding: [0xc1,0x0c,0x00,0x7e]
+0xc1,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, 0.5    ; encoding: [0xf0,0x0c,0x00,0x7e]
+0xf0,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, -4.0    ; encoding: [0xf7,0x0c,0x00,0x7e]
+0xf7,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, scc    ; encoding: [0xfd,0x0c,0x00,0x7e]
+0xfd,0x0c,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, 0xaf123456    ; encoding: [0xff,0x0c,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x0c,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f32_u32_e32 v0, 0x3f717273    ; encoding: [0xff,0x0c,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x0c,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f32_u32_e32 v0, v0    ; encoding: [0x00,0x0d,0x00,0x7e]
+0x00,0x0d,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e32 v0, v255    ; encoding: [0xff,0x0d,0x00,0x7e]
+0xff,0x0d,0x00,0x7e
+
+# CHECK: v_cvt_f32_u32_e64 v0, s0    ; encoding: [0x00,0x00,0x46,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v255, s0    ; encoding: [0xff,0x00,0x46,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x46,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, s101    ; encoding: [0x00,0x00,0x46,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x46,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x46,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x46,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x46,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x46,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x46,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x46,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x46,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x46,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, m0    ; encoding: [0x00,0x00,0x46,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x46,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x46,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, 0    ; encoding: [0x00,0x00,0x46,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, -1    ; encoding: [0x00,0x00,0x46,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x46,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x46,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, scc    ; encoding: [0x00,0x00,0x46,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x46,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, v0    ; encoding: [0x00,0x00,0x46,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x46,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_u32_e64 v0, v255    ; encoding: [0x00,0x00,0x46,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x46,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e32 v0, s0    ; encoding: [0x00,0x0e,0x00,0x7e]
+0x00,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v255, s0    ; encoding: [0x00,0x0e,0xfe,0x7f]
+0x00,0x0e,0xfe,0x7f
+
+# CHECK: v_cvt_u32_f32_e32 v0, s101    ; encoding: [0x65,0x0e,0x00,0x7e]
+0x65,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x0e,0x00,0x7e]
+0x66,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x0e,0x00,0x7e]
+0x67,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x0e,0x00,0x7e]
+0x6a,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x0e,0x00,0x7e]
+0x6b,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x0e,0x00,0x7e]
+0x6c,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x0e,0x00,0x7e]
+0x6d,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x0e,0x00,0x7e]
+0x6e,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x0e,0x00,0x7e]
+0x6f,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x0e,0x00,0x7e]
+0x7b,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, m0    ; encoding: [0x7c,0x0e,0x00,0x7e]
+0x7c,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x0e,0x00,0x7e]
+0x7e,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x0e,0x00,0x7e]
+0x7f,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, 0    ; encoding: [0x80,0x0e,0x00,0x7e]
+0x80,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, -1    ; encoding: [0xc1,0x0e,0x00,0x7e]
+0xc1,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, 0.5    ; encoding: [0xf0,0x0e,0x00,0x7e]
+0xf0,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, -4.0    ; encoding: [0xf7,0x0e,0x00,0x7e]
+0xf7,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, scc    ; encoding: [0xfd,0x0e,0x00,0x7e]
+0xfd,0x0e,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x0e,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x0e,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_u32_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x0e,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x0e,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_u32_f32_e32 v0, v0    ; encoding: [0x00,0x0f,0x00,0x7e]
+0x00,0x0f,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e32 v0, v255    ; encoding: [0xff,0x0f,0x00,0x7e]
+0xff,0x0f,0x00,0x7e
+
+# CHECK: v_cvt_u32_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x47,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x47,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x47,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x47,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x47,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x47,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x47,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x47,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x47,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x47,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x47,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x47,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x47,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x47,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x47,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x47,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x47,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x47,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x47,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x47,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x47,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x47,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x47,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x47,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x47,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x47,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x47,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x47,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cvt_u32_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x47,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x47,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x47,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x47,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e32 v0, s0    ; encoding: [0x00,0x10,0x00,0x7e]
+0x00,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v255, s0    ; encoding: [0x00,0x10,0xfe,0x7f]
+0x00,0x10,0xfe,0x7f
+
+# CHECK: v_cvt_i32_f32_e32 v0, s101    ; encoding: [0x65,0x10,0x00,0x7e]
+0x65,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x10,0x00,0x7e]
+0x66,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x10,0x00,0x7e]
+0x67,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x10,0x00,0x7e]
+0x6a,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x10,0x00,0x7e]
+0x6b,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x10,0x00,0x7e]
+0x6c,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x10,0x00,0x7e]
+0x6d,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x10,0x00,0x7e]
+0x6e,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x10,0x00,0x7e]
+0x6f,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x10,0x00,0x7e]
+0x7b,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, m0    ; encoding: [0x7c,0x10,0x00,0x7e]
+0x7c,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x10,0x00,0x7e]
+0x7e,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x10,0x00,0x7e]
+0x7f,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, 0    ; encoding: [0x80,0x10,0x00,0x7e]
+0x80,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, -1    ; encoding: [0xc1,0x10,0x00,0x7e]
+0xc1,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, 0.5    ; encoding: [0xf0,0x10,0x00,0x7e]
+0xf0,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, -4.0    ; encoding: [0xf7,0x10,0x00,0x7e]
+0xf7,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, scc    ; encoding: [0xfd,0x10,0x00,0x7e]
+0xfd,0x10,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x10,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x10,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_i32_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x10,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x10,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_i32_f32_e32 v0, v0    ; encoding: [0x00,0x11,0x00,0x7e]
+0x00,0x11,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e32 v0, v255    ; encoding: [0xff,0x11,0x00,0x7e]
+0xff,0x11,0x00,0x7e
+
+# CHECK: v_cvt_i32_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x48,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x48,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x48,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x48,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x48,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x48,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x48,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x48,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x48,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x48,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x48,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x48,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x48,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x48,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x48,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x48,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x48,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x48,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x48,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x48,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x48,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x48,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x48,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x48,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x48,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x48,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x48,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x48,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cvt_i32_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x48,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x48,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_i32_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x48,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x48,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e32 v0, s0    ; encoding: [0x00,0x14,0x00,0x7e]
+0x00,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v255, s0    ; encoding: [0x00,0x14,0xfe,0x7f]
+0x00,0x14,0xfe,0x7f
+
+# CHECK: v_cvt_f16_f32_e32 v0, s101    ; encoding: [0x65,0x14,0x00,0x7e]
+0x65,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x14,0x00,0x7e]
+0x66,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x14,0x00,0x7e]
+0x67,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x14,0x00,0x7e]
+0x6a,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x14,0x00,0x7e]
+0x6b,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x14,0x00,0x7e]
+0x6c,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x14,0x00,0x7e]
+0x6d,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x14,0x00,0x7e]
+0x6e,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x14,0x00,0x7e]
+0x6f,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x14,0x00,0x7e]
+0x7b,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, m0    ; encoding: [0x7c,0x14,0x00,0x7e]
+0x7c,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x14,0x00,0x7e]
+0x7e,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x14,0x00,0x7e]
+0x7f,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, 0    ; encoding: [0x80,0x14,0x00,0x7e]
+0x80,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, -1    ; encoding: [0xc1,0x14,0x00,0x7e]
+0xc1,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, 0.5    ; encoding: [0xf0,0x14,0x00,0x7e]
+0xf0,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, -4.0    ; encoding: [0xf7,0x14,0x00,0x7e]
+0xf7,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, scc    ; encoding: [0xfd,0x14,0x00,0x7e]
+0xfd,0x14,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x14,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x14,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f16_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x14,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x14,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f16_f32_e32 v0, v0    ; encoding: [0x00,0x15,0x00,0x7e]
+0x00,0x15,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e32 v0, v255    ; encoding: [0xff,0x15,0x00,0x7e]
+0xff,0x15,0x00,0x7e
+
+# CHECK: v_cvt_f16_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x4a,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x4a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x4a,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x4a,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x4a,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x4a,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x4a,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x4a,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x4a,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x4a,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x4a,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x4a,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x4a,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x4a,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x4a,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x4a,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x4a,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x4a,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x4a,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x4a,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x4a,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x4a,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x4a,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cvt_f16_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x4a,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x4a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x4a,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x4a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f16_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_cvt_f16_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_cvt_f16_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x4a,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_cvt_f32_f16_e32 v0, s0    ; encoding: [0x00,0x16,0x00,0x7e]
+0x00,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v255, s0    ; encoding: [0x00,0x16,0xfe,0x7f]
+0x00,0x16,0xfe,0x7f
+
+# CHECK: v_cvt_f32_f16_e32 v0, s101    ; encoding: [0x65,0x16,0x00,0x7e]
+0x65,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x16,0x00,0x7e]
+0x66,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x16,0x00,0x7e]
+0x67,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, vcc_lo    ; encoding: [0x6a,0x16,0x00,0x7e]
+0x6a,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, vcc_hi    ; encoding: [0x6b,0x16,0x00,0x7e]
+0x6b,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, tba_lo    ; encoding: [0x6c,0x16,0x00,0x7e]
+0x6c,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, tba_hi    ; encoding: [0x6d,0x16,0x00,0x7e]
+0x6d,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, tma_lo    ; encoding: [0x6e,0x16,0x00,0x7e]
+0x6e,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, tma_hi    ; encoding: [0x6f,0x16,0x00,0x7e]
+0x6f,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, ttmp11    ; encoding: [0x7b,0x16,0x00,0x7e]
+0x7b,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, m0    ; encoding: [0x7c,0x16,0x00,0x7e]
+0x7c,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, exec_lo    ; encoding: [0x7e,0x16,0x00,0x7e]
+0x7e,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, exec_hi    ; encoding: [0x7f,0x16,0x00,0x7e]
+0x7f,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, 0    ; encoding: [0x80,0x16,0x00,0x7e]
+0x80,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, -1    ; encoding: [0xc1,0x16,0x00,0x7e]
+0xc1,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, 0.5    ; encoding: [0xf0,0x16,0x00,0x7e]
+0xf0,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, -4.0    ; encoding: [0xf7,0x16,0x00,0x7e]
+0xf7,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, scc    ; encoding: [0xfd,0x16,0x00,0x7e]
+0xfd,0x16,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, 0xfe0b    ; encoding: [0xff,0x16,0x00,0x7e,0x0b,0xfe,0x00,0x00]
+0xff,0x16,0x00,0x7e,0x0b,0xfe,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e32 v0, 0x3456    ; encoding: [0xff,0x16,0x00,0x7e,0x56,0x34,0x00,0x00]
+0xff,0x16,0x00,0x7e,0x56,0x34,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e32 v0, v0    ; encoding: [0x00,0x17,0x00,0x7e]
+0x00,0x17,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e32 v0, v255    ; encoding: [0xff,0x17,0x00,0x7e]
+0xff,0x17,0x00,0x7e
+
+# CHECK: v_cvt_f32_f16_e64 v0, s0    ; encoding: [0x00,0x00,0x4b,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v255, s0    ; encoding: [0xff,0x00,0x4b,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x4b,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, s101    ; encoding: [0x00,0x00,0x4b,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x4b,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x4b,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x4b,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x4b,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x4b,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x4b,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x4b,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x4b,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x4b,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, m0    ; encoding: [0x00,0x00,0x4b,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x4b,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x4b,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, 0    ; encoding: [0x00,0x00,0x4b,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, -1    ; encoding: [0x00,0x00,0x4b,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, 0.5    ; encoding: [0x00,0x00,0x4b,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, -4.0    ; encoding: [0x00,0x00,0x4b,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, scc    ; encoding: [0x00,0x00,0x4b,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, v0    ; encoding: [0x00,0x00,0x4b,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_f16_e64 v0, v255    ; encoding: [0x00,0x00,0x4b,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x4b,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, s0    ; encoding: [0x00,0x18,0x00,0x7e]
+0x00,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v255, s0    ; encoding: [0x00,0x18,0xfe,0x7f]
+0x00,0x18,0xfe,0x7f
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, s101    ; encoding: [0x65,0x18,0x00,0x7e]
+0x65,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x18,0x00,0x7e]
+0x66,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x18,0x00,0x7e]
+0x67,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x18,0x00,0x7e]
+0x6a,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x18,0x00,0x7e]
+0x6b,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x18,0x00,0x7e]
+0x6c,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x18,0x00,0x7e]
+0x6d,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x18,0x00,0x7e]
+0x6e,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x18,0x00,0x7e]
+0x6f,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x18,0x00,0x7e]
+0x7b,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, m0    ; encoding: [0x7c,0x18,0x00,0x7e]
+0x7c,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x18,0x00,0x7e]
+0x7e,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x18,0x00,0x7e]
+0x7f,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, 0    ; encoding: [0x80,0x18,0x00,0x7e]
+0x80,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, -1    ; encoding: [0xc1,0x18,0x00,0x7e]
+0xc1,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, 0.5    ; encoding: [0xf0,0x18,0x00,0x7e]
+0xf0,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, -4.0    ; encoding: [0xf7,0x18,0x00,0x7e]
+0xf7,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, scc    ; encoding: [0xfd,0x18,0x00,0x7e]
+0xfd,0x18,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x18,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x18,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x18,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x18,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, v0    ; encoding: [0x00,0x19,0x00,0x7e]
+0x00,0x19,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e32 v0, v255    ; encoding: [0xff,0x19,0x00,0x7e]
+0xff,0x19,0x00,0x7e
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x4c,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x4c,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x4c,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x4c,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x4c,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x4c,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x4c,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x4c,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x4c,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x4c,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x4c,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x4c,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x4c,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x4c,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x4c,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x4c,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x4c,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x4c,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x4c,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x4c,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x4c,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x4c,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x4c,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x4c,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x4c,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x4c,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x4c,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x4c,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_rpi_i32_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x4c,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x4c,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, s0    ; encoding: [0x00,0x1a,0x00,0x7e]
+0x00,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v255, s0    ; encoding: [0x00,0x1a,0xfe,0x7f]
+0x00,0x1a,0xfe,0x7f
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, s101    ; encoding: [0x65,0x1a,0x00,0x7e]
+0x65,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x1a,0x00,0x7e]
+0x66,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x1a,0x00,0x7e]
+0x67,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x1a,0x00,0x7e]
+0x6a,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x1a,0x00,0x7e]
+0x6b,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x1a,0x00,0x7e]
+0x6c,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x1a,0x00,0x7e]
+0x6d,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x1a,0x00,0x7e]
+0x6e,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x1a,0x00,0x7e]
+0x6f,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x1a,0x00,0x7e]
+0x7b,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, m0    ; encoding: [0x7c,0x1a,0x00,0x7e]
+0x7c,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x1a,0x00,0x7e]
+0x7e,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x1a,0x00,0x7e]
+0x7f,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, 0    ; encoding: [0x80,0x1a,0x00,0x7e]
+0x80,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, -1    ; encoding: [0xc1,0x1a,0x00,0x7e]
+0xc1,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, 0.5    ; encoding: [0xf0,0x1a,0x00,0x7e]
+0xf0,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, -4.0    ; encoding: [0xf7,0x1a,0x00,0x7e]
+0xf7,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, scc    ; encoding: [0xfd,0x1a,0x00,0x7e]
+0xfd,0x1a,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x1a,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x1a,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x1a,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x1a,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, v0    ; encoding: [0x00,0x1b,0x00,0x7e]
+0x00,0x1b,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e32 v0, v255    ; encoding: [0xff,0x1b,0x00,0x7e]
+0xff,0x1b,0x00,0x7e
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x4d,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x4d,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x4d,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x4d,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x4d,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x4d,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x4d,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x4d,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x4d,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x4d,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x4d,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x4d,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x4d,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x4d,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x4d,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x4d,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x4d,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x4d,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x4d,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x4d,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x4d,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x4d,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x4d,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x4d,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x4d,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x4d,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x4d,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x4d,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_flr_i32_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x4d,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x4d,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, s0    ; encoding: [0x00,0x1c,0x00,0x7e]
+0x00,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v255, s0    ; encoding: [0x00,0x1c,0xfe,0x7f]
+0x00,0x1c,0xfe,0x7f
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, s101    ; encoding: [0x65,0x1c,0x00,0x7e]
+0x65,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x1c,0x00,0x7e]
+0x66,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x1c,0x00,0x7e]
+0x67,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, vcc_lo    ; encoding: [0x6a,0x1c,0x00,0x7e]
+0x6a,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, vcc_hi    ; encoding: [0x6b,0x1c,0x00,0x7e]
+0x6b,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, tba_lo    ; encoding: [0x6c,0x1c,0x00,0x7e]
+0x6c,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, tba_hi    ; encoding: [0x6d,0x1c,0x00,0x7e]
+0x6d,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, tma_lo    ; encoding: [0x6e,0x1c,0x00,0x7e]
+0x6e,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, tma_hi    ; encoding: [0x6f,0x1c,0x00,0x7e]
+0x6f,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, ttmp11    ; encoding: [0x7b,0x1c,0x00,0x7e]
+0x7b,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, m0    ; encoding: [0x7c,0x1c,0x00,0x7e]
+0x7c,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, exec_lo    ; encoding: [0x7e,0x1c,0x00,0x7e]
+0x7e,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, exec_hi    ; encoding: [0x7f,0x1c,0x00,0x7e]
+0x7f,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, 0    ; encoding: [0x80,0x1c,0x00,0x7e]
+0x80,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, -1    ; encoding: [0xc1,0x1c,0x00,0x7e]
+0xc1,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, 0.5    ; encoding: [0xf0,0x1c,0x00,0x7e]
+0xf0,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, -4.0    ; encoding: [0xf7,0x1c,0x00,0x7e]
+0xf7,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, scc    ; encoding: [0xfd,0x1c,0x00,0x7e]
+0xfd,0x1c,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, 0x4f    ; encoding: [0xff,0x1c,0x00,0x7e,0x4f,0x00,0x00,0x00]
+0xff,0x1c,0x00,0x7e,0x4f,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, 0x41    ; encoding: [0xff,0x1c,0x00,0x7e,0x41,0x00,0x00,0x00]
+0xff,0x1c,0x00,0x7e,0x41,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, v0    ; encoding: [0x00,0x1d,0x00,0x7e]
+0x00,0x1d,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e32 v0, v255    ; encoding: [0xff,0x1d,0x00,0x7e]
+0xff,0x1d,0x00,0x7e
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, s0    ; encoding: [0x00,0x00,0x4e,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v255, s0    ; encoding: [0xff,0x00,0x4e,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x4e,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, s101    ; encoding: [0x00,0x00,0x4e,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x4e,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x4e,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x4e,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x4e,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x4e,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x4e,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x4e,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x4e,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x4e,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, m0    ; encoding: [0x00,0x00,0x4e,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x4e,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x4e,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, 0    ; encoding: [0x00,0x00,0x4e,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, -1    ; encoding: [0x00,0x00,0x4e,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, 0.5    ; encoding: [0x00,0x00,0x4e,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, -4.0    ; encoding: [0x00,0x00,0x4e,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, scc    ; encoding: [0x00,0x00,0x4e,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, v0    ; encoding: [0x00,0x00,0x4e,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_off_f32_i4_e64 v0, v255    ; encoding: [0x00,0x00,0x4e,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x4e,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e32 v0, s[0:1]    ; encoding: [0x00,0x1e,0x00,0x7e]
+0x00,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v255, s[0:1]    ; encoding: [0x00,0x1e,0xfe,0x7f]
+0x00,0x1e,0xfe,0x7f
+
+# CHECK: v_cvt_f32_f64_e32 v0, s[2:3]    ; encoding: [0x02,0x1e,0x00,0x7e]
+0x02,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, s[100:101]    ; encoding: [0x64,0x1e,0x00,0x7e]
+0x64,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, flat_scratch    ; encoding: [0x66,0x1e,0x00,0x7e]
+0x66,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, vcc    ; encoding: [0x6a,0x1e,0x00,0x7e]
+0x6a,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, tba    ; encoding: [0x6c,0x1e,0x00,0x7e]
+0x6c,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, tma    ; encoding: [0x6e,0x1e,0x00,0x7e]
+0x6e,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, ttmp[10:11]    ; encoding: [0x7a,0x1e,0x00,0x7e]
+0x7a,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, exec    ; encoding: [0x7e,0x1e,0x00,0x7e]
+0x7e,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, 0    ; encoding: [0x80,0x1e,0x00,0x7e]
+0x80,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, -1    ; encoding: [0xc1,0x1e,0x00,0x7e]
+0xc1,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, 0.5    ; encoding: [0xf0,0x1e,0x00,0x7e]
+0xf0,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, -4.0    ; encoding: [0xf7,0x1e,0x00,0x7e]
+0xf7,0x1e,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, 0xaf123456    ; encoding: [0xff,0x1e,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x1e,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f32_f64_e32 v0, 0x3f717273    ; encoding: [0xff,0x1e,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x1e,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f32_f64_e32 v0, v[0:1]    ; encoding: [0x00,0x1f,0x00,0x7e]
+0x00,0x1f,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e32 v0, v[254:255]    ; encoding: [0xfe,0x1f,0x00,0x7e]
+0xfe,0x1f,0x00,0x7e
+
+# CHECK: v_cvt_f32_f64_e64 v0, s[0:1]    ; encoding: [0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v255, s[0:1]    ; encoding: [0xff,0x00,0x4f,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x4f,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, s[2:3]    ; encoding: [0x00,0x00,0x4f,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, s[100:101]    ; encoding: [0x00,0x00,0x4f,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, flat_scratch    ; encoding: [0x00,0x00,0x4f,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, vcc    ; encoding: [0x00,0x00,0x4f,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, tba    ; encoding: [0x00,0x00,0x4f,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, tma    ; encoding: [0x00,0x00,0x4f,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, ttmp[10:11]    ; encoding: [0x00,0x00,0x4f,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, exec    ; encoding: [0x00,0x00,0x4f,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, 0    ; encoding: [0x00,0x00,0x4f,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, -1    ; encoding: [0x00,0x00,0x4f,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, 0.5    ; encoding: [0x00,0x00,0x4f,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, -4.0    ; encoding: [0x00,0x00,0x4f,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, v[0:1]    ; encoding: [0x00,0x00,0x4f,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, v[254:255]    ; encoding: [0x00,0x00,0x4f,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x4f,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, -s[0:1]    ; encoding: [0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cvt_f32_f64_e64 v0, |s[0:1]|    ; encoding: [0x00,0x01,0x4f,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x4f,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, s[0:1] clamp    ; encoding: [0x00,0x80,0x4f,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x4f,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_f64_e64 v0, s[0:1] mul:2    ; encoding: [0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_cvt_f32_f64_e64 v0, s[0:1] mul:4    ; encoding: [0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_cvt_f32_f64_e64 v0, s[0:1] div:2    ; encoding: [0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x4f,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], s0    ; encoding: [0x00,0x20,0x00,0x7e]
+0x00,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[254:255], s0    ; encoding: [0x00,0x20,0xfc,0x7f]
+0x00,0x20,0xfc,0x7f
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], s101    ; encoding: [0x65,0x20,0x00,0x7e]
+0x65,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], flat_scratch_lo    ; encoding: [0x66,0x20,0x00,0x7e]
+0x66,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], flat_scratch_hi    ; encoding: [0x67,0x20,0x00,0x7e]
+0x67,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], vcc_lo    ; encoding: [0x6a,0x20,0x00,0x7e]
+0x6a,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], vcc_hi    ; encoding: [0x6b,0x20,0x00,0x7e]
+0x6b,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], tba_lo    ; encoding: [0x6c,0x20,0x00,0x7e]
+0x6c,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], tba_hi    ; encoding: [0x6d,0x20,0x00,0x7e]
+0x6d,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], tma_lo    ; encoding: [0x6e,0x20,0x00,0x7e]
+0x6e,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], tma_hi    ; encoding: [0x6f,0x20,0x00,0x7e]
+0x6f,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], ttmp11    ; encoding: [0x7b,0x20,0x00,0x7e]
+0x7b,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], m0    ; encoding: [0x7c,0x20,0x00,0x7e]
+0x7c,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], exec_lo    ; encoding: [0x7e,0x20,0x00,0x7e]
+0x7e,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], exec_hi    ; encoding: [0x7f,0x20,0x00,0x7e]
+0x7f,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], 0    ; encoding: [0x80,0x20,0x00,0x7e]
+0x80,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], -1    ; encoding: [0xc1,0x20,0x00,0x7e]
+0xc1,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], 0.5    ; encoding: [0xf0,0x20,0x00,0x7e]
+0xf0,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], -4.0    ; encoding: [0xf7,0x20,0x00,0x7e]
+0xf7,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], scc    ; encoding: [0xfd,0x20,0x00,0x7e]
+0xfd,0x20,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x20,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x20,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x20,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x20,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], v0    ; encoding: [0x00,0x21,0x00,0x7e]
+0x00,0x21,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e32 v[0:1], v255    ; encoding: [0xff,0x21,0x00,0x7e]
+0xff,0x21,0x00,0x7e
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], s0    ; encoding: [0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[254:255], s0    ; encoding: [0xfe,0x00,0x50,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x50,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], s101    ; encoding: [0x00,0x00,0x50,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], flat_scratch_lo    ; encoding: [0x00,0x00,0x50,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], flat_scratch_hi    ; encoding: [0x00,0x00,0x50,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], vcc_lo    ; encoding: [0x00,0x00,0x50,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], vcc_hi    ; encoding: [0x00,0x00,0x50,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], tba_lo    ; encoding: [0x00,0x00,0x50,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], tba_hi    ; encoding: [0x00,0x00,0x50,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], tma_lo    ; encoding: [0x00,0x00,0x50,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], tma_hi    ; encoding: [0x00,0x00,0x50,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], ttmp11    ; encoding: [0x00,0x00,0x50,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], m0    ; encoding: [0x00,0x00,0x50,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], exec_lo    ; encoding: [0x00,0x00,0x50,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], exec_hi    ; encoding: [0x00,0x00,0x50,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x50,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x50,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x50,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x50,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], scc    ; encoding: [0x00,0x00,0x50,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x50,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], v0    ; encoding: [0x00,0x00,0x50,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x50,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], v255    ; encoding: [0x00,0x00,0x50,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x50,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], -s0    ; encoding: [0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], |s0|    ; encoding: [0x00,0x01,0x50,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x50,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], s0 clamp    ; encoding: [0x00,0x80,0x50,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x50,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], s0 mul:2    ; encoding: [0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], s0 mul:4    ; encoding: [0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_cvt_f64_f32_e64 v[0:1], s0 div:2    ; encoding: [0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x50,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, s0    ; encoding: [0x00,0x22,0x00,0x7e]
+0x00,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v255, s0    ; encoding: [0x00,0x22,0xfe,0x7f]
+0x00,0x22,0xfe,0x7f
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, s101    ; encoding: [0x65,0x22,0x00,0x7e]
+0x65,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x22,0x00,0x7e]
+0x66,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x22,0x00,0x7e]
+0x67,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, vcc_lo    ; encoding: [0x6a,0x22,0x00,0x7e]
+0x6a,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, vcc_hi    ; encoding: [0x6b,0x22,0x00,0x7e]
+0x6b,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, tba_lo    ; encoding: [0x6c,0x22,0x00,0x7e]
+0x6c,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, tba_hi    ; encoding: [0x6d,0x22,0x00,0x7e]
+0x6d,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, tma_lo    ; encoding: [0x6e,0x22,0x00,0x7e]
+0x6e,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, tma_hi    ; encoding: [0x6f,0x22,0x00,0x7e]
+0x6f,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, ttmp11    ; encoding: [0x7b,0x22,0x00,0x7e]
+0x7b,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, m0    ; encoding: [0x7c,0x22,0x00,0x7e]
+0x7c,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, exec_lo    ; encoding: [0x7e,0x22,0x00,0x7e]
+0x7e,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, exec_hi    ; encoding: [0x7f,0x22,0x00,0x7e]
+0x7f,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, 0    ; encoding: [0x80,0x22,0x00,0x7e]
+0x80,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, -1    ; encoding: [0xc1,0x22,0x00,0x7e]
+0xc1,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, 0.5    ; encoding: [0xf0,0x22,0x00,0x7e]
+0xf0,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, -4.0    ; encoding: [0xf7,0x22,0x00,0x7e]
+0xf7,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, scc    ; encoding: [0xfd,0x22,0x00,0x7e]
+0xfd,0x22,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, 0xaf123456    ; encoding: [0xff,0x22,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x22,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, 0x3f717273    ; encoding: [0xff,0x22,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x22,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, v0    ; encoding: [0x00,0x23,0x00,0x7e]
+0x00,0x23,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e32 v0, v255    ; encoding: [0xff,0x23,0x00,0x7e]
+0xff,0x23,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, s0    ; encoding: [0x00,0x00,0x51,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v255, s0    ; encoding: [0xff,0x00,0x51,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x51,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, s101    ; encoding: [0x00,0x00,0x51,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x51,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x51,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x51,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x51,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x51,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x51,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x51,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x51,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x51,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, m0    ; encoding: [0x00,0x00,0x51,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x51,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x51,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, 0    ; encoding: [0x00,0x00,0x51,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, -1    ; encoding: [0x00,0x00,0x51,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, 0.5    ; encoding: [0x00,0x00,0x51,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, -4.0    ; encoding: [0x00,0x00,0x51,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, scc    ; encoding: [0x00,0x00,0x51,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x51,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, v0    ; encoding: [0x00,0x00,0x51,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x51,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte0_e64 v0, v255    ; encoding: [0x00,0x00,0x51,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x51,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, s0    ; encoding: [0x00,0x24,0x00,0x7e]
+0x00,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v255, s0    ; encoding: [0x00,0x24,0xfe,0x7f]
+0x00,0x24,0xfe,0x7f
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, s101    ; encoding: [0x65,0x24,0x00,0x7e]
+0x65,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x24,0x00,0x7e]
+0x66,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x24,0x00,0x7e]
+0x67,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, vcc_lo    ; encoding: [0x6a,0x24,0x00,0x7e]
+0x6a,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, vcc_hi    ; encoding: [0x6b,0x24,0x00,0x7e]
+0x6b,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, tba_lo    ; encoding: [0x6c,0x24,0x00,0x7e]
+0x6c,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, tba_hi    ; encoding: [0x6d,0x24,0x00,0x7e]
+0x6d,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, tma_lo    ; encoding: [0x6e,0x24,0x00,0x7e]
+0x6e,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, tma_hi    ; encoding: [0x6f,0x24,0x00,0x7e]
+0x6f,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, ttmp11    ; encoding: [0x7b,0x24,0x00,0x7e]
+0x7b,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, m0    ; encoding: [0x7c,0x24,0x00,0x7e]
+0x7c,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, exec_lo    ; encoding: [0x7e,0x24,0x00,0x7e]
+0x7e,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, exec_hi    ; encoding: [0x7f,0x24,0x00,0x7e]
+0x7f,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, 0    ; encoding: [0x80,0x24,0x00,0x7e]
+0x80,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, -1    ; encoding: [0xc1,0x24,0x00,0x7e]
+0xc1,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, 0.5    ; encoding: [0xf0,0x24,0x00,0x7e]
+0xf0,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, -4.0    ; encoding: [0xf7,0x24,0x00,0x7e]
+0xf7,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, scc    ; encoding: [0xfd,0x24,0x00,0x7e]
+0xfd,0x24,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, 0xaf123456    ; encoding: [0xff,0x24,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x24,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, 0x3f717273    ; encoding: [0xff,0x24,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x24,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, v0    ; encoding: [0x00,0x25,0x00,0x7e]
+0x00,0x25,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e32 v0, v255    ; encoding: [0xff,0x25,0x00,0x7e]
+0xff,0x25,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, s0    ; encoding: [0x00,0x00,0x52,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v255, s0    ; encoding: [0xff,0x00,0x52,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x52,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, s101    ; encoding: [0x00,0x00,0x52,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x52,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x52,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x52,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x52,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x52,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x52,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x52,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x52,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x52,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, m0    ; encoding: [0x00,0x00,0x52,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x52,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x52,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, 0    ; encoding: [0x00,0x00,0x52,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, -1    ; encoding: [0x00,0x00,0x52,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, 0.5    ; encoding: [0x00,0x00,0x52,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, -4.0    ; encoding: [0x00,0x00,0x52,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, scc    ; encoding: [0x00,0x00,0x52,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x52,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, v0    ; encoding: [0x00,0x00,0x52,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x52,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte1_e64 v0, v255    ; encoding: [0x00,0x00,0x52,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x52,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, s0    ; encoding: [0x00,0x26,0x00,0x7e]
+0x00,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v255, s0    ; encoding: [0x00,0x26,0xfe,0x7f]
+0x00,0x26,0xfe,0x7f
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, s101    ; encoding: [0x65,0x26,0x00,0x7e]
+0x65,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x26,0x00,0x7e]
+0x66,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x26,0x00,0x7e]
+0x67,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, vcc_lo    ; encoding: [0x6a,0x26,0x00,0x7e]
+0x6a,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, vcc_hi    ; encoding: [0x6b,0x26,0x00,0x7e]
+0x6b,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, tba_lo    ; encoding: [0x6c,0x26,0x00,0x7e]
+0x6c,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, tba_hi    ; encoding: [0x6d,0x26,0x00,0x7e]
+0x6d,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, tma_lo    ; encoding: [0x6e,0x26,0x00,0x7e]
+0x6e,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, tma_hi    ; encoding: [0x6f,0x26,0x00,0x7e]
+0x6f,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, ttmp11    ; encoding: [0x7b,0x26,0x00,0x7e]
+0x7b,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, m0    ; encoding: [0x7c,0x26,0x00,0x7e]
+0x7c,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, exec_lo    ; encoding: [0x7e,0x26,0x00,0x7e]
+0x7e,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, exec_hi    ; encoding: [0x7f,0x26,0x00,0x7e]
+0x7f,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, 0    ; encoding: [0x80,0x26,0x00,0x7e]
+0x80,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, -1    ; encoding: [0xc1,0x26,0x00,0x7e]
+0xc1,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, 0.5    ; encoding: [0xf0,0x26,0x00,0x7e]
+0xf0,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, -4.0    ; encoding: [0xf7,0x26,0x00,0x7e]
+0xf7,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, scc    ; encoding: [0xfd,0x26,0x00,0x7e]
+0xfd,0x26,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, 0xaf123456    ; encoding: [0xff,0x26,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x26,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, 0x3f717273    ; encoding: [0xff,0x26,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x26,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, v0    ; encoding: [0x00,0x27,0x00,0x7e]
+0x00,0x27,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e32 v0, v255    ; encoding: [0xff,0x27,0x00,0x7e]
+0xff,0x27,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, s0    ; encoding: [0x00,0x00,0x53,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v255, s0    ; encoding: [0xff,0x00,0x53,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x53,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, s101    ; encoding: [0x00,0x00,0x53,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x53,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x53,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x53,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x53,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x53,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x53,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x53,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x53,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x53,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, m0    ; encoding: [0x00,0x00,0x53,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x53,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x53,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, 0    ; encoding: [0x00,0x00,0x53,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, -1    ; encoding: [0x00,0x00,0x53,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, 0.5    ; encoding: [0x00,0x00,0x53,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, -4.0    ; encoding: [0x00,0x00,0x53,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, scc    ; encoding: [0x00,0x00,0x53,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x53,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, v0    ; encoding: [0x00,0x00,0x53,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x53,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte2_e64 v0, v255    ; encoding: [0x00,0x00,0x53,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x53,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, s0    ; encoding: [0x00,0x28,0x00,0x7e]
+0x00,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v255, s0    ; encoding: [0x00,0x28,0xfe,0x7f]
+0x00,0x28,0xfe,0x7f
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, s101    ; encoding: [0x65,0x28,0x00,0x7e]
+0x65,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x28,0x00,0x7e]
+0x66,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x28,0x00,0x7e]
+0x67,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, vcc_lo    ; encoding: [0x6a,0x28,0x00,0x7e]
+0x6a,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, vcc_hi    ; encoding: [0x6b,0x28,0x00,0x7e]
+0x6b,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, tba_lo    ; encoding: [0x6c,0x28,0x00,0x7e]
+0x6c,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, tba_hi    ; encoding: [0x6d,0x28,0x00,0x7e]
+0x6d,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, tma_lo    ; encoding: [0x6e,0x28,0x00,0x7e]
+0x6e,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, tma_hi    ; encoding: [0x6f,0x28,0x00,0x7e]
+0x6f,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, ttmp11    ; encoding: [0x7b,0x28,0x00,0x7e]
+0x7b,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, m0    ; encoding: [0x7c,0x28,0x00,0x7e]
+0x7c,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, exec_lo    ; encoding: [0x7e,0x28,0x00,0x7e]
+0x7e,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, exec_hi    ; encoding: [0x7f,0x28,0x00,0x7e]
+0x7f,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, 0    ; encoding: [0x80,0x28,0x00,0x7e]
+0x80,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, -1    ; encoding: [0xc1,0x28,0x00,0x7e]
+0xc1,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, 0.5    ; encoding: [0xf0,0x28,0x00,0x7e]
+0xf0,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, -4.0    ; encoding: [0xf7,0x28,0x00,0x7e]
+0xf7,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, scc    ; encoding: [0xfd,0x28,0x00,0x7e]
+0xfd,0x28,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, 0xaf123456    ; encoding: [0xff,0x28,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x28,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, 0x3f717273    ; encoding: [0xff,0x28,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x28,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, v0    ; encoding: [0x00,0x29,0x00,0x7e]
+0x00,0x29,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e32 v0, v255    ; encoding: [0xff,0x29,0x00,0x7e]
+0xff,0x29,0x00,0x7e
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, s0    ; encoding: [0x00,0x00,0x54,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v255, s0    ; encoding: [0xff,0x00,0x54,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x54,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, s101    ; encoding: [0x00,0x00,0x54,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x54,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x54,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x54,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x54,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x54,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x54,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x54,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x54,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x54,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, m0    ; encoding: [0x00,0x00,0x54,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x54,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x54,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, 0    ; encoding: [0x00,0x00,0x54,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, -1    ; encoding: [0x00,0x00,0x54,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, 0.5    ; encoding: [0x00,0x00,0x54,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, -4.0    ; encoding: [0x00,0x00,0x54,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, scc    ; encoding: [0x00,0x00,0x54,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x54,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, v0    ; encoding: [0x00,0x00,0x54,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x54,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f32_ubyte3_e64 v0, v255    ; encoding: [0x00,0x00,0x54,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x54,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e32 v0, s[0:1]    ; encoding: [0x00,0x2a,0x00,0x7e]
+0x00,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v255, s[0:1]    ; encoding: [0x00,0x2a,0xfe,0x7f]
+0x00,0x2a,0xfe,0x7f
+
+# CHECK: v_cvt_u32_f64_e32 v0, s[2:3]    ; encoding: [0x02,0x2a,0x00,0x7e]
+0x02,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, s[100:101]    ; encoding: [0x64,0x2a,0x00,0x7e]
+0x64,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, flat_scratch    ; encoding: [0x66,0x2a,0x00,0x7e]
+0x66,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, vcc    ; encoding: [0x6a,0x2a,0x00,0x7e]
+0x6a,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, tba    ; encoding: [0x6c,0x2a,0x00,0x7e]
+0x6c,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, tma    ; encoding: [0x6e,0x2a,0x00,0x7e]
+0x6e,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, ttmp[10:11]    ; encoding: [0x7a,0x2a,0x00,0x7e]
+0x7a,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, exec    ; encoding: [0x7e,0x2a,0x00,0x7e]
+0x7e,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, 0    ; encoding: [0x80,0x2a,0x00,0x7e]
+0x80,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, -1    ; encoding: [0xc1,0x2a,0x00,0x7e]
+0xc1,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, 0.5    ; encoding: [0xf0,0x2a,0x00,0x7e]
+0xf0,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, -4.0    ; encoding: [0xf7,0x2a,0x00,0x7e]
+0xf7,0x2a,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, 0xaf123456    ; encoding: [0xff,0x2a,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x2a,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_u32_f64_e32 v0, 0x3f717273    ; encoding: [0xff,0x2a,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x2a,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_u32_f64_e32 v0, v[0:1]    ; encoding: [0x00,0x2b,0x00,0x7e]
+0x00,0x2b,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e32 v0, v[254:255]    ; encoding: [0xfe,0x2b,0x00,0x7e]
+0xfe,0x2b,0x00,0x7e
+
+# CHECK: v_cvt_u32_f64_e64 v0, s[0:1]    ; encoding: [0x00,0x00,0x55,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v255, s[0:1]    ; encoding: [0xff,0x00,0x55,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x55,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, s[2:3]    ; encoding: [0x00,0x00,0x55,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, s[100:101]    ; encoding: [0x00,0x00,0x55,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, flat_scratch    ; encoding: [0x00,0x00,0x55,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, vcc    ; encoding: [0x00,0x00,0x55,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, tba    ; encoding: [0x00,0x00,0x55,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, tma    ; encoding: [0x00,0x00,0x55,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, ttmp[10:11]    ; encoding: [0x00,0x00,0x55,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, exec    ; encoding: [0x00,0x00,0x55,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, 0    ; encoding: [0x00,0x00,0x55,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, -1    ; encoding: [0x00,0x00,0x55,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, 0.5    ; encoding: [0x00,0x00,0x55,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, -4.0    ; encoding: [0x00,0x00,0x55,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x55,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, v[0:1]    ; encoding: [0x00,0x00,0x55,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x55,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, v[254:255]    ; encoding: [0x00,0x00,0x55,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x55,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, -s[0:1]    ; encoding: [0x00,0x00,0x55,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x55,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cvt_u32_f64_e64 v0, |s[0:1]|    ; encoding: [0x00,0x01,0x55,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x55,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_u32_f64_e64 v0, s[0:1] clamp    ; encoding: [0x00,0x80,0x55,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x55,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], s0    ; encoding: [0x00,0x2c,0x00,0x7e]
+0x00,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[254:255], s0    ; encoding: [0x00,0x2c,0xfc,0x7f]
+0x00,0x2c,0xfc,0x7f
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], s101    ; encoding: [0x65,0x2c,0x00,0x7e]
+0x65,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], flat_scratch_lo    ; encoding: [0x66,0x2c,0x00,0x7e]
+0x66,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], flat_scratch_hi    ; encoding: [0x67,0x2c,0x00,0x7e]
+0x67,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], vcc_lo    ; encoding: [0x6a,0x2c,0x00,0x7e]
+0x6a,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], vcc_hi    ; encoding: [0x6b,0x2c,0x00,0x7e]
+0x6b,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], tba_lo    ; encoding: [0x6c,0x2c,0x00,0x7e]
+0x6c,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], tba_hi    ; encoding: [0x6d,0x2c,0x00,0x7e]
+0x6d,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], tma_lo    ; encoding: [0x6e,0x2c,0x00,0x7e]
+0x6e,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], tma_hi    ; encoding: [0x6f,0x2c,0x00,0x7e]
+0x6f,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], ttmp11    ; encoding: [0x7b,0x2c,0x00,0x7e]
+0x7b,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], m0    ; encoding: [0x7c,0x2c,0x00,0x7e]
+0x7c,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], exec_lo    ; encoding: [0x7e,0x2c,0x00,0x7e]
+0x7e,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], exec_hi    ; encoding: [0x7f,0x2c,0x00,0x7e]
+0x7f,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], 0    ; encoding: [0x80,0x2c,0x00,0x7e]
+0x80,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], -1    ; encoding: [0xc1,0x2c,0x00,0x7e]
+0xc1,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], 0.5    ; encoding: [0xf0,0x2c,0x00,0x7e]
+0xf0,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], -4.0    ; encoding: [0xf7,0x2c,0x00,0x7e]
+0xf7,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], scc    ; encoding: [0xfd,0x2c,0x00,0x7e]
+0xfd,0x2c,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x2c,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x2c,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x2c,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x2c,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], v0    ; encoding: [0x00,0x2d,0x00,0x7e]
+0x00,0x2d,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e32 v[0:1], v255    ; encoding: [0xff,0x2d,0x00,0x7e]
+0xff,0x2d,0x00,0x7e
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], s0    ; encoding: [0x00,0x00,0x56,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[254:255], s0    ; encoding: [0xfe,0x00,0x56,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x56,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], s101    ; encoding: [0x00,0x00,0x56,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], flat_scratch_lo    ; encoding: [0x00,0x00,0x56,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], flat_scratch_hi    ; encoding: [0x00,0x00,0x56,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], vcc_lo    ; encoding: [0x00,0x00,0x56,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], vcc_hi    ; encoding: [0x00,0x00,0x56,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], tba_lo    ; encoding: [0x00,0x00,0x56,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], tba_hi    ; encoding: [0x00,0x00,0x56,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], tma_lo    ; encoding: [0x00,0x00,0x56,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], tma_hi    ; encoding: [0x00,0x00,0x56,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], ttmp11    ; encoding: [0x00,0x00,0x56,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], m0    ; encoding: [0x00,0x00,0x56,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], exec_lo    ; encoding: [0x00,0x00,0x56,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], exec_hi    ; encoding: [0x00,0x00,0x56,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x56,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x56,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x56,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x56,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], scc    ; encoding: [0x00,0x00,0x56,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x56,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], v0    ; encoding: [0x00,0x00,0x56,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x56,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cvt_f64_u32_e64 v[0:1], v255    ; encoding: [0x00,0x00,0x56,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x56,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_trunc_f64_e32 v[0:1], s[0:1]    ; encoding: [0x00,0x2e,0x00,0x7e]
+0x00,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[254:255], s[0:1]    ; encoding: [0x00,0x2e,0xfc,0x7f]
+0x00,0x2e,0xfc,0x7f
+
+# CHECK: v_trunc_f64_e32 v[0:1], s[2:3]    ; encoding: [0x02,0x2e,0x00,0x7e]
+0x02,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], s[100:101]    ; encoding: [0x64,0x2e,0x00,0x7e]
+0x64,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], flat_scratch    ; encoding: [0x66,0x2e,0x00,0x7e]
+0x66,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], vcc    ; encoding: [0x6a,0x2e,0x00,0x7e]
+0x6a,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], tba    ; encoding: [0x6c,0x2e,0x00,0x7e]
+0x6c,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], tma    ; encoding: [0x6e,0x2e,0x00,0x7e]
+0x6e,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], ttmp[10:11]    ; encoding: [0x7a,0x2e,0x00,0x7e]
+0x7a,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], exec    ; encoding: [0x7e,0x2e,0x00,0x7e]
+0x7e,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], 0    ; encoding: [0x80,0x2e,0x00,0x7e]
+0x80,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], -1    ; encoding: [0xc1,0x2e,0x00,0x7e]
+0xc1,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], 0.5    ; encoding: [0xf0,0x2e,0x00,0x7e]
+0xf0,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], -4.0    ; encoding: [0xf7,0x2e,0x00,0x7e]
+0xf7,0x2e,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x2e,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x2e,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_trunc_f64_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x2e,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x2e,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_trunc_f64_e32 v[0:1], v[0:1]    ; encoding: [0x00,0x2f,0x00,0x7e]
+0x00,0x2f,0x00,0x7e
+
+# CHECK: v_trunc_f64_e32 v[0:1], v[254:255]    ; encoding: [0xfe,0x2f,0x00,0x7e]
+0xfe,0x2f,0x00,0x7e
+
+# CHECK: v_trunc_f64_e64 v[0:1], s[0:1]    ; encoding: [0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[254:255], s[0:1]    ; encoding: [0xfe,0x00,0x57,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x57,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], s[2:3]    ; encoding: [0x00,0x00,0x57,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], s[100:101]    ; encoding: [0x00,0x00,0x57,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], flat_scratch    ; encoding: [0x00,0x00,0x57,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], vcc    ; encoding: [0x00,0x00,0x57,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], tba    ; encoding: [0x00,0x00,0x57,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], tma    ; encoding: [0x00,0x00,0x57,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], ttmp[10:11]    ; encoding: [0x00,0x00,0x57,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], exec    ; encoding: [0x00,0x00,0x57,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x57,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x57,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x57,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x57,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x57,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x57,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x57,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x57,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x57,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], -s[0:1]    ; encoding: [0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_trunc_f64_e64 v[0:1], |s[0:1]|    ; encoding: [0x00,0x01,0x57,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x57,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], s[0:1] clamp    ; encoding: [0x00,0x80,0x57,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x57,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_trunc_f64_e64 v[0:1], s[0:1] mul:2    ; encoding: [0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_trunc_f64_e64 v[0:1], s[0:1] mul:4    ; encoding: [0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_trunc_f64_e64 v[0:1], s[0:1] div:2    ; encoding: [0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x57,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_ceil_f64_e32 v[0:1], s[0:1]    ; encoding: [0x00,0x30,0x00,0x7e]
+0x00,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[254:255], s[0:1]    ; encoding: [0x00,0x30,0xfc,0x7f]
+0x00,0x30,0xfc,0x7f
+
+# CHECK: v_ceil_f64_e32 v[0:1], s[2:3]    ; encoding: [0x02,0x30,0x00,0x7e]
+0x02,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], s[100:101]    ; encoding: [0x64,0x30,0x00,0x7e]
+0x64,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], flat_scratch    ; encoding: [0x66,0x30,0x00,0x7e]
+0x66,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], vcc    ; encoding: [0x6a,0x30,0x00,0x7e]
+0x6a,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], tba    ; encoding: [0x6c,0x30,0x00,0x7e]
+0x6c,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], tma    ; encoding: [0x6e,0x30,0x00,0x7e]
+0x6e,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], ttmp[10:11]    ; encoding: [0x7a,0x30,0x00,0x7e]
+0x7a,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], exec    ; encoding: [0x7e,0x30,0x00,0x7e]
+0x7e,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], 0    ; encoding: [0x80,0x30,0x00,0x7e]
+0x80,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], -1    ; encoding: [0xc1,0x30,0x00,0x7e]
+0xc1,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], 0.5    ; encoding: [0xf0,0x30,0x00,0x7e]
+0xf0,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], -4.0    ; encoding: [0xf7,0x30,0x00,0x7e]
+0xf7,0x30,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x30,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x30,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_ceil_f64_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x30,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x30,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_ceil_f64_e32 v[0:1], v[0:1]    ; encoding: [0x00,0x31,0x00,0x7e]
+0x00,0x31,0x00,0x7e
+
+# CHECK: v_ceil_f64_e32 v[0:1], v[254:255]    ; encoding: [0xfe,0x31,0x00,0x7e]
+0xfe,0x31,0x00,0x7e
+
+# CHECK: v_ceil_f64_e64 v[0:1], s[0:1]    ; encoding: [0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[254:255], s[0:1]    ; encoding: [0xfe,0x00,0x58,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x58,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], s[2:3]    ; encoding: [0x00,0x00,0x58,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], s[100:101]    ; encoding: [0x00,0x00,0x58,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], flat_scratch    ; encoding: [0x00,0x00,0x58,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], vcc    ; encoding: [0x00,0x00,0x58,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], tba    ; encoding: [0x00,0x00,0x58,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], tma    ; encoding: [0x00,0x00,0x58,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], ttmp[10:11]    ; encoding: [0x00,0x00,0x58,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], exec    ; encoding: [0x00,0x00,0x58,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x58,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x58,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x58,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x58,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x58,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x58,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x58,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x58,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x58,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], -s[0:1]    ; encoding: [0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_ceil_f64_e64 v[0:1], |s[0:1]|    ; encoding: [0x00,0x01,0x58,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x58,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], s[0:1] clamp    ; encoding: [0x00,0x80,0x58,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x58,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ceil_f64_e64 v[0:1], s[0:1] mul:2    ; encoding: [0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_ceil_f64_e64 v[0:1], s[0:1] mul:4    ; encoding: [0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_ceil_f64_e64 v[0:1], s[0:1] div:2    ; encoding: [0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x58,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_rndne_f64_e32 v[0:1], s[0:1]    ; encoding: [0x00,0x32,0x00,0x7e]
+0x00,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[254:255], s[0:1]    ; encoding: [0x00,0x32,0xfc,0x7f]
+0x00,0x32,0xfc,0x7f
+
+# CHECK: v_rndne_f64_e32 v[0:1], s[2:3]    ; encoding: [0x02,0x32,0x00,0x7e]
+0x02,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], s[100:101]    ; encoding: [0x64,0x32,0x00,0x7e]
+0x64,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], flat_scratch    ; encoding: [0x66,0x32,0x00,0x7e]
+0x66,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], vcc    ; encoding: [0x6a,0x32,0x00,0x7e]
+0x6a,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], tba    ; encoding: [0x6c,0x32,0x00,0x7e]
+0x6c,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], tma    ; encoding: [0x6e,0x32,0x00,0x7e]
+0x6e,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], ttmp[10:11]    ; encoding: [0x7a,0x32,0x00,0x7e]
+0x7a,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], exec    ; encoding: [0x7e,0x32,0x00,0x7e]
+0x7e,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], 0    ; encoding: [0x80,0x32,0x00,0x7e]
+0x80,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], -1    ; encoding: [0xc1,0x32,0x00,0x7e]
+0xc1,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], 0.5    ; encoding: [0xf0,0x32,0x00,0x7e]
+0xf0,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], -4.0    ; encoding: [0xf7,0x32,0x00,0x7e]
+0xf7,0x32,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x32,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x32,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_rndne_f64_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x32,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x32,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_rndne_f64_e32 v[0:1], v[0:1]    ; encoding: [0x00,0x33,0x00,0x7e]
+0x00,0x33,0x00,0x7e
+
+# CHECK: v_rndne_f64_e32 v[0:1], v[254:255]    ; encoding: [0xfe,0x33,0x00,0x7e]
+0xfe,0x33,0x00,0x7e
+
+# CHECK: v_rndne_f64_e64 v[0:1], s[0:1]    ; encoding: [0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[254:255], s[0:1]    ; encoding: [0xfe,0x00,0x59,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x59,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], s[2:3]    ; encoding: [0x00,0x00,0x59,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], s[100:101]    ; encoding: [0x00,0x00,0x59,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], flat_scratch    ; encoding: [0x00,0x00,0x59,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], vcc    ; encoding: [0x00,0x00,0x59,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], tba    ; encoding: [0x00,0x00,0x59,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], tma    ; encoding: [0x00,0x00,0x59,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], ttmp[10:11]    ; encoding: [0x00,0x00,0x59,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], exec    ; encoding: [0x00,0x00,0x59,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x59,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x59,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x59,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x59,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x59,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x59,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x59,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x59,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x59,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], -s[0:1]    ; encoding: [0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_rndne_f64_e64 v[0:1], s[0:1] clamp    ; encoding: [0x00,0x80,0x59,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x59,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rndne_f64_e64 v[0:1], s[0:1] mul:2    ; encoding: [0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_rndne_f64_e64 v[0:1], s[0:1] mul:4    ; encoding: [0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_rndne_f64_e64 v[0:1], s[0:1] div:2    ; encoding: [0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x59,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_floor_f64_e32 v[0:1], s[0:1]    ; encoding: [0x00,0x34,0x00,0x7e]
+0x00,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[254:255], s[0:1]    ; encoding: [0x00,0x34,0xfc,0x7f]
+0x00,0x34,0xfc,0x7f
+
+# CHECK: v_floor_f64_e32 v[0:1], s[2:3]    ; encoding: [0x02,0x34,0x00,0x7e]
+0x02,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], s[100:101]    ; encoding: [0x64,0x34,0x00,0x7e]
+0x64,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], flat_scratch    ; encoding: [0x66,0x34,0x00,0x7e]
+0x66,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], vcc    ; encoding: [0x6a,0x34,0x00,0x7e]
+0x6a,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], tba    ; encoding: [0x6c,0x34,0x00,0x7e]
+0x6c,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], tma    ; encoding: [0x6e,0x34,0x00,0x7e]
+0x6e,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], ttmp[10:11]    ; encoding: [0x7a,0x34,0x00,0x7e]
+0x7a,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], exec    ; encoding: [0x7e,0x34,0x00,0x7e]
+0x7e,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], 0    ; encoding: [0x80,0x34,0x00,0x7e]
+0x80,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], -1    ; encoding: [0xc1,0x34,0x00,0x7e]
+0xc1,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], 0.5    ; encoding: [0xf0,0x34,0x00,0x7e]
+0xf0,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], -4.0    ; encoding: [0xf7,0x34,0x00,0x7e]
+0xf7,0x34,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x34,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x34,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_floor_f64_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x34,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x34,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_floor_f64_e32 v[0:1], v[0:1]    ; encoding: [0x00,0x35,0x00,0x7e]
+0x00,0x35,0x00,0x7e
+
+# CHECK: v_floor_f64_e32 v[0:1], v[254:255]    ; encoding: [0xfe,0x35,0x00,0x7e]
+0xfe,0x35,0x00,0x7e
+
+# CHECK: v_floor_f64_e64 v[0:1], s[0:1]    ; encoding: [0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[254:255], s[0:1]    ; encoding: [0xfe,0x00,0x5a,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x5a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], s[2:3]    ; encoding: [0x00,0x00,0x5a,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], s[100:101]    ; encoding: [0x00,0x00,0x5a,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], flat_scratch    ; encoding: [0x00,0x00,0x5a,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], vcc    ; encoding: [0x00,0x00,0x5a,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], tba    ; encoding: [0x00,0x00,0x5a,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], tma    ; encoding: [0x00,0x00,0x5a,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], ttmp[10:11]    ; encoding: [0x00,0x00,0x5a,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], exec    ; encoding: [0x00,0x00,0x5a,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x5a,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x5a,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x5a,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x5a,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x5a,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x5a,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x5a,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], -s[0:1]    ; encoding: [0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_floor_f64_e64 v[0:1], s[0:1] clamp    ; encoding: [0x00,0x80,0x5a,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x5a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_floor_f64_e64 v[0:1], s[0:1] mul:2    ; encoding: [0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_floor_f64_e64 v[0:1], s[0:1] mul:4    ; encoding: [0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_floor_f64_e64 v[0:1], s[0:1] div:2    ; encoding: [0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x5a,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_fract_f32_e32 v0, s0    ; encoding: [0x00,0x36,0x00,0x7e]
+0x00,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v255, s0    ; encoding: [0x00,0x36,0xfe,0x7f]
+0x00,0x36,0xfe,0x7f
+
+# CHECK: v_fract_f32_e32 v0, s101    ; encoding: [0x65,0x36,0x00,0x7e]
+0x65,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x36,0x00,0x7e]
+0x66,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x36,0x00,0x7e]
+0x67,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x36,0x00,0x7e]
+0x6a,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x36,0x00,0x7e]
+0x6b,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x36,0x00,0x7e]
+0x6c,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x36,0x00,0x7e]
+0x6d,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x36,0x00,0x7e]
+0x6e,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x36,0x00,0x7e]
+0x6f,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x36,0x00,0x7e]
+0x7b,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, m0    ; encoding: [0x7c,0x36,0x00,0x7e]
+0x7c,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x36,0x00,0x7e]
+0x7e,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x36,0x00,0x7e]
+0x7f,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, 0    ; encoding: [0x80,0x36,0x00,0x7e]
+0x80,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, -1    ; encoding: [0xc1,0x36,0x00,0x7e]
+0xc1,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, 0.5    ; encoding: [0xf0,0x36,0x00,0x7e]
+0xf0,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, -4.0    ; encoding: [0xf7,0x36,0x00,0x7e]
+0xf7,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, scc    ; encoding: [0xfd,0x36,0x00,0x7e]
+0xfd,0x36,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x36,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x36,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_fract_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x36,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x36,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_fract_f32_e32 v0, v0    ; encoding: [0x00,0x37,0x00,0x7e]
+0x00,0x37,0x00,0x7e
+
+# CHECK: v_fract_f32_e32 v0, v255    ; encoding: [0xff,0x37,0x00,0x7e]
+0xff,0x37,0x00,0x7e
+
+# CHECK: v_fract_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x5b,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x5b,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x5b,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x5b,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x5b,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x5b,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x5b,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x5b,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x5b,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x5b,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x5b,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x5b,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x5b,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x5b,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x5b,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x5b,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x5b,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x5b,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x5b,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x5b,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x5b,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x5b,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x5b,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_fract_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x5b,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x5b,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_fract_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_fract_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_fract_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x5b,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_trunc_f32_e32 v0, s0    ; encoding: [0x00,0x38,0x00,0x7e]
+0x00,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v255, s0    ; encoding: [0x00,0x38,0xfe,0x7f]
+0x00,0x38,0xfe,0x7f
+
+# CHECK: v_trunc_f32_e32 v0, s101    ; encoding: [0x65,0x38,0x00,0x7e]
+0x65,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x38,0x00,0x7e]
+0x66,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x38,0x00,0x7e]
+0x67,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x38,0x00,0x7e]
+0x6a,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x38,0x00,0x7e]
+0x6b,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x38,0x00,0x7e]
+0x6c,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x38,0x00,0x7e]
+0x6d,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x38,0x00,0x7e]
+0x6e,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x38,0x00,0x7e]
+0x6f,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x38,0x00,0x7e]
+0x7b,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, m0    ; encoding: [0x7c,0x38,0x00,0x7e]
+0x7c,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x38,0x00,0x7e]
+0x7e,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x38,0x00,0x7e]
+0x7f,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, 0    ; encoding: [0x80,0x38,0x00,0x7e]
+0x80,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, -1    ; encoding: [0xc1,0x38,0x00,0x7e]
+0xc1,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, 0.5    ; encoding: [0xf0,0x38,0x00,0x7e]
+0xf0,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, -4.0    ; encoding: [0xf7,0x38,0x00,0x7e]
+0xf7,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, scc    ; encoding: [0xfd,0x38,0x00,0x7e]
+0xfd,0x38,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x38,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x38,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_trunc_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x38,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x38,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_trunc_f32_e32 v0, v0    ; encoding: [0x00,0x39,0x00,0x7e]
+0x00,0x39,0x00,0x7e
+
+# CHECK: v_trunc_f32_e32 v0, v255    ; encoding: [0xff,0x39,0x00,0x7e]
+0xff,0x39,0x00,0x7e
+
+# CHECK: v_trunc_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x5c,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x5c,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x5c,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x5c,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x5c,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x5c,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x5c,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x5c,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x5c,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x5c,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x5c,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x5c,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x5c,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x5c,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x5c,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x5c,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x5c,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x5c,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x5c,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x5c,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x5c,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x5c,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x5c,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_trunc_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x5c,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x5c,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_trunc_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_trunc_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_trunc_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x5c,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_ceil_f32_e32 v0, s0    ; encoding: [0x00,0x3a,0x00,0x7e]
+0x00,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v255, s0    ; encoding: [0x00,0x3a,0xfe,0x7f]
+0x00,0x3a,0xfe,0x7f
+
+# CHECK: v_ceil_f32_e32 v0, s101    ; encoding: [0x65,0x3a,0x00,0x7e]
+0x65,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x3a,0x00,0x7e]
+0x66,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x3a,0x00,0x7e]
+0x67,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x3a,0x00,0x7e]
+0x6a,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x3a,0x00,0x7e]
+0x6b,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x3a,0x00,0x7e]
+0x6c,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x3a,0x00,0x7e]
+0x6d,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x3a,0x00,0x7e]
+0x6e,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x3a,0x00,0x7e]
+0x6f,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x3a,0x00,0x7e]
+0x7b,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, m0    ; encoding: [0x7c,0x3a,0x00,0x7e]
+0x7c,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x3a,0x00,0x7e]
+0x7e,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x3a,0x00,0x7e]
+0x7f,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, 0    ; encoding: [0x80,0x3a,0x00,0x7e]
+0x80,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, -1    ; encoding: [0xc1,0x3a,0x00,0x7e]
+0xc1,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, 0.5    ; encoding: [0xf0,0x3a,0x00,0x7e]
+0xf0,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, -4.0    ; encoding: [0xf7,0x3a,0x00,0x7e]
+0xf7,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, scc    ; encoding: [0xfd,0x3a,0x00,0x7e]
+0xfd,0x3a,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x3a,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x3a,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_ceil_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x3a,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x3a,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_ceil_f32_e32 v0, v0    ; encoding: [0x00,0x3b,0x00,0x7e]
+0x00,0x3b,0x00,0x7e
+
+# CHECK: v_ceil_f32_e32 v0, v255    ; encoding: [0xff,0x3b,0x00,0x7e]
+0xff,0x3b,0x00,0x7e
+
+# CHECK: v_ceil_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x5d,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x5d,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x5d,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x5d,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x5d,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x5d,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x5d,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x5d,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x5d,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x5d,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x5d,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x5d,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x5d,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x5d,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x5d,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x5d,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x5d,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x5d,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x5d,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x5d,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x5d,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x5d,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x5d,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_ceil_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x5d,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x5d,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ceil_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_ceil_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_ceil_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x5d,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_rndne_f32_e32 v0, s0    ; encoding: [0x00,0x3c,0x00,0x7e]
+0x00,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v255, s0    ; encoding: [0x00,0x3c,0xfe,0x7f]
+0x00,0x3c,0xfe,0x7f
+
+# CHECK: v_rndne_f32_e32 v0, s101    ; encoding: [0x65,0x3c,0x00,0x7e]
+0x65,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x3c,0x00,0x7e]
+0x66,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x3c,0x00,0x7e]
+0x67,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x3c,0x00,0x7e]
+0x6a,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x3c,0x00,0x7e]
+0x6b,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x3c,0x00,0x7e]
+0x6c,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x3c,0x00,0x7e]
+0x6d,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x3c,0x00,0x7e]
+0x6e,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x3c,0x00,0x7e]
+0x6f,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x3c,0x00,0x7e]
+0x7b,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, m0    ; encoding: [0x7c,0x3c,0x00,0x7e]
+0x7c,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x3c,0x00,0x7e]
+0x7e,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x3c,0x00,0x7e]
+0x7f,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, 0    ; encoding: [0x80,0x3c,0x00,0x7e]
+0x80,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, -1    ; encoding: [0xc1,0x3c,0x00,0x7e]
+0xc1,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, 0.5    ; encoding: [0xf0,0x3c,0x00,0x7e]
+0xf0,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, -4.0    ; encoding: [0xf7,0x3c,0x00,0x7e]
+0xf7,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, scc    ; encoding: [0xfd,0x3c,0x00,0x7e]
+0xfd,0x3c,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x3c,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x3c,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_rndne_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x3c,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x3c,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_rndne_f32_e32 v0, v0    ; encoding: [0x00,0x3d,0x00,0x7e]
+0x00,0x3d,0x00,0x7e
+
+# CHECK: v_rndne_f32_e32 v0, v255    ; encoding: [0xff,0x3d,0x00,0x7e]
+0xff,0x3d,0x00,0x7e
+
+# CHECK: v_rndne_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x5e,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x5e,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x5e,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x5e,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x5e,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x5e,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x5e,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x5e,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x5e,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x5e,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x5e,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x5e,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x5e,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x5e,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x5e,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x5e,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x5e,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x5e,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x5e,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x5e,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x5e,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x5e,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x5e,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_rndne_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x5e,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x5e,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rndne_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_rndne_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_rndne_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x5e,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_floor_f32_e32 v0, s0    ; encoding: [0x00,0x3e,0x00,0x7e]
+0x00,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v255, s0    ; encoding: [0x00,0x3e,0xfe,0x7f]
+0x00,0x3e,0xfe,0x7f
+
+# CHECK: v_floor_f32_e32 v0, s101    ; encoding: [0x65,0x3e,0x00,0x7e]
+0x65,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x3e,0x00,0x7e]
+0x66,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x3e,0x00,0x7e]
+0x67,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x3e,0x00,0x7e]
+0x6a,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x3e,0x00,0x7e]
+0x6b,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x3e,0x00,0x7e]
+0x6c,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x3e,0x00,0x7e]
+0x6d,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x3e,0x00,0x7e]
+0x6e,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x3e,0x00,0x7e]
+0x6f,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x3e,0x00,0x7e]
+0x7b,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, m0    ; encoding: [0x7c,0x3e,0x00,0x7e]
+0x7c,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x3e,0x00,0x7e]
+0x7e,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x3e,0x00,0x7e]
+0x7f,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, 0    ; encoding: [0x80,0x3e,0x00,0x7e]
+0x80,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, -1    ; encoding: [0xc1,0x3e,0x00,0x7e]
+0xc1,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, 0.5    ; encoding: [0xf0,0x3e,0x00,0x7e]
+0xf0,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, -4.0    ; encoding: [0xf7,0x3e,0x00,0x7e]
+0xf7,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, scc    ; encoding: [0xfd,0x3e,0x00,0x7e]
+0xfd,0x3e,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x3e,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x3e,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_floor_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x3e,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x3e,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_floor_f32_e32 v0, v0    ; encoding: [0x00,0x3f,0x00,0x7e]
+0x00,0x3f,0x00,0x7e
+
+# CHECK: v_floor_f32_e32 v0, v255    ; encoding: [0xff,0x3f,0x00,0x7e]
+0xff,0x3f,0x00,0x7e
+
+# CHECK: v_floor_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x5f,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x5f,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x5f,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x5f,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x5f,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x5f,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x5f,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x5f,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x5f,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x5f,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x5f,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x5f,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x5f,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x5f,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x5f,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x5f,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x5f,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x5f,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x5f,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x5f,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x5f,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x5f,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x5f,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_floor_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x5f,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x5f,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x5f,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x5f,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_floor_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_floor_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_floor_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x5f,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_exp_f32_e32 v0, s0    ; encoding: [0x00,0x40,0x00,0x7e]
+0x00,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v255, s0    ; encoding: [0x00,0x40,0xfe,0x7f]
+0x00,0x40,0xfe,0x7f
+
+# CHECK: v_exp_f32_e32 v0, s101    ; encoding: [0x65,0x40,0x00,0x7e]
+0x65,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x40,0x00,0x7e]
+0x66,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x40,0x00,0x7e]
+0x67,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x40,0x00,0x7e]
+0x6a,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x40,0x00,0x7e]
+0x6b,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x40,0x00,0x7e]
+0x6c,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x40,0x00,0x7e]
+0x6d,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x40,0x00,0x7e]
+0x6e,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x40,0x00,0x7e]
+0x6f,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x40,0x00,0x7e]
+0x7b,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, m0    ; encoding: [0x7c,0x40,0x00,0x7e]
+0x7c,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x40,0x00,0x7e]
+0x7e,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x40,0x00,0x7e]
+0x7f,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, 0    ; encoding: [0x80,0x40,0x00,0x7e]
+0x80,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, -1    ; encoding: [0xc1,0x40,0x00,0x7e]
+0xc1,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, 0.5    ; encoding: [0xf0,0x40,0x00,0x7e]
+0xf0,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, -4.0    ; encoding: [0xf7,0x40,0x00,0x7e]
+0xf7,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, scc    ; encoding: [0xfd,0x40,0x00,0x7e]
+0xfd,0x40,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x40,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x40,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_exp_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x40,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x40,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_exp_f32_e32 v0, v0    ; encoding: [0x00,0x41,0x00,0x7e]
+0x00,0x41,0x00,0x7e
+
+# CHECK: v_exp_f32_e32 v0, v255    ; encoding: [0xff,0x41,0x00,0x7e]
+0xff,0x41,0x00,0x7e
+
+# CHECK: v_exp_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x60,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x60,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x60,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x60,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x60,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x60,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x60,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x60,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x60,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x60,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x60,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x60,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x60,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x60,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x60,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x60,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x60,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x60,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x60,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x60,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x60,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x60,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x60,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x60,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x60,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_exp_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x60,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x60,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x60,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x60,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_exp_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_exp_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_exp_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x60,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_log_f32_e32 v0, s0    ; encoding: [0x00,0x42,0x00,0x7e]
+0x00,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v255, s0    ; encoding: [0x00,0x42,0xfe,0x7f]
+0x00,0x42,0xfe,0x7f
+
+# CHECK: v_log_f32_e32 v0, s101    ; encoding: [0x65,0x42,0x00,0x7e]
+0x65,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x42,0x00,0x7e]
+0x66,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x42,0x00,0x7e]
+0x67,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x42,0x00,0x7e]
+0x6a,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x42,0x00,0x7e]
+0x6b,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x42,0x00,0x7e]
+0x6c,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x42,0x00,0x7e]
+0x6d,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x42,0x00,0x7e]
+0x6e,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x42,0x00,0x7e]
+0x6f,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x42,0x00,0x7e]
+0x7b,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, m0    ; encoding: [0x7c,0x42,0x00,0x7e]
+0x7c,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x42,0x00,0x7e]
+0x7e,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x42,0x00,0x7e]
+0x7f,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, 0    ; encoding: [0x80,0x42,0x00,0x7e]
+0x80,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, -1    ; encoding: [0xc1,0x42,0x00,0x7e]
+0xc1,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, 0.5    ; encoding: [0xf0,0x42,0x00,0x7e]
+0xf0,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, -4.0    ; encoding: [0xf7,0x42,0x00,0x7e]
+0xf7,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, scc    ; encoding: [0xfd,0x42,0x00,0x7e]
+0xfd,0x42,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x42,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x42,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_log_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x42,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x42,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_log_f32_e32 v0, v0    ; encoding: [0x00,0x43,0x00,0x7e]
+0x00,0x43,0x00,0x7e
+
+# CHECK: v_log_f32_e32 v0, v255    ; encoding: [0xff,0x43,0x00,0x7e]
+0xff,0x43,0x00,0x7e
+
+# CHECK: v_log_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x61,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x61,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x61,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x61,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x61,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x61,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x61,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x61,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x61,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x61,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x61,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x61,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x61,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x61,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x61,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x61,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x61,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x61,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x61,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x61,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x61,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x61,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x61,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x61,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x61,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_log_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x61,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x61,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x61,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x61,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_log_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_log_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_log_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x61,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_rcp_f32_e32 v0, s0    ; encoding: [0x00,0x44,0x00,0x7e]
+0x00,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v255, s0    ; encoding: [0x00,0x44,0xfe,0x7f]
+0x00,0x44,0xfe,0x7f
+
+# CHECK: v_rcp_f32_e32 v0, s101    ; encoding: [0x65,0x44,0x00,0x7e]
+0x65,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x44,0x00,0x7e]
+0x66,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x44,0x00,0x7e]
+0x67,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x44,0x00,0x7e]
+0x6a,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x44,0x00,0x7e]
+0x6b,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x44,0x00,0x7e]
+0x6c,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x44,0x00,0x7e]
+0x6d,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x44,0x00,0x7e]
+0x6e,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x44,0x00,0x7e]
+0x6f,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x44,0x00,0x7e]
+0x7b,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, m0    ; encoding: [0x7c,0x44,0x00,0x7e]
+0x7c,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x44,0x00,0x7e]
+0x7e,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x44,0x00,0x7e]
+0x7f,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, 0    ; encoding: [0x80,0x44,0x00,0x7e]
+0x80,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, -1    ; encoding: [0xc1,0x44,0x00,0x7e]
+0xc1,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, 0.5    ; encoding: [0xf0,0x44,0x00,0x7e]
+0xf0,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, -4.0    ; encoding: [0xf7,0x44,0x00,0x7e]
+0xf7,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, scc    ; encoding: [0xfd,0x44,0x00,0x7e]
+0xfd,0x44,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x44,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x44,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_rcp_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x44,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x44,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_rcp_f32_e32 v0, v0    ; encoding: [0x00,0x45,0x00,0x7e]
+0x00,0x45,0x00,0x7e
+
+# CHECK: v_rcp_f32_e32 v0, v255    ; encoding: [0xff,0x45,0x00,0x7e]
+0xff,0x45,0x00,0x7e
+
+# CHECK: v_rcp_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x62,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x62,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x62,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x62,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x62,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x62,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x62,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x62,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x62,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x62,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x62,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x62,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x62,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x62,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x62,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x62,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x62,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x62,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x62,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x62,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x62,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x62,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x62,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x62,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x62,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_rcp_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x62,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x62,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x62,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x62,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_rcp_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_rcp_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x62,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_rcp_iflag_f32_e32 v0, s0    ; encoding: [0x00,0x46,0x00,0x7e]
+0x00,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v255, s0    ; encoding: [0x00,0x46,0xfe,0x7f]
+0x00,0x46,0xfe,0x7f
+
+# CHECK: v_rcp_iflag_f32_e32 v0, s101    ; encoding: [0x65,0x46,0x00,0x7e]
+0x65,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x46,0x00,0x7e]
+0x66,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x46,0x00,0x7e]
+0x67,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x46,0x00,0x7e]
+0x6a,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x46,0x00,0x7e]
+0x6b,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x46,0x00,0x7e]
+0x6c,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x46,0x00,0x7e]
+0x6d,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x46,0x00,0x7e]
+0x6e,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x46,0x00,0x7e]
+0x6f,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x46,0x00,0x7e]
+0x7b,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, m0    ; encoding: [0x7c,0x46,0x00,0x7e]
+0x7c,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x46,0x00,0x7e]
+0x7e,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x46,0x00,0x7e]
+0x7f,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, 0    ; encoding: [0x80,0x46,0x00,0x7e]
+0x80,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, -1    ; encoding: [0xc1,0x46,0x00,0x7e]
+0xc1,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, 0.5    ; encoding: [0xf0,0x46,0x00,0x7e]
+0xf0,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, -4.0    ; encoding: [0xf7,0x46,0x00,0x7e]
+0xf7,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, scc    ; encoding: [0xfd,0x46,0x00,0x7e]
+0xfd,0x46,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x46,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x46,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_rcp_iflag_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x46,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x46,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_rcp_iflag_f32_e32 v0, v0    ; encoding: [0x00,0x47,0x00,0x7e]
+0x00,0x47,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e32 v0, v255    ; encoding: [0xff,0x47,0x00,0x7e]
+0xff,0x47,0x00,0x7e
+
+# CHECK: v_rcp_iflag_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x63,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x63,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x63,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x63,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x63,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x63,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x63,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x63,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x63,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x63,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x63,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x63,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x63,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x63,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x63,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x63,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x63,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x63,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x63,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x63,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x63,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x63,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x63,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x63,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x63,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_rcp_iflag_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x63,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x63,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x63,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x63,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_iflag_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_rcp_iflag_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_rcp_iflag_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x63,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_rsq_f32_e32 v0, s0    ; encoding: [0x00,0x48,0x00,0x7e]
+0x00,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v255, s0    ; encoding: [0x00,0x48,0xfe,0x7f]
+0x00,0x48,0xfe,0x7f
+
+# CHECK: v_rsq_f32_e32 v0, s101    ; encoding: [0x65,0x48,0x00,0x7e]
+0x65,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x48,0x00,0x7e]
+0x66,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x48,0x00,0x7e]
+0x67,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x48,0x00,0x7e]
+0x6a,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x48,0x00,0x7e]
+0x6b,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x48,0x00,0x7e]
+0x6c,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x48,0x00,0x7e]
+0x6d,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x48,0x00,0x7e]
+0x6e,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x48,0x00,0x7e]
+0x6f,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x48,0x00,0x7e]
+0x7b,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, m0    ; encoding: [0x7c,0x48,0x00,0x7e]
+0x7c,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x48,0x00,0x7e]
+0x7e,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x48,0x00,0x7e]
+0x7f,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, 0    ; encoding: [0x80,0x48,0x00,0x7e]
+0x80,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, -1    ; encoding: [0xc1,0x48,0x00,0x7e]
+0xc1,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, 0.5    ; encoding: [0xf0,0x48,0x00,0x7e]
+0xf0,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, -4.0    ; encoding: [0xf7,0x48,0x00,0x7e]
+0xf7,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, scc    ; encoding: [0xfd,0x48,0x00,0x7e]
+0xfd,0x48,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x48,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x48,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_rsq_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x48,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x48,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_rsq_f32_e32 v0, v0    ; encoding: [0x00,0x49,0x00,0x7e]
+0x00,0x49,0x00,0x7e
+
+# CHECK: v_rsq_f32_e32 v0, v255    ; encoding: [0xff,0x49,0x00,0x7e]
+0xff,0x49,0x00,0x7e
+
+# CHECK: v_rsq_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x64,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x64,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x64,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x64,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x64,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x64,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x64,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x64,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x64,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x64,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x64,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x64,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x64,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x64,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x64,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x64,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x64,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x64,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x64,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x64,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x64,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x64,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x64,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x64,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x64,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_rsq_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x64,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x64,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x64,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x64,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rsq_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_rsq_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_rsq_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x64,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_rcp_f64_e32 v[0:1], s[0:1]    ; encoding: [0x00,0x4a,0x00,0x7e]
+0x00,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[254:255], s[0:1]    ; encoding: [0x00,0x4a,0xfc,0x7f]
+0x00,0x4a,0xfc,0x7f
+
+# CHECK: v_rcp_f64_e32 v[0:1], s[2:3]    ; encoding: [0x02,0x4a,0x00,0x7e]
+0x02,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], s[100:101]    ; encoding: [0x64,0x4a,0x00,0x7e]
+0x64,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], flat_scratch    ; encoding: [0x66,0x4a,0x00,0x7e]
+0x66,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], vcc    ; encoding: [0x6a,0x4a,0x00,0x7e]
+0x6a,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], tba    ; encoding: [0x6c,0x4a,0x00,0x7e]
+0x6c,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], tma    ; encoding: [0x6e,0x4a,0x00,0x7e]
+0x6e,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], ttmp[10:11]    ; encoding: [0x7a,0x4a,0x00,0x7e]
+0x7a,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], exec    ; encoding: [0x7e,0x4a,0x00,0x7e]
+0x7e,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], 0    ; encoding: [0x80,0x4a,0x00,0x7e]
+0x80,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], -1    ; encoding: [0xc1,0x4a,0x00,0x7e]
+0xc1,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], 0.5    ; encoding: [0xf0,0x4a,0x00,0x7e]
+0xf0,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], -4.0    ; encoding: [0xf7,0x4a,0x00,0x7e]
+0xf7,0x4a,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x4a,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x4a,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_rcp_f64_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x4a,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x4a,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_rcp_f64_e32 v[0:1], v[0:1]    ; encoding: [0x00,0x4b,0x00,0x7e]
+0x00,0x4b,0x00,0x7e
+
+# CHECK: v_rcp_f64_e32 v[0:1], v[254:255]    ; encoding: [0xfe,0x4b,0x00,0x7e]
+0xfe,0x4b,0x00,0x7e
+
+# CHECK: v_rcp_f64_e64 v[0:1], s[0:1]    ; encoding: [0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[254:255], s[0:1]    ; encoding: [0xfe,0x00,0x65,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x65,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], s[2:3]    ; encoding: [0x00,0x00,0x65,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], s[100:101]    ; encoding: [0x00,0x00,0x65,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], flat_scratch    ; encoding: [0x00,0x00,0x65,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], vcc    ; encoding: [0x00,0x00,0x65,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], tba    ; encoding: [0x00,0x00,0x65,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], tma    ; encoding: [0x00,0x00,0x65,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], ttmp[10:11]    ; encoding: [0x00,0x00,0x65,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], exec    ; encoding: [0x00,0x00,0x65,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x65,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x65,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x65,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x65,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x65,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x65,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x65,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x65,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x65,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], -s[0:1]    ; encoding: [0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_rcp_f64_e64 v[0:1], |s[0:1]|    ; encoding: [0x00,0x01,0x65,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x65,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], s[0:1] clamp    ; encoding: [0x00,0x80,0x65,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x65,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rcp_f64_e64 v[0:1], s[0:1] mul:2    ; encoding: [0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_rcp_f64_e64 v[0:1], s[0:1] mul:4    ; encoding: [0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_rcp_f64_e64 v[0:1], s[0:1] div:2    ; encoding: [0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x65,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_rsq_f64_e32 v[0:1], s[0:1]    ; encoding: [0x00,0x4c,0x00,0x7e]
+0x00,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[254:255], s[0:1]    ; encoding: [0x00,0x4c,0xfc,0x7f]
+0x00,0x4c,0xfc,0x7f
+
+# CHECK: v_rsq_f64_e32 v[0:1], s[2:3]    ; encoding: [0x02,0x4c,0x00,0x7e]
+0x02,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], s[100:101]    ; encoding: [0x64,0x4c,0x00,0x7e]
+0x64,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], flat_scratch    ; encoding: [0x66,0x4c,0x00,0x7e]
+0x66,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], vcc    ; encoding: [0x6a,0x4c,0x00,0x7e]
+0x6a,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], tba    ; encoding: [0x6c,0x4c,0x00,0x7e]
+0x6c,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], tma    ; encoding: [0x6e,0x4c,0x00,0x7e]
+0x6e,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], ttmp[10:11]    ; encoding: [0x7a,0x4c,0x00,0x7e]
+0x7a,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], exec    ; encoding: [0x7e,0x4c,0x00,0x7e]
+0x7e,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], 0    ; encoding: [0x80,0x4c,0x00,0x7e]
+0x80,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], -1    ; encoding: [0xc1,0x4c,0x00,0x7e]
+0xc1,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], 0.5    ; encoding: [0xf0,0x4c,0x00,0x7e]
+0xf0,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], -4.0    ; encoding: [0xf7,0x4c,0x00,0x7e]
+0xf7,0x4c,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x4c,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x4c,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_rsq_f64_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x4c,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x4c,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_rsq_f64_e32 v[0:1], v[0:1]    ; encoding: [0x00,0x4d,0x00,0x7e]
+0x00,0x4d,0x00,0x7e
+
+# CHECK: v_rsq_f64_e32 v[0:1], v[254:255]    ; encoding: [0xfe,0x4d,0x00,0x7e]
+0xfe,0x4d,0x00,0x7e
+
+# CHECK: v_rsq_f64_e64 v[0:1], s[0:1]    ; encoding: [0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[254:255], s[0:1]    ; encoding: [0xfe,0x00,0x66,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x66,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], s[2:3]    ; encoding: [0x00,0x00,0x66,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], s[100:101]    ; encoding: [0x00,0x00,0x66,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], flat_scratch    ; encoding: [0x00,0x00,0x66,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], vcc    ; encoding: [0x00,0x00,0x66,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], tba    ; encoding: [0x00,0x00,0x66,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], tma    ; encoding: [0x00,0x00,0x66,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], ttmp[10:11]    ; encoding: [0x00,0x00,0x66,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], exec    ; encoding: [0x00,0x00,0x66,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x66,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x66,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x66,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x66,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x66,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x66,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x66,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x66,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x66,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], -s[0:1]    ; encoding: [0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_rsq_f64_e64 v[0:1], |s[0:1]|    ; encoding: [0x00,0x01,0x66,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x66,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], s[0:1] clamp    ; encoding: [0x00,0x80,0x66,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x66,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_rsq_f64_e64 v[0:1], s[0:1] mul:2    ; encoding: [0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_rsq_f64_e64 v[0:1], s[0:1] mul:4    ; encoding: [0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_rsq_f64_e64 v[0:1], s[0:1] div:2    ; encoding: [0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x66,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_sqrt_f32_e32 v0, s0    ; encoding: [0x00,0x4e,0x00,0x7e]
+0x00,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v255, s0    ; encoding: [0x00,0x4e,0xfe,0x7f]
+0x00,0x4e,0xfe,0x7f
+
+# CHECK: v_sqrt_f32_e32 v0, s101    ; encoding: [0x65,0x4e,0x00,0x7e]
+0x65,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x4e,0x00,0x7e]
+0x66,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x4e,0x00,0x7e]
+0x67,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x4e,0x00,0x7e]
+0x6a,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x4e,0x00,0x7e]
+0x6b,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x4e,0x00,0x7e]
+0x6c,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x4e,0x00,0x7e]
+0x6d,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x4e,0x00,0x7e]
+0x6e,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x4e,0x00,0x7e]
+0x6f,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x4e,0x00,0x7e]
+0x7b,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, m0    ; encoding: [0x7c,0x4e,0x00,0x7e]
+0x7c,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x4e,0x00,0x7e]
+0x7e,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x4e,0x00,0x7e]
+0x7f,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, 0    ; encoding: [0x80,0x4e,0x00,0x7e]
+0x80,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, -1    ; encoding: [0xc1,0x4e,0x00,0x7e]
+0xc1,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, 0.5    ; encoding: [0xf0,0x4e,0x00,0x7e]
+0xf0,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, -4.0    ; encoding: [0xf7,0x4e,0x00,0x7e]
+0xf7,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, scc    ; encoding: [0xfd,0x4e,0x00,0x7e]
+0xfd,0x4e,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x4e,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x4e,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_sqrt_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x4e,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x4e,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_sqrt_f32_e32 v0, v0    ; encoding: [0x00,0x4f,0x00,0x7e]
+0x00,0x4f,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e32 v0, v255    ; encoding: [0xff,0x4f,0x00,0x7e]
+0xff,0x4f,0x00,0x7e
+
+# CHECK: v_sqrt_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x67,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x67,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x67,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x67,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x67,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x67,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x67,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x67,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x67,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x67,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x67,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x67,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x67,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x67,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x67,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x67,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x67,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x67,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x67,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x67,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x67,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x67,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x67,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x67,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x67,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_sqrt_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x67,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x67,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x67,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x67,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_sqrt_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_sqrt_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x67,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_sqrt_f64_e32 v[0:1], s[0:1]    ; encoding: [0x00,0x50,0x00,0x7e]
+0x00,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[254:255], s[0:1]    ; encoding: [0x00,0x50,0xfc,0x7f]
+0x00,0x50,0xfc,0x7f
+
+# CHECK: v_sqrt_f64_e32 v[0:1], s[2:3]    ; encoding: [0x02,0x50,0x00,0x7e]
+0x02,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], s[100:101]    ; encoding: [0x64,0x50,0x00,0x7e]
+0x64,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], flat_scratch    ; encoding: [0x66,0x50,0x00,0x7e]
+0x66,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], vcc    ; encoding: [0x6a,0x50,0x00,0x7e]
+0x6a,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], tba    ; encoding: [0x6c,0x50,0x00,0x7e]
+0x6c,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], tma    ; encoding: [0x6e,0x50,0x00,0x7e]
+0x6e,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], ttmp[10:11]    ; encoding: [0x7a,0x50,0x00,0x7e]
+0x7a,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], exec    ; encoding: [0x7e,0x50,0x00,0x7e]
+0x7e,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], 0    ; encoding: [0x80,0x50,0x00,0x7e]
+0x80,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], -1    ; encoding: [0xc1,0x50,0x00,0x7e]
+0xc1,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], 0.5    ; encoding: [0xf0,0x50,0x00,0x7e]
+0xf0,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], -4.0    ; encoding: [0xf7,0x50,0x00,0x7e]
+0xf7,0x50,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], 0xaf123456    ; encoding: [0xff,0x50,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x50,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_sqrt_f64_e32 v[0:1], 0x3f717273    ; encoding: [0xff,0x50,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x50,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_sqrt_f64_e32 v[0:1], v[0:1]    ; encoding: [0x00,0x51,0x00,0x7e]
+0x00,0x51,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e32 v[0:1], v[254:255]    ; encoding: [0xfe,0x51,0x00,0x7e]
+0xfe,0x51,0x00,0x7e
+
+# CHECK: v_sqrt_f64_e64 v[0:1], s[0:1]    ; encoding: [0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[254:255], s[0:1]    ; encoding: [0xfe,0x00,0x68,0xd1,0x00,0x00,0x00,0x00]
+0xfe,0x00,0x68,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], s[2:3]    ; encoding: [0x00,0x00,0x68,0xd1,0x02,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x02,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], s[100:101]    ; encoding: [0x00,0x00,0x68,0xd1,0x64,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x64,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], flat_scratch    ; encoding: [0x00,0x00,0x68,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], vcc    ; encoding: [0x00,0x00,0x68,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], tba    ; encoding: [0x00,0x00,0x68,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], tma    ; encoding: [0x00,0x00,0x68,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], ttmp[10:11]    ; encoding: [0x00,0x00,0x68,0xd1,0x7a,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x7a,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], exec    ; encoding: [0x00,0x00,0x68,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], 0    ; encoding: [0x00,0x00,0x68,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], -1    ; encoding: [0x00,0x00,0x68,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], 0.5    ; encoding: [0x00,0x00,0x68,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], -4.0    ; encoding: [0x00,0x00,0x68,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x68,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], v[0:1]    ; encoding: [0x00,0x00,0x68,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x68,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], v[254:255]    ; encoding: [0x00,0x00,0x68,0xd1,0xfe,0x01,0x00,0x00]
+0x00,0x00,0x68,0xd1,0xfe,0x01,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], -s[0:1]    ; encoding: [0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_sqrt_f64_e64 v[0:1], |s[0:1]|    ; encoding: [0x00,0x01,0x68,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x68,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], s[0:1] clamp    ; encoding: [0x00,0x80,0x68,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x68,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sqrt_f64_e64 v[0:1], s[0:1] mul:2    ; encoding: [0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_sqrt_f64_e64 v[0:1], s[0:1] mul:4    ; encoding: [0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_sqrt_f64_e64 v[0:1], s[0:1] div:2    ; encoding: [0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x68,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_sin_f32_e32 v0, s0    ; encoding: [0x00,0x52,0x00,0x7e]
+0x00,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v255, s0    ; encoding: [0x00,0x52,0xfe,0x7f]
+0x00,0x52,0xfe,0x7f
+
+# CHECK: v_sin_f32_e32 v0, s101    ; encoding: [0x65,0x52,0x00,0x7e]
+0x65,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x52,0x00,0x7e]
+0x66,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x52,0x00,0x7e]
+0x67,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x52,0x00,0x7e]
+0x6a,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x52,0x00,0x7e]
+0x6b,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x52,0x00,0x7e]
+0x6c,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x52,0x00,0x7e]
+0x6d,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x52,0x00,0x7e]
+0x6e,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x52,0x00,0x7e]
+0x6f,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x52,0x00,0x7e]
+0x7b,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, m0    ; encoding: [0x7c,0x52,0x00,0x7e]
+0x7c,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x52,0x00,0x7e]
+0x7e,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x52,0x00,0x7e]
+0x7f,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, 0    ; encoding: [0x80,0x52,0x00,0x7e]
+0x80,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, -1    ; encoding: [0xc1,0x52,0x00,0x7e]
+0xc1,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, 0.5    ; encoding: [0xf0,0x52,0x00,0x7e]
+0xf0,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, -4.0    ; encoding: [0xf7,0x52,0x00,0x7e]
+0xf7,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, scc    ; encoding: [0xfd,0x52,0x00,0x7e]
+0xfd,0x52,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x52,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x52,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_sin_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x52,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x52,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_sin_f32_e32 v0, v0    ; encoding: [0x00,0x53,0x00,0x7e]
+0x00,0x53,0x00,0x7e
+
+# CHECK: v_sin_f32_e32 v0, v255    ; encoding: [0xff,0x53,0x00,0x7e]
+0xff,0x53,0x00,0x7e
+
+# CHECK: v_sin_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x69,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x69,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x69,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x69,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x69,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x69,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x69,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x69,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x69,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x69,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x69,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x69,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x69,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x69,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x69,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x69,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x69,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x69,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x69,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x69,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x69,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x69,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x69,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x69,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x69,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_sin_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x69,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x69,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x69,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x69,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_sin_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_sin_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_sin_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x69,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_cos_f32_e32 v0, s0    ; encoding: [0x00,0x54,0x00,0x7e]
+0x00,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v255, s0    ; encoding: [0x00,0x54,0xfe,0x7f]
+0x00,0x54,0xfe,0x7f
+
+# CHECK: v_cos_f32_e32 v0, s101    ; encoding: [0x65,0x54,0x00,0x7e]
+0x65,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x54,0x00,0x7e]
+0x66,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x54,0x00,0x7e]
+0x67,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, vcc_lo    ; encoding: [0x6a,0x54,0x00,0x7e]
+0x6a,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, vcc_hi    ; encoding: [0x6b,0x54,0x00,0x7e]
+0x6b,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, tba_lo    ; encoding: [0x6c,0x54,0x00,0x7e]
+0x6c,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, tba_hi    ; encoding: [0x6d,0x54,0x00,0x7e]
+0x6d,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, tma_lo    ; encoding: [0x6e,0x54,0x00,0x7e]
+0x6e,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, tma_hi    ; encoding: [0x6f,0x54,0x00,0x7e]
+0x6f,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, ttmp11    ; encoding: [0x7b,0x54,0x00,0x7e]
+0x7b,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, m0    ; encoding: [0x7c,0x54,0x00,0x7e]
+0x7c,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, exec_lo    ; encoding: [0x7e,0x54,0x00,0x7e]
+0x7e,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, exec_hi    ; encoding: [0x7f,0x54,0x00,0x7e]
+0x7f,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, 0    ; encoding: [0x80,0x54,0x00,0x7e]
+0x80,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, -1    ; encoding: [0xc1,0x54,0x00,0x7e]
+0xc1,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, 0.5    ; encoding: [0xf0,0x54,0x00,0x7e]
+0xf0,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, -4.0    ; encoding: [0xf7,0x54,0x00,0x7e]
+0xf7,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, scc    ; encoding: [0xfd,0x54,0x00,0x7e]
+0xfd,0x54,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, 0xaf123456    ; encoding: [0xff,0x54,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x54,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_cos_f32_e32 v0, 0x3f717273    ; encoding: [0xff,0x54,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x54,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_cos_f32_e32 v0, v0    ; encoding: [0x00,0x55,0x00,0x7e]
+0x00,0x55,0x00,0x7e
+
+# CHECK: v_cos_f32_e32 v0, v255    ; encoding: [0xff,0x55,0x00,0x7e]
+0xff,0x55,0x00,0x7e
+
+# CHECK: v_cos_f32_e64 v0, s0    ; encoding: [0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v255, s0    ; encoding: [0xff,0x00,0x6a,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x6a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, s101    ; encoding: [0x00,0x00,0x6a,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x6a,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x6a,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x6a,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x6a,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x6a,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x6a,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x6a,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x6a,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x6a,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, m0    ; encoding: [0x00,0x00,0x6a,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x6a,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x6a,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, 0    ; encoding: [0x00,0x00,0x6a,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, -1    ; encoding: [0x00,0x00,0x6a,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x6a,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x6a,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, scc    ; encoding: [0x00,0x00,0x6a,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, v0    ; encoding: [0x00,0x00,0x6a,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, v255    ; encoding: [0x00,0x00,0x6a,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x6a,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, -s0    ; encoding: [0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x20]
+0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x20
+
+# CHECK: v_cos_f32_e64 v0, |s0|    ; encoding: [0x00,0x01,0x6a,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x01,0x6a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, s0 clamp    ; encoding: [0x00,0x80,0x6a,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x80,0x6a,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_cos_f32_e64 v0, s0 mul:2    ; encoding: [0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x08]
+0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x08
+
+# CHECK: v_cos_f32_e64 v0, s0 mul:4    ; encoding: [0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x10]
+0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x10
+
+# CHECK: v_cos_f32_e64 v0, s0 div:2    ; encoding: [0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x18]
+0x00,0x00,0x6a,0xd1,0x00,0x00,0x00,0x18
+
+# CHECK: v_not_b32_e32 v0, s0    ; encoding: [0x00,0x56,0x00,0x7e]
+0x00,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v255, s0    ; encoding: [0x00,0x56,0xfe,0x7f]
+0x00,0x56,0xfe,0x7f
+
+# CHECK: v_not_b32_e32 v0, s101    ; encoding: [0x65,0x56,0x00,0x7e]
+0x65,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x56,0x00,0x7e]
+0x66,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x56,0x00,0x7e]
+0x67,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, vcc_lo    ; encoding: [0x6a,0x56,0x00,0x7e]
+0x6a,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, vcc_hi    ; encoding: [0x6b,0x56,0x00,0x7e]
+0x6b,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, tba_lo    ; encoding: [0x6c,0x56,0x00,0x7e]
+0x6c,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, tba_hi    ; encoding: [0x6d,0x56,0x00,0x7e]
+0x6d,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, tma_lo    ; encoding: [0x6e,0x56,0x00,0x7e]
+0x6e,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, tma_hi    ; encoding: [0x6f,0x56,0x00,0x7e]
+0x6f,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, ttmp11    ; encoding: [0x7b,0x56,0x00,0x7e]
+0x7b,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, m0    ; encoding: [0x7c,0x56,0x00,0x7e]
+0x7c,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, exec_lo    ; encoding: [0x7e,0x56,0x00,0x7e]
+0x7e,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, exec_hi    ; encoding: [0x7f,0x56,0x00,0x7e]
+0x7f,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, 0    ; encoding: [0x80,0x56,0x00,0x7e]
+0x80,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, -1    ; encoding: [0xc1,0x56,0x00,0x7e]
+0xc1,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, 0.5    ; encoding: [0xf0,0x56,0x00,0x7e]
+0xf0,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, -4.0    ; encoding: [0xf7,0x56,0x00,0x7e]
+0xf7,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, scc    ; encoding: [0xfd,0x56,0x00,0x7e]
+0xfd,0x56,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, 0xaf123456    ; encoding: [0xff,0x56,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x56,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_not_b32_e32 v0, 0x3f717273    ; encoding: [0xff,0x56,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x56,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_not_b32_e32 v0, v0    ; encoding: [0x00,0x57,0x00,0x7e]
+0x00,0x57,0x00,0x7e
+
+# CHECK: v_not_b32_e32 v0, v255    ; encoding: [0xff,0x57,0x00,0x7e]
+0xff,0x57,0x00,0x7e
+
+# CHECK: v_not_b32_e64 v0, s0    ; encoding: [0x00,0x00,0x6b,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v255, s0    ; encoding: [0xff,0x00,0x6b,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x6b,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, s101    ; encoding: [0x00,0x00,0x6b,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x6b,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x6b,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x6b,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x6b,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x6b,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x6b,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x6b,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x6b,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x6b,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, m0    ; encoding: [0x00,0x00,0x6b,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x6b,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x6b,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, 0    ; encoding: [0x00,0x00,0x6b,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, -1    ; encoding: [0x00,0x00,0x6b,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x6b,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x6b,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, scc    ; encoding: [0x00,0x00,0x6b,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, v0    ; encoding: [0x00,0x00,0x6b,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_not_b32_e64 v0, v255    ; encoding: [0x00,0x00,0x6b,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x6b,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_bfrev_b32_e32 v0, s0    ; encoding: [0x00,0x58,0x00,0x7e]
+0x00,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v255, s0    ; encoding: [0x00,0x58,0xfe,0x7f]
+0x00,0x58,0xfe,0x7f
+
+# CHECK: v_bfrev_b32_e32 v0, s101    ; encoding: [0x65,0x58,0x00,0x7e]
+0x65,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x58,0x00,0x7e]
+0x66,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x58,0x00,0x7e]
+0x67,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, vcc_lo    ; encoding: [0x6a,0x58,0x00,0x7e]
+0x6a,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, vcc_hi    ; encoding: [0x6b,0x58,0x00,0x7e]
+0x6b,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, tba_lo    ; encoding: [0x6c,0x58,0x00,0x7e]
+0x6c,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, tba_hi    ; encoding: [0x6d,0x58,0x00,0x7e]
+0x6d,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, tma_lo    ; encoding: [0x6e,0x58,0x00,0x7e]
+0x6e,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, tma_hi    ; encoding: [0x6f,0x58,0x00,0x7e]
+0x6f,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, ttmp11    ; encoding: [0x7b,0x58,0x00,0x7e]
+0x7b,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, m0    ; encoding: [0x7c,0x58,0x00,0x7e]
+0x7c,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, exec_lo    ; encoding: [0x7e,0x58,0x00,0x7e]
+0x7e,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, exec_hi    ; encoding: [0x7f,0x58,0x00,0x7e]
+0x7f,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, 0    ; encoding: [0x80,0x58,0x00,0x7e]
+0x80,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, -1    ; encoding: [0xc1,0x58,0x00,0x7e]
+0xc1,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, 0.5    ; encoding: [0xf0,0x58,0x00,0x7e]
+0xf0,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, -4.0    ; encoding: [0xf7,0x58,0x00,0x7e]
+0xf7,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, scc    ; encoding: [0xfd,0x58,0x00,0x7e]
+0xfd,0x58,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, 0xaf123456    ; encoding: [0xff,0x58,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x58,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_bfrev_b32_e32 v0, 0x3f717273    ; encoding: [0xff,0x58,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x58,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_bfrev_b32_e32 v0, v0    ; encoding: [0x00,0x59,0x00,0x7e]
+0x00,0x59,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e32 v0, v255    ; encoding: [0xff,0x59,0x00,0x7e]
+0xff,0x59,0x00,0x7e
+
+# CHECK: v_bfrev_b32_e64 v0, s0    ; encoding: [0x00,0x00,0x6c,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v255, s0    ; encoding: [0xff,0x00,0x6c,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x6c,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, s101    ; encoding: [0x00,0x00,0x6c,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x6c,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x6c,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x6c,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x6c,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x6c,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x6c,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x6c,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x6c,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x6c,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, m0    ; encoding: [0x00,0x00,0x6c,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x6c,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x6c,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, 0    ; encoding: [0x00,0x00,0x6c,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, -1    ; encoding: [0x00,0x00,0x6c,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x6c,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x6c,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, scc    ; encoding: [0x00,0x00,0x6c,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, v0    ; encoding: [0x00,0x00,0x6c,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_bfrev_b32_e64 v0, v255    ; encoding: [0x00,0x00,0x6c,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x6c,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_ffbh_u32_e32 v0, s0    ; encoding: [0x00,0x5a,0x00,0x7e]
+0x00,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v255, s0    ; encoding: [0x00,0x5a,0xfe,0x7f]
+0x00,0x5a,0xfe,0x7f
+
+# CHECK: v_ffbh_u32_e32 v0, s101    ; encoding: [0x65,0x5a,0x00,0x7e]
+0x65,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x5a,0x00,0x7e]
+0x66,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x5a,0x00,0x7e]
+0x67,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, vcc_lo    ; encoding: [0x6a,0x5a,0x00,0x7e]
+0x6a,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, vcc_hi    ; encoding: [0x6b,0x5a,0x00,0x7e]
+0x6b,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, tba_lo    ; encoding: [0x6c,0x5a,0x00,0x7e]
+0x6c,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, tba_hi    ; encoding: [0x6d,0x5a,0x00,0x7e]
+0x6d,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, tma_lo    ; encoding: [0x6e,0x5a,0x00,0x7e]
+0x6e,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, tma_hi    ; encoding: [0x6f,0x5a,0x00,0x7e]
+0x6f,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, ttmp11    ; encoding: [0x7b,0x5a,0x00,0x7e]
+0x7b,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, m0    ; encoding: [0x7c,0x5a,0x00,0x7e]
+0x7c,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, exec_lo    ; encoding: [0x7e,0x5a,0x00,0x7e]
+0x7e,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, exec_hi    ; encoding: [0x7f,0x5a,0x00,0x7e]
+0x7f,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, 0    ; encoding: [0x80,0x5a,0x00,0x7e]
+0x80,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, -1    ; encoding: [0xc1,0x5a,0x00,0x7e]
+0xc1,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, 0.5    ; encoding: [0xf0,0x5a,0x00,0x7e]
+0xf0,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, -4.0    ; encoding: [0xf7,0x5a,0x00,0x7e]
+0xf7,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, scc    ; encoding: [0xfd,0x5a,0x00,0x7e]
+0xfd,0x5a,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, 0xaf123456    ; encoding: [0xff,0x5a,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x5a,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_ffbh_u32_e32 v0, 0x3f717273    ; encoding: [0xff,0x5a,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x5a,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_ffbh_u32_e32 v0, v0    ; encoding: [0x00,0x5b,0x00,0x7e]
+0x00,0x5b,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e32 v0, v255    ; encoding: [0xff,0x5b,0x00,0x7e]
+0xff,0x5b,0x00,0x7e
+
+# CHECK: v_ffbh_u32_e64 v0, s0    ; encoding: [0x00,0x00,0x6d,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v255, s0    ; encoding: [0xff,0x00,0x6d,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x6d,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, s101    ; encoding: [0x00,0x00,0x6d,0xd1,0x65,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x65,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, flat_scratch_lo    ; encoding: [0x00,0x00,0x6d,0xd1,0x66,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x66,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, flat_scratch_hi    ; encoding: [0x00,0x00,0x6d,0xd1,0x67,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x67,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, vcc_lo    ; encoding: [0x00,0x00,0x6d,0xd1,0x6a,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x6a,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, vcc_hi    ; encoding: [0x00,0x00,0x6d,0xd1,0x6b,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x6b,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, tba_lo    ; encoding: [0x00,0x00,0x6d,0xd1,0x6c,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x6c,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, tba_hi    ; encoding: [0x00,0x00,0x6d,0xd1,0x6d,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x6d,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, tma_lo    ; encoding: [0x00,0x00,0x6d,0xd1,0x6e,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x6e,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, tma_hi    ; encoding: [0x00,0x00,0x6d,0xd1,0x6f,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x6f,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, ttmp11    ; encoding: [0x00,0x00,0x6d,0xd1,0x7b,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x7b,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, m0    ; encoding: [0x00,0x00,0x6d,0xd1,0x7c,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x7c,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, exec_lo    ; encoding: [0x00,0x00,0x6d,0xd1,0x7e,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x7e,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, exec_hi    ; encoding: [0x00,0x00,0x6d,0xd1,0x7f,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x7f,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, 0    ; encoding: [0x00,0x00,0x6d,0xd1,0x80,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x80,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, -1    ; encoding: [0x00,0x00,0x6d,0xd1,0xc1,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0xc1,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, 0.5    ; encoding: [0x00,0x00,0x6d,0xd1,0xf0,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0xf0,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, -4.0    ; encoding: [0x00,0x00,0x6d,0xd1,0xf7,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0xf7,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, scc    ; encoding: [0x00,0x00,0x6d,0xd1,0xfd,0x00,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0xfd,0x00,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, v0    ; encoding: [0x00,0x00,0x6d,0xd1,0x00,0x01,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0x00,0x01,0x00,0x00
+
+# CHECK: v_ffbh_u32_e64 v0, v255    ; encoding: [0x00,0x00,0x6d,0xd1,0xff,0x01,0x00,0x00]
+0x00,0x00,0x6d,0xd1,0xff,0x01,0x00,0x00
+
+# CHECK: v_ffbl_b32_e32 v0, s0    ; encoding: [0x00,0x5c,0x00,0x7e]
+0x00,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v255, s0    ; encoding: [0x00,0x5c,0xfe,0x7f]
+0x00,0x5c,0xfe,0x7f
+
+# CHECK: v_ffbl_b32_e32 v0, s101    ; encoding: [0x65,0x5c,0x00,0x7e]
+0x65,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, flat_scratch_lo    ; encoding: [0x66,0x5c,0x00,0x7e]
+0x66,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, flat_scratch_hi    ; encoding: [0x67,0x5c,0x00,0x7e]
+0x67,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, vcc_lo    ; encoding: [0x6a,0x5c,0x00,0x7e]
+0x6a,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, vcc_hi    ; encoding: [0x6b,0x5c,0x00,0x7e]
+0x6b,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, tba_lo    ; encoding: [0x6c,0x5c,0x00,0x7e]
+0x6c,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, tba_hi    ; encoding: [0x6d,0x5c,0x00,0x7e]
+0x6d,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, tma_lo    ; encoding: [0x6e,0x5c,0x00,0x7e]
+0x6e,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, tma_hi    ; encoding: [0x6f,0x5c,0x00,0x7e]
+0x6f,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, ttmp11    ; encoding: [0x7b,0x5c,0x00,0x7e]
+0x7b,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, m0    ; encoding: [0x7c,0x5c,0x00,0x7e]
+0x7c,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, exec_lo    ; encoding: [0x7e,0x5c,0x00,0x7e]
+0x7e,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, exec_hi    ; encoding: [0x7f,0x5c,0x00,0x7e]
+0x7f,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, 0    ; encoding: [0x80,0x5c,0x00,0x7e]
+0x80,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, -1    ; encoding: [0xc1,0x5c,0x00,0x7e]
+0xc1,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, 0.5    ; encoding: [0xf0,0x5c,0x00,0x7e]
+0xf0,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, -4.0    ; encoding: [0xf7,0x5c,0x00,0x7e]
+0xf7,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, scc    ; encoding: [0xfd,0x5c,0x00,0x7e]
+0xfd,0x5c,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, 0xaf123456    ; encoding: [0xff,0x5c,0x00,0x7e,0x56,0x34,0x12,0xaf]
+0xff,0x5c,0x00,0x7e,0x56,0x34,0x12,0xaf
+
+# CHECK: v_ffbl_b32_e32 v0, 0x3f717273    ; encoding: [0xff,0x5c,0x00,0x7e,0x73,0x72,0x71,0x3f]
+0xff,0x5c,0x00,0x7e,0x73,0x72,0x71,0x3f
+
+# CHECK: v_ffbl_b32_e32 v0, v0    ; encoding: [0x00,0x5d,0x00,0x7e]
+0x00,0x5d,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e32 v0, v255    ; encoding: [0xff,0x5d,0x00,0x7e]
+0xff,0x5d,0x00,0x7e
+
+# CHECK: v_ffbl_b32_e64 v0, s0    ; encoding: [0x00,0x00,0x6e,0xd1,0x00,0x00,0x00,0x00]
+0x00,0x00,0x6e,0xd1,0x00,0x00,0x00,0x00
+
+# CHECK: v_ffbl_b32_e64 v255, s0    ; encoding: [0xff,0x00,0x6e,0xd1,0x00,0x00,0x00,0x00]
+0xff,0x00,0x6e,0xd1,0x00,0x00,0x00,0x00
+

[... 62307 lines stripped ...]



More information about the llvm-commits mailing list